PageSourceSearch

https://music.sapaindia.com/_next/static/chunks/4421.8772b5caa37992f2.js

js sapaindia.com collected 2026-10-02 12:22:40 UTC 513,457 bytes, 74 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4421],{7293:function(e,t){"use strict";var n,r=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.server_context"),d=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen");function v(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case i:case s:case a:case p:case h:return e;default:switch(e=e&&e.$$typeof){case u:case c:case d:case m:case f:case l:return e;default:return t}}case o:return t}}}n=Symbol.for("react.module.reference")},52762:function(e,t,n){"use strict";n(7293)},99601:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(2===e.length)return r(e[0],e[1])||null;var n=e.slice(1).reduce((function(e,t){return r(e,t)}),e[0]);return n||null};var n=new WeakMap;function r(e,t){if(e&&t){var r=n.get(e)||new WeakMap;n.set(e,r);var i=r.get(t)||function(n){o(e,n),o(t,n)};return r.set(t,i),i}return e||t}function o(e,t){"function"===typeof e?e(t):e.current=t}},9996:function(e){"use strict";var t=function(e){return function(e){return!!e&&"object"===typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===n}(e)}(e)};var n="function"===typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function r(e,t){return!1!==t.clone&&t.isMergeableObject(e)?l((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function o(e,t,n){return e.concat(t).map((function(e){return r(e,n)}))}function i(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function a(e,t){try{return t in e}catch(n){return!1}}function s(e,t,n){var o={};return n.isMergeableObject(e)&&i(e).forEach((function(t){o[t]=r(e[t],n)})),i(t).forEach((function(i){(function(e,t){return a(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,i)||(a(e,i)&&n.isMergeableObject(t[i])?o[i]=function(e,t){if(!t.customMerge)return l;var n=t.customMerge(e);return"function"===typeof n?n:l}(i,n)(e[i],t[i],n):o[i]=r(t[i],n))})),o}function l(e,n,i){(i=i||{}).arrayMerge=i.arrayMerge||o,i.isMergeableObject=i.isMergeableObject||t,i.cloneUnlessOtherwiseSpecified=r;var a=Array.isArray(n);return a===Array.isArray(e)?a?i.arrayMerge(e,n,i):s(e,n,i):r(n,i)}l.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return l(e,n,t)}),{})};var c=l;e.exports=c},63150:function(e){"use strict";e.exports=e=>{if("string"!==typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}},69463:function(e){"undefined"!==typeof self&&self,e.exports=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=0)}([function(e,t,n){function r(){throw new TypeError("The given URL is not a string. Please verify your string|array.")}function o(e){"string"!==typeof e&&r();for(var t=0,n=0,o=0,s=e.length,l=0;s--&&++l&&!(t&&-1<i.indexOf(e[l]));)"."===e[l]&&(++t,n=l);for(t=l,l=n;l--;)if(-1!==a.indexOf(e[l])){o=l+1;break}return 2>o?"":e.slice(o,t)}var i=["/",":","?","#"],a=[".","/","@"];e.exports=function(e){if("string"===typeof e)return o(e);if(Array.isArray(e)){var t,n=[],i=0;for(t=e.length;i<t;i++)n.push(o(e[i]));return n}r()}}])},64063:function(e){"use strict";e.exports=function e(t,n){if(t===n)return!0;
1if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,o,i;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(o=r;0!==o--;)if(!e(t[o],n[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(i=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(o=r;0!==o--;)if(!Object.prototype.hasOwnProperty.call(n,i[o]))return!1;for(o=r;0!==o--;){var a=i[o];if(!e(t[a],n[a]))return!1}return!0}return t!==t&&n!==n}},78892:function(e){"use strict";e.exports=function(e,n){var r,o,i,a=e||"",s=n||"div",l={},c=0;for(;c<a.length;)t.lastIndex=c,i=t.exec(a),(r=a.slice(c,i?i.index:a.length))&&(o?"#"===o?l.id=r:l.className?l.className.push(r):l.className=[r]:s=r,c+=r.length),i&&(o=i[0],c++);return{type:"element",tagName:s,properties:l,children:[]}};var t=/[#.]/g},62502:function(e,t,n){"use strict";var r=n(15575),o=n(64977),i=n(78892),a=n(32473).Q,s=n(24395).Q;e.exports=function(e,t,n){var o=n?function(e){var t,n=e.length,r=-1,o={};for(;++r<n;)o[(t=e[r]).toLowerCase()]=t;return o}(n):null;return function(e,n){var r,a=i(e,t),s=Array.prototype.slice.call(arguments,2),d=a.tagName.toLowerCase();a.tagName=o&&l.call(o,d)?o[d]:d,n&&c(n,a)&&(s.unshift(n),n=null);if(n)for(r in n)p(a.properties,r,n[r]);u(a.children,s),"template"===a.tagName&&(a.content={type:"root",children:a.children},a.children=[]);return a};function p(t,n,o){var i,l,c;null!==o&&void 0!==o&&o===o&&(l=(i=r(e,n)).property,"string"===typeof(c=o)&&(i.spaceSeparated?c=a(c):i.commaSeparated?c=s(c):i.commaOrSpaceSeparated&&(c=a(s(c).join(" ")))),"style"===l&&"string"!==typeof o&&(c=function(e){var t,n=[];for(t in e)n.push([t,e[t]].join(": "));return n.join("; ")}(c)),"className"===l&&t.className&&(c=t.className.concat(c)),t[l]=function(e,t,n){var r,o,i;if("object"!==typeof n||!("length"in n))return d(e,t,n);o=n.length,r=-1,i=[];for(;++r<o;)i[r]=d(e,t,n[r]);return i}(i,l,c))}};var l={}.hasOwnProperty;function c(e,t){return"string"===typeof e||"length"in e||function(e,t){var n=t.type;if("input"===e||!n||"string"!==typeof n)return!1;if("object"===typeof t.children&&"length"in t.children)return!0;if(n=n.toLowerCase(),"button"===e)return"menu"!==n&&"submit"!==n&&"reset"!==n&&"button"!==n;return"value"in t}(t.tagName,e)}function u(e,t){var n,r;if("string"!==typeof t&&"number"!==typeof t)if("object"===typeof t&&"length"in t)for(n=-1,r=t.length;++n<r;)u(e,t[n]);else{if("object"!==typeof t||!("type"in t))throw new Error("Expected node, nodes, or string, got `"+t+"`");e.push(t)}else e.push({type:"text",value:String(t)})}function d(e,t,n){var r=n;return e.number||e.positiveNumber?isNaN(r)||""===r||(r=Number(r)):(e.boolean||e.overloadedBoolean)&&("string"!==typeof r||""!==r&&o(n)!==o(t)||(r=!0)),r}},52579:function(e,t,n){"use strict";var r=n(48055),o=n(62502)(r,"div");o.displayName="html",e.exports=o},31742:function(e,t,n){"use strict";e.exports=n(52579)},24395:function(e,t){"use strict";t.Q=function(e){var t,n=[],r=String(e||""),o=r.indexOf(","),i=0,a=!1;for(;!a;)-1===o&&(o=r.length,a=!0),!(t=r.slice(i,o).trim())&&a||n.push(t),i=o+1,o=r.indexOf(",",i);return n}},15575:function(e,t,n){"use strict";var r=n(64977),o=n(78444),i=n(40313),a="data";e.exports=function(e,t){var n=r(t),p=t,h=i;if(n in e.normal)return e.property[e.normal[n]];n.length>4&&n.slice(0,4)===a&&s.test(t)&&("-"===t.charAt(4)?p=function(e){var t=e.slice(5).replace(l,d);return a+t.charAt(0).toUpperCase()+t.slice(1)}(t):t=function(e){var t=e.slice(4);if(l.test(t))return e;"-"!==(t=t.replace(c,u)).charAt(0)&&(t="-"+t);return a+t}(t),h=o);return new h(p,t)};var s=/^data[-\w.:]+$/i,l=/-[a-z]/g,c=/[A-Z]/g;function u(e){return"-"+e.toLowerCase()}function d(e){return e.charAt(1).toUpperCase()}},48055:function(e,t,n){"use strict";var r=n(26230),o=n(13970),i=n(10629),a=n(647),s=n(91305),l=n(22537);e.exports=r([i,o,a,s,l])},91305:function(e,t,n){"use strict";var r=n(61422),o=n(47589),i=r.booleanish,a=r.number,s=r.spaceSeparated;e.exports=o({transform:function(e,t){return"role"===t?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:i,ariaAutoComplete:null,ariaBusy:i,ariaChecked:i,ariaColCount:a,ariaColIndex:a,ariaColSpan:a,ariaControl
1s:s,ariaCurrent:null,ariaDescribedBy:s,ariaDetails:null,ariaDisabled:i,ariaDropEffect:s,ariaErrorMessage:null,ariaExpanded:i,ariaFlowTo:s,ariaGrabbed:i,ariaHasPopup:null,ariaHidden:i,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:s,ariaLevel:a,ariaLive:null,ariaModal:i,ariaMultiLine:i,ariaMultiSelectable:i,ariaOrientation:null,ariaOwns:s,ariaPlaceholder:null,ariaPosInSet:a,ariaPressed:i,ariaReadOnly:i,ariaRelevant:null,ariaRequired:i,ariaRoleDescription:s,ariaRowCount:a,ariaRowIndex:a,ariaRowSpan:a,ariaSelected:i,ariaSetSize:a,ariaSort:null,ariaValueMax:a,ariaValueMin:a,ariaValueNow:a,ariaValueText:null,role:null}})},22537:function(e,t,n){"use strict";var r=n(61422),o=n(47589),i=n(19348),a=r.boolean,s=r.overloadedBoolean,l=r.booleanish,c=r.number,u=r.spaceSeparated,d=r.commaSeparated;e.exports=o({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:i,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:d,acceptCharset:u,accessKey:u,action:null,allow:null,allowFullScreen:a,allowPaymentRequest:a,allowUserMedia:a,alt:null,as:null,async:a,autoCapitalize:null,autoComplete:u,autoFocus:a,autoPlay:a,capture:a,charSet:null,checked:a,cite:null,className:u,cols:c,colSpan:null,content:null,contentEditable:l,controls:a,controlsList:u,coords:c|d,crossOrigin:null,data:null,dateTime:null,decoding:null,default:a,defer:a,dir:null,dirName:null,disabled:a,download:s,draggable:l,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:a,formTarget:null,headers:u,height:c,hidden:a,high:c,href:null,hrefLang:null,htmlFor:u,httpEquiv:u,id:null,imageSizes:null,imageSrcSet:d,inputMode:null,integrity:null,is:null,isMap:a,itemId:null,itemProp:u,itemRef:u,itemScope:a,itemType:u,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:a,low:c,manifest:null,max:null,maxLength:c,media:null,method:null,min:null,minLength:c,multiple:a,muted:a,name:null,nonce:null,noModule:a,noValidate:a,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:a,optimum:c,pattern:null,ping:u,placeholder:null,playsInline:a,poster:null,preload:null,readOnly:a,referrerPolicy:null,rel:u,required:a,reversed:a,rows:c,rowSpan:c,sandbox:u,scope:null,scoped:a,seamless:a,selected:a,shape:null,size:c,sizes:null,slot:null,span:c,spellCheck:l,src:null,srcDoc:null,srcLang:null,srcSet:d,start:c,step:null,style:null,tabIndex:c,target:null,title:null,translate:null,type:null,typeMustMatch:a,useMap:null,value:l,width:c,wrap:null,align:null,aLink:null,archive:u,axis:null,background:null,bgColor:null,border:c,borderColor:null,bottomMargin:c,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:a,declare:a,event:null,face:null,frame:null,frameBorder:null,hSpace:c,leftMargin:c,link:null,longDesc:null,lowSrc:null,marginHeight:c,marginWidth:c,noResize:a,noHref:a,noShade:a,noWrap:a,object:null,profile:null,prompt:null,rev:null,rightMargin:c,rules:null,scheme:null,scrolling:l,standby:null,summary:null,text:null,topMargin:c,valueType:null,version:null,vAlign:null,vLink:null,vSpace:c,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:a,disableRemotePlayback:a,prefix:null,property:null,results:c,security:null,unselectable:null}})},19348:function(e,t,n){"use strict";var r=n(21098);e.exports=function(e,t){return r(e,t.toLowerCase())}},21098:function(e){"use strict";e.exports=function(e,t){return t in e?e[t]:t}},47589:function(e,t,n){"use strict";var r=n(64977),o=n(16038),i=n(78444);e.exports=function(e){var t,n,a=e.space,s=e.mustUseProperty||[],l=e.attributes||{},c=e.properties,u=e.transform,d={},p={};for(t in c)n=new i(t,u(l,t),c[t],a),-1!==s.indexOf(t)&&(n.mustUseProperty=!0),d[t]=n,p[r(t)]=t,p[r(n.attribute)]=t;return new o(d,p,a)}},78444:function(e,t,n){"use strict";var r=n(40313),o=n(61422);e.exports=s,s.prototype=new r,s.prototype.defined=!0;var i=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],a=i.length;function s(e,t,n,s){var c,u=-1;for(l(this,"space",s),r.call(this,e,t);++u<a;)l(this,c=i[u],(n&o[c])===o[c])}function l(e,t,n){n&&(e[t]=n)}},40313:function(e){"use strict";e.exports=n;var t=n.prototype;function n(e,t){this.property=e,this.attribute=t}t.space=null,t.attribute=null,t.property=null,t.boolean=!1,t.booleanish=!1,t.overloadedBoolean=!1,t.number=!1,t.commaSeparated=!1,t.spaceSeparated=!1,t.commaOrSpaceSeparated=!1,t.mustUseProperty=!1,t.defined=!1},26230:function(e,t,n){"use strict";var r=n(47529),o=n(16038);e.exports=function(e){var t,n,i=e.length,a=[],s=[],l=-1;for(;++l<i;)t=e[l],a.push(t.property),s.push(t.normal),n=t.space;return new o(r.apply(null,a),r.apply(null,s),n)}},16038:function(e){"use strict";e.exports=n;var t=n.prototype;function n(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}t.space=null,t.normal={},t.property={}},61422:function(e,t){"use strict";var n=0;function r(){return Math.pow(2,++n)}t.boolean=r(),t.booleanish=r(),t.overloadedBoolean=r(),t.number=r(),t.spaceSeparated=r(),t.commaSeparated=r(),t.commaOrSpaceSeparated=r()},13970:function(e,t,n){"use strict";var r=n(47589);
1e.exports=r({space:"xlink",transform:function(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}})},10629:function(e,t,n){"use strict";var r=n(47589);e.exports=r({space:"xml",transform:function(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}})},647:function(e,t,n){"use strict";var r=n(47589),o=n(19348);e.exports=r({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:o,properties:{xmlns:null,xmlnsXLink:null}})},64977:function(e){"use strict";e.exports=function(e){return e.toLowerCase()}},32473:function(e,t){"use strict";t.Q=function(e){var t=String(e||"").trim();return""===t?[]:t.split(n)};var n=/[ \t\n\r\f]+/g},46260:function(e){"use strict";e.exports=function(e){var t="string"===typeof e?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}},7961:function(e,t,n){"use strict";var r=n(46260),o=n(46195);e.exports=function(e){return r(e)||o(e)}},46195:function(e){"use strict";e.exports=function(e){var t="string"===typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}},51833:function(e,t,n){"use strict";var r=n(77452);e.exports=function(e){return r(e)||"function"===typeof e||Array.isArray(e)}},77452:function(e,t,n){"use strict";var r=n(47798);function o(e){return!0===r(e)&&"[object Object]"===Object.prototype.toString.call(e)}e.exports=function(e){var t,n;return!1!==o(e)&&("function"===typeof(t=e.constructor)&&(!1!==o(n=t.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf")))}},79480:function(e){"use strict";e.exports=function(e){var t="string"===typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}},47798:function(e){"use strict";e.exports=function(e){return null!=e&&"object"===typeof e&&!1===Array.isArray(e)}},81432:function(e,t){"use strict";var n="undefined"!==typeof Reflect?Reflect.construct:void 0,r=Object.defineProperty,o=Error.captureStackTrace;function i(e){void 0!==e&&r(this,"message",{configurable:!0,value:e,writable:!0});var t=this.constructor.name;void 0!==t&&t!==this.name&&r(this,"name",{configurable:!0,value:t,writable:!0}),o(this,this.constructor)}void 0===o&&(o=function(e){var t=new Error;r(e,"stack",{configurable:!0,get:function(){var e=t.stack;return r(this,"stack",{configurable:!0,value:e,writable:!0}),e},set:function(t){r(e,"stack",{configurable:!0,value:t,writable:!0})}})}),i.prototype=Object.create(Error.prototype,{constructor:{configurable:!0,value:i,writable:!0}});var a=function(){function e(e,t){return r(e,"name",{configurable:!0,value:t})}try{var t=function(){};if(e(t,"foo"),"foo"===t.name)return e}catch(n){}}();t=e.exports=function(e,t){if(null==t||t===Error)t=i;else if("function"!==typeof t)throw new TypeError("super_ should be a function");var r;if("string"===typeof e)r=e,e=void 0!==n?function(){return n(t,arguments,this.constructor)}:function(){t.apply(this,arguments)},void 0!==a&&(a(e,r),r=void 0);else if("function"!==typeof e)throw new TypeError("constructor should be either a string or a function");e.super_=e.super=t;var o={constructor:{configurable:!0,value:e,writable:!0}};return void 0!==r&&(o.name={configurable:!0,value:r,writable:!0}),e.prototype=Object.create(t.prototype,o),e},t.BaseError=i},47650:function(e,t,n){"use strict";var r=n(51833);e.exports=function(e,t,n){if(!r(e))return{};"function"===typeof t&&(n=t,t=[]),"string"===typeof t&&(t=[t]);for(var o="function"===typeof n,i=Object.keys(e),a={},s=0;s<i.length;s++){var l=i[s],c=e[l];t&&(-1!==t.indexOf(l)||o&&!n(c,l,e))||(a[l]=c)}return a}},13017:function(e,t,n){"use strict";var r=n(47798);e.exports=function(e,t){if(!r(e)&&"function"!==typeof e)return{};var n={};if("string"===typeof t)return t in e&&(n[t]=e[t]),n;for(var o=t.length,i=-1;++i<o;){var a=t[i];a in e&&(n[a]=e[a])}return n}},1161:function(e){"use strict";function t(e,t){if("string"!==typeof e)return[e];var n=[e];"string"===typeof t||Array.isArray(t)?t={brackets:t}:t||(t={});var r=t.brackets?Array.isArray(t.brackets)?t.brackets:[t.brackets]:["{}","[]","()"],o=t.escape||"___",i=!!t.flat;r.forEach((function(e){var t=new RegExp(["\\",e[0],"[^\\",e[0],"\\",e[1],"]*\\",e[1]].join("")),r=[];function i(t,i,a){var s=n.push(t.slice(e[0].length,-e[1].length))-1;return r.push(s),o+s+o}n.forEach((function(e,r){for(var o,a=0;e!=o;)if(o=e,e=e.replace(t,i),a++>1e4)throw Error("References have circular dependency. Please, check them.");n[r]=e})),r=r.reverse(),n=n.map((function(t){return r.forEach((function(n){t=t.replace(new RegExp("(\\"+o+n+"\\"+o+")","g"),e[0]+"$1"+e[1])})),t}))}));var a=new RegExp("\\"+o+"([0-9]+)\\"+o);return i?n:function e(t,n,r){for(var o,i=[],s=0;o=a.exec(t);){if(s++>1e4)throw Error("Circular references in parenthesis");
1i.push(t.slice(0,o.index)),i.push(e(n[o[1]],n)),t=t.slice(o.index+o[0].length)}return i.push(t),i}(n[0],n)}function n(e,t){if(t&&t.flat){var n,r=t&&t.escape||"___",o=e[0];if(!o)return"";for(var i=new RegExp("\\"+r+"([0-9]+)\\"+r),a=0;o!=n;){if(a++>1e4)throw Error("Circular references in "+e);n=o,o=o.replace(i,s)}return o}return e.reduce((function e(t,n){return Array.isArray(n)&&(n=n.reduce(e,"")),t+n}),"");function s(t,n){if(null==e[n])throw Error("Reference "+n+"is undefined");return e[n]}}function r(e,r){return Array.isArray(e)?n(e,r):t(e,r)}r.parse=t,r.stringify=n,e.exports=r},89435:function(e){"use strict";var t;e.exports=function(e){var n,r="&"+e+";";if((t=t||document.createElement("i")).innerHTML=r,59===(n=t.textContent).charCodeAt(n.length-1)&&"semi"!==e)return!1;return n!==r&&n}},57574:function(e,t,n){"use strict";var r=n(37452),o=n(93580),i=n(46195),a=n(79480),s=n(7961),l=n(89435);e.exports=function(e,t){var n,i,a={};t||(t={});for(i in p)n=t[i],a[i]=null===n||void 0===n?p[i]:n;(a.position.indent||a.position.start)&&(a.indent=a.position.indent||[],a.position=a.position.start);return function(e,t){var n,i,a,p,k,w,E,M,S,C,O,T,A,R,z,L,_,H,N,P=t.additional,I=t.nonTerminated,D=t.text,$=t.reference,V=t.warning,j=t.textContext,B=t.referenceContext,F=t.warningContext,W=t.position,U=t.indent||[],K=e.length,G=0,q=-1,X=W.column||1,Y=W.line||1,Z="",Q=[];"string"===typeof P&&(P=P.charCodeAt(0));L=J(),M=V?ee:d,G--,K++;for(;++G<K;)if(10===k&&(X=U[q]||1),38===(k=e.charCodeAt(G))){if(9===(E=e.charCodeAt(G+1))||10===E||12===E||32===E||38===E||60===E||E!==E||P&&E===P){Z+=u(k),X++;continue}for(T=A=G+1,N=A,35===E?(N=++T,88===(E=e.charCodeAt(N))||120===E?(R=f,N=++T):R=m):R=h,n="",O="",p="",z=v[R],N--;++N<K&&z(E=e.charCodeAt(N));)p+=u(E),R===h&&c.call(r,p)&&(n=p,O=r[p]);(a=59===e.charCodeAt(N))&&(N++,(i=R===h&&l(p))&&(n=p,O=i)),H=1+N-A,(a||I)&&(p?R===h?(a&&!O?M(5,1):(n!==p&&(H=1+(N=T+n.length)-T,a=!1),a||(S=n?1:3,t.attribute?61===(E=e.charCodeAt(N))?(M(S,H),O=null):s(E)?O=null:M(S,H):M(S,H))),w=O):(a||M(2,H),b(w=parseInt(p,g[R]))?(M(7,H),w=u(65533)):w in o?(M(6,H),w=o[w]):(C="",x(w)&&M(6,H),w>65535&&(C+=u((w-=65536)>>>10|55296),w=56320|1023&w),w=C+u(w))):R!==h&&M(4,H)),w?(te(),L=J(),G=N-1,X+=N-A+1,Q.push(w),(_=J()).offset++,$&&$.call(B,w,{start:L,end:_},e.slice(A-1,N)),L=_):(p=e.slice(A-1,N),Z+=p,X+=p.length,G=N-1)}else 10===k&&(Y++,q++,X=0),k===k?(Z+=u(k),X++):te();return Q.join("");function J(){return{line:Y,column:X,offset:G+(W.offset||0)}}function ee(e,t){var n=J();n.column+=t,n.offset+=t,V.call(F,y[e],n,e)}function te(){Z&&(Q.push(Z),D&&D.call(j,Z,{start:L,end:J()}),Z="")}}(e,a)};var c={}.hasOwnProperty,u=String.fromCharCode,d=Function.prototype,p={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},h="named",f="hexadecimal",m="decimal",g={hexadecimal:16,decimal:10},v={};v.named=s,v[m]=i,v[f]=a;var y={};function b(e){return e>=55296&&e<=57343||e>1114111}function x(e){return e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||65535===(65535&e)||65534===(65535&e)}y[1]="Named character references must be terminated by a semicolon",y[2]="Numeric character references must be terminated by a semicolon",y[3]="Named character references cannot be empty",y[4]="Numeric character references cannot be empty",y[5]="Named character references must be known",y[6]="Numeric character references cannot be disallowed",y[7]="Numeric character references cannot be outside the permissible Unicode range"},28325:function(e,t,n){var r=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,r={},o={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof i?new i(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++n}),e.__id},clone:function e(t,n){var r,i;switch(n=n||{},o.util.type(t)){case"Object":if(i=o.util.objId(t),n[i])return n[i];for(var a in r={},n[i]=r,t)t.hasOwnProperty(a)&&(r[a]=e(t[a],n));return r;case"Array":return i=o.util.objId(t),n[i]?n[i]:(r=[],n[i]=r,t.forEach((function(t,o){r[o]=e(t,n)}
vendor: 4,604 bytes, line 1
1)),r);default:return t}},getLanguage:function(e){for(;e;){var n=t.exec(e.className);if(n)return n[1].toLowerCase();e=e.parentElement}return"none"},setLanguage:function(e,n){e.className=e.className.replace(RegExp(t,"gi"),""),e.classList.add("language-"+n)},currentScript:function(){if("undefined"===typeof document)return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(r){var e=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(r.stack)||[])[1];if(e){var t=document.getElementsByTagName("script");for(var n in t)if(t[n].src==e)return t[n]}return null}},isActive:function(e,t,n){for(var r="no-"+t;e;){var o=e.classList;if(o.contains(t))return!0;if(o.contains(r))return!1;e=e.parentElement}return!!n}},languages:{plain:r,plaintext:r,text:r,txt:r,extend:function(e,t){var n=o.util.clone(o.languages[e]);for(var r in t)n[r]=t[r];return n},insertBefore:function(e,t,n,r){var i=(r=r||o.languages)[e],a={};for(var s in i)if(i.hasOwnProperty(s)){if(s==t)for(var l in n)n.hasOwnProperty(l)&&(a[l]=n[l]);n.hasOwnProperty(s)||(a[s]=i[s])}var c=r[e];return r[e]=a,o.languages.DFS(o.languages,(function(t,n){n===c&&t!=e&&(this[t]=a)})),a},DFS:function e(t,n,r,i){i=i||{};var a=o.util.objId;for(var s in t)if(t.hasOwnProperty(s)){n.call(t,s,t[s],r||s);var l=t[s],c=o.util.type(l);"Object"!==c||i[a(l)]?"Array"!==c||i[a(l)]||(i[a(l)]=!0,e(l,n,s,i)):(i[a(l)]=!0,e(l,n,null,i))}}},plugins:{},highlightAll:function(e,t){o.highlightAllUnder(document,e,t)},highlightAllUnder:function(e,t,n){var r={callback:n,container:e,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};o.hooks.run("before-highlightall",r),r.elements=Array.prototype.slice.apply(r.container.querySelectorAll(r.selector)),o.hooks.run("before-all-elements-highlight",r);for(var i,a=0;i=r.elements[a++];)o.highlightElement(i,!0===t,r.callback)},highlightElement:function(t,n,r){var i=o.util.getLanguage(t),a=o.languages[i];o.util.setLanguage(t,i);var s=t.parentElement;s&&"pre"===s.nodeName.toLowerCase()&&o.util.setLanguage(s,i);var l={element:t,language:i,grammar:a,code:t.textContent};function c(e){l.highlightedCode=e,o.hooks.run("before-insert",l),l.element.innerHTML=l.highlightedCode,o.hooks.run("after-highlight",l),o.hooks.run("complete",l),r&&r.call(l.element)}if(o.hooks.run("before-sanity-check",l),(s=l.element.parentElement)&&"pre"===s.nodeName.toLowerCase()&&!s.hasAttribute("tabindex")&&s.setAttribute("tabindex","0"),!l.code)return o.hooks.run("complete",l),void(r&&r.call(l.element));if(o.hooks.run("before-highlight",l),l.grammar)if(n&&e.Worker){var u=new Worker(o.filename);u.onmessage=function(e){c(e.data)},u.postMessage(JSON.stringify({language:l.language,code:l.code,immediateClose:!0}))}else c(o.highlight(l.code,l.grammar,l.language));else c(o.util.encode(l.code))},highlight:function(e,t,n){var r={code:e,grammar:t,language:n};if(o.hooks.run("before-tokenize",r),!r.grammar)throw new Error('The language "'+r.language+'" has no grammar.');return r.tokens=o.tokenize(r.code,r.grammar),o.hooks.run("after-tokenize",r),i.stringify(o.util.encode(r.tokens),r.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var o=new l;return c(o,o.head,e),s(e,o,t,o.head,0),function(e){var t=[],n=e.head.next;for(;n!==e.tail;)t.push(n.value),n=n.next;return t}(o)},hooks:{all:{},add:function(e,t){var n=o.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=o.hooks.all[e];if(n&&n.length)for(var r,i=0;r=n[i++];)r(t)}},Token:i};function i(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function a(e,t,n,r){e.lastIndex=t;var o=e.exec(n);if(o&&r&&o[1]){var i=o[1].length;o.index+=i,o[0]=o[0].slice(i)}return o}function s(e,t,n,r,l,d){for(var p in n)if(n.hasOwnProperty(p)&&n[p]){var h=n[p];h=Array.isArray(h)?h:[h];for(var f=0;f<h.length;++f){if(d&&d.cause==p+","+f)return;var m=h[f],g=m.inside,v=!!m.lookbehind,y=!!m.greedy,b=m.alias;if(y&&!m.pattern.global){var x=m.pattern.toString().match(/[imsuy]*$/)[0];m.pattern=RegExp(m.pattern.source,x+"g")}for(var k=m.pattern||m,w=r.next,E=l;w!==t.tail&&!(d&&E>=d.reach);E+=w.value.length,w=w.next){var M=w.value;if(t.length>e.length)return;if(!(M instanceof i)){var S,C=1;if(y){if(!(S=a(k,E,e,v))||S.index>=e.length)break;var O=S.index,T=S.index+S[0].length,A=E;for(A+=w.value.length;O>=A;)A+=(w=w.next).value.length;if(E=A-=w.value.length,w.value instanceof i)continue;for(var R=w;R!==t.tail&&(A<T||"string"===typeof R.value);R=R.next)C++,A+=R.value.length;C--,M=e.slice(E,A),S.index-=E}else if(!(S=a(k,0,M,v)))continue;O=S.index;
1var z=S[0],L=M.slice(0,O),_=M.slice(O+z.length),H=E+M.length;d&&H>d.reach&&(d.reach=H);var N=w.prev;if(L&&(N=c(t,N,L),E+=L.length),u(t,N,C),w=c(t,N,new i(p,g?o.tokenize(z,g):z,b,z)),_&&c(t,w,_),C>1){var P={cause:p+","+f,reach:H};s(e,t,n,w.prev,E,P),d&&P.reach>d.reach&&(d.reach=P.reach)}}}}}}function l(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function c(e,t,n){var r=t.next,o={value:n,prev:t,next:r};return t.next=o,r.prev=o,e.length++,o}function u(e,t,n){for(var r=t.next,o=0;o<n&&r!==e.tail;o++)r=r.next;t.next=r,r.prev=t,e.length-=o}if(e.Prism=o,i.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var r="";return t.forEach((function(t){r+=e(t,n)})),r}var i={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},a=t.alias;a&&(Array.isArray(a)?Array.prototype.push.apply(i.classes,a):i.classes.push(a)),o.hooks.run("wrap",i);var s="";for(var l in i.attributes)s+=" "+l+'="'+(i.attributes[l]||"").replace(/"/g,"&quot;")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+s+">"+i.content+"</"+i.tag+">"},!e.document)return e.addEventListener?(o.disableWorkerMessageHandler||e.addEventListener("message",(function(t){var n=JSON.parse(t.data),r=n.language,i=n.code,a=n.immediateClose;e.postMessage(o.highlight(i,o.languages[r],r)),a&&e.close()}),!1),o):o;var d=o.util.currentScript();function p(){o.manual||o.highlightAll()}if(d&&(o.filename=d.src,d.hasAttribute("data-manual")&&(o.manual=!0)),!o.manual){var h=document.readyState;"loading"===h||"interactive"===h&&d&&d.defer?document.addEventListener("DOMContentLoaded",p):window.requestAnimationFrame?window.requestAnimationFrame(p):window.setTimeout(p,16)}return o}("undefined"!==typeof window?window:"undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=r),"undefined"!==typeof n.g&&(n.g.Prism=r)},11215:function(e,t,n){"use strict";var r="object"===typeof globalThis?globalThis:"object"===typeof self?self:"object"===typeof window?window:"object"===typeof n.g?n.g:{}
1,o=function(){var e="Prism"in r,t=e?r.Prism:void 0;return function(){e?r.Prism=t:delete r.Prism;e=void 0,t=void 0}}();r.Prism={manual:!0,disableWorkerMessageHandler:!0};var i=n(31742),a=n(57574),s=n(28325),l=n(2717),c=n(12049),u=n(29726),d=n(36155);o();var p={}.hasOwnProperty;function h(){}h.prototype=s;var f=new h;function m(e){if("function"!==typeof e||!e.displayName)throw new Error("Expected `function` for `grammar`, got `"+e+"`");void 0===f.languages[e.displayName]&&e(f)}e.exports=f,f.highlight=function(e,t){var n,r=s.highlight;if("string"!==typeof e)throw new Error("Expected `string` for `value`, got `"+e+"`");if("Object"===f.util.type(t))n=t,t=null;else{if("string"!==typeof t)throw new Error("Expected `string` for `name`, got `"+t+"`");if(!p.call(f.languages,t))throw new Error("Unknown language: `"+t+"` is not registered");n=f.languages[t]}return r.call(this,e,n,t)},f.register=m,f.alias=function(e,t){var n,r,o,i,a=f.languages,s=e;t&&((s={})[e]=t);for(n in s)for(r=s[n],o=(r="string"===typeof r?[r]:r).length,i=-1;++i<o;)a[r[i]]=a[n]},f.registered=function(e){if("string"!==typeof e)throw new Error("Expected `string` for `language`, got `"+e+"`");return p.call(f.languages,e)},f.listLanguages=function(){var e,t=f.languages,n=[];for(e in t)p.call(t,e)&&"object"===typeof t[e]&&n.push(e);return n},m(l),m(c),m(u),m(d),f.util.encode=function(e){return e},f.Token.stringify=function(e,t,n){var r;if("string"===typeof e)return{type:"text",value:e};if("Array"===f.util.type(e))return function(e,t){var n,r=[],o=e.length,i=-1;for(;++i<o;)""!==(n=e[i])&&null!==n&&void 0!==n&&r.push(n);i=-1,o=r.length;for(;++i<o;)n=r[i],r[i]=f.Token.stringify(n,t,r);return r}(e,t);r={type:e.type,content:f.Token.stringify(e.content,t,n),tag:"span",classes:["token",e.type],attributes:{},language:t,parent:n},e.alias&&(r.classes=r.classes.concat(e.alias));return f.hooks.run("wrap",r),i(r.tag+"."+r.classes.join("."),function(e){var t;for(t in e)e[t]=a(e[t]);return e}(r.attributes),r.content)}},29726:function(e){"use strict";function t(e){e.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}e.exports=t,t.displayName="clike",t.aliases=[]},12049:function(e){"use strict";function t(e){!function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(e)}e.exports=t,t.displayName="css",t.aliases=[]},36155:function(e){"use strict";function t(e){e.languages.javascript=e.languages.extend("clike",{"class-name":[e.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?
1:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),e.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,e.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:e.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:e.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:e.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:e.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),e.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:e.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),e.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),e.languages.markup&&(e.languages.markup.tag.addInlined("script","javascript"),e.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),e.languages.js=e.languages.javascript}e.exports=t,t.displayName="javascript",t.aliases=["js"]},2717:function(e){"use strict";function t(e){e.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}}
1,"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},e.languages.markup.tag.inside["attr-value"].inside.entity=e.languages.markup.entity,e.languages.markup.doctype.inside["internal-subset"].inside=e.languages.markup,e.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.value.replace(/&amp;/,"&"))})),Object.defineProperty(e.languages.markup.tag,"addInlined",{value:function(t,n){var r={};r["language-"+n]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:e.languages[n]},r.cdata=/^<!\[CDATA\[|\]\]>$/i;var o={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:r}};o["language-"+n]={pattern:/[\s\S]+/,inside:e.languages[n]};var i={};i[t]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return t})),"i"),lookbehind:!0,greedy:!0,inside:o},e.languages.insertBefore("markup","cdata",i)}}),Object.defineProperty(e.languages.markup.tag,"addAttribute",{value:function(t,n){e.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+t+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[n,"language-"+n],inside:e.languages[n]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),e.languages.html=e.languages.markup,e.languages.mathml=e.languages.markup,e.languages.svg=e.languages.markup,e.languages.xml=e.languages.extend("markup",{}),e.languages.ssml=e.languages.xml,e.languages.atom=e.languages.xml,e.languages.rss=e.languages.xml}e.exports=t,t.displayName="markup",t.aliases=["html","mathml","svg","xml","ssml","atom","rss"]},45298:function(e,t){"use strict";t.Z=function(e,t){}},28498:function(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.errorMessages=t.ErrorType=void 0,function(e){e.MalformedUnicode="MALFORMED_UNICODE",e.MalformedHexadecimal="MALFORMED_HEXADECIMAL",e.CodePointLimit="CODE_POINT_LIMIT",e.OctalDeprecation="OCTAL_DEPRECATION",e.EndOfString="END_OF_STRING"}(n=t.ErrorType||(t.ErrorType={})),t.errorMessages=new Map([[n.MalformedUnicode,"malformed Unicode character escape sequence"],[n.MalformedHexadecimal,"malformed hexadecimal character escape sequence"],[n.CodePointLimit,"Unicode codepoint must not be greater than 0x10FFFF in escape sequence"],[n.OctalDeprecation,'"0"-prefixed octal literals and octal escape sequences are deprecated; for octal literals use the "0o" prefix instead'],[n.EndOfString,"malformed escape sequence at end of string"]])},93012:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.unraw=t.errorMessages=t.ErrorType=void 0;const r=n(28498);function o(e,t,n){const o=function(e){return e.match(/[^a-f0-9]/i)?NaN:parseInt(e,16)}(e);if(Number.isNaN(o)||void 0!==n&&n!==e.length)throw new SyntaxError(r.errorMessages.get(t));return o}function i(e,t){const n=o(e,r.ErrorType.MalformedUnicode,4);if(void 0!==t){const e=o(t,r.ErrorType.MalformedUnicode,4);return String.fromCharCode(n,e)}return String.fromCharCode(n)}Object.defineProperty(t,"ErrorType",{enumerable:!0,get:function(){return r.ErrorType}}),Object.defineProperty(t,"errorMessages",{enumerable:!0,get:function(){return r.errorMessages}});const a=new Map([["b","\b"],["f","\f"],["n","\n"],["r","\r"],["t","\t"],["v","\v"],["0","\0"]]);const s=/\\(?:(\\)|x([\s\S]{0,2})|u(\{[^}]*\}?)|u([\s\S]{4})\\u([^{][\s\S]{0,3})|u([\s\S]{0,4})|([0-3]?[0-7]{1,2})|([\s\S])|$)/g;function l(e,t=!1){return e.replace(s,(function(e,n,s,l,c,u,d,p,h){if(void 0!==n)return"\\";if(void 0!==s)return function(e){const t=o(e,r.ErrorType.MalformedHexadecimal,2);return String.fromCharCode(t)}(s);if(void 0!==l)return function(e){if("{"!==(t=e).charAt(0)||"}"!==t.charAt(t.length-1))throw new SyntaxError(r.errorMessages.get(r.ErrorType.MalformedUnicode));var t;const n=o(e.slice(1,-1),r.ErrorType.MalformedUnicode);try{return String.fromCodePoint(n)}catch(i){throw i instanceof RangeError?new SyntaxError(r.errorMessages.get(r.ErrorType.CodePointLimit)):i}}(l);if(void 0!==c)return i(c,u);if(void 0!==d)return i(d);if("0"===p)return"\0";if(void 0!==p)return function(e,t=!1){if(t)throw new SyntaxError(r.errorMessages.get(r.ErrorType.OctalDeprecation));const n=parseInt(e,8);return String.fromCharCode(n)}(p,!t);if(void 0!==h)return f=h,a.get(f)||f;var f;throw new SyntaxError(r.errorMessages.get(r.ErrorType.EndOfString))}))}t.unraw=l,t.default=l},47529:function(e){e.exports=function(){for(var e={},n=0;n<arguments.length;n++){var r=arguments[n];for(var o in r)t.call(r,o)&&(e[o]=r[o])}return e};var t=Object.prototype.hasOwnProperty},97326:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:function(){return r}})},61082:function(e,t,n){"use strict";n.d(t,{cx:function(){return r}});var r=function(){const e=Array.prototype.slice.call(arguments).filter(
1Boolean),t={},n=[];e.forEach((e=>{(e?e.split(" "):[]).forEach((e=>{if(e.startsWith("atm_")){const[,n]=e.split("_");t[n]=e}else n.push(e)}))}));const r=[];for(const o in t)Object.prototype.hasOwnProperty.call(t,o)&&r.push(t[o]);return r.push(...n),r.join(" ")}},378:function(e,t,n){"use strict";n.d(t,{By:function(){return c},Eg:function(){return r},RC:function(){return p},Vp:function(){return i},Z9:function(){return o},eX:function(){return l},lk:function(){return u},mA:function(){return f},vO:function(){return h},xV:function(){return d},zr:function(){return a}});var r="ProseMirror-selectednode",o="\ufffc",i="\0",a="__state_override__";var s={LastNodeCompatible:"lastNodeCompatible",FormattingMark:"formattingMark",FormattingNode:"formattingNode",NodeCursor:"nodeCursor",FontStyle:"fontStyle",Link:"link",Color:"color",Alignment:"alignment",Indentation:"indentation",Behavior:"behavior",Code:"code",InlineNode:"inline",ListContainerNode:"listContainer",ListItemNode:"listItemNode",Block:"block",BlockNode:"block",TextBlock:"textBlock",ExcludeInputRules:"excludeFromInputRules",PreventExits:"preventsExits",Media:"media"},l=s,c=Symbol.for("__remirror__"),u=(e=>(e.PlainExtension="RemirrorPlainExtension",e.NodeExtension="RemirrorNodeExtension",e.MarkExtension="RemirrorMarkExtension",e.PlainExtensionConstructor="RemirrorPlainExtensionConstructor",e.NodeExtensionConstructor="RemirrorNodeExtensionConstructor",e.MarkExtensionConstructor="RemirrorMarkExtensionConstructor",e.Manager="RemirrorManager",e.Preset="RemirrorPreset",e.PresetConstructor="RemirrorPresetConstructor",e))(u||{}),d=(e=>(e[e.Critical=1e6]="Critical",e[e.Highest=1e5]="Highest",e[e.High=1e4]="High",e[e.Medium=1e3]="Medium",e[e.Default=100]="Default",e[e.Low=10]="Low",e[e.Lowest=0]="Lowest",e))(d||{}),p=(e=>(e[e.None=0]="None",e[e.Create=1]="Create",e[e.EditorView=2]="EditorView",e[e.Runtime=3]="Runtime",e[e.Destroy=4]="Destroy",e))(p||{}),h=(e=>(e.Undo="_|undo|_",e.Redo="_|redo|_",e.Bold="_|bold|_",e.Italic="_|italic|_",e.Underline="_|underline|_",e.Strike="_|strike|_",e.Code="_|code|_",e.Paragraph="_|paragraph|_",e.H1="_|h1|_",e.H2="_|h2|_",e.H3="_|h3|_",e.H4="_|h4|_",e.H5="_|h5|_",e.H6="_|h6|_",e.TaskList="_|task|_",e.BulletList="_|bullet|_",e.OrderedList="_|number|_",e.Quote="_|quote|_",e.Divider="_|divider|_",e.Codeblock="_|codeblock|_",e.ClearFormatting="_|clear|_",e.Superscript="_|sup|_",e.Subscript="_|sub|_",e.LeftAlignment="_|left-align|_",e.CenterAlignment="_|center-align|_",e.RightAlignment="_|right-align|_",e.JustifyAlignment="_|justify-align|_",e.InsertLink="_|link|_",e.Find="_|find|_",e.FindBackwards="_|find-backwards|_",e.FindReplace="_|find-replace|_",e.AddFootnote="_|footnote|_",e.AddComment="_|comment|_",e.ContextMenu="_|context-menu|_",e.IncreaseFontSize="_|inc-font-size|_",e.DecreaseFontSize="_|dec-font-size|_",e.IncreaseIndent="_|indent|_",e.DecreaseIndent="_|dedent|_",e.Shortcuts="_|shortcuts|_",e.Copy="_|copy|_",e.Cut="_|cut|_",e.Paste="_|paste|_",e.PastePlain="_|paste-plain|_",e.SelectAll="_|select-all|_",e.Format="_|format|_",e))(h||{}),f=(e=>(e.PROD="RMR0000",e.UNKNOWN="RMR0001",e.INVALID_COMMAND_ARGUMENTS="RMR0002",e.CUSTOM="RMR0003",e.CORE_HELPERS="RMR0004",e.MUTATION="RMR0005",e.INTERNAL="RMR0006",e.MISSING_REQUIRED_EXTENSION="RMR0007",e.MANAGER_PHASE_ERROR="RMR0008",e.INVALID_GET_EXTENSION="RMR0010",e.INVALID_MANAGER_ARGUMENTS="RMR0011",e.SCHEMA="RMR0012",e.HELPERS_CALLED_IN_OUTER_SCOPE="RMR0013",e.INVALID_MANAGER_EXTENSION="RMR0014",e.DUPLICATE_COMMAND_NAMES="RMR0016",e.DUPLICATE_HELPER_NAMES="RMR0017",e.NON_CHAINABLE_COMMAND="RMR0018",e.INVALID_EXTENSION="RMR0019",e.INVALID_CONTENT="RMR0021",e.INVALID_
1NAME="RMR0050",e.EXTENSION="RMR0100",e.EXTENSION_SPEC="RMR0101",e.EXTENSION_EXTRA_ATTRIBUTES="RMR0102",e.INVALID_SET_EXTENSION_OPTIONS="RMR0103",e.REACT_PROVIDER_CONTEXT="RMR0200",e.REACT_GET_ROOT_PROPS="RMR0201",e.REACT_EDITOR_VIEW="RMR0202",e.REACT_CONTROLLED="RMR0203",e.REACT_NODE_VIEW="RMR0204",e.REACT_GET_CONTEXT="RMR0205",e.REACT_COMPONENTS="RMR0206",e.REACT_HOOKS="RMR0207",e.I18N_CONTEXT="RMR0300",e))(f||{})},57555:function(e,t,n){"use strict";n.d(t,{BB:function(){return v},DY:function(){return Y},EL:function(){return V},HD:function(){return w},JD:function(){return D},Kj:function(){return L},Kn:function(){return R},Nb:function(){return W},Of:function(){return P},PO:function(){return O},Qr:function(){return _},RF:function(){return l},RH:function(){return G},Ry:function(){return g},V9:function(){return z},VF:function(){return U},VO:function(){return f},XP:function(){return h},Xy:function(){return F},Yc:function(){return j},Z$:function(){return X},ZT:function(){return K},bH:function(){return se},fp:function(){return c},hj:function(){return E},hu:function(){return u},jn:function(){return C},kC:function(){return I},kG:function(){return ae},kJ:function(){return H},le:function(){return A},mf:function(){return M},o8:function(){return k},q9:function(){return m},qh:function(){return p},r2:function(){return ne},uZ:function(){return q},uh:function(){return te},uw:function(){return J},vV:function(){return le},w6:function(){return ee},yD:function(){return N},zN:function(){return Z}});var r=n(81432),o=n(378),i=n(9996),a=n(64063),s=n(47650);n(13017);function l(e){return e}function c(e,t,n){const r=e[t];return u(!k(r),n),r}function u(e,t){if(!e)throw new d(t)}var d=class extends r.BaseError{constructor(){super(...arguments),this.name="AssertionError"}};function p(e){return Object.entries(e)}function h(e){return Object.keys(e)}function f(e){return Object.values(e)}function m(e,t,n){return e.includes(t,n)}function g(e){return Object.assign(Object.create(null),e)}function v(e){return Object.prototype.toString.call(e)}function y(e){return v(e).slice(8,-1)}function b(e,t){return n=>typeof n===e&&(!t||t(n))}function x(e){return t=>y(t)===e}var k=b("undefined"),w=b("string"),E=b("number",(e=>!Number.isNaN(e))),M=b("function");function S(e){return null===e}function C(e){return!0===e||!1===e}b("symbol");function O(e){if("Object"!==y(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.getPrototypeOf({})}function T(e){return null==e||/^[bns]/.test(typeof e)}function A(e){return S(e)||k(e)}function R(e){return!A(e)&&(M(e)||b("object")(e))}function z(e){return t=>R(t)&&t instanceof e}var L=x("RegExp");x("Date"),x("Error");function _(e){return R(e)&&!function(e){return x("Map")(e)}(e)&&!function(e){return x("Set")(e)}(e)&&0===Object.keys(e).length}var H=Array.isArray;function N(e){return H(e)&&0===e.length}function P(e){return H(e)&&e.length>0}function I(e){return e.charAt(0).toUpperCase()+e.slice(1)}function D(e,t,n=(e=>!!e)){t.lastIndex=0;const r=[],o=t.flags;let i;o.includes("g")||(t=new RegExp(t.source,`g${o}`));do{i=t.exec(e),i&&r.push(i)}while(n(i));return t.lastIndex=0,r}function $(){const e=Date.now(),t=$.last||e;return $.last=e>t?e:t+1}function V(e=""){return`${e}${$().toString(36)}`}function j(e){return s(e,(e=>!k(e)))}function B(e){if(!O(e))throw new Error("An invalid value was passed into this clone utility. Expected a plain object");return{...e}}$.last=0;var F=a;function W(e,t=!1){const n=t?[...e].reverse():e,r=new Set(n);return t?[...r].reverse():[...r]}function U(e){const t=[];for(const n of e){const e=H(n)?U(n):[n];t.push(...e)}return t}function K(){}function G(...e){return i.all(e,{isMergeableObject:O})}function q({min:e,max:t,value:n}){return n<e?e:n>t?t:n}function X(e){return e[e.length-1]}function Y(e,t){return[...e].map(((e,t)=>({value:e,index:t}))).sort(((e,n)=>t(e.value,n.value)||e.index-n.index)).map((({value:e})=>e))}function Z(e,t){const n=B(t);let r=n;for(const[o,i]of e.entries()){const t=o>=e.length-1;let a=r[i];if(t){if(H(r)){const e=Number.parseInt(i.toString(),10);E(e)&&r.splice(e,1)}else Reflect.deleteProperty(r,i);return n}if(T(a))return n;a=H(a)?[...a]:{...a},r[i]=a,r=a}return n}function Q(e){return t=>function(e,t,n){try{if(w(t)&&t in e)return e[t];H(t)&&(t=`['${t.join("']['")}']`);let r=e;return t.replace(/\[\s*(["'])(.*?)\1\s*]|^\s*(\w+)\s*(?=\.|\[|$)|\.\s*(\w
1*)\s*(?=\.|\[|$)|\[\s*(-?\d+)\s*]/g,((e,t,n,o,i,a)=>(r=r[n||o||i||a],""))),void 0===r?n:r}catch{return n}}(t,e)}function J(e,t,n=!1){const r=[],o=new Set,i=M(t)?t:Q(t),a=n?[...e].reverse():e;for(const s of a){const e=i(s);o.has(e)||(o.add(e),r.push(s))}return n?r.reverse():r}function ee(e,t){const n=H(e)?e[0]:e;return E(t)?n<=t?Array.from({length:t+1-n},((e,t)=>t+n)):Array.from({length:n+1-t},((e,t)=>-1*t+n)):Array.from({length:Math.abs(n)},((e,t)=>(n<0?-1:1)*t))}function te(e,...t){const n=t.filter(E);return e>=Math.min(...n)&&e<=Math.max(...n)}function ne(e){return M(e)?e():e}var re="https://remirror.io/docs/errors",oe={[o.mA.UNKNOWN]:"An error occurred but we're not quite sure why. \ud83e\uddd0",[o.mA.INVALID_COMMAND_ARGUMENTS]:"The arguments passed to the command method were invalid.",[o.mA.CUSTOM]:"This is a custom error, possibly thrown by an external library.",[o.mA.CORE_HELPERS]:"An error occurred in a function called from the `@remirror/core-helpers` library.",[o.mA.MUTATION]:"Mutation of immutable value detected.",[o.mA.INTERNAL]:"This is an error which should not occur and is internal to the remirror codebase.",[o.mA.MISSING_REQUIRED_EXTENSION]:"Your editor is missing a required extension.",[o.mA.MANAGER_PHASE_ERROR]:"This occurs when accessing a method or property before it is available.",[o.mA.INVALID_GET_EXTENSION]:"The user requested an invalid extension from the getExtensions method. Please check the `createExtensions` return method is returning an extension with the defined constructor.",[o.mA.INVALID_MANAGER_ARGUMENTS]:"Invalid value(s) passed into `Manager` constructor. Only `Presets` and `Extensions` are supported.",[o.mA.SCHEMA]:"There is a problem with the schema or you are trying to access a node / mark that doesn't exists.",[o.mA.HELPERS_CALLED_IN_OUTER_SCOPE]:"The `helpers` method which is passed into the ``create*` method should only be called within returned method since it relies on an active view (not present in the outer scope).",[o.mA.INVALID_MANAGER_EXTENSION]:"You requested an invalid extension from the manager.",[o.mA.DUPLICATE_COMMAND_NAMES]:"Command method n
1ames must be unique within the editor.",[o.mA.DUPLICATE_HELPER_NAMES]:"Helper method names must be unique within the editor.",[o.mA.NON_CHAINABLE_COMMAND]:"Attempted to chain a non chainable command.",[o.mA.INVALID_EXTENSION]:"The provided extension is invalid.",[o.mA.INVALID_CONTENT]:"The content provided to the editor is not supported.",[o.mA.INVALID_NAME]:"An invalid name was used for the extension.",[o.mA.EXTENSION]:"An error occurred within an extension. More details should be made available.",[o.mA.EXTENSION_SPEC]:"The spec was defined without calling the `defaults`, `parse` or `dom` methods.",[o.mA.EXTENSION_EXTRA_ATTRIBUTES]:"Extra attributes must either be a string or an object.",[o.mA.INVALID_SET_EXTENSION_OPTIONS]:"A call to `extension.setOptions` was made with invalid keys.",[o.mA.REACT_PROVIDER_CONTEXT]:"`useRemirrorContext` was called outside of the `remirror` context. It can only be used within an active remirror context created by the `<Remirror />`.",[o.mA.REACT_GET_ROOT_PROPS]:"`getRootProps` has been attached to the DOM more than once. It should only be attached to the dom once per editor.",[o.mA.REACT_EDITOR_VIEW]:"A problem occurred adding the editor view to the dom.",[o.mA.REACT_CONTROLLED]:"There is a problem with your controlled editor setup.",[o.mA.REACT_NODE_VIEW]:"Something went wrong with your custom ReactNodeView Component.",[o.mA.REACT_GET_CONTEXT]:"You attempted to call `getContext` provided by the `useRemirror` prop during the first render of the editor. This is not possible and should only be after the editor first mounts.",[o.mA.REACT_COMPONENTS]:"An error occurred within a remirror component.",[o.mA.REACT_HOOKS]:"An error occurred within a remirror hook.",[o.mA.I18N_CONTEXT]:"You called `useI18n()` outside of an `I18nProvider` context."};var ie=class extends r.BaseError{constructor({code:e,message:t,disableLogging:n=!1}={}){const r=function(e){return w(e)&&m(f(o.mA),e)}(e)?e:o.mA.CUSTOM;super(function(e,t){const n=oe[e];return`${n?`${n}\n\n`:""}${t?`${t}\n\n`:""}For more information visit ${re}#${e.toLowerCase()}`}(r,t)),this.errorCode=r,this.url=`${re}#${r.toLowerCase()}`,n||console.error(this.message)}static create(e={}){return new ie(e)}};function ae(e,t){if(!e)throw ie.create(t)}function se(e){if("object"!==typeof e||null===e)return e;const t=Symbol.toStringTag in e&&"Module"===e[Symbol.toStringTag]?e.default??e:e;return t&&"object"===typeof e&&"__esModule"in t&&t.__esModule&&void 0!==t.default?t.default:t}function le(e,t={}){return e}},27398:function(e,t,n){"use strict";n.d(t,{Q2:function(){return $},PZ:function(){return T},V1:function(){return B},EP:function(){return ge},NZ:function(){return x},as:function(){return Ke},hK:function(){return L},JB:function(){return _},Kk:function(){return z},Tr:function(){return H},EM:function(){return D},qh:function(){return Ge},QC:function(){return de},Lp:function(){return fe},JN:function(){return ae},Me:function(){return ve},IH:function(){return ce},FI:function(){return he},jo:function(){return U},JM:function(){return pe},Jv:function(){return Fe},C2:function(){return k},b0:function(){return me},yZ:function(){return P},OC:function(){return Ee},d7:function(){return Q},xN:function(){return se},$q:function(){return oe},mV:function(){return E},jd:function(){return M},mp:function(){return le},OA:function(){return Ae},pI:function(){return W},yw:function(){return re},Ig:function(){return I},$9:function(){return O},EG:function(){return ne},mt:function(){return q},K_:function(){return X},PH:function(){return G},gf:function(){return F},Ab:function(){return N},GK:function(){return ze},sg:function(){return Re},Q$:function(){return S},hT:function(){return Z},X3:function(){return Ce},Cf:function(){return qe},d3:function(){return C},bk:function(){return j},x2:function(){return Xe},Kh:function(){return Se},Em:function(){return we},P9:function(){return Ve},aS:function(){return A},IY:function(){return R},lp:function(){return De},uJ:function(){return Ne},yL:function(){return w},zU:function(){return Pe},bm:function(){return He},dy:function(){return Le},ym:function(){return _e}});var r=n(378),o=n(57555),i=n(2376),a=n(16560),s=/[A-Z]/g,l=/^ms-/,c={};function u(e){return"-"+e.toLowerCase()}var d=function(e){if(c.hasOwnProperty(e))return c[e];var t=e.replace(s,u);return c[e]=l.test(t)?"-"+t:t};function p(e,t){return function(e){return d(e)}(e)+":"+t}function h(){return"undefined"!==typeof document?document:null}var f=n(47650),m=n(12806),g=(n(1161),n(48776)),v=n(36912),y=n(84799),b=n(34155),x={get isBrowser(){return!("undefined"===typeof window||"undefined"===typeof window.document||!window.navigator||!window.navigator.userAgent)},get isJSDOM(){return x.isBrowser&&window.navigator.userAgent.includes("jsdom")},get isNode(){return"undefined"!==typeof b&&null!=b.versions&&null!=b.versions.node},get isIos(){return x.isBrowser&&/iPod|iPhone|iPad/.test(navigator.platform)},get isMac(){return x.isBrowser&&/Mac|iPod|iPhone|iPad/.test(navigator.platform)},get isApple(){return x.isNode?"darwin"===b.platform:!!x.isBrowser&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform)},get isDevelopment(){return!1},get isTest(){return!1},get isProduction(){return!0}};function k(e,t){var n;const r=be(e);return(null==(n=null==r?void 0:r.getComputedStyle(e))?void 0:n.getPropertyValue(t))??""}function w(e,t){return Object.assign(e.style,t)}function E(e){return(0,o.Kn)(e)&&(0,o.hj)(e.nodeType)&&(0,o.HD)(e.nodeName)}function M(e){return E(e)&&1===e.nodeType}
1function S(e){return E(e)&&3===e.nodeType}function C(e,t){const n=Math.min(e.left,t.left),r=Math.max(e.right,t.right),o=Math.min(e.top,t.top),i=Math.max(e.bottom,t.bottom);return new DOMRect(n,o,r-n,i-o)}function O(e){const{types:t,node:n}=e;if(!n)return!1;const r=e=>e===n.type||e===n.type.name;return(0,o.kJ)(t)?t.some(r):r(t)}function T(e,t){const{tr:n}=t;return e.forEach((e=>{e.steps.forEach((e=>{n.step(e)}))})),n}function A({pos:e,tr:t}){const n=t.doc.nodeAt(e);return n&&t.delete(e,e+n.nodeSize),t}function R({pos:e,tr:t,content:n}){const r=t.doc.nodeAt(e);return r&&t.replaceWith(e,e+r.nodeSize,n),t}function z(e){const{predicate:t,selection:n}=e,r=Y(n)?n.selection.$from:J(n)?n.$from:n;for(let o=r.depth;o>0;o--){const e=r.node(o),n=o>0?r.before(o):0,i=r.start(o),a=n+e.nodeSize;if(t(e,n))return{pos:n,depth:o,node:e,start:i,end:a}}}function L(e){const{depth:t}=e,n=t>0?e.before(t):0,r=e.node(t);return{pos:n,start:e.start(t),node:r,end:n+r.nodeSize,depth:t}}function _(e){const t=z({predicate:()=>!0,selection:e});return(0,o.kG)(t,{message:"No parent node found for the selection provided."}),t}function H(e){const{types:t,selection:n}=e;return z({predicate:e=>O({types:t,node:e}),selection:n})}function N(e){return J(e)?e.empty:e.selection.empty}function P(e){return e.docChanged||e.selectionSet}function I(e){return!!D(e)}function D(e){const{state:t,type:n,attrs:i}=e,{selection:a,doc:s}=t,l=(0,o.HD)(n)?s.type.schema.nodes[n]:n;(0,o.kG)(l,{code:r.mA.SCHEMA,message:`No node exists for ${n}`});const c=function(e){const{types:t,selection:n}=e;if(ne(n)&&O({types:t,node:n.node}))return{pos:n.$from.pos,depth:n.$from.depth,start:n.$from.start(),end:n.$from.pos+n.node.nodeSize,node:n.node}}({selection:a,types:n})??z({predicate:e=>e.type===l,selection:a});return i&&!(0,o.Qr)(i)&&c?c.node.hasMarkup(l,{...c.node.attrs,...i})?c:void 0:c}function $(...e){return t=>{if(!(0,o.Of)(e))return!1;const[n,...r]=e;let i=!1;const a=(...e)=>()=>{if(!(0,o.Of)(e))return!1;i=!0;const[,...n]=e;return $(...e)({...t,next:a(...n)})},s=a(...r),l=n({...t,next:s});return i||l?l:s()}}function V(e,t){const n=new Map,r=(0,o.Ry)();for(const i of e)for(const[e,a]of(0,o.qh)(i)){const o=[...n.get(e)??[],a],i=$(...o);n.set(e,o),r[e]=t(i)}return r}function j(e){return V(e,(e=>(t,n,r)=>e({state:t,dispatch:n,view:r,tr:t.tr,next:()=>!1})))}function B(e,t){const n=e.attrs??{};return Object.entries(t).every((([e,t])=>n[e]===t))}function F(e){return(0,o.Kn)(e)}function W(e,t){return(0,o.kJ)(t)?(0,o.q9)(t,e[r.By]):t===e[r.By]}function U(e,t){return(0,o.HD)(e)?(0,o.fp)(t.nodes,e):e}function K(e){return(0,o.Kn)(e)&&e instanceof m.ZU}function G(e){return(0,o.Kn)(e)&&e instanceof m.NB}function q(e){return(0,o.Kn)(e)&&e instanceof m.HY}function X(e){return(0,o.Kn)(e)&&e instanceof m.vc}function Y(e){return(0,o.Kn)(e)&&e instanceof i.yy}function Z(e){return(0,o.Kn)(e)&&e instanceof i.Bs}function Q(e){return(0,o.Kn)(e)&&e instanceof i.C1}function J(e){return(0,o.Kn)(e)&&e instanceof i.Y1}function ee(e){return(0,o.Kn)(e)&&e instanceof m.ZQ}function te(e){const{trState:t,from:n,to:r,type:i,attrs:a={}}=e,{doc:s}=t,l=function(e,t){return(0,o.HD)(e)?(0,o.fp)(t.marks,e):e}(i,s.type.schema);if(0===Object.keys(a).length)return s.rangeHasMark(n,r,l);let c=!1;return r>n&&s.nodesBetween(n,r,(e=>{if(c)return!1;const t=e.marks??[];return c=t.some((e=>e.type===l&&B(e,a))),!c})),c}function ne(e){return(0,o.Kn)(e)&&e instanceof i.qv}function re(e){const{trState:t,type:n,attrs:i={},from:a,to:s}=e,{selection:l,doc:c,storedMarks:u}=t,d=(0,o.HD)(n)?c.type.schema.marks[n]:n;if((0,o.kG)(d,{code:r.mA.SCHEMA,message:`Mark type: ${n} does not exist on the current schema.`}),a&&s)try{return Math.max(a,s)<c.nodeSize&&te({...e,from:a,to:s})}catch{return!1}if(l.empty){return(u??l.$from.marks()).some((e=>e.type===n&&B(e,i??{})))}return te({...e,from:l.from,to:l.to})}function oe(e,t={}){const n=function(e){var t;return(null==(t=e.nodes.doc)?void 0:t.createAndFill())??void 0}(e.type.schema);if(!n)return!1;const{ignoreAttributes:r,ignoreDocAttributes:o}=t;return r?ie(n,e):o?n.content.eq(e.content):n.eq(e)}function ie(e,t){if(e===t)return!0;return e.type===t.type&&m.vc.sameSet(e.marks,t.marks)&&function(){if(e.content===t.content)return!0;
1if(e.content.size!==t.content.size)return!1;const n=[],r=[];e.content.forEach((e=>n.push(e))),t.content.forEach((e=>r.push(e)));for(const[e,t]of n.entries()){const n=r[e];if(!n)return!1;if(!ie(t,n))return!1}return!0}()}function ae(e){for(const t of Object.values(e.nodes))if("doc"!==t.name&&(t.isBlock||t.isTextblock))return t;(0,o.kG)(!1,{code:r.mA.SCHEMA,message:"No default block node found for the provided schema."})}function se(e){return e.type===ae(e.type.schema)}function le(e){return!!e&&e.type.isBlock&&!e.textContent&&!e.childCount}function ce(e,t,n){const i=e.parent.childAfter(e.parentOffset);if(!i.node)return;const a=(0,o.HD)(t)?t:t.name,s=i.node.marks.find((({type:e})=>e.name===a));let l=e.index(),c=e.start()+i.offset,u=l+1,d=c+i.node.nodeSize;if(!s)return n&&d<n.pos?ce(e.doc.resolve(d+1),t,n):void 0;for(;l>0&&s.isInSet(e.parent.child(l-1).marks);)l-=1,c-=e.parent.child(l).nodeSize;for(;u<e.parent.childCount&&s.isInSet(e.parent.child(u).marks);)d+=e.parent.child(u).nodeSize,u+=1;return{from:c,to:d,text:e.doc.textBetween(c,d,r.Z9,"\n\n"),mark:s}}function ue(e,t){return 0===t.length||t.some((t=>e instanceof t))}function de(e,t=[]){const n=[],{steps:r,mapping:i}=e,s=i.invert();r.forEach(((e,r)=>{if(!ue(e,t))return;const o=[],l=e.getMap(),c=i.slice(r);if(0===l.ranges.length&&function(e){return ue(e,[a.WJ,a.FC,a.Pu,a.xu])}(e)){const{from:t,to:n}=e;o.push({from:t,to:n})}else l.forEach(((e,t)=>{o.push({from:e,to:t})}));o.forEach((e=>{const t=c.map(e.from,-1),r=c.map(e.to);n.push({from:t,to:r,prevFrom:s.map(t,-1),prevTo:s.map(r)})}))}));return function(e){return(0,o.uw)(e,(({from:e,to:t,prevFrom:n,prevTo:r})=>`${e}_${t}_${n}_${r}`)).filter(((e,t,n)=>!n.some(((n,r)=>t!==r&&e.prevFrom>=n.prevFrom&&e.prevTo<=n.prevTo&&e.from>=n.from&&e.to<=n.to))))}((0,o.DY)(n,((e,t)=>e.from-t.from)))}function pe(e){return function(e,t){if(!Z(e.selection))return;let{from:n,to:o}=e.selection;const a=(t,n)=>function(e){var t;return(null==(t=e.content.firstChild)?void 0:t.textContent)??""}(i.Bs.between(e.doc.resolve(t),e.doc.resolve(n)).content());for(let r=a(n-1,n);r&&!t.test(r);n--,r=a(n-1,n));for(let r=a(o,o+1);r&&!t.test(r);o++,r=a(o,o+1));if(n===o)return;return{from:n,to:o,text:e.doc.textBetween(n,o,r.Z9,"\n\n")}}(e,/\W/)}function he(e,t=0){const n=(0,o.kJ)(e)?e[t]:e;return(0,o.hu)((0,o.HD)(n),`No match string found for match ${e}`),n??""}function fe(e){return Z(e)?e.$cursor:void 0}function me(e,t){const n=t.nodeSize-2;let r;const a=e=>(0,o.uZ)({min:0,max:n,value:e});if(J(e))return e;if("all"===e)return new i.C1(t);if(r="start"===e?0:"end"===e?n:ee(e)?e.pos:e,(0,o.hj)(r))return r=a(r),i.Bs.near(t.resolve(r));if(s=r,(0,o.Kn)(s)&&(0,o.hj)(s.anchor)&&(0,o.hj)(s.head)){const e=a(r.anchor),n=a(r.head);return i.Bs.between(t.resolve(e),t.resolve(n))}var s;const l=a(r.from),c=a(r.to);return i.Bs.between(t.resolve(l),t.resolve(c))}function ge(e){const{content:t,schema:n,document:i,stringHandler:a,onError:s,attempts:l=0}=e,c=s&&l<=3||0===l;if((0,o.kG)(c,{code:r.mA.INVALID_CONTENT,message:"The invalid content has been called recursively more than ${MAX_ATTEMPTS} times. The content is invalid and the error handler has not been able to recover properly."}),(0,o.HD)(t)){(0,o.kG)(a,{code:r.mA.INVALID_CONTENT,message:`The string '${t}' was added to the editor, but no \`stringHandler\` was added. Please provide a valid string handler which transforms your content to a \`ProsemirrorNode\` to prevent this error.`});return a({document:i,content:t,schema:n})}if(Y(t))return t.doc;if(G(t))return t;try{return n.nodeFromJSON(t)}catch(u){const i=function({json:e,schema:t,...n}){const r=new Set((0,o.XP)(t.marks)),i=new Set((0,o.XP)(t.nodes)),a=Te({json:e,path:[],validNodes:i,validMarks:r});return{json:e,invalidContent:a,transformers:Oe,...n}}({schema:n,error:u,json:t}),a=null==s?void 0:s(i);return(0,o.kG)(a,{code:r.mA.INVALID_CONTENT,message:`An error occurred when processing the content. Please provide an \`onError\` handler to process the invalid content: ${JSON.stringify(i.invalidContent,null,2)}`}),ge({...e,content:a,attempts:l+1})}}function ve(){const e=h();if(e)return e;throw new Error("Unable to retrieve the document from the global scope. \nIt seems that you are running Remirror in a non-browser environment. Remirror need browser APIs to work. \nIf you are using Jest (or other testing frameworks), make sure that you are using the JSDOM environment (https://jestjs.io/docs/29.0/configuration#testenvironment-string). \nIf you are using Next.js (or other server-side rendering frameworks), please use dynamic import with `ssr: false` to load the editor component without rendering it on the server (https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr). \nIf you are using Node.js, you can install JSDOM and Remirror will try to use it automatically, or you can create a fake document and pass it to Remirror")}function ye(e){var t;return(null==e?void 0:e.defaultView)??("undefined"!==typeof window?window:void 0)??(null==(t=h())?void 0:t.defaultView)}function be(e){return ye(null==e?void 0:e.ownerDocument)}function xe(e){const t=ye(e)??ve().defaultView;if(t)return t;throw new Error("Unable to retrieve the window from the global scope")}function ke(e,t=ve()){const n=function(e,t){return!!G(e)&&(t?e.type===t.nodes.doc:"doc"===e.type.n
1ame)}(e,e.type.schema)?e.content:m.HY.from(e);return m.PW.fromSchema(e.type.schema).serializeFragment(n,{document:t})}function we(e,t=ve()){const n=t.createElement("div");return n.append(ke(e,t)),n.innerHTML}function Ee(e){const{content:t,schema:n,document:r,fragment:o=!1,...i}=e,a=function(e,t){return(new(xe(t).DOMParser)).parseFromString(`<body>${e}</body>`,"text/html").body}(t,r),s=m.aw.fromSchema(n);return o?s.parseSlice(a,{...Me,...i}).content:s.parse(a,{...Me,...i})}var Me={preserveWhitespace:!1};function Se(e,t){const n=(0,o.XP)(t.defaults());return f({...e},n)}function Ce(e,t){let n="";t&&(n=`${t.trim()}`);const r=function(e){var t="";for(var n in e){var r=e[n];"string"!==typeof r&&"number"!==typeof r||(t&&(t+=";"),t+=p(n,r))}return t}(e);if(!r)return n;const o=(n.endsWith(";")," ");return`${n}${o}${r}`}var Oe={remove(e,t){let n=e;for(const r of t)r.invalidParentNode||(n=(0,o.zN)(r.path,n));return n}};function Te(e){const{json:t,validMarks:n,validNodes:r,path:i=[]}=e,a={validMarks:n,validNodes:r},s=[],{type:l,marks:c,content:u}=t;let{invalidParentMark:d=!1,invalidParentNode:p=!1}=e;if(c){const e=[];for(const[t,r]of c.entries()){const a=(0,o.HD)(r)?r:r.type;n.has(a)||(e.unshift({name:a,path:[...i,"marks",`${t}`],type:"mark",invalidParentMark:d,invalidParentNode:p}),d=!0)}s.push(...e)}if(r.has(l)||(s.push({name:l,type:"node",path:i,invalidParentMark:d,invalidParentNode:p}),p=!0),u){const e=[];for(const[t,n]of u.entries())e.unshift(...Te({...a,json:n,path:[...i,"content",`${t}`],invalidParentMark:d,invalidParentNode:p}));s.unshift(...e)}return s}function Ae(e){return!!(Z(e)&&e.$cursor&&e.$cursor.parentOffset>=e.$cursor.parent.content.size)}function Re(e){return!!(Z(e)&&e.$cursor&&e.$cursor.parentOffset<=0)}function ze(e){const t=i.Y1.atStart(e.$anchor.doc);return!(!Re(e)||t.anchor!==e.anchor)}function Le(e){return({dispatch:t,tr:n})=>{const{type:r,attrs:a=(0,o.Ry)(),appendText:s,range:l}=e,c=l?i.Bs.between(n.doc.resolve(l.from),n.doc.resolve(l.to)):n.selection,{$from:u,from:d,to:p}=c;let h=0===u.depth&&n.doc.type.allowsMarkType(r);return n.doc.nodesBetween(d,p,(e=>{if(h)return!1;e.inlineContent&&e.type.allowsMarkType(r)&&(h=!0)})),!!h&&(null==t||t(n.addMark(d,p,r.create(a))&&s?n.insertText(s):n),!0)}}function _e(e,t={},n){return function(r){const{tr:i,dispatch:s,state:l}=r,c=(0,o.HD)(e)?(0,o.fp)(l.schema.nodes,e):e,{from:u,to:d}=me(n??i.selection,i.doc),p=i.doc.resolve(u),h=i.doc.resolve(d),f=p.blockRange(h),m=f&&(0,a.nd)(f,c,t);return!(!m||!f)&&(null==s||s(i.wrap(f,m).scrollIntoView()),!0)}}function He(e,t={},n){return r=>{const{tr:i,state:s}=r;return D({state:i,type:(0,o.HD)(e)?(0,o.fp)(s.schema.nodes,e):e,attrs:t})?function({tr:e,dispatch:t}){const{$from:n,$to:r}=e.selection,i=n.blockRange(r),s=i&&(0,a.k9)(i);return!(!(0,o.hj)(s)||!i)&&(null==t||t(e.lift(i,s).scrollIntoView()),!0)}(r):_e(e,t,n)(r)}}function Ne(e,t,n,r=!0){return function(i){const{tr:a,dispatch:s,state:l}=i,c=(0,o.HD)(e)?(0,o.fp)(l.schema.nodes,e):e,{from:u,to:d}=me(n??a.selection,a.doc);let p,h=!1;return a.doc.nodesBetween(u,d,((e,n)=>{if(h)return!1;if(!e.isTextblock||e.hasMarkup(c,t))return;if(e.type===c)return h=!0,void(p=e.attrs);const r=a.doc.resolve(n),o=r.index();h=r.parent.canReplaceWith(o,o+1,c),h&&(p=r.parent.attrs)})),!!h&&(null==s||s(a.setBlockType(u,d,c,{...r?p:{},...t}).scrollIntoView()),!0)}}function Pe(e){return t=>{const{tr:n,state:r}=t,{type:o,attrs:i,preserveAttrs:a=!0}=e,s=D({state:n,type:o,attrs:i}),l=e.toggleType??ae(r.schema);if(s)return Ne(l,{...a?s.node.attrs:{},...i})(t);const c=D({state:n,type:l,attrs:i});return Ne(o,{...a?null==c?void 0:c.node.attrs:{},...i})(t)}}function Ie(e=0){const t=navigator.userAgent.match(/Chrom(e|ium)\/(\d+)\./);return!!t&&Number.parseInt((0,o.fp)(t,2),10)>=e}function De(e){const{attrs:t={},appendText:n="",content:a="",keepSelection:s=!1,range:l}=e;return({state:c,tr:u,dispatch:d})=>{var p;const h=c.schema,f=me(e.selection??l??u.selection,u.doc),g=f.$from.index(),{from:v,to:y,$from:b}=f,x=(0,o.HD)(e.type)?h.nodes[e.type]??h.marks[e.type]:e.type;if((0,o.kG)(!(0,o.HD)(e.type)||x,{code:r.mA.SCHEMA,message:`Schema contains 
1no marks or nodes with name ${x}`}),k=x,(0,o.Kn)(k)&&k instanceof m.Jq){if(!b.parent.canReplaceWith(g,g,x))return!1;u.replaceWith(v,y,x.create(t,a?h.text(a):void 0))}else(0,o.kG)(a,{message:"`replaceText` cannot be called without content when using a mark type"}),u.replaceWith(v,y,h.text(a,K(x)?[x.create(t)]:void 0));var k;return n&&u.insertText(n),s&&function(e,t){let{head:n,empty:r,anchor:o}=e;for(const i of t.steps)n=i.getMap().map(n);r?t.setSelection(i.Bs.near(t.doc.resolve(n))):t.setSelection(i.Bs.between(t.doc.resolve(o),t.doc.resolve(n)))}(c.selection,u),d&&(Ie(60)&&(null==(p=document.getSelection())||p.empty()),d(u)),!0}}function $e(e,t){const n=e.parent.childAfter(e.parentOffset);if(!n.node)return;const{marks:r,nodeSize:o}=n.node;if(r[0])return r[0].type;const i=e.start()+n.offset+o;return $e(e.doc.resolve(i+1),t)}function Ve(e){return({dispatch:t,tr:n,state:i})=>{const{type:a,expand:s=!0,range:l}=e,c=me(e.selection??l??n.selection,n.doc);let{from:u,to:d,$from:p,$to:h}=c;const f=(0,o.HD)(a)?i.schema.marks[a]:a;null!==f&&(0,o.kG)(f,{code:r.mA.SCHEMA,message:`Mark type: ${a} does not exist on the current schema.`});const m=f??$e(p);if(!m)return!1;const g=ce(p,m,h);return s&&g&&(u=Math.max(0,Math.min(u,g.from)),d=Math.min(Math.max(d,g.to),n.doc.nodeSize-2)),null==t||t(n.removeMark(u,(0,o.hj)(d)?d:u,K(f)?f:void 0)),!0}}function je(e){const t=["command","cmd","meta"];return x.isMac&&t.push("mod"),t.includes(e)}function Be(e){const t=["control","ctrl"];return x.isMac||t.push("mod"),t.includes(e)}function Fe(e){const t=[];for(let n of e.split("-"))if(n=n.toLowerCase(),je(n))t.push({type:"modifier",symbol:"\u2318",key:"command",i18n:g.LS.COMMAND_KEY});else if(Be(n))t.push({type:"modifier",symbol:"\u2303",key:"control",i18n:g.LS.CONTROL_KEY});else switch(n){case"shift":t.push({type:"modifier",symbol:"\u21e7",key:n,i18n:g.LS.SHIFT_KEY});continue;case"alt":t.push({type:"modifier",symbol:"\u2325",key:n,i18n:g.LS.ALT_KEY});continue;case"\n":case"\r":case"enter":t.push({type:"named",symbol:"\u21b5",key:n,i18n:g.LS.ENTER_KEY});continue;case"backspace":t.push({type:"named",symbol:"\u232b",key:n,i18n:g.LS.BACKSPACE_KEY});continue;case"delete":t.push({type:"named",symbol:"\u2326",key:n,i18n:g.LS.DELETE_KEY});continue;case"escape":t.push({type:"named",symbol:"\u241b",key:n,i18n:g.LS.ESCAPE_KEY});continue;case"tab":t.push({type:"named",symbol:"\u21e5",key:n,i18n:g.LS.TAB_KEY});continue;case"capslock":t.push({type:"named",symbol:"\u21ea",key:n,i18n:g.LS.CAPS_LOCK_KEY});continue;case"space":t.push({type:"named",symbol:"\u2423",key:n,i18n:g.LS.SPACE_KEY});continue;case"pageup":t.push({type:"named",symbol:"\u2912",key:n,i18n:g.LS.PAGE_UP_KEY});continue;case"pagedown":t.push({type:"named",symbol:"\u2913",key:n,i18n:g.LS.PAGE_DOWN_KEY});continue;case"home":t.push({type:"named",key:n,i18n:g.LS.HOME_KEY});continue;case"end":t.push({type:"named",key:n,i18n:g.LS.END_KEY});continue;case"arrowleft":t.push({type:"named",symbol:"\u2190",key:n,i18n:g.LS.ARROW_LEFT_KEY});continue;case"arrowright":t.push({type:"named",symbol:"\u2192",key:n,i18n:g.LS.ARROW_RIGHT_KEY});continue;case"arrowup":t.push({type:"named",symbol:"\u2192",key:n,i18n:g.LS.ARROW_UP_KEY});continue;case"arrowdown":t.push({type:"named",symbol:"\u2193",key:n,i18n:g.LS.ARROW_DOWN_KEY});continue;default:t.push({type:"char",key:n});continue}return t}function We(e){const{node:t,predicate:n,descend:i=!0,action:a}=e;(0,o.kG)(G(t),{code:r.mA.INTERNAL,message:'Invalid "node" parameter passed to "findChildren".'}),(0,o.kG)((0,o.mf)(n),{code:r.mA.INTERNAL,message:'Invalid "predicate" parameter passed to "findChildren".'});const s=[];return t.descendants(((e,t)=>{const r={node:e,pos:t};return n(r)?(s.push(r),null==a||a(r),i):i})),s}function Ue({predicate:e}){return t=>We({...t,predicate:e})}Ue({predicate:e=>e.node.isText}),Ue({predicate:e=>e.node.isInline}),Ue({predicate:e=>e.node.isBlock});function Ke(e){const{type:t,...n}=e;return We({...n,predicate:e=>e.node.type===t})}function Ge(e,t={}){const{descend:n=!1,predicate:r,StepTypes:o}=t,i=function(e,t){const n=[],r=de(e,t);for(const o of r)try{const t=e.doc.resolve(o.from),r=e.doc.resolve(o.to),i=t.blockRange(r);i&&n.push(i)}catch{}return n}(e,o),a=[];for(const s of i){const{start:t,end:o}=s;e.doc.nodesBetween(t,o,((e,t)=>(((null==r?void 0:r(e,t,s))??!0)&&a.push({node:e,pos:t}),n)))}return a}function qe(e){const{regexp:t,type:n,getAttributes:i,ignoreWhitespace:a=!1,beforeDispatch:s,updateCaptured:l,shouldSkip:c,invalidMarks:u}=e;let d;const p=new v.VK(t,((e,t,h,f)=>{const{tr:m,schema:g}=e;d||(d=(0,o.HD)(n)?g.marks[n]:n,(0,o.kG)(d,{code:r.mA.SCHEMA,message:`Mark type: ${n} does not exist on the current schema.`}));let v=t[1],y=t[0];const b=Ye({captureGroup:v,fullMatch:y,end:f,start:h,rule:p,state:e,ignoreWhitespace:a,invalidMarks:u,shouldSkip:c,updateCaptured:l});if(!b)return null;({start:h,end:f,captureGroup:v,fullMatch:y}=b);const x=(0,o.mf)(i)?i(t):i;let k=f,w=[];if(v){const e=y.search(/\S/),t=h+y.indexOf(v),n=t+v.length;w=m.storedMarks??[],n<f&&m.delete(n,f),t>h&&m.delete(h+e,t),k=h+e+v.length}return m.addMark(h,k,d.create(x)),m.setStoredMarks(w),null==s||s({tr:m,match:t,start:h,end:f}),m}));return p}function Xe(e){const{regexp:t,type:n,getAttributes:i,beforeDispatch:a,shouldSkip:s,ignoreWhitespace:l=!1,updateCaptured:c,invalidMarks:u}=e,d=new v.VK(t,((e,t,p,h)=>{const f=(0,o.mf)(i)?i(t):i,{tr:m,schema:g}=e,v=(0,o.HD)(n)?g.nodes[n]:n;let y=t[1],b=t[0];const x=Ye({captureGroup:y,fullMatch:b,end:h,start:p,rule:d,state:e,ignoreWhitespace:l,invalidMarks:u,shouldSkip:s,updateCaptured:c});if(!x)return null;({start:p,end:h,captureGroup:y,fullMatch:b}=x),(0,o.kG)(v,{code:r.mA.SCHEMA,message:`No node exists for ${n} in the schema.`});const k=v.createAndFill(f);return k&&(m.replaceRangeWith(v.isBlock?m.doc.resolve(p).before():p,h,k),null==a||a({tr:m,match:[b,y??""],start:p,end:h})),m}));return d}function Ye({captureGroup:e,fullMatch:t,end:n,start:r,rule:o,ignoreWhitespace:i,shouldSkip:a,updateCaptured:s,state:l,invalidMarks:c}){var u;if(null==t)return null;const d=(null==s?void 0:s({captureGroup:e,fullMatch:t,start:r,end:n}))??{};e=d.captureGroup??e,t=d.fullMatch??t,r=d.start??r,n=d.end??n;const p=l.doc.resolve(r),h=l.doc.resolve(n);return c&&(0,y.j4)({$from:p,$to:h},c)||o.invalidMarks&&(0,y.j4)({$from:p,$to:h},o.invalidMarks)||i&&""===(null==e?void 0:e.trim())||(null==a?void 0:a({state:l,captureGroup:e,fullMatch:t,start:r,end:n,ruleType:"mark"}))||(null==(u=o.shouldSkip)?void 0:u.call(o,{state:l,captureGroup:e,fullMatch:t,start:r,end:n,ruleType:"mark"}))?null:{captureGroup:e,end:n,fullMatch:t,start:r}}},31871:function(e,t,n){"use strict";n.d(t,{z:function(){return d}});var r=n(44573),o=n(378),i=n(27398),a=n(48776),s=n(36912),l=Object.defineProperty,c=Object.getOwnPropertyDescriptor,u=(e,t,n,r)=>{for(var o,i=r>1?void 0:r?c(t,n):t,a=e.length-1;a>=0;a--)(o=e[a])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&l(t,n,i),i},d=class extends r.QR{get name(){return"blockquote"}createTags(){return[o.eX.Block,o.eX.FormattingNode]}createNodeSpec(e,t){return{content:"block+",defining:!0,draggable:!1,...t,attrs:e.defaults(),parseDOM:[{tag:"blockquote",getAttrs:e.parse,priority:100},...t.parseDOM??[]],toDOM:t=>["blockquote",e.dom(t),0]}}toggleBlockquote(){return(0,i.bm)(this.type)}shortcut(e){return this.toggleBlockquote()(e)}createInputRules(){return[(0,s.S0)(/^\s*>\s$/,this.type)]}
1createPasteRules(){return{type:"node",nodeType:this.type,regexp:/^\s*>\s$/,startOfTextBlock:!0}}};u([(0,r.WDe)({icon:"doubleQuotesL",description:({t:e})=>e(a.TU.DESCRIPTION),label:({t:e})=>e(a.TU.LABEL)})],d.prototype,"toggleBlockquote",1),u([(0,r.IGC)({shortcut:"Ctrl->",command:"toggleBlockquote"})],d.prototype,"shortcut",1)},56073:function(e,t,n){"use strict";n.d(t,{H:function(){return p}});var r=n(44573),o=n(378),i=n(27398),a=n(57555),s=n(48776),l=Object.defineProperty,c=Object.getOwnPropertyDescriptor,u=(e,t,n,r)=>{for(var o,i=r>1?void 0:r?c(t,n):t,a=e.length-1;a>=0;a--)(o=e[a])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&l(t,n,i),i},d={icon:"bold",label:({t:e})=>e(s.ov.LABEL),description:({t:e})=>e(s.ov.DESCRIPTION)},p=class extends r.uS7{get name(){return"bold"}createTags(){return[o.eX.FormattingMark,o.eX.FontStyle]}createMarkSpec(e,t){return{...t,attrs:e.defaults(),parseDOM:[{tag:"strong",getAttrs:e.parse},{tag:"b",getAttrs:t=>!(!(0,i.jd)(t)||"normal"===t.style.fontWeight)&&e.parse(t)},{style:"font-weight",getAttrs:e=>!(!(0,a.HD)(e)||!/^(bold(er)?|[5-9]\d{2,})$/.test(e))&&null},...t.parseDOM??[]],toDOM:t=>{const{weight:n}=this.options;return n?["strong",{"font-weight":n.toString()},0]:["strong",e.dom(t),0]}}}createInputRules(){return[(0,i.Cf)({regexp:/(?:\*\*|__)([^*_]+)(?:\*\*|__)$/,type:this.t
1ype,ignoreWhitespace:!0})]}toggleBold(e){return(0,r.w9d)({type:this.type,selection:e})}setBold(e){return({tr:t,dispatch:n})=>{const{from:r,to:o}=(0,i.b0)(e??t.selection,t.doc);return null==n||n(t.addMark(r,o,this.type.create())),!0}}removeBold(e){return({tr:t,dispatch:n})=>{const{from:r,to:o}=(0,i.b0)(e??t.selection,t.doc);return!!t.doc.rangeHasMark(r,o,this.type)&&(null==n||n(t.removeMark(r,o,this.type)),!0)}}shortcut(e){return this.toggleBold()(e)}};u([(0,r.WDe)(d)],p.prototype,"toggleBold",1),u([(0,r.WDe)()],p.prototype,"setBold",1),u([(0,r.WDe)()],p.prototype,"removeBold",1),u([(0,r.IGC)({shortcut:o.vO.Bold,command:"toggleBold"})],p.prototype,"shortcut",1),p=u([(0,r.AOx)({defaultOptions:{weight:void 0},staticKeys:["weight"]})],p)},77076:function(e,t,n){"use strict";n.d(t,{d:function(){return k}});var r=n(44573),o=n(378),i=n(27398),a=n(12806),s=n(2376),l=n(31026),c=n(57555),u=n(48776),d=Object.defineProperty,p=Object.getOwnPropertyDescriptor,h=(e,t,n,r)=>{for(var o,i=r>1?void 0:r?p(t,n):t,a=e.length-1;a>=0;a--)(o=e[a])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&d(t,n,i),i},f="data-callout-type",m="data-callout-emoji";function g(e){return(t,n)=>({state:{tr:r,selection:o,doc:a},dispatch:s})=>{if(!function(e){if(e&&(0,c.Kn)(e))return Object.entries(e).map((([e,t])=>{switch(e){case"type":case"emoji":return!!((0,c.HD)(t)&&t.length>0);default:return!0}})).every((e=>!!e));return!1}(t))throw new Error("Invalid attrs passed to the updateAttributes method");const l=(0,i.Tr)({types:e,selection:n?a.resolve(n):o});return!(!l||(0,c.Xy)(t,l.node.attrs))&&(r.setNodeMarkup(l.pos,e,{...l.no
1de.attrs,...t}),s&&s(r),!0)}}var{DESCRIPTION:v,LABEL:y}=u.GI,b={icon:({attrs:e})=>{switch(null==e?void 0:e.type){case"error":return"closeCircleLine";case"success":return"checkboxCircleLine";case"warning":return"errorWarningLine";default:return"informationLine"}},description:({t:e,attrs:t})=>e({...v,values:{type:null==t?void 0:t.type}}),label:({t:e,attrs:t})=>e({...y,values:{type:null==t?void 0:t.type}})};function x(e,t,n){return(0,c.q9)(t,e)?e:n}var k=class extends r.QR{constructor(){super(...arguments),this.tags=[o.eX.Block]}get name(){return"callout"}createNodeViews(){return(e,t,n)=>{const{type:r,emoji:o}=e.attrs,{renderEmoji:i}=this.options,a=document.createElement("div"),s=document.createElement("div");if(a.setAttribute(f,r),o){const r=document.createElement("div"),s=i(e,t,n);a.setAttribute(m,o),r.classList.add(l.X5.CALLOUT_EMOJI_WRAPPER),s&&(r.append(s),a.append(r))}return a.append(s),{dom:a,contentDOM:s}}}createNodeSpec(e,t){const{defaultType:n,validTypes:r,defaultEmoji:o}=this.options;return{content:"block+",defining:!0,draggable:!1,...t,attrs:{...e.defaults(),type:{default:n},emoji:{default:o}},parseDOM:[{tag:"div[data-callout-type]",getAttrs:t=>{if(!(0,i.jd)(t))return!1;const o=t.getAttribute(f),a=t.getAttribute(m)??"",s=x(o,r,n),l=t.textContent;return{...e.parse(t),type:s,emoji:a,content:l}}},...t.parseDOM??[]],toDOM:t=>{const{type:n,emoji:r,...o}=(0,i.Kh)(t.attrs,e),a=r?{[m]:r}:{};return["div",{...e.dom(t),...o,[f]:n,...a},0]}}}createInputRules(){return[(0,i.x2)({regexp:/^:::([\dA-Za-z]*) $/,type:this.t
1ype,beforeDispatch:({tr:e,start:t})=>{const n=e.doc.resolve(t);e.setSelection(s.Bs.near(n))},getAttributes:e=>{const{defaultType:t,validTypes:n}=this.options;return{type:x((0,i.FI)(e,1),n,t)}}})]}toggleCallout(e={}){return(0,i.bm)(this.type,e)}updateCallout(e,t){return g(this.type)(e,t)}handleEnterKey({dispatch:e,tr:t}){if(!(0,i.hT)(t.selection)||!t.selection.empty)return!1;const{nodeBefore:n,parent:r}=t.selection.$from;if(!(null==n?void 0:n.isText)||!r.type.isTextblock)return!1;const o=/^:::([A-Za-z]*)?$/,{text:l,nodeSize:c}=n,{textContent:u}=r;if(!l)return!1;const d=l.match(o),p=u.match(o);if(!d||!p)return!1;const{defaultType:h,validTypes:f}=this.options,m=x(d[1],f,h),g=t.selection.$from.before(),v=g+c+1;if(e){const n=new a.p2(a.HY.from(this.type.create({type:m})),0,1);t.replace(g,v,n),t.setSelection(s.Bs.near(t.doc.resolve(g+1))),e(t)}return!0}handleBackspace({dispatch:e,tr:t}){if(!t.selection.empty)return!1;const{$from:n}=t.selection;if(0!==n.parentOffset)return!1;const r=n.before(n.depth)-1;if(r<1)return!1;const o=t.doc.resolve(r);if(!(null==o?void 0:o.parent))return!1;const a=o.parent,{node:l,pos:c}=(0,i.JB)(t.selection);if(l.type!==this.type&&a.type===this.type){const{content:n,nodeSize:o}=l;return t.delete(c,c+o),t.setSelection(s.Bs.near(t.doc.resolve(r-1))),t.insert(r-1,n),e&&e(t),!0}return!1}};h([(0,r.WDe)(b)],k.prototype,"toggleCallout",1),h([(0,r.WDe)(b)],k.prototype,"updateCallout",1),h([(0,r.IGC)({shortcut:"Enter"})],k.prototype,"handleEnterKey",1),h([(0,r.IGC)({shortcut:"Backspace"})],k.prototype,"handleBackspace",1),k=h([(0,r.AOx)({defaultOptions:{defaultType:"info",validTypes:["info","warning","error","success","blank"],defaultEmoji:"",renderEmoji:function(e){const t=document.createElement("span");return t.textContent=e.attrs.emoji,t}},staticKeys:["defaultType","validTypes","defaultEmoji"]})],k)},78822:function(e,t,n){"use strict";n.d(t,{W:function(){return L}});var r=n(11215),o=n(44573),i=n(378),a=n(27398),s=n(57555),l=n(82696),c=n(2376),u=n(31026),d=n(84348),p=n(48776),h=Object.defineProperty,f=Object.getOwnPropertyDescriptor,m=(e,t,n,r)=>{for(var o,i=r>1?void 0:r?f(t,n):t,a=e.length-1;a>=0;a--)(o=e[a])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&h(t,n,i),i},g=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},v=(e,t,n)=>(g(e,t,"read from private field"),n?n.call(e):t.get(e)),y=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},b=(e,t,n,r)=>(g(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),x="data-code-block-language";function k(e,t,n=[]){return e.map((e=>{const r=[...n];return"element"===e.type&&e.properties.className?r.push(...e.properties.className):"text"===e.type&&0===r.length&&t&&r.push(t),"element"===e.type?k(e.children,t,r):{text:e.value,classes:r}}))}function w(e,t){var n;const{node:o,pos:i}=e,a=S({language:null==(n=o.attrs.language)?void 0:n.replace("language-",""),fallback:"markup"}),l=k(r.highlight(o.textContent??"",a),t);let c=i+1;return(0,s.VF)(l).map((function(e){const t=c,n=t+e.text.length;return c=n,{...e,from:t,to:n}}))}function E(e){const{blocks:t,skipLast:n,plainTextClassName:r}=e,o=[];for(const i of t){const e=w(i,r),t=n?e.length-1:e.length;for(const n of(0,s.w6)(t)){const t=e[n],r=null==t?void 0:t.classes;if(!t||!(null==r?void 0:r.length))continue;const i=d.p.inline(t.from,t.to,{class:r.join(" ")});o.push(i)}}return o}function M(e){return t=>({state:{tr:n,selection:r},dispatch:o})=>{if(!function(e){return!!(e&&(0,s.Kn)(e)&&(0,s.HD)(e.language)&&e.language.length>0)}(t))throw new Error("Invalid attrs passed to the updateAttributes method");const i=(0,a.Tr)({types:e,selection:r});return!(!i||(0,s.Xy)(t,i.node.attrs))&&(n.setNodeMarkup(i.pos,e,{...i.node.attrs,...t}),o&&o(n),!0)}}function S(e){const{language:t,fallback:n}=e;if(!t)return n;const o=r.listLanguages();for(const r of o)if(r.toLowerCase()===t.toLowerCase())return r;return n}var C,O,T,{DESCRIPTION:A,LABEL:R}=p.J,z={icon:"bracesLine",description:({t:e})=>e(A),label:({t:e})=>e(R)};C=new WeakMap,O=new WeakMap,T=new WeakMap;var L=class extends o.QR{get name(){return"codeBlock"}createTags(){return[i.eX.Block,i.eX.Code]}init(){this.registerLanguages()}createNodeSpec(e,t){const n=/highlight-(?:text|source)-([\da-z]+)/;return{content:"text*",marks:"",defining:!0,draggable:!1,...t,code:!0,attrs:{...e.defaults(),language:{default:this.options.defaultLanguage},wrap:{default:this.options.defaultWrap}},parseDOM:[{tag:"div.highlight",preserveWhitespace:"full",getAttrs:t=>{var r,o;
1if(!(0,a.jd)(t))return!1;const i=t.querySelector("pre.code");if(!(0,a.jd)(i))return!1;const s="pre-wrap"===(0,a.C2)(i,"white-space"),l=null==(o=null==(r=t.className.match(n))?void 0:r[1])?void 0:o.replace("language-","");return{...e.parse(t),language:l,wrap:s}}},{tag:"pre",preserveWhitespace:"full",getAttrs:t=>{if(!(0,a.jd)(t))return!1;const n=t.querySelector("code");if(!(0,a.jd)(n))return!1;const r="pre-wrap"===(0,a.C2)(n,"white-space"),o=this.options.getLanguageFromDom(n,t);return{...e.parse(t),language:o,wrap:r}}},...t.parseDOM??[]],toDOM:t=>function(e,t){const{language:n,wrap:r}=(0,a.Kh)(e.attrs,t),{style:i,...s}=t.dom(e);let l=s.style;return r&&(l=(0,a.X3)({whiteSpace:"pre-wrap",wordBreak:"break-all"},l)),["pre",{spellcheck:"false",...s,class:(0,o.cx)(s.class,`language-${n}`)},["code",{[x]:n,style:l},0]]}(t,e)}}createAttributes(){return{class:u.uV[this.options.syntaxTheme.toUpperCase()]}}createInputRules(){return[(0,a.x2)({regexp:/^```([\dA-Za-z]*) $/,type:this.type,beforeDispatch:({tr:e,start:t})=>{const n=e.doc.resolve(t);e.setSelection(c.Bs.near(n))},getAttributes:e=>({language:S({language:(0,a.FI)(e,1),fallback:this.options.defaultLanguage})})})]}onSetOptions(e){const{changes:t}=e;t.supportedLanguages.changed&&this.registerLanguages(),t.syntaxTheme.changed&&this.store.updateAttributes()}createPlugin(){const e=new class{constructor(e,t){y(this,C,void 0),y(this,O,void 0),y(this,T,!1),b(this,O,e),b(this,C,t)}init(e){const t=(0,a.as)({node:e.doc,type:v(this,O)});return this.refreshDecorationSet(e.doc,t),this}refreshDecorationSet(e,t){const n=E({blocks:t,skipLast:v(this,T),defaultLanguage:v(this,C).options.defaultLanguage,plainTextClassName:v(this,C).options.plainTextClassName??void 0});this.decorationSet=d.EH.create(e,n)}apply(e,t){if(!e.docChanged)return this;this.decorationSet=this.decorationSet.map(e.mapping,e.doc);const n=(0,a.qh)(e,{descend:!0,predicate:e=>e.type===v(this,O),StepTypes:[]});return this.updateDecorationSet(e,n),this}updateDecorationSet(e,t){if(0===t.length)return;let n=this.decorationSet;for(const{node:r,pos:o}of t)n=this.decorationSet.remove(this.decorationSet.find(o,o+r.nodeSize));this.decorationSet=n.add(e.doc,E({blocks:t,skipLast:v(this,T),defaultLanguage:v(this,C).options.defaultLanguage,plainTextClassName:v(this,C).options.plainTextClassName??void 0}))}setDeleted(e){b(this,T,e)}}(this.type,this),t=()=>(e.setDeleted(!0),!1);return{state:{init:(t,n)=>e.init(n),apply:(t,n,r,o)=>e.apply(t,o)},props:{handleKeyDown:(0,l.$)({Backspace:t,"Mod-Backspace":t,Delete:t,"Mod-Delete":t,"Ctrl-h":t,"Alt-Backspace":t,"Ctrl-d":t,"Ctrl-Alt-Backspace":t,"Alt-Delete":t,"Alt-d":t}),decorations:()=>(e.setDeleted(!1),e.decorationSet)}}}toggleCodeBlock(e={}){return(0,a.zU)({type:this.type,toggleType:this.options.toggleName,attrs:{language:this.options.defaultLanguage,...e}})}createCodeBlock(e){return(0,a.uJ)(this.type,e)}updateCodeBlock(e){return M(this.type)(e)}formatCodeBlock(e){return function(e){return({pos:t}=(0,s.Ry)())=>({tr:n,dispatch:r})=>{const{type:o,formatter:i,defaultLanguage:s}=e,{from:l,to:u}=t?{from:t,to:t}:n.selection,d=(0,a.Tr)({types:o,selection:n.selection});if(!d)return!1;const{node:{attrs:p,textContent:h},start:f}=d,m=l-f,g=u-f,v=S({language:p.language,fallback:s}),y=i({source:h,language:v,cursorOffset:m});let b;if(m!==g&&(b=i({source:h,language:v,cursorOffset:g})),!y)return!1;const{cursorOffset:x,formatted:k}=y;if(k===h)return!1;const w=f+h.length;n.insertText(k,f,w);const E=f+x,M=b?f+b.cursorOffset:void 0;return n.setSelection(c.Bs.between(n.doc.resolve(E),n.doc.resolve(M??E))),r&&r(n),!0}}({type:this.type,formatter:this.options.formatter,defaultLanguage:this.options.defaultLanguage})(e)}tabKey({state:e,dispatch:t}){const{selection:n,tr:r,schema:o}=e,{node:i}=(0,a.JB)(n);if(!(0,a.$9)({node:i,types:this.type}))return!1;if(n.empty)r.insertText("\t");else{const{from:e,to:t}=n;r.replaceWith(e,t,o.text("\t"))}return t&&t(r),!0}backspaceKey({dispatch:e,tr:t,state:n}){if(!t.selection.empty)return!1;const r=(0,a.Tr)({types:this.type,selection:t.selection});if((null==r?void 0:r.start)!==t.selection.from)return!1;const{pos:o,node:i,start:l}=r,u=(0,s.fp)(n.schema.nodes,this.options.toggleName);return""===i.textContent.trim()?t.doc.lastChild===i&&t.doc.firstChild===i?(0,a.IY)({pos:o,tr:t,content:u.create()}):(0,a.aS)({pos:o,tr:t}):l>2?t.setSelection(c.Bs.near(t.doc.resolve(l-2))):(t.insert(0,u.create()),t.setSelection(c.Bs.near(t.doc.resolve(1)))),e&&e(t),!0}enterKey({dispatch:e,tr:t}){if(!(0,a.hT)(t.selection)||!t.selection.empty)return!1;const{nodeBefore:n,parent:r}=t.selection.$anchor;if(!(null==n?void 0:n.isText)||!r.type.isTextblock)return!1;const o=/^```([A-Za-z]*)?$/,{text:i,nodeSize:s}=n,{textContent:l}=r;if(!i)return!1;const u=i.match(o),d=l.match(o);if(!u||!d)return!1;const[,p]=u,h=S({language:p,fallback:this.options.defaultLanguage}),f=t.selection.$from.before(),m=f+s+1;return t.replaceWith(f,m,this.type.create({language:h})),t.setSelection(c.Bs.near(t.doc.resolve(f+1))),e&&e(t),!0}formatShortcut({tr:e}){const t=this.store.commands;
1if(!(0,a.Ig)({type:this.type,state:e}))return!1;const n=t.formatCodeBlock.isEnabled();return n&&t.formatCodeBlock(),n}registerLanguages(){for(const e of this.options.supportedLanguages)r.register(e)}};m([(0,o.WDe)(z)],L.prototype,"toggleCodeBlock",1),m([(0,o.WDe)()],L.prototype,"createCodeBlock",1),m([(0,o.WDe)()],L.prototype,"updateCodeBlock",1),m([(0,o.WDe)()],L.prototype,"formatCodeBlock",1),m([(0,o.IGC)({shortcut:"Tab"})],L.prototype,"tabKey",1),m([(0,o.IGC)({shortcut:"Backspace"})],L.prototype,"backspaceKey",1),m([(0,o.IGC)({shortcut:"Enter"})],L.prototype,"enterKey",1),m([(0,o.IGC)({shortcut:i.vO.Format})],L.prototype,"formatShortcut",1),L=m([(0,o.AOx)({defaultOptions:{supportedLanguages:[],toggleName:"paragraph",formatter:({source:e})=>({cursorOffset:0,formatted:e}),syntaxTheme:"a11y_dark",defaultLanguage:"markup",defaultWrap:!1,plainTextClassName:"",getLanguageFromDom:function(e){var t;return null==(t=e.getAttribute(x)??e.classList[0])?void 0:t.replace("language-","")}},staticKeys:["getLanguageFromDom"]})],L)},55658:function(e,t,n){"use strict";n.d(t,{l:function(){return h}});var r=n(44573),o=n(378),i=n(27398),a=n(48776),s=Object.defineProperty,l=Object.getOwnPropertyDescriptor,c=(e,t,n,r)=>{for(var o,i=r>1?void 0:r?l(t,n):t,a=e.length-1;a>=0;a--)(o=e[a])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&s(t,n,i),i},{DESCRIPTION:u,LABEL:d}=a.jz,p={icon:"codeLine",description:({t:e})=>e(u),label:({t:e})=>e(d)},h=class extends r.uS7{get name(){return"code"}createTags(){return[o.eX.Code,o.eX.ExcludeInputRules]}createMarkSpec(e,t){return{excludes:"_",...t,attrs:e.defaults(),parseDOM:[{tag:"code",getAttrs:e.parse},...t.parseDOM??[]],toDOM:t=>["code",{spellcheck:"false",...e.dom(t)},0]}}createKeymap(){return{"Mod-`":(0,r.w9d)({type:this.type})}}keyboardShortcut(e){return this.toggleCode()(e)}toggleCode(){return(0,r.w9d)({type:this.type})}createInputRules(){return[(0,i.Cf)({regexp:new RegExp(`(?:\`)([^\`${o.Z9}
1]+)(?:\`)$`),type:this.type,ignoreWhitespace:!0})]}createPasteRules(){return[{type:"mark",regexp:/`([^`]+)`/g,markType:this.type}]}};c([(0,r.IGC)({shortcut:o.vO.Code,command:"toggleCode"})],h.prototype,"keyboardShortcut",1),c([(0,r.WDe)(p)],h.prototype,"toggleCode",1),h=c([(0,r.AOx)({})],h)},71265:function(e,t,n){"use strict";n.d(t,{e:function(){return m}});var r=n(44573),o=n(378),i=n(27398),a=n(57555),s=n(36912),l=n(48776),c=Object.defineProperty,u=Object.getOwnPropertyDescriptor,d=(e,t,n,r)=>{for(var o,i=r>1?void 0:r?u(t,n):t,a=e.length-1;a>=0;a--)(o=e[a])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&c(t,n,i),i},{LABEL:p}=l.bk,h={icon:({attrs:e})=>`h${(null==e?void 0:e.level)??"1"}`,label:({t:e,attrs:t})=>e({...p,values:{level:null==t?void 0:t.level}})},f=[o.vO.H1,o.vO.H2,o.vO.H3,o.vO.H4,o.vO.H5,o.vO.H6],m=class extends r.QR{get name(){return"heading"}createTags(){return[o.eX.Block,o.eX.TextBlock,o.eX.FormattingNode]}createNodeSpec(e,t){return{content:"inline*",defining:!0,draggable:!1,...t,attrs:{...e.defaults(),level:{default:this.options.defaultLevel}},parseDOM:[...this.options.levels.map((t=>({tag:`h${t}`,getAttrs:n=>({...e.parse(n),level:t})}))),...t.parseDOM??[]],toDOM:t=>this.options.levels.includes(t.attrs.level)?[`h${t.attrs.level}`,e.dom(t),0]:[`h${this.options.defaultLevel}`,e.dom(t),0]}}toggleHeading(e={}){return(0,i.zU)({type:this.type,toggleType:"paragraph",attrs:e})}createKeymap(e){const t=this.store.getExtension(r.i8b),n=(0,a.Ry)(),s=[];for(const r of this.options.levels){const t=f[r-1]??o.vO.H1;n[t]=(0,i.uJ)(this.type,{level:r}),s.push({attrs:{level:r},shortcut:e(t)[0]})}return t.updateDecorated("toggleHeading",{shortcut:s}),n}createInputRules(){return this.options.levels.map((e=>(0,s.zK)(new RegExp(`^(#{1,${e}})\\s$`),this.type,(()=>({level:e})))))}createPasteRules(){return this.options.levels.map((e=>({type:"node",nodeType:this.type,regexp:new RegExp(`^#{${e}}\\s([\\s\\w]+)$`),getAttributes:()=>({level:e}),startOfTextBlock:!0})))}};d([(0,r.WDe)(h)],m.prototype,"toggleHeading",1),m=d([(0,r.AOx)({defaultOptions:{levels:[1,2,3,4,5,6],defaultLevel:1},staticKeys:["defaultLevel","levels"]})],m)},32594:function(e,t,n){"use strict";n.d(t,{u:function(){return h}});var r=n(44573),o=n(57555),i=n(27398),a=n(27784),s=n(378),l=n(48776),c=n(58463),u=Object.defineProperty,d=Object.getOwnPropertyDescriptor,p=(e,t,n,r)=>{for(var o,i=r>1?void 0:r?d(t,n):t,a=e.length-1;a>=0;a--)(o=e[a])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&u(t,n,i),i},h=class extends r.nNj{constructor(){super(...arguments),this.wrapMethod=(e,t)=>({state:n,dispatch:r,view:i})=>{const{getState:a,getDispatch:s}=this.options,l=(0,o.mf)(a)?a():n,c=(0,o.mf)(s)&&r?s():r,u=e(l,c,i);return null==t||t(u),u}}get name(){return"history"}createKeymap(){return{"Mod-y":i.NZ.isMac?()=>!1:this.wrapMethod(c.KX,this.options.onRedo),"Mod-z":this.wrapMethod(c.Yw,this.options.onUndo),"Shift-Mod-z":this.wrapMethod(c.KX,this.options.onRedo)}}undoShortcut(e){return this.wrapMethod(c.Yw,this.options.onUndo)(e)}redoShortcut(e){return this.wrapMethod(c.KX,this.options.onRedo)(e)}createExternalPlugins(){const{depth:e,newGroupDelay:t}=this.options;return[(0,c.m8)({depth:e,newGroupDelay:t})]}undo(){return(0,a.fB)(this.wrapMethod(c.Yw,this.options.onUndo))}redo(){return(0,a.fB)(this.wrapMethod(c.KX,this.options.onRedo))}undoDepth(e=this.store.getState()){return(0,c.of)(e)}redoDepth(e=this.store.getState()){return(0,c.AH)(e)}};
1p([(0,r.IGC)({shortcut:s.vO.Undo,command:"undo"})],h.prototype,"undoShortcut",1),p([(0,r.IGC)({shortcut:s.vO.Redo,command:"redo"})],h.prototype,"redoShortcut",1),p([(0,r.WDe)({disableChaining:!0,description:({t:e})=>e(l.XW.UNDO_DESCRIPTION),label:({t:e})=>e(l.XW.UNDO_LABEL),icon:"arrowGoBackFill"})],h.prototype,"undo",1),p([(0,r.WDe)({disableChaining:!0,description:({t:e})=>e(l.XW.REDO_DESCRIPTION),label:({t:e})=>e(l.XW.REDO_LABEL),icon:"arrowGoForwardFill"})],h.prototype,"redo",1),p([(0,r._y)()],h.prototype,"undoDepth",1),p([(0,r._y)()],h.prototype,"redoDepth",1),h=p([(0,r.AOx)({defaultOptions:{depth:100,newGroupDelay:500,getDispatch:void 0,getState:void 0},staticKeys:["depth","newGroupDelay"],handlerKeys:["onUndo","onRedo"]})],h)},82874:function(e,t,n){"use strict";n.d(t,{Gc:function(){return O}});var r,o=n(44573),i=n(378),a=n(27398),s=n(57555),l=n(16560),c=n(31026),u=n(27856),d=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},p=(e,t,n)=>(d(e,t,"read from private field"),n?n.call(e):t.get(e)),h=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},f=(e,t,n,r)=>(d(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),m=encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="22" height="22" fill="rgba(0, 0, 0, 0.65)" stroke="rgba(255, 255, 255, 0.5)" transform="rotate(90)" xmlns:v="https://vecta.io/nano"><path fill-rule="evenodd" d="M14 0a2 2 0 0 0-2 2v10H2a2 2 0 1 0 0 4h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2z"/></svg>'),g=encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="22" height="22" fill="rgba(0, 0, 0, 0.65)" stroke="rgba(255, 255, 255, 0.5)" transform="matrix(0 1 1 0 0 0)" xmlns:v="https://vecta.io/nano"><path fill-rule="evenodd" d="M14 0a2 2 0 0 0-2 2v10H2a2 2 0 1 0 0 4h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2z"/></svg>');r=new WeakMap;var v,y,b,x,k,w=(e=>(e[e.Fixed=0]="Fixed",e[e.Flexible=1]="Flexible",e))(w||{});function E(e){return"number"===typeof e?`${e}px`:e||void 0}v=new WeakMap,y=new WeakMap,b=new WeakMap,x=new WeakMap,k=new WeakMap;var M=Object.defineProperty,S=Object.getOwnPropertyDescriptor,C=(e,t,n,r)=>{for(var o,i=r>1?void 0:r?S(t,n):t,a=e.length-1;a>=0;a--)(o=e[a])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&M(t,n,i),i},O=class extends o.QR{get name(){return"image"}createTags(){return[i.eX.InlineNode,i.eX.Media]}createNodeSpec(e,t){const{preferPastedTextContent:n}=this.options;return{inline:!0,draggable:!0,selectable:!1,...t,attrs:{...e.defaults(),alt:{default:""},crop:{default:null},height:{default:null},width:{default:null},rotate:{default:null},src:{default:null},title:{default:""},fileName:{default:null},resizable:{default:!1}},parseDOM:[{tag:"img[src]",getAttrs:t=>{var r;if((0,a.jd)(t)){const o=function({element:e,parse:t}){const{width:n,height:r}=function(e){let{width:t,height:n}=e.style;return t=t||e.getAttribute("width")||"",n=n||e.getAttribute("height")||"",{width:t,height:n}}(e);return{...t(e),alt:e.getAttribute("alt")??"",height:Number.parseInt(r||"0",10)||null,src:e.getAttribute("src")??null,title:e.getAttribute("title")??"",width:Number.parseInt(n||"0",10)||null,fileName:e.getAttribute("data-file-name")??null}}({element:t,parse:e.parse});return(!n||!(null==(r=o.src)?void 0:r.startsWith("file:///")))&&o}return{}}},...t.parseDOM??[]],toDOM:t=>{const n=(0,a.Kh)(t.attrs,e);return["img",{...e.dom(t),...n}]}}}insertImage(e,t){return({tr:n,dispatch:r})=>{const{from:o,to:i}=(0,a.b0)(t??n.selection,n.doc),s=this.type.create(e);return null==r||r(n.replaceRangeWith(o,i,s)),!0}}uploadImage(e,t){const{updatePlaceholder:n,destroyPlaceholder:r,createPlaceholder:o}=this.options;return i=>{const{tr:a}=i;let s=a.selection.from;return this.store.createPlaceholderCommand({promise:e,placeholder:{type:"widget",get pos(){return s},createElement:(e,n)=>{const r=o(e,n);return null==t||t(r),r},onUpdate:(e,t,r,o)=>{n(e,t,r,o)},onDestroy:(e,t)=>{r(e,t)}},onSuccess:(e,t,n)=>this.insertImage(e,t)(n)}).validate((({tr:e,dispatch:t})=>{const n=(0,l.Yo)(e.doc,s,this.type);return null!=n&&(s=n,e.selection.empty||null==t||t(e.deleteSelection()),!0)}),"unshift").generateCommand()(i)}}fileUploadFileHandler(e,t,n){var r;const{preferPastedTextContent:o,uploadHandler:i}=this.options;if(o&&function(e){return void 0!==e.clipboardData}(t)&&(null==(r=t.clipboardData)?void 0:r.getData("text/plain")))return!1;const{commands:a,chain:l}=this.store,c=i(e.map(((e,t)=>({file:e,progress:e=>{a.updatePlaceholder(c[t],e)}}))));(0,s.hj)(n)&&l.selectText(n);for(const s of c)l.uploadImage(s);return l.run(),!0}createPasteRules(){return[{type:"file",regexp:/image/i,fileHandler:e=>{const t="drop"===e.type?e.pos:void 0;return this.fileUploadFileHandler(e.files,e.event,t)}}]}createNodeViews(){return this.options.enableResizing?(e,t,n)=>new class extends class{constructor({node:e,view:t,getPos:n,aspectRatio:o=0,options:i,initialSize:s}){h(this,v,void 0),h(this,y,void 0),h(this,b,[]),h(this,x,void 0),h(this,k,void 0);const l=this.createWrapper(e,s),c=this.createElement({node:e,view:t,getPos:n,options:i}),u=(1===o?[0,1,2,3,4]:[0,1]).map((e=>new class{constructor(e){h(this,r,void 0);const t=document.createElement("div"),n=document.createElement("div");this.dom=t,f(this,r,n),this.type=e,this.createHandle(e)}createHandle(e){switch((0,a.yL)(this.dom,{position:"absolute",pointerEvents:"auto",display:"flex",alignItems:"center",justifyContent:"center",zIndex:"100"}),(0,a.yL)(p(this,r),{opacity:"0",transition:"opacity 300ms ease-in 0s"}),p(this,r).dataset.dragging="",e){case 0:(0,a.yL)(this.dom,{right:"0px",top:"0px",height:"100%",width:"15px",cursor:"col-resize"}),(0,a.yL)(p(this,r),{width:" 4px",height:"36px",maxHeight:"50%",boxSizing:"content-box",background:"rgba(0, 0, 0, 0.65)",border:"1px solid rgba(255, 255, 255, 0.5)",borderRadius:"6px"});break;
1case 1:(0,a.yL)(this.dom,{left:"0px",top:"0px",height:"100%",width:"15px",cursor:"col-resize"}),(0,a.yL)(p(this,r),{width:" 4px",height:"36px",maxHeight:"50%",boxSizing:"content-box",background:"rgba(0, 0, 0, 0.65)",border:"1px solid rgba(255, 255, 255, 0.5)",borderRadius:"6px"});break;case 2:(0,a.yL)(this.dom,{bottom:"0px",width:"100%",height:"14px",cursor:"row-resize"}),(0,a.yL)(p(this,r),{width:" 42px",height:"4px",boxSizing:"content-box",maxWidth:"50%",background:"rgba(0, 0, 0, 0.65)",border:"1px solid rgba(255, 255, 255, 0.5)",borderRadius:"6px"});break;case 3:(0,a.yL)(this.dom,{right:"-1px",bottom:"-2px",width:"30px",height:"30px",cursor:"nwse-resize",zIndex:"101"}),(0,a.yL)(p(this,r),{height:"22px",width:"22px",backgroundRepeat:"no-repeat",backgroundImage:`url("data:image/svg+xml,${g}") `});break;case 4:(0,a.yL)(this.dom,{left:"-1px",bottom:"-2px",width:"30px",height:"30px",cursor:"nesw-resize",zIndex:"101"}),(0,a.yL)(p(this,r),{height:"22px",width:"22px",backgroundRepeat:"no-repeat",backgroundImage:`url("data:image/svg+xml,${m}") `})}this.dom.append(p(this,r))}setHandleVisibility(e){const t=e||!!p(this,r).dataset.dragging;p(this,r).style.opacity=t?"1":"0"}dataSetDragging(e){p(this,r).dataset.dragging=e?"true":""}}(e)));for(const r of u){const e=e=>{this.startResizing(e,t,n,r)};r.dom.addEventListener("mousedown",e),p(this,b).push((()=>r.dom.removeEventListener("mousedown",e))),l.append(r.dom)}const d=()=>{u.forEach((e=>e.setHandleVisibility(!0)))},w=()=>{u.forEach((e=>e.setHandleVisibility(!1)))};l.addEventListener("mouseover",d),l.addEventListener("mouseout",w),p(this,b).push((()=>l.removeEventListener("mouseover",d)),(()=>l.removeEventListener("mouseout",w))),l.append(c),this.dom=l,f(this,y,e),f(this,v,c),this.aspectRatio=o}createWrapper(e,t){const n=document.createElement("div");return n.classList.add("remirror-resizable-view"),n.style.position="relative",t?(0,a.yL)(n,{width:E(t.width),aspectRatio:`${t.width} / ${t.height}`}):(0,a.yL)(n,{width:E(e.attrs.width),aspectRatio:`${e.attrs.width} / ${e.attrs.height}`}),(0,a.yL)(n,{maxWidth:"100%",minWidth:"50px",verticalAlign:"bottom",display:"inline-block",lineHeight:"0",transition:"width 0.15s ease-out, height 0.15s ease-out"}),n}startResizing(e,t,n,r){var o,i;e.preventDefault(),r.dataSetDragging(!0),p(this,v).style.pointerEvents="none";const a=e.pageX,s=e.pageY,l=(null==(o=p(this,v))?void 0:o.getBoundingClientRect().width)||0,c=(null==(i=p(this,v))?void 0:i.getBoundingClientRect().height)||0,d=(0,u.P)(100,!1,(e=>{const t=e.pageX,n=e.pageY,o=t-a,i=n-s;let u=null,d=null;if(0===this.aspectRatio&&l&&c)switch(r.type){case 0:case 3:u=l+o,d=c/l*u;break;case 1:case 4:u=l-o,d=c/l*u;break;case 2:d=c+i,u=l/c*d}else if(1===this.aspectRatio)switch(r.type){case 0:u=l+o;break;case 1:u=l-o;break;case 2:d=c+i;break;case 3:u=l+o,d=c+i;break;case 4:u=l-o,d=c+i}"number"===typeof u&&u<50&&(0===this.aspectRatio&&l&&c?(u=50,d=c/l*u):1===this.aspectRatio&&(u=50)),u&&(f(this,x,Math.round(u)),this.dom.style.width=`${p(this,x)}px`),d&&f(this,k,Math.round(d)),(u||d)&&(this.dom.style.aspectRatio=`${p(this,x)} / ${p(this,k)}`)})),h=e=>{e.preventDefault(),r.dataSetDragging(!1),r.setHandleVisibility(!1),p(this,v).style.pointerEvents="auto",document.removeEventListener("mousemove",d),document.removeEventListener("mouseup",h);const o=n(),i=t.state.tr.setNodeMarkup(o,void 0,{...p(this,y).attrs,width:p(this,x),height:p(this,k)});t.dispatch(i)};document.addEventListener("mousemove",d),document.addEventListener("mouseup",h),p(this,b).push((()=>document.removeEventListener("mousemove",d))),p(this,b).push((()=>document.removeEventListener("mouseup",h)))}update(e){return e.type===p(this,y).type&&(0!==this.aspectRatio||!e.attrs.width||e.attrs.width===p(this,x))&&(1!==this.aspectRatio||!e.attrs.width||!e.attrs.height||e.attrs.width===p(this,x)||e.attrs.height===p(this,k))&&(!!((t=p(this,y))===(n=e)||function(e,t,n){const r=e.attrs,o=t.attrs,i={};for(const s of n)i[s]=null;e.attrs={...r,...i},t.attrs={...o,...i};const a=e.sameMarkup(t);return e.attrs=r,t.attrs=o,a}(t,n,["width","height"])&&t.content.eq(n.content))&&(f(this,y,e),f(this,x,e.attrs.width),f(this,k,e.attrs.height),!0));var t,n}destroy(){p(this,b).forEach((e=>e()))}}{constructor(e,t,n){super({node:e,view:t,getPos:n,aspectRatio:w.Fixed})}createElement({node:e}){const t=document.createElement("img");return t.setAttribute("src",e.attrs.src),(0,a.yL)(t,{width:"100%",minWidth:"50px",objectFit:"contain"}),t}}(e,t,n):{}}};C([(0,o.WDe)()],O.prototype,"insertImage",1),C([(0,o.WDe)()],O.prototype,"uploadImage",1),O=C([(0,o.AOx)({defaultOptions:{createPlaceholder:function(e,t){const n=document.createElement("div");return n.classList.add(c.Jl.IMAGE_LOADER),n},updatePlaceholder:()=>{},destroyPlaceholder:()=>{},uploadHandler:function(e){(0,s.kG)(e.length>0,{code:i.mA.EXTENSION,message:"The upload handler was applied for the image extension without any valid files"});let t=0;const n=[];for(const{file:r,progress:o}of e)n.push((()=>new Promise((n=>{const i=new FileReader;i.addEventListener("load",(i=>{var a;t+=1,o(t/e.length),n({src:null==(a=i.target)?void 0:a.result,fileName:r.name})}),{once:!0}),i.readAsDataURL(r)}))));return n},enableResizing:!1,preferPastedTextContent:!0}})],O)},5705:function(e,t,n){"use strict";n.d(t,{f:function(){return d}});var r=n(44573),o=n(378),i=n(27398),a=n(48776),s=Object.defineProperty,l=Object.getOwnPropertyDescriptor,c=(e,t,n,r)=>{for(var o,i=r>1?void 0:r?l(t,n):t,a=e.length-1;a>=0;a--)(o=e[a])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&s(t,n,i),i},u={icon:"italic",label:({t:e})=>e(a.wr.LABEL),description:({t:e})=>e(a.wr.DESCRIPTION)},d=class extends r.uS7{get name(){return"italic"}createTags(){return[o.eX.FontStyle,o.eX.FormattingMark]}createMarkSpec(e,t){return{...t,attrs:e.defaults(),parseDOM:[{tag:"i",getAttrs:e.parse},{tag:"em",getAttrs:e.parse},{style:"font-style=italic"},...t.parseDOM??[]],toDOM:t=>["em",e.dom(t),0]}}
1createKeymap(){return{"Mod-i":(0,r.w9d)({type:this.type})}}createInputRules(){return[(0,i.Cf)({regexp:/(?:^|[^*])\*([^*]+)\*$/,type:this.type,ignoreWhitespace:!0,updateCaptured:({fullMatch:e,start:t})=>e.startsWith("*")?{}:{fullMatch:e.slice(1),start:t+1}}),(0,i.Cf)({regexp:/(?:^|\W)_([^_]+)_$/,type:this.type,ignoreWhitespace:!0,updateCaptured:({fullMatch:e,start:t})=>e.startsWith("_")?{}:{fullMatch:e.slice(1),start:t+1}})]}createPasteRules(){return[{type:"mark",markType:this.type,regexp:/(?:^|\W)_([^_]+)_/g},{type:"mark",markType:this.type,regexp:/\*([^*]+)\*/g}]}toggleItalic(e){return(0,r.w9d)({type:this.type,selection:e})}shortcut(e){return this.toggleItalic()(e)}};c([(0,r.WDe)(u)],d.prototype,"toggleItalic",1),c([(0,r.IGC)({shortcut:o.vO.Italic,command:"toggleItalic"})],d.prototype,"shortcut",1),d=c([(0,r.AOx)({})],d)},611:function(e,t,n){"use strict";n.d(t,{y5:function(){return f}});var r=n(69463),o=n(44573),i=n(378),a=n(57555),s=n(27398),l=n(58463),c=n(16560),u=Object.defineProperty,d=Object.getOwnPropertyDescriptor,p=(e,t,n,r)=>{for(var o,i=r>1?void 0:r?d(t,n):t,a=e.length-1;a>=0;a--)(o=e[a])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&u(t,n,i),i},h="updateLink",f=class extends o.uS7{constructor(){super(...arguments),this._autoLinkRegexNonGlobal=void 0}get name(){return"link"}createTags(){return[i.eX.Link,i.eX.ExcludeInputRules]}createMarkSpec(e,t){const n="data-link-auto",r=e=>{const{defaultTarget:t,supportedTargets:n}=this.options,r=t?[...n,t]:n;return e&&(0,a.q9)(r,e)?{target:e}:void 0};return{inclusive:!1,excludes:"_",...t,attrs:{...e.defaults(),href:{},target:{default:this.options.defaultTarget},auto:{default:!1}},parseDOM:[{tag:"a[href]",getAttrs:t=>{if(!(0,s.jd)(t))return!1;const o=t.getAttribute("href"),i=t.textContent,a=this.options.autoLink&&(t.hasAttribute(n)||o===i||(null==o?void 0:o.replace(`${this.options.defaultProtocol}//`,""))===i);return{...e.parse(t),href:o,auto:a,...r(t.getAttribute("target"))}}},...t.parseDOM??[]],toDOM:t=>{const{auto:o,target:i,...a}=(0,s.Kh)(t.attrs,e),l=t.attrs.auto?{[n]:""}:{};return["a",{...e.dom(t),...a,rel:"noopener noreferrer nofollow",...l,...r(t.attrs.target)},0]}}}onCreate(){const{autoLinkRegex:e}=this.options;this._autoLinkRegexNonGlobal=new RegExp(`^${e.source}$`,e.flags.replace("g",""))}shortcut({tr:e}){let t="",{from:n,to:r,empty:o,$from:i}=e.selection,a=!1;const l=(0,s.IH)(i,this.type);if(o){const o=l??(0,s.JM)(e);if(!o)return!1;({text:t,from:n,to:r}=o),a=!0}return n!==r&&(a||(t=e.doc.textBetween(n,r)),this.options.onActivateLink(t),this.options.onShortcut({activeLink:l?{attrs:l.mark.attrs,from:l.from,to:l.to}:void 0,selectedText:t,from:n,to:r}),!0)}updateLink(e,t){return n=>{const{tr:r}=n;return!!((0,s.hT)(r.selection)&&!(0,s.Ab)(r.selection)||(0,s.d7)(r.selection)||(0,s.yw)({trState:r,type:this.type})||t)&&(r.setMeta(this.name,{command:h,attrs:e,range:t}),(0,s.dy)({type:this.type,attrs:e,range:t})(n))}}selectLink(){return this.store.commands.selectMark.original(this.type)}removeLink(e){return t=>{const{tr:n}=t;
1return!!(0,s.yw)({trState:n,type:this.type,...e})&&(0,s.P9)({type:this.type,expand:!0,range:e})(t)}}createPasteRules(){return[{type:"mark",regexp:this.options.autoLinkRegex,markType:this.type,getAttributes:(e,t)=>({href:this.buildHref((0,s.FI)(e)),auto:!t}),transformMatch:e=>{const t=(0,s.FI)(e);return!!t&&(!!this.isValidUrl(t)&&t)}}]}createEventHandlers(){return{clickMark:(e,t)=>{const n=t.getMark(this.type);if(!n)return;const r=n.mark.attrs,o={...r,...n};if(this.options.onClick(e,o))return!0;if(!this.store.view.editable)return;let i=!1;if(this.options.openLinkOnClick){i=!0;const e=r.href;window.open(e,"_blank")}return this.options.selectTextOnClick&&(i=!0,this.store.commands.selectText(n)),i}}}createPlugin(){return{appendTransaction:(e,t,n)=>{if(e.filter((e=>!!e.getMeta(this.name))).forEach((e=>{const t=e.getMeta(this.name);if(t.command===h){const{range:e,attrs:r}=t,{selection:o,doc:i}=n,a={range:e,selection:o,doc:i,attrs:r},{from:s,to:l}=e??o;this.options.onUpdateLink(i.textBetween(s,l),a)}})),!this.options.autoLink)return;if((0,l.of)(t)-(0,l.of)(n)===1)return;if(!e.some((e=>e.docChanged)))return;const r=(0,s.PZ)(e,t),o=(0,s.QC)(r,[c.FC,c.Pu]),{mapping:i}=r,{tr:a,doc:u}=n,{updateLink:d,removeLink:p}=this.store.chain(a);return o.forEach((({prevFrom:e,prevTo:n,from:r,to:o})=>{const s=[],l=o-r===2,c=this.getLinkMarksInRange(t.doc,e,n,!0).filter((e=>e.mark.type===this.type)).map((({from:e,to:t,text:n})=>({mappedFrom:i.map(e),mappedTo:i.map(t),text:n,from:e,to:t})));c.forEach((({mappedFrom:e,mappedTo:n,from:i,to:a},h)=>this.getLinkMarksInRange(u,e,n,!0).filter((e=>e.mark.type===this.type)).forEach((n=>{const f=t.doc.textBetween(i,a,void 0," "),m=u.textBetween(n.from,n.to+1,void 0," ").trim(),g=this.isValidUrl(f);this.isValidUrl(m)||(g&&(p({from:n.from,to:n.to}).tr(),c.splice(h,1)),l||r===o&&this.findAutoLinks(m).map((t=>this.addLinkProperties({...t,from:e+t.start,to:e+t.end}))).forEach((({attrs:e,range:t,text:n})=>{d(e,t).tr(),s.push({attrs:e,range:t,text:n})})))})))),this.findTextBlocksInRange(u,{from:r,to:o}).forEach((({text:e,positionStart:t})=>{this.findAutoLinks(e).map((e=>this.addLinkProperties({...e,from:t+e.start+1,to:t+e.end+1}))).filter((({range:e})=>{const t=r>=e.from&&r<=e.to,n=o>=e.from&&o<=e.to;return t||n||l})).filter((({range:e})=>0===this.getLinkMarksInRange(a.doc,e.from,e.to,!1).length)).filter((({range:{from:e},text:t})=>!c.some((({text:n,mappedFrom:r})=>r===e&&n===t)))).forEach((({attrs:e,text:t,range:n})=>{d(e,n).tr(),s.push({attrs:e,range:n,text:t})}))})),window.requestAnimationFrame((()=>{s.forEach((({attrs:e,range:t,text:n})=>{const{doc:r,selection:o}=a;this.options.onUpdateLink(n,{attrs:e,doc:r,range:t,selection:o})}))}))})),0!==a.steps.length?a:void 0}}}buildHref(e){return this.options.extractHref({url:e,defaultProtocol:this.options.defaultProtocol})}getLinkMarksInRange(e,t,n,r){const o=[];if(t===n){const n=Math.max(t-1,0),i=e.resolve(n),a=(0,s.IH)(i,this.type);(null==a?void 0:a.mark.attrs.auto)===r&&o.push(a)}else e.nodesBetween(t,n,((e,t)=>{const n=(e.marks??[]).find((({type:e,attrs:t})=>e===this.type&&t.auto===r));n&&o.push({from:t,to:t+e.nodeSize,mark:n,text:e.textContent})}));return o}findTextBlocksInRange(e,t){const n=[];return e.nodesBetween(t.from,t.to,((e,t)=>{e.isTextblock&&e.type.allowsMarkType(this.type)&&n.push({node:e,pos:t})})),n.map((t=>({text:e.textBetween(t.pos,t.pos+t.node.nodeSize,void 0," "),positionStart:t.pos})))}addLinkProperties({from:e,to:t,href:n,...r}){return{...r,range:{from:e,to:t},attrs:{href:n,auto:!0}}}findAutoLinks(e){if(this.options.findAutoLinks)return this.options.findAutoLinks(e,this.options.defaultProtocol);const t=[];for(const n of(0,a.JD)(e,this.options.autoLinkRegex)){const e=(0,s.FI)(n);if(!e)continue;const r=this.buildHref(e);(this.isValidTLD(r)||r.startsWith("tel:"))&&t.push({text:e,href:r,start:n.index,end:n.index+e.length})}return t}isValidUrl(e){var t;return this.options.isValidUrl?this.options.isValidUrl(e,this.options.defaultProtocol):this.isValidTLD(this.buildHref(e))&&!!(null==(t=this._autoLinkRegexNonGlobal)?void 0:t.test(e))}isValidTLD(e){const{autoLinkAllowedTLDs:t}=this.options;if(0===t.length)return!0;const n=r(e);
1if(""===n)return!0;const o=(0,a.Z$)(n.split("."));return t.includes(o)}};p([(0,o.IGC)({shortcut:i.vO.InsertLink})],f.prototype,"shortcut",1),p([(0,o.WDe)()],f.prototype,"updateLink",1),p([(0,o.WDe)()],f.prototype,"selectLink",1),p([(0,o.WDe)()],f.prototype,"removeLink",1),f=p([(0,o.AOx)({defaultOptions:{autoLink:!1,defaultProtocol:"",selectTextOnClick:!1,openLinkOnClick:!1,autoLinkRegex:/(?:(?:(?:https?|ftp):)?\/\/)?(?:\S+(?::\S*)?@)?(?:(?:[\da-z\u00A1-\uFFFF][\w\u00A1-\uFFFF-]{0,62})?[\da-z\u00A1-\uFFFF]\.)*(?:(?:\d(?!\.)|[a-z\u00A1-\uFFFF])(?:[\da-z\u00A1-\uFFFF][\w\u00A1-\uFFFF-]{0,62})?[\da-z\u00A1-\uFFFF]\.)+[a-z\u00A1-\uFFFF]{2,}(?::\d{2,5})?(?:[#/?]\S*)?/gi,autoLinkAllowedTLDs:["com","de","net","org","uk","cn","ga","nl","cf","ml","tk","ru","br","gq","xyz","fr","eu","info","co","au","ca","it","in","ch","pl","es","online","us","top","be","jp","biz","se","at","dk","cz","za","me","ir","icu","shop","kr","site","mx","hu","io","cc","club","no","cyou"],findAutoLinks:void 0,isValidUrl:void 0,defaultTarget:null,supportedTargets:[],extractHref:function({url:e,defaultProtocol:t}){const n=/^((?:https?|ftp)?:)\/\//.test(e);if(!n&&e.includes("@"))return`mailto:${e}`;return n?e:`${t}//${e}`}},staticKeys:["autoLinkRegex"],handlerKeyOptions:{onClick:{earlyReturnValue:!0}},handlerKeys:["onActivateLink","onShortcut","onUpdateLink","onClick"],defaultPriority:i.xV.Medium})],f)},58661:function(e,t,n){"use strict";n.d(t,{JQ:function(){return F},Jb:function(){return N},UQ:function(){return D},_3:function(){return $}});var r=n(44573),o=n(378),i=n(57555),a=n(48776),s=n(36912),l=n(2376),c=n(31026),u=n(27784),d=n(27398),p=n(25804),h=n(12806),f=n(53833),m=n(16560),g=Object.defineProperty,v=Object.getOwnPropertyDescriptor,y=(e,t,n,r)=>{for(var o,i=r>1?void 0:r?v(t,n):t,a=e.length-1;a>=0;a--)(o=e[a])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&g(t,n,i),i};function b(e){var t;return!!(null==(t=e.spec.group)?void 0:t.includes(o.eX.ListContainerNode))}function x(e){return b(e.type)}function k(e){return function(e){var t;return!!(null==(t=e.spec.group)?void 0:t.includes(o.eX.ListItemNode))}(e.type)}function w(e,t){return n=>{const{dispatch:r,tr:o}=n,i=(0,u.Ux)(o,n.state),{$from:a,$to:s}=o.selection,l=a.blockRange(s);if(!l)return!1;const c=(0,d.Kk)({predicate:e=>b(e.type),selection:o.selection});if(c&&l.depth-c.depth<=1&&0===l.startIndex){if(c.node.type===e)return C(t)(n);if(b(c.node.type))return e.validContent(c.node.content)?(null==r||r(o.setNodeMarkup(c.pos,e)),!0):!!function(e,t,n,r){const o=t.node,i=e.doc.resolve(t.start),a=i.node(-1),s=i.index(-1);if(!a)return!1;if(!a.canReplace(s,s+1,h.HY.from(n.create())))return!1;const l=[];for(let h=0;h<o.childCount;h++){const e=o.child(h);if(!r.validContent(e.content))return!1;const t=r.createChecked(null,e.content);l.push(t)}const c=n.createChecked(null,l),u=t.pos,d=u+o.nodeSize,p=e.selection.from;return e.replaceRangeWith(u,d,c),e.setSelection(e.selection.constructor.near(e.doc.resolve(p))),!0}(o,c,e,t)&&(null==r||r(o.scrollIntoView()),!0)}return(0,f.KI)(e)(i,r)}}function E(e,t=["checked"]){return function({tr:n,dispatch:r,state:o}){var i,a;const s=(0,d.jo)(e,o.schema),{$from:c,$to:u}=n.selection;if((0,d.EG)(n.selection)&&n.selection.node.isBlock||c.depth<2||!c.sameParent(u))return!1;const p=c.node(-1);if(p.type!==s)return!1;if(0===c.parent.content.size&&c.node(-1).childCount===c.indexAfter(-1)){if(2===c.depth||c.node(-3).type!==s||c.index(-2)!==c.node(-2).childCount-1)return!1;if(r){const e=c.index(-1)>0;let t=h.HY.empty;for(let n=c.depth-(e?1:2);n>=c.depth-3;n--)t=h.HY.from(c.node(n).copy(t));const o=(null==(i=s.contentMatch.defaultType)?void 0:i.createAndFill())||void 0;t=t.append(h.HY.from(s.createAndFill(null,o)||void 0));const a=c.indexAfter(-1)<c.node(-2).childCount?1:c.indexAfter(-2)<c.node(-3).childCount?2:3;n.replace(c.before(e?void 0:-1),c.after(-a),new h.p2(t,e?3:2,2)),n.setSelection(n.selection.constructor.near(n.doc.resolve(c.pos+(e?3:2)))),r(n.scrollIntoView())}return!0}if(p.attrs.closed&&c.sameParent(u)&&u.pos===u.end()){if(r){const e=c.after(-1),t=(null==(a=s.contentMatch.defaultType)?void 0:a.createAndFill())||void 0,o=s.createAndFill(null,t);o&&(n.insert(e,o),n.setSelection(l.Bs.near(n.doc.resolve(e+1)))),n.delete(c.pos,u.pos),r(n.scrollIntoView())}return!0}const f=Object.fromEntries(Object.entries(p.attrs).filter((([e])=>!t.includes(e)))),g=u.pos===c.end()?p.contentMatchAt(0).defaultType:null,v={...c.node().attrs};n.delete(c.pos,u.pos);const y=g?[{type:s,attrs:f},{type:g,attrs:v}]:[{type:s,attrs:f}];return!!(0,m.Ax)(n.doc,c.pos,2)&&(r&&r(n.split(c.pos,2,y).scrollIntoView()),!0)}}function M({listType:e,itemType:t,tr:n}){const r=O(n.selection);if(!r)return!1;const o=0===r.startIndex,{from:i,to:a}=n.selection;return!!function({listType:e,itemType:t,tr:n,range:r}){var o;const i=r.parent,a=n.doc.slice(r.start,r.end);if(i.type===e&&(null==(o=a.content.firstChild)?void 0:o.type)===t)return!1;const s=[];for(let c=0;c<a.content.childCount;c++){const e=a.content.child(c);if(!t.validContent(e.content))return!1;const n=t.createChecked(null,e.content);s.push(n)}const l=e.createChecked(null,s);return n.replaceRange(r.start,r.end,new h.p2(h.HY.from(l),0,0)),!0}({listType:e,itemType:t,tr:n,range:r})&&(n.setSelection(l.Bs.between(n.doc.resolve(o?i:i+2),n.doc.resolve(o?a:a+2))),n.scrollIntoView(),!0)}function S(e,t){const n=t||e.selection.$from;let r,o,i,a,s=[];for(let c=n.depth;c>=0;
1c--){if(o=n.node(c),r=n.index(c),i=o.maybeChild(r-1),a=o.maybeChild(r),i&&a&&i.type.name===a.type.name&&x(i)){const e=n.before(c+1);s.push(e)}if(r=n.indexAfter(c),i=o.maybeChild(r-1),a=o.maybeChild(r),i&&a&&i.type.name===a.type.name&&x(i)){const e=n.after(c+1);s.push(e)}}s=[...new Set(s)].sort(((e,t)=>t-e));let l=!1;for(const c of s)(0,m.Mn)(e.doc,c)&&(e.join(c),l=!0);return l}function C(e){return t=>{const{dispatch:n,tr:r}=t,o=(0,u.Ux)(r,t.state),i=function(e,t){const{$from:n,$to:r}=t;return n.blockRange(r,(t=>{var n;return(null==(n=t.firstChild)?void 0:n.type)===e}))}(e,r.selection);return!!i&&(!n||(function(e,t,n){const r=e.tr,o=n.parent,i=r.mapping.maps.length;for(let h=n.end,m=n.endIndex-1,g=n.startIndex;m>g;m--)h-=o.child(m).nodeSize,r.delete(h-1,h+1);const a=r.doc.resolve(n.start),s=a.nodeAfter;if(!s)return!1;if(r.mapping.slice(i).map(n.end)!==n.start+s.nodeSize)return!1;const l=0===n.startIndex,c=n.endIndex===o.childCount,u=a.node(-1),d=a.index(-1);if(!u.canReplace(d+(l?0:1),d+1,s.content.append(c?h.HY.empty:h.HY.from(o))))return!1;const p=a.pos,f=p+s.nodeSize;r.step(new m.FC(p-(l?1:0),f+(c?1:0),p+1,f-1,new h.p2((l?h.HY.empty:h.HY.from(o.copy(h.HY.empty))).append(c?h.HY.empty:h.HY.from(o.copy(h.HY.empty))),l?0:1,c?0:1),l?0:1)),t(r.scrollIntoView())}(o,n,i),!0))}}function O(e){const{$from:t,$to:n}=e;return t.blockRange(n,x)}function T({view:e}){if(!e)return!1;{const t=e.state.selection.$cursor;if(!t||t.parentOffset>0)return!1;const n=t.blockRange();if(!n||!k(n.parent)||0!==n.startIndex)return!1}{const t=e.state.tr;(function(e){const t=e.selection.$from,n=t.blockRange();if(!n||!k(n.parent)||0!==n.startIndex)return!1;const r=t.node(n.depth-2),o=t.index(n.depth),i=t.index(n.depth-1),a=t.index(n.depth-2),s=r.maybeChild(a-1),l=null==s?void 0:s.lastChild;if(0!==o||0!==i)return!1;if(s&&x(s)&&l&&k(l))return M({listType:s.type,itemType:l.type,tr:e});if(k(r)){const o=r,i=t.node(n.depth-3);if(x(i))return M({listType:i.type,itemType:o.type,tr:e})}return!1})(t)&&e.dispatch(t)}{const t=e.state.selection.$cursor;if(!t||t.parentOffset>0)return!1;const n=t.blockRange();if(!n||!k(n.parent)||0!==n.startIndex)return!1;const r=t.index(n.depth),o=t.index(n.depth-1),i=t.index(n.depth-2),a=n.depth-2>=1&&k(t.node(n.depth-2));0===r&&0===o&&i<=1&&a&&(0,f.IB)(n.parent.type)(e.state,e.dispatch)}return(0,p.al)(e.state,e.dispatch,e),!0}function A({node:e,mark:t,updateDOM:n,updateMark:r}){const o=document.createElement("label");o.contentEditable="false",o.classList.add(c.MQ.LIST_ITEM_MARKER_CONTAINER),o.append(t);const i=document.createElement("div"),a=document.createElement("li");a.classList.add(c.MQ.LIST_ITEM_WITH_CUSTOM_MARKER),a.append(o),a.append(i);const s=o=>o.type===e.type&&(n(e=o,a),r(e,t),!0);return s(e),{dom:a,contentDOM:i,update:s}}function R(e){let t=O(e.selection);if(!t)return!1;const n=function(e,t){const n=e.node(t.depth-1),r=e.node(t.depth-2);return!(!k(n)||!x(r))&&{parentItem:n,parentList:r}}(e.selection.$from,t);if(!n)return!1;const{parentItem:r,parentList:o}=n;t=function(e,t){const n=t.parent,r=t.parent.child(t.endIndex-1),o=t.end,i=t.$to.end(t.depth);return o<i?(e.step(new m.FC(o-1,i,o,i,new h.p2(h.HY.from(r.type.create(null,n.copy())),1,0),1,!0)),new h.Ts(e.doc.resolve(t.$from.pos),e.doc.resolve(i),t.depth)):t}(e,t),t=function(e,t){const n=t.parent,r=t.parent.child(t.endIndex-1),o=t.end,i=t.$to.end(t.depth-1);return o+1<i?(e.step(new m.FC(o-1,i,o+1,i,new h.p2(h.HY.from(n.type.create(null,r.type.create(null))),2,0),0,!0)),new h.Ts(e.selection.$from,e.selection.$to,t.depth)):t}(e,t),t=function(e,t,n,r){return M({listType:n.type,itemType:r.type,tr:e})?new h.Ts(e.selection.$from,e.selection.$to,t.depth):t}(e,t,o,r);const i=(0,m.k9)(t);return"number"!==typeof i||(e.lift(t,i),t=O(e.selection),t&&S(e,e.doc.resolve(t.end-2))),!0}var z=({tr:e,dispatch:t})=>!!R(e)&&(null==t||t(e.scrollIntoView()),!0);function L(e){const{$from:t,$to:n}=e.selection,r=O(e.selection);if(!r)return!1;const o=e.doc.resolve(r.start).node();if(!x(o))return!1;const i=function(e,t,n){let r,o,i,a;const s=t.doc;if(n.startIndex>=1){r=e.child(n.startIndex-1),o=e,a=s.resolve(n.start).start(n.depth),i=a+1;for(let e=0;e<n.startIndex-1;e++)i+=o.child(e).nodeSize}else{const e=t.index(n.depth-1);if(!(e>=1))return!1;{const s=t.node(n.depth-1),l=t.start(n.depth-1);if(o=s.child(e-1),!x(o))return!1;a=l+1;for(let t=0;t<e-1;t++)a+=s.child(t).nodeSize;if(r=o.child(o.childCount-1),i=a+o.nodeSize-r.nodeSize-1,!k(r))return!1}}return{previousItem:r,previousList:o,previousItemStart:i,previousListStart:a}}(o,t,r);if(!i)return!1;const{previousItem:a,previousList:s,previousItemStart:c}=i,{selectedSlice:u,unselectedSlice:d}=function(e,t,n){let r,o;const i=n.start,a=t.depth>=n.depth+2?t.end(n.depth+2):n.end-1,s=n.end;return a+1>=s?(r=e.slice(i,s),o=null):(r=e.slice(i,a),o=e.slice(a+1,s-1)),{selectedSlice:r,unselectedSlice:o}}(e.doc,n,r),p=a.content.append(h.HY.fromArray([o.copy(u.content)])).append(d?d.content:h.HY.empty);e.deleteRange(r.start,r.end);const f=c+a.nodeSize-2,m=a.copy(p);return m.check(),e.replaceRangeWith(c-1,f+1,m),e.setSelection(s===o?l.Bs.between(e.doc.resolve(t.pos),e.doc.resolve(n.pos)):l.Bs.between(e.doc.resolve(t.pos-2),e.doc.resolve(n.pos-2))),!0}var _=({tr:e,dispatch:t})=>!!L(e)&&(null==t||t(e.scrollIntoView()),!0),H=class extends r.nNj{get name(){return"listItemShared"}createKeymap(){const e={Tab:_,"Shift-Tab":z,Backspace:T,"Mod-Backspace":T};if(d.NZ.isMac){const t={"Ctrl-h":e.Backspace,"Alt-Backspace":e["Mod-Backspace"]};return{...e,...t}}return e}createPlugin(){return{appendTransaction:(e,t,n)=>{const r=n.tr;return S(r)?r:null}}}},N=class extends r.QR{get name(){return"listItem"}createTags(){return[o.eX.ListItemNode]}createNodeSpec(e,t){return{content:"paragraph block*",defining:!0,draggable:!1,...t,attrs:{...e.defaults(),closed:{default:!1},nested:{default:!1}},parseDOM:[{tag:"li",getAttrs:e.parse,priority:o.xV.Lowest},...t.parseDOM??[]],toDOM:t=>["li",e.dom(t),0]}}createNodeViews(){return this.options.enableCollapsible?(e,t,n)=>{const r=document.createElement("div");return r.classList.add(c.MQ.COLLAPSIBLE_LIST_ITEM_BUTTON),r.contentEditable="false",r.addEventListener("click",(()=>{if(r.classList.contains("disabled"))return;const e=n(),o=l.qv.create(t.state.doc,e);return t.dispatch(t.state.tr.setSelection(o)),this.store.commands.toggleListItemClosed(),!0})),A({mark:r,node:e,updateDOM:P,updateMark:I})}:{}}createKeymap(){return{Enter:E(this.type)}}createExtensions(){return[new H]}toggleListItemClosed(e){return({state:{tr:t,selection:n},dispatch:r})=>
1{if(!(0,d.EG)(n)||n.node.type.name!==this.name)return!1;const{node:o,from:a}=n;return e=(0,i.jn)(e)?e:!o.attrs.closed,null==r||r(t.setNodeMarkup(a,void 0,{...o.attrs,closed:e})),!0}}liftListItemOutOfList(e){return C(e??this.type)}};function P(e,t){e.attrs.closed?t.classList.add(c.MQ.COLLAPSIBLE_LIST_ITEM_CLOSED):t.classList.remove(c.MQ.COLLAPSIBLE_LIST_ITEM_CLOSED)}function I(e,t){e.childCount<=1?t.classList.add("disabled"):t.classList.remove("disabled")}y([(0,r.WDe)()],N.prototype,"toggleListItemClosed",1),y([(0,r.WDe)()],N.prototype,"liftListItemOutOfList",1),N=y([(0,r.AOx)({defaultOptions:{enableCollapsible:!1},staticKeys:["enableCollapsible"]})],N);var D=class extends r.QR{get name(){return"bulletList"}createTags(){return[o.eX.Block,o.eX.ListContainerNode]}createNodeSpec(e,t){return{content:"listItem+",...t,attrs:e.defaults(),parseDOM:[{tag:"ul",getAttrs:e.parse},...t.parseDOM??[]],toDOM:t=>["ul",e.dom(t),0]}}createNodeViews(){return this.options.enableSpine?(e,t,n)=>{var r;const o=document.createElement("div");o.style.position="relative";const i=n(),a=t.state.doc.resolve(i+1),s=a.node(a.depth-1);if(!("listItem"!==(null==(r=null==s?void 0:s.type)?void 0:r.name))){const e=document.createElement("div");e.contentEditable="false",e.classList.add(c.MQ.LIST_SPINE),e.addEventListener("click",(e=>{const r=n(),o=t.state.doc.resolve(r+1),i=o.start(o.depth-1),a=l.qv.create(t.state.doc,i-1);t.dispatch(t.state.tr.setSelection(a)),this.store.commands.toggleListItemClosed(),e.preventDefault(),e.stopPropagation()})),o.append(e)}const u=document.createElement("ul");return u.classList.add(c.MQ.UL_LIST_CONTENT),o.append(u),{dom:o,contentDOM:u}}:{}}createExtensions(){return[new N({priority:o.xV.Low,enableCollapsible:this.options.enableSpine})]}toggleBulletList(){return w(this.type,(0,i.fp)(this.store.schema.nodes,"listItem"))}listShortcut(e){return this.toggleBulletList()(e)}createInputRules(){const e=/^\s*([*+-])\s$/;return[(0,s.S0)(e,this.type),new s.VK(e,((e,t,n,r)=>{const o=e.tr;o.deleteRange(n,r);return M({listType:this.type,itemType:(0,i.fp)(this.store.schema.nodes,"listItem"),tr:o})?o:null}))]}};y([(0,r.WDe)({icon:"listUnordered",label:({t:e})=>e(a.it.BULLET_LIST_LABEL)})],D.prototype,"toggleBulletList",1),y([(0,r.IGC)({shortcut:o.vO.BulletList,command:"toggleBulletList"})],D.prototype,"listShortcut",1),D=y([(0,r.AOx)({defaultOptions:{enableSpine:!1},staticKeys:["enableSpine"]})],D);var $=class extends r.QR{get name(){return"orderedList"}createTags(){return[o.eX.Block,o.eX.ListContainerNode]}createNodeSpec(e,t){return{content:"listItem+",...t,attrs:{...e.defaults(),order:{default:1}},parseDOM:[{tag:"ol",getAttrs:t=>(0,d.jd)(t)?{...e.parse(t),order:+(t.getAttribute("start")??1)}:{}},...t.parseDOM??[]],toDOM:t=>{const n=e.dom(t);return 1===t.attrs.order?["ol",n,0]:["ol",{...n,start:t.attrs.order},0]}}}createExtensions(){return[new N({priority:o.xV.Low})]}toggleOrderedList(){return w(this.type,(0,i.fp)(this.store.schema.nodes,"listItem"))}listShortcut(e){return this.toggleOrderedList()(e)}createInputRules(){const e=/^(\d+)\.\s$/;return[(0,s.S0)(e,this.type,(e=>({order:+(0,i.fp)(e,1)})),((e,t)=>t.childCount+t.attrs.order===+(0,i.fp)(e,1))),new s.VK(e,((e,t,n,r)=>{const o=e.tr;o.deleteRange(n,r);if(!M({listType:this.type,itemType:(0,i.fp)(this.store.schema.nodes,"listItem"),tr:o}))return null;const a=+(0,i.fp)(t,1);if(1!==a){const e=(0,d.Tr)({selection:o.selection,types:this.type});e&&o.setNodeMarkup(e.pos,void 0,{order:a})}return o}))]}};y([(0,r.WDe)({icon:"listOrdered",label:({t:e})=>e(a.it.ORDERED_LIST_LABEL)})],$.prototype,"toggleOrderedList",1),y([(0,r.IGC)({shortcut:o.vO.OrderedList,command:"toggleOrderedList"})],$.prototype,"listShortcut",1),$=y([(0,r.AOx)({})],$);var V=class extends r.QR{get name(){return"taskListItem"}createTags(){return[o.eX.ListItemNode]}createNodeSpec(e,t){return{content:"paragraph block*",defining:!0,draggable:!1,...t,attrs:{...e.defaults(),checked:{default:!1}},parseDOM:[{tag:"li[data-task-list-item]",getAttrs:t=>{let n=!1;return(0,d.jd)(t)&&null!==t.getAttribute("data-checked")&&(n=!0),{checked:n,...e.parse(t)}},priority:o.xV.Medium},...t.parseDOM??[]],toDOM:t=>["li",{...e.dom(t),"data-task-list-item":"","data-checked":t.attrs.checked?"":void 0},0]}}createNodeViews(){return(e,t,n)=>{const r=document.createElement("input");return r.type="checkbox",r.classList.add(c.MQ.LIST_ITEM_CHECKBOX),r.contentEditable="false",r.addEventListener("click",(e=>{t.editable||e.preventDefault()})),r.addEventListener("change",(()=>{const e=n(),r=t.state.doc.resolve(e+1);this.store.commands.toggleCheckboxChecked({$pos:r})})),r.checked=e.attrs.checked,A({node:e,mark:r,updateDOM:j,updateMark:B})}}createKeymap(){return{Enter:E(this.type)}}createExtensions(){return[new H]}toggleCheckboxChecked(e){let t,n;return"boolean"===typeof e?t=e:e&&(t=e.checked,n=e.$pos),({tr:e,dispatch:r})=>{const o=(0,d.Tr)({selection:n??e.selection.$from,types:this.type});if(!o)return!1;const{node:i,pos:a}=o,s={...i.attrs,checked:t??!i.attrs.checked};
1return null==r||r(e.setNodeMarkup(a,void 0,s)),!0}}createInputRules(){const e=/^\s*(\[( ?|x|X)]\s)$/;return[(0,s.S0)(e,this.type,(e=>({checked:["x","X"].includes((0,d.FI)(e,2))}))),new s.VK(e,((e,t,n,r)=>{const o=e.tr;o.deleteRange(n,r);if(!M({listType:(0,i.fp)(this.store.schema.nodes,"taskList"),itemType:this.type,tr:o}))return null;const a=["x","X"].includes((0,d.FI)(t,2));if(a){const e=(0,d.Tr)({selection:o.selection,types:this.type});e&&o.setNodeMarkup(e.pos,void 0,{checked:a})}return o}))]}};function j(e,t){e.attrs.checked?t.setAttribute("data-checked",""):t.removeAttribute("data-checked"),t.setAttribute("data-task-list-item","")}function B(e,t){t.checked=!!e.attrs.checked}y([(0,r.WDe)()],V.prototype,"toggleCheckboxChecked",1);var F=class extends r.QR{get name(){return"taskList"}createTags(){return[o.eX.Block,o.eX.ListContainerNode]}createNodeSpec(e,t){return{content:"taskListItem+",...t,attrs:e.defaults(),parseDOM:[{tag:"ul[data-task-list]",getAttrs:e.parse,priority:o.xV.Medium},...t.parseDOM??[]],toDOM:t=>["ul",{...e.dom(t),"data-task-list":""},0]}}createExtensions(){return[new V({})]}toggleTaskList(){return w(this.type,(0,i.fp)(this.store.schema.nodes,"taskListItem"))}listShortcut(e){return this.toggleTaskList()(e)}};y([(0,r.WDe)({icon:"checkboxMultipleLine",label:({t:e})=>e(a.it.TASK_LIST_LABEL)})],F.prototype,"toggleTaskList",1),y([(0,r.IGC)({shortcut:o.vO.TaskList,command:"toggleTaskList"})],F.prototype,"listShortcut",1)},81373:function(e,t,n){"use strict";n.d(t,{g:function(){return Le}});var r=n(44573),o=n(378),i=n(12806);function a(e,t){return Array(t+1).join(e)}var s=["ADDRESS","ARTICLE","ASIDE","AUDIO","BLOCKQUOTE","BODY","CANVAS","CENTER","DD","DIR","DIV","DL","DT","FIELDSET","FIGCAPTION","FIGURE","FOOTER","FORM","FRAMESET","H1","H2","H3","H4","H5","H6","HEADER","HGROUP","HR","HTML","ISINDEX","LI","MAIN","MENU","NAV","NOFRAMES","NOSCRIPT","OL","OUTPUT","P","PRE","SECTION","TABLE","TBODY","TD","TFOOT","TH","THEAD","TR","UL"];function l(e){return p(e,s)}var c=["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"];function u(e){return p(e,c)}var d=["A","TABLE","THEAD","TBODY","TFOOT","TH","TD","IFRAME","SCRIPT","AUDIO","VIDEO"];function p(e,t){return t.indexOf(e.nodeName)>=0}function h(e,t){return e.getElementsByTagName&&t.some((function(t){return e.getElementsByTagName(t).length}))}var f={};function m(e){return e?e.replace(/(\n+\s*)+/g,"\n"):""}function g(e){for(var t in this.options=e,this._keep=[],this._remove=[],this.blankRule={replacement:e.blankReplacement},this.keepReplacement=e.keepReplacement,this.defaultRule={replacement:e.defaultReplacement},this.array=[],e.rules)this.array.push(e.rules[t])}function v(e,t,n){for(var r=0;r<e.length;r++){var o=e[r];if(y(o,t,n))return o}}function y(e,t,n){var r=e.filter;if("string"===typeof r){if(r===t.nodeName.toLowerCase())return!0}else if(Array.isArray(r)){if(r.indexOf(t.nodeName.toLowerCase())>-1)return!0}else{if("function"!==typeof r)throw new TypeError("`filter` needs to be a string, array, or function");if(r.call(e,t,n))return!0}}function b(e){var t=e.nextSibling||e.parentNode;return e.parentNode.removeChild(e),t}function x(e,t,n){return e&&e.parentNode===t||n(t)?t.nextSibling||t.parentNode:t.firstChild||t.nextSibling||t.parentNode}f.paragraph={filter:"p",replacement:function(e){return"\n\n"+e+"\n\n"}},f.lineBreak={filter:"br",replacement:function(e,t,n){return n.br+"\n"}},f.heading={filter:["h1","h2","h3","h4","h5","h6"],replacement:function(e,t,n){var r=Number(t.nodeName.charAt(1));return"setext"===n.headingStyle&&r<3?"\n\n"+e+"\n"+a(1===r?"=":"-",e.length)+"\n\n":"\n\n"+a("#",r)+" "+e+"\n\n"}},f.blockquote={filter:"blockquote",replacement:function(e){return"\n\n"+(e=(e=e.replace(/^\n+|\n+$/g,"")).replace(/^/gm,"> "))+"\n\n"}},f.list={filter:["ul","ol"],replacement:function(e,t){var n=t.parentNode;return"LI"===n.nodeName&&n.lastElementChild===t?"\n"+e:"\n\n"+e+"\n\n"}},f.listItem={filter:"li",replacement:function(e,t,n){e=e.replace(/^\n+/,"").replace(/\n+$/,"\n").replace(/\n/gm,"\n    ");var r=n.bulletListMarker+"   ",o=t.parentNode;if("OL"===o.nodeName){var i=o.getAttribute("start"),a=Array.prototype.indexOf.call(o.children,t);r=(i?Number(i)+a:a+1)+".  "}return r+e+(t.nextSibling&&!/\n$/.test(e)?"\n":"")}},f.indentedCodeBlock={filter:function(e,t){return"indented"===t.codeBlockStyle&&"PRE"===e.n
1odeName&&e.firstChild&&"CODE"===e.firstChild.nodeName},replacement:function(e,t,n){return"\n\n    "+t.firstChild.textContent.replace(/\n/g,"\n    ")+"\n\n"}},f.fencedCodeBlock={filter:function(e,t){return"fenced"===t.codeBlockStyle&&"PRE"===e.nodeName&&e.firstChild&&"CODE"===e.firstChild.nodeName},replacement:function(e,t,n){for(var r,o=((t.firstChild.getAttribute("class")||"").match(/language-(\S+)/)||[null,""])[1],i=t.firstChild.textContent,s=n.fence.charAt(0),l=3,c=new RegExp("^"+s+"{3,}","gm");r=c.exec(i);)r[0].length>=l&&(l=r[0].length+1);var u=a(s,l);return"\n\n"+u+o+"\n"+i.replace(/\n$/,"")+"\n"+u+"\n\n"}},f.horizontalRule={filter:"hr",replacement:function(e,t,n){return"\n\n"+n.hr+"\n\n"}},f.inlineLink={filter:function(e,t){return"inlined"===t.linkStyle&&"A"===e.nodeName&&e.getAttribute("href")},replacement:function(e,t){var n=t.getAttribute("href"),r=m(t.getAttribute("title"));return r&&(r=' "'+r+'"'),"["+e+"]("+n+r+")"}},f.referenceLink={filter:function(e,t){return"referenced"===t.linkStyle&&"A"===e.nodeName&&e.getAttribute("href")},replacement:function(e,t,n){var r,o,i=t.getAttribute("href"),a=m(t.getAttribute("title"));switch(a&&(a=' "'+a+'"'),n.linkReferenceStyle){case"collapsed":r="["+e+"][]",o="["+e+"]: "+i+a;break;case"shortcut":r="["+e+"]",o="["+e+"]: "+i+a;break;default:var s=this.references.length+1;r="["+e+"]["+s+"]",o="["+s+"]: "+i+a}return this.references.push(o),r},references:[],append:function(e){var t="";return this.references.length&&(t="\n\n"+this.references.join("\n")+"\n\n",this.references=[]),t}},f.emphasis={filter:["em","i"],replacement:function(e,t,n){return e.trim()?n.emDelimiter+e+n.emDelimiter:""}},f.strong={filter:["strong","b"],replacement:function(e,t,n){return e.trim()?n.strongDelimiter+e+n.strongDelimiter:""}},f.code={filter:function(e){var t=e.previousSibling||e.nextSibling,n="PRE"===e.parentNode.nodeName&&!t;return"CODE"===e.nodeName&&!n},replacement:function(e){if(!e)return"";e=e.replace(/\r?\n|\r/g," ");for(var t=/^`|^ .*?[^ ].* $|`$/.test(e)?" ":"",n="`",r=e.match(/`+/gm)||[];-1!==r.indexOf(n);)n+="`";return n+t+e+t+n}},f.image={filter:"img",replacement:function(e,t){var n=m(t.getAttribute("alt")),r=t.getAttribute("src")||"",o=m(t.getAttribute("title"));return r?"!["+n+"]("+r+(o?' "'+o+'"':"")+")":""}},g.prototype={add:function(e,t){this.array.unshift(t)},keep:function(e){this._keep.unshift({filter:e,replacement:this.keepReplacement})},remove:function(e){this._remove.unshift({filter:e,replacement:function(){return""}})},forNode:function(e){return e.isBlank?this.blankRule:(t=v(this.array,e,this.options))||(t=v(this._keep,e,this.options))||(t=v(this._remove,e,this.options))?t:this.defaultRule;var t},forEach:function(e){for(var t=0;t<this.array.length;t++)e(this.array[t],t)}};var k="undefined"!==typeof window?window:{};var w,E=function(){var e=k.DOMParser,t=!1;try{(new e).parseFromString("","text/html")&&(t=!0)}catch(n){}return t}()?k.DOMParser:function(){var e=function(){};return!function(){var e=!1;try{document.implementation.createHTMLDocument("").open()}catch(t){window.ActiveXObject&&(e=!0)}return e}()?e.prototype.parseFromString=function(e){var t=document.implementation.createHTMLDocument("");return t.open(),t.write(e),t.close(),t}:e.prototype.parseFromString=function(e){var t=new window.ActiveXObject("htmlfile");return t.designMode="on",t.open(),t.write(e),t.close(),t},e}();function M(e,t){var n;"string"===typeof e?n=(w=w||new E).parseFromString('<x-turndown id="turndown-root">'+e+"</x-turndown>","text/html").getElementById("turndown-root"):n=e.cloneNode(!0);return function(e){var t=e.element,n=e.isBlock,r=e.isVoid,o=e.isPre||function(e){return"PRE"===e.nodeName};if(t.firstChild&&!o(t)){for(var i=null,a=!1,s=null,l=x(s,t,o);l!==t;){if(3===l.nodeType||4===l.nodeType){var c=l.data.replace(/[ \r\n\t]+/g," ");if(i&&!/ $/.test(i.data)||a||" "!==c[0]||(c=c.substr(1)),!c){l=b(l);continue}l.data=c,i=l}else{if(1!==l.nodeType){l=b(l);continue}n(l)||"BR"===l.nodeName?(i&&(i.data=i.data.replace(/ $/,"")),i=null,a=!1):r(l)||o(l)?(i=null,a=!0):i&&(a=!1)}var u=x(s,l,o);s=l,l=u}i&&(i.data=i.data.replace(/ $/,""),i.data||b(i))}}({element:n,isBlock:l,isVoid:u,isPre:t.preformattedCode?S:null}),n}
1function S(e){return"PRE"===e.nodeName||"CODE"===e.nodeName}function C(e,t){return e.isBlock=l(e),e.isCode="CODE"===e.nodeName||e.parentNode.isCode,e.isBlank=function(e){return!u(e)&&!function(e){return p(e,d)}(e)&&/^\s*$/i.test(e.textContent)&&!function(e){return h(e,c)}(e)&&!function(e){return h(e,d)}(e)}(e),e.flankingWhitespace=function(e,t){if(e.isBlock||t.preformattedCode&&e.isCode)return{leading:"",trailing:""};var n=function(e){var t=e.match(/^(([ \t\r\n]*)(\s*))(?:(?=\S)[\s\S]*\S)?((\s*?)([ \t\r\n]*))$/);return{leading:t[1],leadingAscii:t[2],leadingNonAscii:t[3],trailing:t[4],trailingNonAscii:t[5],trailingAscii:t[6]}}(e.textContent);n.leadingAscii&&O("left",e,t)&&(n.leading=n.leadingNonAscii);n.trailingAscii&&O("right",e,t)&&(n.trailing=n.trailingNonAscii);return{leading:n.leading,trailing:n.trailing}}(e,t),e}function O(e,t,n){var r,o,i;return"left"===e?(r=t.previousSibling,o=/ $/):(r=t.nextSibling,o=/^ /),r&&(3===r.nodeType?i=o.test(r.nodeValue):n.preformattedCode&&"CODE"===r.nodeName?i=!1:1!==r.nodeType||l(r)||(i=o.test(r.textContent))),i}var T=Array.prototype.reduce,A=[[/\\/g,"\\\\"],[/\*/g,"\\*"],[/^-/g,"\\-"],[/^\+ /g,"\\+ "],[/^(=+)/g,"\\$1"],[/^(#{1,6}) /g,"\\$1 "],[/`/g,"\\`"],[/^~~~/g,"\\~~~"],[/\[/g,"\\["],[/\]/g,"\\]"],[/^>/g,"\\>"],[/_/g,"\\_"],[/^(\d+)\. /g,"$1\\. "]];function R(e){if(!(this instanceof R))return new R(e);var t={rules:f,headingStyle:"setext",hr:"* * *",bulletListMarker:"*",codeBlockStyle:"indented",fence:"```",emDelimiter:"_",strongDelimiter:"**",linkStyle:"inlined",linkReferenceStyle:"full",br:"  ",preformattedCode:!1,blankReplacement:function(e,t){return t.isBlock?"\n\n":""},keepReplacement:function(e,t){return t.isBlock?"\n\n"+t.outerHTML+"\n\n":t.outerHTML},defaultReplacement:function(e,t){return t.isBlock?"\n\n"+e+"\n\n":e}};this.options=function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}return e}({},t,e),this.rules=new g(this.options)}function z(e){var t=this;return T.call(e.childNodes,(function(e,n){var r="";return 3===(n=new C(n,t.options)).nodeType?r=n.isCode?n.nodeValue:t.escape(n.nodeValue):1===n.nodeType&&(r=_.call(t,n)),H(e,r)}),"")}function L(e){var t=this;
1return this.rules.forEach((function(n){"function"===typeof n.append&&(e=H(e,n.append(t.options)))})),e.replace(/^[\t\r\n]+/,"").replace(/[\t\r\n\s]+$/,"")}function _(e){var t=this.rules.forNode(e),n=z.call(this,e),r=e.flankingWhitespace;return(r.leading||r.trailing)&&(n=n.trim()),r.leading+t.replacement(n,e,this.options)+r.trailing}function H(e,t){var n=function(e){for(var t=e.length;t>0&&"\n"===e[t-1];)t--;return e.substring(0,t)}(e),r=t.replace(/^\n*/,""),o=Math.max(e.length-n.length,t.length-r.length);return n+"\n\n".substring(0,o)+r}R.prototype={turndown:function(e){if(!function(e){return null!=e&&("string"===typeof e||e.nodeType&&(1===e.nodeType||9===e.nodeType||11===e.nodeType))}(e))throw new TypeError(e+" is not a string, or an element/document/fragment node.");if(""===e)return"";var t=z.call(this,new M(e,this.options));return L.call(this,t)},use:function(e){if(Array.isArray(e))for(var t=0;t<e.length;t++)this.use(e[t]);else{if("function"!==typeof e)throw new TypeError("plugin must be a Function or an Array of Functions");e(this)}return this},addRule:function(e,t){return this.rules.add(e,t),this},keep:function(e){return this.rules.keep(e),this},remove:function(e){return this.rules.remove(e),this},escape:function(e){return A.reduce((function(e,t){return e.replace(t[0],t[1])}),e)}};var N=R,P=n(57555),I=n(27398);function D(){return{async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,hooks:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}let $={async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,hooks:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1};const V=/[&<>"']/,j=new RegExp(V.source,"g"),B=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,F=new RegExp(B.source,"g"),W={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},U=e=>W[e];function K(e,t){if(t){if(V.test(e))return e.replace(j,U)}else if(B.test(e))return e.replace(F,U);return e}const G=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function q(e){return e.replace(G,((e,t)=>"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""))}const X=/(^|[^\[])\^/g;function Y(e,t){e="string"===typeof e?e:e.source,t=t||"";const n={replace:(t,r)=>(r=(r=r.source||r).replace(X,"$1"),e=e.replace(t,r),n),getRegex:()=>new RegExp(e,t)};return n}const Z=/[^\w:]/g,Q=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function J(e,t,n){if(e){let e;try{e=decodeURIComponent(q(n)).replace(Z,"").toLowerCase()}catch(r){return null}if(0===e.indexOf("javascript:")||0===e.indexOf("vbscript:")||0===e.indexOf("data:"))return null}t&&!Q.test(n)&&(n=function(e,t){ee[" "+e]||(te.test(e)?ee[" "+e]=e+"/":ee[" "+e]=ae(e,"/",!0));const n=-1===(e=ee[" "+e]).indexOf(":");return"//"===t.substring(0,2)?n?t:e.replace(ne,"$1")+t:"/"===t.charAt(0)?n?t:e.replace(re,"$1")+t:e+t}(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(r){return null}return n}const ee={},te=/^[^:]+:\/*[^/]*$/,ne=/^([^:]+:)[\s\S]*$/,re=/^([^:]+:\/*[^/]*)[\s\S]*$/;const oe={exec:function(){}};function ie(e,t){const n=e.replace(/\|/g,((e,t,n)=>{let r=!1,o=t;for(;--o>=0&&"\\"===n[o];)r=!r;return r?"|":" |"})).split(/ \|/);let r=0;if(n[0].trim()||n.shift(),n.length>0&&!n[n.length-1].trim()&&n.pop(),n.length>t)n.splice(t);else for(;n.length<t;)n.push("");for(;r<n.length;r++)n[r]=n[r].trim().replace(/\\\|/g,"|");return n}function ae(e,t,n){const r=e.length;if(0===r)return"";let o=0;for(;o<r;){const i=e.charAt(r-o-1);if(i!==t||n){if(i===t||!n)break;o++}else o++}return e.slice(0,r-o)}function se(e,t){if(t<1)return"";let n="";for(;t>1;)1&t&&(n+=e),t>>=1,e+=e;return n+e}function le(e,t,n,r){const o=t.href,i=t.title?K(t.title):null,a=e[1].replace(/\\([\[\]])/g,"$1");if("!"!==e[0].charAt(0)){r.state.inLink=!0;const e={type:"link",raw:n,href:o,title:i,text:a,tokens:r.inlineTokens(a)};return r.state.inLink=!1,e}return{type:"image",raw:n,href:o,title:i,text:K(a)}}class ce{constructor(e){this.options=e||$}space(e){const t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){const t=this.rules.block.code.exec(e);if(t){const e=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?e:ae(e,"\n")}}}fences(e){const t=this.rules.block.fences.exec(e);if(t){const e=t[0],n=function(e,t){const n=e.match(/^(\s+)(?:```)/);if(null===n)return t;const r=n[1];return t.split("\n").map((e=>{const t=e.match(/^\s+/);if(null===t)return e;const[n]=t;return n.length>=r.length?e.slice(r.length):e})).join("\n")}(e,t[3]||"");return{type:"code",raw:e,lang:t[2]?t[2].trim().replace(this.rules.inline._escapes,"$1"):t[2],text:n}}}heading(e){const t=this.rules.block.heading.exec(e);if(t){let e=t[2].trim();if(/#$/.test(e)){const t=ae(e,"#");this.options.pedantic?e=t.trim():t&&!/ $/.test(t)||(e=t.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(e){const t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}}blockquote(e){const t=this.rules.block.blockquote.exec(e);if(t){const e=t[0].replace(/^ *>[ \t]?/gm,""),n=this.lexer.state.top;this.lexer.state.top=!0;const r=this.lexer.blockTokens(e);return this.lexer.state.top=n,{type:"blockquote",raw:t[0],tokens:r,text:e}}}list(e){let t=this.rules.block.list.exec(e);if(t){let n,r,o,i,a,s,l,c,u,d,p,h,f=t[1].trim();const m=f.length>1,g={type:"list",raw:"",ordered:m,start:m?+f.slice(0,-1):"",loose:!1,items:[]};f=m?`\\d{1,9}\\${f.slice(-1)}`:`\\${f}`,this.options.pedantic&&(f=m?f:"[*+-]");const v=new RegExp(`^( {0,3}${f})((?:[\t ][^\\n]*)?(?:\\n|$))`);for(;e&&(h=!1,t=v.exec(e))&&!this.rules.block.hr.test(e);){if(n=t[0],e=e.substring(n.length),c=t[2].split("\n",1)[0].replace(/^\t+/,(e=>" ".repeat(3*e.length))),u=e.split("\n",1)[0],this.options.pedantic?(i=2,p=c.trimLeft()):(i=t[2].search(/[^ ]/),i=i>4?1:i,p=c.slice(i),i+=t[1].length),s=!1,!c&&/^ *$/.test(u)&&(n+=u+"\n",e=e.substring(u.length+1),h=!0),!h){const t=new RegExp(`^ {0,${Math.min(3,i-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))`),r=new RegExp(`^ {0,${Math.min(3,i-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),o=new RegExp(`^ {0,${Math.min(3,i-1)}}(?:\`\`\`|~~~)`),a=new RegExp(`^ {0,${Math.min(3,i-1)}}#`);for(;e&&(d=e.split("\n",1)[0],u=d,this.options.pedantic&&(u=u.replace(/^ {1,4}(?=( {4}
vendor: 4,642 bytes, line 1
1)*[^ ])/g,"  ")),!o.test(u))&&!a.test(u)&&!t.test(u)&&!r.test(e);){if(u.search(/[^ ]/)>=i||!u.trim())p+="\n"+u.slice(i);else{if(s)break;if(c.search(/[^ ]/)>=4)break;if(o.test(c))break;if(a.test(c))break;if(r.test(c))break;p+="\n"+u}s||u.trim()||(s=!0),n+=d+"\n",e=e.substring(d.length+1),c=u.slice(i)}}g.loose||(l?g.loose=!0:/\n *\n *$/.test(n)&&(l=!0)),this.options.gfm&&(r=/^\[[ xX]\] /.exec(p),r&&(o="[ ] "!==r[0],p=p.replace(/^\[[ xX]\] +/,""))),g.items.push({type:"list_item",raw:n,task:!!r,checked:o,loose:!1,text:p}),g.raw+=n}g.items[g.items.length-1].raw=n.trimRight(),g.items[g.items.length-1].text=p.trimRight(),g.raw=g.raw.trimRight();const y=g.items.length;for(a=0;a<y;a++)if(this.lexer.state.top=!1,g.items[a].tokens=this.lexer.blockTokens(g.items[a].text,[]),!g.loose){const e=g.items[a].tokens.filter((e=>"space"===e.type)),t=e.length>0&&e.some((e=>/\n.*\n/.test(e.raw)));g.loose=t}if(g.loose)for(a=0;a<y;a++)g.items[a].loose=!0;return g}}html(e){const t=this.rules.block.html.exec(e);if(t){const e={type:"html",raw:t[0],pre:!this.options.sanitizer&&("pre"===t[1]||"script"===t[1]||"style"===t[1]),text:t[0]};if(this.options.sanitize){const n=this.options.sanitizer?this.options.sanitizer(t[0]):K(t[0]);e.type="paragraph",e.text=n,e.tokens=this.lexer.inline(n)}return e}}def(e){const t=this.rules.block.def.exec(e);if(t){const e=t[1].toLowerCase().replace(/\s+/g," "),n=t[2]?t[2].replace(/^<(.*)>$/,"$1").replace(this.rules.inline._escapes,"$1"):"",r=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline._escapes,"$1"):t[3];return{type:"def",tag:e,raw:t[0],href:n,title:r}}}table(e){const t=this.rules.block.table.exec(e);if(t){const e={type:"table",header:ie(t[1]).map((e=>({text:e}))),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split("\n"):[]};if(e.header.length===e.align.length){e.raw=t[0];let n,r,o,i,a=e.align.length;for(n=0;n<a;n++)/^ *-+: *$/.test(e.align[n])?e.align[n]="right":/^ *:-+: *$/.test(e.align[n])?e.align[n]="center":/^ *:-+ *$/.test(e.align[n])?e.align[n]="left":e.align[n]=null;for(a=e.rows.length,n=0;n<a;n++)e.rows[n]=ie(e.rows[n],e.header.length).map((e=>({text:e})));for(a=e.header.length,r=0;r<a;r++)e.header[r].tokens=this.lexer.inline(e.header[r].text);for(a=e.rows.length,r=0;r<a;r++)for(i=e.rows[r],o=0;o<i.length;o++)i[o].tokens=this.lexer.inline(i[o].text);return e}}}lheading(e){const t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}paragraph(e){const t=this.rules.block.paragraph.exec(e);if(t){const e="\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:e,tokens:this.lexer.inline(e)}}}text(e){const t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){const t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:K(t[1])}}tag(e){const t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&/^<a /i.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):K(t[0]):t[0]}}link(e){const t=this.rules.inline.link.exec(e);if(t){const e=t[2].trim();if(!this.options.pedantic&&/^</.test(e)){if(!/>$/.test(e))return;const t=ae(e.slice(0,-1),"\\");if((e.length-t.length)%2===0)return}else{const e=function(e,t){if(-1===e.indexOf(t[1]))return-1;const n=e.length;let r=0,o=0;for(;o<n;o++)if("\\"===e[o])o++;else if(e[o]===t[0])r++;else if(e[o]===t[1]&&(r--,r<0))return o;return-1}(t[2],"()");if(e>-1){const n=(0===t[0].indexOf("!")?5:4)+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,n).trim(),t[3]=""}}let n=t[2],r="";if(this.options.pedantic){const e=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(n);e&&(n=e[1],r=e[3])}else r=t[3]?t[3].slice(1,-1):"";return n=n.trim(),/^</.test(n)&&(n=this.options.pedantic&&!/>$/.test(e)?n.slice(1):n.slice(1,-1)),le(t,{href:n?n.replace(this.rules.inline._escapes,"$1"):n,title:r?r.replace(this.rules.inline._escapes,"$1"):r},t[0],this.lexer)}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){let e=(n[2]||n[1]).replace(/\s+/g," ");
vendor: 26,527 bytes, line 1
1if(e=t[e.toLowerCase()],!e){const e=n[0].charAt(0);return{type:"text",raw:e,text:e}}return le(n,e,n[0],this.lexer)}}emStrong(e,t,n=""){let r=this.rules.inline.emStrong.lDelim.exec(e);if(!r)return;if(r[3]&&n.match(/[\p{L}\p{N}]/u))return;const o=r[1]||r[2]||"";if(!o||o&&(""===n||this.rules.inline.punctuation.exec(n))){const n=r[0].length-1;let o,i,a=n,s=0;const l="*"===r[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(l.lastIndex=0,t=t.slice(-1*e.length+n);null!=(r=l.exec(t));){if(o=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!o)continue;if(i=o.length,r[3]||r[4]){a+=i;continue}if((r[5]||r[6])&&n%3&&!((n+i)%3)){s+=i;continue}if(a-=i,a>0)continue;i=Math.min(i,i+a+s);const t=e.slice(0,n+r.index+(r[0].length-o.length)+i);if(Math.min(n,i)%2){const e=t.slice(1,-1);return{type:"em",raw:t,text:e,tokens:this.lexer.inlineTokens(e)}}const l=t.slice(2,-2);return{type:"strong",raw:t,text:l,tokens:this.lexer.inlineTokens(l)}}}}codespan(e){const t=this.rules.inline.code.exec(e);if(t){let e=t[2].replace(/\n/g," ");const n=/[^ ]/.test(e),r=/^ /.test(e)&&/ $/.test(e);return n&&r&&(e=e.substring(1,e.length-1)),e=K(e,!0),{type:"codespan",raw:t[0],text:e}}}br(e){const t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){const t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e,t){const n=this.rules.inline.autolink.exec(e);if(n){let e,r;return"@"===n[2]?(e=K(this.options.mangle?t(n[1]):n[1]),r="mailto:"+e):(e=K(n[1]),r=e),{type:"link",raw:n[0],text:e,href:r,tokens:[{type:"text",raw:e,text:e}]}}}url(e,t){let n;if(n=this.rules.inline.url.exec(e)){let e,r;if("@"===n[2])e=K(this.options.mangle?t(n[0]):n[0]),r="mailto:"+e;else{let t;do{t=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0]}while(t!==n[0]);e=K(n[0]),r="www."===n[1]?"http://"+n[0]:n[0]}return{type:"link",raw:n[0],text:e,href:r,tokens:[{type:"text",raw:e,text:e}]}}}inlineText(e,t){const n=this.rules.inline.text.exec(e);if(n){let e;return e=this.lexer.state.inRawBlock?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(n[0]):K(n[0]):n[0]:K(this.options.smartypants?t(n[0]):n[0]),{type:"text",raw:n[0],text:e}}}}const ue={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:oe,lheading:/^((?:.|\n(?!\n))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\.|[^\[\]\\])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};ue.def=Y(ue.def).replace("label",ue._label).replace("title",ue._title).getRegex(),ue.bullet=/(?:[*+-]|\d{1,9}[.)])/,ue.listItemStart=Y(/^( *)(bull) */).replace("bull",ue.bullet).getRegex(),ue.list=Y(ue.list).replace(/bull/g,ue.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+ue.def.source+")").getRegex(),ue._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",ue._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,ue.html=Y(ue.html,"i").replace("comment",ue._comment).replace("tag",ue._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),ue.paragraph=Y(ue._paragraph).replace("hr",ue.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",ue._tag).getRegex(),ue.blockquote=Y(ue.blockquote).replace("paragraph",ue.paragraph).getRegex(),ue.normal={...ue},ue.gfm={...ue.normal,table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"},ue.gfm.table=Y(ue.gfm.table).replace("hr",ue.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",ue._tag).getRegex(),ue.gfm.paragraph=Y(ue._paragraph).replace("hr",ue.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",ue.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",ue._tag).getRegex(),ue.pedantic={...ue.normal,html:Y("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",ue._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:oe,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Y(ue.normal._paragraph).replace("hr",ue.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",ue.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()};const de={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:oe,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^(?:[^_*\\]|\\.)*?\_\_(?:[^_*\\]|\\.)*?\*(?:[^_*\\]|\\.)*?(?=\_\_)|(?:[^*\\]|\\.)+(?=[^*])|[punct_](\*+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|(?:[^punct*_\s\\]|\\.)(\*+)(?=[^punct*_\s])/,rDelimUnd:/^(?:[^_*\\]|\\.)*?\*\*(?:[^_*\\]|\\.)*?\_(?:[^_*\\]|\\.)*?(?=\*\*)|(?:[^_\\]|\\.)+(?=[^_])|[punct*](\_+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:oe,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/};function pe(e){return e.replace(/---/g,"\u2014").replace(/--/g,"\u2013").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1\u2018").replace(/'/g,"\u2019").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1\u201c").replace(/"/g,"\u201d").replace(/\.{3}/g,"\u2026")}function he(e){let t,n,r="";const o=e.length;for(t=0;t<o;t++)n=e.charCodeAt(t),Math.random()>.5&&(n="x"+n.toString(16)),r+="&#"+n+";";return r}de._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",de.punctuation=Y(de.punctuation).replace(/punctuation/g,de._punctuation).getRegex(),de.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,de.escapedEmSt=/(?:^|[^\\])(?:\\\\)*\\[*_]/g,de._comment=Y(ue._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),de.emStrong.lDelim=Y(de.emStrong.lDelim).replace(/punct/g,de._punctuation).getRegex(),de.emStrong.rDelimAst=Y(de.emStrong.rDelimAst,"g").replace(/punct/g,de._punctuation).getRegex(),de.emStrong.rDelimUnd=Y(de.emStrong.rDelimUnd,"g").replace(/punct/g,de._punctuation).getRegex(),de._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,de._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,de._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,de.autolink=Y(de.autolink).replace("scheme",de._scheme).replace("email",de._email).getRegex(),de._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,de.tag=Y(de.tag).replace("comment",de._comment).replace("attribute",de._attribute).getRegex(),de._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,de._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,de._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,de.link=Y(de.link).replace("label",de._label).replace("href",de._href).replace("title",de._title).getRegex(),de.reflink=Y(de.reflink).replace("label",de._label).replace("ref",ue._label).getRegex(),de.nolink=Y(de.nolink).replace("ref",ue._label).getRegex(),de.reflinkSearch=Y(de.reflinkSearch,"g").replace("reflink",de.reflink).replace("nolink",de.nolink).getRegex(),de.normal={...de},de.pedantic={...de.normal,strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:Y(/^!?\[(label)\]\((.*?)\)/).replace("label",de._label).getRegex(),reflink:Y(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",de._label).getRegex()},de.gfm={...de.normal,escape:Y(de.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},de.gfm.url=Y(de.gfm.url,"i").replace("email",de.gfm._extended_email).getRegex(),de.breaks={...de.gfm,br:Y(de.br).replace("{2,}","*").getRegex(),text:Y(de.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()};class fe{constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||$,this.options.tokenizer=this.options.tokenizer||new ce,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const t={block:ue.normal,inline:de.normal};this.options.pedantic?(t.block=ue.pedantic,t.inline=de.pedantic):this.options.gfm&&(t.block=ue.gfm,this.options.breaks?t.inline=de.breaks:t.inline=de.gfm),this.tokenizer.rules=t}static get rules(){return{block:ue,inline:de}}static lex(e,t){return new fe(t).lex(e)}static lexInline(e,t){return new fe(t).inlineTokens(e)}lex(e){let t;for(e=e.replace(/\r\n|\r/g,"\n"),this.blockTokens(e,this.tokens);t=this.inlineQueue.shift();)this.inlineTokens(t.src,t.tokens);return this.tokens}blockTokens(e,t=[]){let n,r,o,i;for(e=this.options.pedantic?e.replace(/\t/g,"    ").replace(/^ +$/gm,""):e.replace(/^( *)(\t+)/gm,((e,t,n)=>t+"    ".repeat(n.length)));e;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some((r=>!!(n=r.call({lexer:this},e,t))&&(e=e.substring(n.raw.length),t.push(n),!0)))))if(n=this.tokenizer.space(e))e=e.substring(n.raw.length),1===n.raw.length&&t.length>0?t[t.length-1].raw+="\n":t.push(n);else if(n=this.tokenizer.code(e))e=e.substring(n.raw.length),r=t[t.length-1],!r||"paragraph"!==r.type&&"text"!==r.type?t.push(n):(r.raw+="\n"+n.raw,r.text+="\n"+n.text,this.inlineQueue[this.inlineQueue.length-1].src=r.text);else if(n=this.tokenizer.fences(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.heading(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.hr(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.blockquote(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.list(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.html(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.def(e))e=e.substring(n.raw.length),r=t[t.length-1],!r||"paragraph"!==r.type&&"text"!==r.type?this.tokens.links[n.tag]||(this.tokens.links[n.tag]={href:n.href,title:n.title}):(r.raw+="\n"+n.raw,r.text+="\n"+n.raw,this.inlineQueue[this.inlineQueue.length-1].src=r.text);else if(n=this.tokenizer.table(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.lheading(e))e=e.substring(n.raw.length),t.push(n);else{if(o=e,this.options.extensions&&this.options.extensions.startBlock){let t=1/0;const n=e.slice(1);let r;this.options.extensions.startBlock.forEach((function(e){r=e.call({lexer:this},n),"number"===typeof r&&r>=0&&(t=Math.min(t,r))})),t<1/0&&t>=0&&(o=e.substring(0,t+1))}if(this.state.top&&(n=this.tokenizer.paragraph(o)))r=t[t.length-1],i&&"paragraph"===r.type?(r.raw+="\n"+n.raw,r.text+="\n"+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=r.text):t.push(n),i=o.length!==e.length,e=e.substring(n.raw.length);else if(n=this.tokenizer.text(e))e=e.substring(n.raw.length),r=t[t.length-1],r&&"text"===r.type?(r.raw+="\n"+n.raw,r.text+="\n"+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=r.text):t.push(n);else if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){let n,r,o,i,a,s,l=e;if(this.tokens.links){const e=Object.keys(this.tokens.links);if(e.length>0)for(;null!=(i=this.tokenizer.rules.inline.reflinkSearch.exec(l));)e.includes(i[0].slice(i[0].lastIndexOf("[")+1,-1))&&(l=l.slice(0,i.index)+"["+se("a",i[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(i=this.tokenizer.rules.inline.blockSkip.exec(l));)l=l.slice(0,i.index)+"["+se("a",i[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(i=this.tokenizer.rules.inline.escapedEmSt.exec(l));)l=l.slice(0,i.index+i[0].length-2)+"++"+l.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex),this.tokenizer.rules.inline.escapedEmSt.lastIndex--;for(;e;)if(a||(s=""),a=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some((r=>!!(n=r.call({lexer:this},e,t))&&(e=e.substring(n.raw.length),t.push(n),!0)))))if(n=this.tokenizer.escape(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.tag(e))e=e.substring(n.raw.length),r=t[t.length-1],r&&"text"===n.type&&"text"===r.type?(r.raw+=n.raw,r.text+=n.text):t.push(n);else if(n=this.tokenizer.link(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.reflink(e,this.tokens.links))e=e.substring(n.raw.length),r=t[t.length-1],r&&"text"===n.type&&"text"===r.type?(r.raw+=n.raw,r.text+=n.text):t.push(n);else if(n=this.tokenizer.emStrong(e,l,s))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.codespan(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.br(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.del(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.autolink(e,he))e=e.substring(n.raw.length),t.push(n);else if(this.state.inLink||!(n=this.tokenizer.url(e,he))){if(o=e,this.options.extensions&&this.options.extensions.startInline){let t=1/0;const n=e.slice(1);let r;this.options.extensions.startInline.forEach((function(e){r=e.call({lexer:this},n),"number"===typeof r&&r>=0&&(t=Math.min(t,r))})),t<1/0&&t>=0&&(o=e.substring(0,t+1))}if(n=this.tokenizer.inlineText(o,pe))e=e.substring(n.raw.length),"_"!==n.raw.slice(-1)&&(s=n.raw.slice(-1)),a=!0,r=t[t.length-1],r&&"text"===r.type?(r.raw+=n.raw,r.text+=n.text):t.push(n);else if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}else e=e.substring(n.raw.length),t.push(n);return t}}class me{constructor(e){this.options=e||$}code(e,t,n){const r=(t||"").match(/\S*/)[0];if(this.options.highlight){const t=this.options.highlight(e,r);null!=t&&t!==e&&(n=!0,e=t)}return e=e.replace(/\n$/,"")+"\n",r?'<pre><code class="'+this.options.langPrefix+K(r)+'">'+(n?e:K(e,!0))+"</code></pre>\n":"<pre><code>"+(n?e:K(e,!0))+"</code></pre>\n"}blockquote(e){return`<blockquote>\n${e}</blockquote>\n`}html(e){return e}heading(e,t,n,r){if(this.options.headerIds){return`<h${t} id="${this.options.headerPrefix+r.slug(n)}">${e}</h${t}>\n`}return`<h${t}>${e}</h${t}>\n`}hr(){return this.options.xhtml?"<hr/>\n":"<hr>\n"}list(e,t,n){const r=t?"ol":"ul";return"<"+r+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"</"+r+">\n"}listitem(e){return`<li>${e}</li>\n`}checkbox(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "}paragraph(e){return`<p>${e}</p>\n`}table(e,t){return t&&(t=`<tbody>${t}</tbody>`),"<table>\n<thead>\n"+e+"</thead>\n"+t+"</table>\n"}tablerow(e){return`<tr>\n${e}</tr>\n`}tablecell(e,t){const n=t.header?"th":"td";return(t.align?`<${n} align="${t.align}">`:`<${n}>`)+e+`</${n}>\n`}strong(e){return`<strong>${e}</strong>`}em(e){return`<em>${e}</em>`}codespan(e){return`<code>${e}</code>`}br(){return this.options.xhtml?"<br/>":"<br>"}del(e){return`<del>${e}</del>`}link(e,t,n){if(null===(e=J(this.options.sanitize,this.options.baseUrl,e)))return n;let r='<a href="'+e+'"';return t&&(r+=' title="'+t+'"'),r+=">"+n+"</a>",r}image(e,t,n){if(null===(e=J(this.options.sanitize,this.options.baseUrl,e)))return n;let r=`<img src="${e}" alt="${n}"`;return t&&(r+=` title="${t}"`),r+=this.options.xhtml?"/>":">",r}text(e){return e}}class ge{strong(e){return e}em(e){return e}codespan(e){return e}del(e){return e}html(e){return e}text(e){return e}link(e,t,n){return""+n}image(e,t,n){return""+n}br(){return""}}class ve{constructor(){this.seen={}}serialize(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}getNextSafeSlug(e,t){let n=e,r=0;if(this.seen.hasOwnProperty(n)){r=this.seen[e];do{r++,n=e+"-"+r}while(this.seen.hasOwnProperty(n))}return t||(this.seen[e]=r,this.seen[n]=0),n}slug(e,t={}){const n=this.serialize(e);return this.getNextSafeSlug(n,t.dryrun)}}class ye{constructor(e){this.options=e||$,this.options.renderer=this.options.renderer||new me,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new ge,this.slugger=new ve}static parse(e,t){return new ye(t).parse(e)}static parseInline(e,t){return new ye(t).parseInline(e)}parse(e,t=!0){let n,r,o,i,a,s,l,c,u,d,p,h,f,m,g,v,y,b,x,k="";const w=e.length;for(n=0;n<w;n++)if(d=e[n],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[d.type]&&(x=this.options.extensions.renderers[d.type].call({parser:this},d),!1!==x||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(d.type)))k+=x||"";else switch(d.type){case"space":continue;case"hr":k+=this.renderer.hr();continue;case"heading":k+=this.renderer.heading(this.parseInline(d.tokens),d.depth,q(this.parseInline(d.tokens,this.textRenderer)),this.slugger);continue;case"code":k+=this.renderer.code(d.text,d.lang,d.escaped);continue;case"table":for(c="",l="",i=d.header.length,r=0;r<i;r++)l+=this.renderer.tablecell(this.parseInline(d.header[r].tokens),{header:!0,align:d.align[r]});for(c+=this.renderer.tablerow(l),u="",i=d.rows.length,r=0;r<i;r++){for(s=d.rows[r],l="",a=s.length,o=0;o<a;o++)l+=this.renderer.tablecell(this.parseInline(s[o].tokens),{header:!1,align:d.align[o]});u+=this.renderer.tablerow(l)}k+=this.renderer.table(c,u);continue;case"blockquote":u=this.parse(d.tokens),k+=this.renderer.blockquote(u);continue;case"list":for(p=d.ordered,h=d.start,f=d.loose,i=d.items.length,u="",r=0;r<i;r++)g=d.items[r],v=g.checked,y=g.task,m="",g.task&&(b=this.renderer.checkbox(v),f?g.tokens.length>0&&"paragraph"===g.tokens[0].type?(g.tokens[0].text=b+" "+g.tokens[0].text,g.tokens[0].tokens&&g.tokens[0].tokens.length>0&&"text"===g.tokens[0].tokens[0].type&&(g.tokens[0].tokens[0].text=b+" "+g.tokens[0].tokens[0].text)):g.tokens.unshift({type:"text",text:b}):m+=b),m+=this.parse(g.tokens,f),u+=this.renderer.listitem(m,y,v);k+=this.renderer.list(u,p,h);continue;case"html":k+=this.renderer.html(d.text);continue;case"paragraph":k+=this.renderer.paragraph(this.parseInline(d.tokens));continue;case"text":for(u=d.tokens?this.parseInline(d.tokens):d.text;n+1<w&&"text"===e[n+1].type;)d=e[++n],u+="\n"+(d.tokens?this.parseInline(d.tokens):d.text);k+=t?this.renderer.paragraph(u):u;continue;default:{const e='Token with "'+d.type+'" type was not found.';if(this.options.silent)return void console.error(e);throw new Error(e)}}return k}parseInline(e,t){t=t||this.renderer;let n,r,o,i="";const a=e.length;for(n=0;n<a;n++)if(r=e[n],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[r.type]&&(o=this.options.extensions.renderers[r.type].call({parser:this},r),!1!==o||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(r.type)))i+=o||"";else switch(r.type){case"escape":case"text":i+=t.text(r.text);break;case"html":i+=t.html(r.text);break;case"link":i+=t.link(r.href,r.title,this.parseInline(r.tokens,t));break;case"image":i+=t.image(r.href,r.title,r.text);break;case"strong":i+=t.strong(this.parseInline(r.tokens,t));break;case"em":i+=t.em(this.parseInline(r.tokens,t));break;case"codespan":i+=t.codespan(r.text);break;case"br":i+=t.br();break;case"del":i+=t.del(this.parseInline(r.tokens,t));break;default:{const e='Token with "'+r.type+'" type was not found.';if(this.options.silent)return void console.error(e);throw new Error(e)}}return i}}class be{constructor(e){this.options=e||$}static passThroughHooks=new Set(["preprocess","postprocess"]);preprocess(e){return e}postprocess(e){return e}}function xe(e,t){return(n,r,o)=>{"function"===typeof r&&(o=r,r=null);const i={...r},a=function(e,t,n){return r=>{if(r.message+="\nPlease report this to https://github.com/markedjs/marked.",e){const e="<p>An error occurred:</p><pre>"+K(r.message+"",!0)+"</pre>";return t?Promise.resolve(e):n?void n(null,e):e}if(t)return Promise.reject(r);if(!n)throw r;n(r)}}((r={...ke.defaults,...i}).silent,r.async,o);if("undefined"===typeof n||null===n)return a(new Error("marked(): input parameter is undefined or null"));if("string"!==typeof n)return a(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(n)+", string expected"));if(function(e){e&&e.sanitize&&!e.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}(r),r.hooks&&(r.hooks.options=r),o){const i=r.highlight;let l;try{r.hooks&&(n=r.hooks.preprocess(n)),l=e(n,r)}catch(s){return a(s)}const c=function(e){let n;if(!e)try{r.walkTokens&&ke.walkTokens(l,r.walkTokens),n=t(l,r),r.hooks&&(n=r.hooks.postprocess(n))}catch(s){e=s}return r.highlight=i,e?a(e):o(null,n)};if(!i||i.length<3)return c();if(delete r.highlight,!l.length)return c();let u=0;return ke.walkTokens(l,(function(e){"code"===e.type&&(u++,setTimeout((()=>{i(e.text,e.lang,(function(t,n){if(t)return c(t);null!=n&&n!==e.text&&(e.text=n,e.escaped=!0),u--,0===u&&c()}))}),0))})),void(0===u&&c())}if(r.async)return Promise.resolve(r.hooks?r.hooks.preprocess(n):n).then((t=>e(t,r))).then((e=>r.walkTokens?Promise.all(ke.walkTokens(e,r.walkTokens)).then((()=>e)):e)).then((e=>t(e,r))).then((e=>r.hooks?r.hooks.postprocess(e):e)).catch(a);try{r.hooks&&(n=r.hooks.preprocess(n));const o=e(n,r);r.walkTokens&&ke.walkTokens(o,r.walkTokens);let i=t(o,r);return r.hooks&&(i=r.hooks.postprocess(i)),i}catch(s){return a(s)}}}function ke(e,t,n){return xe(fe.lex,ye.parse)(e,t,n)}ke.options=ke.setOptions=function(e){var t;return ke.defaults={...ke.defaults,...e},t=ke.defaults,$=t,ke},ke.getDefaults=D,ke.defaults=$,ke.use=function(...e){const t=ke.defaults.extensions||{renderers:{},childTokens:{}};e.forEach((e=>{const n={...e};if(n.async=ke.defaults.async||n.async||!1,e.extensions&&(e.extensions.forEach((e=>{if(!e.name)throw new Error("extension name required");if(e.renderer){const n=t.renderers[e.name];t.renderers[e.name]=n?function(...t){let r=e.renderer.apply(this,t);return!1===r&&(r=n.apply(this,t)),r}:e.renderer}if(e.tokenizer){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw new Error("extension level must be 'block' or 'inline'");t[e.level]?t[e.level].unshift(e.tokenizer):t[e.level]=[e.tokenizer],e.start&&("block"===e.level?t.startBlock?t.startBlock.push(e.start):t.startBlock=[e.start]:"inline"===e.level&&(t.startInline?t.startInline.push(e.start):t.startInline=[e.start]))}e.childTokens&&(t.childTokens[e.name]=e.childTokens)})),n.extensions=t),e.renderer){const t=ke.defaults.renderer||new me;for(const n in e.renderer){const r=t[n];t[n]=(...o)=>{let i=e.renderer[n].apply(t,o);return!1===i&&(i=r.apply(t,o)),i}}n.renderer=t}if(e.tokenizer){const t=ke.defaults.tokenizer||new ce;for(const n in e.tokenizer){const r=t[n];t[n]=(...o)=>{let i=e.tokenizer[n].apply(t,o);return!1===i&&(i=r.apply(t,o)),i}}n.tokenizer=t}if(e.hooks){const t=ke.defaults.hooks||new be;for(const n in e.hooks){const r=t[n];be.passThroughHooks.has(n)?t[n]=o=>
1{if(ke.defaults.async)return Promise.resolve(e.hooks[n].call(t,o)).then((e=>r.call(t,e)));const i=e.hooks[n].call(t,o);return r.call(t,i)}:t[n]=(...o)=>{let i=e.hooks[n].apply(t,o);return!1===i&&(i=r.apply(t,o)),i}}n.hooks=t}if(e.walkTokens){const t=ke.defaults.walkTokens;n.walkTokens=function(n){let r=[];return r.push(e.walkTokens.call(this,n)),t&&(r=r.concat(t.call(this,n))),r}}ke.setOptions(n)}))},ke.walkTokens=function(e,t){let n=[];for(const r of e)switch(n=n.concat(t.call(ke,r)),r.type){case"table":for(const e of r.header)n=n.concat(ke.walkTokens(e.tokens,t));for(const e of r.rows)for(const r of e)n=n.concat(ke.walkTokens(r.tokens,t));break;case"list":n=n.concat(ke.walkTokens(r.items,t));break;default:ke.defaults.extensions&&ke.defaults.extensions.childTokens&&ke.defaults.extensions.childTokens[r.type]?ke.defaults.extensions.childTokens[r.type].forEach((function(e){n=n.concat(ke.walkTokens(r[e],t))})):r.tokens&&(n=n.concat(ke.walkTokens(r.tokens,t)))}return n},ke.parseInline=xe(fe.lexInline,ye.parseInline),ke.Parser=ye,ke.parser=ye.parse,ke.Renderer=me,ke.TextRenderer=ge,ke.Lexer=fe,ke.lexer=fe.lex,ke.Tokenizer=ce,ke.Slugger=ve,ke.Hooks=be,ke.parse=ke;ke.options,ke.setOptions,ke.use,ke.walkTokens,ke.parseInline;var we=Object.defineProperty,Ee=Object.getOwnPropertyDescriptor,Me=(e,t,n,r)=>{for(var o,i=r>1?void 0:r?Ee(t,n):t,a=e.length-1;a>=0;a--)(o=e[a])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&we(t,n,i),i};function Se(e){const t=e.parentNode;if(!(0,I.jd)(t))return!1;if("THEAD"===t.nodeName)return!0;if("TABLE"!==t.nodeName&&!Oe(t))return!1;const n=[...e.childNodes];return n.every((e=>"TH"===e.nodeName))&&n.some((e=>!!e.textContent))}function Ce(e){return(0,I.jd)(e)&&e.matches("th[data-controller-cell]")}function Oe(e){var t;if("TBODY"!==e.nodeName)return!1;const n=e.previousSibling;return!n||(0,I.jd)(n)&&"THEAD"===n.nodeName&&!(null==(t=n.textContent)?void 0:t.trim())}function Te(e){const t=e.closest("table");if(!t)return!1;const{parentNode:n}=t;return!n||!!n.closest("table")}function Ae(e,t){var n;const r=[];for(const o of(null==(n=t.parentNode)?void 0:n.childNodes)??[])Ce(o)||r.push(o);return`${(0===r.indexOf(t)?"| ":" ")+e.trim()} |`}var Re=new((0,P.bH)(N))({codeBlockStyle:"fenced",headingStyle:"atx"}).addRule("taskListItems",{filter:e=>"LI"===e.nodeName&&e.hasAttribute("data-task-list-item"),replacement:(e,t)=>`- ${t.hasAttribute("data-checked")?"[x]":"[ ]"} ${e.trimStart()}`}).addRule("tableCell",{filter:["th","td"],replacement:(e,t)=>Ce(t)?"":Ae(e,t)}).addRule("tableRow",{filter:"tr",replacement:(e,t)=>{let n="";const r={left:":--",right:"--:",center:":-:"},o=[...t.childNodes].filter((e=>!Ce(e)));if(Se(t))for(const i of o){if(!(0,I.jd)(i))continue;let e="---";const t=(i.getAttribute("align")??"").toLowerCase();t&&(e=r[t]||e),n+=Ae(e,i)}return`\n${e}${n?`\n${n}`:""}`}}).addRule("table",{filter:e=>{if("TABLE"!==e.nodeName)return!1;if(Te(e))return!1;return Se([...e.rows].filter((e=>!function(e){const t=e.parentNode;return!!(0,I.jd)(t)&&(!("TABLE"!==t.nodeName&&!Oe(t))&&[...e.childNodes].every((e=>Ce(e))))}(e)))[0])},replacement:e=>`\n\n${e=e.replace("\n\n","\n")}\n\n`}).addRule("tableSection",{filter:["thead","tbody","tfoot"],replacement:function(e){return e}}).keep((e=>"TABLE"===e.nodeName&&!Se(e.rows[0]))).keep((e=>"TABLE"===e.nodeName&&Te(e))).addRule("strikethrough",{filter:["del","s","strike"],replacement:function(e){return`~${e}~`}}).addRule("fencedCodeBlock",{filter:(e,t)=>!("fenced"!==t.codeBlockStyle||"PRE"!==e.nodeName||!e.firstChild||"CODE"!==e.firstChild.nodeName),replacement:(e,t,n)=>{var r,i;
1(0,P.kG)((0,I.jd)(t.firstChild),{code:o.mA.EXTENSION,message:`Invalid node \`${null==(r=t.firstChild)?void 0:r.nodeName}\` encountered for codeblock when converting html to markdown.`});const a=(null==(i=(t.firstChild.getAttribute("class")??"").match(/(?:lang|language)-(\S+)/))?void 0:i[1])??t.firstChild.getAttribute("data-code-block-language")??"";return`\n\n${n.fence}${a}\n${t.firstChild.textContent}\n${n.fence}\n\n`}});function ze(e){if(!(0,I.Q$)(e)){if(!(0,I.jd)(e)||/^(script|iframe|object|embed|svg)$/i.test(e.tagName))return null==e?void 0:e.remove();for(const{name:t}of e.attributes)/^(class|id|name|href|src|alt|align|valign)$/i.test(t)||e.attributes.removeNamedItem(t);for(const t of e.childNodes)ze(t)}}ke.use({renderer:{list(e,t,n){if(t){return`<ol ${1!==n?`start="${n}"`:""}>\n${e}</ol>\n`}return`<ul ${e.startsWith("<li data-task-list-item ")?"data-task-list":""}>\n${e}</ul>\n`},listitem(e,t,n){if(!t)return`<li>${e}</li>\n`;return`<li data-task-list-item ${n?"data-checked":""}>${e}</li>\n`}}});var Le=class extends r.nNj{get name(){return"markdown"}onCreate(){this.store.setStringHandler("markdown",this.markdownToProsemirrorNode.bind(this))}createPlugin(){return{props:{clipboardTextSerializer:this.options.copyAsMarkdown?e=>{const t=document.createElement("div"),n=i.PW.fromSchema(this.store.schema);return t.append(n.serializeFragment(e.content)),this.options.htmlToMarkdown(t.innerHTML)}:void 0}}}markdownToProsemirrorNode(e){return this.store.stringHandlers.html({...e,content:this.options.markdownToHtml(e.content,this.options.htmlSanitizer)})}insertMarkdown(e,t){return n=>{const{state:r}=n;let o=this.options.markdownToHtml(e,this.options.htmlSanitizer);o=!(null==t?void 0:t.alwaysWrapInBlock)&&o.startsWith("<p><")&&o.endsWith("</p>\n")?o.slice(3,-5):`<div>${o}</div>`;const i=this.store.stringHandlers.html({content:o,schema:r.schema,fragment:!0});return this.store.commands.insertNode.original(i,{...t,replaceEmptyParentBlock:!0})(n)}}getMarkdown(e){return this.options.htmlToMarkdown(this.store.helpers.getHTML(e))}toggleBoldMarkdown(){return e=>!1}};Me([(0,r.WDe)()],Le.prototype,"insertMarkdown",1),Me([(0,r._y)()],Le.prototype,"getMarkdown",1),Me([(0,r.WDe)()],Le.prototype,"toggleBoldMarkdown",1),Le=Me([(0,r.AOx)({defaultOptions:{htmlToMarkdown:function(e){return Re.turndown(e)},markdownToHtml:function(e,t){return ke(e,{gfm:!0,smartLists:!0,xhtml:!0,sanitizer:t})},htmlSanitizer:function(e){(0,P.kG)(typeof document,{code:o.mA.EXTENSION,message:"Attempting to sanitize html within a non-browser environment. Please provide your own `sanitizeHtml` method to the `MarkdownExtension`."});const t=(new DOMParser).parseFromString(`<!DOCTYPE html><html><body>${e}</body>`,"text/html");return t.normalize(),ze(t.body),t.body.innerHTML},activeNodes:[o.eX.Code],copyAsMarkdown:!1},staticKeys:["htmlToMarkdown","markdownToHtml","htmlSanitizer"]})],Le)},86945:function(e,t,n){"use strict";n.d(t,{Xf:function(){return A},kl:function(){return R},oI:function(){return N},sX:function(){return T},xv:function(){return V}});var r,o,i,a,s,l,c,u,d,p=n(27398),h=n(48111),f=n(57555),m=n(378),g=n(44573),v=n(27856),y=n(84348),b=n(31026),x=Object.defineProperty,k=Object.getOwnPropertyDescriptor,w=(e,t,n,r)=>{for(var o,i=r>1?void 0:r?k(t,n):t,a=e.length-1;a>=0;a--)(o=e[a])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&x(t,n,i),i},E=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},M=(e,t,n)=>(E(e,t,"read from private field"),n?n.call(e):t.get(e)),S=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},C=(e,t,n,r)=>(E(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),O=class{constructor(e){S(this,r,(0,h.i)()),S(this,o,[]),S(this,i,new Map),S(this,a,[]),S(this,s,!1),S(this,l,void 0),S(this,c,void 0),S(this,u,void 0),S(this,d,void 0),this.addListener=(e,t)=>M(this,r).on(e,t),C(this,l,e),C(this,c,e.getActive),C(this,d,e.getPosition),C(this,u,e.getID),this.hasChanged=e.hasChanged,this.events=e.events??["state","scroll"]}static create(e){return new O(e)}static fromPositioner(e,t){return O.create({...e.basePositioner,...t})}get basePositioner(){return{getActive:M(this,c),getPosition:M(this,d),hasChanged:this.hasChanged,events:this.events,getID:M(this,u)}}onActiveChanged(e){this.recentUpdate=e;const t=M(this,c).call(this,e);C(this,o,t),C(this,i,new Map),C(this,s,!1),C(this,a,[]);const n=[];for(const[r,o]of t.entries()){const t=this.getID(o,r);M(this,a).push(t),n.push({setElement:t=>this.addProps({...e,data:o,element:t},r),id:t,data:o})}
1M(this,r).emit("update",n)}getID(e,t){var n;return(null==(n=M(this,u))?void 0:n.call(this,e,t))??t.toString()}addProps(e,t){if(M(this,s))return;if(M(this,i).set(t,e),M(this,i).size<M(this,o).length)return;const n=[];for(const r of M(this,o).keys()){const e=M(this,i).get(r);(0,f.kG)(e,{code:m.mA.INTERNAL,message:"Something went wrong when retrieving the parameters"});const t=M(this,a)[r];if(!t)return;n.push({position:M(this,d).call(this,e),element:e.element,id:t})}M(this,r).emit("done",n)}clone(e){return O.create({...M(this,l),...(0,f.mf)(e)?e(M(this,l)):e})}active(e){const t=(0,f.mf)(e)?e:()=>e;return this.clone((e=>({getActive:n=>e.getActive(n).filter(t)})))}},T=O;function A(e){const{tr:t,state:n,previousState:r}=e;return!r||(!(!t||!function(e,t=L){const{key:n}=(null==e?void 0:e.getMeta(z))??{};return n===t}(t))||(t?(0,p.yZ)(t):!n.doc.eq(r.doc)||!n.selection.eq(r.selection)))}function R(e,t,n={}){const r=t.getBoundingClientRect(),{accountForPadding:o=!1}=n;let i=0,a=0,s=0,l=0;if((0,p.jd)(t)&&o){const e=Number.parseFloat((0,p.C2)(t,"padding-left").replace("px","")),n=Number.parseFloat((0,p.C2)(t,"padding-right").replace("px","")),r=Number.parseFloat((0,p.C2)(t,"padding-top").replace("px","")),o=Number.parseFloat((0,p.C2)(t,"padding-bottom").replace("px","")),c=Number.parseFloat((0,p.C2)(t,"border-left").replace("px","")),u=Number.parseFloat((0,p.C2)(t,"border-right").replace("px","")),d=Number.parseFloat((0,p.C2)(t,"border-top").replace("px","")),h=Number.parseFloat((0,p.C2)(t,"border-bottom").replace("px","")),f=t.offsetWidth-t.clientWidth,m=t.offsetHeight-t.clientHeight;i+=e+c+("rtl"===t.dir?f:0),a+=n+u+("rtl"===t.dir?0:f),s+=r+d,l+=o+h+m}const c=new DOMRect(r.left+i,r.top+s,r.width-a,r.height-l);for(const[u,d]of[[e.top,e.left],[e.top,e.right],[e.bottom,e.left],[e.bottom,e.right]])if((0,f.uh)(u,c.top,c.bottom)&&(0,f.uh)(d,c.left,c.right))return!0;return!1}r=new WeakMap,o=new WeakMap,i=new WeakMap,a=new WeakMap,s=new WeakMap,l=new WeakMap,c=new WeakMap,u=new WeakMap,d=new WeakMap,T.EMPTY=[];var z="positionerUpdate",L="__all_positioners__",_={y:-999999,x:-999999,width:0,height:0},H={..._,left:-999999,top:-999999,bottom:-999999,right:-999999},N={..._,rect:{...H,toJSON:()=>H},visible:!1},P=T.create({hasChanged:A,getActive(e){const{state:t}=e;if(!(0,p.Ab)(t)||t.selection.$anchor.depth>2)return T.EMPTY;const n=(0,p.Kk)({predicate:e=>e.type.isBlock,selection:t});return n?[n]:T.EMPTY},getPosition(e){const{view:t,data:n}=e,r=t.nodeDOM(n.pos);if(!(0,p.jd)(r))return N;const o=r.getBoundingClientRect(),i=t.dom.getBoundingClientRect(),a=o.height,s=o.width,l=t.dom.scrollLeft+o.left-i.left;return{y:t.dom.scrollTop+o.top-i.top,x:l,height:a,width:s,rect:o,visible:R(o,t.dom)}}}),I=P.clone((({getActive:e})=>({getActive:t=>{const[n]=e(t);return n&&(0,p.mp)(n.node)&&n.node.type===(0,p.JN)(t.state.schema)?[n]:T.EMPTY}})));I.clone((({getPosition:e})=>({getPosition:t=>({...e(t),width:1})}))),I.clone((({getPosition:e})=>({getPosition:t=>{const{width:n,x:r,y:o,height:i}=e(t);return{...e(t),width:1,x:n+r,rect:new DOMRect(n+r,o,1,i)}}})));function D(e){return T.create({hasChanged:A,getActive:t=>{const{state:n,view:r}=t;if(!e(n)||!(0,p.hT)(n.selection))return T.EMPTY;try{const{head:e,anchor:t}=n.selection;return[{from:r.coordsAtPos(t),to:r.coordsAtPos(e)}]}catch{return T.EMPTY}},getPosition(e){const{element:t,data:n,view:r}=e,{from:o,to:i}=n,a=t.offsetParent??r.dom,s=a.getBoundingClientRect(),l=Math.abs(i.bottom-o.top),c=l>o.bottom-o.top,u=Math.min(o.left,i.left),d=Math.min(o.top,i.top),p=a.scrollLeft+(c?i.left-s.left:u-s.left),h=a.scrollTop+d-s.top,f=c?1:Math.abs(o.left-i.right),m=new DOMRect(c?i.left:u,d,f,l);return{rect:m,y:h,x:p,height:l,width:f,visible:R(m,r.dom)}}})}var $=D((e=>!e.selection.empty));D((e=>e.selection.empty)),D((()=>!0)),$.clone((()=>({getActive:e=>{const{state:t,view:n}=e;if(!t.selection.empty)return T.EMPTY;const r=(0,p.JM)(t);if(!r)return T.EMPTY;try{return[{from:n.coordsAtPos(r.from),to:n.coordsAtPos(r.to)}]}catch{return T.EMPTY}}})));var V=class extends g.nNj{constructor(){super(...arguments),this.positioners=[],this.onAddCustomHandler=({positioner:e})=>
1{if(e)return this.positioners=[...this.positioners,e],this.store.commands.forceUpdate(),()=>{this.positioners=this.positioners.filter((t=>t!==e))}}}get name(){return"positioner"}createAttributes(){return{class:b.bu.EDITOR}}init(){this.onScroll=(0,v.D)(this.options.scrollDebounce,this.onScroll.bind(this))}createEventHandlers(){return{scroll:()=>(this.onScroll(),!1),hover:(e,t)=>(this.positioner(this.getBaseProps("hover",{hover:t})),!1),contextmenu:(e,t)=>(this.positioner(this.getBaseProps("contextmenu",{contextmenu:t})),!1)}}onStateUpdate(e){this.positioner({...e,previousState:e.firstUpdate?void 0:e.previousState,event:"state",helpers:this.store.helpers})}createDecorations(e){if(this.element??(this.element=this.createElement()),!this.element.hasChildNodes())return y.EH.empty;const t=y.p.widget(0,this.element,{key:"positioner-widget",side:-1,stopEvent:()=>!0});return y.EH.create(e.doc,[t])}forceUpdatePositioners(e=L){return({tr:t,dispatch:n})=>(null==n||n(t.setMeta(z,{key:e})),!0)}getPositionerWidget(){return this.element??(this.element=this.createElement())}createElement(){const e=document.createElement("span");return e.dataset.id="remirror-positioner-widget",e.setAttribute("role","presentation"),e}triggerPositioner(e,t){e.hasChanged(t)&&e.onActiveChanged({...t,view:this.store.view})}positioner(e){for(const t of this.positioners){!t.events.includes(e.event)||this.triggerPositioner(t,e)}}getBaseProps(e,t){const n=this.store.getState(),r=this.store.previousState;return{helpers:this.store.helpers,event:e,firstUpdate:!1,previousState:r,state:n,...t}}onScroll(){this.positioner(this.getBaseProps("scroll",{scroll:{scrollTop:this.store.view.dom.scrollTop}}))}};w([(0,g.WDe)()],V.prototype,"forceUpdatePositioners",1),w([(0,g._y)()],V.prototype,"getPositionerWidget",1),V=w([(0,g.AOx)({defaultOptions:{scrollDebounce:100},customHandlerKeys:["positioner"],staticKeys:["scrollDebounce"]})],V)},27163:function(e,t,n){"use strict";n.d(t,{A:function(){return u}});var r=n(44573),o=n(378),i=n(48776),a=Object.defineProperty,s=Object.getOwnPropertyDescriptor,l=(e,t,n,r)=>{for(var o,i=r>1?void 0:r?s(t,n):t,l=e.length-1;l>=0;l--)(o=e[l])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&a(t,n,i),i},c={icon:"underline",label:({t:e})=>e(i.bA.LABEL),description:({t:e})=>e(i.bA.DESCRIPTION)},u=class extends r.uS7{get name(){return"underline"}createTags(){return[o.eX.FontStyle,o.eX.FormattingMark]}createMarkSpec(e,t){return{...t,attrs:e.defaults(),parseDOM:[{tag:"u",getAttrs:e.parse},{style:"text-decoration",getAttrs:e=>"underline"===e&&{}},...t.parseDOM??[]],toDOM:t=>["u",e.dom(t),0]}}toggleUnderline(e){return(0,r.w9d)({type:this.type,selection:e})}shortcut(e){return this.toggleUnderline()(e)}};l([(0,r.WDe)(c)],u.prototype,"toggleUnderline",1),l([(0,r.IGC)({shortcut:o.vO.Underline,command:"toggleUnderline"})],u.prototype,"shortcut",1),u=l([(0,r.AOx)({})],u)},48776:function(e,t,n){"use strict";n.d(t,{GI:function(){return s},J:function(){return l},LS:function(){return o},TU:function(){return i},Vb:function(){return r},XK:function(){return m},XW:function(){return d},bA:function(){return g},bk:function(){return u},iR:function(){return f},it:function(){return h},jz:function(){return c},ov:function(){return a},wr:function(){return p}});var r=Object.freeze({__proto__:null,COPY_DESCRIPTION:{id:"extension.command.copy.description",message:"Copy the selected text",comment:"Description for copy command."},COPY_LABEL:{id:"extension.command.copy.label",message:"Copy",comment:"Label for copy command."},CUT_DESCRIPTION:{id:"extension.command.cut.description",message:"Cut the selected text",comment:"Description for cut command."},CUT_LABEL:{id:"extension.command.cut.label",message:"Cut",comment:"Label for cut command."},PASTE_DESCRIPTION:{id:"extension.command.paste.description",message:"Paste content into the editor",comment:"Description for paste command."},PASTE_LABEL:{id:"extension.command.paste.label",message:"Paste",comment:"Label for paste command."},SELECT_ALL_DESCRIPTION:{id:"extension.command.select-all.description",message:"Select all content within the editor",comment:"Description for select all c
1ommand."},SELECT_ALL_LABEL:{id:"extension.command.select-all.label",message:"Select all",comment:"Label for select all command."}});var o=Object.freeze({__proto__:null,ALT_KEY:{id:"keyboard.shortcut.alt",message:"Alt",comment:"Label for alt key in shortcuts."},ARROW_DOWN_KEY:{id:"keyboard.shortcut.arrowDown",message:"Arrow Down",comment:"Label for arrowDown key in shortcuts."},ARROW_LEFT_KEY:{id:"keyboard.shortcut.arrowLeft",message:"Arrow Left",comment:"Label for arrow left key in shortcuts."},ARROW_RIGHT_KEY:{id:"keyboard.shortcut.arrowRight",message:"Arrow Right",comment:"Label for arrow right key in shortcuts."},ARROW_UP_KEY:{id:"keyboard.shortcut.arrowUp",message:"Arrow Up",comment:"Label for arrow up key in shortcuts."},BACKSPACE_KEY:{id:"keyboard.shortcut.backspace",message:"Backspace",comment:"Label for backspace key in shortcuts."},CAPS_LOCK_KEY:{id:"keyboard.shortcut.capsLock",message:"Caps Lock",comment:"Label for caps lock key in shortcuts."},COMMAND_KEY:{id:"keyboard.shortcut.command",message:"Command",comment:"Label for command key in shortcuts."},CONTROL_KEY:{id:"keyboard.shortcut.control",message:"Control",comment:"Label for control key in shortcuts."},DELETE_KEY:{id:"keyboard.shortcut.delete",message:"Delete",comment:"Label for delete key in shortcuts."},END_KEY:{id:"keyboard.shortcut.end",message:"End",comment:"Label for end key in shortcuts."},ENTER_KEY:{id:"keyboard.shortcut.enter",message:"Enter",comment:"Label for enter key in shortcuts."},ESCAPE_KEY:{id:"keyboard.shortcut.escape",message:"Enter",comment:"Label for escape key in shortcuts."},HOME_KEY:{id:"keyboard.shortcut.home",message:"Home",comment:"Label for home key in shortcuts."},PAGE_DOWN_KEY:{id:"keyboard.shortcut.pageDown",message:"Page Down",comment:"Label for page down key in shortcuts."},PAGE_UP_KEY:{id:"keyboard.shortcut.pageUp",message:"Page Up",comment:"Label for page up key in shortcuts."},SHIFT_KEY:{id:"keyboard.shortcut.shift",message:"Shift",comment:"Label for shift key in shortcuts."},SPACE_KEY:{id:"keyboard.shortcut.space",message:"Space",comment:"Label for space key in shortcuts."},TAB_KEY:{id:"keyboard.shortcut.tab",message:"Tab",comment:"Label for tab key in shortcuts."}});var i=Object.freeze({__proto__:null,DESCRIPTION:{id:"extension.command.toggle-blockquote.description",message:"Add blockquote formatting to the selected text",comment:"Description for blockquote formatting command."},LABEL:{id:"extension.command.toggle-blockquote.label",message:"Blockquote",comment:"Label for blockquote formatting command."}});var a=Object.freeze({__proto__:null,DESCRIPTION:{id:"extension.command.toggle-bold.description",message:"Add bold formatting to the selected text",comment:"Description for bold formatting command."},LABEL:{id:"extension.command.toggle-bold.label",message:"Bold",comment:"Label for bold formatting command."}});var s=Object.freeze({__proto__:null,DESCRIPTION:{id:"extension.command.toggle-callout.description",message:"{type, select, info {Create an information callout block}\nwarning {Create a warning callout block}\nerror {Create an error callout block}\nsuccess {Create a success callout block}\nother {Create a callout block}}",comment:"Description of the callout command with support for callout types."},LABEL:{id:"extension.command.toggle-callout.label",message:"{type, select, info {Information Callout}\nwarning {Warning Callout}\nerror {Error Callout}\nsuccess {Success Callout}\nother {Callout}}",comment:"Label for callout command with support for callout types."}});var l=Object.freeze({__proto__:null,DESCRIPTION:{id:"extension.command.toggle-code-block.description",message:"Add a code block",comment:"Description for the code block command."},LABEL:{id:"extension.command.toggle-code-block.label",message:"Codeblock",comment:"Label for the code block command."}});var c=Object.freeze({__proto__:null,DESCRIPTION:{id:"extension.command.toggle-code.description",message:"Add inline code formatting to the selected text",comment:"Description for the inline code formatting command."},LABEL:{id:"extension.command.toggle-code.label",message:"Code",comment:"Label for the inline code formatting."}});var u=Object.freeze({__proto__:null,LABEL:{id:"extension.command.toggle-heading.label",message:"{level, select, 1 {Heading 1}\n2 {Heading 2}\n3 {Heading 3}\n4 {Heading 4}\n5 {Heading 5}\n6 {Heading 6}\nother {Heading}}",comment:"Label for heading command with support for levels."}});var d=Object.freeze({__proto__:null,REDO_DESCRIPTION:{id:"extension.command.redo.description",message:"Redo the most recent action",comment:"Description for redo."},REDO_LABEL:{id:"extension.command.redo.label",message:"Redo",comment:"Label for redo."}
1,UNDO_DESCRIPTION:{id:"extension.command.undo.description",message:"Undo the most recent action",comment:"Description for undo."},UNDO_LABEL:{id:"extension.command.undo.label",message:"Undo",comment:"Label for undo."}});var p=Object.freeze({__proto__:null,DESCRIPTION:{id:"extension.command.toggle-italic.description",message:"Italicize the selected text",comment:"Description for italic formatting command."},LABEL:{id:"extension.command.toggle-italic.label",message:"Italic",comment:"Label for italic formatting command."}});var h=Object.freeze({__proto__:null,BULLET_LIST_LABEL:{id:"extension.command.toggle-bullet-list.description",message:"Bulleted list",comment:"Description for inserting a bullet list into the editor."},ORDERED_LIST_LABEL:{id:"extension.command.toggle-ordered-list.label",message:"Ordered list",comment:"Label for inserting an ordered list into the editor."},TASK_LIST_LABEL:{id:"extension.command.toggle-task-list.description",message:"Tasked list",comment:"Description for inserting a task list into the editor."}});var f=Object.freeze({__proto__:null,CONVERT_DESCRIPTION:{id:"extension.command.convert-paragraph.description",message:"Convert current block into a paragraph block.",comment:"Description for converting a paragraph."},CONVERT_LABEL:{id:"extension.command.convert-paragraph.label",message:"Convert Paragraph",comment:"Label for converting the current node into a paragraph."},INSERT_DESCRIPTION:{id:"extension.command.insert-paragraph.description",message:"Insert a new paragraph",comment:"Description for inserting a paragraph."},INSERT_LABEL:{id:"extension.command.insert-paragraph.label",message:"Insert Paragraph",comment:"Label for inserting a paragraph."}});var m=Object.freeze({__proto__:null,COLUMN_COUNT:{id:"extension.table.column_count",message:"{count, plural, one {# column} other {# columns}}",comment:"The number of columns"},CREATE_COMMAND_DESCRIPTION:{id:"extension.command.create-table.description",message:"Create a table with set number of rows and columns.",comment:"Description for creating a table"},CREATE_COMMAND_LABEL:{id:"extension.command.create-table.label",message:"Create table",comment:"Label for creating a table"},ROW_COUNT:{id:"extension.table.row_count",message:"{count, plural, one {# row} other {# rows}}",comment:"The number of rows"}});var g=Object.freeze({__proto__:null,DESCRIPTION:{id:"extension.command.toggle-underline.description",message:"Underline the selected text",comment:"Description for underline formatting command."},LABEL:{id:"extension.command.toggle-underline.label",message:"Underline",comment:"Label for underline formatting command."}})},27784:function(e,t,n){"use strict";n.d(t,{A_:function(){return a},Ux:function(){return i},fB:function(){return s}});var r=n(378),o=n(57555);function i(e,t){const n=Object.getPrototypeOf(t);let r=e.selection,i=e.doc,a=e.storedMarks;const s=(0,o.Ry)();for(const[o,l]of Object.entries(t))s[o]={value:l};return Object.create(n,{...s,storedMarks:{get:()=>a},selection:{get:()=>r},doc:{get:()=>i},tr:{get:()=>(r=e.selection,i=e.doc,a=e.storedMarks,e)}})}function a(e){return({state:t,dispatch:n,view:r,tr:o})=>e(i(o,t),n,r)}function s(e){return t=>{var n;return(0,o.kG)(void 0===t.dispatch||t.dispatch===(null==(n=t.view)?void 0:n.dispatch),{code:r.mA.NON_CHAINABLE_COMMAND}),e(t)}}},88350:function(e,t,n){"use strict";n.d(t,{Lz:function(){return kp},ZG:function(){return zp},Vn:function(){return Lp},ze:function(){return Hp},JH:function(){return lp},f6:function(){return Pp},QD:function(){return cp},Vu:function(){return up},Om:function(){return dp},gf:function(){return pp},SN:function(){return hp},pQ:function(){return fp},NV:function(){return mp},XR:function(){return gp},Ts:function(){return yp},o8:function(){return Ip},h6:function(){return bp},pT:function(){return Dp}});var r={};n.r(r),n.d(r,{ab:function(){return Ua},addFill:function(){return Ka},addLine:function(){return Ga},alertLine:function(){return qa},alignBottom:function(){return Xa},alignCenter:function(){return Ya},alignJustify:function(){return Za},alignLeft:function(){return Qa},alignRight:function(){return Ja},alignTop:function(){return es},alignVertically:function(){return ts},appsLine:function(){return ns},arrowDownSFill:function(){return rs},arrowGoBackFill:function(){return os},arrowGoForwardFill:function(){return is},arrowLeftSFill:function(){return as},arrowRightSFill:function(){return ss},arrowUpSFill:function(){return ls},asterisk:function(){return cs},attachment2:function(){return us},bold:function(){return ds},bracesLine:function(){return ps},bringForward:function(){return hs},bringToFront:function(){return fs},chatNewLine:function(){return ms},checkboxCircleLine:function(){return gs},checkboxMultipleLine:function(){return vs},clipboardFill:function(){return ys},clipboardLine:function(){return bs},closeCircleLine:function(){return xs},closeFill:function(){return ks},closeLine:function(){return ws},codeLine:function(){return Es},codeView:function(){return Ms},deleteBinFill:function(){return Ss}
1,deleteBinLine:function(){return Cs},deleteColumn:function(){return Os},deleteRow:function(){return Ts},doubleQuotesL:function(){return As},doubleQuotesR:function(){return Rs},download2Fill:function(){return zs},dragDropLine:function(){return Ls},emphasis:function(){return Hs},emphasisCn:function(){return _s},englishInput:function(){return Ns},errorWarningLine:function(){return Ps},externalLinkFill:function(){return Is},fileCopyLine:function(){return Ds},flowChart:function(){return $s},fontColor:function(){return Vs},fontSize:function(){return Bs},fontSize2:function(){return js},formatClear:function(){return Fs},fullscreenExitLine:function(){return Ws},fullscreenLine:function(){return Us},functions:function(){return Ks},galleryUploadLine:function(){return Gs},h1:function(){return qs},h2:function(){return Xs},h3:function(){return Ys},h4:function(){return Zs},h5:function(){return Qs},h6:function(){return Js},hashtag:function(){return el},heading:function(){return tl},imageAddLine:function(){return nl},imageEditLine:function(){return rl},imageLine:function(){return ol},indentDecrease:function(){return il},indentIncrease:function(){return al},informationLine:function(){return sl},inputCursorMove:function(){return ll},insertColumnLeft:function(){return cl},insertColumnRight:function(){return ul},insertRowBottom:function(){return dl},insertRowTop:function(){return pl},italic:function(){return hl},layoutColumnLine:function(){return fl},lineHeight:function(){return ml},link:function(){return bl},linkM:function(){return gl},linkUnlink:function(){return yl},linkUnlinkM:function(){return vl},listCheck:function(){return kl},listCheck2:function(){return xl},listOrdered:function(){return wl},listUnordered:function(){return El},markPenLine:function(){return Ml},markdownFill:function(){return Sl},markdownLine:function(){return Cl},mergeCellsHorizontal:function(){return Ol},mergeCellsVertical:function(){return Tl},mindMap:function(){return Al},moreFill:function(){return Rl},nodeTree:function(){return zl},number0:function(){return Ll},number1:function(){return _l},number2:function(){return Hl},number3:function(){return Nl},number4:function(){return Pl},number5:function(){return Il},number6:function(){return Dl},number7:function(){return $l},number8:function(){return Vl},number9:function(){return jl},omega:function(){return Bl},organizationChart:function(){return Fl},pageSeparator:function(){return Wl},paragraph:function(){return Ul},pencilFill:function(){return Kl},pencilLine:function(){return Gl},pinyinInput:function(){return ql},questionMark:function(){return Xl},roundedCorner:function(){return Yl},scissorsFill:function(){return Zl},sendBackward:function(){return Ql},sendToBack:function(){return Jl},separator:function(){return ec},singleQuotesL:function(){return tc},singleQuotesR:function(){return nc},sortAsc:function(){return rc},sortDesc:function(){return oc},space:function(){return ic},spamLine:function(){return ac},splitCellsHorizontal:function(){return sc},splitCellsVertical:function(){return lc},strikethrough:function(){return uc},strikethrough2:function(){return cc},subscript:function(){return pc},subscript2:function(){return dc},subtractLine:function(){return hc},superscript:function(){return mc},superscript2:function(){return fc},table2:function(){return gc},tableLine:function(){return vc},text:function(){return wc},textDirectionL:function(){return yc},textDirectionR:function(){return bc},textSpacing:function(){return xc},textWrap:function(){return kc},translate:function(){return Mc},translate2:function(){return Ec},underline:function(){return Sc},upload2Fill:function(){return Cc},videoLine:function(){return Oc},wubiInput:function(){return Tc}});var o=n(67294),i=n.t(o,2);function a(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}function l(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=l(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}var c=function(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=l(e))&&(r&&(r+=" "),r+=t);return r};function u(e,t,n){const r={};return Object.keys(e).forEach((o=>{r[o]=e[o].reduce(((e,r)=>{if(r){const o=t(r);""!==o&&e.push(o),n&&n[r]&&e.push(n[r])}return e}),[]).join(" ")})),r}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d.apply(this,arguments)}function p(e){return"string"===typeof e}function h(e,t,n){return void 0===e||p(e)?t:d({},t,{ownerState:d({},t.ownerState,n)})}function f(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}function m(e,t=0,n=1){return Math.min(Math.max(t,e),n)}function g(e){if(e.type)return e;if("#"===e.charAt(0))return g(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map((e=>e+e))),n?`rgb${4===n.length?"a":""}(${n.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}(e));const t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error(f(9,e));let r,o=e.substring(t+1,e.length-1);if("color"===n){if(o=o.split(" "),r=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(r))throw new Error(f(10,r))}else o=o.split(",");return o=o.map((e=>parseFloat(e))),{type:n,values:o,colorSpace:r}}function v(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return-1!==t.indexOf("rgb")?r=r.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=-1!==t.indexOf("color")?`${n}
1 ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}function y(e){let t="hsl"===(e=g(e)).type||"hsla"===e.type?g(function(e){e=g(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),a=(e,t=(e+n/30)%12)=>o-i*Math.max(Math.min(t-3,9-t,1),-1);let s="rgb";const l=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(s+="a",l.push(t[3])),v({type:s,values:l})}(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function b(e,t){return e=g(e),t=m(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,v(e)}function x(e,t){if(e=g(e),t=m(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return v(e)}function k(e,t){if(e=g(e),t=m(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return v(e)}function w(){return w=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},w.apply(this,arguments)}function E(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var M=/^((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)-.*))$/,S=E((function(e){return M.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));var C=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepe
vendor: 1,059 bytes, line 1
1nd?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(r){0}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEac
vendor: 5,098 bytes, line 1
1h((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),O=Math.abs,T=String.fromCharCode,A=Object.assign;function R(e){return e.trim()}function z(e,t,n){return e.replace(t,n)}function L(e,t){return e.indexOf(t)}function _(e,t){return 0|e.charCodeAt(t)}function H(e,t,n){return e.slice(t,n)}function N(e){return e.length}function P(e){return e.length}function I(e,t){return t.push(e),e}var D=1,$=1,V=0,j=0,B=0,F="";function W(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:D,column:$,length:a,return:""}}function U(e,t){return A(W("",null,null,"",null,null,0),e,{length:-e.length},t)}function K(){return B=j>0?_(F,--j):0,$--,10===B&&($=1,D--),B}function G(){return B=j<V?_(F,j++):0,$++,10===B&&($=1,D++),B}function q(){return _(F,j)}function X(){return j}function Y(e,t){return H(F,e,t)}function Z(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Q(e){return D=$=1,V=N(F=e),j=0,[]}function J(e){return F="",e}function ee(e){return R(Y(j-1,re(91===e?e+2:40===e?e+1:e)))}function te(e){for(;(B=q())&&B<33;)G();return Z(e)>2||Z(B)>3?"":" "}function ne(e,t){for(;--t&&G()&&!(B<48||B>102||B>57&&B<65||B>70&&B<97););return Y(e,X()+(t<6&&32==q()&&32==G()))}function re(e){for(;G();)switch(B){case e:return j;case 34:case 39:34!==e&&39!==e&&re(B);break;case 40:41===e&&re(e);break;case 92:G()}return j}function oe(e,t){for(;G()&&e+B!==57&&(e+B!==84||47!==q()););return"/*"+Y(t,j-1)+"*"+T(47===e?e:G())}function ie(e){for(;!Z(q());)G();return Y(e,j)}var ae="-ms-",se="-moz-",le="-webkit-",ce="comm",ue="rule",de="decl",pe="@keyframes";function he(e,t){for(var n="",r=P(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function fe(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case de:return e.return=e.return||e.value;case ce:return"";case pe:return e.return=e.value+"{"+he(e.children,r)+"}";case ue:e.value=e.props.join(",")}return N(n=he(e.children,r))?e.return=e.value+"{"+n+"}":""}function me(e){return J(ge("",null,null,null,[""],e=Q(e),0,[0],e))}function ge(e,t,n,r,o,i,a,s,l){for(var c=0,u=0,d=a,p=0,h=0,f=0,m=1,g=1,v=1,y=0,b="",x=o,k=i,w=r,E=b;g;)switch(f=y,y=G()){case 40:if(108!=f&&58==_(E,d-1)){-1!=L(E+=z(ee(y),"&","&\f"),"&\f")&&(v=-1);break}case 34:case 39:case 91:E+=ee(y);break;case 9:case 10:case 13:case 32:E+=te(f);break;case 92:E+=ne(X()-1,7);continue;case 47:switch(q()){case 42:case 47:I(ye(oe(G(),X()),t,n),l);break;default:E+="/"}break;case 123*m:s[c++]=N(E)*v;case 125*m:case 59:case 0:switch(y){case 0:case 125:g=0;case 59+u:-1==v&&(E=z(E,/\f/g,"")),h>0&&N(E)-d&&I(h>32?be(E+";",r,n,d-1):be(z(E," ","")+";",r,n,d-2),l);break;case 59:E+=";";default:if(I(w=ve(E,t,n,c,u,o,s,b,x=[],k=[],d),i),123===y)if(0===u)ge(E,t,w,w,x,i,d,s,k);else switch(99===p&&110===_(E,3)?100:p){case 100:case 108:case 109:case 115:ge(e,w,w,r&&I(ve(e,w,w,0,0,o,s,b,o,x=[],d),k),o,k,d,s,r?x:k);break;default:ge(E,w,w,w,[""],k,0,s,k)}}c=u=h=0,m=v=1,b=E="",d=a;break;case 58:d=1+N(E),h=f;default:if(m<1)if(123==y)--m;else if(125==y&&0==m++&&125==K())continue;switch(E+=T(y),y*m){case 38:v=u>0?1:(E+="\f",-1);break;case 44:s[c++]=(N(E)-1)*v,v=1;break;case 64:45===q()&&(E+=ee(G())),p=q(),u=d=N(b=E+=ie(X())),y++;break;case 45:45===f&&2==N(E)&&(m=0)}}return i}function ve(e,t,n,r,o,i,a,s,l,c,u){for(var d=o-1,p=0===o?i:[""],h=P(p),f=0,m=0,g=0;f<r;++f)for(var v=0,y=H(e,d+1,d=O(m=a[f])),b=e;v<h;++v)(b=R(m>0?p[v]+" "+y:z(y,/&\f/g,p[v])))&&(l[g++]=b);return W(e,t,n,0===o?ue:s,l,c,u)}function ye(e,t,n){return W(e,t,n,ce,T(B),H(e,2,-2),0)}function be(e,t,n,r){return W(e,t,n,de,H(e,0,r),H(e,r+1,-1),r)}var xe=function(e,t,n){for(var r=0,o=0;r=o,o=q(),38===r&&12===o&&(t[n]=1),!Z(o);)G();return Y(e,j)},ke=function(e,t){return J(function(e,t){var n=-1,r=44;do{switch(Z(r)){case 0:38===r&&12===q()&&(t[n]=1),e[n]+=xe(j-1,t,n);break;case 2:e[n]+=ee(r);break;case 4:if(44===r){e[++n]=58===q()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=T(r)}}while(r=G());return e}(Q(e),t))},we=new WeakMap,Ee=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||we.get(n))&&!r){we.set(e,!0);for(var o=[],i=ke(t,o),a=n.props,s=0,l=0;s<i.length;s++)for(var c=0;c<a.length;c++,l++)e.props[l]=o[s]?i[s].replace(/&\f/g,a[c]):a[c]+" "+i[s]}}},Me=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Se(e,t){switch(function(e,t){return 45^_(e,0)?(((t<<2^_(e,0))<<2^_(e,1))<<2^_(e,2))<<2^_(e,3):0}(e,t)){case 5103:return"-webkit-print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return le+e+e;
1case 5349:case 4246:case 4810:case 6968:case 2756:return le+e+se+e+ae+e+e;case 6828:case 4268:return le+e+ae+e+e;case 6165:return le+e+ae+"flex-"+e+e;case 5187:return le+e+z(e,/(\w+).+(:[^]+)/,"-webkit-box-$1$2-ms-flex-$1$2")+e;case 5443:return le+e+ae+"flex-item-"+z(e,/flex-|-self/,"")+e;case 4675:return le+e+ae+"flex-line-pack"+z(e,/align-content|flex-|-self/,"")+e;case 5548:return le+e+ae+z(e,"shrink","negative")+e;case 5292:return le+e+ae+z(e,"basis","preferred-size")+e;case 6060:return"-webkit-box-"+z(e,"-grow","")+le+e+ae+z(e,"grow","positive")+e;case 4554:return le+z(e,/([^-])(transform)/g,"$1-webkit-$2")+e;case 6187:return z(z(z(e,/(zoom-|grab)/,"-webkit-$1"),/(image-set)/,"-webkit-$1"),e,"")+e;case 5495:case 3959:return z(e,/(image-set\([^]*)/,"-webkit-$1$`$1");case 4968:return z(z(e,/(.+:)(flex-)?(.*)/,"-webkit-box-pack:$3-ms-flex-pack:$3"),/s.+-b[^;]+/,"justify")+le+e+e;case 4095:case 3583:case 4068:case 2532:return z(e,/(.+)-inline(.+)/,"-webkit-$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(N(e)-1-t>6)switch(_(e,t+1)){case 109:if(45!==_(e,t+4))break;case 102:return z(e,/(.+:)(.+)-([^]+)/,"$1-webkit-$2-$3$1-moz-"+(108==_(e,t+3)?"$3":"$2-$3"))+e;case 115:return~L(e,"stretch")?Se(z(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==_(e,t+1))break;case 6444:switch(_(e,N(e)-3-(~L(e,"!important")&&10))){case 107:return z(e,":",":-webkit-")+e;case 101:return z(e,/(.+:)([^;!]+)(;|!.+)?/,"$1-webkit-"+(45===_(e,14)?"inline-":"")+"box$3$1"+"-webkit-$2$3$1"+"-ms-$2box$3")+e}break;case 5936:switch(_(e,t+11)){case 114:return le+e+ae+z(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return le+e+ae+z(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return le+e+ae+z(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return le+e+ae+e+e}return e}var Ce=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case de:e.return=Se(e.value,e.length);break;case pe:return he([U(e,{value:z(e.value,"@","@-webkit-")})],r);case ue:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return he([U(e,{props:[z(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return he([U(e,{props:[z(t,/:(plac\w+)/,":-webkit-input-$1")]}),U(e,{props:[z(t,/:(plac\w+)/,":-moz-$1")]}),U(e,{props:[z(t,/:(plac\w+)/,"-ms-input-$1")]})],r)}return""}))}}],Oe=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r=e.stylisPlugins||Ce;var o,i,a={},s=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;s.push(e)}));var l,c,u=[fe,(c=function(e){l.insert(e)},function(e){e.root||(e=e.return)&&c(e)})],d=function(e){var t=P(e);return function(n,r,o,i){for(var a="",s=0;s<t;s++)a+=e[s](n,r,o,i)||"";return a}}([Ee,Me].concat(r,u));i=function(e,t,n,r){l=n,function(e){he(me(e),d)}(e?e+"{"+t.styles+"}":t.styles),r&&(p.inserted[t.name]=!0)};var p={key:t,sheet:new C({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:i};return p.sheet.hydrate(s),p};var Te={animationIterationCount:1,aspectRatio: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};function Ae(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var Re=/[A-Z]|^ms/g,ze=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Le=function(e){return 45===e.charCodeAt(1)},_e=function(e){return null!=e&&"boolean"!==typeof e},He=Ae((function(e){return Le(e)?e:e.replace(Re,"-$&").toLowerCase()})),Ne=function(e,t){switch(e){case"animation":case"animationName":if("string"===typeof t)return t.replace(ze,(function(e,t,n){return Ie={
1name:t,styles:n,next:Ie},t}))}return 1===Te[e]||Le(e)||"number"!==typeof t||0===t?t:t+"px"};function Pe(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return Ie={name:n.name,styles:n.styles,next:Ie},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)Ie={name:r.name,styles:r.styles,next:Ie},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=Pe(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!==typeof a)null!=t&&void 0!==t[a]?r+=i+"{"+t[a]+"}":_e(a)&&(r+=He(i)+":"+Ne(i,a)+";");else if(!Array.isArray(a)||"string"!==typeof a[0]||null!=t&&void 0!==t[a[0]]){var s=Pe(e,t,a);switch(i){case"animation":case"animationName":r+=He(i)+":"+s+";";break;default:r+=i+"{"+s+"}"}}else for(var l=0;l<a.length;l++)_e(a[l])&&(r+=He(i)+":"+Ne(i,a[l])+";")}return r}(e,t,n);case"function":if(void 0!==e){var o=Ie,i=n(e);return Ie=o,Pe(e,t,i)}}if(null==t)return n;var a=t[n];return void 0!==a?a:n}var Ie,De=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var $e=function(e,t,n){if(1===e.length&&"object"===typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";Ie=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=Pe(n,t,i)):o+=i[0];for(var a=1;a<e.length;a++)o+=Pe(n,t,e[a]),r&&(o+=i[a]);De.lastIndex=0;for(var s,l="";null!==(s=De.exec(o));)l+="-"+s[1];var c=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+l;return{name:c,styles:o,next:Ie}},Ve=!!i.useInsertionEffect&&i.useInsertionEffect,je=Ve||function(e){return e()},Be=(Ve||o.useLayoutEffect,o.createContext("undefined"!==typeof HTMLElement?Oe({key:"css"}):null));Be.Provider;var Fe=function(e){return(0,o.forwardRef)((function(t,n){var r=(0,o.useContext)(Be);return e(t,r,n)}))};var We=o.createContext({});function Ue(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var Ke=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},Ge=S,qe=function(e){return"theme"!==e},Xe=function(e){return"string"===typeof e&&e.charCodeAt(0)>96?Ge:qe},Ye=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!==typeof r&&n&&(r=e.__emotion_forwardProp),r},Ze=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return Ke(t,n,r),je((function(){return function(e,t,n){Ke(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+r:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}}(t,n,r)})),null},Qe=function e(t,n){var r,i,a=t.__emotion_real===t,s=a&&t.__emotion_base||t;void 0!==n&&(r=n.label,i=n.target);var l=Ye(t,n,a),c=l||Xe(s),u=!c("as");return function(){var d=arguments,p=a&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==r&&p.push("label:"+r+";"),null==d[0]||void 0===d[0].raw)p.push.apply(p,d);else{0,p.push(d[0][0]);for(var h=d.length,f=1;f<h;f++)p.push(d[f],d[0][f])}var m=Fe((function(e,t,n){var r=u&&e.as||s,a="",d=[],h=e;if(null==e.theme){for(var f in h={},e)h[f]=e[f];h.theme=o.useContext(We)}"string"===typeof e.className?a=Ue(t.registered,d,e.className):null!=e.className&&(a=e.className+" ");var m=$e(p.concat(d),t.registered,h);a+=t.key+"-"+m.name,void 0!==i&&(a+=" "+i);var g=u&&void 0===l?Xe(r):c,v={};for(var y in e)u&&"as"===y||g(y)&&(v[y]=e[y]);return v.className=a,v.ref=n,o.createElement(o.Fragment,null,o.createElement(Ze,{cache:t,serialized:m,isStringTag:"string"===typeof r}),o.createElement(r,v))}));return m.displayName=void 0!==r?r:"Styled("+("string"===typeof s?s:s.displayName||s.name||"Component")+")",m.defaultProps=t.defaultProps,m.__emotion_real=m,m.__emotion_base=s,m.__emotion_styles=p,m.__emotion_forwardProp=l,Object.defineProperty(m,"toString",{value:function(){return"."+i}}),m.withComponent=function(t,r){return e(t,w({},n,r,{shouldForwardProp:Ye(m,r,!0)})).apply(void 0,p)},m}}.bind();function Je(e,t){return Qe(e,t)}["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){Qe[e]=Qe(e)}));function et(){return et=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},et.apply(this,arguments)}function tt(e){return null!==e&&"object"===typeof e&&e.constructor===Object}function nt(e){if(!tt(e))return e;const t={};return Object.keys(e).forEach((n=>{t[n]=nt(e[n])})),t}function rt(e,t,n={clone:!0}){const r=n.clone?et({},e):e;return tt(e)&&tt(t)&&Object.keys(t).forEach((o=>{"__proto__"!==o&&(tt(t[o])&&o in e&&tt(e[o])?r[o]=rt(e[o],t[o],n):n.clone?r[o]=tt(t[o])?nt(t[o]):t[o]:r[o]=t[o])})),r}const ot=["values","unit","step"];function it(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=a(e,ot),i=(e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]}
1)))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>s({},e,{[t.key]:t.val})),{})})(t),l=Object.keys(i);function c(e){return`@media (min-width:${"number"===typeof t[e]?t[e]:e}${n})`}function u(e){return`@media (max-width:${("number"===typeof t[e]?t[e]:e)-r/100}${n})`}function d(e,o){const i=l.indexOf(o);return`@media (min-width:${"number"===typeof t[e]?t[e]:e}${n}) and (max-width:${(-1!==i&&"number"===typeof t[l[i]]?t[l[i]]:o)-r/100}${n})`}return s({keys:l,values:i,up:c,down:u,between:d,only:function(e){return l.indexOf(e)+1<l.length?d(e,l[l.indexOf(e)+1]):c(e)},not:function(e){const t=l.indexOf(e);return 0===t?c(l[1]):t===l.length-1?u(l[t]):d(e,l[l.indexOf(e)+1]).replace("@media","@media not all and")},unit:n},o)}var at={borderRadius:4};const st={xs:0,sm:600,md:900,lg:1200,xl:1536},lt={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${st[e]}px)`};function ct(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const e=r.breakpoints||lt;return t.reduce(((r,o,i)=>(r[e.up(e.keys[i])]=n(t[i]),r)),{})}if("object"===typeof t){const e=r.breakpoints||lt;return Object.keys(t).reduce(((r,o)=>{if(-1!==Object.keys(e.values||st).indexOf(o)){r[e.up(o)]=n(t[o],o)}else{const e=o;r[e]=t[e]}return r}),{})}return n(t)}function ut(e={}){var t;return(null==(t=e.keys)?void 0:t.reduce(((t,n)=>(t[e.up(n)]={},t)),{}))||{}}function dt(e,t){return e.reduce(((e,t)=>{const n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e}),t)}function pt({values:e,breakpoints:t,base:n}){const r=n||function(e,t){if("object"!==typeof e)return{};const n={},r=Object.keys(t);return Array.isArray(e)?r.forEach(((t,r)=>{r<e.length&&(n[t]=!0)})):r.forEach((t=>{null!=e[t]&&(n[t]=!0)})),n}(e,t),o=Object.keys(r);if(0===o.length)return e;let i;return o.reduce(((t,n,r)=>(Array.isArray(e)?(t[n]=null!=e[r]?e[r]:e[i],i=r):"object"===typeof e?(t[n]=null!=e[n]?e[n]:e[i],i=n):t[n]=e,t)),{})}function ht(e){if("string"!==typeof e)throw new Error(f(7));return e.charAt(0).toUpperCase()+e.slice(1)}function ft(e,t,n=!0){if(!t||"string"!==typeof t)return null;if(e&&e.vars&&n){const n=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=n)return n}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function mt(e,t,n,r=n){let o;return o="function"===typeof e?e(n):Array.isArray(e)?e[n]||r:ft(e,n)||r,t&&(o=t(o,r,e)),o}var gt=function(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=e=>{if(null==e[t])return null;const i=e[t],a=ft(e.theme,r)||{};return ct(e,i,(e=>{let r=mt(a,o,e);return e===r&&"string"===typeof e&&(r=mt(a,o,`${t}${"default"===e?"":ht(e)}`,e)),!1===n?r:{[n]:r}}))};return i.propTypes={},i.filterProps=[t],i};var vt=function(e,t){return t?rt(e,t,{clone:!1}):e};const yt={m:"margin",p:"padding"},bt={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},xt={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},kt=function(e){const t={};return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}((e=>{if(e.length>2){if(!xt[e])return[e];e=xt[e]}const[t,n]=e.split(""),r=yt[t],o=bt[n]||"";return Array.isArray(o)?o.map((e=>r+e)):[r+o]})),wt=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Et=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],Mt=[...wt,...Et];function St(e,t,n,r){var o;const i=null!=(o=ft(e,t,!1))?o:n;return"number"===typeof i?e=>"string"===typeof e?e:i*e:Array.isArray(i)?e=>"string"===typeof e?e:i[e]:"function"===typeof i?i:()=>{}}function Ct(e){return St(e,"spacing",8)}function Ot(e,t){if("string"===typeof t||null==t)return t;const n=e(Math.abs(t));return t>=0?n:"number"===typeof n?-n:`-${n}`}function Tt(e,t,n,r){if(-1===t.indexOf(n))return null;const o=function(e,t){return n=>e.reduce(((e,r)=>(e[r]=Ot(t,n),e)),{})}(kt(n),r);return ct(e,e[n],o)}function At(e,t){const n=Ct(e.theme);return Object.keys(e).map((r=>Tt(e,t,r,n))).reduce(vt,{})}function Rt(e){return At(e,wt)}function zt(e){return At(e,Et)}function Lt(e){return At(e,Mt)}Rt.propTypes={},Rt.filterProps=wt,zt.propTypes={},zt.filterProps=Et,Lt.propTypes={},Lt.filterProps=Mt;var _t=function(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((n=>{e[n]=t})),e)),{}),n=e=>Object.keys(e).reduce(((n,r)=>t[r]?vt(n,t[r](e)):n),{});return n.propTypes={},n.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),n};function Ht(e){return"number"!==typeof e?e:`${e}px solid`}const Nt=gt({prop:"border",themeKey:"borders",transform:Ht}),Pt=gt({prop:"borderTop",themeKey:"borders",transform:Ht}),It=gt({prop:"borderRight",themeKey:"borders",transform:Ht}),Dt=gt({prop:"borderBottom",themeKey:"borders",transform:Ht}),$t=gt({prop:"borderLeft",themeKey:"borders",transform:Ht}),Vt=gt({prop:"borderColor",themeKey:"palette"}),jt=gt({prop:"borderTopColor",themeKey:"palette"}),Bt=gt({prop:"borderRightColor",themeKey:"palette"}),Ft=gt({prop:"borderBottomColor",themeKey:"palette"}),Wt=gt({prop:"borderLeftColor",themeKey:"palette"}),Ut=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=St(e.theme,"shape.borderRadius",4),n=e=>({borderRadius:Ot(t,e)});return ct(e,e.borderRadius,n)}return null};Ut.propTypes={},Ut.filterProps=["borderRadius"];_t(Nt,Pt,It,Dt,$t,Vt,jt,Bt,Ft,Wt,Ut);const Kt=e=>{if(void 0!==e.gap&&null!==e.gap){const t=St(e.theme,"spacing",8),n=e=>({gap:Ot(t,e)});return ct(e,e.gap,n)}return null};Kt.propTypes={},Kt.filterProps=["gap"];const Gt=e=>
1{if(void 0!==e.columnGap&&null!==e.columnGap){const t=St(e.theme,"spacing",8),n=e=>({columnGap:Ot(t,e)});return ct(e,e.columnGap,n)}return null};Gt.propTypes={},Gt.filterProps=["columnGap"];const qt=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=St(e.theme,"spacing",8),n=e=>({rowGap:Ot(t,e)});return ct(e,e.rowGap,n)}return null};qt.propTypes={},qt.filterProps=["rowGap"];_t(Kt,Gt,qt,gt({prop:"gridColumn"}),gt({prop:"gridRow"}),gt({prop:"gridAutoFlow"}),gt({prop:"gridAutoColumns"}),gt({prop:"gridAutoRows"}),gt({prop:"gridTemplateColumns"}),gt({prop:"gridTemplateRows"}),gt({prop:"gridTemplateAreas"}),gt({prop:"gridArea"}));function Xt(e,t){return"grey"===t?t:e}_t(gt({prop:"color",themeKey:"palette",transform:Xt}),gt({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Xt}),gt({prop:"backgroundColor",themeKey:"palette",transform:Xt}));function Yt(e){return e<=1&&0!==e?100*e+"%":e}const Zt=gt({prop:"width",transform:Yt}),Qt=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var n,r;const o=(null==(n=e.theme)||null==(n=n.breakpoints)||null==(n=n.values)?void 0:n[t])||st[t];return o?"px"!==(null==(r=e.theme)||null==(r=r.breakpoints)?void 0:r.unit)?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:Yt(t)}};return ct(e,e.maxWidth,t)}return null};Qt.filterProps=["maxWidth"];const Jt=gt({prop:"minWidth",transform:Yt}),en=gt({prop:"height",transform:Yt}),tn=gt({prop:"maxHeight",transform:Yt}),nn=gt({prop:"minHeight",transform:Yt});gt({prop:"size",cssProperty:"width",transform:Yt}),gt({prop:"size",cssProperty:"height",transform:Yt}),_t(Zt,Qt,Jt,en,tn,nn,gt({prop:"boxSizing"}));var rn={border:{themeKey:"borders",transform:Ht},borderTop:{themeKey:"borders",transform:Ht},borderRight:{themeKey:"borders",transform:Ht},borderBottom:{themeKey:"borders",transform:Ht},borderLeft:{themeKey:"borders",transform:Ht},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Ut},color:{themeKey:"palette",transform:Xt},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Xt},backgroundColor:{themeKey:"palette",transform:Xt},p:{style:zt},pt:{style:zt},pr:{style:zt},pb:{style:zt},pl:{style:zt},px:{style:zt},py:{style:zt},padding:{style:zt},paddingTop:{style:zt},paddingRight:{style:zt},paddingBottom:{style:zt},paddingLeft:{style:zt},paddingX:{style:zt},paddingY:{style:zt},paddingInline:{style:zt},paddingInlineStart:{style:zt},paddingInlineEnd:{style:zt},paddingBlock:{style:zt},paddingBlockStart:{style:zt},paddingBlockEnd:{style:zt},m:{style:Rt},mt:{style:Rt},mr:{style:Rt},mb:{style:Rt},ml:{style:Rt},mx:{style:Rt},my:{style:Rt},margin:{style:Rt},marginTop:{style:Rt},marginRight:{style:Rt},marginBottom:{style:Rt},marginLeft:{style:Rt},marginX:{style:Rt},marginY:{style:Rt},marginInline:{style:Rt},marginInlineStart:{style:Rt},marginInlineEnd:{style:Rt},marginBlock:{style:Rt},marginBlockStart:{style:Rt},marginBlockEnd:{style:Rt},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Kt},rowGap:{style:qt},columnGap:{style:Gt},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Yt},maxWidth:{style:Qt},minWidth:{transform:Yt},height:{transform:Yt},maxHeight:{transform:Yt},minHeight:{transform:Yt},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};const on=function(){function e(e,t,n,r){const o={[e]:t,theme:n},i=r[e];if(!i)return{[e]:t};const{cssProperty:a=e,themeKey:s,transform:l,style:c}=i;
1if(null==t)return null;if("typography"===s&&"inherit"===t)return{[e]:t};const u=ft(n,s)||{};if(c)return c(o);return ct(o,t,(t=>{let n=mt(u,l,t);return t===n&&"string"===typeof t&&(n=mt(u,l,`${e}${"default"===t?"":ht(t)}`,t)),!1===a?n:{[a]:n}}))}return function t(n){var r;const{sx:o,theme:i={}}=n||{};if(!o)return null;const a=null!=(r=i.unstable_sxConfig)?r:rn;function s(n){let r=n;if("function"===typeof n)r=n(i);else if("object"!==typeof n)return n;if(!r)return null;const o=ut(i.breakpoints),s=Object.keys(o);let l=o;return Object.keys(r).forEach((n=>{const o=(s=r[n],c=i,"function"===typeof s?s(c):s);var s,c;if(null!==o&&void 0!==o)if("object"===typeof o)if(a[n])l=vt(l,e(n,o,i,a));else{const e=ct({theme:i},o,(e=>({[n]:e})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),n=new Set(t);return e.every((e=>n.size===Object.keys(e).length))}(e,o)?l=vt(l,e):l[n]=t({sx:o,theme:i})}else l=vt(l,e(n,o,i,a))})),dt(s,l)}return Array.isArray(o)?o.map(s):s(o)}}();on.filterProps=["sx"];var an=on;const sn=["breakpoints","palette","spacing","shape"];var ln=function(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={}}=e,l=a(e,sn),c=it(n),u=function(e=8){if(e.mui)return e;const t=Ct({spacing:e}),n=(...e)=>(0===e.length?[1]:e).map((e=>{const n=t(e);return"number"===typeof n?`${n}px`:n})).join(" ");return n.mui=!0,n}(o);let d=rt({breakpoints:c,direction:"ltr",components:{},palette:s({mode:"light"},r),spacing:u,shape:s({},at,i)},l);return d=t.reduce(((e,t)=>rt(e,t)),d),d.unstable_sxConfig=s({},rn,null==l?void 0:l.unstable_sxConfig),d.unstable_sx=function(e){return an({sx:e,theme:this})},d};const cn=["variant"];function un(e){return 0===e.length}function dn(e){const{variant:t}=e,n=a(e,cn);let r=t||"";return Object.keys(n).sort().forEach((t=>{r+="color"===t?un(r)?e[t]:ht(e[t]):`${un(r)?t:ht(t)}${ht(e[t].toString())}`})),r}const pn=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];const hn=e=>{const t={};return e&&e.forEach((e=>{const n=dn(e.props);t[n]=e.style})),t},fn=(e,t,n)=>{const{ownerState:r={}}=e,o=[];return n&&n.forEach((n=>{let i=!0;Object.keys(n.props).forEach((t=>{r[t]!==n.props[t]&&e[t]!==n.props[t]&&(i=!1)})),i&&o.push(t[dn(n.props)])})),o};function mn(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const gn=ln(),vn=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function yn({defaultTheme:e,theme:t,themeId:n}){return r=t,0===Object.keys(r).length?e:t[n]||t;var r}function bn(e){return e?(t,n)=>n[e]:null}const xn=({styledArg:e,props:t,defaultTheme:n,themeId:r})=>{const o=e(s({},t,{theme:yn(s({},t,{defaultTheme:n,themeId:r}))}));let i;if(o&&o.variants&&(i=o.variants,delete o.variants),i){return[o,...fn(t,hn(i),i)]}return o};function kn(e={}){const{themeId:t,defaultTheme:n=gn,rootShouldForwardProp:r=mn,slotShouldForwardProp:o=mn}=e,i=e=>an(s({},e,{theme:yn(s({},e,{defaultTheme:n,themeId:t}))}));return i.__mui_systemSx=!0,(e,l={})=>{((e,t)=>
1{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))})(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:c,slot:u,skipVariantsResolver:d,skipSx:p,overridesResolver:h=bn(vn(u))}=l,f=a(l,pn),m=void 0!==d?d:u&&"Root"!==u&&"root"!==u||!1,g=p||!1;let v=mn;"Root"===u||"root"===u?v=r:u?v=o:function(e){return"string"===typeof e&&e.charCodeAt(0)>96}(e)&&(v=void 0);const y=Je(e,s({shouldForwardProp:v,label:undefined},f)),b=(r,...o)=>{const a=o?o.map((e=>{if("function"===typeof e&&e.__emotion_real!==e)return r=>xn({styledArg:e,props:r,defaultTheme:n,themeId:t});if(tt(e)){let t,n=e;return e&&e.variants&&(t=e.variants,delete n.variants,n=n=>{let r=e;return fn(n,hn(t),t).forEach((e=>{r=rt(r,e)})),r}),n}return e})):[];let l=r;if(tt(r)){let e;r&&r.variants&&(e=r.variants,delete l.variants,l=t=>{let n=r;return fn(t,hn(e),e).forEach((e=>{n=rt(n,e)})),n})}else"function"===typeof r&&r.__emotion_real!==r&&(l=e=>xn({styledArg:r,props:e,defaultTheme:n,themeId:t}));c&&h&&a.push((e=>{const r=yn(s({},e,{defaultTheme:n,themeId:t})),o=((e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null)(c,r);if(o){const t={};return Object.entries(o).forEach((([n,o])=>{t[n]="function"===typeof o?o(s({},e,{theme:r})):o})),h(e,t)}return null})),c&&!m&&a.push((e=>{const r=yn(s({},e,{defaultTheme:n,themeId:t}));return((e,t,n,r)=>{var o;const i=null==n||null==(o=n.components)||null==(o=o[r])?void 0:o.variants;return fn(e,t,i)})(e,((e,t)=>{let n=[];return t&&t.components&&t.components[e]&&t.components[e].variants&&(n=t.components[e].variants),hn(n)})(c,r),r,c)})),g||a.push(i);const u=a.length-o.length;if(Array.isArray(r)&&u>0){const e=new Array(u).fill("");l=[...r,...e],l.raw=[...r.raw,...e]}const d=y(l,...a);return e.muiName&&(d.muiName=e.muiName),d};return y.withConfig&&(b.withConfig=y.withConfig),b}}function wn(e,t){return s({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var En={black:"#000",white:"#fff"};var Mn={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"};var Sn={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"};var Cn={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"};var On={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"};var Tn={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"};var An={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"};var Rn={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"};const zn=["mode","contrastThreshold","tonalOffset"],Ln={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:En.white,default:En.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}},_n={text:{primary:En.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:En.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)",disabledBackgroun
1d:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function Hn(e,t,n,r){const o=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=k(e.main,o):"dark"===t&&(e.dark=x(e.main,i)))}function Nn(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,o=a(e,zn),i=e.primary||function(e="light"){return"dark"===e?{main:Tn[200],light:Tn[50],dark:Tn[400]}:{main:Tn[700],light:Tn[400],dark:Tn[800]}}(t),l=e.secondary||function(e="light"){return"dark"===e?{main:Sn[200],light:Sn[50],dark:Sn[400]}:{main:Sn[500],light:Sn[300],dark:Sn[700]}}(t),c=e.error||function(e="light"){return"dark"===e?{main:Cn[500],light:Cn[300],dark:Cn[700]}:{main:Cn[700],light:Cn[400],dark:Cn[800]}}(t),u=e.info||function(e="light"){return"dark"===e?{main:An[400],light:An[300],dark:An[700]}:{main:An[700],light:An[500],dark:An[900]}}(t),d=e.success||function(e="light"){return"dark"===e?{main:Rn[400],light:Rn[300],dark:Rn[700]}:{main:Rn[800],light:Rn[500],dark:Rn[900]}}(t),p=e.warning||function(e="light"){return"dark"===e?{main:On[400],light:On[300],dark:On[700]}:{main:"#ed6c02",light:On[500],dark:On[900]}}(t);function h(e){const t=function(e,t){const n=y(e),r=y(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}(e,_n.text.primary)>=n?_n.text.primary:Ln.text.primary;return t}const m=({color:e,name:t,mainShade:n=500,lightShade:o=300,darkShade:i=700})=>{if(!(e=s({},e)).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw new Error(f(11,t?` (${t})`:"",n));if("string"!==typeof e.main)throw new Error(f(12,t?` (${t})`:"",JSON.stringify(e.main)));return Hn(e,"light",o,r),Hn(e,"dark",i,r),e.contrastText||(e.contrastText=h(e.main)),e},g={dark:_n,light:Ln};return rt(s({common:s({},En),mode:t,primary:m({color:i,name:"primary"}),secondary:m({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:m({color:c,name:"error"}),warning:m({color:p,name:"warning"}),info:m({color:u,name:"info"}),success:m({color:d,name:"success"}),grey:Mn,contrastThreshold:n,getContrastText:h,augmentColor:m,tonalOffset:r},g[t]),o)}const Pn=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const In={textTransform:"uppercase"},Dn='"Roboto", "Helvetica", "Arial", sans-serif';function $n(e,t){const n="function"===typeof t?t(e):t,{fontFamily:r=Dn,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:l=400,fontWeightMedium:c=500,fontWeightBold:u=700,htmlFontSize:d=16,allVariants:p,pxToRem:h}=n,f=a(n,Pn);const m=o/14,g=h||(e=>e/d*m+"rem"),v=(e,t,n,o,i)=>{return s({fontFamily:r,fontWeight:e,fontSize:g(t),lineHeight:n},r===Dn?{letterSpacing:(a=o/t,Math.round(1e5*a)/1e5)+"em"}:{},i,p);var a},y={h1:v(i,96,1.167,-1.5),h2:v(i,60,1.2,-.5),h3:v(l,48,1.167,0),h4:v(l,34,1.235,.25),h5:v(l,24,1.334,0),h6:v(c,20,1.6,.15),subtitle1:v(l,16,1.75,.15),subtitle2:v(c,14,1.57,.1),body1:v(l,16,1.5,.15),body2:v(l,14,1.43,.15),button:v(c,14,1.75,.4,In),caption:v(l,12,1.66,.4),overline:v(l,12,2.66,1,In),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return rt(s({htmlFontSize:d,pxToRem:g,fontFamily:r,fontSize:o,fontWeightLight:i,fontWeightRegular:l,fontWeightMedium:c,fontWeightBold:u},y),f,{clone:!1})}function Vn(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}var jn=["none",Vn(0,2,1,-1,0,1,1,0,0,1,3,0),Vn(0,3,1,-2,0,2,2,0,0,1,5,0),Vn(0,3,3,-2,0,3,4,0,0,1,8,0),Vn(0,2,4,-1,0,4,5,0,0,1,10,0),Vn(0,3,5,-1,0,5,8,0,0,1,14,0),Vn(0,3,5,-1,0,6,10,0,0,1,18,0),Vn(0,4,5,-2,0,7,10,1,0,2,16,1),Vn(0,5,5,-3,0,8,10,1,0,3,14,2),Vn(0,5,6,-3,0,9,12,1,0,3,16,2),Vn(0,6,6,-3,0,10,14,1,0,4,18,3),Vn(0,6,7,-4,0,11,15,1,0,4,20,3),Vn(0,7,8,-4,0,12,17,2,0,5,22,4),Vn(0,7,8,-4,0,13,19,2,0,5,24,4),Vn(0,7,9,-4,0,14,21,2,0,5,26,4),Vn(0,8,9,-5,0,15,22,2,0,6,28,5),Vn(0,8,10,-5,0,16,24,2,0,6,30,5),Vn(0,8,11,-5,0,17,26,2,0,6,32,5),Vn(0,9,11,-5,0,18,28,2,0,7,34,6),Vn(0,9,12,-6,0,19,29,2,0,7,36,6
1),Vn(0,10,13,-6,0,20,31,3,0,8,38,7),Vn(0,10,13,-6,0,21,33,3,0,8,40,7),Vn(0,10,14,-6,0,22,35,3,0,8,42,7),Vn(0,11,14,-7,0,23,36,3,0,9,44,8),Vn(0,11,15,-7,0,24,38,3,0,9,46,8)];const Bn=["duration","easing","delay"],Fn={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)"},Wn={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Un(e){return`${Math.round(e)}ms`}function Kn(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function Gn(e){const t=s({},Fn,e.easing),n=s({},Wn,e.duration);return s({getAutoHeightDuration:Kn,create:(e=["all"],r={})=>{const{duration:o=n.standard,easing:i=t.easeInOut,delay:s=0}=r;a(r,Bn);return(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"===typeof o?o:Un(o)} ${i} ${"string"===typeof s?s:Un(s)}`)).join(",")}},e,{easing:t,duration:n})}var qn={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};const Xn=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Yn(e={},...t){const{mixins:n={},palette:r={},transitions:o={},typography:i={}}=e,l=a(e,Xn);if(e.vars)throw new Error(f(18));const c=Nn(r),u=ln(e);let d=rt(u,{mixins:wn(u.breakpoints,n),palette:c,shadows:jn.slice(),typography:$n(c,i),transitions:Gn(o),zIndex:s({},qn)});return d=rt(d,l),d=t.reduce(((e,t)=>rt(e,t)),d),d.unstable_sxConfig=s({},rn,null==l?void 0:l.unstable_sxConfig),d.unstable_sx=function(e){return an({sx:e,theme:this})},d}var Zn=Yn;var Qn=Zn(),Jn="$$material";const er=e=>mn(e)&&"classes"!==e;var tr=kn({themeId:Jn,defaultTheme:Qn,rootShouldForwardProp:er});var nr=function(e=null){const t=o.useContext(We);return t&&(n=t,0!==Object.keys(n).length)?t:e;var n};const rr=ln();var or=function(e=rr){return nr(e)};function ir(){const e=or(Qn);return e.$$material||e}function ar(e,t){const n=et({},t);return Object.keys(e).forEach((r=>{if(r.toString().match(/^(components|slots)$/))n[r]=et({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const o=e[r]||{},i=t[r];n[r]={},i&&Object.keys(i)?o&&Object.keys(o)?(n[r]=et({},i),Object.keys(o).forEach((e=>{n[r][e]=ar(o[e],i[e])}))):n[r]=i:n[r]=o}else void 0===n[r]&&(n[r]=e[r])})),n}function sr(e){const{theme:t,name:n,props:r}=e;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?ar(t.components[n].defaultProps,r):r}function lr({props:e,name:t,defaultTheme:n,themeId:r}){let o=or(n);r&&(o=o[r]||o);return sr({theme:o,name:t,props:e})}function cr({props:e,name:t}){return lr({props:e,name:t,defaultTheme:Qn,themeId:Jn})}var ur=ht,dr=n(8662);const pr=e=>e.scrollTop;function hr(e,t){var n,r;const{timeout:o,easing:i,style:a={}}=e;return{duration:null!=(n=a.transitionDuration)?n:"number"===typeof o?o:o[t.mode]||0,easing:null!=(r=a.transitionTimingFunction)?r:"object"===typeof i?i[t.mode]:i,delay:a.transitionDelay}}function fr(e,t){"function"===typeof e?e(t):e&&(e.current=t)}function mr(...e){return o.useMemo((()=>e.every((e=>null==e))?null:t=>{e.forEach((e=>{fr(e,t)}))}),e)}var gr=mr,vr=n(85893);const yr=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function br(e){return`scale(${e}, ${e**2})`}const xr={entering:{opacity:1,transform:br(1)},entered:{opacity:1,transform:"none"}},kr="undefined"!==typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),wr=o.forwardRef((function(e,t){const{addEndListener:n,appear:r=!0,children:i,easing:l,in:c,onEnter:u,onEntered:d,onEntering:p,onExit:h,onExited:f,onExiting:m,style:g,timeout:v="auto",TransitionComponent:y=dr.ZP}=e,b=a(e,yr),x=o.useRef(),k=o.useRef(),w=ir(),E=o.useRef(null),M=gr(E,i.ref,t),S=e=>t=>{if(e){const n=E.current;void 0===t?e(n):e(n,t)}},C=S(p),O=S(((e,t)=>{pr(e);const{duration:n,delay:r,easing:o}=hr({style:g,timeout:v,easing:l},{mode:"enter"});let i;"auto"===v?(i=w.transitions.getAutoHeightDuration(e.clientHeight),k.current=i):i=n,e.style.transition=[w.transitions.create("opacity",{duration:i,delay:r}),w.transitions.create("transform",{duration:kr?i:.666*i,delay:r,easing:o})].join(","),u&&u(e,t)})),T=S(d),A=S(m),R=S((e=>{const{duration:t,delay:n,easing:r}=hr({style:g,timeout:v,easing:l},{mode:"exit"});let o;"auto"===v?(o=w.transitions.getAutoHeightDuration(e.clientHeight),k.current=o):o=t,e.style.transition=[w.transitions.create("opacity",{duration:o,delay:n}),w.transitions.create("transform",{duration:kr?o:.666*o,delay:kr?n:n||.333*o,easing:r}
vendor: 8,842 bytes, line 1
1)].join(","),e.style.opacity=0,e.style.transform=br(.75),h&&h(e)})),z=S(f);return o.useEffect((()=>()=>{clearTimeout(x.current)}),[]),(0,vr.jsx)(y,s({appear:r,in:c,nodeRef:E,onEnter:O,onEntered:T,onEntering:C,onExit:R,onExited:z,onExiting:A,addEndListener:e=>{"auto"===v&&(x.current=setTimeout(e,k.current||0)),n&&n(E.current,e)},timeout:"auto"===v?null:v},b,{children:(e,t)=>o.cloneElement(i,s({style:s({opacity:0,transform:br(.75),visibility:"exited"!==e||c?void 0:"hidden"},xr[e],g,i.props.style),ref:M},t))}))}));wr.muiSupportAuto=!0;var Er=wr;function Mr(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var Sr="undefined"!==typeof window?o.useLayoutEffect:o.useEffect;function Cr(e){return e&&e.ownerDocument||document}function Or(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Tr(e){return e instanceof Or(e).Element||e instanceof Element}function Ar(e){return e instanceof Or(e).HTMLElement||e instanceof HTMLElement}function Rr(e){return"undefined"!==typeof ShadowRoot&&(e instanceof Or(e).ShadowRoot||e instanceof ShadowRoot)}var zr=Math.max,Lr=Math.min,_r=Math.round;function Hr(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function Nr(){return!/^((?!chrome|android).)*safari/i.test(Hr())}function Pr(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&Ar(e)&&(o=e.offsetWidth>0&&_r(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&_r(r.height)/e.offsetHeight||1);var a=(Tr(e)?Or(e):window).visualViewport,s=!Nr()&&n,l=(r.left+(s&&a?a.offsetLeft:0))/o,c=(r.top+(s&&a?a.offsetTop:0))/i,u=r.width/o,d=r.height/i;return{width:u,height:d,top:c,right:l+u,bottom:c+d,left:l,x:l,y:c}}function Ir(e){var t=Or(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Dr(e){return e?(e.nodeName||"").toLowerCase():null}function $r(e){return((Tr(e)?e.ownerDocument:e.document)||window.document).documentElement}function Vr(e){return Pr($r(e)).left+Ir(e).scrollLeft}function jr(e){return Or(e).getComputedStyle(e)}function Br(e){var t=jr(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Fr(e,t,n){void 0===n&&(n=!1);var r=Ar(t),o=Ar(t)&&function(e){var t=e.getBoundingClientRect(),n=_r(t.width)/e.offsetWidth||1,r=_r(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),i=$r(t),a=Pr(e,o,n),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&(("body"!==Dr(t)||Br(i))&&(s=function(e){return e!==Or(e)&&Ar(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:Ir(e);var t}(t)),Ar(t)?((l=Pr(t,!0)).x+=t.clientLeft,l.y+=t.clientTop):i&&(l.x=Vr(i))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Wr(e){var t=Pr(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function Ur(e){return"html"===Dr(e)?e:e.assignedSlot||e.parentNode||(Rr(e)?e.host:null)||$r(e)}function Kr(e){return["html","body","#document"].indexOf(Dr(e))>=0?e.ownerDocument.body:Ar(e)&&Br(e)?e:Kr(Ur(e))}function Gr(e,t){var n;void 0===t&&(t=[]);var r=Kr(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=Or(r),a=o?[i].concat(i.visualViewport||[],Br(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(Gr(Ur(a)))}function qr(e){return["table","td","th"].indexOf(Dr(e))>=0}function Xr(e){return Ar(e)&&"fixed"!==jr(e).position?e.offsetParent:null}function Yr(e){for(var t=Or(e),n=Xr(e);n&&qr(n)&&"static"===jr(n).position;)n=Xr(n);return n&&("html"===Dr(n)||"body"===Dr(n)&&"static"===jr(n).position)?t:n||function(e){var t=/firefox/i.test(Hr());if(/Trident/i.test(Hr())&&Ar(e)&&"fixed"===jr(e).position)return null;var n=Ur(e);for(Rr(n)&&(n=n.host);Ar(n)&&["html","body"].indexOf(Dr(n))<0;){var r=jr(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var Zr="top",Qr="bottom",Jr="right",eo="left",to="auto",no=[Zr,Qr,Jr,eo],ro="start",oo="end",io="viewport",ao="popper",so=no.reduce((function(e,t){return e.concat([t+"-"+ro,t+"-"+oo])}),[]),lo=[].concat(no,[to]).reduce((function(e,t){return e.concat([t,t+"-"+ro,t+"-"+oo])}),[]),co=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function uo(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}function po(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}var ho={placement:"bottom",modifiers:[],strategy:"absolute"};function fo(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"===typeof e.getBoundingClientRect)}))}function mo(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?ho:o;return function(e,t,n){void 0===n&&(n=i);var o={placement:"bottom",orderedModifiers:[],options:Object.assign({},ho,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},a=[],s=!1,l={state:o,setOptions:function(n){var s="function"===typeof n?n(o.options):n;c(),o.options=Object.assign({},i,o.options,s),o.scrollParents={reference:Tr(e)?Gr(e):e.contextElement?Gr(e.contextElement):[],popper:Gr(t)};var u=function(e){var t=uo(e);return co.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(r,o.options.modifiers)));return o.orderedModifiers=u.filter((function(e){return e.enabled})),o.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,i=e.effect;if("function"===typeof i){var s=i({state:o,name:t,instance:l,options:r}),c=function(){};a.push(s||c)}})),l.update()},forceUpdate:function(){if(!s){var e=o.elements,t=e.reference,n=e.popper;if(fo(t,n)){o.rects={reference:Fr(t,Yr(n),"fixed"===o.options.strategy),popper:Wr(n)},o.reset=!1,o.placement=o.options.placement,o.orderedModifiers.forEach((function(e){return o.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<o.orderedModifiers.length;r++)if(!0!==o.reset){var i=o.orderedModifiers[r],a=i.fn,c=i.options,u=void 0===c?{}:c,d=i.name;"function"===typeof a&&(o=a({state:o,options:u,name:d,instance:l})||o)}else o.reset=!1,r=-1}}},update:po((function(){return new Promise((function(e){l.forceUpdate(),e(o)}))})),destroy:function(){c(),s=!0}};if(!fo(e,t))return l;function c(){a.forEach((function(e){return e()})),a=[]}return l.setOptions(n).then((function(e){!s&&n.onFirstUpdate&&n.onFirstUpdate(e)})),l}}var go={passive:!0};function vo(e){return e.split("-")[0]}function yo(e){return e.split("-")[1]}function bo(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function xo(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?vo(o):null,a=o?yo(o):null,s=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(i){case Zr:t={x:s,y:n.y-r.height};break;case Qr:t={x:s,y:n.y+n.height};break;case Jr:t={x:n.x+n.width,y:l};break;case eo:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var c=i?bo(i):null;if(null!=c){var u="y"===c?"height":"width";switch(a){case ro:t[c]=t[c]-(n[u]/2-r[u]/2);break;case oo:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}var ko={top:"auto",right:"auto",bottom:"auto",left:"auto"};function wo(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,p=a.x,h=void 0===p?0:p,f=a.y,m=void 0===f?0:f,g="function"===typeof u?u({x:h,y:m}):{x:h,y:m};h=g.x,m=g.y;var v=a.hasOwnProperty("x"),y=a.hasOwnProperty("y"),b=eo,x=Zr,k=window;if(c){var w=Yr(n),E="clientHeight",M="clientWidth";if(w===Or(n)&&"static"!==jr(w=$r(n)).position&&"absolute"===s&&(E="scrollHeight",M="scrollWidth"),o===Zr||(o===eo||o===Jr)&&i===oo)x=Qr,m-=(d&&w===k&&k.visualViewport?k.visualViewport.height:w[E])-r.height,m*=l?1:-1;if(o===eo||(o===Zr||o===Qr)&&i===oo)b=Jr,h-=(d&&w===k&&k.visualViewport?k.visualViewport.width:w[M])-r.width,h*=l?1:-1}var S,C=Object.assign({position:s},c&&ko),O=!0===u?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;
vendor: 4,094 bytes, line 1
1return{x:_r(n*o)/o||0,y:_r(r*o)/o||0}}({x:h,y:m},Or(n)):{x:h,y:m};return h=O.x,m=O.y,l?Object.assign({},C,((S={})[x]=y?"0":"",S[b]=v?"0":"",S.transform=(k.devicePixelRatio||1)<=1?"translate("+h+"px, "+m+"px)":"translate3d("+h+"px, "+m+"px, 0)",S)):Object.assign({},C,((t={})[x]=y?m+"px":"",t[b]=v?h+"px":"",t.transform="",t))}var Eo={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];Ar(o)&&Dr(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});Ar(r)&&Dr(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};var Mo={left:"right",right:"left",bottom:"top",top:"bottom"};function So(e){return e.replace(/left|right|bottom|top/g,(function(e){return Mo[e]}))}var Co={start:"end",end:"start"};function Oo(e){return e.replace(/start|end/g,(function(e){return Co[e]}))}function To(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Rr(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Ao(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Ro(e,t,n){return t===io?Ao(function(e,t){var n=Or(e),r=$r(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;var c=Nr();(c||!c&&"fixed"===t)&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s+Vr(e),y:l}}(e,n)):Tr(t)?function(e,t){var n=Pr(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):Ao(function(e){var t,n=$r(e),r=Ir(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=zr(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=zr(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+Vr(e),l=-r.scrollTop;return"rtl"===jr(o||n).direction&&(s+=zr(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}($r(e)))}function zo(e,t,n,r){var o="clippingParents"===t?function(e){var t=Gr(Ur(e)),n=["absolute","fixed"].indexOf(jr(e).position)>=0&&Ar(e)?Yr(e):e;return Tr(n)?t.filter((function(e){return Tr(e)&&To(e,n)&&"body"!==Dr(e)})):[]}(e):[].concat(t),i=[].concat(o,[n]),a=i[0],s=i.reduce((function(t,n){var o=Ro(e,n,r);return t.top=zr(o.top,t.top),t.right=Lr(o.right,t.right),t.bottom=Lr(o.bottom,t.bottom),t.left=zr(o.left,t.left),t}),Ro(e,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function Lo(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function _o(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function Ho(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.strategy,a=void 0===i?e.strategy:i,s=n.boundary,l=void 0===s?"clippingParents":s,c=n.rootBoundary,u=void 0===c?io:c,d=n.elementContext,p=void 0===d?ao:d,h=n.altBoundary,f=void 0!==h&&h,m=n.padding,g=void 0===m?0:m,v=Lo("number"!==typeof g?g:_o(g,no)),y=p===ao?"reference":ao,b=e.rects.popper,x=e.elements[f?y:p],k=zo(Tr(x)?x:x.contextElement||$r(e.elements.popper),l,u,a),w=Pr(e.elements.reference),E=xo({reference:w,element:b,strategy:"absolute",placement:o}),M=Ao(Object.assign({},b,E)),S=p===ao?M:w,C={top:k.top-S.top+v.top,bottom:S.bottom-k.bottom+v.bottom,left:k.left-S.left+v.left,right:S.right-k.right+v.right},O=e.modifiersData.offset;if(p===ao&&O){var T=O[o];
vendor: 5,199 bytes, line 1
1Object.keys(C).forEach((function(e){var t=[Jr,Qr].indexOf(e)>=0?1:-1,n=[Zr,Qr].indexOf(e)>=0?"y":"x";C[e]+=T[n]*t}))}return C}var No={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,p=n.altBoundary,h=n.flipVariations,f=void 0===h||h,m=n.allowedAutoPlacements,g=t.options.placement,v=vo(g),y=l||(v===g||!f?[So(g)]:function(e){if(vo(e)===to)return[];var t=So(e);return[Oo(e),t,Oo(t)]}(g)),b=[g].concat(y).reduce((function(e,n){return e.concat(vo(n)===to?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?lo:l,u=yo(r),d=u?s?so:so.filter((function(e){return yo(e)===u})):no,p=d.filter((function(e){return c.indexOf(e)>=0}));0===p.length&&(p=d);var h=p.reduce((function(t,n){return t[n]=Ho(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[vo(n)],t}),{});return Object.keys(h).sort((function(e,t){return h[e]-h[t]}))}(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:f,allowedAutoPlacements:m}):n)}),[]),x=t.rects.reference,k=t.rects.popper,w=new Map,E=!0,M=b[0],S=0;S<b.length;S++){var C=b[S],O=vo(C),T=yo(C)===ro,A=[Zr,Qr].indexOf(O)>=0,R=A?"width":"height",z=Ho(t,{placement:C,boundary:u,rootBoundary:d,altBoundary:p,padding:c}),L=A?T?Jr:eo:T?Qr:Zr;x[R]>k[R]&&(L=So(L));var _=So(L),H=[];if(i&&H.push(z[O]<=0),s&&H.push(z[L]<=0,z[_]<=0),H.every((function(e){return e}))){M=C,E=!1;break}w.set(C,H)}if(E)for(var N=function(e){var t=b.find((function(t){var n=w.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return M=t,"break"},P=f?3:1;P>0;P--){if("break"===N(P))break}t.placement!==M&&(t.modifiersData[r]._skip=!0,t.placement=M,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Po(e,t,n){return zr(e,Lr(t,n))}var Io={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0!==a&&a,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,p=n.tether,h=void 0===p||p,f=n.tetherOffset,m=void 0===f?0:f,g=Ho(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),v=vo(t.placement),y=yo(t.placement),b=!y,x=bo(v),k="x"===x?"y":"x",w=t.modifiersData.popperOffsets,E=t.rects.reference,M=t.rects.popper,S="function"===typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,C="number"===typeof S?{mainAxis:S,altAxis:S}:Object.assign({mainAxis:0,altAxis:0},S),O=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,T={x:0,y:0};if(w){if(i){var A,R="y"===x?Zr:eo,z="y"===x?Qr:Jr,L="y"===x?"height":"width",_=w[x],H=_+g[R],N=_-g[z],P=h?-M[L]/2:0,I=y===ro?E[L]:M[L],D=y===ro?-M[L]:-E[L],$=t.elements.arrow,V=h&&$?Wr($):{width:0,height:0},j=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},B=j[R],F=j[z],W=Po(0,E[L],V[L]),U=b?E[L]/2-P-W-B-C.mainAxis:I-W-B-C.mainAxis,K=b?-E[L]/2+P+W+F+C.mainAxis:D+W+F+C.mainAxis,G=t.elements.arrow&&Yr(t.elements.arrow),q=G?"y"===x?G.clientTop||0:G.clientLeft||0:0,X=null!=(A=null==O?void 0:O[x])?A:0,Y=_+K-X,Z=Po(h?Lr(H,_+U-X-q):H,_,h?zr(N,Y):N);w[x]=Z,T[x]=Z-_}if(s){var Q,J="x"===x?Zr:eo,ee="x"===x?Qr:Jr,te=w[k],ne="y"===k?"height":"width",re=te+g[J],oe=te-g[ee],ie=-1!==[Zr,eo].indexOf(v),ae=null!=(Q=null==O?void 0:O[k])?Q:0,se=ie?re:te-E[ne]-M[ne]-ae+C.altAxis,le=ie?te+E[ne]+M[ne]-ae-C.altAxis:oe,ce=h&&ie?function(e,t,n){var r=Po(e,t,n);return r>n?n:r}(se,te,le):Po(h?se:re,te,h?le:oe);w[k]=ce,T[k]=ce-te}t.modifiersData[r]=T}},requiresIfExists:["offset"]};var Do={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=vo(n.placement),l=bo(s),c=[eo,Jr].indexOf(s)>=0?"height":"width";if(i&&a){var u=function(e,t){return Lo("number"!==typeof(e="function"===typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:_o(e,no))}(o.padding,n),d=Wr(i),p="y"===l?Zr:eo,h="y"===l?Qr:Jr,f=n.rects.reference[c]+n.rects.reference[l]-a[l]-n.rects.popper[c],m=a[l]-n.rects.reference[l],g=Yr(i),v=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,y=f/2-m/2,b=u[p],x=v-d[c]-u[h],k=v/2-d[c]/2+y,w=Po(b,k,x),E=l;n.modifiersData[r]=((t={})[E]=w,t.centerOffset=w-k,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!==typeof r||(r=t.elements.popper.querySelector(r)))&&To(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function $o(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Vo(e){return[Zr,Jr,Qr,eo].some((function(t){return e[t]>=0}))}var jo=mo({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,s=void 0===a||a,l=Or(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);
1return i&&c.forEach((function(e){e.addEventListener("scroll",n.update,go)})),s&&l.addEventListener("resize",n.update,go),function(){i&&c.forEach((function(e){e.removeEventListener("scroll",n.update,go)})),s&&l.removeEventListener("resize",n.update,go)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=xo({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,l=void 0===s||s,c={placement:vo(t.placement),variation:yo(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,wo(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,wo(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},Eo,{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=lo.reduce((function(e,n){return e[n]=function(e,t,n){var r=vo(e),o=[eo,Zr].indexOf(r)>=0?-1:1,i="function"===typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[eo,Jr].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e}),{}),s=a[t.placement],l=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}},No,Io,Do,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=Ho(t,{elementContext:"reference"}),s=Ho(t,{altBoundary:!0}),l=$o(a,r),c=$o(s,o,i),u=Vo(l),d=Vo(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]}),Bo=n(73935);const Fo=o.forwardRef((function(e,t){const{children:n,container:r,disablePortal:i=!1}=e,[a,s]=o.useState(null),l=mr(o.isValidElement(n)?n.ref:null,t);if(Sr((()=>{i||s(function(e){return"function"===typeof e?e():e}(r)||document.body)}),[r,i]),Sr((()=>{if(a&&!i)return fr(t,a),()=>{fr(t,null)}}),[t,a,i]),i){if(o.isValidElement(n)){const e={ref:l};return o.cloneElement(n,e)}return(0,vr.jsx)(o.Fragment,{children:n})}return(0,vr.jsx)(o.Fragment,{children:a?Bo.createPortal(n,a):a})}));const Wo=e=>e;var Uo=(()=>{let e=Wo;return{configure(t){e=t},generate:t=>e(t),reset(){e=Wo}}})();const Ko={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Go(e,t,n="Mui"){const r=Ko[t];return r?`${n}-${r}`:`${Uo.generate(e)}-${t}`}function qo(e,t,n="Mui"){const r={};return t.forEach((t=>{r[t]=Go(e,t,n)})),r}function Xo(e){return Go("MuiPopper",e)}qo("MuiPopper",["root"]);function Yo(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=Yo(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}var Zo=function(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=Yo(e))&&(r&&(r+=" "),r+=t);return r};function Qo(e,t=[]){if(void 0===e)return{};const n={};return Object.keys(e).filter((n=>n.match(/^on[A-Z]/)&&"function"===typeof e[n]&&!t.includes(n))).forEach((t=>{n[t]=e[t]})),n}function Jo(e){if(void 0===e)return{};const t={};return Object.keys(e).filter((t=>
1!(t.match(/^on[A-Z]/)&&"function"===typeof e[t]))).forEach((n=>{t[n]=e[n]})),t}const ei=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function ti(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o,skipResolvingSlotProps:i=!1}=e,a=Mr(e,ei),s=i?{}:function(e,t,n){return"function"===typeof e?e(t,n):e}(r,o),{props:l,internalRef:c}=function(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:i}=e;if(!t){const e=Zo(null==n?void 0:n.className,i,null==o?void 0:o.className,null==r?void 0:r.className),t=d({},null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),a=d({},n,o,r);return e.length>0&&(a.className=e),Object.keys(t).length>0&&(a.style=t),{props:a,internalRef:void 0}}const a=Qo(d({},o,r)),s=Jo(r),l=Jo(o),c=t(a),u=Zo(null==c?void 0:c.className,null==n?void 0:n.className,i,null==o?void 0:o.className,null==r?void 0:r.className),p=d({},null==c?void 0:c.style,null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),h=d({},c,n,l,s);return u.length>0&&(h.className=u),Object.keys(p).length>0&&(h.style=p),{props:h,internalRef:c.ref}}(d({},a,{externalSlotProps:s}));return h(n,d({},l,{ref:mr(c,null==s?void 0:s.ref,null==(t=e.additionalProps)?void 0:t.ref)}),o)}const ni={disableDefaultClasses:!1},ri=o.createContext(ni);const oi=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],ii=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function ai(e){return"function"===typeof e?e():e}function si(e){return void 0!==e.nodeType}const li=()=>u({root:["root"]},function(e){const{disableDefaultClasses:t}=o.useContext(ri);return n=>t?"":e(n)}(Xo)),ci={},ui=o.forwardRef((function(e,t){var n;const{anchorEl:r,children:i,direction:a,disablePortal:s,modifiers:l,open:c,placement:u,popperOptions:p,popperRef:h,slotProps:f={},slots:m={},TransitionProps:g}=e,v=Mr(e,oi),y=o.useRef(null),b=mr(y,t),x=o.useRef(null),k=mr(x,h),w=o.useRef(k);Sr((()=>{w.current=k}),[k]),o.useImperativeHandle(h,(()=>x.current),[]);const E=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(u,a),[M,S]=o.useState(E),[C,O]=o.useState(ai(r));o.useEffect((()=>{x.current&&x.current.forceUpdate()})),o.useEffect((()=>{r&&O(ai(r))}),[r]),Sr((()=>{if(!C||!c)return;let e=[{name:"preventOverflow",options:{altBoundary:s}},{name:"flip",options:{altBoundary:s}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:e})=>{S(e.placement)}}];null!=l&&(e=e.concat(l)),p&&null!=p.modifiers&&(e=e.concat(p.modifiers));const t=jo(C,y.current,d({placement:E},p,{modifiers:e}));return w.current(t),()=>{t.destroy(),w.current(null)}}),[C,s,l,c,p,E]);const T={placement:M};null!==g&&(T.TransitionProps=g);const A=li(),R=null!=(n=m.root)?n:"div",z=ti({elementType:R,externalSlotProps:f.root,externalForwardedProps:v,additionalProps:{role:"tooltip",ref:b},ownerState:e,className:A.root});return(0,vr.jsx)(R,d({},z,{children:"function"===typeof i?i(T):i}))})),di=o.forwardRef((function(e,t){const{anchorEl:n,children:r,container:i,direction:a="ltr",disablePortal:s=!1,keepMounted:l=!1,modifiers:c,open:u,placement:p="bottom",popperOptions:h=ci,popperRef:f,style:m,transition:g=!1,slotProps:v={},slots:y={}}=e,b=Mr(e,ii),[x,k]=o.useState(!0);if(!l&&!u&&(!g||x))return null;let w;if(i)w=i;else if(n){const e=ai(n);w=e&&si(e)?Cr(e).body:Cr(null).body}const E=u||!l||g&&!x?void 0:"none",M=g?{in:u,onEnter:()=>{k(!1)},onExited:()=>{k(!0)}}:void 0;return(0,vr.jsx)(Fo,{disablePortal:s,container:w,children:(0,vr.jsx)(ui,d({anchorEl:n,direction:a,disablePortal:s,modifiers:c,ref:t,open:g?!x:u,placement:p,popperOptions:h,popperRef:f,slotProps:v,slots:y},b,{style:d({position:"fixed",top:0,left:0,display:E},m),TransitionProps:M,children:r}))})})),pi=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],hi=tr(di,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({});var fi=o.forwardRef((function(e,t){var n;const r=nr(),o=cr({props:e,name:"MuiPopper"}),{anchorEl:i,component:l,components:c,componentsProps:u,container:d,disablePortal:p,keepMounted:h,modifiers:f,open:m,placement:g,popperOptions:v,popperRef:y,transition:b,slots:x,slotProps:k}=o,w=a(o,pi),E=null!=(n=null==x?void 0:x.root)?n:null==c?void 0:c.Root,M=s({anchorEl:i,container:d,disablePortal:p,keepMounted:h,modifiers:f,open:m,placement:g,popperOptions:v,popperRef:y,transition:b},w);return(0,vr.jsx)(hi,s({as:l,direction:null==r?void 0:r.direction,slots:{root:E},slotProps:null!=k?k:u},M,{ref:t}))}));var mi=function(e){const t=o.useRef(e);return Sr((()=>{t.current=e})),o.useRef(((...e)=>(0,t.current)(...e))).current},gi=mi;let vi=0;const yi=i["useId".toString()];var bi=function(e){if(void 0!==yi){const t=yi();return null!=e?e:t}return function(e){const[t,n]=o.useState(e),r=e||t;return o.useEffect((()=>{null==t&&(vi+=1,n(`mui-${vi}`))}),[t]),r}(e)};let xi,ki=!0,wi=!1;const Ei={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 Mi(e){e.metaKey||e.altKey||e.ctrlKey||(ki=!0)}function Si(){ki=!1}function Ci(){"hidden"===this.visibilityState&&wi&&(ki=!0)}function Oi(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(n){}return ki||function(e){const{type:t,tagName:n}=e;return!("INPUT"!==n||!Ei[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}var Ti=function(){const e=o.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",Mi,!0),t.addEventListener("mousedown",Si,!0),t.addEventListener("pointerdown",Si,!0),t.addEventListener("touchstart",Si,!0),t.addEventListener("visibilitychange",Ci,!0))}),[]),t=o.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!Oi(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(wi=!0,window.clearTimeout(xi),xi=window.setTimeout((()=>{wi=!1}),100),t.current=!1,!0)},ref:e}};var Ai=function({controlled:e,default:t,name:n,state:r="value"}){const{current:i}=o.useRef(void 0!==e),[a,s]=o.useState(t);return[i?e:a,o.useCallback((e=>{i||s(e)}),[])]};function Ri(e){return Go("MuiTooltip",e)}var zi=qo("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);const Li=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","
1slotProps","slots","title","TransitionComponent","TransitionProps"];const _i=tr(fi,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})((({theme:e,ownerState:t,open:n})=>s({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!n&&{pointerEvents:"none"},t.arrow&&{[`&[data-popper-placement*="bottom"] .${zi.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${zi.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${zi.arrow}`]:s({},t.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${zi.arrow}`]:s({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})}))),Hi=tr("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${ur(n.placement.split("-")[0])}`]]}})((({theme:e,ownerState:t})=>{return s({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:b(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},t.arrow&&{position:"relative",margin:0},t.touch&&{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:(n=16/14,Math.round(1e5*n)/1e5)+"em",fontWeight:e.typography.fontWeightRegular},{[`.${zi.popper}[data-popper-placement*="left"] &`]:s({transformOrigin:"right center"},t.isRtl?s({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):s({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${zi.popper}[data-popper-placement*="right"] &`]:s({transformOrigin:"left center"},t.isRtl?s({marginRight:"14px"},t.touch&&{marginRight:"24px"}):s({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${zi.popper}[data-popper-placement*="top"] &`]:s({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${zi.popper}[data-popper-placement*="bottom"] &`]:s({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})});var n})),Ni=tr("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})((({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:b(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let Pi=!1,Ii=null,Di={x:0,y:0};function $i(e,t){return n=>{t&&t(n),e(n)}}const Vi=o.forwardRef((function(e,t){var n,r,i,l,d,p,f,m,g,v,y,b,x,k,w,E,M,S,C;const O=cr({props:e,name:"MuiTooltip"}),{arrow:T=!1,children:A,components:R={},componentsProps:z={},describeChild:L=!1,disableFocusListener:_=!1,disableHoverListener:H=!1,disableInteractive:N=!1,disableTouchListener:P=!1,enterDelay:I=100,enterNextDelay:D=0,enterTouchDelay:$=700,followCursor:V=!1,id:j,leaveDelay:B=0,leaveTouchDelay:F=1500,onClose:W,onOpen:U,open:K,placement:G="bottom",PopperComponent:q,PopperProps:X={},slotProps:Y={},slots:Z={},title:Q,TransitionComponent:J=Er,TransitionProps:ee}=O,te=a(O,Li),ne=o.isValidElement(A)?A:(0,vr.jsx)("span",{children:A}),re=ir(),oe="rtl"===re.direction,[ie,ae]=o.useState(),[se,le]=o.useState(null),ce=o.useRef(!1),ue=N||V,de=o.useRef(),pe=o.useRef(),he=o.useRef(),fe=o.useRef(),[me,ge]=Ai({controlled:K,default:!1,name:"Tooltip",state:"open"});let ve=me;const ye=bi(j),be=o.useRef(),xe=o.useCallback((()=>{void 0!==be.current&&(document.body.style.WebkitUserSelect=be.current,be.current=void 0),clearTimeout(fe.current)}),[]);o.useEffect((()=>()=>{clearTimeout(de.current),clearTimeout(pe.current),clearTimeout(he.current),xe()}),[xe]);const ke=e=>{clearTimeout(Ii),Pi=!0,ge(!0),U&&!ve&&U(e)},we=gi((e=>{clearTimeout(Ii),Ii=setTimeout((()=>{Pi=!1}),800+B),ge(!1),W&&ve&&W(e),clearTimeout(de.current),de.current=setTimeout((()=>{ce.current=!1}),re.transitions.duration.shortest)})),Ee=e=>{ce.current&&"touchstart"!==e.type||(ie&&ie.removeAttribute("title"),clearTimeout(pe.current),clearTimeout(he.current),I||Pi&&D?pe.current=setTimeout((()=>{ke(e)}),Pi?D:I):ke(e))},Me=e=>{clearTimeout(pe.current),clearTimeout(he.current),he.current=setTimeout((()=>{we(e)}),B)},{isFocusVisibleRef:Se,onBlur:Ce,onFocus:Oe,ref:Te}=Ti(),[,Ae]=o.useState(!1),Re=e=>{Ce(e),!1===Se.current&&(Ae(!1),Me(e))},ze=e=>{ie||ae(e.currentTarget),Oe(e),!0===Se.current&&(Ae(!0),Ee(e))},Le=e=>{ce.current=!0;const t=ne.props;t.onTouchStart&&t.onTouchStart(e)},_e=Ee,He=Me,Ne=e=>{Le(e),clearTimeout(he.current),clearTimeout(de.current),xe(),be.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",fe.current=setTimeout((()=>{document.body.style.WebkitUserSelect=be.current,Ee(e)}),$)},Pe=e=>{ne.props.onTouchEnd&&ne.props.onTouchEnd(e),xe(),clearTimeout(he.current),he.current=setTimeout((()=>{we(e)}),F)};o.useEffect((()=>
1{if(ve)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){"Escape"!==e.key&&"Esc"!==e.key||we(e)}}),[we,ve]);const Ie=gr(ne.ref,Te,ae,t);Q||0===Q||(ve=!1);const De=o.useRef(),$e={},Ve="string"===typeof Q;L?($e.title=ve||!Ve||H?null:Q,$e["aria-describedby"]=ve?ye:null):($e["aria-label"]=Ve?Q:null,$e["aria-labelledby"]=ve&&!Ve?ye:null);const je=s({},$e,te,ne.props,{className:c(te.className,ne.props.className),onTouchStart:Le,ref:Ie},V?{onMouseMove:e=>{const t=ne.props;t.onMouseMove&&t.onMouseMove(e),Di={x:e.clientX,y:e.clientY},De.current&&De.current.update()}}:{});const Be={};P||(je.onTouchStart=Ne,je.onTouchEnd=Pe),H||(je.onMouseOver=$i(_e,je.onMouseOver),je.onMouseLeave=$i(He,je.onMouseLeave),ue||(Be.onMouseOver=_e,Be.onMouseLeave=He)),_||(je.onFocus=$i(ze,je.onFocus),je.onBlur=$i(Re,je.onBlur),ue||(Be.onFocus=ze,Be.onBlur=Re));const Fe=o.useMemo((()=>{var e;let t=[{name:"arrow",enabled:Boolean(se),options:{element:se,padding:4}}];return null!=(e=X.popperOptions)&&e.modifiers&&(t=t.concat(X.popperOptions.modifiers)),s({},X.popperOptions,{modifiers:t})}),[se,X]),We=s({},O,{isRtl:oe,arrow:T,disableInteractive:ue,placement:G,PopperComponentProp:q,touch:ce.current}),Ue=(e=>{const{classes:t,disableInteractive:n,arrow:r,touch:o,placement:i}=e;return u({popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",o&&"touch",`tooltipPlacement${ur(i.split("-")[0])}`],arrow:["arrow"]},Ri,t)})(We),Ke=null!=(n=null!=(r=Z.popper)?r:R.Popper)?n:_i,Ge=null!=(i=null!=(l=null!=(d=Z.transition)?d:R.Transition)?l:J)?i:Er,qe=null!=(p=null!=(f=Z.tooltip)?f:R.Tooltip)?p:Hi,Xe=null!=(m=null!=(g=Z.arrow)?g:R.Arrow)?m:Ni,Ye=h(Ke,s({},X,null!=(v=Y.popper)?v:z.popper,{className:c(Ue.popper,null==X?void 0:X.className,null==(y=null!=(b=Y.popper)?b:z.popper)?void 0:y.className)}),We),Ze=h(Ge,s({},ee,null!=(x=Y.transition)?x:z.transition),We),Qe=h(qe,s({},null!=(k=Y.tooltip)?k:z.tooltip,{className:c(Ue.tooltip,null==(w=null!=(E=Y.tooltip)?E:z.tooltip)?void 0:w.className)}),We),Je=h(Xe,s({},null!=(M=Y.arrow)?M:z.arrow,{className:c(Ue.arrow,null==(S=null!=(C=Y.arrow)?C:z.arrow)?void 0:S.className)}),We);return(0,vr.jsxs)(o.Fragment,{children:[o.cloneElement(ne,je),(0,vr.jsx)(Ke,s({as:null!=q?q:fi,placement:G,anchorEl:V?{getBoundingClientRect:()=>({top:Di.y,left:Di.x,right:Di.x,bottom:Di.y,width:0,height:0})}:ie,popperRef:De,open:!!ie&&ve,id:ye,transition:!0},Be,Ye,{popperOptions:Fe,children:({TransitionProps:e})=>(0,vr.jsx)(Ge,s({timeout:re.transitions.duration.shorter},e,Ze,{children:(0,vr.jsxs)(qe,s({},Qe,{children:[Q,T?(0,vr.jsx)(Xe,s({},Je,{ref:le})):null]}))}))}))]})}));var ji=Vi;const Bi=["sx"];function Fi(e){const{sx:t}=e,n=a(e,Bi),{systemProps:r,otherProps:o}=(e=>{var t,n;const r={systemProps:{},otherProps:{}},o=null!=(t=null==e||null==(n=e.theme)?void 0:n.unstable_sxConfig)?t:rn;return Object.keys(e).forEach((t=>{o[t]?r.systemProps[t]=e[t]:r.otherProps[t]=e[t]})),r})(n);let i;return i=Array.isArray(t)?[r,...t]:"function"===typeof t?(...e)=>{const n=t(...e);return tt(n)?s({},r,n):r}:s({},r,t),s({},o,{sx:i})}const Wi=["className","component"];const Ui=Zn(),Ki=function(e={}){const{themeId:t,defaultTheme:n,defaultClassName:r="MuiBox-root",generateClassName:i}=e,l=Je("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(an);return o.forwardRef((function(e,o){const u=or(n),d=Fi(e),{className:p,component:h="div"}=d,f=a(d,Wi);return(0,vr.jsx)(l,s({as:h,ref:o,className:c(p,i?i(r):r),theme:t&&u[t]||u},f))}))}({themeId:Jn,defaultTheme:Ui,defaultClassName:"MuiBox-root",generateClassName:Uo.generate});var Gi=Ki,qi=n(63366),Xi=n(87462),Yi=n(97326),Zi=n(94578),Qi=n(220);function Ji(e,t){var n=Object.create(null);return e&&o.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&(0,o.isValidElement)(e)?t(e):e}(e)})),n}function ea(e,t,n){return null!=n[t]?n[t]:e.props[t]}function ta(e,t,n){var r=Ji(e.children),i=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var s={};for(var l in t){if(o[l])for(r=0;r<o[l].length;r++){var c=o[l][r];s[o[l][r]]=n(c)}s[l]=n(l)}for(r=0;r<i.length;r++)s[i[r]]=n(i[r]);return s}(t,r);
1return Object.keys(i).forEach((function(a){var s=i[a];if((0,o.isValidElement)(s)){var l=a in t,c=a in r,u=t[a],d=(0,o.isValidElement)(u)&&!u.props.in;!c||l&&!d?c||!l||d?c&&l&&(0,o.isValidElement)(u)&&(i[a]=(0,o.cloneElement)(s,{onExited:n.bind(null,s),in:u.props.in,exit:ea(s,"exit",e),enter:ea(s,"enter",e)})):i[a]=(0,o.cloneElement)(s,{in:!1}):i[a]=(0,o.cloneElement)(s,{onExited:n.bind(null,s),in:!0,exit:ea(s,"exit",e),enter:ea(s,"enter",e)})}})),i}var na=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},ra=function(e){function t(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind((0,Yi.Z)(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}(0,Zi.Z)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,r,i=t.children,a=t.handleExited;return{children:t.firstRender?(n=e,r=a,Ji(n.children,(function(e){return(0,o.cloneElement)(e,{onExited:r.bind(null,e),in:!0,appear:ea(e,"appear",n),enter:ea(e,"enter",n),exit:ea(e,"exit",n)})}))):ta(e,i,a),firstRender:!1}},n.handleExited=function(e,t){var n=Ji(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=(0,Xi.Z)({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=(0,qi.Z)(e,["component","childFactory"]),i=this.state.contextValue,a=na(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?o.createElement(Qi.Z.Provider,{value:i},a):o.createElement(Qi.Z.Provider,{value:i},o.createElement(t,r,a))},t}(o.Component);ra.propTypes={},ra.defaultProps={component:"div",childFactory:function(e){return e}};var oa=ra;n(8679);function ia(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return $e(t)}var aa=function(){var e=ia.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}};var sa=function(e){const{className:t,classes:n,pulsate:r=!1,rippleX:i,rippleY:a,rippleSize:s,in:l,onExited:u,timeout:d}=e,[p,h]=o.useState(!1),f=c(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),m={width:s,height:s,top:-s/2+a,left:-s/2+i},g=c(n.child,p&&n.childLeaving,r&&n.childPulsate);return l||p||h(!0),o.useEffect((()=>{if(!l&&null!=u){const e=setTimeout(u,d);return()=>{clearTimeout(e)}}}),[u,l,d]),(0,vr.jsx)("span",{className:f,style:m,children:(0,vr.jsx)("span",{className:g})})};var la=qo("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]);const ca=["center","classes","className"];let ua,da,pa,ha,fa=e=>e;const ma=aa(ua||(ua=fa`
2  0% {
3    transform: scale(0);
4    opacity: 0.1;
5  }
6
7  100% {
8    transform: scale(1);
9    opacity: 0.3;
10  }
11`)),ga=aa(da||(da=fa`
12  0% {
13    opacity: 1;
14  }
15
16  100% {
17    opacity: 0;
18  }
19`)),va=aa(pa||(pa=fa`
20  0% {
21    transform: scale(1);
22  }
23
24  50% {
25    transform: scale(0.92);
26  }
27
28  100% {
29    transform: scale(1);
30  }
31`)),ya=tr("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),ba=tr(sa,{name:"MuiTouchRipple",slot:"Ripple"})(ha||(ha=fa`
32  opacity: 0;
33  position: absolute;
34
35  &.${0} {
36    opacity: 0.3;
37    transform: scale(1);
38    animation-name: ${0};
39    animation-duration: ${0}ms;
40    animation-timing-function: ${0};
41  }
42
43  &.${0} {
44    animation-duration: ${0}ms;
45  }
46
47  & .${0} {
48    opacity: 1;
49    display: block;
50    width: 100%;
51    height: 100%;
52    border-radius: 50%;
53    background-color: currentColor;
54  }
55
56  & .${0} {
57    opacity: 0;
58    animation-name: ${0};
59    animation-duration: ${0}ms;
60    animation-timing-function: ${0};
61  }
62
63  & .${0} {
64    position: absolute;
65    /* @noflip */
66    left: 0px;
67    top: 0;
68    animation-name: ${0};
69    animation-duration: 2500ms;
70    animation-timing-function: ${0};
71    animation-iteration-count: infinite;
72    animation-delay: 200ms;
73  }
74`),la.rippleVisible,ma,550,(({theme:e})=>e.transitions.easing.easeInOut),la.ripplePulsate,(({theme:e})=>e.transitions.duration.shorter),la.child,la.childLeaving,ga,550,(({theme:e})=>e.transitions.easing.easeInOut),la.childPulsate,va,(({theme:e})=>e.transitions.easing.easeInOut)),xa=o.forwardRef((function(e,t){const n=cr({props:e,name:"MuiTouchRipple"}),{center:r=!1,classes:i={},className:l}
vendor: 1,372 bytes, line 74
74=n,u=a(n,ca),[d,p]=o.useState([]),h=o.useRef(0),f=o.useRef(null);o.useEffect((()=>{f.current&&(f.current(),f.current=null)}),[d]);const m=o.useRef(!1),g=o.useRef(0),v=o.useRef(null),y=o.useRef(null);o.useEffect((()=>()=>{g.current&&clearTimeout(g.current)}),[]);const b=o.useCallback((e=>{const{pulsate:t,rippleX:n,rippleY:r,rippleSize:o,cb:a}=e;p((e=>[...e,(0,vr.jsx)(ba,{classes:{ripple:c(i.ripple,la.ripple),rippleVisible:c(i.rippleVisible,la.rippleVisible),ripplePulsate:c(i.ripplePulsate,la.ripplePulsate),child:c(i.child,la.child),childLeaving:c(i.childLeaving,la.childLeaving),childPulsate:c(i.childPulsate,la.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:o},h.current)])),h.current+=1,f.current=a}),[i]),x=o.useCallback(((e={},t={},n=(()=>{}))=>{const{pulsate:o=!1,center:i=r||t.pulsate,fakeElement:a=!1}=t;if("mousedown"===(null==e?void 0:e.type)&&m.current)return void(m.current=!1);"touchstart"===(null==e?void 0:e.type)&&(m.current=!0);const s=a?null:y.current,l=s?s.getBoundingClientRect():{width:0,height:0,left:0,top:0};let c,u,d;if(i||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(l.width/2),u=Math.round(l.height/2);else{const{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;c=Math.round(t-l.left),u=Math.round(n-l.top)}if(i)d=Math.sqrt((2*l.width**2+l.height**2)/3),d%2===0&&(d+=1);
74else{const e=2*Math.max(Math.abs((s?s.clientWidth:0)-c),c)+2,t=2*Math.max(Math.abs((s?s.clientHeight:0)-u),u)+2;d=Math.sqrt(e**2+t**2)}null!=e&&e.touches?null===v.current&&(v.current=()=>{b({pulsate:o,rippleX:c,rippleY:u,rippleSize:d,cb:n})},g.current=setTimeout((()=>{v.current&&(v.current(),v.current=null)}),80)):b({pulsate:o,rippleX:c,rippleY:u,rippleSize:d,cb:n})}),[r,b]),k=o.useCallback((()=>{x({},{pulsate:!0})}),[x]),w=o.useCallback(((e,t)=>{if(clearTimeout(g.current),"touchend"===(null==e?void 0:e.type)&&v.current)return v.current(),v.current=null,void(g.current=setTimeout((()=>{w(e,t)})));v.current=null,p((e=>e.length>0?e.slice(1):e)),f.current=t}),[]);return o.useImperativeHandle(t,(()=>({pulsate:k,start:x,stop:w})),[k,x,w]),(0,vr.jsx)(ya,s({className:c(la.root,i.root,l),ref:y},u,{children:(0,vr.jsx)(oa,{component:null,exit:!0,children:d})}))}));var ka=xa;function wa(e){return Go("MuiButtonBase",e)}var Ea=qo("MuiButtonBase",["root","disabled","focusVisible"]);const Ma=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],Sa=tr("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Ea.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Ca=o.forwardRef((function(e,t){const n=cr({props:e,name:"MuiButtonBase"}),{action:r,centerRipple:i=!1,children:l,className:d,component:p="button",disabled:h=!1,disableRipple:f=!1,disableTouchRipple:m=!1,focusRipple:g=!1,LinkComponent:v="a",onBlur:y,onClick:b,onContextMenu:x,onDragLeave:k,onFocus:w,onFocusVisible:E,onKeyDown:M,onKeyUp:S,onMouseDown:C,onMouseLeave:O,onMouseUp:T,onTouchEnd:A,onTouchMove:R,onTouchStart:z,tabIndex:L=0,TouchRippleProps:_,touchRippleRef:H,type:N}=n,P=a(n,Ma),I=o.useRef(null),D=o.useRef(null),$=gr(D,H),{isFocusVisibleRef:V,onFocus:j,onBlur:B,ref:F}=Ti(),[W,U]=o.useState(!1);h&&W&&U(!1),o.useImperativeHandle(r,(()=>({focusVisible:()=>{U(!0),I.current.focus()}})),[]);const[K,G]=o.useState(!1);o.useEffect((()=>{G(!0)}),[]);const q=K&&!f&&!h;function X(e,t,n=m){return gi((r=>{t&&t(r);return!n&&D.current&&D.current[e](r),!0}))}o.useEffect((()=>{W&&g&&!f&&K&&D.current.pulsate()}),[f,g,W,K]);const Y=X("start",C),Z=X("stop",x),Q=X("stop",k),J=X("stop",T),ee=X("stop",(e=>{W&&e.preventDefault(),O&&O(e)})),te=X("start",z),ne=X("stop",A),re=X("stop",R),oe=X("stop",(e=>{B(e),!1===V.current&&U(!1),y&&y(e)}),!1),ie=gi((e=>{I.current||(I.current=e.currentTarget),j(e),!0===V.current&&(U(!0),E&&E(e)),w&&w(e)})),ae=()=>{const e=I.current;return p&&"button"!==p&&!("A"===e.tagName&&e.href)},se=o.useRef(!1),le=gi((e=>{g&&!se.current&&W&&D.current&&" "===e.key&&(se.current=!0,D.current.stop(e,(()=>{D.current.start(e)}))),e.target===e.currentTarget&&ae()&&" "===e.key&&e.preventDefault(),M&&M(e),e.target===e.currentTarget&&ae()&&"Enter"===e.key&&!h&&(e.preventDefault(),b&&b(e))})),ce=gi((e=>{g&&" "===e.key&&D.current&&W&&!e.defaultPrevented&&(se.current=!1,D.current.stop(e,(()=>{D.current.pulsate(e)}))),S&&S(e),b&&e.target===e.currentTarget&&ae()&&" "===e.key&&!e.defaultPrevented&&b(e)}));let ue=p;"button"===ue&&(P.href||P.to)&&(ue=v);const de={};"button"===ue?(de.type=void 0===N?"button":N,de.disabled=h):(P.href||P.to||(de.role="button"),h&&(de["aria-disabled"]=h));const pe=gr(t,F,I);const he=s({},n,{centerRipple:i,component:p,disabled:h,disableRipple:f,disableTouchRipple:m,focusRipple:g,tabIndex:L,focusVisible:W}),fe=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,i=u({root:["root",t&&"disabled",n&&"focusVisible"]},wa,o);return n&&r&&(i.root+=` ${r}`),i})(he);return(0,vr.jsxs)(Sa,s({as:ue,className:c(fe.root,d),ownerState:he,onBlur:oe,onClick:b,onContextMenu:Z,onFocus:ie,onKeyDown:le,onKeyUp:ce,onMouseDown:Y,onMouseLeave:ee,onMouseUp:J,onDragLeave:Q,onTouchEnd:ne,onTouchMove:re,onTouchStart:te,ref:pe,tabIndex:h?-1:L,type:N},de,P,{children:[l,q?(0,vr.jsx)(ka,s({ref:$,center:i},_)):null]}))}));var Oa=Ca;function Ta(e){return Go("MuiToggleButton",e)}var Aa=qo("MuiToggleButton",["root","disabled","selected","standard","primary","secondary","sizeSmall","sizeMedium","sizeLarge","fullWidth"]);const Ra=["children","className","color","disabled","disableFocusRipple","fullWidth","onChange","onClick","selected","size","value"],za=tr(Oa,{name:"MuiToggleButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`size${ur(n.size)}`]]}})((({theme:e,ownerState:t})=>{let n,r="standard"===t.color?e.palette.text.primary:e.palette[t.color].main;return e.vars&&(r="standard"===t.color?e.vars.palette.text.primary:e.vars.palette[t.color].main,n="standard"===t.color?e.vars.palette.text.primaryChannel:e.vars.palette[t.color].mainCh
74annel),s({},e.typography.button,{borderRadius:(e.vars||e).shape.borderRadius,padding:11,border:`1px solid ${(e.vars||e).palette.divider}`,color:(e.vars||e).palette.action.active},t.fullWidth&&{width:"100%"},{[`&.${Aa.disabled}`]:{color:(e.vars||e).palette.action.disabled,border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"&:hover":{textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:b(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Aa.selected}`]:{color:r,backgroundColor:e.vars?`rgba(${n} / ${e.vars.palette.action.selectedOpacity})`:b(r,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${n} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:b(r,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${n} / ${e.vars.palette.action.selectedOpacity})`:b(r,e.palette.action.selectedOpacity)}}}},"small"===t.size&&{padding:7,fontSize:e.typography.pxToRem(13)},"large"===t.size&&{padding:15,fontSize:e.typography.pxToRem(15)})})),La=o.forwardRef((function(e,t){const n=cr({props:e,name:"MuiToggleButton"}),{children:r,className:o,color:i="standard",disabled:l=!1,disableFocusRipple:d=!1,fullWidth:p=!1,onChange:h,onClick:f,selected:m,size:g="medium",value:v}=n,y=a(n,Ra),b=s({},n,{color:i,disabled:l,disableFocusRipple:d,fullWidth:p,size:g}),x=(e=>{const{classes:t,fullWidth:n,selected:r,disabled:o,size:i,color:a}=e;return u({root:["root",r&&"selected",o&&"disabled",n&&"fullWidth",`size${ur(i)}`,a]},Ta,t)})(b);return(0,vr.jsx)(za,s({className:c(x.root,o),disabled:l,focusRipple:!d,ref:t,onClick:e=>{f&&(f(e,v),e.defaultPrevented)||h&&h(e,v)},onChange:h,value:v,ownerState:b,"aria-pressed":m},y,{children:r}))}));var _a=La,Ha=n(57555),Na=n(16517),Pa=n(27398);var Ia=e=>{const t=o.useRef({});return o.useEffect((()=>{t.current=e})),t.current};function Da(e){return Go("MuiBadge",e)}var $a=qo("MuiBadge",["root","badge","dot","standard","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft","invisible","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","overlapRectangular","overlapCircular","anchorOriginTopLeftCircular","anchorOriginTopLeftRectangular","anchorOriginTopRightCircular","anchorOriginTopRightRectangular","anchorOriginBottomLeftCircular","anchorOriginBottomLeftRectangular","anchorOriginBottomRightCircular","anchorOriginBottomRightRectangular"]);const Va=["anchorOrigin","className","classes","component","components","componentsProps","children","overlap","color","invisible","max","badgeContent","slots","slotProps","showZero","variant"],ja=tr("span",{name:"MuiBadge",slot:"Root",overridesResolver:(e,t)=>t.root})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),Ba=tr("span",{name:"MuiBadge",slot:"Badge",overridesResolver:(e,t)=>{const{ownerState:n}=e;
74return[t.badge,t[n.variant],t[`anchorOrigin${ur(n.anchorOrigin.vertical)}${ur(n.anchorOrigin.horizontal)}${ur(n.overlap)}`],"default"!==n.color&&t[`color${ur(n.color)}`],n.invisible&&t.invisible]}})((({theme:e,ownerState:t})=>s({display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(12),minWidth:20,lineHeight:1,padding:"0 6px",height:20,borderRadius:10,zIndex:1,transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.enteringScreen})},"default"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].main,color:(e.vars||e).palette[t.color].contrastText},"dot"===t.variant&&{borderRadius:4,height:8,minWidth:8,padding:0},"top"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap&&{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${$a.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}},"bottom"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap&&{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${$a.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}},"top"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap&&{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${$a.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}},"bottom"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap&&{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${$a.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}},"top"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"circular"===t.overlap&&{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${$a.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}},"bottom"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"circular"===t.overlap&&{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${$a.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}},"top"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"circular"===t.overlap&&{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${$a.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}},"bottom"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"circular"===t.overlap&&{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${$a.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}},t.invisible&&{transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.leavingScreen})}))),Fa=o.forwardRef((function(e,t){var n,r,o,i,l,d;const p=cr({props:e,name:"MuiBadge"}),{anchorOrigin:h={vertical:"top",horizontal:"right"},className:f,component:m,components:g={},componentsProps:v={},children:y,overlap:b="rectangular",color:x="default",invisible:k=!1,max:w=99,badgeContent:E,slots:M,slotProps:S,showZero:C=!1,variant:O="standard"}=p,T=a(p,Va),{badgeContent:A,invisible:R,max:z,displayValue:L}=function(e){const{badgeContent:t,invisible:n=!1,max:r=99,showZero:o=!1}=e,i=Ia({badgeContent:t,max:r});let a=n;!1!==n||0!==t||o||(a=!0);const{badgeContent:s,max:l=r}=a?i:e;return{badgeContent:s,invisible:a,max:l,displayValue:s&&Number(s)>l?`${l}+`:s}}({max:w,invisible:k,badgeContent:E,showZero:C}),_=Ia({anchorOrigin:h,color:x,overlap:b,variant:O,badgeContent:E}),H=R||null==A&&"dot"!==O,{color:N=x,overlap:P=b,anchorOrigin:I=h,variant:D=O}=H?_:p,$="dot"!==D?L:void 0,V=s({},p,{badgeContent:A,invisible:H,max:z,displayValue:$,showZero:C,anchorOrigin:I,color:N,overlap:P,variant:D}),j=(e=>{const{color:t,anchorOrigin:n,invisible:r,overlap:o,variant:i,classes:a={}}=e;return u({root:["root"],badge:["badge",i,r&&"invisible",`anchorOrigin${ur(n.vertical)}${ur(n.horizontal)}`,`anchorOrigin${ur(n.vertical)}${ur(n.horizontal)}${ur(o)}`,`overlap${ur(o)}`,"default"!==t&&`color${ur(t)}`]},Da,a)})(V),B=null!=(n=null!=(r=null==M?void 0:M.root)?r:g.Root)?n:ja,F=null!=(o=null!=(i=null==M?void 0:M.badge)?i:g.Badge)?o:Ba,W=null!=(l=null==S?void 0:S.root)?l:v.root,U=null!=(d=null==S?void 0:S.badge)?d:v.badge,K=ti({elementType:B,externalSlotProps:W,externalForwardedProps:T,additionalProps:{ref:t,as:m},ownerState:V,className:c(null==W?void 0:W.className,j.root,f)}),G=ti({elementType:F,externalSlotProps:U,ownerState:V,className:c(j.badge,
74null==U?void 0:U.className)});return(0,vr.jsxs)(B,s({},K,{children:[y,(0,vr.jsx)(F,s({},G,{children:$}))]}))}));var Wa=Fa,Ua=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M5 15v2c0 1.054.95 2 2 2h3v2H7a4 4 0 0 1-4-4v-2h2zm13-5l4.4 11h-2.155l-1.201-3h-4.09l-1.199 3h-2.154L16 10h2zm-1 2.885L15.753 16h2.492L17 12.885zM3 3h6a3 3 0 0 1 2.235 5A3 3 0 0 1 9 13H3V3zm6 6H5v2h4a1 1 0 0 0 0-2zm8-6a4 4 0 0 1 4 4v2h-2V7a2 2 0 0 0-2-2h-3V3h3zM9 5H5v2h4a1 1 0 1 0 0-2z"}}],Ka=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M11 11V5h2v6h6v2h-6v6h-2v-6H5v-2z"}}],Ga=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M11 11V5h2v6h6v2h-6v6h-2v-6H5v-2z"}}],qa=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{fillRule:"nonzero",d:"M12.866 3l9.526 16.5a1 1 0 0 1-.866 1.5H2.474a1 1 0 0 1-.866-1.5L11.134 3a1 1 0 0 1 1.732 0zm-8.66 16h15.588L12 5.5 4.206 19zM11 16h2v2h-2v-2zm0-7h2v5h-2V9z"}}],Xa=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M3 19h18v2H3v-2zm5-6h3l-4 4-4-4h3V3h2v10zm10 0h3l-4 4-4-4h3V3h2v10z"}}],Ya=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M3 4h18v2H3V4zm2 15h14v2H5v-2zm-2-5h18v2H3v-2zm2-5h14v2H5V9z"}}],Za=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M3 4h18v2H3V4zm0 15h18v2H3v-2zm0-5h18v2H3v-2zm0-5h18v2H3V9z"}}],Qa=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M3 4h18v2H3V4zm0 15h14v2H3v-2zm0-5h18v2H3v-2zm0-5h14v2H3V9z"}}],Ja=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M3 4h18v2H3V4zm4 15h14v2H7v-2zm-4-5h18v2H3v-2zm4-5h14v2H7V9z"}}],es=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M3 3h18v2H3V3zm5 8v10H6V11H3l4-4 4 4H8zm10 0v10h-2V11h-3l4-4 4 4h-3z"}}],ts=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M3 11h18v2H3v-2zm15 7v3h-2v-3h-3l4-4 4 4h-3zM8 18v3H6v-3H3l4-4 4 4H8zM18 6h3l-4 4-4-4h3V3h2v3zM8 6h3l-4 4-4-4h3V3h2v3z"}}],ns=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M6.75 2.5A4.25 4.25 0 0 1 11 6.75V11H6.75a4.25 4.25 0 1 1 0-8.5zM9 9V6.75A2.25 2.25 0 1 0 6.75 9H9zm-2.25 4H11v4.25A4.25 4.25 0 1 1 6.75 13zm0 2A2.25 2.25 0 1 0 9 17.25V15H6.75zm10.5-12.5a4.25 4.25 0 1 1 0 8.5H13V6.75a4.25 4.25 0 0 1 4.25-4.25zm0 6.5A2.25 2.25 0 1 0 15 6.75V9h2.25zM13 13h4.25A4.25 4.25 0 1 1 13 17.25V13zm2 2v2.25A2.25 2.25 0 1 0 17.25 15H15z"}}],rs=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 16l-6-6h12z"}}],os=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M8 7v4L2 6l6-5v4h5a8 8 0 1 1 0 16H4v-2h9a6 6 0 1 0 0-12H8z"}}],is=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M16 7h-5a6 6 0 1 0 0 12h9v2h-9a8 8 0 1 1 0-16h5V1l6 5-6 5V7z"}}],as=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M8 12l6-6v12z"}}],ss=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M16 12l-6 6V6z"}}],ls=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 8l6 6H6z"}}],cs=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M13 3v7.267l6.294-3.633 1 1.732-6.293 3.633 6.293 3.635-1 1.732L13 13.732V21h-2v-7.268l-6.294 3.634-1-1.732L9.999 12 3.706 8.366l1-1.732L11 10.267V3z"}}],us=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M14.828 7.757l-5.656 5.657a1 1 0 1 0 1.414 1.414l5.657-5.656A3 3 0 1 0 12 4.929l-5.657 5.657a5 5 0 1 0 7.071 7.07L19.071 12l1.414 1.414-5.657 5.657a7 7 0 1 1-9.9-9.9l5.658-5.656a5 5 0 0 1 7.07 7.07L12 16.244A3 3 0 1 1 7.757 12l5.657-5.657 1.414 1.414z"}}],ds=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M8 11h4.5a2.5 2.5 0 1 0 0-5H8v5zm10 4.5a4.5 4.5 0 0 1-4.5 4.5H6V4h6.5a4.5 4.5 0 0 1 3.256 7.606A4.498 4.498 0 0 1 18 15.5zM8 13v5h5.5a2.5 2.5 0 1 0 0-5H8z"}}],ps=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M4 18v-3.7a1.5 1.5 0 0 0-1.5-1.5H2v-1.6h.5A1.5 1.5 0 0 0 4 9.7V6a3 3 0 0 1 3-3h1v2H7a1 1 0 0 0-1 1v4.1A2 2 0 0 1 4.626 12 2 2 0 0 1 6 13.9V18a1 1 0 0 0 1 1h1v2H7a3 3 0 0 1-3-3zm16-3.7V18a3 3 0 0 1-3 3h-1v-2h1a1 1 0 0 0 1-1v-4.1a2 2 0 0 1 1.374-1.9A2 2 0 0 1 18 10.1V6a1 1 0 0 0-1-1h-1V3h1a3 3 0 0 1 3 3v3.7a1.5 1.5 0 0 0 1.5 1.5h.5v1.6h-.5a1.5 1.5 0 0 0-1.5 1.5z"}}],hs=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M14 3c.552 0 1 .448 1 1v5h5c.552 0 1 .448 1 1v10c0 .552-.448 1-1 1H10c-.552 0-1-.448-1-1v-5H4c-.552 0-1-.448-1-1V4c0-.552.448-1 1-1h10zm-1 2H5v8h8V5z"}}],fs=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M11 3c.552 0 1 .448 1 1v2h5c.552 0 1 .448 1 1v5h2c.552 0 1 .448 1 1v7c0 .552-.448 1-1 1h-7c-.552 0-1-.448-1-1v-2H7c-.552 0-1-.448-1-1v-5H4c-.552 0-1-.448-1-1V4c0-.552.448-1 1-1h7zm5 5H8v8h8V8z"}}],ms=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M14 3v2H4v13.385L5.763 17H20v-7h2v8a1 1 0 0 1-1 1H6.455L2 22.5V4a1 1 0 0 1 1-1h11zm5 0V0h2v3h3v2h-3v3h-2V5h-3V3h3z"}}],gs=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16zm-.997-4L6.76 11.757l1.414-1.414 2.829 2.829 5.656-5.657 1.415 1.414L11.003 16z"}}],vs=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{fillRule:"nonzero",d:"M7 7V3a1 1 0 0 1 1-1h13a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-4v3.993c0 .556-.449 1.007-1.007 1.007H3.007A1.006 1.006 0 0 1 2 20.993l.003-12.986C2.003 7.451 2.452 7 3.01 7H7zm2 0h6.993C16.549 7 17 7.449 17 8.007V15h3V4H9v3zm6 2H4.003L4 20h11V9zm-6.497 9l-3.536-3.536 1.414-1.414 2.122 2.122 4.242-4.243 1.414 1.414L8.503 18z"}}],ys=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M6 4v4h12V4h2.007c.548 0 .993.445.993.993v16.014a.994.994 0 0 1-.993.993H3.993A.994.994 0 0 1 3 21.007V4.993C3 4.445 3.445 4 3.993 4H6zm2-2h8v4H8V2z"}}],bs=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M7 4V2h10v2h3.007c.548 0 .993.445.993.993v16.014a.994.994 0 0 1-.993.993H3.993A.994.994 0 0 1 3 21.007V4.993C3 4.445 3.445 4 3.993 4H7zm0 2H5v14h14V6h-2v2H7V6zm2-2v2h6V4H9z"}}],xs=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16zm0-9.414l2.828-2.829 1.415 1.415L13.414 12l2.829 2.828-1.415 1.415L12 13.414l-2.828 2.829-1.415-1.415L10.586 12 7.757 9.172l1.415-1.415L12 10.586z"}}
74],ks=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 10.586l4.95-4.95 1.414 1.414-4.95 4.95 4.95 4.95-1.414 1.414-4.95-4.95-4.95 4.95-1.414-1.414 4.95-4.95-4.95-4.95L7.05 5.636z"}}],ws=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 10.586l4.95-4.95 1.414 1.414-4.95 4.95 4.95 4.95-1.414 1.414-4.95-4.95-4.95 4.95-1.414-1.414 4.95-4.95-4.95-4.95L7.05 5.636z"}}],Es=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M23 12l-7.071 7.071-1.414-1.414L20.172 12l-5.657-5.657 1.414-1.414L23 12zM3.828 12l5.657 5.657-1.414 1.414L1 12l7.071-7.071 1.414 1.414L3.828 12z"}}],Ms=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M16.95 8.464l1.414-1.414 4.95 4.95-4.95 4.95-1.414-1.414L20.485 12 16.95 8.464zm-9.9 0L3.515 12l3.535 3.536-1.414 1.414L.686 12l4.95-4.95L7.05 8.464z"}}],Ss=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M17 6h5v2h-2v13a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V8H2V6h5V3a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v3zm-8 5v6h2v-6H9zm4 0v6h2v-6h-2zM9 4v2h6V4H9z"}}],Cs=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M17 6h5v2h-2v13a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V8H2V6h5V3a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v3zm1 2H6v12h12V8zm-9 3h2v6H9v-6zm4 0h2v6h-2v-6zM9 4v2h6V4H9z"}}],Os=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M12 3c.552 0 1 .448 1 1v8c.835-.628 1.874-1 3-1 2.761 0 5 2.239 5 5s-2.239 5-5 5c-1.032 0-1.99-.313-2.787-.848L13 20c0 .552-.448 1-1 1H6c-.552 0-1-.448-1-1V4c0-.552.448-1 1-1h6zm-1 2H7v14h4V5zm8 10h-6v2h6v-2z"}}],Ts=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M20 5c.552 0 1 .448 1 1v6c0 .552-.448 1-1 1 .628.835 1 1.874 1 3 0 2.761-2.239 5-5 5s-5-2.239-5-5c0-1.126.372-2.165 1-3H4c-.552 0-1-.448-1-1V6c0-.552.448-1 1-1h16zm-7 10v2h6v-2h-6zm6-8H5v4h14V7z"}}],As=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M4.583 17.321C3.553 16.227 3 15 3 13.011c0-3.5 2.457-6.637 6.03-8.188l.893 1.378c-3.335 1.804-3.987 4.145-4.247 5.621.537-.278 1.24-.375 1.929-.311 1.804.167 3.226 1.648 3.226 3.489a3.5 3.5 0 0 1-3.5 3.5c-1.073 0-2.099-.49-2.748-1.179zm10 0C13.553 16.227 13 15 13 13.011c0-3.5 2.457-6.637 6.03-8.188l.893 1.378c-3.335 1.804-3.987 4.145-4.247 5.621.537-.278 1.24-.375 1.929-.311 1.804.167 3.226 1.648 3.226 3.489a3.5 3.5 0 0 1-3.5 3.5c-1.073 0-2.099-.49-2.748-1.179z"}}],Rs=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M19.417 6.679C20.447 7.773 21 9 21 10.989c0 3.5-2.457 6.637-6.03 8.188l-.893-1.378c3.335-1.804 3.987-4.145 4.247-5.621-.537.278-1.24.375-1.929.311-1.804-.167-3.226-1.648-3.226-3.489a3.5 3.5 0 0 1 3.5-3.5c1.073 0 2.099.49 2.748 1.179zm-10 0C10.447 7.773 11 9 11 10.989c0 3.5-2.457 6.637-6.03 8.188l-.893-1.378c3.335-1.804 3.987-4.145 4.247-5.621-.537.278-1.24.375-1.929.311C4.591 12.322 3.17 10.841 3.17 9a3.5 3.5 0 0 1 3.5-3.5c1.073 0 2.099.49 2.748 1.179z"}}],zs=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M4 19h16v-7h2v8a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1v-8h2v7zM14 9h5l-7 7-7-7h5V3h4v6z"}}],Ls=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{fillRule:"nonzero",d:"M16 13l6.964 4.062-2.973.85 2.125 3.681-1.732 1-2.125-3.68-2.223 2.15L16 13zm-2-7h2v2h5a1 1 0 0 1 1 1v4h-2v-3H10v10h4v2H9a1 1 0 0 1-1-1v-5H6v-2h2V9a1 1 0 0 1 1-1h5V6zM4 14v2H2v-2h2zm0-4v2H2v-2h2zm0-4v2H2V6h2zm0-4v2H2V2h2zm4 0v2H6V2h2zm4 0v2h-2V2h2zm4 0v2h-2V2h2z"}}],_s=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 19a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3zm-5.5 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3zm11 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3zM13 2v2h6v2h-1.968a18.222 18.222 0 0 1-3.621 6.302 14.685 14.685 0 0 0 5.327 3.042l-.536 1.93A16.685 16.685 0 0 1 12 13.726a16.696 16.696 0 0 1-6.202 3.547l-.536-1.929a14.7 14.7 0 0 0 5.327-3.042 18.077 18.077 0 0 1-2.822-4.3h2.24A16.031 16.031 0 0 0 12 10.876a16.168 16.168 0 0 0 2.91-4.876L5 6V4h6V2h2z"}}],Hs=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 19a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3zm-5.5 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3zm11 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3zM18 3v2H8v4h9v2H8v4h10v2H6V3h12z"}}],Ns=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M14 10h2v.757a4.5 4.5 0 0 1 7 3.743V20h-2v-5.5c0-1.43-1.175-2.5-2.5-2.5S16 13.07 16 14.5V20h-2V10zm-2-6v2H4v5h8v2H4v5h8v2H2V4h10z"}}],Ps=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16zm-1-5h2v2h-2v-2zm0-8h2v6h-2V7z"}}],Is=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M10 6v2H5v11h11v-5h2v6a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h6zm11-3v9l-3.794-3.793-5.999 6-1.414-1.414 5.999-6L12 3h9z"}}],Ds=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M7 6V3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1h-3v3c0 .552-.45 1-1.007 1H4.007A1.001 1.001 0 0 1 3 21l.003-14c0-.552.45-1 1.007-1H7zM5.003 8L5 20h10V8H5.003zM9 6h8v10h2V4H9v2z"}}],$s=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M6 21.5c-1.933 0-3.5-1.567-3.5-3.5s1.567-3.5 3.5-3.5c1.585 0 2.924 1.054 3.355 2.5H15v-2h2V9.242L14.757 7H9V9H3V3h6v2h5.757L18 1.756 22.243 6 19 9.241V15L21 15v6h-6v-2H9.355c-.43 1.446-1.77 2.5-3.355 2.5zm0-5c-.828 0-1.5.672-1.5 1.5s.672 1.5 1.5 1.5 1.5-.672 1.5-1.5-.672-1.5-1.5-1.5zm13 .5h-2v2h2v-2zM18 4.586L16.586 6 18 7.414 19.414 6 18 4.586zM7 5H5v2h2V5z"}}],Vs=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M15.246 14H8.754l-1.6 4H5l6-15h2l6 15h-2.154l-1.6-4zm-.8-2L12 5.885 9.554 12h4.892zM3 20h18v2H3v-2z"}}],js=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M10 6v15H8V6H2V4h14v2h-6zm8 8v7h-2v-7h-3v-2h8v2h-3z"}}],Bs=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M11.246 15H4.754l-2 5H.6L7 4h2l6.4 16h-2.154l-2-5zm-.8-2L8 6.885 5.554 13h4.892zM21 12.535V12h2v8h-2v-.535a4 4 0 1 1 0-6.93zM19 18a2 2 0 1 0 0-4 2 2 0 0 0 0 4z"}}],Fs=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12.651 14.065L11.605 20H9.574l1.35-7.661-7.41-7.41L4.93 3.515 20.485 19.07l-1.414 1.414-6.42-6.42zm-.878-6.535l.27-1.53h-1.8l-2-2H20v2h-5.927L13.5 9.257 11.773 7.53z"}}],Ws=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M18 7h4v2h-6V3h2v4zM8 9H2V7h4V3h2v6zm10 8v4h-2v-6h6v2h-4zM8 15v6H6v-4H2v-2h6z"}}],Us=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M20 3h2v6h-2V5h-4V3h4zM4 3h4v2H4v4H2V3h2zm16 16v-4h2v6h-6v-2h4zM4 19h4v2H2v-6h2v4z"}}],Ks=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M5 18l7.68-6L5 6V4h14v2H8.263L16 12l-7.737 6H19v2H5v-2z"}}],Gs=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M8 1v4H4v14h16V3h1.008c.548 0 .992.445.992.993v16.014a1 1 0 0 1-.992.993H2.992A.993.993 0 0 1 2 20.007V3.993A1 1 0 0 1 2.992 3H6V1h2zm4 7l4 4h-3v4h-2v-4H8l4-4zm
746-7v4h-8V3h6V1h2z"}}],qs=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M13 20h-2v-7H4v7H2V4h2v7h7V4h2v16zm8-12v12h-2v-9.796l-2 .536V8.67L19.5 8H21z"}}],Xs=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M4 4v7h7V4h2v16h-2v-7H4v7H2V4h2zm14.5 4c2.071 0 3.75 1.679 3.75 3.75 0 .857-.288 1.648-.772 2.28l-.148.18L18.034 18H22v2h-7v-1.556l4.82-5.546c.268-.307.43-.709.43-1.148 0-.966-.784-1.75-1.75-1.75-.918 0-1.671.707-1.744 1.606l-.006.144h-2C14.75 9.679 16.429 8 18.5 8z"}}],Ys=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M22 8l-.002 2-2.505 2.883c1.59.435 2.757 1.89 2.757 3.617 0 2.071-1.679 3.75-3.75 3.75-1.826 0-3.347-1.305-3.682-3.033l1.964-.382c.156.806.866 1.415 1.718 1.415.966 0 1.75-.784 1.75-1.75s-.784-1.75-1.75-1.75c-.286 0-.556.069-.794.19l-1.307-1.547L19.35 10H15V8h7zM4 4v7h7V4h2v16h-2v-7H4v7H2V4h2z"}}],Zs=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M13 20h-2v-7H4v7H2V4h2v7h7V4h2v16zm9-12v8h1.5v2H22v2h-2v-2h-5.5v-1.34l5-8.66H22zm-2 3.133L17.19 16H20v-4.867z"}}],Qs=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M22 8v2h-4.323l-.464 2.636c.33-.089.678-.136 1.037-.136 2.21 0 4 1.79 4 4s-1.79 4-4 4c-1.827 0-3.367-1.224-3.846-2.897l1.923-.551c.24.836 1.01 1.448 1.923 1.448 1.105 0 2-.895 2-2s-.895-2-2-2c-.63 0-1.193.292-1.56.748l-1.81-.904L16 8h6zM4 4v7h7V4h2v16h-2v-7H4v7H2V4h2z"}}],Js=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M21.097 8l-2.598 4.5c2.21 0 4.001 1.79 4.001 4s-1.79 4-4 4-4-1.79-4-4c0-.736.199-1.426.546-2.019L18.788 8h2.309zM4 4v7h7V4h2v16h-2v-7H4v7H2V4h2zm14.5 10.5c-1.105 0-2 .895-2 2s.895 2 2 2 2-.895 2-2-.895-2-2-2z"}}],el=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M7.784 14l.42-4H4V8h4.415l.525-5h2.011l-.525 5h3.989l.525-5h2.011l-.525 5H20v2h-3.784l-.42 4H20v2h-4.415l-.525 5h-2.011l.525-5H9.585l-.525 5H7.049l.525-5H4v-2h3.784zm2.011 0h3.99l.42-4h-3.99l-.42 4z"}}],tl=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M17 11V4h2v17h-2v-8H7v8H5V4h2v7z"}}],nl=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M21 15v3h3v2h-3v3h-2v-3h-3v-2h3v-3h2zm.008-12c.548 0 .992.445.992.993V13h-2V5H4v13.999L14 9l3 3v2.829l-3-3L6.827 19H14v2H2.992A.993.993 0 0 1 2 20.007V3.993A1 1 0 0 1 2.992 3h18.016zM8 7a2 2 0 1 1 0 4 2 2 0 0 1 0-4z"}}],rl=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M20 3c.552 0 1 .448 1 1v1.757l-2 2V5H5v8.1l4-4 4.328 4.329-1.415 1.413L9 11.93l-4 3.999V19h10.533l.708.001 1.329-1.33L18.9 19h.1v-2.758l2-2V20c0 .552-.448 1-1 1H4c-.55 0-1-.45-1-1V4c0-.552.448-1 1-1h16zm1.778 4.808l1.414 1.414L15.414 17l-1.416-.002.002-1.412 7.778-7.778zM15.5 7c.828 0 1.5.672 1.5 1.5s-.672 1.5-1.5 1.5S14 9.328 14 8.5 14.672 7 15.5 7z"}}],ol=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M4.828 21l-.02.02-.021-.02H2.992A.993.993 0 0 1 2 20.007V3.993A1 1 0 0 1 2.992 3h18.016c.548 0 .992.445.992.993v16.014a1 1 0 0 1-.992.993H4.828zM20 15V5H4v14L14 9l6 6zm0 2.828l-6-6L6.828 19H20v-1.172zM8 11a2 2 0 1 1 0-4 2 2 0 0 1 0 4z"}}],il=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M3 4h18v2H3V4zm0 15h18v2H3v-2zm8-5h10v2H11v-2zm0-5h10v2H11V9zm-8 3.5L7 9v7l-4-3.5z"}}],al=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M3 4h18v2H3V4zm0 15h18v2H3v-2zm8-5h10v2H11v-2zm0-5h10v2H11V9zm-4 3.5L3 16V9l4 3.5z"}}],sl=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16zM11 7h2v2h-2V7zm0 4h2v6h-2v-6z"}}],ll=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M8 21v-2h3V5H8V3h8v2h-3v14h3v2H8zM18.05 7.05L23 12l-4.95 4.95-1.414-1.414L20.172 12l-3.536-3.536L18.05 7.05zm-12.1 0l1.414 1.414L3.828 12l3.536 3.536L5.95 16.95 1 12l4.95-4.95z"}}],cl=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M20 3c.552 0 1 .448 1 1v16c0 .552-.448 1-1 1h-6c-.552 0-1-.448-1-1V4c0-.552.448-1 1-1h6zm-1 2h-4v14h4V5zM6 7c2.761 0 5 2.239 5 5s-2.239 5-5 5-5-2.239-5-5 2.239-5 5-5zm1 2H5v1.999L3 11v2l2-.001V15h2v-2.001L9 13v-2l-2-.001V9z"}}],ul=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M10 3c.552 0 1 .448 1 1v16c0 .552-.448 1-1 1H4c-.552 0-1-.448-1-1V4c0-.552.448-1 1-1h6zM9 5H5v14h4V5zm9 2c2.761 0 5 2.239 5 5s-2.239 5-5 5-5-2.239-5-5 2.239-5 5-5zm1 2h-2v1.999L15 11v2l2-.001V15h2v-2.001L21 13v-2l-2-.001V9z"}}],dl=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M12 13c2.761 0 5 2.239 5 5s-2.239 5-5 5-5-2.239-5-5 2.239-5 5-5zm1 2h-2v1.999L9 17v2l2-.001V21h2v-2.001L15 19v-2l-2-.001V15zm7-12c.552 0 1 .448 1 1v6c0 .552-.448 1-1 1H4c-.552 0-1-.448-1-1V4c0-.552.448-1 1-1h16zM5 5v4h14V5H5z"}}],pl=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M20 13c.552 0 1 .448 1 1v6c0 .552-.448 1-1 1H4c-.552 0-1-.448-1-1v-6c0-.552.448-1 1-1h16zm-1 2H5v4h14v-4zM12 1c2.761 0 5 2.239 5 5s-2.239 5-5 5-5-2.239-5-5 2.239-5 5-5zm1 2h-2v1.999L9 5v2l2-.001V9h2V6.999L15 7V5l-2-.001V3z"}}],hl=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M15 20H7v-2h2.927l2.116-12H9V4h8v2h-2.927l-2.116 12H15z"}}],fl=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{fillRule:"nonzero",d:"M11 5H5v14h6V5zm2 0v14h6V5h-6zM4 3h16a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1z"}}],ml=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M11 4h10v2H11V4zM6 7v4H4V7H1l4-4 4 4H6zm0 10h3l-4 4-4-4h3v-4h2v4zm5 1h10v2H11v-2zm-2-7h12v2H9v-2z"}}],gl=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M17.657 14.828l-1.414-1.414L17.657 12A4 4 0 1 0 12 6.343l-1.414 1.414-1.414-1.414 1.414-1.414a6 6 0 0 1 8.485 8.485l-1.414 1.414zm-2.829 2.829l-1.414 1.414a6 6 0 1 1-8.485-8.485l1.414-1.414 1.414 1.414L6.343 12A4 4 0 1 0 12 17.657l1.414-1.414 1.414 1.414zm0-9.9l1.415 1.415-7.071 7.07-1.415-1.414 7.071-7.07z"}}],vl=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M17.657 14.828l-1.414-1.414L17.657 12A4 4 0 1 0 12 6.343l-1.414 1.414-1.414-1.414 1.414-1.414a6 6 0 0 1 8.485 8.485l-1.414 1.414zm-2.829 2.829l-1.414 1.414a6 6 0 1 1-8.485-8.485l1.414-1.414 1.414 1.414L6.343 12A4 4 0 1 0 12 17.657l1.414-1.414 1.414 1.414zm0-9.9l1.415 1.415-7.071 7.07-1.415-1.414 7.071-7.07zM5.7
7475 2.293l1.932-.518L8.742 5.64l-1.931.518-1.036-3.864zm9.483 16.068l1.931-.518 1.036 3.864-1.932.518-1.035-3.864zM2.293 5.775l3.864 1.036-.518 1.931-3.864-1.035.518-1.932zm16.068 9.483l3.864 1.035-.518 1.932-3.864-1.036.518-1.931z"}}],yl=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M17 17h5v2h-3v3h-2v-5zM7 7H2V5h3V2h2v5zm11.364 8.536L16.95 14.12l1.414-1.414a5 5 0 1 0-7.071-7.071L9.879 7.05 8.464 5.636 9.88 4.222a7 7 0 0 1 9.9 9.9l-1.415 1.414zm-2.828 2.828l-1.415 1.414a7 7 0 0 1-9.9-9.9l1.415-1.414L7.05 9.88l-1.414 1.414a5 5 0 1 0 7.071 7.071l1.414-1.414 1.415 1.414zm-.708-10.607l1.415 1.415-7.071 7.07-1.415-1.414 7.071-7.07z"}}],bl=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M18.364 15.536L16.95 14.12l1.414-1.414a5 5 0 1 0-7.071-7.071L9.879 7.05 8.464 5.636 9.88 4.222a7 7 0 0 1 9.9 9.9l-1.415 1.414zm-2.828 2.828l-1.415 1.414a7 7 0 0 1-9.9-9.9l1.415-1.414L7.05 9.88l-1.414 1.414a5 5 0 1 0 7.071 7.071l1.414-1.414 1.415 1.414zm-.708-10.607l1.415 1.415-7.071 7.07-1.415-1.414 7.071-7.07z"}}],xl=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M11 4h10v2H11V4zm0 4h6v2h-6V8zm0 6h10v2H11v-2zm0 4h6v2h-6v-2zM3 4h6v6H3V4zm2 2v2h2V6H5zm-2 8h6v6H3v-6zm2 2v2h2v-2H5z"}}],kl=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M8 4h13v2H8V4zm-5-.5h3v3H3v-3zm0 7h3v3H3v-3zm0 7h3v3H3v-3zM8 11h13v2H8v-2zm0 7h13v2H8v-2z"}}],wl=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M8 4h13v2H8V4zM5 3v3h1v1H3V6h1V4H3V3h2zM3 14v-2.5h2V11H3v-1h3v2.5H4v.5h2v1H3zm2 5.5H3v-1h2V18H3v-1h3v4H3v-1h2v-.5zM8 11h13v2H8v-2zm0 7h13v2H8v-2z"}}],El=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M8 4h13v2H8V4zM4.5 6.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm0 7a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm0 6.9a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zM8 11h13v2H8v-2zm0 7h13v2H8v-2z"}}],Ml=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M15.243 4.515l-6.738 6.737-.707 2.121-1.04 1.041 2.828 2.829 1.04-1.041 2.122-.707 6.737-6.738-4.242-4.242zm6.364 3.535a1 1 0 0 1 0 1.414l-7.779 7.779-2.12.707-1.415 1.414a1 1 0 0 1-1.414 0l-4.243-4.243a1 1 0 0 1 0-1.414l1.414-1.414.707-2.121 7.779-7.779a1 1 0 0 1 1.414 0l5.657 5.657zm-6.364-.707l1.414 1.414-4.95 4.95-1.414-1.414 4.95-4.95zM4.283 16.89l2.828 2.829-1.414 1.414-4.243-1.414 2.828-2.829z"}}],Sl=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M3 3h18a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1zm4 12.5v-4l2 2 2-2v4h2v-7h-2l-2 2-2-2H5v7h2zm11-3v-4h-2v4h-2l3 3 3-3h-2z"}}],Cl=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{fillRule:"nonzero",d:"M3 3h18a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1zm1 2v14h16V5H4zm3 10.5H5v-7h2l2 2 2-2h2v7h-2v-4l-2 2-2-2v4zm11-3h2l-3 3-3-3h2v-4h2v4z"}}],Ol=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M20 3c.552 0 1 .448 1 1v16c0 .552-.448 1-1 1H4c-.552 0-1-.448-1-1V4c0-.552.448-1 1-1h16zm-9 2H5v5.999h2V9l3 3-3 3v-2H5v6h6v-2h2v2h6v-6h-2v2l-3-3 3-3v1.999h2V5h-6v2h-2V5zm2 8v2h-2v-2h2zm0-4v2h-2V9h2z"}}],Tl=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M21 20c0 .552-.448 1-1 1H4c-.552 0-1-.448-1-1V4c0-.552.448-1 1-1h16c.552 0 1 .448 1 1v16zm-2-9V5h-5.999v2H15l-3 3-3-3h2V5H5v6h2v2H5v6h6v-2H9l3-3 3 3h-1.999v2H19v-6h-2v-2h2zm-8 2H9v-2h2v2zm4 0h-2v-2h2v2z"}}],Al=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M18 3c1.657 0 3 1.343 3 3s-1.343 3-3 3h-3c-1.306 0-2.417-.834-2.829-2H11c-1.1 0-2 .9-2 2v.171c1.166.412 2 1.523 2 2.829 0 1.306-.834 2.417-2 2.829V15c0 1.1.9 2 2 2h1.17c.412-1.165 1.524-2 2.83-2h3c1.657 0 3 1.343 3 3s-1.343 3-3 3h-3c-1.306 0-2.417-.834-2.829-2H11c-2.21 0-4-1.79-4-4H5c-1.657 0-3-1.343-3-3s1.343-3 3-3h2c0-2.21 1.79-4 4-4h1.17c.412-1.165 1.524-2 2.83-2h3zm0 14h-3c-.552 0-1 .448-1 1s.448 1 1 1h3c.552 0 1-.448 1-1s-.448-1-1-1zM8 11H5c-.552 0-1 .448-1 1s.448 1 1 1h3c.552 0 1-.448 1-1s-.448-1-1-1zm10-6h-3c-.552 0-1 .448-1 1s.448 1 1 1h3c.552 0 1-.448 1-1s-.448-1-1-1z"}}],Rl=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M5 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm14 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-7 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}}],zl=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M10 2c.552 0 1 .448 1 1v4c0 .552-.448 1-1 1H8v2h5V9c0-.552.448-1 1-1h6c.552 0 1 .448 1 1v4c0 .552-.448 1-1 1h-6c-.552 0-1-.448-1-1v-1H8v6h5v-1c0-.552.448-1 1-1h6c.552 0 1 .448 1 1v4c0 .552-.448 1-1 1h-6c-.552 0-1-.448-1-1v-1H7c-.552 0-1-.448-1-1V8H4c-.552 0-1-.448-1-1V3c0-.552.448-1 1-1h6zm9 16h-4v2h4v-2zm0-8h-4v2h4v-2zM9 4H5v2h4V4z"}}],Ll=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 1.5c1.321 0 2.484.348 3.447.994.963.645 1.726 1.588 2.249 2.778.522 1.19.804 2.625.804 4.257v4.942c0 1.632-.282 3.068-.804 4.257-.523 1.19-1.286 2.133-2.25 2.778-.962.646-2.125.994-3.446.994-1.321 0-2.484-.348-3.447-.994-.963-.645-1.726-1.588-2.249-2.778-.522-1.19-.804-2.625-.804-4.257V9.529c0-1.632.282-3.068.804-4.257.523-1.19 1.286-2.133 2.25-2.778C9.515 1.848 10.678 1.5 12 1.5zm0 2c-.916 0-1.694.226-2.333.655-.637.427-1.158 1.07-1.532 1.92-.412.94-.635 2.108-.635 3.454v4.942c0 1.346.223 2.514.635 3.453.374.851.895 1.494 1.532 1.921.639.429 1.417.655 2.333.655.916 0 1.694-.226 2.333-.655.637-.427 1.158-1.07 1.532-1.92.412-.94.635-2.108.635-3.454V9.529c0-1.346-.223-2.514-.635-3.453-.374-.851-.895-1.494-1.532-1.921C13.694 3.726 12.916 3.5 12 3.5z"}}],_l=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M14 1.5V22h-2V3.704L7.5 4.91V2.839l5-1.339z"}}],Hl=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M16 7.5a4 4 0 1 0-8 0H6a6 6 0 1 1 10.663 3.776l-7.32 8.723L18 20v2H6v-1.127l9.064-10.802A3.982 3.982 0 0 0 16 7.5z"}}],Nl=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M18 2v1.362L12.809 9.55a6.501 6.501 0 1 1-7.116 8.028l1.94-.486A4.502 4.502 0 0 0 16.5 16a4.5 4.5 0 0 0-6.505-4.03l-.228.122-.69-1.207L14.855 4 6.5 4V2H18z"}}],Pl=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}}
74,{tag:"path",attr:{d:"M16 1.5V16h3v2h-3v4h-2v-4H4v-1.102L14 1.5h2zM14 16V5.171L6.968 16H14z"}}],Il=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M18 2v2H9.3l-.677 6.445a6.5 6.5 0 1 1-2.93 7.133l1.94-.486A4.502 4.502 0 0 0 16.5 16a4.5 4.5 0 0 0-4.5-4.5c-2.022 0-3.278.639-3.96 1.53l-1.575-1.182L7.5 2H18z"}}],Dl=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M14.886 2l-4.438 7.686A6.5 6.5 0 1 1 6.4 12.7L12.576 2h2.31zM12 11.5a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9z"}}],$l=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M19 2v1.5L10.763 22H8.574l8.013-18H6V2z"}}],Vl=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 1.5a5.5 5.5 0 0 1 3.352 9.86C17.24 12.41 18.5 14.32 18.5 16.5c0 3.314-2.91 6-6.5 6s-6.5-2.686-6.5-6c0-2.181 1.261-4.09 3.147-5.141A5.5 5.5 0 0 1 12 1.5zm0 11c-2.52 0-4.5 1.828-4.5 4 0 2.172 1.98 4 4.5 4s4.5-1.828 4.5-4c0-2.172-1.98-4-4.5-4zm0-9a3.5 3.5 0 1 0 0 7 3.5 3.5 0 0 0 0-7z"}}],jl=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 1.5a6.5 6.5 0 0 1 5.619 9.77l-6.196 10.729H9.114l4.439-7.686A6.5 6.5 0 1 1 12 1.5zm0 2a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9z"}}],Bl=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{fillRule:"nonzero",d:"M14 20v-2.157c1.863-1.192 3.5-3.875 3.5-6.959 0-3.073-2-6.029-5.5-6.029s-5.5 2.956-5.5 6.03c0 3.083 1.637 5.766 3.5 6.958V20H3v-2h4.76C5.666 16.505 4 13.989 4 10.884 4 6.247 7.5 3 12 3s8 3.247 8 7.884c0 3.105-1.666 5.621-3.76 7.116H21v2h-7z"}}],Fl=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M15 3c.552 0 1 .448 1 1v4c0 .552-.448 1-1 1h-2v2h4c.552 0 1 .448 1 1v3h2c.552 0 1 .448 1 1v4c0 .552-.448 1-1 1h-6c-.552 0-1-.448-1-1v-4c0-.552.448-1 1-1h2v-2H8v2h2c.552 0 1 .448 1 1v4c0 .552-.448 1-1 1H4c-.552 0-1-.448-1-1v-4c0-.552.448-1 1-1h2v-3c0-.552.448-1 1-1h4V9H9c-.552 0-1-.448-1-1V4c0-.552.448-1 1-1h6zM9 17H5v2h4v-2zm10 0h-4v2h4v-2zM14 5h-4v2h4V5z"}}],Wl=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M17 21v-4H7v4H5v-5a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v5h-2zM7 3v4h10V3h2v5a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V3h2zM2 9l4 3-4 3V9zm20 0v6l-4-3 4-3z"}}],Ul=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 6v15h-2v-5a6 6 0 1 1 0-12h10v2h-3v15h-2V6h-3zm-2 0a4 4 0 1 0 0 8V6z"}}],Kl=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12.9 6.858l4.242 4.243L7.242 21H3v-4.243l9.9-9.9zm1.414-1.414l2.121-2.122a1 1 0 0 1 1.414 0l2.829 2.829a1 1 0 0 1 0 1.414l-2.122 2.121-4.242-4.242z"}}],Gl=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M15.728 9.686l-1.414-1.414L5 17.586V19h1.414l9.314-9.314zm1.414-1.414l1.414-1.414-1.414-1.414-1.414 1.414 1.414 1.414zM7.242 21H3v-4.243L16.435 3.322a1 1 0 0 1 1.414 0l2.829 2.829a1 1 0 0 1 0 1.414L7.243 21z"}}],ql=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M17.934 3.036l1.732 1L18.531 6H21v2h-2v4h2v2h-2v7h-2v-7h-3.084c-.325 2.862-1.564 5.394-3.37 7.193l-1.562-1.27c1.52-1.438 2.596-3.522 2.917-5.922L10 14v-2l2-.001V8h-2V6h2.467l-1.133-1.964 1.732-1L14.777 6h1.444l1.713-2.964zM5 13.803l-2 .536v-2.071l2-.536V8H3V6h2V3h2v3h2v2H7v3.197l2-.536v2.07l-2 .536V18.5A2.5 2.5 0 0 1 4.5 21H3v-2h1.5a.5.5 0 0 0 .492-.41L5 18.5v-4.697zM17 8h-3v4h3V8z"}}],Xl=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M12 19c.828 0 1.5.672 1.5 1.5S12.828 22 12 22s-1.5-.672-1.5-1.5.672-1.5 1.5-1.5zm0-17c3.314 0 6 2.686 6 6 0 2.165-.753 3.29-2.674 4.923C13.399 14.56 13 15.297 13 17h-2c0-2.474.787-3.695 3.031-5.601C15.548 10.11 16 9.434 16 8c0-2.21-1.79-4-4-4S8 5.79 8 8v1H6V8c0-3.314 2.686-6 6-6z"}}],Yl=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M21 19v2h-2v-2h2zm-4 0v2h-2v-2h2zm-4 0v2h-2v-2h2zm-4 0v2H7v-2h2zm-4 0v2H3v-2h2zm16-4v2h-2v-2h2zM5 15v2H3v-2h2zm0-4v2H3v-2h2zm11-8c2.687 0 4.882 2.124 4.995 4.783L21 8v5h-2V8c0-1.591-1.255-2.903-2.824-2.995L16 5h-5V3h5zM5 7v2H3V7h2zm0-4v2H3V3h2zm4 0v2H7V3h2z"}}],Zl=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M9.683 7.562L12 9.88l6.374-6.375a2 2 0 0 1 2.829 0l.707.707L9.683 16.438a4 4 0 1 1-2.121-2.121L9.88 12 7.562 9.683a4 4 0 1 1 2.121-2.121zM6 8a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm0 12a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm9.535-6.587l6.375 6.376-.707.707a2 2 0 0 1-2.829 0l-4.96-4.961 2.12-2.122z"}}],Ql=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M14 3c.552 0 1 .448 1 1v5h5c.552 0 1 .448 1 1v10c0 .552-.448 1-1 1H10c-.552 0-1-.448-1-1v-5H4c-.552 0-1-.448-1-1V4c0-.552.448-1 1-1h10zm-1 2H5v8h4v-3c0-.552.448-1 1-1h3V5z"}}],Jl=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M11 3c.552 0 1 .448 1 1v2h5c.552 0 1 .448 1 1v5h2c.552 0 1 .448 1 1v7c0 .552-.448 1-1 1h-7c-.552 0-1-.448-1-1v-2H7c-.552 0-1-.448-1-1v-5H4c-.552 0-1-.448-1-1V4c0-.552.448-1 1-1h7zm5 5h-4v3c0 .552-.448 1-1 1H8v4h4v-3c0-.552.448-1 1-1h3V8z"}}],ec=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M2 11h2v2H2v-2zm4 0h12v2H6v-2zm14 0h2v2h-2v-2z"}}],tc=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M9.583 17.321C8.553 16.227 8 15 8 13.011c0-3.5 2.457-6.637 6.03-8.188l.893 1.378c-3.335 1.804-3.987 4.145-4.247 5.621.537-.278 1.24-.375 1.929-.311 1.804.167 3.226 1.648 3.226 3.489a3.5 3.5 0 0 1-3.5 3.5c-1.073 0-2.099-.49-2.748-1.179z"}}],nc=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M14.417 6.679C15.447 7.773 16 9 16 10.989c0 3.5-2.457 6.637-6.03 8.188l-.893-1.378c3.335-1.804 3.987-4.145 4.247-5.621-.537.278-1.24.375-1.929.311C9.591 12.322 8.17 10.841 8.17 9a3.5 3.5 0 0 1 3.5-3.5c1.073 0 2.099.49 2.748 1.179z"}}],rc=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M19 3l4 5h-3v12h-2V8h-3l4-5zm-5 15v2H3v-2h11zm0-7v2H3v-2h11zm-2-7v2H3V4h9z"}}],oc=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}}
74,{tag:"path",attr:{d:"M20 4v12h3l-4 5-4-5h3V4h2zm-8 14v2H3v-2h9zm2-7v2H3v-2h11zm0-7v2H3V4h11z"}}],ic=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M4 9v4h16V9h2v5a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V9h2z"}}],ac=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{fillRule:"nonzero",d:"M17.5 2.5L23 12l-5.5 9.5h-11L1 12l5.5-9.5h11zm-1.153 2H7.653L3.311 12l4.342 7.5h8.694l4.342-7.5-4.342-7.5zM11 15h2v2h-2v-2zm0-8h2v6h-2V7z"}}],sc=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M20 3c.552 0 1 .448 1 1v16c0 .552-.448 1-1 1H4c-.552 0-1-.448-1-1V4c0-.552.448-1 1-1h16zm-9 2H5v14h6v-4h2v4h6V5h-6v4h-2V5zm4 4l3 3-3 3v-2H9v2l-3-3 3-3v2h6V9z"}}],lc=[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M20 3c.552 0 1 .448 1 1v16c0 .552-.448 1-1 1H4c-.552 0-1-.448-1-1V4c0-.552.448-1 1-1h16zm-1 2H5v5.999L9 11v2H5v6h14v-6h-4v-2l4-.001V5zm-7 1l3 3h-2v6h2l-3 3-3-3h2V9H9l3-3z"}}],cc=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M13 9h-2V6H5V4h14v2h-6v3zm0 6v5h-2v-5h2zM3 11h18v2H3v-2z"}}],uc=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M17.154 14c.23.516.346 1.09.346 1.72 0 1.342-.524 2.392-1.571 3.147C14.88 19.622 13.433 20 11.586 20c-1.64 0-3.263-.381-4.87-1.144V16.6c1.52.877 3.075 1.316 4.666 1.316 2.551 0 3.83-.732 3.839-2.197a2.21 2.21 0 0 0-.648-1.603l-.12-.117H3v-2h18v2h-3.846zm-4.078-3H7.629a4.086 4.086 0 0 1-.481-.522C6.716 9.92 6.5 9.246 6.5 8.452c0-1.236.466-2.287 1.397-3.153C8.83 4.433 10.271 4 12.222 4c1.471 0 2.879.328 4.222.984v2.152c-1.2-.687-2.515-1.03-3.946-1.03-2.48 0-3.719.782-3.719 2.346 0 .42.218.786.654 1.099.436.313.974.562 1.613.75.62.18 1.297.414 2.03.699z"}}],dc=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M11 6v13H9V6H3V4h14v2h-6zm8.55 10.58a.8.8 0 1 0-1.32-.36l-1.154.33A2.001 2.001 0 0 1 19 14a2 2 0 0 1 1.373 3.454L18.744 19H21v1h-4v-1l2.55-2.42z"}}],pc=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M5.596 4L10.5 9.928 15.404 4H18l-6.202 7.497L18 18.994V19h-2.59l-4.91-5.934L5.59 19H3v-.006l6.202-7.497L3 4h2.596zM21.55 16.58a.8.8 0 1 0-1.32-.36l-1.155.33A2.001 2.001 0 0 1 21 14a2 2 0 0 1 1.373 3.454L20.744 19H23v1h-4v-1l2.55-2.42z"}}],hc=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M5 11h14v2H5z"}}],fc=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M11 7v13H9V7H3V5h12v2h-4zm8.55-.42a.8.8 0 1 0-1.32-.36l-1.154.33A2.001 2.001 0 0 1 19 4a2 2 0 0 1 1.373 3.454L18.744 9H21v1h-4V9l2.55-2.42z"}}],mc=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M5.596 5l4.904 5.928L15.404 5H18l-6.202 7.497L18 19.994V20h-2.59l-4.91-5.934L5.59 20H3v-.006l6.202-7.497L3 5h2.596zM21.55 6.58a.8.8 0 1 0-1.32-.36l-1.155.33A2.001 2.001 0 0 1 21 4a2 2 0 0 1 1.373 3.454L20.744 9H23v1h-4V9l2.55-2.42z"}}],gc=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{fillRule:"nonzero",d:"M13 10v4h6v-4h-6zm-2 0H5v4h6v-4zm2 9h6v-3h-6v3zm-2 0v-3H5v3h6zm2-14v3h6V5h-6zm-2 0H5v3h6V5zM4 3h16a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1z"}}],vc=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M4 8h16V5H4v3zm10 11v-9h-4v9h4zm2 0h4v-9h-4v9zm-8 0v-9H4v9h4zM3 3h18a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1z"}}],yc=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M11 5v10H9v-4a4 4 0 1 1 0-8h8v2h-2v10h-2V5h-2zM9 5a2 2 0 1 0 0 4V5zm8 12v-2.5l4 3.5-4 3.5V19H5v-2h12z"}}],bc=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M11 5v10H9v-4a4 4 0 1 1 0-8h8v2h-2v10h-2V5h-2zM9 5a2 2 0 1 0 0 4V5zM7 17h12v2H7v2.5L3 18l4-3.5V17z"}}],xc=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M7 17h10v-2.5l3.5 3.5-3.5 3.5V19H7v2.5L3.5 18 7 14.5V17zm6-11v9h-2V6H5V4h14v2h-6z"}}],kc=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M15 18h1.5a2.5 2.5 0 1 0 0-5H3v-2h13.5a4.5 4.5 0 1 1 0 9H15v2l-4-3 4-3v2zM3 4h18v2H3V4zm6 14v2H3v-2h6z"}}],wc=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M13 6v15h-2V6H5V4h14v2z"}}],Ec=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M18.5 10l4.4 11h-2.155l-1.201-3h-4.09l-1.199 3h-2.154L16.5 10h2zM10 2v2h6v2h-1.968a18.222 18.222 0 0 1-3.62 6.301 14.864 14.864 0 0 0 2.336 1.707l-.751 1.878A17.015 17.015 0 0 1 9 13.725a16.676 16.676 0 0 1-6.201 3.548l-.536-1.929a14.7 14.7 0 0 0 5.327-3.042A18.078 18.078 0 0 1 4.767 8h2.24A16.032 16.032 0 0 0 9 10.877a16.165 16.165 0 0 0 2.91-4.876L2 6V4h6V2h2zm7.5 10.885L16.253 16h2.492L17.5 12.885z"}}],Mc=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}}
74,{tag:"path",attr:{d:"M5 15v2a2 2 0 0 0 1.85 1.995L7 19h3v2H7a4 4 0 0 1-4-4v-2h2zm13-5l4.4 11h-2.155l-1.201-3h-4.09l-1.199 3h-2.154L16 10h2zm-1 2.885L15.753 16h2.492L17 12.885zM8 2v2h4v7H8v3H6v-3H2V4h4V2h2zm9 1a4 4 0 0 1 4 4v2h-2V7a2 2 0 0 0-2-2h-3V3h3zM6 6H4v3h2V6zm4 0H8v3h2V6z"}}],Sc=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M8 3v9a4 4 0 1 0 8 0V3h2v9a6 6 0 1 1-12 0V3h2zM4 20h16v2H4v-2z"}}],Cc=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M4 19h16v-7h2v8a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1v-8h2v7zM14 9v6h-4V9H5l7-7 7 7h-5z"}}],Oc=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M3 3.993C3 3.445 3.445 3 3.993 3h16.014c.548 0 .993.445.993.993v16.014a.994.994 0 0 1-.993.993H3.993A.994.994 0 0 1 3 20.007V3.993zM5 5v14h14V5H5zm5.622 3.415l4.879 3.252a.4.4 0 0 1 0 .666l-4.88 3.252a.4.4 0 0 1-.621-.332V8.747a.4.4 0 0 1 .622-.332z"}}],Tc=[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M3 21v-2h3.662l1.234-7H5v-2h3.249l.881-5H4V3h16v2h-8.839l-.882 5H18v9h3v2H3zm13-9H9.927l-1.235 7H16v-7z"}}];function Ac(e){return Go("MuiIconButton",e)}var Rc=qo("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]);const zc=["edge","children","className","color","disabled","disableFocusRipple","size"],Lc=tr(Oa,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"default"!==n.color&&t[`color${ur(n.color)}`],n.edge&&t[`edge${ur(n.edge)}`],t[`size${ur(n.size)}`]]}})((({theme:e,ownerState:t})=>s({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:b(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===t.edge&&{marginLeft:"small"===t.size?-3:-12},"end"===t.edge&&{marginRight:"small"===t.size?-3:-12})),(({theme:e,ownerState:t})=>{var n;const r=null==(n=(e.vars||e).palette)?void 0:n[t.color];return s({},"inherit"===t.color&&{color:"inherit"},"inherit"!==t.color&&"default"!==t.color&&s({color:null==r?void 0:r.main},!t.disableRipple&&{"&:hover":s({},r&&{backgroundColor:e.vars?`rgba(${r.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:b(r.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),"small"===t.size&&{padding:5,fontSize:e.typography.pxToRem(18)},"large"===t.size&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${Rc.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})})),_c=o.forwardRef((function(e,t){const n=cr({props:e,name:"MuiIconButton"}),{edge:r=!1,children:o,className:i,color:l="default",disabled:d=!1,disableFocusRipple:p=!1,size:h="medium"}=n,f=a(n,zc),m=s({},n,{edge:r,color:l,disabled:d,disableFocusRipple:p,size:h}),g=(e=>{const{classes:t,disabled:n,color:r,edge:o,size:i}=e;return u({root:["root",n&&"disabled","default"!==r&&`color${ur(r)}`,o&&`edge${ur(o)}`,`size${ur(i)}`]},Ac,t)})(m);return(0,vr.jsx)(Lc,s({className:c(g.root,i),centerRipple:!0,focusRipple:!p,disabled:d,ref:t,ownerState:m},f,{children:o}))}));var Hc=_c,Nc=(n(52762),Cr);var Pc=o.createContext({});function Ic(e){return Go("MuiList",e)}qo("MuiList",["root","padding","dense","subheader"]);const Dc=["children","className","component","dense","disablePadding","subheader"],$c=tr("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})((({ownerState:e})=>s({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})));var Vc=o.forwardRef((function(e,t){const n=cr({props:e,name:"MuiList"}),{children:r,className:i,component:l="ul",dense:d=!1,disablePadding:p=!1,subheader:h}=n,f=a(n,Dc),m=o.useMemo((()=>({dense:d})),[d]),g=s({},n,{component:l,dense:d,disablePadding:p}),v=(e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e;return u({root:["root",!n&&"padding",r&&"dense",o&&"subheader"]},Ic,t)})(g);return(0,vr.jsx)(Pc.Provider,{value:m,children:(0,vr.jsxs)($c,s({as:l,className:c(v.root,i),ref:t,ownerState:g},f,{children:[h,r]}))})}));function jc(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}var Bc=jc,Fc=Sr;const Wc=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function Uc(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}
vendor: 8,574 bytes, line 74
74function Kc(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function Gc(e,t){if(void 0===t)return!0;let n=e.innerText;return void 0===n&&(n=e.textContent),n=n.trim().toLowerCase(),0!==n.length&&(t.repeating?n[0]===t.keys[0]:0===n.indexOf(t.keys.join("")))}function qc(e,t,n,r,o,i){let a=!1,s=o(e,t,!!t&&n);for(;s;){if(s===e.firstChild){if(a)return!1;a=!0}const t=!r&&(s.disabled||"true"===s.getAttribute("aria-disabled"));if(s.hasAttribute("tabindex")&&Gc(s,i)&&!t)return s.focus(),!0;s=o(e,s,n)}return!1}var Xc=o.forwardRef((function(e,t){const{actions:n,autoFocus:r=!1,autoFocusItem:i=!1,children:l,className:c,disabledItemsFocusable:u=!1,disableListWrap:d=!1,onKeyDown:p,variant:h="selectedMenu"}=e,f=a(e,Wc),m=o.useRef(null),g=o.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Fc((()=>{r&&m.current.focus()}),[r]),o.useImperativeHandle(n,(()=>({adjustStyleForScrollbar:(e,t)=>{const n=!m.current.style.width;if(e.clientHeight<m.current.clientHeight&&n){const n=`${Bc(Nc(e))}px`;m.current.style["rtl"===t.direction?"paddingLeft":"paddingRight"]=n,m.current.style.width=`calc(100% + ${n})`}return m.current}})),[]);const v=gr(m,t);let y=-1;o.Children.forEach(l,((e,t)=>{o.isValidElement(e)?(e.props.disabled||("selectedMenu"===h&&e.props.selected||-1===y)&&(y=t),y===t&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(y+=1,y>=l.length&&(y=-1))):y===t&&(y+=1,y>=l.length&&(y=-1))}));const b=o.Children.map(l,((e,t)=>{if(t===y){const t={};return i&&(t.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===h&&(t.tabIndex=0),o.cloneElement(e,t)}return e}));return(0,vr.jsx)(Vc,s({role:"menu",ref:v,className:c,onKeyDown:e=>{const t=m.current,n=e.key,r=Nc(t).activeElement;if("ArrowDown"===n)e.preventDefault(),qc(t,r,d,u,Uc);else if("ArrowUp"===n)e.preventDefault(),qc(t,r,d,u,Kc);else if("Home"===n)e.preventDefault(),qc(t,null,d,u,Uc);else if("End"===n)e.preventDefault(),qc(t,null,d,u,Kc);else if(1===n.length){const o=g.current,i=n.toLowerCase(),a=performance.now();o.keys.length>0&&(a-o.lastTime>500?(o.keys=[],o.repeating=!0,o.previousKeyMatched=!0):o.repeating&&i!==o.keys[0]&&(o.repeating=!1)),o.lastTime=a,o.keys.push(i);const s=r&&!o.repeating&&Gc(r,o);o.previousKeyMatched&&(s||qc(t,r,!1,u,Uc,o))?e.preventDefault():o.previousKeyMatched=!1}p&&p(e)},tabIndex:r?0:-1},f,{children:b}))}));var Yc=function(e,t=166){let n;function r(...r){clearTimeout(n),n=setTimeout((()=>{e.apply(this,r)}),t)}return r.clear=()=>{clearTimeout(n)},r};function Zc(e){return Cr(e).defaultView||window}var Qc=Zc;function Jc(...e){return e.reduce(((e,t)=>null==t?e:function(...n){e.apply(this,n),t.apply(this,n)}),(()=>{}))}function eu(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function tu(e){return parseInt(Zc(e).getComputedStyle(e).paddingRight,10)||0}function nu(e,t,n,r,o){const i=[t,n,...r];[].forEach.call(e.children,(e=>{const t=-1===i.indexOf(e),n=!function(e){const t=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),n="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||n}(e);t&&n&&eu(e,o)}))}function ru(e,t){let n=-1;return e.some(((e,r)=>!!t(e)&&(n=r,!0))),n}function ou(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(function(e){const t=Cr(e);return t.body===e?Zc(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){const e=jc(Cr(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${tu(r)+e}px`;const t=Cr(r).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{n.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${tu(t)+e}px`}))}let e;if(r.parentNode instanceof DocumentFragment)e=Cr(r).body;else{const t=r.parentElement,n=Zc(r);e="HTML"===(null==t?void 0:t.nodeName)&&"scroll"===n.getComputedStyle(t).overflowY?t:r}n.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{n.forEach((({value:e,el:t,property:n})=>{e?t.style.setProperty(n,e):t.style.removeProperty(n)}))}}const iu=new class{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,t){let n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&eu(e.modalRef,!1);const r=function(e){const t=[];return[].forEach.call(e.children,(e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);nu(t,e.mount,e.modalRef,r,!0);const o=ru(this.containers,(e=>e.container===t));return-1!==o?(this.containers[o].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),n)}mount(e,t){const n=ru(this.containers,(t=>-1!==t.modals.indexOf(e))),r=this.containers[n];r.restore||(r.restore=ou(r,t))}remove(e,t=!0){const n=this.modals.indexOf(e);if(-1===n)return n;const r=ru(this.containers,(t=>-1!==t.modals.indexOf(e))),o=this.containers[r];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(n,1),0===o.modals.length)o.restore&&o.restore(),e.modalRef&&eu(e.modalRef,t),nu(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(r,1);else{const e=o.modals[o.modals.length-1];e.modalRef&&eu(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};function au(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,manager:i=iu,closeAfterTransition:a=!1,onTransitionEnter:s,onTransitionExited:l,children:c,onClose:u,open:p,rootRef:h}=e,f=o.useRef({}),m=o.useRef(null),g=o.useRef(null),v=mr(g,h),[y,b]=o.useState(!p),x=function(e){return!!e&&e.props.hasOwnProperty("in")}(c);let k=!0;"false"!==e["aria-hidden"]&&!1!==e["aria-hidden"]||(k=!1);const w=()=>(f.current.modalRef=g.current,f.current.mount=m.current,f.current),E=()=>{i.mount(w(),{disableScrollLock:r}),g.current&&(g.current.scrollTop=0)},M=mi((()=>{const e=function(e){return"function"===typeof e?e():e}(t)||Cr(m.current).body;i.add(w(),e),g.current&&E()})),S=o.useCallback((()=>i.isTopModal(w())),[i]),C=mi((e=>{m.current=e,e&&(p&&S()?E():g.current&&eu(g.current,k))})),O=o.useCallback((()=>{i.remove(w(),k)}),[k,i]);o.useEffect((()=>()=>{O()}),[O]),o.useEffect((()=>{p?M():x&&a||O()}),[p,O,x,a,M]);const T=e=>t=>{var r;null==(r=e.onKeyDown)||r.call(e,t),"Escape"===t.key&&229!==t.which&&S()&&(n||(t.stopPropagation(),u&&u(t,"escapeKeyDown")))},A=e=>t=>{var n;null==(n=e.onClick)||n.call(e,t),t.target===t.currentTarget&&u&&u(t,"backdropClick")};return{getRootProps:(t={})=>{const n=Qo(e);delete n.onTransitionEnter,delete n.onTransitionExited;const r=d({},n,t);return d({role:"presentation"},r,{onKeyDown:T(r),ref:v})},getBackdropProps:(e={})=>d({"aria-hidden":!0},e,{onClick:A(e),open:p}),getTransitionProps:()=>({onEnter:Jc((()=>{b(!1),s&&s()}),null==c?void 0:c.props.onEnter),onExited:Jc((()=>{b(!0),l&&l(),a&&O()}),null==c?void 0:c.props.onExited)}),rootRef:v,portalRef:C,isTopModal:S,exited:y,hasTransition:x}}const su=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function lu(e){const t=[],n=[];return Array.from(e.querySelectorAll(su)).forEach(((e,r)=>{const o=function(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==o&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}(e))}(e)&&(0===o?t.push(e):n.push({documentOrder:r,tabIndex:o,node:e}))})),n.sort(((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex)).map((e=>e.node)).concat(t)}function cu(){return!0}function uu(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:i=!1,getTabbable:a=lu,isEnabled:s=cu,open:l}=e,c=o.useRef(!1),u=o.useRef(null),d=o.useRef(null),p=o.useRef(null),h=o.useRef(null),f=o.useRef(!1),m=o.useRef(null),g=mr(t.ref,m),v=o.useRef(null);o.useEffect((()=>{l&&m.current&&(f.current=!n)}),[n,l]),o.useEffect((()=>
74{if(!l||!m.current)return;const e=Cr(m.current);return m.current.contains(e.activeElement)||(m.current.hasAttribute("tabIndex")||m.current.setAttribute("tabIndex","-1"),f.current&&m.current.focus()),()=>{i||(p.current&&p.current.focus&&(c.current=!0,p.current.focus()),p.current=null)}}),[l]),o.useEffect((()=>{if(!l||!m.current)return;const e=Cr(m.current),t=t=>{v.current=t,!r&&s()&&"Tab"===t.key&&e.activeElement===m.current&&t.shiftKey&&(c.current=!0,d.current&&d.current.focus())},n=()=>{const t=m.current;if(null===t)return;if(!e.hasFocus()||!s()||c.current)return void(c.current=!1);if(t.contains(e.activeElement))return;if(r&&e.activeElement!==u.current&&e.activeElement!==d.current)return;if(e.activeElement!==h.current)h.current=null;else if(null!==h.current)return;if(!f.current)return;let n=[];if(e.activeElement!==u.current&&e.activeElement!==d.current||(n=a(m.current)),n.length>0){var o,i;const e=Boolean((null==(o=v.current)?void 0:o.shiftKey)&&"Tab"===(null==(i=v.current)?void 0:i.key)),t=n[0],r=n[n.length-1];"string"!==typeof t&&"string"!==typeof r&&(e?r.focus():t.focus())}else t.focus()};e.addEventListener("focusin",n),e.addEventListener("keydown",t,!0);const o=setInterval((()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&n()}),50);return()=>{clearInterval(o),e.removeEventListener("focusin",n),e.removeEventListener("keydown",t,!0)}}),[n,r,i,s,l,a]);const y=e=>{null===p.current&&(p.current=e.relatedTarget),f.current=!0};return(0,vr.jsxs)(o.Fragment,{children:[(0,vr.jsx)("div",{tabIndex:l?0:-1,onFocus:y,ref:u,"data-testid":"sentinelStart"}),o.cloneElement(t,{ref:g,onFocus:e=>{null===p.current&&(p.current=e.relatedTarget),f.current=!0,h.current=e.target;const n=t.props.onFocus;n&&n(e)}}),(0,vr.jsx)("div",{tabIndex:l?0:-1,onFocus:y,ref:d,"data-testid":"sentinelEnd"})]})}const du=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],pu={entering:{opacity:1},entered:{opacity:1}},hu=o.forwardRef((function(e,t){const n=ir(),r={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:i,appear:l=!0,children:c,easing:u,in:d,onEnter:p,onEntered:h,onEntering:f,onExit:m,onExited:g,onExiting:v,style:y,timeout:b=r,TransitionComponent:x=dr.ZP}=e,k=a(e,du),w=o.useRef(null),E=gr(w,c.ref,t),M=e=>t=>{if(e){const n=w.current;void 0===t?e(n):e(n,t)}},S=M(f),C=M(((e,t)=>{pr(e);const r=hr({style:y,timeout:b,easing:u},{mode:"enter"});e.style.webkitTransition=n.transitions.create("opacity",r),e.style.transition=n.transitions.create("opacity",r),p&&p(e,t)})),O=M(h),T=M(v),A=M((e=>{const t=hr({style:y,timeout:b,easing:u},{mode:"exit"});e.style.webkitTransition=n.transitions.create("opacity",t),e.style.transition=n.transitions.create("opacity",t),m&&m(e)})),R=M(g);return(0,vr.jsx)(x,s({appear:l,in:d,nodeRef:w,onEnter:C,onEntered:O,onEntering:S,onExit:A,onExited:R,onExiting:T,addEndListener:e=>{i&&i(w.current,e)},timeout:b},k,{children:(e,t)=>o.cloneElement(c,s({style:s({opacity:0,visibility:"exited"!==e||d?void 0:"hidden"},pu[e],y,c.props.style),ref:E},t))}))}));var fu=hu;function mu(e){return Go("MuiBackdrop",e)}qo("MuiBackdrop",["root","invisible"]);const gu=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],vu=tr("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})((({ownerState:e})=>s({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"})));var yu=o.forwardRef((function(e,t){var n,r,o;const i=cr({props:e,name:"MuiBackdrop"}),{children:l,className:d,component:p="div",components:h={},componentsProps:f={},invisible:m=!1,open:g,slotProps:v={},slots:y={},TransitionComponent:b=fu,transitionDuration:x}=i,k=a(i,gu),w=s({},i,{component:p,invisible:m}),E=(e=>{const{classes:t,invisible:n}=e;return u({root:["root",n&&"invisible"]},mu,t)})(w),M=null!=(n=v.root)?n:f.root;return(0,vr.jsx)(b,s({in:g,timeout:x},k,{children:(0,vr.jsx)(vu,s({"aria-hidden":!0},M,{as:null!=(r=null!=(o=y.root)?o:h.Root)?r:p,className:c(E.root,d,null==M?void 0:M.className),ownerState:s({},w,null==M?void 0:M.ownerState),classes:E,ref:t,children:l}))}))}));function bu(e){return Go("MuiModal",e)}qo("MuiModal",["root","hidden","backdrop"]);const xu=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","
74slots","theme"],ku=tr("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})((({theme:e,ownerState:t})=>s({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"}))),wu=tr(yu,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),Eu=o.forwardRef((function(e,t){var n,r,i,l,d,p;const h=cr({name:"MuiModal",props:e}),{BackdropComponent:f=wu,BackdropProps:m,className:g,closeAfterTransition:v=!1,children:y,container:b,component:x,components:k={},componentsProps:w={},disableAutoFocus:E=!1,disableEnforceFocus:M=!1,disableEscapeKeyDown:S=!1,disablePortal:C=!1,disableRestoreFocus:O=!1,disableScrollLock:T=!1,hideBackdrop:A=!1,keepMounted:R=!1,onBackdropClick:z,open:L,slotProps:_,slots:H}=h,N=a(h,xu),P=s({},h,{closeAfterTransition:v,disableAutoFocus:E,disableEnforceFocus:M,disableEscapeKeyDown:S,disablePortal:C,disableRestoreFocus:O,disableScrollLock:T,hideBackdrop:A,keepMounted:R}),{getRootProps:I,getBackdropProps:D,getTransitionProps:$,portalRef:V,isTopModal:j,exited:B,hasTransition:F}=au(s({},P,{rootRef:t})),W=s({},P,{exited:B}),U=(e=>{const{open:t,exited:n,classes:r}=e;return u({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},bu,r)})(W),K={};if(void 0===y.props.tabIndex&&(K.tabIndex="-1"),F){const{onEnter:e,onExited:t}=$();K.onEnter=e,K.onExited=t}const G=null!=(n=null!=(r=null==H?void 0:H.root)?r:k.Root)?n:ku,q=null!=(i=null!=(l=null==H?void 0:H.backdrop)?l:k.Backdrop)?i:f,X=null!=(d=null==_?void 0:_.root)?d:w.root,Y=null!=(p=null==_?void 0:_.backdrop)?p:w.backdrop,Z=ti({elementType:G,externalSlotProps:X,externalForwardedProps:N,getSlotProps:I,additionalProps:{ref:t,as:x},ownerState:W,className:c(g,null==X?void 0:X.className,null==U?void 0:U.root,!W.open&&W.exited&&(null==U?void 0:U.hidden))}),Q=ti({elementType:q,externalSlotProps:Y,additionalProps:m,getSlotProps:e=>D(s({},e,{onClick:t=>{z&&z(t),null!=e&&e.onClick&&e.onClick(t)}})),className:c(null==Y?void 0:Y.className,null==m?void 0:m.className,null==U?void 0:U.backdrop),ownerState:W});return R||L||F&&!B?(0,vr.jsx)(Fo,{ref:V,container:b,disablePortal:C,children:(0,vr.jsxs)(G,s({},Z,{children:[!A&&f?(0,vr.jsx)(q,s({},Q)):null,(0,vr.jsx)(uu,{disableEnforceFocus:M,disableAutoFocus:E,disableRestoreFocus:O,isEnabled:j,open:L,children:o.cloneElement(y,K)})]}))}):null}));var Mu=Eu;var Su=e=>{let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,(t/100).toFixed(2)};function Cu(e){return Go("MuiPaper",e)}qo("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const Ou=["className","component","elevation","square","variant"],Tu=tr("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,"elevation"===n.variant&&t[`elevation${n.elevation}`]]}})((({theme:e,ownerState:t})=>{var n;return s({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.divider}`},"elevation"===t.variant&&s({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&"dark"===e.palette.mode&&{backgroundImage:`linear-gradient(${b("#fff",Su(t.elevation))}, ${b("#fff",Su(t.elevation))})`},e.vars&&{backgroundImage:null==(n=e.vars.overlays)?void 0:n[t.elevation]}))}));var Au=o.forwardRef((function(e,t){const n=cr({props:e,name:"MuiPaper"}),{className:r,component:o="div",elevation:i=1,square:l=!1,variant:d="elevation"}=n,p=a(n,Ou),h=s({},n,{component:o,elevation:i,square:l,variant:d}),f=(e=>{const{square:t,elevation:n,variant:r,classes:o}=e;return u({root:["root",r,!t&&"rounded","elevation"===r&&`elevation${n}`]},Cu,o)})(h);return(0,vr.jsx)(Tu,s({as:o,ownerState:h,className:c(f.root,r),ref:t},p))}));function Ru(e){return Go("MuiPopover",e)}qo("MuiPopover",["root","paper"]);const zu=["onEntering"],Lu=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","
74slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],_u=["slotProps"];function Hu(e,t){let n=0;return"number"===typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function Nu(e,t){let n=0;return"number"===typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function Pu(e){return[e.horizontal,e.vertical].map((e=>"number"===typeof e?`${e}px`:e)).join(" ")}function Iu(e){return"function"===typeof e?e():e}const Du=tr(Mu,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),$u=tr(Au,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),Vu=o.forwardRef((function(e,t){var n,r,i;const l=cr({props:e,name:"MuiPopover"}),{action:d,anchorEl:h,anchorOrigin:f={vertical:"top",horizontal:"left"},anchorPosition:m,anchorReference:g="anchorEl",children:v,className:y,container:b,elevation:x=8,marginThreshold:k=16,open:w,PaperProps:E={},slots:M,slotProps:S,transformOrigin:C={vertical:"top",horizontal:"left"},TransitionComponent:O=Er,transitionDuration:T="auto",TransitionProps:{onEntering:A}={},disableScrollLock:R=!1}=l,z=a(l.TransitionProps,zu),L=a(l,Lu),_=null!=(n=null==S?void 0:S.paper)?n:E,H=o.useRef(),N=gr(H,_.ref),P=s({},l,{anchorOrigin:f,anchorReference:g,elevation:x,marginThreshold:k,externalPaperSlotProps:_,transformOrigin:C,TransitionComponent:O,transitionDuration:T,TransitionProps:z}),I=(e=>{const{classes:t}=e;return u({root:["root"],paper:["paper"]},Ru,t)})(P),D=o.useCallback((()=>{if("anchorPosition"===g)return m;const e=Iu(h),t=(e&&1===e.nodeType?e:Nc(H.current).body).getBoundingClientRect();return{top:t.top+Hu(t,f.vertical),left:t.left+Nu(t,f.horizontal)}}),[h,f.horizontal,f.vertical,m,g]),$=o.useCallback((e=>({vertical:Hu(e,C.vertical),horizontal:Nu(e,C.horizontal)})),[C.horizontal,C.vertical]),V=o.useCallback((e=>{const t={width:e.offsetWidth,height:e.offsetHeight},n=$(t);if("none"===g)return{top:null,left:null,transformOrigin:Pu(n)};const r=D();let o=r.top-n.vertical,i=r.left-n.horizontal;const a=o+t.height,s=i+t.width,l=Qc(Iu(h)),c=l.innerHeight-k,u=l.innerWidth-k;if(null!==k&&o<k){const e=o-k;o-=e,n.vertical+=e}else if(null!==k&&a>c){const e=a-c;o-=e,n.vertical+=e}if(null!==k&&i<k){const e=i-k;i-=e,n.horizontal+=e}else if(s>u){const e=s-u;i-=e,n.horizontal+=e}return{top:`${Math.round(o)}px`,left:`${Math.round(i)}px`,transformOrigin:Pu(n)}}),[h,g,D,$,k]),[j,B]=o.useState(w),F=o.useCallback((()=>{const e=H.current;if(!e)return;const t=V(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,B(!0)}),[V]);o.useEffect((()=>(R&&window.addEventListener("scroll",F),()=>window.removeEventListener("scroll",F))),[h,R,F]);o.useEffect((()=>{w&&F()})),o.useImperativeHandle(d,(()=>w?{updatePosition:()=>{F()}}:null),[w,F]),o.useEffect((()=>{if(!w)return;const e=Yc((()=>{F()})),t=Qc(h);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}}),[h,w,F]);let W=T;"auto"!==T||O.muiSupportAuto||(W=void 0);const U=b||(h?Nc(Iu(h)).body:void 0),K=null!=(r=null==M?void 0:M.root)?r:Du,G=null!=(i=null==M?void 0:M.paper)?i:$u,q=ti({elementType:G,externalSlotProps:s({},_,{style:j?_.style:s({},_.style,{opacity:0})}),additionalProps:{elevation:x,ref:N},ownerState:P,className:c(I.paper,null==_?void 0:_.className)}),X=ti({elementType:K,externalSlotProps:(null==S?void 0:S.root)||{},externalForwardedProps:L,additionalProps:{ref:t,slotProps:{backdrop:{invisible:!0}},container:U,open:w},ownerState:P,className:c(I.root,y)}),{slotProps:Y}=X,Z=a(X,_u);return(0,vr.jsx)(K,s({},Z,!p(K)&&{slotProps:Y,disableScrollLock:R},{children:(0,vr.jsx)(O,s({appear:!0,in:w,onEntering:(e,t)=>{A&&A(e,t),F()},onExited:()=>{B(!1)},timeout:W},z,{children:(0,vr.jsx)(G,s({},q,{children:v}))}))}))}));var ju=Vu;function Bu(e){return Go("MuiMenu",e)}qo("MuiMenu",["root","paper","list"]);const Fu=["onEntering"],Wu=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],Uu={vertical:"top",horizontal:"right"},Ku={vertical:"top",horizontal:"left"},Gu=tr(ju,{shouldForwardProp:e=>er(e)||"classes"===e,name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),qu=tr($u,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),Xu=tr(Xc,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0});var Yu=o.forwardRef((function(e,t){var n,r;const i=cr({props:e,name:"MuiMenu"}),{autoFocus:l=!0,children:d,className:p,disableAutoFocusItem:h=!1,MenuListProps:f={},onClose:m,open:g,PaperProps:v={},PopoverClasses:y,transitionDuration:b="auto",TransitionProps:{onEntering:x}={},variant:k="selectedMenu",slots:w={},slotProps:E={}}=i,M=a(i.TransitionProps,Fu),S=a(i,Wu),C=ir(),O="rtl"===C.direction,T=s({},i,{autoFocus:l,disableAutoFocusItem:h,MenuListProps:f,onEntering:x,PaperProps:v,transitionDuration:b,TransitionProps:M,variant:k}),A=(e=>{const{classes:t}=e;return u({root:["root"],paper:["paper"],list:["list"]},Bu,t)})(T),R=l&&!h&&g,z=o.useRef(null);let L=-1;o.Children.map(d,((e,t)=>{o.isValidElement(e)&&(e.props.disabled||("selectedMenu"===k&&e.props.selected||-1===L)&&(L=t))}));const _=null!=(n=w.paper)?n:qu,H=null!=(r=E.paper)?r:v,N=ti({elementType:w.root,externalSlotProps:E.root,ownerState:T,className:[A.root,p]}),P=ti({elementType:_,externalSlotProps:H,ownerState:T,className:A.paper});return(0,vr.jsx)(Gu,s({onClose:m,anchorOrigin:{vertical:"bottom",horizontal:O?"right":"left"},transformOrigin:O?Uu:Ku,slots:{paper:_,root:w.root},slotProps:{root:N,paper:P},open:g,ref:t,transitionDuration:b,TransitionProps:s({onEntering:(e,t)=>
vendor: 4,602 bytes, line 74
74{z.current&&z.current.adjustStyleForScrollbar(e,C),x&&x(e,t)}},M),ownerState:T},S,{classes:y,children:(0,vr.jsx)(Xu,s({onKeyDown:e=>{"Tab"===e.key&&(e.preventDefault(),m&&m(e,"tabKeyDown"))},actions:z,autoFocus:l&&(-1===L||h),autoFocusItem:R,variant:k},f,{className:c(A.list,f.className),children:d}))}))}));function Zu(e){return Go("MuiListItemIcon",e)}var Qu=qo("MuiListItemIcon",["root","alignItemsFlexStart"]);const Ju=["className"],ed=tr("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"flex-start"===n.alignItems&&t.alignItemsFlexStart]}})((({theme:e,ownerState:t})=>s({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===t.alignItems&&{marginTop:8})));var td=o.forwardRef((function(e,t){const n=cr({props:e,name:"MuiListItemIcon"}),{className:r}=n,i=a(n,Ju),l=s({},n,{alignItems:o.useContext(Pc).alignItems}),d=(e=>{const{alignItems:t,classes:n}=e;return u({root:["root","flex-start"===t&&"alignItemsFlexStart"]},Zu,n)})(l);return(0,vr.jsx)(ed,s({className:c(d.root,r),ownerState:l,ref:t},i))}));function nd(e){return Go("MuiDivider",e)}var rd=qo("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);function od(e){return Go("MuiListItemText",e)}var id=qo("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);function ad(e){return Go("MuiMenuItem",e)}var sd=qo("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]);const ld=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],cd=tr(Oa,{shouldForwardProp:e=>er(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})((({theme:e,ownerState:t})=>s({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${sd.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:b(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${sd.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:b(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${sd.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:b(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:b(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${sd.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${sd.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${rd.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${rd.inset}`]:{marginLeft:52},[`& .${id.root}`]:{marginTop:0,marginBottom:0},[`& .${id.inset}`]:{paddingLeft:36},[`& .${Qu.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&s({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${Qu.root} svg`]:{fontSize:"1.25rem"}}))));var ud=o.forwardRef((function(e,t){const n=cr({props:e,name:"MuiMenuItem"}),{autoFocus:r=!1,component:i="li",dense:l=!1,divider:d=!1,disableGutters:p=!1,focusVisibleClassName:h,role:f="menuitem",tabIndex:m,className:g}=n,v=a(n,ld),y=o.useContext(Pc),b=o.useMemo((()=>({dense:l||y.dense||!1,disableGutters:p})),[y.dense,l,p]),x=o.useRef(null);Fc((()=>{r&&x.current&&x.current.focus()}),[r]);const k=s({},n,{dense:b.dense,divider:d,disableGutters:p}),w=(e=>{const{disabled:t,dense:n,divider:r,disableGutters:o,selected:i,classes:a}=e;return s({},a,u({root:["root",n&&"dense",t&&"disabled",!o&&"gutters",r&&"divi
74der",i&&"selected"]},ad,a))})(n),E=gr(x,t);let M;return n.disabled||(M=void 0!==m?m:-1),(0,vr.jsx)(Pc.Provider,{value:b,children:(0,vr.jsx)(cd,s({ref:E,role:f,tabIndex:M,component:i,focusVisibleClassName:c(w.focusVisible,h),className:c(w.root,g)},v,{ownerState:k,classes:w}))})}));function dd(e){return Go("MuiTypography",e)}qo("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const pd=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],hd=tr("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],"inherit"!==n.align&&t[`align${ur(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})((({theme:e,ownerState:t})=>s({margin:0},"inherit"===t.variant&&{font:"inherit"},"inherit"!==t.variant&&e.typography[t.variant],"inherit"!==t.align&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16}))),fd={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},md={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},gd=o.forwardRef((function(e,t){const n=cr({props:e,name:"MuiTypography"}),r=(e=>md[e]||e)(n.color),o=Fi(s({},n,{color:r})),{align:i="inherit",className:l,component:d,gutterBottom:p=!1,noWrap:h=!1,paragraph:f=!1,variant:m="body1",variantMapping:g=fd}=o,v=a(o,pd),y=s({},o,{align:i,color:r,className:l,component:d,gutterBottom:p,noWrap:h,paragraph:f,variant:m,variantMapping:g}),b=d||(f?"p":g[m]||fd[m])||"span",x=(e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:i,classes:a}=e;return u({root:["root",i,"inherit"!==e.align&&`align${ur(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]},dd,a)})(y);return(0,vr.jsx)(hd,s({as:b,ref:t,ownerState:y,className:c(x.root,l)},v))}));var vd=gd;const yd=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],bd=tr("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${id.primary}`]:t.primary},{[`& .${id.secondary}`]:t.secondary},t.root,n.inset&&t.inset,n.primary&&n.secondary&&t.multiline,n.dense&&t.dense]}})((({ownerState:e})=>s({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},e.primary&&e.secondary&&{marginTop:6,marginBottom:6},e.inset&&{paddingLeft:56})));var xd=o.forwardRef((function(e,t){const n=cr({props:e,name:"MuiListItemText"}),{children:r,className:i,disableTypography:l=!1,inset:d=!1,primary:p,primaryTypographyProps:h,secondary:f,secondaryTypographyProps:m}=n,g=a(n,yd),{dense:v}=o.useContext(Pc);let y=null!=p?p:r,b=f;const x=s({},n,{disableTypography:l,inset:d,primary:!!y,secondary:!!b,dense:v}),k=(e=>{const{classes:t,inset:n,primary:r,secondary:o,dense:i}=e;return u({root:["root",n&&"inset",i&&"dense",r&&o&&"multiline"],primary:["primary"],secondary:["secondary"]},od,t)})(x);return null==y||y.type===vd||l||(y=(0,vr.jsx)(vd,s({variant:v?"body2":"body1",className:k.primary,component:null!=h&&h.variant?void 0:"span",display:"block"},h,{children:y}))),null==b||b.type===vd||l||(b=(0,vr.jsx)(vd,s({variant:"body2",className:k.secondary,color:"text.secondary",display:"block"},m,{children:b}))),(0,vr.jsxs)(bd,s({className:c(k.root,i),ownerState:x,ref:t},g,{children:[y,b]}))})),kd=n(58661),wd=n(99601);var Ed=o.createContext(null);function Md(){return o.useContext(Ed)}function Sd(){return Sd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Sd.apply(this,arguments)}var Cd="function"===typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";var Od=function(e){const{children:t,theme:n}=e,r=Md(),i=o.useMemo((()=>{const e=null===r?n:function(e,t){if("function"===typeof t)return t(e);return Sd({},e,t)}(r,n);return null!=e&&(e[Cd]=null!==r),e}),[n,r]);return(0,vr.jsx)(Ed.Provider,{value:i,children:t})};const Td={};function Ad(e,t,n,r=!1){return o.useMemo((()=>{const o=e&&t[e]||t;if("function"===typeof n){const i=n(o),a=e?s({},t,{[e]:i}):i;return r?()=>a:a}return s({},t,e?{[e]:n}:n)}),[e,t,n,r])}var Rd=function(e){const{children:t,theme:n,themeId:r}=e,o=nr(Td),i=Md()||Td,a=Ad(r,o,n),s=Ad(r,i,n,!0);return(0,vr.jsx)(Od,{theme:s,children:(0,vr.jsx)(We.Provider,{value:a,children:t})})};const zd=["theme"];function Ld(e){let{theme:t}=e,n=a(e,zd);const r=t.$$material;return(0,vr.jsx)(Rd,s({},n,{themeId:r?Jn:void 0,theme:r||t}))}var _d=n(44573),Hd=n(31026);var Nd=kn();const Pd=["component","direction","spacing","divider","children","className","useFlexGap"],Id=ln(),Dd=Nd("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function $d(e){return lr({props:e,name:"MuiStack",defaultTheme:Id})}
74function Vd(e,t){const n=o.Children.toArray(e).filter(Boolean);return n.reduce(((e,r,i)=>(e.push(r),i<n.length-1&&e.push(o.cloneElement(t,{key:`separator-${i}`})),e)),[])}const jd=({ownerState:e,theme:t})=>{let n=s({display:"flex",flexDirection:"column"},ct({theme:t},pt({values:e.direction,breakpoints:t.breakpoints.values}),(e=>({flexDirection:e}))));if(e.spacing){const r=Ct(t),o=Object.keys(t.breakpoints.values).reduce(((t,n)=>(("object"===typeof e.spacing&&null!=e.spacing[n]||"object"===typeof e.direction&&null!=e.direction[n])&&(t[n]=!0),t)),{}),i=pt({values:e.direction,base:o}),a=pt({values:e.spacing,base:o});"object"===typeof i&&Object.keys(i).forEach(((e,t,n)=>{if(!i[e]){const r=t>0?i[n[t-1]]:"column";i[e]=r}}));n=rt(n,ct({theme:t},a,((t,n)=>{return e.useFlexGap?{gap:Ot(r,t)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${o=n?i[n]:e.direction,{row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"}[o]}`]:Ot(r,t)}};var o})))}return n=function(e,...t){const n=ut(e),r=[n,...t].reduce(((e,t)=>rt(e,t)),{});return dt(Object.keys(n),r)}(t.breakpoints,n),n};const Bd=function(e={}){const{createStyledComponent:t=Dd,useThemeProps:n=$d,componentName:r="MuiStack"}=e,i=t(jd),l=o.forwardRef((function(e,t){const o=Fi(n(e)),{component:l="div",direction:d="column",spacing:p=0,divider:h,children:f,className:m,useFlexGap:g=!1}=o,v=a(o,Pd),y={direction:d,spacing:p,useFlexGap:g},b=u({root:["root"]},(e=>Go(r,e)),{});return(0,vr.jsx)(i,s({as:l,ownerState:y,ref:t,className:c(b.root,m)},v,{children:h?Vd(f,h):f}))}));return l}({createStyledComponent:tr("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>cr({props:e,name:"MuiStack"})});var Fd=Bd;const Wd=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],Ud=tr("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,"vertical"===n.orientation&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&"vertical"===n.orientation&&t.withChildrenVertical,"right"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignRight,"left"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignLeft]}})((({theme:e,ownerState:t})=>s({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin"},t.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},t.light&&{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:b(e.palette.divider,.08)},"inset"===t.variant&&{marginLeft:72},"middle"===t.variant&&"horizontal"===t.orientation&&{marginLeft:e.spacing(2),marginRight:e.spacing(2)},"middle"===t.variant&&"vertical"===t.orientation&&{marginTop:e.spacing(1),marginBottom:e.spacing(1)},"vertical"===t.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},t.flexItem&&{alignSelf:"stretch",height:"auto"})),(({ownerState:e})=>s({},e.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{content:'""',alignSelf:"center"}})),(({theme:e,ownerState:t})=>s({},t.children&&"vertical"!==t.orientation&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`}})),(({theme:e,ownerState:t})=>s({},t.children&&"vertical"===t.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`}})),(({ownerState:e})=>s({},"right"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}}))),Kd=tr("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,"vertical"===n.orientation&&t.wrapperVertical]}})((({theme:e,ownerState:t})=>s({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`},"vertical"===t.orientation&&{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`}))),Gd=o.forwardRef((function(e,t){const n=cr({props:e,name:"MuiDivider"}
74),{absolute:r=!1,children:o,className:i,component:l=(o?"div":"hr"),flexItem:d=!1,light:p=!1,orientation:h="horizontal",role:f=("hr"!==l?"separator":void 0),textAlign:m="center",variant:g="fullWidth"}=n,v=a(n,Wd),y=s({},n,{absolute:r,component:l,flexItem:d,light:p,orientation:h,role:f,textAlign:m,variant:g}),b=(e=>{const{absolute:t,children:n,classes:r,flexItem:o,light:i,orientation:a,textAlign:s,variant:l}=e;return u({root:["root",t&&"absolute",l,i&&"light","vertical"===a&&"vertical",o&&"flexItem",n&&"withChildren",n&&"vertical"===a&&"withChildrenVertical","right"===s&&"vertical"!==a&&"textAlignRight","left"===s&&"vertical"!==a&&"textAlignLeft"],wrapper:["wrapper","vertical"===a&&"wrapperVertical"]},nd,r)})(y);return(0,vr.jsx)(Ud,s({as:l,className:c(b.root,i),role:f,ref:t,ownerState:y},v,{children:o?(0,vr.jsx)(Kd,{className:b.wrapper,ownerState:y,children:o}):null}))}));Gd.muiSkipListHighlight=!0;var qd=Gd;function Xd(e,t){return(0,Ha.mf)(e)?e(t):e}function Yd(e,t){var n,r;return(0,Ha.HD)(e)?e:(0,Ha.kJ)(e)?(r=e,(0,Ha.HD)(r[0])?e[0]??"":(null==(n=e.find((e=>(0,Ha.Xy)(e.attrs,t)))??e[0])?void 0:n.shortcut)??""):e.shortcut}var Zd={title:e=>(0,Ha.kC)(e),upper:e=>e.toLocaleUpperCase(),lower:e=>e.toLocaleLowerCase()};var Qd=({commandName:e,active:t,enabled:n,attrs:r})=>{const{t:i}=(0,Na.QT)(),{getCommandOptions:a}=(0,Na.z8)(),s=a(e),{description:l,label:c,icon:u,shortcut:d}=s||{},p=(0,o.useMemo)((()=>({active:t,attrs:r,enabled:n,t:i})),[t,r,n,i]),h=(0,o.useMemo)((()=>{if(d)return function(e,t){const{casing:n="title",namedAsSymbol:r=!1,modifierAsSymbol:o=!0,separator:i=" ",t:a}=t,s=(0,Pa.Jv)(e),l=[],c=Zd[n];for(const u of s){if("char"===u.type){l.push(c(u.key));continue}if("named"===u.type){const e=!0===r||(0,Ha.kJ)(r)&&(0,Ha.q9)(r,u.key)?u.symbol??a(u.i18n):a(u.i18n);l.push(c(e));continue}const e=!0===o||(0,Ha.kJ)(o)&&(0,Ha.q9)(o,u.key)?u.symbol:a(u.i18n);l.push(c(e))}return l.join(i)}(Yd(d,r??{}),{t:i,separator:""})}),[d,r,i]);return(0,o.useMemo)((()=>({description:Xd(l,p),label:Xd(c,p),icon:Xd(u,p),shortcut:h})),[p,l,c,u,h])},Jd=(0,o.createContext)({color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0});Jd.Provider;function ep(e){return e.map(((e,t)=>(0,o.createElement)(e.tag,{key:t,...e.attr},ep(e.child??[]))))}var tp=e=>{const{name:t}=e;return o.createElement(np,{...e},ep(r[t]))},np=e=>{const t=t=>{const n=e.size??t.size??"1em";let r;t.className&&(r=t.className),e.className&&(r=(r?`${r} `:"")+e.className);const{title:i,...a}=e;return o.createElement("svg",{stroke:"currentColor",fill:"currentColor",strokeWidth:"0",...t.attr,...a,className:r,style:{color:e.color??t.color,...t.style,...e.style},height:n,width:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i&&o.createElement("title",null,i),e.children)};return o.createElement(Jd.Consumer,null,t)},rp=({icon:e})=>(0,Ha.HD)(e)?o.createElement(tp,{name:e,size:"1rem"}):e,op=({icon:e,children:t})=>{if(n=e,!(0,Ha.PO)(n)||!n.name)return o.createElement(o.Fragment,null,t);var n;const{sub:r,sup:i}=e,a=r??i,s=void 0!==r;return void 0===a?o.createElement(o.Fragment,null,t):o.createElement(Wa,{anchorOrigin:{vertical:s?"bottom":"top",horizontal:"right"},badgeContent:a,sx:{"& > .MuiBadge-badge":{bgcolor:"background.paper",color:"text.secondary",minWidth:12,height:12,margin:"2px 0",padding:"1px"}}},t)},ip=({commandName:e,active:t=!1,enabled:n,attrs:r,onSelect:i,onChange:a,icon:s,displayShortcut:l=!0,"aria-label":c,label:u,...d})=>{const p=(0,o.useCallback)(((e,t)=>{i(),null==a||a(e,t)}),[i,a]),h=(0,o.useCallback)((e=>{e.preventDefault()}),[]),f=Qd({commandName:e,active:t,enabled:n,attrs:r});let m=null;f.icon&&(m=(0,Ha.HD)(f.icon)?f.icon:f.icon.name);const g=c??f.label??"",v=u??g,y=l&&f.shortcut?` (${f.shortcut})`:"";return o.createElement(ji,{title:`${v}${y}`},o.createElement(Gi,{component:"span",sx:{"&:not(:first-of-type)":{marginLeft:"-1px"}}},o.createElement(_a,{"aria-label":g,selected:t,disabled:!n,onMouseDown:h,color:"primary",size:"small",sx:{padding:"6px 12px","&.Mui-selected":{backgroundColor:"primary.main",color:"primary.contrastText"},"&.Mui-selected:hover":{backgroundColor:"primary.dark",color:"primary.contrastText"},"&:not(:first-of-type)":{borderLeft:"1px solid transparent",borderTopLeftRadius:0,borderBottomLeftRadius:0},"&:not(:last-of-type)":{borderTopRightRadius:0,borderBottomRightRadius:0}}
74,...d,value:e,onChange:p},o.createElement(op,{icon:f.icon},o.createElement(rp,{icon:s??m})))))},ap=({icon:e})=>(0,Ha.HD)(e)?o.createElement(tp,{name:e,size:"1rem"}):e,sp=({label:e,"aria-label":t,icon:n,children:r,onClose:i,...a})=>{const s=(0,o.useRef)((0,Ha.EL)()),[l,c]=(0,o.useState)(null),u=Boolean(l),d=(0,o.useCallback)((e=>{e.preventDefault()}),[]),p=(0,o.useCallback)((e=>{c(e.currentTarget)}),[]),h=(0,o.useCallback)(((e,t)=>{c(null),null==i||i(e,t)}),[i]);return o.createElement(o.Fragment,null,o.createElement(ji,{title:e??t},o.createElement(Hc,{"aria-label":t,"aria-controls":u?s.current:void 0,"aria-haspopup":!0,"aria-expanded":u?"true":void 0,onMouseDown:d,onClick:p,size:"small",sx:e=>({border:`1px solid ${e.palette.divider}`,borderRadius:`${e.shape.borderRadius}px`,padding:"6px 12px","&:not(:first-of-type)":{marginLeft:"-1px",borderLeft:"1px solid transparent",borderTopLeftRadius:0,borderBottomLeftRadius:0},"&:not(:last-of-type)":{borderTopRightRadius:0,borderBottomRightRadius:0}})},n&&o.createElement(ap,{icon:n}),o.createElement(tp,{name:"arrowDownSFill",size:"1rem"}))),o.createElement(Yu,{...a,id:s.current,anchorEl:l,open:u,onClose:h},r))},lp=e=>{const{redo:t}=(0,Na.xd)(),{redoDepth:n}=(0,Na.z8)(!0),r=(0,o.useCallback)((()=>{t.enabled()&&t()}),[t]),i=n()>0;return o.createElement(ip,{...e,commandName:"redo",active:!1,enabled:i,onSelect:r})},cp=e=>{const{toggleBlockquote:t}=(0,Na.xd)(),n=(0,o.useCallback)((()=>{t.enabled()&&t()}),[t]),r=(0,Na.tZ)().blockquote(),i=t.enabled();return o.createElement(ip,{...e,commandName:"toggleBlockquote",active:r,enabled:i,onSelect:n})},up=e=>{const{toggleBold:t}=(0,Na.xd)(),n=(0,o.useCallback)((()=>{t.enabled()&&t()}),[t]),r=(0,Na.tZ)().bold(),i=t.enabled();return o.createElement(ip,{...e,commandName:"toggleBold",active:r,enabled:i,onSelect:n})},dp=e=>{const{toggleBulletList:t}=(0,Na.xd)(),n=(0,o.useCallback)((()=>{t.enabled()&&t()}),[t]),r=(0,Na.tZ)().bulletList(),i=t.enabled();return o.createElement(ip,{...e,commandName:"toggleBulletList",active:r,enabled:i,onSelect:n})},pp=({attrs:e={},...t})=>{const{toggleCodeBlock:n}=(0,Na.xd)(),r=(0,o.useCallback)((()=>{n.enabled(e)&&n(e)}),[n,e]),i=(0,Na.tZ)().codeBlock(),a=n.enabled(e);return o.createElement(ip,{...t,commandName:"toggleCodeBlock",active:i,enabled:a,attrs:e,onSelect:r})},hp=e=>{const{toggleCode:t}=(0,Na.xd)(),n=(0,o.useCallback)((()=>{t.enabled()&&t()}),[t]),r=(0,Na.tZ)().code(),i=t.enabled();return o.createElement(ip,{...e,commandName:"toggleCode",active:r,enabled:i,onSelect:n})},fp=({attrs:e,...t})=>{const{toggleHeading:n}=(0,Na.xd)(),r=(0,o.useCallback)((()=>{n.enabled(e)&&n(e)}),[n,e]),i=(0,Na.tZ)().heading(e),a=n.enabled(e);return o.createElement(ip,{...t,commandName:"toggleHeading",active:i,enabled:a,attrs:e,onSelect:r})},mp=e=>{const{toggleItalic:t}=(0,Na.xd)(),n=(0,o.useCallback)((()=>{t.enabled()&&t()}),[t]),r=(0,Na.tZ)().italic(),i=t.enabled();return o.createElement(ip,{...e,commandName:"toggleItalic",active:r,enabled:i,onSelect:n})},gp=e=>{const{toggleOrderedList:t}=(0,Na.xd)(),n=(0,o.useCallback)((()=>{t.enabled()&&t()}),[t]),r=(0,Na.tZ)().orderedList(),i=t.enabled();return o.createElement(ip,{...e,commandName:"toggleOrderedList",active:r,enabled:i,onSelect:n})},vp=e=>{const{toggleTaskList:t}=(0,Na.xd)(),n=(0,o.useCallback)((()=>{t.enabled()&&t()}),[t]),r=(0,Na.tZ)().taskList(),i=t.enabled();return o.createElement(ip,{...e,commandName:"toggleTaskList",active:r,enabled:i,onSelect:n})},yp=e=>{const{toggleUnderline:t}=(0,Na.xd)(),n=(0,o.useCallback)((()=>{t.enabled()&&t()}),[t]),r=(0,Na.tZ)().underline(),i=t.enabled();return o.createElement(ip,{...e,commandName:"toggleUnderline",active:r,enabled:i,onSelect:n})},bp=e=>{const{undo:t}=(0,Na.xd)(),{undoDepth:n}=(0,Na.z8)(!0),r=(0,o.useCallback)((()=>{t.enabled()&&t()}),[t]),i=n()>0;return o.createElement(ip,{...e,commandName:"undo",active:!1,enabled:i,onSelect:r})},xp=e=>o.createElement(Gi,{sx:{display:"flex",alignItems:"center",width:"fit-content",bgcolor:"background.paper",color:"text.secondary"},...e}),kp=({children:e})=>o.createElement(xp,null,o.createElement(up,null),o.createElement(mp,null),o.createElement(yp,null),e),wp=({icon:e})=>e?o.createElement(td,null,(0,Ha.HD)(e)?o.createElement(tp,{name:e,size:"1rem"}):o.createElement(o.Fragment,null,e)):null,Ep=({commandName:e,active:t=!1,enabled:n,attrs:r,onSelect:i,onClick:a,icon:s,displayShortcut:l=!0,label:c,description:u,displayDescription:d=!0,...p})=>{const h=(0,o.useCallback)((e=>{i(),null==a||a(e)}),[i,a]),f=(0,o.useCallback)((e=>{e.preventDefault()}),[]),m=Qd({commandName:e,active:t,enabled:n,attrs:r});let g=null;m.icon&&(g=(0,Ha.HD)(m.icon)?m.icon:m.icon.name);const v=c??m.label??"",y=d&&(u??m.description);return o.createElement(ud,{selected:t,disabled:!n,onMouseDown:f,...p,onClick:h},null!==s&&o.createElement(wp,{icon:s??g}),o.createElement(xd,{primary:v,secondary:y}),l&&m.shortcut&&o.createElement(vd,{variant:"body2",color:"text.secondary",sx:{ml:2}},m.shortcut))},Mp=({attrs:e,...t})=>{const{toggleHeading:n}=(0,Na.xd)(),r=(0,o.useCallback)((()=>{n.enabled(e)&&n(e)}),[n,e]),i=(0,Na.tZ)().heading(e),a=n.enabled(e);return o.createElement(Ep,{...t,commandName:"toggleHeading",active:i,enabled:a,attrs:e,onSelect:r})},Sp={level:1},Cp={level:2},Op={level:3},Tp={level:4},Ap={level:5},Rp={level:6},zp=({showAll:e=!1,children:t})=>o.createElement(xp,null,o.createElement(fp,{attrs:Sp}),o.createElement(fp,{attrs:Cp}),e?o.createElement(sp,{"aria-label":"More heading options"},o.createElement(Mp,{attrs:Op}),o.createElement(Mp,{attrs:Tp}),o.createElement(Mp,{attrs:Ap}),o.createElement(Mp,{attrs:Rp})):o.createElement(fp,{attrs:Op}),t),Lp=({children:e})=>o.createElement(xp,null,o.createElement(bp,null),o.createElement(lp,null),e),_p=({children:e,extension:t})=>(0,Na.Lo)(t)?o.createElement(o.Fragment,null,e):null,Hp=({children:e})=>o.createElement(xp,null,o.createElement(dp,null),o.createElement(gp,null),o.createElement(_p,{extension:kd.JQ},o.createElement(vp,null)),e);"object"===typeof wd&&wd.__esModule&&wd.default&&wd.default;var Np=(0,o.createContext)({});var Pp=e=>{var t,n,r,i,a,s,l,c;const{children:u,as:d="div"}=e,{theme:p,style:h,className:f}=function(e={}){const t=(0,o.useContext)(Np),n=(0,o.useMemo)((()=>(0,Ha.RH)(t,e.theme??{})),[t,e.theme]),r=(0,o.useMemo)((()=>(0,Hd.Ie)(n).styles),[n]),i=(0,_d.cx)(Hd.C6,e.className);return(0,o.useMemo)((()=>({style:r,className:i,theme:n})),[r,i,n])}({theme:e.theme??Hd.U9}),m=Zn({palette:{primary:{main:(null==(t=p.color)?void 0:t.primary)??Hd.U9.color.primary,dark:(null==(r=null==(n=p.color)?void 0:n.hover)?void 0:r.primary)??Hd.U9.color.hover.primary,contrastText:(null==(i=p.color)?void 0:i.primaryText)??Hd.U9.color.primaryText},secondary:{main:(null==(a=p.color)?void 0:a.secondary)??Hd.U9.color.secondary,dark:(null==(l=null==(s=p.color)?void 0:s.hover)?void 0:l.secondary)??Hd.U9.color.hover.secondary,contrastText:(null==(c=p.color)?void 0:c.secondaryText)??Hd.U9.color.secondaryText}}});return o.createElement(Ld,{theme:m},o.createElement(Np.Provider,{value:p},o.createElement(d,{style:h,className:f},u)))},Ip=e=>o.createElement(Fd,{direction:"row",spacing:1,sx:{backgroundColor:"background.paper",overflowX:"auto"},...e}),Dp=e=>o.createElement(qd,{flexItem:!0,sx:{mx:.5},...e,orientation:"vertical"})}
74,16517:function(e,t,n){"use strict";n.d(t,{PG:function(){return ki},O1:function(){return Ei},tZ:function(){return ai},xd:function(){return si},Lo:function(){return li},z8:function(){return ci},QT:function(){return hi},iF:function(){return xi},rj:function(){return ii}});var r={};n.r(r),n.d(r,{_in:function(){return _},af:function(){return H},ak:function(){return N},am:function(){return P},an:function(){return I},ar:function(){return D},ars:function(){return $},as:function(){return V},asa:function(){return j},ast:function(){return B},az:function(){return F},be:function(){return W},bem:function(){return U},bez:function(){return K},bg:function(){return G},bho:function(){return q},bm:function(){return X},bn:function(){return Y},bo:function(){return Z},br:function(){return Q},brx:function(){return J},bs:function(){return ee},ca:function(){return te},ce:function(){return ne},ceb:function(){return re},cgg:function(){return oe},chr:function(){return ie},ckb:function(){return ae},cs:function(){return se},cy:function(){return le},da:function(){return ce},de:function(){return ue},dsb:function(){return de},dv:function(){return pe},dz:function(){return he},ee:function(){return fe},el:function(){return me},en:function(){return ge},eo:function(){return ve},es:function(){return ye},et:function(){return be},eu:function(){return xe},fa:function(){return ke},ff:function(){return we},fi:function(){return Ee},fil:function(){return Me},fo:function(){return Se},fr:function(){return Ce},fur:function(){return Oe},fy:function(){return Te},ga:function(){return Ae},gd:function(){return Re},gl:function(){return ze},gsw:function(){return Le},gu:function(){return _e},guw:function(){return He},gv:function(){return Ne},ha:function(){return Pe},haw:function(){return Ie},he:function(){return De},hi:function(){return $e},hr:function(){return Ve},hsb:function(){return je},hu:function(){return Be},hy:function(){return Fe},ia:function(){return We},id:function(){return Ue},ig:function(){return Ke},ii:function(){return Ge},io:function(){return qe},is:function(){return Xe},it:function(){return Ye},iu:function(){return Ze},iw:function(){return Qe},ja:function(){return Je},jbo:function(){return et},jgo:function(){return tt},ji:function(){return nt},jmc:function(){return rt},jv:function(){return ot},jw:function(){return it},ka:function(){return at},kab:function(){return st},kaj:function(){return lt},kcg:function(){return ct},kde:function(){return ut},kea:function(){return dt},kk:function(){return pt},kkj:function(){return ht},kl:function(){return ft},km:function(){return mt},kn:function(){return gt},ko:function(){return vt},ks:function(){return yt},ksb:function(){return bt},ksh:function(){return xt},ku:function(){return kt},kw:function(){return wt},ky:function(){return Et},lag:function(){return Mt},lb:function(){return St},lg:function(){return Ct},lkt:function(){return Ot},ln:function(){return Tt},lo:function(){return At},lt:function(){return Rt},lv:function(){return zt},mas:function(){return Lt},mg:function(){return _t},mgo:function(){return Ht},mk:function(){return Nt},ml:function(){return Pt},mn:function(){return It},mo:function(){return Dt},mr:function(){return $t},ms:function(){return Vt},mt:function(){return jt},my:function(){return Bt},nah:function(){return Ft},naq:function(){return Wt},nb:function(){return Ut},nd:function(){return Kt},ne:function(){return Gt},nl:function(){return qt},nn:function(){return Xt},nnh:function(){return Yt},no:function(){return Zt},nqo:function(){return Qt},nr:function(){return Jt},nso:function(){return en},ny:function(){return tn},nyn:function(){return nn},om:function(){return rn},or:function(){return on},os:function(){return an},osa:function(){return sn},pa:function(){return ln},pap:function(){return cn},pl:function(){return un},prg:function(){return dn},ps:function(){return pn},pt:function(){return hn},pt_PT:function(){return fn},rm:function(){return mn},ro:function(){return gn},rof:function(){return vn},root:function(){return yn},ru:function(){return bn},rwk:function(){return xn},sah:function(){return kn},saq:function(){return wn},sc:function(){return En},scn:function(){return Mn},sd:function(){return Sn},sdh:function(){return Cn},se:function(){return On},seh:function(){return Tn},ses:function(){return An},sg:function(){return Rn},sh:function(){return zn},shi:function(){return Ln},si:function(){return _n},sk:function(){return Hn},sl:function(){return Nn},sma:function(){return Pn},smi:function(){return In},smj:function(){return Dn},smn:function(){return $n},sms:function(){return Vn},sn:function(){return jn},so:function(){return Bn},sq:function(){return Fn},sr:function(){return Wn},ss:function(){return Un},ssy:function(){return Kn},st:function(){return Gn},su:function(){return qn},sv:function(){return Xn},sw:function(){return Yn},syr:function(){return Zn},ta:function(){return Qn},te:function(){return Jn},teo:function(){return er},th:function(){return tr},ti:function(){return nr},tig:function(){return rr},tk:function(){return or},tl:function(){return ir},tn:function(){return ar},to:function(){return sr},tr:function(){return lr},ts:function(){return cr},tzm:function(){return ur},ug:function(){return dr},uk:function(){return pr},ur:function(){return hr},uz:function(){return fr},ve:function(){return mr},vi:function(){return gr},vo:function(){return vr},vun:function(){return yr},wa:function(){return br},wae:function(){return xr},wo:function(){return kr},xh:function(){return wr},xog:function(){return Er},yi:function(){return Mr},yo:function(){return Sr},yue:function(){return Cr},zh:function(){return Or},zu:function(){return Tr}});var o=n(67294),i=n(57555),a=n(378);function s(e){const t=(0,o.createContext)(null),n=function(e){return(t,n)=>{const r=(0,o.useContext)(e),i=function(e){const t=(0,o.useRef)();return l((()=>{t.current=e})),t.current}(r);if(!r)throw new Error("`useContextHook` must be placed inside the `Provider` returned by the `createContextState` method");if(!t)return r;if("function"!==typeof t)throw new TypeError("invalid arguments passed to `useContextHook`. This hook must be called with zero arguments, a getter function or a path string.");const a=t(r);if(!i||!n)return a;const s=t(i);return n(s,a)?s:a}}(t);return[n=>{const r=e(n);return o.createElement(t.Provider,{value:r},n.children)},n,t]}var l="undefined"!==typeof document?o.useLayoutEffect:o.useEffect;function c(e){return t=>{if(!e.current)throw new Error("`get` called outside of function scope. `get` can only be called within a function.");
74if(!t)return e.current;if("function"!==typeof t)throw new TypeError("Invalid arguments passed to `useContextHook`. The hook must be called with zero arguments, a getter function or a path string.");return t(e.current)}}function u(e){return t=>{if(!e.current)throw new Error("`set` called outside of function scope. `set` can only be called within a function.");e.current((e=>({...e,..."function"===typeof t?t(e):t})))}}var d=n(93012);const p=e=>"string"===typeof e,h=new Map;function f(e){return[...Array.isArray(e)?e:[e],"en"]}function m(e,t,n){const r=f(e);return y((()=>b("date",r,n)),(()=>new Intl.DateTimeFormat(r,n))).format(p(t)?new Date(t):t)}function g(e,t,n){const r=f(e);return y((()=>b("number",r,n)),(()=>new Intl.NumberFormat(r,n))).format(t)}function v(e,t,n,{offset:r=0,...o}){const i=f(e),a=t?y((()=>b("plural-ordinal",i)),(()=>new Intl.PluralRules(i,{type:"ordinal"}))):y((()=>b("plural-cardinal",i)),(()=>new Intl.PluralRules(i,{type:"cardinal"})));return o[n]??o[a.select(n-r)]??o.other}function y(e,t){const n=e();let r=h.get(n);return r||(r=t(),h.set(n,r)),r}function b(e,t,n){return`${e}-${t.join("-")}-${JSON.stringify(n)}`}const x=/\\u[a-fA-F0-9]{4}|\\x[a-fA-F0-9]{2}/g;function k(e,t,n){return(r,o={})=>{const i=((e,t,n={})=>{t=t||e;const r=e=>p(e)?n[e]||{style:e}:e,o=(e,o)=>{const i=Object.keys(n).length?r("number"):{},a=g(t,e,i);return o.replace("#",a)};return{plural:(e,n)=>{const{offset:r=0}=n,i=v(t,!1,e,n);return o(e-r,i)},selectordinal:(e,n)=>{const{offset:r=0}=n,i=v(t,!0,e,n);return o(e-r,i)},select:(e,t)=>t[e]??t.other,number:(e,n)=>g(t,e,r(n)),date:(e,n)=>m(t,e,r(n)),undefined:e=>e}})(t,n,o),a=e=>Array.isArray(e)?e.reduce(((e,t)=>{if(p(t))return e+t;const[n,o,s]=t;let l={};null==s||p(s)?l=s:Object.keys(s).forEach((e=>{l[e]=a(s[e])}));const c=i[o](r[n],l);return null==c?e:e+c}),""):e,s=a(e);return p(s)&&x.test(s)?d(s.trim()):p(s)?s.trim():s}}var w=Object.defineProperty,E=(e,t,n)=>(((e,t,n)=>{t in e?w(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!==typeof t?t+"":t,n),n);var M=Object.defineProperty,S=(e,t,n)=>(((e,t,n)=>{t in e?M(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!==typeof t?t+"":t,n),n);class C extends class{constructor(){E(this,"_events",{})}on(e,t){return this._hasEvent(e)||(this._events[e]=[]),this._events[e].push(t),()=>this.removeListener(e,t)}removeListener(e,t){if(!this._hasEvent(e))return;const n=this._events[e].indexOf(t);~n&&this._events[e].splice(n,1)}emit(e,...t){this._hasEvent(e)&&this._events[e].map((e=>e.apply(this,t)))}_hasEvent(e){return Array.isArray(this._events[e])}}{constructor(e){super(),S(this,"_locale"),S(this,"_locales"),S(this,"_localeData"),S(this,"_messages"),S(this,"_missing"),S(this,"t",this._.bind(this)),this._messages={},this._localeData={},null!=e.missing&&(this._missing=e.missing),null!=e.messages&&this.load(e.messages),null!=e.localeData&&this.loadLocaleData(e.localeData),null==e.locale&&null==e.locales||this.activate(e.locale,e.locales)}get locale(){return this._locale}get locales(){return this._locales}get messages(){return this._messages[this._locale]??{}}get localeData(){return this._localeData[this._locale]??{}}_loadLocaleData(e,t){null==this._localeData[e]?this._localeData[e]=t:Object.assign(this._localeData[e],t)}loadLocaleData(e,t){null!=t?this._loadLocaleData(e,t):Object.keys(e).forEach((t=>this._loadLocaleData(t,e[t]))),this.emit("change")}_load(e,t){null==this._messages[e]?this._messages[e]=t:Object.assign(this._messages[e],t)}load(e,t){null!=t?this._load(e,t):Object.keys(e).forEach((t=>this._load(t,e[t]))),this.emit("change")}loadAndActivate({locale:e,locales:t,messages:n}){this._locale=e,this._locales=t||void 0,this._messages[this._locale]=n,this.emit("change")}activate(e,t){this._locale=e,this._locales=t,this.emit("change")}_(e,t={},{message:n,formats:r}={}){p(e)||(t=e.values||t,n=e.message,e=e.id);const o=!this.messages[e],i=this._missing;if(i&&o)return"function"===typeof i?i(this._locale,e):i;o&&this.emit("missing",{id:e,locale:this._locale});let a=this.messages[e]||n||e;return p(a)&&x.test(a)?JSON.parse(`"${a}"`):p(a)?a:k(a,this._locale,this._locales)(t,r)}date(e,t){return m(this._locales||this._locale,e,t)}number(e,t){return g(this._locales||this._locale,e,t)}}const O=function(e={}){return new C(e)}();function T(e,t){return t?"other":1==e?"one":"other"}function A(e,t){return t?"other":0==e||1==e?"one":"other"}function R(e,t){var n=!String(e).split(".")[1];return t?"other":1==e&&n?"one":"other"}function z(e,t){return"other"}function L(e,t){return t?"other":1==e?"one":2==e?"two":"other"}const _=z,H=T,N=A;function P(e,t){return t?"other":e>=0&&e<=1?"one":"other"}const I=T;function D(e,t){var n=String(e).split("."),r=Number(n[0])==e&&n[0].slice(-2);return t?"other":0==e?"zero":1==e?"one":2==e?"two":r>=3&&r<=10?"few":r>=11&&r<=99?"many":"other"}function $(e,t){var n=String(e).split("."),r=Number(n[0])==e&&n[0].slice(-2);return t?"other":0==e?"zero":1==e?"one":2==e?"two":r>=3&&r<=10?"few":r>=11&&r<=99?"many":"other"}function V(e,t){return t?1==e||5==e||7==e||8==e||9==e||10==e?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":e>=0&&e<=1?"one":"other"}const j=T,B=R;function F(e,t){var n=String(e).split(".")[0],r=n.slice(-1),o=n.slice(-2),i=n.slice(-3);return t?1==r||2==r||5==r||7==r||8==r||20==o||50==o||70==o||80==o?"one":3==r||4==r||100==i||200==i||300==i||400==i||500==i||600==i||700==i||800==i||900==i?"few":0==n||6==r||40==o||
7460==o||90==o?"many":"other":1==e?"one":"other"}function W(e,t){var n=String(e).split("."),r=Number(n[0])==e,o=r&&n[0].slice(-1),i=r&&n[0].slice(-2);return t?2!=o&&3!=o||12==i||13==i?"other":"few":1==o&&11!=i?"one":o>=2&&o<=4&&(i<12||i>14)?"few":r&&0==o||o>=5&&o<=9||i>=11&&i<=14?"many":"other"}const U=T,K=T,G=T,q=A,X=z;function Y(e,t){return t?1==e||5==e||7==e||8==e||9==e||10==e?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":e>=0&&e<=1?"one":"other"}const Z=z;function Q(e,t){var n=String(e).split("."),r=Number(n[0])==e,o=r&&n[0].slice(-1),i=r&&n[0].slice(-2),a=r&&n[0].slice(-6);return t?"other":1==o&&11!=i&&71!=i&&91!=i?"one":2==o&&12!=i&&72!=i&&92!=i?"two":(3==o||4==o||9==o)&&(i<10||i>19)&&(i<70||i>79)&&(i<90||i>99)?"few":0!=e&&r&&0==a?"many":"other"}const J=T;function ee(e,t){var n=String(e).split("."),r=n[0],o=n[1]||"",i=!n[1],a=r.slice(-1),s=r.slice(-2),l=o.slice(-1),c=o.slice(-2);return t?"other":i&&1==a&&11!=s||1==l&&11!=c?"one":i&&a>=2&&a<=4&&(s<12||s>14)||l>=2&&l<=4&&(c<12||c>14)?"few":"other"}function te(e,t){var n=!String(e).split(".")[1];return t?1==e||3==e?"one":2==e?"two":4==e?"few":"other":1==e&&n?"one":"other"}const ne=T;function re(e,t){var n=String(e).split("."),r=n[0],o=n[1]||"",i=!n[1],a=r.slice(-1),s=o.slice(-1);return t?"other":i&&(1==r||2==r||3==r)||i&&4!=a&&6!=a&&9!=a||!i&&4!=s&&6!=s&&9!=s?"one":"other"}const oe=T,ie=T,ae=T;function se(e,t){var n=String(e).split("."),r=n[0],o=!n[1];return t?"other":1==e&&o?"one":r>=2&&r<=4&&o?"few":o?"other":"many"}function le(e,t){return t?0==e||7==e||8==e||9==e?"zero":1==e?"one":2==e?"two":3==e||4==e?"few":5==e||6==e?"many":"other":0==e?"zero":1==e?"one":2==e?"two":3==e?"few":6==e?"many":"other"}function ce(e,t){var n=String(e).split("."),r=n[0],o=Number(n[0])==e;return t||1!=e&&(o||0!=r&&1!=r)?"other":"one"}const ue=R;function de(e,t){var n=String(e).split("."),r=n[0],o=n[1]||"",i=!n[1],a=r.slice(-2),s=o.slice(-2);return t?"other":i&&1==a||1==s?"one":i&&2==a||2==s?"two":i&&(3==a||4==a)||3==s||4==s?"few":"other"}const pe=T,he=z,fe=T,me=T;function ge(e,t){var n=String(e).split("."),r=!n[1],o=Number(n[0])==e,i=o&&n[0].slice(-1),a=o&&n[0].slice(-2);return t?1==i&&11!=a?"one":2==i&&12!=a?"two":3==i&&13!=a?"few":"other":1==e&&r?"one":"other"}const ve=T,ye=T,be=R,xe=T;function ke(e,t){return t?"other":e>=0&&e<=1?"one":"other"}function we(e,t){return t?"other":e>=0&&e<2?"one":"other"}const Ee=R;function Me(e,t){var n=String(e).split("."),r=n[0],o=n[1]||"",i=!n[1],a=r.slice(-1),s=o.slice(-1);return t?1==e?"one":"other":i&&(1==r||2==r||3==r)||i&&4!=a&&6!=a&&9!=a||!i&&4!=s&&6!=s&&9!=s?"one":"other"}const Se=T;function Ce(e,t){return t?1==e?"one":"other":e>=0&&e<2?"one":"other"}const Oe=T,Te=R;function Ae(e,t){var n=String(e).split("."),r=Number(n[0])==e;return t?1==e?"one":"other":1==e?"one":2==e?"two":r&&e>=3&&e<=6?"few":r&&e>=7&&e<=10?"many":"other"}function Re(e,t){var n=String(e).split("."),r=Number(n[0])==e;return t?1==e||11==e?"one":2==e||12==e?"two":3==e||13==e?"few":"other":1==e||11==e?"one":2==e||12==e?"two":r&&e>=3&&e<=10||r&&e>=13&&e<=19?"few":"other"}const ze=R,Le=T;function _e(e,t){return t?1==e?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":e>=0&&e<=1?"one":"other"}const He=A;function Ne(e,t){var n=String(e).split("."),r=n[0],o=!n[1],i=r.slice(-1),a=r.slice(-2);return t?"other":o&&1==i?"one":o&&2==i?"two":!o||0!=a&&20!=a&&40!=a&&60!=a&&80!=a?o?"other":"many":"few"}const Pe=T,Ie=T;function De(e,t){var n=String(e).split("."),r=n[0],o=!n[1],i=Number(n[0])==e,a=i&&n[0].slice(-1);return t?"other":1==e&&o?"one":2==r&&o?"two":o&&(e<0||e>10)&&i&&0==a?"many":"other"}function $e(e,t){return t?1==e?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":e>=0&&e<=1?"one":"other"}function Ve(e,t){var n=String(e).split("."),r=n[0],o=n[1]||"",i=!n[1],a=r.slice(-1),s=r.slice(-2),l=o.slice(-1),c=o.slice(-2);return t?"other":i&&1==a&&11!=s||1==l&&11!=c?"one":i&&a>=2&&a<=4&&(s<12||s>14)||l>=2&&l<=4&&(c<12||c>14)?"few":"other"}function je(e,t){var n=String(e).split("."),r=n[0],o=n[1]||"",i=!n[1],a=r.slice(-2),s=o.slice(-2);return t?"other":i&&1==a||1==s?"one":i&&2==a||2==s?"two":i&&(3==a||4==a)||3==s||4==s?"few":"other"}function Be(e,t){return t?1==e||5==e?"one":"other":1==e?"one":"other"}function Fe(e,t){return t?1==e?"one":"other":e>
74=0&&e<2?"one":"other"}const We=R,Ue=z,Ke=z,Ge=z,qe=R;function Xe(e,t){var n=String(e).split("."),r=n[0],o=Number(n[0])==e,i=r.slice(-1),a=r.slice(-2);return t?"other":o&&1==i&&11!=a||!o?"one":"other"}function Ye(e,t){var n=!String(e).split(".")[1];return t?11==e||8==e||80==e||800==e?"many":"other":1==e&&n?"one":"other"}const Ze=L;function Qe(e,t){var n=String(e).split("."),r=n[0],o=!n[1],i=Number(n[0])==e,a=i&&n[0].slice(-1);return t?"other":1==e&&o?"one":2==r&&o?"two":o&&(e<0||e>10)&&i&&0==a?"many":"other"}const Je=z,et=z,tt=T,nt=R,rt=T,ot=z,it=z;function at(e,t){var n=String(e).split(".")[0],r=n.slice(-2);return t?1==n?"one":0==n||r>=2&&r<=20||40==r||60==r||80==r?"many":"other":1==e?"one":"other"}function st(e,t){return t?"other":e>=0&&e<2?"one":"other"}const lt=T,ct=T,ut=z,dt=z;function pt(e,t){var n=String(e).split("."),r=Number(n[0])==e,o=r&&n[0].slice(-1);return t?6==o||9==o||r&&0==o&&0!=e?"many":"other":1==e?"one":"other"}const ht=T,ft=T,mt=z;function gt(e,t){return t?"other":e>=0&&e<=1?"one":"other"}const vt=z,yt=T,bt=T;function xt(e,t){return t?"other":0==e?"zero":1==e?"one":"other"}const kt=T;function wt(e,t){var n=String(e).split("."),r=Number(n[0])==e,o=r&&n[0].slice(-2),i=r&&n[0].slice(-3),a=r&&n[0].slice(-5),s=r&&n[0].slice(-6);return t?r&&e>=1&&e<=4||o>=1&&o<=4||o>=21&&o<=24||o>=41&&o<=44||o>=61&&o<=64||o>=81&&o<=84?"one":5==e||5==o?"many":"other":0==e?"zero":1==e?"one":2==o||22==o||42==o||62==o||82==o||r&&0==i&&(a>=1e3&&a<=2e4||4e4==a||6e4==a||8e4==a)||0!=e&&1e5==s?"two":3==o||23==o||43==o||63==o||83==o?"few":1==e||1!=o&&21!=o&&41!=o&&61!=o&&81!=o?"other":"many"}const Et=T;function Mt(e,t){var n=String(e).split(".")[0];return t?"other":0==e?"zero":0!=n&&1!=n||0==e?"other":"one"}const St=T,Ct=T,Ot=z,Tt=A;function At(e,t){return t&&1==e?"one":"other"}function Rt(e,t){var n=String(e).split("."),r=n[1]||"",o=Number(n[0])==e,i=o&&n[0].slice(-1),a=o&&n[0].slice(-2);return t?"other":1==i&&(a<11||a>19)?"one":i>=2&&i<=9&&(a<11||a>19)?"few":0!=r?"many":"other"}function zt(e,t){var n=String(e).split("."),r=n[1]||"",o=r.length,i=Number(n[0])==e,a=i&&n[0].slice(-1),s=i&&n[0].slice(-2),l=r.slice(-2),c=r.slice(-1);return t?"other":i&&0==a||s>=11&&s<=19||2==o&&l>=11&&l<=19?"zero":1==a&&11!=s||2==o&&1==c&&11!=l||2!=o&&1==c?"one":"other"}const Lt=T,_t=A,Ht=T;function Nt(e,t){var n=String(e).split("."),r=n[0],o=n[1]||"",i=!n[1],a=r.slice(-1),s=r.slice(-2),l=o.slice(-1),c=o.slice(-2);return t?1==a&&11!=s?"one":2==a&&12!=s?"two":7!=a&&8!=a||17==s||18==s?"other":"many":i&&1==a&&11!=s||1==l&&11!=c?"one":"other"}const Pt=T,It=T;function Dt(e,t){var n=String(e).split("."),r=!n[1],o=Number(n[0])==e&&n[0].slice(-2);return t?1==e?"one":"other":1==e&&r?"one":!r||0==e||o>=2&&o<=19?"few":"other"}function $t(e,t){return t?1==e?"one":2==e||3==e?"two":4==e?"few":"other":1==e?"one":"other"}function Vt(e,t){return t&&1==e?"one":"other"}function jt(e,t){var n=String(e).split("."),r=Number(n[0])==e&&n[0].slice(-2);return t?"other":1==e?"one":0==e||r>=2&&r<=10?"few":r>=11&&r<=19?"many":"other"}const Bt=z,Ft=T,Wt=L,Ut=T,Kt=T;function Gt(e,t){var n=String(e).split("."),r=Number(n[0])==e;return t?r&&e>
74=1&&e<=4?"one":"other":1==e?"one":"other"}const qt=R,Xt=T,Yt=T,Zt=T,Qt=z,Jt=T,en=A,tn=T,nn=T,rn=T;function on(e,t){var n=String(e).split("."),r=Number(n[0])==e;return t?1==e||5==e||r&&e>=7&&e<=9?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":1==e?"one":"other"}const an=T,sn=z,ln=A,cn=T;function un(e,t){var n=String(e).split("."),r=n[0],o=!n[1],i=r.slice(-1),a=r.slice(-2);return t?"other":1==e&&o?"one":o&&i>=2&&i<=4&&(a<12||a>14)?"few":o&&1!=r&&(0==i||1==i)||o&&i>=5&&i<=9||o&&a>=12&&a<=14?"many":"other"}function dn(e,t){var n=String(e).split("."),r=n[1]||"",o=r.length,i=Number(n[0])==e,a=i&&n[0].slice(-1),s=i&&n[0].slice(-2),l=r.slice(-2),c=r.slice(-1);return t?"other":i&&0==a||s>=11&&s<=19||2==o&&l>=11&&l<=19?"zero":1==a&&11!=s||2==o&&1==c&&11!=l||2!=o&&1==c?"one":"other"}const pn=T;function hn(e,t){var n=String(e).split(".")[0];return t?"other":0==n||1==n?"one":"other"}const fn=R,mn=T;function gn(e,t){var n=String(e).split("."),r=!n[1],o=Number(n[0])==e&&n[0].slice(-2);return t?1==e?"one":"other":1==e&&r?"one":!r||0==e||o>=2&&o<=19?"few":"other"}const vn=T,yn=z;function bn(e,t){var n=String(e).split("."),r=n[0],o=!n[1],i=r.slice(-1),a=r.slice(-2);return t?"other":o&&1==i&&11!=a?"one":o&&i>=2&&i<=4&&(a<12||a>14)?"few":o&&0==i||o&&i>=5&&i<=9||o&&a>=11&&a<=14?"many":"other"}const xn=T,kn=z,wn=T;function En(e,t){var n=!String(e).split(".")[1];return t?11==e||8==e||80==e||800==e?"many":"other":1==e&&n?"one":"other"}function Mn(e,t){var n=!String(e).split(".")[1];return t?11==e||8==e||80==e||800==e?"many":"other":1==e&&n?"one":"other"}const Sn=T,Cn=T,On=L,Tn=T,An=z,Rn=z;function zn(e,t){var n=String(e).split("."),r=n[0],o=n[1]||"",i=!n[1],a=r.slice(-1),s=r.slice(-2),l=o.slice(-1),c=o.slice(-2);return t?"other":i&&1==a&&11!=s||1==l&&11!=c?"one":i&&a>=2&&a<=4&&(s<12||s>14)||l>=2&&l<=4&&(c<12||c>14)?"few":"other"}function Ln(e,t){var n=String(e).split("."),r=Number(n[0])==e;return t?"other":e>=0&&e<=1?"one":r&&e>=2&&e<=10?"few":"other"}function _n(e,t){var n=String(e).split("."),r=n[0],o=n[1]||"";return t?"other":0==e||1==e||0==r&&1==o?"one":"other"}function Hn(e,t){var n=String(e).split("."),r=n[0],o=!n[1];return t?"other":1==e&&o?"one":r>=2&&r<=4&&o?"few":o?"other":"many"}function Nn(e,t){var n=String(e).split("."),r=n[0],o=!n[1],i=r.slice(-2);return t?"other":o&&1==i?"one":o&&2==i?"two":o&&(3==i||4==i)||!o?"few":"other"}const Pn=L,In=L,Dn=L,$n=L,Vn=L,jn=T,Bn=T;function Fn(e,t){var n=String(e).split("."),r=Number(n[0])==e,o=r&&n[0].slice(-1),i=r&&n[0].slice(-2);return t?1==e?"one":4==o&&14!=i?"many":"other":1==e?"one":"other"}function Wn(e,t){var n=String(e).split("."),r=n[0],o=n[1]||"",i=!n[1],a=r.slice(-1),s=r.slice(-2),l=o.slice(-1),c=o.slice(-2);return t?"other":i&&1==a&&11!=s||1==l&&11!=c?"one":i&&a>=2&&a<=4&&(s<12||s>14)||l>=2&&l<=4&&(c<12||c>14)?"few":"other"}const Un=T,Kn=T,Gn=T,qn=z;function Xn(e,t){var n=String(e).split("."),r=!n[1],o=Number(n[0])==e,i=o&&n[0].slice(-1),a=o&&n[0].slice(-2);return t?1!=i&&2!=i||11==a||12==a?"other":"one":1==e&&r?"one":"other"}const Yn=R,Zn=T,Qn=T,Jn=T,er=T,tr=z,nr=A,rr=T;function or(e,t){var n=String(e).split("."),r=Number(n[0])==e&&n[0].slice(-1);return t?6==r||9==r||10==e?"few":"other":1==e?"one":"other"}function ir(e,t){var n=String(e).split("."),r=n[0],o=n[1]||"",i=!n[1],a=r.slice(-1),s=o.slice(-1);return t?1==e?"one":"other":i&&(1==r||2==r||3==r)||i&&4!=a&&6!=a&&9!=a||!i&&4!=s&&6!=s&&9!=s?"one":"other"}const ar=T,sr=z,lr=T,cr=T;function ur(e,t){var n=String(e).split("."),r=Number(n[0])==e;return t?"other":0==e||1==e||r&&e>=11&&e<=99?"one":"other"}const dr=T;function pr(e,t){var n=String(e).split("."),r=n[0],o=!n[1],i=Number(n[0])==e,a=i&&n[0].slice(-1),s=i&&n[0].slice(-2),l=r.slice(-1),c=r.slice(-2);return t?3==a&&13!=s?"few":"other":o&&1==l&&11!=c?"one":o&&l>=2&&l<=4&&(c<12||c>14)?"few":o&&0==l||o&&l>=5&&l<=9||o&&c>=11&&c<=14?"many":"other"}const hr=R,fr=T,mr=T;function gr(e,t){return t&&1==e?"one":"other"}const vr=T,yr=T,br=A,xr=T,kr=z,wr=T,Er=T,Mr=R,Sr=z,Cr=z,Or=z;function Tr(e,t){return t?"other":e>=0&&e<=1?"one":"other"}var Ar,Rr,zr=Object.defineProperty,Lr=Object.getOwnPropertyDescriptor,_r=Object.getOwnPropertyNames,Hr=Object.prototype.hasOwnProperty,Nr=(e,t,n,r)=>{if(t&&"object"===typeof t||"function"===typeof t)for(let o of _r(t))Hr.call(e,o)||o===n||zr(e,o,{get:()=>t[o],enumerable:!(r=Lr(t,o))||r.enumerable});return e},Pr=JSON.parse('{"extension.command.toggle-upper-case.label":[["case","select",{"upper":"Uppercase","lower":"Lowercase","capitalize":"Sentence case","smallCaps":"Small caps","other":"Text c
74ase"}]],"extension.table.column_count":[["count","plural",{"one":["#"," column"],"other":["#"," columns"]}]],"extension.table.row_count":[["count","plural",{"one":["#"," row"],"other":["#"," rows"]}]],"extension.command.toggle-columns.description":[["count","select",{"2":"Split the block into two columns","3":"Split the current block into three columns","4":"Split the current block into four columns","other":"Split the current block into multiple columns"}]],"extension.command.toggle-columns.label":[["count","select",{"2":"Two Column Block","3":"Three Column Block","4":"Four Column Block","other":"Multi Column Block"}]],"extension.command.set-text-direction.label":[["dir","select",{"ltr":"Left-To-Right","rtl":"Right-To-Left","other":"Reset Direction"}]],"extension.command.set-text-direction.description":[["dir","select",{"ltr":"Set the text direction from left to right","rtl":"Set the text direction from right to left","other":"Reset text direction"}]],"extension.command.toggle-heading.label":[["level","select",{"1":"Heading 1","2":"Heading 2","3":"Heading 3","4":"Heading 4","5":"Heading 5","6":"Heading 6","other":"Heading"}]],"extension.command.toggle-callout.description":[["type","select",{"info":"Create an information callout block","warning":"Create a warning callout block","error":"Create an error callout block","success":"Create a success callout block","other":"Create a callout block"}]],"extension.command.toggle-callout.label":[["type","select",{"info":"Information Callout","warning":"Warning Callout","error":"Error Callout","success":"Success Callout","other":"Callout"}]],"extension.command.toggle-code-block.description":"Add a code block","extension.command.add-annotation.label":"Add annotation","extension.command.toggle-blockquote.description":"Add blockquote formatting to the selected text","extension.command.toggle-bold.description":"Add bold formatting to the selected text","extension.command.toggle-code.description":"Add inline code formatting to the selected text","keyboard.shortcut.alt":"Alt","keyboard.shortcut.arrowDown":"Arrow Down","keyboard.shortcut.arrowLeft":"Arrow Left","keyboard.shortcut.arrowRight":"Arrow Right","keyboard.shortcut.arrowUp":"Arrow Up","keyboard.shortcut.backspace":"Backspace","ui.text-color.black":"Black","extension.command.toggle-blockquote.label":"Blockquote","ui.text-color.blue":"Blue","ui.text-color.blue.hue":["Blue ",["hue"]],"extension.command.toggle-bold.label":"Bold","extension.command.toggle-bullet-list.description":"Bulleted list","keyboard.shortcut.capsLock":"Caps Lock","extension.command.center-align.label":"Center align","extension.command.toggle-code.label":"Code","extension.command.toggle-code-block.label":"Codeblock","keyboard.shortcut.command":"Command","QcPNd6":"Image description","ogrUzJ":"Add a short description here.","yqdyzr":"Image","6/02F4":"Image source","X8H91v":"Image","zhQ7Zt":"Italic","ZL7E7l":"Underline","keyboard.shortcut.control":"Control","extension.command.convert-paragraph.description":"Convert current block into a paragraph block.","extension.command.convert-paragraph.label":"Convert Paragraph","extension.command.copy.label":"Copy","extension.command.copy.description":"Copy the selected text","extension.command.create-table.description":"Create a table with set number of rows and columns.","extension.command.create-table.label":"Create table","extension.command.cut.label":"Cut","extension.command.cut.description":"Cut the selected text","ui.text-color.cyan":"Cyan","ui.text-color.cyan.hue":["Cyan ",["hue"]],"extension.command.decrease-font-size.label":"Decrease","extension.command.decrease-indent.label":"Decrease indentation","extension.command.decrease-font-size.description":"Decrease the font size.","keyboard.shortcut.delete":"Delete","extension.command.insert-horizontal-rule.label":"Divider","keyboard.shortcut.end":"End","keyboard.shortcut.escape":"Enter","keyboard.shortcut.enter":"Enter","6PjrOF":"Add annotation","OTq5WC":"Center align","oeZ3ox":"Convert current block into a paragraph block.","m1khs+":"Convert Paragraph","w/1U+3":"Copy the selected text","kdodi0":"Copy","k0KR/u":"Create a table with set number of rows and columns.","zrwMyD":"Create table","D/nWxh":"Cut the selected text","jHPv5m":"Cut","5cNgRx":"Decrease the font size.","vyRNWx":"Decrease","Jgiol4":"Decrease indentation","1gJSHH":"Increase the font size","OQXJXz":"Increase","72TLhr":"Increase indentation","HFlfzJ":"Insert Emoji","RPq9fY":"Separate content with a diving horizontal line","OKQF+e":"Divider","zjYb9C":"Insert a new paragraph","4M4sXC":"Insert Paragraph","1Q+eVc":"Justify","ejWWtP":"Left align","wVqrpS":"Paste content into the editor","07v9aw":"Paste","zUYfou":"Redo the most recent action","9Nq9zr":"Redo","0uxaZe":"Remove annotation","iJWZAz":"Right align","g5WpPn":"Select all c
74ontent within the editor","2+pZDT":"Select all","yChCR1":"Set text case","GMzAC/":"Set the font size for the selected text.","vzEyrv":"Font size","7VCkJ8":"Set the text color for the selected text.","qjWFaR":"Text color","LVWgFu":[["dir","select",{"ltr":"Set the text direction from left to right","rtl":"Set the text direction from right to left","other":"Reset text direction"}]],"WXwRy1":[["dir","select",{"ltr":"Left-To-Right","rtl":"Right-To-Left","other":"Reset Direction"}]],"G/o315":"Set the text highlight color for the selected text.","xtHg6d":"Text highlight","1p1W/p":"Add blockquote formatting to the selected text","6+rh6I":"Blockquote","0yB3LV":"Add bold formatting to the selected text","sFMo4Z":"Bold","SMKG/s":"Bulleted list","/BYCMi":[["type","select",{"info":"Create an information callout block","warning":"Create a warning callout block","error":"Create an error callout block","success":"Create a success callout block","other":"Create a callout block"}]],"V+3IBe":[["type","select",{"info":"Information Callout","warning":"Warning Callout","error":"Error Callout","success":"Success Callout","other":"Callout"}]],"hbIo4L":"Add a code block","7GkMcx":"Codeblock","2r4JYl":"Add inline code formatting to the selected text","Up8Tpe":"Code","ATHSPS":[["count","select",{"2":"Split the block into two columns","3":"Split the current block into three columns","4":"Split the current block into four columns","other":"Split the current block into multiple columns"}]],"7DC1VE":[["count","select",{"2":"Two Column Block","3":"Three Column Block","4":"Four Column Block","other":"Multi Column Block"}]],"hnrBeo":[["level","select",{"1":"Heading 1","2":"Heading 2","3":"Heading 3","4":"Heading 4","5":"Heading 5","6":"Heading 6","other":"Heading"}]],"NkZAcw":"Italicize the selected text","2fTW9e":"Italic","c759Ra":"Ordered list","uQwrZu":"Strikethrough the selected text","pT3qly":"Strikethrough","BHk+zu":"Subscript","18BVwM":"Superscript","tOIVCV":"Tasked list","4Janx3":"Underline the selected text","dCHt+D":"Underline","YYAprs":[["case","select",{"upper":"Uppercase","lower":"Lowercase","capitalize":"Sentence case","smallCaps":"Small caps","other":"Text case"}]],"tczyZL":"Show hidden whitespace characters in your editor.","0qAX23":"Toggle Whitespace","ezMADU":"Undo the most recent action","N3P7EC":"Undo","2nj/+s":"Update annotation","dWD7u4":[["count","plural",{"one":["#"," column"],"other":["#"," columns"]}]],"qXqgVT":[["count","plural",{"one":["#"," row"],"other":["#"," rows"]}]],"extension.command.set-font-size.label":"Font size","ui.text-color.grape":"Grape","ui.text-color.grape.hue":["Grape ",["hue"]],"ui.text-color.gray":"Gray","ui.text-color.gray.hue":["Gray ",["hue"]],"ui.text-color.green":"Green","ui.text-color.green.hue":["Green ",["hue"]],"keyboard.shortcut.home":"Home","extension.command.increase-font-size.label":"Increase","extension.command.increase-indent.label":"Increase indentation","extension.command.increase-font-size.description":"Increase the font size","ui.text-color.indigo":"Indigo","ui.text-color.indigo.hue":["Indigo ",["hue"]],"extension.command.insert-paragraph.description":"Insert a new paragraph","extension.command.insert-emoji.label":"Insert Emoji","extension.command.insert-paragraph.label":"Insert Paragraph","extension.command.toggle-italic.label":"Italic","extension.command.toggle-italic.description":"Italicize the selected text","extension.command.justify-align.label":"Justify","R7NlCw":"Alt","RbDiK5":"Arrow Down","Dgyd+E":"Arrow Left","8pdCk4":"Arrow Right","Gp/343":"Arrow Up","PFPV0A":"Backspace","0IRYvp":"Caps Lock","X7HX0D":"Command","zq0AdD":"Control","8SfToN":"Delete","Ys/uah":"End","3K5hww":"Enter","veQt1j":"Enter","ySv7i+":"Home","e6RUI1":"Page Down","EEJk31":"Page Up","7sbhAU":"Shift","Q4eplT":"Space","SUhVVC":"Tab","extension.command.left-align.label":"Left align","ui.text-color.lime":"Lime","ui.text-color.lime.hue":["Lime ",["hue"]],"react-components.mention-atom-component.zero-items":"No items available","ui.text-color.orange":"Orange","ui.text-color.orange.hue":["Orange ",["hue"]],"extension.command.toggle-ordered-list.label":"Ordered list","keyboard.shortcut.pageDown":"Page Down","keyboard.shortcut.pageUp":"Page Up","extension.command.paste.label":"Paste","extension.command.paste.description":"Paste content into the editor","ui.text-color.pink":"Pink","ui.text-color.pink.hue":["Pink ",["hue"]],"zvMfIA":"No items available","pEjhti":"Static Menu","ui.text-color.red":"Red","ui.text-color.red.hue":["Red ",["hue"]],"extension.command.redo.label":"Redo","extension.command.redo.description":"Redo the most recent action","extension.command.remove-annotation.label":"Remove annotation","extension.command.right-align.label":"Right align","extension.command.select-all.label":"Select all","extension.command.select-all.description":"Select all c
74ontent within the editor","extension.command.insert-horizontal-rule.description":"Separate content with a diving horizontal line","extension.command.set-casing.label":"Set text case","extension.command.set-font-size.description":"Set the font size for the selected text.","extension.command.set-text-color.description":"Set the text color for the selected text.","extension.command.set-text-highlight.description":"Set the text highlight color for the selected text.","keyboard.shortcut.shift":"Shift","extension.command.toggle-whitespace.description":"Show hidden whitespace characters in your editor.","keyboard.shortcut.space":"Space","extension.command.toggle-strike.label":"Strikethrough","extension.command.toggle-strike.description":"Strikethrough the selected text","extension.command.toggle-subscript.label":"Subscript","extension.command.toggle-superscript.label":"Superscript","keyboard.shortcut.tab":"Tab","extension.command.toggle-task-list.description":"Tasked list","ui.text-color.teal":"Teal","ui.text-color.teal.hue":["Teal ",["hue"]],"extension.command.set-text-color.label":"Text color","extension.command.set-text-highlight.label":"Text highlight","extension.command.toggle-whitespace.label":"Toggle Whitespace","ui.text-color.transparent":"Transparent","slrB1c":"Black","6QML30":"Blue","xw+keN":["Blue ",["hue"]],"38RHqP":"Cyan","D89yPf":["Cyan ",["hue"]],"VjBLnd":"Grape","Rp40yv":["Grape ",["hue"]],"5Dm9D1":"Gray","HGjXjC":["Gray ",["hue"]],"b9fz+n":"Green","18jo3M":["Green ",["hue"]],"CFzqCV":"Indigo","aVlDku":["Indigo ",["hue"]],"04PfLc":"Lime","KRTK6Y":["Lime ",["hue"]],"pSnXFd":"Orange","ve/MJZ":["Orange ",["hue"]],"OvCgDa":"Pink","l7NqyT":["Pink ",["hue"]],"IT9k0j":"Red","AdyJ7/":["Red ",["hue"]],"3D2UWc":"Teal","Dcq0Y1":["Teal ",["hue"]],"bsi2ik":"Transparent","Tj3PRR":"Violet","xxMH5N":["Violet ",["hue"]],"Rum0ah":"White","4gaw/Q":"Yellow","hhauc3":["Yellow ",["hue"]],"extension.command.toggle-underline.label":"Underline","extension.command.toggle-underline.description":"Underline the selected text","extension.command.undo.label":"Undo","extension.command.undo.description":"Undo the most recent action","extension.command.update-annotation.label":"Update annotation","ui.text-color.violet":"Violet","ui.text-color.violet.hue":["Violet ",["hue"]],"ui.text-color.white":"White","ui.text-color.yellow":"Yellow","ui.text-color.yellow.hue":["Yellow ",["hue"]]}'),Ir={};Nr(Ir,Ar=r,"default"),Rr&&Nr(Rr,Ar,"default"),O.loadLocaleData("en",{plurals:Ir.en}),O.load("en",Pr),O.activate("en");var Dr=n(44573),$r=n(27398),Vr=n(16560),jr=Object.defineProperty,Br=Object.getOwnPropertyDescriptor,Fr=(e,t,n,r)=>{for(var o,i=r>1?void 0:r?Br(t,n):t,a=e.length-1;a>=0;a--)(o=e[a])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&jr(t,n,i),i},Wr=class extends Dr.QR{get name(){return"doc"}createNodeSpec(e,t){const{docAttributes:n,content:r}=this.options,o=(0,i.Ry)();if((0,i.PO)(n))for(const[a,s]of(0,i.qh)(n))o[a]={default:s};else for(const i of n)o[i]={default:null};return{attrs:o,content:r,...t}}setDocAttributes(e){return({tr:t,dispatch:n})=>{if(n){for(const[n,r]of Object.entries(e))t.step(new Gr(n,r));n(t)}return!0}}isDefaultDocNode({state:e=this.store.getState(),options:t}={}){return(0,$r.$q)(e.doc,t)}};Fr([(0,Dr.WDe)()],Wr.prototype,"setDocAttributes",1),Fr([(0,Dr._y)()],Wr.prototype,"isDefaultDocNode",1),Wr=Fr([(0,Dr.AOx)({defaultOptions:{content:"block+",docAttributes:[]},defaultPriority:a.xV.Medium,staticKeys:["content","docAttributes"],disableExtraAttributes:!0})],Wr);var Ur="SetDocAttribute",Kr="RevertSetDocAttribute",Gr=class extends Vr.h8{constructor(e,t,n=Ur){super(),this.stepType=n,this.key=e,this.value=t}static fromJSON(e,t){return new Gr(t.key,t.value,t.stepType)}
74apply(e){this.previous=e.attrs[this.key];const t={...e.attrs,[this.key]:this.value};return Vr.oo.ok(e.type.create(t,e.content,e.marks))}invert(){return new Gr(this.key,this.previous,Kr)}map(){return this}toJSON(){return{stepType:this.stepType,key:this.key,value:this.value}}};try{Vr.h8.jsonID(Ur,Gr),Vr.h8.jsonID(Kr,Gr)}catch(Mi){if(!Mi.message.startsWith("Duplicate use of step JSON ID"))throw Mi}var qr=Object.defineProperty,Xr=Object.getOwnPropertyDescriptor,Yr=(e,t,n,r)=>{for(var o,i=r>1?void 0:r?Xr(t,n):t,a=e.length-1;a>=0;a--)(o=e[a])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&qr(t,n,i),i};var Zr=class extends Dr.nNj{constructor(){super(...arguments),this.mousedown=!1,this.mouseover=!1,this.createMouseEventHandler=e=>(t,n)=>{const r=n,o=function(e,t){const n=t.target;if(n){const t=function(e,t,n,r){const o=e.docView.posFromDOM(t,n,r);return null===o||o<0?null:o}(e,n,0);if(null!==t){const n=e.state.doc.resolve(t),r=n.node().isLeaf?0:1;return{pos:t,inside:n.start()-r}}}return e.posAtCoords({left:t.clientX,top:t.clientY})??void 0}(t,r);if(!o)return!1;const s=[],l=[],{inside:c,pos:u}=o;if(-1===c)return!1;const d=t.state.doc.resolve(u),p=d.depth+1;for(const e of(0,i.w6)(p,1))s.push({node:e>d.depth&&d.nodeAfter?d.nodeAfter:d.node(e),pos:d.before(e)});for(const{type:e}of d.marksAcross(d)??[]){const t=(0,$r.IH)(d,e);t&&l.push(t)}return e(r,{view:t,nodes:s,marks:l,getMark:e=>{const n=(0,i.HD)(e)?t.state.schema.marks[e]:e;return(0,i.kG)(n,{code:a.mA.EXTENSION,message:`The mark ${e} being checked does not exist within the editor schema.`}),l.find((e=>e.mark.type===n))},getNode:e=>{var n;const r=(0,i.HD)(e)?t.state.schema.nodes[e]:e;(0,i.kG)(r,{code:a.mA.EXTENSION,message:"The node being checked does not exist"});const o=s.find((({node:e})=>e.type===r));if(o)return{...o,isRoot:!!(null==(n=s[0])?void 0:n.node.eq(o.node))}}})}}get name(){return"events"}onView(){var e,t;if(!(null==(e=this.store.managerSettings.exclude)?void 0:e.clickHandler))for(const n of this.store.extensions){if(!n.createEventHandlers||(null==(t=n.options.exclude)?void 0:t.clickHandler))continue;const e=n.createEventHandlers();for(const[t,n]of(0,i.qh)(e))this.addHandler(t,n)}}createPlugin(){const e=new WeakMap,t=(t,n,r,o,s,l,c,u)=>{const d=this.store.currentState,{schema:p,doc:h}=d,f=h.resolve(o),m=e.has(c),g=function(e){const{handled:t,view:n,$pos:r,state:o}=e,s={getMark:i.ZT,markRanges:[],view:n,state:o};if(t)return s;for(const{type:i}of r.marksAcross(r)??[]){const e=(0,$r.IH)(r,i);e&&s.markRanges.push(e)}return s.getMark=e=>{const t=(0,i.HD)(e)?o.schema.marks[e]:e;return(0,i.kG)(t,{code:a.mA.EXTENSION,message:`The mark ${e} being checked does not exist within the editor schema.`}),s.markRanges.find((e=>e.mark.type===t))},s}({$pos:f,handled:m,view:r,state:d});let v=!1;m||(v=t(c,g)||v);const y={...g,pos:o,direct:u,nodeWithPosition:{node:s,pos:l},getNode:e=>{const t=(0,i.HD)(e)?p.nodes[e]:e;return(0,i.kG)(t,{code:a.mA.EXTENSION,message:"The node being checked does not exist"}),t===s.type?{node:s,pos:l}:void 0}};return e.set(c,!0),n(c,y)||v};return{props:{handleKeyPress:(e,t)=>this.options.keypress(t)||!1,handleKeyDown:(e,t)=>this.options.keydown(t)||!1,handleTextInput:(e,t,n,r)=>this.options.textInput({from:t,to:n,text:r})||!1,handleClickOn:(e,n,r,o,i,a)=>t(this.options.clickMark,this.options.click,e,n,r,o,i,a),handleDoubleClickOn:(e,n,r,o,i,a)=>t(this.options.doubleClickMark,this.options.doubleClick,e,n,r,o,i,a),handleTripleClickOn:(e,n,r,o,i,a)=>t(this.options.tripleClickMark,this.options.tripleClick,e,n,r,o,i,a),handleDOMEvents:{focus:(e,t)=>this.options.focus(t)||!1,blur:(e,t)=>this.options.blur(t)||!1,mousedown:(e,t)=>(this.startMouseover(),this.options.mousedown(t)||!1),mouseup:(e,t)=>(this.endMouseover(),this.options.mouseup(t)||!1),mouseleave:(e,t)=>(this.mouseover=!1,this.options.mouseleave(t)||!1),mouseenter:(e,t)=>(this.mouseover=!0,this.options.mouseenter(t)||!1),keyup:(e,t)=>this.options.keyup(t)||!1,mouseout:this.createMouseEventHandler(((e,t)=>{const n={...t,hovering:!1};return this.options.hover(e,n)||!1})),mouseover:this.createMouseEventHandler(((e,t)=>{const n={...t,hovering:!0};return this.options.hover(e,n)||!1})),contextmenu:this.createMouseEventHandler(((e,t)=>this.options.contextmenu(e,t)||!1)),scroll:(e,t)=>
74this.options.scroll(t)||!1,copy:(e,t)=>this.options.copy(t)||!1,cut:(e,t)=>this.options.cut(t)||!1,paste:(e,t)=>this.options.paste(t)||!1}},view:e=>{let t=e.editable;const n=this.options;return{update(e){const r=e.editable;r!==t&&(n.editable(r),t=r)}}}}}isInteracting(){return this.mousedown&&this.mouseover}startMouseover(){this.mouseover=!0,this.mousedown||(this.mousedown=!0,this.store.document.documentElement.addEventListener("mouseup",(()=>{this.endMouseover()}),{once:!0}))}endMouseover(){this.mousedown&&(this.mousedown=!1,this.store.commands.emptyUpdate())}};Yr([(0,Dr._y)()],Zr.prototype,"isInteracting",1),Zr=Yr([(0,Dr.AOx)({handlerKeys:["blur","focus","mousedown","mouseup","mouseenter","mouseleave","textInput","keypress","keyup","keydown","click","clickMark","doubleClick","doubleClickMark","tripleClick","tripleClickMark","contextmenu","hover","scroll","copy","cut","paste","editable"],handlerKeyOptions:{blur:{earlyReturnValue:!0},focus:{earlyReturnValue:!0},mousedown:{earlyReturnValue:!0},mouseleave:{earlyReturnValue:!0},mouseup:{earlyReturnValue:!0},click:{earlyReturnValue:!0},doubleClick:{earlyReturnValue:!0},tripleClick:{earlyReturnValue:!0},hover:{earlyReturnValue:!0},contextmenu:{earlyReturnValue:!0},scroll:{earlyReturnValue:!0},copy:{earlyReturnValue:!0},cut:{earlyReturnValue:!0},paste:{earlyReturnValue:!0}},defaultPriority:a.xV.High})],Zr);var Qr=n(50915),Jr=Object.defineProperty,eo=Object.getOwnPropertyDescriptor,to=class extends Dr.nNj{get name(){return"gapCursor"}createExternalPlugins(){return[(0,Qr.d)()]}};to=((e,t,n,r)=>{for(var o,i=r>1?void 0:r?eo(t,n):t,a=e.length-1;a>=0;a--)(o=e[a])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&Jr(t,n,i),i})([(0,Dr.AOx)({})],to);(0,i.V9)(Qr.Q);var no=n(32594),ro=n(48776),oo=Object.defineProperty,io=Object.getOwnPropertyDescriptor,ao=(e,t,n,r)=>{for(var o,i=r>1?void 0:r?io(t,n):t,a=e.length-1;a>=0;a--)(o=e[a])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&oo(t,n,i),i},so={icon:"paragraph",label:({t:e})=>e(ro.iR.INSERT_LABEL),description:({t:e})=>e(ro.iR.INSERT_DESCRIPTION)},lo={icon:"paragraph",label:({t:e})=>e(ro.iR.CONVERT_LABEL),description:({t:e})=>e(ro.iR.CONVERT_DESCRIPTION)},co=class extends Dr.QR{get name(){return"paragraph"}createTags(){return[a.eX.LastNodeCompatible,a.eX.TextBlock,a.eX.Block,a.eX.FormattingNode]}createNodeSpec(e,t){return{content:"inline*",draggable:!1,...t,attrs:{...e.defaults()},parseDOM:[{tag:"p",getAttrs:t=>({...e.parse(t)})},...t.parseDOM??[]],toDOM:t=>["p",e.dom(t),0]}}convertParagraph(e={}){const{attrs:t,selection:n,preserveAttrs:r}=e;return this.store.commands.setBlockNodeType.original(this.type,t,n,r)}insertParagraph(e,t={}){const{selection:n,attrs:r}=t;return this.store.commands.insertNode.original(this.type,{content:e,selection:n,attrs:r})}shortcut(e){return this.convertParagraph()(e)}};ao([(0,Dr.WDe)(lo)],co.prototype,"convertParagraph",1),ao([(0,Dr.WDe)(so)],co.prototype,"insertParagraph",1),ao([(0,Dr.IGC)({shortcut:a.vO.Paragraph,command:"convertParagraph"})],co.prototype,"shortcut",1),co=ao([(0,Dr.AOx)({defaultPriority:a.xV.Medium})],co);var uo=n(86945),po=Object.defineProperty,ho=Object.getOwnPropertyDescriptor,fo=class extends Dr.QR{get name(){return"text"}createTags(){return[a.eX.InlineNode]}createNodeSpec(){return{}}};fo=((e,t,n,r)=>{for(var o,i=r>1?void 0:r?ho(t,n):t,a=e.length-1;a>=0;a--)(o=e[a])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&po(t,n,i),i})([(0,Dr.AOx)({disableExtraAttributes:!0,defaultPriority:a.xV.Medium})],fo);var mo={...Wr.defaultOptions,...co.defaultOptions,...no.u.defaultOptions,excludeExtensions:[]};function go(e={}){e={...mo,...e};const{content:t,depth:n,getDispatch:r,getState:o,newGroupDelay:i,excludeExtensions:a}=e,s={};for(const c of a??[])s[c]=!0;const l=[];if(!s.history){const e=new no.u({depth:n,getDispatch:r,getState:o,newGroupDelay:i});l.push(e)}return s.doc||l.push(new Wr({content:t})),s.text||l.push(new fo),s.paragraph||l.push(new co),s.positioner||l.push(new uo.xv),s.gapCursor||l.push(new to),s.events||l.push(new Zr),l}var vo=n(84348),yo=n(31026),bo=Object.defineProperty,xo=Object.getOwnPropertyDescriptor,ko=class extends Dr.nNj{get name(){return"placeholder"}createAttributes(){return{"aria-placeholder":this.options.placeholder}}createPlugin(){return{state:{init:(e,t)=>
74({...this.options,empty:(0,$r.$q)(t.doc,{ignoreAttributes:!0})}),apply:(e,t,n,r)=>function(e){const{pluginState:t,extension:n,tr:r,state:o}=e;if(!r.docChanged)return t;return{...n.options,empty:(0,$r.$q)(o.doc)}}({pluginState:t,tr:e,extension:this,state:r})},props:{decorations:e=>function(e){const{extension:t,state:n}=e,{empty:r}=t.pluginKey.getState(n),{emptyNodeClass:o,placeholder:i}=t.options;if(!r)return null;const a=[];return n.doc.descendants(((e,t)=>{const n=vo.p.node(t,t+e.nodeSize,{class:o,"data-placeholder":i});a.push(n)})),vo.EH.create(n.doc,a)}({state:e,extension:this})}}}onSetOptions(e){const{changes:t}=e;t.placeholder.changed&&this.store.phase>=a.RC.EditorView&&this.store.updateAttributes()}};ko=((e,t,n,r)=>{for(var o,i=r>1?void 0:r?xo(t,n):t,a=e.length-1;a>=0;a--)(o=e[a])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&bo(t,n,i),i})([(0,Dr.AOx)({defaultOptions:{emptyNodeClass:yo._x.IS_EMPTY,placeholder:""}})],ko);var wo,Eo=n(48111),Mo=n(73935),So=n(31857),Co=n(12806),Oo=n(2376),To=Object.defineProperty,Ao=Object.getOwnPropertyDescriptor,Ro=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},zo=(e,t,n)=>(Ro(e,t,"read from private field"),n?n.call(e):t.get(e)),Lo=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},_o=(e,t,n,r)=>(Ro(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n);wo=new WeakMap;var Ho,No,Po,Io,Do,$o,Vo,jo,Bo,Fo,Wo,Uo,Ko=e=>{const{portals:t}=e;return o.createElement(o.Fragment,null,t.map((([e,{Component:t,key:n}])=>(0,Mo.createPortal)(o.createElement(t,null),e,n))))};var Go=class{constructor({getPosition:e,node:t,portalContainer:n,view:r,ReactComponent:s,options:l}){Lo(this,Ho,void 0),Lo(this,No,[]),Lo(this,Po,void 0),Lo(this,Io,void 0),Lo(this,Do,void 0),Lo(this,$o,void 0),Lo(this,Vo,void 0),Lo(this,jo,!1),Lo(this,Bo,void 0),Lo(this,Fo,void 0),Lo(this,Wo,void 0),Lo(this,Uo,(e=>{e&&((0,i.kG)(zo(this,Fo),{code:a.mA.REACT_NODE_VIEW,message:`You have applied a ref to a node view provided for '${zo(this,Ho).type.name}' which doesn't support content.`}),e.append(zo(this,Fo)))})),this.Component=()=>{const e=zo(this,Do);return(0,i.kG)(e,{code:a.mA.REACT_NODE_VIEW,message:`The custom react node view provided for ${zo(this,Ho).type.name} doesn't have a valid ReactComponent`}),o.createElement(e,{updateAttributes:this.updateAttributes,selected:this.selected,view:zo(this,Po),getPosition:zo(this,$o),node:zo(this,Ho),forwardRef:zo(this,Uo),decorations:zo(this,No)})},this.updateAttributes=e=>{if(!zo(this,Po).editable)return;const t=zo(this,$o).call(this);if(null==t)return;const n=zo(this,Po).state.tr.setNodeMarkup(t,void 0,{...zo(this,Ho).attrs,...e});zo(this,Po).dispatch(n)},(0,i.kG)((0,i.mf)(e),{message:"You are attempting to use a node view for a mark type. This is not supported yet. Please check your configuration."}),_o(this,Ho,t),_o(this,Po,r),_o(this,Io,n),_o(this,Do,s),_o(this,$o,e),_o(this,Vo,l),_o(this,Wo,this.createDom());const{contentDOM:c,wrapper:u}=this.createContentDom()??{};_o(this,Bo,c??void 0),_o(this,Fo,u),zo(this,Fo)&&zo(this,Wo).append(zo(this,Fo)),this.setDomAttributes(zo(this,Ho),zo(this,Wo)),this.Component.displayName=(0,So.Ho)(`${zo(this,Ho).type.name}NodeView`),this.renderComponent()}static create(e){const{portalContainer:t,ReactComponent:n,options:r}=e;return(e,o,i)=>new Go({options:r,node:e,view:o,getPosition:i,portalContainer:t,ReactComponent:n})}get selected(){return zo(this,jo)}get contentDOM(){return zo(this,Bo)}get dom(){return zo(this,Wo)}renderComponent(){zo(this,Io).render({Component:this.Component,container:zo(this,Wo)})}createDom(){const{defaultBlockNode:e,defaultInlineNode:t}=zo(this,Vo),n=zo(this,Ho).isInline?document.createElement(t):document.createElement(e);return n.classList.add(`${(0,So.GL)(zo(this,Ho).type.name)}-node-view-wrapper`),n}createContentDom(){var e,t;if(zo(this,Ho).isLeaf)return;const n=null==(t=(e=zo(this,Ho).type.spec).toDOM)?void 0:t.call(e,zo(this,Ho));if(!n)return;const{contentDOM:r,dom:o}=Co.PW.renderSpec(document,n);let i;return(0,$r.jd)(o)?(i=o,o===r&&(i=document.createElement("span"),i.classList.add(`${(0,So.GL)(zo(this,Ho).type.name)}
74-node-view-content-wrapper`),i.append(r)),(0,$r.jd)(r),{wrapper:i,contentDOM:r}):void 0}update(e,t){return!!(0,$r.$9)({types:zo(this,Ho).type,node:e})&&(zo(this,Ho)===e&&zo(this,No)===t||(zo(this,Ho).sameMarkup(e)||this.setDomAttributes(e,zo(this,Wo)),_o(this,Ho,e),_o(this,No,t),this.renderComponent()),!0)}setDomAttributes(e,t){const{toDOM:n}=zo(this,Ho).type.spec;let r=e.attrs;if(n){const t=n(e);if((0,i.HD)(t)||(o=t,(0,$r.mV)(o)||(0,i.PO)(o)&&(0,$r.mV)(o.dom)))return;(0,i.PO)(t[1])&&(r=t[1])}var o;for(const[a,s]of(0,i.qh)(r))t.setAttribute(a,s)}selectNode(){_o(this,jo,!0),zo(this,Wo)&&zo(this,Wo).classList.add(a.Eg),this.renderComponent()}deselectNode(){_o(this,jo,!1),zo(this,Wo)&&zo(this,Wo).classList.remove(a.Eg),this.renderComponent()}destroy(){zo(this,Io).remove(zo(this,Wo))}ignoreMutation(e){return"selection"===e.type?!zo(this,Ho).type.spec.selectable:!zo(this,Fo)||!zo(this,Fo).contains(e.target)}stopEvent(e){var t;if(!zo(this,Wo))return!1;if((0,i.mf)(zo(this,Vo).stopEvent))return zo(this,Vo).stopEvent({event:e});const n=e.target;if(!(zo(this,Wo).contains(n)&&!(null==(t=this.contentDOM)?void 0:t.contains(n))))return!1;const r="drop"===e.type;if((["INPUT","BUTTON","SELECT","TEXTAREA"].includes(n.tagName)||n.isContentEditable)&&!r)return!0;const o=!!zo(this,Ho).type.spec.draggable,a=Oo.qv.isSelectable(zo(this,Ho)),s="copy"===e.type,l="paste"===e.type,c="cut"===e.type,u="mousedown"===e.type,d=e.type.startsWith("drag");return!o&&a&&d&&e.preventDefault(),!(d||r||s||l||c||u&&a)}},qo=Go;Ho=new WeakMap,No=new WeakMap,Po=new WeakMap,Io=new WeakMap,Do=new WeakMap,$o=new WeakMap,Vo=new WeakMap,jo=new WeakMap,Bo=new WeakMap,Fo=new WeakMap,Wo=new WeakMap,Uo=new WeakMap;var Xo=class extends Dr.nNj{constructor(){super(...arguments),this.portalContainer=new class{constructor(){this.portals=new Map,Lo(this,wo,(0,Eo.i)()),this.on=e=>zo(this,wo).on("update",e),this.once=e=>{const t=zo(this,wo).on("update",(n=>{t(),e(n)}));return t}}update(){zo(this,wo).emit("update",this.portals)}render({Component:e,container:t}){const n=this.portals.get(t);this.portals.set(t,{Component:e,key:(null==n?void 0:n.key)??(0,i.EL)()}),this.update()}forceUpdate(){for(const[e,{Component:t}]of this.portals)this.portals.set(e,{Component:t,key:(0,i.EL)()})}remove(e){this.portals.delete(e),this.update()}}}get name(){return"reactComponent"}onCreate(){this.store.setStoreKey("portalContainer",this.portalContainer)}createNodeViews(){const e=(0,i.Ry)(),t=this.store.managerSettings.nodeViewComponents??{};for(const r of this.store.extensions)r.ReactComponent&&(0,Dr.JZE)(r)&&"ssr"!==r.reactComponentEnvironment&&(e[r.name]=qo.create({options:this.options,ReactComponent:r.ReactComponent,portalContainer:this.portalContainer}));const n=(0,i.qh)({...this.options.nodeViewComponents,...t});for(const[r,o]of n)e[r]=qo.create({options:this.options,ReactComponent:o,portalContainer:this.portalContainer});return e}};Xo=((e,t,n,r)=>{for(var o,i=r>1?void 0:r?Ao(t,n):t,a=e.length-1;a>=0;a--)(o=e[a])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&To(t,n,i),i})([(0,Dr.AOx)({defaultOptions:{defaultBlockNode:"div",defaultInlineNode:"span",defaultContentNode:"span",defaultEnvironment:"both",nodeViewComponents:{},stopEvent:null},staticKeys:["defaultBlockNode","defaultInlineNode","defaultContentNode","defaultEnvironment"]})],Xo);var Yo=Object.defineProperty,Zo=Object.getOwnPropertyDescriptor,Qo={...ko.defaultOptions,...Xo.defaultOptions},Jo=[...ko.staticKeys,...Xo.staticKeys],ei=class extends Dr.nNj{get name(){return"react"}onSetOptions(e){const{pickChanged:t}=e;this.getExtension(ko).setOptions(t(["placeholder"]))}createExtensions(){const{emptyNodeClass:e,placeholder:t,defaultBlockNode:n,defaultContentNode:r,defaultEnvironment:o,defaultInlineNode:i,nodeViewComponents:s}=this.options;return[new ko({emptyNodeClass:e,placeholder:t,priority:a.xV.Low}),new Xo({defaultBlockNode:n,defaultContentNode:r,defaultEnvironment:o,defaultInlineNode:i,nodeViewComponents:s})]}};ei=((e,t,n,r)=>{for(var o,i=r>1?void 0:r?Zo(t,n):t,a=e.length-1;a>=0;a--)(o=e[a])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&Yo(t,n,i),i})([(0,Dr.AOx)({defaultOptions:Qo,staticKeys:Jo})],ei);var ti=n(99601),ni=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},ri=(e,t,n)=>(ni(e,t,"read from private field"),n?n.call(e):t.get(e));var oi=(0,o.createContext)(null);function ii(e){const t=(0,o.useContext)(oi),n=(0,o.useRef)(function(){const[,e]=(0,o.useState)((0,i.Ry)());return(0,o.useCallback)((()=>{e((0,i.Ry)())}),[])}());(0,i.kG)(t,{code:a.mA.REACT_PROVIDER_CONTEXT});const{addHandler:r}=t;return(0,o.useEffect)((()=>{let t=e;if(t){if((0,i.PO)(t)){const{autoUpdate:e}=t;t=e?()=>n.current():void 0}if((0,i.mf)(t))return r("updated",t)}}),[r,e]),t}function ai(e=!0){return ii({autoUpdate:e}).active}function si(){return ii().commands}function li(e){const{hasExtension:t}=ii();return(0,o.useMemo)((()=>t(e)),[e,t])}function ci(e=!1){return ii(e?{autoUpdate:!0}:void 0).helpers}var ui,di,[pi,hi]=(ui=({props:e})=>{const t=e.locale??"en",n=e.i18n??O,r=e.supportedLocales??[t],o=n._.bind(n);return{locale:t,i18n:n,supportedLocales:r,t:o}},s((e=>{const t=(0,o.useRef)(null),n=(0,o.useRef)(),r=null==di?void 0:di(e),[i,a]=(0,o.useState)((()=>ui({get:c(t),set:u(n),previousContext:void 0,props:e,state:r}))),s=[...Object.values(e),r];return(0,o.useEffect)((()=>{0!==s.length&&a((o=>ui({get:c(t),set:u(n),previousContext:o,props:e,state:r})))}),s),t.current=i,n.current=a,i})));function fi(e,t={}){const{core:n,react:r,...o}=t;return(0,Dr.ZQL)(e)?e:Dr.Ao0.create((()=>[...(0,i.r2)(e),new ei(r),...go(n)]),o)}var mi,gi="object"===typeof ti&&ti.__esModule&&ti.default?ti.default:ti,vi=class extends Dr.gQe{constructor(e){super(e),((e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)})(this,mi,void 0),this.rootPropsConfig={called:!1,count:0},this.getRootProps=e=>this.internalGetRootProps(e,null),this.internalGetRootProps=(e,t)=>{this.rootPropsConfig.called=!0;const{refKey:n="ref",ref:r,...o}=e??(0,i.Ry)();return{[n]:gi(r,this.onRef),key:this.uid,...o,children:t}},this.onRef=e=>{var t,n,r,o;e&&(this.rootPropsConfig.count+=1,(0,i.kG)(this.rootPropsConfig.count<=1,{code:a.mA.REACT_GET_ROOT_PROPS,message:`Called ${this.rootPropsConfig.count} times`}),r=e,ni(t=this,n=mi,"write to private field"),o?o.call(t,r):n.set(t,r),this.onRefLoad())},this.manager.view?this.manager.view.setProps({state:this.manager.view.state,dispatchTransaction:this.dispatchTransaction,attributes:()=>this.getAttributes(),editable:()=>this.props.editable??!0}):this.manager.getExtension(ko).setOptions({placeholder:this.props.placeholder??""})}get name(){return"react"}update(e){return super.update(e),this}createView(e){return new vo.tk(null,{state:e,dispatchTransaction:this.dispatchTransaction,attributes:()=>this.getAttributes(),editable:()=>this.props.editable??!0,plugins:[]})}updateState({state:e,...t}){const{triggerChange:n=!0,tr:r,transactions:o}=t;if(this.props.state){const{onChange:t}=this.props;return(0,i.kG)(t,{code:a.mA.REACT_CONTROLLED,message:"You are required to provide the `onChange` handler when creating a controlled editor."}),(0,i.kG)(n,{code:a.mA.REACT_CONTROLLED,message:"Controlled editors do not support `clearContent` or `setContent` where `triggerChange` is `true`. Update the `state` prop instead."}),this.previousStateOverride||(this.previousStateOverride=this.getState()),void this.onChange({state:e,tr:r,transactions:o})}r||o||(e=e.apply(e.tr.setMeta(a.zr,{}))),this.view.updateState(e),n&&0!==(null==o?void 0:o.length)&&this.onChange({state:e,tr:r,transactions:o}),this.manager.onStateUpdate({previousState:this.previousState,state:e,tr:r,transactions:o})}updateControlledState(e,t){this.previousStateOverride=t,e=e.apply(e.tr.setMeta(a.zr,{})),this.view.updateState(e),this.manager.onStateUpdate({previousState:this.previousState,state:e}),this.previousStateOverride=void 0}
74addProsemirrorViewToDom(e,t){"start"===this.props.insertPosition?e.insertBefore(t,e.firstChild):e.append(t)}onRefLoad(){(0,i.kG)(ri(this,mi),{code:a.mA.REACT_EDITOR_VIEW,message:"Something went wrong when initializing the text editor. Please check your setup."});const{autoFocus:e}=this.props;this.addProsemirrorViewToDom(ri(this,mi),this.view.dom),e&&this.focus(e),this.onChange(),this.addFocusListeners()}onUpdate(){this.view&&ri(this,mi)&&this.view.setProps({...this.view.props,editable:()=>this.props.editable??!0})}get frameworkOutput(){return{...this.baseOutput,getRootProps:this.getRootProps,portalContainer:this.manager.store.portalContainer}}resetRender(){this.rootPropsConfig.called=!1,this.rootPropsConfig.count=0}};mi=new WeakMap;var yi="undefined"!==typeof document?o.useLayoutEffect:o.useEffect;function bi(e){const{manager:t,state:n}=e,{placeholder:r,editable:s}=e;(0,o.useRef)(!0).current&&!(0,i.le)(r)&&t.getExtension(ei).setOptions({placeholder:r}),(0,o.useEffect)((()=>{null!=r&&t.getExtension(ei).setOptions({placeholder:r})}),[r,t]);const[l]=(0,o.useState)((()=>{if(n)return n;const r=t.createEmptyDoc(),[o,a]=(0,i.kJ)(e.initialContent)?e.initialContent:[e.initialContent??r];return t.createState({content:o,selection:a})})),c=function(e){const t=(0,o.useRef)(e);t.current=e;const n=(0,o.useMemo)((()=>new vi(t.current)),[]);return n.update(e),n}({initialEditorState:l,getProps:()=>e});return(0,o.useEffect)((()=>()=>{c.destroy()}),[c]),(0,o.useEffect)((()=>{c.onUpdate()}),[s,c]),function(e){const{state:t}=e.props,n=(0,o.useRef)(!!t),r=function(e){const t=(0,o.useRef)();return yi((()=>{t.current=e})),t.current}(t);yi((()=>{const o=t?!0===n.current:!1===n.current;(0,i.kG)(o,{code:a.mA.REACT_CONTROLLED,message:n.current?"You have attempted to switch from a controlled to an uncontrolled editor. Once you set up an editor as a controlled editor it must always provide a `state` prop.":"You have provided a `state` prop to an uncontrolled editor. In order to set up your editor as controlled you must provide the `state` prop from the very first render."}),t&&t!==r&&e.updateControlledState(t,r??void 0)}),[t,r,e])}(c),c.frameworkOutput}function xi(e={}){const{content:t,document:n,selection:r,extensions:i,...a}=e,s=function(e,t={}){const n=(0,o.useRef)(e),r=(0,o.useRef)(t),[i,a]=(0,o.useState)((()=>fi(e,t)));return n.current=e,r.current=t,(0,o.useEffect)((()=>i.addHandler("destroy",(()=>{a((()=>fi(n.current,r.current)))}))),[i]),i}(i??(()=>[]),a),[l,c]=(0,o.useState)((()=>s.createState({selection:r,content:t??s.createEmptyDoc()}))),u=(0,o.useCallback)((({state:e})=>{c(e)}),[]),d=(0,o.useCallback)((()=>s.output),[s]);return(0,o.useMemo)((()=>({state:l,setState:c,manager:s,onChange:u,getContext:d})),[d,s,u,l])}var ki=()=>o.createElement("div",{className:yo.kd.EDITOR_WRAPPER,...ii().getRootProps()}),wi=e=>(e.hook(),null);function Ei(e){const{children:t,autoRender:n,i18n:r,locale:a,supportedLocales:s,hooks:l=[],...c}=e,u=bi(c),d=function(e){const[t,n]=(0,o.useState)((()=>Array.from(e.portals.entries())));return(0,o.useEffect)((()=>e.on((e=>{n(Array.from(e.entries()))}))),[e]),(0,o.useMemo)((()=>t),[t])}(u.portalContainer),p="start"===n||!0===n||!t&&(0,i.le)(n),h="end"===n;return o.createElement(pi,{i18n:r,locale:a,supportedLocales:s},o.createElement(oi.Provider,{value:u},o.createElement(Ko,{portals:d}),l.map(((e,t)=>o.createElement(wi,{hook:e,key:t}))),p&&o.createElement(ki,null),t,h&&o.createElement(ki,null)))}},31026:function(e,t,n){"use strict";function r(e,t,n){return Math.min(Math.max(e,n),t)}n.d(t,{kd:function(){return S},X5:function(){return C},uV:function(){return O},Jl:function(){return T},MQ:function(){return A},_x:function(){return R},bu:function(){return z},C6:function(){return L},Ie:function(){return _},U9:function(){return X}});class o extends Error{constructor(e){super(`Failed to parse color: "${e}"`)}}var i=o;function a(e){if("string"!==typeof e)throw new i(e);if("transparent"===e.trim().toLowerCase())return[0,0,0,0];let t=e.trim();t=f.test(e)?function(e){const t=e.toLowerCase().trim(),n=l[function(e){let t=5381,n=e.length;for(;n;)t=33*t^e.charCodeAt(--n);return(t>>>0)%2341}(t)];if(!n)throw new i(e);return`#${n}`}(e):e;const n=u.exec(t);if(n){const e=Array.from(n).slice(1);return[...e.slice(0,3).map((e=>parseInt(c(e,2),16))),parseInt(c(e[3]||"f",2),16)/255]}const o=d.exec(t);if(o){const e=Array.from(o).slice(1);return[...e.slice(0,3).map((e=>parseInt(e,16))),parseInt(e[3]||"ff",16)/255]}const a=p.exec(t);if(a){const e=Array.from(a).slice(1);return[...e.slice(0,3).map((e=>parseInt(e,10))),parseFloat(e[3]||"1")]}const s=h.exec(t);if(s){const[t,n,o,a]=Array.from(s).slice(1).map(parseFloat);if(r(0,100,n)!==n)throw new i(e);if(r(0,100,o)!==o)throw new i(e);return[...g(t,n,o),Number.isNaN(a)?1:a]}throw new i(e)}const s=e=>parseInt(e.replace(/_/g,""),36),l="1q29ehhb 1n09sgk7 1kl1ekf_ _yl4zsno 16z9eiv3 1p29lhp8 _bd9zg04 17u0____ _iw9zhe5 _to73___ _r45e31e _7l6g016 _jh8ouiv _zn3qba8 1jy4zshs 11u87k0u 1ro9yvyo 1aj3xael 1gz9zjz0 _3w8l4xo 1bf1ekf_ _ke3v___ _4rrkb__ 13j776yz _646mbhl _nrjr4__ _le6mbhl 1n37ehkb _m75f91n _qj3bzfz 1939yygw 11i5z6x8 _1k5f8xs 1509441m 15t5lwgf _ae2th1n _tg1ugcv 1lp1ugcv 16e14up_ _h55rw7n _ny9yavn _7a11xb_ 1ih442g9 _pv442g9 1mv16xof 14e6y7tu 1oo9zkds 17d1cisi _4v9y70f _y98m8kc 1019pq0v 12o9zda8 _348j4f4 1et50i2o _8epa8__ _ts6senj 1o350i2o 1mi9eiuo 1259yrp0 1ln80gnw _632xcoy 1cn9zldc _f29edu4 1n490c8q _9f9ziet 1b94vk74 _m49zkct 1kz6s73a 1eu9dtog _q58s1rz 1dy9sjiq __u89jo3 _aj5nkwg _ld89jo3 13h9z6wx _qa9z2ii _l119xgq _bs5arju 1hj4nwk9 1qt4nwk9 1ge6wau6 14j9zlcw 11p1edc_ _ms1zcxe _439shk6 _jt9y70f _754zsow 1la40eju _oq5p___ _x279qkz 1fa5r3rv _yd2d9ip _424tcku _8y1di2_ _zi2uabw _yy7rn9h 12yz980_ __39ljp6 1b59zg0x _n39zfzp 1fy9zest _b33k___ _hp9wq92 1il50hz4 _io472ub _lj9z3eo 19z9ykg0 _8t8iu3a 12b9bl4a 1ak5yw0o _896v4ku _tb8k8lv _s59zi6t _c09ze0p 1lg80oqn 1id9z8wb _238nba5 1kq6wgdi _154zssg _tn3zk49 _da9y6tc 1sg7cv4f _r12jvtt 1gq5fmkz 1cs9rvci _lp9jn1c _xw1tdnb 13f9zje6 16f6973h _vo7ir40 _bt5arjf _rc45e4t _hr4e100 10v4e100 _hc9zke2 _w91egv_ _sj2r1kk 13c87yx8 _vqpds__ _ni8ggk8 _tj9yqfb 1ia2j4r4 _7x9b10u 1fc9ld4j 1eq9zldr _5j9lhpx _ez9zl6o _md61fzm".split(" ").reduce(((e,t)=>{const n=s(t.substring(0,3)),r=s(t.substring(3)).toString(16);let o="";for(let i=0;i<6-r.length;i++)o+="0";return e[n]=`${o}${r}`,e}),{});const c=(e,t)=>Array.from(Array(t)).map((()=>e)).join(""),u=new RegExp(`^#${c("([a-f0-9])",3)}([a-f0-9])?$`,"i"),d=new RegExp(`^#${c("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),p=new RegExp(`^rgba?\\(\\s*(\\d+)\\s*${c(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),h=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,f=/^[a-z]+$/i,m=e=>Math.round(255*e),g=(e,t,n)=>{let r=n/100;if(0===t)return[r,r,r].map(m);const o=(e%360+360)%360/60,i=(1-Math.abs(2*r-1))*(t/100),a=i*(1-Math.abs(o%2-1));let s=0,l=0,c=0;o>=0&&o<1?(s=i,l=a):o>=1&&o<2?(s=a,l=i):o>=2&&o<3?(l=i,c=a):o>=3&&o<4?(l=a,c=i):o>=4&&o<5?(s=a,c=i):o>=5&&o<6&&(s=i,c=a);const u=r-i/2;return[s+u,l+u,c+u].map(m)};function v(e){const[t,n,r,o]=a(e).map(((e,t)=>3===t?e:e/255)),i=Math.max(t,n,r),s=Math.min(t,n,r),l=(i+s)/2;if(i===s)return[0,0,l,o];const c=i-s;return[60*(t===i?(n-r)/c+(n<r?6:0):n===i?(r-t)/c+2:(t-n)/c+4),l>.5?c/(2-i-s):c/(i+s),l,o]}function y(e,t,n,o){return`hsla(${(e%360).toFixed()}, ${r(0,100,100*t).toFixed()}%, ${r(0,100,100*n).toFixed()}%, ${parseFloat(r(0,1,o).toFixed(3))})`}function b(e,t){const[n,r,o,i]=v(e);return y(n,r,o-t,i)}function x(e){if("transparent"===e)return 0;function t(e){const t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}const[n,r,o]=a(e);return.2126*t(n)+.7152*t(r)+.0722*t(o)}function k(e,t,n,o){return`rgba(${r(0,255,e).toFixed()}, ${r(0,255,t).toFixed()}, ${r(0,255,n).toFixed()}, ${parseFloat(r(0,1,o).toFixed(3))})`}function w(e,t){return b(e,-t)}function E(e,t){const[n,r,o,i]=a(e);return k(n,r,o,i-t)}function M(e){return function(e){return x(e)>.179}(e)?"#000":"#fff"}var S=Object.freeze({__proto__:null,ANIMATED_POPOVER:"remirror-animated-popover",BUTTON:"remirror-button",BUTTON_ACTIVE:"remirror-button-active",COLOR_PICKER:"remirror-color-picker",COLOR_PICKER_CELL:"remirror-color-picker-cell",COLOR_PICKER_CELL_SELECTED:"remirror-color-picker-cell-selected",COMPOSITE:"remirror-composite",DIALOG:"remirror-dialog",DIALOG_BACKDROP:"remirror-dialog-backdrop",EDITOR_WRAPPER:"remirror-editor-wrapper",FLEX_COLUMN:"remirror-flex-column",FLEX_ROW:"remirror-flex-row",FLOATING_POPOVER:"remirror-floating-popover",FORM:"remirror-form",FORM_GROUP:"remirror-form-group",FORM_LABEL:"remirror-form-label",FORM_MESSAGE:"remirror-form-message",GROUP:"remirror-group",INPUT:"remirror-input",MENU:"remirror-menu",MENU_BAR:"remirror-menu-bar",MENU_BUTTON:"remirror-menu-button",MENU_BUTTON_LEFT:"remirror-menu-button-left",MENU_BUTTON_NEST
74ED_LEFT:"remirror-menu-button-nested-left",MENU_BUTTON_NESTED_RIGHT:"remirror-menu-button-nested-right",MENU_BUTTON_RIGHT:"remirror-menu-button-right",MENU_DROPDOWN_LABEL:"remirror-menu-dropdown-label",MENU_GROUP:"remirror-menu-group",MENU_ITEM:"remirror-menu-item",MENU_ITEM_CHECKBOX:"remirror-menu-item-checkbox",MENU_ITEM_COLUMN:"remirror-menu-item-column",MENU_ITEM_RADIO:"remirror-menu-item-radio",MENU_ITEM_ROW:"remirror-menu-item-row",MENU_PANE:"remirror-menu-pane",MENU_PANE_ACTIVE:"remirror-menu-pane-active",MENU_PANE_ICON:"remirror-menu-pane-icon",MENU_PANE_LABEL:"remirror-menu-pane-label",MENU_PANE_SHORTCUT:"remirror-menu-pane-shortcut",POPOVER:"remirror-popover",ROLE:"remirror-role",SEPARATOR:"remirror-separator",TAB:"remirror-tab",TABBABLE:"remirror-tabbable",TABLE_SIZE_EDITOR:"remirror-table-size-editor",TABLE_SIZE_EDITOR_BODY:"remirror-table-size-editor-body",TABLE_SIZE_EDITOR_CELL:"remirror-table-size-editor-cell",TABLE_SIZE_EDITOR_CELL_SELECTED:"remirror-table-size-editor-cell-selected",TABLE_SIZE_EDITOR_FOOTER:"remirror-table-size-editor-footer",TAB_LIST:"remirror-tab-list",TOOLBAR:"remirror-toolbar",TOOLTIP:"remirror-tooltip"});var C=Object.freeze({__proto__:null,CALLOUT_EMOJI_WRAPPER:"remirror-callout-emoji-wrapper",EDITOR:"remirror-editor"});var O=Object.freeze({__proto__:null,A11Y_DARK:"remirror-a11y-dark",ATOM_DARK:"remirror-atom-dark",BASE16_ATELIERSULPHURPOOL_LIGHT:"remirror-base16-ateliersulphurpool-light",CB:"remirror-cb",DARCULA:"remirror-darcula",DRACULA:"remirror-dracula",DUOTONE_DARK:"remirror-duotone-dark",DUOTONE_EARTH:"remirror-duotone-earth",DUOTONE_FOREST:"remirror-duotone-forest",DUOTONE_LIGHT:"remirror-duotone-light",DUOTONE_SEA:"remirror-duotone-sea",DUOTONE_SPACE:"remirror-duotone-space",GH_COLORS:"remirror-gh-colors",HOPSCOTCH:"remirror-hopscotch",LANGUAGE_SELECT_POSITIONER:"remirror-language-select-positioner",LANGUAGE_SELECT_WIDTH:"remirror-language-select-width",POJOAQUE:"remirror-pojoaque",VS:"remirror-vs",WRAP:"remirror-wrap",XONOKAI:"remirror-xonokai"});var T=Object.freeze({__proto__:null,IMAGE_LOADER:"remirror-image-loader"});var A=Object.freeze({__proto__:null,COLLAPSIBLE_LIST_ITEM_BUTTON:"remirror-collapsible-list-item-button",COLLAPSIBLE_LIST_ITEM_CLOSED:"remirror-collapsible-list-item-closed",EDITOR:"remirror-editor",LIST_ITEM_CHECKBOX:"remirror-list-item-checkbox",LIST_ITEM_MARKER_CONTAINER:"remirror-list-item-marker-container",LIST_ITEM_WITH_CUSTOM_MARKER:"remirror-list-item-with-custom-mark",LIST_SPINE:"remirror-list-spine",UL_LIST_CONTENT:"remirror-ul-list-content"});var R=Object.freeze({__proto__:null,IS_EMPTY:"remirror-is-empty"});var z=Object.freeze({__proto__:null,EDITOR:"remirror-editor",POSITIONER:"remirror-positioner",POSITIONER_WIDGET:"remirror-positioner-widget"});const L="remirror-theme";function _(e={}){const t=[],n={};function r(e,o){if("string"===typeof o||"number"===typeof o)return t.push(`${N(e)}: ${o};`),void(n[N(e)]=o);if("object"===typeof o&&o)for(const[t,n]of Object.entries(o))r([...e,t],n)}for(const[o,i]of Object.entries(e))r([o],i);return{css:t.join("\n"),styles:n}}function H(e){return e.replace(/([a-z])([\dA-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase()}function N(e){return`--rmr-${e.map(H).join("-")}`}const P={gray:["#f8f9fa","#f1f3f5","#e9ecef","#dee2e6","#ced4da","#adb5bd","#868e96","#495057","#343a40","#212529"],red:["#fff5f5","#ffe3e3","#ffc9c9","#ffa8a8","#ff8787","#ff6b6b","#fa5252","#f03e3e","#e03131","#c92a2a"],pink:["#fff0f6","#ffdeeb","#fcc2d7","#faa2c1","#f783ac","#f06595","#e64980","#d6336c","#c2255c","#a61e4d"],grape:["#f8f0fc","#f3d9fa","#eebefa","#e599f7","#da77f2","#cc5de8","#be4bdb","#ae3ec9","#9c36b5","#862e9c"],violet:["#f3f0ff","#e5dbff","#d0bfff","#b197fc","#9775fa","#845ef7","#7950f2","#7048e8","#6741d9","#5f3dc4"],indigo:["#edf2ff","#dbe4ff","#bac8ff","#91a7ff","#748ffc","#5c7cfa","#4c6ef5","#4263eb","#3b5bdb","#364fc7"],blue:["#e7f5ff","#d0ebff","#a5d8ff","#74c0fc","#4dabf7","#339af0","#228be6","#1c7ed6","#1971c2","#1864ab"],cyan:["#e3fafc","#c5f6fa","#99e9f2","#66d9e8","#3bc9db","#22b8cf","#15aabf","#1098ad","#0c8599","#0b7285"],teal:["#e6fcf5","#c3fae8","#96f2d7","#63e6be","#38d9a9","#20c997","#12b886","#0ca678","#099268","#087f5b"],green:["#ebfbee","#d3f9d8","#b2f2bb","#8ce99a","#69db7c","#51cf66","#40c057","#37b24d","#2f9e44","#2b8a3e"],lime:["#f4fce3","#e9fac8","#d8f5a2","#c0eb75","#a9e34b","#94d82d","#82c91e","#74b816","#66a80f","#5c940d"],yellow:["#fff9db","#fff3bf","#ffec99","#ffe066","#ffd43b","#fcc419","#fab005","#f59f00","#f08c00","#e67700"],orange:["#fff4e6","#ffe8cc","#ffd8a8","#ffc078","#ffa94d","#ff922b","#fd7e14","#f76707","#e8590c","#d9480f"]},I="#000000",D="#ffffff",$=E(I,.75),V="#7963d2",j="#bcd263",B=P.gray[1],F="rgba(10,31,68,0.08)",W="rgba(10,31,68,0.10)",U="rgba(10,31,68,0.12)",K={background:D,border:$,foreground:I,muted:B,primary:V,secondary:j,primaryText:"#fff",secondaryText:"#fff",text:"#252103",faded:w(E(I,.1),.13)},G={...K,background:b(D,.15),border:b($,.15),foreground:b(I,.15),muted:b(B,.15),primary:b(V,.15),secondary:b(j,.15),get text(){return M(this.background)},get primaryText(){return M(this.primary)},get secondaryText(){return M(this.secondary)}},q={...K,background:b(D,.075),border:b($,.075),foreground:b(I,.075),muted:b(B,.075),primary:b(V,.075),secondary:b(j,.075),get text(){return M(this.background)},get primaryText(){return M(this.primary)},get secondaryText(){return M(this.secondary)}},X={color:{...K,active:G,hover:q,shadow1:F,shadow2:W,shadow3:U,backdrop:E(I,.1),outline:E(V,.6),table:{default:{border:w(I,.8),cell:w(I,.4),controller:P.gray[3]},selected:{border:P.blue[7],cell:P.blue[1],controller:P.blue[5]},preselect:{border:P.blue[7],cell:w(I,.4),controller:P.blue[5]},predelete:{border:P.red[7],cell:P.red[1],controller:P.red[5]},mark:"#91919196"}},hue:P,radius:{border:"0.25rem",extra:"0.5rem",circle:"50%"},fontFamily:{default:'system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif',heading:"inherit",mono:"Menlo, monospace"}
74,fontSize:{0:"12px",1:"14px",2:"16px",3:"20px",4:"24px",5:"32px",6:"48px",7:"64px",8:"96px",default:"16px"},space:{1:"4px",2:"8px",3:"16px",4:"32px",5:"64px",6:"128px",7:"256px",8:"512px"},fontWeight:{bold:"700",default:"400",heading:"700"},letterSpacing:{tight:"-1px",default:"normal",loose:"1px",wide:"3px"},lineHeight:{heading:"1.25em",default:"1.5em"},boxShadow:{1:`0 1px 1px ${F}`,2:`0 1px 1px ${W}`,3:`0 1px 1px ${U}`}}},31857:function(e,t,n){"use strict";n.d(t,{GL:function(){return l},Ho:function(){return s}});const r=/^[a-z\xe0-\xf6\xf8-\xff]+|[A-Z\xc0-\xd6\xd8-\xdf][a-z\xe0-\xf6\xf8-\xff]+|[a-z\xe0-\xf6\xf8-\xff]+|[0-9]+|[A-Z\xc0-\xd6\xd8-\xdf]+(?![a-z\xe0-\xf6\xf8-\xff])/g,o=/\S+/g;function i(e,t){const{keepSpecialCharacters:n=!1,keep:i,prefix:a=""}=t||{},s=e.trim().normalize("NFC"),l=s.includes(" "),c=function(e,t){const n={parts:[],prefixes:[]},r=e.matchAll(t);let o=0;for(const a of r){if("number"!==typeof a.index)continue;const t=a[0];n.parts.push(t);const r=e.slice(o,a.index).trim();n.prefixes.push(r),o=a.index+t.length}const i=e.slice(o).trim();return i&&(n.parts.push(""),n.prefixes.push(i)),n}(s,l?o:r);return c.parts.map(((e,t)=>{let r=c.prefixes[t]||"",o=e;return!1===n&&(i&&(o=o.normalize("NFD").replace(new RegExp(`[^a-zA-Z\xd8\xdf\xf80-9${i.join("")}]`,"g"),"")),i||(o=o.normalize("NFD").replace(/[^a-zA-Z\xd8\xdf\xf80-9]/g,""),r="")),i&&(r=r.replace(new RegExp(`[^${i.join("")}]`,"g"),"")),0===t?r+o:r||o?l&&!r&&a.match(/\s/)?" "+o:(r||a)+o:""})).filter(Boolean)}function a(e){const t=e.matchAll(r).next().value,n=t?t.index:0;return e.slice(0,n+1).toUpperCase()+e.slice(n+1).toLowerCase()}function s(e,t){return i(e,t).reduce(((e,t)=>e+a(t)),"")}function l(e,t){return i(e,{...t,prefix:"-"}).join("").toLowerCase()}},48111:function(e,t,n){"use strict";n.d(t,{i:function(){return r}});let r=()=>({events:{},emit(e,...t){(this.events[e]||[]).forEach((e=>e(...t)))},on(e,t){return(this.events[e]=this.events[e]||[]).push(t),()=>this.events[e]=(this.events[e]||[]).filter((e=>e!==t))}})},36912:function(e,t,n){"use strict";n.d(t,{Hw:function(){return a},S0:function(){return c},VK:function(){return i},dU:function(){return l},zK:function(){return u}});var r=n(2376),o=n(16560);class i{constructor(e,t){var n;this.match=e,this.match=e,this.handler="string"==typeof t?(n=t,function(e,t,r,o){let i=n;if(t[1]){let e=t[0].lastIndexOf(t[1]);i+=t[0].slice(e+t[1].length);let n=(r+=e)-o;n>0&&(i=t[0].slice(e-n,e)+i,r=o)}return e.tr.insertText(i,r,o)}):t}}function a({rules:e}){let t=new r.Sy({state:{init:()=>null,apply(e,t){let n=e.getMeta(this);return n||(e.selectionSet||e.docChanged?null:t)}},props:{handleTextInput:(n,r,o,i)=>s(n,r,o,i,e,t),handleDOMEvents:{compositionend:n=>{setTimeout((()=>{let{$cursor:r}=n.state.selection;r&&s(n,r.pos,r.pos,"",e,t)}))}}},isInputRules:!0});return t}function s(e,t,n,r,o,i){if(e.composing)return!1;let a=e.state,s=a.doc.resolve(t);if(s.parent.type.spec.code)return!1;let l=s.parent.textBetween(Math.max(0,s.parentOffset-500),s.parentOffset,null,"\ufffc")+r;for(let c=0;c<o.length;c++){let s=o[c].match.exec(l),u=s&&o[c].handler(a,s,t-(s[0].length-r.length),n);if(u)return e.dispatch(u.setMeta(i,{transform:u,from:t,to:n,text:r})),!0}return!1}const l=(e,t)=>{let n=e.plugins;for(let r=0;r<n.length;r++){let o,i=n[r];if(i.spec.isInputRules&&(o=i.getState(e))){if(t){let n=e.tr,r=o.transform;for(let e=r.steps.length-1;e>=0;e--)n.step(r.steps[e].invert(r.docs[e]));if(o.text){let t=n.doc.resolve(o.from).marks();n.replaceWith(o.from,o.to,e.schema.text(o.text,t))}else n.delete(o.from,o.to);t(n)}return!0}}return!1};new i(/--$/,"\u2014"),new i(/\.\.\.$/,"\u2026"),new i(/(?:^|[\s\{\[\(\<'"\u2018\u201C])(")$/,"\u201c"),new i(/"$/,"\u201d"),new i(/(?:^|[\s\{\[\(\<'"\u2018\u201C])(')$/,"\u2018"),new i(/'$/,"\u2019");function c(e,t,n=null,r){return new i(e,((e,i,a,s)=>{let l=n instanceof Function?n(i):n,c=e.tr.delete(a,s),u=c.doc.resolve(a).blockRange(),d=u&&(0,o.nd)(u,t,l);if(!d)return null;c.wrap(u,d);let p=c.doc.resolve(a-1).nodeBefore;return p&&p.type==t&&(0,o.Mn)(c.doc,a-1)&&(!r||r(i,p))&&c.join(a-1),c}))}function u(e,t,n=null){return new i(e,((e,r,o,i)=>{let a=e.doc.resolve(o),s=n instanceof Function?n(r):n;return a.node(-1).canReplaceWith(a.index(-1),a.indexAfter(-1),t)?e.tr.delete(o,i).setBlockType(o,o,t,s):null}))}},69400:function(e,t,n){"use strict";n.d(t,{N:function(){return s}});var r=n(12806),o=n(2376),i=n(378),a=n(57555);function s(e){const t=(0,a.DY)(e,((e,t)=>
74(t.priority??i.xV.Low)-(e.priority??i.xV.Low))),n=[],s=[];for(const r of t)m(r)?n.push(r):s.push(r);let c;return new o.Sy({key:l,view:e=>(c=e,{}),props:{transformPasted:e=>{var t,o,i;const s=c.state.selection.$from,l=s.node().type.name,u=new Set(s.marks().map((e=>e.type.name)));for(const d of n){if((null==(t=d.ignoredNodes)?void 0:t.includes(l))||(null==(o=d.ignoredMarks)?void 0:o.some((e=>u.has(e)))))continue;const n=(null==(i=e.content.firstChild)?void 0:i.textContent)??"",s=!c.state.selection.empty&&1===e.content.childCount&&n,p=(0,a.JD)(n,d.regexp)[0];if(s&&p&&"mark"===d.type&&d.replaceSelection){const{from:e,to:t}=c.state.selection,n=c.state.doc.slice(e,t),o=n.content.textBetween(0,n.content.size);if("boolean"!==typeof d.replaceSelection?d.replaceSelection(o):d.replaceSelection){const e=[],{getAttributes:t,markType:o}=d,i=(0,a.mf)(t)?t(p,!0):t,s=o.create(i);return n.content.forEach((t=>{if(t.isText){const n=s.addToSet(t.marks);e.push(t.mark(n))}})),r.p2.maxOpen(r.HY.fromArray(e))}}const{nodes:f,transformed:m}=h(e.content,d,c.state.schema);m&&(e="node"===d.type&&d.nodeType.isBlock?new r.p2(r.HY.fromArray(f),0,0):new r.p2(r.HY.fromArray(f),e.openStart,e.openEnd))}return function(e){const t=r.p2.maxOpen(e.content);return t.openStart<e.openStart||t.openEnd<e.openEnd?t:e}(e)},handleDOMEvents:{paste:(e,t)=>{var n,r;const o=t;if(!(null==(r=(n=e.props).editable)?void 0:r.call(n,e.state)))return!1;const{clipboardData:i}=o;if(!i)return!1;const a=[...i.items].map((e=>e.getAsFile())).filter((e=>!!e));if(0===a.length)return!1;const{selection:l}=e.state;for(const{fileHandler:c,regexp:u}of s){const t=u?a.filter((e=>u.test(e.type))):a;if(0!==t.length&&c({event:o,files:t,selection:l,view:e,type:"paste"}))return o.preventDefault(),!0}return!1},drop:(e,t)=>{var n,r,o;const i=t;if(!(null==(r=(n=e.props).editable)?void 0:r.call(n,e.state)))return!1;const{dataTransfer:a,clientX:l,clientY:c}=i;if(!a)return!1;const u=function(e){var t,n;const{dataTransfer:r}=e;if(!r)return[];if((null==(t=r.files)?void 0:t.length)>0)return[...r.files];if(null==(n=r.items)?void 0:n.length)return[...r.items].map((e=>e.getAsFile())).filter((e=>!!e));return[]}(i);if(0===u.length)return!1;const d=(null==(o=e.posAtCoords({left:l,top:c}))?void 0:o.pos)??e.state.selection.anchor;for(const{fileHandler:p,regexp:h}of s){const t=h?u.filter((e=>h.test(e.type))):u;if(0!==t.length&&p({event:i,files:t,pos:d,view:e,type:"drop"}))return i.preventDefault(),!0}return!1}}}})}var l=new o.H$("pasteRule");function c(e,t){return function n(o){const{fragment:i,rule:s,nodes:l}=o,{regexp:c,ignoreWhitespace:u,ignoredMarks:d,ignoredNodes:p}=s;let h=!1;return i.forEach((o=>{if((null==p?void 0:p.includes(o.type.name))||g(o))return void l.push(o);if(!o.isText){const e=n({fragment:o.content,rule:s,nodes:[]});h||(h=e.transformed);const t=r.HY.fromArray(e.nodes);return void(o.type.validContent(t)?l.push(o.copy(t)):l.push(...e.nodes))}if(o.marks.some((e=>v(e)||(null==d?void 0:d.includes(e.type.name)))))return void l.push(o);const i=o.text??"";let f=0;for(const n of(0,a.JD)(i,c)){const r=n[1],i=n[0];if(u&&""===(null==r?void 0:r.trim())||!i)return;const a=n.index,c=a+i.length;a>f&&l.push(o.cut(f,a));let d=o.cut(a,c);if(i&&r){const e=i.search(/\S/),t=a+i.indexOf(r),n=t+r.length;e&&l.push(o.cut(a,a+e)),d=o.cut(t,n)}e({nodes:l,rule:s,textNode:d,match:n,schema:t}),h=!0,f=c}i&&f<i.length&&l.push(o.cut(f))})),{nodes:l,transformed:h}}}function u(e){const{nodes:t,rule:n,textNode:r,match:o,schema:i}=e,{transformMatch:s,getAttributes:l,markType:c}=n,u=(0,a.mf)(l)?l(o,!1):l,d=r.text??"",p=c.create(u),h=null==s?void 0:s(o);if(""===h)return;if(!1===h)return void t.push(i.text(d,r.marks));const f=p.addToSet(r.marks);t.push(i.text(h??d,f))}function d(e){const{nodes:t,rule:n,textNode:r,match:o,schema:i}=e,{transformMatch:a}=n,s=null==a?void 0:a(o);if(""===s||!1===s)return;const l=s??r.text??"";t.push(i.text(l,r.marks))}function p(e){const{nodes:t,rule:n,textNode:r,match:o}=e,{getAttributes:i,nodeType:s,getContent:l}=n,c=(0,a.mf)(i)?i(o,!1):i,u=(l?l(o):r)||void 0;t.push(s.createChecked(c,u))}function h(e,t,n){const r=[];switch(t.type){case"mark":return c(u,n)({fragment:e,nodes:r,rule:t});case"node":return c(p,n)({fragment:e,nodes:r,rule:t});default:return c(d,n)({fragment:e,nodes:r,rule:t})}}
74var f=["mark","node","text"];function m(e){return(0,a.q9)(f,e.type)}function g(e){var t;return e.type.spec.code||(null==(t=e.type.spec.group)?void 0:t.split(" ").includes("code"))}function v(e){var t;return"code"===e.type.name||(null==(t=e.type.spec.group)?void 0:t.split(" ").includes("code"))}},84799:function(e,t,n){"use strict";n.d(t,{C$:function(){return K},D7:function(){return G},Ek:function(){return W},gn:function(){return U},hu:function(){return F},j4:function(){return E}});var r=n(2376),o=n(84348),i=n(57555),a=n(63150),s=n(378),l=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},c=(e,t,n)=>(l(e,t,"read from private field"),n?n.call(e):t.get(e)),u=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},d=(e,t,n,r)=>(l(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n);var p=["jump-backward-exit","jump-forward-exit"],h=["jump-backward-change","jump-forward-change"];function f(e){return!!(e&&e.query.full.length>=e.suggester.matchOffset)}function m(e){return(0,i.Kn)(e)&&e instanceof r.Bs}function g(e){const{match:t,changeReason:n,exitReason:r}=e;return{...t,changeReason:n,exitReason:r}}function v(e){const{text:t,regexp:n,$pos:r,suggester:o}=e,a=r.start();let l;return(0,i.JD)(t,n).forEach((e=>{if(function(e,t){const{invalidPrefixCharacters:n,validPrefixCharacters:r}=t;if(n)return!new RegExp(O(n)).test(e);return new RegExp(O(r)).test(e)}(e.input.slice(Math.max(0,e.index-1),e.index),o)){const t=e.index+a,n=e[0],c=e[1];if(!(0,i.HD)(n)||!(0,i.HD)(c))return;const u=t+n.length,d=Math.min(u,r.pos),p=d-t;t<r.pos&&u>=r.pos&&(l={range:{from:t,to:u,cursor:d},match:e,query:{partial:n.slice(c.length,p),full:n.slice(c.length)},text:{partial:n.slice(0,p),full:n},textAfter:r.doc.textBetween(u,r.end(),s.Vp,s.Vp),textBefore:r.doc.textBetween(a,t,s.Vp,s.Vp),suggester:o})}})),l}function y(e){const{$pos:t,suggester:n}=e,{char:r,name:o,startOfLine:l,supportedCharacters:c,matchOffset:u,multiline:d,caseInsensitive:p,unicode:h}=n,f=function(e){const{char:t,matchOffset:n,startOfLine:r,supportedCharacters:o,captureChar:s=!0,caseInsensitive:l=!1,multiline:c=!1,unicode:u=!1}=e,d=`g${c?"m":""}${l?"i":""}${u?"u":""}`;let p=function(e){return(0,i.HD)(e)?new RegExp(a(e)):e}(t).source;s&&(p=`(${p})`);return new RegExp(`${h=r,h?"^":""}${p}${function(e,t){return`(?:${O(e)}){${t},}`}(o,n)}`,d);var h}({char:r,matchOffset:u,startOfLine:l,supportedCharacters:c,multiline:d,caseInsensitive:p,unicode:h});return v({suggester:n,text:t.doc.textBetween(t.before(),t.end(),s.Vp,s.Vp),regexp:f,$pos:t,char:r,name:o})}function b(e){const{state:t,match:n}=e;try{return y({$pos:t.doc.resolve(n.range.cursor),suggester:n.suggester})}catch{return}}function x(e){const{prev:t,next:n,state:r}=e;return!n&&t.range.from>=r.doc.nodeSize?{exit:g({match:t,exitReason:"delete"})}:n&&t.query.partial?t.range.to===n.range.cursor?{exit:g({match:n,exitReason:"exit-end"})}:t.query.partial?{exit:g({match:n,exitReason:"exit-split"})}:{}:{exit:g({match:t,exitReason:"invalid-exit-split"})}}function k(e){const{prev:t,next:n,state:r,$pos:o}=e,a=(0,i.Ry)();if(!t&&!n)return a;const s={prev:t,next:n};return function(e){return!(!e.prev||!e.next||e.prev.range.from===e.next.range.from)}(s)?function(e){const{prev:t,next:n,state:r}=e,o=(0,i.Ry)(),a=b({state:r,match:t}),{exit:s}=a&&a.query.full!==t.query.full?x({prev:t,next:a,state:r}):o;return t.range.from<n.range.from?{exit:s??g({match:t,exitReason:"jump-forward-exit"}),change:g({match:n,changeReason:"jump-forward-change"})}:{exit:s??g({match:t,exitReason:"jump-backward-exit"}),change:g({match:n,changeReason:"jump-backward-change"})}}({prev:s.prev,next:s.next,state:r}):function(e){return!(e.prev||!e.next)}(s)?{change:g({match:s.next,changeReason:"start"})}:function(e){return!(!e.prev||e.next)}(s)?function(e){const{match:t,state:n,$pos:r}=e,{selection:o}=n,i=b({match:t,state:n});return i&&i.text.full===t.text.full?!o.empty&&(o.from<=t.range.from||o.to>=t.range.to)?{exit:g({match:t,exitReason:"selection-outside"})}:r.pos>t.range.to?{exit:g({match:t,exitReason:"move-end"})}:r.pos<=t.range.from?{exit:g({match:t,exitReason:"move-start"})}:{}:x({prev:t,next:i,state:n})}({$pos:o,match:s.prev,state:r}):function(e){return!(!e.prev||!e.next||e.prev.text.full===e.next.text.full)}(s)?{change:g({match:s.next,changeReason:"change-character"})}:function(e){return!(!e.prev||!e.next||e.prev.range.cursor===e.next.range.cursor)}(s)?{change:g({match:s.next,changeReason:r.selection.empty?"move":"selection-inside"})}:a}function w(e,t){for(let n=e.depth;n>0;n--){const r=e.node(n);if(t.includes(r.type.name))return!0}return!1}function E(e,t){const{$from:n,$to:r}=e;return!!M(e,t)||(0,i.w6)(n.pos,r.pos).some((e=>function(e,t){const n=new Set(e.marks().map((e=>
74e.type.name)));return t.some((e=>n.has(e)))}(n.doc.resolve(e),t)))}function M(e,t){const{$from:n,$to:r}=e,o=new Set((n.marksAcross(r)??[]).map((e=>e.type.name)));return t.some((e=>o.has(e)))}function S(e,t){const{$cursor:n}=t,{validMarks:r,validNodes:o,invalidMarks:a,invalidNodes:s}=e;return!(r||o||!(0,i.yD)(a)||!(0,i.yD)(s))||!(r&&!M(t,r))&&(!(o&&!w(n,o))&&(!(!r&&E(t,a))&&!(!o&&w(n,s))))}function C(e){const{suggesters:t,$pos:n,selectionEmpty:r}=e;for(const o of t)if(!o.emptySelectionsOnly||r)try{const e=y({suggester:o,$pos:n});if(!e)continue;const t={$from:n.doc.resolve(e.range.from),$to:n.doc.resolve(e.range.to),$cursor:n};if(S(o,t)&&o.isValidPosition(t,e))return e}catch{}}function O(e){return(0,i.Kj)(e)?e.source:e}var T,A,R,z,L,_,H,N,P,I={appendTransaction:!1,priority:50,ignoredTag:"span",matchOffset:0,disableDecorations:!1,startOfLine:!1,suggestClassName:"suggest",suggestTag:"span",supportedCharacters:/\w+/,validPrefixCharacters:/^[\s\0]?$/,invalidPrefixCharacters:null,ignoredClassName:null,invalidMarks:[],invalidNodes:[],validMarks:null,validNodes:null,isValidPosition:()=>!0,checkNextValidSelection:null,emptySelectionsOnly:!1,caseInsensitive:!1,multiline:!1,unicode:!1,captureChar:!0},D="__ignore_prosemirror_suggest_update__";var $=class{constructor(e){u(this,T,!1),u(this,A,!1),u(this,R,void 0),u(this,z,void 0),u(this,L,void 0),u(this,_,(0,i.Ry)()),u(this,H,o.EH.empty),u(this,N,!1),u(this,P,!1),this.setMarkRemoved=()=>{d(this,N,!0)},this.findNextTextSelection=e=>{const t=e.$from.doc,n=Math.min(t.nodeSize-2,e.to+1),o=t.resolve(n),i=r.Y1.findFrom(o,1,!0);if(m(i))return i},this.ignoreNextExit=()=>{d(this,A,!0)},this.addIgnored=({from:e,name:t,specific:n=!1})=>{const r=c(this,R).find((e=>e.name===t));if(!r)throw new Error(`No suggester exists for the name provided: ${t}`);const a=e+((0,i.HD)(r.char)?r.char.length:1),s=r.ignoredClassName?{class:r.ignoredClassName}:{}
74,l=o.p.inline(e,a,{nodeName:r.ignoredTag,...s},{name:t,specific:n,char:r.char});d(this,H,c(this,H).add(this.view.state.doc,[l]))},this.removeIgnored=({from:e,name:t})=>{const n=c(this,R).find((e=>e.name===t));if(!n)throw new Error(`No suggester exists for the name provided: ${t}`);const r=(0,i.HD)(n.char)?n.char.length:1,o=c(this,H).find(e,e+r)[0];o&&o.spec.name===t&&d(this,H,c(this,H).remove([o]))},this.clearIgnored=e=>{if(!e)return void d(this,H,o.EH.empty);const t=c(this,H).find().filter((({spec:t})=>t.name===e));d(this,H,c(this,H).remove(t))},this.findMatchAtPosition=(e,t)=>C({suggesters:t?c(this,R).filter((e=>e.name===t)):c(this,R),$pos:e,docChanged:!1,selectionEmpty:!0}),this.setLastChangeFromAppend=()=>{d(this,P,!0)};const t=j();d(this,R,e.map(t)),d(this,R,(0,i.DY)(c(this,R),((e,t)=>t.priority-e.priority)))}static create(e){return new $(e)}get decorationSet(){return c(this,H)}get removed(){return c(this,N)}get match(){return c(this,z)?c(this,z):c(this,L)&&c(this,_).exit?c(this,L):void 0}init(e){return this.view=e,this}createProps(e){const{name:t,char:n}=e.suggester;return{view:this.view,addIgnored:this.addIgnored,clearIgnored:this.clearIgnored,ignoreNextExit:this.ignoreNextExit,setMarkRemoved:this.setMarkRemoved,name:t,char:n,...e}}shouldRunExit(){return!c(this,A)||(d(this,A,!1),!1)}updateWithNextSelection(e){var t,n,r;const o=this.findNextTextSelection(e.selection);if(o)for(const i of c(this,R)){const a=null==(t=c(this,_).change)?void 0:t.suggester.name,s=null==(n=c(this,_).exit)?void 0:n.suggester.name;null==(r=i.checkNextValidSelection)||r.call(i,o.$from,e,{change:a,exit:s})}}changeHandler(e,t){const{change:n,exit:r}=c(this,_),o=this.match;if(!n&&!r||!f(o))return;const a=t===(null==r?void 0:r.suggester.appendTransaction)&&this.shouldRunExit(),s=t===(null==n?void 0:n.suggester.appendTransaction);if(a||s){if(n&&r&&function(e){var t,n;return(0,i.q9)(p,null==(t=e.exit)?void 0:t.exitReason)||(0,i.q9)(h,null==(n=e.change)?void 0:n.changeReason)}({change:n,exit:r})){const t=this.createProps(r),o=this.createProps(n);r.range.from,n.range.from;return a&&r.suggester.onChange(t,e),s&&n.suggester.onChange(o,e),void(a&&d(this,N,!1))}n&&s&&n.suggester.onChange(this.createProps(n),e),r&&a&&(r.suggester.onChange(this.createProps(r),e),d(this,N,!1),"invalid-exit-split"===r.exitReason&&d(this,_,(0,i.Ry)()))}}mapIgnoredDecorations(e){const t=c(this,H).map(e.mapping,e.doc),n=t.find().filter((({from:e,to:t,spec:n})=>t-e!==((0,i.HD)(n.char)?n.char.length:1)));d(this,H,t.remove(n))}shouldIgnoreMatch({range:e,suggester:{name:t}}){return c(this,H).find().some((({spec:n,from:r})=>r===e.from&&(!n.specific||n.name===t)))}resetState(){d(this,_,(0,i.Ry)()),d(this,z,void 0),d(this,N,!1),d(this,P,!1)}updateReasons(e){const{$pos:t,state:n}=e,r=c(this,T),o=c(this,R),i=n.selection.empty,a=m(n.selection)?C({suggesters:o,$pos:t,docChanged:r,selectionEmpty:i}):void 0;d(this,z,a&&this.shouldIgnoreMatch(a)?void 0:a),d(this,_,k({next:c(this,z),prev:c(this,L),state:n,$pos:t}))}addSuggester(e){const t=c(this,R).find((t=>t.name===e.name)),n=j();if(t)d(this,R,c(this,R).map((r=>r===t?n(e):r)));else{const t=[...c(this,R),n(e)];d(this,R,(0,i.DY)(t,((e,t)=>t.priority-e.priority)))}return()=>this.removeSuggester(e.name)}removeSuggester(e){const t=(0,i.HD)(e)?e:e.name;d(this,R,c(this,R).filter((e=>e.name!==t))),this.clearIgnored(t)}toJSON(){return this.match}apply(e){const{exit:t,change:n}=c(this,_);if(c(this,P)&&(d(this,P,!1),!(null==t?void 0:t.suggester.appendTransaction)&&!(null==n?void 0:n.suggester.appendTransaction)))return this;const{tr:r,state:o}=e,i=r.docChanged||r.selectionSet;return r.getMeta(D)||!i&&!c(this,N)||(d(this,T,r.docChanged),this.mapIgnoredDecorations(r),t&&this.resetState(),d(this,L,c(this,z)),this.updateReasons({$pos:r.selection.$from,state:o})),this}createDecorations(e){const t=this.match;if(!f(t))return c(this,H);const{disableDecorations:n}=t.suggester;if((0,i.mf)(n)?n(e,t):n)return c(this,H);const{range:r,suggester:a}=t,{name:s,suggestTag:l,suggestClassName:u}=a,{from:d,to:p}=r;return this.shouldIgnoreMatch(t)?c(this,H):c(this,H).add(e.doc,[o.p.inline(d,p,{nodeName:l,class:s?`${u} suggest-${s}`:u},{name:s})])}},V=$;function j(){const e=new Set;return t=>{if(e.has(t.name))throw new Error(`A suggester already exists with the name '${t.name}'. The name provided must be unique.`);const n={...I,...t};return e.add(t.name),n}}T=new WeakMap,A=new WeakMap,R=new WeakMap,z=new WeakMap,L=new WeakMap,_=new WeakMap,H=new WeakMap,N=new WeakMap,P=new WeakMap;var B=new r.H$("suggest");
74function F(e){return B.getState(e)}function W(e,t){return F(e).addSuggester(t)}function U(e){e.setMeta(D,!0)}function K(e,t){return F(e).removeSuggester(t)}function G(...e){const t=V.create(e);return new r.Sy({key:B,view:e=>(t.init(e),{update:e=>t.changeHandler(e.state.tr,!1)}),state:{init:()=>t,apply:(e,n,r,o)=>t.apply({tr:e,state:o})},appendTransaction:(e,n,r)=>{const o=r.tr;return t.updateWithNextSelection(o),t.changeHandler(o,!0),o.docChanged||o.steps.length>0||o.selectionSet||o.storedMarksSet?(t.setLastChangeFromAppend(),o):null},props:{decorations:e=>t.createDecorations(e)}})}},27856:function(e,t,n){"use strict";function r(e,t,n,r){var o,i=!1,a=0;function s(){o&&clearTimeout(o)}function l(){for(var l=arguments.length,c=new Array(l),u=0;u<l;u++)c[u]=arguments[u];var d=this,p=Date.now()-a;function h(){a=Date.now(),n.apply(d,c)}function f(){o=void 0}i||(r&&!o&&h(),s(),void 0===r&&p>e?h():!0!==t&&(o=setTimeout(r?f:h,void 0===r?e-p:e)))}return"boolean"!==typeof t&&(r=n,n=t,t=void 0),l.cancel=function(){s(),i=!0},l}function o(e,t,n){return void 0===n?r(e,t,!1):r(e,n,!1!==t)}n.d(t,{D:function(){return o},P:function(){return r}})},37452:function(e){"use strict";e.exports=JSON.parse('{"AElig":"\xc6","AMP":"&","Aacute":"\xc1","Acirc":"\xc2","Agrave":"\xc0","Aring":"\xc5","Atilde":"\xc3","Auml":"\xc4","COPY":"\xa9","Ccedil":"\xc7","ETH":"\xd0","Eacute":"\xc9","Ecirc":"\xca","Egrave":"\xc8","Euml":"\xcb","GT":">","Iacute":"\xcd","Icirc":"\xce","Igrave":"\xcc","Iuml":"\xcf","LT":"<","Ntilde":"\xd1","Oacute":"\xd3","Ocirc":"\xd4","Ograve":"\xd2","Oslash":"\xd8","Otilde":"\xd5","Ouml":"\xd6","QUOT":"\\"","REG":"\xae","THORN":"\xde","Uacute":"\xda","Ucirc":"\xdb","Ugrave":"\xd9","Uuml":"\xdc","Yacute":"\xdd","aacute":"\xe1","acirc":"\xe2","acute":"\xb4","aelig":"\xe6","agrave":"\xe0","amp":"&","aring":"\xe5","atilde":"\xe3","auml":"\xe4","brvbar":"\xa6","ccedil":"\xe7","cedil":"\xb8","cent":"\xa2","copy":"\xa9","curren":"\xa4","deg":"\xb0","divide":"\xf7","eacute":"\xe9","ecirc":"\xea","egrave":"\xe8","eth":"\xf0","euml":"\xeb","frac12":"\xbd","frac14":"\xbc","frac34":"\xbe","gt":">","iacute":"\xed","icirc":"\xee","iexcl":"\xa1","igrave":"\xec","iquest":"\xbf","iuml":"\xef","laquo":"\xab","lt":"<","macr":"\xaf","micro":"\xb5","middot":"\xb7","nbsp":"\xa0","not":"\xac","ntilde":"\xf1","oacute":"\xf3","ocirc":"\xf4","ograve":"\xf2","ordf":"\xaa","ordm":"\xba","oslash":"\xf8","otilde":"\xf5","ouml":"\xf6","para":"\xb6","plusmn":"\xb1","pound":"\xa3","quot":"\\"","raquo":"\xbb","reg":"\xae","sect":"\xa7","shy":"\xad","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","szlig":"\xdf","thorn":"\xfe","times":"\xd7","uacute":"\xfa","ucirc":"\xfb","ugrave":"\xf9","uml":"\xa8","uuml":"\xfc","yacute":"\xfd","yen":"\xa5","yuml":"\xff"}')},93580:function(e){"use strict";e.exports=JSON.parse('{"0":"\ufffd","128":"\u20ac","130":"\u201a","131":"\u0192","132":"\u201e","133":"\u2026","134":"\u2020","135":"\u2021","136":"\u02c6","137":"\u2030","138":"\u0160","139":"\u2039","140":"\u0152","142":"\u017d","145":"\u2018","146":"\u2019","147":"\u201c","148":"\u201d","149":"\u2022","150":"\u2013","151":"\u2014","152":"\u02dc","153":"\u2122","154":"\u0161","155":"\u203a","156":"\u0153","158":"\u017e","159":"\u0178"}')}}]);

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