PageSourceSearch

https://support.muslimpro.com/_next/static/chunks/8430.084a763b4ca28e95.js

js muslimpro.com collected 2026-09-24 09:29:01 UTC 1,084,341 bytes, 6 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8430],{1029:(e,t,n)=>{"use strict";function r(e,t,n,r){let i=[...e].sort((e,t)=>t.priority-e.priority),o=n??"";return i.find(e=>e.match(t??"",o))??i.find(e=>e.match(r??"",o))}n.d(t,{H:()=>r})},1631:(e,t,n)=>{"use strict";n.d(t,{yl:()=>i});var r=n(84544);function i(e){return()=>(function(e){if(!function(e,t=!0){if(e)return!1;let n=(0,r.NiT)().getTextContent();return t&&(n=n.trim()),""===n}(e,!1))return!1;let t=(0,r.NiT)().getChildren(),n=t.length;if(n>1)return!1;for(let e=0;e<n;e++){let n=t[e];if((0,r.Cyw)(n))return!1;if((0,r.ff4)(n)){if(!(0,r.bSg)(n)||0!==n.__indent)return!1;let t=n.getChildren(),i=t.length;for(let n=0;n<i;n++){let n=t[e];if(!(0,r.kFe)(n))return!1}}}return!0})(e)}},2886:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=o(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return i.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=o(t,n));return t}(n)))}return e}function o(e,t){return t?e?e+" "+t:e+t:e}e.exports?(i.default=i,e.exports=i):void 0===(n=(function(){return i}).apply(t,[]))||(e.exports=n)}()},4278:(e,t,n)=>{"use strict";function r(e,t,n){if(!t.has(e))throw TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}function i(e,t){var n=r(e,t,"get");return n.get?n.get.call(e):n.value}function o(e,t,n){var i=r(e,t,"set");if(i.set)i.set.call(e,n);else{if(!i.writable)throw TypeError("attempted to set read only private field");i.value=n}return n}n.d(t,{N:()=>h});var l,s=n(6325),a=n(25992),u=n(5966),c=n(38716),d=n(64177);function h(e){let t=e+"CollectionProvider",[n,r]=(0,a.A)(t),[i,o]=n(t,{collectionRef:{current:null},itemMap:new Map}),l=e=>{let{scope:t,children:n}=e,r=s.useRef(null),o=s.useRef(new Map).current;return(0,d.jsx)(i,{scope:t,itemMap:o,collectionRef:r,children:n})};l.displayName=t;let h=e+"CollectionSlot",f=(0,c.TL)(h),p=s.forwardRef((e,t)=>{let{scope:n,children:r}=e,i=o(h,n),l=(0,u.s)(t,i.collectionRef);return(0,d.jsx)(f,{ref:l,children:r})});p.displayName=h;let g=e+"CollectionItemSlot",m="data-radix-collection-item",O=(0,c.TL)(g),y=s.forwardRef((e,t)=>{let{scope:n,children:r,...i}=e,l=s.useRef(null),a=(0,u.s)(t,l),c=o(g,n);return s.useEffect(()=>(c.itemMap.set(l,{ref:l,...i}),()=>void c.itemMap.delete(l))),(0,d.jsx)(O,{...{[m]:""},ref:a,children:r})});return y.displayName=g,[{Provider:l,Slot:p,ItemSlot:y},function(t){let n=o(e+"CollectionConsumer",t);return s.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll("[".concat(m,"]")));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])},r]}var f=new WeakMap;function p(e,t){if("at"in Array.prototype)return Array.prototype.at.call(e,t);let n=function(e,t){let n=e.length,r=g(t),i=r>=0?r:n+r;return i<0||i>=n?-1:i}(e,t);return -1===n?void 0:e[n]}function g(e){return e!=e||0===e?0:Math.trunc(e)}l=new WeakMap,class e extends Map{set(e,t){return f.get(this)&&(this.has(e)?i(this,l)[i(this,l).indexOf(e)]=e:i(this,l).push(e)),super.set(e,t),this}insert(e,t,n){let r,o=this.has(t),s=i(this,l).length,a=g(e),u=a>=0?a:s+a,c=u<0||u>=s?-1:u;if(c===this.size||o&&c===this.size-1||-1===c)return this.set(t,n),this;let d=this.size+ +!o;a<0&&u++;let h=[...i(this,l)],f=!1;for(let e=u;e<d;e++)if(u===e){let i=h[e];h[e]===t&&(i=h[e+1]),o&&this.delete(t),r=this.get(i),this.set(t,n)}else{f||h[e-1]!==t||(f=!0);let n=h[f?e:e-1],i=r;r=this.get(n),this.delete(n),this.set(n,i)}return this}with(t,n,r){let i=new e(this);return i.insert(t,n,r),i}before(e){let t=i(this,l).indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,n){let r=i(this,l).indexOf(e);return -1===r?this:this.insert(r,t,n)}after(e){let t=i(this,l).indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,n){let r=i(this,l).indexOf(e);return -1===r?this:this.insert(r+1,t,n)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return o(this,l,[]),super.clear()}delete(e){let t=super.delete(e);return t&&i(this,l).splice(i(this,l).indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=p(i(this,l),e);if(void 0!==t)return this.get(t)}entryAt(e){let t=p(i(this,l),e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return i(this,l).indexOf(e)}keyAt(e){return p(i(this,l),e)}from(e,t){let n=this.indexOf(e);if(-1===n)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.at(r)}keyFrom(e,t){let n=this.indexOf(e);if(-1===n)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.keyAt(r)}find(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return r;n++}
1}findIndex(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return n;n++}return -1}filter(t,n){let r=[],i=0;for(let e of this)Reflect.apply(t,n,[e,i,this])&&r.push(e),i++;return new e(r)}map(t,n){let r=[],i=0;for(let e of this)r.push([e[0],Reflect.apply(t,n,[e,i,this])]),i++;return new e(r)}reduce(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];let[r,i]=t,o=0,l=null!=i?i:this.at(0);for(let e of this)l=0===o&&1===t.length?e:Reflect.apply(r,this,[l,e,o,this]),o++;return l}reduceRight(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];let[r,i]=t,o=null!=i?i:this.at(-1);for(let e=this.size-1;e>=0;e--){let n=this.at(e);o=e===this.size-1&&1===t.length?n:Reflect.apply(r,this,[o,n,e,this])}return o}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let n=this.keyAt(e),r=this.get(n);t.set(n,r)}return t}toSpliced(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];let i=[...this.entries()];return i.splice(...n),new e(i)}slice(t,n){let r=new e,i=this.size-1;if(void 0===t)return r;t<0&&(t+=this.size),void 0!==n&&n>0&&(i=n-1);for(let e=t;e<=i;e++){let t=this.keyAt(e),n=this.get(t);r.set(t,n)}return r}every(e,t){let n=0;for(let r of this){if(!Reflect.apply(e,t,[r,n,this]))return!1;n++}return!0}some(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return!0;n++}return!1}constructor(e){super(e),function(e,t,n){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,n)}(this,l,{writable:!0,value:void 0}),o(this,l,[...super.keys()]),f.set(this,!0)}}},5966:(e,t,n)=>{"use strict";n.d(t,{s:()=>l,t:()=>o});var r=n(6325);function i(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function o(...e){return t=>{let n=!1,r=e.map(e=>{let r=i(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():i(e[t],null)}}}}function l(...e){return r.useCallback(o(...e),e)}},6105:(e,t,n)=>{"use strict";n.d(t,{Bt:()=>g,HE:()=>d,OV:()=>b,Pe:()=>m,Sd:()=>u,ZB:()=>c,_X:()=>h,cj:()=>O,eu:()=>f,mB:()=>p,xj:()=>y,zD:()=>v});var r=n(84544);function i(e,...t){let n=new URL("https://lexical.dev/docs/error"),r=new URLSearchParams;for(let n of(r.append("code",e),t))r.append("v",n);throw n.search=r.toString(),Error(`Minified Lexical error #${e}; visit ${n.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}let o="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,l=o&&"documentMode"in document?document.documentMode:null,s=(o&&/Mac|iPod|iPhone|iPad/.test(navigator.platform),o&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent));function a(...e){let t=[];for(let n of e)if(n&&"string"==typeof n)for(let[e]of n.matchAll(/\S+/g))t.push(e);return t}function u(...e){return()=>{for(let t=e.length-1;t>=0;t--)e[t]();e.length=0}}function c(e,...t){let n=a(...t);n.length>0&&e.classList.add(...n)}function d(e,...t){let n=a(...t);n.length>0&&e.classList.remove(...n)}function h(e){return e?e.getAdjacentCaret():null}function f(e,t){let n=e;for(;null!=n;){if(n instanceof t)return n;n=n.getParent()}return null}function p(e){let t=g(e,e=>(0,r.ff4)(e)&&!e.isInline());return(0,r.ff4)(t)||i(4,e.__key),t}o&&"InputEvent"in window&&!l&&new window.InputEvent("input"),o&&/Version\/[\d.]+.*Safari/.test(navigator.userAgent),o&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&window.MSStream,o&&/Android/.test(navigator.userAgent),o&&/^(?=.*Chrome).*/i.test(navigator.userAgent),o&&/AppleWebKit\/[\d.]+/.test(navigator.userAgent);let g=(e,t)=>{let n=e;for(;n!==(0,r.NiT)()&&null!=n;){if(t(n))return n;n=n.getParent()}return null};function m(e){let t,n=(0,r.vJq)()||(0,r.S1w)();if((0,r.I2P)(n))t=(0,r.Ave)(n.focus,"next");else{if(null!=n){let e=n.getNodes(),i=e[e.length-1];i&&(t=(0,r.IlV)(i,"next"))}t=t||(0,r.uwZ)((0,r.NiT)(),"previous").getFlipped().insert((0,r.lJ7)())}let o=function(e,t,n){let o=(0,r.Csq)(t,"next");for(let e=o;e;e=(0,r.k1Q)(e,void 0))o=e;return(0,r.rN)(o)&&i(283),o.insert(e.isInline()?(0,r.lJ7)().append(e):e),(0,r.Csq)((0,r.IlV)(e.getLatest(),"next"),t.direction)}(e,t),l=(0,r.erb)(o),s=(0,r.cmH)(l)?(0,r.lSZ)(l):o;return(0,r.xQ8)((0,r.sWS)(s)),e.getLatest()}function O(e,t){let n=t();return e.replace(n),n.append(e),n}function y(e,t){return null!==e&&Object.getPrototypeOf(e).constructor.name===t.name}function v(e,t){let n=[];for(let r=0;r<e.length;r++){let i=t(e[r]);null!==i&&n.push(i)}return n}let x=!(s||!o)&&void 0;function b(e){let t=1;if(function(){if(void 0===x){let e=document.createElement("div");e.style.cssText="position: absolute; opacity: 0; width: 100px; left: -1000px;",document.body.appendChild(e);let t=e.getBoundingClientRect();e.style.setProperty("zoom","2"),x=e.getBoundingClientRect().width===t.width,document.body.removeChild(e)}return x}())for(;e;)t*=Number(window.getComputedStyle(e).getPropertyValue("zoom")),e=e.parentElement;return t}}
1,7814:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l,g:()=>s});var r=n(6325),i=n(44443),o=n(60959);function l(e){return function(t){return{init:n=>{var r;return null==(r=e.init)?void 0:r.call(e,n,t)},postInit:n=>{var r;return null==(r=e.postInit)?void 0:r.call(e,n,t)},update:n=>{var r;return null==(r=e.update)?void 0:r.call(e,n,t)}}}}function s({children:e,plugins:t}){let n=r.useMemo(()=>(0,o.Mi)(new i.Mx,e=>{var n,r;for(let r of t)null==(n=r.init)||n.call(r,e);for(let n of t)null==(r=n.postInit)||r.call(n,e)}),[]);return r.useEffect(()=>{var e;for(let r of t)null==(e=r.update)||e.call(r,n)}),r.createElement(i.Zb.Provider,{value:n},e)}},9529:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(6325),i=n(36184),o=n(11997),l=n(36709),s=n(64177),a=r.forwardRef((e,t)=>{var n,a;let{container:u,...c}=e,[d,h]=r.useState(!1);(0,l.N)(()=>h(!0),[]);let f=u||d&&(null==(a=globalThis)||null==(n=a.document)?void 0:n.body);return f?i.createPortal((0,s.jsx)(o.sG.div,{...c,ref:t}),f):null});a.displayName="Portal"},10964:(e,t,n)=>{"use strict";n.d(t,{A:()=>B});var r,i,o=n(75126),l=n(6325),s="right-scroll-bar-position",a="width-before-scroll-bar";function u(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var c="undefined"!=typeof window?l.useLayoutEffect:l.useEffect,d=new WeakMap;function h(e){return e}var f=function(e){void 0===e&&(e={});var t,n,r,i=(void 0===t&&(t=h),n=[],r=!1,{read:function(){if(r)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:null},useMedium:function(e){var i=t(e,r);return n.push(i),function(){n=n.filter(function(e){return e!==i})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var i=n;n=[],i.forEach(e),t=n}var o=function(){var n=t;t=[],n.forEach(e)},l=function(){return Promise.resolve().then(o)};l(),n={push:function(e){t.push(e),l()},filter:function(e){return t=t.filter(e),n}}}});return i.options=(0,o.Cl)({async:!0,ssr:!1},e),i}(),p=function(){},g=l.forwardRef(function(e,t){var n,r,i,s,a=l.useRef(null),h=l.useState({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:p}),g=h[0],m=h[1],O=e.forwardProps,y=e.children,v=e.className,x=e.removeScrollBar,b=e.enabled,w=e.shards,k=e.sideCar,S=e.noRelative,_=e.noIsolation,C=e.inert,P=e.allowPinchZoom,T=e.as,Q=e.gapMode,$=(0,o.Tt)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),A=(n=[a,t],r=function(e){return n.forEach(function(t){return u(t,e)})},(i=(0,l.useState)(function(){return{value:null,callback:r,facade:{get current(){return i.value},set current(value){var e=i.value;e!==value&&(i.value=value,i.callback(value,e))}}}})[0]).callback=r,s=i.facade,c(function(){var e=d.get(s);if(e){var t=new Set(e),r=new Set(n),i=s.current;t.forEach(function(e){r.has(e)||u(e,null)}),r.forEach(function(e){t.has(e)||u(e,i)})}d.set(s,n)},[n]),s),E=(0,o.Cl)((0,o.Cl)({},$),g);return l.createElement(l.Fragment,null,b&&l.createElement(k,{sideCar:f,removeScrollBar:x,shards:w,noRelative:S,noIsolation:_,inert:C,setCallbacks:m,allowPinchZoom:!!P,lockRef:a,gapMode:Q}),O?l.cloneElement(l.Children.only(y),(0,o.Cl)((0,o.Cl)({},E),{ref:A})):l.createElement(void 0===T?"div":T,(0,o.Cl)({},E,{className:v,ref:A}),y))});g.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},g.classNames={fullWidth:a,zeroRight:s};var m=function(e){var t=e.sideCar,n=(0,o.Tt)(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error("Sidecar medium not found");return l.createElement(r,(0,o.Cl)({},n))};m.isSideCarExport=!0;var O=function(){var e=0,t=null;return{add:function(r){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=i||n.nc;return t&&e.setAttribute("nonce",t),e}())){var o,l;(o=t).styleSheet?o.styleSheet.cssText=r:o.appendChild(document.createTextNode(r)),l=t,(d
1ocument.head||document.getElementsByTagName("head")[0]).appendChild(l)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},y=function(){var e=O();return function(t,n){l.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},v=function(){var e=y();return function(t){return e(t.styles,t.dynamic),null}},x={left:0,top:0,right:0,gap:0},b=function(e){return parseInt(e||"",10)||0},w=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],i=t["padding"===e?"paddingRight":"marginRight"];return[b(n),b(r),b(i)]},k=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return x;var t=w(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},S=v(),_="data-scroll-locked",C=function(e,t,n,r){var i=e.left,o=e.top,l=e.right,u=e.gap;return void 0===n&&(n="margin"),"\n  .".concat("with-scroll-bars-hidden"," {\n   overflow: hidden ").concat(r,";\n   padding-right: ").concat(u,"px ").concat(r,";\n  }\n  body[").concat(_,"] {\n    overflow: hidden ").concat(r,";\n    overscroll-behavior: contain;\n    ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n    padding-left: ".concat(i,"px;\n    padding-top: ").concat(o,"px;\n    padding-right: ").concat(l,"px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(u,"px ").concat(r,";\n    "),"padding"===n&&"padding-right: ".concat(u,"px ").concat(r,";")].filter(Boolean).join(""),"\n  }\n  \n  .").concat(s," {\n    right: ").concat(u,"px ").concat(r,";\n  }\n  \n  .").concat(a," {\n    margin-right: ").concat(u,"px ").concat(r,";\n  }\n  \n  .").concat(s," .").concat(s," {\n    right: 0 ").concat(r,";\n  }\n  \n  .").concat(a," .").concat(a," {\n    margin-right: 0 ").concat(r,";\n  }\n  \n  body[").concat(_,"] {\n    ").concat("--removed-body-scroll-bar-size",": ").concat(u,"px;\n  }\n")},P=function(){var e=parseInt(document.body.getAttribute(_)||"0",10);return isFinite(e)?e:0},T=function(){l.useEffect(function(){return document.body.setAttribute(_,(P()+1).toString()),function(){var e=P()-1;e<=0?document.body.removeAttribute(_):document.body.setAttribute(_,e.toString())}},[])},Q=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=void 0===r?"margin":r;T();var o=l.useMemo(function(){return k(i)},[i]);return l.createElement(S,{styles:C(o,!t,i,n?"":"!important")})},$=!1;if("undefined"!=typeof window)try{var A=Object.defineProperty({},"passive",{get:function(){return $=!0,!0}});window.addEventListener("test",A,A),window.removeEventListener("test",A,A)}catch(e){$=!1}var E=!!$&&{passive:!1},R=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&(n.overflowY!==n.overflowX||"TEXTAREA"===e.tagName||"visible"!==n[t])},N=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),L(e,r)){var i=M(e,r);if(i[1]>i[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},L=function(e,t){return"v"===e?R(t,"overflowY"):R(t,"overflowX")},M=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},Z=function(e,t,n,r,i){var o,l=(o=window.getComputedStyle(t).direction,"h"===e&&"rtl"===o?-1:1),s=l*r,a=n.target,u=t.contains(a),c=!1,d=s>0,h=0,f=0;do{if(!a)break;var p=M(e,a),g=p[0],m=p[1]-p[2]-l*g;(g||m)&&L(e,a)&&(h+=m,f+=g);var O=a.parentNode;a=O&&O.nodeType===Node.DOCUMENT_FRAGMENT_NODE?O.host:O}while(!u&&a!==document.body||u&&(t.contains(a)||t===a));return d&&(i&&1>Math.abs(h)||!i&&s>h)?c=!0:!d&&(i&&1>Math.abs(f)||!i&&-s>f)&&(c=!0),c},I=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},j=function(e){return[e.deltaX,e.deltaY]},X=function(e){return e&&"current"in e?e.current:e},D=0,V=[];let F=(r=function(e){var t=l.useRef([]),n=l.useRef([0,0]),r=l.useRef(),i=l.useState(D++)[0],s=l.useState(v)[0],a=l.useRef(e);l.useEffect(function(){a.current=e},[e]),l.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var t=(0,o.fX)([e.lockRef.current],(e.shards||[]).map(X),!0).filter(
1Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var u=l.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!a.current.allowPinchZoom;var i,o=I(e),l=n.current,s="deltaX"in e?e.deltaX:l[0]-o[0],u="deltaY"in e?e.deltaY:l[1]-o[1],c=e.target,d=Math.abs(s)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===d&&"range"===c.type)return!1;var h=window.getSelection(),f=h&&h.anchorNode;if(f&&(f===c||f.contains(c)))return!1;var p=N(d,c);if(!p)return!0;if(p?i=d:(i="v"===d?"h":"v",p=N(d,c)),!p)return!1;if(!r.current&&"changedTouches"in e&&(s||u)&&(r.current=i),!i)return!0;var g=r.current||i;return Z(g,t,e,"h"===g?s:u,!0)},[]),c=l.useCallback(function(e){if(V.length&&V[V.length-1]===s){var n="deltaY"in e?j(e):I(e),r=t.current.filter(function(t){var r;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(r=t.delta,r[0]===n[0]&&r[1]===n[1])})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var i=(a.current.shards||[]).map(X).filter(Boolean).filter(function(t){return t.contains(e.target)});(i.length>0?u(e,i[0]):!a.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),d=l.useCallback(function(e,n,r,i){var o={name:e,delta:n,target:r,should:i,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(r)};t.current.push(o),setTimeout(function(){t.current=t.current.filter(function(e){return e!==o})},1)},[]),h=l.useCallback(function(e){n.current=I(e),r.current=void 0},[]),f=l.useCallback(function(t){d(t.type,j(t),t.target,u(t,e.lockRef.current))},[]),p=l.useCallback(function(t){d(t.type,I(t),t.target,u(t,e.lockRef.current))},[]);l.useEffect(function(){return V.push(s),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",c,E),document.addEventListener("touchmove",c,E),document.addEventListener("touchstart",h,E),function(){V=V.filter(function(e){return e!==s}),document.removeEventListener("wheel",c,E),document.removeEventListener("touchmove",c,E),document.removeEventListener("touchstart",h,E)}},[]);var g=e.removeScrollBar,m=e.inert;return l.createElement(l.Fragment,null,m?l.createElement(s,{styles:"\n  .block-interactivity-".concat(i," {pointer-events: none;}\n  .allow-interactivity-").concat(i," {pointer-events: all;}\n")}):null,g?l.createElement(Q,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},f.useMedium(r),m);var z=l.forwardRef(function(e,t){return l.createElement(g,(0,o.Cl)({},e,{ref:t,sideCar:F}))});z.classNames=g.classNames;let B=z},11423:(e,t,n)=>{"use strict";n.d(t,{B:()=>a});var r,i=n(6325),o=n(36709),l=(r||(r=n.t(i,2)))[" useId ".trim().toString()]||(()=>void 0),s=0;function a(e){let[t,n]=i.useState(l());return(0,o.N)(()=>{e||n(e=>e??String(s++))},[e]),e||(t?`radix-${t}`:"")}},11877:(e,t,n)=>{"use strict";let r;n.d(t,{YH:()=>ea,Gu:()=>P,VR:()=>T,Je:()=>eO,xx:()=>G,OF:()=>M,$t:()=>ev,sj:()=>j,iR:()=>C,Nb:()=>q,om:()=>eC,vB:()=>eP,FB:()=>eb,Pe:()=>ed,sU:()=>B,EY:()=>h,ZX:()=>eh,vS:()=>w,Fh:()=>S,QR:()=>ex,y$:()=>eI,zK:()=>b,kn:()=>ej,MK:()=>k});let i=[],o=[];function l(e){return e>=127462&&e<=127487}function s(e,t,n){if(t==e.length)return t;t&&u(e.charCodeAt(t))&&c(e.charCodeAt(t-1))&&t--;let r=a(e,t);for(t+=d(r);t<e.length;){let s=a(e,t);if(8205==r||8205==s||n&&function(e){if(e<768)return!1;for(let t=0,n=i.length;;){let r=t+n>>1;if(e<i[r])n=r;else{if(!(e>=o[r]))return!0;t=r+1}if(t==n)return!1}}(s))t+=d(s),r=s;else if(l(s)){let n=0,r=t-2;for(;r>=0&&l(a(e,r));)n++,r-=2;if(n%2==0)break;t+=2}else break}return t}function a(e,t){let n=e.charCodeAt(t);if(!c(n)||t+1==e.length)return n;let r=e.charCodeAt(t+1);return u(r)?(n-55296<<10)+(r-56320)+65536:n}function u(e){return e>=56320&&e<57344}function c(e){return e>=55296&&e<56320}function d(e){return e<65536?1:2}(()=>{let e="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(e=>e?parseInt(e,36):1);for(let t=0,n=0;t<e.length;t++)(t%2?o:i).push(n+=e[t])})();class h{lineAt(e){if(e<0||e>this.length)throw RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,t,n){[e,t]=x(this,e,t);let r=[];return this.decompose(0,e,r,2),n.length&&n.decompose(0,n.length,r,3),this.decompose(t,this.length,r,1),p.from(r,this.length-(t-e)+n.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,t=this.length){[e,t]=x(this,e,t);let n=[];return this.decompose(e,t,n,0),p.from(n,t-e)}eq(e){if(e==this)return!0;
vendor: 4,940 bytes, line 1
1if(e.length!=this.length||e.lines!=this.lines)return!1;let t=this.scanIdentical(e,1),n=this.length-this.scanIdentical(e,-1),r=new m(this),i=new m(e);for(let e=t,o=t;;){if(r.next(e),i.next(e),e=0,r.lineBreak!=i.lineBreak||r.done!=i.done||r.value!=i.value)return!1;if(o+=r.value.length,r.done||o>=n)return!0}}iter(e=1){return new m(this,e)}iterRange(e,t=this.length){return new O(this,e,t)}iterLines(e,t){let n;if(null==e)n=this.iter();else{null==t&&(t=this.lines+1);let r=this.line(e).from;n=this.iterRange(r,Math.max(r,t==this.lines+1?this.length:t<=1?0:this.line(t-1).to))}return new y(n)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}constructor(){}static of(e){if(0==e.length)throw RangeError("A document must have at least one line");return 1!=e.length||e[0]?e.length<=32?new f(e):p.from(f.split(e,[])):h.empty}}class f extends h{constructor(e,t=function(e){let t=-1;for(let n of e)t+=n.length+1;return t}(e)){super(),this.text=e,this.length=t}get lines(){return this.text.length}get children(){return null}lineInner(e,t,n,r){for(let i=0;;i++){let o=this.text[i],l=r+o.length;if((t?n:l)>=e)return new v(r,l,n,o);r=l+1,n++}}decompose(e,t,n,r){var i;let o=e<=0&&t>=this.length?this:new f((i=this.text,g(i,[""],e,t)),Math.min(t,this.length)-Math.max(0,e));if(1&r){let e=n.pop(),t=g(o.text,e.text.slice(),0,o.length);if(t.length<=32)n.push(new f(t,e.length+o.length));else{let e=t.length>>1;n.push(new f(t.slice(0,e)),new f(t.slice(e)))}}else n.push(o)}replace(e,t,n){var r;if(!(n instanceof f))return super.replace(e,t,n);[e,t]=x(this,e,t);let i=g(this.text,g(n.text,(r=this.text,g(r,[""],0,e))),t),o=this.length+n.length-(t-e);return i.length<=32?new f(i,o):p.from(f.split(i,[]),o)}sliceString(e,t=this.length,n="\n"){[e,t]=x(this,e,t);let r="";for(let i=0,o=0;i<=t&&o<this.text.length;o++){let l=this.text[o],s=i+l.length;i>e&&o&&(r+=n),e<s&&t>i&&(r+=l.slice(Math.max(0,e-i),t-i)),i=s+1}return r}flatten(e){for(let t of this.text)e.push(t)}scanIdentical(){return 0}static split(e,t){let n=[],r=-1;for(let i of e)n.push(i),r+=i.length+1,32==n.length&&(t.push(new f(n,r)),n=[],r=-1);return r>-1&&t.push(new f(n,r)),t}}class p extends h{constructor(e,t){for(let n of(super(),this.children=e,this.length=t,this.lines=0,e))this.lines+=n.lines}lineInner(e,t,n,r){for(let i=0;;i++){let o=this.children[i],l=r+o.length,s=n+o.lines-1;if((t?s:l)>=e)return o.lineInner(e,t,n,r);r=l+1,n=s+1}}decompose(e,t,n,r){for(let i=0,o=0;o<=t&&i<this.children.length;i++){let l=this.children[i],s=o+l.length;if(e<=s&&t>=o){let i=r&(o<=e|2*(s>=t));o>=e&&s<=t&&!i?n.push(l):l.decompose(e-o,t-o,n,i)}o=s+1}}replace(e,t,n){if([e,t]=x(this,e,t),n.lines<this.lines)for(let r=0,i=0;r<this.children.length;r++){let o=this.children[r],l=i+o.length;if(e>=i&&t<=l){let s=o.replace(e-i,t-i,n),a=this.lines-o.lines+s.lines;if(s.lines<a>>4&&s.lines>a>>6){let i=this.children.slice();return i[r]=s,new p(i,this.length-(t-e)+n.length)}return super.replace(i,l,s)}i=l+1}return super.replace(e,t,n)}sliceString(e,t=this.length,n="\n"){[e,t]=x(this,e,t);let r="";for(let i=0,o=0;i<this.children.length&&o<=t;i++){let l=this.children[i],s=o+l.length;o>e&&i&&(r+=n),e<s&&t>o&&(r+=l.sliceString(e-o,t-o,n)),o=s+1}return r}flatten(e){for(let t of this.children)t.flatten(e)}scanIdentical(e,t){if(!(e instanceof p))return 0;let n=0,[r,i,o,l]=t>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;r+=t,i+=t){if(r==o||i==l)return n;let s=this.children[r],a=e.children[i];if(s!=a)return n+s.scanIdentical(a,t);n+=s.length+1}}static from(e,t=e.reduce((e,t)=>e+t.length+1,-1)){let n=0;for(let t of e)n+=t.lines;if(n<32){let n=[];for(let t of e)t.flatten(n);return new f(n,t)}let r=Math.max(32,n>>5),i=r<<1,o=r>>1,l=[],s=0,a=-1,u=[];function c(){0!=s&&(l.push(1==u.length?u[0]:p.from(u,a)),a=-1,s=u.length=0)}for(let t of e)!function e(t){let n;if(t.lines>i&&t instanceof p)for(let n of t.children)e(n);else t.lines>o&&(s>o||!s)?(c(),l.push(t)):t instanceof f&&s&&(n=u[u.length-1])instanceof f&&t.lines+n.lines<=32?(s+=t.lines,a+=t.length+1,u[u.length-1]=new f(n.text.concat(t.text),n.length+1+t.length)):(s+t.lines>r&&c(),s+=t.lines,a+=t.length+1,u.push(t))}(t);return c(),1==l.length?l[0]:new p(l,t)}}function g(e,t,n=0,r=1e9){for(let i=0,o=0,l=!0;o<e.length&&i<=r;o++){let s=e[o],a=i+s.length;a>=n&&(a>r&&(s=s.slice(0,r-i)),i<n&&(s=s.slice(n-i)),l?(t[t.length-1]+=s,l=!1):t.push(s)),i=a+1}return t}h.empty=new f([""],0);class m{constructor(e,t=1){this.dir=t,this.done=!1,this.lineBreak=!1,this.value="",this.nodes=[e],this.offsets=[t>0?1:(e instanceof f?e.text.length:e.children.length)<<1]}nextInner(e,t){for(this.done=this.lineBreak=!1;;){let n=this.nodes.length-1,r=this.nodes[n],i=this.offsets[n],o=i>>1,l=r instanceof f?r.text.length:r.children.length;if(o==(t>0?l:0)){if(0==n)return this.done=!0,this.value="",this;t>0&&this.offsets[n-1]++,this.nodes.pop(),this.offsets.pop()}else if((1&i)==(t>
10?0:1)){if(this.offsets[n]+=t,0==e)return this.lineBreak=!0,this.value="\n",this;e--}else if(r instanceof f){let i=r.text[o+(t<0?-1:0)];if(this.offsets[n]+=t,i.length>Math.max(0,e))return this.value=0==e?i:t>0?i.slice(e):i.slice(0,i.length-e),this;e-=i.length}else{let i=r.children[o+(t<0?-1:0)];e>i.length?(e-=i.length,this.offsets[n]+=t):(t<0&&this.offsets[n]--,this.nodes.push(i),this.offsets.push(t>0?1:(i instanceof f?i.text.length:i.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}}class O{constructor(e,t,n){this.value="",this.done=!1,this.cursor=new m(e,t>n?-1:1),this.pos=t>n?e.length:0,this.from=Math.min(t,n),this.to=Math.max(t,n)}nextInner(e,t){if(t<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,t<0?this.pos-this.to:this.from-this.pos);let n=t<0?this.pos-this.from:this.to-this.pos;e>n&&(e=n),n-=e;let{value:r}=this.cursor.next(e);return this.pos+=(r.length+e)*t,this.value=r.length<=n?r:t<0?r.slice(r.length-n):r.slice(0,n),this.done=!this.value,this}next(e=0){return e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),this.nextInner(e,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&""!=this.value}}class y{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:t,lineBreak:n,value:r}=this.inner.next(e);return t&&this.afterBreak?(this.value="",this.afterBreak=!1):t?(this.done=!0,this.value=""):n?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=r,this.afterBreak=!1),this}get lineBreak(){return!1}}"undefined"!=typeof Symbol&&(h.prototype[Symbol.iterator]=function(){return this.iter()},m.prototype[Symbol.iterator]=O.prototype[Symbol.iterator]=y.prototype[Symbol.iterator]=function(){return this});class v{constructor(e,t,n,r){this.from=e,this.to=t,this.number=n,this.text=r}get length(){return this.to-this.from}}function x(e,t,n){return[t=Math.max(0,Math.min(e.length,t)),Math.max(t,Math.min(e.length,n))]}function b(e,t,n=!0,r=!0){return function(e,t,n=!0,r=!0){return(n?s:function(e,t,n){for(;t>0;){let r=s(e,t-2,n);if(r<t)return r;t--}return 0})(e,t,r)}(e,t,n,r)}function w(e,t){let n=e.charCodeAt(t);if(!(n>=55296&&n<56320)||t+1==e.length)return n;let r=e.charCodeAt(t+1);return r>=56320&&r<57344?(n-55296<<10)+(r-56320)+65536:n}function k(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(((e-=65536)>>10)+55296,(1023&e)+56320)}function S(e){return e<65536?1:2}let _=/\r\n?|\n/;var C=function(e){return e[e.Simple=0]="Simple",e[e.TrackDel=1]="TrackDel",e[e.TrackBefore=2]="TrackBefore",e[e.TrackAfter=3]="TrackAfter",e}(C||(C={}));class P{constructor(e){this.sections=e}get length(){let e=0;for(let t=0;t<this.sections.length;t+=2)e+=this.sections[t];return e}get newLength(){let e=0;for(let t=0;t<this.sections.length;t+=2){let n=this.sections[t+1];e+=n<0?this.sections[t]:n}return e}get empty(){return 0==this.sections.length||2==this.sections.length&&this.sections[1]<0}iterGaps(e){for(let t=0,n=0,r=0;t<this.sections.length;){let i=this.sections[t++],o=this.sections[t++];o<0?(e(n,r,i),r+=i):r+=o,n+=i}}iterChangedRanges(e,t=!1){A(this,e,t)}get invertedDesc(){let e=[];for(let t=0;t<this.sections.length;){let n=this.sections[t++],r=this.sections[t++];r<0?e.push(n,r):e.push(r,n)}return new P(e)}composeDesc(e){return this.empty?e:e.empty?this:R(this,e)}mapDesc(e,t=!1){return e.empty?this:E(this,e,t)}mapPos(e,t=-1,n=C.Simple){let r=0,i=0;for(let o=0;o<this.sections.length;){let l=this.sections[o++],s=this.sections[o++],a=r+l;if(s<0){if(a>e)return i+(e-r);i+=l}else{if(n!=C.Simple&&a>=e&&(n==C.TrackDel&&r<e&&a>e||n==C.TrackBefore&&r<e||n==C.TrackAfter&&a>e))return null;if(a>e||a==e&&t<0&&!l)return e==r||t<0?i:i+s;i+=s}r=a}if(e>r)throw RangeError(`Position ${e} is out of range for changeset of length ${r}`);return i}touchesRange(e,t=e){for(let n=0,r=0;n<this.sections.length&&r<=t;){let i=this.sections[n++],o=this.sections[n++],l=r+i;if(o>=0&&r<=t&&l>=e)return!(r<e)||!(l>t)||"cover";r=l}return!1}toString(){let e="";for(let t=0;t<this.sections.length;){let n=this.sections[t++],r=this.sections[t++];e+=(e?" ":"")+n+(r>=0?":"+r:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some(e=>"number"!=typeof e))throw RangeError("Invalid JSON representation of ChangeDesc");return new P(e)}static create(e){return new P(e)}}class T extends P{constructor(e,t){super(e),this.inserted=t}apply(e){if(this.length!=e.length)throw RangeError("Applying change set to a document with the wrong length");return A(this,(t,n,r,i,o)=>e=e.replace(r,r+(n-t),o),!1),e}
1mapDesc(e,t=!1){return E(this,e,t,!0)}invert(e){let t=this.sections.slice(),n=[];for(let r=0,i=0;r<t.length;r+=2){let o=t[r],l=t[r+1];if(l>=0){t[r]=l,t[r+1]=o;let s=r>>1;for(;n.length<s;)n.push(h.empty);n.push(o?e.slice(i,i+o):h.empty)}i+=o}return new T(t,n)}compose(e){return this.empty?e:e.empty?this:R(this,e,!0)}map(e,t=!1){return e.empty?this:E(this,e,t,!0)}iterChanges(e,t=!1){A(this,e,t)}get desc(){return P.create(this.sections)}filter(e){let t=[],n=[],r=[],i=new N(this);e:for(let o=0,l=0;;){let s=o==e.length?1e9:e[o++];for(;l<s||l==s&&0==i.len;){if(i.done)break e;let e=Math.min(i.len,s-l);Q(r,e,-1);let o=-1==i.ins?-1:0==i.off?i.ins:0;Q(t,e,o),o>0&&$(n,t,i.text),i.forward(e),l+=e}let a=e[o++];for(;l<a;){if(i.done)break e;let e=Math.min(i.len,a-l);Q(t,e,-1),Q(r,e,-1==i.ins?-1:0==i.off?i.ins:0),i.forward(e),l+=e}}return{changes:new T(t,n),filtered:P.create(r)}}toJSON(){let e=[];for(let t=0;t<this.sections.length;t+=2){let n=this.sections[t],r=this.sections[t+1];r<0?e.push(n):0==r?e.push([n]):e.push([n].concat(this.inserted[t>>1].toJSON()))}return e}static of(e,t,n){let r=[],i=[],o=0,l=null;function s(e=!1){if(!e&&!r.length)return;o<t&&Q(r,t-o,-1);let n=new T(r,i);l=l?l.compose(n.map(l)):n,r=[],i=[],o=0}return!function e(a){if(Array.isArray(a))for(let t of a)e(t);else if(a instanceof T){if(a.length!=t)throw RangeError(`Mismatched change set length (got ${a.length}, expected ${t})`);s(),l=l?l.compose(a.map(l)):a}else{let{from:e,to:l=e,insert:u}=a;if(e>l||e<0||l>t)throw RangeError(`Invalid change range ${e} to ${l} (in doc of length ${t})`);let c=u?"string"==typeof u?h.of(u.split(n||_)):u:h.empty,d=c.length;if(e==l&&0==d)return;e<o&&s(),e>o&&Q(r,e-o,-1),Q(r,l-e,d),$(i,r,c),o=l}}(e),s(!l),l}static empty(e){return new T(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw RangeError("Invalid JSON representation of ChangeSet");let t=[],n=[];for(let r=0;r<e.length;r++){let i=e[r];if("number"==typeof i)t.push(i,-1);else if(!Array.isArray(i)||"number"!=typeof i[0]||i.some((e,t)=>t&&"string"!=typeof e))throw RangeError("Invalid JSON representation of ChangeSet");else if(1==i.length)t.push(i[0],0);else{for(;n.length<r;)n.push(h.empty);n[r]=h.of(i.slice(1)),t.push(i[0],n[r].length)}}return new T(t,n)}static createSet(e,t){return new T(e,t)}}function Q(e,t,n,r=!1){if(0==t&&n<=0)return;let i=e.length-2;i>=0&&n<=0&&n==e[i+1]?e[i]+=t:i>=0&&0==t&&0==e[i]?e[i+1]+=n:r?(e[i]+=t,e[i+1]+=n):e.push(t,n)}function $(e,t,n){if(0==n.length)return;let r=t.length-2>>1;if(r<e.length)e[e.length-1]=e[e.length-1].append(n);else{for(;e.length<r;)e.push(h.empty);e.push(n)}}function A(e,t,n){let r=e.inserted;for(let i=0,o=0,l=0;l<e.sections.length;){let s=e.sections[l++],a=e.sections[l++];if(a<0)i+=s,o+=s;else{let u=i,c=o,d=h.empty;for(;u+=s,c+=a,a&&r&&(d=d.append(r[l-2>>1])),!n&&l!=e.sections.length&&!(e.sections[l+1]<0);)s=e.sections[l++],a=e.sections[l++];t(i,u,o,c,d),i=u,o=c}}}function E(e,t,n,r=!1){let i=[],o=r?[]:null,l=new N(e),s=new N(t);for(let e=-1;;)if(l.done&&s.len||s.done&&l.len)throw Error("Mismatched change set lengths");else if(-1==l.ins&&-1==s.ins){let e=Math.min(l.len,s.len);Q(i,e,-1),l.forward(e),s.forward(e)}else if(s.ins>=0&&(l.ins<0||e==l.i||0==l.off&&(s.len<l.len||s.len==l.len&&!n))){let t=s.len;for(Q(i,s.ins,-1);t;){let n=Math.min(l.len,t);l.ins>=0&&e<l.i&&l.len<=n&&(Q(i,0,l.ins),o&&$(o,i,l.text),e=l.i),l.forward(n),t-=n}s.next()}else if(l.ins>=0){let t=0,n=l.len;for(;n;)if(-1==s.ins){let e=Math.min(n,s.len);t+=e,n-=e,s.forward(e)}else if(0==s.ins&&s.len<n)n-=s.len,s.next();else break;Q(i,t,e<l.i?l.ins:0),o&&e<l.i&&$(o,i,l.text),e=l.i,l.forward(l.len-n)}else if(l.done&&s.done)return o?T.createSet(i,o):P.create(i);else throw Error("Mismatched change set lengths")}function R(e,t,n=!1){let r=[],i=n?[]:null,o=new N(e),l=new N(t);for(let e=!1;;)if(o.done&&l.done)return i?T.createSet(r,i):P.create(r);else if(0==o.ins)Q(r,o.len,0,e),o.next();else if(0!=l.len||l.done)if(o.done||l.done)throw Error("Mismatched change set lengths");else{let t=Math.min(o.len2,l.len),n=r.length;if(-1==o.ins){let n=-1==l.ins?-1:l.off?0:l.ins;Q(r,t,n,e),i&&n&&$(i,r,l.text)}else -1==l.ins?(Q(r,o.off?0:o.len,t,e),i&&$(i,r,o.textBit(t))):(Q(r,o.off?0:o.len,l.off?0:l.ins,e),i&&!l.off&&$(i,r,l.text));e=(o.ins>t||l.ins>=0&&l.len>t)&&(e||r.length>n),o.forward2(t),l.forward(t)}else Q(r,0,l.ins,e),i&&$(i,r,l.text),l.next()}class N{constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i<e.length?(this.len=e[this.i++],this.ins=e[this.i++]):(this.len=0,this.ins=-2),this.off=0}get done(){return -2==this.ins}get len2(){return this.ins<0?this.len:this.ins}get text(){let{inserted:e}=this.set,t=this.i-2>>1;return t>=e.length?h.empty:e[t]}textBit(e){let{inserted:t}=this.set,n=this.i-2>>1;return n>=t.length&&!e?h.empty:t[n].slice(this.off,null==e?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}
1forward2(e){-1==this.ins?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}}class L{constructor(e,t,n){this.from=e,this.to=t,this.flags=n}get anchor(){return 32&this.flags?this.to:this.from}get head(){return 32&this.flags?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return 8&this.flags?-1:16&this.flags?1:0}get bidiLevel(){let e=7&this.flags;return 7==e?null:e}get goalColumn(){let e=this.flags>>6;return 0xffffff==e?void 0:e}map(e,t=-1){let n,r;return this.empty?n=r=e.mapPos(this.from,t):(n=e.mapPos(this.from,1),r=e.mapPos(this.to,-1)),n==this.from&&r==this.to?this:new L(n,r,this.flags)}extend(e,t=e,n=0){if(e<=this.anchor&&t>=this.anchor)return M.range(e,t,void 0,void 0,n);let r=Math.abs(e-this.anchor)>Math.abs(t-this.anchor)?e:t;return M.range(this.anchor,r,void 0,void 0,n)}eq(e,t=!1){return this.anchor==e.anchor&&this.head==e.head&&this.goalColumn==e.goalColumn&&(!t||!this.empty||this.assoc==e.assoc)}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||"number"!=typeof e.anchor||"number"!=typeof e.head)throw RangeError("Invalid JSON representation for SelectionRange");return M.range(e.anchor,e.head)}static create(e,t,n){return new L(e,t,n)}}class M{constructor(e,t){this.ranges=e,this.mainIndex=t}map(e,t=-1){return e.empty?this:M.create(this.ranges.map(n=>n.map(e,t)),this.mainIndex)}eq(e,t=!1){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let n=0;n<this.ranges.length;n++)if(!this.ranges[n].eq(e.ranges[n],t))return!1;return!0}get main(){return this.ranges[this.mainIndex]}asSingle(){return 1==this.ranges.length?this:new M([this.main],0)}addRange(e,t=!0){return M.create([e].concat(this.ranges),t?0:this.mainIndex+1)}replaceRange(e,t=this.mainIndex){let n=this.ranges.slice();return n[t]=e,M.create(n,this.mainIndex)}toJSON(){return{ranges:this.ranges.map(e=>e.toJSON()),main:this.mainIndex}}static fromJSON(e){if(!e||!Array.isArray(e.ranges)||"number"!=typeof e.main||e.main>=e.ranges.length)throw RangeError("Invalid JSON representation for EditorSelection");return new M(e.ranges.map(e=>L.fromJSON(e)),e.main)}static single(e,t=e){return new M([M.range(e,t)],0)}static create(e,t=0){if(0==e.length)throw RangeError("A selection needs at least one range");for(let n=0,r=0;r<e.length;r++){let i=e[r];if(i.empty?i.from<=n:i.from<n)return M.normalized(e.slice(),t);n=i.to}return new M(e,t)}static cursor(e,t=0,n,r){return L.create(e,e,(0==t?0:t<0?8:16)|(null==n?7:Math.min(6,n))|(null!=r?r:0xffffff)<<6)}static range(e,t,n,r,i){let o=(null!=n?n:0xffffff)<<6|(null==r?7:Math.min(6,r));return i||e==t||(i=t<e?1:-1),t<e?L.create(t,e,48|o):L.create(e,t,(i?i<0?8:16:0)|o)}static normalized(e,t=0){let n=e[t];e.sort((e,t)=>e.from-t.from),t=e.indexOf(n);for(let n=1;n<e.length;n++){let r=e[n],i=e[n-1];if(r.empty?r.from<=i.to:r.from<i.to){let o=i.from,l=Math.max(r.to,i.to);n<=t&&t--,e.splice(--n,2,r.anchor>r.head?M.range(l,o):M.range(o,l))}}return new M(e,t)}}function Z(e,t){for(let n of e.ranges)if(n.to>t)throw RangeError("Selection points outside of document")}let I=0;class j{constructor(e,t,n,r,i){this.combine=e,this.compareInput=t,this.compare=n,this.isStatic=r,this.id=I++,this.default=e([]),this.extensions="function"==typeof i?i(this):i}get reader(){return this}static define(e={}){return new j(e.combine||(e=>e),e.compareInput||((e,t)=>e===t),e.compare||(!e.combine?X:(e,t)=>e===t),!!e.static,e.enables)}of(e){return new D([],this,0,e)}compute(e,t){if(this.isStatic)throw Error("Can't compute a static facet");return new D(e,this,1,t)}computeN(e,t){if(this.isStatic)throw Error("Can't compute a static facet");return new D(e,this,2,t)}from(e,t){return t||(t=e=>e),this.compute([e],n=>t(n.field(e)))}}function X(e,t){return e==t||e.length==t.length&&e.every((e,n)=>e===t[n])}class D{constructor(e,t,n,r){this.dependencies=e,this.facet=t,this.type=n,this.value=r,this.id=I++}dynamicSlot(e){var t;let n=this.value,r=this.facet.compareInput,i=this.id,o=e[i]>>1,l=2==this.type,s=!1,a=!1,u=[];for(let n of this.dependencies)"doc"==n?s=!0:"selection"==n?a=!0:((null!=(t=e[n.id])?t:1)&1)==0&&u.push(e[n.id]);return{create:e=>(e.values[o]=n(e),1),update(e,t){if(s&&t.docChanged||a&&(t.docChanged||t.selection)||F(e,u)){let t=n(e);if(l?!V(t,e.values[o],r):!r(t,e.values[o]))return e.values[o]=t,1}return 0},reconfigure:(e,t)=>
1{let s,a=t.config.address[i];if(null!=a){let i=ee(t,a);if(this.dependencies.every(n=>n instanceof j?t.facet(n)===e.facet(n):!(n instanceof B)||t.field(n,!1)==e.field(n,!1))||(l?V(s=n(e),i,r):r(s=n(e),i)))return e.values[o]=i,0}else s=n(e);return e.values[o]=s,1}}}}function V(e,t,n){if(e.length!=t.length)return!1;for(let r=0;r<e.length;r++)if(!n(e[r],t[r]))return!1;return!0}function F(e,t){let n=!1;for(let r of t)1&K(e,r)&&(n=!0);return n}let z=j.define({static:!0});class B{constructor(e,t,n,r,i){this.id=e,this.createF=t,this.updateF=n,this.compareF=r,this.spec=i,this.provides=void 0}static define(e){let t=new B(I++,e.create,e.update,e.compare||((e,t)=>e===t),e);return e.provide&&(t.provides=e.provide(t)),t}create(e){let t=e.facet(z).find(e=>e.field==this);return((null==t?void 0:t.create)||this.createF)(e)}slot(e){let t=e[this.id]>>1;return{create:e=>(e.values[t]=this.create(e),1),update:(e,n)=>{let r=e.values[t],i=this.updateF(r,n);return this.compareF(r,i)?0:(e.values[t]=i,1)},reconfigure:(e,n)=>{let r=e.facet(z),i=n.facet(z),o;return(o=r.find(e=>e.field==this))&&o!=i.find(e=>e.field==this)?(e.values[t]=o.create(e),1):null!=n.config.address[this.id]?(e.values[t]=n.field(this),0):(e.values[t]=this.create(e),1)}}}init(e){return[this,z.of({field:this,create:e})]}get extension(){return this}}let W={lowest:4,low:3,default:2,high:1,highest:0};function Y(e){return t=>new U(t,e)}let q={highest:Y(W.highest),high:Y(W.high),default:Y(W.default),low:Y(W.low),lowest:Y(W.lowest)};class U{constructor(e,t){this.inner=e,this.prec=t}}class G{of(e){return new H(this,e)}reconfigure(e){return G.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}}class H{constructor(e,t){this.compartment=e,this.inner=t}}class J{constructor(e,t,n,r,i,o){for(this.base=e,this.compartments=t,this.dynamicSlots=n,this.address=r,this.staticValues=i,this.facets=o,this.statusTemplate=[];this.statusTemplate.length<n.length;)this.statusTemplate.push(0)}staticFacet(e){let t=this.address[e.id];return null==t?e.default:this.staticValues[t>>1]}static resolve(e,t,n){var r,i,o;let l,s,a=[],u=Object.create(null),c=new Map;for(let n of(r=e,i=t,o=c,l=[[],[],[],[],[]],s=new Map,!function e(t,n){let r=s.get(t);if(null!=r){if(r<=n)return;let e=l[r].indexOf(t);e>-1&&l[r].splice(e,1),t instanceof H&&o.delete(t.compartment)}if(s.set(t,n),Array.isArray(t))for(let r of t)e(r,n);else if(t instanceof H){if(o.has(t.compartment))throw RangeError("Duplicate use of compartment in extensions");let r=i.get(t.compartment)||t.inner;o.set(t.compartment,r),e(r,n)}else if(t instanceof U)e(t.inner,t.prec);else if(t instanceof B)l[n].push(t),t.provides&&e(t.provides,n);else if(t instanceof D)l[n].push(t),t.facet.extensions&&e(t.facet.extensions,W.default);else{let r=t.extension;if(!r)throw Error(`Unrecognized extension value in extension set (${t}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);e(r,n)}}(r,W.default),l.reduce((e,t)=>e.concat(t))))n instanceof B?a.push(n):(u[n.facet.id]||(u[n.facet.id]=[])).push(n);let d=Object.create(null),h=[],f=[];for(let e of a)d[e.id]=f.length<<1,f.push(t=>e.slot(t));let p=null==n?void 0:n.config.facets;for(let e in u){let t=u[e],r=t[0].facet,i=p&&p[e]||[];if(t.every(e=>0==e.type))if(d[r.id]=h.length<<1|1,X(i,t))h.push(n.facet(r));else{let e=r.combine(t.map(e=>e.value));h.push(n&&r.compare(e,n.facet(r))?n.facet(r):e)}else{for(let e of t)0==e.type?(d[e.id]=h.length<<1|1,h.push(e.value)):(d[e.id]=f.length<<1,f.push(t=>e.dynamicSlot(t)));d[r.id]=f.length<<1,f.push(e=>(function(e,t,n){let r=n.map(t=>e[t.id]),i=n.map(e=>e.type),o=r.filter(e=>!(1&e)),l=e[t.id]>>1;function s(e){let n=[];for(let t=0;t<r.length;t++){let o=ee(e,r[t]);if(2==i[t])for(let e of o)n.push(e);else n.push(o)}return t.combine(n)}return{create(e){for(let t of r)K(e,t);return e.values[l]=s(e),1},update(e,n){if(!F(e,o))return 0;let r=s(e);return t.compare(r,e.values[l])?0:(e.values[l]=r,1)},reconfigure(e,i){let o=F(e,r),a=i.config.facets[t.id],u=i.facet(t);if(a&&!o&&X(n,a))return e.values[l]=u,0;let c=s(e);return t.compare(c,u)?(e.values[l]=u,0):(e.values[l]=c,1)}}})(e,r,t))}}
1return new J(e,c,f.map(e=>e(d)),d,h,u)}}function K(e,t){if(1&t)return 2;let n=t>>1,r=e.status[n];if(4==r)throw Error("Cyclic dependency between fields and/or facets");if(2&r)return r;e.status[n]=4;let i=e.computeSlot(e,e.config.dynamicSlots[n]);return e.status[n]=2|i}function ee(e,t){return 1&t?e.config.staticValues[t>>1]:e.values[t>>1]}let et=j.define(),en=j.define({combine:e=>e.some(e=>e),static:!0}),er=j.define({combine:e=>e.length?e[0]:void 0,static:!0}),ei=j.define(),eo=j.define(),el=j.define(),es=j.define({combine:e=>!!e.length&&e[0]});class ea{constructor(e,t){this.type=e,this.value=t}static define(){return new eu}}class eu{of(e){return new ea(this,e)}}class ec{constructor(e){this.map=e}of(e){return new ed(this,e)}}class ed{constructor(e,t){this.type=e,this.value=t}map(e){let t=this.type.map(this.value,e);return void 0===t?void 0:t==this.value?this:new ed(this.type,t)}is(e){return this.type==e}static define(e={}){return new ec(e.map||(e=>e))}static mapEffects(e,t){if(!e.length)return e;let n=[];for(let r of e){let e=r.map(t);e&&n.push(e)}return n}}ed.reconfigure=ed.define(),ed.appendConfig=ed.define();class eh{constructor(e,t,n,r,i,o){this.startState=e,this.changes=t,this.selection=n,this.effects=r,this.annotations=i,this.scrollIntoView=o,this._doc=null,this._state=null,n&&Z(n,t.newLength),i.some(e=>e.type==eh.time)||(this.annotations=i.concat(eh.time.of(Date.now())))}static create(e,t,n,r,i,o){return new eh(e,t,n,r,i,o)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(e){for(let t of this.annotations)if(t.type==e)return t.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(e){let t=this.annotation(eh.userEvent);return!!(t&&(t==e||t.length>e.length&&t.slice(0,e.length)==e&&"."==t[e.length]))}}function ef(e,t,n){var r;let i,o,l;return n?(i=t.changes,o=T.empty(t.changes.length),l=e.changes.compose(t.changes)):(i=t.changes.map(e.changes),o=e.changes.mapDesc(t.changes,!0),l=e.changes.compose(i)),{changes:l,selection:t.selection?t.selection.map(o):null==(r=e.selection)?void 0:r.map(i),effects:ed.mapEffects(e.effects,i).concat(ed.mapEffects(t.effects,o)),annotations:e.annotations.length?e.annotations.concat(t.annotations):t.annotations,scrollIntoView:e.scrollIntoView||t.scrollIntoView}}function ep(e,t,n){let r=t.selection,i=em(t.annotations);return t.userEvent&&(i=i.concat(eh.userEvent.of(t.userEvent))),{changes:t.changes instanceof T?t.changes:T.of(t.changes||[],n,e.facet(er)),selection:r&&(r instanceof M?r:M.single(r.anchor,r.head)),effects:em(t.effects),annotations:i,scrollIntoView:!!t.scrollIntoView}}eh.time=ea.define(),eh.userEvent=ea.define(),eh.addToHistory=ea.define(),eh.remote=ea.define();let eg=[];function em(e){return null==e?eg:Array.isArray(e)?e:[e]}var eO=function(e){return e[e.Word=0]="Word",e[e.Space=1]="Space",e[e.Other=2]="Other",e}(eO||(eO={}));let ey=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;try{r=RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch(e){}class ev{constructor(e,t,n,r,i,o){this.config=e,this.doc=t,this.selection=n,this.values=r,this.status=e.statusTemplate.slice(),this.computeSlot=i,o&&(o._state=this);for(let e=0;e<this.config.dynamicSlots.length;e++)K(this,e<<1);this.computeSlot=null}field(e,t=!0){let n=this.config.address[e.id];if(null==n){if(t)throw RangeError("Field is not present in this state");return}return K(this,n),ee(this,n)}update(...e){return function e(t,n,r){let i=ep(t,n.length?n[0]:{},t.doc.length);n.length&&!1===n[0].filter&&(r=!1);for(let e=1;e<n.length;e++){!1===n[e].filter&&(r=!1);let o=!!n[e].sequential;i=ef(i,ep(t,n[e],o?i.changes.newLength:t.doc.length),o)}let o=eh.create(t,i.changes,i.selection,i.effects,i.annotations,i.scrollIntoView);return function(e){let t=e.startState,n=t.facet(el),r=e;for(let i=n.length-1;i>=0;i--){let o=n[i](e);o&&Object.keys(o).length&&(r=ef(r,ep(t,o,e.changes.newLength),!0))}return r==e?e:eh.create(t,e.changes,e.selection,r.effects,r.annotations,r.scrollIntoView)}(r?function(t){let n=t.startState,r=!0;for(let e of n.facet(ei)){let n=e(t);if(!1===n){r=!1;break}Array.isArray(n)&&(r=!0===r?n:function(e,t){let n=[];for(let r=0,i=0;;){let o,l;if(r<e.length&&(i==t.length||t[i]>=e[r]))o=e[r++],l=e[r++];else{if(!(i<t.length))return n;o=t[i++],l=t[i++]}!n.length||n[n.length-1]<o?n.push(o,l):n[n.length-1]<l&&(n[n.length-1]=l)}}(r,n))}if(!0!==r){let e,i;if(!1===r)i=t.changes.invertedDesc,e=T.empty(n.doc.length);else{let n=t.changes.filter(r);e=n.changes,i=n.filtered.mapDesc(n.changes).invertedDesc}t=eh.create(n,e,t.selection&&t.selection.map(i),ed.mapEffects(t.effects,i),t.annotations,t.scrollIntoView)}let i=n.facet(eo);for(let r=i.length-1;r>=0;r--){let o=i[r](t);t=o instanceof eh?o:Array.isArray(o)&&1==o.length&&o[0]instanceof eh?o[0]:e(n,em(o),!1)}return t}(o):o)}(this,e,!0)}applyTransaction(e){let t,n=this.config,{base:r,compartments:i}=n;for(let t of e.effects)t.is(G.reconfigure)?(n&&(i=new Map,n.compartments.forEac
1h((e,t)=>i.set(t,e)),n=null),i.set(t.value.compartment,t.value.extension)):t.is(ed.reconfigure)?(n=null,r=t.value):t.is(ed.appendConfig)&&(n=null,r=em(r).concat(t.value));t=n?e.startState.values.slice():new ev(n=J.resolve(r,i,this),this.doc,this.selection,n.dynamicSlots.map(()=>null),(e,t)=>t.reconfigure(e,this),null).values;let o=e.startState.facet(en)?e.newSelection:e.newSelection.asSingle();new ev(n,e.newDoc,o,t,(t,n)=>n.update(t,e),e)}replaceSelection(e){return"string"==typeof e&&(e=this.toText(e)),this.changeByRange(t=>({changes:{from:t.from,to:t.to,insert:e},range:M.cursor(t.from+e.length)}))}changeByRange(e){let t=this.selection,n=e(t.ranges[0]),r=this.changes(n.changes),i=[n.range],o=em(n.effects);for(let n=1;n<t.ranges.length;n++){let l=e(t.ranges[n]),s=this.changes(l.changes),a=s.map(r);for(let e=0;e<n;e++)i[e]=i[e].map(a);let u=r.mapDesc(s,!0);i.push(l.range.map(u)),r=r.compose(a),o=ed.mapEffects(o,a).concat(ed.mapEffects(em(l.effects),u))}return{changes:r,selection:M.create(i,t.mainIndex),effects:o}}changes(e=[]){return e instanceof T?e:T.of(e,this.doc.length,this.facet(ev.lineSeparator))}toText(e){return h.of(e.split(this.facet(ev.lineSeparator)||_))}sliceDoc(e=0,t=this.doc.length){return this.doc.sliceString(e,t,this.lineBreak)}facet(e){let t=this.config.address[e.id];return null==t?e.default:(K(this,t),ee(this,t))}toJSON(e){let t={doc:this.sliceDoc(),selection:this.selection.toJSON()};if(e)for(let n in e){let r=e[n];r instanceof B&&null!=this.config.address[r.id]&&(t[n]=r.spec.toJSON(this.field(e[n]),this))}return t}static fromJSON(e,t={},n){if(!e||"string"!=typeof e.doc)throw RangeError("Invalid JSON representation for EditorState");let r=[];if(n){for(let t in n)if(Object.prototype.hasOwnProperty.call(e,t)){let i=n[t],o=e[t];r.push(i.init(e=>i.spec.fromJSON(o,e)))}}return ev.create({doc:e.doc,selection:M.fromJSON(e.selection),extensions:t.extensions?r.concat([t.extensions]):r})}static create(e={}){let t=J.resolve(e.extensions||[],new Map),n=e.doc instanceof h?e.doc:h.of((e.doc||"").split(t.staticFacet(ev.lineSeparator)||_)),r=e.selection?e.selection instanceof M?e.selection:M.single(e.selection.anchor,e.selection.head):M.single(0);return Z(r,n.length),t.staticFacet(en)||(r=r.asSingle()),new ev(t,n,r,t.dynamicSlots.map(()=>null),(e,t)=>t.create(e),null)}get tabSize(){return this.facet(ev.tabSize)}get lineBreak(){return this.facet(ev.lineSeparator)||"\n"}get readOnly(){return this.facet(es)}phrase(e,...t){for(let t of this.facet(ev.phrases))if(Object.prototype.hasOwnProperty.call(t,e)){e=t[e];break}return t.length&&(e=e.replace(/\$(\$|\d*)/g,(e,n)=>{if("$"==n)return"$";let r=+(n||1);return!r||r>t.length?e:t[r-1]})),e}languageDataAt(e,t,n=-1){let r=[];for(let i of this.facet(et))for(let o of i(this,t,n))Object.prototype.hasOwnProperty.call(o,e)&&r.push(o[e]);return r}charCategorizer(e){var t;let n=this.languageDataAt("wordChars",e);return t=n.length?n[0]:"",e=>{if(!/\S/.test(e))return eO.Space;if(function(e){if(r)return r.test(e);for(let t=0;t<e.length;t++){let n=e[t];if(/\w/.test(n)||n>"\x80"&&(n.toUpperCase()!=n.toLowerCase()||ey.test(n)))return!0}return!1}(e))return eO.Word;for(let n=0;n<t.length;n++)if(e.indexOf(t[n])>-1)return eO.Word;return eO.Other}}wordAt(e){let{text:t,from:n,length:r}=this.doc.lineAt(e),i=this.charCategorizer(e),o=e-n,l=e-n;for(;o>0;){let e=b(t,o,!1);if(i(t.slice(e,o))!=eO.Word)break;o=e}for(;l<r;){let e=b(t,l);if(i(t.slice(l,e))!=eO.Word)break;l=e}return o==l?null:M.range(o+n,l+n)}}function ex(e,t,n={}){let r={};for(let t of e)for(let e of Object.keys(t)){let i=t[e],o=r[e];if(void 0===o)r[e]=i;else if(o===i||void 0===i);else if(Object.hasOwnProperty.call(n,e))r[e]=n[e](o,i);else throw Error("Config merge conflict for field "+e)}for(let e in t)void 0===r[e]&&(r[e]=t[e]);return r}ev.allowMultipleSelections=en,ev.tabSize=j.define({combine:e=>e.length?e[0]:4}),ev.lineSeparator=er,ev.readOnly=es,ev.phrases=j.define({compare(e,t){let n=Object.keys(e),r=Object.keys(t);return n.length==r.length&&n.every(n=>e[n]==t[n])}}),ev.languageData=et,ev.changeFilter=ei,ev.transactionFilter=eo,ev.transactionExtender=el,G.reconfigure=ed.define();class eb{eq(e){return this==e}range(e,t=e){return ek.create(e,t,this)}}function ew(e,t){return e==t||e.constructor==t.constructor&&e.eq(t)}eb.prototype.startSide=eb.prototype.endSide=0,eb.prototype.point=!1,eb.prototype.mapM
1ode=C.TrackDel;class ek{constructor(e,t,n){this.from=e,this.to=t,this.value=n}static create(e,t,n){return new ek(e,t,n)}}function eS(e,t){return e.from-t.from||e.value.startSide-t.value.startSide}class e_{constructor(e,t,n,r){this.from=e,this.to=t,this.value=n,this.maxPoint=r}get length(){return this.to[this.to.length-1]}findIndex(e,t,n,r=0){let i=n?this.to:this.from;for(let o=r,l=i.length;;){if(o==l)return o;let r=o+l>>1,s=i[r]-e||(n?this.value[r].endSide:this.value[r].startSide)-t;if(r==o)return s>=0?o:l;s>=0?l=r:o=r+1}}between(e,t,n,r){for(let i=this.findIndex(t,-1e9,!0),o=this.findIndex(n,1e9,!1,i);i<o;i++)if(!1===r(this.from[i]+e,this.to[i]+e,this.value[i]))return!1}map(e,t){let n=[],r=[],i=[],o=-1,l=-1;for(let s=0;s<this.value.length;s++){let a=this.value[s],u=this.from[s]+e,c=this.to[s]+e,d,h;if(u==c){let e=t.mapPos(u,a.startSide,a.mapMode);if(null==e||(d=h=e,a.startSide!=a.endSide&&(h=t.mapPos(u,a.endSide))<d))continue}else if((d=t.mapPos(u,a.startSide))>(h=t.mapPos(c,a.endSide))||d==h&&a.startSide>0&&a.endSide<=0)continue;0>(h-d||a.endSide-a.startSide)||(o<0&&(o=d),a.point&&(l=Math.max(l,h-d)),n.push(a),r.push(d-o),i.push(h-o))}return{mapped:n.length?new e_(r,i,n,l):null,pos:o}}}class eC{constructor(e,t,n,r){this.chunkPos=e,this.chunk=t,this.nextLayer=n,this.maxPoint=r}static create(e,t,n,r){return new eC(e,t,n,r)}get length(){let e=this.chunk.length-1;return e<0?0:Math.max(this.chunkEnd(e),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let e=this.nextLayer.size;for(let t of this.chunk)e+=t.value.length;return e}chunkEnd(e){return this.chunkPos[e]+this.chunk[e].length}update(e){let{add:t=[],sort:n=!1,filterFrom:r=0,filterTo:i=this.length}=e,o=e.filter;if(0==t.length&&!o)return this;if(n&&(t=t.slice().sort(eS)),this.isEmpty)return t.length?eC.of(t):this;let l=new eQ(this,null,-1).goto(0),s=0,a=[],u=new eP;for(;l.value||s<t.length;)if(s<t.length&&(l.from-t[s].from||l.startSide-t[s].value.startSide)>=0){let e=t[s++];u.addInner(e.from,e.to,e.value)||a.push(e)}else 1==l.rangeIndex&&l.chunkIndex<this.chunk.length&&(s==t.length||this.chunkEnd(l.chunkIndex)<t[s].from)&&(!o||r>this.chunkEnd(l.chunkIndex)||i<this.chunkPos[l.chunkIndex])&&u.addChunk(this.chunkPos[l.chunkIndex],this.chunk[l.chunkIndex])?l.nextChunk():((!o||r>l.to||i<l.from||o(l.from,l.to,l.value))&&!u.addInner(l.from,l.to,l.value)&&a.push(ek.create(l.from,l.to,l.value)),l.next());return u.finishInner(this.nextLayer.isEmpty&&!a.length?eC.empty:this.nextLayer.update({add:a,filter:o,filterFrom:r,filterTo:i}))}map(e){if(e.empty||this.isEmpty)return this;let t=[],n=[],r=-1;for(let i=0;i<this.chunk.length;i++){let o=this.chunkPos[i],l=this.chunk[i],s=e.touchesRange(o,o+l.length);if(!1===s)r=Math.max(r,l.maxPoint),t.push(l),n.push(e.mapPos(o));else if(!0===s){let{mapped:i,pos:s}=l.map(o,e);i&&(r=Math.max(r,i.maxPoint),t.push(i),n.push(s))}}let i=this.nextLayer.map(e);return 0==t.length?i:new eC(n,t,i||eC.empty,r)}between(e,t,n){if(!this.isEmpty){for(let r=0;r<this.chunk.length;r++){let i=this.chunkPos[r],o=this.chunk[r];if(t>=i&&e<=i+o.length&&!1===o.between(i,e-i,t-i,n))return}this.nextLayer.between(e,t,n)}}iter(e=0){return e$.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,t=0){return e$.from(e).goto(t)}static compare(e,t,n,r,i=-1){let o=e.filter(e=>e.maxPoint>0||!e.isEmpty&&e.maxPoint>=i),l=t.filter(e=>e.maxPoint>0||!e.isEmpty&&e.maxPoint>=i),s=eT(o,l,n),a=new eE(o,s,i),u=new eE(l,s,i);n.iterGaps((e,t,n)=>eR(a,e,u,t,n,r)),n.empty&&0==n.length&&eR(a,0,u,0,0,r)}static eq(e,t,n=0,r){null==r&&(r=0x3b9ac9ff);let i=e.filter(e=>!e.isEmpty&&0>t.indexOf(e)),o=t.filter(t=>!t.isEmpty&&0>e.indexOf(t));if(i.length!=o.length)return!1;if(!i.length)return!0;let l=eT(i,o),s=new eE(i,l,0).goto(n),a=new eE(o,l,0).goto(n);for(;;){if(s.to!=a.to||!eN(s.active,a.active)||s.point&&(!a.point||!ew(s.point,a.point)))return!1;if(s.to>r)return!0;s.next(),a.next()}}static spans(e,t,n,r,i=-1){let o=new eE(e,null,i).goto(t),l=t,s=o.openStart;for(;;){let e=Math.min(o.to,n);if(o.point){let n=o.activeForPoint(o.to),i=o.pointFrom<t?n.length+1:o.point.startSide<0?n.length:Math.min(n.length,s);
vendor: 5,951 bytes, line 1
1r.point(l,e,o.point,n,i,o.pointRank),s=Math.min(o.openEnd(e),n.length)}else e>l&&(r.span(l,e,o.active,s),s=o.openEnd(e));if(o.to>n)return s+(o.point&&o.to>n?1:0);l=o.to,o.next()}}static of(e,t=!1){let n=new eP;for(let r of e instanceof ek?[e]:t?function(e){if(e.length>1)for(let t=e[0],n=1;n<e.length;n++){let r=e[n];if(eS(t,r)>0)return e.slice().sort(eS);t=r}return e}(e):e)n.add(r.from,r.to,r.value);return n.finish()}static join(e){if(!e.length)return eC.empty;let t=e[e.length-1];for(let n=e.length-2;n>=0;n--)for(let r=e[n];r!=eC.empty;r=r.nextLayer)t=new eC(r.chunkPos,r.chunk,t,Math.max(r.maxPoint,t.maxPoint));return t}}eC.empty=new eC([],[],null,-1),eC.empty.nextLayer=eC.empty;class eP{finishChunk(e){this.chunks.push(new e_(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,e&&(this.from=[],this.to=[],this.value=[])}constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}add(e,t,n){this.addInner(e,t,n)||(this.nextLayer||(this.nextLayer=new eP)).add(e,t,n)}addInner(e,t,n){let r=e-this.lastTo||n.startSide-this.last.endSide;if(r<=0&&0>(e-this.lastFrom||n.startSide-this.last.startSide))throw Error("Ranges must be added sorted by `from` position and `startSide`");return!(r<0)&&(250==this.from.length&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(t-this.chunkStart),this.last=n,this.lastFrom=e,this.lastTo=t,this.value.push(n),n.point&&(this.maxPoint=Math.max(this.maxPoint,t-e)),!0)}addChunk(e,t){if(0>(e-this.lastTo||t.value[0].startSide-this.last.endSide))return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,t.maxPoint),this.chunks.push(t),this.chunkPos.push(e);let n=t.value.length-1;return this.last=t.value[n],this.lastFrom=t.from[n]+e,this.lastTo=t.to[n]+e,!0}finish(){return this.finishInner(eC.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),0==this.chunks.length)return e;let t=eC.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,t}}function eT(e,t,n){let r=new Map;for(let t of e)for(let e=0;e<t.chunk.length;e++)t.chunk[e].maxPoint<=0&&r.set(t.chunk[e],t.chunkPos[e]);let i=new Set;for(let e of t)for(let t=0;t<e.chunk.length;t++){let o=r.get(e.chunk[t]);null==o||(n?n.mapPos(o):o)!=e.chunkPos[t]||(null==n?void 0:n.touchesRange(o,o+e.chunk[t].length))||i.add(e.chunk[t])}return i}class eQ{constructor(e,t,n,r=0){this.layer=e,this.skip=t,this.minPoint=n,this.rank=r}get startSide(){return this.value?this.value.startSide:0}get endSide(){return this.value?this.value.endSide:0}goto(e,t=-1e9){return this.chunkIndex=this.rangeIndex=0,this.gotoInner(e,t,!1),this}gotoInner(e,t,n){for(;this.chunkIndex<this.layer.chunk.length;){let t=this.layer.chunk[this.chunkIndex];if(!(this.skip&&this.skip.has(t)||this.layer.chunkEnd(this.chunkIndex)<e||t.maxPoint<this.minPoint))break;this.chunkIndex++,n=!1}if(this.chunkIndex<this.layer.chunk.length){let r=this.layer.chunk[this.chunkIndex].findIndex(e-this.layer.chunkPos[this.chunkIndex],t,!0);(!n||this.rangeIndex<r)&&this.setRangeIndex(r)}this.next()}forward(e,t){0>(this.to-e||this.endSide-t)&&this.gotoInner(e,t,!0)}next(){for(;;)if(this.chunkIndex==this.layer.chunk.length){this.from=this.to=1e9,this.value=null;break}else{let e=this.layer.chunkPos[this.chunkIndex],t=this.layer.chunk[this.chunkIndex],n=e+t.from[this.rangeIndex];if(this.from=n,this.to=e+t.to[this.rangeIndex],this.value=t.value[this.rangeIndex],this.setRangeIndex(this.rangeIndex+1),this.minPoint<0||this.value.point&&this.to-this.from>=this.minPoint)break}}setRangeIndex(e){if(e==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex<this.layer.chunk.length&&this.skip.has(this.layer.chunk[this.chunkIndex]);)this.chunkIndex++;this.rangeIndex=0}else this.rangeIndex=e}nextChunk(){this.chunkIndex++,this.rangeIndex=0,this.next()}compare(e){return this.from-e.from||this.startSide-e.startSide||this.rank-e.rank||this.to-e.to||this.endSide-e.endSide}}class e${constructor(e){this.heap=e}static from(e,t=null,n=-1){let r=[];for(let i=0;i<e.length;i++)for(let o=e[i];!o.isEmpty;o=o.nextLayer)o.maxPoint>=n&&r.push(new eQ(o,t,n,i));return 1==r.length?r[0]:new e$(r)}get startSide(){return this.value?this.value.startSide:0}goto(e,t=-1e9){for(let n of this.heap)n.goto(e,t);for(let e=this.heap.length>>1;e>=0;e--)eA(this.heap,e);return this.next(),this}forward(e,t){for(let n of this.heap)n.forward(e,t);for(let e=this.heap.length>>1;e>=0;e--)eA(this.heap,e);0>(this.to-e||this.value.endSide-t)&&this.next()}next(){if(0==this.heap.length)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let e=this.heap[0];this.from=e.from,this.to=e.to,this.value=e.value,this.rank=e.rank,e.value&&e.next(),eA(this.heap,0)}}}function eA(e,t){for(let n=e[t];;){let r=(t<<1)+1;if(r>=e.length)break;let i=e[r];if(r+1<e.length&&i.compare(e[r+1])>=0&&(i=e[r+1],r++),0>n.compare(i))break;e[r]=n,e[t]=i,t=r}}class eE{constructor(e,t,n){this.minPoint=n,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=e$.from(e,t,n)}goto(e,t=-1e9){return this.cursor.goto(e,t),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=e,this.endSide=t,this.openStart=-1,this.next(),this}forward(e,t){for(;this.minActive>-1&&0>(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-t);)this.removeActive(this.minActive);this.cursor.forward(e,t)}removeActive(e){eL(this.active,e),eL(this.activeTo,e),eL(this.activeRank,e),this.minActive=eZ(this.active,this.activeTo)}
1addActive(e){let t=0,{value:n,to:r,rank:i}=this.cursor;for(;t<this.activeRank.length&&(i-this.activeRank[t]||r-this.activeTo[t])>0;)t++;eM(this.active,t,n),eM(this.activeTo,t,r),eM(this.activeRank,t,i),e&&eM(e,t,this.cursor.from),this.minActive=eZ(this.active,this.activeTo)}next(){let e=this.to,t=this.point;this.point=null;let n=this.openStart<0?[]:null;for(;;){let r=this.minActive;if(r>-1&&0>(this.activeTo[r]-this.cursor.from||this.active[r].endSide-this.cursor.startSide)){if(this.activeTo[r]>e){this.to=this.activeTo[r],this.endSide=this.active[r].endSide;break}this.removeActive(r),n&&eL(n,r)}else if(this.cursor.value)if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}else{let e=this.cursor.value;if(e.point)if(t&&this.cursor.to==this.to&&this.cursor.from<this.cursor.to)this.cursor.next();else{this.point=e,this.pointFrom=this.cursor.from,this.pointRank=this.cursor.rank,this.to=this.cursor.to,this.endSide=e.endSide,this.cursor.next(),this.forward(this.to,this.endSide);break}else this.addActive(n),this.cursor.next()}else{this.to=this.endSide=1e9;break}}if(n){this.openStart=0;for(let t=n.length-1;t>=0&&n[t]<e;t--)this.openStart++}}activeForPoint(e){if(!this.active.length)return this.active;let t=[];for(let n=this.active.length-1;n>=0&&!(this.activeRank[n]<this.pointRank);n--)(this.activeTo[n]>e||this.activeTo[n]==e&&this.active[n].endSide>=this.point.endSide)&&t.push(this.active[n]);return t.reverse()}openEnd(e){let t=0;for(let n=this.activeTo.length-1;n>=0&&this.activeTo[n]>e;n--)t++;return t}}function eR(e,t,n,r,i,o){e.goto(t),n.goto(r);let l=r+i,s=r,a=r-t,u=!!o.boundChange;for(let t=!1;;){let r=e.to+a-n.to,i=r||e.endSide-n.endSide,c=i<0?e.to+a:n.to,d=Math.min(c,l);if(e.point||n.point?(e.point&&n.point&&ew(e.point,n.point)&&eN(e.activeForPoint(e.to),n.activeForPoint(n.to))||o.comparePoint(s,d,e.point,n.point),t=!1):(t&&o.boundChange(s),d>s&&!eN(e.active,n.active)&&o.compareRange(s,d,e.active,n.active),u&&d<l&&(r||e.openEnd(c)!=n.openEnd(c))&&(t=!0)),c>l)break;s=c,i<=0&&e.next(),i>=0&&n.next()}}function eN(e,t){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!=t[n]&&!ew(e[n],t[n]))return!1;return!0}function eL(e,t){for(let n=t,r=e.length-1;n<r;n++)e[n]=e[n+1];e.pop()}function eM(e,t,n){for(let n=e.length-1;n>=t;n--)e[n+1]=e[n];e[t]=n}function eZ(e,t){let n=-1,r=1e9;for(let i=0;i<t.length;i++)0>(t[i]-r||e[i].endSide-e[n].endSide)&&(n=i,r=t[i]);return n}function eI(e,t,n=e.length){let r=0;for(let i=0;i<n&&i<e.length;)9==e.charCodeAt(i)?(r+=t-r%t,i++):(r++,i=b(e,i));return r}function ej(e,t,n,r){for(let r=0,i=0;;){if(i>=t)return r;if(r==e.length)break;i+=9==e.charCodeAt(r)?n-i%n:1,r=b(e,r)}return!0===r?-1:e.length}},11997:(e,t,n)=>{"use strict";n.d(t,{hO:()=>a,sG:()=>s});var r=n(6325),i=n(36184),o=n(38716),l=n(64177),s=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let n=(0,o.TL)(`Primitive.${t}`),i=r.forwardRef((e,r)=>{let{asChild:i,...o}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,l.jsx)(i?n:t,{...o,ref:r})});return i.displayName=`Primitive.${t}`,{...e,[t]:i}},{});function a(e,t){e&&i.flushSync(()=>e.dispatchEvent(t))}},12238:(e,t,n)=>{"use strict";n.r(t),n.d(t,{autoCloseTags:()=>eu,html:()=>es,htmlCompletionSource:()=>ee,htmlCompletionSourceWith:()=>et,htmlLanguage:()=>el});var r=n(70963),i=n(87797),o=n(60611);let l={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},s={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},a={dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},u=null,c=null,d=0;function h(e,t){var n;let r=e.pos+t;if(d==r&&c==e)return u;let i=e.peek(t),o="";for(;45==(n=i)||46==n||58==n||n>=65&&n<=90||95==n||n>=97&&n<=122||n>=161;)o+=String.fromCharCode(i),i=e.peek(++t);return c=e,d=r,u=o?o.toLowerCase():i==f||i==p?void 0:null}let f=63,p=33;function g(e,t){this.name=e,this.parent=t}let m=[6,10,7,8,9],O=new r.Aj({start:null,shift:(e,t,n,r)=>m.indexOf(t)>-1?new g(h(r,1)||"",e):e,reduce:(e,t)=>21==t&&e?e.parent:e,reuse(e,t,n,r){let i=t.type.id;return 6==i||37==i?new g(h(r,1)||"",e):e},strict:!1}),y=new r.Lu((e,t)=>
1{if(60!=e.next){e.next<0&&t.context&&e.acceptToken(58);return}e.advance();let n=47==e.next;n&&e.advance();let r=h(e,0);if(void 0===r)return;if(!r)return e.acceptToken(n?15:14);let i=t.context?t.context.name:null;if(n){if(r==i)return e.acceptToken(11);if(i&&s[i])return e.acceptToken(58,-2);if(t.dialectEnabled(0))return e.acceptToken(12);for(let e=t.context;e;e=e.parent)if(e.name==r)return;e.acceptToken(13)}else{if("script"==r)return e.acceptToken(7);if("style"==r)return e.acceptToken(8);if("textarea"==r)return e.acceptToken(9);if(l.hasOwnProperty(r))return e.acceptToken(10);i&&a[i]&&a[i][r]?e.acceptToken(58,-1):e.acceptToken(6)}},{contextual:!0}),v=new r.Lu(e=>{for(let t=0,n=0;;n++){if(e.next<0){n&&e.acceptToken(59);break}if(45==e.next)t++;else if(62==e.next&&t>=2){n>=3&&e.acceptToken(59,-2);break}else t=0;e.advance()}}),x=new r.Lu((e,t)=>{if(47==e.next&&62==e.peek(1)){let n=t.dialectEnabled(1)||function(e){for(;e;e=e.parent)if("svg"==e.name||"math"==e.name)return!0;return!1}(t.context);e.acceptToken(n?5:4,2)}else 62==e.next&&e.acceptToken(4,1)});function b(e,t,n){let i=2+e.length;return new r.Lu(r=>{for(let o=0,l=0,s=0;;s++){if(r.next<0){s&&r.acceptToken(t);break}if(0==o&&60==r.next||1==o&&47==r.next||o>=2&&o<i&&r.next==e.charCodeAt(o-2))o++,l++;else if(o==i&&62==r.next){s>l?r.acceptToken(t,-l):r.acceptToken(n,-(l-2));break}else if((10==r.next||13==r.next)&&s){r.acceptToken(t,1);break}else o=l=0;r.advance()}})}let w=b("script",55,1),k=b("style",56,2),S=b("textarea",57,3),_=(0,i.pn)({"Text RawText IncompleteTag IncompleteCloseTag":i._A.content,"StartTag StartCloseTag SelfClosingEndTag EndTag":i._A.angleBracket,TagName:i._A.tagName,"MismatchedCloseTag/TagName":[i._A.tagName,i._A.invalid],AttributeName:i._A.attributeName,"AttributeValue UnquotedAttributeValue":i._A.attributeValue,Is:i._A.definitionOperator,"EntityReference CharacterReference":i._A.character,Comment:i._A.blockComment,ProcessingInst:i._A.processingInstruction,DoctypeDecl:i._A.documentMeta}),C=r.U1.deserialize({version:14,states:",xOVO!rOOO!ZQ#tO'#CrO!`Q#tO'#C{O!eQ#tO'#DOO!jQ#tO'#DRO!oQ#tO'#DTO!tOaO'#CqO#PObO'#CqO#[OdO'#CqO$kO!rO'#CqOOO`'#Cq'#CqO$rO$fO'#DUO$zQ#tO'#DWO%PQ#tO'#DXOOO`'#Dl'#DlOOO`'#DZ'#DZQVO!rOOO%UQ&rO,59^O%aQ&rO,59gO%lQ&rO,59jO%wQ&rO,59mO&SQ&rO,59oOOOa'#D_'#D_O&_OaO'#CyO&jOaO,59]OOOb'#D`'#D`O&rObO'#C|O&}ObO,59]OOOd'#Da'#DaO'VOdO'#DPO'bOdO,59]OOO`'#Db'#DbO'jO!rO,59]O'qQ#tO'#DSOOO`,59],59]OOOp'#Dc'#DcO'vO$fO,59pOOO`,59p,59pO(OQ#|O,59rO(TQ#|O,59sOOO`-E7X-E7XO(YQ&rO'#CtOOQW'#D['#D[O(hQ&rO1G.xOOOa1G.x1G.xOOO`1G/Z1G/ZO(sQ&rO1G/ROOOb1G/R1G/RO)OQ&rO1G/UOOOd1G/U1G/UO)ZQ&rO1G/XOOO`1G/X1G/XO)fQ&rO1G/ZOOOa-E7]-E7]O)qQ#tO'#CzOOO`1G.w1G.wOOOb-E7^-E7^O)vQ#tO'#C}OOOd-E7_-E7_O){Q#tO'#DQOOO`-E7`-E7`O*QQ#|O,59nOOOp-E7a-E7aOOO`1G/[1G/[OOO`1G/^1G/^OOO`1G/_1G/_O*VQ,UO,59`OOQW-E7Y-E7YOOOa7+$d7+$dOOO`7+$u7+$uOOOb7+$m7+$mOOOd7+$p7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pXYOX`pQ`ORx`Q{aQ!ObQ!QcQ!SdQ!UeZ!e{!O!Q!S!UQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",nodeNames:"⚠ StartCloseTag StartCloseTag StartCloseTag EndTag SelfClosingEndTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",maxTerm:68,context:O,nodeProps:[["closedBy",-10,1,2,3,7,8,9,10,11,12,13,"EndTag",6,"EndTag SelfClosingEndTag",-4,22,3
11,34,37,"CloseTag"],["openedBy",4,"StartTag StartCloseTag",5,"StartTag",-4,30,33,36,38,"OpenTag"],["group",-10,14,15,18,19,20,21,40,41,42,43,"Entity",17,"Entity TextContent",-3,29,32,35,"TextContent Entity"],["isolate",-11,22,30,31,33,34,36,37,38,39,42,43,"ltr",-3,27,28,40,""]],propSources:[_],skippedNodes:[0],repeatNodeCount:9,tokenData:"!<p!aR!YOX$qXY,QYZ,QZ[$q[]&X]^,Q^p$qpq,Qqr-_rs3_sv-_vw3}wxHYx}-_}!OH{!O!P-_!P!Q$q!Q![-_![!]Mz!]!^-_!^!_!$S!_!`!;x!`!a&X!a!c-_!c!}Mz!}#R-_#R#SMz#S#T1k#T#oMz#o#s-_#s$f$q$f%W-_%W%oMz%o%p-_%p&aMz&a&b-_&b1pMz1p4U-_4U4dMz4d4e-_4e$ISMz$IS$I`-_$I`$IbMz$Ib$Kh-_$Kh%#tMz%#t&/x-_&/x&EtMz&Et&FV-_&FV;'SMz;'S;:j!#|;:j;=`3X<%l?&r-_?&r?AhMz?Ah?BY$q?BY?MnMz?MnO$q!Z$|caPlW!b`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,3,4,5],topRules:{Document:[0,16]},dialects:{noMatch:0,selfClosing:515},tokenPrec:517});function P(e,t){let n=Object.create(null);for(let r of e.getChildren(24)){let e=r.getChild(25),i=r.getChild(27)||r.getChild(28);e&&(n[t.read(e.from,e.to)]=i?27==i.type.id?t.read(i.from+1,i.to-1):t.read(i.from,i.to):"")}return n}function T(e,t){let n=e.getChild(23);return n?t.read(n.from,n.to):" "}function Q(e,t,n){let r;for(let i of n)if(!i.attrs||i.attrs(r||(r=P(e.node.parent.firstChild,t))))return{parser:i.parser,bracketed:!0};return null}function $(e=[],t=[]){let n=[],r=[],i=[],l=[];for(let t of e)("script"==t.tag?n:"style"==t.tag?r:"textarea"==t.tag?i:l).push(t);let s=t.length?Object.create(null):null;for(let e of t)(s[e.name]||(s[e.name]=[])).push(e);return(0,o.$g)((e,t)=>{let o=e.type.id;if(29==o)return Q(e,t,n);if(32==o)return Q(e,t,r);if(35==o)return Q(e,t,i);if(21==o&&l.length){let n=e.node,r=n.firstChild,i=r&&T(r,t),o;if(i){for(let e of l)if(e.tag==i&&(!e.attrs||e.attrs(o||(o=P(r,t))))){let t=n.lastChild,i=38==t.type.id?t.from:n.to;if(i>r.to)return{parser:e.parser,overlay:[{from:r.to,to:i}]}}}}if(s&&24==o){let n=e.node,r;if(r=n.firstChild){let e=s[t.read(r.from,r.to)];if(e)for(let r of e){if(r.tagName&&r.tagName!=T(n.parent,t))continue;let e=n.lastChild;if(27==e.type.id){let t=e.from+1,n=e.lastChild,i=e.to-(n&&n.isError?0:1);if(i>t)return{parser:r.parser,overlay:[{from:t,to:i}],bracketed:!0}}else if(28==e.type.id)return{parser:r.parser,overlay:[{from:e.from,to:e.to}]}}}}return null})}var A=n(18602),E=n(16209),R=n(84306),N=n(11877),L=n(62221);let M=["_blank","_self","_top","_parent"],Z=["ascii","utf-8","utf-16","latin1","latin1"],I=["get","post","put","delete"],j=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],X=["true","false"],D={},V={a:{attrs:{href:null,ping:null,type:null,media:null,target:M,hreflang:null}},abbr:D,address:D,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:["default","rect","circle","poly"]}},article:D,aside:D,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],controls:["controls"]}},b:D,base:{attrs:{href:null,target:M}},bdi:D,bdo:D,blockquote:{attrs:{cite:null}},body:D,br:D,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["autofocus"],disabled:["autofocus"],formenctype:j,formmethod:I,formnovalidate:["novalidate"],formtarget:M,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}}
vendor: 6,468 bytes, line 1
1,caption:D,center:D,cite:D,code:D,col:{attrs:{span:null}},colgroup:{attrs:{span:null}},command:{attrs:{type:["command","checkbox","radio"],label:null,icon:null,radiogroup:null,command:null,title:null,disabled:["disabled"],checked:["checked"]}},data:{attrs:{value:null}},datagrid:{attrs:{disabled:["disabled"],multiple:["multiple"]}},datalist:{attrs:{data:null}},dd:D,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["open"]}},dfn:D,div:D,dl:D,dt:D,em:D,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:D,figure:D,footer:D,form:{attrs:{action:null,name:null,"accept-charset":Z,autocomplete:["on","off"],enctype:j,method:I,novalidate:["novalidate"],target:M}},h1:D,h2:D,h3:D,h4:D,h5:D,h6:D,head:{children:["title","base","link","style","meta","script","noscript","command"]},header:D,hgroup:D,hr:D,html:{attrs:{manifest:null}},i:D,iframe:{attrs:{src:null,srcdoc:null,name:null,width:null,height:null,sandbox:["allow-top-navigation","allow-same-origin","allow-forms","allow-scripts"],seamless:["seamless"]}},img:{attrs:{alt:null,src:null,ismap:null,usemap:null,width:null,height:null,crossorigin:["anonymous","use-credentials"]}},input:{attrs:{alt:null,dirname:null,form:null,formaction:null,height:null,list:null,max:null,maxlength:null,min:null,name:null,pattern:null,placeholder:null,size:null,src:null,step:null,value:null,width:null,accept:["audio/*","video/*","image/*"],autocomplete:["on","off"],autofocus:["autofocus"],checked:["checked"],disabled:["disabled"],formenctype:j,formmethod:I,formnovalidate:["novalidate"],formtarget:M,multiple:["multiple"],readonly:["readonly"],required:["required"],type:["hidden","text","search","tel","url","email","password","datetime","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]}},ins:{attrs:{cite:null,datetime:null}},kbd:D,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:D,li:{attrs:{value:null}},link:{attrs:{href:null,type:null,hreflang:null,media:null,sizes:["all","16x16","16x16 32x32","16x16 32x32 64x64"]}},map:{attrs:{name:null}},mark:D,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:Z,name:["viewport","application-name","author","description","generator","keywords"],"http-equiv":["content-language","content-type","default-style","refresh"]}},meter:{attrs:{value:null,min:null,low:null,high:null,max:null,optimum:null}},nav:D,noscript:D,object:{attrs:{data:null,type:null,name:null,usemap:null,form:null,width:null,height:null,typemustmatch:["typemustmatch"]}},ol:{attrs:{reversed:["reversed"],start:null,type:["1","a","A","i","I"]},children:["li","script","template","ul","ol"]},optgroup:{attrs:{disabled:["disabled"],label:null}},option:{attrs:{disabled:["disabled"],label:null,selected:["selected"],value:null}},output:{attrs:{for:null,form:null,name:null}},p:D,param:{attrs:{name:null,value:null}},pre:D,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:D,rt:D,ruby:D,samp:D,script:{attrs:{type:["text/javascript"],src:null,async:["async"],defer:["defer"],charset:Z}},section:D,select:{attrs:{form:null,name:null,size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},slot:{attrs:{name:null}},small:D,source:{attrs:{src:null,type:null,media:null}},span:D,strong:D,style:{attrs:{type:["text/css"],media:null,scoped:null}},sub:D,summary:D,sup:D,table:D,tbody:D,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:D,textarea:{attrs:{dirname:null,form:null,maxlength:null,name:null,placeholder:null,rows:null,cols:null,autofocus:["autofocus"],disabled:["disabled"],readonly:["readonly"],required:["required"],wrap:["soft","hard"]}},tfoot:D,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:D,time:{attrs:{datetime:null}},title:D,tr:D,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:null}},ul:{children:["li","script","template","ul","ol"]},var:D,video:{attrs:{src:null,poster:null,width:null,height:null,crossorigin:["anonymous","use-credentials"],preload:["auto","metadata","none"],autoplay:["autoplay"],mediagroup:["movie"],muted:["muted"],controls:["controls"]}},wbr:D},F={accesskey:null,class:null,contenteditable:X,contextmenu:null,dir:["ltr","rtl","auto"],draggable:["true","false","auto"],dropzone:["copy","move","link","string:","file:"],hidden:["hidden"],id:null,inert:["inert"],itemid:null,itemprop:null,itemref:null,itemscope:["itemscope"],itemtype:null,lang:["ar","bn","de","en-GB","en-US","es","fr","hi","id","ja","pa","pt","ru","tr","zh"],spellcheck:X,autocorrect:X,autocapitalize:X,style:null,tabindex:null,title:null,translate:["yes","no"],rel:["stylesheet","alternate","author","bookmark","help","license","next","nofollow","noreferrer","prefetch","prev","search","tag"],role:"alert application article banner button cell checkbox complementary contentinfo dialog document feed figure form grid gridcell heading img list listbox listitem main navigation region row rowgroup search switch tab table tabpanel textbox timer".split(" "),"aria-activedescendant":null,"aria-atomic":X,"aria-autocomplete":["inline","list","both","none"],"aria-busy":X,"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,"aria-describedby":null,"aria-disabled":X,"aria-dropeffect":null,"aria-expanded":["true","false","undefined"],"aria-flowto":null,"aria-grabbed":["true","false","undefined"],"aria-haspopup":X,"aria-hidden":X,"aria-invalid":["true","false","grammar","spelling"],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":["off","polite","assertive"],"aria-multiline":X,"aria-multiselectable":X,"aria-owns":null,"aria-posinset":null,"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":X,"aria-relevant":null,"aria-required":X,"aria-selected":["true","false","undefined"],"aria-setsize":null,"aria-sort":["ascending","descending","none","other"],"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null},z="beforeunload copy cut dragstart dragover dragleave dragenter dragend drag paste focus blur change click load mousedown mouseenter mouseleave mouseup keydown keyup resize scroll unload".
1split(" ").map(e=>"on"+e);for(let e of z)F[e]=null;class B{constructor(e,t){this.tags={...V,...e},this.globalAttrs={...F,...t},this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}}function W(e,t,n=e.length){if(!t)return"";let r=t.firstChild,i=r&&r.getChild("TagName");return i?e.sliceString(i.from,Math.min(i.to,n)):""}function Y(e,t=!1){for(;e;e=e.parent)if("Element"==e.name)if(!t)return e;else t=!1;return null}function q(e,t,n){let r=n.tags[W(e,Y(t))];return(null==r?void 0:r.children)||n.allTags}function U(e,t){let n=[];for(let r=Y(t);r&&!r.type.isTop;r=Y(r.parent)){let i=W(e,r);if(i&&"CloseTag"==r.lastChild.name)break;i&&0>n.indexOf(i)&&("EndTag"==t.name||t.from>=r.firstChild.to)&&n.push(i)}return n}B.default=new B;let G=/^[:\-\.\w\u00b7-\uffff]*$/;function H(e,t,n,r,i){let o=/\s*>/.test(e.sliceDoc(i,i+5))?"":">",l=Y(n,"StartTag"==n.name||"TagName"==n.name);return{from:r,to:i,options:q(e.doc,l,t).map(e=>({label:e,type:"type"})).concat(U(e.doc,n).map((e,t)=>({label:"/"+e,apply:"/"+e+o,type:"type",boost:99-t}))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function J(e,t,n,r){let i=/\s*>/.test(e.sliceDoc(r,r+5))?"":">";return{from:n,to:r,options:U(e.doc,t).map((e,t)=>({label:e,apply:e+i,type:"type",boost:99-t})),validFor:G}}function K(e,t){let{state:n,pos:r}=t,i=(0,L.mv)(n).resolveInner(r,-1),o=i.resolve(r);for(let e=r,t;o==i&&(t=i.childBefore(e));){let n=t.lastChild;if(!n||!n.type.isError||n.from<n.to)break;o=i=t,e=n.from}if("TagName"==i.name)return i.parent&&/CloseTag$/.test(i.parent.name)?J(n,i,i.from,r):H(n,e,i,i.from,r);if("StartTag"==i.name||"IncompleteTag"==i.name)return H(n,e,i,r,r);if("StartCloseTag"==i.name||"IncompleteCloseTag"==i.name)return J(n,i,r,r);if("OpenTag"==i.name||"SelfClosingTag"==i.name||"AttributeName"==i.name){var l,s;let t,o,a;return l=i,s="AttributeName"==i.name?i.from:r,a=(o=(t=Y(l))?e.tags[W(n.doc,t)]:null)&&o.attrs?Object.keys(o.attrs):[],{from:s,to:r,options:(o&&!1===o.globalAttrs?a:a.length?a.concat(e.globalAttrNames):e.globalAttrNames).map(e=>({label:e,type:"property"})),validFor:G}}{if("Is"==i.name||"AttributeValue"==i.name||"UnquotedAttributeValue"==i.name)return function(e,t,n,r,i){var o;let l=null==(o=n.parent)?void 0:o.getChild("AttributeName"),s=[],a;if(l){let o=e.sliceDoc(l.from,l.to),u=t.globalAttrs[o];if(!u){let r=Y(n),i=r?t.tags[W(e.doc,r)]:null;u=(null==i?void 0:i.attrs)&&i.attrs[o]}if(u){let t=e.sliceDoc(r,i).toLowerCase(),n='"',o='"';for(let l of(/^['"]/.test(t)?(a='"'==t[0]?/^[^"]*$/:/^[^']*$/,n="",o=e.sliceDoc(i,i+1)==t[0]?"":t[0],t=t.slice(1),r++):a=/^[^\s<>='"]*$/,u))s.push({label:l,apply:n+l+o,type:"constant"})}}return{from:r,to:i,options:s,validFor:a}}(n,e,i,"Is"==i.name?r:i.from,r);if(!t.explicit||"Element"!=o.name&&"Text"!=o.name&&"Document"!=o.name)return null;var a=i;let l=[],s=0;for(let t of q(n.doc,a,e))l.push({label:"<"+t,type:"type"});for(let e of U(n.doc,a))l.push({label:"</"+e+">",type:"type",boost:99-s++});return{from:r,to:r,options:l,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}}function ee(e){return K(B.default,e)}function et(e){let{extraTags:t,extraGlobalAttributes:n}=e,r=n||t?new B(t,n):B.default;return e=>K(r,e)}let en=E.javascriptLanguage.parser.configure({top:"SingleExpression"}),er=[{tag:"script",attrs:e=>"text/typescript"==e.type||"ts"==e.lang,parser:E.typescriptLanguage.parser},{tag:"script",attrs:e=>"text/babel"==e.type||"text/jsx"==e.type,parser:E.jsxLanguage.parser},{tag:"script",attrs:e=>"text/typescript-jsx"==e.type,parser:E.tsxLanguage.parser},{tag:"script",attrs:e=>/^(importmap|speculationrules|application\/(.+\+)?json)$/i.test(e.type),parser:en},{tag:"script",attrs:e=>!e.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(e.type),parser:E.javascriptLanguage.parser},{tag:"style",attrs:e=>(!e.lang||"css"==e.lang)&&(!e.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(e.type)),parser:A.cssLanguage.parser}],ei=[{name:"style",parser:A.cssLanguage.parser.configure({top:"Styles"})}].concat(z.map(e=>({name:e,parser:E.javascriptLanguage.parser}))),eo=L.bj.define({name:"html",parser:C.configure({props:[L.Oh.add({Element(e){let t=/^(\s*)(<\/)?/.exec(e.textAfter);
1return e.node.to<=e.pos+t[0].length?e.continue():e.lineIndent(e.node.from)+(t[2]?0:e.unit)},"OpenTag CloseTag SelfClosingTag":e=>e.column(e.node.from)+e.unit,Document(e){if(e.pos+/\s*/.exec(e.textAfter)[0].length<e.node.to)return e.continue();let t=null,n;for(let n=e.node;;){let e=n.lastChild;if(!e||"Element"!=e.name||e.to!=n.to)break;t=n=e}return t&&!((n=t.lastChild)&&("CloseTag"==n.name||"SelfClosingTag"==n.name))?e.lineIndent(t.from)+e.unit:null}}),L.b_.add({Element(e){let t=e.firstChild,n=e.lastChild;return t&&"OpenTag"==t.name?{from:t.to,to:"CloseTag"==n.name?n.from:e.to}:null}}),L.Q_.add({"OpenTag CloseTag":e=>e.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:"\x3c!--",close:"--\x3e"}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-_"}}),el=eo.configure({wrap:$(er,ei)});function es(e={}){let t="",n;!1===e.matchClosingTags&&(t="noMatch"),!0===e.selfClosingTags&&(t=(t?t+" ":"")+"selfClosing"),(e.nestedLanguages&&e.nestedLanguages.length||e.nestedAttributes&&e.nestedAttributes.length)&&(n=$((e.nestedLanguages||[]).concat(er),(e.nestedAttributes||[]).concat(ei)));let r=n?eo.configure({wrap:n,dialect:t}):t?el.configure({dialect:t}):el;return new L.Yy(r,[el.data.of({autocomplete:et(e)}),!1!==e.autoCloseTags?eu:[],(0,E.javascript)().support,(0,A.css)().support])}let ea=new Set("area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" ")),eu=R.Lz.inputHandler.of((e,t,n,r,i)=>{if(e.composing||e.state.readOnly||t!=n||">"!=r&&"/"!=r||!el.isActiveAt(e.state,t,-1))return!1;let o=i(),{state:l}=o,s=l.changeByRange(e=>{var t,n,i;let o=l.doc.sliceString(e.from-1,e.to)==r,{head:s}=e,a=(0,L.mv)(l).resolveInner(s,-1),u;if(o&&">"==r&&"EndTag"==a.name){let r=a.parent;if((null==(n=null==(t=r.parent)?void 0:t.lastChild)?void 0:n.name)!="CloseTag"&&(u=W(l.doc,r.parent,s))&&!ea.has(u)){let t=s+ +(">"===l.doc.sliceString(s,s+1));return{range:e,changes:{from:s,to:t,insert:`</${u}>`}}}}else if(o&&"/"==r&&"IncompleteCloseTag"==a.name){let e=a.parent;if(a.from==s-2&&(null==(i=e.lastChild)?void 0:i.name)!="CloseTag"&&(u=W(l.doc,e,s))&&!ea.has(u)){let e=s+ +(">"===l.doc.sliceString(s,s+1)),t=`${u}>`;return{range:N.OF.cursor(s+t.length,-1),changes:{from:s,to:e,insert:t}}}}return{range:e}});return!s.changes.empty&&(e.dispatch([o,l.update(s,{userEvent:"input.complete",scrollIntoView:!0})]),!0)})},13748:()=>{!function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(/<inner>/g,function(){return t}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,i=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return r}),o=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+i+o+"(?:"+i+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+i+o+")(?:"+i+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+i+")"+o+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+i+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"}
1,list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(t){["url","bold","italic","strike","code-snippet"].forEach(function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])})}),e.hooks.add("after-tokenize",function(e){("markdown"===e.language||"md"===e.language)&&function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n<r;n++){var i=t[n];
1if("code"!==i.type){e(i.content);continue}var o=i.content[1],l=i.content[3];if(o&&l&&"code-language"===o.type&&"code-block"===l.type&&"string"==typeof o.content){var s=o.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),a="language-"+(s=(/[a-z][\w-]*/i.exec(s)||[""])[0].toLowerCase());l.alias?"string"==typeof l.alias?l.alias=[l.alias,a]:l.alias.push(a):l.alias=[a]}}}(e.tokens)}),e.hooks.add("wrap",function(t){if("code-block"===t.type){for(var n,r="",i=0,o=t.classes.length;i<o;i++){var u=t.classes[i],c=/language-(.+)/.exec(u);if(c){r=c[1];break}}var d=e.languages[r];if(d){t.content=e.highlight((n=t.content.replace(l,"")).replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(e,t){if("#"===(t=t.toLowerCase())[0])return a("x"===t[1]?parseInt(t.slice(2),16):Number(t.slice(1)));var n=s[t];return n||e}),d,r)}else if(r&&"none"!==r&&e.plugins.autoloader){var h="md-"+new Date().valueOf()+"-"+Math.floor(1e16*Math.random());t.attributes.id=h,e.plugins.autoloader.loadLanguages(r,function(){var t=document.getElementById(h);t&&(t.innerHTML=e.highlight(t.textContent,e.languages[r],r))})}}});var l=RegExp(e.languages.markup.tag.pattern.source,"gi"),s={amp:"&",lt:"<",gt:">",quot:'"'},a=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(Prism)},14725:(e,t,n)=>{"use strict";n.d(t,{DF:()=>l,Gu:()=>i,Mx:()=>o});var r=n(6325);let i=(0,r.createContext)(null);function o(e,t){let n=null;return null!=e&&(n=e[1]),{getTheme:function(){return null!=t?t:null!=n?n.getTheme():null}}}function l(){let e=(0,r.useContext)(i);return null==e&&function(e,...t){let n=new URL("https://lexical.dev/docs/error"),r=new URLSearchParams;for(let e of(r.append("code",8),t))r.append("v",e);throw n.search=r.toString(),Error(`Minified Lexical error #${8}; visit ${n.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}(8),e}},14948:()=>{Prism.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+(/(?:elseif|if)\b/.source+"(?:[ 	]*")+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},Prism.languages.swift["string-literal"].forEach(function(e){e.inside.interpolation.inside=Prism.languages.swift})},15157:()=>{Prism.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>
1\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup,Prism.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&amp;/,"&"))}),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:Prism.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var r={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};r["language-"+t]={pattern:/[\s\S]+/,inside:Prism.languages[t]};var i={};i[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:r},Prism.languages.insertBefore("markup","cdata",i)}}),Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function(e,t){Prism.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\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:[t,"language-"+t],inside:Prism.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,Prism.languages.xml=Prism.languages.extend("markup",{}),Prism.languages.ssml=Prism.languages.xml,Prism.languages.atom=Prism.languages.xml,Prism.languages.rss=Prism.languages.xml},16209:(e,t,n)=>{"use strict";n.r(t),n.d(t,{autoCloseTags:()=>Y,completionPath:()=>N,esLint:()=>q,javascript:()=>z,javascriptLanguage:()=>M,jsxLanguage:()=>j,localCompletionSource:()=>E,scopeCompletionSource:()=>L,snippets:()=>k,tsxLanguage:()=>X,typescriptLanguage:()=>I,typescriptSnippets:()=>S});var r=n(70963),i=n(87797);let o=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],l=new r.Aj({start:!1,shift:(e,t)=>5==t||6==t||320==t?e:321==t,strict:!1}),s=new r.Lu((e,t)=>{let{next:n}=e;(125==n||-1==n||t.context)&&e.acceptToken(318)},{contextual:!0,fallback:!0}),a=new r.Lu((e,t)=>{let{next:n}=e,r;!(o.indexOf(n)>-1)&&(47!=n||47!=(r=e.peek(1))&&42!=r)&&(125==n||59==n||-1==n||t.context||e.acceptToken(316))},{contextual:!0}),u=new r.Lu((e,t)=>{91!=e.next||t.context||e.acceptToken(317)},{contextual:!0}),c=new r.Lu((e,t)=>{let{next:n}=e;if(43==n||45==n){if(e.advance(),n==e.next){e.advance();let n=!t.context&&t.canShift(1);e.acceptToken(n?1:2)}}else 63==n&&46==e.peek(1)&&(e.advance(),e.advance(),(e.next<48||e.next>57)&&e.acceptToken(3))},{contextual:!0});function d(e,t){return e>=65&&e<=90||e>=97&&e<=122||95==e||e>=192||!t&&e>=48&&e<=57}let h=new r.Lu((e,t)=>{if(60!=e.next||!t.dialectEnabled(0)||(e.advance(),47==e.next))return;let n=0;for(;o.indexOf(e.next)>-1;)e.advance(),n++;if(d(e.next,!0)){for(e.advance(),n++;d(e.next,!1);)e.advance(),n++;for(;o.indexOf(e.next)>-1;)e.advance(),n++;if(44==e.next)return;for(let t=0;;t++){if(7==t){if(!d(e.next,!0))return;break}if(e.next!="extends".charCodeAt(t))break;e.advance(),n++}}e.acceptToken(4,-n)}),f=(0,i.pn)({"get set async static":i._A.modifier,"for while do if else switch try catch finally return throw break continue default case defer":i._A.controlKeyword,"in of await yield void typeof delete instanceof as satisfies":i._A.operatorKeyword,"let var const using function class extends":i._A.definitionKeyword,"import export from":i._A.moduleKeyword,"with debugger new":i._A.keyword,TemplateString:i._A.special(i._A.string),super:i._A.atom,BooleanLiteral:i._A.bool,this:i._A.self,null:i._A.null,Star:i._A.modifier,VariableName:i._A.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":i._A.function(i._A.variableName),VariableDefinition:i._A.definition(i._A.variableName),Label:i._A.labelName,PropertyName:i._A.propertyName,PrivatePropertyName:i._A.special(i._A.propertyName),"CallExpression/MemberExpression/PropertyName":i._A.function(i._A.propertyName),"FunctionDeclaration/VariableDefinition":i._A.function(i._A.definition(i._A.variableName)),"ClassDeclaration/VariableDefinition":i._A.definition(i._A.className),"NewExpression/VariableName":i._A.className,PropertyDefinition:i._A.definition(i._A.propertyName),PrivatePropertyDefinition:i._A.definition(i._A.special(i._A.propertyName)),UpdateOp:i._A.updateOperator,"LineComment Hashbang":i._A.lineComment,BlockComment:i._A.blockComment,Number:i._A.number,String:i._A.string,Escape:i._A.escape,Ar
1ithOp:i._A.arithmeticOperator,LogicOp:i._A.logicOperator,BitOp:i._A.bitwiseOperator,CompareOp:i._A.compareOperator,RegExp:i._A.regexp,Equals:i._A.definitionOperator,Arrow:i._A.function(i._A.punctuation),": Spread":i._A.punctuation,"( )":i._A.paren,"[ ]":i._A.squareBracket,"{ }":i._A.brace,"InterpolationStart InterpolationEnd":i._A.special(i._A.brace),".":i._A.derefOperator,", ;":i._A.separator,"@":i._A.meta,TypeName:i._A.typeName,TypeDefinition:i._A.definition(i._A.typeName),"type enum interface implements namespace module declare":i._A.definitionKeyword,"abstract global Privacy readonly override":i._A.modifier,"is keyof unique infer asserts":i._A.operatorKeyword,JSXAttributeValue:i._A.attributeValue,JSXText:i._A.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":i._A.angleBracket,"JSXIdentifier JSXNameSpacedName":i._A.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":i._A.attributeName,"JSXBuiltin/JSXIdentifier":i._A.standard(i._A.tagName)}),p={__proto__:null,export:20,as:25,from:33,default:36,async:41,function:42,in:52,out:55,const:56,extends:60,this:64,true:72,false:72,null:84,void:88,typeof:92,super:108,new:142,delete:154,yield:163,await:167,class:172,public:235,private:235,protected:235,readonly:237,instanceof:256,satisfies:259,import:292,keyof:349,unique:353,infer:359,asserts:395,is:397,abstract:417,implements:419,type:421,let:424,var:426,using:429,interface:435,enum:439,namespace:445,module:447,declare:451,global:455,defer:471,for:476,of:485,while:488,with:492,do:496,if:500,else:502,switch:506,case:512,try:518,catch:522,finally:526,return:530,throw:534,break:538,continue:542,debugger:546},g={__proto__:null,async:129,get:131,set:133,declare:195,public:197,private:197,protected:197,static:199,abstract:201,override:203,readonly:209,accessor:211,new:401},m={__proto__:null,"<":193},O=r.U1.deserialize({version:14,states:"$F|Q%TQlOOO%[QlOOO'_QpOOP(lO`OOO*zQ!0MxO'#CiO+RO#tO'#CjO+aO&jO'#CjO+oO#@ItO'#DaO.QQlO'#DgO.bQlO'#DrO%[QlO'#DzO0fQlO'#ESOOQ!0Lf'#E['#E[O1PQ`O'#EXOOQO'#Ep'#EpOOQO'#Il'#IlO1XQ`O'#GsO1dQ`O'#EoO1iQ`O'#EoO3hQ!0MxO'#JrO6[Q!0MxO'#JsO6uQ`O'#F]O6zQ,UO'#FtOOQ!0Lf'#Ff'#FfO7VO7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&w,s,x2[2_Q&l!VR,h&itmOXst!U!V!Z#d%m&i&r&t&u&w,s,x2[2_R,o&oT%lm,oR1k,XR,g&gQ&U|S+}&V&WR1^,OR+s&PT&p!W&sT&q!W&sT2^,x2_",nodeNames:"⚠ ArithOp ArithOp ?. JSXStartTag LineComment BlockComment Script Hashbang ExportDeclaration export Star as VariableName String Escape from ; default FunctionDeclaration async function VariableDefinition > < TypeParamList in out const TypeDefinition extends ThisType this LiteralType ArithOp Number BooleanLiteral TemplateType InterpolationEnd Interpolation InterpolationStart NullType null VoidType void TypeofType typeof MemberExpression . PropertyName [ TemplateString Escape Interpolation super RegExp ] ArrayExpression Spread , } { ObjectExpression Property async get set PropertyDefinition Block : NewTarget new NewExpression ) ( ArgList UnaryExpression delete LogicOp BitOp YieldExpression yield AwaitExpression await ParenthesizedExpression ClassExpression class ClassBody MethodDeclaration Decorator @ MemberExpression PrivatePropertyName CallExpression TypeArgList CompareOp < declare Privacy static abstract override PrivatePropertyDefinition PropertyDeclaration readonly accessor Optional TypeAnnotation Equals StaticBlock FunctionExpression ArrowFunction ParamList ParamList ArrayPattern ObjectPattern PatternProperty Privacy readonly Arrow MemberExpression BinaryExpression ArithOp ArithOp ArithOp ArithOp BitOp CompareOp instanceof satisfies CompareOp BitOp BitOp BitOp LogicOp LogicOp ConditionalExpression LogicOp LogicOp AssignmentExpression UpdateOp PostfixExpression CallExpression InstantiationExpression TaggedTemplateExpression DynamicImport import ImportMeta JSXElement JSXSelfCloseEndTag JSXSelfClosingTag JSXIdentifier JSXBuiltin JSXIdentifier JSXNamespacedName JSXMemberExpression JSXSpreadAttribute JSXAttribute JSXAttributeValue JSXEscape JSXEndTag JSXOpenTag JSXFragmentTag JSXText JSXEscape JSXStartCloseTag JSXCloseTag PrefixCast < ArrowFunction TypeParamList SequenceExpression InstantiationExpression KeyofType keyof UniqueType unique ImportType InferredType infer TypeName ParenthesizedType FunctionSignature ParamList NewSignature IndexedType TupleType Label ArrayType ReadonlyType ObjectType MethodType PropertyType IndexSignature PropertyDefinition CallSignature TypePredicate asserts is NewSignature new UnionType LogicOp IntersectionType LogicOp ConditionalType ParameterizedType ClassDeclaration abstract implements type VariableDeclaration let var using TypeAliasDeclaration InterfaceDeclaration interface EnumDeclaration enum EnumBody NamespaceDeclaration namespace module AmbientDeclaration declare GlobalDeclaration global ClassDeclaration ClassBody AmbientFunctionDeclaration ExportGroup VariableName VariableName ImportDeclaration defer ImportGroup ForStatement for ForSpec ForInSpec ForOfSpec of WhileStatement while WithStatement with DoStatement do IfStatement if else SwitchStatement switch SwitchBody CaseLabel case DefaultLabel TryStatement try CatchClause catch FinallyClause finally ReturnStatement return ThrowStatement throw BreakStatement break ContinueStatement continue DebuggerStatement debugger LabeledStatement ExpressionStatement SingleExpression SingleClassItem",maxTerm:380,context:l,nodeProps:[["isolate",-8,5,6,14,37,39,51,53,55,""],["group",-26,9,17,19,68,207,211,215,216,218,221,224,234,237,243,245,247,249,252,258,264,266,268,270,272,274,275,"Statement",-34,13,14,32,35,36,42,51,54,55,57,62,70,72,76,80,82,84,85,110,111,12
10,121,136,139,141,142,143,144,145,147,148,167,169,171,"Expression",-23,31,33,37,41,43,45,173,175,177,178,180,181,182,184,185,186,188,189,190,201,203,205,206,"Type",-3,88,103,109,"ClassItem"],["openedBy",23,"<",38,"InterpolationStart",56,"[",60,"{",73,"(",160,"JSXStartCloseTag"],["closedBy",-2,24,168,">",40,"InterpolationEnd",50,"]",61,"}",74,")",165,"JSXEndTag"]],propSources:[f],skippedNodes:[0,5,6,278],repeatNodeCount:37,tokenData:"$Fq07[R!bOX%ZXY+gYZ-yZ[+g[]%Z]^.c^p%Zpq+gqr/mrs3cst:_tuEruvJSvwLkwx! Yxy!'iyz!(sz{!)}{|!,q|}!.O}!O!,q!O!P!/Y!P!Q!9j!Q!R#:O!R![#<_![!]#I_!]!^#Jk!^!_#Ku!_!`$![!`!a$$v!a!b$*T!b!c$,r!c!}Er!}#O$-|#O#P$/W#P#Q$4o#Q#R$5y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rs&}st%ZtuEruw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Er![!^%Z!^!_*g!_!c%Z!c!}Er!}#O%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$f%Z$f$g+g$g#BYEr#BY#BZ$A`#BZ$ISEr$IS$I_$A`$I_$JTEr$JT$JU$A`$JU$KVEr$KV$KW$A`$KW&FUEr&FU&FV$A`&FV;'SEr;'S;=`I|<%l?HTEr?HT?HU$A`?HUOEr07[$D|k$i&j(Wp(Z!b'}0/l$]#t(T,2j(e$I[OY%ZYZ&cZr%Zrs&}st%ZtuEruw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Er![!^%Z!^!_*g!_!c%Z!c!}Er!}#O%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$g%Z$g;'SEr;'S;=`I|<%lOEr",tokenizers:[a,u,c,h,2,3,4,5,6,7,8,9,10,11,12,13,14,s,new r.uC("$S~RRtu[#O#Pg#S#T#|~_P#o#pb~gOx~~jVO#i!P#i#j!U#j#l!P#l#m!q#m;'S!P;'S;=`#v<%lO!P~!UO!U~~!XS!Q![!e!c!i!e#T#Z!e#o#p#Z~!hR!Q![!q!c!i!q#T#Z!q~!tR!Q![!}!c!i!}#T#Z!}~#QR!Q![!P!c!i!P#T#Z!P~#^R!Q![#g!c!i#g#T#Z#g~#jS!Q![#g!c!i#g#T#Z#g#q#r!P~#yP;=`<%l!P~$RO(c~~",141,340),new r.uC("j~RQYZXz{^~^O(Q~~aP!P!Qd~iO(R~~",25,323)],topRules:{Script:[0,7],SingleExpression:[1,276],SingleClassItem:[2,277]},dialects:{jsx:0,ts:15175},dynamicPrecedences:{80:1,82:1,94:1,169:1,199:1},specialized:[{term:327,get:e=>p[e]||-1},{term:343,get:e=>g[e]||-1},{term:95,get:e=>m[e]||-1}],tokenPrec:15201});var y=n(62221),v=n(11877),x=n(84306),b=n(98930),w=n(60611);let k=[(0,b.Gw)("function ${name}(${params}) {\n	${}\n}",{label:"function",detail:"definition",type:"keyword"}),(0,b.Gw)("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n	${}\n}",{label:"for",detail:"loop",type:"keyword"}),(0,b.Gw)("for (let ${name} of ${collection}) {\n	${}\n}",{label:"for",detail:"of loop",type:"keyword"}),(0,b.Gw)("do {\n	${}\n} while (${})",{label:"do",detail:"loop",type:"keyword"}),(0,b.Gw)("while (${}) {\n	${}\n}",{label:"while",detail:"loop",type:"keyword"}),(0,b.Gw)("try {\n	${}\n} catch (${error}) {\n	${}\n}",{label:"try",detail:"/ catch block",type:"keyword"}),(0,b.Gw)("if (${}) {\n	${}\n}",{label:"if",detail:"block",type:"keyword"}),(0,b.Gw)("if (${}) {\n	${}\n} else {\n	${}\n}",{label:"if",detail:"/ else block",type:"keyword"}),(0,b.Gw)("class ${name} {\n	constructor(${params}) {\n		${}\n	}\n}",{label:"class",detail:"definition",type:"keyword"}),(0,b.Gw)('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),(0,b.Gw)('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],S=k.concat([(0,b.Gw)("interface ${name} {\n	${}\n}",{label:"interface",detail:"definition",type:"keyword"}),(0,b.Gw)("type ${name} = ${type}",{label:"type",detail:"definition",type:"keyword"}),(0,b.Gw)("enum ${name} {\n	${}\n}",{label:"enum",detail:"definition",type:"keyword"})]),_=new w.RY,C=new Set(["Script","Block","FunctionExpression","FunctionDeclaration","ArrowFunction","MethodDeclaration","ForStatement"]);function P(e){return(t,n)=>{let r=t.node.getChild("VariableDefinition");return r&&n(r,e),!0}}let T=["FunctionDeclaration"],Q={FunctionDeclaration:P("function"),ClassDeclaration:P("class"),ClassExpression:()=>!0,EnumDeclaration:P("constant"),TypeAliasDeclaration:P("type"),NamespaceDeclaration:P("namespace"),VariableDefinition(e,t){e.matchContext(T)||t(e,"variable")},TypeDefinition(e,t){t(e,"type")},__proto__:null},$=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,A=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName","JSXText","JSXAttributeValue","JSXOpenTag","JSXCloseTag","JSXSelfClosingTag",".","?."];function E(e){let t=(0,y.mv)(e.state).resolveInner(e.pos,-1);if(A.indexOf(t.name)>-1)return null;let n="VariableName"==t.name||t.to-t.from<20&&$.test(e.state.sliceDoc(t.from,t.to));if(!n&&!e.explicit)return null;let r=[];for(let n=t;n;n=n.parent)C.has(n.name)&&(r=r.concat(function e(t,n){let r=_.get(n);if(r)return r;let i=[],o=!0;function l(e,n){let r=t.sliceString(e.from,e.to);i.push({label:r,type:n})}return n.cursor(w.Qj.IncludeAnonymous).iterate(n=>{if(o)o=!1;else if(n.name){let e=Q[n.name];if(e&&e(n,l)||C.has(n.name))return!1}else if(n.to-n.from>8192){for(let r of e(t,n.node))i.push(r);return!1}}),_.set(n,i),i}(e.state.doc,n)));return{options:r,from:n?t.from:e.pos,validFor:$}}function R(e,t,n){var r;let i=[];for(;;){let o=t.firstChild,l;if((null==o?void 0:o.name)=="VariableName")return i.push(e(o)),{path:i.reverse(),name:n};if((null==o?void 0:o.name)!="MemberExpression"||(null==(r=l=o.lastChild)?void 0:r.name)!="PropertyName")return null;i.push(e(l)),t=o}}function N(e){let t=t=>e.state.doc.sliceString(t.from,t.to),n=(0,y.mv)(e.state).resolveInner(e.pos,-1);if("PropertyName"==n.name)return R(t,n.parent,t(n));
1if(("."==n.name||"?."==n.name)&&"MemberExpression"==n.parent.name)return R(t,n.parent,"");if(A.indexOf(n.name)>-1)return null;if("VariableName"==n.name||n.to-n.from<20&&$.test(t(n)))return{path:[],name:t(n)};if("MemberExpression"==n.name)return R(t,n,"");else return e.explicit?{path:[],name:""}:null}function L(e){let t=new Map;return n=>{let r=N(n);if(!r)return null;let i=e;for(let e of r.path)if(!(i=i[e]))return null;let o=t.get(i);return o||t.set(i,o=function(e,t){let n=e,r=[],i=new Set;for(let o=0;;o++){for(let l of(Object.getOwnPropertyNames||Object.keys)(e)){let e;if(!(!/^[a-zA-Z_$\xaa-\uffdc][\w$\xaa-\uffdc]*$/.test(l)||i.has(l))){i.add(l);try{e=n[l]}catch(e){continue}r.push({label:l,type:"function"==typeof e?/^[A-Z]/.test(l)?"class":t?"function":"method":t?"variable":"property",boost:-o})}}let l=Object.getPrototypeOf(e);if(!l)return r;e=l}}(i,!r.path.length)),{from:n.pos-r.name.length,options:o,validFor:$}}}let M=y.bj.define({name:"javascript",parser:O.configure({props:[y.Oh.add({IfStatement:(0,y.mz)({except:/^\s*({|else\b)/}),TryStatement:(0,y.mz)({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:y._Y,SwitchBody:e=>{let t=e.textAfter,n=/^\s*\}/.test(t),r=/^\s*(case|default)\b/.test(t);return e.baseIndent+(n?0:r?1:2)*e.unit},Block:(0,y.Ay)({closing:"}"}),ArrowFunction:e=>e.baseIndent+e.unit,"TemplateString BlockComment":()=>null,"Statement Property":(0,y.mz)({except:/^\s*{/}),JSXElement(e){let t=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},JSXEscape(e){let t=/\s*\}/.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},"JSXOpenTag JSXSelfClosingTag":e=>e.column(e.node.from)+e.unit}),y.b_.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType":y.yd,BlockComment:e=>({from:e.from+2,to:e.to-2}),JSXElement(e){let t=e.firstChild;if(!t||"JSXSelfClosingTag"==t.name)return null;let n=e.lastChild;return{from:t.to,to:n.type.isError?e.to:n.from}},"JSXSelfClosingTag JSXOpenTag"(e){var t;let n=null==(t=e.firstChild)?void 0:t.nextSibling,r=e.lastChild;return!n||n.type.isError?null:{from:n.to,to:r.type.isError?e.to:r.from}}})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),Z={test:e=>/^JSX/.test(e.name),facet:(0,y.p9)({commentTokens:{block:{open:"{/*",close:"*/}"}}})},I=M.configure({dialect:"ts"},"typescript"),j=M.configure({dialect:"jsx",props:[y.Q0.add(e=>e.isTop?[Z]:void 0)]}),X=M.configure({dialect:"jsx ts",props:[y.Q0.add(e=>e.isTop?[Z]:void 0)]},"typescript"),D=e=>({label:e,type:"keyword"}),V="break case const continue default delete export extends false finally in instanceof let new return static super switch this throw true typeof var yield".split(" ").map(D),F=V.concat(["declare","implements","private","protected","public"].map(D));function z(e={}){let t=e.jsx?e.typescript?X:j:e.typescript?I:M,n=e.typescript?S.concat(F):k.concat(V);return new y.Yy(t,[M.data.of({autocomplete:(0,b.Ar)(A,(0,b.et)(n))}),M.data.of({autocomplete:E}),e.jsx?Y:[]])}function B(e,t,n=e.length){for(let r=null==t?void 0:t.firstChild;r;r=r.nextSibling)if("JSXIdentifier"==r.name||"JSXBuiltin"==r.name||"JSXNamespacedName"==r.name||"JSXMemberExpression"==r.name)return e.sliceString(r.from,Math.min(r.to,n));return""}let W="object"==typeof navigator&&/Android\b/.test(navigator.userAgent),Y=x.Lz.inputHandler.of((e,t,n,r,i)=>{if((W?e.composing:e.compositionStarted)||e.state.readOnly||t!=n||">"!=r&&"/"!=r||!M.isActiveAt(e.state,t,-1))return!1;let o=i(),{state:l}=o,s=l.changeByRange(e=>{var t;let{head:n}=e,i=(0,y.mv)(l).resolveInner(n-1,-1),o;if("JSXStartTag"==i.name&&(i=i.parent),l.doc.sliceString(n-1,n)!=r||"JSXAttributeValue"==i.name&&i.to>n);else if(">"==r&&"JSXFragmentTag"==i.name)return{range:e,changes:{from:n,insert:"</>"}};else if("/"==r&&"JSXStartCloseTag"==i.name){let e=i.parent,r=e.parent;if(r&&e.from==n-2&&((o=B(l.doc,r.firstChild,n))||(null==(t=r.firstChild)?void 0:t.name)=="JSXFragmentTag")){let e=`${o}>`;return{range:v.OF.cursor(n+e.length,-1),changes:{from:n,insert:e}}}}else if(">"==r){let t=function(e){for(;;){if("JSXOpenTag"==e.name||"JSXSelfClosingTag"==e.name||"JSXFragmentTag"==e.name)return e;if("JSXEscape"==e.name||!e.parent)return null;e=e.parent}}(i);if(t&&"JSXOpenTag"==t.name&&!/^\/?>|^<\//.test(l.doc.sliceString(n,n+2))&&(o=B(l.doc,t,n)))return{range:e,changes:{from:n,insert:`</${o}>`}}}return{range:e}});return!s.changes.empty&&(e.dispatch([o,l.update(s,{userEvent:"input.complete",scrollIntoView:!0})]),!0)});function q(e,t){return t||(t={parserOptions:{ecmaVersion:2019,sourceType:"module"},env:{browser:!0,node:!0,es6:!0,es2015:!0,es2017:!0,es2020:!0},rules:{}}
1,e.getRules().forEach((e,n)=>{var r;(null==(r=e.meta.docs)?void 0:r.recommended)&&(t.rules[n]=2)})),n=>{let{state:r}=n,i=[];for(let{from:n,to:o}of M.findRegions(r)){let l=r.doc.lineAt(n),s={line:l.number-1,col:n-l.from,pos:n};for(let l of e.verify(r.sliceDoc(n,o),t))i.push(function(e,t,n){let r=U(e.line,e.column,t,n),i={from:r,to:null!=e.endLine&&1!=e.endColumn?U(e.endLine,e.endColumn,t,n):r,message:e.message,source:e.ruleId?"eslint:"+e.ruleId:"eslint",severity:1==e.severity?"warning":"error"};if(e.fix){let{range:t,text:o}=e.fix,l=t[0]+n.pos-r,s=t[1]+n.pos-r;i.actions=[{name:"fix",apply(e,t){e.dispatch({changes:{from:t+l,to:t+s,insert:o},scrollIntoView:!0})}}]}return i}(l,r.doc,s))}return i}}function U(e,t,n,r){return n.line(e+r.line).from+t+(1==e?r.col-1:-1)}},17204:()=>{!function(e){var t=e.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/};t.string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:t},boolean:t.boolean,variable:t.variable}}(Prism)},17260:(e,t)=>{"use strict";var n=60103,r=60106,i=60107,o=60108,l=60114,s=60109,a=60110,u=60112,c=60113,d=60120,h=60115,f=60116;if("function"==typeof Symbol&&Symbol.for){var p=Symbol.for;n=p("react.element"),r=p("react.portal"),i=p("react.fragment"),o=p("react.strict_mode"),l=p("react.profiler"),s=p("react.provider"),a=p("react.context"),u=p("react.forward_ref"),c=p("react.suspense"),d=p("react.suspense_list"),h=p("react.memo"),f=p("react.lazy"),p("react.block"),p("react.server.block"),p("react.fundamental"),p("react.debug_trace_mode"),p("react.legacy_hidden")}},17415:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>r});let r={editorRoot:"_editorRoot_f3hmk_53",editorWrapper:"_editorWrapper_f3hmk_155",toolbarRoot:"_toolbarRoot_f3hmk_162",readOnlyToolbarRoot:"_readOnlyToolbarRoot_f3hmk_189",toolbarToggleItem:"_toolbarToggleItem_f3hmk_208",toolbarGroupOfGroups:"_toolbarGroupOfGroups_f3hmk_219",toolbarToggleSingleGroup:"_toolbarToggleSingleGroup_f3hmk_224",toolbarButton:"_toolbarButton_f3hmk_239",activeToolbarButton:"_activeToolbarButton_f3hmk_275",toolbarButtonDropdownContainer:"_toolbarButtonDropdownContainer_f3hmk_286",selectContainer:"_selectContainer_f3hmk_288",selectItem:"_selectItem_f3hmk_3
101",toolbarButtonSelectTrigger:"_toolbarButtonSelectTrigger_f3hmk_307",selectTrigger:"_selectTrigger_f3hmk_308",selectDropdownArrow:"_selectDropdownArrow_f3hmk_373",contentEditable:"_contentEditable_f3hmk_379",codeMirrorWrapper:"_codeMirrorWrapper_f3hmk_391",codeMirrorToolbar:"_codeMirrorToolbar_f3hmk_408",propertyPanelTitle:"_propertyPanelTitle_f3hmk_430",propertyEditorTable:"_propertyEditorTable_f3hmk_438",iconButton:"_iconButton_f3hmk_456",readOnlyColumnCell:"_readOnlyColumnCell_f3hmk_461",buttonsFooter:"_buttonsFooter_f3hmk_474",propertyEditorInput:"_propertyEditorInput_f3hmk_480",primaryButton:"_primaryButton_f3hmk_506",secondaryButton:"_secondaryButton_f3hmk_507",smallButton:"_smallButton_f3hmk_522",dialogForm:"_dialogForm_f3hmk_534",linkDialogEditForm:"_linkDialogEditForm_f3hmk_540",linkDialogInputContainer:"_linkDialogInputContainer_f3hmk_548",linkDialogInputWrapper:"_linkDialogInputWrapper_f3hmk_554",linkDialogInput:"_linkDialogInput_f3hmk_548",linkDialogAnchor:"_linkDialogAnchor_f3hmk_586",linkDialogPopoverContent:"_linkDialogPopoverContent_f3hmk_600",tableColumnEditorPopoverContent:"_tableColumnEditorPopoverContent_f3hmk_601",dialogContent:"_dialogContent_f3hmk_602",largeDialogContent:"_largeDialogContent_f3hmk_614",dialogTitle:"_dialogTitle_f3hmk_624",dialogCloseButton:"_dialogCloseButton_f3hmk_630",popoverContent:"_popoverContent_f3hmk_637",popoverArrow:"_popoverArrow_f3hmk_649",linkDialogPreviewAnchor:"_linkDialogPreviewAnchor_f3hmk_653",tooltipTrigger:"_tooltipTrigger_f3hmk_676",tooltipContent:"_tooltipContent_f3hmk_680",actionButton:"_actionButton_f3hmk_694",primaryActionButton:"_primaryActionButton_f3hmk_701",tableEditor:"_tableEditor_f3hmk_713",toolCell:"_toolCell_f3hmk_724",tableColumnEditorTrigger:"_tableColumnEditorTrigger_f3hmk_743",addRowButton:"_addRowButton_f3hmk_745",addColumnButton:"_addColumnButton_f3hmk_746",tableColumnEditorToolbar:"_tableColumnEditorToolbar_f3hmk_788",toggleGroupRoot:"_toggleGroupRoot_f3hmk_801",tableToolsColumn:"_tableToolsColumn_f3hmk_819",leftAlignedCell:"_leftAlignedCell_f3hmk_828",rightAlignedCell:"_rightAlignedCell_f3hmk_832",centeredCell:"_centeredCell_f3hmk_836",dialogOverlay:"_dialogOverlay_f3hmk_869",focusedImage:"_focusedImage_f3hmk_915",imageWrapper:"_imageWrapper_f3hmk_919",editImageToolbar:"_editImageToolbar_f3hmk_932",editImageButton:"_editImageButton_f3hmk_936",inlineEditor:"_inlineEditor_f3hmk_942",blockEditor:"_blockEditor_f3hmk_951",nestedEditor:"_nestedEditor_f3hmk_960",genericComponentName:"_genericComponentName_f3hmk_979",diffSourceToggleWrapper:"_diffSourceToggleWrapper_f3hmk_985",ggDiffSourceToggle:"_ggDiffSourceToggle_f3hmk_993",diffSourceToggle:"_diffSourceToggle_f3hmk_985",selectWithLabel:"_selectWithLabel_f3hmk_1011",toolbarTitleMode:"_toolbarTitleMode_f3hmk_1026",imageControlWrapperResizing:"_imageControlWrapperResizing_f3hmk_1031",imageResizer:"_imageResizer_f3hmk_1035",imageResizerN:"_imageResizerN_f3hmk_1044",imageResizerNe:"_imageResizerNe_f3hmk_1050",imageResizerE:"_imageResizerE_f3hmk_1056",imageResizerSe:"_imageResizerSe_f3hmk_1062",imageResizerS:"_imageResizerS_f3hmk_1062",imageResizerSw:"_imageResizerSw_f3hmk_1074",imageResizerW:"_imageResizerW_f3hmk_1080",imageResizerNw:"_imageResizerNw_f3hmk_1086",imagePlaceholder:"_imagePlaceholder_f3hmk_1092",imageDimensionsContainer:"_imageDimensionsContainer_f3hmk_1100",placeholder:"_placeholder_f3hmk_1105",rootContentEditableWrapper:"_rootContentEditableWrapper_f3hmk_1118",downshiftInputWrapper:"_downshiftInputWrapper_f3hmk_1128",downshiftInput:"_downshiftInput_f3hmk_1128",downshiftAutocompleteContainer:"_downshiftAutocompleteContainer_f3hmk_1159",textInput:"_textInput_f3hmk_1205",multiFieldForm:"_multiFieldForm_f3hmk_1213",formField:"_formField_f3hmk_1219",markdownParseError:"_markdownParseError_f3hmk_1230",popupContainer:"_popupContainer_f3hmk_1239",inputSizer:"_inputSizer_f3hmk_1244"}},17493:(e,t,n)=>{"use strict";n.d(t,{Yj:()=>B,c3:()=>W});var r=n(7814),i=n(44443),o=n(89982),l=n(74130),s=n(60665),a=n(84544),u=n(6325),c=n(60959),d=n(73533),h=n(74972);let f=[["Cat","rgb(125, 50, 0)"],["Dog","rgb(100, 0, 0)"],["Rabbit","rgb(150, 0, 0)"],["Frog","rgb(200, 0, 0)"],["Fox","rgb(200, 75, 0)"],["Hedgehog","rgb(0, 75, 0)"],["Pigeon","rgb(0, 125, 0)"],["Squirrel","rgb(75, 100, 0)"],["Bear","rgb(125, 100, 0)"],["Tiger","rgb(0, 0, 150)"],["Leopard","rgb(0, 0, 200)"],["Zebra","rgb(0, 0, 250)"],["Wolf","rgb(0, 100, 150)"],["Owl","rgb(0, 100, 100)"],["Gull","rgb(100, 0, 100)"],["Squid","rgb(150, 0, 150)"]],p=f[Math.floor(Math.random()*f.length)],g=(0,u.createContext)({clientID:0,color:p[1],isCollabActive:!1,name:p[0],yjsDocMap:new Map});var m=n(14725),O=n(64177);function y(e){let t=new Set,{ownNodeConfig:n}=(0,a.TSH)(e),r=e.transform();if(n){let e=n.$transform;e&&t.add(e)}return r&&t.add(r),t}let v=()=>{};function x({initialEditor:e,children:t,initialNodes:n,initialTheme:r,skipCollabChecks:i,skipEditableListener:o}){let l=(0,u.useRef)(!1),s=(0,u.useContext)(m.Gu);null==s&&function(e,...t){let n=new URL("https://lexical.dev/docs/error"),r=new URLSearchParams;for(let e of(r.append("code",9),t))r.append("v",e);throw n.search=r.toString(),Error(`Minified Lexical error #${9}; visit ${n.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}(9);let[c,{getTheme:d}]=s,h=(0,u.useMemo)(()=>{let t=r||d()||void 0,i=(0,m.Mx)(s,t);void 0!==t&&(e._config.theme=t),e._parentEditor=e._parentEditor||c;let o=e._createEditorArgs,l=o&&o.namespace;if(n)for(let t of(l||(v(),e._config.namespace=c._config.namespace),n)){let n=null,r=null;if("function"!=typeof t){let e=t;t=e.replace,n=e.with,r=e.withKlass||null}let i=(0,a.Jvg)(e,t.getType());e._nodes.set(t.getType(),{exportDOM:i?i.exportDOM:void 0,klass:t,replace:n,replaceWithKlass:r,sharedNodeState:(0,a.j17)(t),transforms:y(t)})}else if(o&&o.nodes)l||(v(),e._config.namespace=c._config.namespace);else{let t=e._nodes=new Map(c._nodes);for(let[n,r]of(l||(e._config.namespace=c._config.namespace),t))e._nodes.set(n,{exportDOM:r.exportDOM,klass:r.klass,replace:r.replace,replaceWithKlass:r.replaceWithKlass,sharedNodeState:(0,a.j17)(r.klass),transforms:y(r.klass)})}return[e,i]},[]),{isCollabActive:f,yjsDocMap:p}=(0,u.useContext)(g),x=i||l.current||p.has(e.getKey());return(0,u.useEffect)(()=>{x&&(l.current=!0)},[x]),(0,u.useEffect)(()=>
1{if(!o){let t=t=>e.setEditable(t);return t(c.isEditable()),c.registerEditableListener(t)}},[e,c,o]),(0,O.jsx)(m.Gu.Provider,{value:h,children:!f||x?t:null})}var b=n(66870),w=n(88218),k=n(61141),S=n(52414),_=n(30284),C=n(68391),P=n(6105),T=n(56309),Q=n(2886),$=n(17415);let A=e=>0===e?"th":"td",E={center:$.Ay.centeredCell,left:$.Ay.leftAlignedCell,right:$.Ay.rightAlignedCell},R=({mdastNode:e,parentEditor:t,lexicalTable:n})=>{let[r,o]=u.useState(null),[l,c]=(0,i.uX)(s.yr,s.pc),d=u.useMemo(()=>e=>(e.__cacheKey??(e.__cacheKey=function(){let e=[...Array(256).keys()].map(e=>e.toString(16).padStart(2,"0")),t=crypto.getRandomValues(new Uint8Array(16));return t[6]=15&t[6]|64,t[8]=63&t[8]|128,[...t.entries()].map(([t,n])=>[4,6,8,10].includes(t)?`-${e[n]}`:e[n]).join("")}()),e.__cacheKey),[]),h=u.useCallback(e=>{let r=n.getColCount();if(null===e)return void o(null);let[i,l]=e;if(i>r-1&&(i=0,l++),i<0&&(i=r-1,l-=1),l>n.getRowCount()-1){o(null),t.update(()=>{if(n.getLatest().getNextSibling())n.getLatest().selectNext();else{let e=(0,a.lJ7)();n.insertAfter(e),e.select()}});return}if(l<0){o(null),t.update(()=>{n.getLatest().selectPrevious()});return}o([i,l])},[n,t]);u.useEffect(()=>{n.focusEmitter.subscribe(h)},[n,h]);let f=u.useCallback(e=>{e.preventDefault(),t.update(()=>{n.addRowToBottom(),o([0,n.getRowCount()])})},[t,n]),p=u.useCallback(e=>{e.preventDefault(),t.update(()=>{n.addColumnToRight(),o([n.getColCount(),0])})},[t,n]),[g,m]=u.useState([-1,-1]),O=u.useCallback(e=>{let t=e.target;for(;t&&!["TH","TD"].includes(t.tagName);){if(t===e.currentTarget)return;t=t.parentElement}if(null===t)return;let n=t.parentElement;m(["TFOOT"===n.parentElement.tagName?-1:Array.from(n.children).indexOf(t),"TH"===t.tagName?-1:Array.from(n.parentElement.children).indexOf(n)])},[]),y=(0,s.Bd)();return u.createElement("table",{className:$.Ay.tableEditor,onMouseOver:O,onMouseLeave:()=>{m([-1,-1])}},u.createElement("colgroup",null,c?null:u.createElement("col",null),Array.from({length:e.children[0].children.length},(t,n)=>{let r=E[(e.align??[])[n]??"left"];return u.createElement("col",{key:n,className:r})}),c?null:u.createElement("col",null)),c||u.createElement("thead",null,u.createElement("tr",null,u.createElement("th",{className:$.Ay.tableToolsColumn}),Array.from({length:e.children[0].children.length},(r,i)=>u.createElement("th",{key:i,"data-tool-cell":!0},u.createElement(M,{...{setActiveCellWithBoundaries:h,parentEditor:t,colIndex:i,highlightedCoordinates:g,lexicalTable:n,align:(e.align??[])[i]}}))),u.createElement("th",{className:$.Ay.tableToolsColumn,"data-tool-cell":!0},u.createElement("button",{className:$.Ay.iconButton,type:"button",title:y("table.deleteTable","Delete table"),onClick:e=>{e.preventDefault(),t.update(()=>{n.selectNext(),n.remove()})}},l("delete_small"))))),u.createElement("tbody",null,e.children.map((i,o)=>{let s=A(o);return u.createElement("tr",{key:o},c||u.createElement(s,{className:$.Ay.toolCell,"data-tool-cell":!0},u.createElement(Z,{setActiveCellWithBoundaries:h,parentEditor:t,rowIndex:o,highlightedCoordinates:g,lexicalTable:n})),i.children.map((i,l)=>{var s;return u.createElement(N,{align:null==(s=e.align)?void 0:s[l],key:d(i),contents:i.children,setActiveCell:h,...{rowIndex:o,colIndex:l,lexicalTable:n,parentEditor:t,activeCell:c?[-1,-1]:r}})}),c||0===o&&u.createElement("th",{rowSpan:n.getRowCount(),"data-tool-cell":!0},u.createElement("button",{type:"button",className:$.Ay.addColumnButton,onClick:p},l("add_column"))))})),c||u.createElement("tfoot",null,u.createElement("tr",null,u.createElement("th",
1null),u.createElement("th",{colSpan:n.getColCount(),"data-tool-cell":!0},u.createElement("button",{type:"button",className:$.Ay.addRowButton,onClick:f},l("add_row"))),u.createElement("th",null))))},N=({align:e,...t})=>{let{activeCell:n,setActiveCell:r}=t,i=!!(n&&n[0]===t.colIndex&&n[1]===t.rowIndex),o=E[e??"left"],l=A(t.rowIndex);return u.createElement(l,{className:o,"data-active":i,onClick:()=>{r([t.colIndex,t.rowIndex])}},u.createElement(L,{...t,focus:i}))},L=({focus:e,setActiveCell:t,parentEditor:n,lexicalTable:r,contents:o,colIndex:l,rowIndex:c})=>{let[f,p,g,m,O,y,v,w,T,Q]=(0,i.uX)(s.b$,s.IJ,s.G7,s.X_,s.uQ,s.Wd,s.uf,s.nK,s.u0,s.Di),[$]=u.useState(()=>{let e=(0,a.ieJ)({nodes:g,theme:_.C,namespace:"TableCellEditor"});return e.update(()=>{(0,S.CP)({root:(0,a.NiT)(),mdastRoot:{type:"root",children:[{type:"paragraph",children:o}]},visitors:f,jsxComponentDescriptors:m,directiveDescriptors:O,codeBlockEditorDescriptors:y,defaultCodeBlockLanguage:v})}),e}),A=u.useCallback(e=>{$.getEditorState().read(()=>{let e=(0,k.J)({root:(0,a.NiT)(),jsxComponentDescriptors:m,visitors:p,jsxIsAvailable:w});n.update(()=>{r.updateCellContents(l,c,e.children[0].children)},{discrete:!0}),n.dispatchCommand(s.Cc,void 0)}),t(e)},[l,$,p,m,w,r,n,c,t]);return u.useEffect(()=>(0,P.Sd)($.registerCommand(a.OXk,e=>(e.preventDefault(),A(e.shiftKey?[l-1,c]:[l+1,c]),!0),a.da8),$.registerCommand(a.$7r,()=>(t([l,c]),!1),a.AcJ),$.registerCommand(a.RTo,e=>(null==e||e.preventDefault(),A((null==e?void 0:e.shiftKey)?[l,c-1]:[l,c+1]),!0),a.da8),$.registerCommand(a.I2H,e=>!function e(t,n){return null!==t&&t!==n&&(void 0!==t.dataset.editorDialog||void 0!==t.dataset.toolbarItem||!!t.dataset.editorDropdown||e(t.parentElement,n))}(e.relatedTarget,T.getRootElement())&&(A(null),!0),a.jZM),$.registerCommand(s.Cc,()=>(A(null),!0),a.jZM)),[l,$,T,c,A,t]),u.useEffect(()=>{e&&$.focus()},[e,$]),u.createElement(x,{initialEditor:$},u.createElement(b.$,{contentEditable:u.createElement(d.a,null),placeholder:u.createElement("div",null),ErrorBoundary:h.R}),Q.map((e,t)=>u.createElement(e,{key:t})),u.createElement(C.G,null))},M=({parentEditor:e,highlightedCoordinates:t,align:n,lexicalTable:r,colIndex:o,setActiveCellWithBoundaries:l})=>{let[a,c]=(0,i.uX)(s.xZ,s.yr),d=u.useCallback(t=>{e.update(()=>{r.insertColumnAt(t)}),l([t,0])},[e,r,l]),h=u.useCallback(t=>{e.update(()=>{r.deleteColumnAt(t)})},[e,r]),f=u.useCallback((t,n)=>{e.update(()=>{r.setColumnAlign(t,n)})},[e,r]),p=(0,s.Bd)();return u.createElement(w.bL,null,u.createElement(w.Wv,{className:$.Ay.tableColumnEditorTrigger,"data-active":t[0]===o+1,title:p("table.columnMenu","Column menu")},c("more_horiz")),u.createElement(w.ZL,{container:null==a?void 0:a.current},u.createElement(w.hl,{className:Q($.Ay.tableColumnEditorPopoverContent),onOpenAutoFocus:e=>{e.preventDefault()},sideOffset:5,side:"top"},u.createElement(T.bL,{className:$.Ay.tableColumnEditorToolbar},u.createElement(T.OY,{className:$.Ay.toggleGroupRoot,onValueChange:e=>{f(o,e)},value:n??"left",type:"single","aria-label":p("table.textAlignment","Text alignment")},u.createElement(T.sy,{value:"left",title:p("table.alignLeft","Align left")},c("format_align_left")),u.createElement(T.sy,{value:"center",title:p("table.alignCenter","Align center")},c("format_align_center")),u.createElement(T.sy,{value:"right",title:p("table.alignRight","Align right")},c("format_align_right"))),u.createElement(T.wv,null),u.createElement(T.$n,{onClick:d.bind(null,o),title:p("table.insertColumnLeft","Insert a column to the left of this one")},c("insert_col_left")),u.createElement(T.$n,{onClick:d.bind(null,o+1),title:p("table.insertColumnRight","Insert a column to the right of this one")},c("insert_col_right")),u.createElement(T.$n,{onClick:h.bind(null,o),title:p("table.deleteColumn","Delete this column")},c("delete_small"))),u.createElement(w.i3,{className:$.Ay.popoverArrow}))))},Z=({parentEditor:e,highlightedCoordinates:t,lexicalTable:n,rowIndex:r,setActiveCellWithBoundaries:o})=>{let[l,a]=(0,i.uX)(s.xZ,s.yr),c=u.useCallback(t=>{e.update(()=>{n.insertRowAt(t)}),o([0,t])},[e,n,o]),d=u.useCallback(t=>{e.update(()=>{n.deleteRowAt(t)})},[e,n]),h=(0,s.Bd)();return u.createElement(w.bL,null,u.createElement(w.Wv,{className:$.Ay.tableColumnEditorTrigger,"data-active":t[1]===r,title:h("table.rowMenu","Row menu")},a("more_horiz")),u.createElement(w.ZL,{container:null==l?void 0:l.current},u.createElement(w.hl,{className:Q($.Ay.tableColumnEditorPopoverContent),onOpenAutoFocus:e=>{e.preventDefault()},sideOffset:5,side:"bottom"},u.createElement(T.bL,{className:$.Ay.tableColumnEditorToolbar},u.createElement(T.$n,{onClick:c.bind(null,r),title:h("table.insertRowAbove","Insert a row above this one")},a("insert_row_above")),u.createElement(T.$n,{onClick:c.bind(null,r+1),title:h("table.insertRowBelow","Insert a row below this one")},a("insert_row_below")),u.createElement(T.$n,{onClick:d.bind(null,r),title:h("table.deleteRow","Delete this row")},a("delete_small"))),u.createElement(w.i3,{className:$.Ay.popoverArrow}))))};var I=Object.defineProperty,j=(e,t,n)=>(((e,t,n)=>t in e?I(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n)(e,"symbol"!=typeof t?t+"":t,n),n);let X={type:"tableCell",children:[]};class D extends a.Kp7{constructor(e,t){super(t),j(this,"__mdastNode"),j(this,"focusEmitter",function(){let e=c.lQ;return{publish:t=>{e(t)},subscribe:t=>{e=t}}}()),this.__mdastNode=e??{type:"table",children:[]}}static getType(){return"table"}static clone(e){return new D(structuredClone(e.__mdastNode),e.__key)}static importJSON(e){return new D(e.mdastNode)}static importDOM(){return{table:()=>({conversion:V,priority:3})}}exportJSON(){return{mdastNode:structuredClone(this.__mdastNode),type:"table",version:1}}getMdastNode(){return this.__mdastNode}getRowCount(){return this.__mdastNode.children.length}getColCount(){var e;return(null==(e=this.__mdastNode.children[0])?void 0:e.children.length)||0}createDOM(){return document.createElement("div")}updateDOM(){return!1}
1updateCellContents(e,t,n){let r=this.getWritable().__mdastNode,i=r.children[t],o=i.children,l=o[e],s=Array.from(o),a={...l,children:n},u={...i,children:s};s[e]=a,r.children[t]=u}insertColumnAt(e){let t=this.getWritable().__mdastNode;for(let n=0;n<t.children.length;n++){let r=t.children[n],i=Array.from(r.children),o={...r,children:i};i.splice(e,0,structuredClone(X)),t.children[n]=o}t.align&&t.align.length>0&&t.align.splice(e,0,"left")}deleteColumnAt(e){let t=this.getWritable().__mdastNode;for(let n=0;n<t.children.length;n++){let r=t.children[n],i=Array.from(r.children),o={...r,children:i};i.splice(e,1),t.children[n]=o}}insertRowAt(e){let t=this.getWritable().__mdastNode,n={type:"tableRow",children:Array.from({length:this.getColCount()},()=>structuredClone(X))};t.children.splice(e,0,n)}deleteRowAt(e){1===this.getRowCount()?(this.selectNext(),this.remove()):this.getWritable().__mdastNode.children.splice(e,1)}addRowToBottom(){this.insertRowAt(this.getRowCount())}addColumnToRight(){this.insertColumnAt(this.getColCount())}setColumnAlign(e,t){let n=this.getWritable().__mdastNode;n.align??(n.align=[]),n.align[e]=t}decorate(e){return u.createElement(R,{lexicalTable:this,mdastNode:this.__mdastNode,parentEditor:e})}select(e){this.focusEmitter.publish(e??[0,0])}isInline(){return!1}}function V(e){return{node:new D({type:"table",children:Array.from(e.querySelectorAll("tr")).map(e=>({type:"tableRow",children:Array.from(e.querySelectorAll("td, th")).map(e=>({type:"tableCell",children:[{type:"text",value:e.textContent}]}))}))})}}let F={testLexicalNode:function(e){return e instanceof D},visitLexicalNode({actions:e,mdastParent:t,lexicalNode:n}){e.appendToParent(t,n.getMdastNode())}},z={testNode:"table",visitNode({mdastNode:e,lexicalParent:t}){t.append(new D(e))}},B=(0,i.HN)(e=>{e.link(e.pipe(B,(0,i.Tj)(({rows:e,columns:t})=>()=>new D(function(e=1,t=1){let n={type:"table",children:[]};for(let r=0;r<e;r++){let e={type:"tableRow",children:[]};for(let n=0;n<t;n++){let t={type:"tableCell",children:[]};e.children.push(t)}n.children.push(e)}return n}(e,t)))),s.p3)}),W=(0,r.Z)({init(e,t){e.pubIn({[s.C2]:(0,o.c)(),[s.cx]:(0,l.x)(),[s.R1]:z,[s.q]:D,[s.iI]:F,[s.lN]:(0,o.d)({tableCellPadding:(null==t?void 0:t.tableCellPadding)??!0,tablePipeAlign:(null==t?void 0:t.tablePipeAlign)??!0})})}})},18059:(e,t,n)=>{"use strict";let r;n.d(t,{Mz:()=>eq,i3:()=>eG,UC:()=>eU,bL:()=>eY,Bk:()=>eA});var i=n(6325);let o=["top","right","bottom","left"],l=Math.min,s=Math.max,a=Math.round,u=Math.floor,c=e=>({x:e,y:e}),d={left:"right",right:"left",bottom:"top",top:"bottom"};function h(e,t){return"function"==typeof e?e(t):e}function f(e){return e.split("-")[0]}function p(e){return e.split("-")[1]}function g(e){return"x"===e?"y":"x"}function m(e){return"y"===e?"height":"width"}function O(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function y(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let v=["left","right"],x=["right","left"],b=["top","bottom"],w=["bottom","top"];function k(e){let t=f(e);return d[t]+e.slice(t.length)}function S(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function _(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function C(e,t,n){let r,{reference:i,floating:o}=e,l=O(t),s=g(O(t)),a=m(s),u=f(t),c="y"===l,d=i.x+i.width/2-o.width/2,h=i.y+i.height/2-o.height/2,y=i[a]/2-o[a]/2;switch(u){case"top":r={x:d,y:i.y-o.height};break;case"bottom":r={x:d,y:i.y+i.height};break;case"right":r={x:i.x+i.width,y:h};break;case"left":r={x:i.x-o.width,y:h};break;default:r={x:i.x,y:i.y}}switch(p(t)){case"start":r[s]-=y*(n&&c?-1:1);break;case"end":r[s]+=y*(n&&c?-1:1)}return r}async function P(e,t){var n;void 0===t&&(t={});let{x:r,y:i,platform:o,rects:l,elements:s,strategy:a}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:f=!1,padding:p=0}=h(t,e),g=S(p),m=s[f?"floating"===d?"reference":"floating":d],O=_(await o.getClippingRect({element:null==(n=await (null==o.isElement?void 0:o.isElement(m)))||n?m:m.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(s.floating)),boundary:u,rootBoundary:c,strategy:a})),y="floating"===d?{x:r,y:i,width:l.floating.width,height:l.floating.height}:l.reference,v=await (null==o.getOffsetParent?void 0:o.getOffsetParent(s.floating)),x=await (null==o.isElement?void 0:o.isElement(v))&&await (null==o.getScale?void 0:o.getScale(v))||{x:1,y:1},b=_(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:y,offsetParent:v,strategy:a}):y);
1return{top:(O.top-b.top+g.top)/x.y,bottom:(b.bottom-O.bottom+g.bottom)/x.y,left:(O.left-b.left+g.left)/x.x,right:(b.right-O.right+g.right)/x.x}}let T=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:l}=n,s=l.detectOverflow?l:{...l,detectOverflow:P},a=await (null==l.isRTL?void 0:l.isRTL(t)),u=await l.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:d}=C(u,r,a),h=r,f=0,p={};for(let n=0;n<o.length;n++){let g=o[n];if(!g)continue;let{name:m,fn:O}=g,{x:y,y:v,data:x,reset:b}=await O({x:c,y:d,initialPlacement:r,placement:h,strategy:i,middlewareData:p,rects:u,platform:s,elements:{reference:e,floating:t}});c=null!=y?y:c,d=null!=v?v:d,p[m]={...p[m],...x},b&&f<50&&(f++,"object"==typeof b&&(b.placement&&(h=b.placement),b.rects&&(u=!0===b.rects?await l.getElementRects({reference:e,floating:t,strategy:i}):b.rects),{x:c,y:d}=C(u,h,a)),n=-1)}return{x:c,y:d,placement:h,strategy:i,middlewareData:p}};function Q(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function $(e){return o.some(t=>e[t]>=0)}let A=new Set(["left","top"]);async function E(e,t){let{placement:n,platform:r,elements:i}=e,o=await (null==r.isRTL?void 0:r.isRTL(i.floating)),l=f(n),s=p(n),a="y"===O(n),u=A.has(l)?-1:1,c=o&&a?-1:1,d=h(t,e),{mainAxis:g,crossAxis:m,alignmentAxis:y}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&"number"==typeof y&&(m="end"===s?-1*y:y),a?{x:m*c,y:g*u}:{x:g*u,y:m*c}}function R(){return"undefined"!=typeof window}function N(e){return Z(e)?(e.nodeName||"").toLowerCase():"#document"}function L(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function M(e){var t;return null==(t=(Z(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Z(e){return!!R()&&(e instanceof Node||e instanceof L(e).Node)}function I(e){return!!R()&&(e instanceof Element||e instanceof L(e).Element)}function j(e){return!!R()&&(e instanceof HTMLElement||e instanceof L(e).HTMLElement)}function X(e){return!!R()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof L(e).ShadowRoot)}function D(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=U(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&"inline"!==i&&"contents"!==i}function V(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}let F=/transform|translate|scale|rotate|perspective|filter/,z=/paint|layout|strict|content/,B=e=>!!e&&"none"!==e;function W(e){let t=I(e)?U(e):e;return B(t.transform)||B(t.translate)||B(t.scale)||B(t.rotate)||B(t.perspective)||!Y()&&(B(t.backdropFilter)||B(t.filter))||F.test(t.willChange||"")||z.test(t.contain||"")}function Y(){return null==r&&(r="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),r}function q(e){return/^(html|body|#document)$/.test(N(e))}function U(e){return L(e).getComputedStyle(e)}function G(e){return I(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function H(e){if("html"===N(e))return e;let t=e.assignedSlot||e.parentNode||X(e)&&e.host||M(e);return X(t)?t.host:t}function J(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let i=function e(t){let n=H(t);return q(n)?t.ownerDocument?t.ownerDocument.body:t.body:j(n)&&D(n)?n:e(n)}(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),l=L(i);if(!o)return t.concat(i,J(i,[],n));{let e=K(l);return t.concat(l,l.visualViewport||[],D(i)?i:[],e&&n?J(e):[])}}function K(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ee(e){let t=U(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=j(e),o=i?e.offsetWidth:n,l=i?e.offsetHeight:r,s=a(n)!==o||a(r)!==l;return s&&(n=o,r=l),{width:n,height:r,$:s}}function et(e){return I(e)?e:e.contextElement}function en(e){let t=et(e);if(!j(t))return c(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:o}=ee(t),l=(o?a(n.width):n.width)/r,s=(o?a(n.height):n.height)/i;return l&&Number.isFinite(l)||(l=1),s&&Number.isFinite(s)||(s=1),{x:l,y:s}}let er=c(0);function ei(e){let t=L(e);
1return Y()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:er}function eo(e,t,n,r){var i;void 0===t&&(t=!1),void 0===n&&(n=!1);let o=e.getBoundingClientRect(),l=et(e),s=c(1);t&&(r?I(r)&&(s=en(r)):s=en(e));let a=(void 0===(i=n)&&(i=!1),r&&(!i||r===L(l))&&i)?ei(l):c(0),u=(o.left+a.x)/s.x,d=(o.top+a.y)/s.y,h=o.width/s.x,f=o.height/s.y;if(l){let e=L(l),t=r&&I(r)?L(r):r,n=e,i=K(n);for(;i&&r&&t!==n;){let e=en(i),t=i.getBoundingClientRect(),r=U(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,l=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;u*=e.x,d*=e.y,h*=e.x,f*=e.y,u+=o,d+=l,i=K(n=L(i))}}return _({width:h,height:f,x:u,y:d})}function el(e,t){let n=G(e).scrollLeft;return t?t.left+n:eo(M(e)).left+n}function es(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-el(e,n),y:n.top+t.scrollTop}}function ea(e,t,n){let r;if("viewport"===t)r=function(e,t){let n=L(e),r=M(e),i=n.visualViewport,o=r.clientWidth,l=r.clientHeight,s=0,a=0;if(i){o=i.width,l=i.height;let e=Y();(!e||e&&"fixed"===t)&&(s=i.offsetLeft,a=i.offsetTop)}let u=el(r);if(u<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,l=Math.abs(r.clientWidth-t.clientWidth-i);l<=25&&(o-=l)}else u<=25&&(o+=u);return{width:o,height:l,x:s,y:a}}(e,n);else if("document"===t)r=function(e){let t=M(e),n=G(e),r=e.ownerDocument.body,i=s(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=s(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),l=-n.scrollLeft+el(e),a=-n.scrollTop;return"rtl"===U(r).direction&&(l+=s(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:l,y:a}}(M(e));else if(I(t))r=function(e,t){let n=eo(e,!0,"fixed"===t),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=j(e)?en(e):c(1),l=e.clientWidth*o.x,s=e.clientHeight*o.y;return{width:l,height:s,x:i*o.x,y:r*o.y}}(t,n);else{let n=ei(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return _(r)}function eu(e){return"static"===U(e).position}function ec(e,t){if(!j(e)||"fixed"===U(e).position)return null;if(t)return t(e);let n=e.offsetParent;return M(e)===n&&(n=n.ownerDocument.body),n}function ed(e,t){var n;let r=L(e);if(V(e))return r;if(!j(e)){let t=H(e);for(;t&&!q(t);){if(I(t)&&!eu(t))return t;t=H(t)}return r}let i=ec(e,t);for(;i&&(n=i,/^(table|td|th)$/.test(N(n)))&&eu(i);)i=ec(i,t);return i&&q(i)&&eu(i)&&!W(i)?r:i||function(e){let t=H(e);for(;j(t)&&!q(t);){if(W(t))return t;if(V(t))break;t=H(t)}return null}(e)||r}let eh=async function(e){let t=this.getOffsetParent||ed,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=j(t),i=M(t),o="fixed"===n,l=eo(e,!0,o,t),s={scrollLeft:0,scrollTop:0},a=c(0);if(r||!r&&!o)if(("body"!==N(t)||D(i))&&(s=G(t)),r){let e=eo(t,!0,o,t);a.x=e.x+t.clientLeft,a.y=e.y+t.clientTop}else i&&(a.x=el(i));o&&!r&&i&&(a.x=el(i));let u=!i||r||o?c(0):es(i,s);return{x:l.left+s.scrollLeft-a.x-u.x,y:l.top+s.scrollTop-a.y-u.y,width:l.width,height:l.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},ef={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,o="fixed"===i,l=M(r),s=!!t&&V(t.floating);if(r===l||s&&o)return n;let a={scrollLeft:0,scrollTop:0},u=c(1),d=c(0),h=j(r);if((h||!h&&!o)&&(("body"!==N(r)||D(l))&&(a=G(r)),h)){let e=eo(r);u=en(r),d.x=e.x+r.clientLeft,d.y=e.y+r.clientTop}let f=!l||h||o?c(0):es(l,a);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-a.scrollLeft*u.x+d.x+f.x,y:n.y*u.y-a.scrollTop*u.y+d.y+f.y}},getDocumentElement:M,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,o=[..."clippingAncestors"===n?V(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=J(e,[],!1).filter(e=>I(e)&&"body"!==N(e)),i=null,o="fixed"===U(e).position,l=o?H(e):e;for(;I(l)&&!q(l);){let t=U(l),n=W(l);n||"fixed"!==t.position||(i=null),(o?n||i:!(!n&&"static"===t.position&&i&&("absolute"===i.position||"fixed"===i.position)||D(l)&&!n&&function e(t,n){let r=H(t);return!(r===n||!I(r)||q(r))&&("fixed"===U(r).position||e(r,n))}(e,l)))?i=t:r=r.filter(e=>e!==l),l=H(l)}return t.set(e,r),r}(t,this._c):[].concat(n),r],a=ea(t,o[0],i),u=a.top,c=a.right,d=a.bottom,h=a.left;for(let e=1;e<o.length;e++){let n=ea(t,o[e],i);u=s(n.top,u),c=l(n.right,c),d=l(n.bottom,d),h=s(n.left,h)}return{width:c-h,height:d-u,x:h,y:u}},getOffsetParent:ed,getElementRects:eh,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=ee(e);return{width:t,height:n}},getScale:en,isElement:I,isRTL:function(e){return"rtl"===U(e).direction}};function ep(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let eg=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:i,rects:o,platform:a,elements:u,middlewareData:c}=t,{element:d,padding:f=0}=h(e,t)||{};if(null==d)return{};let y=S(f),v={x:n,y:r},x=g(O(i)),b=m(x),w=await a.getDimensions(d),k="y"===x,_=k?"clientHeight":"clientWidth",C=o.reference[b]+o.reference[x]-v[x]-o.floating[b],P=v[x]-o.reference[x],T=await (null==a.getOffsetParent?void 0:a.getOffsetParent(d)),Q=T?T[_]:0;Q&&await (null==a.isElement?void 0:a.isElement(T))||(Q=u.floating[_]||o.floating[b]);let $=Q/2-w[b]/2-1,A=l(y[k?"top":"left"],$),E=l(y[k?"bottom":"right"],$),R=Q-w[b]-E,N=Q/2-w[b]/2+(C/2-P/2),L=s(A,l(N,R)),M=!c.arrow&&null!=p(i)&&N!==L&&o.reference[b]/2-(N<A?A:E)-w[b]/2<0,Z=M?N<A?N-A:N-R:0;return{[x]:v[x]+Z,data:{[x]:L,centerOffset:N-L-Z,...M&&{alignmentOffset:Z}},reset:M}}});var em=n(36184),eO="undefined"!=typeof document?i.useLayoutEffect:function(){};function ey(e,t){let n,r,i;if(e===t)return!0;
1if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!ey(e[r],t[r]))return!1;return!0}if((n=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!=r--;){let n=i[r];if(("_owner"!==n||!e.$$typeof)&&!ey(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function ev(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function ex(e,t){let n=ev(e);return Math.round(t*n)/n}function eb(e){let t=i.useRef(e);return eO(()=>{t.current=e}),t}var ew=n(11997),ek=n(64177),eS=i.forwardRef((e,t)=>{let{children:n,width:r=10,height:i=5,...o}=e;return(0,ek.jsx)(ew.sG.svg,{...o,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,ek.jsx)("polygon",{points:"0,0 30,0 15,10"})})});eS.displayName="Arrow";var e_=n(5966),eC=n(25992),eP=n(51003),eT=n(36709),eQ="Popper",[e$,eA]=(0,eC.A)(eQ),[eE,eR]=e$(eQ),eN=e=>{let{__scopePopper:t,children:n}=e,[r,o]=i.useState(null);return(0,ek.jsx)(eE,{scope:t,anchor:r,onAnchorChange:o,children:n})};eN.displayName=eQ;var eL="PopperAnchor",eM=i.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:r,...o}=e,l=eR(eL,n),s=i.useRef(null),a=(0,e_.s)(t,s),u=i.useRef(null);return i.useEffect(()=>{let e=u.current;u.current=(null==r?void 0:r.current)||s.current,e!==u.current&&l.onAnchorChange(u.current)}),r?null:(0,ek.jsx)(ew.sG.div,{...o,ref:a})});eM.displayName=eL;var eZ="PopperContent",[eI,ej]=e$(eZ),eX=i.forwardRef((e,t)=>{var n,r,o,a,c,d,S,_;let{__scopePopper:C,side:P="bottom",sideOffset:R=0,align:N="center",alignOffset:L=0,arrowPadding:Z=0,avoidCollisions:I=!0,collisionBoundary:j=[],collisionPadding:X=0,sticky:D="partial",hideWhenDetached:V=!1,updatePositionStrategy:F="optimized",onPlaced:z,...B}=e,W=eR(eZ,C),[Y,q]=i.useState(null),U=(0,e_.s)(t,e=>q(e)),[G,H]=i.useState(null),K=function(e){let[t,n]=i.useState(void 0);return(0,eT.N)(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,i;if(!Array.isArray(t)||!t.length)return;let o=t[0];if("borderBoxSize"in o){let e=o.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,i=t.blockSize}else r=e.offsetWidth,i=e.offsetHeight;n({width:r,height:i})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}(G),ee=null!=(S=null==K?void 0:K.width)?S:0,en=null!=(_=null==K?void 0:K.height)?_:0,er="number"==typeof X?X:{top:0,right:0,bottom:0,left:0,...X},ei=Array.isArray(j)?j:[j],el=ei.length>0,es={padding:er,boundary:ei.filter(ez),altBoundary:el},{refs:ea,floatingStyles:eu,placement:ec,isPositioned:ed,middlewareData:eh}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:l,floating:s}={},transform:a=!0,whileElementsMounted:u,open:c}=e,[d,h]=i.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,p]=i.useState(r);ey(f,r)||p(r);let[g,m]=i.useState(null),[O,y]=i.useState(null),v=i.useCallback(e=>{e!==k.current&&(k.current=e,m(e))},[]),x=i.useCallback(e=>{e!==S.current&&(S.current=e,y(e))},[]),b=l||g,w=s||O,k=i.useRef(null),S=i.useRef(null),_=i.useRef(d),C=null!=u,P=eb(u),Q=eb(o),$=eb(c),A=i.useCallback(()=>{if(!k.current||!S.current)return;let e={placement:t,strategy:n,middleware:f};Q.current&&(e.platform=Q.current),((e,t,n)=>{let r=new Map,i={platform:ef,...n},o={...i.platform,_c:r};return T(e,t,{...i,platform:o})})(k.current,S.current,e).then(e=>{let t={...e,isPositioned:!1!==$.current};E.current&&!ey(_.current,t)&&(_.current=t,em.flushSync(()=>{h(t)}))})},[f,t,n,Q,$]);eO(()=>{!1===c&&_.current.isPositioned&&(_.current.isPositioned=!1,h(e=>({...e,isPositioned:!1})))},[c]);let E=i.useRef(!1);eO(()=>(E.current=!0,()=>{E.current=!1}),[]),eO(()=>{if(b&&(k.current=b),w&&(S.current=w),b&&w){if(P.current)return P.current(b,w,A);A()}},[b,w,A,P,C]);let R=i.useMemo(()=>({reference:k,floating:S,setReference:v,setFloating:x}),[v,x]),N=i.useMemo(()=>({reference:b,floating:w}),[b,w]),L=i.useMemo(()=>{let e={position:n,left:0,top:0};if(!N.floating)return e;let t=ex(N.floating,d.x),r=ex(N.floating,d.y);return a?{...e,transform:"translate("+t+"px, "+r+"px)",...ev(N.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,a,N.floating,d.x,d.y]);return i.useMemo(()=>({...d,update:A,refs:R,elements:N,floatingStyles:L}),[d,A,R,N,L])}({strategy:"fixed",placement:P+("center"!==N?"-"+N:""),whileElementsMounted:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e,t,n,r){let i;void 0===r&&(r={});let{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:d="function"==typeof IntersectionObserver,animationFrame:h=!1}=r,f=et(e),p=o||a?[...f?J(f):[],...t?J(t):[]]:[];
1p.forEach(e=>{o&&e.addEventListener("scroll",n,{passive:!0}),a&&e.addEventListener("resize",n)});let g=f&&d?function(e,t){let n,r=null,i=M(e);function o(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function a(c,d){void 0===c&&(c=!1),void 0===d&&(d=1),o();let h=e.getBoundingClientRect(),{left:f,top:p,width:g,height:m}=h;if(c||t(),!g||!m)return;let O=u(p),y=u(i.clientWidth-(f+g)),v={rootMargin:-O+"px "+-y+"px "+-u(i.clientHeight-(p+m))+"px "+-u(f)+"px",threshold:s(0,l(1,d))||1},x=!0;function b(t){let r=t[0].intersectionRatio;if(r!==d){if(!x)return a();r?a(!1,r):n=setTimeout(()=>{a(!1,1e-7)},1e3)}1!==r||ep(h,e.getBoundingClientRect())||a(),x=!1}try{r=new IntersectionObserver(b,{...v,root:i.ownerDocument})}catch(e){r=new IntersectionObserver(b,v)}r.observe(e)}(!0),o}(f,n):null,m=-1,O=null;c&&(O=new ResizeObserver(e=>{let[r]=e;r&&r.target===f&&O&&t&&(O.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var e;null==(e=O)||e.observe(t)})),n()}),f&&!h&&O.observe(f),t&&O.observe(t));let y=h?eo(e):null;return h&&function t(){let r=eo(e);y&&!ep(y,r)&&n(),y=r,i=requestAnimationFrame(t)}(),n(),()=>{var e;p.forEach(e=>{o&&e.removeEventListener("scroll",n),a&&e.removeEventListener("resize",n)}),null==g||g(),null==(e=O)||e.disconnect(),O=null,h&&cancelAnimationFrame(i)}}(...t,{animationFrame:"always"===F})},elements:{reference:W.anchor},middleware:[((e,t)=>{let n=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:i,y:o,placement:l,middlewareData:s}=t,a=await E(t,e);return l===(null==(n=s.offset)?void 0:n.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{x:i+a.x,y:o+a.y,data:{...a,placement:l}}}}}(e);return{name:n.name,fn:n.fn,options:[e,t]}})({mainAxis:R+en,alignmentAxis:L}),I&&((e,t)=>{let n=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:r,placement:i,platform:o}=t,{mainAxis:a=!0,crossAxis:u=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...d}=h(e,t),p={x:n,y:r},m=await o.detectOverflow(t,d),y=O(f(i)),v=g(y),x=p[v],b=p[y];if(a){let e="y"===v?"top":"left",t="y"===v?"bottom":"right",n=x+m[e],r=x-m[t];x=s(n,l(x,r))}if(u){let e="y"===y?"top":"left",t="y"===y?"bottom":"right",n=b+m[e],r=b-m[t];b=s(n,l(b,r))}let w=c.fn({...t,[v]:x,[y]:b});return{...w,data:{x:w.x-n,y:w.y-r,enabled:{[v]:a,[y]:u}}}}}}(e);return{name:n.name,fn:n.fn,options:[e,t]}})({mainAxis:!0,crossAxis:!1,limiter:"partial"===D?((e,t)=>({fn:function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:i,rects:o,middlewareData:l}=t,{offset:s=0,mainAxis:a=!0,crossAxis:u=!0}=h(e,t),c={x:n,y:r},d=O(i),p=g(d),m=c[p],y=c[d],v=h(s,t),x="number"==typeof v?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(a){let e="y"===p?"height":"width",t=o.reference[p]-o.floating[e]+x.mainAxis,n=o.reference[p]+o.reference[e]-x.mainAxis;m<t?m=t:m>n&&(m=n)}if(u){var b,w;let e="y"===p?"width":"height",t=A.has(f(i)),n=o.reference[d]-o.floating[e]+(t&&(null==(b=l.offset)?void 0:b[d])||0)+(t?0:x.crossAxis),r=o.reference[d]+o.reference[e]+(t?0:(null==(w=l.offset)?void 0:w[d])||0)-(t?x.crossAxis:0);y<n?y=n:y>r&&(y=r)}return{[p]:m,[d]:y}}}}(e).fn,options:[e,t]}))():void 0,...es}),I&&((e,t)=>{let n=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r,i,o,l;let{placement:s,middlewareData:a,rects:u,initialPlacement:c,platform:d,elements:S}=t,{mainAxis:_=!0,crossAxis:C=!0,fallbackPlacements:P,fallbackStrategy:T="bestFit",fallbackAxisSideDirection:Q="none",flipAlignment:$=!0,...A}=h(e,t);if(null!=(n=a.arrow)&&n.alignmentOffset)return{};let E=f(s),R=O(c),N=f(c)===c,L=await (null==d.isRTL?void 0:d.isRTL(S.floating)),M=P||(N||!$?[k(c)]:function(e){let t=k(e);return[y(e),t,y(t)]}(c)),Z="none"!==Q;!P&&Z&&M.push(...function(e,t,n,r){let i=p(e),o=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?x:v;return t?v:x;case"left":case"right":return t?b:w;default:return[]}}(f(e),"start"===n,r);return i&&(o=o.map(e=>e+"-"+i),t&&(o=o.concat(o.map(y)))),o}(c,$,Q,L));let I=[c,...M],j=await d.detectOverflow(t,A),X=[],D=(null==(r=a.flip)?void 0:r.overflows)||[];if(_&&X.push(j[E]),C){let e=function(e,t,n){void 0===n&&(n=!1);let r=p(e),i=g(O(e)),o=m(i),l="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(l=k(l)),[l,k(l)]}(s,u,L);X.push(j[e[0]],j[e[1]])}if(D=[...D,{placement:s,overflows:X}],!X.every(e=>e<=0)){let e=((null==(i=a.flip)?void 0:i.index)||0)+1,t=I[e];if(t&&("alignment"!==C||R===O(t)||D.every(e=>O(e.placement)!==R||e.overflows[0]>0)))return{data:{index:e,overflows:D},reset:{placement:t}};let n=null==(o=D.filter(e=>e.overflows[0]<=0).sort((e,t)=>
1e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!n)switch(T){case"bestFit":{let e=null==(l=D.filter(e=>{if(Z){let t=O(e.placement);return t===R||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:l[0];e&&(n=e);break}case"initialPlacement":n=c}if(s!==n)return{reset:{placement:n}}}return{}}}}(e);return{name:n.name,fn:n.fn,options:[e,t]}})({...es}),((e,t)=>{let n=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,r;let i,o,{placement:a,rects:u,platform:c,elements:d}=t,{apply:g=()=>{},...m}=h(e,t),y=await c.detectOverflow(t,m),v=f(a),x=p(a),b="y"===O(a),{width:w,height:k}=u.floating;"top"===v||"bottom"===v?(i=v,o=x===(await (null==c.isRTL?void 0:c.isRTL(d.floating))?"start":"end")?"left":"right"):(o=v,i="end"===x?"top":"bottom");let S=k-y.top-y.bottom,_=w-y.left-y.right,C=l(k-y[i],S),P=l(w-y[o],_),T=!t.middlewareData.shift,Q=C,$=P;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&($=_),null!=(r=t.middlewareData.shift)&&r.enabled.y&&(Q=S),T&&!x){let e=s(y.left,0),t=s(y.right,0),n=s(y.top,0),r=s(y.bottom,0);b?$=w-2*(0!==e||0!==t?e+t:s(y.left,y.right)):Q=k-2*(0!==n||0!==r?n+r:s(y.top,y.bottom))}await g({...t,availableWidth:$,availableHeight:Q});let A=await c.getDimensions(d.floating);return w!==A.width||k!==A.height?{reset:{rects:!0}}:{}}}}(e);return{name:n.name,fn:n.fn,options:[e,t]}})({...es,apply:e=>{let{elements:t,rects:n,availableWidth:r,availableHeight:i}=e,{width:o,height:l}=n.reference,s=t.floating.style;s.setProperty("--radix-popper-available-width","".concat(r,"px")),s.setProperty("--radix-popper-available-height","".concat(i,"px")),s.setProperty("--radix-popper-anchor-width","".concat(o,"px")),s.setProperty("--radix-popper-anchor-height","".concat(l,"px"))}}),G&&((e,t)=>{let n=(e=>({name:"arrow",options:e,fn(t){let{element:n,padding:r}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?eg({element:n.current,padding:r}).fn(t):{}:n?eg({element:n,padding:r}).fn(t):{}}}))(e);return{name:n.name,fn:n.fn,options:[e,t]}})({element:G,padding:Z}),eB({arrowWidth:ee,arrowHeight:en}),V&&((e,t)=>{let n=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n,platform:r}=t,{strategy:i="referenceHidden",...o}=h(e,t);switch(i){case"referenceHidden":{let e=Q(await r.detectOverflow(t,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:$(e)}}}case"escaped":{let e=Q(await r.detectOverflow(t,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:$(e)}}}default:return{}}}}}(e);return{name:n.name,fn:n.fn,options:[e,t]}})({strategy:"referenceHidden",...es})]}),[eS,eC]=eW(ec),eQ=(0,eP.c)(z);(0,eT.N)(()=>{ed&&(null==eQ||eQ())},[ed,eQ]);let e$=null==(n=eh.arrow)?void 0:n.x,eA=null==(r=eh.arrow)?void 0:r.y,eE=(null==(o=eh.arrow)?void 0:o.centerOffset)!==0,[eN,eL]=i.useState();return(0,eT.N)(()=>{Y&&eL(window.getComputedStyle(Y).zIndex)},[Y]),(0,ek.jsx)("div",{ref:ea.setFloating,"data-radix-popper-content-wrapper":"",style:{...eu,transform:ed?eu.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:eN,"--radix-popper-transform-origin":[null==(a=eh.transformOrigin)?void 0:a.x,null==(c=eh.transformOrigin)?void 0:c.y].join(" "),...(null==(d=eh.hide)?void 0:d.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,ek.jsx)(eI,{scope:C,placedSide:eS,onArrowChange:H,arrowX:e$,arrowY:eA,shouldHideArrow:eE,children:(0,ek.jsx)(ew.sG.div,{"data-side":eS,"data-align":eC,...B,ref:U,style:{...B.style,animation:ed?void 0:"none"}})})})});eX.displayName=eZ;var eD="PopperArrow",eV={top:"bottom",right:"left",bottom:"top",left:"right"},eF=i.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,i=ej(eD,n),o=eV[i.placedSide];return(0,ek.jsx)("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:(0,ek.jsx)(eS,{...r,ref:t,style:{...r.style,display:"block"}})})});function ez(e){return null!==e}eF.displayName=eD;var eB=e=>({name:"transformOrigin",options:e,fn(t){var n,r,i,o,l;let{placement:s,rects:a,middlewareData:u}=t,c=(null==(n=u.arrow)?void 0:n.centerOffset)!==0,d=c?0:e.arrowWidth,h=c?0:e.arrowHeight,[f,p]=eW(s),g={start:"0%",center:"50%",end:"100%"}[p],m=(null!=(o=null==(r=u.arrow)?void 0:r.x)?o:0)+d/2,O=(null!=(l=null==(i=u.arrow)?void 0:i.y)?l:0)+h/2,y="",v="";return"bottom"===f?(y=c?g:"".concat(m,"px"),v="".concat(-h,"px")):"top"===f?(y=c?g:"".concat(m,"px"),v="".concat(a.floating.height+h,"px")):"right"===f?(y="".concat(-h,"px"),v=c?g:"".concat(O,"px")):"left"===f&&(y="".concat(a.floating.width+h,"px"),v=c?g:"".concat(O,"px")),{data:{x:y,y:v}}}});function eW(e){let[t,n="center"]=e.split("-");return[t,n]}var eY=eN,eq=eM,eU=eX,eG=eF}
1,18428:(e,t,n)=>{"use strict";n.d(t,{R:()=>_});var r=n(44443),i=n(6325),o=n(60665),l=n(7814),s=n(14725),a=n(73533),u=n(74972),c=n(66870),d=n(2886);let h={undo:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M7.202 18.5V17H14.3788C15.4224 17 16.3205 16.6554 17.073 15.9663C17.8257 15.2773 18.202 14.4263 18.202 13.4135C18.202 12.4007 17.8257 11.5512 17.073 10.8652C16.3205 10.1794 15.4224 9.8365 14.3788 9.8365H7.35775L10.1402 12.6193L9.0865 13.673L4.5 9.0865L9.0865 4.5L10.1402 5.55375L7.35775 8.3365H14.3788C15.8416 8.3365 17.0945 8.82467 18.1375 9.801C19.1805 10.7773 19.702 11.9815 19.702 13.4135C19.702 14.8455 19.1805 16.0513 18.1375 17.0308C17.0945 18.0103 15.8416 18.5 14.3788 18.5H7.202Z",fill:"currentColor"})),redo:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M9.6211 18.5C8.15827 18.5 6.90535 18.0103 5.86235 17.0308C4.81935 16.0513 4.29785 14.8455 4.29785 13.4135C4.29785 11.9815 4.81935 10.7773 5.86235 9.801C6.90535 8.82467 8.15827 8.3365 9.6211 8.3365H16.6421L13.8596 5.55375L14.9134 4.5L19.4999 9.0865L14.9134 13.673L13.8596 12.6193L16.6421 9.8365H9.6211C8.57744 9.8365 7.67935 10.1794 6.92685 10.8652C6.17418 11.5512 5.79785 12.4007 5.79785 13.4135C5.79785 14.4263 6.17418 15.2773 6.92685 15.9663C7.67935 16.6554 8.57744 17 9.6211 17H16.7979V18.5H9.6211Z",fill:"currentColor"})),format_bold:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M7.33838 18.625V5.375H12.1999C13.219 5.375 14.1405 5.69233 14.9644 6.327C15.788 6.9615 16.1999 7.816 16.1999 8.8905C16.1999 9.63783 16.0194 10.2471 15.6584 10.7182C15.2975 11.1894 14.9088 11.5314 14.4921 11.7442C15.005 11.9211 15.4947 12.2708 15.9614 12.7933C16.428 13.3158 16.6614 14.0193 16.6614 14.9038C16.6614 16.1819 16.1902 17.1217 15.2479 17.723C14.3055 18.3243 13.3562 18.625 12.3999 18.625H7.33838ZM9.48838 16.6328H12.3191C13.1063 16.6328 13.6627 16.4142 13.9884 15.977C14.314 15.5398 14.4769 15.1206 14.4769 14.7192C14.4769 14.3179 14.314 13.8987 13.9884 13.4615C13.6627 13.0243 13.0909 12.8058 12.2729 12.8058H9.48838V16.6328ZM9.48838 10.875H12.0826C12.6903 10.875 13.172 10.7013 13.5279 10.3538C13.8835 10.0064 14.0614 9.59042 14.0614 9.10575C14.0614 8.59042 13.8733 8.16925 13.4971 7.84225C13.1208 7.51542 12.6595 7.352 12.1134 7.352H9.48838V10.875Z",fill:"currentColor"})),format_italic:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M5.39404 18.625V16.8173H9.21129L12.4518 7.18275H8.63454V5.375H17.7883V7.18275H14.2785L11.0383 16.8173H14.5478V18.625H5.39404Z",fill:"currentColor"})),format_underlined:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M5.34619 22.125V20.625H18.6537V22.125H5.34619ZM11.9999 18.5287C10.4448 18.5287 9.23102 18.0566 8.35869 17.1125C7.48619 16.1683 7.04994 14.9032 7.04994 13.3172V5.41345H8.90369V13.4095C8.90369 14.4198 9.17228 15.2295 9.70944 15.8385C10.2466 16.4475 11.0101 16.752 11.9999 16.752C12.9898 16.752 13.7533 16.4475 14.2904 15.8385C14.8276 15.2295 15.0962 14.4198 15.0962 13.4095V5.41345H16.9499V13.3172C16.9499 14.9032 16.5137 16.1683 15.6412 17.1125C14.7689 18.0566 13.5551 18.5287 11.9999 18.5287Z",fill:"currentColor"})),format_highlight:i.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.75",strokeLinecap:"round",strokeLinejoin:"round"},i.createElement("path",{d:"m9 11-6 6v3h9l3-3"}),i.createElement("path",{d:"m22 12-4.6 4.6a2 2 0 0 1-2.8 0l-5.2-5.2a2 2 0 0 1 0-2.8L14 4"})),code:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M7.99994 17.6537L2.34619 11.9999L7.99994 6.34619L9.06919 7.41544L4.46919 12.0154L9.05369 16.5999L7.99994 17.6537ZM15.9999 17.6537L14.9307 16.5844L19.5307 11.9844L14.9462 7.39994L15.9999 6.34619L21.6537 11.9999L15.9999 17.6537Z",fill:"currentColor"})),strikeThrough:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M12.15 19.6923C10.9732 19.6923 9.9315 19.359 9.025 18.6923C8.11867 18.0256 7.45525 17.1128 7.03475 15.9538L8.6385 15.2635C8.91667 16.0444 9.3545 16.6867 9.952 17.1905C10.5493 17.6944 11.2923 17.9463 12.1808 17.9463C12.9578 17.9463 13.6744 17.7508 14.3307 17.3598C14.9872 16.9686 15.3155 16.3487 15.3155 15.5C15.3155 15.123 15.2555 14.7968 15.1355 14.5213C15.0157 14.2456 14.8462 13.9885 14.627 13.75H16.677C16.7987 13.9705 16.8932 14.2256 16.9605 14.5153C17.0278 14.8051 17.0615 15.1334 17.0615 15.5C17.0615 16.8372 16.5747 17.8702 15.601 18.599C14.6272 19.3279 13.4768 19.6923 12.15 19.6923ZM2.25 11.75V10.25H21.75V11.75H2.25ZM12.05 4.19629C13.0475 4.19629 13.9123 4.42704 14.6443 4.88854C15.3763 5.35004 15.9673 6.05896 16.4173 7.01529L14.823 7.73079C14.6218 7.26029 14.2978 6.84462 13.851 6.48379C13.4042 6.12279 12.8141 5.94229 12.0808 5.94229C11.2244 5.94229 10.5392 6.16221 10.025 6.60204C9.51083 7.04171 9.264 7.59104 9.2845 8.25004H7.5385C7.50133 7.16421 7.89783 6.21712 8.728 5.40879C9.558 4.60046 10.6653 4.19629 12.05 4.19629Z",fill:"currentColor"})),superscript:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M16.6924 8V6.2115C16.6924 5.95383 16.7786 5.73875 16.9511 5.56625C17.1235 5.39392 17.3385 5.30775 17.5961 5.30775H19.5001V4.38475H16.6924V3.5H19.4809C19.7385 3.5 19.9536 3.58625 20.1261 3.75875C20.2985 3.93108 20.3846 4.14617 20.3846 4.404V5.2885C20.3846 5.54617 20.2985 5.76125 20.1261 5.93375C19.9536 6.10608 19.7385 6.19225 19.4809 6.19225H17.5771V7.1155H20.3846V8H16.6924ZM4.44238 18.5L8.84638 11.6287L4.77713 5.30775H6.74438L9.95963 10.404H10.0214L13.2501 5.30775H15.2329L11.1194 
111.6287L15.5579 18.5H13.5751L10.0214 12.9308H9.95963L6.42513 18.5H4.44238Z",fill:"currentColor"})),subscript:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M16.6924 20.5V18.7115C16.6924 18.4538 16.7786 18.2387 16.9511 18.0662C17.1235 17.8939 17.3385 17.8077 17.5961 17.8077H19.5001V16.8845H16.6924V16H19.4809C19.7385 16 19.9536 16.0863 20.1261 16.2587C20.2985 16.4311 20.3846 16.6461 20.3846 16.9038V17.7885C20.3846 18.0462 20.2985 18.2612 20.1261 18.4337C19.9536 18.6061 19.7385 18.6923 19.4809 18.6923H17.5771V19.6152H20.3846V20.5H16.6924ZM4.44238 18.6923L8.84638 11.8212L4.77713 5.5H6.74438L9.95963 10.5962H10.0214L13.2501 5.5H15.2329L11.1194 11.8212L15.5579 18.6923H13.5751L10.0214 13.123H9.95963L6.42513 18.6923H4.44238Z",fill:"currentColor"})),format_list_bulleted:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M9.30775 18.75V17.25H20.5V18.75H9.30775ZM9.30775 12.75V11.25H20.5V12.75H9.30775ZM9.30775 6.75005V5.25005H20.5V6.75005H9.30775ZM5.1635 19.6635C4.706 19.6635 4.31442 19.5006 3.98875 19.1748C3.66292 18.8491 3.5 18.4575 3.5 18C3.5 17.5425 3.66292 17.151 3.98875 16.8253C4.31442 16.4995 4.706 16.3365 5.1635 16.3365C5.621 16.3365 6.01258 16.4995 6.33825 16.8253C6.66408 17.151 6.827 17.5425 6.827 18C6.827 18.4575 6.66408 18.8491 6.33825 19.1748C6.
101258 19.5006 5.621 19.6635 5.1635 19.6635ZM5.1635 13.6635C4.706 13.6635 4.31442 13.5006 3.98875 13.1748C3.66292 12.8491 3.5 12.4575 3.5 12C3.5 11.5425 3.66292 11.151 3.98875 10.8253C4.31442 10.4995 4.706 10.3365 5.1635 10.3365C5.621 10.3365 6.01258 10.4995 6.33825 10.8253C6.66408 11.151 6.827 11.5425 6.827 12C6.827 12.4575 6.66408 12.8491 6.33825 13.1748C6.01258 13.5006 5.621 13.6635 5.1635 13.6635ZM5.1635 7.66355C4.706 7.66355 4.31442 7.50063 3.98875 7.1748C3.66292 6.84913 3.5 6.45755 3.5 6.00005C3.5 5.54255 3.66292 5.15096 3.98875 4.8253C4.31442 4.49946 4.706 4.33655 5.1635 4.33655C5.621 4.33655 6.01258 4.49946 6.33825 4.8253C6.66408 5.15096 6.827 5.54255 6.827 6.00005C6.827 6.45755 6.66408 6.84913 6.33825 7.1748C6.01258 7.50063 5.621 7.66355 5.1635 7.66355Z",fill:"currentColor"})),format_list_numbered:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M3.5 21.5V20.3078H6V19.25H4.5V18.0577H6V17H3.5V15.8077H6.34625C6.58592 15.8077 6.78683 15.8888 6.949 16.051C7.11117 16.2132 7.19225 16.4141 7.19225 16.6538V17.8462C7.19225 18.0859 7.11117 18.2868 6.949 18.449C6.78683 18.6112 6.58592 18.6923 6.34625 18.6923C6.58592 18.6923 6.78683 18.7733 6.949 18.9355C7.11117 19.0977 7.19225 19.2987 7.19225 19.5385V20.6538C7.19225 20.8936 7.11117 21.0946 6.949 21.2568C6.78683 21.4189 6.58592 21.5 6.34625 21.5H3.5ZM3.5 14.8463V12.25C3.5 12.0103 3.58108 11.8093 3.74325 11.647C3.90542 11.4848 4.10642 11.4038 4.34625 11.4038H6V10.3462H3.5V9.15375H6.34625C6.58592 9.15375 6.78683 9.23483 6.949 9.397C7.11117 9.55933 7.19225 9.76033 7.19225 10V11.75C7.19225 11.9897 7.11117 12.1907 6.949 12.353C6.78683 12.5152 6.58592 12.5963 6.34625 12.5963H4.69225V13.6538H7.19225V14.8463H3.5ZM5 8.19225V3.69225H3.5V2.5H6.19225V8.19225H5ZM9.30775 18.75V17.25H20.5V18.75H9.30775ZM9.30775 12.75V11.25H20.5V12.75H9.30775ZM9.30775 6.75V5.25H20.5V6.75H9.30775Z",fill:"currentColor"})),format_list_checked:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M5.69425 18.452L2.5 15.2578L3.54425 14.2135L5.66925 16.3385L9.91925 12.0885L10.9635 13.1578L5.69425 18.452ZM5.69425 10.8365L2.5 7.64227L3.54425 6.59802L5.66925 8.72302L9.91925 4.47302L10.9635 5.54227L5.69425 10.8365ZM13.0095 16.5578V15.0578H21.5095V16.5578H13.0095ZM13.0095 8.94227V7.44227H21.5095V8.94227H13.0095Z",fill:"currentColor"})),link:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M10.8077 16.5385H7.0385C5.78283 16.5385 4.7125 16.096 3.8275 15.211C2.9425 14.3262 2.5 13.256 2.5 12.0005C2.5 10.745 2.9425 9.67471 3.8275 8.78955C4.7125 7.90421 5.78283 7.46155 7.0385 7.46155H10.8077V8.96155H7.0385C6.19867 8.96155 5.48233 9.25805 4.8895 9.85105C4.2965 10.444 4 11.1604 4 12C4 12.8397 4.2965 13.556 4.8895 14.149C5.48233 14.742 6.19867 15.0385 7.0385 15.0385H10.8077V16.5385ZM8.25 12.75V11.25H15.75V12.75H8.25ZM13.1923 16.5385V15.0385H16.9615C17.8013 15.0385 18.5177 14.742 19.1105 14.149C19.7035 13.556 20 12.8397 20 12C20 11.1604 19.7035 10.444 19.1105 9.85105C18.5177 9.25805 17.8013 8.96155 16.9615 8.96155H13.1923V7.46155H16.9615C18.2172 7.46155 19.2875 7.90405 20.1725 8.78905C21.0575 9.67388 21.5 10.744 21.5 11.9995C21.5 13.255 21.0575 14.3254 20.1725 15.2105C19.2875 16.0959 18.2172 16.5385 16.9615 16.5385H13.1923Z",fill:"currentColor"})),add_photo:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M5.11537 20.5C4.6182 20.5 4.19262 20.323 3.83862 19.969C3.48462 19.615 3.30762 19.1894 3.30762 18.6922V5.30773C3.30762 4.81056 3.48462 4.38498 3.83862 4.03098C4.19262 3.67698 4.6182 3.49998 5.11537 3.49998H13.8076V4.99998H5.11537C5.02553 4.99998 4.95178 5.02881 4.89412 5.08648C4.83645 5.14415 4.80762 5.2179 4.80762 5.30773V18.6922C4.80762 18.7821 4.83645 18.8558 4.89412 18.9135C4.95178 18.9711 5.02553 19 5.11537 19H18.4999C18.5895 19 18.6633 18.9711 18.7211 18.9135C18.7788 18.8558 18.8076 18.7821 18.8076 18.6922V9.99998H20.3076V18.6922C20.3076 19.1894 20.1306 19.615 19.7766 19.969C19.4226 20.323 18.997 20.5 18.4999 20.5H5.11537ZM17.1921 8.61523V6.61523H15.1921V5.11548H17.1921V3.11548H18.6921V5.11548H20.6921V6.61523H18.6921V8.61523H17.1921ZM6.55762 16.75H17.1344L13.8459 12.3655L11.0384 16.0192L9.03837 13.4615L6.55762 16.75Z",fill:"currentColor"})),table:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M3.5 18.6923V5.30775C3.5 4.81058 3.677 4.385 4.031 4.031C4.385 3.677 4.81058 3.5 5.30775 3.5H18.6923C19.1894 3.5 19.615 3.677 19.969 4.031C20.323 4.385 20.5 4.81058 20.5 5.30775V18.6923C20.5 19.1894 20.323 19.615 19.969 19.969C19.615 20.323 19.1894 20.5 18.6923 20.5H5.30775C4.81058 20.5 4.385 20.323 4.031 19.969C3.677 19.615 3.5 19.1894 3.5 18.6923ZM5 9.077H19V5.30775C19 5.21792 18.9712 5.14417 18.9135 5.0865C18.8558 5.02883 18.7821 5 18.6923 5H5.30775C5.21792 5 5.14417 5.02883 5.0865 5.0865C5.02883 5.14417 5 5.21792 5 5.30775V9.077ZM10.1615 14.0385H13.8385V10.577H10.1615V14.0385ZM10.1615 19H13.8385V15.5385H10.1615V19ZM5 14.0385H8.6615V10.577H5V14.0385ZM15.3385 14.0385H19V10.577H15.3385V14.0385ZM5.30775 19H8.661
15V15.5385H5V18.6923C5 18.7821 5.02883 18.8558 5.0865 18.9135C5.14417 18.9712 5.21792 19 5.30775 19ZM15.3385 19H18.6923C18.7821 19 18.8558 18.9712 18.9135 18.9135C18.9712 18.8558 19 18.7821 19 18.6923V15.5385H15.3385V19Z",fill:"currentColor"})),horizontal_rule:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M4.5 12.75V11.25H19.5V12.75H4.5Z",fill:"currentColor"})),frontmatter:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M4.5 8.75V7.25H8.5V8.75H4.5Z",fill:"currentColor"}),i.createElement("path",{d:"M4.5 14.75V13.25H8.5V14.75H4.5Z",fill:"currentColor"}),i.createElement("path",{d:"M9.5 8.75V7.25H13.5V8.75H9.5Z",fill:"currentColor"}),i.createElement("path",{d:"M9.5 14.75V13.25H13.5V14.75H9.5Z",fill:"currentColor"}),i.createElement("path",{d:"M14.5 8.75V7.25H18.5V8.75H14.5Z",fill:"currentColor"}),i.createElement("path",{d:"M14.5 14.75V13.25H18.5V14.75H14.5Z",fill:"currentColor"})),frame_source:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M8.6 15.2443L5.35575 12L8.6 8.75575L9.64425 9.825L7.46925 12L9.64425 14.175L8.6 15.2443ZM15.4 15.2443L14.3558 14.175L16.5307 12L14.3558 9.825L15.4 8.75575L18.6443 12L15.4 15.2443ZM5.30775 20.5C4.80258 20.5 4.375 20.325 4.025 19.975C3.675 19.625 3.5 19.1974 3.5 18.6923V15H5V18.6923C5 18.7692 5.03208 18.8398 5.09625 18.9038C5.16025 18.9679 5.23075 19 5.30775 19H9V20.5H5.30775ZM15 20.5V19H18.6923C18.7692 19 18.8398 18.9679 18.9038 18.9038C18.9679 18.8398 19 18.7692 19 18.6923V15H20.5V18.6923C20.5 19.1974 20.325 19.625 19.975 19.975C19.625 20.325 19.1974 20.5 18.6923 20.5H15ZM3.5 9V5.30775C3.5 4.80258 3.675 4.375 4.025 4.025C4.375 3.675 4.80258 3.5 5.30775 3.5H9V5H5.30775C5.23075 5 5.16025 5.03208 5.09625 5.09625C5.03208 5.16025 5 5.23075 5 5.30775V9H3.5ZM19 9V5.30775C19 5.23075 18.9679 5.16025 18.9038 5.09625C18.8398 5.03208 18.7692 5 18.6923 5H15V3.5H18.6923C19.1974 3.5 19.625 3.675 19.975 4.025C20.325 4.375 20.5 4.80258 20.5 5.30775V9H19Z",fill:"currentColor"})),arrow_drop_down:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M11.9999 14.6537L7.59619 10.25H16.4037L11.9999 14.6537Z",fill:"currentColor"})),admonition:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M12.0001 21.4C11.7654 21.4 11.5385 21.3548 11.3193 21.2645C11.1002 21.174 10.9002 21.0435 10.7193 20.873L3.1271 13.2807C2.9566 13.0999 2.8261 12.8999 2.7356 12.6807C2.64526 12.4616 2.6001 12.2346 2.6001 12C2.6001 11.7653 2.64526 11.5358 2.7356 11.3115C2.8261 11.0871 2.9566 10.8897 3.1271 10.7192L10.7193 3.12698C10.9002 2.94614 11.1002 2.81314 11.3193 2.72798C11.5385 2.64264 11.7654 2.59998 12.0001 2.59998C12.2348 2.59998 12.4643 2.64264 12.6886 2.72798C12.9129 2.81314 13.1103 2.94614 13.2808 3.12698L20.8731 10.7192C21.0539 10.8897 21.1869 11.0871 21.2721 11.3115C21.3574 11.5358 21.4001 11.7653 21.4001 12C21.4001 12.2346 21.3574 12.4616 21.2721 12.6807C21.1869 12.8999 21.0539 13.0999 20.8731 13.2807L13.2808 20.873C13.1103 21.0435 12.9129 21.174 12.6886 21.2645C12.4643 21.3548 12.2348 21.4 12.0001 21.4ZM12.2213 19.8037L19.8039 12.2212C19.8552 12.1699 19.8808 12.0961 19.8808 12C19.8808 11.9038 19.8552 11.8301 19.8039 11.7787L12.2213 4.19623C12.17 4.14489 12.0963 4.11923 12.0001 4.11923C11.9039 4.11923 11.8302 4.14489 11.7788 4.19623L4.19635 11.7787C4.14501 11.8301 4.11935 11.9038 4.11935 12C4.11935 12.0961 4.14501 12.1699 4.19635 12.2212L11.7788 19.8037C11.8302 19.8551 11.9039 19.8807 12.0001 19.8807C12.0963 19.8807 12.17 19.8551 12.2213 19.8037ZM11.2501 13.0865H12.7501V7.47123H11.2501V13.0865ZM12.0001 15.702C12.2258 15.702 12.4168 15.6237 12.5731 15.4672C12.7296 15.3109 12.8078 15.1199 12.8078 14.8942C12.8078 14.6686 12.7296 14.4776 12.5731 14.3212C12.4168 14.1647 12.2258 14.0865 12.0001 14.0865C11.7744 14.0865 11.5834 14.1647 11.4271 14.3212C11.2706 14.4776 11.1923 14.6686 11.1923 14.8942C11.1923 15.1199 11.2706 15.3109 11.4271 15.4672C11.5834 15.6237 11.7744 15.702 12.0001 15.702Z",fill:"currentColor"})),rich_text:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M5.30775 20.5C4.80258 20.5 4.375 20.325 4.025 19.975C3.675 19.625 3.5 19.1974 3.5 18.6923V5.30775C3.5 4.80258 3.675 4.375 4.025 4.025C4.375 3.675 4.80258 3.5 5.30775 3.5H18.6923C19.1974 3.5 19.625 3.675 19.975 4.025C20.325 4.375 20.5 4.80258 20.5 5.30775V18.6923C20.5 19.1974 20.325 19.625 19.975 19.975C19.625 20.325 19.1974 20.5 18.6923 20.5H5.30775ZM5.30775 19H18.6923C18.7692 19 18.8398 18.9679 18.9038 18.9038C18.9679 18.8398 19 18.7692 19 18.6923V5.30775C19 5.23075 18.9679 5.16025 18.9038 5.09625C18.8398 5.03208 18.7692 5 18.6923 5H5.30775C5.23075 5 5.16025 5.03208 5.09625 5.09625C5.03208 5.16025 5 5.23075 5 5.30775V18.6923C5 18.7692 5.03208 18.8398 5.09625 18.9038C5.16025 18.9679 5.23075 19 5.30775 19ZM6.75 17H17.3268L14 12.3655L11.2308 16.0192L9 13.4615L6.75 17Z",fill:"currentColor"}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 12V6.5H9.1925C9.5925 6.5 9.9425 6.65 10.2425 6.95C10.5425 7.25 10.6925 7.6 10.6925 8V8.6925C10.6925 9.03733 10.605 9.32675 10.43 9.56075C10.255 9.79458 10.0168 9.97817 9.7155 10.1115L10.6155 12H9.404L8.504 10.1925H7.1925V12H6ZM9.1925 9H7.1925V7.6925H9.1925C9.26933 7.6925 9.33983 7.7245 9.404 7.7885C9.468 7.85267 9.5 7.92317 9.5 8V8.6925C9.5 8.76933 9.468 8.83983 9.404 8.904C9.33983 8.968 9.26933 9 9.1925 9Z",fill:"currentColor"}),i.createElement("path",{d:"M12.5 7H17.5V8.25H12.5V7Z",fill:"currentColor"}),i.createElement("path",{d:"M12.5 9.25H17.5V10.5H12.5V9.25Z",fill:"currentColor"})),difference:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.30775 20.5C4.80258 20.5 4.375 20.325 4.025 19.975C3.675 19.625 3.5 19.1974 3.5 18.6923V5.30775C3.5 4.80258 3.675 4.375 4.025 4.025C4.375 3.675 4.80258 3.5 5.30775 3.5H18.6923C19.1974 3.5 19.625 3.675 19.975 4.025C20.325 4.375 20.5 4.80258 20.5 5.30775V18.6923C20.5 19.1974 20.325 19.625 19.975 19.975C19.625 20.325 19.1974 20.5 18.6923 20.5H5.30775ZM18.6923 19H5.30775C5.23075 19 5.16025 18.9679 5.09625 18.9038C5.03208 18.8398 5 18.7692 5 18.6923V5.30775C5 5.23075 5.03208 5.16025 5.09625 5.09625C5.16025 5.03208 5.23075 5 5.30775 5H18.6923C18.7692 5 18.8398 5.03208 18.9038 5.09625C18.9679 5.16025 19 5.23075 19 5.30775V18.6923C19 18.7692 18.9679 18.8398 18.9038 18.9038C18.8398 18.9679 18.7692 19 18.6923 19Z",fill:"currentColor"}),i.createElement("rect",{x:"9",y:"10",width:"5.5",height:"1.5",fill:"currentColor"}),i.createElement("rect",{x:"9",y:"15",width:"5.5",height:"1.5",fill:"currentColor"}),i.createElement("rect",{x:"11",y:"8",width:"1.5",height:"5.5",fill:"currentColor"})),markdown:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.30775 20.5C4.80258 20.5 4.375 20.325 4.025 19.975C3.675 19.625 3.5 19.1974 3.5 18.6923V5.30775C3.5 4.80258 3.675 4.375 4.025 4.025C4.375 3.675 4.80258 3.5 5.30775 3.5H18.6923C19.1974 3.5 19.625 3.675 19.975 4.025C20.325 4.375 20.5 4.80258 20.5 5.30775V18.6923C20.5 19.1974 20.325 19.625 19.975 19.975C19.625 20.325 19.1974 20.5 18.6923 20.5H5.30775ZM18.6923 19H5.30775C5.23075 19 5.16025 18.9679 5.09625 18.9038C5.03208 18.8398 5 18.7692 5 18.6923V5.30775C5 5.23075 5.03208 5.16025 5.09625 5.09625C5.16025 5.03208 5.23075 5 5.30775 5H18.6923C18.7692 5 18.8398 5.03208 18.9038 5.09625C18.9679 5.16025 19 5.23075 19 5.30775V18.6923C19 18.7692 18.9679 18.8398 18.9038 18.9038C18.8398 18.9679 18.7692 19 18.6923 19Z",fill:"currentColor"}),i.createElement("path",{d:"M13 15H11.5V11L9.5 14L7.5 11V15H6V8H7.5L9.5 11L11.5 8H13V15Z",fill:"currentColor"}),i.createElement("path",{d:"M15.9921 15.5833L13.2886 12.8797L14.0546 12.1137L15.4504 13.5016V7.99597L16.5336 7.99993V13.5016L17.9296 12.1137L18.6954 12.8797L15.9921 15.5833Z",fill:"currentColor"})),open_in_new:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M5.30775 20.5C4.80258 20.5 4.375 20.325 4.025 19.975C3.675 19.625 3.5 19.1974 3.5 18.6923V5.30775C3.5 4.80258 3.675 4.375 4.025 4.025C4.375 3.675 4.80258 3.5 5.30775 3.5H11.6152V5H5.30775C5.23075 5 5.16025 5.03208 5.09625 5.09625C5.03208 5.16025 5 5.23075 5 5.30775V18.6923C5 18.7692 5.03208 18.8398 5.09625 18.9038C5.16025 18.9679 5.23075 19 5.30775 19H18.6923C18.7692 19 18.8398 18.9679 18.9038 18.9038C18.9679 18.8398 19 18.7692 19 18.6923V12.3848H20.5V18.6923C20.5 19.1974 20.325 19.625 19.975 19.975C19.625 20.325 19.1974 20.5 18.6923 20.5H5.30775ZM9.71925 15.3345L8.6655 14.2808L17.9462 5H14V3.5H20.5V10H19V6.05375L9.71925 15.3345Z",fill:"currentColor"})),link_off:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M18.8843 16.1038L17.7498 14.9385C18.4228 14.7552 18.9661 14.3946 19.3796 13.8568C19.7931 13.319 19.9998 12.7 19.9998 12C19.9998 11.1604 19.705 10.444 19.1153 9.85105C18.5255 9.25805 17.8139 8.96155 16.9806 8.96155H13.1728V7.46155H16.9806C18.2293 7.46155 19.2947 7.90422 20.1768 8.78955C21.0588 9.67472 21.4998 10.7449 21.4998 12C21.4998 12.8859 21.262 13.6951 20.7863 14.4278C20.3107 15.1606 19.6767 15.7193 18.8843 16.1038ZM15.5806 12.75L14.0806 11.25H15.7306V12.75H15.5806ZM20.1461 22.2538L1.74609 3.8538L2.79984 2.80005L21.1998 21.2L20.1461 22.2538ZM10.8268 16.5386H7.03834C5.78318 16.5386 4.71301 16.0959 3.82784 15.2105C2.94251 14.3254 2.49984 13.2552 2.49984 12C2.49984 10.8885 2.85784 9.91322 3.57384 9.07405C4.28984 8.23505 5.18826 7.72838 6.26909 7.55405H6.49984L7.90759 8.96155H7.03834C6.19851 8.96155 5.48218 9.25805 4.88934 9.85105C4.29634 10.444 3.99984 11.1604 3.99984 12C3.99984 12.8397 4.29634 13.556 4.88934 14.149C5.48218 14.742 6.19851 15.0385 7.03834 15.0385H10.8268V16.5386ZM8.26909 12.75V11.25H10.2113L11.6863 12.75H8.26909Z",fill:"currentColor"})),edit:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M5 19H6.2615L16.498 8.7635L15.2365 7.502L5 17.7385V19ZM3.5 20.5V17.1155L16.6905 3.93075C16.8417 3.79342 17.0086 3.68733 17.1913 3.6125C17.3741 3.5375 17.5658 3.5 17.7663 3.5C17.9668 3.5 18.1609 3.53558 18.3488 3.60675C18.5367 3.67792 18.7032 3.79108 18.848 3.94625L20.0693 5.
118275C20.2244 5.32758 20.335 5.49425 20.401 5.68275C20.467 5.87125 20.5 6.05975 20.5 6.24825C20.5 6.44942 20.4657 6.64133 20.397 6.824C20.3283 7.00683 20.2191 7.17383 20.0693 7.325L6.8845 20.5H3.5ZM15.8562 8.14375L15.2365 7.502L16.498 8.7635L15.8562 8.14375Z",fill:"currentColor"})),content_copy:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M9.05775 17.5C8.55258 17.5 8.125 17.325 7.775 16.975C7.425 16.625 7.25 16.1974 7.25 15.6923V4.30775C7.25 3.80258 7.425 3.375 7.775 3.025C8.125 2.675 8.55258 2.5 9.05775 2.5H17.4423C17.9474 2.5 18.375 2.675 18.725 3.025C19.075 3.375 19.25 3.80258 19.25 4.30775V15.6923C19.25 16.1974 19.075 16.625 18.725 16.975C18.375 17.325 17.9474 17.5 17.4423 17.5H9.05775ZM9.05775 16H17.4423C17.5192 16 17.5898 15.9679 17.6538 15.9038C17.7179 15.8398 17.75 15.7692 17.75 15.6923V4.30775C17.75 4.23075 17.7179 4.16025 17.6538 4.09625C17.5898 4.03208 17.5192 4 17.4423 4H9.05775C8.98075 4 8.91025 4.03208 8.84625 4.09625C8.78208 4.16025 8.75 4.23075 8.75 4.30775V15.6923C8.75 15.7692 8.78208 15.8398 8.84625 15.9038C8.91025 15.9679 8.98075 16 9.05775 16ZM5.55775 21C5.05258 21 4.625 20.825 4.275 20.475C3.925 20.125 3.75 19.6974 3.75 19.1923V6.30775H5.25V19.1923C5.25 19.2693 5.28208 19.3398 5.34625 19.4038C5.41025 19.4679 5.48075 19.5 5.55775 19.5H15.4423V21H5.55775Z",fill:"currentColor"})),more_horiz:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M6.23096 13.5C5.81846 13.5 5.46537 13.3531 5.17171 13.0592C4.87787 12.7656 4.73096 12.4125 4.73096 12C4.73096 11.5875 4.87787 11.2344 5.17171 10.9408C5.46537 10.6469 5.81846 10.5 6.23096 10.5C6.64346 10.5 6.99662 10.6469 7.29046 10.9408C7.58412 11.2344 7.73096 11.5875 7.73096 12C7.73096 12.4125 7.58412 12.7656 7.29046 13.0592C6.99662 13.3531 6.64346 13.5 6.23096 13.5ZM12.0002 13.5C11.5877 13.5 11.2346 13.3531 10.941 13.0592C10.6471 12.7656 10.5002 12.4125 10.5002 12C10.5002 11.5875 10.6471 11.2344 10.941 10.9408C11.2346 10.6469 11.5877 10.5 12.0002 10.5C12.4127 10.5 12.7658 10.6469 13.0595 10.9408C13.3533 11.2344 13.5002 11.5875 13.5002 12C13.5002 12.4125 13.3533 12.7656 13.0595 13.0592C12.7658 13.3531 12.4127 13.5 12.0002 13.5ZM17.7695 13.5C17.357 13.5 17.0038 13.3531 16.71 13.0592C16.4163 12.7656 16.2695 12.4125 16.2695 12C16.2695 11.5875 16.4163 11.2344 16.71 10.9408C17.0038 10.6469 17.357 10.5 17.7695 10.5C18.182 10.5 18.535 10.6469 18.8287 10.9408C19.1225 11.2344 19.2695 11.5875 19.2695 12C19.2695 12.4125 19.1225 12.7656 18.8287 13.0592C18.535 13.3531 18.182 13.5 17.7695 13.5Z",fill:"currentColor"})),more_vert:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M12 19.2692C11.5875 19.2692 11.2344 19.1223 10.9408 18.8285C10.6469 18.5348 10.5 18.1817 10.5 17.7692C10.5 17.3567 10.6469 17.0035 10.9408 16.7097C11.2344 16.416 11.5875 16.2692 12 16.2692C12.4125 16.2692 12.7656 16.416 13.0592 16.7097C13.3531 17.0035 13.5 17.3567 13.5 17.7692C13.5 18.1817 13.3531 18.5348 13.0592 18.8285C12.7656 19.1223 12.4125 19.2692 12 19.2692ZM12 13.5C11.5875 13.5 11.2344 13.353 10.9408 13.0592C10.6469 12.7655 10.5 12.4125 10.5 12C10.5 11.5875 10.6469 11.2344 10.9408 10.9407C11.2344 10.6469 11.5875 10.5 12 10.5C12.4125 10.5 12.7656 10.6469 13.0592 10.9407C13.3531 11.2344 13.5 11.5875 13.5 12C13.5 12.4125 13.3531 12.7655 13.0592 13.0592C12.7656 13.353 12.4125 13.5 12 13.5ZM12 7.73071C11.5875 7.73071 11.2344 7.58388 10.9408 7.29021C10.6469 6.99638 10.5 6.64321 10.5 6.23071C10.5 5.81821 10.6469 5.46513 10.9408 5.17146C11.2344 4.87763 11.5875 4.73071 12 4.73071C12.4125 4.73071 12.7656 4.87763 13.0592 5.17146C13.3531 5.46513 13.5 5.81821 13.5 6.23071C13.5 6.64321 13.3531 6.99638 13.0592 7.29021C12.7656 7.58388 12.4125 7.73071 12 7.73071Z",fill:"currentColor"})),close:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M6.39994 18.6538L5.34619 17.6L10.9462 12L5.34619 6.4L6.39994 5.34625L11.9999 10.9463L17.5999 5.34625L18.6537 6.4L13.0537 12L18.6537 17.6L17.5999 18.6538L11.9999 13.0538L6.39994 18.6538Z",fill:"currentColor"})),settings:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M9.69225 21.5L9.3115 18.4538C9.04367 18.3641 8.769 18.2385 8.4875 18.077C8.20617 17.9153 7.95459 17.7422 7.73275 17.5577L4.9115 18.75L2.604 14.75L5.04425 12.9058C5.02125 12.7571 5.00492 12.6077 4.99525 12.4578C4.98559 12.3078 4.98075 12.1583 4.98075 12.0095C4.98075 11.8673 4.98559 11.7228 4.99525 11.576C5.00492 11.4292 5.02125 11.2686 5.04425 11.0943L2.604 9.25L4.9115 5.26925L7.723 6.452C7.96417 6.261 8.22159 6.08633 8.49525 5.928C8.76892 5.76967 9.03784 5.64242 9.302 5.54625L9.69225 2.5H14.3078L14.6885 5.55575C14.9885 5.66475 15.2599 5.792 15.5028 5.9375C15.7458 6.083 15.991 6.2545 16.2385 6.452L19.0885 5.26925L21.396 9.25L18.9173 11.123C18.9531 11.2845 18.9727 11.4355 18.976 11.576C18.9792 11.7163 18.9808 11.8577 18.9808 12C18.9808 12.1358 18.9775 12.274 18.971 12.4145C18.9647 12.5548 18.9417 12.7154 18.902 12.8963L21.3615 14.75L19.0538 18.75L16.2385 17.548C15.99
11 17.7455 15.7384 17.9202 15.4808 18.072C15.2231 18.224 14.959 18.3481 14.6885 18.4443L14.3078 21.5H9.69225ZM11 20H12.9655L13.325 17.3212C13.8353 17.1879 14.3017 16.9985 14.724 16.753C15.1465 16.5073 15.5539 16.1916 15.9463 15.8057L18.4308 16.85L19.4155 15.15L17.2463 13.5155C17.3296 13.2565 17.3863 13.0026 17.4163 12.7537C17.4464 12.5051 17.4615 12.2538 17.4615 12C17.4615 11.7397 17.4464 11.4884 17.4163 11.2463C17.3863 11.0039 17.3296 10.7564 17.2463 10.5038L19.4345 8.85L18.45 7.15L15.9365 8.2095C15.6018 7.85183 15.2009 7.53583 14.7338 7.2615C14.2664 6.98717 13.7937 6.79292 13.3155 6.67875L13 4H11.0155L10.6845 6.66925C10.1743 6.78975 9.70325 6.97433 9.27125 7.223C8.83909 7.47183 8.42684 7.79233 8.0345 8.1845L5.55 7.15L4.5655 8.85L6.725 10.4595C6.64167 10.6968 6.58334 10.9437 6.55 11.2C6.51667 11.4563 6.5 11.7262 6.5 12.0095C6.5 12.2698 6.51667 12.525 6.55 12.775C6.58334 13.025 6.6385 13.2718 6.7155 13.5155L4.5655 15.15L5.55 16.85L8.025 15.8C8.4045 16.1897 8.81025 16.5089 9.24225 16.7578C9.67442 17.0064 10.152 17.1974 10.675 17.3307L11 20ZM12.0115 15C12.8435 15 13.5515 14.708 14.1355 14.124C14.7195 13.54 15.0115 12.832 15.0115 12C15.0115 11.168 14.7195 10.46 14.1355 9.876C13.5515 9.292 12.8435 9 12.0115 9C11.1692 9 10.4586 9.292 9.87975 9.876C9.30092 10.46 9.0115 11.168 9.0115 12C9.0115 12.832 9.30092 13.54 9.87975 14.124C10.4586 14.708 11.1692 15 12.0115 15Z",fill:"currentColor"})),delete_big:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M7.30775 20.5C6.80908 20.5 6.38308 20.3234 6.02975 19.9702C5.67658 19.6169 5.5 19.1909 5.5 18.6922V5.99998H4.5V4.49998H9V3.61548H15V4.49998H19.5V5.99998H18.5V18.6922C18.5 19.1974 18.325 19.625 17.975 19.975C17.625 20.325 17.1974 20.5 16.6923 20.5H7.30775ZM17 5.99998H7V18.6922C7 18.7821 7.02883 18.8558 7.0865 18.9135C7.14417 18.9711 7.21792 19 7.30775 19H16.6923C16.7692 19 16.8398 18.9679 16.9038 18.9037C16.9679 18.8397 17 18.7692 17 18.6922V5.99998ZM9.404 17H10.9037V7.99998H9.404V17ZM13.0962 17H14.596V7.99998H13.0962V17Z",fill:"currentColor"})),delete_small:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M7.30775 20.5C6.80908 20.5 6.38308 20.3234 6.02975 19.9702C5.67658 19.6169 5.5 19.1909 5.5 18.6922V5.99998H4.5V4.49998H9V3.61548H15V4.49998H19.5V5.99998H18.5V18.6922C18.5 19.1974 18.325 19.625 17.975 19.975C17.625 20.325 17.1974 20.5 16.6923 20.5H7.30775ZM17 5.99998H7V18.6922C7 18.7821 7.02883 18.8558 7.0865 18.9135C7.14417 18.9711 7.21792 19 7.30775 19H16.6923C16.7692 19 16.8398 18.9679 16.9038 18.9037C16.9679 18.8397 17 18.7692 17 18.6922V5.99998ZM9.404 17H10.9037V7.99998H9.404V17ZM13.0962 17H14.596V7.99998H13.0962V17Z",fill:"currentColor"})),format_align_center:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M3.5 20.5V19H20.5V20.5H3.5ZM7.5 16.625V15.125H16.5V16.625H7.5ZM3.5 12.75V11.25H20.5V12.75H3.5ZM7.5 8.875V7.375H16.5V8.875H7.5ZM3.5 5V3.5H20.5V5H3.5Z",fill:"currentColor"})),format_align_left:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M3.5 20.5V19H20.5V20.5H3.5ZM3.5 16.625V15.125H14.5V16.625H3.5ZM3.5 12.75V11.25H20.5V12.75H3.5ZM3.5 8.875V7.375H14.5V8.875H3.5ZM3.5 5V3.5H20.5V5H3.5Z",fill:"currentColor"})),format_align_right:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M3.5 5V3.5H20.5V5H3.5ZM9.5 8.875V7.375H20.5V8.875H9.5ZM3.5 12.75V11.25H20.5V12.75H3.5ZM9.5 16.625V15.125H20.5V16.625H9.5ZM3.5 20.5V19H20.5V20.5H3.5Z",fill:"currentColor"})),add_row:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.025 10.2077C4.375 9.85775 4.80258 9.68275 5.30775 9.68275H6.5V11.1827H5.30775C5.21792 11.1827 5.14417 11.2116 5.0865 11.2693C5.02883 11.3269 5 11.4007 5 11.4905V16.1923C5 16.2821 5.02883 16.3558 5.0865 16.4135C5.14417 16.4712 5.21792 16.5 5.30775 16.5H18.6923C18.7821 16.5 18.8558 16.4712 18.9135 16.4135C18.9712 16.3558 19 16.2821 19 16.1923V11.4905C19 11.4007 18.9712 11.3269 18.9135 11.2693C18.8558 11.2116 18.7821 11.1827 18.6923 11.1827H17.6923V9.68275H18.6923C19.1974 9.68275 19.625 9.85775 19.975 10.2077C20.325 10.5577 20.5 10.9853 20.5 11.4905V16.1923C20.5 16.6974 20.325 17.125 19.975 17.475C19.625 17.825 19.1974 18 18.6923 18H5.30775C4.80258 18 4.375 17.825 4.025 17.475C3.675 17.125 3.5 16.6974 3.5 16.1923V11.4905C3.5 10.9853 3.675 10.5577 4.025 10.2077Z",fill:"currentColor"}),i.createElement("path",{d:"M11.3848 9.68275V7.5H12.8848V9.68275H15V11.1827H12.8848V13.2307H11.3848V11.1827H9.26925V9.68275H11.3848Z",fill:"currentColor"})),add_column:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.70775 4.025C9.35775 4.375 9.18275 4.80258 9.18275 5.30775V6.5H10.6827V5.30775C10.6827 5.21792 10.7116 5.14417 10.7693 5.0865C10.8269 5.02883 10.9007 5 10.9905 5H15.6923C15.7821 5 15.8558 5.02883 15.9135 5.0865C15.9712 5.14417 16 5.21792 16 5.30775V18.6923C16 18.7821 15.9712 18.8558 15.9135 18.9135C15.8558 18.9712 15.7821 19 15.6923 19H10.9905C10.9007 19 10.8269 18.9712 10.7693 18.9135C10.7116 18.8558 10.6827 18.7821 10.6827 18.6923V17.6923H9.18275V18.6923C9.18275 19.1974 9.35775 19.625 9.70775 19.975C10.0577 20.325 10.4853 20.5 10.9905 20.5H15.6923C16.1974 20.5 16.625 20.325 16.975 19.975C17.325 19.625 17.5 19.1974 17.5 18.6923V5.30775C17.5 4.80258 17.325 4.375 16.975 4.025C16.625 3.675 16.1974 3.5 15.6923 3.5H10.9905C10.4853 3.5 10.0577 3.675 9.70775 4.025Z",fill:"currentColor"}),i.createElement("path",{d:"M9.18275 11.3848H7V12.8848H9.18275V15H10.6827V12.8848H12.7307V11.3848H10.6827V9.26925H9.18275V11.3848Z",fill:"currentColor"})),insert_col_left:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M13.0001 20.1152H8.67713H8.75388H8.69238H13.0001ZM7.19238 19.8075C7.19238 20.3127 7.36738 20.7402 7.71738 21.0902C8.06738 21.4402 8.49497 21.6152 9.00013 21.6152H12.6924C13.1975 21.6152 13.6251 21.4402 13.9751 21.0902C14.3251 20.7402 14.5001 20.3127 14.5001 19.8075V10.423H13.0001V19.8075C13.0001 19.8973 12.9713 19.9711 12.9136 20.0287C12.856 20.0864 12.7822 20.1152 12.6924 20.1152H9.00013C8.9103 20.1152 8.83655 20.0864 8.77888 20.0287C8.72122 19.9711 8.69238 19.8973 8.69238 19.8075V4.69223C8.26422 4.74357 7.90722 4.93299 7.62138 5.26048C7.33538 5.58798 7.19238 5.97548 7.19238 6.42298V19.8075ZM13.0001 2.49998V4.61523H10.8846V6.11523H13.0001V8.23073H14.5001V6.11523H16.6154V4.61523H14.5001V2.49998H13.0001Z",fill:"currentColor"})),insert_row_above:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M20.1152 9.99987V14.3229V14.2461V14.3076V9.99987ZM19.8075 15.8076C20.3127 15.8076 20.7402 15.6326 21.0902 15.2826C21.4402 14.9326 21.6152 14.505 21.6152 13.9999V10.3076C21.6152 9.80245 21.4402 9.37487 21.0902 9.02487C20.7402 8.67487 20.3127 8.49987 19.8075 8.49987H10.423V9.99987H19.8075C19.8973 9.99987 19.9711 10.0287 20.0287 10.0864C20.0864 10.144 20.1152 10.2178 20.1152 10.3076V13.9999C20.1152 14.0897 20.0864 14.1635 20.0287 14.2211C19.9711 14.2788 19.8973 14.3076 19.8075 14.3076H4.69223C4.74357 14.7358 4.93299 15.0928 5.26048 15.3786C5.58798 15.6646 5.97548 15.8076 6.42298 15.8076H19.8075ZM2.49998 9.99987H4.61523V12.1154H6.11523V9.99987H8.23073V8.49987H6.11523V6.38462H4.61523V8.49987H2.49998V9.99987Z",fill:"currentColor"})),insert_row_below:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M20.1152 14.1924V9.86939V9.94614V9.88464V14.1924ZM19.8075 8.38464C20.3127 8.38464 20.7402 8.55964 21.0902 8.90964C21.4402 9.25964 21.6152 9.68723 21.6152 10.1924V13.8846C21.6152 14.3898 21.4402 14.8174 21.0902 15.1674C20.7402 15.5174 20.3127 15.6924 19.8075 15.6924H10.423V14.1924H19.8075C19.8973 14.1924 19.9711 14.1636 20.0287 14.1059C20.0864 14.0482 20.1152 13.9745 20.1152 13.8846V10.1924C20.1152 10.1026 20.0864 10.0288 20.0287 9.97114C19.9711 9.91348 19.8973 9.88464 19.8075 9.88464H4.69223C4.74357 9.45648 4.93299 9.09948 5.26048 8.81364C5.58798 8.52764 5.97548 8.38464 6.42298 8.38464H19.8075ZM2.49998 14.1924H4.61523V12.0769H6.11523V14.1924H8.23073V15.6924H6.11523V1
17.8076H4.61523V15.6924H2.49998V14.1924Z",fill:"currentColor"})),insert_col_right:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M10.8075 20.1152H15.1305H15.0537H15.1152H10.8075ZM16.6152 19.8075C16.6152 20.3127 16.4402 20.7402 16.0902 21.0902C15.7402 21.4402 15.3127 21.6152 14.8075 21.6152H11.1152C10.6101 21.6152 10.1825 21.4402 9.83248 21.0902C9.48248 20.7402 9.30748 20.3127 9.30748 19.8075V10.423H10.8075V19.8075C10.8075 19.8973 10.8363 19.9711 10.894 20.0287C10.9517 20.0864 11.0254 20.1152 11.1152 20.1152H14.8075C14.8973 20.1152 14.9711 20.0864 15.0287 20.0287C15.0864 19.9711 15.1152 19.8973 15.1152 19.8075V4.69223C15.5434 4.74357 15.9004 4.93299 16.1862 5.26048C16.4722 5.58798 16.6152 5.97548 16.6152 6.42298V19.8075ZM10.8075 2.49998V4.61523H12.923V6.11523H10.8075V8.23073H9.30748V6.11523H7.19223V4.61523H9.30748V2.49998H10.8075Z",fill:"currentColor"})),check:i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M9.54983 17.6537L4.21533 12.3192L5.28433 11.25L9.54983 15.5155L18.7153 6.34998L19.7843 7.41923L9.54983 17.6537Z",fill:"currentColor"}))};var f=n(30284),p=n(17415),g=n(60959),m=n(79964);let O=({children:e})=>{let t=(0,r.X3)(o.u0),n=i.useMemo(()=>[t,(0,s.Mx)(null,f.C)],[t]);return i.createElement(s.Gu.Provider,{value:n},e)},y=()=>{let e=(0,o.Bd)(),t=(0,r.qM)(o.Xz),n=(0,r.qM)(o.N2),[l,s,h,f,g,m,O]=(0,r.uX)(o.X2,o.J2,o.GS,o.Me,o.yY,o.M0,o.sF);return i.createElement(i.Fragment,null,f.map((e,t)=>i.createElement(e,{key:t})),i.createElement(w,{wrappers:g},i.createElement("div",{className:d(p.Ay.rootContentEditableWrapper,"mdxeditor-root-contenteditable")},i.createElement(c.$,{contentEditable:i.createElement("div",{ref:e=>{n(e),t(e?{current:e}:null)}},i.createElement(a.a,{className:d(p.Ay.contentEditable,l),ariaLabel:e("contentArea.editableMarkdown","editable markdown"),spellCheck:s})),placeholder:i.createElement("div",{className:d(p.Ay.contentEditable,p.Ay.placeholder,l)},i.createElement("p",null,m)),ErrorBoundary:u.R}))),h.map((e,t)=>i.createElement(e,{key:t})),O.map((e,t)=>i.createElement(e,{key:t})))},v={listItemIndent:"one"},x=e=>h[e];function b(e,t,n={}){let r=t;for(let[e,t]of Object.entries(n))r=r.replaceAll(`{{${e}}}`,String(t));return r}let w=({wrappers:e,children:t})=>{if(0===e.length)return i.createElement(i.Fragment,null,t);let n=e[0];return i.createElement(n,null,i.createElement(w,{wrappers:e.slice(1)},t))},k=({children:e,className:t,overlayContainer:n})=>{let l=i.useRef(null),s=i.useRef(null),a=(0,r.qM)(o.xZ),u=(0,r.qM)(o.mF);return i.useEffect(()=>{let e=document.createElement("div");return e.classList.add("mdxeditor-popup-container",p.Ay.editorRoot,p.Ay.popupContainer,...(t??"").trim().split(" ").filter(Boolean)),(n??document.body).appendChild(e),l.current=e,a(l),u(s),()=>{e.remove()}},[t,l,n,a,u]),i.createElement("div",{className:d("mdxeditor",p.Ay.editorRoot,p.Ay.editorWrapper,t),ref:s},e)},S=({mdxRef:e})=>{let t=(0,r.LO)();return i.useImperativeHandle(e,()=>({getMarkdown:()=>{let e=t.getValue(o.n$);return"source"===e||"diff"===e?t.getValue(o.Bn):t.getValue(o.oF)},setMarkdown:e=>{t.pub(o.Sv,e)},insertMarkdown:e=>{t.pub(o.HU,e)},focus:(e,n)=>{var r;null==(r=t.getValue(o.u0))||r.focus(e,n)},getContentEditableHTML:()=>{var e;return(null==(e=t.getValue(o.Xz))?void 0:e.current.innerHTML)??""},getSelectionMarkdown:()=>{let e=t.getValue(o.n$);if("source"===e||"diff"===e)return"";let n=t.getValue(o.Cp);return n?(t.getValue(o.IJ),t.getValue(o.dY),t.getValue(o.Jf),t.getValue(o.X_),t.getValue(o.nK),(0,m.kI)(n)):""}}),[t]),null},_=i.forwardRef((e,t)=>i.createElement(l.g,{plugins:[(0,o.LH)({contentEditableClassName:e.contentEditableClassName??"",spellCheck:e.spellCheck??!0,initialMarkdown:e.markdown,onChange:e.onChange??g.lQ,onBlur:e.onBlur??g.lQ,toMarkdownOptions:e.toMarkdownOptions??v,autoFocus:e.autoFocus??!1,placeholder:e.placeholder??"",readOnly:!!e.readOnly,iconComponentFor:e.iconComponentFor??x,suppressHtmlProcessing:e.suppressHtmlProcessing??!1,onError:e.onError??g.lQ,translation:e.translation??b,trim:e.trim??!0,lexicalTheme:e.lexicalTheme,..."editorState"in e?{editorState:e.editorState}:{},suppressSharedHistory:e.suppressSharedHistory??!1,additionalLexicalNodes:e.additionalLexicalNodes??[],lexicalEditorNamespace:e.lexicalEditorNamespace??"MDXEditor"}),...e.plugins??[]]},i.createElement(k,{className:e.className,overlayContainer:e.overlayContainer},i.createElement(O,null,i.createElement(y,null))),i.createElement(S,{mdxRef:t})))},18579:()=>{Prism.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01
1])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},Prism.languages.python["string-interpolation"].inside.interpolation.inside.rest=Prism.languages.python,Prism.languages.py=Prism.languages.python},18602:(e,t,n)=>{"use strict";n.r(t),n.d(t,{css:()=>M,cssCompletionSource:()=>N,cssLanguage:()=>L,defineCSSCompletionSource:()=>R});var r=n(70963),i=n(87797);let o=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288];function l(e){return e>=65&&e<=90||e>=97&&e<=122||e>=161}function s(e){return e>=48&&e<=57}function a(e){return s(e)||e>=97&&e<=102||e>=65&&e<=70}let u=(e,t,n)=>(r,i)=>{for(let o=!1,u=0,c=0;;c++){let{next:d}=r;if(l(d)||45==d||95==d||o&&s(d))!o&&(45!=d||c>0)&&(o=!0),u===c&&45==d&&u++,r.advance();else if(92==d&&10!=r.peek(1)){if(r.advance(),a(r.next)){do r.advance();while(a(r.next));32==r.next&&r.advance()}else r.next>-1&&r.advance();o=!0}else{o&&r.acceptToken(2==u&&i.canShift(2)?t:40==d?n:e);break}}},c=new r.Lu(u(136,2,137),{contextual:!0}),d=new r.Lu(u(138,3,4),{contextual:!0}),h=new r.Lu(e=>{if(o.includes(e.peek(-1))){let{next:t}=e;(l(t)||95==t||35==t||46==t||42==t||91==t||58==t&&l(e.peek(1))||45==t||38==t)&&e.acceptToken(135)}}),f=new r.Lu(e=>{if(!o.includes(e.peek(-1))){let{next:t}=e;if(37==t&&(e.advance(),e.acceptToken(1)),l(t)){do e.advance();while(l(e.next)||s(e.next));e.acceptToken(1)}}}),p=(0,i.pn)({"AtKeyword import charset namespace keyframes media supports font-feature-values":i._A.definitionKeyword,"from to selector scope MatchFlag":i._A.keyword,NamespaceName:i._A.namespace,KeyframeName:i._A.labelName,KeyframeRangeName:i._A.operatorKeyword,TagName:i._A.tagName,ClassName:i._A.className,PseudoClassName:i._A.constant(i._A.className),IdName:i._A.labelName,"FeatureName PropertyName":i._A.propertyName,AttributeName:i._A.attributeName,NumberLiteral:i._A.number,KeywordQuery:i._A.keyword,UnaryQueryOp:i._A.operatorKeyword,"CallTag ValueName FontName":i._A.atom,VariableName:i._A.variableName,Callee:i._A.operatorKeyword,Unit:i._A.unit,"UniversalSelector NestingSelector":i._A.definitionOperator,"MatchOp CompareOp":i._A.compareOperator,"ChildOp SiblingOp, LogicOp":i._A.logicOperator,BinOp:i._A.arithmeticOperator,Important:i._A.modifier,Comment:i._A.blockComment,ColorLiteral:i._A.color,"ParenthesizedContent StringLiteral":i._A.string,":":i._A.punctuation,"PseudoOp #":i._A.derefOperator,"; , |":i._A.separator,"( )":i._A.paren,"[ ]":i._A.squareBracket,"{ }":i._A.brace}),g={__proto__:null,lang:44,"nth-child":44,"nth-last-child":44,"nth-of-type":44,"nth-last-of-type":44,dir:44,"host-context":44,if:90,url:132,"url-prefix":132,domain:132,regexp:132},m={__proto__:null,or:104,and:104,not:112,only:112,layer:186},O={__proto__:null,selector:118,layer:182},y={__proto__:null,"@import":178,"@media":190,"@charset":194,"@namespace":198,"@keyframes":204,"@supports":216,"@scope":220,"@font-feature-values":226},v={__proto__:null,to:223},x=r.U1.deserialize({version:14,states:"IpQYQdOOO#}QdOOP$UO`OOO%OQaO'#CfOOQP'#Ce'#CeO%VQdO'#CgO%[Q`O'#CgO%aQaO'#FdO&XQdO'#CkO&xQaO'#CcO'SQdO'#CnO'_QdO'#DtO'dQdO'#DvO'oQdO'#D}O'oQdO'#EQOOQP'#Fd'#FdO)OQhO'#EsOOQS'#Fc'#FcOOQS'#Ev'#EvQYQdOOO)VQdO'#EWO*cQhO'#E^O)VQdO'#E`O*jQdO'#EbO*uQdO'#EeO)zQhO'#EkO*}QdO'#EmO+YQdO'#EpO+_QaO'#CfO+fQ`O'#ETO+kQ`O'#FnO+vQdO'#FnQOQ`OOP,QO&jO'#CaPOOO)CAR)CAROOQP'#Ci'#CiOOQP,59R,59RO%VQdO,59ROOQP'#Cm'#CmOOQP,59V,59VO&XQdO,59VO,]QdO,59YO'_QdO,5:`O'dQdO,5:bO'oQdO,5:iO'oQdO,5:kO'oQdO,5:lO'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'sQ&f%_Q'U&aQ'^&kR's'kQ$Y!mQ$[!nQ$^!oV%j$Y$[$^Q%t$gR&t%tQ&j%gS']&j'lR'l'^Q&b%ZR'V&bQ&^%WR'T&^Q!QXR#l!QQ&W$yR'O&WQ#[nS%O#[%PR%P#]Q'`&nR'n'`Q$k!xR%x$kQ&P$pR&z&PQ&x&OR'g&xQ#WkR$w#WQ$O!dR%d$O_bOPco!R#Z$}^XOPco!R#Z$}Q!`]Q!a^Q#h|Q#i}Q#j!OQ#k!PQ$s#RQ%W#oR'S&]R%[#pQ!qdQ!zf[$V!m!n!o$Y$[$^Q$y#Yd%Y#p%Z%_&a&f&k'U'^'k'sQ%^#uQ%n$aS&U$y&WQ&[%UQ&}&VR'b&p]$X!m!n!o$Y$[$^Q!d`U!xe!q$eQ#QiQ#x!cS#{!d$OQ$Q!eQ%b#|Q%c#}Q%g$RS%r$g%tQ%w$jR'Z&iQ#z!cQ&h%`R'j'YR%i$RR%X#oQpPR#n!RQ!yeQ$d!qR%q$e",nodeNames:"⚠ Unit VariableName VariableName QueryCallee Comment StyleSheet RuleSet UniversalSelector TagSelector TagName NamespacedTagSelector NamespaceName TagName NestingSelector ClassSelector . ClassName PseudoClassSelector : :: PseudoClassName PseudoClassName ) ( ArgList ValueName ParenthesizedValue AtKeyword # ; ] [ BracketedValue } { BracedValue ColorLiteral NumberLiteral StringLiteral BinaryExpression BinOp CallExpression Callee IfExpression if ArgList IfBranch KeywordQuery FeatureQuery FeatureName BinaryQuery LogicOp ComparisonQuery CompareOp UnaryQuery UnaryQueryOp ParenthesizedQuery SelectorQuery selector ParenthesizedSelector CallQuery ArgList , PseudoQuery CallLiteral CallTag ParenthesizedContent PseudoClassName ArgList IdSelector IdName AttributeSelector AttributeName NamespacedAttribute NamespaceName AttributeName MatchOp MatchFlag ChildSelector ChildOp DescendantSelector SiblingSelector SiblingOp Block Declaration PropertyName Important ImportStatement import Layer layer LayerName layer MediaStatement media CharsetStatement charset NamespaceStatement namespace NamespaceName KeyframesStatement keyframes KeyframeName KeyframeList KeyframeSelector KeyframeRangeName SupportsStatement supports ScopeStatement scope to FontFeatureStatement font-feature-values FontName AtRule Styles",maxTerm:159,nodeProps:[["isolate",-2,5,39,""],["openedBy",23,"(",31,"[",34,"{"],["closedBy",24,")",32,"]",35,"}"]],propSources:[p],skippedNodes:[0,5,117],repeatNodeCount:17,tokenData:"K`~R!bOX%ZX^&R^p%Zpq&Rqr)ers)vst+jtu2Xuv%Zvw3Rwx3dxy5Ryz5dz{5i{|6S|}:u}!O;W!O!P;u!P!Q<^!Q![=V![!]>Q!]!^>|!^!_?_!_!`@Z!`!a@n!a!b%Z!b!cAo!c!k%Z!k!lC|!l!u%Z!u!vC|!v!}%Z!}#OD_#O#P%Z#P#QDp#Q#R2X#R#]%Z#]#^ER#^#g%Z#g#hC|#h#o%Z#o#pIf#p#qIw#q#rJ`#r#sJq#s#y%Z#y#z&R#z$f%Z$f$g&R$g#BY%Z#BY#BZ&R#BZ$IS%Z$IS$I_&R$I_$I|%Z$I|$JO&R$JO$JT%Z$JT$JU&R$JU$KV%Z$KV$KW&R$KW&FU%Z&FU&FV&R&FV;'S%Z;'S;=`KY<%lO%Z`%^SOy%jz;'S%j;'S;=`%{<%lO%j`%oS!e`Oy%jz;'S%j;'S;=`%{<%lO%j`&OP;=`<%l%j~&Wh$Q~OX%jX^'r^p%jpq'rqy%jz#y%j#y#z'r#z$f%j$f$g'r$g#BY%j#BY#BZ'r#BZ$IS%j$IS$I_'r$I_$I|%j$I|$JO'r$JO$JT%j$JT$JU'r$JU$KV%j$KV$KW'r$KW&FU%j&FU&FV'r&FV;'S%j;'S;=`%{<%lO%j~'yh$Q~!e`OX%jX^'r^p%jpq'rqy%jz#y%j#y#z'r#z$f%j$f$g'r$g#BY%j#BY#BZ'r#BZ$IS%j$IS$I_'r$I_$I|%j$I|$JO'r$JO$JT%j$JT$JU'r$JU$KV%j$KV$KW'r$KW&FU%j&FU&FV'r&FV;'S%j;'S;=`%{<%lO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,get:e=>m[e]||-1},{term:4,get:e=>O[e]||-1},{term:28,get:e=>y[e]||-1},{term:136,get:e=>v[e]||-1}],tokenPrec:2256});var b=n(62221),w=n(60611);let k=null;function S(){if(!k&&"object"==typeof document&&document.body){let{style:e}=document.body,t=[],n=new Set;for(let r in e)"cssText"!=r&&"cssFloat"!=r&&"string"==typeof e[r]&&(/[A-Z]/.test(r)&&(r=r.replace(/[A-Z]/g,e=>"-"+e.toLowerCase())),n.has(r)||(t.push(r),n.add(r)));k=t.sort().map(e=>({type:"property",label:e,apply:e+": "}))}return k||[]}let _=["active","after","any-link","autofill","backdrop","before","checked","cue","default","defined","disabled","empty","enabled","file-selector-button","first","first-child","first-letter","first-line","first-of-type","focus","focus-visible","focus-within","fullscreen","has","host","host-context","hover","in-range","indeterminate","invalid","is","lang","last-child","last-of-type","left","link","marker","modal","not","nth-child","nth-last-child","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","part","placeholder","placeholder-shown","read-only","read-write","required","right","root","scope","selection","slotted","target","target-text","valid","visited","where"].map(e=>({type:"class",label:e})),C=["above","absolute","activeborder","additive","activecaption","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","antialiased","appworkspace","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic-abegede-gez","ethiopic-halehame-aa-er","ethiopic-halehame-gez","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","graytext","grid","groove","hand","hard-light","help","hidden","hide","higher","highlight","highlighttext","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","
1initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","justify","keep-all","landscape","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-hexadecimal","lower-latin","lower-norwegian","lowercase","ltr","luminosity","manipulation","match","matrix","matrix3d","medium","menu","menutext","message-box","middle","min-intrinsic","mix","monospace","move","multiple","multiple_mask_images","multiply","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","opacity","open-quote","optimizeLegibility","optimizeSpeed","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","text","text-bottom","text-top","textarea","textfield","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","to","top","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-latin","uppercase","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"].map(e=>({type:"keyword",label:e})).concat(["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"].map(e=>({type:"constant",label:e}))),P=["a","abbr","address","article","aside","b","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","dd","del","details","dfn","dialog","div","dl","dt","em","figcaption","figure","footer","form","header","hgroup","h1","h2","h3","h4","h5","h6","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","meter","nav","ol","output","p","pre","ruby","section","select","small","source","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","tr","u","ul"].map(e=>({type:"type",label:e})),T=["@charset","@color-profile","@container","@counter-style","@font-face","@font-feature-values","@font-palette-values","@import","@keyframes","@layer","@media","@namespace","@page","@position-try","@property","@scope","@starting-style","@supp
1orts","@view-transition"].map(e=>({type:"keyword",label:e})),Q=/^(\w[\w-]*|-\w[\w-]*|)$/,$=/^-(-[\w-]*)?$/,A=new w.RY,E=["Declaration"],R=e=>t=>{let{state:n,pos:r}=t,i=(0,b.mv)(n).resolveInner(r,-1),o=i.type.isError&&i.from==i.to-1&&"-"==n.doc.sliceString(i.from,i.to);if("PropertyName"==i.name||(o||"TagName"==i.name)&&/^(Block|Styles)$/.test(i.resolve(i.to).name))return{from:i.from,options:S(),validFor:Q};if("ValueName"==i.name)return{from:i.from,options:C,validFor:Q};if("PseudoClassName"==i.name)return{from:i.from,options:_,validFor:Q};if(e(i)||(t.explicit||o)&&function(e,t){var n;if(("("==e.name||e.type.isError)&&(e=e.parent||e),"ArgList"!=e.name)return!1;let r=null==(n=e.parent)?void 0:n.firstChild;return(null==r?void 0:r.name)=="Callee"&&"var"==t.sliceString(r.from,r.to)}(i,n.doc))return{from:e(i)||o?i.from:r,options:function e(t,n,r){if(n.to-n.from>4096){let i=A.get(n);if(i)return i;let o=[],l=new Set,s=n.cursor(w.Qj.IncludeAnonymous);if(s.firstChild())do for(let n of e(t,s.node,r))l.has(n.label)||(l.add(n.label),o.push(n));while(s.nextSibling());return A.set(n,o),o}{let e=[],i=new Set;return n.cursor().iterate(n=>{var o;if(r(n)&&n.matchContext(E)&&(null==(o=n.node.nextSibling)?void 0:o.name)==":"){let r=t.sliceString(n.from,n.to);i.has(r)||(i.add(r),e.push({label:r,type:"variable"}))}}),e}}(n.doc,function(e){for(let t=e;;){if(t.type.isTop)return t;if(!(t=t.parent))return e}}(i),e),validFor:$};if("TagName"==i.name){for(let{parent:e}=i;e;e=e.parent)if("Block"==e.name)return{from:i.from,options:S(),validFor:Q};return{from:i.from,options:P,validFor:Q}}if("AtKeyword"==i.name)return{from:i.from,options:T,validFor:Q};if(!t.explicit)return null;let l=i.resolve(r),s=l.childBefore(r);return s&&":"==s.name&&"PseudoClassSelector"==l.name?{from:r,options:_,validFor:Q}:s&&":"==s.name&&"Declaration"==l.name||"ArgList"==l.name?{from:r,options:C,validFor:Q}:"Block"==l.name||"Styles"==l.name?{from:r,options:S(),validFor:Q}:null},N=R(e=>"VariableName"==e.name),L=b.bj.define({name:"css",parser:x.configure({props:[b.Oh.add({Declaration:(0,b.mz)()}),b.b_.add({"Block KeyframeList":b.yd})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}});function M(){return new b.Yy(L,L.data.of({autocomplete:N}))}},19005:()=>{!function(e){var t=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record(?!\s*[(){}[\]<>=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,n=/(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,r={pattern:RegExp(/(^|[^\w.])/.source+n+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};e.languages.java=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[r,{pattern:RegExp(/(^|[^\w.])/.source+n+/[A-Z]\w*(?=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/.source),lookbehind:!0,inside:r.inside},{pattern:RegExp(/(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/.source+n+/[A-Z]\w*\b/.source),lookbehind:!0,inside:r.inside}],keyword:t,function:[e.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0},constant:/\b[A-Z][A-Z_\d]+\b/}),e.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),e.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":r,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}},import:[{pattern:RegExp(/(\bimport\s+)/.source+n+/(?:[A-Z]\w*|\*)(?=\s*;)/.source),lookbehind:!0,inside:{namespace:r.inside.namespace,punctuation:/\./,operator:/\*/,"class-name":/\w+/}},{pattern:RegExp(/(\bimport\s+static\s+)/.source+n+/(?:\w+|\*)(?=\s*;)/.source),lookbehind:!0,alias:"static",inside:{namespace:r.inside.namespace,static:/\b\w+$/,punctuation:/\./,operator:/\*/,"class-name":/\w+/}}],namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!<keyword>)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(/<keyword>/g,function(){return t.source})),lookbehind:!0,inside:{punctuation:/\./}}})}(Prism)},19645:(e,t,n)=>{var r=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,r={},i={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof o?new o(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,o;switch(n=n||{},i.util.type(t)){case"Object":if(n[o=i.util.objId(t)])return n[o];for(var l in r={},n[o]=r,t)t.hasOwnProperty(l)&&(r[l]=e(t[l],n));return r;case"Array":if(n[o=i.util.objId(t)])return n[o];return r=[],n[o]=r,t.forEach(function(t,i){r[i]=e(t,n)}),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(document.currentScript&&"SCRIPT"===document.currentScript.tagName&&1)return document.currentScript;try{throw 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 i=e.classList;if(i.contains(t))return!0;
1if(i.contains(r))return!1;e=e.parentElement}return!!n}},languages:{plain:r,plaintext:r,text:r,txt:r,extend:function(e,t){var n=i.util.clone(i.languages[e]);for(var r in t)n[r]=t[r];return n},insertBefore:function(e,t,n,r){var o=(r=r||i.languages)[e],l={};for(var s in o)if(o.hasOwnProperty(s)){if(s==t)for(var a in n)n.hasOwnProperty(a)&&(l[a]=n[a]);n.hasOwnProperty(s)||(l[s]=o[s])}var u=r[e];return r[e]=l,i.languages.DFS(i.languages,function(t,n){n===u&&t!=e&&(this[t]=l)}),l},DFS:function e(t,n,r,o){o=o||{};var l=i.util.objId;for(var s in t)if(t.hasOwnProperty(s)){n.call(t,s,t[s],r||s);var a=t[s],u=i.util.type(a);"Object"!==u||o[l(a)]?"Array"!==u||o[l(a)]||(o[l(a)]=!0,e(a,n,s,o)):(o[l(a)]=!0,e(a,n,null,o))}}},plugins:{},highlightAll:function(e,t){i.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'};i.hooks.run("before-highlightall",r),r.elements=Array.prototype.slice.apply(r.container.querySelectorAll(r.selector)),i.hooks.run("before-all-elements-highlight",r);for(var o,l=0;o=r.elements[l++];)i.highlightElement(o,!0===t,r.callback)},highlightElement:function(t,n,r){var o=i.util.getLanguage(t),l=i.languages[o];i.util.setLanguage(t,o);var s=t.parentElement;s&&"pre"===s.nodeName.toLowerCase()&&i.util.setLanguage(s,o);var a=t.textContent,u={element:t,language:o,grammar:l,code:a};function c(e){u.highlightedCode=e,i.hooks.run("before-insert",u),u.element.innerHTML=u.highlightedCode,i.hooks.run("after-highlight",u),i.hooks.run("complete",u),r&&r.call(u.element)}if(i.hooks.run("before-sanity-check",u),(s=u.element.parentElement)&&"pre"===s.nodeName.toLowerCase()&&!s.hasAttribute("tabindex")&&s.setAttribute("tabindex","0"),!u.code){i.hooks.run("complete",u),r&&r.call(u.element);return}if(i.hooks.run("before-highlight",u),!u.grammar)return void c(i.util.encode(u.code));if(n&&e.Worker){var d=new Worker(i.filename);d.onmessage=function(e){c(e.data)},d.postMessage(JSON.stringify({language:u.language,code:u.code,immediateClose:!0}))}else c(i.highlight(u.code,u.grammar,u.language))},highlight:function(e,t,n){var r={code:e,grammar:t,language:n};if(i.hooks.run("before-tokenize",r),!r.grammar)throw Error('The language "'+r.language+'" has no grammar.');return r.tokens=i.tokenize(r.code,r.grammar),i.hooks.run("after-tokenize",r),o.stringify(i.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 u=new s;return a(u,u.head,e),function e(t,n,r,s,u,c){for(var d in r)if(r.hasOwnProperty(d)&&r[d]){var h=r[d];h=Array.isArray(h)?h:[h];for(var f=0;f<h.length;++f){if(c&&c.cause==d+","+f)return;var p=h[f],g=p.inside,m=!!p.lookbehind,O=!!p.greedy,y=p.alias;if(O&&!p.pattern.global){var v=p.pattern.toString().match(/[imsuy]*$/)[0];p.pattern=RegExp(p.pattern.source,v+"g")}for(var x=p.pattern||p,b=s.next,w=u;b!==n.tail&&(!c||!(w>=c.reach));w+=b.value.length,b=b.next){var k,S=b.value;if(n.length>t.length)return;if(!(S instanceof o)){var _=1;if(O){if(!(k=l(x,w,t,m))||k.index>=t.length)break;var C=k.index,P=k.index+k[0].length,T=w;for(T+=b.value.length;C>=T;)T+=(b=b.next).value.length;if(T-=b.value.length,w=T,b.value instanceof o)continue;for(var Q=b;Q!==n.tail&&(T<P||"string"==typeof Q.value);Q=Q.next)_++,T+=Q.value.length;_--,S=t.slice(w,T),k.index-=w}else if(!(k=l(x,0,S,m)))continue;var C=k.index,$=k[0],A=S.slice(0,C),E=S.slice(C+$.length),R=w+S.length;c&&R>c.reach&&(c.reach=R);var N=b.prev;if(A&&(N=a(n,N,A),w+=A.length),function(e,t,n){for(var r=t.next,i=0;i<n&&r!==e.tail;i++)r=r.next;t.next=r,r.prev=t,e.length-=i}(n,N,_),b=a(n,N,new o(d,g?i.tokenize($,g):$,y,$)),E&&a(n,b,E),_>1){var L={cause:d+","+f,reach:R};e(t,n,r,b.prev,w,L),c&&L.reach>c.reach&&(c.reach=L.reach)}}}}}}(e,u,t,u.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(u)},hooks:{all:{},add:function(e,t){var n=i.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=i.hooks.all[e];if(n&&n.length)for(var r,o=0;r=n[o++];)r(t)}},Token:o};function o(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function l(e,t,n,r){e.lastIndex=t;var i=e.exec(n);if(i&&r&&i[1]){var o=i[1].length;i.index+=o,i[0]=i[0].slice(o)}return i}function s(){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 a(e,t,n){var r=t.next,i={value:n,prev:t,next:r};return t.next=i,r.prev=i,e.length++,i}if(e.Prism=i,o.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 o={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},l=t.alias;l&&(Array.isArray(l)?Array.prototype.push.apply(o.classes,l):o.classes.push(l)),i.hooks.run("wrap",o);var s="";for(var a in o.attributes)s+=" "+a+'="'+(o.attributes[a]||"").replace(/"/g,"&quot;")+'"';return"<"+o.tag+' class="'+o.classes.join(" ")+'"'+s+">"+o.content+"</"+o.tag+">"},!e.document)return e.addEventListener&&(i.disableWorkerMessageHandler||e.addEventListener("message",function(t){var n=JSON.parse(t.data),r=n.language,o=n.code,l=n.immediateClose;e.postMessage(i.highlight(o,i.languages[r],r)),l&&e.close()},!1)),i;var u=i.util.currentScript();function c(){i.manual||i.highlightAll()}if(u&&(i.filename=u.src,u.hasAttribute("data-manual")&&(i.manual=!0)),!i.manual){var d=document.readyState;"loading"===d||"interactive"===d&&u&&u.defer?document.addEventListener("DOMContentLoaded",c):window.requestAnimationFrame?window.requestAnimationFrame(c):window.setTimeout(c,16)}return i}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=r),void 0!==n.g&&(n.g.Prism=r),r.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>
1\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},r.languages.markup.tag.inside["attr-value"].inside.entity=r.languages.markup.entity,r.languages.markup.doctype.inside["internal-subset"].inside=r.languages.markup,r.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&amp;/,"&"))}),Object.defineProperty(r.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:r.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var i={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};i["language-"+t]={pattern:/[\s\S]+/,inside:r.languages[t]};var o={};o[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:i},r.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(r.languages.markup.tag,"addAttribute",{value:function(e,t){r.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\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:[t,"language-"+t],inside:r.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),r.languages.html=r.languages.markup,r.languages.mathml=r.languages.markup,r.languages.svg=r.languages.markup,r.languages.xml=r.languages.extend("markup",{}),r.languages.ssml=r.languages.xml,r.languages.atom=r.languages.xml,r.languages.rss=r.languages.xml,function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),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"))}(r),r.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:/[{}[\];(),.:]/},r.languages.javascript=r.languages.extend("clike",{"class-name":[r.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}|\?\?=?|\?\.?|[~:]/}),r.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,r.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:r.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:r.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:r.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:r.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:r.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),r.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:r.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"}}),r.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),r.languages.markup&&(r.languages.markup.tag.addInlined("script","javascript"),r.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")),r.languages.js=r.languages.javascript,function(){if(void 0!==r&&"undefined"!=typeof document){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var e={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},t="data-src-status",n="loading",i="loaded",o="pre[data-src]:not(["+t+'="'+i+'"]):not(['+t+'="'+n+'"])';r.hooks.add("before-highlightall",function(e){e.selector+=", "+o}),r.hooks.add("before-sanity-check",function(l){var s=l.element;if(s.matches(o)){l.code="",s.setAttribute(t,n);var a,u,c,d,h=s.appendChild(document.createElement("CODE"));h.textContent="Loading…";var f=s.getAttribute("data-src"),p=l.language;if("none"===p){var g=(/\.(\w+)$/.exec(f)||[,"none"])[1];p=e[g]||g}r.util.setLanguage(h,p),r.util.setLanguage(s,p);var m=r.plugins.autoloader;m&&m.loadLanguages(p),a=f,u=function(e){s.setAttribute(t,i);var n=function(e){var t=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(e||"");if(t){var n=Number(t[1]),r=t[2],i=t[3];return r?i?[n,Number(i)]:[n,void 0]:[n,n]}}(s.getAttribute("data-range"));if(n){var o=e.split(/\r\n?|\n/g),l=n[0],a=null==n[1]?o.length:n[1];l<0&&(l+=o.length),l=Math.max(0,Math.min(l-1,o.length)),a<0&&(a+=o.length),a=Math.max(0,Math.min(a,o.length)),e=o.slice(l,a).join("\n"),s.hasAttribute("data-start")||s.setAttribute("data-start",String(l+1))}h.textContent=e,r.highlightElement(h)},c=function(e){s.setAttribute(t,"failed"),h.textContent=e},(d=new XMLHttpRequest).open("GET",a,!0),d.onreadystatechange=function(){var e;4==d.readyState&&(d.status<400&&d.responseText?u(d.responseText):d.status>=400?c((e=d.status,"✖ Error "+e+" while fetching file: "+d.statusText)):c("✖ Error: File does not exist or is empty"))},d.send(null)}}),r.plugins.fileHighlight={highlight:function(e){for(var t,n=(e||document).querySelectorAll(
1o),i=0;t=n[i++];)r.highlightElement(t)}};var l=!1;r.fileHighlight=function(){l||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),l=!0),r.plugins.fileHighlight.highlight.apply(this,arguments)}}}()},19716:(e,t,n)=>{"use strict";n.d(t,{Nq:()=>w,SH:()=>b,Zq:()=>k});var r=n(60665),i=n(61660);let o={testNode:"list",visitNode:function({mdastNode:e,lexicalParent:t,actions:n}){let r=e.children.some(e=>"boolean"==typeof e.checked)?"check":e.ordered?"number":"bullet",o=(0,i.DE)(r);if((0,i.Mz)(t)){let e=(0,i.i)();e.append(o),t.insertAfter(e)}else t.append(o);n.visitChildren(e,o)}},l={testNode:"listItem",visitNode({mdastNode:e,actions:t,lexicalParent:n}){let r="check"===n.getListType()?e.checked??!1:void 0;t.addAndStepInto((0,i.i)(r))}},s={testLexicalNode:i.HY,visitLexicalNode:({lexicalNode:e,actions:t})=>{t.addAndStepInto("list",{ordered:"number"===e.getListType(),spread:!1})}};var a=n(84544);let u={testLexicalNode:i.Mz,visitLexicalNode:({lexicalNode:e,mdastParent:t,actions:n})=>{let r=e.getChildren(),o=r[0];if(1===r.length&&(0,i.HY)(o)){let r=t.children.at(-1);r?n.visitChildren(e,r):n.visitChildren(o,t)}else{let r=e.getParent(),i=n.appendToParent(t,{type:"listItem",checked:"check"===r.getListType()?!!e.getChecked():void 0,spread:!1,children:[]}),o=null;for(let t of e.getChildren())(0,a.kFe)(t)||(0,a.wH$)(t)||t.isInline()&&((0,a.ff4)(t)||(0,a.Cyw)(t))?(o??(o=n.appendToParent(i,{type:"paragraph",children:[]})),n.visit(t,o)):(o=null,n.visit(t,i))}}};var c=n(14725),d=n(6105),h=n(6325);function f({maxIndent:e}){let[t]=(0,c.DF)();return(0,h.useEffect)(()=>(0,d.Sd)(t.registerCommand(a.OXk,e=>{let n=(0,a.vJq)();if(!(0,a.I2P)(n))return!1;e.preventDefault();let r=!function(e){let t=e.getNodes();if((0,d.zD)(t,e=>(0,a.y68)(e)&&e.canIndent()?e:null).length>0)return!0;let n=e.anchor,r=e.focus,i=r.isBefore(n)?r:n,o=i.getNode(),l=(0,d.mB)(o);if(l.canIndent()){let e=l.getKey(),t=(0,a.uTE)();if(t.anchor.set(e,0,"element"),t.focus.set(e,0,"element"),(t=(0,a.CaD)(t)).anchor.is(i))return!0}return!1}(n)?a.YW5:e.shiftKey?a.sik:a.PiT;return t.dispatchCommand(r,void 0)},a.jZM),t.registerCommand(a.PiT,()=>{if(null==e)return!1;let t=(0,a.vJq)();return!!(0,a.I2P)(t)&&Math.max(...t.getNodes().map(e=>(0,d.mB)(e).getIndent()))+1>=e},a.da8)),[t,e]),null}function p(){let[e]=(0,c.DF)();return(0,h.useEffect)(()=>(0,i.GO)(e),[e]),null}function g({hasStrictIndent:e=!1}){let[t]=(0,c.DF)();return(0,h.useEffect)(()=>{if(!t.hasNodes([i.v5,i.YW]))throw Error("ListPlugin: ListNode and/or ListItemNode not registered on editor")},[t]),(0,h.useEffect)(()=>{if(e)return(0,i.Js)(t)},[t,e]),(0,h.useEffect)(()=>(0,i.cz)(t),[t]),null}var m=n(8142),O=n(83292),y=n(44443),v=n(7814);let x=new Map([["number",i.x],["bullet",i.q7],["check",i.mJ],["",i.uS]]),b=(0,y.fh)("",e=>{e.sub(e.pipe(r.cj,(0,y.EY)(r.Cp)),([t,n])=>{if(!t||!n)return;let r=t.anchor.getNode(),o="root"===r.getKey()?r:(0,d.Bt)(r,e=>{let t=e.getParent();return null!==t&&(0,a.IqF)(t)});o??(o=r.getTopLevelElementOrThrow());let l=o.getKey();if(null!==n.getElementByKey(l))if((0,i.HY)(o)){let t=(0,d.eu)(r,i.v5),n=t?t.getListType():o.getListType();e.pub(b,n)}else e.pub(b,"")})}),w=(0,y.HN)(e=>{e.sub(e.pipe(w,(0,y.EY)(r.Cp)),([e,t])=>
1{null==t||t.dispatchCommand(x.get(e),void 0)})}),k=(0,v.Z)({init(e){var t;null==(t=e.getValue(r.u0))||t.registerCommand(a.PiT,()=>!function(e){let t=(0,a.vJq)();if(!(0,a.I2P)(t))return!1;let n=function(e){let t=e.getNodes();return new Set(0===t.length?[e.anchor.getNode().getParentOrThrow(),e.focus.getNode().getParentOrThrow()]:t.map(e=>(0,a.ff4)(e)?e:e.getParentOrThrow()))}(t),r=0;for(let e of n)if((0,i.HY)(e))r=Math.max((0,i.g2)(e)+1,r);else if((0,i.Mz)(e)){let t=e.getParent();if((null==t?void 0:t.getChildren().length)===1){let e=t.getParent();if((0,i.Mz)(e)&&1===e.getChildren().length)return!1}if(!(0,i.HY)(t))throw Error("ListMaxIndentLevelPlugin: A ListItemNode must have a ListNode for a parent.");r=Math.max((0,i.g2)(t)+1,r)}return r<=7}(7),a.da8),e.pubIn({[r.$0]:"lists",[r.C2]:(0,O.S)(),[r.cx]:(0,m.J)(),[r.R1]:[o,l],[r.q]:[i.YW,i.v5],[r.iI]:[s,u],[r.lN]:(0,O.P)(),[r.aC]:[f,g,p],[r.Id]:[f,g,p]})}})},19833:(e,t,n)=>{"use strict";n.d(t,{FA:()=>r,Ig:()=>l,J6:()=>o,S3:()=>i,Te:()=>a,jG:()=>s,o4:()=>u,sM:()=>c});let r=1,i=2,o=4,l=8,s=16,a=32,u=64,c=128},21602:(e,t,n)=>{"use strict";n.d(t,{F7:()=>d});var r=n(7814),i=n(44443),o=n(6325),l=n(60665),s=n(88732);let a=(0,i.fh)(()=>null),u=(0,i.fh)(""),c=()=>"This is an empty toolbar. Pass `{toolbarContents: () => { return <>toolbar components</> }}` to the toolbarPlugin to customize it.",d=(0,r.Z)({init(e,t){let n=(null==t?void 0:t.toolbarPosition)==="bottom"?l.O2:l.IZ;e.pubIn({[a]:(null==t?void 0:t.toolbarContents)??c,[u]:(null==t?void 0:t.toolbarClassName)??"",[n]:()=>{let[e,t,n]=(0,i.uX)(a,l.pc,u);return o.createElement(s.bL,{className:n,readOnly:t},e())}})},update(e,t){e.pub(a,(null==t?void 0:t.toolbarContents)??c),e.pub(u,(null==t?void 0:t.toolbarClassName)??"")}})},22118:(e,t,n)=>{"use strict";n.d(t,{G:()=>a});var r=n(96507);let i={testNode:"blockquote",visitNode({actions:e}){e.addAndStepInto((0,r.xi)())}},o={testLexicalNode:r.jd,visitLexicalNode:({actions:e})=>{e.addAndStepInto("blockquote")}};var l=n(7814),s=n(60665);let a=(0,l.Z)({init(e){e.pubIn({[s.$0]:"quote",[s.R1]:i,[s.q]:r.dJ,[
1s.iI]:o})}})},22484:()=>{!function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),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"))}(Prism)},23374:(e,t,n)=>{"use strict";n.d(t,{r:()=>et});var r=n(6325),i=n(84544),o=n(61660),l=n(96507),s=n(6105);n(19645),n(60421),n(69974),n(15157),n(13748),n(38266),n(22484),n(93217),n(75587),n(17204),n(18579),n(48331),n(14948),n(84734),n(19005),n(49370);let a="data-language",u="data-highlight-language",c="data-theme";class d extends i.fGB{static getType(){return"code"}static clone(e){return new d(e.__language,e.__key)}constructor(e,t){super(t),this.__language=e||void 0,this.__isSyntaxHighlightSupported=!1,this.__theme=void 0}afterCloneFrom(e){super.afterCloneFrom(e),this.__language=e.__language,this.__theme=e.__theme,this.__isSyntaxHighlightSupported=e.__isSyntaxHighlightSupported}createDOM(e){let t=document.createElement("code");(0,s.ZB)(t,e.theme.code),t.setAttribute("spellcheck","false");let n=this.getLanguage();n&&(t.setAttribute(a,n),this.getIsSyntaxHighlightSupported()&&t.setAttribute(u,n));let r=this.getTheme();r&&t.setAttribute(c,r);let i=this.getStyle();return i&&t.setAttribute("style",i),t}updateDOM(e,t,n){let r=this.__language,i=e.__language;r?r!==i&&t.setAttribute(a,r):i&&t.removeAttribute(a);let o=this.__isSyntaxHighlightSupported;e.__isSyntaxHighlightSupported&&i?o&&r?r!==i&&t.setAttribute(u,r):t.removeAttribute(u):o&&r&&t.setAttribute(u,r);let l=this.__theme,s=e.__theme;l?l!==s&&t.setAttribute(c,l):s&&t.removeAttribute(c);let d=this.__style,h=e.__style;return d?d!==h&&t.setAttribute("style",d):h&&t.removeAttribute("style"),!1}exportDOM(e){let t=document.createElement("pre");(0,s.ZB)(t,e._config.theme.code),t.setAttribute("spellcheck","false");let n=this.getLanguage();n&&(t.setAttribute(a,n),this.getIsSyntaxHighlightSupported()&&t.setAttribute(u,n));let r=this.getTheme();r&&t.setAttribute(c,r);let i=this.getStyle();return i&&t.setAttribute("style",i),{element:t}}static importDOM(){return{code:e=>null!=e.textContent&&(/\r?\n/.test(e.textContent)||function e(t,n){for(let r of t.childNodes){if((0,i.sby)(r)&&r.tagName===n)return!0;e(r,n)}return!1}(e,"BR"))?{conversion:p,priority:1}:null,div:()=>({conversion:g,priority:1}),pre:()=>({conversion:p,priority:0}),table:e=>v(e)?{conversion:m,priority:3}:null,td:e=>{let t=e.closest("table");return e.classList.contains("js-file-line")||t&&v(t)?{conversion:O,priority:3}:null},tr:e=>{let t=e.closest("table");return t&&v(t)?{conversion:O,priority:3}:null}}}static importJSON(e){return h().updateFromJSON(e)}updateFromJSON(e){return super.updateFromJSON(e).setLanguage(e.language).setTheme(e.theme)}exportJSON(){return{...super.exportJSON(),language:this.getLanguage(),theme:this.getTheme()}}insertNewAfter(e,t=!0){let n=this.getChildren(),r=n.length;if(r>=2&&"\n"===n[r-1].getTextContent()&&"\n"===n[r-2].getTextContent()&&e.isCollapsed()&&e.anchor.key===this.__key&&e.anchor.offset===r){n[r-1].remove(),n[r-2].remove();let e=(0,i.lJ7)();return this.insertAfter(e,t),e}let{anchor:o,focus:l}=e,a=(o.isBefore(l)?o:l).getNode();if((0,i.kFe)(a)){let e=function(e){let t=e;for(let n=(0,i.IlV)(e,"previous");n&&(k(n.origin)||(0,i.MK6)(n.origin));n=(0,s._X)(n))t=n.origin;return t}(a),t=[];for(;;)if((0,i.MK6)(e))t.push((0,i.ev7)()),e=e.getNextSibling();else{if(!k(e))break;{let n=0,r=e.getTextContent(),i=e.getTextContentSize();for(;n<i&&" "===r[n];)n++;if(0!==n&&t.push(w(" ".repeat(n))),n!==i)break;e=e.getNextSibling()}}let n=a.splitText(o.offset)[0],r=+(0!==o.offset),l=n.getIndexWithinParent()+r,u=a.getParentOrThrow(),c=[(0,i.WKo)(),...t];u.splice(l,0,c);let d=t[t.length-1];d?d.select():0===o.offset?n.selectPrevious():n.getNextSibling().selectNext(0,0)}if(f(a)){let{offset:t}=e.anchor;a.splice(t,0,[(0,i.WKo)()]),a.select(t+1,t+1)}return null}canIndent(){return!1}collapseAtStart(){let e=(0,i.lJ7)();
1return this.getChildren().forEach(t=>e.append(t)),this.replace(e),!0}setLanguage(e){let t=this.getWritable();return t.__language=e||void 0,t}getLanguage(){return this.getLatest().__language}setIsSyntaxHighlightSupported(e){let t=this.getWritable();return t.__isSyntaxHighlightSupported=e,t}getIsSyntaxHighlightSupported(){return this.getLatest().__isSyntaxHighlightSupported}setTheme(e){let t=this.getWritable();return t.__theme=e||void 0,t}getTheme(){return this.getLatest().__theme}}function h(e,t){return(0,i.phO)(d).setLanguage(e).setTheme(t)}function f(e){return e instanceof d}function p(e){return{node:h(e.getAttribute(a))}}function g(e){let t=y(e);return t||function(e){let t=e.parentElement;for(;null!==t;){if(y(t))return!0;t=t.parentElement}return!1}(e)?{node:t?h():null}:{node:null}}function m(){return{node:h()}}function O(){return{node:null}}function y(e){return null!==e.style.fontFamily.match("monospace")}function v(e){return e.classList.contains("js-file-line-container")}class x extends i.Ey8{constructor(e="",t,n){super(e,n),this.__highlightType=t}static getType(){return"code-highlight"}static clone(e){return new x(e.__text,e.__highlightType||void 0,e.__key)}getHighlightType(){return this.getLatest().__highlightType}setHighlightType(e){let t=this.getWritable();return t.__highlightType=e||void 0,t}canHaveFormat(){return!1}createDOM(e){let t=super.createDOM(e),n=b(e.theme,this.__highlightType);return(0,s.ZB)(t,n),t}updateDOM(e,t,n){let r=super.updateDOM(e,t,n),i=b(n.theme,e.__highlightType),o=b(n.theme,this.__highlightType);return i!==o&&(i&&(0,s.HE)(t,i),o&&(0,s.ZB)(t,o)),r}static importJSON(e){return w().updateFromJSON(e)}updateFromJSON(e){return super.updateFromJSON(e).setHighlightType(e.highlightType)}exportJSON(){return{...super.exportJSON(),highlightType:this.getHighlightType()}}setFormat(e){return this}isParentRequired(){return!0}createParentElementNode(){return h()}}function b(e,t){return t&&e&&e.codeHighlight&&e.codeHighlight[t]}function w(e="",t){return(0,i.pTq)(new x(e,t))}function k(e){return e instanceof x}!function(e){e.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var t={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(t).forEach(function(n){var r=t[n],i=[];/^\w+$/.test(n)||i.push(/\w+/.exec(n)[0]),"diff"===n&&i.push("bold"),e.languages.diff[n]={pattern:RegExp("^(?:["+r+"].*(?:\r\n?|\n|(?![\\s\\S])))+","m"),alias:i,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(n)[0]}}}}),Object.defineProperty(e.languages.diff,"PREFIXES",{value:t})}(Prism),globalThis.Prism||window.Prism;var S=n(88688);function _(e,t){let n={};for(let r of e){let e=t(r);e&&(n[e]?n[e].push(r):n[e]=[r])}return n}let C=/[!-/:-@[-`{-~\s]/;function P(e,t,n){let r=n.length;for(let i=t;i>=r;i--){let t=i-r;if(T(e,t,n,0,r)&&" "!==e[t+r])return t}return -1}function T(e,t,n,r,i){for(let o=0;o<i;o++)if(e[t+o]!==n[r+o])return!1;return!0}let Q=e=>(t,n,r,i)=>{let o=e(r);o.append(...n),t.replace(o),i||o.select(0,0)},$=e=>(t,n,r,i)=>{let l=t.getPreviousSibling(),s=t.getNextSibling(),a=(0,o.i)("check"===e?"x"===r[3]:void 0);if((0,o.HY)(s)&&s.getListType()===e){let e=s.getFirstChild();null!==e?e.insertBefore(a):s.append(a),t.remove()}else if((0,o.HY)(l)&&l.getListType()===e)l.append(a),t.remove();else{let n=(0,o.DE)(e,"number"===e?Number(r[2]):void 0);n.append(a),t.replace(n)}a.append(...n),i||a.select(0,0);let u=function(e){let t=e.match(/\t/g),n=e.match(/ /g),r=0;return t&&(r+=t.length),n&&(r+=Math.floor(n.length/4)),r}(r[1]);u&&a.setIndent(u)},A=(e,t,n)=>{let r=[],i=e.getChildren(),l=0;for(let s of i)if((0,o.Mz)(s)){if(1===s.getChildrenSize()){let e=s.getFirstChild();if((0,o.HY)(e)){r.push(A(e,t,n+1));continue}}let i=" ".repeat(4*n),a=e.getListType(),u="number"===a?`${e.getStart()+l}. `:"check"===a?`- [${s.getChecked()?"x":" "}] `:"- ";r.push(i+u+t(s)),l++}return r.join("\n")}
1,E={dependencies:[l.jL],export:(e,t)=>{if(!(0,l.Pi)(e))return null;let n=Number(e.getTag().slice(1));return"#".repeat(n)+" "+t(e)},regExp:/^(#{1,6})\s/,replace:Q(e=>{let t="h"+e[1].length;return(0,l.fi)(t)}),type:"element"},R={dependencies:[l.dJ],export:(e,t)=>{if(!(0,l.jd)(e))return null;let n=t(e).split("\n"),r=[];for(let e of n)r.push("> "+e);return r.join("\n")},regExp:/^>\s/,replace:(e,t,n,r)=>{if(r){let n=e.getPreviousSibling();if((0,l.jd)(n))return n.splice(n.getChildrenSize(),0,[(0,i.WKo)(),...t]),void e.remove()}let o=(0,l.xi)();o.append(...t),e.replace(o),r||o.select(0,0)},type:"element"},N={dependencies:[d],export:e=>{if(!f(e))return null;let t=e.getTextContent();return"```"+(e.getLanguage()||"")+(t?"\n"+t:"")+"\n```"},regExpEnd:{optional:!0,regExp:/[ \t]*```$/},regExpStart:/^[ \t]*```([\w-]+)?/,replace:(e,t,n,r,o,l)=>{let s,a;if(!t&&o){if(1===o.length)r?(s=h(),a=n[1]+o[0]):(s=h(n[1]),a=o[0].startsWith(" ")?o[0].slice(1):o[0]);else{if(s=h(n[1]),0===o[0].trim().length)for(;o.length>0&&!o[0].length;)o.shift();else o[0]=o[0].startsWith(" ")?o[0].slice(1):o[0];for(;o.length>0&&!o[o.length-1].length;)o.pop();a=o.join("\n")}let t=(0,i.sTu)(a);s.append(t),e.append(s)}else t&&Q(e=>h(e?e[1]:void 0))(e,t,n,l)},type:"multiline-element"},L={dependencies:[o.v5,o.YW],export:(e,t)=>(0,o.HY)(e)?A(e,t,0):null,regExp:/^(\s*)[-*+]\s/,replace:$("bullet"),type:"element"},M={dependencies:[o.v5,o.YW],export:(e,t)=>(0,o.HY)(e)?A(e,t,0):null,regExp:/^(\s*)(?:-\s)?\s?(\[(\s|x)?\])\s/i,replace:$("check"),type:"element"},Z={dependencies:[o.v5,o.YW],export:(e,t)=>(0,o.HY)(e)?A(e,t,0):null,regExp:/^(\s*)(\d{1,})\.\s/,replace:$("number"),type:"element"},I={format:["code"],tag:"`",type:"text-format"},j={format:["bold","italic"],tag:"***",type:"text-format"},X={format:["bold","italic"],intraword:!1,tag:"___",type:"text-format"},D={format:["bold"],tag:"**",type:"text-format"},V={format:["bold"],intraword:!1,tag:"__",type:"text-format"},F={format:["italic"],tag:"*",type:"text-format"},z={format:["italic"],intraword:!1,tag:"_",type:"text-format"},B={dependencies:[S.Db],export:(e,t,n)=>{if(!(0,S.FJ)(e)||(0,S.iK)(e))return null;let r=e.getTitle(),i=t(e);return r?`[${i}](${e.getURL()} "${r}")`:`[${i}](${e.getURL()})`},importRegExp:/(?:\[(.*?)\])(?:\((?:([^()\s]+)(?:\s"((?:[^"]*\\")*[^"]*)"\s*)?)\))/,regExp:/(?:\[(.*?)\])(?:\((?:([^()\s]+)(?:\s"((?:[^"]*\\")*[^"]*)"\s*)?)\))$/,replace:(e,t)=>{let[,n,r,o]=t,l=(0,S.zA)(r,{title:o}),s=n.split("[").length-1,a=n.split("]").length-1,u=n,c="";if(s<a)return;if(s>a){let e=n.split("[");c="["+e[0],u=e.slice(1).join("[")}let d=(0,i.sTu)(u);return d.setFormat(e.getFormat()),l.append(d),e.replace(l),c&&l.insertBefore((0,i.sTu)(c)),d},trigger:")",type:"text-match"},W=[E,R,L,Z,N,I,j,X,D,V,{format:["highlight"],tag:"==",type:"text-format"},F,z,{format:["strikethrough"],tag:"~~",type:"text-format"},B];var Y=n(14725),q=n(78798);let U=[{dependencies:[q.fS],export:e=>(0,q.Hd)(e)?"***":null,regExp:/^(---|\*\*\*|___)\s?$/,replace:(e,t,n,r)=>{let i=(0,q.PL)();r||null!=e.getNextSibling()?e.replace(i):e.insertBefore(i),i.selectNext()},type:"element"},...W];function G({transformers:e=U}){let[t]=(0,Y.DF)();return(0,r.useEffect)(()=>(function(e,t=W){let n=function(e){let t=_(e,e=>e.type);return{element:t.element||[],multilineElement:t["multiline-element"]||[],textFormat:t["text-format"]||[],textMatch:t["text-match"]||[]}}(t),r=_(n.textFormat,({tag:e})=>e[e.length-1]),o=_(n.textMatch,({trigger:e})=>e);for(let n of t){let t=n.type;if("element"===t||"text-match"===t||"multiline-element"===t)for(let t of n.dependencies)e.hasNode(t)||function(e,...t){let n=new URL("https://lexical.dev/docs/error"),r=new URLSearchParams;for(let e of(r.append("code",173),t))r.append("v",e);throw n.search=r.toString(),Error(`Minified Lexical error #${173}; visit ${n.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}(173,t.getType())}return e.registerUpdateListener(({tags:t,dirtyLeaves:l,editorState:s,prevEditorState:a})=>{if(t.has(i.Ng_)||t.has(i.n0X)||e.isComposing())return;let u=s.read(i.vJq),c=a.read(i.vJq);if(!(0,i.I2P)(c)||!(0,i.I2P)(u)||!u.isCollapsed()||u.is(c))return;let d=u.anchor.key,h=u.anchor.offset,p=s._nodeMap.get(d);(0,i.kFe)(p)&&l.has(d)&&(1===h||!(h>c.anchor.offset+1))&&e.update(()=>{var e;if(!(0,i.kFe)(p)||p.hasFormat("code"))return;let t=p.getParent();null===t||f(t)||function(e,t,n,r){let o=e.getParent();if(!(0,i.IqF)(o)||e.getFirstChild()!==t)return!1;let l=t.getTextContent();if(" "!==l[n-1])return!1;for(let{regExp:i,replace:o}of r){let r=l.match(i);if(r&&r[0].length===(r[0].endsWith(" ")?n:n-1)){let i=t.getNextSiblings(),[l,s]=t.splitText(n);if(!1!==o(e,s?[s,...i]:i,r,!1))return l.remove(),!0}}return!1}(t,p,e=u.anchor.offset,n.element)||function(e,t,n,r){let o=e.getParent();if(!(0,i.IqF)(o)||e.getFirstChild()!==t)return!1;let l=t.getTextContent();if(" "!==l[n-1])return!1;for(let{regExpStart:i,replace:o,regExpEnd:s}of r){if(s&&!("optional"in s)||s&&"optional"in s&&!s.optional)continue;let r=l.match(i);if(r&&r[0].length===(r[0].endsWith(" ")?n:n-1)){let i=t.getNextSiblings(),[l,s]=t.splitText(n);if(!1!==o(e,s?[s,...i]:i,r,null,null,!1))return l.remove(),!0}}return!1}(t,p,e,n.multilineElement)||function(e,t,n){let r=e.getTextContent(),i=n[r[t-1]];if(null==i)return!1;for(let n of(t<r.length&&(r=r.slice(0,t)),i)){let t;if(!n.replace||!n.regExp)continue;let i=r.match(n.regExp);if(null===i)continue;let o=i.index||0,l=o+i[0].length;return 0===o?[t]=e.splitText(l):[,t]=e.splitText(o,l),t.selectNext(0,0),n.replace(t,i),!0}return!1}(p,e,o)||function(e,t,n){let r=e.getTextContent(),o=t-1,l=r[o],s=n[l];if(s)for(let t of s){let{tag:n}=t,s=n.length,a=o-s+1;if(s>1&&!T(r,a,n,0,s)||" "===r[a-1])continue;let u=r[o+1];if(!1===t.intraword&&u&&!C.test(u))continue;let c=e,d=P(r,a,n),h=c;for(;d<0&&(h=h.getPreviousSibling())&&!(0,i.wH$)(h);)if((0,i.kFe)(h)){if(h.hasFormat("code"))continue;let e=h.getTextContent();c=h,d=P(e,e.length,n)}if(d<0||c===e&&d+s===a)continue;let f=c.getTextContent();if(d>0&&f[d-1]===l)continue;let p=f[d-1];if(!1===t.intraword&&p&&!C.test(p))continue;let g=e.getTextContent(),m=g.slice(0,a)+g.slice(o+1);e.setTextContent(m);let O=c===e?m:f;c.setTextContent(O.slice(0,d)+O.slice(d+s));let y=(0,i.vJq)(),v=(0,i.uTE)();(0,i.n1P)(v);let x=o-s*(c===e?2:1)+1;for(let n of(v.anchor.set(c.__key,d,"text"),v.focus.set(e.__key,x,"text"),t.format))v.hasFormat(n)||v.formatText(n);
1for(let e of(v.anchor.set(v.focus.key,v.focus.offset,v.focus.type),t.format))v.hasFormat(e)&&v.toggleFormat(e);return(0,i.I2P)(y)&&(v.format=y.format),!0}}(p,e,r)})})})(t,e),[t,e]),null}var H=n(7814),J=n(80888),K=n(60665),ee=n(99277);let et=(0,H.Z)({init(e){let t=e.getValue(K.TI),n=t.includes("headings")?e.getValue(ee.OO):[],i=function(e,t){let n=[j,X,D,V,I,F,z];if(e.includes("headings")){let e,r=Math.min(...t),i=Math.max(...t),o=RegExp(`^(#{${r},${i}})\\s`),s={dependencies:[l.jL],export:(e,t)=>{if(!(0,l.Pi)(e))return null;let n=Number(e.getTag().slice(1));return"#".repeat(n)+" "+t(e)},regExp:o,replace:(e=e=>{let t=`h${e[1].length}`;return(0,l.fi)(t)},(t,n,r)=>{let i=e(r);i.append(...n),t.replace(i),i.select(0,0)}),type:"element"};n.push(s)}if(e.includes("thematicBreak")&&n.push(en),e.includes("quote")&&n.push(R),e.includes("link")&&n.push(B),e.includes("lists")&&n.push(Z,L,M),e.includes("codeblock")){let e={...N,dependencies:[J.Vy],replace:(e,t,n)=>{let r=(0,J.ni)({code:"",language:n[1]??"",meta:""});e.selectPrevious(),e.replace(r),setTimeout(()=>{r.select()},80)}};n.push(e)}return n}(t,n),o=i.filter(e=>!er.has(e));e.pubIn({[K.aC]:()=>r.createElement(G,{transformers:i}),[K.Id]:()=>r.createElement(G,{transformers:i}),[K.dH]:()=>r.createElement(G,{transformers:o})})}}
1),en={dependencies:[q.fS],export:e=>(0,q.Hd)(e)?"***":null,regExp:/^(---|\*\*\*|___)\s?$/,replace:(e,t,n,r)=>{let i=(0,q.PL)();r||null!=e.getNextSibling()?e.replace(i):e.insertBefore(i),i.selectNext()},type:"element"},er=new Set([Z,L,M])},23725:(e,t,n)=>{"use strict";function r(){var e=arguments[0];"string"==typeof e&&(e=document.createElement(e));var t=1,n=arguments[1];if(n&&"object"==typeof n&&null==n.nodeType&&!Array.isArray(n)){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)){var i=n[r];"string"==typeof i?e.setAttribute(r,i):null!=i&&(e[r]=i)}t++}for(;t<arguments.length;t++)!function e(t,n){if("string"==typeof n)t.appendChild(document.createTextNode(n));else if(null==n);else if(null!=n.nodeType)t.appendChild(n);else if(Array.isArray(n))for(var r=0;r<n.length;r++)e(t,n[r]);else throw RangeError("Unsupported child node: "+n)}(e,arguments[t]);return e}n.d(t,{A:()=>r})},25992:(e,t,n)=>{"use strict";n.d(t,{A:()=>l,q:()=>o});var r=n(6325),i=n(64177);function o(e,t){let n=r.createContext(t),o=e=>{let{children:t,...o}=e,l=r.useMemo(()=>o,Object.values(o));return(0,i.jsx)(n.Provider,{value:l,children:t})};return o.displayName=e+"Provider",[o,function(i){let o=r.useContext(n);if(o)return o;if(void 0!==t)return t;throw Error(`\`${i}\` must be used within \`${e}\``)}]}function l(e,t=[]){let n=[],o=()=>{let t=n.map(e=>r.createContext(e));return function(n){let i=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:i}}),[n,i])}};return o.scopeName=e,[function(t,o){let l=r.createContext(o),s=n.length;n=[...n,o];let a=t=>{let{scope:n,children:o,...a}=t,u=n?.[e]?.[s]||l,c=r.useMemo(()=>a,Object.values(a));return(0,i.jsx)(u.Provider,{value:c,children:o})};return a.displayName=t+"Provider",[a,function(n,i){let a=i?.[e]?.[s]||l,u=r.useContext(a);if(u)return u;if(void 0!==o)return o;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let i=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}(o,...t)]}},26339:(e,t,n)=>{"use strict";n.d(t,{i:()=>s});var r,i=n(6325),o=n(36709),l=(r||(r=n.t(i,2)))[" useInsertionEffect ".trim().toString()]||o.N;function s({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){let[o,s,a]=function({defaultProp:e,onChange:t}){let[n,r]=i.useState(e),o=i.useRef(n),s=i.useRef(t);return l(()=>{s.current=t},[t]),i.useEffect(()=>{o.current!==n&&(s.current?.(n),o.current=n)},[n,o]),[n,r,s]}({defaultProp:t,onChange:n}),u=void 0!==e,c=u?e:o;{let t=i.useRef(void 0!==e);i.useEffect(()=>{let e=t.current;if(e!==u){let t=u?"controlled":"uncontrolled";console.warn(`${r} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=u},[u,r])}return[c,i.useCallback(t=>{if(u){let n="function"==typeof t?t(e):t;n!==e&&a.current?.(n)}else s(t)},[u,e,s,a])]}Symbol("RADIX:SYNC_STATE")},26959:(e,t,n)=>{"use strict";n.d(t,{l6:()=>eE});var r=n(6325),i=n(36184);function o(e,[t,n]){return Math.min(n,Math.max(t,e))}var l=n(73479),s=n(4278),a=n(5966),u=n(25992),c=n(36067),d=n(68511),h=n(95777),f=n(72138),p=n(11423),g=n(18059),m=n(9529),O=n(11997),y=n(38716),v=n(51003),x=n(26339),b=n(36709),w=n(40674),k=n(82547),S=n(10964),_=n(64177),C=[" ","Enter","ArrowUp","ArrowDown"],P=[" ","Enter"],T="Select",[Q,$,A]=(0,s.N)(T),[E,R]=(0,u.A)(T,[A,g.Bk]),N=(0,g.Bk)(),[L,M]=E(T),[Z,I]=E(T),j=e=>{let{__scopeSelect:t,children:n,open:i,defaultOpen:o,onOpenChange:l,value:s,defaultValue:a,onValueChange:u,dir:d,name:h,autoComplete:f,disabled:m,required:O,form:y}=e,v=N(t),[b,w]=r.useState(null),[k,S]=r.useState(null),[C,P]=r.useState(!1),$=(0,c.jH)(d),[A,E]=(0,x.i)({prop:i,defaultProp:null!=o&&o,onChange:l,caller:T}),[R,M]=(0,x.i)({prop:s,defaultProp:a,onChange:u,caller:T}),I=r.useRef(null),j=!b||y||!!b.closest("form"),[X,D]=r.useState(new Set),V=Array.from(X).map(e=>e.props.value).join(";");return(0,_.jsx)(g.bL,{...v,children:(0,_.jsxs)(L,{required:O,scope:t,trigger:b,onTriggerChange:w,valueNode:k,onValueNodeChange:S,valueNodeHasChildren:C,onValueNodeHasChildrenChange:P,contentId:(0,p.B)(),value:R,onValueChange:M,open:A,onOpenChange:E,dir:$,triggerPointerDownPosRef:I,disabled:m,children:[(0,_.jsx)(Q.Provider,{scope:t,children:(0,_.jsx)(Z,{scope:e.__scopeSelect,onNativeOptionAdd:r.useCallback(e=>{D(t=>new Set(t).add(e))},[]),onNativeOptionRemove:r.useCallback(e=>{D(t=>{let n=new Set(t);return n.delete(e),n})},[]),children:n})}),j?(0,_.jsxs)(ex,{"aria-hidden":!0,required:O,tabIndex:-1,name:h,autoComplete:f,value:R,onChange:e=>M(e.target.value),disabled:m,form:y,children:[void 0===R?(0,_.jsx)("option",{value:""}):null,Array.from(X)]},V):null]})})};j.displayName=T;var X="SelectTrigger",D=r.forwardRef((e,t)=>
1{let{__scopeSelect:n,disabled:i=!1,...o}=e,s=N(n),u=M(X,n),c=u.disabled||i,d=(0,a.s)(t,u.onTriggerChange),h=$(n),f=r.useRef("touch"),[p,m,y]=ew(e=>{let t=h().filter(e=>!e.disabled),n=t.find(e=>e.value===u.value),r=ek(t,e,n);void 0!==r&&u.onValueChange(r.value)}),v=e=>{c||(u.onOpenChange(!0),y()),e&&(u.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)})};return(0,_.jsx)(g.Mz,{asChild:!0,...s,children:(0,_.jsx)(O.sG.button,{type:"button",role:"combobox","aria-controls":u.contentId,"aria-expanded":u.open,"aria-required":u.required,"aria-autocomplete":"none",dir:u.dir,"data-state":u.open?"open":"closed",disabled:c,"data-disabled":c?"":void 0,"data-placeholder":eb(u.value)?"":void 0,...o,ref:d,onClick:(0,l.mK)(o.onClick,e=>{e.currentTarget.focus(),"mouse"!==f.current&&v(e)}),onPointerDown:(0,l.mK)(o.onPointerDown,e=>{f.current=e.pointerType;let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),0===e.button&&!1===e.ctrlKey&&"mouse"===e.pointerType&&(v(e),e.preventDefault())}),onKeyDown:(0,l.mK)(o.onKeyDown,e=>{let t=""!==p.current;e.ctrlKey||e.altKey||e.metaKey||1!==e.key.length||m(e.key),(!t||" "!==e.key)&&C.includes(e.key)&&(v(),e.preventDefault())})})})});D.displayName=X;var V="SelectValue",F=r.forwardRef((e,t)=>{let{__scopeSelect:n,className:r,style:i,children:o,placeholder:l="",...s}=e,u=M(V,n),{onValueNodeHasChildrenChange:c}=u,d=void 0!==o,h=(0,a.s)(t,u.onValueNodeChange);return(0,b.N)(()=>{c(d)},[c,d]),(0,_.jsx)(O.sG.span,{...s,ref:h,style:{pointerEvents:"none"},children:eb(u.value)?(0,_.jsx)(_.Fragment,{children:l}):o})});F.displayName=V;var z=r.forwardRef((e,t)=>{let{__scopeSelect:n,children:r,...i}=e;return(0,_.jsx)(O.sG.span,{"aria-hidden":!0,...i,ref:t,children:r||"▼"})});z.displayName="SelectIcon";var B=e=>(0,_.jsx)(m.Z,{asChild:!0,...e});B.displayName="SelectPortal";var W="SelectContent",Y=r.forwardRef((e,t)=>{let n=M(W,e.__scopeSelect),[o,l]=r.useState();return((0,b.N)(()=>{l(new DocumentFragment)},[]),n.open)?(0,_.jsx)(H,{...e,ref:t}):o?i.createPortal((0,_.jsx)(q,{scope:e.__scopeSelect,children:(0,_.jsx)(Q.Slot,{scope:e.__scopeSelect,children:(0,_.jsx)("div",{children:e.children})})}),o):null});Y.displayName=W;var[q,U]=E(W),G=(0,y.TL)("SelectContent.RemoveScroll"),H=r.forwardRef((e,t)=>{let{__scopeSelect:n,position:i="item-aligned",onCloseAutoFocus:o,onEscapeKeyDown:s,onPointerDownOutside:u,side:c,sideOffset:p,align:g,alignOffset:m,arrowPadding:O,collisionBoundary:y,collisionPadding:v,sticky:x,hideWhenDetached:b,avoidCollisions:w,...C}=e,P=M(W,n),[T,Q]=r.useState(null),[A,E]=r.useState(null),R=(0,a.s)(t,e=>Q(e)),[N,L]=r.useState(null),[Z,I]=r.useState(null),j=$(n),[X,D]=r.useState(!1),V=r.useRef(!1);r.useEffect(()=>{if(T)return(0,k.Eq)(T)},[T]),(0,h.Oh)();let F=r.useCallback(e=>{let[t,...n]=j().map(e=>e.ref.current),[r]=n.slice(-1),i=document.activeElement;for(let n of e)if(n===i||(null==n||n.scrollIntoView({block:"nearest"}),n===t&&A&&(A.scrollTop=0),n===r&&A&&(A.scrollTop=A.scrollHeight),null==n||n.focus(),document.activeElement!==i))return},[j,A]),z=r.useCallback(()=>F([N,T]),[F,N,T]);r.useEffect(()=>{X&&z()},[X,z]);let{onOpenChange:B,triggerPointerDownPosRef:Y}=P;r.useEffect(()=>{if(T){let e={x:0,y:0},t=t=>{var n,r,i,o;e={x:Math.abs(Math.round(t.pageX)-(null!=(i=null==(n=Y.current)?void 0:n.x)?i:0)),y:Math.abs(Math.round(t.pageY)-(null!=(o=null==(r=Y.current)?void 0:r.y)?o:0))}},n=n=>{e.x<=10&&e.y<=10?n.preventDefault():T.contains(n.target)||B(!1),document.removeEventListener("pointermove",t),Y.current=null};return null!==Y.current&&(document.addEventListener("pointermove",t),document.addEventListener("pointerup",n,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",t),document.removeEventListener("pointerup",n,{capture:!0})}}},[T,B,Y]),r.useEffect(()=>{let e=()=>B(!1);return window.addEventListener("blur",e),window.addEventListener("resize",e),()=>{window.removeEventListener("blur",e),window.removeEventListener("resize",e)}},[B]);let[U,H]=ew(e=>{let t=j().filter(e=>!e.disabled),n=t.find(e=>e.ref.current===document.activeElement),r=ek(t,e,n);r&&setTimeout(()=>r.ref.current.focus())}),ee=r.useCallback((e,t,n)=>{let r=!V.current&&!n;(void 0!==P.value&&P.value===t||r)&&(L(e),r&&(V.current=!0))},[P.value]),et=r.useCallback(()=>null==T?void 0:T.focus(),[T]),en=r.useCallback((e,t,n)=>{let r=!V.current&&!n;(void 0!==P.value&&P.value===t||r)&&I(e)},[P.value]),er="popper"===i?K:J,ei=er===K?{side:c,sideOffset:p,align:g,alignOffset:m,arrowPadding:O,collisionBoundary:y,collisionPadding:v,sticky:x,hideWhenDetached:b,avoidCollisions:w}:{};return(0,_.jsx)(q,{scope:n,content:T,viewport:A,onViewportChange:E,itemRefCallback:ee,selectedItem:N,onItemLeave:et,itemTextRefCallback:en,focusSelectedItem:z,selectedItemText:Z,position:i,isPositioned:X,searchRef:U,children:(0,_.jsx)(S.A,{as:G,allowPinchZoom:!0,children:(0,_.jsx)(f.n,{asChild:!0,trapped:P.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:(0,l.mK)(o,e=>{var t;
1null==(t=P.trigger)||t.focus({preventScroll:!0}),e.preventDefault()}),children:(0,_.jsx)(d.qW,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:s,onPointerDownOutside:u,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>P.onOpenChange(!1),children:(0,_.jsx)(er,{role:"listbox",id:P.contentId,"data-state":P.open?"open":"closed",dir:P.dir,onContextMenu:e=>e.preventDefault(),...C,...ei,onPlaced:()=>D(!0),ref:R,style:{display:"flex",flexDirection:"column",outline:"none",...C.style},onKeyDown:(0,l.mK)(C.onKeyDown,e=>{let t=e.ctrlKey||e.altKey||e.metaKey;if("Tab"===e.key&&e.preventDefault(),t||1!==e.key.length||H(e.key),["ArrowUp","ArrowDown","Home","End"].includes(e.key)){let t=j().filter(e=>!e.disabled).map(e=>e.ref.current);if(["ArrowUp","End"].includes(e.key)&&(t=t.slice().reverse()),["ArrowUp","ArrowDown"].includes(e.key)){let n=e.target,r=t.indexOf(n);t=t.slice(r+1)}setTimeout(()=>F(t)),e.preventDefault()}})})})})})})});H.displayName="SelectContentImpl";var J=r.forwardRef((e,t)=>{let{__scopeSelect:n,onPlaced:i,...l}=e,s=M(W,n),u=U(W,n),[c,d]=r.useState(null),[h,f]=r.useState(null),p=(0,a.s)(t,e=>f(e)),g=$(n),m=r.useRef(!1),y=r.useRef(!0),{viewport:v,selectedItem:x,selectedItemText:w,focusSelectedItem:k}=u,S=r.useCallback(()=>{if(s.trigger&&s.valueNode&&c&&h&&v&&x&&w){let e=s.trigger.getBoundingClientRect(),t=h.getBoundingClientRect(),n=s.valueNode.getBoundingClientRect(),r=w.getBoundingClientRect();if("rtl"!==s.dir){let i=r.left-t.left,l=n.left-i,s=e.left-l,a=e.width+s,u=Math.max(a,t.width),d=o(l,[10,Math.max(10,window.innerWidth-10-u)]);c.style.minWidth=a+"px",c.style.left=d+"px"}else{let i=t.right-r.right,l=window.innerWidth-n.right-i,s=window.innerWidth-e.right-l,a=e.width+s,u=Math.max(a,t.width),d=o(l,[10,Math.max(10,window.innerWidth-10-u)]);c.style.minWidth=a+"px",c.style.right=d+"px"}let l=g(),a=window.innerHeight-20,u=v.scrollHeight,d=window.getComputedStyle(h),f=parseInt(d.borderTopWidth,10),p=parseInt(d.paddingTop,10),O=parseInt(d.borderBottomWidth,10),y=f+p+u+parseInt(d.paddingBottom,10)+O,b=Math.min(5*x.offsetHeight,y),k=window.getComputedStyle(v),S=parseInt(k.paddingTop,10),_=parseInt(k.paddingBottom,10),C=e.top+e.height/2-10,P=x.offsetHeight/2,T=f+p+(x.offsetTop+P);if(T<=C){let e=l.length>0&&x===l[l.length-1].ref.current;c.style.bottom="0px";let t=Math.max(a-C,P+(e?_:0)+(h.clientHeight-v.offsetTop-v.offsetHeight)+O);c.style.height=T+t+"px"}else{let e=l.length>0&&x===l[0].ref.current;c.style.top="0px";let t=Math.max(C,f+v.offsetTop+(e?S:0)+P);c.style.height=t+(y-T)+"px",v.scrollTop=T-C+v.offsetTop}c.style.margin="".concat(10,"px 0"),c.style.minHeight=b+"px",c.style.maxHeight=a+"px",null==i||i(),requestAnimationFrame(()=>m.current=!0)}},[g,s.trigger,s.valueNode,c,h,v,x,w,s.dir,i]);(0,b.N)(()=>S(),[S]);let[C,P]=r.useState();(0,b.N)(()=>{h&&P(window.getComputedStyle(h).zIndex)},[h]);let T=r.useCallback(e=>{e&&!0===y.current&&(S(),null==k||k(),y.current=!1)},[S,k]);return(0,_.jsx)(ee,{scope:n,contentWrapper:c,shouldExpandOnScrollRef:m,onScrollButtonChange:T,children:(0,_.jsx)("div",{ref:d,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:C},children:(0,_.jsx)(O.sG.div,{...l,ref:p,style:{boxSizing:"border-box",maxHeight:"100%",...l.style}})})})});J.displayName="SelectItemAlignedPosition";var K=r.forwardRef((e,t)=>{let{__scopeSelect:n,align:r="start",collisionPadding:i=10,...o}=e,l=N(n);return(0,_.jsx)(g.UC,{...l,...o,ref:t,align:r,collisionPadding:i,style:{boxSizing:"border-box",...o.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});K.displayName="SelectPopperPosition";var[ee,et]=E(W,{}),en="SelectViewport",er=r.forwardRef((e,t)=>{let{__scopeSelect:n,nonce:i,...o}=e,s=U(en,n),u=et(en,n),c=(0,a.s)(t,s.onViewportChange),d=r.useRef(0);return(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:i}),(0,_.jsx)(Q.Slot,{scope:n,children:(0,_.jsx)(O.sG.div,{"data-radix-select-viewport":"",role:"presentation",...o,ref:c,style:{position:"relative",flex:1,overflow:"hidden auto",...o.style},onScroll:(0,l.mK)(o.onScroll,e=>{let t=e.currentTarget,{contentWrapper:n,shouldExpandOnScrollRef:r}=u;if((null==r?void 0:r.current)&&n){let e=Math.abs(d.current-t.scrollTop);if(e>0){let r=window.innerHeight-20,i=Math.max(parseFloat(n.style.minHeight),parseFloat(n.style.height));if(i<r){let o=i+e,l=Math.min(r,o),s=o-l;n.style.height=l+"px","0px"===n.style.bottom&&(t.scrollTop=s>0?s:0,n.style.justifyContent="flex-end")}}}d.current=t.scrollTop})})})]})});er.displayName=en;
1var ei="SelectGroup",[eo,el]=E(ei);r.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e,i=(0,p.B)();return(0,_.jsx)(eo,{scope:n,id:i,children:(0,_.jsx)(O.sG.div,{role:"group","aria-labelledby":i,...r,ref:t})})}).displayName=ei;var es="SelectLabel";r.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e,i=el(es,n);return(0,_.jsx)(O.sG.div,{id:i.id,...r,ref:t})}).displayName=es;var ea="SelectItem",[eu,ec]=E(ea),ed=r.forwardRef((e,t)=>{let{__scopeSelect:n,value:i,disabled:o=!1,textValue:s,...u}=e,c=M(ea,n),d=U(ea,n),h=c.value===i,[f,g]=r.useState(null!=s?s:""),[m,y]=r.useState(!1),v=(0,a.s)(t,e=>{var t;return null==(t=d.itemRefCallback)?void 0:t.call(d,e,i,o)}),x=(0,p.B)(),b=r.useRef("touch"),w=()=>{o||(c.onValueChange(i),c.onOpenChange(!1))};if(""===i)throw Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return(0,_.jsx)(eu,{scope:n,value:i,disabled:o,textId:x,isSelected:h,onItemTextChange:r.useCallback(e=>{g(t=>{var n;return t||(null!=(n=null==e?void 0:e.textContent)?n:"").trim()})},[]),children:(0,_.jsx)(Q.ItemSlot,{scope:n,value:i,disabled:o,textValue:f,children:(0,_.jsx)(O.sG.div,{role:"option","aria-labelledby":x,"data-highlighted":m?"":void 0,"aria-selected":h&&m,"data-state":h?"checked":"unchecked","aria-disabled":o||void 0,"data-disabled":o?"":void 0,tabIndex:o?void 0:-1,...u,ref:v,onFocus:(0,l.mK)(u.onFocus,()=>y(!0)),onBlur:(0,l.mK)(u.onBlur,()=>y(!1)),onClick:(0,l.mK)(u.onClick,()=>{"mouse"!==b.current&&w()}),onPointerUp:(0,l.mK)(u.onPointerUp,()=>{"mouse"===b.current&&w()}),onPointerDown:(0,l.mK)(u.onPointerDown,e=>{b.current=e.pointerType}),onPointerMove:(0,l.mK)(u.onPointerMove,e=>{if(b.current=e.pointerType,o){var t;null==(t=d.onItemLeave)||t.call(d)}else"mouse"===b.current&&e.currentTarget.focus({preventScroll:!0})}),onPointerLeave:(0,l.mK)(u.onPointerLeave,e=>{if(e.currentTarget===document.activeElement){var t;null==(t=d.onItemLeave)||t.call(d)}}),onKeyDown:(0,l.mK)(u.onKeyDown,e=>{var t;((null==(t=d.searchRef)?void 0:t.current)===""||" "!==e.key)&&(P.includes(e.key)&&w()," "===e.key&&e.preventDefault())})})})})});ed.displayName=ea;var eh="SelectItemText",ef=r.forwardRef((e,t)=>{let{__scopeSelect:n,className:o,style:l,...s}=e,u=M(eh,n),c=U(eh,n),d=ec(eh,n),h=I(eh,n),[f,p]=r.useState(null),g=(0,a.s)(t,e=>p(e),d.onItemTextChange,e=>{var t;return null==(t=c.itemTextRefCallback)?void 0:t.call(c,e,d.value,d.disabled)}),m=null==f?void 0:f.textContent,y=r.useMemo(()=>(0,_.jsx)("option",{value:d.value,disabled:d.disabled,children:m},d.value),[d.disabled,d.value,m]),{onNativeOptionAdd:v,onNativeOptionRemove:x}=h;return(0,b.N)(()=>(v(y),()=>x(y)),[v,x,y]),(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(O.sG.span,{id:d.textId,...s,ref:g}),d.isSelected&&u.valueNode&&!u.valueNodeHasChildren?i.createPortal(s.children,u.valueNode):null]})});
1ef.displayName=eh;var ep="SelectItemIndicator";r.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e;return ec(ep,n).isSelected?(0,_.jsx)(O.sG.span,{"aria-hidden":!0,...r,ref:t}):null}).displayName=ep;var eg="SelectScrollUpButton";r.forwardRef((e,t)=>{let n=U(eg,e.__scopeSelect),i=et(eg,e.__scopeSelect),[o,l]=r.useState(!1),s=(0,a.s)(t,i.onScrollButtonChange);return(0,b.N)(()=>{if(n.viewport&&n.isPositioned){let e=function(){l(t.scrollTop>0)},t=n.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[n.viewport,n.isPositioned]),o?(0,_.jsx)(eO,{...e,ref:s,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop-t.offsetHeight)}}):null}).displayName=eg;var em="SelectScrollDownButton";r.forwardRef((e,t)=>{let n=U(em,e.__scopeSelect),i=et(em,e.__scopeSelect),[o,l]=r.useState(!1),s=(0,a.s)(t,i.onScrollButtonChange);return(0,b.N)(()=>{if(n.viewport&&n.isPositioned){let e=function(){let e=t.scrollHeight-t.clientHeight;l(Math.ceil(t.scrollTop)<e)},t=n.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[n.viewport,n.isPositioned]),o?(0,_.jsx)(eO,{...e,ref:s,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop+t.offsetHeight)}}):null}).displayName=em;var eO=r.forwardRef((e,t)=>{let{__scopeSelect:n,onAutoScroll:i,...o}=e,s=U("SelectScrollButton",n),a=r.useRef(null),u=$(n),c=r.useCallback(()=>{null!==a.current&&(window.clearInterval(a.current),a.current=null)},[]);return r.useEffect(()=>()=>c(),[c]),(0,b.N)(()=>{var e;let t=u().find(e=>e.ref.current===document.activeElement);null==t||null==(e=t.ref.current)||e.scrollIntoView({block:"nearest"})},[u]),(0,_.jsx)(O.sG.div,{"aria-hidden":!0,...o,ref:t,style:{flexShrink:0,...o.style},onPointerDown:(0,l.mK)(o.onPointerDown,()=>{null===a.current&&(a.current=window.setInterval(i,50))}),onPointerMove:(0,l.mK)(o.onPointerMove,()=>{var e;null==(e=s.onItemLeave)||e.call(s),null===a.current&&(a.current=window.setInterval(i,50))}),onPointerLeave:(0,l.mK)(o.onPointerLeave,()=>{c()})})}),ey=r.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e;return(0,_.jsx)(O.sG.div,{"aria-hidden":!0,...r,ref:t})});ey.displayName="SelectSeparator";var ev="SelectArrow";r.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e,i=N(n),o=M(ev,n),l=U(ev,n);return o.open&&"popper"===l.position?(0,_.jsx)(g.i3,{...i,...r,ref:t}):null}).displayName=ev;var ex=r.forwardRef((e,t)=>{let{__scopeSelect:n,value:i,...o}=e,l=r.useRef(null),s=(0,a.s)(t,l),u=function(e){let t=r.useRef({value:e,previous:e});return r.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}(i);return r.useEffect(()=>{let e=l.current;if(!e)return;let t=Object.getOwnPropertyDescriptor(window.HTMLSelectElement.prototype,"value").set;if(u!==i&&t){let n=new Event("change",{bubbles:!0});t.call(e,i),e.dispatchEvent(n)}},[u,i]),(0,_.jsx)(O.sG.select,{...o,style:{...w.Qg,...o.style},ref:s,defaultValue:i})});function eb(e){return""===e||void 0===e}function ew(e){let t=(0,v.c)(e),n=r.useRef(""),i=r.useRef(0),o=r.useCallback(e=>{let r=n.current+e;t(r),function e(t){n.current=t,window.clearTimeout(i.current),""!==t&&(i.current=window.setTimeout(()=>e(""),1e3))}(r)},[t]),l=r.useCallback(()=>{n.current="",window.clearTimeout(i.current)},[]);return r.useEffect(()=>()=>window.clearTimeout(i.current),[]),[n,o,l]}function ek(e,t,n){var r,i;let o=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,l=n?e.indexOf(n):-1,s=(r=e,i=Math.max(l,0),r.map((e,t)=>r[(i+t)%r.length]));1===o.length&&(s=s.filter(e=>e!==n));let a=s.find(e=>e.textValue.toLowerCase().startsWith(o.toLowerCase()));return a!==n?a:void 0}ex.displayName="SelectBubbleInput";var eS=n(2886),e_=n(17415),eC=n(30200),eP=n(60665),eT=n(44443);let eQ=r.forwardRef(({children:e,className:t,...n},i)=>r.createElement(ed,{...n,ref:i,className:eS(t,e_.Ay.selectItem)},r.createElement(ef,null,e))),e$=({title:e,placeholder:t,className:n})=>{let[i,o]=(0,eT.uX)(eP.pc,eP.yr);return r.createElement(eC.I,{title:e},r.createElement(D,{"aria-label":t,className:eS(e_.Ay.selectTrigger,n),"data-toolbar-item":!0,disabled:i},r.createElement(F,{placeholder:t}),r.createElement(z,{className:e_.Ay.selectDropdownArrow},o("arrow_drop_down"))))},eA=({children:e,className:t=e_.Ay.selectContainer})=>{let n=(0,eT.X3)(eP.xZ);return r.createElement(B,{container:null==n?void 0:n.current},r.createElement(Y,{className:eS(t,"mdxeditor-select-content"),onCloseAutoFocus:e=>{e.preventDefault()},position:"popper"},r.createElement(er,{"data-editor-dropdown":!0,style:{maxHeight:"var(--radix-select-content-available-height)"}},e)))},eE=e=>r.createElement(j,{value:e.value||"",onValueChange:e.onChange,disabled:e.disabled},r.createElement(e$,{title:e.triggerTitle,placeholder:e.placeholder}),r.createElement(eA,null,e.items.map((e,t)=>"separator"===e?r.createElement(ey,{key:t}):r.createElement(eQ,{key:t,value:e.value},e.label))))},27358:(e,t,n)=>{"use strict";n.d(t,{_:()=>l,h:()=>s});var r=n(6105),i=n(84544);function o(e){e.undoStack=[],e.redoStack=[],e.current=null}function l(e,t,n){let l,s,a=(l=Date.now(),s=0,(t,r,o,a,u,c)=>{let d=Date.now();if(c.has(i.n0X))return s=0,l=d,2;let h=function(e,t,n,r,o){if(null===e||0===n.size&&0===r.size&&!o)return 0;let l=t._selection,s=e._selection;if(o)return 1;if(!((0,i.I2P)(l)&&(0,i.I2P)(s)&&s.isCollapsed()&&l.isCollapsed()))return 0;let a=function(e,t,n){let r=e._nodeMap,o=[];for(let e of t){let t=r.get(e);void 0!==t&&o.push(t)}for(let[e,t]of n){if(!t)continue;let n=r.get(e);void 0===n||(0,i.hVZ)(n)||o.push(n)}return o}(t,n,r);if(0===a.length)return 0;if(a.length>
11){let n=t._nodeMap,r=n.get(l.anchor.key),o=n.get(s.anchor.key);return r&&o&&!e._nodeMap.has(r.__key)&&(0,i.kFe)(r)&&1===r.__text.length&&1===l.anchor.offset?2:0}let u=a[0],c=e._nodeMap.get(u.__key);if(!(0,i.kFe)(c)||!(0,i.kFe)(u)||c.__mode!==u.__mode)return 0;let d=c.__text,h=u.__text;if(d===h)return 0;let f=l.anchor,p=s.anchor;if(f.key!==p.key||"text"!==f.type)return 0;let g=f.offset,m=p.offset,O=h.length-d.length;return 1===O&&m===g-1?2:-1===O&&m===g+1?3:4*(-1===O&&m===g)}(t,r,a,u,e.isComposing()),f=(()=>{let f=null===o||o.editor===e,p=c.has(i.bMH);if(!p&&f&&c.has(i.T40))return 0;if(null===t)return 1;let g=r._selection;return a.size>0||u.size>0?!1===p&&0!==h&&h===s&&d<l+n&&f||1===a.size&&function(e,t,n){let r=t._nodeMap.get(e),o=n._nodeMap.get(e),l=t._selection,s=n._selection;return!((0,i.I2P)(l)&&(0,i.I2P)(s)&&"element"===l.anchor.type&&"element"===l.focus.type&&"text"===s.anchor.type&&"text"===s.focus.type||!(0,i.kFe)(r)||!(0,i.kFe)(o)||r.__parent!==o.__parent)&&JSON.stringify(t.read(()=>r.exportJSON()))===JSON.stringify(n.read(()=>o.exportJSON()))}(Array.from(a)[0],t,r)?0:1:2*(null===g)})();return l=d,s=h,f});return(0,r.Sd)(e.registerCommand(i.ZKf,()=>((function(e,t){let n=t.redoStack,r=t.undoStack;if(0!==r.length){let o=t.current,l=r.pop();null!==o&&(n.push(o),e.dispatchCommand(i.WWb,!0)),0===r.length&&e.dispatchCommand(i.KfJ,!1),t.current=l||null,l&&l.editor.setEditorState(l.editorState,{tag:i.n0X})}})(e,t),!0),i.jZM),e.registerCommand(i.V30,()=>((function(e,t){let n=t.redoStack,r=t.undoStack;if(0!==n.length){let o=t.current;null!==o&&(r.push(o),e.dispatchCommand(i.KfJ,!0));let l=n.pop();0===n.length&&e.dispatchCommand(i.WWb,!1),t.current=l||null,l&&l.editor.setEditorState(l.editorState,{tag:i.n0X})}})(e,t),!0),i.jZM),e.registerCommand(i.SKc,()=>(o(t),!1),i.jZM),e.registerCommand(i.t5V,()=>(o(t),e.dispatchCommand(i.WWb,!1),e.dispatchCommand(i.KfJ,!1),!0),i.jZM),e.registerUpdateListener(({editorState:n,prevEditorState:r,dirtyLeaves:o,dirtyElements:l,tags:s})=>{let u=t.current,c=t.redoStack,d=t.undoStack,h=null===u?null:u.editorState;if(null!==u&&n===h)return;
1let f=a(r,n,u,o,l,s);if(1===f)0!==c.length&&(t.redoStack=[],e.dispatchCommand(i.WWb,!1)),null!==u&&(d.push({...u}),e.dispatchCommand(i.KfJ,!0));else if(2===f)return;t.current={editor:e,editorState:n}}))}function s(){return{current:null,redoStack:[],undoStack:[]}}},30200:(e,t,n)=>{"use strict";n.d(t,{I:()=>u});var r=n(62031),i=n(2886),o=n(6325),l=n(17415),s=n(44443),a=n(60665);let u=o.forwardRef(({title:e,children:t},n)=>{let u=(0,s.X3)(a.xZ);return o.createElement(r.Kq,{delayDuration:100},o.createElement(r.bL,null,o.createElement(r.l9,{ref:n,asChild:!0},o.createElement("span",{className:l.Ay.tooltipTrigger},t)),o.createElement(r.ZL,{container:null==u?void 0:u.current},o.createElement(r.UC,{className:i(l.Ay.tooltipContent),sideOffset:10},e))))})},30284:(e,t,n)=>{"use strict";n.d(t,{C:()=>i});let r={bold:"_bold_6j9u9_10",italic:"_italic_6j9u9_14",underline:"_underline_6j9u9_18",strikethrough:"_strikethrough_6j9u9_34",underlineStrikethrough:"_underlineStrikethrough_6j9u9_38",subscript:"_subscript_6j9u9_42",superscript:"_superscript_6j9u9_47",code:"_code_6j9u9_52",quote:"_quote_6j9u9_59",nestedListItem:"_nestedListItem_6j9u9_66",listitem:"_listitem_6j9u9_76",listItemChecked:"_listItemChecked_6j9u9_80",listItemUnchecked:"_listItemUnchecked_6j9u9_81",admonitionDanger:"_admonitionDanger_6j9u9_158",admonitionInfo:"_admonitionInfo_6j9u9_159",admonitionNote:"_admonitionNote_6j9u9_160",admonitionTip:"_admonitionTip_6j9u9_161",admonitionCaution:"_admonitionCaution_6j9u9_162"},i={quote:r.quote,text:{bold:r.bold,italic:r.italic,underline:r.underline,code:r.code,strikethrough:r.strikethrough,subscript:r.subscript,superscript:r.superscript,underlineStrikethrough:r.underlineStrikethrough},list:{listitem:r.listitem,listitemChecked:r.listItemChecked,listitemUnchecked:r.listItemUnchecked,nested:{listitem:r.nestedListItem}},admonition:{danger:r.admonitionDanger,info:r.admonitionInfo,note:r.admonitionNote,tip:r.admonitionTip,caution:r.admonitionCaution}}},30398:(e,t,n)=>{"use strict";n.r(t),n.d(t,{commonmarkLanguage:()=>eD,deleteMarkupBackward:()=>eJ,insertNewlineContinueMarkup:()=>eU,insertNewlineContinueMarkupCommand:()=>eq,markdown:()=>e1,markdownKeymap:()=>eK,markdownLanguage:()=>eV,pasteURLAsLink:()=>e9});var r,i=n(11877),o=n(84306),l=n(62221),s=n(98930),a=n(60611),u=n(87797);class c{static create(e,t,n,r,i){return new c(e,t,n,r+(r<<8)+e+(t<<4)|0,i,[],[])}constructor(e,t,n,r,i,o,l){this.type=e,this.value=t,this.from=n,this.hash=r,this.end=i,this.children=o,this.positions=l,this.hashProp=[[a.uY.contextHash,r]]}addChild(e,t){e.prop(a.uY.contextHash)!=this.hash&&(e=new a.PH(e.type,e.children,e.positions,e.length,this.hashProp)),this.children.push(e),this.positions.push(t)}toTree(e,t=this.end){let n=this.children.length-1;return n>=0&&(t=Math.max(t,this.positions[n]+this.children[n].length+this.from)),new a.PH(e.types[this.type],this.children,this.positions,t-this.from).balance({makeTree:(e,t,n)=>new a.PH(a.Z6.none,e,t,n,this.hashProp)})}}!function(e){e[e.Document=1]="Document",e[e.CodeBlock=2]="CodeBlock",e[e.FencedCode=3]="FencedCode",e[e.Blockquote=4]="Blockquote",e[e.HorizontalRule=5]="HorizontalRule",e[e.BulletList=6]="BulletList",e[e.OrderedList=7]="OrderedList",e[e.ListItem=8]="ListItem",e[e.ATXHeading1=9]="ATXHeading1",e[e.ATXHeading2=10]="ATXHeading2",e[e.ATXHeading3=11]="ATXHeading3",e[e.ATXHeading4=12]="ATXHeading4",e[e.ATXHeading5=13]="ATXHeading5",e[e.ATXHeading6=14]="ATXHeading6",e[e.SetextHeading1=15]="SetextHeading1",e[e.SetextHeading2=16]="SetextHeading2",e[e.HTMLBlock=17]="HTMLBlock",e[e.LinkReference=18]="LinkReference",e[e.Paragraph=19]="Paragraph",e[e.CommentBlock=20]="CommentBlock",e[e.ProcessingInstructionBlock=21]="ProcessingInstructionBlock",e[e.Escape=22]="Escape",e[e.Entity=23]="Entity",e[e.HardBreak=24]="HardBreak",e[e.Emphasis=25]="Emphasis",e[e.StrongEmphasis=26]="StrongEmphasis",e[e.Link=27]="Link",e[e.Image=28]="Image",e[e.InlineCode=29]="InlineCode",e[e.HTMLTag=30]="HTMLTag",e[e.Comment=31]="Comment",e[e.ProcessingInstruction=32]="ProcessingInstruction",e[e.Autolink=33]="Autolink",e[e.HeaderMark=34]="HeaderMark",e[e.QuoteMark=35]="QuoteMark",e[e.ListMark=36]="ListMark",e[e.LinkMark=37]="LinkMark",e[e.EmphasisMark=38]="EmphasisMark",e[e.CodeMar
1k=39]="CodeMark",e[e.CodeText=40]="CodeText",e[e.CodeInfo=41]="CodeInfo",e[e.LinkTitle=42]="LinkTitle",e[e.LinkLabel=43]="LinkLabel",e[e.URL=44]="URL"}(r||(r={}));class d{constructor(e,t){this.start=e,this.content=t,this.marks=[],this.parsers=[]}}class h{constructor(){this.text="",this.baseIndent=0,this.basePos=0,this.depth=0,this.markers=[],this.pos=0,this.indent=0,this.next=-1}forward(){this.basePos>this.pos&&this.forwardInner()}forwardInner(){let e=this.skipSpace(this.basePos);this.indent=this.countIndent(e,this.pos,this.indent),this.pos=e,this.next=e==this.text.length?-1:this.text.charCodeAt(e)}skipSpace(e){return m(this.text,e)}reset(e){for(this.text=e,this.baseIndent=this.basePos=this.pos=this.indent=0,this.forwardInner(),this.depth=1;this.markers.length;)this.markers.pop()}moveBase(e){this.basePos=e,this.baseIndent=this.countIndent(e,this.pos,this.indent)}moveBaseColumn(e){this.baseIndent=e,this.basePos=this.findColumn(e)}addMarker(e){this.markers.push(e)}countIndent(e,t=0,n=0){for(let r=t;r<e;r++)n+=9==this.text.charCodeAt(r)?4-n%4:1;return n}findColumn(e){let t=0;for(let n=0;t<this.text.length&&n<e;t++)n+=9==this.text.charCodeAt(t)?4-n%4:1;return t}scrub(){if(!this.baseIndent)return this.text;let e="";for(let t=0;t<this.basePos;t++)e+=" ";return e+this.text.slice(this.basePos)}}function f(e,t,n){if(n.pos==n.text.length||e!=t.block&&n.indent>=t.stack[n.depth+1].value+n.baseIndent)return!0;if(n.indent>=n.baseIndent+4)return!1;let i=(e.type==r.OrderedList?k:w)(n,t,!1);return i>0&&(e.type!=r.BulletList||0>x(n,t,!1))&&n.text.charCodeAt(n.pos+i-1)==e.value}let p={[r.Blockquote]:(e,t,n)=>62==n.next&&(n.markers.push(q(r.QuoteMark,t.lineStart+n.pos,t.lineStart+n.pos+1)),n.moveBase(n.pos+(g(n.text.charCodeAt(n.pos+1))?2:1)),e.end=t.lineStart+n.text.length,!0),[r.ListItem]:(e,t,n)=>(!(n.indent<n.baseIndent+e.value)||!(n.next>-1))&&(n.moveBaseColumn(n.baseIndent+e.value),!0),[r.OrderedList]:f,[r.BulletList]:f,[r.Document]:()=>!0};function g(e){return 32==e||9==e||10==e||13==e}function m(e,t=0){for(;t<e.length&&g(e.charCodeAt(t));)t++;return t}function O(e,t,n){for(;t>n&&g(e.charCodeAt(t-1));)t--;return t}function y(e){if(96!=e.next&&126!=e.next)return -1;let t=e.pos+1;for(;t<e.text.length&&e.text.charCodeAt(t)==e.next;)t++;if(t<e.pos+3)return -1;if(96==e.next){for(let n=t;n<e.text.length;n++)if(96==e.text.charCodeAt(n))return -1}return t}function v(e){return 62!=e.next?-1:32==e.text.charCodeAt(e.pos+1)?2:1}function x(e,t,n){if(42!=e.next&&45!=e.next&&95!=e.next)return -1;let r=1;for(let t=e.pos+1;t<e.text.length;t++){let n=e.text.charCodeAt(t);if(n==e.next)r++;else if(!g(n))return -1}return n&&45==e.next&&_(e)>-1&&e.depth==t.stack.length&&t.parser.leafBlockParsers.indexOf(Z.SetextHeading)>-1||r<3?-1:1}function b(e,t){for(let n=e.stack.length-1;n>=0;n--)if(e.stack[n].type==t)return!0;return!1}function w(e,t,n){return(45==e.next||43==e.next||42==e.next)&&(e.pos==e.text.length-1||g(e.text.charCodeAt(e.pos+1)))&&(!n||b(t,r.BulletList)||e.skipSpace(e.pos+2)<e.text.length)?1:-1}function k(e,t,n){let i=e.pos,o=e.next;for(;o>=48&&o<=57;){if(++i==e.text.length)return -1;o=e.text.charCodeAt(i)}return i==e.pos||i>e.pos+9||46!=o&&41!=o||i<e.text.length-1&&!g(e.text.charCodeAt(i+1))||n&&!b(t,r.OrderedList)&&(e.skipSpace(i+1)==e.text.length||i>e.pos+1||49!=e.next)?-1:i+1-e.pos}function S(e){if(35!=e.next)return -1;let t=e.pos+1;for(;t<e.text.length&&35==e.text.charCodeAt(t);)t++;if(t<e.text.length&&32!=e.text.charCodeAt(t))return -1;let n=t-e.pos;return n>6?-1:n}function _(e){if(45!=e.next&&61!=e.next||e.indent>=e.baseIndent+4)return -1;let t=e.pos+1;for(;t<e.text.length&&e.text.charCodeAt(t)==e.next;)t++;let n=t;for(;t<e.text.length&&g(e.text.charCodeAt(t));)t++;return t==e.text.length?n:-1}let C=/^[ \t]*$/,P=/-->/,T=/\?>/,Q=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*<!--/,P],[/^\s*<\?/,T],[/^\s*<![A-Z]/,/>/],[/^\s*<!\[CDATA\[/,/\]\]>/],[/^\s*<\/?(?: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|h1|h2|h3|h4|h5|h6|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul)(?:\s|\/?>|$)/i,C],[/^\s*(?:<\/[a-z][\w-]*\s*>|<[a-z][\w-]*(\s+[a-z:_][\w-.]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*>)\s*$/i,C]];function $(e,t,n){if(60!=e.next)return -1;let r=e.text.slice(e.pos);for(let e=0,t=Q.length-!!n;e<t;e++)if(Q[e][0].test(r))return e;return -1}function A(e,t){let n=e.countIndent(t,e.pos,e.indent),r=e.countIndent(e.skipSpace(t),t,n);return r>=n+5?n+1:r}function E(e,t,n){let i=e.length-1;i>=0&&e[i].to==t&&e[i].type==r.CodeText?e[i].to=n:e.push(q(r.CodeText,t,n))}let R={LinkReference:void 0,IndentedCode(e,t){let n=t.baseIndent+4;if(t.indent<n)return!1;let i=t.findColumn(n),o=e.lineStart+i,l=e.lineStart+t.text.length,s=[],a=[];for(E(s,o,l);e.nextLine()&&t.depth>=e.stack.length;)if(t.pos==t.text.length)for(let n of(E(a,e.lineStart-1,e.lineStart),t.markers))a.push(n);else if(t.indent<n)break;else{if(a.length){for(let e of a)e.type==r.CodeText?E(s,e.from,e.to):s.push(e);a=[]}for(let n of(E(s,e.lineStart-1,e.lineStart),t.markers))s.push(n);l=e.lineStart+t.text.length;let n=e.lineStart+t.findColumn(t.baseIndent+4);n<l&&E(s,n,l)}return a.length&&(a=a.filter(e=>e.type!=r.CodeText)).length&&(t.markers=a.concat(t.markers)),e.addNode(e.buffer.writeElements(s,-o).finish(r.CodeBlock,l-o),o),!0},FencedCode(e,t){let n=y(t);if(n<0)return!1;let i=e.lineStart+t.pos,o=t.next,l=n-t.pos,s=t.skipSpace(n),a=O(t.text,t.text.length,s),u=[q(r.CodeMar
1k,i,i+l)];s<a&&u.push(q(r.CodeInfo,e.lineStart+s,e.lineStart+a));for(let n=!0,i=!0,s=!1;e.nextLine()&&t.depth>=e.stack.length;n=!1){let a=t.pos;if(t.indent-t.baseIndent<4)for(;a<t.text.length&&t.text.charCodeAt(a)==o;)a++;if(a-t.pos>=l&&t.skipSpace(a)==t.text.length){for(let e of t.markers)u.push(e);i&&s&&E(u,e.lineStart-1,e.lineStart),u.push(q(r.CodeMark,e.lineStart+t.pos,e.lineStart+a)),e.nextLine();break}{for(let r of(s=!0,n||(E(u,e.lineStart-1,e.lineStart),i=!1),t.markers))u.push(r);let r=e.lineStart+t.basePos,o=e.lineStart+t.text.length;r<o&&(E(u,r,o),i=!1)}}return e.addNode(e.buffer.writeElements(u,-i).finish(r.FencedCode,e.prevLineEnd()-i),i),!0},Blockquote(e,t){let n=v(t);return!(n<0)&&(e.startContext(r.Blockquote,t.pos),e.addNode(r.QuoteMark,e.lineStart+t.pos,e.lineStart+t.pos+1),t.moveBase(t.pos+n),null)},HorizontalRule(e,t){if(0>x(t,e,!1))return!1;let n=e.lineStart+t.pos;return e.nextLine(),e.addNode(r.HorizontalRule,n),!0},BulletList(e,t){let n=w(t,e,!1);if(n<0)return!1;e.block.type!=r.BulletList&&e.startContext(r.BulletList,t.basePos,t.next);let i=A(t,t.pos+1);return e.startContext(r.ListItem,t.basePos,i-t.baseIndent),e.addNode(r.ListMark,e.lineStart+t.pos,e.lineStart+t.pos+n),t.moveBaseColumn(i),null},OrderedList(e,t){let n=k(t,e,!1);if(n<0)return!1;e.block.type!=r.OrderedList&&e.startContext(r.OrderedList,t.basePos,t.text.charCodeAt(t.pos+n-1));let i=A(t,t.pos+n);return e.startContext(r.ListItem,t.basePos,i-t.baseIndent),e.addNode(r.ListMark,e.lineStart+t.pos,e.lineStart+t.pos+n),t.moveBaseColumn(i),null},ATXHeading(e,t){let n=S(t);if(n<0)return!1;let i=t.pos,o=e.lineStart+i,l=O(t.text,t.text.length,i),s=l;for(;s>i&&t.text.charCodeAt(s-1)==t.next;)s--;s!=l&&s!=i&&g(t.text.charCodeAt(s-1))||(s=t.text.length);let a=e.buffer.write(r.HeaderMark,0,n).writeElements(e.parser.parseInline(t.text.slice(i+n+1,s),o+n+1),-o);s<t.text.length&&a.write(r.HeaderMark,s-i,l-i);let u=a.finish(r.ATXHeading1-1+n,t.text.length-i);return e.nextLine(),e.addNode(u,o),!0},HTMLBlock(e,t){let n=$(t,e,!1);if(n<0)return!1;let i=e.lineStart+t.pos,o=Q[n][1],l=[],s=o!=C;for(;!o.test(t.text)&&e.nextLine();){if(t.depth<e.stack.length){s=!1;break}for(let e of t.markers)l.push(e)}s&&e.nextLine();let a=o==P?r.CommentBlock:o==T?r.ProcessingInstructionBlock:r.HTMLBlock,u=e.prevLineEnd();return e.addNode(e.buffer.writeElements(l,-i).finish(a,u-i),i),!0},SetextHeading:void 0};class N{constructor(e){this.stage=0,this.elts=[],this.pos=0,this.start=e.start,this.advance(e.content)}nextLine(e,t,n){if(-1==this.stage)return!1;let r=n.content+"\n"+t.scrub(),i=this.advance(r);return i>-1&&i<r.length&&this.complete(e,n,i)}finish(e,t){return(2==this.stage||3==this.stage)&&m(t.content,this.pos)==t.content.length&&this.complete(e,t,t.content.length)}complete(e,t,n){return e.addLeafElement(t,q(r.LinkReference,this.start,this.start+n,this.elts)),!0}nextStage(e){return e?(this.pos=e.to-this.start,this.elts.push(e),this.stage++,!0):(!1===e&&(this.stage=-1),!1)}advance(e){for(;;)if(-1==this.stage)return -1;else if(0==this.stage){if(!this.nextStage(eo(e,this.pos,this.start,!0)))return -1;if(58!=e.charCodeAt(this.pos))return this.stage=-1;this.elts.push(q(r.LinkMark,this.pos+this.start,this.pos+this.start+1)),this.pos++}else if(1==this.stage){if(!this.nextStage(er(e,m(e,this.pos),this.start)))return -1}else{if(2!=this.stage)return L(e,this.pos);let t=m(e,this.pos),n=0;if(t>this.pos){let r=ei(e,t,this.start);if(r){let t=L(e,r.to-this.start);t>0&&(this.nextStage(r),n=t)}}return n||(n=L(e,this.pos)),n>0&&n<e.length?n:-1}}}function L(e,t){for(;t<e.length;t++){let n=e.charCodeAt(t);if(10==n)break;if(!g(n))return -1}return t}class M{nextLine(e,t,n){let i=t.depth<e.stack.length?-1:_(t),o=t.next;if(i<0)return!1;let l=q(r.HeaderMark,e.lineStart+t.pos,e.lineStart+i);return e.nextLine(),e.addLeafElement(n,q(61==o?r.SetextHeading1:r.SetextHeading2,n.start,e.prevLineEnd(),[...e.parser.parseInline(n.content,n.start),l])),!0}finish(){return!1}}let Z={LinkReference:(e,t)=>91==t.content.charCodeAt(0)?new N(t):null,SetextHeading:()=>new M},I={text:"",end:0};
1class j{constructor(e,t,n,i){this.parser=e,this.input=t,this.ranges=i,this.line=new h,this.atEnd=!1,this.reusePlaceholders=new Map,this.stoppedAt=null,this.rangeI=0,this.to=i[i.length-1].to,this.lineStart=this.absoluteLineStart=this.absoluteLineEnd=i[0].from,this.block=c.create(r.Document,0,this.lineStart,0,0),this.stack=[this.block],this.fragments=n.length?new eu(n,t):null,this.readLine()}get parsedPos(){return this.absoluteLineStart}advance(){if(null!=this.stoppedAt&&this.absoluteLineStart>this.stoppedAt)return this.finish();let{line:e}=this;for(;;){for(let t=0;;){let n=e.depth<this.stack.length?this.stack[this.stack.length-1]:null;for(;t<e.markers.length&&(!n||e.markers[t].from<n.end);){let n=e.markers[t++];this.addNode(n.type,n.from,n.to)}if(!n)break;this.finishContext()}if(e.pos<e.text.length)break;if(!this.nextLine())return this.finish()}if(this.fragments&&this.reuseFragment(e.basePos))return null;t:for(;;){for(let t of this.parser.blockParsers)if(t){let n=t(this,e);if(!1!=n){if(!0==n)return null;e.forward();continue t}}break}let t=new d(this.lineStart+e.pos,e.text.slice(e.pos));for(let e of this.parser.leafBlockParsers)if(e){let n=e(this,t);n&&t.parsers.push(n)}n:for(;this.nextLine()&&e.pos!=e.text.length;){if(e.indent<e.baseIndent+4){for(let n of this.parser.endLeafBlock)if(n(this,e,t))break n}for(let n of t.parsers)if(n.nextLine(this,e,t))return null;for(let n of(t.content+="\n"+e.scrub(),e.markers))t.marks.push(n)}return this.finishLeaf(t),null}stopAt(e){if(null!=this.stoppedAt&&this.stoppedAt<e)throw RangeError("Can't move stoppedAt forward");this.stoppedAt=e}reuseFragment(e){if(!this.fragments.moveTo(this.absoluteLineStart+e,this.absoluteLineStart)||!this.fragments.matches(this.block.hash))return!1;let t=this.fragments.takeNodes(this);return!!t&&(this.absoluteLineStart+=t,this.lineStart=ec(this.absoluteLineStart,this.ranges),this.moveRangeI(),this.absoluteLineStart<this.to?(this.lineStart++,this.absoluteLineStart++):this.atEnd=!0,this.readLine(),!0)}get depth(){return this.stack.length}parentType(e=this.depth-1){return this.parser.nodeSet.types[this.stack[e].type]}nextLine(){return(this.lineStart+=this.line.text.length,this.absoluteLineEnd>=this.to)?(this.absoluteLineStart=this.absoluteLineEnd,this.atEnd=!0,this.readLine(),!1):(this.lineStart++,this.absoluteLineStart=this.absoluteLineEnd+1,this.moveRangeI(),this.readLine(),!0)}peekLine(){return this.scanLine(this.absoluteLineEnd+1).text}moveRangeI(){for(;this.rangeI<this.ranges.length-1&&this.absoluteLineStart>=this.ranges[this.rangeI].to;)this.rangeI++,this.absoluteLineStart=Math.max(this.absoluteLineStart,this.ranges[this.rangeI].from)}scanLine(e){if(I.end=e,e>=this.to)I.text="";else if(I.text=this.lineChunkAt(e),I.end+=I.text.length,this.ranges.length>1){let e=this.absoluteLineStart,t=this.rangeI;for(;this.ranges[t].to<I.end;){t++;let n=this.ranges[t].from,r=this.lineChunkAt(n);I.end=n+r.length,I.text=I.text.slice(0,this.ranges[t-1].to-e)+r,e=I.end-I.text.length}}return I}readLine(){let{line:e}=this,{text:t,end:n}=this.scanLine(this.absoluteLineStart);for(this.absoluteLineEnd=n,e.reset(t);e.depth<this.stack.length;e.depth++){let t=this.stack[e.depth],n=this.parser.skipContextMarkup[t.type];if(!n)throw Error("Unhandled block context "+r[t.type]);let i=this.line.markers.length;if(!n(t,this,e)){this.line.markers.length>i&&(t.end=this.line.markers[this.line.markers.length-1].to),e.forward();break}e.forward()}}lineChunkAt(e){let t=this.input.chunk(e),n;if(this.input.lineChunks)n="\n"==t?"":t;else{let e=t.indexOf("\n");n=e<0?t:t.slice(0,e)}return e+n.length>this.to?n.slice(0,this.to-e):n}prevLineEnd(){return this.atEnd?this.lineStart:this.lineStart-1}startContext(e,t,n=0){this.block=c.create(e,n,this.lineStart+t,this.block.hash,this.lineStart+this.line.text.length),this.stack.push(this.block)}startComposite(e,t,n=0){this.startContext(this.parser.getNodeType(e),t,n)}addNode(e,t,n){"number"==typeof e&&(e=new a.PH(this.parser.nodeSet.types[e],z,z,(null!=n?n:this.prevLineEnd())-t)),this.block.addChild(e,t-this.block.from)}addElement(e){this.block.addChild(e.toTree(this.parser.nodeSet),e.from-this.block.from)}addLeafElement(e,t){this.addNode(this.buffer.writeElements(es(t.children,e.marks),-t.from).finish(t.type,t.to-t.from),t.from)}finishContext(){let e=this.stack.pop(),t=this.stack[this.stack.length-1];t.addChild(e.toTree(this.parser.nodeSet),e.from-t.from),this.block=t}finish(){for(;this.stack.length>1;)this.finishContext();return this.addGaps(this.block.toTree(this.parser.nodeSet,this.lineStart))}addGaps(e){return this.ranges.length>1?function e(t,n,r,i,o){let l=t[n].to,s=[],u=[],c=r.from+i;function d(e,r){for(;r?e>=l:e>l;){let r=t[n+1].from-l;i+=r,e+=r,l=t[++n].to}}for(let a=r.firstChild;a;a=a.nextSibling){d(a.from+i,!0);let r=a.from+i,h,f=o.get(a.tree);f?h=f:a.to+i>l?(h=e(t,n,a,i,o),d(a.to+i,!1)):h=a.toTree(),s.push(h),u.push(r-c)}return d(r.to+i,!1),new a.PH(r.type,s,u,r.to+i-c,r.tree?r.tree.propValues:void 0)}(this.ranges,0,e.topNode,this.ranges[0].from,this.reusePlaceholders):e}finishLeaf(e){for(let t of e.parsers)if(t.finish(this,e))return;let t=es(this.parser.parseInline(e.content,e.start),e.marks);this.addNode(this.buffer.writeElements(t,-e.start).finish(r.Paragraph,e.content.length),e.start)}elt(e,t,n,r){return"string"==typeof e?q(this.parser.getNodeType(e),t,n,r):new Y(e,t)}get buffer(){return new B(this.parser.nodeSet)}}class X extends a.iX{constructor(e,t,n,r,i,o,l,s,a){for(let u of(super(),this.nodeSet=e,this.blockParsers=t,this.leafBlockParsers=n,this.blockNames=r,this.endLeafBlock=i,this.skipContextMarkup=o,this.inlineParsers=l,this.inlineNames=s,this.wrappers=a,this.nodeTypes=Object.create(null),e.types))this.nodeTypes[u.name]=u.id}createParse(e,t,n){let r=new j(this,e,t,n);for(let i of this.wrappers)r=i(r,e,t,n);return r}configure(e){let t=function e(t){if(!Array.isArray(t))return t;if(0==t.length)return null;let n=e(t[0]);if(1==t.length)return n;let r=e(t.slice(1));if(!r||!n)return n||r;let i=(e,t)=>(e||z).concat(t||z),o=n.wrap,l=r.wrap;return{props:i(n.props,r.props),defineNodes:i(n.defineNodes,r.defineNodes),parseBlock:i(n.parseBlock,r.parseBlock),parseInline:i(n.parseInline,r.parseInline),remove:i(n.remove,r.remove),wrap:o?l?(e,t,n,r)=>o(l(e,t,n,r),t,n,r):o:l}}(e);if(!t)return this;let{nodeSet:n,skipContextMarkup:i}=this,o=this.blockParsers.slice(),l=this.leafBlockParsers.slice(),s=this.blockNames.slice(),c=this.inl
1ineParsers.slice(),d=this.inlineNames.slice(),h=this.endLeafBlock.slice(),f=this.wrappers;if(D(t.defineNodes)){i=Object.assign({},i);let e=n.types.slice(),o;for(let n of t.defineNodes){let{name:t,block:l,composite:s,style:c}="string"==typeof n?{name:n}:n;if(e.some(e=>e.name==t))continue;s&&(i[e.length]=(e,t,n)=>s(t,n,e.value));let d=e.length,h=s?["Block","BlockContext"]:l?d>=r.ATXHeading1&&d<=r.SetextHeading2?["Block","LeafBlock","Heading"]:["Block","LeafBlock"]:void 0;e.push(a.Z6.define({id:d,name:t,props:h&&[[a.uY.group,h]]})),c&&(o||(o={}),Array.isArray(c)||c instanceof u.vw?o[t]=c:Object.assign(o,c))}n=new a.fI(e),o&&(n=n.extend((0,u.pn)(o)))}if(D(t.props)&&(n=n.extend(...t.props)),D(t.remove))for(let e of t.remove){let t=this.blockNames.indexOf(e),n=this.inlineNames.indexOf(e);t>-1&&(o[t]=l[t]=void 0),n>-1&&(c[n]=void 0)}if(D(t.parseBlock))for(let e of t.parseBlock){let t=s.indexOf(e.name);if(t>-1)o[t]=e.parse,l[t]=e.leaf;else{let t=e.before?V(s,e.before):e.after?V(s,e.after)+1:s.length-1;o.splice(t,0,e.parse),l.splice(t,0,e.leaf),s.splice(t,0,e.name)}e.endLeaf&&h.push(e.endLeaf)}if(D(t.parseInline))for(let e of t.parseInline){let t=d.indexOf(e.name);if(t>-1)c[t]=e.parse;else{let t=e.before?V(d,e.before):e.after?V(d,e.after)+1:d.length-1;c.splice(t,0,e.parse),d.splice(t,0,e.name)}}return t.wrap&&(f=f.concat(t.wrap)),new X(n,o,l,s,h,i,c,d,f)}getNodeType(e){let t=this.nodeTypes[e];if(null==t)throw RangeError(`Unknown node type '${e}'`);return t}parseInline(e,t){let n=new el(this,e,t);r:for(let e=t;e<n.end;){let t=n.char(e);for(let r of this.inlineParsers)if(r){let i=r(n,t,e);if(i>=0){e=i;continue r}}e++}return n.resolveMarkers(0)}}function D(e){return null!=e&&e.length>0}function V(e,t){let n=e.indexOf(t);if(n<0)throw RangeError(`Position specified relative to unknown parser ${t}`);return n}let F=[a.Z6.none];for(let e=1,t;t=r[e];e++)F[e]=a.Z6.define({id:e,name:t,props:e>=r.Escape?[]:[[a.uY.group,e in p?["Block","BlockContext"]:["Block","LeafBlock"]]],top:"Document"==t});let z=[];class B{constructor(e){this.nodeSet=e,this.content=[],this.nodes=[]}write(e,t,n,r=0){return this.content.push(e,t,n,4+4*r),this}writeElements(e,t=0){for(let n of e)n.writeTo(this,t);return this}finish(e,t){return a.PH.build({buffer:this.content,nodeSet:this.nodeSet,reused:this.nodes,topID:e,length:t})}}class W{constructor(e,t,n,r=z){this.type=e,this.from=t,this.to=n,this.children=r}writeTo(e,t){let n=e.content.length;e.writeElements(this.children,t),e.content.push(this.type,this.from+t,this.to+t,e.content.length+4-n)}toTree(e){return new B(e).writeElements(this.children,-this.from).finish(this.type,this.to-this.from)}}class Y{constructor(e,t){this.tree=e,this.from=t}get to(){return this.from+this.tree.length}get type(){return this.tree.type.id}get children(){return z}writeTo(e,t){e.nodes.push(this.tree),e.content.push(e.nodes.length-1,this.from+t,this.to+t,-1)}toTree(){return this.tree}}function q(e,t,n,r){return new W(e,t,n,r)}let U={resolve:"Emphasis",mark:"EmphasisMark"},G={resolve:"Emphasis",mark:"EmphasisMark"},H={},J={};class K{constructor(e,t,n,r){this.type=e,this.from=t,this.to=n,this.side=r}}let ee="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~",et=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\u2010-\u2027]/;try{et=RegExp("[\\p{S}|\\p{P}]","u")}catch(e){}let en={Escape(e,t,n){if(92!=t||n==e.end-1)return -1;let i=e.char(n+1);for(let t=0;t<ee.length;t++)if(ee.charCodeAt(t)==i)return e.append(q(r.Escape,n,n+2));return -1},Entity(e,t,n){if(38!=t)return -1;let i=/^(?:#\d+|#x[a-f\d]+|\w+);/i.exec(e.slice(n+1,n+31));return i?e.append(q(r.Entity,n,n+1+i[0].length)):-1},InlineCode(e,t,n){if(96!=t||n&&96==e.char(n-1))return -1;let i=n+1;for(;i<e.end&&96==e.char(i);)i++;let o=i-n,l=0;for(;i<e.end;i++)if(96==e.char(i)){if(++l==o&&96!=e.char(i+1))return e.append(q(r.InlineCode,n,i+1,[q(r.CodeMark,n,n+o),q(r.CodeMark,i+1-o,i+1)]))}else l=0;return -1},HTMLTag(e,t,n){if(60!=t||n==e.end-1)return -1;let i=e.slice(n+1,e.end),o=/^(?:[a-z][-\w+.]+:[^\s>]+|[a-z\d.!#$%&'*+/=?^_`{|}~-]+@[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?(?:\.[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?)*)>/i.exec(i);if(o)return e.append(q(r.Autolink,n,n+1+o[0].length,[q(r.LinkMark,n,n+1),q(r.URL,n+1,n+o[0].length),q(r.LinkMark,n+o[0].length,n+1+o[0].length)])
1);let l=/^!--[^>](?:-[^-]|[^-])*?-->/i.exec(i);if(l)return e.append(q(r.Comment,n,n+1+l[0].length));let s=/^\?[^]*?\?>/.exec(i);if(s)return e.append(q(r.ProcessingInstruction,n,n+1+s[0].length));let a=/^(?:![A-Z][^]*?>|!\[CDATA\[[^]*?\]\]>|\/\s*[a-zA-Z][\w-]*\s*>|\s*[a-zA-Z][\w-]*(\s+[a-zA-Z:_][\w-.:]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*(\/\s*)?>)/.exec(i);return a?e.append(q(r.HTMLTag,n,n+1+a[0].length)):-1},Emphasis(e,t,n){if(95!=t&&42!=t)return -1;let r=n+1;for(;e.char(r)==t;)r++;let i=e.slice(n-1,n),o=e.slice(r,r+1),l=et.test(i),s=et.test(o),a=/\s|^$/.test(i),u=/\s|^$/.test(o),c=!u&&(!s||a||l),d=!a&&(!l||u||s);return e.append(new K(95==t?U:G,n,r,!!(c&&(42==t||!d||l))|2*!!(d&&(42==t||!c||s))))},HardBreak(e,t,n){if(92==t&&10==e.char(n+1))return e.append(q(r.HardBreak,n,n+2));if(32==t){let t=n+1;for(;32==e.char(t);)t++;if(10==e.char(t)&&t>=n+2)return e.append(q(r.HardBreak,n,t+1))}return -1},Link:(e,t,n)=>91==t?e.append(new K(H,n,n+1,1)):-1,Image:(e,t,n)=>33==t&&91==e.char(n+1)?e.append(new K(J,n,n+2,1)):-1,LinkEnd(e,t,n){if(93!=t)return -1;for(let t=e.parts.length-1;t>=0;t--){let i=e.parts[t];
1if(i instanceof K&&(i.type==H||i.type==J)){if(!i.side||e.skipSpace(i.to)==n&&!/[(\[]/.test(e.slice(n+1,n+2)))return e.parts[t]=null,-1;let o=e.takeContent(t),l=e.parts[t]=function(e,t,n,i,o){let{text:l}=e,s=e.char(o),a=o;if(t.unshift(q(r.LinkMark,i,i+(n==r.Image?2:1))),t.push(q(r.LinkMark,o-1,o)),40==s){let n=e.skipSpace(o+1),i=er(l,n-e.offset,e.offset),s;i&&(n=e.skipSpace(i.to))!=i.to&&(s=ei(l,n-e.offset,e.offset))&&(n=e.skipSpace(s.to)),41==e.char(n)&&(t.push(q(r.LinkMark,o,o+1)),a=n+1,i&&t.push(i),s&&t.push(s),t.push(q(r.LinkMark,n,a)))}else if(91==s){let n=eo(l,o-e.offset,e.offset,!1);n&&(t.push(n),a=n.to)}return q(n,i,a,t)}(e,o,i.type==H?r.Link:r.Image,i.from,n+1);if(i.type==H)for(let n=0;n<t;n++){let t=e.parts[n];t instanceof K&&t.type==H&&(t.side=0)}return l.to}}return -1}};function er(e,t,n){if(60==e.charCodeAt(t)){for(let i=t+1;i<e.length;i++){let o=e.charCodeAt(i);if(62==o)return q(r.URL,t+n,i+1+n);if(60==o||10==o)return!1}return null}{let i=0,o=t;for(let t=!1;o<e.length;o++){let n=e.charCodeAt(o);if(g(n))break;if(t)t=!1;else if(40==n)i++;else if(41==n){if(!i)break;i--}else 92==n&&(t=!0)}return o>t?q(r.URL,t+n,o+n):o==e.length&&null}}function ei(e,t,n){let i=e.charCodeAt(t);if(39!=i&&34!=i&&40!=i)return!1;let o=40==i?41:i;for(let i=t+1,l=!1;i<e.length;i++){let s=e.charCodeAt(i);if(l)l=!1;else{if(s==o)return q(r.LinkTitle,t+n,i+1+n);92==s&&(l=!0)}}return null}function eo(e,t,n,i){for(let o=!1,l=t+1,s=Math.min(e.length,l+999);l<s;l++){let s=e.charCodeAt(l);if(o)o=!1;else{if(93==s)return!i&&q(r.LinkLabel,t+n,l+1+n);if(i&&!g(s)&&(i=!1),91==s)return!1;92==s&&(o=!0)}}return null}class el{constructor(e,t,n){this.parser=e,this.text=t,this.offset=n,this.parts=[]}char(e){return e>=this.end?-1:this.text.charCodeAt(e-this.offset)}get end(){return this.offset+this.text.length}slice(e,t){return this.text.slice(e-this.offset,t-this.offset)}append(e){return this.parts.push(e),e.to}addDelimiter(e,t,n,r,i){return this.append(new K(e,t,n,!!r|2*!!i))}get hasOpenLink(){for(let e=this.parts.length-1;e>=0;e--){let t=this.parts[e];if(t instanceof K&&(t.type==H||t.type==J))return!0}return!1}addElement(e){return this.append(e)}resolveMarkers(e){for(let t=e;t<this.parts.length;t++){let n=this.parts[t];if(!(n instanceof K&&n.type.resolve&&2&n.side))continue;let r=n.type==U||n.type==G,i=n.to-n.from,o,l=t-1;for(;l>=e;l--){let e=this.parts[l];if(e instanceof K&&1&e.side&&e.type==n.type&&!(r&&(1&n.side||2&e.side)&&(e.to-e.from+i)%3==0&&((e.to-e.from)%3||i%3))){o=e;break}}if(!o)continue;let s=n.type.resolve,a=[],u=o.from,c=n.to;if(r){let e=Math.min(2,o.to-o.from,i);u=o.to-e,c=n.from+e,s=1==e?"Emphasis":"StrongEmphasis"}o.type.mark&&a.push(this.elt(o.type.mark,u,o.to));for(let e=l+1;e<t;e++)this.parts[e]instanceof W&&a.push(this.parts[e]),this.parts[e]=null;n.type.mark&&a.push(this.elt(n.type.mark,n.from,c));let d=this.elt(s,u,c,a);this.parts[l]=r&&o.from!=u?new K(o.type,o.from,u,o.side):null,(this.parts[t]=r&&n.to!=c?new K(n.type,c,n.to,n.side):null)?this.parts.splice(t,0,d):this.parts[t]=d}let t=[];for(let n=e;n<this.parts.length;n++){let e=this.parts[n];e instanceof W&&t.push(e)}return t}findOpeningDelimiter(e){for(let t=this.parts.length-1;t>=0;t--){let n=this.parts[t];if(n instanceof K&&n.type==e&&1&n.side)return t}return null}takeContent(e){let t=this.resolveMarkers(e);return this.parts.length=e,t}getDelimiterAt(e){let t=this.parts[e];return t instanceof K?t:null}skipSpace(e){return m(this.text,e-this.offset)+this.offset}elt(e,t,n,r){return"string"==typeof e?q(this.parser.getNodeType(e),t,n,r):new Y(e,t)}}function es(e,t){if(!t.length)return e;if(!e.length)return t;let n=e.slice(),r=0;for(let e of t){for(;r<n.length&&n[r].to<e.to;)r++;if(r<n.length&&n[r].from<e.from){let t=n[r];t instanceof W&&(n[r]=new W(t.type,t.from,t.to,es(t.children,[e])))}else n.splice(r++,0,e)}return n}el.linkStart=H,el.imageStart=J;let ea=[r.CodeBlock,r.ListItem,r.OrderedList,r.BulletList];class eu{constructor(e,t){this.fragments=e,this.input=t,this.i=0,this.fragment=null,this.fragmentEnd=-1,this.cursor=null,e.length&&(this.fragment=e[this.i++])}nextFragment(){this.fragment=this.i<this.fragments.length?this.fragments[this.i++]:null,this.cursor=null,this.fragmentEnd=-1}moveTo(e,t){for(;this.fragment&&this.fragment.to<=e;)this.nextFragment();if(!this.fragment||this.fragment.from>(e?e-1:0))return!1;if(this.fragmentEnd<0){let e=this.fragment.to;for(;e>0&&"\n"!=this.input.read(e-1,e);)e--;this.fragmentEnd=e?e-1:0}let n=this.cursor;n||(n=this.cursor=this.fragment.tree.cursor()).firstChild();let r=e+this.fragment.offset;for(;n.to<=r;)if(!n.parent())return!1;for(;;){if(n.from>=r)return this.fragment.from<=t;if(!n.childAfter(r))return!1}}matches(e){let t=this.cursor.tree;return t&&t.prop(a.uY.contextHash)==e}takeNodes(e){let t=this.cursor,n=this.fragment.offset,i=this.fragmentEnd-!!this.fragment.openEnd,o=e.absoluteLineStart,l=o,s=e.block.children.length,u=l,c=s;for(;;){if(t.to-n>i){if(t.type.isAnonymous&&t.firstChild())continue;break}let o=ec(t.from-n,e.ranges);if(t.to-n<=e.ranges[e.rangeI].to)e.addNode(t.tree,o);else{let n=new a.PH(e.parser.nodeSet.types[r.Paragraph],[],[],0,e.block.hashProp);e.reusePlaceholders.set(n,t.tree),e.addNode(n,o)}if(t.type.is("Block")&&(0>ea.indexOf(t.type.id)?(l=t.to-n,s=e.block.children.length):(l=u,s=c),u=t.to-n,c=e.block.children.length),!t.nextSibling())break}for(;e.block.children.length>s;)e.block.children.pop(),e.block.positions.pop();return l-o}}function ec(e,t){let n=e;for(let r=1;r<t.length;r++){let i=t[r-1].to,o=t[r].from;i<e&&(n-=o-i)}return n}let ed=(0,u.pn)({"Blockquote/...":u._A.quote,HorizontalRule:u._A.contentSeparator,"ATXHeading1/... SetextHeading1/...":u._A.heading1,"ATXHeading2/... SetextHeading2/...":u._A.heading2,"ATXHeading3/...":u._A.heading3,"ATXHeading4/...":u._A.heading4,"ATXHeading5/...":u._A.heading5,"ATXHeading6/...":u._A.heading6,"Comment CommentBlock":u._A.comment,Escape:u._A.escape,Entity:u._A.character,"Emphasis/...":u._A.emphasis,"StrongEmphasis/...":u._A.strong,"Link/... Image/...":u._A.link,"OrderedList/... BulletList/...":u._A.list,"BlockQuote/...":u._A.quote,"InlineCode CodeText":u._A.monospace,"URL Autolink":u._A.url,"HeaderMark HardBreak QuoteMark ListMark LinkMark EmphasisMark CodeMar
1k":u._A.processingInstruction,"CodeInfo LinkLabel":u._A.labelName,LinkTitle:u._A.string,Paragraph:u._A.content}),eh=new X(new a.fI(F).extend(ed),Object.keys(R).map(e=>R[e]),Object.keys(R).map(e=>Z[e]),Object.keys(R),[(e,t)=>S(t)>=0,(e,t)=>y(t)>=0,(e,t)=>v(t)>=0,(e,t)=>w(t,e,!0)>=0,(e,t)=>k(t,e,!0)>=0,(e,t)=>x(t,e,!0)>=0,(e,t)=>$(t,e,!0)>=0],p,Object.keys(en).map(e=>en[e]),Object.keys(en),[]),ef={resolve:"Strikethrough",mark:"StrikethroughMark"},ep={defineNodes:[{name:"Strikethrough",style:{"Strikethrough/...":u._A.strikethrough}},{name:"StrikethroughMark",style:u._A.processingInstruction}],parseInline:[{name:"Strikethrough",parse(e,t,n){if(126!=t||126!=e.char(n+1)||126==e.char(n+2))return -1;let r=e.slice(n-1,n),i=e.slice(n+2,n+3),o=/\s|^$/.test(r),l=/\s|^$/.test(i),s=et.test(r),a=et.test(i);return e.addDelimiter(ef,n,n+2,!l&&(!a||o||s),!o&&(!s||l||a))},after:"Emphasis"}]};function eg(e,t,n=0,r,i=0){let o=0,l=!0,s=-1,a=-1,u=!1,c=()=>{r.push(e.elt("TableCell",i+s,i+a,e.parser.parseInline(t.slice(s,a),i+s)))};for(let d=n;d<t.length;d++){let n=t.charCodeAt(d);124!=n||u?(u||32!=n&&9!=n)&&(s<0&&(s=d),a=d+1):((!l||s>-1)&&o++,l=!1,r&&(s>-1&&c(),r.push(e.elt("TableDelimiter",d+i,d+i+1))),s=a=-1),u=!u&&92==n}return s>-1&&(o++,r&&c()),o}function em(e,t){for(let n=t;n<e.length;n++){let t=e.charCodeAt(n);if(124==t)return!0;92==t&&n++}return!1}let eO=/^\|?(\s*:?-+:?\s*\|)+(\s*:?-+:?\s*)?$/;class ey{constructor(){this.rows=null}nextLine(e,t,n){if(null==this.rows){let r;if(this.rows=!1,(45==t.next||58==t.next||124==t.next)&&eO.test(r=t.text.slice(t.pos))){let i=[];eg(e,n.content,0,i,n.start)==eg(e,r,0)&&(this.rows=[e.elt("TableHeader",n.start,n.start+n.content.length,i),e.elt("TableDelimiter",e.lineStart+t.pos,e.lineStart+t.text.length)])}}else if(this.rows){let n=[];eg(e,t.text,t.pos,n,e.lineStart),this.rows.push(e.elt("TableRow",e.lineStart+t.pos,e.lineStart+t.text.length,n))}return!1}finish(e,t){return!!this.rows&&(e.addLeafElement(t,e.elt("Table",t.start,t.start+t.content.length,this.rows)),!0)}}let ev={defineNodes:[{name:"Table",block:!0},{name:"TableHeader",style:{"TableHeader/...":u._A.heading}},"TableRow",{name:"TableCell",style:u._A.content},{name:"TableDelimiter",style:u._A.processingInstruction}],parseBlock:[{name:"Table",leaf:(e,t)=>em(t.content,0)?new ey:null,endLeaf(e,t,n){if(n.parsers.some(e=>e instanceof ey)||!em(t.text,t.basePos))return!1;let r=e.peekLine();return eO.test(r)&&eg(e,t.text,t.basePos)==eg(e,r,t.basePos)},before:"SetextHeading"}]};class ex{nextLine(){return!1}finish(e,t){return e.addLeafElement(t,e.elt("Task",t.start,t.start+t.content.length,[e.elt("TaskMarker",t.start,t.start+3),...e.parser.parseInline(t.content.slice(3),t.start+3)])),!0}}let eb={defineNodes:[{name:"Task",block:!0,style:u._A.list},{name:"TaskMarker",style:u._A.atom}],parseBlock:[{name:"TaskList",leaf:(e,t)=>/^\[[ xX]\][ \t]/.test(t.content)&&"ListItem"==e.parentType().name?new ex:null,after:"SetextHeading"}]},ew=/(www\.)|(https?:\/\/)|([\w.+-]{1,100}@)|(mailto:|xmpp:)/gy,ek=/[\w-]+(\.[\w-]+)+(:\d+)?(\/[^\s<]*)?/gy,eS=/[\w-]+\.[\w-]+($|[/:])/,e_=/[\w.+-]+@[\w-]+(\.[\w.-]+)+/gy,eC=/\/[a-zA-Z\d@.]+/gy;function eP(e,t,n,r){let i=0;for(let o=t;o<n;o++)e[o]==r&&i++;return i}function eT(e,t){e_.lastIndex=t;let n=e_.exec(e);if(!n)return -1;let r=n[0][n[0].length-1];return"_"==r||"-"==r?-1:t+n[0].length-("."==r)}let eQ=[ev,eb,ep,{parseInline:[{name:"Autolink",parse(e,t,n){let r=n-e.offset;if(r&&/\w/.test(e.text[r-1]))return -1;ew.lastIndex=r;let i=ew.exec(e.text),o=-1;if(!i)return -1;if(i[1]||i[2]){if((o=function(e,t){ek.lastIndex=t;let n=ek.exec(e);if(!n||eS.exec(n[0])[0].indexOf("_")>-1)return -1;let r=t+n[0].length;for(;;){let n=e[r-1],i;if(/[?!.,:*_~]/.test(n)||")"==n&&eP(e,t,r,")")>eP(e,t,r,"("))r--;else if(";"==n&&(i=/&(?:#\d+|#x[a-f\d]+|\w+);$/.exec(e.slice(t,r))))r=t+i.index;else break}return r}(e.text,r+i[0].length))>-1&&e.hasOpenLink){let t=/([^\[\]]|\[[^\]]*\])*/.exec(e.text.slice(r,o));o=r+t[0].length}}else i[3]?o=eT(e.text,r):(o=eT(e.text,r+i[0].length))>-1&&"xmpp:"==i[0]&&(eC.lastIndex=o,(i=eC.exec(e.text))&&(o=i.index+i[0].length));return o<0?-1:(e.addElement(e.elt("URL",n,o+e.offset)),o+e.offset)}}]}];function e$(e,t,n){return(r,i,o)=>
1{if(i!=e||r.char(o+1)==e)return -1;let l=[r.elt(n,o,o+1)];for(let i=o+1;i<r.end;i++){let s=r.char(i);if(s==e)return r.addElement(r.elt(t,o,i+1,l.concat(r.elt(n,i,i+1))));if(92==s&&l.push(r.elt("Escape",i,i+++2)),g(s))break}return -1}}let eA={defineNodes:[{name:"Superscript",style:u._A.special(u._A.content)},{name:"SuperscriptMark",style:u._A.processingInstruction}],parseInline:[{name:"Superscript",parse:e$(94,"Superscript","SuperscriptMark")}]},eE={defineNodes:[{name:"Subscript",style:u._A.special(u._A.content)},{name:"SubscriptMark",style:u._A.processingInstruction}],parseInline:[{name:"Subscript",parse:e$(126,"Subscript","SubscriptMark")}]},eR={defineNodes:[{name:"Emoji",style:u._A.character}],parseInline:[{name:"Emoji",parse(e,t,n){let r;return 58==t&&(r=/^[a-zA-Z_0-9]+:/.exec(e.slice(n+1,e.end)))?e.addElement(e.elt("Emoji",n,n+1+r[0].length)):-1}}]};var eN=n(12238);let eL=(0,l.p9)({commentTokens:{block:{open:"\x3c!--",close:"--\x3e"}}}),eM=new a.uY,eZ=eh.configure({props:[l.b_.add(e=>!e.is("Block")||e.is("Document")||null!=eI(e)||function(e){return"OrderedList"==e.name||"BulletList"==e.name}(e)?void 0:(e,t)=>({from:t.doc.lineAt(e.from).to,to:e.to})),eM.add(eI),l.Oh.add({Document:()=>null}),l.iB.add({Document:eL})]});function eI(e){let t=/^(?:ATX|Setext)Heading(\d)$/.exec(e.name);return t?+t[1]:void 0}let ej=l.t.of((e,t,n)=>{for(let r=(0,l.mv)(e).resolveInner(n,-1);r&&!(r.from<t);r=r.parent){let e=r.type.prop(eM);if(null==e)continue;let t=function(e,t){let n=e;for(;;){let e=n.nextSibling,r;if(!e||null!=(r=eI(e.type))&&r<=t)break;n=e}return n.to}(r,e);if(t>n)return{from:n,to:t}}return null});function eX(e){return new l.TM(eL,e,[],"markdown")}let eD=eX(eZ),eV=eX(eZ.configure([eQ,eE,eA,eR,{props:[l.b_.add({Table:(e,t)=>({from:t.doc.lineAt(e.from).to,to:e.to})})]}]));class eF{constructor(e,t,n,r,i,o,l){this.node=e,this.from=t,this.to=n,this.spaceBefore=r,this.spaceAfter=i,this.type=o,this.item=l}blank(e,t=!0){let n=this.spaceBefore+("Blockquote"==this.node.name?">":"");if(null!=e){for(;n.length<e;)n+=" ";return n}for(let e=this.to-this.from-n.length-this.spaceAfter.length;e>0;e--)n+=" ";return n+(t?this.spaceAfter:"")}marker(e,t){let n="OrderedList"==this.node.name?String(+eB(this.item,e)[2]+t):"";return this.spaceBefore+n+this.type+this.spaceAfter}}function ez(e,t){let n=[],r=[];for(let t=e;t;t=t.parent){if("FencedCode"==t.name)return r;("ListItem"==t.name||"Blockquote"==t.name)&&n.push(t)}for(let e=n.length-1;e>=0;e--){let i=n[e],o,l=t.lineAt(i.from),s=i.from-l.from;if("Blockquote"==i.name&&(o=/^ *>( ?)/.exec(l.text.slice(s))))r.push(new eF(i,s,s+o[0].length,"",o[1],">",null));else if("ListItem"==i.name&&"OrderedList"==i.parent.name&&(o=/^( *)\d+([.)])( *)/.exec(l.text.slice(s)))){let e=o[3],t=o[0].length;e.length>=4&&(e=e.slice(0,e.length-4),t-=4),r.push(new eF(i.parent,s,s+t,o[1],e,o[2],i))}else if("ListItem"==i.name&&"BulletList"==i.parent.name&&(o=/^( *)([-+*])( {1,4}\[[ xX]\])?( +)/.exec(l.text.slice(s)))){let e=o[4],t=o[0].length;e.length>4&&(e=e.slice(0,e.length-4),t-=4);let n=o[2];o[3]&&(n+=o[3].replace(/[xX]/," ")),r.push(new eF(i.parent,s,s+t,o[1],e,n,i))}}return r}function eB(e,t){return/^(\s*)(\d+)(?=[.)])/.exec(t.sliceString(e.from,e.from+10))}function eW(e,t,n,r=0){for(let i=-1,o=e;;){if("ListItem"==o.name){let e=eB(o,t),l=+e[2];if(i>=0){if(l!=i+1)return;n.push({from:o.from+e[1].length,to:o.from+e[0].length,insert:String(i+2+r)})}i=l}let e=o.nextSibling;if(!e)break;o=e}}function eY(e,t){let n=/^[ \t]*/.exec(e)[0].length;if(!n||"	"!=t.facet(l.Xt))return e;let r=(0,i.y$)(e,4,n),o="";for(let e=r;e>0;)e>=4?(o+="	",e-=4):(o+=" ",e--);return o+e.slice(n)}let eq=(e={})=>({state:t,dispatch:n})=>{let r=(0,l.mv)(t),{doc:o}=t,s=null,a=t.changeByRange(n=>{if(!n.empty||!eV.isActiveAt(t,n.from,-1)&&!eV.isActiveAt(t,n.from,1))return s={range:n};let l=n.from,a=o.lineAt(l),u=ez(r.resolveInner(l,-1),o);for(;u.length&&u[u.length-1].from>l-a.from;)u.pop();if(!u.length)return s={range:n};let c=u[u.length-1];if(c.to-c.spaceAfter.length>l-a.from)return s={range:n};let d=l>=c.to-c.spaceAfter.length&&!/\S/.test(a.text.slice(c.to));if(c.item&&d){let n=c.node.firstChild,r=c.node.getChild("ListItem","ListItem");if(n.to>=l||r&&r.to<l||a.from>0&&!/[^\s>]/.test(o.lineAt(a.from-1).text)||!1===e.nonTightLists){let e=u.length>1?u[u.length-2]:null,t,n="";e&&e.item?(t=a.from+e.from,n=e.marker(o,1)):t=a.from+(e?e.to:0);let r=[{from:t,to:l,insert:n}];return"OrderedList"==c.node.name&&eW(c.item,o,r,-2),e&&"OrderedList"==e.node.name&&eW(e.item,o,r),{range:i.OF.cursor(t+n.length),changes:r}}{let e=eH(u,t,a);return{range:i.OF.cursor(l+e.length+1),changes:{from:a.from,insert:e+t.lineBreak}}}}if("Blockquote"==c.node.name&&d&&a.from){let e=o.lineAt(a.from-1),r=/>\s*$/.exec(e.text);if(r&&r.index==c.from){let i=t.changes([{from:e.from+r.index,to:e.to},{from:a.from+c.from,to:a.to}]);return{range:n.map(i),changes:i}}}let h=[];"OrderedList"==c.node.name&&eW(c.item,o,h);let f=c.item&&c.item.from<a.from,p="";if(!f||/^[\s\d.)\-+*>]*/.exec(a.text)[0].length>=c.to)for(let e=0,t=u.length-1;e<=t;e++)p+=e!=t||f?u[e].blank(e<t?(0,i.y$)(a.text,4,u[e+1].from)-p.length:null):u[e].marker(o,1);let g=l;for(;g>a.from&&/\s/.test(a.text.charAt(g-a.from-1));)g--;return p=eY(p,t),function(e,t){if("OrderedList"!=e.name&&"BulletList"!=e.name)return!1;let n=e.firstChild,r=e.getChild("ListItem","ListItem");if(!r)return!1;let i=t.lineAt(n.to),o=t.lineAt(r.from),l=/^[\s>]*$/.test(i.text);return i.number+ +!l<o.number}(c.node,t.doc)&&(p=eH(u,t,a)+t.lineBreak+p),h.push({from:g,to:l,insert:t.lineBreak+p}),{range:i.OF.cursor(g+p.length+1),changes:h}});return!s&&(n(t.update(a,{scrollIntoView:!0,userEvent:"input"})),!0)},eU=eq();function eG(e){return"QuoteMark"==e.name||"ListMark"==e.name}function eH(e,t,n){let r="";for(let t=0,o=e.length-2;t<=o;t++)r+=e[t].blank(t<o?(0,i.y$)(n.text,4,e[t+1].from)-r.length:null,t<o);return eY(r,t)}let eJ=({state:e,dispatch:t})=>{let n=(0,l.mv)(e),r=null,o=e.changeByRange(t=>{let o=t.from,{doc:l}=e;if(t.empty&&eV.isActiveAt(e,t.from)){let t=l.lineAt(o),r=ez(function(e,t){let n=e.resolveInner(t,-1),r=t;eG(n)&&(r=n.from,n=n.parent);for(let e;e=n.childBefore(r);)if(eG(e))r=e.from;
1else if("OrderedList"==e.name||"BulletList"==e.name)r=(n=e.lastChild).to;else break;return n}(n,o),l);if(r.length){let n=r[r.length-1],l=n.to-n.spaceAfter.length+ +!!n.spaceAfter;if(o-t.from>l&&!/\S/.test(t.text.slice(l,o-t.from)))return{range:i.OF.cursor(t.from+l),changes:{from:t.from+l,to:o}};if(o-t.from==l&&(!n.item||t.from<=n.item.from||!/\S/.test(t.text.slice(0,n.to)))){let r=t.from+n.from;if(n.item&&n.node.from<n.item.from&&/\S/.test(t.text.slice(n.from,n.to))){let o=n.blank((0,i.y$)(t.text,4,n.to)-(0,i.y$)(t.text,4,n.from));return r==t.from&&(o=eY(o,e)),{range:i.OF.cursor(r+o.length),changes:{from:r,to:t.from+n.to,insert:o}}}if(r<o)return{range:i.OF.cursor(r),changes:{from:r,to:o}}}}}return r={range:t}});return!r&&(t(e.update(o,{scrollIntoView:!0,userEvent:"delete"})),!0)},eK=[{key:"Enter",run:eU},{key:"Backspace",run:eJ}],e0=(0,eN.html)({matchClosingTags:!1});function e1(e={}){var t;let{codeLanguages:n,defaultCodeLanguage:s,addKeymap:u=!0,base:{parser:c}=eD,completeHTMLTags:d=!0,pasteURLAsLink:h=!0,htmlTagLanguage:f=e0}=e;if(!(c instanceof X))throw RangeError("Base parser provided to `markdown` should be a Markdown parser");let p=e.extensions?[e.extensions]:[],g=[f.support,ej],m;h&&g.push(e9),s instanceof l.Yy?(g.push(s.support),m=s.language):s&&(m=s);let O=n||m?(t=m,e=>{if(e&&n){let t=null;if(e=/\S*/.exec(e)[0],(t="function"==typeof n?n(e):l.t$.matchLanguageName(n,e,!0))instanceof l.t$)return t.support?t.support.language.parser:l.nq.getSkippingParser(t.load());if(t)return t.parser}return t?t.parser:null}):void 0;p.push(function(e){let{codeParser:t,htmlParser:n}=e;return{wrap:(0,a.$g)((e,i)=>{let o=e.type.id;if(t&&(o==r.CodeBlock||o==r.FencedCode)){let n="";if(o==r.FencedCode){let t=e.node.getChild(r.CodeInfo);t&&(n=i.read(t.from,t.to))}let l=t(n);if(l)return{parser:l,overlay:e=>e.type.id==r.CodeText,bracketed:o==r.FencedCode}}else if(n&&(o==r.HTMLBlock||o==r.HTMLTag||o==r.CommentBlock))return{parser:n,overlay:function(e,t,n){let r=[];for(let i=e.firstChild,o=t;;i=i.nextSibling){let e=i?i.from:n;if(e>o&&r.push({from:o,to:e}),!i)break;o=i.to}return r}(e.node,e.from,e.to)};return null})}}({codeParser:O,htmlParser:f.language.parser})),u&&g.push(i.Nb.high(o.w4.of(eK)));let y=eX(c.configure(p));return d&&g.push(y.data.of({autocomplete:e5})),new l.Yy(y,g)}function e5(e){let{state:t,pos:n}=e,r=/<[:\-\.\w\u00b7-\uffff]*$/.exec(t.sliceDoc(n-25,n));if(!r)return null;let o=(0,l.mv)(t).resolveInner(n,-1);for(;o&&!o.type.isTop;){if("CodeBlock"==o.name||"FencedCode"==o.name||"ProcessingInstructionBlock"==o.name||"CommentBlock"==o.name||"Link"==o.name||"Image"==o.name)return null;o=o.parent}return{from:n-r[0].length,to:n,options:function(){if(e2)return e2;let e=(0,eN.htmlCompletionSource)(new s._5(i.$t.create({extensions:e0}),0,!0));return e2=e?e.options:[]}(),validFor:/^<[:\-\.\w\u00b7-\uffff]*$/}}let e2=null,e3=/code|horizontalrule|html|link|comment|processing|escape|entity|image|mark|url/i,e9=o.Lz.domEventHandlers({paste:(e,t)=>{var n;let{main:r}=t.state.selection;if(r.empty)return!1;let i=null==(n=e.clipboardData)?void 0:n.getData("text/plain");if(!i||!/^(https?:\/\/|mailto:|xmpp:|www\.)/.test(i)||(/^www\./.test(i)&&(i="https://"+i),!eV.isActiveAt(t.state,r.from,1)))return!1;let o=(0,l.mv)(t.state),s=!1;return o.iterate({from:r.from,to:r.to,enter:e=>{(e.from>r.from||e3.test(e.name))&&(s=!0)},leave:e=>{e.to<r.to&&(s=!0)}}),!s&&(t.dispatch({changes:[{from:r.from,insert:"["},{from:r.to,insert:`](${i})`}],userEvent:"input.paste",scrollIntoView:!0}),!0)}})},36067:(e,t,n)=>{"use strict";n.d(t,{jH:()=>o});var r=n(6325);n(64177);var i=r.createContext(void 0);function o(e){let t=r.useContext(i);return e||t||"ltr"}},36343:(e,t,n)=>{"use strict";n.d(t,{vk:()=>d,oe:()=>h,Sd:()=>c});var r=n(80888);let i={testLexicalNode:r.zW,visitLexicalNode:({lexicalNode:e,actions:t})=>{t.addAndStepInto("code",{value:e.getCode(),lang:e.getLanguage(),meta:e.getMeta()})}};var o=n(1029);let l={testNode:(e,{codeBlockEditorDescriptors:t,defaultCodeBlockLanguage:n})=>"code"===e.type&&void 0!==(0,o.H)(t,e.lang,e.meta,n),visitNode({mdastNode:e,actions:t}){t.addAndStepInto((0,r.ni)({code:e.value,language:e.lang??"",meta:e.meta??""}))}};var s=n(60665),a=n(44443),u=n(7814);let c=(0,a.HN)(e=>
1{e.link(e.pipe(c,(0,a.EY)(s.uf),(0,a.Tj)(([e,t])=>()=>(0,r.ni)({language:t,...e}))),s.p3)}),d=(0,s.w8)(s.Wd),h=(0,u.Z)({update(e,t){e.pub(s.uf,(null==t?void 0:t.defaultCodeBlockLanguage)??"")},init(e,t){e.pubIn({[s.$0]:"codeblock",[s.uf]:(null==t?void 0:t.defaultCodeBlockLanguage)??"",[s.Wd]:(null==t?void 0:t.codeBlockEditorDescriptors)??[],[s.R1]:l,[s.q]:r.Vy,[s.iI]:i})}})},36709:(e,t,n)=>{"use strict";n.d(t,{N:()=>i});var r=n(6325),i=globalThis?.document?r.useLayoutEffect:()=>{}},36744:(e,t,n)=>{"use strict";n.d(t,{K:()=>a});var r=n(60665),i=n(44443),o=n(6325),l=n(17415),s=n(88732);let a=({children:e,SourceToolbar:t,options:n=["rich-text","diff","source"]})=>{let[a,u]=(0,i.uX)(r.n$,r.yr),c=(0,i.qM)(r.n$),d=(0,r.Bd)(),h=[];return n.includes("rich-text")&&h.push({title:d("toolbar.richText","Rich text"),contents:u("rich_text"),value:"rich-text"}),n.includes("diff")&&h.push({title:d("toolbar.diffMode","Diff mode"),contents:u("difference"),value:"diff"}),n.includes("source")&&h.push({title:d("toolbar.source","Source mode"),contents:u("markdown"),value:"source"}),o.createElement(o.Fragment,null,"rich-text"===a?e:"diff"===a?o.createElement("span",{className:l.Ay.toolbarTitleMode},d("toolbar.diffMode","Diff mode")):t??o.createElement("span",{className:l.Ay.toolbarTitleMode},d("toolbar.source","Source mode")),o.createElement("div",{className:l.Ay.diffSourceToggleWrapper},o.createElement(s.fp,{className:l.Ay.diffSourceToggle,ggClassName:l.Ay.ggDiffSourceToggle,value:a,items:h,onChange:e=>{c(""===e?"rich-text":e)}})))}},37205:(e,t,n)=>{"use strict";n.d(t,{oQ:()=>o,qx:()=>r,sY:()=>i});let r="undefined"!=typeof window&&void 0!==window.document.createElement,i=r&&(()=>{var e;let t=null==(e=navigator.userAgentData)?void 0:e.platform;return t?/mac/i.test(t):/Mac|iPod|iPhone|iPad/.test(navigator.userAgent)})();function o(e,t){return i?e:t}},38266:()=>{Prism.languages.c=Prism.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),Prism.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),Prism.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},Prism.languages.c.string],char:Prism.languages.c.char,comment:Prism.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:Prism.languages.c}}}}),Prism.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete Prism.languages.c.boolean},38716:(e,t,n)=>{"use strict";n.d(t,{Dc:()=>a,TL:()=>l});var r=n(6325),i=n(5966),o=n(64177);function l(e){let t=function(e){let t=r.forwardRef((e,t)=>{let{children:n,...o}=e;if(r.isValidElement(n)){var l;let e,s,a=(l=n,(s=(e=Object.getOwnPropertyDescriptor(l.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?l.ref:(s=(e=Object.getOwnPropertyDescriptor(l,"ref")?.get)&&"isReactWarning"in e&&e.
1isReactWarning)?l.props.ref:l.props.ref||l.ref),u=function(e,t){let n={...t};for(let r in t){let i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...e)=>{let t=o(...e);return i(...e),t}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}(o,n.props);return n.type!==r.Fragment&&(u.ref=t?(0,i.t)(t,a):a),r.cloneElement(n,u)}return r.Children.count(n)>1?r.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),n=r.forwardRef((e,n)=>{let{children:i,...l}=e,s=r.Children.toArray(i),a=s.find(u);if(a){let e=a.props.children,i=s.map(t=>t!==a?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,o.jsx)(t,{...l,ref:n,children:r.isValidElement(e)?r.cloneElement(e,void 0,i):null})}return(0,o.jsx)(t,{...l,ref:n,children:i})});return n.displayName=`${e}.Slot`,n}var s=Symbol("radix.slottable");function a(e){let t=({children:e})=>(0,o.jsx)(o.Fragment,{children:e});return t.displayName=`${e}.Slottable`,t.__radixId=s,t}function u(e){return r.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===s}},38765:(e,t,n)=>{"use strict";n.d(t,{O:()=>P});var r=n(6325),i=n(88688);let o={testNode:"link",visitNode({mdastNode:e,actions:t}){t.addAndStepInto((0,i.zA)(e.url,{title:e.title}))}},l={testLexicalNode:i.FJ,visitLexicalNode:({lexicalNode:e,actions:t})=>{t.addAndStepInto("link",{url:e.getURL(),title:e.getTitle()})}};var s=n(14725),a=n(6105),u=n(84544);function c({validateUrl:e,attributes:t}){let[n]=(0,s.DF)();return(0,r.useEffect)(()=>{if(!n.hasNodes([i.Db]))throw Error("LinkPlugin: LinkNode not registered on editor");return(0,a.Sd)(n.registerCommand(i.yW,n=>{if(null===n)return(0,i.hx)(n),!0;if("string"==typeof n)return!(void 0!==e&&!e(n))&&((0,i.hx)(n,t),!0);{let{url:e,target:r,rel:o,title:l}=n;return(0,i.hx)(e,{...t,rel:o,target:r,title:l}),!0}},u.AcJ),void 0!==e?n.registerCommand(u.waI,r=>{let o=(0,u.vJq)();if(!(0,u.I2P)(o)||o.isCollapsed()||!(0,a.xj)(r,ClipboardEvent)||null===r.clipboardData)return!1;let l=r.clipboardData.getData("text");return!!e(l)&&!o.getNodes().some(e=>(0,u.ff4)(e))&&(n.dispatchCommand(i.yW,{...t,url:l}),r.preventDefault(),!0)},u.AcJ):()=>{})},[n,e,t]),null}function d(e,t=e=>e){return n=>{let r=e.exec(n);return null===r?null:{index:r.index,length:r[0].length,text:r[0],url:t(r[0])}}}function h(e,t){for(let n=0;n<t.length;n++){let r=t[n](e);if(r)return r}return null}let f=/[.,;\s]/;function p(e){return f.test(e)}function g(e){return p(e[e.length-1])}function m(e){let t=e.getPreviousSibling();return(0,u.ff4)(t)&&(t=t.getLastDescendant()),null===t||(0,u.wH$)(t)||(0,u.kFe)(t)&&g(t.getTextContent())}function O(e){let t=e.getNextSibling();return(0,u.ff4)(t)&&(t=t.getFirstDescendant()),null===t||(0,u.wH$)(t)||(0,u.kFe)(t)&&p(t.getTextContent()[0])}function y(e,t,n){let r=e.getChildren(),i=r.length;for(let t=0;t<i;t++){let i=r[t];if(!(0,u.kFe)(i)||!i.isSimpleText())return v(e),void n(null,e.getURL())}let o=e.getTextContent(),l=h(o,t);if(null===l||l.text!==o||!m(e)||!O(e))return v(e),void n(null,e.getURL());let s=e.getURL();if(s!==l.url&&(e.setURL(l.url),n(l.url,s)),l.attributes){let t=e.getRel();t!==l.attributes.rel&&(e.setRel(l.attributes.rel||null),n(l.attributes.rel||null,t));let r=e.getTarget();r!==l.attributes.target&&(e.setTarget(l.attributes.target||null),n(l.attributes.target||null,r))}}function v(e){let t=e.getChildren();for(let n=t.length-1;n>=0;n--)e.insertAfter(t[n]);return e.remove(),t.map(e=>e.getLatest())}function x({matchers:e,onChange:t}){let[n]=(0,s.DF)();return(0,r.useEffect)(()=>{n.hasNodes([i.k_])||function(e,...t){let n=new URL("https://lexical.dev/docs/error"),r=new URLSearchParams;for(let e of(r.append("code",77),t))r.append("v",e);throw n.search=r.toString(),Error(`Minified Lexical error #${77}; visit ${n.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}(77);let r=(e,n)=>{t&&t(e,n)};return(0,a.Sd)(n.registerNodeTransform(u.Ey8,t=>{let n=t.getParentOrThrow(),o=t.getPreviousSibling();if((0,i.iK)(n)&&!n.getIsUnlinked())y(n,e,r);else if(!(0,i.FJ)(n)){t.isSimpleText()&&(p(t.getTextContent()[0])||!(0,i.iK)(o)
1)&&function(e,t,n){let r=[...e],o=r.map(e=>e.getTextContent()).join(""),l,s=o,a=0;for(;(l=h(s,t))&&null!==l;){var c,d,f;let e=l.index,t=e+l.length;if(c=a+e,d=a+t,f=r,(c>0?p(o[c-1]):m(f[0]))&&(d<o.length?p(o[d]):O(f[f.length-1]))){let[o,,s,c]=function(e,t,n){let r=[],i=[],o=[],l=0,s=0,a=[...e];for(;a.length>0;){let e=a[0],u=e.getTextContent().length,c=s;s+u<=t?(r.push(e),l+=u):c>=n?o.push(e):i.push(e),s+=u,a.shift()}return[l,r,i,o]}(r,a+e,a+t),d=function(e,t,n,r){let o=(0,i.Yh)(r.url,r.attributes);if(1===e.length){let i,l=e[0];0===t?[i,l]=l.splitText(n):[,i,l]=l.splitText(t,n);let s=(0,u.sTu)(r.text);return s.setFormat(i.getFormat()),s.setDetail(i.getDetail()),s.setStyle(i.getStyle()),o.append(s),i.replace(o),l}if(e.length>1){let r,i=e[0],l,s=i.getTextContent().length;0===t?l=i:[,l]=i.splitText(t);let a=[];for(let t=1;t<e.length;t++){let i=e[t],o=i.getTextContent().length,l=s;if(l<n)if(s+o<=n)a.push(i);else{let[e,t]=i.splitText(n-l);a.push(e),r=t}s+=o}let c=(0,u.vJq)(),d=c?c.getNodes().find(u.kFe):void 0,h=(0,u.sTu)(l.getTextContent());return h.setFormat(l.getFormat()),h.setDetail(l.getDetail()),h.setStyle(l.getStyle()),o.append(h,...a),d&&d===l&&((0,u.I2P)(c)?h.select(c.anchor.offset,c.focus.offset):(0,u.RTZ)(c)&&h.select(0,h.getTextContent().length)),l.replace(o),r}}(s,a+e-o,a+t-o,l);r=d?[d,...c]:c,n(l.url,null),a=0}else a+=t;s=s.substring(t)}}(function(e){let t=[e],n=e.getNextSibling();for(;null!==n&&(0,u.kFe)(n)&&n.isSimpleText()&&(t.push(n),!/[\s]/.test(n.getTextContent()));)n=n.getNextSibling();return t}(t),e,r);var l=t,s=e,a=r;let n=l.getPreviousSibling(),c=l.getNextSibling(),d=l.getTextContent();!(0,i.iK)(n)||n.getIsUnlinked()||p(d[0])&&!(n.isEmailURI()?/^\.[a-zA-Z]{2,}/.test(d):/^\.[a-zA-Z0-9]{1,}/.test(d))||(n.append(l),y(n,s,a),a(null,n.getURL())),!(0,i.iK)(c)||c.getIsUnlinked()||g(d)||(v(c),y(c,s,a),a(null,c.getURL()))}}),n.registerCommand(i.yW,e=>{let t=(0,u.vJq)();return null===e&&!!(0,u.I2P)(t)&&(t.extract().forEach(e=>{let t=e.getParent();(0,i.iK)(t)&&(t.setIsUnlinked(!t.getIsUnlinked()),t.markDirty())}),!1)},u.AcJ))},[n,e,t]),null}let b=[d(/((https?:\/\/(www\.)?)|(www\.))[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_+.~#?&//=]*)/,e=>e.startsWith("http")?e:`https://${e}`),d(/(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))/,e=>`mailto:${e}`)],w=()=>r.createElement(x,{matchers:b});var k=n(44443),S=n(7814),_=n(60665);let C=(0,k.fh)(!1),P=(0,S.Z)({init(e,t){let n=!!(null==t?void 0:t.disableAutoLink),s=(null==t?void 0:t.validateUrl)?{validateUrl:t.validateUrl}:{},a=()=>r.createElement(r.Fragment,null,r.createElement(c,{...s}),n?null:r.createElement(w,null));e.pubIn({[_.$0]:"link",[_.R1]:o,[_.q]:[i.Db,i.k_],[_.iI]:l,[C]:n,[_.Id]:a,[_.dH]:a,[_.aC]:a})}})},40640:(e,t,n)=>{"use strict";n.d(t,{oQ:()=>eR});var r=n(84306),i=n(11877),o=n(62221),l=n(85803),s=n(23725);let a="function"==typeof String.prototype.normalize?e=>e.normalize("NFKD"):e=>e;class u{constructor(e,t,n=0,r=e.length,i,o){this.test=o,this.value={from:0,to:0,precise:!1},this.done=!1,this.matches=[],this.buffer="",this.bufferPos=0,this.iter=e.iterRange(n,r),this.bufferStart=n,this.normalize=i?e=>i(a(e)):a,this.query=this.normalize(t)}peek(){if(this.bufferPos==this.buffer.length){if(this.bufferStart+=this.buffer.length,this.iter.next(),this.iter.done)return -1;this.bufferPos=0,this.buffer=this.iter.value}return(0,i.vS)(this.buffer,this.bufferPos)}next(){for(;this.matches.length;)this.matches.pop();return this.nextOverlapping()}nextOverlapping(){for(;;){let e=this.peek();if(e<0)return this.done=!0,this;let t=(0,i.MK)(e),n=this.bufferStart+this.bufferPos;this.bufferPos+=(0,i.Fh)(e);let r=this.normalize(t);if(r.length)for(let e=0,i=n,o=!0;;e++){let n=r.charCodeAt(e),l=this.match(n,i,o,this.bufferPos+this.bufferStart,e==r.length-1);if(l)return this.value=l,this;if(e==r.length-1)break;o&&e<t.length&&t.charCodeAt(e)==n?i++:o=!1}}}match(e,t,n,r,i){let o=null;for(let t=0;t<this.matches.length;){let n=this.matches[t],l=!1;this.query.charCodeAt(n.index)==e&&(n.index==this.query.length-1?o={from:n.from,to:r,precise:i&&n.precise}:(n.index++,l=!0)),l?t++:this.matches.splice(t,1)}
1return this.query.charCodeAt(0)==e&&(1==this.query.length?o={from:t,to:r,precise:n&&i}:this.matches.push({from:t,index:1,precise:n})),o&&this.test&&!this.test(o.from,o.to,this.buffer,this.bufferStart)&&(o=null),o}}"undefined"!=typeof Symbol&&(u.prototype[Symbol.iterator]=function(){return this});let c={from:-1,to:-1,match:/.*/.exec(""),precise:!0},d="gm"+(null==/x/.unicode?"":"u");class h{constructor(e,t,n,r=0,i=e.length){if(this.text=e,this.to=i,this.curLine="",this.done=!1,this.value=c,/\\[sWDnr]|\n|\r|\[\^/.test(t))return new g(e,t,n,r,i);this.re=new RegExp(t,d+((null==n?void 0:n.ignoreCase)?"i":"")),this.test=null==n?void 0:n.test,this.iter=e.iter();let o=e.lineAt(r);this.curLineStart=o.from,this.matchPos=m(e,r),this.getLine(this.curLineStart)}getLine(e){this.iter.next(e),this.iter.lineBreak?this.curLine="":(this.curLine=this.iter.value,this.curLineStart+this.curLine.length>this.to&&(this.curLine=this.curLine.slice(0,this.to-this.curLineStart)),this.iter.next())}nextLine(){this.curLineStart=this.curLineStart+this.curLine.length+1,this.curLineStart>this.to?this.curLine="":this.getLine(0)}next(){for(let e=this.matchPos-this.curLineStart;;){this.re.lastIndex=e;let t=this.matchPos<=this.to&&this.re.exec(this.curLine);if(t){let n=this.curLineStart+t.index,r=n+t[0].length;if(this.matchPos=m(this.text,r+ +(n==r)),n==this.curLineStart+this.curLine.length&&this.nextLine(),(n<r||n>this.value.to)&&(!this.test||this.test(n,r,t)))return this.value={from:n,to:r,precise:!0,match:t},this;e=this.matchPos-this.curLineStart}else{if(!(this.curLineStart+this.curLine.length<this.to))return this.done=!0,this;this.nextLine(),e=0}}}}let f=new WeakMap;class p{constructor(e,t){this.from=e,this.text=t}get to(){return this.from+this.text.length}static get(e,t,n){let r=f.get(e);if(!r||r.from>=n||r.to<=t){let r=new p(t,e.sliceString(t,n));return f.set(e,r),r}if(r.from==t&&r.to==n)return r;let{text:i,from:o}=r;return o>t&&(i=e.sliceString(t,o)+i,o=t),r.to<n&&(i+=e.sliceString(r.to,n)),f.set(e,new p(o,i)),new p(t,i.slice(t-o,n-o))}}class g{constructor(e,t,n,r,i){this.text=e,this.to=i,this.done=!1,this.value=c,this.matchPos=m(e,r),this.re=new RegExp(t,d+((null==n?void 0:n.ignoreCase)?"i":"")),this.test=null==n?void 0:n.test,this.flat=p.get(e,r,this.chunkEnd(r+5e3))}chunkEnd(e){return e>=this.to?this.to:this.text.lineAt(e).to}next(){for(;;){let e=this.re.lastIndex=this.matchPos-this.flat.from,t=this.re.exec(this.flat.text);if(t&&!t[0]&&t.index==e&&(this.re.lastIndex=e+1,t=this.re.exec(this.flat.text)),t){let e=this.flat.from+t.index,n=e+t[0].length;if((this.flat.to>=this.to||t.index+t[0].length<=this.flat.text.length-10)&&(!this.test||this.test(e,n,t)))return this.value={from:e,to:n,precise:!0,match:t},this.matchPos=m(this.text,n+ +(e==n)),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=p.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+2*this.flat.text.length))}}}function m(e,t){if(t>=e.length)return t;let n=e.lineAt(t),r;for(;t<n.to&&(r=n.text.charCodeAt(t-n.from))>=56320&&r<57344;)t++;return t}"undefined"!=typeof Symbol&&(h.prototype[Symbol.iterator]=g.prototype[Symbol.iterator]=function(){return this});let O={highlightWordAroundCursor:!1,minSelectionLength:1,maxMatches:100,wholeWords:!1},y=i.sj.define({combine:e=>(0,i.QR)(e,O,{highlightWordAroundCursor:(e,t)=>e||t,minSelectionLength:Math.min,maxMatches:Math.min})}),v=r.NZ.mark({class:"cm-selectionMatch"}),x=r.NZ.mark({class:"cm-selectionMatch cm-selectionMatch-main"});function b(e,t,n,r){return(0==n||e(t.sliceDoc(n-1,n))!=i.Je.Word)&&(r==t.doc.length||e(t.sliceDoc(r,r+1))!=i.Je.Word)}let w=r.Z9.fromClass(class{constructor(e){this.decorations=this.getDeco(e)}update(e){(e.selectionSet||e.docChanged||e.viewportChanged)&&(this.decorations=this.getDeco(e.view))}getDeco(e){let t=e.state.facet(y),{state:n}=e,o=n.selection;if(o.ranges.length>1)return r.NZ.none;let l=o.main,s,a=null;if(l.empty){if(!t.highlightWordAroundCursor)return r.NZ.none;let e=n.wordAt(l.head);if(!e)return r.NZ.none;a=n.charCategorizer(l.head),s=n.sliceDoc(e.from,e.to)}else{let e=l.to-l.from;if(e<t.minSelectionLength||e>
1200)return r.NZ.none;if(t.wholeWords){var c,d,h;if(s=n.sliceDoc(l.from,l.to),!(b(a=n.charCategorizer(l.head),n,l.from,l.to)&&(c=a,d=l.from,h=l.to,c(n.sliceDoc(d,d+1))==i.Je.Word&&c(n.sliceDoc(h-1,h))==i.Je.Word)))return r.NZ.none}else if(!(s=n.sliceDoc(l.from,l.to)))return r.NZ.none}let f=[];for(let i of e.visibleRanges){let e=new u(n.doc,s,i.from,i.to);for(;!e.next().done;){let{from:i,to:o}=e.value;if((!a||b(a,n,i,o))&&(l.empty&&i<=l.from&&o>=l.to?f.push(x.range(i,o)):(i>=l.to||o<=l.from)&&f.push(v.range(i,o)),f.length>t.maxMatches))return r.NZ.none}}return r.NZ.set(f)}},{decorations:e=>e.decorations}),k=r.Lz.baseTheme({".cm-selectionMatch":{backgroundColor:"#99ff7780"},".cm-searchMatch .cm-selectionMatch":{backgroundColor:"transparent"}}),S=i.sj.define({combine:e=>(0,i.QR)(e,{top:!1,caseSensitive:!1,literal:!1,regexp:!1,wholeWord:!1,createPanel:e=>new K(e),scrollToMatch:e=>r.Lz.scrollIntoView(e)})});class _{constructor(e){this.search=e.search,this.caseSensitive=!!e.caseSensitive,this.literal=!!e.literal,this.regexp=!!e.regexp,this.replace=e.replace||"",this.valid=!!this.search&&(!this.regexp||function(e){try{return new RegExp(e,d),!0}catch(e){return!1}}(this.search)),this.unquoted=this.unquote(this.search),this.wholeWord=!!e.wholeWord,this.test=e.test}unquote(e){return this.literal?e:e.replace(/\\([nrt\\])/g,(e,t)=>"n"==t?"\n":"r"==t?"\r":"t"==t?"	":"\\")}eq(e){return this.search==e.search&&this.replace==e.replace&&this.caseSensitive==e.caseSensitive&&this.regexp==e.regexp&&this.wholeWord==e.wholeWord&&this.test==e.test}create(){return this.regexp?new E(this):new T(this)}getCursor(e,t=0,n){let r=e.doc?e:i.$t.create({doc:e});return null==n&&(n=r.doc.length),this.regexp?Q(this,r,t,n):P(this,r,t,n)}}class C{constructor(e){this.spec=e}}function P(e,t,n,r){var o,l,s,a;let c;return e.wholeWord&&(s=t.doc,a=t.charCategorizer(t.selection.main.head),c=(e,t,n,r)=>((r>e||r+n.length<t)&&(r=Math.max(0,e-2),n=s.sliceString(r,Math.min(s.length,t+2))),(a($(n,e-r))!=i.Je.Word||a(A(n,e-r))!=i.Je.Word)&&(a(A(n,t-r))!=i.Je.Word||a($(n,t-r))!=i.Je.Word))),e.test&&(o=e.test,l=c,c=(e,n,r,i)=>(!l||!!l(e,n,r,i))&&o(e>=i&&n<=i+r.length?r.slice(e-i,n-i):t.doc.sliceString(e,n),t,e,n)),new u(t.doc,e.unquoted,n,r,e.caseSensitive?void 0:e=>e.toLowerCase(),c)}class T extends C{constructor(e){super(e)}nextMatch(e,t,n){let r=P(this.spec,e,n,e.doc.length).nextOverlapping();if(r.done){let n=Math.min(e.doc.length,t+this.spec.unquoted.length);r=P(this.spec,e,0,n).nextOverlapping()}return r.done||r.value.from==t&&r.value.to==n?null:r.value}prevMatchInRange(e,t,n){for(let r=n;;){let n=Math.max(t,r-1e4-this.spec.unquoted.length),i=P(this.spec,e,n,r),o=null;for(;!i.nextOverlapping().done;)o=i.value;if(o)return o;if(n==t)return null;r-=1e4}}prevMatch(e,t,n){let r=this.prevMatchInRange(e,0,t);return r||(r=this.prevMatchInRange(e,Math.max(0,n-this.spec.unquoted.length),e.doc.length)),r&&(r.from!=t||r.to!=n)?r:null}getReplacement(e){return this.spec.unquote(this.spec.replace)}matchAll(e,t){let n=P(this.spec,e,0,e.doc.length),r=[];for(;!n.next().done;){if(r.length>=t)return null;r.push(n.value)}return r}highlight(e,t,n,r){let i=P(this.spec,e,Math.max(0,t-this.spec.unquoted.length),Math.min(n+this.spec.unquoted.length,e.doc.length));for(;!i.next().done;)r(i.value.from,i.value.to)}}function Q(e,t,n,r){var o,l,s;let a;return e.wholeWord&&(s=t.charCategorizer(t.selection.main.head),a=(e,t,n)=>!n[0].length||(s($(n.input,n.index))!=i.Je.Word||s(A(n.input,n.index))!=i.Je.Word)&&(s(A(n.input,n.index+n[0].length))!=i.Je.Word||s($(n.input,n.index+n[0].length))!=i.Je.Word)),e.test&&(o=e.test,l=a,a=(e,n,r)=>(!l||l(e,n,r))&&o(r[0],t,e,n)),new h(t.doc,e.search,{ignoreCase:!e.caseSensitive,test:a},n,r)}function $(e,t){return e.slice((0,i.zK)(e,t,!1),t)}function A(e,t){return e.slice(t,(0,i.zK)(e,t))}class E extends C{nextMatch(e,t,n){let r=Q(this.spec,e,n,e.doc.length).next();return r.done&&(r=Q(this.spec,e,0,t).next()),r.done?null:r.value}prevMatchInRange(e,t,n){for(let r=1;;r++){let i=Math.max(t,n-1e4*r),o=Q(this.spec,e,i,n),l=null;for(;!o.next().done;)l=o.value;if(l&&(i==t||l.from>i+10))return l;if(i==t)return null}}
1prevMatch(e,t,n){return this.prevMatchInRange(e,0,t)||this.prevMatchInRange(e,n,e.doc.length)}getReplacement(e){return this.spec.unquote(this.spec.replace).replace(/\$([$&]|\d+)/g,(t,n)=>{if("&"==n)return e.match[0];if("$"==n)return"$";for(let t=n.length;t>0;t--){let r=+n.slice(0,t);if(r>0&&r<e.match.length)return e.match[r]+n.slice(t)}return t})}matchAll(e,t){let n=Q(this.spec,e,0,e.doc.length),r=[];for(;!n.next().done;){if(r.length>=t)return null;r.push(n.value)}return r}highlight(e,t,n,r){let i=Q(this.spec,e,Math.max(0,t-250),Math.min(n+250,e.doc.length));for(;!i.next().done;)r(i.value.from,i.value.to)}}let R=i.Pe.define(),N=i.Pe.define(),L=i.sU.define({create:e=>new M(Y(e).create(),null),update(e,t){for(let n of t.effects)n.is(R)?e=new M(n.value.create(),e.panel):n.is(N)&&(e=new M(e.query,n.value?W:null));return e},provide:e=>r.S7.from(e,e=>e.panel)});class M{constructor(e,t){this.query=e,this.panel=t}}let Z=r.NZ.mark({class:"cm-searchMatch"}),I=r.NZ.mark({class:"cm-searchMatch cm-searchMatch-selected"}),j=r.Z9.fromClass(class{constructor(e){this.view=e,this.decorations=this.highlight(e.state.field(L))}update(e){let t=e.state.field(L);(t!=e.startState.field(L)||e.docChanged||e.selectionSet||e.viewportChanged)&&(this.decorations=this.highlight(t))}highlight({query:e,panel:t}){if(!t||!e.spec.valid)return r.NZ.none;let{view:n}=this,o=new i.vB;for(let t=0,r=n.visibleRanges,i=r.length;t<i;t++){let{from:l,to:s}=r[t];for(;t<i-1&&s>r[t+1].from-500;)s=r[++t].to;e.highlight(n.state,l,s,(e,t)=>{let r=n.state.selection.ranges.some(n=>n.from==e&&n.to==t);o.add(e,t,r?I:Z)})}return o.finish()}},{decorations:e=>e.decorations});function X(e){return t=>{let n=t.state.field(L,!1);return n&&n.query.spec.valid?e(t,n):G(t)}}let D=X((e,{query:t})=>{let{to:n}=e.state.selection.main,r=t.nextMatch(e.state,n,n);if(!r)return!1;let o=i.OF.single(r.from,r.to),l=e.state.facet(S);return e.dispatch({selection:o,effects:[en(e,r),l.scrollToMatch(o.main,e)],userEvent:"select.search"}),U(e),!0}),V=X((e,{query:t})=>{let{state:n}=e,{from:r}=n.selection.main,o=t.prevMatch(n,r,r);if(!o)return!1;let l=i.OF.single(o.from,o.to),s=e.state.facet(S);return e.dispatch({selection:l,effects:[en(e,o),s.scrollToMatch(l.main,e)],userEvent:"select.search"}),U(e),!0}),F=X((e,{query:t})=>{let n=t.matchAll(e.state,1e3);return!!n&&!!n.length&&(e.dispatch({selection:i.OF.create(n.map(e=>i.OF.range(e.from,e.to))),userEvent:"select.search.matches"}),!0)}),z=X((e,{query:t})=>{let{state:n}=e,{from:o,to:l}=n.selection.main;if(n.readOnly)return!1;let s=t.nextMatch(n,o,o);if(!s)return!1;let a=s,u=[],c,d,h=[];a.precise?a.from==o&&a.to==l&&(d=n.toText(t.getReplacement(a)),u.push({from:a.from,to:a.to,insert:d}),h.push(r.Lz.announce.of(n.phrase("replaced match on line $",n.doc.lineAt(o).number)+"."))):a=t.nextMatch(n,a.from,a.to);let f=e.state.changes(u);return a&&(c=i.OF.single(a.from,a.to).map(f),h.push(en(e,a)),h.push(n.facet(S).scrollToMatch(c.main,e))),e.dispatch({changes:f,selection:c,effects:h,userEvent:"input.replace"}),!0}),B=X((e,{query:t})=>{if(e.state.readOnly)return!1;let n=[];for(let r of t.matchAll(e.state,1e9)){let{from:e,to:i,precise:o}=r;o&&n.push({from:e,to:i,insert:t.getReplacement(r)})}if(!n.length)return!1;let i=e.state.phrase("replaced $ matches",n.length)+".";return e.dispatch({changes:n,effects:r.Lz.announce.of(i),userEvent:"input.replace.all"}),!0});function W(e){return e.state.facet(S).createPanel(e)}function Y(e,t){var n,r,i,o,l;let s=e.selection.main,a=s.empty||s.to>s.from+100?"":e.sliceDoc(s.from,s.to);if(t&&!a)return t;let u=e.facet(S);return new _({search:(null!=(n=null==t?void 0:t.literal)?n:u.literal)?a:a.replace(/\n/g,"\\n"),caseSensitive:null!=(r=null==t?void 0:t.caseSensitive)?r:u.caseSensitive,literal:null!=(i=null==t?void 0:t.literal)?i:u.literal,regexp:null!=(o=null==t?void 0:t.regexp)?o:u.regexp,wholeWord:null!=(l=null==t?void 0:t.wholeWord)?l:u.wholeWord})}function q(e){let t=(0,r.ld)(e,W);return t&&t.dom.querySelector("[main-field]")}function U(e){let t=q(e);t&&t==e.root.activeElement&&t.select()}let G=e=>{let t=e.state.field(L,!1);if(t&&t.panel){let n=q(e);if(n&&n!=e.root.activeElement){let r=Y(e.state,t.query.spec);r.valid&&e.dispatch({effects:R.of(r)}),n.focus(),n.select()}}else e.dispatch({effects:[N.of(!0),t?R.of(Y(e.state,t.query.spec)):i.Pe.appendConfig.of(ei)]});return!0},H=e=>{let t=e.state.field(L,!1);if(!t||!t.panel)return!1;let n=(0,r.ld)(e,W);return n&&n.dom.contains(e.root.activeElement)&&e.focus(),e.dispatch({effects:N.of(!1)}),!0},J=[{key:"Mod-f",run:G,scope:"editor search-panel"},{key:"F3",run:D,shift:V,scope:"editor search-panel",preventDefault:!0},{key:"Mod-g",run:D,shift:V,scope:"editor search-panel",preventDefault:!0},{key:"Escape",run:H,scope:"editor search-panel"}
1,{key:"Mod-Shift-l",run:({state:e,dispatch:t})=>{let n=e.selection;if(n.ranges.length>1||n.main.empty)return!1;let{from:r,to:o}=n.main,l=[],s=0;for(let t=new u(e.doc,e.sliceDoc(r,o));!t.next().done;){if(l.length>1e3)return!1;t.value.from==r&&(s=l.length),l.push(i.OF.range(t.value.from,t.value.to))}return t(e.update({selection:i.OF.create(l,s),userEvent:"select.search.matches"})),!0}},{key:"Mod-Alt-g",run:e=>{let{state:t}=e,n=String(t.doc.lineAt(e.state.selection.main.head).number),{close:o,result:l}=(0,r.ui)(e,{label:t.phrase("Go to line"),input:{type:"text",name:"line",value:n},focus:!0,submitLabel:t.phrase("go")});return l.then(n=>{let l=n&&/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(n.elements.line.value);if(!l)return void e.dispatch({effects:o});let s=t.doc.lineAt(t.selection.main.head),[,a,u,c,d]=l,h=c?+c.slice(1):0,f=u?+u:s.number;if(u&&d){let e=f/100;a&&(e=e*("-"==a?-1:1)+s.number/t.doc.lines),f=Math.round(t.doc.lines*e)}else u&&a&&(f=f*("-"==a?-1:1)+s.number);let p=t.doc.line(Math.max(1,Math.min(t.doc.lines,f))),g=i.OF.cursor(p.from+Math.max(0,Math.min(h,p.length)));e.dispatch({effects:[o,r.Lz.scrollIntoView(g.from,{y:"center"})],selection:g})}),!0}},{key:"Mod-d",run:({state:e,dispatch:t})=>{let{ranges:n}=e.selection;if(n.some(e=>e.from===e.to))return(({state:e,dispatch:t})=>{let{selection:n}=e,r=i.OF.create(n.ranges.map(t=>e.wordAt(t.head)||i.OF.cursor(t.head)),n.mainIndex);return!r.eq(n)&&(t(e.update({selection:r})),!0)})({state:e,dispatch:t});let o=e.sliceDoc(n[0].from,n[0].to);if(e.selection.ranges.some(t=>e.sliceDoc(t.from,t.to)!=o))return!1;let l=function(e,t){let{main:n,ranges:r}=e.selection,i=e.wordAt(n.head),o=i&&i.from==n.from&&i.to==n.to;for(let n=!1,i=new u(e.doc,t,r[r.length-1].to);;)if(i.next(),i.done){if(n)return null;i=new u(e.doc,t,0,Math.max(0,r[r.length-1].from-1)),n=!0}else{if(n&&r.some(e=>e.from==i.value.from))continue;if(o){let t=e.wordAt(i.value.from);if(!t||t.from!=i.value.from||t.to!=i.value.to)continue}return i.value}}(e,o);return!!l&&(t(e.update({selection:e.selection.addRange(i.OF.range(l.from,l.to),!1),effects:r.Lz.scrollIntoView(l.to)})),!0)},preventDefault:!0}];class K{constructor(e){this.view=e;let t=this.query=e.state.field(L).query.spec;function n(e,t,n){return(0,s.A)("button",{class:"cm-button",name:e,onclick:t,type:"button"},n)}this.commit=this.commit.bind(this),this.searchField=(0,s.A)("input",{value:t.search,placeholder:ee(e,"Find"),"aria-label":ee(e,"Find"),class:"cm-textfield",name:"search",form:"","main-field":"true",onchange:this.commit,onkeyup:this.commit}),this.replaceField=(0,s.A)("input",{value:t.replace,placeholder:ee(e,"Replace"),"aria-label":ee(e,"Replace"),class:"cm-textfield",name:"replace",form:"",onchange:this.commit,onkeyup:this.commit}),this.caseField=(0,s.A)("input",{type:"checkbox",name:"case",form:"",checked:t.caseSensitive,onchange:this.commit}),this.reField=(0,s.A)("input",{type:"checkbox",name:"re",form:"",checked:t.regexp,onchange:this.commit}),this.wordField=(0,s.A)("input",{type:"checkbox",name:"word",form:"",checked:t.wholeWord,onchange:this.commit}),this.dom=(0,s.A)("div",{onkeydown:e=>this.keydown(e),class:"cm-search"},[this.searchField,n("next",()=>D(e),[ee(e,"next")]),n("prev",()=>V(e),[ee(e,"previous")]),n("select",()=>F(e),[ee(e,"all")]),(0,s.A)("label",null,[this.caseField,ee(e,"match case")]),(0,s.A)("label",null,[this.reField,ee(e,"regexp")]),(0,s.A)("label",null,[this.wordField,ee(e,"by word")]),...e.state.readOnly?[]:[(0,s.A)("br"),this.replaceField,n("replace",()=>z(e),[ee(e,"replace")]),n("replaceAll",()=>B(e),[ee(e,"replace all")])],(0,s.A)("button",{name:"close",onclick:()=>H(e),"aria-label":ee(e,"close"),type:"button"},["\xd7"])])}commit(){let e=new _({search:this.searchField.value,caseSensitive:this.caseField.checked,regexp:this.reField.checked,wholeWord:this.wordField.checked,replace:this.replaceField.value});e.eq(this.query)||(this.query=e,this.view.dispatch({effects:R.of(e)}))}keydown(e){(0,r.TS)(this.view,e,"search-panel")?e.preventDefault():13==e.keyCode&&e.target==this.searchField?(e.preventDefault(),(e.shiftKey?V:D)(this.view)):13==e.keyCode&&e.target==this.replaceField&&(e.preventDefault(),z(this.view))}update(e){for(let t of e.transactions)for(let e of t.effects)e.is(R)&&!e.value.eq(this.query)&&this.setQuery(e.value)}setQuery(e){this.query=e,this.searchField.value=e.search,this.replaceField.value=e.replace,this.caseField.checked=e.caseSensitive,this.reField.checked=e.regexp,this.wordField.checked=e.wholeWord}mount(){this.searchField.select()}get pos(){return 80}get top(){return this.view.state.facet(S).top}}function ee(e,t){return e.state.phrase(t)}let et=/[\s\.,:;?!]/;function en(e,{from:t,to:n}){let i=e.state.doc.lineAt(t),o=e.state.doc.lineAt(n).to,l=Math.max(i.from,t-30),s=Math.min(o,n+30),a=e.state.sliceDoc(l,s);if(l!=i.from){for(let e=0;e<30;e++)if(!et.test(a[e+1])&&et.test(a[e])){a=a.slice(e);break}}if(s!=o){for(let e=a.length-1;e>a.length-30;e--)if(!et.test(a[e-1])&&et.test(a[e])){a=a.slice(0,e);break}}return r.Lz.announce.of(`${e.state.phrase("current match")}. ${a} ${e.state.phrase("on line")} ${i.number}.`)}let er=r.Lz.baseTheme({".cm-panel.cm-search":{padding:"2px 6px 4px",position:"relative","& [name=close]":{position:"absolute",top:"0",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",padding:0,margin:0},"& input, & button, & label":{margin:".2em .6em .2em 0"},"& input[type=checkbox]":{marginRight:".2em"},"& label":{fontSize:"80%",whiteSpace:"pre"}},"&light .cm-searchMatch":{backgroundColor:"#ffff0054"},"&dark .cm-searchMatch":{backgroundColor:"#00ffff8a"},"&light .cm-searchMatch-selected":{backgroundColor:"#ff6a0054"},"&dark .cm-searchMatch-selected":{backgroundColor:"#ff00ff8a"}}),ei=[L,i.Nb.low(j),er];var eo=n(98930);
1class el{constructor(e,t,n){this.from=e,this.to=t,this.diagnostic=n}}class es{constructor(e,t,n){this.diagnostics=e,this.panel=t,this.selected=n}static init(e,t,n){let o=n.facet(ey).markerFilter;o&&(e=o(e,n));let l=e.slice().sort((e,t)=>e.from-t.from||e.to-t.to),s=new i.vB,a=[],u=0,c=n.doc.iter(),d=0,h=n.doc.length;for(let e=0;;){let t,n,i=e==l.length?null:l[e];if(!i&&!a.length)break;if(a.length)t=u,n=a.reduce((e,t)=>Math.min(e,t.to),i&&i.from>t?i.from:1e8);else{if((t=i.from)>h)break;n=i.to,a.push(i),e++}for(;e<l.length;){let r=l[e];if(r.from==t&&(r.to>r.from||r.to==t))a.push(r),e++,n=Math.min(r.to,n);else{n=Math.min(r.from,n);break}}n=Math.min(n,h);let o=!1;if(a.some(e=>e.from==t&&(e.to==n||n==h))&&!(o=t==n)&&n-t<10){let e=t-(d+c.value.length);e>0&&(c.next(e),d=t);for(let e=t;;){if(e>=n){o=!0;break}if(!c.lineBreak&&d+c.value.length>e)break;e=d+c.value.length,d+=c.value.length,c.next()}}let f=eP(a);if(o)s.add(t,t,r.NZ.widget({widget:new ew(f),diagnostics:a.slice()}));else{let e=a.reduce((e,t)=>t.markClass?e+" "+t.markClass:e,"");s.add(t,n,r.NZ.mark({class:"cm-lintRange cm-lintRange-"+f+e,diagnostics:a.slice(),inclusiveEnd:a.some(e=>e.to>n)}))}if((u=n)==h)break;for(let e=0;e<a.length;e++)a[e].to<=u&&a.splice(e--,1)}let f=s.finish();return new es(f,t,ea(f))}}function ea(e,t=null,n=0){let r=null;return e.between(n,1e9,(e,n,{spec:i})=>{if(!(t&&0>i.diagnostics.indexOf(t)))if(r){if(0>i.diagnostics.indexOf(r.diagnostic))return!1;r=new el(r.from,n,r.diagnostic)}else r=new el(e,n,t||i.diagnostics[0])}),r}function eu(e,t){let n=t.pos,r=t.end||n,i=e.state.facet(ey).hideOn(e,n,r);if(null!=i)return i;let o=e.startState.doc.lineAt(t.pos);return!!(e.effects.some(e=>e.is(ec))||e.changes.touchesRange(o.from,Math.max(o.to,r)))}let ec=i.Pe.define(),ed=i.Pe.define(),eh=i.Pe.define(),ef=i.sU.define({create:()=>new es(r.NZ.none,null,null),update(e,t){if(t.docChanged&&e.diagnostics.size){let n=e.diagnostics.map(t.changes),r=null,i=e.panel;if(e.selected){let i=t.changes.mapPos(e.selected.from,1);r=ea(n,e.selected.diagnostic,i)||ea(n,null,i)}!n.size&&i&&t.state.facet(ey).autoPanel&&(i=null),e=new es(n,i,r)}for(let n of t.effects)if(n.is(ec)){let r=t.state.facet(ey).autoPanel?n.value.length?eS.open:null:e.panel;e=es.init(n.value,r,t.state)}else n.is(ed)?e=new es(e.diagnostics,n.value?eS.open:null,e.selected):n.is(eh)&&(e=new es(e.diagnostics,e.panel,n.value));return e},provide:e=>[r.S7.from(e,e=>e.panel),r.Lz.decorations.from(e,e=>e.diagnostics)]}),ep=r.NZ.mark({class:"cm-lintRange cm-lintRange-active"});function eg(e,t){return(0,s.A)("ul",{class:"cm-tooltip-lint"},t.map(t=>eb(e,t,!1)))}let em=e=>{let t=e.state.field(ef,!1);return!!t&&!!t.panel&&(e.dispatch({effects:ed.of(!1)}),!0)},eO=[{key:"Mod-Shift-m",run:e=>{let t=e.state.field(ef,!1);t&&t.panel||e.dispatch({effects:function(e,t){return e.field(ef,!1)?t:t.concat(i.Pe.appendConfig.of(eA))}(e.state,[ed.of(!0)])});let n=(0,r.ld)(e,eS.open);return n&&n.dom.querySelector(".cm-panel-lint ul").focus(),!0},preventDefault:!0},{key:"F8",run:e=>{let t=e.state.field(ef,!1);if(!t)return!1;let n=e.state.selection.main,i=ea(t.diagnostics,null,n.to+1);return(!!i||!!(i=ea(t.diagnostics,null,0))&&(i.from!=n.from||i.to!=n.to))&&(e.dispatch({selection:{anchor:i.from,head:i.to},scrollIntoView:!0}),(0,r.ab)(e,i.from,1,{tooltip:e$,until:e=>e.docChanged||e.newSelection.main.head<i.from||e.newSelection.main.head>i.to}),!0)}}],ey=i.sj.define({combine:e=>({sources:e.map(e=>e.source).filter(e=>null!=e),...(0,i.QR)(e.map(e=>e.config),{delay:750,markerFilter:null,tooltipFilter:null,needsRefresh:null,hideOn:()=>null},{delay:Math.max,markerFilter:ev,tooltipFilter:ev,needsRefresh:(e,t)=>e?t?n=>e(n)||t(n):e:t,hideOn:(e,t)=>e?t?(n,r,i)=>e(n,r,i)||t(n,r,i):e:t,autoPanel:(e,t)=>e||t})})});function ev(e,t){return e?t?(n,r)=>t(e(n,r),r):e:t}function ex(e){let t=[];if(e)i:for(let{name:n}of e){for(let e=0;e<n.length;e++){let r=n[e];if(/[a-zA-Z]/.test(r)&&!t.some(e=>e.toLowerCase()==r.toLowerCase())){t.push(r);continue i}}t.push("")}return t}function eb(e,t,n){var r;let i=n?ex(t.actions):[];return(0,s.A)("li",{class:"cm-diagnostic cm-diagnostic-"+t.severity},(0,s.A)("span",{class:"cm-diagnosticText"},t.renderMessage?t.renderMessage(e):t.message),null==(r=t.actions)?void 0:r.map((n,r)=>{let o=!1,l=r=>{if(r.preventDefault(),o)return;o=!0;let i=ea(e.state.field(ef).diagnostics,t);i&&n.apply(e,i.from,i.to)},{name:a}=n,u=i[r]?a.indexOf(i[r]):-1,c=u<0?a:[a.slice(0,u),(0,s.A)("u",a.slice(u,u+1)),a.slice(u+1)],d=n.markClass?" "+n.markClass:"";return(0,s.A)("button",{type:"button",class:"cm-diagnosticAction"+d,onclick:l,onmousedown:l,"aria-label":` Action: ${a}${u<0?"":` (access key "${i[r]})"`}.`},c)}),t.source&&(0,s.A)("div",{class:"cm-diagnosticSource"},t.source))}class ew extends r.xO{constructor(e){super(),this.sev=e}eq(e){return e.sev==this.sev}toDOM(){return(0,s.A)("span",{class:"cm-lintPoint cm-lintPoint-"+this.sev})}}class ek{constructor(e,t){this.diagnostic=t,this.id="item_"+Math.floor(0xffffffff*Math.random()).toString(16),this.dom=eb(e,t,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}}class eS{constructor(e){this.view=e,this.items=[];let t=t=>{if(!t.ctrlKey&&!t.altKey&&!t.metaKey){if(27==t.keyCode)em(this.view),this.view.focus();else if(38==t.keyCode||33==t.keyCode)this.moveSelection((this.selectedIndex-1+this.items.length)%this.items.length);else if(40==t.keyCode||34==t.keyCode)this.moveSelection((this.selectedIndex+1)%this.items.length);else if(36==t.keyCode)this.moveSelection(0);else if(35==t.keyCode)this.moveSelection(this.items.length-1);else if(13==t.keyCode)this.view.focus();else{if(!(t.keyCode>=65)||!(t.keyCode<=90)||!(this.selectedIndex>=0))return;let{diagnostic:n}=this.items[this.selectedIndex],r=ex(n.actions);for(let i=0;i<r.length;
1i++)if(r[i].toUpperCase().charCodeAt(0)==t.keyCode){let t=ea(this.view.state.field(ef).diagnostics,n);t&&n.actions[i].apply(e,t.from,t.to)}}t.preventDefault()}},n=e=>{for(let t=0;t<this.items.length;t++)this.items[t].dom.contains(e.target)&&this.moveSelection(t)};this.list=(0,s.A)("ul",{tabIndex:0,role:"listbox","aria-label":this.view.state.phrase("Diagnostics"),onkeydown:t,onclick:n}),this.dom=(0,s.A)("div",{class:"cm-panel-lint"},this.list,(0,s.A)("button",{type:"button",name:"close","aria-label":this.view.state.phrase("close"),onclick:()=>em(this.view)},"\xd7")),this.update()}get selectedIndex(){let e=this.view.state.field(ef).selected;if(!e)return -1;for(let t=0;t<this.items.length;t++)if(this.items[t].diagnostic==e.diagnostic)return t;return -1}update(){let{diagnostics:e,selected:t}=this.view.state.field(ef),n=0,r=!1,i=null,o=new Set;for(e.between(0,this.view.state.doc.length,(e,l,{spec:s})=>{for(let e of s.diagnostics){if(o.has(e))continue;o.add(e);let l=-1,s;for(let t=n;t<this.items.length;t++)if(this.items[t].diagnostic==e){l=t;break}l<0?(s=new ek(this.view,e),this.items.splice(n,0,s),r=!0):(s=this.items[l],l>n&&(this.items.splice(n,l-n),r=!0)),t&&s.diagnostic==t.diagnostic?s.dom.hasAttribute("aria-selected")||(s.dom.setAttribute("aria-selected","true"),i=s):s.dom.hasAttribute("aria-selected")&&s.dom.removeAttribute("aria-selected"),n++}});n<this.items.length&&!(1==this.items.length&&this.items[0].diagnostic.from<0);)r=!0,this.items.pop();0==this.items.length&&(this.items.push(new ek(this.view,{from:-1,to:-1,severity:"info",message:this.view.state.phrase("No diagnostics")})),r=!0),i?(this.list.setAttribute("aria-activedescendant",i.id),this.view.requestMeasure({key:this,read:()=>({sel:i.dom.getBoundingClientRect(),panel:this.list.getBoundingClientRect()}),write:({sel:e,panel:t})=>{let n=t.height/this.list.offsetHeight;e.top<t.top?this.list.scrollTop-=(t.top-e.top)/n:e.bottom>t.bottom&&(this.list.scrollTop+=(e.bottom-t.bottom)/n)}})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),r&&this.sync()}sync(){let e=this.list.firstChild;function t(){let t=e;e=t.nextSibling,t.remove()}for(let n of this.items)if(n.dom.parentNode==this.list){for(;e!=n.dom;)t();e=n.dom.nextSibling}else this.list.insertBefore(n.dom,e);for(;e;)t()}moveSelection(e){if(this.selectedIndex<0)return;let t=ea(this.view.state.field(ef).diagnostics,this.items[e].diagnostic);t&&this.view.dispatch({selection:{anchor:t.from,head:t.to},scrollIntoView:!0,effects:eh.of(t)})}static open(e){return new eS(e)}}function e_(e){return function(e,t='viewBox="0 0 40 40"'){return`url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" ${t}>${encodeURIComponent(e)}</svg>')`}(`<path d="m0 2.5 l2 -1.5 l1 0 l2 1.5 l1 0" stroke="${e}" fill="none" stroke-width=".7"/>`,'width="6" height="3"')}let eC=r.Lz.baseTheme({".cm-diagnostic":{padding:"3px 6px 3px 8px",marginLeft:"-1px",display:"block",whiteSpace:"pre-wrap"},".cm-diagnostic-error":{borderLeft:"5px solid #d11"},".cm-diagnostic-warning":{borderLeft:"5px solid orange"},".cm-diagnostic-info":{borderLeft:"5px solid #999"},".cm-diagnostic-hint":{borderLeft:"5px solid #66d"},".cm-diagnosticAction":{font:"inherit",border:"none",padding:"2px 4px",backgroundColor:"#444",color:"white",borderRadius:"3px",marginLeft:"8px",cursor:"pointer"},".cm-diagnosticSource":{fontSize:"70%",opacity:.7},".cm-lintRange":{backgroundPosition:"left bottom",backgroundRepeat:"repeat-x",paddingBottom:"0.7px"},".cm-lintRange-error":{backgroundImage:e_("#f11")},".cm-lintRange-warning":{backgroundImage:e_("orange")},".cm-lintRange-info":{backgroundImage:e_("#999")},".cm-lintRange-hint":{backgroundImage:e_("#66d")},".cm-lintRange-active":{backgroundColor:"#ffdd9980"},".cm-tooltip-lint":{padding:0,margin:0},".cm-lintPoint":{position:"relative","&:after":{content:'""',position:"absolute",bottom:0,left:"-2px",borderLeft:"3px solid transparent",borderRight:"3px solid transparent",borderBottom:"4px solid #d11"}},".cm-lintPoint-warning":{"&:after":{borderBottomColor:"orange"}},".cm-lintPoint-info":{"&:after":{borderBottomColor:"#999"}},".cm-lintPoint-hint":{"&:after":{borderBottomColor:"#66d"}},".cm-panel.cm-panel-lint":{position:"relative","& ul":{maxHeight:"100px",overflowY:"auto","& [aria-selected]":{backgroundColor:"#ddd","& u":{textDecoration:"underline"}},"&:focus [aria-selected]":{background_fallback:"#bdf",backgroundColor:"Highlight",color_fallback:"white",color:"HighlightText"},"& u":{textDecoration:"none"},padding:0,margin:0},"& [name=close]":{position:"absolute",top:"0",right:"2px",background:"inherit",border:"none",font:"inherit",padding:0,margin:0}},"&dark .cm-lintRange-active":{backgroundColor:"#86714a80"},"&dark .cm-panel.cm-panel-lint ul":{"& [aria-selected]":{backgroundColor:"#2e343e"}}});function eP(e){let t="hint",n=1;for(let i of e){var r;let e="error"==(r=i.severity)?4:"warning"==r?3:"info"==r?2:1;e>n&&(n=e,t=i.severity)}return t}r.wJ;let eT=i.Pe.define(),eQ=i.sU.define({create:()=>null,update:(e,t)=>
1(e&&t.docChanged&&(e=eu(t,e)?null:{...e,pos:t.changes.mapPos(e.pos)}),t.effects.reduce((e,t)=>t.is(eT)?t.value:e,e)),provide:e=>r.DK.from(e)}),e$=(0,r.Ux)(function(e,t,n){let{diagnostics:r}=e.state.field(ef),i,o=-1,l=-1;r.between(t-(n<0),t+ +(n>0),(e,r,{spec:s})=>{if(t>=e&&t<=r&&(e==r||(t>e||n>0)&&(t<r||n<0)))return i=s.diagnostics,o=e,l=r,!1});let s=e.state.facet(ey).tooltipFilter;return(i&&s&&(i=s(i,e.state)),i)?{pos:o,end:l,above:e.state.doc.lineAt(o).to<l,create:()=>({dom:eg(e,i)})}:null},{hideOn:eu}),eA=[ef,r.Lz.decorations.compute([ef],e=>{let{selected:t,panel:n}=e.field(ef);return t&&n&&t.from!=t.to?r.NZ.set([ep.range(t.from,t.to)]):r.NZ.none}),e$,eC],eE=i.sj.define({combine:e=>(0,i.QR)(e,{hoverTime:300,markerFilter:null,tooltipFilter:null})}),eR=[(0,r.$K)(),(0,r.Wu)(),(0,r.N$)(),(0,l.b6)(),(0,o.Lv)(),(0,r.VH)(),(0,r.A)(),i.$t.allowMultipleSelections.of(!0),(0,o.WD)(),(0,o.y9)(o.Zt,{fallback:!0}),(0,o.SG)(),(0,eo.wm)(),(0,eo.yU)(),(0,r.D4)(),(0,r.HJ)(),(0,r.dz)(),[k,w],r.w4.of([...eo.Bc,...l.pw,...J,...l.cL,...o.f7,...eo.OO,...eO])]},40674:(e,t,n)=>{"use strict";n.d(t,{Qg:()=>l,bL:()=>a});var r=n(6325),i=n(11997),o=n(64177),l=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),s=r.forwardRef((e,t)=>(0,o.jsx)(i.sG.span,{...e,ref:t,style:{...l,...e.style}}));s.displayName="VisuallyHidden";var a=s},41389:(e,t,n)=>{"use strict";n.d(t,{tZ:()=>b});var r=n(84306),i=n(62221),o=n(87797);let l="#2e3440",s="#3b4252",a="#434c5e",u="#4c566a",c="#e5e9f0",d="#eceff4",h="#8fbcbb",f="#88c0d0",p="#5e81ac",g="#d08770",m="#ebcb8b",O="#a3be8c",y="#d30102",v=r.Lz.theme({"&":{color:l,backgroundColor:"#ffffff"},".cm-content":{caretColor:s},".cm-cursor, .cm-dropCursor":{borderLeftColor:s},"&.cm-focused .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection":{backgroundColor:d},".cm-panels":{backgroundColor:d,color:u},".cm-panels.cm-panels-top":{borderBottom:"2px solid black"},".cm-panels.cm-panels-bottom":{borderTop:"2px solid black"},".cm-searchMatch":{backgroundColor:"#72a1ff59",outline:`1px solid ${u}`},".cm-searchMatch.cm-searchMatch-selected":{backgroundColor:c},".cm-activeLine":{backgroundColor:d},".cm-selectionMatch":{backgroundColor:c},"&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket":{outline:`1px solid ${u}`},"&.cm-focused .cm-matchingBracket":{backgroundColor:d},".cm-gutters":{backgroundColor:d,color:l,border:"none"},".cm-activeLineGutter":{backgroundColor:d},".cm-foldPlaceholder":{backgroundColor:"transparent",border:"none",color:"#ddd"},".cm-tooltip":{border:"none",backgroundColor:s},".cm-tooltip .cm-tooltip-arrow:before":{borderTopColor:"transparent",borderBottomColor:"transparent"},".cm-tooltip .cm-tooltip-arrow:after":{borderTopColor:s,borderBottomColor:s},".cm-tooltip-autocomplete":{"& > ul > li[aria-selected]":{backgroundColor:d,color:u}}},{dark:!1}),x=i.cr.define([{tag:o._A.keyword,color:p},{tag:[o._A.name,o._A.deleted,o._A.character,o._A.propertyName,o._A.macroName],color:g},{tag:[o._A.variableName],color:g},{tag:[o._A.function(o._A.variableName)],color:p},{tag:[o._A.labelName],color:"#81a1c1"},{tag:[o._A.color,o._A.constant(o._A.name),o._A.standard(o._A.name)],color:p},{tag:[o._A.definition(o._A.name),o._A.separator],color:O},{tag:[o._A.brace],color:h},{tag:[o._A.annotation],color:y},{tag:[o._A.number,o._A.changed,o._A.annotation,o._A.modifier,o._A.self,o._A.namespace],color:f},{tag:[o._A.typeName,o._A.className],color:m},{tag:[o._A.operator,o._A.operatorKeyword],color:O},{tag:[o._A.tagName],color:"#b48ead"},{tag:[o._A.squareBracket],color:"#bf616a"},{tag:[o._A.angleBracket],color:g},{tag:[o._A.attributeName],color:m},{tag:[o._A.regexp],color:p},{tag:[o._A.quote],color:s},{tag:[o._A.string],color:g},{tag:o._A.link,color:h,textDecoration:"underline",textUnderlinePosition:"under"},{tag:[o._A.url,o._A.escape,o._A.special(o._A.string)],color:g},{tag:[o._A.meta],color:f},{tag:[o._A.comment],color:a,fontStyle:"italic"},{tag:o._A.strong,fontWeight:"bold",color:p},{tag:o._A.emphasis,fontStyle:"italic",color:p},{tag:o._A.strikethrough,textDecoration:"line-through"},{tag:o._A.heading,fontWeight:"bold",color:p},{tag:o._A.special(o._A.heading1),fontWeight:"bold",color:p},{tag:o._A.heading1,fontWeight:"bold",color:p},{tag:[o._A.heading2,o._A.heading3,o._A.heading4],fontWeight:"bold",color:p},{tag:[o._A.heading5,o._A.heading6],color:p},{tag:[o._A.atom,o._A.bool,o._A.special(o._A.variableName)],color:g},{tag:[o._A.processingInstruction,o._A.inserted],color:h},{tag:[o._A.contentSeparator],color:m}
1,{tag:o._A.invalid,color:a,borderBottom:`1px dotted ${y}`}]),b=[v,(0,i.y9)(x)]},42916:(e,t,n)=>{"use strict";n.d(t,{I:()=>u});var r=n(6325),i=n(19716),o=n(88732),l=n(44443),s=n(60665);let a={bullet:"format_list_bulleted",number:"format_list_numbered",check:"format_list_checked"},u=({options:e=["bullet","number","check"]})=>{let[t,n,u]=(0,l.uX)(i.SH,s.yr,s.Nn),c=(0,l.qM)(i.Nq),d=(0,s.Bd)(),h={bullet:d("toolbar.bulletedList","Bulleted list"),number:d("toolbar.numberedList","Numbered list"),check:d("toolbar.checkList","Check list")},f=e.map(e=>({value:e,title:h[e],contents:n(a[e])}));return r.createElement(o.fp,{value:t||"",items:f,onChange:c,disabled:u})}},43089:(e,t,n)=>{"use strict";n.d(t,{p:()=>c});var r=n(60665),i=n(44443),o=n(6325),l=n(19833),s=n(88732),a=n(17415);let u=({format:e,addTitle:t,removeTitle:n,icon:l,formatName:a})=>{let[u,c]=(0,i.uX)(r.PI,r.yr),d=(0,i.qM)(r.C_),h=(u&e)!=0;return o.createElement(s.hf,{title:h?n:t,on:h,onValueChange:()=>{d(a)}},c(l))},c=({options:e})=>{let t=(0,r.Bd)(),n=void 0===e;return o.createElement("div",{className:a.Ay.toolbarGroupOfGroups},n||e.includes("Bold")?o.createElement(u,{format:l.FA,addTitle:t("toolbar.bold","Bold"),removeTitle:t("toolbar.removeBold","Remove bold"),icon:"format_bold",formatName:"bold"}):null,n||e.includes("Italic")?o.createElement(u,{format:l.S3,addTitle:t("toolbar.italic","Italic"),removeTitle:t("toolbar.removeItalic","Remove italic"),icon:"format_italic",formatName:"italic"}):null,n||e.includes("Underline")?o.createElement(u,{format:l.Ig,addTitle:t("toolbar.underline","Underline"),removeTitle:t("toolbar.removeUnderline","Remove underline"),icon:"format_underlined",formatName:"underline"}):null)}},43096:(e,t,n)=>{"use strict";n.d(t,{_:()=>c});var r=n(96507),i=n(44443),o=n(84544),l=n(6325),s=n(60665),a=n(99277),u=n(26959);let c=()=>{let e=(0,i.qM)(s.vR),t=(0,i.X3)(s.X3),n=(0,i.X3)(s.TI),c=n.includes("quote"),d=n.includes("headings"),h=(0,s.Bd)();if(!c&&!d)return null;let f=[{label:h("toolbar.blockTypes.paragraph","Paragraph"),value:"paragraph"}];if(c&&f.push({label:h("toolbar.blockTypes.quote","Quote"),value:"quote"}),d){let e=(0,i.X3)(a.OO);f.push(...e.map(e=>({label:h("toolbar.blockTypes.heading","Heading {{level}}",{level:e}),value:`h${e}`})))}return l.createElement(u.l6,{value:t,onChange:t=>{switch(t){case"quote":e(()=>(0,r.xi)());break;case"paragraph":e(()=>(0,o.lJ7)());break;case"":break;default:if(t.startsWith("h"))e(()=>(0,r.fi)(t));else throw Error(`Unknown block type: ${t}`)}},triggerTitle:h("toolbar.blockTypeSelect.selectBlockTypeTooltip","Select block type"),placeholder:h("toolbar.blockTypeSelect.placeholder","Block type"),items:f})}},43907:(e,t,n)=>{"use strict";n.d(t,{N:()=>c});var r=n(6325),i=n(85665),o=n(56309),l=n(17415),s=n(60665),a=n(30200),u=n(44443);let c=r.forwardRef((e,t)=>{let n=(0,u.qM)(i.w8),[c,d]=(0,u.uX)(s.pc,s.yr),h=(0,s.Bd)();return r.createElement(o.$n,{"aria-label":h("toolbar.image","Insert image"),className:l.Ay.toolbarButton,ref:t,disabled:c,onClick:()=>{n()}},r.createElement(a.I,{title:h("toolbar.image","Insert image")},d("add_photo")))})},44443:(e,t,n)=>{"use strict";let r;n.d(t,{EY:()=>k,HN:()=>g,LO:()=>y,Mx:()=>f,SQ:()=>C,Tj:()=>w,X3:()=>v,Zb:()=>O,fh:()=>p,pb:()=>_,qM:()=>b,rc:()=>m,uX:()=>x,uc:()=>S});var i=n(6325);n(64177);var o=Object.defineProperty,l=(e,t,n)=>((e,t,n)=>t in e?o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n)(e,"symbol"!=typeof t?t+"":t,n);class s{constructor(e=new Map){this.map=e}clone(){return new s(new Map(this.map))}increment(e){let t=this.map.get(e)??0;this.map.set(e,t+1)}decrement(e,t){let n=this.map.get(e);void 0!==n&&(n-=1,this.map.set(e,n),0===n&&t())}}class a{constructor(){l(this,"map",new Map)}getOrCreate(e){let t=this.map.get(e);return void 0===t&&(t=new Set,this.map.set(e,t)),t}get(e){return this.map.get(e)}use(e,t){let n=this.get(e);void 0!==n&&t(n)}delete(e){return this.map.delete(e)}}function u(){}let c="cell";function d(e,t){return e===t}let h=new Map;class f{constructor(e={}){for(let t of(l(this,"subscriptions",new a),l(this,"singletonSubscriptions",new Map),l(this,"graph",new a),l(this,"state",new Map),l(this,"distinctNodes",new Map),l(this,"executionMaps",new Map),l(this,"definitionRegistry",new Set),l(this,"combinedCells",[]),Object.getOwnPropertySymbols(e)))this.state.set(t,e[t])}cellInstance(e,t=!0,n=Symbol()){return this.state.has(n)||this.state.set(n,e),!1===t||this.distinctNodes.has(n)||this.distinctNodes.set(n,!0===t?d:t),n}signalInstance(e=!0,t=Symbol()){return!1!==e&&this.distinctNodes.set(t,!0===e?d:e),t}sub(e,t){this.register(e);let n=this.subscriptions.getOrCreate(e);return n.add(t),()=>n.delete(t)}singletonSub(e,t){return this.register(e),void 0===t?this.singletonSubscriptions.delete(e):this.singletonSubscriptions.set(e,t),()=>this.singletonSubscriptions.delete(e)}resetSingletonSubs(){this.singletonSubscriptions.clear()}subMultiple(e,t){let n=this.signalInstance();return this.connect({map:e=>(...t)=>{e(t)},sink:n,sources:e}),this.sub(n,t)}pubIn(e){var t;let n=Reflect.ownKeys(e),r=this.getExecutionMap(n),i=r.refCount.clone(),o=r.participatingNodes.slice(),l=new Map(this.state),s=e=>{this.graph.use(e,t=>{for(let{sources:n,sink:r}
1of t)n.has(e)&&i.decrement(r,()=>{o.splice(o.indexOf(r),1),s(r)})})};for(;;){let n=o.shift();if(void 0===n)break;let i=!1,a=e=>{let t=this.distinctNodes.get(n);if(null!=t&&t(l.get(n),e)){i=!1;return}i=!0,l.set(n,e),this.state.has(n)&&this.state.set(n,e)};if(Object.prototype.hasOwnProperty.call(e,n)?a(e[n]):r.projections.use(n,e=>{for(let t of e){let e=[...Array.from(t.sources),...Array.from(t.pulls)].map(e=>l.get(e));t.map(a)(...e)}}),i){let e=l.get(n);this.inContext(()=>{this.subscriptions.use(n,t=>{for(let n of t)n(e)})}),null==(t=this.singletonSubscriptions.get(n))||t(e)}else s(n)}}connect({sources:e,pulls:t=[],map:n,sink:r}){let i={map:n,pulls:new Set(t),sink:this.register(r),sources:new Set(e)};for(let n of[...e,...t])this.register(n),this.graph.getOrCreate(n).add(i);this.executionMaps.clear()}pub(e,t){this.pubIn({[e]:t})}pipe(e,...t){return this.combineOperators(...t)(e)}transformer(...e){return t=>{var n;let r;return n=this.signalInstance(),r=n,this.link(this.pipe(r,...e),t),n}}link(e,t){this.connect({map:e=>t=>{e(t)},sink:t,sources:[e]})}combine(...e){var t,n;return n=t=this.signalInstance(),this.connect({map:e=>(...t)=>{e(t)},sink:n,sources:e}),t}combineCells(...e){let t=this.combinedCells.find(t=>e.length===t.sources.length&&e.every((e,n)=>e===t.sources[n]));if(t)return t.cell;let n=this.cellInstance(e.map(e=>this.getValue(e)),!0);return this.connect({map:e=>(...t)=>{e(t)},sink:n,sources:e}),this.combinedCells.push({sources:e,cell:n}),n}getValue(e){return this.register(e),this.state.get(e)}getValues(e){return e.map(e=>this.getValue(e))}register(e){var t,n;let r=h.get(e);return void 0===r||this.definitionRegistry.has(e)?e:(this.definitionRegistry.add(e),n=t=r.type===c?this.cellInstance(r.initial,r.distinct,e):this.signalInstance(r.distinct,e),this.inContext(()=>{r.init(this,n)}),t)}inContext(e){let t=r;r=this;let n=e();return r=t,n}changeWith(e,t,n){this.connect({sources:[t],pulls:[e],sink:e,map:e=>(t,r)=>{e(n(r,t))}})}calculateExecutionMap(e){let t=[],n=new Set,r=new a,i=new s,o=new a,l=(e,s=0)=>{i.increment(e),n.has(e)||(this.register(e),r.use(e,e=>{s=Math.max(...Array.from(e).map(e=>t.indexOf(e)))+1}),this.graph.use(e,t=>{for(let n of t)n.sources.has(e)?(o.getOrCreate(n.sink).add(n),l(n.sink,s)):r.getOrCreate(n.sink).add(e)}),n.add(e),t.splice(s,0,e))};return e.forEach(l),{participatingNodes:t,pendingPulls:r,projections:o,refCount:i}}getExecutionMap(e){let t=e;if(1===e.length){t=e[0];let n=this.executionMaps.get(t);if(void 0!==n)return n}else for(let[t,n]of this.executionMaps.entries())if(Array.isArray(t)&&t.length===e.length&&t.every(t=>e.includes(t)))return n;let n=this.calculateExecutionMap(e);return this.executionMaps.set(t,n),n}combineOperators(...e){return t=>{for(let n of e)t=n(t,this);return t}}}function p(e,t=u,n=!0){var r,i;return i=r=Symbol(),h.set(i,{type:c,distinct:n,initial:e,init:t}),r}function g(e=u,t=!1){var n,r;return r=n=Symbol(),h.set(r,{type:"signal",distinct:t,init:e}),n}function m(e=u){var t,n;return n=t=Symbol(),h.set(n,{type:"signal",distinct:!1,init:e}),t}let O=i.createContext(null);function y(){let e=i.useContext(O);if(null===e)throw Error("useRealm must be used within a RealmContextProvider");return e}function v(e){let t=y();t.register(e);let n=i.useCallback(n=>t.sub(e,n),[t,e]);return i.useSyncExternalStore(n,()=>t.getValue(e),()=>t.getValue(e))}function x(...e){let t=y();return v(i.useMemo(()=>t.combineCells.apply(t,e),[t,...e]))}function b(e){let t=y();return t.register(e),i.useCallback(n=>{t.pub(e,n)},[t,e])}function w(e){return(t,n)=>{let r=n.signalInstance();return n.connect({map:t=>n=>{t(e(n))},sink:r,sources:[t]}),r}}function k(...e){return(t,n)=>{let r=n.signalInstance();return n.connect({map:e=>(...t)=>{e(t)},pulls:e,sink:r,sources:[t]}),r}}function S(e){return(t,n)=>{let r=n.signalInstance();return n.connect({map:t=>()=>{t(e)},sink:r,sources:[t]}),r}}function _(e){return(t,n)=>{let r=n.signalInstance();return n.connect({map:t=>n=>{e(n)&&t(n)},sink:r,sources:[t]}),r}}function C(e,t){return(n,r)=>{let i=r.signalInstance();return r.connect({map:n=>r=>{n(t=e(t,r))},sink:i,sources:[n]}),i}}},44663:(e,t,n)=>{"use strict";var r=n(97796);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,l){if(l!==r){var s=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol
1:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},44900:(e,t,n)=>{"use strict";n.d(t,{X:()=>i});let r=["mdxJsxTextElement","mdxJsxFlowElement"];function i(e){return r.includes(e.type)&&o.includes(e.name)}let o=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","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","input","ins","kbd","label","legend","li","link","main","map","mark","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","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"]},45580:(e,t,n)=>{"use strict";n.d(t,{Cb:()=>O,Nx:()=>d,Rk:()=>v,SD:()=>c,Wh:()=>l,Xg:()=>h,dt:()=>u,zI:()=>p});var r=n(84544);let i=new Map;function o(e){let t={};if(!e)return t;for(let n of e.split(";"))if(""!==n){let[e,r]=n.split(/:([^]+)/);e&&r&&(t[e.trim()]=r.trim())}return t}function l(e){let t=i.get(e);return void 0===t&&(t=o(e),i.set(e,t)),t}function s(e){let t=(0,r.i0_)().getElementByKey(e.getKey());if(null===t)return null;let n=t.ownerDocument.defaultView;return null===n?null:n.getComputedStyle(t)}function a(e){return s((0,r.hVZ)(e)?e:e.getParentOrThrow())}function u(e){let t=a(e);return null!==t&&"rtl"===t.direction}function c(e,t){let n=e.getStartEndPoints();if(t.isSelected(e)&&!(0,r.Rb_)(t)&&null!==n){let[i,o]=n,l=e.isBackward(),s=i.getNode(),a=o.getNode(),u=t.is(s),c=t.is(a);if(u||c){let[n,i]=(0,r.Cku)(e),o=s.is(a),u=t.is(l?a:s),c=t.is(l?s:a),d,h=0;o?(h=n>i?i:n,d=n>i?n:i):u?(h=l?i:n,d=void 0):c&&(h=0,d=l?n:i),t.__text=t.__text.slice(h,d)}}return t}function d(e){if("text"===e.type)return e.offset===e.getNode().getTextContentSize();let t=e.getNode();return(0,r.ff4)(t)||function(e,...t){let n=new URL("https://lexical.dev/docs/error"),r=new URLSearchParams;for(let e of(r.append("code",177),t))r.append("v",e);throw n.search=r.toString(),Error(`Minified Lexical error #${177}; visit ${n.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}(177),e.offset===t.getChildrenSize()}function h(e){let t=e.getStyle(),n=o(t);i.set(t,n)}function f(e,t){let n=e.getFormatType(),r=e.getIndent();n!==t.getFormatType()&&t.setFormat(n),r!==t.getIndent()&&t.setIndent(r)}function p(e,t,n=f){if(null===e)return;let i=e.getStartEndPoints(),o=new Map,l=null;if(i){let[e,t]=i;(l=(0,r.uTE)()).anchor.set(e.key,e.offset,e.type),l.focus.set(t.key,t.offset,t.type);let n=x(e.getNode(),r.w3H),s=x(t.getNode(),r.w3H);(0,r.ff4)(n)&&o.set(n.getKey(),n),(0,r.ff4)(s)&&o.set(s.getKey(),s)}for(let t of e.getNodes())if((0,r.ff4)(t)&&(0,r.w3H)(t))o.set(t.getKey(),t);else if(null===i){let e=x(t,r.w3H);(0,r.ff4)(e)&&o.set(e.getKey(),e)}for(let[e,r]of o){let i=t();n(r,i),r.replace(i,!0),l&&(e===l.anchor.key&&l.anchor.set(i.getKey(),l.anchor.offset,l.anchor.type),e===l.focus.key&&l.focus.set(i.getKey(),l.focus.offset,l.focus.type))}l&&e.is((0,r.vJq)())&&(0,r.n1P)(l)}function g(e){let t=m(e);return null!==t&&"vertical-rl"===t.writingMode}function m(e){let t=e.anchor.getNode();return(0,r.ff4)(t)?s(t):a(t)}function O(e,t){let n=g(e)?!t:t;y(e)&&(n=!n);let i=(0,r.Ave)(e.focus,n?"previous":"next");if((0,r.pGK)(i))return!1;for(let e of(0,r.mWO)(i)){if((0,r.cmH)(e))return!e.origin.isInline();if(!(0,r.ff4)(e.origin)){if((0,r.Cyw)(e.origin))return!0;break}}return!1}function y(e){let t=m(e);return null!==t&&"rtl"===t.direction}function v(e,t,n){let r,i=y(e);r=g(e)||i?!n:n,e.modify(t?"extend":"move",r,"character")}function x(e,t){let n=e;for(;null!==n&&null!==n.getParent()&&!t(n);)n=n.getParentOrThrow();return t(n)?n:null}},48331:()=>{!function(e){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,n=0;n<2;n++)t=t.replace(/<self>/g,function(){return t});t=t.replace(/<self>/g,function(){return/[^\s\S]/.source}),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}
1],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string}(Prism)},49370:()=>{!function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,function(){return t.source});e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,function(){return t.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,function(){return n})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w
1*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(Prism)},51003:(e,t,n)=>{"use strict";n.d(t,{c:()=>i});var r=n(6325);function i(e){let t=r.useRef(e);return r.useEffect(()=>{t.current=e}),r.useMemo(()=>(...e)=>t.current?.(...e),[])}},52414:(e,t,n)=>{"use strict";n.d(t,{CP:()=>u,Gi:()=>a,Wr:()=>s,zy:()=>l});var r=n(39780),i=n(98293);function o(e){return e.children instanceof Array}class l extends Error{constructor(e,t){super(e),this.name="MarkdownParseError",this.cause=t}}class s extends Error{constructor(e){super(e),this.name="UnrecognizedMarkdownConstructError"}}function a({root:e,markdown:t,visitors:n,syntaxExtensions:i,mdastExtensions:o,...s}){var a;let c;try{c=(0,r.Y)(t,{extensions:i,mdastExtensions:o})}catch(e){if(e instanceof Error)throw new l(`Error parsing markdown: ${e.message}`,e);throw new l(`Error parsing markdown: ${e}`,e)}0===c.children.length&&c.children.push({type:"paragraph",children:[]}),(null==(a=c.children.at(-1))?void 0:a.type)!=="paragraph"&&c.children.push({type:"paragraph",children:[]}),u({root:e,mdastRoot:c,visitors:n,...s})}function u({root:e,mdastRoot:t,visitors:n,...r}){let l=new WeakMap,a=new WeakMap,u=function(e){let t=new Map;return"root"!==e.type?{importDeclarations:{}}:(e.children.filter(e=>"mdxjsEsm"===e.type).filter(e=>
1e.value.startsWith("import ")).forEach(e=>{var n,r;((null==(r=null==(n=e.data)?void 0:n.estree)?void 0:r.body)??[]).forEach(e=>{"ImportDeclaration"===e.type&&e.specifiers.forEach(n=>{t.set(n.local.name,{source:`${e.source.value}`,defaultExport:"ImportDefaultSpecifier"===n.type})})})}),{importDeclarations:Object.fromEntries(t.entries())})}(t);function c(e,t){if(!o(e))throw Error("Attempting to visit children of a non-parent");e.children.forEach(n=>{d(n,t,e)})}function d(e,t,h,f=null){let p=n.find((t,n)=>(null==f||!f.has(n))&&("string"==typeof t.testNode?t.testNode===e.type:t.testNode(e,r)));if(!p)try{throw new s(`Unsupported markdown syntax: ${(0,i.l)(e)}`)}catch(t){throw new s(`Parsing of the following markdown structure failed: ${JSON.stringify({type:e.type,name:"name"in e?e.name:"N/A"})}`)}p.visitNode({mdastNode:e,lexicalParent:t,mdastParent:h,descriptors:r,metaData:u,actions:{visitChildren:c,nextVisitor(){d(e,t,h,(f??new Set).add(n.indexOf(p)))},addAndStepInto(n){t.append(n),o(e)&&c(e,n)},addFormatting(t,n){!n&&o(e)&&(n=e),n&&l.set(n,t|(l.get(h)??0))},removeFormatting(t,n){!n&&o(e)&&(n=e),n&&l.set(n,t^(l.get(h)??0))},getParentFormatting:()=>l.get(h)??0,addStyle(t,n){!n&&o(e)&&(n=e),n&&a.set(n,t)},getParentStyle:()=>a.get(h)??""}})}n=n.sort((e,t)=>(t.priority??0)-(e.priority??0)),d(t,e,null)}},55869:(e,t,n)=>{e.exports=n(44663)()},56309:(e,t,n)=>{"use strict";n.d(t,{$n:()=>eh,bL:()=>ec,wv:()=>ed,OY:()=>ef,sy:()=>ep});var r=n(6325),i=n(73479),o=n(25992),l=n(4278),s=n(5966),a=n(11423),u=n(11997),c=n(51003),d=n(26339),h=n(36067),f=n(64177),p="rovingFocusGroup.onEntryFocus",g={bubbles:!1,cancelable:!0},m="RovingFocusGroup",[O,y,v]=(0,l.N)(m),[x,b]=(0,o.A)(m,[v]),[w,k]=x(m),S=r.forwardRef((e,t)=>(0,f.jsx)(O.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,f.jsx)(O.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,f.jsx)(_,{...e,ref:t})})}));S.displayName=m;var _=r.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:n,orientation:o,loop:l=!1,dir:a,currentTabStopId:O,defaultCurrentTabStopId:v,onCurrentTabStopIdChange:x,onEntryFocus:b,preventScrollOnEntryFocus:k=!1,...S}=e,_=r.useRef(null),C=(0,s.s)(t,_),P=(0,h.jH)(a),[T,$]=(0,d.i)({prop:O,defaultProp:null!=v?v:null,onChange:x,caller:m}),[A,E]=r.useState(!1),R=(0,c.c)(b),N=y(n),L=r.useRef(!1),[M,Z]=r.useState(0);return r.useEffect(()=>{let e=_.current;if(e)return e.addEventListener(p,R),()=>e.removeEventListener(p,R)},[R]),(0,f.jsx)(w,{scope:n,orientation:o,dir:P,loop:l,currentTabStopId:T,onItemFocus:r.useCallback(e=>$(e),[$]),onItemShiftTab:r.useCallback(()=>E(!0),[]),onFocusableItemAdd:r.useCallback(()=>Z(e=>e+1),[]),onFocusableItemRemove:r.useCallback(()=>Z(e=>e-1),[]),children:(0,f.jsx)(u.sG.div,{tabIndex:A||0===M?-1:0,"data-orientation":o,...S,ref:C,style:{outline:"none",...e.style},onMouseDown:(0,i.mK)(e.onMouseDown,()=>{L.current=!0}),onFocus:(0,i.mK)(e.onFocus,e=>{let t=!L.current;if(e.target===e.currentTarget&&t&&!A){let t=new CustomEvent(p,g);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=N().filter(e=>e.focusable);Q([e.find(e=>e.active),e.find(e=>e.id===T),...e].filter(Boolean).map(e=>e.ref.current),k)}}L.current=!1}),onBlur:(0,i.mK)(e.onBlur,()=>E(!1))})})}),C="RovingFocusGroupItem",P=r.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:n,focusable:o=!0,active:l=!1,tabStopId:s,children:c,...d}=e,h=(0,a.B)(),p=s||h,g=k(C,n),m=g.currentTabStopId===p,v=y(n),{onFocusableItemAdd:x,onFocusableItemRemove:b,currentTabStopId:w}=g;return r.useEffect(()=>{if(o)return x(),()=>b()},[o,x,b]),(0,f.jsx)(O.ItemSlot,{scope:n,id:p,focusable:o,active:l,children:(0,f.jsx)(u.sG.span,{tabIndex:m?0:-1,"data-orientation":g.orientation,...d,ref:t,onMouseDown:(0,i.mK)(e.onMouseDown,e=>{o?g.onItemFocus(p):e.preventDefault()}),onFocus:(0,i.mK)(e.onFocus,()=>g.onItemFocus(p)),onKeyDown:(0,i.mK)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void g.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=function(e,t,n){var r;let i=(r=e.key,"rtl"!==n?r:"ArrowLeft"===r?"ArrowRight":"ArrowRight"===r?"ArrowLeft":r);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(i))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(i)))return T[i]}(e,g.orientation,g.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let n=v().filter(e=>
1e.focusable).map(e=>e.ref.current);if("last"===t)n.reverse();else if("prev"===t||"next"===t){"prev"===t&&n.reverse();let r=n.indexOf(e.currentTarget);n=g.loop?function(e,t){return e.map((n,r)=>e[(t+r)%e.length])}(n,r+1):n.slice(r+1)}setTimeout(()=>Q(n))}}),children:"function"==typeof c?c({isCurrentTabStop:m,hasTabStop:null!=w}):c})})});P.displayName=C;var T={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function Q(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=document.activeElement;for(let r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}var $="horizontal",A=["horizontal","vertical"],E=r.forwardRef((e,t)=>{var n;let{decorative:r,orientation:i=$,...o}=e,l=(n=i,A.includes(n))?i:$;return(0,f.jsx)(u.sG.div,{"data-orientation":l,...r?{role:"none"}:{"aria-orientation":"vertical"===l?l:void 0,role:"separator"},...o,ref:t})});E.displayName="Separator";var R="Toggle",N=r.forwardRef((e,t)=>{let{pressed:n,defaultPressed:r,onPressedChange:o,...l}=e,[s,a]=(0,d.i)({prop:n,onChange:o,defaultProp:null!=r&&r,caller:R});return(0,f.jsx)(u.sG.button,{type:"button","aria-pressed":s,"data-state":s?"on":"off","data-disabled":e.disabled?"":void 0,...l,ref:t,onClick:(0,i.mK)(e.onClick,()=>{e.disabled||a(!s)})})});N.displayName=R;var L="ToggleGroup",[M,Z]=(0,o.A)(L,[b]),I=b(),j=r.forwardRef((e,t)=>{let{type:n,...r}=e;if("single"===n)return(0,f.jsx)(V,{...r,ref:t});if("multiple"===n)return(0,f.jsx)(F,{...r,ref:t});throw Error("Missing prop `type` expected on `".concat(L,"`"))});j.displayName=L;var[X,D]=M(L),V=r.forwardRef((e,t)=>{let{value:n,defaultValue:i,onValueChange:o=()=>{},...l}=e,[s,a]=(0,d.i)({prop:n,defaultProp:null!=i?i:"",onChange:o,caller:L});return(0,f.jsx)(X,{scope:e.__scopeToggleGroup,type:"single",value:r.useMemo(()=>s?[s]:[],[s]),onItemActivate:a,onItemDeactivate:r.useCallback(()=>a(""),[a]),children:(0,f.jsx)(W,{...l,ref:t})})}),F=r.forwardRef((e,t)=>{let{value:n,defaultValue:i,onValueChange:o=()=>{},...l}=e,[s,a]=(0,d.i)({prop:n,defaultProp:null!=i?i:[],onChange:o,caller:L}),u=r.useCallback(e=>a(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return[...t,e]}),[a]),c=r.useCallback(e=>a(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t.filter(t=>t!==e)}),[a]);return(0,f.jsx)(X,{scope:e.__scopeToggleGroup,type:"multiple",value:s,onItemActivate:u,onItemDeactivate:c,children:(0,f.jsx)(W,{...l,ref:t})})});j.displayName=L;var[z,B]=M(L),W=r.forwardRef((e,t)=>{let{__scopeToggleGroup:n,disabled:r=!1,rovingFocus:i=!0,orientation:o,dir:l,loop:s=!0,...a}=e,c=I(n),d=(0,h.jH)(l),p={role:"group",dir:d,...a};return(0,f.jsx)(z,{scope:n,rovingFocus:i,disabled:r,children:i?(0,f.jsx)(S,{asChild:!0,...c,orientation:o,dir:d,loop:s,children:(0,f.jsx)(u.sG.div,{...p,ref:t})}):(0,f.jsx)(u.sG.div,{...p,ref:t})})}),Y="ToggleGroupItem",q=r.forwardRef((e,t)=>{let n=D(Y,e.__scopeToggleGroup),i=B(Y,e.__scopeToggleGroup),o=I(e.__scopeToggleGroup),l=n.value.includes(e.value),s=i.disabled||e.disabled,a={...e,pressed:l,disabled:s},u=r.useRef(null);return i.rovingFocus?(0,f.jsx)(P,{asChild:!0,...o,focusable:!s,active:l,ref:u,children:(0,f.jsx)(U,{...a,ref:t})}):(0,f.jsx)(U,{...a,ref:t})});q.displayName=Y;var U=r.forwardRef((e,t)=>{let{__scopeToggleGroup:n,value:r,...i}=e,o=D(Y,n),l={role:"radio","aria-checked":e.pressed,"aria-pressed":void 0},s="single"===o.type?l:void 0;return(0,f.jsx)(N,{...s,...i,ref:t,onPressedChange:e=>{e?o.onItemActivate(r):o.onItemDeactivate(r)}})}),G="Toolbar",[H,J]=(0,o.A)(G,[b,Z]),K=b(),ee=Z(),[et,en]=H(G),er=r.forwardRef((e,t)=>{let{__scopeToolbar:n,orientation:r="horizontal",dir:i,loop:o=!0,...l}=e,s=K(n),a=(0,h.jH)(i);return(0,f.jsx)(et,{scope:n,orientation:r,dir:a,children:(0,f.jsx)(S,{asChild:!0,...s,orientation:r,dir:a,loop:o,children:(0,f.jsx)(u.sG.div,{role:"toolbar","aria-orientation":r,dir:a,...l,ref:t})})})});er.displayName=G;var ei="ToolbarSeparator",eo=r.forwardRef((e,t)=>{let{__scopeToolbar:n,...r}=e,i=en(ei,n);return(0,f.jsx)(E,{orientation:"horizontal"===i.orientation?"vertical":"horizontal",...r,ref:t})});eo.displayName=ei;var el=r.forwardRef((e,t)=>
1{let{__scopeToolbar:n,...r}=e,i=K(n);return(0,f.jsx)(P,{asChild:!0,...i,focusable:!e.disabled,children:(0,f.jsx)(u.sG.button,{type:"button",...r,ref:t})})});el.displayName="ToolbarButton",r.forwardRef((e,t)=>{let{__scopeToolbar:n,...r}=e,o=K(n);return(0,f.jsx)(P,{asChild:!0,...o,focusable:!0,children:(0,f.jsx)(u.sG.a,{...r,ref:t,onKeyDown:(0,i.mK)(e.onKeyDown,e=>{" "===e.key&&e.currentTarget.click()})})})}).displayName="ToolbarLink";var es="ToolbarToggleGroup",ea=r.forwardRef((e,t)=>{let{__scopeToolbar:n,...r}=e,i=en(es,n),o=ee(n);return(0,f.jsx)(j,{"data-orientation":i.orientation,dir:i.dir,...o,...r,ref:t,rovingFocus:!1})});ea.displayName=es;var eu=r.forwardRef((e,t)=>{let{__scopeToolbar:n,...r}=e,i=ee(n),o={__scopeToolbar:e.__scopeToolbar};return(0,f.jsx)(el,{asChild:!0,...o,children:(0,f.jsx)(q,{...i,...r,ref:t})})});eu.displayName="ToolbarToggleItem";var ec=er,ed=eo,eh=el,ef=ea,ep=eu},56471:(e,t,n)=>{"use strict";n.d(t,{d:()=>a});var r=n(6325),i=n(88732),o=n(82991),l=n(44443),s=n(60665);let a=()=>{let e=(0,l.qM)(o.NN),t=(0,l.X3)(s.yr),n=(0,s.Bd)();return r.createElement(i.gx,{"aria-label":n("toolbar.link","Create link"),title:n("toolbar.link","Create link"),onClick:t=>{e()}},t("link"))}},56487:(e,t,n)=>{"use strict";n.d(t,{mN:()=>eu,xI:()=>A});var r=n(6325),i=e=>e instanceof Date,o=e=>null==e,l=e=>!o(e)&&!Array.isArray(e)&&"object"==typeof e&&!i(e),s=e=>l(e)&&e.target?"checkbox"===e.target.type?e.target.checked:e.target.value:e,a=(e,t)=>t.split(".").some((t,n,r)=>!isNaN(Number(t))&&e.has(r.slice(0,n).join("."))),u="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function c(e){if(e instanceof Date)return new Date(e);let t="undefined"!=typeof FileList&&e instanceof FileList;if(u&&(e instanceof Blob||t))return e;let n=Array.isArray(e);if(!n&&!(l(e)&&(e=>{let t=e.constructor&&e.constructor.prototype;return l(t)&&t.hasOwnProperty("isPrototypeOf")})(e)))return e;let r=n?[]:Object.create(Object.getPrototypeOf(e));for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=c(e[t]));return r}let d={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change",SUBMIT:"submit",TRIGGER:"trigger",VALID:"valid"},h={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},f={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},p="form",g="root",m=["__proto__","constructor","prototype"];var O=e=>/^\w*$/.test(e),y=e=>void 0===e,v=e=>e.split(/[.[\]'"]/g).filter(Boolean),x=(e,t,n)=>{if(!t||!l(e))return n;let r=O(t)?[t]:v(t);if(r.some(e=>m.includes(e)))return n;let i=r.reduce((e,t)=>o(e)?void 0:e[t],e);return y(i)||i===e?y(e[t])?n:e[t]:i},b=e=>"function"==typeof e,w=(e,t,n)=>{let r=-1,i=O(t)?[t]:v(t),o=i.length,s=o-1;for(;++r<o;){let t=i[r],o=n;if(r!==s){let n=e[t];o=l(n)||Array.isArray(n)?n:isNaN(+i[r+1])?{}:[]}if(m.includes(t))return;e[t]=o,e=e[t]}};let k=r.createContext(null);k.displayName="HookFormControlContext";let S=()=>r.useContext(k);var _=(e,t,n,r=!0)=>{let i={};for(let o in e)Object.defineProperty(i,o,{get:()=>(t._proxyFormState[o]!==h.all&&(t._proxyFormState[o]=!r||h.all),n&&(n[o]=!0),e[o])});return i};let C=u?r.useLayoutEffect:r.useEffect;var P=e=>"string"==typeof e,T=(e,t,n,r,i)=>P(e)?(r&&t.watch.add(e),x(n,e,i)):Array.isArray(e)?e.map(e=>(r&&t.watch.add(e),x(n,e))):(r&&(t.watchAll=!0),n),Q=e=>o(e)||"object"!=typeof e;function $(e,t,n=new WeakSet){if(e===t)return!0;if(Q(e)||Q(t))return Object.is(e,t);if(i(e)&&i(t))return Object.is(e.getTime(),t.getTime());let r=Object.keys(e),o=Object.keys(t);if(r.length!==o.length)return!1;if(n.has(e)||n.has(t))return!0;for(let o of(n.add(e),n.add(t),r)){let r=e[o];if(!(o in t))return!1;if("ref"!==o){let e=t[o];if(i(r)&&i(e)||(l(r)||Array.isArray(r))&&(l(e)||Array.isArray(e))?!$(r,e,n):!Object.is(r,e))return!1}}return!0}let A=e=>e.render(function(e){let t=S(),{name:n,disabled:i,control:o=t,shouldUnregister:l,defaultValue:u,exact:h=!0}=e,f=a(o._names.array,n),p=r.useMemo(()=>x(o._formValues,n,x(o._defaultValues,n,u)),[o,n,u]),g=function(e){let t=S(),{control:n=t,name:i,defaultValue:o,disabled:l,exact:s,compute:a}=e||{},u=r.useRef(o),c=r.useRef(a),d=r.useRef(void 0),h=r.useRef(n),f=r.useRef(i);c.current=a;let[p,g]=r.useState(()=>{let e=n._getWatch(i,u.current);return c.current?c.current(e):e}),m=r.useCallback(e=>{let t=T(i,n._names,e||n._formValues,!1,u.current);return c.current?c.current(t):t},[n._formValues,n._names,i]),O=r.useCallback(e=>{if(!l){let t=T(i,n._names,e||n._formValues,!1,u.current);
1if(c.current){let e=c.current(t);$(e,d.current)||(g(e),d.current=e)}else g(t)}},[n._formValues,n._names,l,i]);C(()=>(h.current===n&&$(f.current,i)||(h.current=n,f.current=i,O()),n._subscribe({name:i,formState:{values:!0},exact:s,callback:e=>{O(e.values)}})),[n,s,i,O]),r.useEffect(()=>n._removeUnmounted());let y=h.current!==n,v=f.current,x=r.useMemo(()=>{if(l)return null;let e=!y&&!$(v,i);return y||e?m():null},[l,y,i,v,m]);return null!==x?x:p}({control:o,name:n,defaultValue:p,exact:h}),m=function(e){let t=S(),{control:n=t,disabled:i,name:o,exact:l}=e||{},[s,a]=r.useState(()=>({...n._formState,defaultValues:n._defaultValues})),u=r.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1});return C(()=>n._subscribe({name:o,formState:u.current,exact:l,callback:e=>{i||a({...n._formState,...e,defaultValues:n._defaultValues})}}),[o,i,l]),r.useEffect(()=>{u.current.isValid&&n._setValid(!0)},[n]),r.useMemo(()=>_(s,n,u.current,!1),[s,n])}({control:o,name:n,exact:h}),O=r.useRef(e),v=r.useRef(o.register(n,{...e.rules,value:g,..."boolean"==typeof e.disabled?{disabled:e.disabled}:{}}));O.current=e;let k=r.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!x(m.errors,n)},isDirty:{enumerable:!0,get:()=>!!x(m.dirtyFields,n)},isTouched:{enumerable:!0,get:()=>!!x(m.touchedFields,n)},isValidating:{enumerable:!0,get:()=>!!x(m.validatingFields,n)},error:{enumerable:!0,get:()=>x(m.errors,n)}}),[m,n]),P=r.useCallback(e=>v.current.onChange({target:{value:s(e),name:n},type:d.CHANGE}),[n]),Q=r.useCallback(()=>v.current.onBlur({target:{value:x(o._formValues,n),name:n},type:d.BLUR}),[n,o._formValues]),A=r.useCallback(e=>{let t=x(o._fields,n);t&&t._f&&e&&(t._f.ref={focus:()=>b(e.focus)&&e.focus(),select:()=>b(e.select)&&e.select(),setCustomValidity:t=>b(e.setCustomValidity)&&e.setCustomValidity(t),reportValidity:()=>b(e.reportValidity)&&e.reportValidity()})},[o._fields,n]),E=r.useMemo(()=>({name:n,value:g,..."boolean"==typeof i||m.disabled?{disabled:m.disabled||i}:{},onChange:P,onBlur:Q,ref:A}),[n,i,m.disabled,P,Q,A,g]);return r.useEffect(()=>{let e=o._options.shouldUnregister||l;o.register(n,{...O.current.rules,..."boolean"==typeof O.current.disabled?{disabled:O.current.disabled}:{}});let t=(e,t)=>{let n=x(o._fields,e);n&&n._f&&(n._f.mount=t)};if(t(n,!0),e){let e=c(x(o._defaultValues,n,x(o._options.defaultValues,n,O.current.defaultValue)));w(o._defaultValues,n,e),y(x(o._formValues,n))&&w(o._formValues,n,e)}return f||o.register(n),()=>{(f?e&&!o._state.action:e)?o.unregister(n):t(n,!1)}},[n,o,f,l]),r.useEffect(()=>{o._setDisabledField({disabled:i,name:n})},[i,n,o]),r.useMemo(()=>({field:E,formState:m,fieldState:k}),[E,m,k])}(e));r.createContext(null).displayName="HookFormContext";var E=(e,t,n,r,i)=>t?{...n[e],types:{...n[e]&&n[e].types?n[e].types:{},[r]:i||!0}}:{},R=e=>Array.isArray(e)?e.filter(Boolean):[],N=e=>Array.isArray(e)?e:[e],L=()=>{let e=[];return{get observers(){return e},next:t=>{for(let n of e)n.next&&n.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter(e=>e!==t)}}),unsubscribe:()=>{e=[]}}},M=e=>l(e)&&!Object.keys(e).length,Z=e=>{if(!u)return!1;let t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},I=e=>Z(e)&&e.isConnected;function j(e,t){if(P(t)&&Object.prototype.hasOwnProperty.call(e,t))return delete e[t],e;let n=Array.isArray(t)?t:O(t)?[t]:v(t),r=1===n.length?e:function(e,t){let n=t.slice(0,-1).length,r=0;for(;r<n;){if(o(e)){e=void 0;break}e=e[t[r]],r++}return e}(e,n),i=n.length-1,s=n[i];return r&&delete r[s],0!==i&&(l(r)&&M(r)||Array.isArray(r)&&function(e){for(let t in e)if(e.hasOwnProperty(t)&&!y(e[t]))return!1;return!0}(r))&&j(e,n.slice(0,-1)),e}function X(e){return Array.isArray(e)||l(e)&&!(e=>{for(let t in e)if(b(e[t]))return!0;return!1})(e)}function D(e,t={}){for(let n in e){let r=e[n];X(r)?(t[n]=Array.isArray(r)?[]:{},D(r,t[n])):y(r)||(t[n]=!0)}return t}function V(e,t,n){for(let r in n||(n=D(t)),e){let i=e[r];if(X(i))y(t)||Q(n[r])?n[r]=D(i,Array.isArray(i)?[]:{}):V(i,o(t)?{}:t[r],n[r]);else{let e=t[r];n[r]=!$(i,e)}}return function e(t){if(!1!==t){if(!0===t)return!0;
1if(Array.isArray(t)){let n=t.map(t=>e(t));return n.some(e=>void 0!==e)?n:void 0}if(l(t)){let n={};for(let r in t){let i=e(t[r]);y(i)||(n[r]=i)}return Object.keys(n).length?n:void 0}}}(n)||{}}let F={value:!1,isValid:!1},z={value:!0,isValid:!0};var B=e=>{if(Array.isArray(e)){if(e.length>1){let t=e.filter(e=>e&&e.checked&&!e.disabled).map(e=>e.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!y(e[0].attributes.value)?y(e[0].value)||""===e[0].value?z:{value:e[0].value,isValid:!0}:z:F}return F},W=(e,{valueAsNumber:t,valueAsDate:n,setValueAs:r})=>y(e)?e:t?""===e?NaN:e?+e:e:n&&P(e)?new Date(e):r?r(e):e;let Y={isValid:!1,value:null};var q=e=>Array.isArray(e)?e.reduce((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e,Y):Y;function U(e){let t=e.ref;return"file"===t.type?t.files:"radio"===t.type?q(e.refs).value:"select-multiple"===t.type?[...t.selectedOptions].map(({value:e})=>e):"checkbox"===t.type?B(e.refs).value:W(y(t.value)?e.ref.value:t.value,e)}var G=e=>y(e)?e:e instanceof RegExp?e.source:l(e)?e.value instanceof RegExp?e.value.source:e.value:e,H=e=>({isOnSubmit:!e||e===h.onSubmit,isOnBlur:e===h.onBlur,isOnChange:e===h.onChange,isOnAll:e===h.all,isOnTouch:e===h.onTouched});let J="AsyncFunction";var K=e=>!!e&&!!e.validate&&!!(b(e.validate)&&e.validate.constructor.name===J||l(e.validate)&&Object.values(e.validate).find(e=>e.constructor.name===J)),ee=(e,t,n)=>!n&&(t.watchAll||t.watch.has(e)||[...t.watch].some(t=>e.startsWith(`${t}.`)));let et=(e,t,n,r)=>{for(let i of n||Object.keys(e)){let n=x(e,i);if(n){let{_f:e,...o}=n;if(e){if(e.refs&&e.refs[0]&&t(e.refs[0],i)&&!r)return!0;else if(e.ref&&t(e.ref,e.name)&&!r)return!0;else if(et(o,t))break}else if(l(o)&&et(o,t))break}}};function en(e,t,n){let r=x(e,n);if(r||O(n))return{error:r,name:n};let i=n.split(".");for(;i.length;){let r=i.join("."),o=x(t,r),l=x(e,r);if(o&&!Array.isArray(o)&&n!==r)break;if(l&&l.type)return{name:r,error:l};if(l&&l.root&&l.root.type)return{name:`${r}.root`,error:l.root};i.pop()}return{name:n}}var er=(e,t,n)=>{let r=x(e,n),i=Array.isArray(r)?r:[];return w(i,g,t[n]),w(e,n,i),e};function ei(e,t,n="validate"){if(P(e)||Array.isArray(e)&&e.every(P)||"boolean"==typeof e&&!e)return{type:n,message:P(e)?e:"",ref:t}}var eo=e=>!l(e)||e instanceof RegExp?{value:e,message:""}:e,el=async(e,t,n,r,i,s)=>{let{ref:a,refs:u,required:c,maxLength:d,minLength:h,min:p,max:g,pattern:m,validate:O,name:v,valueAsNumber:w,mount:k}=e._f,S=x(n,v);if(!k||t.has(v))return{};let _=u?u[0]:a,C=e=>{i&&_.reportValidity&&(_.setCustomValidity("boolean"==typeof e?"":e||""),_.reportValidity())},T={},Q="radio"===a.type,$="checkbox"===a.type,A=(w||"file"===a.type)&&y(a.value)&&y(S)||Z(a)&&""===a.value||""===S||Array.isArray(S)&&!S.length,R=E.bind(null,v,r,T),N=(e,t,n,r=f.maxLength,i=f.minLength)=>{let o=e?t:n;T[v]={type:e?r:i,message:o,ref:a,...R(e?r:i,o)}};if(s?!Array.isArray(S)||!S.length:c&&(!(Q||$)&&(A||o(S))||"boolean"==typeof S&&!S||$&&!B(u).isValid||Q&&!q(u).isValid)){let{value:e,message:t}=P(c)?{value:!!c,message:c}:eo(c);if(e&&(T[v]={type:f.required,message:t,ref:_,...R(f.required,t)},!r))return C(t),T}if(!A&&(!o(p)||!o(g))){let e,t,n=eo(g),i=eo(p);if(o(S)||isNaN(S)){let r=a.valueAsDate||new Date(S),o=e=>new Date(new Date().toDateString()+" "+e),l="time"==a.type,s="week"==a.type;P(n.value)&&S&&(e=l?o(S)>o(n.value):s?S>n.value:r>new Date(n.value)),P(i.value)&&S&&(t=l?o(S)<o(i.value):s?S<i.value:r<new Date(i.value))}else{let r=a.valueAsNumber||(S?+S:S);o(n.value)||(e=r>n.value),o(i.value)||(t=r<i.value)}if((e||t)&&(N(!!e,n.message,i.message,f.max,f.min),!r))return C(T[v].message),T}if((d||h)&&!A&&(P(S)||s&&Array.isArray(S))){let e=eo(d),t=eo(h),n=!o(e.value)&&S.length>+e.value,i=!o(t.value)&&S.length<+t.value;if((n||i)&&(N(n,e.message,t.message),!r))return C(T[v].message),T}if(m&&!A&&P(S)){let{value:e,message:t}=eo(m);if(e instanceof RegExp&&!S.match(e)&&(T[v]={type:f.pattern,message:t,ref:a,...R(f.pattern,t)},!r))return C(t),T}if(O){if(b(O)){let e=ei(await O(S,n),_);if(e&&(T[v]={...e,...R(f.validate,e.message)},!r))return C(e.message),T}else if(l(O)){let e={};for(let t in O){if(!M(e)&&!r)break;let i=ei(await O[t](S,n),_,t);i&&(e={...i,...R(t,i.message)},C(i.message),r&&(T[v]=e))}if(!M(e)&&(T[v]={ref:_,...e},!r))return T}}return C(!0),T};let es={mode:h.onSubmit,reValidateMode:h.onChange,shouldFocusError:!0},ea={submitCount:0,isDirty:!1,isReady:!1,isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{}};function eu(e={}){let t=r.useRef(void 0),n=r.useRef(void 0),[m,k]=r.useState(()=>({...c(ea),isLoading:b(e.defaultValues),errors:e.errors||{},disabled:e.disabled||!1,defaultValues:b(e.defaultValues)?void 0:e.defaultValues}));if(!t.current)if(e.formControl)t.current={...e.formControl,formState:m},e.defaultValues&&!b(e.defaultValues)&&e.formControl.reset(e.defaultValues,e.resetOptions);else{let{formControl:n,...r}=function(e={}){let t,n={...es,...e},r={...c(ea),isLoading:b(n.defaultValues),errors:n.errors||{},disabled:n.disabled||!1},m={},k=(l(n.defaultValues)||l(n.values))&&c(n.defaultValues||n.values)||{},S=n.shouldUnregister?{}:c(k),_={action:!1,mount:!1,watch:!1,keepIsValid:!1},C={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set,registerName:new Set},Q=0,A={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},E={...A},X={...E},D={array:L(),state:L()},F=n.criteriaMode===h.all,z=async e=>{if(!_.keepIsValid&&!n.disabled&&(E.isValid||X.isValid||e)){let e;n.resolver?(e=M((await ei()).errors),B()):e=await ec({fields:m,onlyCheckValid:!0,eventType:d.VALID}),e!==r.isValid&&D.state.next({isValid:e})}},B=(e,t)=>{!n.disabled&&(E.isValidating||E.validatingFields||X.isValidating||X.validatingFields)&&((e||Array.from(C.mount)).forEac
1h(e=>{e&&(t?w(r.validatingFields,e,t):j(r.validatingFields,e))}),D.state.next({validatingFields:r.validatingFields,isValidating:!M(r.validatingFields)}))},Y=()=>{r.dirtyFields=V(k,S)},q=(e,t,n,i)=>{let l=x(m,e);if(l){if((e=>{let t=O(e)?[e]:v(e),n=S,r=k;for(let e=0;e<t.length-1;e++){let i=t[e];if(n=o(n)?n:n[i],r=o(r)?r:r[i],null===n&&null!==r)return!0}return!1})(e))return;let s=y(x(S,e)),a=x(S,e,y(n)?x(k,e):n);y(a)||i&&i.defaultChecked||t?w(S,e,t?a:U(l._f)):ef(e,a),_.mount&&!_.action&&(z(),s&&r.isDirty&&(E.isDirty||X.isDirty)&&(ed()||(r.isDirty=!1,D.state.next({...r}))))}},J=(e,t,i,o,l)=>{let s=!1,a=!1,u={name:e};if(!n.disabled){if(!i||o){(E.isDirty||X.isDirty)&&(a=r.isDirty,r.isDirty=u.isDirty=ed(),s=a!==u.isDirty);let n=$(x(k,e),t);a=!!x(r.dirtyFields,e),n!==r.isDirty?r.dirtyFields=V(k,S):n?j(r.dirtyFields,e):w(r.dirtyFields,e,!0),u.dirtyFields=r.dirtyFields,s=s||(E.dirtyFields||X.dirtyFields)&&!n!==a}if(i){let t=x(r.touchedFields,e);t||(w(r.touchedFields,e,i),u.touchedFields=r.touchedFields,s=s||(E.touchedFields||X.touchedFields)&&t!==i)}s&&l&&D.state.next(u)}return s?u:{}},ei=async e=>(B(e,!0),await n.resolver(S,n.context,((e,t,n,r)=>{let i={};for(let n of e){let e=x(t,n);e&&w(i,n,e._f)}return{criteriaMode:n,names:[...e],fields:i,shouldUseNativeValidation:r}})(e||C.mount,m,n.criteriaMode,n.shouldUseNativeValidation))),eo=async e=>{let{errors:t}=await ei(e);if(B(e),e)for(let n of e){let e=x(t,n);e?C.array.has(n)&&l(e)&&!Object.keys(e).some(e=>!Number.isNaN(Number(e)))?er(r.errors,{[n]:e},n):w(r.errors,n,e):j(r.errors,n)}else r.errors=t;return t},eu=async({name:t,eventType:n})=>{if(e.validate){let i=await e.validate({formValues:S,formState:r,name:t,eventType:n});if(l(i))for(let e in i){let t=i[e];t&&ek(`${p}.${e}`,{message:P(t.message)?t.message:"",type:t.type||f.validate})}else P(i)||!i?ek(p,{message:i||"",type:f.validate}):ew(p);return i}return!0},ec=async({fields:t,onlyCheckValid:i,name:o,eventType:l,context:s={valid:!0,runRootValidation:!1}})=>{if(e.validate&&(s.runRootValidation=!0,!await eu({name:o,eventType:l}))&&(s.valid=!1,i))return s.valid;for(let o in t){let a=t[o];if(a){let{_f:t,...u}=a;if(t){let o=C.array.has(t.name),l=a._f&&K(a._f),u=E.validatingFields||E.isValidating||X.validatingFields||X.isValidating;l&&u&&B([t.name],!0);let c=await el(a,C.disabled,S,F,n.shouldUseNativeValidation&&!i,o);if(l&&u&&B([t.name]),c[t.name]&&(s.valid=!1,i)||(i||(x(c,t.name)?o?er(r.errors,c,t.name):w(r.errors,t.name,c[t.name]):j(r.errors,t.name)),e.shouldUseNativeValidation&&c[t.name]))break}M(u)||await ec({context:s,onlyCheckValid:i,fields:u,name:o,eventType:l})}}return s.valid},ed=(e,t)=>!n.disabled&&(e&&t&&w(S,e,t),!$(ex(),k)),eh=(e,t,n)=>T(e,C,{..._.mount?S:y(t)?k:P(e)?{[e]:t}:t},n,t),ef=(e,t,n={},r=!1)=>{let i=x(m,e),l=t;if(i){let n=i._f;n&&(n.disabled||w(S,e,W(t,n)),l=Z(n.ref)&&o(t)?"":t,"select-multiple"===n.ref.type?[...n.ref.options].forEach(e=>e.selected=l.includes(e.value)):n.refs?"checkbox"===n.ref.type?n.refs.forEach(e=>{e.defaultChecked&&e.disabled||(Array.isArray(l)?e.checked=!!l.find(t=>t===e.value):e.checked=l===e.value||!!l)}):n.refs.forEach(e=>e.checked=e.value===l):"file"===n.ref.type?n.ref.value="":(n.ref.value=l,n.ref.type||D.state.next({name:e,values:r?S:c(S)})))}(n.shouldDirty||n.shouldTouch)&&J(e,l,n.shouldTouch,n.shouldDirty,!0),n.shouldValidate&&ev(e)},ep=(e,t,n,r=!1)=>{for(let o in t){if(!t.hasOwnProperty(o))return;let s=t[o],a=e+"."+o,u=x(m,a);(C.array.has(e)||l(s)||u&&!u._f)&&!i(s)?ep(a,s,n,r):ef(a,s,n,r)}},eg=(e,t,n,i)=>{let l=x(m,e),s=C.array.has(e),a=i?t:c(t),u=$(x(S,e),a);if(u||w(S,e,a),s)D.array.next({name:e,values:i?S:c(S)}),(E.isDirty||E.dirtyFields||X.isDirty||X.dirtyFields)&&n.shouldDirty&&(Y(),D.state.next({name:e,dirtyFields:r.dirtyFields,isDirty:ed(e,a)}));else{let t=Array.isArray(a)&&!a.length||M(a);!l||l._f||o(a)||t?ef(e,a,n,i):ep(e,a,n,i)}if(!u){let t=ee(e,C),n=i?S:c(S);D.state.next({...t&&r,name:_.mount||t?e:void 0,values:n})}},em=(e,t,n={})=>eg(e,t,n,!1),eO=async o=>{_.mount=!0;let l=o.target,a=l.name,u=!0,h=x(m,a),f=e=>{u=Number.isNaN(e)||i(e)&&isNaN(e.getTime())||$(e,x(S,a,e))},p=H(n.mode),g=H(n.reValidateMode);if(h){let i,_,R,N=l.type?U(h._f):s(o),L=o.type===d.BLUR||o.type===d.FOCUS_OUT,Z=!((R=h._f).mount&&(R.required||R.min||R.max||R.maxLength||R.minLength||R.pattern||R.validate))&&!e.validate&&!n.resolver&&!x(r.errors,a)&&!h._f.deps||(O=L,y=x(r.touchedFields,a),v=r.isSubmitted,b=g,!(k=p).isOnAll&&(!v&&k.isOnTouch?!(y||O):(v?b.isOnBlur:k.isOnBlur)?!O:(v?!b.isOnChange:!k.isOnChange)||O)),I=ee(a,C,L);w(S,a,N),L?l&&l.readOnly||(h._f.onBlur&&h._f.onBlur(o),t&&t(0)):h._f.onChange&&h._f.onChange(o);let V=J(a,N,L),W=!M(V)||I;if(L||D.state.next({name:a,type:o.type,values:c(S)}),Z)return(E.isValid||X.isValid)&&("onBlur"===n.mode?L&&z():L||z()),W&&D.state.next({name:a,...I?{}:V});if(!n.resolver&&e.validate&&await eu({name:a,eventType:o.type}),!L&&I&&D.state.next({...r}),n.resolver){let{errors:e}=await ei([a]);if(B([a]),f(N),u){let t=en(r.errors,m,a),n=en(e,m,t.name||a);i=n.error,a=n.name,_=M(e)}}else B([a],!0),i=(await el(h,C.disabled,S,F,n.shouldUseNativeValidation))[a],B([a]
1),f(N),u&&(i?_=!1:(E.isValid||X.isValid)&&(_=await ec({fields:m,onlyCheckValid:!0,name:a,eventType:o.type})));if(u){h._f.deps&&(!Array.isArray(h._f.deps)||h._f.deps.length>0)&&ev(h._f.deps);var O,y,v,b,k,P=a,T=_,A=i;let e=x(r.errors,P),o=(E.isValid||X.isValid)&&"boolean"==typeof T&&r.isValid!==T;if(n.delayError&&A){let e;e=()=>{w(r.errors,P,A),D.state.next({errors:r.errors})},(t=t=>{clearTimeout(Q),Q=setTimeout(e,t)})(n.delayError)}else clearTimeout(Q),t=null,A?w(r.errors,P,A):j(r.errors,P);if((A?!$(e,A):e)||!M(V)||o){let e={...V,...o&&"boolean"==typeof T?{isValid:T}:{},errors:r.errors,name:P};r={...r,...e},D.state.next(e)}}}},ey=(e,t)=>{if(x(r.errors,t)&&e.focus)return e.focus(),1},ev=async(e,t={})=>{let i,o,l=N(e);if(n.resolver){let t=await eo(y(e)?e:l);i=M(t),o=e?!l.some(e=>x(t,e)):i}else e?((o=(await Promise.all(l.map(async e=>{let t=x(m,e);return await ec({fields:t&&t._f?{[e]:t}:t,eventType:d.TRIGGER})}))).every(Boolean))||r.isValid)&&z():o=i=await ec({fields:m,name:e,eventType:d.TRIGGER});return D.state.next({...!P(e)||(E.isValid||X.isValid)&&i!==r.isValid?{}:{name:e},...n.resolver||!e?{isValid:i}:{},errors:r.errors}),t.shouldFocus&&!o&&et(m,ey,e?l:C.mount),o},ex=(e,t)=>{let n={..._.mount?S:k};return t&&(n=function e(t,n){let r={};for(let i in t)if(t.hasOwnProperty(i)){let o=t[i],s=n[i];if(o&&l(o)&&s){let t=e(o,s);l(t)&&(r[i]=t)}else t[i]&&(r[i]=s)}return r}(t.dirtyFields?r.dirtyFields:r.touchedFields,n)),y(e)?n:P(e)?x(n,e):e.map(e=>x(n,e))},eb=(e,t)=>({invalid:!!x((t||r).errors,e),isDirty:!!x((t||r).dirtyFields,e),error:x((t||r).errors,e),isValidating:!!x(r.validatingFields,e),isTouched:!!x((t||r).touchedFields,e)}),ew=e=>{let t=e?N(e):void 0;null==t||t.forEach(e=>j(r.errors,e)),t?t.forEach(e=>{D.state.next({name:e,errors:r.errors})}):D.state.next({errors:{}})},ek=(e,t,n)=>{let i=(x(m,e,{_f:{}})._f||{}).ref,{ref:o,message:l,type:s,...a}=x(r.errors,e)||{};w(r.errors,e,{...a,...t,ref:i}),D.state.next({name:e,errors:r.errors,isValid:!1}),n&&n.shouldFocus&&i&&i.focus&&i.focus()},eS=e=>D.state.subscribe({next:t=>{let n,i,o;if(n=e.name,i=t.name,o=e.exact,(!n||!i||n===i||N(n).some(e=>e&&(o?e===i:e.startsWith(i)||i.startsWith(e))))&&((e,t,n,r)=>{n(e);let{name:i,...o}=e;return M(o)||r&&Object.keys(o).length>=Object.keys(t).length||Object.keys(o).find(e=>t[e]===(!r||h.all))})(t,e.formState||E,eE,e.reRenderRoot)){let n={...S};e.callback({values:n,...r,...t,defaultValues:k})}}}).unsubscribe,e_=(e,t={})=>{for(let i of e?N(e):C.mount)C.mount.delete(i),C.array.delete(i),t.keepValue||(j(m,i),j(S,i)),t.keepError||j(r.errors,i),t.keepDirty||j(r.dirtyFields,i),t.keepTouched||j(r.touchedFields,i),t.keepIsValidating||j(r.validatingFields,i),n.shouldUnregister||t.keepDefaultValue||j(k,i);D.state.next({values:c(S)}),D.state.next({...r,...!t.keepDirty?{}:{isDirty:ed()}}),t.keepIsValid||z()},eC=({disabled:e,name:t})=>{if("boolean"==typeof e&&_.mount||e||C.disabled.has(t)){let n=C.disabled.has(t);e?C.disabled.add(t):C.disabled.delete(t),!!e!==n&&_.mount&&!_.action&&z()}},eP=(e,t={})=>{let r=x(m,e),i="boolean"==typeof t.disabled||"boolean"==typeof n.disabled,o=!C.registerName.has(e)&&r&&r._f&&!r._f.mount;return(w(m,e,{...r||{},_f:{...r&&r._f?r._f:{ref:{name:e}},name:e,mount:!0,...t}}),C.mount.add(e),r&&!o)?eC({disabled:"boolean"==typeof t.disabled?t.disabled:n.disabled,name:e}):q(e,!0,t.value),{...i?{disabled:t.disabled||n.disabled}:{},...n.progressive?{required:!!t.required,min:G(t.min),max:G(t.max),minLength:G(t.minLength),maxLength:G(t.maxLength),pattern:G(t.pattern)}:{},name:e,onChange:eO,onBlur:eO,ref:i=>{if(i){let n;C.registerName.add(e),eP(e,t),C.registerName.delete(e),r=x(m,e);let o=y(i.value)&&i.querySelectorAll&&i.querySelectorAll("input,select,textarea")[0]||i,l="radio"===(n=o).type||"checkbox"===n.type,s=r._f.refs||[];(l?s.find(e=>e===o):o===r._f.ref)||(w(m,e,{_f:{...r._f,...l?{refs:[...s.filter(I),o,...Array.isArray(x(k,e))?[{}]:[]],ref:{type:o.type,name:e}}:{ref:o}}}),q(e,!1,void 0,o))}else(r=x(m,e,{}))._f&&(r._f.mount=!1),(n.shouldUnregister||t.shouldUnregister)&&!(a(C.array,e)&&_.action)&&C.unMount.add(e)}}},eT=()=>n.shouldFocusError&&!n.shouldUseNativeValidation&&et(m,ey,C.mount),eQ=(e,t)=>async i=>{let o;i&&(i.preventDefault&&i.preventDefault(),i.persist&&i.persist());let l=c(S);if(D.state.next({isSubmitting:!0}),n.resolver){let{errors:e,values:t}=await ei();B(),r.errors=e,l=c(t)}else await ec({fields:m,eventType:d.SUBMIT});if(C.disabled.size)for(let e of C.disabled)j(l,e);if(j(r.errors,g),M(r.errors)){D.state.next({errors:{}});try{await e(l,i)}catch(e){o=e}}else t&&await t({...r.errors},i),eT(),setTimeout(eT);if(D.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:M(r.errors)&&!o,submitCount:r.submitCount+1,errors:r.errors}),o)throw o},e$=(e,t={})=>{let i=e?c(e):k,o=c(i),l=M(e);if(t.keepDefaultValues||(k=i),!t.keepValues){if(t.keepDirtyValues)for(let e of Array.from(new Set([...C.mount,...Object.keys(V(k,S)
1)]))){let t=x(r.dirtyFields,e),n=x(S,e),i=x(o,e);t&&!y(n)?w(o,e,n):t||y(i)||em(e,i)}else{if(u&&y(e))for(let e of C.mount){let t=x(m,e);if(t&&t._f){let e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if(Z(e)){let t=e.closest("form");if(t){t.reset();break}}}}if(t.keepFieldsRef)for(let e of C.mount)em(e,x(o,e));else m={}}if(n.shouldUnregister){if(S=t.keepDefaultValues?c(k):{},t.keepFieldsRef)for(let e of C.mount)w(S,e,x(o,e))}else S=c(o);D.array.next({values:{...o}}),D.state.next({values:{...o}})}C={mount:t.keepDirtyValues?C.mount:new Set,unMount:new Set,array:new Set,registerName:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},_.mount=!E.isValid||!!t.keepIsValid||!!t.keepDirtyValues||!n.shouldUnregister&&!M(o),_.watch=!!n.shouldUnregister,_.keepIsValid=!!t.keepIsValid,_.action=!1,t.keepErrors||(r.errors={}),D.state.next({submitCount:t.keepSubmitCount?r.submitCount:0,isDirty:!l&&(t.keepDirty?r.isDirty:t.keepValues?ed():!!(t.keepDefaultValues&&!$(e,k))),isSubmitted:!!t.keepIsSubmitted&&r.isSubmitted,dirtyFields:l?{}:t.keepDirtyValues?t.keepDefaultValues&&S?V(k,S):r.dirtyFields:t.keepDefaultValues&&e?V(k,e):t.keepDirty?r.dirtyFields:{},touchedFields:t.keepTouched?r.touchedFields:{},errors:t.keepErrors?r.errors:{},isSubmitSuccessful:!!t.keepIsSubmitSuccessful&&r.isSubmitSuccessful,isSubmitting:!1,defaultValues:k})},eA=(e,t)=>e$(b(e)?e(S):e,{...n.resetOptions,...t}),eE=e=>{r={...r,...e}},eR={control:{register:eP,unregister:e_,getFieldState:eb,handleSubmit:eQ,setError:ek,_subscribe:eS,_runSchema:ei,_updateIsValidating:B,_focusError:eT,_getWatch:eh,_getDirty:ed,_setValid:z,_setFieldArray:(e,t=[],i,o,l=!0,s=!0)=>{if(o&&i&&!n.disabled){if(_.action=!0,s&&Array.isArray(x(m,e))){let t=i(x(m,e),o.argA,o.argB);l&&w(m,e,t)}if(s&&Array.isArray(x(r.errors,e))){let t,n=i(x(r.errors,e),o.argA,o.argB);l&&w(r.errors,e,n),R(x(t=r.errors,e)).length||j(t,e)}if((E.touchedFields||X.touchedFields)&&s&&Array.isArray(x(r.touchedFields,e))){let t=i(x(r.touchedFields,e),o.argA,o.argB);l&&w(r.touchedFields,e,t)}(E.dirtyFields||X.dirtyFields)&&Y(),D.state.next({name:e,isDirty:ed(e,t),dirtyFields:r.dirtyFields,errors:r.errors,isValid:r.isValid})}else w(S,e,t)},_setDisabledField:eC,_setErrors:e=>{r.errors=e,D.state.next({errors:r.errors,isValid:!1})},_getFieldArray:e=>R(x(_.mount?S:k,e,n.shouldUnregister?x(k,e,[]):[])),_reset:e$,_resetDefaultValues:()=>b(n.defaultValues)&&n.defaultValues().then(e=>{eA(e,n.resetOptions),D.state.next({isLoading:!1})}),_removeUnmounted:()=>{for(let e of C.unMount){let t=x(m,e);t&&(t._f.refs?t._f.refs.every(e=>!I(e)):!I(t._f.ref))&&e_(e)}C.unMount=new Set},_disableForm:e=>{"boolean"==typeof e&&(D.state.next({disabled:e}),et(m,(t,n)=>{let r=x(m,n);r&&(t.disabled=r._f.disabled||e,Array.isArray(r._f.refs)&&r._f.refs.forEach(t=>{t.disabled=r._f.disabled||e}))},0,!1))},_subjects:D,_proxyFormState:E,get _fields(){return m},get _formValues(){return S},get _state(){return _},set _state(value){_=value},get _defaultValues(){return k},get _names(){return C},set _names(value){C=value},get _formState(){return r},get _options(){return n},set _options(value){n={...n,...value}}},subscribe:e=>(_.mount=!0,X={...X,...e.formState},eS({...e,formState:{...A,...e.formState}})),trigger:ev,register:eP,handleSubmit:eQ,watch:(e,t)=>b(e)?D.state.subscribe({next:n=>"values"in n&&e(n.values||eh(void 0,t),n)}):eh(e,t,!0),setValue:em,setValues:(e,t={})=>{let n=b(e)?e(S):e;if(!$(S,n)){for(let e of(S={...S,...n},C.mount))eg(e,x(n,e),t,!0);D.state.next({...r,name:void 0,type:void 0,values:S}),t.shouldValidate&&z()}},getValues:ex,reset:eA,resetField:(e,t={})=>{x(m,e)&&(y(t.defaultValue)?em(e,c(x(k,e))):(em(e,t.defaultValue),w(k,e,c(t.defaultValue))),t.keepTouched||j(r.touchedFields,e),t.keepDirty||(j(r.dirtyFields,e),r.isDirty=t.defaultValue?ed(e,c(x(k,e))):ed()),!t.keepError&&(j(r.errors,e),E.isValid&&z()),D.state.next({...r}))},resetDefaultValues:(e,t={})=>{if(k=c(e),!t.keepDirty){let e=V(k,S);r.dirtyFields=e,r.isDirty=!M(e)}t.keepIsValid||z(),D.state.next({...r,defaultValues:k})},clearErrors:ew,unregister:e_,setError:ek,setFocus:(e,t={})=>{let n=x(m,e),r=n&&n._f;if(r){let e=r.refs?r.refs[0]:r.ref;e.focus&&setTimeout(()=>{e.focus(),t.shouldSelect&&b(e.select)&&e.select()})}},getFieldState:eb};return{...eR,formControl:eR}}(e);t.current={...r,formState:m}}let S=t.current.control;return S._options=e,C(()=>{let e=S._subscribe({formState:S._proxyFormState,callback:()=>k({...S._formState,defaultValues:S._defaultValues}),reRenderRoot:!0});return k(e=>({...e,isReady:!0})),S._formState.isReady=!0,e},[S]),r.useEffect(()=>S._disableForm(e.disabled),[S,e.disabled]),r.useEffect(()=>{e.mode&&(S._options.mode=e.mode),e.reValidateMode&&(S._options.reValidateMode=e.reValidateMode)},[S,e.mode,e.reValidateMode]),r.useEffect(()=>{e.errors&&(S._setErrors(e.errors),S._focusError())},[S,e.errors]),r.useEffect(()=>{e.shouldUnregister&&S._subjects.state.next({values:S._getWatch()})},[S,e.shouldUnregister]),r.useEffect(()=>{if(S._proxyFormState.isDirty){let e=S._getDirty();e!==m.isDirty&&S._subjects.state.next({isDirty:e})}},[S,m.isDirty]),r.useEffect(()=>{var t;e.values&&!$(e.values,n.current)?(S._reset(e.values,{keepFieldsRef:!0,...S._options.resetOptions}),(null==(t=S._options.resetOptions)?void 0:t.keepIsValid)||S._setValid(),n.current=e.values,k(e
1=>({...e}))):S._resetDefaultValues()},[S,e.values]),r.useEffect(()=>{S._state.mount||(S._setValid(),S._state.mount=!0),S._state.watch&&(S._state.watch=!1,S._subjects.state.next({...S._formState})),S._removeUnmounted()}),t.current.formState=r.useMemo(()=>_(m,S),[S,m]),t.current}},58650:(e,t,n)=>{"use strict";n.d(t,{S:()=>a});var r=n(6325),i=n(19833),o=n(60665),l=n(88732),s=n(44443);let a=()=>{let[e,t]=(0,s.uX)(o.PI,o.yr),n=(0,s.qM)(o.C_),a=(0,o.Bd)(),u=(e&i.jG)!=0,c=u?a("toolbar.removeInlineCode","Remove code format"):a("toolbar.inlineCode","Inline code format");return r.createElement(l.F8,{items:[{title:c,contents:t("code"),active:u,onChange:n.bind(null,"code")}]})}},58920:(e,t,n)=>{"use strict";n.d(t,{O:()=>a});var r=n(6325),i=n(88732),o=n(36343),l=n(44443),s=n(60665);let a=()=>{let e=(0,l.qM)(o.Sd),t=(0,l.X3)(s.yr),n=(0,s.Bd)();return r.createElement(i.gx,{title:n("toolbar.codeBlock","Insert Code Block"),onClick:()=>{e({})}},t("frame_source"))}},59437:(e,t,n)=>{"use strict";n.d(t,{l:()=>c});var r=n(6105),i=n(44443),o=n(84544),l=n(6325),s=n(37205),a=n(60665),u=n(88732);let c=()=>{let[e,t]=(0,i.uX)(a.yr,a.Cp),[n,c]=l.useState(!1),[d,h]=l.useState(!1),f=(0,a.Bd)();return l.useEffect(()=>{if(t)return(0,r.Sd)(t.registerCommand(o.KfJ,e=>(c(e),!1),o.da8),t.registerCommand(o.WWb,e=>(h(e),!1),o.da8))},[t]),l.createElement(u.F8,{items:[{title:f("toolbar.undo","Undo {{shortcut}}",{shortcut:s.sY?"⌘Z":"Ctrl+Z"}),disabled:!n,contents:e("undo"),active:!1,onChange:()=>null==t?void 0:t.dispatchCommand(o.ZKf,void 0)},{title:f("toolbar.redo","Redo {{shortcut}}",{shortcut:s.sY?"⌘Y":"Ctrl+Y"}),disabled:!d,contents:e("redo"),active:!1,onChange:()=>null==t?void 0:t.dispatchCommand(o.V30,void 0)}]})}},60421:()=>{Prism.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:/[{}[\];(),.:]/}},60611:(e,t,n)=>{"use strict";var r;n.d(t,{$g:()=>M,PH:()=>p,Qj:()=>r,RY:()=>E,Z6:()=>c,cF:()=>i,fI:()=>d,iX:()=>N,rr:()=>R,uY:()=>s});let i=1024,o=0;class l{constructor(e,t){this.from=e,this.to=t}}class s{constructor(e={}){this.id=o++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw Error("This node type doesn't define a deserialize function")}),this.combine=e.combine||null}add(e){if(this.perNode)throw RangeError("Can't add per-node props to node types");return"function"!=typeof e&&(e=c.match(e)),t=>{let n=e(t);return void 0===n?null:[this,n]}}}s.closedBy=new s({deserialize:e=>e.split(" ")}),s.openedBy=new s({deserialize:e=>e.split(" ")}),s.group=new s({deserialize:e=>e.split(" ")}),s.isolate=new s({deserialize:e=>{if(e&&"rtl"!=e&&"ltr"!=e&&"auto"!=e)throw RangeError("Invalid value for isolate: "+e);return e||"auto"}}),s.contextHash=new s({perNode:!0}),s.lookAhead=new s({perNode:!0}),s.mounted=new s({perNode:!0});class a{constructor(e,t,n,r=!1){this.tree=e,this.overlay=t,this.parser=n,this.bracketed=r}static get(e){return e&&e.props&&e.props[s.mounted.id]}}let u=Object.create(null);class c{constructor(e,t,n,r=0){this.name=e,this.props=t,this.id=n,this.flags=r}static define(e){let t=e.props&&e.props.length?Object.create(null):u,n=!!e.top|2*!!e.skipped|4*!!e.error|8*(null==e.name),r=new c(e.name||"",t,e.id,n);if(e.props){for(let n of e.props)if(Array.isArray(n)||(n=n(r)),n){if(n[0].perNode)throw RangeError("Can't store a per-node prop on a node type");t[n[0].id]=n[1]}}return r}prop(e){return this.props[e.id]}get isTop(){return(1&this.flags)>0}get isSkipped(){return(2&this.flags)>0}get isError(){return(4&this.flags)>0}get isAnonymous(){return(8&this.flags)>0}is(e){if("string"==typeof e){if(this.name==e)return!0;let t=this.prop(s.group);return!!t&&t.indexOf(e)>-1}return this.id==e}static match(e){let t=Object.create(null);for(let n in e)for(let r of n.split(" "))t[r]=e[n];return e=>{for(let n=e.prop(s.group),r=-1;r<(n?n.length:0);r++){let i=t[r<0?e.name:n[r]];if(i)return i}}}}c.none=new c("",Object.create(null),0,8);class d{constructor(e){this.types=e;for(let t=0;t<e.length;t++)if(e[t].id!=t)throw RangeError("Node type ids should correspond to array positions when creating a node set")}extend(...e){let t=[];for(let n of this.types){let r=null;for(let t of e){let e=t(n);if(e){r||(r=Object.assign({},n.props));let t=e[1],i=e[0];i.combine&&i.id in r&&(t=i.combine(r[i.id],t)),r[i.id]=t}}t.push(r?new c(n.name,r,n.id,n.flags):n)}return new d(t)}}let h=new WeakMap,f=new WeakMap;!function(e){e[e.ExcludeBuffers=1]="ExcludeBuffers",e[e.IncludeAnonymous=2]="IncludeAnonymous",e[e.IgnoreMounts=4]="IgnoreMounts",e[e.IgnoreOverlays=8]="IgnoreOverlays",e[e.EnterBracketed=16]="EnterBracketed"}(r||(r={}));
1class p{constructor(e,t,n,r,i){if(this.type=e,this.children=t,this.positions=n,this.length=r,this.props=null,i&&i.length)for(let[e,t]of(this.props=Object.create(null),i))this.props["number"==typeof e?e:e.id]=t}toString(){let e=a.get(this);if(e&&!e.overlay)return e.tree.toString();let t="";for(let e of this.children){let n=e.toString();n&&(t&&(t+=","),t+=n)}return this.type.name?(/\W/.test(this.type.name)&&!this.type.isError?JSON.stringify(this.type.name):this.type.name)+(t.length?"("+t+")":""):t}cursor(e=0){return new P(this.topNode,e)}cursorAt(e,t=0,n=0){let r=new P(h.get(this)||this.topNode);return r.moveTo(e,t),h.set(this,r._tree),r}get topNode(){return new x(this,0,0,null)}resolve(e,t=0){let n=y(h.get(this)||this.topNode,e,t,!1);return h.set(this,n),n}resolveInner(e,t=0){let n=y(f.get(this)||this.topNode,e,t,!0);return f.set(this,n),n}resolveStack(e,t=0){return function(e,t,n){let r=e.resolveInner(t,n),i=null;for(let e=r instanceof x?r:r.context.parent;e;e=e.parent)if(e.index<0){let o=e.parent;(i||(i=[r])).push(o.resolve(t,n)),e=o}else{let o=a.get(e.tree);if(o&&o.overlay&&o.overlay[0].from<=t&&o.overlay[o.overlay.length-1].to>=t){let l=new x(o.tree,o.overlay[0].from+e.from,-1,e);(i||(i=[r])).push(y(l,t,n,!1))}}return i?_(i):r}(this,e,t)}iterate(e){let{enter:t,leave:n,from:i=0,to:o=this.length}=e,l=e.mode||0,s=(l&r.IncludeAnonymous)>0;for(let e=this.cursor(l|r.IncludeAnonymous);;){let r=!1;if(e.from<=o&&e.to>=i&&(!s&&e.type.isAnonymous||!1!==t(e))){if(e.firstChild())continue;r=!0}for(;r&&n&&(s||!e.type.isAnonymous)&&n(e),!e.nextSibling();){if(!e.parent())return;r=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];
1if(this.props)for(let t in this.props)e.push([+t,this.props[t]]);return e}balance(e={}){return this.children.length<=8?this:A(c.none,this.children,this.positions,0,this.children.length,0,this.length,(e,t,n)=>new p(this.type,e,t,n,this.propValues),e.makeTree||((e,t,n)=>new p(c.none,e,t,n)))}static build(e){return function(e){var t;let{buffer:n,nodeSet:r,maxBufferLength:o=i,reused:l=[],minRepeatType:a=r.types.length}=e,u=Array.isArray(n)?new g(n,n.length):n,c=r.types,d=0,h=0;function f(e,t,n,i,o,l,s,a,u){let c=[],d=[];for(;e.length>i;)c.push(e.pop()),d.push(t.pop()+n-o);e.push(O(r.types[s],c,d,l-o,a-l,u)),t.push(o-n)}function O(e,t,n,r,i,o,l){if(o){let e=[s.contextHash,o];l=l?[e].concat(l):[e]}if(i>25){let e=[s.lookAhead,i];l=l?[e].concat(l):[e]}return new p(e,t,n,r,l)}let y=[],v=[];for(;u.pos>0;)!function e(t,n,i,g,y,v){let{id:x,start:b,end:w,size:k}=u,S=h,_=d;if(k<0){if(u.next(),-1==k){let e=l[x];i.push(e),g.push(b-t);return}if(-3==k){d=x;return}if(-4==k){h=x;return}else throw RangeError(`Unrecognized record size: ${k}`)}let C=c[x],P,T,Q=b-t;if(w-b<=o&&(T=function(e,t){let n=u.fork(),r=0,i=0,l=0,s=n.end-o,c={size:0,start:0,skip:0};o:for(let o=n.pos-e;n.pos>o;){let e=n.size;if(n.id==t&&e>=0){c.size=r,c.start=i,c.skip=l,l+=4,r+=4,n.next();continue}let u=n.pos-e;if(e<0||u<o||n.start<s)break;let d=4*(n.id>=a),h=n.start;for(n.next();n.pos>u;){if(n.size<0)if(-3==n.size||-4==n.size)d+=4;else break o;else n.id>=a&&(d+=4);n.next()}i=h,r+=e,l+=d}return(t<0||r==e)&&(c.size=r,c.start=i,c.skip=l),c.size>4?c:void 0}(u.pos-n,y))){let e=new Uint16Array(T.size-T.skip),n=u.pos-T.size,i=e.length;for(;u.pos>n;)i=function e(t,n,r){let{id:i,start:o,end:l,size:s}=u;if(u.next(),s>=0&&i<a){let a=r;if(s>4){let i=u.pos-(s-4);for(;u.pos>i;)r=e(t,n,r)}n[--r]=a,n[--r]=l-t,n[--r]=o-t,n[--r]=i}else -3==s?d=i:-4==s&&(h=i);return r}(T.start,e,i);P=new m(e,w-T.start,r),Q=T.start-t}else{let t=u.pos-k;u.next();let n=[],i=[],l=x>=a?x:-1,c=0,d=w;for(;u.pos>t;)l>=0&&u.id==l&&u.size>=0?(u.end<=d-o&&(f(n,i,b,c,u.end,d,l,S,_),c=n.length,d=u.end),u.next()):v>2500?function(e,t,n,i){let l=[],s=0,a=-1;for(;u.pos>t;){let{id:e,start:t,end:n,size:r}=u;if(r>4)u.next();else if(a>-1&&t<a)break;else a<0&&(a=n-o),l.push(e,t,n),s++,u.next()}if(s){let t=new Uint16Array(4*s),o=l[l.length-2];for(let e=l.length-3,n=0;e>=0;e-=3)t[n++]=l[e],t[n++]=l[e+1]-o,t[n++]=l[e+2]-o,t[n++]=n;n.push(new m(t,l[2]-o,r)),i.push(o-e)}}(b,t,n,i):e(b,t,n,i,l,v+1);if(l>=0&&c>0&&c<n.length&&f(n,i,b,c,b,d,l,S,_),n.reverse(),i.reverse(),l>-1&&c>0){let e=function(e,t){return(n,r,i)=>{let o=0,l=n.length-1,a,u;if(l>=0&&(a=n[l])instanceof p){if(!l&&a.type==e&&a.length==i)return a;(u=a.prop(s.lookAhead))&&(o=r[l]+a.length+u)}return O(e,n,r,i,o,t)}}(C,_);P=A(C,n,i,0,n.length,0,w-b,e,e)}else P=O(C,n,i,w-b,S-w,_)}i.push(P),g.push(Q)}(e.start||0,e.bufferStart||0,y,v,-1,0);let x=null!=(t=e.length)?t:y.length?v[0]+y[0].length:0;return new p(c[e.topID],y.reverse(),v.reverse(),x)}(e)}}p.empty=new p(c.none,[],[],0);class g{constructor(e,t){this.buffer=e,this.index=t}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new g(this.buffer,this.index)}}class m{constructor(e,t,n){this.buffer=e,this.length=t,this.set=n}get type(){return c.none}toString(){let e=[];for(let t=0;t<this.buffer.length;)e.push(this.childString(t)),t=this.buffer[t+3];return e.join(",")}childString(e){let t=this.buffer[e],n=this.buffer[e+3],r=this.set.types[t],i=r.name;if(/\W/.test(i)&&!r.isError&&(i=JSON.stringify(i)),n==(e+=4))return i;let o=[];for(;e<n;)o.push(this.childString(e)),e=this.buffer[e+3];return i+"("+o.join(",")+")"}findChild(e,t,n,r,i){let{buffer:o}=this,l=-1;for(let s=e;s!=t&&(!O(i,r,o[s+1],o[s+2])||(l=s,!(n>0)));s=o[s+3]);return l}slice(e,t,n){let r=this.buffer,i=new Uint16Array(t-e),o=0;for(let l=e,s=0;l<t;){i[s++]=r[l++],i[s++]=r[l++]-n;let t=i[s++]=r[l++]-n;i[s++]=r[l++]-e,o=Math.max(o,t)}return new m(i,o,this.set)}}function O(e,t,n,r){switch(e){case -2:return n<t;case -1:return r>=t&&n<t;case 0:return n<t&&r>t;case 1:return n<=t&&r>t;case 2:return r>t;case 4:return!0}}function y(e,t,n,i){for(var o;e.from==e.to||(n<1?e.from>=t:e.from>t)||(n>-1?e.to<=t:e.to<t);){let t=!i&&e instanceof x&&e.index<0?null:e.parent;if(!t)return e;e=t}let l=i?0:r.IgnoreOverlays;if(i)for(let r=e,i=r.parent;i;i=(r=i).parent)r instanceof x&&r.index<0&&(null==(o=i.enter(t,n,l))?void 0:o.from)!=r.from&&(e=i);for(;;){let r=e.enter(t,n,l);
1if(!r)return e;e=r}}class v{cursor(e=0){return new P(this,e)}getChild(e,t=null,n=null){let r=b(this,e,t,n);return r.length?r[0]:null}getChildren(e,t=null,n=null){return b(this,e,t,n)}resolve(e,t=0){return y(this,e,t,!1)}resolveInner(e,t=0){return y(this,e,t,!0)}matchContext(e){return w(this.parent,e)}enterUnfinishedNodesBefore(e){let t=this.childBefore(e),n=this;for(;t;){let e=t.lastChild;if(!e||e.to!=t.to)break;e.type.isError&&e.from==e.to?(n=t,t=e.prevSibling):t=e}return n}get node(){return this}get next(){return this.parent}}class x extends v{constructor(e,t,n,r){super(),this._tree=e,this.from=t,this.index=n,this._parent=r}get type(){return this._tree.type}get name(){return this._tree.type.name}get to(){return this.from+this._tree.length}nextChild(e,t,n,i,o=0){for(let l=this;;){for(let{children:s,positions:u}=l._tree,c=t>0?s.length:-1;e!=c;e+=t){let c=s[e],d=u[e]+l.from,h;if(o&r.EnterBracketed&&c instanceof p&&(h=a.get(c))&&!h.overlay&&h.bracketed&&n>=d&&n<=d+c.length||O(i,n,d,d+c.length)){if(c instanceof m){if(o&r.ExcludeBuffers)continue;let s=c.findChild(0,c.buffer.length,t,n-d,i);if(s>-1)return new S(new k(l,c,e,d),null,s)}else if(o&r.IncludeAnonymous||!c.type.isAnonymous||T(c)){let s;if(!(o&r.IgnoreMounts)&&(s=a.get(c))&&!s.overlay)return new x(s.tree,d,e,l);let u=new x(c,d,e,l);return o&r.IncludeAnonymous||!u.type.isAnonymous?u:u.nextChild(t<0?c.children.length-1:0,t,n,i,o)}}}if(o&r.IncludeAnonymous||!l.type.isAnonymous||(e=l.index>=0?l.index+t:t<0?-1:l._parent._tree.children.length,!(l=l._parent)))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}prop(e){return this._tree.prop(e)}enter(e,t,n=0){let i;if(!(n&r.IgnoreOverlays)&&(i=a.get(this._tree))&&i.overlay){let o=e-this.from,l=n&r.EnterBracketed&&i.bracketed;for(let{from:e,to:n}of i.overlay)if((t>0||l?e<=o:e<o)&&(t<0||l?n>=o:n>o))return new x(i.tree,i.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,t,n)}nextSignificantParent(){let e=this;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}get tree(){return this._tree}toTree(){return this._tree}toString(){return this._tree.toString()}}function b(e,t,n,r){let i=e.cursor(),o=[];if(!i.firstChild())return o;if(null!=n){for(let e=!1;!e;)if(e=i.type.is(n),!i.nextSibling())return o}for(;;){if(null!=r&&i.type.is(r))return o;if(i.type.is(t)&&o.push(i.node),!i.nextSibling())return null==r?o:[]}}function w(e,t,n=t.length-1){for(let r=e;n>=0;r=r.parent){if(!r)return!1;if(!r.type.isAnonymous){if(t[n]&&t[n]!=r.name)return!1;n--}}return!0}class k{constructor(e,t,n,r){this.parent=e,this.buffer=t,this.index=n,this.start=r}}class S extends v{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(e,t,n){super(),this.context=e,this._parent=t,this.index=n,this.type=e.buffer.set.types[e.buffer.buffer[n]]}child(e,t,n){let{buffer:r}=this.context,i=r.findChild(this.index+4,r.buffer[this.index+3],e,t-this.context.start,n);return i<0?null:new S(this.context,this,i)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}prop(e){return this.type.prop(e)}enter(e,t,n=0){if(n&r.ExcludeBuffers)return null;let{buffer:i}=this.context,o=i.findChild(this.index+4,i.buffer[this.index+3],t>0?1:-1,e-this.context.start,t);return o<0?null:new S(this.context,this,o)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.
vendor: 5,607 bytes, line 1
1index+e,e,0,4)}get nextSibling(){let{buffer:e}=this.context,t=e.buffer[this.index+3];return t<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new S(this.context,this._parent,t):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,t=this._parent?this._parent.index+4:0;return this.index==t?this.externalSibling(-1):new S(this.context,this._parent,e.findChild(t,this.index,-1,0,4))}get tree(){return null}toTree(){let e=[],t=[],{buffer:n}=this.context,r=this.index+4,i=n.buffer[this.index+3];if(i>r){let o=n.buffer[this.index+1];e.push(n.slice(r,i,o)),t.push(0)}return new p(this.type,e,t,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}}function _(e){if(!e.length)return null;let t=0,n=e[0];for(let r=1;r<e.length;r++){let i=e[r];(i.from>n.from||i.to<n.to)&&(n=i,t=r)}let r=n instanceof x&&n.index<0?null:n.parent,i=e.slice();return r?i[t]=r:i.splice(t,1),new C(i,n)}class C{constructor(e,t){this.heads=e,this.node=t}get next(){return _(this.heads)}}class P{get name(){return this.type.name}constructor(e,t=0){if(this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,this.mode=t&~r.EnterBracketed,e instanceof x)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(let t=e._parent;t;t=t._parent)this.stack.unshift(t.index);this.bufferNode=e,this.yieldBuf(e.index)}}yieldNode(e){return!!e&&(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0)}yieldBuf(e,t){this.index=e;let{start:n,buffer:r}=this.buffer;return this.type=t||r.set.types[r.buffer[e]],this.from=n+r.buffer[e+1],this.to=n+r.buffer[e+2],!0}yield(e){return!!e&&(e instanceof x?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)))}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,t,n){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,t,n,this.mode));let{buffer:r}=this.buffer,i=r.findChild(this.index+4,r.buffer[this.index+3],e,t-this.buffer.start,n);return!(i<0)&&(this.stack.push(this.index),this.yieldBuf(i))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(e){return this.enterChild(1,e,2)}childBefore(e){return this.enterChild(-1,e,-2)}enter(e,t,n=this.mode){return this.buffer?!(n&r.ExcludeBuffers)&&this.enterChild(1,e,t):this.yield(this._tree.enter(e,t,n))}parent(){if(!this.buffer)return this.yieldNode(this.mode&r.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&r.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(e)}sibling(e){if(!this.buffer)return!!this._tree._parent&&this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode));let{buffer:t}=this.buffer,n=this.stack.length-1;if(e<0){let e=n<0?0:this.stack[n]+4;if(this.index!=e)return this.yieldBuf(t.findChild(e,this.index,-1,0,4))}else{let e=t.buffer[this.index+3];if(e<(n<0?t.buffer.length:t.buffer[this.stack[n]+3]))return this.yieldBuf(e)}return n<0&&this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode))}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let t,n,{buffer:i}=this;if(i){if(e>0){if(this.index<i.buffer.buffer.length)return!1}else for(let e=0;e<this.index;e++)if(i.buffer.buffer[e+3]<this.index)return!1;({index:t,parent:n}=i)}else({index:t,_parent:n}=this._tree);for(;n;{index:t,_parent:n}=n)if(t>-1)for(let i=t+e,o=e<0?-1:n._tree.children.length;i!=o;i+=e){let e=n._tree.children[i];if(this.mode&r.IncludeAnonymous||e instanceof m||!e.type.isAnonymous||T(e))return!1}return!0}move(e,t){if(t&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}moveTo(e,t=0){for(;(this.from==this.to||(t<1?this.from>=e:this.from>e)||(t>-1?this.to<=e:this.to<e))&&this.parent(););for(;this.enterChild(1,e,t););return this}get node(){if(!this.buffer)return this._tree;let e=this.bufferNode,t=null,n=0;if(e&&e.context==this.buffer)o:for(let r=this.index,i=this.stack.length;i>=0;){for(let o=e;o;o=o._parent)if(o.index==r){if(r==this.index)return o;t=o,n=i+1;break o}r=this.stack[--i]}for(let e=n;e<this.stack.length;e++)t=new S(this.buffer,t,this.stack[e]);return this.bufferNode=new S(this.buffer,t,this.index)}get tree(){return this.buffer?null:this._tree._tree}iterate(e,t){for(let n=0;;){let r=!1;if(this.type.isAnonymous||!1!==e(this)){if(this.firstChild()){n++;continue}this.type.isAnonymous||(r=!0)}for(;;){if(r&&t&&t(this),r=this.type.isAnonymous,!n)return;if(this.nextSibling())break;this.parent(),n--,r=!0}}}matchContext(e){if(!this.buffer)return w(this.node.parent,e);let{buffer:t}=this.buffer,{types:n}=t.set;for(let r=e.length-1,i=this.stack.length-1;r>=0;i--){if(i<0)return w(this._tree,e,r);let o=n[t.buffer[this.stack[i]]];if(!o.isAnonymous){if(e[r]&&e[r]!=o.name)return!1;r--}}return!0}}function T(e){return e.children.some(e=>e instanceof m||!e.type.isAnonymous||T(e))}let Q=new WeakMap;function $(e,t){if(!e.isAnonymous||t instanceof m||t.type!=e)return 1;let n=Q.get(t);if(null==n){for(let r of(n=1,t.children)){if(r.type!=e||!(r instanceof p)){n=1;break}n+=$(e,r)}Q.set(t,n)}return n}function A(e,t,n,r,i,o,l,s,a){let u=0;for(let n=r;n<i;n++)u+=$(e,t[n]);let c=Math.ceil(1.5*u/8),d=[],h=[];return!function t(n,r,i,l,s){for(let u=i;u<l;){let i=u,f=r[u],p=$(e,n[u]);for(u++;
1u<l;u++){let t=$(e,n[u]);if(p+t>=c)break;p+=t}if(u==i+1){if(p>c){let e=n[i];t(e.children,e.positions,0,e.children.length,r[i]+s);continue}d.push(n[i])}else{let t=r[u-1]+n[u-1].length-f;d.push(A(e,n,r,i,u,f,t,null,a))}h.push(f+s-o)}}(t,n,r,i,0),(s||a)(d,h,l)}class E{constructor(){this.map=new WeakMap}setBuffer(e,t,n){let r=this.map.get(e);r||this.map.set(e,r=new Map),r.set(t,n)}getBuffer(e,t){let n=this.map.get(e);return n&&n.get(t)}set(e,t){e instanceof S?this.setBuffer(e.context.buffer,e.index,t):e instanceof x&&this.map.set(e.tree,t)}get(e){return e instanceof S?this.getBuffer(e.context.buffer,e.index):e instanceof x?this.map.get(e.tree):void 0}cursorSet(e,t){e.buffer?this.setBuffer(e.buffer.buffer,e.index,t):this.map.set(e.tree,t)}cursorGet(e){return e.buffer?this.getBuffer(e.buffer.buffer,e.index):this.map.get(e.tree)}}class R{constructor(e,t,n,r,i=!1,o=!1){this.from=e,this.to=t,this.tree=n,this.offset=r,this.open=!!i|2*!!o}get openStart(){return(1&this.open)>0}get openEnd(){return(2&this.open)>0}static addTree(e,t=[],n=!1){let r=[new R(0,e.length,e,0,!1,n)];for(let n of t)n.to>e.length&&r.push(n);return r}static applyChanges(e,t,n=128){if(!t.length)return e;let r=[],i=1,o=e.length?e[0]:null;for(let l=0,s=0,a=0;;l++){let u=l<t.length?t[l]:null,c=u?u.fromA:1e9;if(c-s>=n)for(;o&&o.from<c;){let t=o;if(s>=t.from||c<=t.to||a){let e=Math.max(t.from,s)-a,n=Math.min(t.to,c)-a;t=e>=n?null:new R(e,n,t.tree,t.offset+a,l>0,!!u)}if(t&&r.push(t),o.to>c)break;o=i<e.length?e[i++]:null}if(!u)break;s=u.toA,a=u.toA-u.toB}return r}}class N{startParse(e,t,n){return"string"==typeof e&&(e=new L(e)),n=n?n.length?n.map(e=>new l(e.from,e.to)):[new l(0,0)]:[new l(0,e.length)],this.createParse(e,t||[],n)}parse(e,t,n){let r=this.startParse(e,t,n);for(;;){let e=r.advance();if(e)return e}}}class L{constructor(e){this.string=e}get length(){return this.string.length}chunk(e){return this.string.slice(e)}get lineChunks(){return!1}read(e,t){return this.string.slice(e,t)}}function M(e){return(t,n,r,i)=>new D(t,e,n,r,i)}class Z{constructor(e,t,n,r,i,o){this.parser=e,this.parse=t,this.overlay=n,this.bracketed=r,this.target=i,this.from=o}}function I(e){if(!e.length||e.some(e=>e.from>=e.to))throw RangeError("Invalid inner parse ranges given: "+JSON.stringify(e))}class j{constructor(e,t,n,r,i,o,l,s){this.parser=e,this.predicate=t,this.mounts=n,this.index=r,this.start=i,this.bracketed=o,this.target=l,this.prev=s,this.depth=0,this.ranges=[]}}let X=new s({perNode:!0});class D{constructor(e,t,n,r,i){this.nest=t,this.input=n,this.fragments=r,this.ranges=i,this.inner=[],this.innerDone=0,this.baseTree=null,this.stoppedAt=null,this.baseParse=e}advance(){if(this.baseParse){let e=this.baseParse.advance();if(!e)return null;if(this.baseParse=null,this.baseTree=e,this.startInner(),null!=this.stoppedAt)for(let e of this.inner)e.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let e=this.baseTree;return null!=this.stoppedAt&&(e=new p(e.type,e.children,e.positions,e.length,e.propValues.concat([[X,this.stoppedAt]]))),e}let e=this.inner[this.innerDone],t=e.parse.advance();if(t){this.innerDone++;let n=Object.assign(Object.create(null),e.target.props);n[s.mounted.id]=new a(t,e.overlay,e.parser,e.bracketed),e.target.props=n}return null}get parsedPos(){if(this.baseParse)return 0;let e=this.input.length;for(let t=this.innerDone;t<this.inner.length;t++)this.inner[t].from<e&&(e=Math.min(e,this.inner[t].parse.parsedPos));return e}stopAt(e){if(this.stoppedAt=e,this.baseParse)this.baseParse.stopAt(e);else for(let t=this.innerDone;t<this.inner.length;t++)this.inner[t].parse.stopAt(e)}startInner(){let e=new z(this.fragments),t=null,n=null,i=new P(new x(this.baseTree,this.ranges[0].from,0,null),r.IncludeAnonymous|r.IgnoreMounts);o:for(let r,o;;){let s=!0,a;if(null!=this.stoppedAt&&i.from>=this.stoppedAt)s=!1;else if(e.hasNode(i)){if(t){let e=t.mounts.find(e=>e.frag.from<=i.from&&e.frag.to>=i.to&&e.mount.overlay);if(e)for(let n of e.mount.overlay){let r=n.from+e.pos,o=n.to+e.pos;r>=i.from&&o<=i.to&&!t.ranges.some(e=>e.from<o&&e.to>r)&&t.ranges.push({from:r,to:o})}}s=!1}else if(n&&(o=function(e,t,n){for(let r of e){if(r.from>=n)break;if(r.to>t)return r.from<=t&&r.to>=n?2:1}return 0}
1(n.ranges,i.from,i.to)))s=2!=o;else if(!i.type.isAnonymous&&(r=this.nest(i,this.input))&&(i.from<i.to||!r.overlay)){!i.tree&&(function(e){let{node:t}=e,n=[],r=t.context.buffer;do n.push(e.index),e.parent();while(!e.tree);let i=e.tree,o=i.children.indexOf(r),l=i.children[o],s=l.buffer,a=[o];for(let r of(i.children[o]=function e(r,i,o,u,c,d){let h=n[d],f=[],g=[];V(l,r,h,f,g,u);let m=s[h+1],O=s[h+2];a.push(f.length);let y=d?e(h+4,s[h+3],l.set.types[s[h]],m,O-m,d-1):t.toTree();return f.push(y),g.push(m-u),V(l,s[h+3],i,f,g,u),new p(o,f,g,c)}(0,s.length,c.none,0,l.length,n.length-1),a)){let t=e.tree.children[r],n=e.tree.positions[r];e.yield(new x(t,n+e.from,r,e._tree))}}(i),t&&t.depth++,n&&n.depth++);let o=e.findMounts(i.from,r.parser);if("function"==typeof r.overlay)t=new j(r.parser,r.overlay,o,this.inner.length,i.from,!!r.bracketed,i.tree,t);else{let e=B(this.ranges,r.overlay||(i.from<i.to?[new l(i.from,i.to)]:[]));e.length&&I(e),(e.length||!r.overlay)&&this.inner.push(new Z(r.parser,e.length?r.parser.startParse(this.input,W(o,e),e):r.parser.startParse(""),r.overlay?r.overlay.map(e=>new l(e.from-i.from,e.to-i.from)):null,!!r.bracketed,i.tree,e.length?e[0].from:i.from)),r.overlay?e.length&&(n={ranges:e,depth:0,prev:n}):s=!1}}else if(t&&(a=t.predicate(i))&&(!0===a&&(a=new l(i.from,i.to)),a.from<a.to)){let e=t.ranges.length-1;e>=0&&t.ranges[e].to==a.from?t.ranges[e]={from:t.ranges[e].from,to:a.to}:t.ranges.push(a)}if(s&&i.firstChild())t&&t.depth++,n&&n.depth++;else for(;!i.nextSibling();){if(!i.parent())break o;if(t&&!--t.depth){let e=B(this.ranges,t.ranges);e.length&&(I(e),this.inner.splice(t.index,0,new Z(t.parser,t.parser.startParse(this.input,W(t.mounts,e),e),t.ranges.map(e=>new l(e.from-t.start,e.to-t.start)),t.bracketed,t.target,e[0].from))),t=t.prev}!n||--n.depth||(n=n.prev)}}}}function V(e,t,n,r,i,o){if(t<n){let l=e.buffer[t+1];r.push(e.slice(t,n,l)),i.push(l-o)}}class F{constructor(e,t){this.offset=t,this.done=!1,this.cursor=e.cursor(r.IncludeAnonymous|r.IgnoreMounts)}moveTo(e){let{cursor:t}=this,n=e-this.offset;for(;!this.done&&t.from<n;)if(t.to>=e&&t.enter(n,1,r.IgnoreOverlays|r.ExcludeBuffers));else if(t.to<=e)t.next(!1)||(this.done=!0);else break}hasNode(e){if(this.moveTo(e.from),!this.done&&this.cursor.from+this.offset==e.from&&this.cursor.tree)for(let t=this.cursor.tree;;){if(t==e.tree)return!0;if(t.children.length&&0==t.positions[0]&&t.children[0]instanceof p)t=t.children[0];else break}return!1}}class z{constructor(e){var t;if(this.fragments=e,this.curTo=0,this.fragI=0,e.length){let n=this.curFrag=e[0];this.curTo=null!=(t=n.tree.prop(X))?t:n.to,this.inner=new F(n.tree,-n.offset)}else this.curFrag=this.inner=null}hasNode(e){for(;this.curFrag&&e.from>=this.curTo;)this.nextFrag();return this.curFrag&&this.curFrag.from<=e.from&&this.curTo>=e.to&&this.inner.hasNode(e)}nextFrag(){var e;if(this.fragI++,this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{let t=this.curFrag=this.fragments[this.fragI];this.curTo=null!=(e=t.tree.prop(X))?e:t.to,this.inner=new F(t.tree,-t.offset)}}findMounts(e,t){var n;let r=[];if(this.inner){this.inner.cursor.moveTo(e,1);for(let e=this.inner.cursor.node;e;e=e.parent){let i=null==(n=e.tree)?void 0:n.prop(s.mounted);if(i&&i.parser==t)for(let t=this.fragI;t<this.fragments.length;t++){let n=this.fragments[t];if(n.from>=e.to)break;n.tree==this.curFrag.tree&&r.push({frag:n,pos:e.from-n.offset,mount:i})}}}return r}}function B(e,t){let n=null,r=t;for(let i=1,o=0;i<e.length;i++){let s=e[i-1].to,a=e[i].from;for(;o<r.length;o++){let e=r[o];if(e.from>=a)break;!(e.to<=s)&&(n||(r=n=t.slice()),e.from<s?(n[o]=new l(e.from,s),e.to>a&&n.splice(o+1,0,new l(a,e.to))):e.to>a?n[o--]=new l(a,e.to):n.splice(o--,1))}}return r}function W(e,t){let n=[];for(let{pos:r,mount:i,frag:o}of e){let e=r+(i.overlay?i.overlay[0].from:0),s=e+i.tree.length,a=Math.max(o.from,e),u=Math.min(o.to,s);if(i.overlay){let s=function(e,t,n,r){let i=0,o=0,s=!1,a=!1,u=-1e9,c=[];for(;;){let d=i==e.length?1e9:s?e[i].to:e[i].from,h=o==t.length?1e9:a?t[o].to:t[o].from;if(s!=a){let e=Math.max(u,n),t=Math.min(d,h,r);e<t&&c.push(new l(e,t))}if(1e9==(u=Math.min(d,h)))break;d==u&&(s?(s=!1,i++):s=!0),h==u&&(a?(a=!1,o++):a=!0)}return c}(t,i.overlay.map(e=>new l(e.from+r,e.to+r)),a,u);for(let t=0,r=a;;t++){let l=t==s.length,a=l?u:s[t].from;if(a>r&&n.push(new R(r,a,i.tree,-e,o.from>=r||o.openStart,o.to<=a||o.openEnd)),l)break;r=s[t].to}}else n.push(new R(a,u,i.tree,-e,o.from>=e||o.openStart,o.to<=s||o.openEnd))}return n}},60665:(e,t,n)=>{"use strict";n.d(t,{w8:()=>tG,Cc:()=>te,Cp:()=>tn,TI:()=>nu,$0:()=>nc,O2:()=>t4,aC:()=>t5,CI:()=>t6,iI:()=>tI,R1:()=>tL,q:()=>tN,C2:()=>tZ,Id:()=>t8,cx:()=>tM,dH:()=>nt,lN:()=>tj,IZ:()=>t3,C_:()=>th,sF:()=>t9,Wd:()=>tQ,GS:()=>t1,X2:()=>tr,Xz:()=>tR,N2:()=>tz,vR:()=>no,LH:()=>nf,Z4:()=>tK,Jl:()=>tJ,X3:()=>ni,PI:()=>tu,cj:()=>tf,uf:()=>t$,uQ:()=>tT,p5:()=>tY,Nn:()=>nn,xZ:()=>tA,mF:()=>tE,yY:()=>t7,IJ:()=>tk,M9:()=>nr,yr:()=>tU,b$:()=>tv,p3:()=>nl,HU:()=>tV,X_:()=>tP,nK:()=>tC,oF:()=>tg,hY:()=>tc,Bn:()=>na,Lq:()=>tq,M0:()=>tl,pc:()=>to,u0:()=>tt,Sv:()=>tD,J2:()=>ti,Di:()=>ne,dY:()=>tS,Jf:()=>t_,Me:()=>t2,Bd:()=>np,G7:()=>tx,n$:()=>ns});var r=n(7814),i=n(27358),o=n(96507),l=n(45580),s=n(6105),a=n(44443),u=n(84544),c=n(59796),d=n(33144);p.peek=function(){return"="};
1var h={canContainEols:["highlight"],enter:{highlight:function(e){this.enter({type:"highlight",children:[]},e)}},exit:{highlight:function(e){this.exit(e)}}},f={unsafe:[{character:"=",inConstruct:"phrasing",notInConstruct:["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"]}],handlers:{highlight:p}};function p(e,t,n,r){let i=n.createTracker(r),o=n.enter("highlight"),l=i.move("==");return l+=i.move(n.containerPhrasing(e,{before:l,after:"=",...i.current()})),l+=i.move("=="),o(),l}var g=n(1191),m=n(22155);let O=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","
1sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],y={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"};function v(e){let t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}function x(e){let t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}function b(e){return function(e){let t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}(e)||v(e)}var w=n(2918);let k=["","Named character references must be terminated by a semicolon","Numeric character references must be terminated by a semicolon","Named character references cannot be empty","Numeric character references cannot be empty","Named character references must be known","Numeric character references cannot be disallowed","Numeric character references cannot be outside the permissible Unicode range"],S=/["&'<>`]/g,_=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,C=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,P=/[|\\{}()[\]^$+*?.]/g,T=new WeakMap;function Q(e){return"&#x"+e.toString(16).toUpperCase()+";"}var $=n(60854),A=n(82665);function E(e){let t=0,n=e.stack.length;for(;--n>-1;){let r=e.stack[n];if("blockquote"===r||"listItem"===r)break;"mdxJsxFlowElement"===r&&t++}return t}function R(e){return"  ".repeat(e)}function N(){return"<"}var L=Object.prototype.hasOwnProperty;function M(e,t,n){for(n of e.keys())if(Z(n,t))return n}function Z(e,t){var n,r,i;if(e===t)return!0;if(e&&t&&(n=e.constructor)===t.constructor){if(n===Date)return e.getTime()===t.getTime();if(n===RegExp)return e.toString()===t.toString();if(n===Array){if((r=e.length)===t.length)for(;r--&&Z(e[r],t[r]););return -1===r}if(n===Set){if(e.size!==t.size)return!1;for(r of e)if((i=r)&&"object"==typeof i&&!(i=M(t,i))||!t.has(i))return!1;return!0}if(n===Map){if(e.size!==t.size)return!1;for(r of e)if((i=r[0])&&"object"==typeof i&&!(i=M(t,i))||!Z(r[1],t.get(i)))return!1;return!0}if(n===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(n===DataView){if((r=e.byteLength)===t.byteLength)for(;r--&&e.getInt8(r)===t.getInt8(r););return -1===r}if(ArrayBuffer.isView(e)){if((r=e.byteLength)===t.byteLength)for(;r--&&e[r]===t[r];);return -1===r}if(!n||"object"==typeof e){for(n in r=0,e)if(L.call(e,n)&&++r&&!L.call(t,n)||!(n in t)||!Z(e[n],t[n]))return!1;return Object.keys(t).length===r}}return e!=e&&t!=t}var I=n(74566);let j,X,D,V,F=!0;void 0!==I&&({FORCE_COLOR:j,NODE_DISABLE_COLORS:X,NO_COLOR:D,TERM:V}=I.env||{},F=I.stdout&&I.stdout.isTTY);let z={enabled:!X&&null==D&&"dumb"!==V&&(null!=j&&"0"!==j||F),reset:W(0,0),bold:W(1,22),dim:W(2,22),italic:W(3,23),underline:W(4,24),inverse:W(7,27),hidden:W(8,28),strikethrough:W(9,29),black:W(30,39),red:W(31,39),green:W(32,39),yellow:W(33,39),blue:W(34,39),magenta:W(35,39),cyan:W(36,39),white:W(37,39),gray:W(90,39),grey:W(90,39),bgBlack:W(40,49),bgRed:W(41,49),bgGreen:W(42,49),bgYellow:W(43,49),bgBlue:W(44,49),bgMagenta:W(45,49),bgCyan:W(46,49),bgWhite:W(47,49)};function B(e,t){let n=0,r,i="",o="";for(;n<e.length;n++)i+=(r=e[n]).open,o+=r.close,~t.indexOf(r.close)&&(t=t.replace(r.rgx,r.close+r.open));return i+t+o}function W(e,t){let n={open:`\x1b[${e}m`,close:`\x1b[${t}m`,rgx:RegExp(`\\x1b\\[${t}m`,"g")};return function(t){let r;return void 0!==this&&void 0!==this.has?(~this.has.indexOf(e)||(this.has.push(e),this.keys.push(n)),void 0===t?this:z.enabled?B(this.keys,t+""):t+""):void 0===t?((r={has:[e],keys:[n]}).reset=z.reset.bind(r),r.bold=z.bold.bind(r),r.dim=z.dim.bind(r),r.italic=z.italic.bind(r),r.underline=z.underline.bind(r),r.inverse=z.inverse.bind(r),r.hidden=z.hidden.bind(r),r.strikethrough=z.strikethrough.bind(r),r.black=z.black.bind(r),r.red=z.red.bind(r),r.green=z.green.bind(r),r.yellow=z.yellow.bind(r),r.blue=z.blue.bind(r),r.magenta=z.magenta.bind(r),r.cyan=z.cyan.bind(r),r.white=z.white.bind(r),r.gray=z.gray.bind(r),r.grey=z.grey.bind(r),r.bgBlack=z.bgBlack.bind(r),r.bgRed=z.bgRed.bind(r),r.bgGreen=z.bgGreen.bind(r),r.bgYellow=z.bgYellow.bind(r),r.bgBlue=z.bgBlue.bind(r),r.bgMagenta=z.bgMagenta.bind(r),r.bgCyan=z.bgCyan.bind(r),r.bgWhite=z.bgWhite.bind(r),r):z.enabled?B([n],t+""):t+""}}function Y(){}Y.prototype={diff:function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=r.callback;"function"==typeof r&&(i=r,r={}),this.options=r;var o=this;function l(e){return i?(setTimeout(function(){i(void 0,e)},0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var s=(t=this.removeEmpty(this.tokenize(t))).length,a=e.length,u=1,c=s+a;r.maxEditLength&&(c=Math.min(c,r.maxEditLength));var d=null!=(n=r.timeout)?n:1/0,h=Date.now()+d,f=[{oldPos:-1,lastComponent:void 0}],p=this.extractCommon(f[0],t,e,0);if(f[0].oldPos+1>=a&&p+1>=s)return l([{value:this.join(t),count:t.length}]);var g=-1/0,m=1/0;function O(){for(var n=Math.max(g,-u);n<=Math.min(m,u);n+=2){var r=void 0,i=f[n-1],c=f[n+1];i&&(f[n-1]=void 0);var d=!1;if(c){var h=c.oldPos-n;d=c&&0<=h&&h<s}var O=i&&i.oldPos+1<a;if(!d&&!O){f[n]=void 0;continue}if(r=!O||d&&i.oldPos+1<c.oldPos?o.addToPath(c,!0,void 0,0):o.addToPath(i,void 0,!0,1),p=o.extractCommon(r,t,e,n),r.oldPos+1>=a&&p+1>=s)return l(function(e,t,n,r,i){for(var o,l=[];t;)l.push(t),o=t.previousComponent,delete t.previousComponent,t=o;l.reverse();for(var s=0,a=l.length,u=0,c=0;s<a;s++){var d=l[s];if(d.removed){if(d.value=e.join(r.slice(c,c+d.count)),c+=d.count,s&&l[s-1].added){var h=l[s-1];l[s-1]=l[s],l[s]=h}}else{if(!d.added&&i){var f=n.slice(u,u+d.count);f=f.map(function(e,t){var n=r[c+t];return n.length>e.length?n:e}),d.value=e.join(f)}else d.value=e.join(n.slice(u,u+d.count));u+=d.count,d.added||(c+=d.count)}
1}var p=l[a-1];return a>1&&"string"==typeof p.value&&(p.added||p.removed)&&e.equals("",p.value)&&(l[a-2].value+=p.value,l.pop()),l}(o,r.lastComponent,t,e,o.useLongestToken));f[n]=r,r.oldPos+1>=a&&(m=Math.min(m,n-1)),p+1>=s&&(g=Math.max(g,n+1))}u++}if(i)!function e(){setTimeout(function(){if(u>c||Date.now()>h)return i();O()||e()},0)}();else for(;u<=c&&Date.now()<=h;){var y=O();if(y)return y}},addToPath:function(e,t,n,r){var i=e.lastComponent;return i&&i.added===t&&i.removed===n?{oldPos:e.oldPos+r,lastComponent:{count:i.count+1,added:t,removed:n,previousComponent:i.previousComponent}}:{oldPos:e.oldPos+r,lastComponent:{count:1,added:t,removed:n,previousComponent:i}}},extractCommon:function(e,t,n,r){for(var i=t.length,o=n.length,l=e.oldPos,s=l-r,a=0;s+1<i&&l+1<o&&this.equals(t[s+1],n[l+1]);)s++,l++,a++;return a&&(e.lastComponent={count:a,previousComponent:e.lastComponent}),e.oldPos=l,s},equals:function(e,t){return this.options.comparator?this.options.comparator(e,t):e===t||this.options.ignoreCase&&e.toLowerCase()===t.toLowerCase()},removeEmpty:function(e){for(var t=[],n=0;n<e.length;n++)e[n]&&t.push(e[n]);return t},castInput:function(e){return e},tokenize:function(e){return e.split("")},join:function(e){return e.join("")}};var q=new Y,U=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,G=/\S/,H=new Y;H.equals=function(e,t){return this.options.ignoreCase&&(e=e.toLowerCase(),t=t.toLowerCase()),e===t||this.options.ignoreWhitespace&&!G.test(e)&&!G.test(t)},H.tokenize=function(e){for(var t=e.split(/([^\S\r\n]+|[()[\]{}'"\r\n]|\b)/),n=0;n<t.length-1;n++)!t[n+1]&&t[n+2]&&U.test(t[n])&&U.test(t[n+2])&&(t[n]+=t[n+2],t.splice(n+1,2),n--);return t};var J=new Y;function K(e){return(K="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}J.tokenize=function(e){this.options.stripTrailingCr&&(e=e.replace(/\r\n/g,"\n"));var t=[],n=e.split(/(\n|\r\n)/);n[n.length-1]||n.pop();for(var r=0;r<n.length;r++){var i=n[r];r%2&&!this.options.newlineIsToken?t[t.length-1]+=i:(this.options.ignoreWhitespace&&(i=i.trim()),t.push(i))}return t},new Y().tokenize=function(e){return e.split(/(\S.+?[.!?])(?=\s+|$)/)},new Y().tokenize=function(e){return e.split(/([{}:;,]|\s+)/)};var ee=Object.prototype.toString,et=new Y;et.useLongestToken=!0,et.tokenize=J.tokenize,et.castInput=function(e){var t=this.options,n=t.undefinedReplacement,r=t.stringifyReplacer,i=void 0===r?function(e,t){return void 0===t?n:t}:r;return"string"==typeof e?e:JSON.stringify(function e(t,n,r,i,o){for(n=n||[],r=r||[],i&&(t=i(o,t)),l=0;l<n.length;l+=1)if(n[l]===t)return r[l];if("[object Array]"===ee.call(t)){for(n.push(t),s=Array(t.length),r.push(s),l=0;l<t.length;l+=1)s[l]=e(t[l],n,r,i,o);return n.pop(),r.pop(),s}if(t&&t.toJSON&&(t=t.toJSON()),"object"===K(t)&&null!==t){n.push(t),s={},r.push(s);var l,s,a,u=[];for(a in t)t.hasOwnProperty(a)&&u.push(a);for(u.sort(),l=0;l<u.length;l+=1)s[a=u[l]]=e(t[a],n,r,i,a);n.pop(),r.pop()}else s=t;return s}(e,null,null,i),i,"  ")},et.equals=function(e,t){return Y.prototype.equals.call(et,e.replace(/,([\r\n])/g,"$1"),t.replace(/,([\r\n])/g,"$1"))};var en=new Y;en.tokenize=function(e){return e.slice()},en.join=en.removeEmpty=function(e){return e};z.red,z.grey,z.green,z.dim().italic,z.dim("→"),z.dim("\xb7"),z.dim("↵");function er(e){let t=(e=e.replace(/\r?\n/g,"\n")).match(/^[ \t]*(?=\S)/gm),n=0,r=1/0,i=(t||[]).length;for(;n<i;n++)r=Math.min(r,t[n].length);return i&&r?e.replace(RegExp(`^[ \\t]{${r}}`,"gm"),""):e}class ei extends Error{constructor(e={}
1){super(e.message),this.name="Assertion",this.code="ERR_ASSERTION",Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor),this.details=e.details||!1,this.generated=!!e.generated,this.operator=e.operator,this.expects=e.expects,this.actual=e.actual}}function eo(e,t,n,r,i,o,l){if(e)return;if(l instanceof Error)throw l;let s=i&&i(t,n);throw new ei({actual:t,expects:n,operator:r,message:l||o,details:s,generated:!l})}function el(e,t){eo(!e,!0,!1,"not",!1,"Expected value to be falsey",t)}el.ok=el,el.equal=function(e,t,n){eo(!Z(e,t),e,t,"not.equal",!1,"Expected values not to be deeply equal",n)},el.type=function(e,t,n){let r=typeof e;eo(r!==t,r,t,"not.type",!1,`Expected "${r}" not to be "${t}"`,n)},el.instance=function(e,t,n){let r="`"+(t.name||t.constructor.name)+"`";eo(!(e instanceof t),e,t,"not.instance",!1,`Expected value not to be an instance of ${r}`,n)},el.snapshot=function(e,t,n){eo((e=er(e))!==(t=er(t)),e,t,"not.snapshot",!1,"Expected value not to match snapshot",n)},el.fixture=function(e,t,n){eo((e=er(e))!==(t=er(t)),e,t,"not.fixture",!1,"Expected value not to match fixture",n)},el.match=function(e,t,n){"string"==typeof t?eo(!e.includes(t),e,t,"not.match",!1,`Expected value not to include "${t}" substring`,n):eo(!t.test(e),e,t,"not.match",!1,`Expected value not to match \`${String(t)}\` pattern`,n)},el.throws=function(e,t,n){n||"string"!=typeof t||(n=t,t=null);try{e()}catch(e){"function"==typeof t?eo(!t(e),!0,!1,"not.throws",!1,"Expected function not to throw matching exception",n):t instanceof RegExp?eo(!t.test(e.message),!0,!1,"not.throws",!1,`Expected function not to throw exception matching \`${String(t)}\` pattern`,n):t||eo(!1,!0,!1,"not.throws",!1,"Expected function not to throw",n)}};var es=n(17239),ea=n(4935),eu=n(44991);let ec={eof:null,exclamationMark:33,dash:45,equalsTo:61,greaterThan:62},ed={data:"data",lineEnding:"lineEnding",linePrefix:"linePrefix",characterEscape:"characterEscape"},eh={attentionSideAfter:2};var ef="highlightSequenceTemporary",ep="highlightSequence",eg=n(16775),em=n(87539),eO=n(82544);let ey={}.hasOwnProperty,ev=Symbol("continue"),ex=Symbol("exit"),eb=Symbol("skip");function ew(e){return Array.isArray(e)?e:"number"==typeof e?[ev,e]:[e]}function ek(e){return!!(e&&"object"==typeof e&&"type"in e&&"string"==typeof e.type&&e.type.length>0)}function eS(e){return/^\s*$/.test(e.replace(/\/\*[\s\S]*?\*\//g,"").replace(/\/\/[^\r\n]*(\r\n|\n|\r)/g,""))}function e_(e){let t=e||{},n=t.loc||{},r=t.range||[void 0,void 0],i=eC(n.start,r[0]||t.start),o=eC(n.end,r[1]||t.end);if(i&&o)return{start:i,end:o}}function eC(e,t){if(e&&"object"==typeof e){let n="line"in e?eP(e.line):void 0,r="column"in e?eP(e.column):void 0;if(n&&void 0!==r)return{line:n,column:r+1,offset:eP(t)}}}function eP(e){return"number"==typeof e&&e>-1?e:void 0}let eT="https://github.com/micromark/micromark-extension-mdx-expression/tree/main/packages/micromark-extension-mdx-expression",eQ="#unexpected-type-in-code-expected-an-object-spread-spread";function e$(e,t,n,r,i,o,l,s,a,u,c){let d,h,f=this,p=this.events.length+3,g=0;return function(t){return e.enter(n),e.enter(r),e.consume(t),e.exit(r),d=f.now(),m};function m(c){if(null===c){if(h)throw h;let e=new A.o("Unexpected end of file in expression, expected a corresponding closing brace for `{`",{place:f.now(),ruleId:"unexpected-eof",source:"micromark-extension-mdx-expression"});throw e.url=eT+"#unexpected-end-of-file-in-expression-expected-a-corresponding-closing-brace-for-",e}if((0,eO.HP)(c))return e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),y;if(125===c&&0===g){let g=o?eA.call(f,o,l,i,p,d,u||!1,a||!1):{type:"ok",estree:void 0};if("ok"===g.type){e.enter(r),e.consume(c),e.exit(r);let i=e.exit(n);return s&&g.estree&&Object.assign(i,{estree:g.estree}),t}return h=g.message,e.enter(i),e.consume(c),O}return e.enter(i),O(c)}function O(t){return 125===t&&0===g||null===t||(0,eO.HP)(t)?(e.exit(i),m(t)):(123!==t||o?125===t&&(g-=1):g+=1,e.consume(t),O)}function y(t){let n=f.now();if(n.line!==d.line&&!c&&f.parser.lazy[n.line]){let e=new A.o("Unexpected lazy line in expression in container, expected line to be prefixed with `>` when in a block quote, whitespace when in a list, etc",{place:f.now(),ruleId:"unex
1pected-lazy",source:"micromark-extension-mdx-expression"});throw e.url=eT+"#unexpected-lazy-line-in-expression-in-container-expected-line-to-be-prefixed",e}return(0,eO.On)(t)?(0,em.N)(e,m,"linePrefix",3)(t):m(t)}}function eA(e,t,n,r,i,o,l){let s=function(e,t){let n,r,i=t.prefix||"",o=t.suffix||"",l=Object.assign({},t.acornOptions),s=[],a=[],u=l.onComment,c=l.onToken,d=!1,h=Object.assign({},l,{onComment:s,preserveParens:!0});c&&(h.onToken=a);let f=function(e,t){let n={value:"",stops:[]},r=-1;for(;++r<e.length;){let i=e[r];if("enter"===i[0]){let e=i[1].type;if("lineEnding"===e||t.includes(e)){let e=i[2].sliceStream(i[1]);for(;e.length>0&&-1===e[0];)e.shift();let t=function(e){let t,n=-1,r=[];for(;++n<e.length;){let i,o=e[n];if("string"==typeof o)i=o;else switch(o){case -5:i="\r";break;case -4:i="\n";break;case -3:i="\r\n";break;case -2:i="	";break;case -1:if(t)continue;i=" ";break;default:i=String.fromCharCode(o)}t=-2===o,r.push(i)}return r.join("")}(e);n.stops.push([n.value.length,i[1].start]),n.value+=t,n.stops.push([n.value.length,i[1].end])}}}return n}(e,t.tokenTypes),p=f.value,g=i+p+o,m=t.expression&&eS(p);if(m&&!t.allowEmpty)throw new A.o("Unexpected empty expression",{place:x(0),ruleId:"unexpected-empty-expression",source:"micromark-extension-mdx-expression"});try{n=t.expression&&!m?t.acorn.parseExpressionAt(g,0,h):t.acorn.parse(g,h)}catch(t){let e=x(t.pos);t.message=String(t.message).replace(/ \(\d+:\d+\)$/,""),t.pos=e.offset,t.loc={line:e.line,column:e.column-1},r=t,d=t.raisedAt>=i.length+p.length||"Unterminated comment"===t.message}if(n&&t.expression&&!m)if(eS(g.slice(n.end,g.length-o.length)))n={type:"Program",start:0,end:i.length+p.length,body:[{type:"ExpressionStatement",expression:n,start:0,end:i.length+p.length}],sourceType:"module",comments:[]};else{let e=x(n.end),t=Error("Unexpected content after expression");t.pos=e.offset,t.loc={line:e.line,column:e.column-1},r=t,n=void 0}if(n){var O,y;let e,t;if(n.comments=s,O=n,"function"==typeof(y=function(e,t,n,r){let i=r[r.length-1],o=t;"ParenthesizedExpression"===e.type&&i&&o&&("number"==typeof n&&(i=i[o],o=n),i[o]=e.expression),v(e)})?e=y:y,(function n(r,i,o,l){return ek(r)&&(s.displayName="node ("+r.type+")"),s;function s(){let s=e?ew(e(r,i,o,l)):[];if(s[0]===ex)return s;if(s[0]!==eb){let e;for(e in r)if(ey.call(r,e)&&r[e]&&"object"==typeof r[e]&&"data"!==e&&"position"!==e){let t=l.concat(r),i=r[e];if(Array.isArray(i)){let r=0;for(;r>-1&&r<i.length;){let o=i[r];if(ek(o)){let i=n(o,e,r,t)();if(i[0]===ex)return i;r="number"==typeof i[1]?i[1]:r+1}else r++}}else if(ek(i)){let r=n(i,e,void 0,t)();if(r[0]===ex)return r}}}return t?ew(t(r,i,o,l)):s}})(O,void 0,void 0,[])(),Array.isArray(u))u.push(...s);else if("function"==typeof u)for(let e of s)u("Block"===e.type,e.value,e.start,e.end,e.loc.start,e.loc.end);for(let e of a)e.end<=i.length||e.start-i.length>=p.length||(v(e),Array.isArray(c)?c.push(e):c(e))}return{estree:n,error:r,swallow:d};function v(e){let t=x(e.start),n=x(e.end);e.start=t.offset,e.end=n.offset,e.loc={start:{line:t.line,column:t.column-1,offset:t.offset},end:{line:n.line,column:n.column-1,offset:n.offset}},e.range=[e.start,e.end]}function x(e){let n=e-i.length;n<0?n=0:n>p.length&&(n=p.length);let r=function(e,t){let n=0;for(;n<e.length&&e[n][0]<=t;)n+=1;if(0===n)return;let[r,i]=e[n-1],o=t-r;return{line:i.line,column:i.column+o,offset:i.offset+o}}(f.stops,n);return r||(r={line:t.start.line,column:t.start.column,offset:t.start.offset}),r}}(this.events.slice(r),{acorn:e,tokenTypes:[n],acornOptions:t,start:i,expression:!0,allowEmpty:o,prefix:l?"({":"",suffix:l?"})":""}),a=s.estree;if(l&&a){let e=a.body[0];if("ExpressionStatement"!==e.type||"ObjectExpression"!==e.expression.type){let t=e_(e),n=new A.o("Unexpected `"+e.type+"` in code: expected an object spread (`{...spread}`)",{place:t.start,ruleId:"non-spread",source:"micromark-extension-mdx-expression"});throw n.url=eT+eQ,n}if(e.expression.properties[1]){let t=e_(e.expression.properties[1]),n=new A.o("Unexpected extra content in spread: only a single spread is supported",{place:t.start,ruleId:"spread-extra",source:"micromark-extension-mdx-expression"});throw n.url=eT+"#unexpected-extra-content-in-spread-only-a-single-spread-is-supported",n}if(e.expression.properties[0]&&"SpreadElement"!==e.expression.properties[0].type){let t=e_(e.expression.properties[0]),n=new A.o("Unexpected `"+e.expression.properties[0].type+"` in code: only spread elements are supported",{place:t.start,ruleId:"non-spread",source:"micromark-extension-mdx-expression"});throw n.url=eT+eQ,n}}if(s.error){let e=new A.o("Could not parse expression with acorn",{cause:s.error,place:{line:s.error.loc.line,column:s.error.loc.column+1,offset:s.error.pos},ruleId:"acorn",source:"micromark-extension-mdx-expression"});return e.url=eT+"#could-not-parse-expression-with-acorn",{type:"nok",message:e}}return{type:"ok",estree:a}}let eE="https://github.com/micromark/micromark-extension-mdx-jsx";function eR(e,t,n,r,i,o,l,s,a,u,c,d,h,f,p,g,m,O,y,v,x,b,w,k,S,_,C,P,T,Q,$,E){let R,N,L=this;return function(t){return e.enter(s),e.enter(a),e.consume(t),e.exit(a),M};function M(e){return(0,eO.Ee)(e)?n(e):(R=Z,ei(e))}function Z(t){return 47===t?(e.enter(u),e.consume(t),e.exit(u),R=I,ei):62===t?er(t):null!==t&&t>=0&&(0,eg.ni)(t)?(e.enter(d),e.enter(h),e.consume(t),j):void el(t,"before name","a character that can start a name, such as a letter, `$`, or `_`"+(33===t?" (note: to create a comment in MDX, use `{/* text */}`)":""))}function I(t){return 62===t?er(t):null!==t&&t>=0&&(0,eg.ni)(t)?(e.enter(d),e.enter(h),e.consume(t),j):void el(t,"before name","a character that can start a name, such as a letter, `$`, or `_`"+(42===t||47===t?" (note: JS comments in JSX tags are not supported in MDX)":""))}function j(t){return null!==t&&t>=0&&(0,eg.jD)(t,{jsx:!0})?(e.consume(t),j):46===t||47===t||58===t||62===t||123===t||(0,eO.Ee)(t)||(0,eO.Ny)(t)?(e.exit(h),R=X,ei(t)):void el(t,"in name","a 
1name character such as letters, digits, `$`, or `_`; whitespace before attributes; or the end of the tag"+(64===t?" (note: to create a link in MDX, use `[text](url)`)":""))}function X(t){return 46===t?(e.enter(f),e.consume(t),e.exit(f),R=D,ei):58===t?(e.enter(g),e.consume(t),e.exit(g),R=z,ei):47===t||62===t||123===t||null!==t&&t>=0&&(0,eg.ni)(t)?(e.exit(d),Y(t)):void el(t,"after name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function D(t){if(null!==t&&t>=0&&(0,eg.ni)(t))return e.enter(p),e.consume(t),V;el(t,"before member name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function V(t){return null!==t&&t>=0&&(0,eg.jD)(t,{jsx:!0})?(e.consume(t),V):46===t||47===t||62===t||123===t||(0,eO.Ee)(t)||(0,eO.Ny)(t)?(e.exit(p),R=F,ei(t)):void el(t,"in member name","a name character such as letters, digits, `$`, or `_`; whitespace before attributes; or the end of the tag"+(64===t?" (note: to create a link in MDX, use `[text](url)`)":""))}function F(t){return 46===t?(e.enter(f),e.consume(t),e.exit(f),R=D,ei):47===t||62===t||123===t||null!==t&&t>=0&&(0,eg.ni)(t)?(e.exit(d),Y(t)):void el(t,"after member name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function z(t){if(null!==t&&t>=0&&(0,eg.ni)(t))return e.enter(m),e.consume(t),B;el(t,"before local name","a character that can start a name, such as a letter, `$`, or `_`"+(43===t||null!==t&&t>46&&t<58?" (note: to create a link in MDX, use `[text](url)`)":""))}function B(t){return null!==t&&t>=0&&(0,eg.jD)(t,{jsx:!0})?(e.consume(t),B):47===t||62===t||123===t||(0,eO.Ee)(t)||(0,eO.Ny)(t)?(e.exit(m),R=W,ei(t)):void el(t,"in local name","a name character such as letters, digits, `$`, or `_`; whitespace before attributes; or the end of the tag")}function W(t){if(47===t||62===t||123===t||null!==t&&t>=0&&(0,eg.ni)(t))return e.exit(d),Y(t);el(t,"after local name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function Y(t){return 47===t?(e.enter(c),e.consume(t),e.exit(c),R=en,ei):62===t?er(t):123===t?e$.call(L,e,q,O,y,v,r,i,o,!0,!1,l)(t):null!==t&&t>=0&&(0,eg.ni)(t)?(e.enter(x),e.enter(b),e.enter(w),e.consume(t),U):void el(t,"before attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function q(e){return R=Y,ei(e)}function U(t){return null!==t&&t>=0&&(0,eg.jD)(t,{jsx:!0})?(e.consume(t),U):47===t||58===t||61===t||62===t||123===t||(0,eO.Ee)(t)||(0,eO.Ny)(t)?(e.exit(w),R=G,ei(t)):void el(t,"in attribute name","an attribute name character such as letters, digits, `$`, or `_`; `=` to initialize a value; whitespace before attributes; or the end of the tag")}function G(t){return 58===t?(e.enter(k),e.consume(t),e.exit(k),R=H,ei):61===t?(e.exit(b),e.enter(_),e.consume(t),e.exit(_),R=ee,ei):47===t||62===t||123===t||(0,eO.Ee)(t)||(0,eO.Ny)(t)||null!==t&&t>=0&&(0,eg.ni)(t)?(e.exit(b),e.exit(x),R=Y,ei(t)):void el(t,"after attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; `=` to initialize a value; or the end of the tag")}function H(t){if(null!==t&&t>=0&&(0,eg.ni)(t))return e.enter(S),e.consume(t),J;el(t,"before local attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; `=` to initialize a value; or the end of the tag")}function J(t){return null!==t&&t>=0&&(0,eg.jD)(t,{jsx:!0})?(e.consume(t),J):47===t||61===t||62===t||123===t||(0,eO.Ee)(t)||(0,eO.Ny)(t)?(e.exit(S),e.exit(b),R=K,ei(t)):void el(t,"in local attribute name","an attribute name character such as letters, digits, `$`, or `_`; `=` to initialize a value; whitespace before attributes; or the end of the tag")}function K(t){return 61===t?(e.enter(_),e.consume(t),e.exit(_),R=ee,ei):47===t||62===t||123===t||null!==t&&t>=0&&(0,eg.ni)(t)?(e.exit(x),Y(t)):void el(t,"after local attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; `=` to initialize a value; or the end of the tag")}function ee(t){return 34===t||39===t?(e.enter(C),e.enter(P),e.consume(t),e.exit(P),N=t,function t(n){return(null===n&&el(n,"in attribute value","a corresponding closing quote `"+String.fromCodePoint(N)+"`"),n===N)?(e.enter(P),e.consume(n),e.exit(P),e.exit(C),e.exit(x),N=void 0,R=Y,ei):(0,eO.HP)(n)?(R=t,ei(n)):(e.enter(T),function n(r){return null===r||r===N||(0,eO.HP)(r)?(e.exit(T),t(r)):(e.consume(r),n)}(n))}):123===t?e$.call(L,e,et,Q,$,E,r,i,o,!1,!1,l)(t):void el(t,"before attribute value","a character that can start an attribute value, such as `\"`, `'`, or `{`"+(60===t?" (note: to use an element or fragment as a prop value in MDX, use `{<element />}`)":""))}function et(t){return e.exit(x),R=Y,ei(t)}function en(e){if(62===e)return er(e);el(e,"after self-closing slash","`>` to end the tag"+(42===e||47===e?" (note: JS comments in JSX tags are not supported in MDX)":""))}function er(n){return e.enter(a),e.consume(n),e.exit(a),e.exit(s),t}function ei(t){return(0,eO.HP)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),eo):(0,eO.On)(t)||(0,eO.Ny)(t)?(e.enter("esWhitespace"),function t(n){return(0,eO.HP)(n)?(e.exit("esWhitespace"),ei(n)):(0,eO.On)(n)||(0,eO.Ny)(n)?(e.consume(n),t):(e.exit("esWhitespace"),R(n))}(t)):R(t)}function eo(e){if(!l&&L.parser.lazy[L.now().line]){let e=new A.o("Unexpected lazy line in container, expected line to be prefixed with `>` when in a block quote, whitespace when in a list, etc",L.now(),"micromark-extension-mdx-jsx:unexpected-lazy");throw e.url=eE+"#unexpected-lazy-line-in-container-expected-line-to-be",e}return ei(e)}function el(e,t,n){let r=new A.o("Unexpected "+(null===e?"end of file":"character `"+(96===e?"` ` `":String.fromCodePoint(e))+"` (U+"+e.toString(16).toUpperCase().padStart(4,"0")+")")+" "+t+", expected "+n,L.now(),"micromark-extension-mdx-jsx:unexpected-"+(null===e?"eof":"character"));throw r.url=eE+(null===e?"#unexpected-end-of-file-at-expected-expect":"#unexpected-character-at-ex
1pected-expect"),r}}var eN=n(61141),eL=n(52414),eM=n(60959),eZ=Object.defineProperty,eI=(e,t,n)=>(((e,t,n)=>t in e?eZ(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n)(e,"symbol"!=typeof t?t+"":t,n),n);let ej="generic-html";class eX extends u.fGB{constructor(e,t,n,r){super(r),eI(this,"__tag"),eI(this,"__nodeType"),eI(this,"__attributes"),this.__tag=e,this.__nodeType=t,this.__attributes=n}static getType(){return ej}static clone(e){return new eX(e.__tag,e.__nodeType,e.__attributes,e.__key)}getTag(){return this.__tag}getNodeType(){return this.__nodeType}getAttributes(){return this.__attributes}updateAttributes(e){this.getWritable().__attributes=e}getStyle(){var e;return null==(e=this.__attributes.find(e=>"style"===e.name))?void 0:e.value}createDOM(){let e=this.__tag,t=document.createElement(e);return this.__attributes.forEach(e=>{t.setAttribute(e.name,e.value)}),t}updateDOM(){return!1}static importDOM(){return{}}exportDOM(e){let{element:t}=super.exportDOM(e);return{element:t}}static importJSON(e){let t=eD(e.tag,e.mdxType,e.attributes);return t.setFormat(e.format),t.setIndent(e.indent),t.setDirection(e.direction),t}exportJSON(){return{...super.exportJSON(),tag:this.getTag(),attributes:this.__attributes,mdxType:this.__nodeType,type:ej,version:1}}extractWithChild(){return!0}isInline(){return"mdxJsxTextElement"===this.__nodeType}}function eD(e,t,n){return(0,u.pTq)(new eX(e,t,n))}let eV={testLexicalNode:function(e){return e instanceof eX},visitLexicalNode({actions:e,lexicalNode:t}){e.addAndStepInto("mdxJsxTextElement",{name:t.getTag(),type:t.getNodeType(),attributes:t.getAttributes()})},priority:-100},eF={testLexicalNode:u.wH$,visitLexicalNode:({mdastParent:e,actions:t})=>{t.appendToParent(e,{type:"text",value:"\n"})}},ez={testLexicalNode:u.bSg,visitLexicalNode:({actions:e})=>{e.addAndStepInto("paragraph")}},eB={testLexicalNode:u.hVZ,visitLexicalNode:({actions:e})=>{e.addAndStepInto("root")}};var eW=n(19833);function eY(e){return"text"===e.type}let eq=["u","span","sub","sup"],eU={shouldJoin:(e,t)=>["text","emphasis","strong","highlight"].includes(e.type)?e.type===t.type:!!("mdxJsxTextElement"===e.type&&"mdxJsxTextElement"===t.type&&eq.includes(t.name))&&e.name===t.name&&JSON.stringify(e.attributes)===JSON.stringify(t.attributes),join:(e,t)=>eY(e)&&eY(t)?{type:"text",value:e.value+t.value}:{...e,children:[...e.children,...t.children]},testLexicalNode:u.kFe,visitLexicalNode:({lexicalNode:e,mdastParent:t,actions:n})=>{let r=e.getPreviousSibling(),i=(0,u.kFe)(r)?r.getFormat():0,o=e.getTextContent(),l=e.getFormat(),s=e.getStyle(),a=t;if(s&&(a=n.appendToParent(a,{type:"mdxJsxTextElement",name:"span",children:[],attributes:[{type:"mdxJsxAttribute",name:"style",value:s}]})),i&l&eW.Ig&&(a=n.appendToParent(a,{type:"mdxJsxTextElement",name:"u",children:[],attributes:[]})),i&l&eW.o4&&(a=n.appendToParent(a,{type:"mdxJsxTextElement",name:"sup",children:[],attributes:[]})),i&l&eW.Te&&(a=n.appendToParent(a,{type:"mdxJsxTextElement",name:"sub",children:[],attributes:[]})),i&l&eW.S3&&(a=n.appendToParent(a,{type:"emphasis",children:[]})),i&l&eW.FA&&(a=n.appendToParent(a,{type:"strong",children:[]})),i&l&eW.J6&&(a=n.appendToParent(a,{type:"delete",children:[]})),i&l&eW.sM&&(a=n.appendToParent(a,{type:"highlight",children:[]})),l&eW.Ig&&!(i&eW.Ig)&&(a=n.appendToParent(a,{type:"mdxJsxTextElement",name:"u",children:[],attributes:[]})),l&eW.o4&&!(i&eW.o4)&&(a=n.appendToParent(a,{type:"mdxJsxTextElement",name:"sup",children:[],attributes:[]})),l&eW.Te&&!(i&eW.Te)&&(a=n.appendToParent(a,{type:"mdxJsxTextElement",name:"sub",children:[],attributes:[]})),l&eW.S3&&!(i&eW.S3)&&(a=n.appendToParent(a,{type:"emphasis",children:[]})),l&eW.FA&&!(i&eW.FA)&&(a=n.appendToParent(a,{type:"strong",children:[]})),l&eW.J6&&!(i&eW.J6)&&(a=n.appendToParent(a,{type:"delete",children:[]})),l&eW.sM&&!(i&eW.sM)&&(a=n.appendToParent(a,{type:"highlight",children:[]})),l&eW.jG)return void n.appendToParent(a,{type:"inlineCode",value:o});n.appendToParent(a,{type:"text",value:o})}},eG={testNode:"break",visitNode:function({lexicalParent:e}){e.append((0,u.WKo)())}};function eH(e,t){return[{testNode:t=>"mdxJsxTextElement"===t.type&&t.name===e,visitNode({actions:e,mdastNode:n,lexicalParent:r}){e.addFormatting(t),e.visitChildren(n,r)}},{testNode:t=>"html"===t.type&&t.value===`<${e}>`,visitNode({actions:e,mdastParent:n}){e.addFormatting(t,n)}},{testNode:t=>"html"===t.type&&t.value===`</${e}>`,visitNode({actions:e,mdastParent:n}){e.removeFormatting(t,n)}}]}let eJ=[{testNode:"emphasis",visitNode({mdastNode:e,actions:t,lexicalParent:n}
1){t.addFormatting(eW.S3),t.visitChildren(e,n)}},{testNode:"strong",visitNode({mdastNode:e,actions:t,lexicalParent:n}){t.addFormatting(eW.FA),t.visitChildren(e,n)}},...eH("u",eW.Ig),...eH("code",eW.jG),{testNode:"inlineCode",visitNode({mdastNode:e,actions:t}){t.addAndStepInto((0,u.sTu)(e.value).setFormat(t.getParentFormatting()|eW.jG))}},{testNode:"delete",visitNode({mdastNode:e,actions:t,lexicalParent:n}){t.addFormatting(eW.J6),t.visitChildren(e,n)}},{testNode:"highlight",visitNode({mdastNode:e,actions:t,lexicalParent:n}){t.addFormatting(eW.sM),t.visitChildren(e,n)}},...eH("sup",eW.o4),...eH("sub",eW.Te)],eK={testNode:n(44900).X,visitNode:function({mdastNode:e,actions:t,lexicalParent:n}){"span"===e.name&&1===e.attributes.length&&"mdxJsxAttribute"===e.attributes[0].type&&"style"===e.attributes[0].name?(t.addStyle(e.attributes[0].value,e),t.visitChildren(e,n)):t.addAndStepInto(eD(e.name,e.type,e.attributes))},priority:-100},e0=["listitem","admonition"],e1={testNode:"paragraph",visitNode:function({mdastNode:e,mdastParent:t,lexicalParent:n,actions:r}){let i=n.getType();if(e0.includes(i)){let o=(null==t?void 0:t.children.indexOf(e))??-1,l=o>0?null==t?void 0:t.children.at(o-1):void 0;"listitem"===i&&(null==l?void 0:l.type)==="paragraph"&&n.append((0,u.WKo)(),(0,u.WKo)()),r.visitChildren(e,n
1)}else r.addAndStepInto((0,u.lJ7)())}},e5={testNode:"root",visitNode({actions:e,mdastNode:t,lexicalParent:n}){e.visitChildren(t,n)}},e2={testNode:"text",visitNode({mdastNode:e,actions:t}){let n=(0,u.sTu)(e.value);n.setFormat(t.getParentFormatting());let r=t.getParentStyle();""!==r&&n.setStyle(r),t.addAndStepInto(n)}};var e3=n(68391),e9=n(6325);let e4=()=>e9.createElement(e3.G,{externalHistoryState:(0,a.X3)(nr)}),e7=(e,t,n)=>{return function(t){return e.enter("comment"),e.consume(t),r};function r(t){return t===ec.exclamationMark?(e.consume(t),i):n(t)}function i(t){return t===ec.dash?(e.consume(t),o):n(t)}function o(t){return t===ec.dash?(e.consume(t),l):n(t)}function l(t){return t===ec.greaterThan?n(t):(0,eO.HP)(t)?u(t):(e.enter(ed.data),t===ec.dash)?(e.consume(t),s):a(t)}function s(e){return e===ec.greaterThan?n(e):a(e)}function a(t){return t===ec.eof?n(t):t===ec.dash?(e.consume(t),d):(0,eO.HP)(t)?(e.exit(ed.data),u(t)):(e.consume(t),a)}function u(t){return e.enter(ed.lineEnding),e.consume(t),e.exit(ed.lineEnding),(0,em.N)(e,c,ed.linePrefix)}function c(t){return(0,eO.HP)(t)?u(t):(e.enter(ed.data),a(t))}function d(t){return t===ec.dash?(e.consume(t),h):a(t)}function h(n){return n===ec.greaterThan?(e.exit(ed.data),e.enter("commentEnd"),e.consume(n),e.exit("commentEnd"),e.exit("comment"),t(n)):n===ec.dash?(e.consume(n),h):a(n)}},e6={flow:{60:{tokenize:e7,concrete:!0}},text:{60:{tokenize:e7}}};var e8=n(30284);let te=(0,u.guI)("NESTED_EDITOR_UPDATED_COMMAND"),tt=(0,a.fh)(null),tn=(0,a.fh)(null),tr=(0,a.fh)(""),ti=(0,a.fh)(!0),to=(0,a.fh)(!1,e=>{e.sub(e.pipe(to,(0,a.EY)(tt)),([e,t])=>{null==t||t.setEditable(!e)})}),tl=(0,a.fh)(""),ts=(0,a.fh)(!1),ta=(0,a.fh)(!1),tu=(0,a.fh)(0),tc=(0,a.fh)(null),td=(0,a.HN)(e=>{e.link(e.pipe(tc,(0,a.pb)(e=>null!==e)),td)}),th=(0,a.HN)(e=>{e.sub(e.pipe(th,(0,a.EY)(tn)),([e,t])=>
1{null==t||t.dispatchCommand(u.mB,e)})}),tf=(0,a.fh)(null,e=>{e.sub(e.pipe(tf,(0,a.EY)(tn)),([t,n])=>{if(!t||!n)return;let r=t.anchor.getNode(),i="root"===r.getKey()?r:(0,s.Bt)(r,e=>{let t=e.getParent();return null!==t&&(0,u.IqF)(t)});i??(i=r.getTopLevelElementOrThrow());let l=i.getKey();if(null!==n.getElementByKey(l)){let t=(0,o.Pi)(i)?i.getTag():i.getType();e.pub(ni,t)}})}),tp=(0,a.fh)(""),tg=(0,a.fh)(""),tm=(0,a.fh)(!1),tO=(0,a.HN)(e=>{e.link(tg,tO),e.sub(tp,t=>{e.pubIn({[tm]:!0,[tg]:t})})}),ty=(0,a.HN)(e=>{e.link(e.pipe(tO,(0,a.EY)(tX),(0,a.pb)(([,e])=>!e),(0,a.Tj)(([e])=>e)),ty)},!0),tv=(0,a.fh)([]),tx=(0,a.fh)([]),tb=(0,a.fh)([]),tw=(0,a.fh)([]),tk=(0,a.fh)([]),tS=(0,a.fh)([]),t_=(0,a.fh)({}),tC=(0,a.fh)(!1),tP=(0,a.fh)([]),tT=(0,a.fh)([]),tQ=(0,a.fh)([]),t$=(0,a.fh)(""),tA=(0,a.fh)(null),tE=(0,a.fh)(null),tR=(0,a.fh)(null),tN=tG(tx),tL=tG(tv),tM=tG(tb),tZ=tG(tw),tI=tG(tk),tj=tG(tS),tX=(0,a.fh)(!1),tD=(0,a.HN)(e=>{e.sub(e.pipe(tD,(0,a.EY)(tg,tt,ta),(0,a.pb)(([e,t])=>e.trim()!==t.trim())),([t,,n,r])=>{e.pub(tX,!0),null==n||n.update(()=>{(0,u.NiT)().clear(),t0(e,(0,u.NiT)(),t),r?n.focus():(0,u.n1P)(null)},{onUpdate:()=>{e.pub(tX,!1)}})})}),tV=(0,a.HN)(e=>{e.sub(e.pipe(tV,(0,a.EY)(tn,ta)),([t,n,r])=>{null==n||n.update(()=>{let i=(0,u.vJq)();if(null!==i){let n={children:[],append(e){this.children.push(e)},getType:()=>i.getNodes()[0].getType()};t0(e,n,t),(0,u.H2A)(n.children)}r?n.focus():(0,u.n1P)(null)})})});function tF(){return(0,a.SQ)((e,[t,n])=>(e.forEach(e=>{if(!e)throw Error("You have a subscription that does not return a teardown");e()}),n?t.map(e=>e(n)):[]),[])}let tz=(0,a.fh)(null),tB=(0,a.fh)([],e=>{e.pipe(e.combine(tB,tn),tF())}),tW=(0,a.fh)([],e=>{e.pipe(e.combine(tW,tt),tF())}),tY=(0,a.fh)(null,eM.lQ,(e,t)=>!!(e&&t&&e.editorRef===t.editorRef)),tq=(0,a.HN)(),tU=(0,a.fh)(e=>{throw Error(`No icon component for ${e}`)});function tG(e,t){return(0,a.HN)((n,r)=>{n.changeWith(e,r,(e,t)=>{Array.isArray(t)||(t=[t]);let n=e;for(let r of t)e.includes(r)||(n=[...n,r]);return n}),null==t||t(n,r)})}function tH(e){let t=(0,u.vJq)();(0,u.I2P)(t)&&e.pubIn({[tf]:t,[tu]:t.format})}let tJ=tG(tW,(e,t)=>{e.pub(t,[t=>t.registerCommand(u.MvL,(t,n)=>(e.pubIn({[tn]:n,[ta]:!0}),null===n._parentEditor&&n.getEditorState().read(()=>{e.pub(tY,{rootNode:(0,u.NiT)(),editorType:"lexical",editorRef:n})}),tH(e),!1),u.da8),t=>t.registerUpdateListener(({dirtyElements:n,dirtyLeaves:r,editorState:i})=>{let o;null===e.getValue(tc)&&(0!==n.size||0!==r.size)&&(i.read(()=>{(0,u.NiT)().getLastChild()instanceof u.Kp7&&t.update(()=>{(0,u.NiT)().append((0,u.lJ7)())},{discrete:!0}),o=(0,eN.i)({root:(0,u.NiT)(),visitors:e.getValue(tk),jsxComponentDescriptors:e.getValue(tP),toMarkdownExtensions:e.getValue(tS),toMarkdownOptions:e.getValue(t_),jsxIsAvailable:e.getValue(tC)})}),e.pub(tg,o.trim()),e.pub(tm,!1))}),t=>t.registerCommand(u.$7r,()=>(e.pub(ta,!0),!1),u.da8)])}),tK=tG(tB,(e,t)=>{e.pub(t,[t=>t.registerUpdateListener(({editorState:t})=>{t.read(()=>{tH(e)})}),t=>t.registerCommand(u.I2H,t=>{var n;let r=e.getValue(tt);return r&&((null==(n=r.getRootElement())?void 0:n.contains(t.relatedTarget))||e.pubIn({[ta]:!1,[tq]:t})),!1},u.da8)])});function t0(e,t,n){try{(0,eL.Gi)({root:t,visitors:e.getValue(tv),mdastExtensions:e.getValue(tw),markdown:n,syntaxExtensions:e.getValue(tb),jsxComponentDescriptors:e.getValue(tP),directiveDescriptors:e.getValue(tT),codeBlockEditorDescriptors:e.getValue(tQ),defaultCodeBlockLanguage:e.getValue(t$)}),e.pub(tc,null)}catch(t){if(t instanceof eL.zy||t instanceof eL.Wr)e.pubIn({[tg]:n,[tc]:{error:t.message,source:n}});else throw t}}let t1=(0,a.fh)([]),t5=tG(t1),t2=(0,a.fh)([]),t3=tG(t2),t9=(0,a.fh)([]),t4=tG(t9),t7=(0,a.fh)([]),t6=tG(t7),t8=tG((0,a.fh)([])),ne=(0,a.fh)([]),nt=tG(ne),nn=(0,a.fh)(!1,e=>{e.link(e.pipe(tn,(0,a.Tj)(e=>{var t,n;return["td","th"].includes((null==(n=null==(t=null==e?void 0:e.getRootElement())?void 0:t.parentNode)?void 0:n.nodeName.toLowerCase())??"")})),nn)}),nr=(0,a.fh)((0,i.h)()),ni=(0,a.fh)("");(0,a.HN)();let no=(0,a.HN)(e=>{e.sub(e.pipe(no,(0,a.EY)(tn)),([e,t])=>{null==t||t.update(()=>{let n=(0,u.vJq)();(0,u.I2P)(n)&&((0,l.zI)(n,e),setTimeout(()=>{t.focus()}))})})}),nl=(0,a.HN)(e=>{e.sub(e.pipe(nl,(0,a.EY)(tn)),([e,t])=>{null==t||t.focus(()=>{t.getEditorState().read(()=>{let n=(0,u.vJq)();(0,u.I2P)(n)&&(t.update(()=>{let t=e();t.isInline()?((0,u.H2A)([t]),(0,u.IqF)(t.getParentOrThrow())&&(0,s.cj)(t,u.lJ7).selectEnd()):(0,s.Pe)(t),setTimeout(()=>{"select"in t&&"function"==typeof t.select&&t.select()})}),setTimeout(()=>{t.dispatchCommand(te,void 0)}))})},{defaultSelection:"rootEnd"})})}),ns=(0,a.fh)("rich-text",e=>{function t(){return(0,a.SQ)((e,t)=>({current:e.next,next:t}),{current:"rich-text",next:"rich-text"})}e.sub(e.pipe(ns,t(),(0,a.EY)(na)),([{current:t},n])=>{("source"===t||"diff"===t)&&e.pub(tD,n)}),e.sub(e.pipe(ns,t(),(0,a.pb)(e=>"rich-text"===e.current),(0,a.EY)(tn)),([,e])=>{null==e||e.dispatchCommand(te,void 0)})}),na=(0,a.fh)("",e=>{e.link(tg,na),e.link(na,tO)},!0),nu=(0,a.fh)([]),nc=tG(nu),nd=(0,a.fh)(()=>{throw Error("No translation function provided")}),nh=(0,a.fh)(e8.C),nf=(0,r.Z)({init(e,t){let n=(null==t?void 0:t.initialMarkdown)??"";e.register(tJ),e.register(tK),e.register(tO),e.register(na),e.pubIn({[tp]:(null==t?void 0:t.trim)?n.trim():n,[tU]:null==t?void 0:t.iconComponentFor,[tL]:[e5,e1,e2,eG,...eJ],[tN]:[u.fD3,u.Ey8,eX],[tI]:[eB,ez,eU,eF,eV],[tr]:null==t?void 0:t.contentEditableClassName,[ti]:null==t?void 0:t.spell
1Check,[t_]:null==t?void 0:t.toMarkdownOptions,[ts]:null==t?void 0:t.autoFocus,[tl]:null==t?void 0:t.placeholder,[to]:null==t?void 0:t.readOnly,[nd]:null==t?void 0:t.translation,[tZ]:[(0,d.p)(),h],[tM]:[(0,c.K)(),function(){let e={name:"highlight",tokenize:function(e,t,n){let r=this.previous,i=this.events,o=0;return function(l){return(eo(l===ec.equalsTo,!1,!0,"ok",!1,"Expected value to be truthy","expected `=`"),r===ec.equalsTo&&i[i.length-1][1].type!==ed.characterEscape)?n(l):(e.enter(ef),function i(l){let s=(0,ea.S)(r);if(l===ec.equalsTo)return o>1?n(l):(e.consume(l),o++,i);if(o<2)return n(l);let a=e.exit(ef),u=(0,ea.S)(l);return a._open=!u||u===eh.attentionSideAfter&&!!s,a._close=!s||s===eh.attentionSideAfter&&!!u,t(l)}(l))}},resolveAll:function(e,t){let n=-1;for(;++n<e.length;)if("enter"===e[n][0]&&e[n][1].type===ef&&e[n][1]._close){let r=n;for(;r--;)if("exit"===e[r][0]&&e[r][1].type===ef&&e[r][1]._open&&e[n][1].end.offset-e[n][1].start.offset==e[r][1].end.offset-e[r][1].start.offset){e[n][1].type=ep,e[r][1].type=ep;let i={type:"highlight",start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},o={type:"highlightText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},l=[["enter",i,t],["enter",e[r][1],t],["exit",e[r][1],t],["enter",o,t]],s=t.parser.constructs.insideSpan.null;s&&(0,es.m)(l,l.length,0,(0,eu.W)(s,e.slice(r+1,n),t)),(0,es.m)(l,l.length,0,[["exit",o,t],["enter",e[n][1],t],["exit",e[n][1],t],["exit",i,t]]),(0,es.m)(e,r-1,n-r+3,l),n=r+l.length-2;break}}for(n=-1;++n<e.length;)e[n][1].type===ef&&(e[n][1].type=ed.data);return e}};return{text:{[ec.equalsTo]:e},insideSpan:{null:[e]},attentionMarkers:{null:[ec.equalsTo]}}}()],[tj]:[function(e){let t={},n=t.quote||'"',r=t.quoteSmart||!1,i=t.tightSelfClosing||!1,o=t.printWidth||1/0,l='"'===n?"'":'"';if('"'!==n&&"'"!==n)throw Error("Cannot serialize attribute values with `"+n+"` for `options.quote`, expected `\"`, or `'`");return s.peek=N,{handlers:{mdxJsxFlowElement:s,mdxJsxTextElement:s},unsafe:[{character:"<",inConstruct:["phrasing"]},{atBreak:!0,character:"<"}],fences:!0,resourceLink:!0};function s(e,t,s,a){let u="mdxJsxFlowElement"===e.type,c=!!e.name&&(!e.children||0===e.children.length),d=R(E(s)),h=s.createTracker(a),f=s.createTracker(a),p=[],m=(u?d:"")+"<"+(e.name||""),O=s.enter(e.type);if(h.move(m),f.move(m),e.attributes&&e.attributes.length>0){if(!e.name)throw Error("Cannot serialize fragment w/ attributes");let t=-1;for(;++t<e.attributes.length;){let i,o=e.attributes[t];if("mdxJsxExpressionAttribute"===o.type)i="{"+(o.value||"")+"}";else{if(!o.name)throw Error("Cannot serialize attribute w/o name");let e=o.value,t=o.name,s="";if(null==e);else if("object"==typeof e)s="{"+(e.value||"")+"}";else{let t=r&&(0,g.D)(e,n)>(0,g.D)(e,l)?l:n;s=t+function(e,t){var n=e,r=Object.assign({format:Q},t);if(n=n.replace(r.subset?function(e){let t=T.get(e);return t||(t=function(e){let t=[],n=-1;for(;++n<e.length;)t.push(e[n].replace(P,"\\$&"));return RegExp("(?:"+t.join("|")+")","g")}(e),T.set(e,t)),t}(r.subset):S,i),r.subset||r.escapeOnly)return n;return n.replace(_,function(e,t,n){return r.format((e.charCodeAt(0)-55296)*1024+e.charCodeAt(1)-56320+65536,n.charCodeAt(t+2),r)}).replace(C,i);function i(e,t,n){return r.format(e.charCodeAt(0),n.charCodeAt(t+1),r)}}(e,{subset:[t]})+t}i=t+(s?"=":"")+s}p.push(i)}}let y=!1,v=p.join(" ");u&&(/\r?\n|\r/.test(v)||h.current().now.column+v.length+(c?i?2:3:1)>o)&&(y=!0);let x=h,b=m;if(y){x=f;let e=-1;for(;++e<p.length;)p[e]=d+"  "+p[e];b+=x.move("\n"+p.join("\n")+"\n"+d)}else v&&(b+=x.move(" "+v));return c&&(b+=x.move((i||y?"":" ")+"/")),b+=x.move(">"),e.children&&e.children.length>0&&("mdxJsxTextElement"===e.type?b+=x.move(s.containerPhrasing(e,{...x.current(),before:">",after:"<"})):(x.shift(2),b+=x.move("\n"),b+=x.move(function(e,t,n){let r=t.indexStack,i=e.children,o=t.createTracker(n),l=R(E(t)),s=[],a=-1;for(r.push(-1);++a<i.length;){let n=i[a];r[r.length-1]=a;let u={before:"\n",after:"\n",...o.current()},c=t.handle(n,e,t,u),d="mdxJsxFlowElement"===n.type?c:t.indentLines(c,function(e,t,n){return(n?"":l)+e});s.push(o.move(d)),"list"!==n.type&&(t.bulletLastUsed=void 0),a<i.length-1&&s.push(o.move("\n\n"))}return r.pop(),s.join("")}(e,s,x.current())),b+=x.move("\n"))),c||(b+=x.move((u?d:"")+"</"+(e.name||"")+">")),O(),b}}(),(0,d.K)(),f],[nh]:(null==t?void 0:t.lexicalTheme)??e8.C}),e.singletonSub(td,null==t?void 0:t.onError),e.singletonSub(ty,n=>{null==t||t.onChange(n,e.getValue(tm))}),e.singletonSub(tq,null==t?void 0:t.onBlur),(null==t?void 0:t.suppressHtmlProcessing)||e.pubIn({[tZ]:[function(){return{canContainEols:["mdxJsxTextElement"],enter
1:{mdxJsxFlowTag:r,mdxJsxFlowTagClosingMarker:i,mdxJsxFlowTagAttribute:d,mdxJsxFlowTagExpressionAttribute:h,mdxJsxFlowTagAttributeValueLiteral:e,mdxJsxFlowTagAttributeValueExpression:e,mdxJsxFlowTagSelfClosingMarker:l,mdxJsxTextTag:r,mdxJsxTextTagClosingMarker:i,mdxJsxTextTagAttribute:d,mdxJsxTextTagExpressionAttribute:h,mdxJsxTextTagAttributeValueLiteral:e,mdxJsxTextTagAttributeValueExpression:e,mdxJsxTextTagSelfClosingMarker:l},exit:{mdxJsxFlowTagClosingMarker:s,mdxJsxFlowTagNamePrimary:a,mdxJsxFlowTagNameMember:u,mdxJsxFlowTagNameLocal:c,mdxJsxFlowTagExpressionAttribute:f,mdxJsxFlowTagExpressionAttributeValue:n,mdxJsxFlowTagAttributeNamePrimary:p,mdxJsxFlowTagAttributeNameLocal:g,mdxJsxFlowTagAttributeValueLiteral:S,mdxJsxFlowTagAttributeValueLiteralValue:n,mdxJsxFlowTagAttributeValueExpression:_,mdxJsxFlowTagAttributeValueExpressionValue:n,mdxJsxFlowTagSelfClosingMarker:C,mdxJsxFlowTag:P,mdxJsxTextTagClosingMarker:s,mdxJsxTextTagNamePrimary:a,mdxJsxTextTagNameMember:u,mdxJsxTextTagNameLocal:c,mdxJsxTextTagExpressionAttribute:f,mdxJsxTextTagExpressionAttributeValue:n,mdxJsxTextTagAttributeNamePrimary:p,mdxJsxTextTagAttributeNameLocal:g,mdxJsxTextTagAttributeValueLiteral:S,mdxJsxTextTagAttributeValueLiteralValue:n,mdxJsxTextTagAttributeValueExpression:_,mdxJsxTextTagAttributeValueExpressionValue:n,mdxJsxTextTagSelfClosingMarker:C,mdxJsxTextTag:P}};function e(){this.buffer()}function t(e){return{line:e.line,column:e.column,offset:e.offset}}function n(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}function r(e){let t={name:void 0,attributes:[],close:!1,selfClosing:!1,start:e.start,end:e.end};this.data.mdxJsxTagStack||(this.data.mdxJsxTagStack=[]),this.data.mdxJsxTag=t,this.buffer()}function i(e){let t=this.data.mdxJsxTagStack;if((0,m.ok)(t,"expected `mdxJsxTagStack`"),0===t.length)throw new A.o("Unexpected closing slash `/` in tag, expected an open tag first",{start:e.start,end:e.end},"mdast-util-mdx-jsx:unexpected-closing-slash")}function o(e){let t=this.data.mdxJsxTag;if((0,m.ok)(t,"expected `mdxJsxTag`"),t.close)throw new A.o("Unexpected attribute in closing tag, expected the end of the tag",{start:e.start,end:e.end},"mdast-util-mdx-jsx:unexpected-attribute")}function l(e){let t=this.data.mdxJsxTag;if((0,m.ok)(t,"expected `mdxJsxTag`"),t.close)throw new A.o("Unexpected self-closing slash `/` in closing tag, expected the end of the tag",{start:e.start,end:e.end},"mdast-util-mdx-jsx:unexpected-self-closing-slash")}function s(){let e=this.data.mdxJsxTag;(0,m.ok)(e,"expected `mdxJsxTag`"),e.close=!0}function a(e){let t=this.data.mdxJsxTag;(0,m.ok)(t,"expected `mdxJsxTag`"),t.name=this.sliceSerialize(e)}function u(e){let t=this.data.mdxJsxTag;(0,m.ok)(t,"expected `mdxJsxTag`"),t.name+="."+this.sliceSerialize(e)}function c(e){let t=this.data.mdxJsxTag;(0,m.ok)(t,"expected `mdxJsxTag`"),t.name+=":"+this.sliceSerialize(e)}function d(e){let n=this.data.mdxJsxTag;(0,m.ok)(n,"expected `mdxJsxTag`"),o.call(this,e),n.attributes.push({type:"mdxJsxAttribute",name:"",value:null,position:{start:t(e.start),end:void 0}})}function h(e){let n=this.data.mdxJsxTag;(0,m.ok)(n,"expected `mdxJsxTag`"),o.call(this,e),n.attributes.push({type:"mdxJsxExpressionAttribute",value:"",position:{start:t(e.start),end:void 0}}),this.buffer()}function f(e){let n=this.data.mdxJsxTag;(0,m.ok)(n,"expected `mdxJsxTag`");let r=n.attributes[n.attributes.length-1];(0,m.ok)("mdxJsxExpressionAttribute"===r.type);let i=e.estree;r.value=this.resume(),(0,m.ok)(void 0!==r.position),r.position.end=t(e.end),i&&(r.data={estree:i})}function p(e){let n=this.data.mdxJsxTag;(0,m.ok)(n,"expected `mdxJsxTag`");let r=n.attributes[n.attributes.length-1];(0,m.ok)("mdxJsxAttribute"===r.type),r.name=this.sliceSerialize(e),(0,m.ok)(void 0!==r.position),r.position.end=t(e.end)}function g(e){let n=this.data.mdxJsxTag;(0,m.ok)(n,"expected `mdxJsxTag`");let r=n.attributes[n.attributes.length-1];(0,m.ok)("mdxJsxAttribute"===r.type),r.name+=":"+this.sliceSerialize(e),(0,m.ok)(void 0!==r.position),r.position.end=t(e.end)}function S(e){let n=this.data.mdxJsxTag;(0,m.ok)(n,"expected `mdxJsxTag`");let r=n.attributes[n.attributes.length-1];r.value=function(e,t){let n,r,i,o=t||{},l="string"==typeof o.additional?o.additional.charCodeAt(0):o.additional,s=[],a=0,u=-1,c="";o.position&&("start"in o.position||"indent"in o.position?(r=o.position.indent,n=o.position.start):n=o.position);let d=(n?n.line:0)||1,h=(n?n.column:0)||1,f=m();for(a--;++a<=e.length;)if(10===i&&(h=(r?r[u]:0)||1),38===(i=e.charCodeAt(a))){let t,n=e.charCodeAt(a+1);if(9===n||10===n||12===n||32===n||38===n||60===n||Number.isNaN(n)||l&&n===l){c+=String.fromCharCode(i),h++;continue}let r=a+1,u=r,d=r;if(35===n){d=++u;let n=e.charCodeAt(d);88===n||120===n?(t="hexadecimal",d=++u):t="decimal"}else t="named";
1let k="",C="",P="",T="named"===t?b:"decimal"===t?v:x;for(d--;++d<=e.length;){let n=e.charCodeAt(d);if(!T(n))break;P+=String.fromCharCode(n),"named"===t&&O.includes(P)&&(k=P,C=(0,w.s)(P))}let Q=59===e.charCodeAt(d);if(Q){d++;let e="named"===t&&(0,w.s)(P);e&&(k=P,C=e)}let $=1+d-r,A="";if(Q||!1!==o.nonTerminated)if(P)if("named"===t){if(Q&&!C)S(5,1);else if(k!==P&&($=1+(d=u+k.length)-u,Q=!1),!Q){let t=k?1:3;if(o.attribute){let n=e.charCodeAt(d);61===n?(S(t,$),C=""):b(n)?C="":S(t,$)}else S(t,$)}A=C}else{var p,g;Q||S(2,$);let e=Number.parseInt(P,"hexadecimal"===t?16:10);if((p=e)>=55296&&p<=57343||p>1114111)S(7,$),A=String.fromCharCode(65533);else if(e in y)S(6,$),A=y[e];else{let t="";((g=e)>=1&&g<=8||11===g||g>=13&&g<=31||g>=127&&g<=159||g>=64976&&g<=65007||(65535&g)==65535||(65535&g)==65534)&&S(6,$),e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10|55296),e=56320|1023&e),A=t+String.fromCharCode(e)}}else"named"!==t&&S(4,$);if(A){_(),f=m(),a=d-1,h+=d-r+1,s.push(A);let t=m();t.offset++,o.reference&&o.reference.call(o.referenceContext||void 0,A,{start:f,end:t},e.slice(r-1,d)),f=t}else P=e.slice(r-1,d),c+=P,h+=P.length,a=d-1}else 10===i&&(d++,u++,h=0),Number.isNaN(i)?_():(c+=String.fromCharCode(i),h++);return s.join("");function m(){return{line:d,column:h,offset:a+((n?n.offset:0)||0)}}function S(e,t){let n;o.warning&&(n=m(),n.column+=t,n.offset+=t,o.warning.call(o.warningContext||void 0,k[e],n,e))}function _(){c&&(s.push(c),o.text&&o.text.call(o.textContext||void 0,c,{start:f,end:m()}),c="")}}(this.resume(),{nonTerminated:!1}),(0,m.ok)(void 0!==r.position),r.position.end=t(e.end)}function _(e){let n=this.data.mdxJsxTag;(0,m.ok)(n,"expected `mdxJsxTag`");let r=n.attributes[n.attributes.length-1];(0,m.ok)("mdxJsxAttribute"===r.type);let i={type:"mdxJsxAttributeValueExpression",value:this.resume()},o=e.estree;o&&(i.data={estree:o}),r.value=i,(0,m.ok)(void 0!==r.position),r.position.end=t(e.end)}function C(){let e=this.data.mdxJsxTag;(0,m.ok)(e,"expected `mdxJsxTag`"),e.selfClosing=!0}function P(e){let t=this.data.mdxJsxTag;(0,m.ok)(t,"expected `mdxJsxTag`");let n=this.data.mdxJsxTagStack;(0,m.ok)(n,"expected `mdxJsxTagStack`");let r=n[n.length-1];if(t.close&&r.name!==t.name)throw new A.o("Unexpected closing tag `"+E(t)+"`, expected corresponding closing tag for `"+E(r)+"` ("+(0,$.L)(r)+")",{start:e.start,end:e.end},"mdast-util-mdx-jsx:end-tag-mismatch");this.resume(),t.close?n.pop():this.enter({type:"mdxJsxTextTag"===e.type?"mdxJsxTextElement":"mdxJsxFlowElement",name:t.name||null,attributes:t.attributes,children:[]},e,T),t.selfClosing||t.close?this.exit(e,Q):n.push(t)}function T(e,t){let n=this.data.mdxJsxTagStack;(0,m.ok)(n,"expected `mdxJsxTagStack`");let r=n[n.length-1];(0,m.ok)(r,"expected `mdxJsxTag`");let i=e?" before the end of `"+e.type+"`":"",o=e?{start:e.start,end:e.end}:void 0;throw new A.o("Expected a closing tag for `"+E(r)+"` ("+(0,$.L)({start:t.start,end:t.end})+")"+i,o,"mdast-util-mdx-jsx:end-tag-mismatch")}function Q(e,t){let n=this.data.mdxJsxTag;throw(0,m.ok)(n,"expected `mdxJsxTag`"),new A.o("Expected the closing tag `"+E(n)+"` either after the end of `"+t.type+"` ("+(0,$.L)(t.end)+") or another opening tag after the start of `"+t.type+"` ("+(0,$.L)(t.start)+")",{start:e.start,end:e.end},"mdast-util-mdx-jsx:end-tag-mismatch")}function E(e){return"<"+(e.close?"/":"")+(e.name||"")+">"}}(),{canContainEols:["comment"],enter:{comment(e){this.buffer()}},exit:{comment(e){this.resume()}}}],[tM]:[function(e){var t,n,r,i;let o,l={},s=l.acorn;if(s){if(!s.parse||!s.parseExpressionAt)throw Error("Expected a proper `acorn` instance passed in as `options.acorn`");o=Object.assign({ecmaVersion:2024,sourceType:"module"},l.acornOptions,{locations:!0})}else if(l.acornOptions||l.addResult)throw Error("Expected an `acorn` instance passed in as `options.acorn`");return{flow:{60:(t=s||void 0,n={acornOptions:o,addResult:l.addResult||void 0},{concrete:!0,name:"mdxJsxFlowTag",tokenize:function(e,r,i){let o=this;return function(e){return l(e)};function l(r){return eR.call(o,e,s,i,t,n.acornOptions,n.addResult,!1,"mdxJsxFlowTag","mdxJsxFlowTagMarker","mdxJsxFlowTagClosingMarker","mdxJsxFlowTagSelfClosingMarker","mdxJsxFlowTagName","mdxJsxFlowTagNamePrimary","mdxJsxFlowTagNameMemberMarker","mdxJsxFlowTagNameMember","mdxJsxFlowTagNamePrefixMarker","mdxJsxFlowTagNameLocal","mdxJsxFlowTagExpressionAttribute","mdxJsxFlowTagExpressionAttributeMarker","mdxJsxFlowTagExpressionAttributeValue","mdxJsxFlowTagAttribute","mdxJsxFlowTagAttributeName","mdxJsxFlowTagAttributeNamePrimary","mdxJsxFlowTagAttributeNamePrefixMarker","mdxJsxFlowTagAttributeNameLocal","mdxJsxFlowTagAttributeInitializerMarker","mdxJsxFlowTagAttributeValueLiteral","mdxJsxFlowTagAttributeValueLiteralMarker","mdxJsxFlowTagAttributeValueLiteralValue","mdxJsxFlowTagAttributeValueExpression","mdxJsxFlowTagAttributeValueExpressionMarker","mdxJsxFlowTagAttributeValueExpressionValue")(r)}function s(t){return(0,eO.On)(t)?(0,em.N)(e,a,"whitespace")(t):a(t)}function a(t){let n,s=o.parser.constructs.flow[123];for(let e of Array.isArray(s)?s:s?[s]:[])if("mdxFlowExpression"===e.name){n=e;break}return 60===t?l(t):123===t&&n?e.attempt(n,a,i)(t):null===t||(0,eO.HP)(t)?r(t):i(t)}}})},text:{60:(r=s||void 0,i={acornOptions:o,addResult:l.addResult||void 0},{name:"mdxJsxTextTag",tokenize:function(e,t,n){return eR.call(this,e,t,n,r,i.acornOptions,i.addResult,!0,"mdxJsxTextTag","mdxJsxTextTagMarker","mdxJsxTextTagClosingMarker","mdxJsxTextTagSelfClosingMarker","mdxJsxTextTagName","mdxJsxTextTagNamePrimary","mdxJsxTextTagNameMemberMarker","mdxJsxTextTagNameMember","mdxJsxTextTagNamePrefixMarker","mdxJsxTextTagNameLocal","mdxJsxTextTagExpressionAttribute","mdxJsxTextTagExpressionAttributeMarker","mdxJsxTextTagExpressionAttributeValue","mdxJsxTextTagAttribute","mdxJsxTextTagAttributeName","mdxJsxTextTagAttributeNamePrimary","mdxJsxTextTagAttributeNamePrefixMarker","mdxJsxTextTagAttributeNameLocal","mdxJsxTextTagAttributeInitializerMarker","mdxJsxTextTagAttributeValueLiteral","mdxJsxTextTagAttributeValueLiteralMarker","mdxJsxTextTagAttributeValueLiteralValue","mdxJsxTextTagAttributeValueExpression","mdxJsxTextTagAttributeValueExpressionMarker","mdxJsxTextTagAttributeValueExpressionValue")}})}}}(),{disable:{null:["autolink","codeIndented","htmlFlow","htmlText"]}},e6],[tL]:eK}),(null==t?void 0:t.suppressSharedHistory)||e.pub(t5,e4)},postInit(e,t){let n=(0,u.ieJ)({editable:(null==t?void 0:t.readOnly)!==!0,namespace:(null==t?void 0:t.lexicalEditorNamespace)??"MDXEditor",nodes:[...e.getValue(tx),...(null==t?void 0:t.additionalLexicalNodes)??[]],onError:e=>{throw e}
1,theme:e.getValue(nh)});(null==t?void 0:t.editorState)!==null&&n.update(()=>{let r=(null==t?void 0:t.initialMarkdown.trim())??"";t0(e,(0,u.NiT)(),r);let i=null==t?void 0:t.autoFocus;if(i){if(!0===i)return void setTimeout(()=>{n.focus(eM.lQ,{defaultSelection:"rootStart"})});setTimeout(()=>{n.focus(eM.lQ,{defaultSelection:i.defaultSelection??"rootStart"})})}}),e.pub(tt,n),e.pub(tn,n)},update(e,t){e.pubIn({[tr]:null==t?void 0:t.contentEditableClassName,[ti]:null==t?void 0:t.spellCheck,[t_]:null==t?void 0:t.toMarkdownOptions,[ts]:null==t?void 0:t.autoFocus,[tl]:null==t?void 0:t.placeholder,[to]:null==t?void 0:t.readOnly}),e.singletonSub(ty,n=>{null==t||t.onChange(n,e.getValue(tm))}),e.singletonSub(tq,null==t?void 0:t.onBlur),e.singletonSub(td,null==t?void 0:t.onError)}});function np(){return(0,a.X3)(nd)}},60959:(e,t,n)=>{"use strict";function r(e,t){return t(e),e}function i(){}n.d(t,{Mi:()=>r,lQ:()=>i})},61141:(e,t,n)=>{"use strict";n.d(t,{J:()=>s,i:()=>c});var r=n(84544),i=n(98293),o=n(44900);function l(e){let t={};return e.split(";").filter(e=>""!==e.trim()).forEach(e=>{let[n,r]=e.split(":").map(e=>e.trim());t[n]=r}),t}function s({root:e,visitors:t,jsxComponentDescriptors:n,jsxIsAvailable:i,addImportStatements:s=!0}){let c=null,d=new Set,h=new Map;function f(e,t){d.add(e),t&&h.set(e,{...t})}function p(e,n){if(null===c)return c=n;if(!(e.children instanceof Array))throw Error("Attempting to append children to a non-parent");let r=e.children,i=r.at(-1);if(i){let e=t.find(e=>{var t;return null==(t=e.shouldJoin)?void 0:t.call(e,i,n)});if(e){let t=e.join(i,n);return r.splice(r.length-1,1,t),t}}return r.push(n),n}
1function g(e,t){e.getChildren().forEach(e=>{m(e,t)})}function m(e,n,i=null){var o;let l=t.find((t,n)=>{var r;return(null==i||!i.has(n))&&(null==(r=t.testLexicalNode)?void 0:r.call(t,e))});if(!l)throw Error(`no lexical visitor found for ${e.getType()}`,{cause:e});null==(o=l.visitLexicalNode)||o.call(l,{lexicalNode:e,mdastParent:n,actions:{addAndStepInto(t,i={},o=!0){let l={type:t,...i,...o?{children:[]}:{}};p(n,l),(0,r.ff4)(e)&&o&&g(e,l)},appendToParent:p,visitChildren:g,visit:m,registerReferredComponent:f,nextVisitor(){m(e,n,(i??new Set).add(t.indexOf(l)))}}})}if(t=t.sort((e,t)=>(t.priority??0)-(e.priority??0)),m(e,null),null===c)throw Error("traversal ended with no root element");let O=new Map,y=new Map;for(let e of d){let t=n.find(t=>t.name===e)??h.get(e)??n.find(e=>"*"===e.name);if(!t)throw Error(`Component ${e} is used but not imported`);if(t.source)if(t.defaultExport)y.set(e,t.source);else{let{source:n}=t,r=O.get(n);r?r.push(e):O.set(n,[e])}}if(!s){for(let[e,t]of O.entries()){let n=t.filter(e=>h.has(e));n.length>0?O.set(e,n):O.delete(e)}for(let e of y.keys())h.has(e)||y.delete(e)}let v=Array.from(O).map(([e,t])=>({type:"mdxjsEsm",value:`import { ${t.join(", ")} } from '${e}'`}));v.push(...Array.from(y).map(([e,t])=>({type:"mdxjsEsm",value:`import ${e} from '${t}'`})));let x=c,b=x.children.find(e=>"yaml"===e.type);return b?x.children.splice(x.children.indexOf(b)+1,0,...v):x.children.unshift(...v),function e(t,n){if("strong"===t.type||"emphasis"===t.type){let r=t.children.at(-1);if((null==r?void 0:r.type)==="text"){let i=a.exec(r.value);if(i){r.value=r.value.replace(a,"");let o=n.at(-1);o&&(o.children.splice(o.children.indexOf(t)+1,0,{type:"text",value:i[0]}),e(o,n.slice(0,-1)))}}let i=t.children.at(0);if((null==i?void 0:i.type)==="text"){let r=u.exec(i.value);if(r){i.value=i.value.replace(u,"");let o=n.at(-1);o&&(o.children.splice(o.children.indexOf(t),0,{type:"text",value:r[0]}),e(o,n.slice(0,-1)))}}}"children"in t&&t.children.length>0&&t.children.forEach(r=>{e(r,[...n,t])})}(x,[]),function e(t){if("children"in t&&t.children.length>0){if((0,o.X)(t)&&1===t.children.length){let e=t.children[0];"mdxJsxTextElement"===e.type&&"span"===e.name&&(e.attributes.forEach(e=>{if("mdxJsxAttribute"===e.type){let n=t.attributes.find(t=>"mdxJsxAttribute"===t.type&&t.name===e.name);if(n)if("className"===e.name){let t=new Set([...n.value.split(" "),...e.value.split(" ")]);n.value=Array.from(t).join(" ")}else"style"===e.name&&(n.value=function(e,t){let n=l(e),r=l(t);return Object.entries({...n,...r}).map(([e,t])=>`${e}: ${t}`).join("; ")}(n.value,e.value));else t.attributes.push(e)}}),t.children=e.children)}t.children.forEach(t=>{e(t)})}}(x),i||function e(t){if(Object.hasOwn(t,"children")){let n=[];t.children.forEach(t=>{"mdxJsxTextElement"===t.type&&"u"===t.name?n.push({type:"html",value:"<u>"},...t.children,{type:"html",value:"</u>"}):(n.push(t),e(t))}),t.children=n}}(x),x}let a=/\s+$/,u=/^\s+/;function c({root:e,toMarkdownOptions:t,toMarkdownExtensions:n,visitors:r,jsxComponentDescriptors:o,jsxIsAvailable:l}){return(0,i.l)(s({root:e,visitors:r,jsxComponentDescriptors:o,jsxIsAvailable:l}),{extensions:n,...t})+"\n"}},61660:(e,t,n)=>{"use strict";n.d(t,{DE:()=>P,GO:()=>$,HY:()=>T,Js:()=>D,Mz:()=>b,YW:()=>y,cz:()=>X,g2:()=>s,i:()=>x,mJ:()=>Q,q7:()=>Z,uS:()=>j,v5:()=>w,x:()=>I});var r=n(6105),i=n(84544),o=n(45580);function l(e,...t){let n=new URL("https://lexical.dev/docs/error"),r=new URLSearchParams;for(let n of(r.append("code",e),t))r.append("v",n);throw n.search=r.toString(),Error(`Minified Lexical error #${e}; visit ${n.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}function s(e){let t=1,n=e.getParent();for(;null!=n;){if(b(n)){let e=n.getParent();if(T(e)){t++,n=e.getParent();continue}l(40)}break}return t}function a(e){let t=e.getParent();T(t)||l(40);let n=t;for(;null!==n;)T(n=n.getParent())&&(t=n);return t}function u(e){return b(e)&&T(e.getFirstChild())}function c(e){return x().append(e)}function d(e,t){return b(e)&&(0===t.length||1===t.length&&e.is(t[0])&&0===e.getChildrenSize())}function h(e){let t=(0,i.vJq)();if(null!==t){let n=t.getNodes();if((0,i.I2P)(t)){let r=t.getStartEndPoints();null===r&&l(143);let[o]=r,s=o.getNode(),a=s.getParent();if((0,i.IqF)(s)){let e=s.getFirstChild();if(e)n=e.selectStart().getNodes();else{let e=(0,i.lJ7)();s.append(e),n=e.select().getNodes()}}else if(d(s,n)){let t=P(e);
1if((0,i.IqF)(a)){s.replace(t);let e=x();(0,i.ff4)(s)&&(e.setFormat(s.getFormatType()),e.setIndent(s.getIndent())),t.append(e)}else if(b(s)){let e=s.getParentOrThrow();f(t,e.getChildren()),e.replace(t)}return}}let r=new Set;for(let t=0;t<n.length;t++){let o=n[t];if((0,i.ff4)(o)&&o.isEmpty()&&!b(o)&&!r.has(o.getKey())){p(o,e);continue}let l=(0,i.jG6)(o)?o.getParent():b(o)&&o.isEmpty()?o:null;for(;null!=l;){let t=l.getKey();if(T(l)){if(!r.has(t)){let n=P(e);f(n,l.getChildren()),l.replace(n),r.add(t)}break}{let n=l.getParent();if((0,i.IqF)(n)&&!r.has(t)){r.add(t),p(l,e);break}l=n}}}}}function f(e,t){e.splice(e.getChildrenSize(),0,t)}function p(e,t){let n;if(T(e))return e;let r=e.getPreviousSibling(),i=e.getNextSibling(),o=x();if(f(o,e.getChildren()),T(r)&&t===r.getListType())r.append(o),T(i)&&t===i.getListType()&&(f(r,i.getChildren()),i.remove()),n=r;else if(T(i)&&t===i.getListType())i.getFirstChildOrThrow().insertBefore(o),n=i;else{let r=P(t);r.append(o),e.replace(r),n=r}return o.setFormat(e.getFormatType()),o.setIndent(e.getIndent()),e.remove(),n}function g(e,t){let n=e.getLastChild(),r=t.getFirstChild();n&&r&&u(n)&&u(r)&&(g(n.getFirstChild(),r.getFirstChild()),r.remove());let i=t.getChildren();i.length>0&&e.append(...i),t.remove()}function m(e){let t="check"!==e.getListType(),n=e.getStart();for(let r of e.getChildren())b(r)&&(r.getValue()!==n&&r.setValue(n),t&&null!=r.getLatest().__checked&&r.setChecked(void 0),T(r.getFirstChild())||n++)}function O(...e){let t=[];for(let n of e)if(n&&"string"==typeof n)for(let[e]of n.matchAll(/\S+/g))t.push(e);return t}class y extends i.fGB{$config(){return this.config("listitem",{$transform:e=>{if(null==e.__checked)return;let t=e.getParent();T(t)&&"check"!==t.getListType()&&null!=e.getChecked()&&e.setChecked(void 0)},extends:i.fGB,importDOM:(0,i.kBm)({li:()=>({conversion:v,priority:0})})})}constructor(e=1,t,n){super(n),this.__value=void 0===e?1:e,this.__checked=t}afterCloneFrom(e){super.afterCloneFrom(e),this.__value=e.__value,this.__checked=e.__checked}createDOM(e){let t=document.createElement("li");return this.updateListItemDOM(null,t,e),t}updateListItemDOM(e,t,n){let i=this.getParent();T(i)&&"check"===i.getListType()&&(T(this.getFirstChild())?(t.removeAttribute("role"),t.removeAttribute("tabIndex"),t.removeAttribute("aria-checked")):(t.setAttribute("role","checkbox"),t.setAttribute("tabIndex","-1"),e&&this.__checked===e.__checked||t.setAttribute("aria-checked",this.getChecked()?"true":"false"))),t.value=this.__value,function(e,t,n){let i,o=[],l=[],s=t.list,a=s?s.listitem:void 0;if(s&&s.nested&&(i=s.nested.listitem),void 0!==a&&o.push(...O(a)),s){let e=n.getParent(),t=T(e)&&"check"===e.getListType(),r=n.getChecked();t&&!r||l.push(s.listitemUnchecked),t&&r||l.push(s.listitemChecked),t&&o.push(r?s.listitemChecked:s.listitemUnchecked)}if(void 0!==i){let e=O(i);n.getChildren().some(e=>T(e))?o.push(...e):l.push(...e)}l.length>0&&(0,r.HE)(e,...l),o.length>0&&(0,r.ZB)(e,...o)}(t,n.theme,this);let l=e?e.__style:"",s=this.__style;l!==s&&(""===s?t.removeAttribute("style"):t.style.cssText=s),function(e,t,n){let r=(0,o.Wh)(t.__textStyle);for(let t in r)e.style.setProperty(`--listitem-marker-${t}`,r[t]);if(n)for(let t in(0,o.Wh)(n.__textStyle))t in r||e.style.removeProperty(`--listitem-marker-${t}`)}(t,this,e)}updateDOM(e,t,n){return this.updateListItemDOM(e,t,n),!1}updateFromJSON(e){return super.updateFromJSON(e).setValue(e.value).setChecked(e.checked)}exportDOM(e){let t=this.createDOM(e._config),n=this.getFormatType();n&&(t.style.textAlign=n);let r=this.getDirection();return r&&(t.dir=r),{element:t}}exportJSON(){return{...super.exportJSON(),checked:this.getChecked(),value:this.getValue()}}append(...e){for(let t=0;t<e.length;t++){let n=e[t];if((0,i.ff4)(n)&&this.canMergeWith(n)){let e=n.getChildren();this.append(...e),n.remove()}else super.append(n)}return this}replace(e,t){if(b(e))return super.replace(e);this.setIndent(0);let n=this.getParentOrThrow();if(!T(n))return e;if(n.__first===this.getKey())n.insertBefore(e);else if(n.__last===this.getKey())n.insertAfter(e);else{let t=P(n.getListType()),r=this.getNextSibling();for(;r;){let e=r;r=r.getNextSibling(),t.append(e)}n.insertAfter(e),e.insertAfter(t)}
1return t&&((0,i.ff4)(e)||l(139),this.getChildren().forEach(t=>{e.append(t)})),this.remove(),0===n.getChildrenSize()&&n.remove(),e}insertAfter(e,t=!0){let n=this.getParentOrThrow();if(T(n)||l(39),b(e))return super.insertAfter(e,t);let r=this.getNextSiblings();if(n.insertAfter(e,t),0!==r.length){let i=P(n.getListType());r.forEach(e=>i.append(e)),e.insertAfter(i,t)}return e}remove(e){let t=this.getPreviousSibling(),n=this.getNextSibling();super.remove(e),t&&n&&u(t)&&u(n)&&(g(t.getFirstChild(),n.getFirstChild()),n.remove())}insertNewAfter(e,t=!0){let n=x().updateFromJSON(this.exportJSON()).setChecked(!this.getChecked()&&void 0);return this.insertAfter(n,t),n}collapseAtStart(e){let t=(0,i.lJ7)();this.getChildren().forEach(e=>t.append(e));let n=this.getParentOrThrow(),r=n.getParentOrThrow(),o=b(r);if(1===n.getChildrenSize())if(o)n.remove(),r.select();else{n.insertBefore(t),n.remove();let r=e.anchor,i=e.focus,o=t.getKey();"element"===r.type&&r.getNode().is(this)&&r.set(o,r.offset,"element"),"element"===i.type&&i.getNode().is(this)&&i.set(o,i.offset,"element")}else n.insertBefore(t),this.remove();return!0}getValue(){return this.getLatest().__value}setValue(e){let t=this.getWritable();return t.__value=e,t}getChecked(){let e,t=this.getLatest(),n=this.getParent();return T(n)&&(e=n.getListType()),"check"===e?!!t.__checked:void 0}setChecked(e){let t=this.getWritable();return t.__checked=e,t}toggleChecked(){let e=this.getWritable();return e.setChecked(!e.__checked)}getIndent(){let e=this.getParent();if(null===e||!this.isAttached())return this.getLatest().__indent;let t=e.getParentOrThrow(),n=0;for(;b(t);)t=t.getParentOrThrow().getParentOrThrow(),n++;return n}setIndent(e){"number"!=typeof e&&l(117),(e=Math.floor(e))>=0||l(199);let t=this.getIndent();for(;t!==e;)t<e?(function(e){let t=new Set;if(u(e)||t.has(e.getKey()))return;let n=e.getParent(),r=e.getNextSibling(),i=e.getPreviousSibling();if(u(r)&&u(i)){let n=i.getFirstChild();if(T(n)){n.append(e);let i=r.getFirstChild();T(i)&&(f(n,i.getChildren()),r.remove(),t.add(r.getKey()))}}else if(u(r)){let t=r.getFirstChild();if(T(t)){let n=t.getFirstChild();null!==n&&n.insertBefore(e)}}else if(u(i)){let t=i.getFirstChild();T(t)&&t.append(e)}else if(T(n)){let t=x().setTextFormat(e.getTextFormat()).setTextStyle(e.getTextStyle()),o=P(n.getListType()).setTextFormat(n.getTextFormat()).setTextStyle(n.getTextStyle());t.append(o),o.append(e),i?i.insertAfter(t):r?r.insertBefore(t):n.append(t)}}(this),t++):(function(e){if(u(e))return;let t=e.getParent(),n=t?t.getParent():void 0;if(T(n?n.getParent():void 0)&&b(n)&&T(t)){let r=t?t.getFirstChild():void 0,i=t?t.getLastChild():void 0;if(e.is(r))n.insertBefore(e),t.isEmpty()&&n.remove();else if(e.is(i))n.insertAfter(e),t.isEmpty()&&n.remove();else{let r=t.getListType(),i=x(),o=P(r);
1i.append(o),e.getPreviousSiblings().forEach(e=>o.append(e));let l=x(),s=P(r);l.append(s),f(s,e.getNextSiblings()),n.insertBefore(i),n.insertAfter(l),n.replace(e)}}}(this),t--);return this}canInsertAfter(e){return b(e)}canReplaceWith(e){return b(e)}canMergeWith(e){return b(e)||(0,i.bSg)(e)}extractWithChild(e,t){if(!(0,i.I2P)(t))return!1;let n=t.anchor.getNode(),r=t.focus.getNode();return this.isParentOf(n)&&this.isParentOf(r)&&this.getTextContent().length===t.getTextContent().length}isParentRequired(){return!0}createParentElementNode(){return P("bullet")}canMergeWhenEmpty(){return!0}}function v(e){if(e.classList.contains("task-list-item")){for(let n of e.children)if("INPUT"===n.tagName){var t;return"checkbox"!==(t=n).getAttribute("type")?{node:null}:{node:x(t.hasAttribute("checked"))}}}let n=e.getAttribute("aria-checked");return{node:x("true"===n||"false"!==n&&void 0)}}function x(e){return(0,i.pTq)(new y(void 0,e))}function b(e){return e instanceof y}class w extends i.fGB{$config(){return this.config("list",{$transform:e=>{!function(e){let t=e.getNextSibling();T(t)&&e.getListType()===t.getListType()&&g(e,t)}(e),m(e)},extends:i.fGB,importDOM:(0,i.kBm)({ol:()=>({conversion:_,priority:0}),ul:()=>({conversion:_,priority:0})})})}constructor(e="number",t=1,n){super(n);let r=C[e]||e;this.__listType=r,this.__tag="number"===r?"ol":"ul",this.__start=t}afterCloneFrom(e){super.afterCloneFrom(e),this.__listType=e.__listType,this.__tag=e.__tag,this.__start=e.__start}getTag(){return this.getLatest().__tag}setListType(e){let t=this.getWritable();return t.__listType=e,t.__tag="number"===e?"ol":"ul",t}getListType(){return this.getLatest().__listType}getStart(){return this.getLatest().__start}setStart(e){let t=this.getWritable();return t.__start=e,t}createDOM(e,t){let n=this.__tag,r=document.createElement(n);return 1!==this.__start&&r.setAttribute("start",String(this.__start)),r.__lexicalListType=this.__listType,k(r,e.theme,this),r}updateDOM(e,t,n){return e.__tag!==this.__tag||(k(t,n.theme,this),!1)}updateFromJSON(e){return super.updateFromJSON(e).setListType(e.listType).setStart(e.start)}exportDOM(e){let t=this.createDOM(e._config,e);return(0,i.sby)(t)&&(1!==this.__start&&t.setAttribute("start",String(this.__start)),"check"===this.__listType&&t.setAttribute("__lexicalListType","check")),{element:t}}exportJSON(){return{...super.exportJSON(),listType:this.getListType(),start:this.getStart(),tag:this.getTag()}}canBeEmpty(){return!1}canIndent(){return!1}splice(e,t,n){let r=n;for(let e=0;e<n.length;e++){let t=n[e];b(t)||(r===n&&(r=[...n]),r[e]=x().append(!(0,i.ff4)(t)||T(t)||t.isInline()?t:(0,i.sTu)(t.getTextContent())))}return super.splice(e,t,r)}extractWithChild(e){return b(e)}}function k(e,t,n){let i=[],o=[],l=t.list;if(void 0!==l){let e,t=l[`${n.__tag}Depth`]||[],r=s(n)-1,a=r%t.length,u=t[a],c=l[n.__tag],d=l.nested,h=l.checklist;if(void 0!==d&&d.list&&(e=d.list),void 0!==c&&i.push(c),void 0!==h&&"check"===n.__listType&&i.push(h),void 0!==u){i.push(...O(u));for(let e=0;e<t.length;e++)e!==a&&o.push(n.__tag+e)}if(void 0!==e){let t=O(e);r>1?i.push(...t):o.push(...t)}}o.length>0&&(0,r.HE)(e,...o),i.length>0&&(0,r.ZB)(e,...i)}function S(e){let t=[];for(let n=0;n<e.length;n++){let r=e[n];if(b(r)){t.push(r);let e=r.getChildren();e.length>1&&e.forEach(e=>{T(e)&&t.push(c(e))})}else t.push(c(r))}return t}function _(e){let t=e.nodeName.toLowerCase(),n=null;return"ol"===t?n=P("number",e.start):"ul"===t&&(n=!function(e){if("check"===e.getAttribute("__lexicallisttype")||e.classList.contains("contains-task-list"))return!0;for(let t of e.childNodes)if((0,i.sby)(t)&&t.hasAttribute("aria-checked"))return!0;return!1}(e)?P("bullet"):P("check")),{after:S,node:n}}let C={ol:"number",ul:"bullet"};function P(e="number",t=1){return(0,i.pTq)(new w(e,t))}function T(e){return e instanceof w}let Q=(0,i.guI)("INSERT_CHECK_LIST_COMMAND");function $(e){return(0,r.Sd)(e.registerCommand(Q,()=>(h("check"),!0),i.AcJ),e.registerCommand(i.bbF,t=>L(t,e,!1),i.AcJ),e.registerCommand(i.UDz,t=>L(t,e,!0),i.AcJ),e.registerCommand(i.Q$N,()=>{if(null!=N()){let t=e.getRootElement();return null!=t&&t.focus(),!0}return!1},i.AcJ),e.registerCommand(i.Huu,t=>{let n=N();return!(null==n||!e.isEditable())&&(e.update(()=>{let e=(0,i.xL4)(n);b(e)&&(t.preventDefault(),e.toggleChecked())}),!0)},i.AcJ),e.registerCommand(i.AX0,t=>e.getEditorState().read(()=>{let n=(0,i.vJq)();if((0,i.I2P)(n)&&n.isCollapsed()){let{anchor:o}=n,l="element"===o.type;if(l||0===o.offset){let n=o.getNode(),s=(0,r.Bt)(n,e=>(0,i.ff4)(e)&&!e.isInline());if(b(s)){let r=s.getParent();if(T(r)&&"check"===r.getListType()&&(l||s.getFirstDescendant()===n)){let n=e.getElementByKey(s.__key);if(null!=n&&document.activeElement!==n)return n.focus(),t.preventDefault(),!0}}}}return!1}),i.AcJ),e.registerRootListener((e,t)=>
1{null!==e&&(e.addEventListener("click",E),e.addEventListener("pointerdown",R)),null!==t&&(t.removeEventListener("click",E),t.removeEventListener("pointerdown",R))}))}function A(e,t){let n=e.target;if(!(0,i.sby)(n))return;let o=n.firstChild;if((0,i.sby)(o)&&("UL"===o.tagName||"OL"===o.tagName))return;let l=n.parentNode;if(!l||"check"!==l.__lexicalListType)return;let s=n.getBoundingClientRect(),a=(0,r.OV)(n),u=e.clientX/a,c=parseFloat((window.getComputedStyle?window.getComputedStyle(n,"::before"):{width:"0px"}).width),d=32*("touch"===e.pointerType);("rtl"===n.dir?u<s.right+d&&u>s.right-c-d:u>s.left-d&&u<s.left+c+d)&&t()}function E(e){A(e,()=>{if((0,i.sby)(e.target)){let t=e.target,n=(0,i.scG)(t);null!=n&&n.isEditable()&&n.update(()=>{let e=(0,i.xL4)(t);b(e)&&(t.focus(),e.toggleChecked())})}})}function R(e){A(e,()=>{e.preventDefault()})}function N(){let e=document.activeElement;return(0,i.sby)(e)&&"LI"===e.tagName&&null!=e.parentNode&&"check"===e.parentNode.__lexicalListType?e:null}function L(e,t,n){let r=N();return null!=r&&t.update(()=>{let o=(0,i.xL4)(r);if(!b(o))return;let l=function(e,t){let n=t?e.getPreviousSibling():e.getNextSibling(),r=e;for(;null==n&&b(r);)null!=(r=r.getParentOrThrow().getParent())&&(n=t?r.getPreviousSibling():r.getNextSibling());for(;b(n);){let e=t?n.getLastChild():n.getFirstChild();if(!T(e))return n;n=t?e.getLastChild():e.getFirstChild()}return null}(o,n);if(null!=l){l.selectStart();let n=t.getElementByKey(l.__key);null!=n&&(e.preventDefault(),setTimeout(()=>{n.focus()},0))}}),!1}let M=(0,i.guI)("UPDATE_LIST_START_COMMAND"),Z=(0,i.guI)("INSERT_UNORDERED_LIST_COMMAND"),I=(0,i.guI)("INSERT_ORDERED_LIST_COMMAND"),j=(0,i.guI)("REMOVE_LIST_COMMAND");function X(e){return(0,r.Sd)(e.registerCommand(I,()=>(h("number"),!0),i.AcJ),e.registerCommand(M,e=>{let{listNodeKey:t,newStart:n}=e,r=(0,i.nsf)(t);return!!T(r)&&("number"===r.getListType()&&(r.setStart(n),m(r)),!0)},i.AcJ),e.registerCommand(Z,()=>(h("bullet"),!0),i.AcJ),e.registerCommand(j,()=>((function(){let e=(0,i.vJq)();if((0,i.I2P)(e)){let t=new Set,n=e.getNodes(),o=e.anchor.getNode();if(d(o,n))t.add(a(o));else for(let e=0;e<n.length;e++){let o=n[e];if((0,i.jG6)(o)){let e=(0,r.eu)(o,y);null!=e&&t.add(a(e))}}for(let n of t){let t=n;for(let r of function e(t){let n=[],r=t.getChildren().filter(b);for(let t=0;t<r.length;t++){let i=r[t],o=i.getFirstChild();T(o)?n=n.concat(e(o)):n.push(i)}return n}(n)){let n=(0,i.lJ7)().setTextStyle(e.style).setTextFormat(e.format);f(n,r.getChildren()),t.insertAfter(n),t=n,r.__key===e.anchor.key&&(0,i.wp6)(e.anchor,(0,i.lSZ)((0,i.uwZ)(n,"next"))),r.__key===e.focus.key&&(0,i.wp6)(e.focus,(0,i.lSZ)((0,i.uwZ)(n,"next"))),r.remove()}n.remove()}}})(),!0),i.AcJ),e.registerCommand(i.XKQ,()=>(function(){let e,t=(0,i.vJq)();if(!(0,i.I2P)(t)||!t.isCollapsed())return!1;let n=t.anchor.getNode();if(!b(n)||0!==n.getChildrenSize())return!1;let r=a(n),o=n.getParent();T(o)||l(40);let s=o.getParent();if((0,i.IqF)(s))e=(0,i.lJ7)(),r.insertAfter(e);else{if(!b(s))return!1;e=x(),s.insertAfter(e)}e.setTextStyle(t.style).setTextFormat(t.format).select();let u=n.getNextSiblings();if(u.length>0){let t=P(o.getListType());if(b(e)){let n=x();n.append(t),e.insertAfter(n)}else e.insertAfter(t);t.append(...u)}return function(e){let t=e;for(;null==t.getNextSibling()&&null==t.getPreviousSibling();){let e=t.getParent();if(null==e||!b(e)&&!T(e))break;t=e}t.remove()}(n),!0})(),i.AcJ),e.registerNodeTransform(y,e=>{let t=e.getFirstChild();if(t){if((0,i.kFe)(t)){let n=t.getStyle(),r=t.getFormat();e.getTextStyle()!==n&&e.setTextStyle(n),e.getTextFormat()!==r&&e.setTextFormat(r)}}else{let t=(0,i.vJq)();(0,i.I2P)(t)&&(t.style!==e.getTextStyle()||t.format!==e.getTextFormat())&&t.isCollapsed()&&e.is(t.anchor.getNode())&&e.setTextStyle(t.style).setTextFormat(t.format)}}),e.registerNodeTransform(i.Ey8,e=>{let t=e.getParent();if(b(t)&&e.is(t.getFirstChild())){let n=e.getStyle(),r=e.getFormat();n===t.getTextStyle()&&r===t.getTextFormat()||t.setTextStyle(n).setTextFormat(r)}}))}function D(e){let t=e=>{let t=e.getParent();if(T(e.getFirstChild())||!T(t))return;let n=(0,r.Bt)(e,e=>b(e)&&T(e.getParent())&&b(e.getPreviousSibling()));if(null===n&&e.getIndent()>0)e.setIndent(0);else if(b(n)){let r=n.getPreviousSibling();if(b(r)){let n=(function(e){let t=e,n=t.getFirstChild();for(;T(n);){let e=n.getLastChild();if(!b(e))break;n=(t=e).getFirstChild()}return t})(r).getParent();if(T(n)){let r=s(n);r+1<s(t)&&e.setIndent(r)}}}};return e.registerNodeTransform(w,e=>{let n=[e];for(;n.length>0;){let e=n.shift();if(T(e)){for(let r of e.getChildren())if(b(r)){t(r);let e=r.getFirstChild();T(e)&&n.push(e)}}}})}},62031:(e,t,n)=>{"use strict";n.d(t,{Kq:()=>z,UC:()=>q,ZL:()=>Y,bL:()=>B,i3:()=>U,l9:()=>W});var r=n(6325),i=n(73479),o=n(5966),l=n(25992),s=n(68511),a=n(11423),u=n(18059),c=n(9529),d=n(86431),h=n(11997),f=n(38716),p=n(26339),g=n(40674),m=n(64177),[O,y]=(0,l.A)("Tooltip",[u.Bk]),v=(0,u.Bk)(),x="TooltipProvider",b="tooltip.open",[w,k]=O(x),S=e=>{let{__scopeTooltip:t,delayDuration:n=700,skipDelayDuration:i=300,disableHoverableContent:o=!1,children:l}=e,s=r.useRef(!0),a=r.useRef(!1),u=r.useRef(0);return r.useEffect(()=>{let e=u.current;return()=>window.clearTimeout(e)},[]),(0,m.jsx)(w,{scope:t,isOpenDelayedRef:s,delayDuration:n,onOpen:r.useCallback(()=>{window.clearTimeout(u.current),s.current=!1},[]),onClose:r.useCallback(()=>{window.clearTimeout(u.current),u.current=window.setTimeout(()=>s.current=!0,i)},[i]),isPointerInTransitRef:a,onPointerInTransitChange:r.useCallback(e=>{a.current=e},[]),disableHoverableContent:o,children:l})};S.displayName=x;var _="Tooltip",[C,P]=O(_),T=e=>{let{__scopeTooltip:t,children:n,open:i,defaultOpen:o,onOpenChange:l,disableHoverableContent:s,delayDuration:c}=e,d=k(_,e.__scopeTooltip),h=v(t),[f,g]=r.useState(null),O=(0,a.B)(),y=r.useRef(0),x=null!=s?s:d.disableHoverableContent,w=null!=c?c:d.delayDuration,S=r.useRef(!1),[P,T]=(0,p.i)({prop:i,defaultProp:null!=o&&o,onChange:e=>{e?(d.onOpen(),document.dispatchEvent(new CustomEvent(b))):d.onClose(),null==l||l(e)},caller:_}),Q=r.useMemo(()=>P?S.current?"delayed-open":"instant-open":"closed",[P]),$=r.useCallback(()=>{window.clearTimeout(y.current),y.current=0,S.current=!1,T(!0)},[T]),A=r.useCallback(()=>{window.clearTimeout(y.current),y.current=0,T(!1)},[T]),E=r.useCallback(()=>{window.clearTimeout(y.current),y.current=window.setTimeout(()=>{S.current=!0,T(!0),y.current=0},w)},[w,T]);return r.useEffect(()=>()=>{y.current&&(window.clearTimeout(y.current),y.current=0)},[]),(0,m.jsx)(u.bL,{...h,children:(0,m.jsx)(C,{scope:t,contentId:O,open:P,stateAttribute:Q,trigger:f,onTriggerChange:g,onTriggerEnter:r.useCallback(()=>{d.isOpenDelayedRef.current?E():$()},[d.isOpenDelayedRef,E,$]),onTriggerLeave:r.useCallback(()=>{x?A():(window.clearTimeout(y.current),y.current=0)},[A,x]),onOpen:$,onClose:A,disableHoverableContent:x,children:n})})};T.displayName=_;var Q="TooltipTrigger",$=r.forwardRef((e,t)=>
1{let{__scopeTooltip:n,...l}=e,s=P(Q,n),a=k(Q,n),c=v(n),d=r.useRef(null),f=(0,o.s)(t,d,s.onTriggerChange),p=r.useRef(!1),g=r.useRef(!1),O=r.useCallback(()=>p.current=!1,[]);return r.useEffect(()=>()=>document.removeEventListener("pointerup",O),[O]),(0,m.jsx)(u.Mz,{asChild:!0,...c,children:(0,m.jsx)(h.sG.button,{"aria-describedby":s.open?s.contentId:void 0,"data-state":s.stateAttribute,...l,ref:f,onPointerMove:(0,i.mK)(e.onPointerMove,e=>{"touch"!==e.pointerType&&(g.current||a.isPointerInTransitRef.current||(s.onTriggerEnter(),g.current=!0))}),onPointerLeave:(0,i.mK)(e.onPointerLeave,()=>{s.onTriggerLeave(),g.current=!1}),onPointerDown:(0,i.mK)(e.onPointerDown,()=>{s.open&&s.onClose(),p.current=!0,document.addEventListener("pointerup",O,{once:!0})}),onFocus:(0,i.mK)(e.onFocus,()=>{p.current||s.onOpen()}),onBlur:(0,i.mK)(e.onBlur,s.onClose),onClick:(0,i.mK)(e.onClick,s.onClose)})})});$.displayName=Q;var A="TooltipPortal",[E,R]=O(A,{forceMount:void 0}),N=e=>{let{__scopeTooltip:t,forceMount:n,children:r,container:i}=e,o=P(A,t);return(0,m.jsx)(E,{scope:t,forceMount:n,children:(0,m.jsx)(d.C,{present:n||o.open,children:(0,m.jsx)(c.Z,{asChild:!0,container:i,children:r})})})};N.displayName=A;var L="TooltipContent",M=r.forwardRef((e,t)=>{let n=R(L,e.__scopeTooltip),{forceMount:r=n.forceMount,side:i="top",...o}=e,l=P(L,e.__scopeTooltip);return(0,m.jsx)(d.C,{present:r||l.open,children:l.disableHoverableContent?(0,m.jsx)(D,{side:i,...o,ref:t}):(0,m.jsx)(Z,{side:i,...o,ref:t})})}),Z=r.forwardRef((e,t)=>{let n=P(L,e.__scopeTooltip),i=k(L,e.__scopeTooltip),l=r.useRef(null),s=(0,o.s)(t,l),[a,u]=r.useState(null),{trigger:c,onClose:d}=n,h=l.current,{onPointerInTransitChange:f}=i,p=r.useCallback(()=>{u(null),f(!1)},[f]),g=r.useCallback((e,t)=>{let n=e.currentTarget,r={x:e.clientX,y:e.clientY},i=function(e,t){let n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),o=Math.abs(t.left-e.x);switch(Math.min(n,r,i,o)){case o:return"left";case i:return"right";case n:return"top";case r:return"bottom";default:throw Error("unreachable")}}(r,n.getBoundingClientRect());u(function(e){let t=e.slice();return t.sort((e,t)=>e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:1*!!(e.y>t.y)),function(e){if(e.length<=1)return e.slice();let t=[];for(let n=0;n<e.length;n++){let r=e[n];for(;t.length>=2;){let e=t[t.length-1],n=t[t.length-2];if((e.x-n.x)*(r.y-n.y)>=(e.y-n.y)*(r.x-n.x))t.pop();else break}t.push(r)}t.pop();let n=[];for(let t=e.length-1;t>=0;t--){let r=e[t];for(;n.length>=2;){let e=n[n.length-1],t=n[n.length-2];if((e.x-t.x)*(r.y-t.y)>=(e.y-t.y)*(r.x-t.x))n.pop();else break}n.push(r)}return(n.pop(),1===t.length&&1===n.length&&t[0].x===n[0].x&&t[0].y===n[0].y)?t:t.concat(n)}(t)}([...function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:5,r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n})}return r}(r,i),...function(e){let{top:t,right:n,bottom:r,left:i}=e;return[{x:i,y:t},{x:n,y:t},{x:n,y:r},{x:i,y:r}]}(t.getBoundingClientRect())])),f(!0)},[f]);return r.useEffect(()=>()=>p(),[p]),r.useEffect(()=>{if(c&&h){let e=e=>g(e,h),t=e=>g(e,c);return c.addEventListener("pointerleave",e),h.addEventListener("pointerleave",t),()=>{c.removeEventListener("pointerleave",e),h.removeEventListener("pointerleave",t)}}},[c,h,g,p]),r.useEffect(()=>{if(a){let e=e=>{let t=e.target,n={x:e.clientX,y:e.clientY},r=(null==c?void 0:c.contains(t))||(null==h?void 0:h.contains(t)),i=!function(e,t){let{x:n,y:r}=e,i=!1;for(let e=0,o=t.length-1;e<t.length;o=e++){let l=t[e],s=t[o],a=l.x,u=l.y,c=s.x,d=s.y;u>r!=d>r&&n<(c-a)*(r-u)/(d-u)+a&&(i=!i)}return i}(n,a);r?p():i&&(p(),d())};return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}},[c,h,a,d,p]),(0,m.jsx)(D,{...e,ref:s})}),[I,j]=O(_,{isInside:!1}),X=(0,f.Dc)("TooltipContent"),D=r.forwardRef((e,t)=>{let{__scopeTooltip:n,children:i,"aria-label":o,onEscapeKeyDown:l,onPointerDownOutside:a,...c}=e,d=P(L,n),h=v(n),{onClose:f}=d;return r.useEffect(()=>(document.addEventListener(b,f),()=>document.removeEventListener(b,f)),[f]),r.useEffect(()=>{if(d.trigger){let e=e=>{let t=e.target;(null==t?void 0:t.contains(d.trigger))&&f()};return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}},[d.trigger,f]),(0,m.jsx)(s.qW,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:l,onPointerDownOutside:a,onFocusOutside:e=>e.preventDefault(),onDismiss:f,children:(0,m.jsxs)(u.UC,{"data-state":d.stateAttribute,...h,...c,ref:t,style:{...c.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[(0,m.jsx)(X,{children:i}),(0,m.jsx)(I,{scope:n,isInside:!0,children:(0,m.jsx)(g.bL,{id:d.contentId,role:"tooltip",children:o||i})})]})})});M.displayName=L;var V="TooltipArrow",F=r.forwardRef((e,t)=>
1{let{__scopeTooltip:n,...r}=e,i=v(n);return j(V,n).isInside?null:(0,m.jsx)(u.i3,{...i,...r,ref:t})});F.displayName=V;var z=S,B=T,W=$,Y=N,q=M,U=F},62188:(e,t,n)=>{"use strict";n.d(t,{a:()=>a});var r=n(6325),i=n(98916),o=n(88732),l=n(44443),s=n(60665);let a=()=>{let e=(0,l.qM)(i.g),t=(0,l.X3)(s.yr),n=(0,s.Bd)();return r.createElement(o.gx,{title:n("toolbar.thematicBreak","Insert thematic break"),onClick:()=>{e()}},t("horizontal_rule"))}},62221:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>Z,BH:()=>S,EI:()=>$,GY:()=>eO,KB:()=>E,Lv:()=>ec,Oh:()=>R,Q0:()=>d,Q_:()=>e$,SG:()=>eQ,TM:()=>h,Tg:()=>eI,WD:()=>D,Xt:()=>T,Yy:()=>_,Zt:()=>ex,_Y:()=>j,_v:()=>A,b_:()=>F,bj:()=>p,cr:()=>eh,f7:()=>et,iB:()=>u,jU:()=>eR,mv:()=>g,mz:()=>X,nq:()=>y,p9:()=>c,t:()=>V,t$:()=>C,tp:()=>Q,y9:()=>em,yd:()=>z});var r,i=n(60611),o=n(11877),l=n(84306),s=n(87797),a=n(84905);let u=new i.uY;function c(e){return o.sj.define({combine:e?t=>t.concat(e):void 0})}let d=new i.uY;class h{constructor(e,t,n=[],r=""){this.data=e,this.name=r,o.$t.prototype.hasOwnProperty("tree")||Object.defineProperty(o.$t.prototype,"tree",{get(){return g(this)}}),this.parser=t,this.extension=[S.of(this),o.$t.languageData.of((e,t,n)=>{let r=f(e,t,n),i=r.type.prop(u);if(!i)return[];let o=e.facet(i),l=r.type.prop(d);if(l){let i=r.resolve(t-r.from,n);for(let t of l)if(t.test(i,e)){let n=e.facet(t.facet);return"replace"==t.type?n:n.concat(o)}}return o})].concat(n)}isActiveAt(e,t,n=-1){return f(e,t,n).type.prop(u)==this.data}findRegions(e){let t=e.facet(S);if((null==t?void 0:t.data)==this.data)return[{from:0,to:e.doc.length}];if(!t||!t.allowsNesting)return[];let n=[],r=(e,t)=>{if(e.prop(u)==this.data)return void n.push({from:t,to:t+e.length});let o=e.prop(i.uY.mounted);if(o){if(o.tree.prop(u)==this.data){if(o.overlay)for(let e of o.overlay)n.push({from:e.from+t,to:e.to+t});else n.push({from:t,to:t+e.length});return}else if(o.overlay){let e=n.length;if(r(o.tree,o.overlay[0].from+t),n.length>e)return}}for(let n=0;n<e.children.length;n++){let o=e.children[n];o instanceof i.PH&&r(o,e.positions[n]+t)}};return r(g(e),0),n}get allowsNesting(){return!0}}function f(e,t,n){let r=e.facet(S),o=g(e).topNode;if(!r||r.allowsNesting)for(let e=o;e;e=e.enter(t,n,i.Qj.ExcludeBuffers|i.Qj.EnterBracketed))e.type.isTop&&(o=e);return o}h.setState=o.Pe.define();class p extends h{constructor(e,t,n){super(e,t,[],n),this.parser=t}static define(e){let t=c(e.languageData);return new p(t,e.parser.configure({props:[u.add(e=>e.isTop?t:void 0)]}),e.name)}configure(e,t){return new p(this.data,this.parser.configure(e),t||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function g(e){let t=e.field(h.state,!1);return t?t.tree:i.PH.empty}class m{constructor(e){this.doc=e,this.cursorPos=0,this.string="",this.cursor=e.iter()}get length(){return this.doc.length}syncTo(e){return this.string=this.cursor.next(e-this.cursorPos).value,this.cursorPos=e+this.string.length,this.cursorPos-this.string.length}chunk(e){return this.syncTo(e),this.string}get lineChunks(){return!0}read(e,t){let n=this.cursorPos-this.string.length;return e<n||t>=this.cursorPos?this.doc.sliceString(e,t):this.string.slice(e-n,t-n)}}let O=null;class y{constructor(e,t,n=[],r,i,o,l,s){this.parser=e,this.state=t,this.fragments=n,this.tree=r,this.treeLen=i,this.viewport=o,this.skipped=l,this.scheduleOn=s,this.parse=null,this.tempSkipped=[]}static create(e,t,n){return new y(e,t,[],i.PH.empty,0,n,[],null)}startParse(){return this.parser.startParse(new m(this.state.doc),this.fragments)}work(e,t){return(null!=t&&t>=this.state.doc.length&&(t=void 0),this.tree!=i.PH.empty&&this.isDone(null!=t?t:this.state.doc.length))?(this.takeTree(),!0):this.withContext(()=>{var n;if("number"==typeof e){let t=Date.now()+e;e=()=>Date.now()>t}for(this.parse||(this.parse=this.startParse()),null!=t&&(null==this.parse.stoppedAt||this.parse.stoppedAt>t)&&t<this.state.doc.length&&this.parse.stopAt(t);;){let r=this.parse.advance();if(r){if(this.fragments=this.withoutTempSkipped(i.rr.addTree(r,this.fragments,null!=this.parse.stoppedAt)),this.treeLen=null!=(n=this.parse.stoppedAt)?n:this.state.doc.length,this.tree=r,this.parse=null,!(this.treeLen<(null!=t?t:this.state.doc.length)))return!0;this.parse=this.startParse()}if(e())return!1}})}takeTree(){let e,t;this.parse&&(e=this.parse.parsedPos)>=this.treeLen&&((null==this.parse.stoppedAt||this.parse.stoppedAt>e)&&this.parse.stopAt(e),this.withContext(()=>{for(;!(t=this.parse.advance()););}),this.treeLen=e,this.tree=t,this.fragments=this.withoutTempSkipped(i.rr.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let t=O;O=this;try{return e()}finally{O=t}}withoutTempSkipped(e){for(let t;t=this.tempSkipped.pop();)e=v(e,t.from,t.to);return e}changes(e,t){let{fragments:n,tree:r,treeLen:o,viewport:l,skipped:s}=this;if(this.takeTree(),!e.empty){let t=[];if(e.iterChangedRanges((e,n,r,i)=>t.push({fromA:e,toA:n,fromB:r,toB:i})),n=i.rr.applyChanges(n,t),r=i.PH.empty,o=0,l={from:e.mapPos(l.from,-1),to:e.mapPos(l.to,1)},this.skipped.length)for(let t of(s=[],this.skipped)){let n=e.mapPos(t.from,1),r=e.mapPos(t.to,-1);n<r&&s.push({from:n,to:r})}}return new y(this.parser,t,n,r,o,l,s,this.scheduleOn)}updateViewport(e){if(this.viewport.from==e.from&&this.viewport.to==e.to)return!1;this.viewport=e;let t=this.skipped.length;for(let t=0;t<this.skipped.length;t++){let{from:n,to:r}=this.skipped[t];n<e.to&&r>e.from&&(this.fragments=v(this.fragments,n,r),this.skipped.splice(t--,1))}return!(this.skipped.length>=t)&&(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(e,t){this.skipped.push({from:e,to:t})}static getSkippingParser(e){return new class extends i.iX{createParse(t,n,r){let o=r[0].from,l=r[r.length-1].to;return{parsedPos:o,advance(){let t=O;if(t){for(let e of r)t.tempSkipped.push(e);e&&(t.scheduleOn=t.scheduleOn?Promise.all([t.scheduleOn,e]):e)}return this.parsedPos=l,new i.PH(i.Z6.none,[],[],l-o)},stoppedAt:null,stopAt(){}}}}}isDone(e){e=Math.min(e,this.state.doc.length);let t=this.fragments;return this.treeLen>=e&&t.length&&0==t[0].from&&t[0].to>=e}static get(){return O}}function v(e,t,n){return i.rr.applyChanges(e,[{fromA:t,toA:n,fromB:t,toB:n}])}class x{constructor(e){this.context=e,this.tree=e.tree}apply(e){if(!e.docChanged&&this.tree==this.context.tree)return this;let t=this.context.changes(e.changes,e.state),n=this.context.treeLen==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.treeLen),t.viewport.to);return t.work(20,n)||t.takeTree(),new x(t)}static init(e){let t=Math.min(3e3,e.doc.length),n=y.create(e.facet(S).parser,e,{from:0,to:t});return n.work(20,t)||n.takeTree(),new x(n)}}h.state=o.sU.define({create:x.init,update(e,t){for(let e of t.effects)if(e.is(h.setState))return e.value;return t.startState.facet(S)!=t.state.facet(S)?x.init(t.state):e.apply(t)}});let b=e=>{let t=setTimeout(()=>e(),500);return()=>clearTimeout(t)};"undefined"!=typeof requestIdleCallback&&(b=e=>{let t=-1,n=setTimeout(()=>{t=requestIdleCallback(e,{timeout:400})},100);return()=>t<0?clearTimeout(n):cancelIdleCallback(t)});let w="undefined"!=typeof navigator&&(null==(r=navigator.scheduling)?void 0:r.isInputPending)?()=>navigator.scheduling.isInputPending():null,k=l.Z9.fromClass(class{constructor(e){this.view=e,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(e){let t=this.view.state.field(h.state).context;(t.updateViewport(e.view.viewport)||this.view.viewport.to>t.treeLen)&&this.scheduleWork(),(e.docChanged||e.selectionSet)&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(t)}scheduleWork(){if(this.working)return;let{state:e}=this.view,t=e.field(h.state);
1t.tree==t.context.tree&&t.context.isDone(e.doc.length)||(this.working=b(this.work))}work(e){this.working=null;let t=Date.now();if(this.chunkEnd<t&&(this.chunkEnd<0||this.view.hasFocus)&&(this.chunkEnd=t+3e4,this.chunkBudget=3e3),this.chunkBudget<=0)return;let{state:n,viewport:{to:r}}=this.view,i=n.field(h.state);if(i.tree==i.context.tree&&i.context.isDone(r+1e5))return;let o=Date.now()+Math.min(this.chunkBudget,100,e&&!w?Math.max(25,e.timeRemaining()-5):1e9),l=i.context.treeLen<r&&n.doc.length>r+1e3,s=i.context.work(()=>w&&w()||Date.now()>o,r+1e5*!l);this.chunkBudget-=Date.now()-t,(s||this.chunkBudget<=0)&&(i.context.takeTree(),this.view.dispatch({effects:h.setState.of(new x(i.context))})),this.chunkBudget>0&&!(s&&!l)&&this.scheduleWork(),this.checkAsyncSchedule(i.context)}checkAsyncSchedule(e){e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(e=>(0,l.c_)(this.view.state,e)).then(()=>this.workScheduled--),e.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),S=o.sj.define({combine:e=>e.length?e[0]:null,enables:e=>[h.state,k,l.Lz.contentAttributes.compute([e],t=>{let n=t.facet(e);return n&&n.name?{"data-language":n.name}:{}})]});class _{constructor(e,t=[]){this.language=e,this.support=t,this.extension=[e,t]}}class C{constructor(e,t,n,r,i,o){this.name=e,this.alias=t,this.extensions=n,this.filename=r,this.loadFunc=i,this.support=o,this.loading=null}load(){return this.loading||(this.loading=this.loadFunc().then(e=>this.support=e,e=>{throw this.loading=null,e}))}static of(e){let{load:t,support:n}=e;if(!t){if(!n)throw RangeError("Must pass either 'load' or 'support' to LanguageDescription.of");t=()=>Promise.resolve(n)}return new C(e.name,(e.alias||[]).concat(e.name).map(e=>e.toLowerCase()),e.extensions||[],e.filename,t,n)}static matchFilename(e,t){for(let n of e)if(n.filename&&n.filename.test(t))return n;let n=/\.([^.]+)$/.exec(t);if(n){for(let t of e)if(t.extensions.indexOf(n[1])>-1)return t}return null}static matchLanguageName(e,t,n=!0){for(let n of(t=t.toLowerCase(),e))if(n.alias.some(e=>e==t))return n;if(n)for(let n of e)for(let e of n.alias){let r=t.indexOf(e);if(r>-1&&(e.length>2||!/\w/.test(t[r-1])&&!/\w/.test(t[r+e.length])))return n}return null}}let P=o.sj.define(),T=o.sj.define({combine:e=>{if(!e.length)return"  ";let t=e[0];if(!t||/\S/.test(t)||Array.from(t).some(e=>e!=t[0]))throw Error("Invalid indent unit: "+JSON.stringify(e[0]));return t}});function Q(e){let t=e.facet(T);return 9==t.charCodeAt(0)?e.tabSize*t.length:t.length}function $(e,t){let n="",r=e.tabSize,i=e.facet(T)[0];if("	"==i){for(;t>=r;)n+="	",t-=r;i=" "}for(let e=0;e<t;e++)n+=i;return n}function A(e,t){for(let n of(e instanceof o.$t&&(e=new E(e)),e.state.facet(P))){let r=n(e,t);if(void 0!==r)return r}let n=g(e.state);return n.length>=t?function(e,t,n){let r=t.resolveStack(n),i=t.resolveInner(n,-1).resolve(n,0).enterUnfinishedNodesBefore(n);if(i!=r.node){let e=[];for(let t=i;t&&!(t.from<r.node.from||t.to>r.node.to||t.from==r.node.from&&t.type==r.node.type);t=t.parent)e.push(t);for(let t=e.length-1;t>=0;t--)r={node:e[t],next:r}}return N(r,e,n)}(e,n,t):null}class E{constructor(e,t={}){this.state=e,this.options=t,this.unit=Q(e)}lineAt(e,t=1){let n=this.state.doc.lineAt(e),{simulateBreak:r,simulateDoubleBreak:i}=this.options;if(null!=r&&r>=n.from&&r<=n.to)if(i&&r==e)return{text:"",from:e};else if(t<0?r<e:r<=e)return{text:n.text.slice(r-n.from),from:r};else return{text:n.text.slice(0,r-n.from),from:n.from};return n}textAfterPos(e,t=1){if(this.options.simulateDoubleBreak&&e==this.options.simulateBreak)return"";let{text:n,from:r}=this.lineAt(e,t);return n.slice(e-r,Math.min(n.length,e+100-r))}column(e,t=1){let{text:n,from:r}=this.lineAt(e,t),i=this.countColumn(n,e-r),o=this.options.overrideIndentation?this.options.overrideIndentation(r):-1;return o>-1&&(i+=o-this.countColumn(n,n.search(/\S|$/))),i}countColumn(e,t=e.length){return(0,o.y$)(e,this.state.tabSize,t)}lineIndent(e,t=1){let{text:n,from:r}=this.lineAt(e,t),i=this.options.overrideIndentation;if(i){let e=i(r);if(e>-1)return e}return this.countColumn(n,n.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}let R=new i.uY;function N(e,t,n){for(let r=e;r;r=r.next){let e=function(e){let t=e.type.prop(R);if(t)return t;let n=e.firstChild,r;if(n&&(r=n.type.prop(i.uY.closedBy))){let t=e.lastChild,n=t&&r.indexOf(t.name)>-1;return e=>I(e,!0,1,void 0,n&&!(e.pos==e.options.simulateBreak&&e.options.simulateDoubleBreak)?t.from:void 0)}return null==e.parent?L:null}
1(r.node);if(e)return e(M.create(t,n,r))}return 0}function L(){return 0}class M extends E{constructor(e,t,n){super(e.state,e.options),this.base=e,this.pos=t,this.context=n}get node(){return this.context.node}static create(e,t,n){return new M(e,t,n)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){return this.baseIndentFor(this.node)}baseIndentFor(e){let t=this.state.doc.lineAt(e.from);for(;;){let n=e.resolve(t.from);for(;n.parent&&n.parent.from==n.from;)n=n.parent;if(function(e,t){for(let n=t;n;n=n.parent)if(e==n)return!0;return!1}(n,e))break;t=this.state.doc.lineAt(n.from)}return this.lineIndent(t.from)}continue(){return N(this.context.next,this.base,this.pos)}}function Z({closing:e,align:t=!0,units:n=1}){return r=>I(r,t,n,e)}function I(e,t,n,r,i){let o=e.textAfter,l=o.match(/^\s*/)[0].length,s=r&&o.slice(l,l+r.length)==r||i==e.pos+l,a=t?function(e){let t=e.node,n=t.childAfter(t.from),r=t.lastChild;if(!n)return null;let i=e.options.simulateBreak,o=e.state.doc.lineAt(n.from),l=null==i||i<=o.from?o.to:Math.min(o.to,i);for(let e=n.to;;){let i=t.childAfter(e);if(!i||i==r)return null;if(!i.type.isSkipped){if(i.from>=l)return null;let e=/^ */.exec(o.text.slice(n.to-o.from))[0].length;return{from:n.from,to:n.to+e}}e=i.to}}(e):null;return a?s?e.column(a.from):e.column(a.to):e.baseIndent+(s?0:e.unit*n)}let j=e=>e.baseIndent;function X({except:e,units:t=1}={}){return n=>{let r=e&&e.test(n.textAfter);return n.baseIndent+(r?0:t*n.unit)}}function D(){return o.$t.transactionFilter.of(e=>{if(!e.docChanged||!e.isUserEvent("input.type")&&!e.isUserEvent("input.complete"))return e;let t=e.startState.languageDataAt("indentOnInput",e.startState.selection.main.head);if(!t.length)return e;let n=e.newDoc,{head:r}=e.newSelection.main,i=n.lineAt(r);if(r>i.from+200)return e;let o=n.sliceString(i.from,r);if(!t.some(e=>e.test(o)))return e;let{state:l}=e,s=-1,a=[];for(let{head:e}of l.selection.ranges){let t=l.doc.lineAt(e);if(t.from==s)continue;s=t.from;let n=A(l,t.from);if(null==n)continue;let r=/^\s*/.exec(t.text)[0],i=$(l,n);r!=i&&a.push({from:t.from,to:t.from+r.length,insert:i})}return a.length?[e,{changes:a,sequential:!0}]:e})}let V=o.sj.define(),F=new i.uY;function z(e){let t=e.firstChild,n=e.lastChild;return t&&t.to<n.from?{from:t.to,to:n.type.isError?e.to:n.from}:null}function B(e,t,n){for(let r of e.facet(V)){let i=r(e,t,n);if(i)return i}return function(e,t,n){let r=g(e);if(r.length<n)return null;let i=r.resolveStack(n,1),o=null;for(let l=i;l;l=l.next){let i=l.node;if(i.to<=n||i.from>n)continue;if(o&&i.from<t)break;let s=i.type.prop(F);if(s&&(i.to<r.length-50||r.length==e.doc.length||!function(e){let t=e.lastChild;return t&&t.to==e.to&&t.type.isError}(i))){let r=s(i,e);r&&r.from<=n&&r.from>=t&&r.to>n&&(o=r)}}return o}(e,t,n)}function W(e,t){let n=t.mapPos(e.from,1),r=t.mapPos(e.to,-1);return n>=r?void 0:{from:n,to:r}}let Y=o.Pe.define({map:W}),q=o.Pe.define({map:W});function U(e){let t=[];for(let{head:n}of e.state.selection.ranges)t.some(e=>e.from<=n&&e.to>=n)||t.push(e.lineBlockAt(n));return t}let G=o.sU.define({create:()=>l.NZ.none,update(e,t){for(let n of(t.isUserEvent("delete")&&t.changes.iterChangedRanges((t,n)=>e=H(e,t,n)),e=e.map(t.changes),t.effects))if(n.is(Y)&&!function(e,t,n){let r=!1;return e.between(t,t,(e,i)=>{e==t&&i==n&&(r=!0)}),r}(e,n.value.from,n.value.to)){let{preparePlaceholder:r}=t.state.facet(er),i=r?l.NZ.replace({widget:new es(r(t.state,n.value))}):el;e=e.update({add:[i.range(n.value.from,n.value.to)]})}else n.is(q)&&(e=e.update({filter:(e,t)=>n.value.from!=e||n.value.to!=t,filterFrom:n.value.from,filterTo:n.value.to}));return t.selection&&(e=H(e,t.selection.main.head)),e},provide:e=>l.Lz.decorations.from(e),toJSON(e,t){let n=[];return e.between(0,t.doc.length,(e,t)=>{n.push(e,t)}),n},fromJSON(e){if(!Array.isArray(e)||e.length%2)throw RangeError("Invalid JSON for fold state");let t=[];for(let n=0;n<e.length;){let r=e[n++],i=e[n++];if("number"!=typeof r||"number"!=typeof i)throw RangeError("Invalid JSON for fold state");t.push(el.range(r,i))}return l.NZ.set(t,!0)}});function H(e,t,n=t){let r=!1;return e.between(t,n,(e,i)=>{e<n&&i>t&&(r=!0)}),r?e.update({filterFrom:t,filterTo:n,filter:(e,r)=>e>=n||r<=t}):e}function J(e,t,n){var r;let i=null;return null==(r=e.field(G,!1))||r.between(t,n,(e,t)=>{(!i||i.from>e)&&(i={from:e,to:t})}),i}function K(e,t){return e.field(G,!1)?t:t.concat(o.Pe.appendConfig.of(ei()))}function ee(e,t,n=!0){let r=e.state.doc.lineAt(t.from).number,i=e.state.doc.lineAt(t.to).number;return l.Lz.announce.of(`${e.state.phrase(n?"Folded lines":"Unfolded lines")} ${r} ${e.state.phrase("to")} ${i}.`)}let et=[{key:"Ctrl-Shift-[",mac:"Cmd-Alt-[",run:e=>{for(let t of U(e)){let n=B(e.state,t.from,t.to);if(n)return e.dispatch({effects:K(e.state,[Y.of(n),ee(e,n)])}),!0}return!1}},{key:"Ctrl-Shift-]",mac:"Cmd-Alt-]",run:e=>{if(!e.state.field(G,!1))return!1;let t=[];for(let n of U(e)){let r=J(e.state,n.from,n.to);r&&t.push(q.of(r),ee(e,r,!1))}return t.length&&e.dispatch({effects:t}),t.length>0}},{key:"Ctrl-Alt-[",run:e=>{let{state:t}=e,n=[];for(let r=0;r<t.doc.length;){let i=e.lineBlockAt(r),o=B(t,i.from,i.to);o&&n.push(Y.of(o)),r=(o?e.lineBlockAt(o.to):i).to+1}return n.length&&e.dispatch({effects:K(e.state,n)}),!!n.length}},{key:"Ctrl-Alt-]",run:e=>{let t=e.state.field(G,!1);if(!t||!t.size)return!1;let n=[];return t.between(0,e.state.doc.length,(e,t)=>{n.push(q.of({from:e,to:t}))}),e.dispatch({effects:n}
1),!0}}],en={placeholderDOM:null,preparePlaceholder:null,placeholderText:"…"},er=o.sj.define({combine:e=>(0,o.QR)(e,en)});function ei(e){let t=[G,ed];return e&&t.push(er.of(e)),t}function eo(e,t){let{state:n}=e,r=n.facet(er),i=t=>{let n=e.lineBlockAt(e.posAtDOM(t.target)),r=J(e.state,n.from,n.to);r&&e.dispatch({effects:q.of(r)}),t.preventDefault()};if(r.placeholderDOM)return r.placeholderDOM(e,i,t);let o=document.createElement("span");return o.textContent=r.placeholderText,o.setAttribute("aria-label",n.phrase("folded code")),o.title=n.phrase("unfold"),o.className="cm-foldPlaceholder",o.onclick=i,o}let el=l.NZ.replace({widget:new class extends l.xO{toDOM(e){return eo(e,null)}}});class es extends l.xO{constructor(e){super(),this.value=e}eq(e){return this.value==e.value}toDOM(e){return eo(e,this.value)}}let ea={openText:"⌄",closedText:"›",markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1};class eu extends l.wJ{constructor(e,t){super(),this.config=e,this.open=t}eq(e){return this.config==e.config&&this.open==e.open}toDOM(e){if(this.config.markerDOM)return this.config.markerDOM(this.open);let t=document.createElement("span");return t.textContent=this.open?this.config.openText:this.config.closedText,t.title=e.state.phrase(this.open?"Fold line":"Unfold line"),t}}function ec(e={}){let t={...ea,...e},n=new eu(t,!0),r=new eu(t,!1),i=l.Z9.fromClass(class{constructor(e){this.from=e.viewport.from,this.markers=this.buildMarkers(e)}update(e){(e.docChanged||e.viewportChanged||e.startState.facet(S)!=e.state.facet(S)||e.startState.field(G,!1)!=e.state.field(G,!1)||g(e.startState)!=g(e.state)||t.foldingChanged(e))&&(this.markers=this.buildMarkers(e.view))}buildMarkers(e){let t=new o.vB;for(let i of e.viewportLineBlocks){let o=J(e.state,i.from,i.to)?r:B(e.state,i.from,i.to)?n:null;o&&t.add(i.from,i.from,o)}return t.finish()}}),{domEventHandlers:s}=t;return[i,(0,l.cU)({class:"cm-foldGutter",markers(e){var t;return(null==(t=e.plugin(i))?void 0:t.markers)||o.om.empty},initialSpacer:()=>new eu(t,!1),domEventHandlers:{...s,click:(e,t,n)=>{if(s.click&&s.click(e,t,n))return!0;let r=J(e.state,t.from,t.to);if(r)return e.dispatch({effects:q.of(r)}),!0;let i=B(e.state,t.from,t.to);return!!i&&(e.dispatch({effects:Y.of(i)}),!0)}}}),ei()]}let ed=l.Lz.baseTheme({".cm-foldPlaceholder":{backgroundColor:"#eee",border:"1px solid #ddd",color:"#888",borderRadius:".2em",margin:"0 1px",padding:"0 1px",cursor:"pointer"},".cm-foldGutter span":{padding:"0 1px",cursor:"pointer"}});class eh{constructor(e,t){let n;function r(e){let t=a.G.newName();return(n||(n=Object.create(null)))["."+t]=e,t}this.specs=e;let i="string"==typeof t.all?t.all:t.all?r(t.all):void 0,o=t.scope;this.scope=o instanceof h?e=>e.prop(u)==o.data:o?e=>e==o:void 0,this.style=(0,s.az)(e.map(e=>({tag:e.tag,class:e.class||r(Object.assign({},e,{tag:null}))})),{all:i}).style,this.module=n?new a.G(n):null,this.themeType=t.themeType}static define(e,t){return new eh(e,t||{})}}let ef=o.sj.define(),ep=o.sj.define({combine:e=>e.length?[e[0]]:null});function eg(e){let t=e.facet(ef);return t.length?t:e.facet(ep)}function em(e,t){let n=[ev],r;return e instanceof eh&&(e.module&&n.push(l.Lz.styleModule.of(e.module)),r=e.themeType),(null==t?void 0:t.fallback)?n.push(ep.of(e)):r?n.push(ef.computeN([l.Lz.darkTheme],t=>t.facet(l.Lz.darkTheme)==("dark"==r)?[e]:[])):n.push(ef.of(e)),n}function eO(e,t,n){let r=eg(e),i=null;if(r){for(let e of r)if(!e.scope||n&&e.scope(n)){let n=e.style(t);n&&(i=i?i+" "+n:n)}}return i}class ey{constructor(e){this.markCache=Object.create(null),this.tree=g(e.state),this.decorations=this.buildDeco(e,eg(e.state)),this.decoratedTo=e.viewport.to}update(e){let t=g(e.state),n=eg(e.state),r=n!=eg(e.startState),{viewport:i}=e.view,o=e.changes.mapPos(this.decoratedTo,1);t.length<i.to&&!r&&t.type==this.tree.type&&o>=i.to?(this.decorations=this.decorations.map(e.changes),this.decoratedTo=o):(t!=this.tree||e.viewportChanged||r)&&(this.tree=t,this.decorations=this.buildDeco(e.view,n),this.decoratedTo=i.to)}buildDeco(e,t){if(!t||!this.tree.length)return l.NZ.none;let n=new o.vB;for(let{from:r,to:i}of e.visibleRanges)(0,s.DM)(this.tree,t,(e,t,r)=>{n.add(e,t,this.markCache[r]||(this.markCache[r]=l.NZ.mark({class:r})))},r,i);return n.finish()}}let ev=o.Nb.high(l.Z9.fromClass(ey,{decorations:e=>e.decorations})),ex=eh.define([{tag:s._A.meta,color:"#404740"},{tag:s._A.link,textDecoration:"underline"},{tag:s._A.heading,textDecoration:"underline",fontWeight:"bold"},{tag:s._A.emphasis,fontStyle:"italic"},{tag:s._A.strong,fontWeight:"bold"},{tag:s._A.strikethrough,textDecoration:"line-through"}
1,{tag:s._A.keyword,color:"#708"},{tag:[s._A.atom,s._A.bool,s._A.url,s._A.contentSeparator,s._A.labelName],color:"#219"},{tag:[s._A.literal,s._A.inserted],color:"#164"},{tag:[s._A.string,s._A.deleted],color:"#a11"},{tag:[s._A.regexp,s._A.escape,s._A.special(s._A.string)],color:"#e40"},{tag:s._A.definition(s._A.variableName),color:"#00f"},{tag:s._A.local(s._A.variableName),color:"#30a"},{tag:[s._A.typeName,s._A.namespace],color:"#085"},{tag:s._A.className,color:"#167"},{tag:[s._A.special(s._A.variableName),s._A.macroName],color:"#256"},{tag:s._A.definition(s._A.propertyName),color:"#00c"},{tag:s._A.comment,color:"#940"},{tag:s._A.invalid,color:"#f00"}]),eb=l.Lz.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),ew="()[]{}",ek=o.sj.define({combine:e=>(0,o.QR)(e,{afterCursor:!0,brackets:ew,maxScanDistance:1e4,renderMatch:eC})}),eS=l.NZ.mark({class:"cm-matchingBracket"}),e_=l.NZ.mark({class:"cm-nonmatchingBracket"});function eC(e){let t=[],n=e.matched?eS:e_;return t.push(n.range(e.start.from,e.start.to)),e.end&&t.push(n.range(e.end.from,e.end.to)),t}function eP(e){let t=[],n=e.facet(ek);for(let r of e.selection.ranges){if(!r.empty)continue;let i=eR(e,r.head,-1,n)||r.head>0&&eR(e,r.head-1,1,n)||n.afterCursor&&(eR(e,r.head,1,n)||r.head<e.doc.length&&eR(e,r.head+1,-1,n));i&&(t=t.concat(n.renderMatch(i,e)))}return l.NZ.set(t,!0)}let eT=[l.Z9.fromClass(class{constructor(e){this.paused=!1,this.decorations=eP(e.state)}update(e){(e.docChanged||e.selectionSet||this.paused)&&(e.view.composing?(this.decorations=this.decorations.map(e.changes),this.paused=!0):(this.decorations=eP(e.state),this.paused=!1))}},{decorations:e=>e.decorations}),eb];function eQ(e={}){return[ek.of(e),eT]}let e$=new i.uY;function eA(e,t,n){let r=e.prop(t<0?i.uY.openedBy:i.uY.closedBy);if(r)return r;if(1==e.name.length){let r=n.indexOf(e.name);if(r>-1&&r%2==+(t<0))return[n[r+t]]}return null}function eE(e){let t=e.type.prop(e$);return t?t(e.node):e}function eR(e,t,n,r={}){let i=r.maxScanDistance||1e4,o=r.brackets||ew,l=g(e),s=l.resolveInner(t,n);for(let e=s;e;e=e.parent){let r=eA(e.type,n,o);if(r&&e.from<e.to){let i=eE(e);if(i&&(n>0?t>=i.from&&t<i.to:t>i.from&&t<=i.to))return function(e,t,n,r,i,o,l){let s=r.parent,a={from:i.from,to:i.to},u=0,c=null==s?void 0:s.cursor();if(c&&(n<0?c.childBefore(r.from):c.childAfter(r.to)))do if(n<0?c.to<=r.from:c.from>=r.to){if(0==u&&o.indexOf(c.type.name)>-1&&c.from<c.to){let e=eE(c);return{start:a,end:e?{from:e.from,to:e.to}:void 0,matched:!0}}else if(eA(c.type,n,l))u++;else if(eA(c.type,-n,l)){if(0==u){let e=eE(c);return{start:a,end:e&&e.from<e.to?{from:e.from,to:e.to}:void 0,matched:!1}}u--}}while(n<0?c.prevSibling():c.nextSibling());return{start:a,matched:!1}}(0,0,n,e,i,r,o)}}return function(e,t,n,r,i,o,l){if(n<0?!t:t==e.doc.length)return null;let s=n<0?e.sliceDoc(t-1,t):e.sliceDoc(t,t+1),a=l.indexOf(s);if(a<0||a%2==0!=n>0)return null;let u={from:n<0?t-1:t,to:n>0?t+1:t},c=e.doc.iterRange(t,n>0?e.doc.length:0),d=0;for(let e=0;!c.next().done&&e<=o;){let o=c.value;n<0&&(e+=o.length);let s=t+e*n;for(let e=n>0?0:o.length-1,t=n>0?o.length:-1;e!=t;e+=n){let t=l.indexOf(o[e]);if(!(t<0)&&r.resolveInner(s+e,1).type==i)if(t%2==0==n>0)d++;else{if(1==d)return{start:u,end:{from:s+e,to:s+e+1},matched:t>>1==a>>1};d--}}n>0&&(e+=o.length)}return c.done?{start:u,matched:!1}:null}(e,t,n,l,s.type,i,o)}function eN(e,t,n,r=0,i=0){null==t&&-1==(t=e.search(/[^\s\u00a0]/))&&(t=e.length);let o=i;for(let i=r;i<t;i++)9==e.charCodeAt(i)?o+=n-o%n:o++;return o}class eL{constructor(e,t,n,r){this.string=e,this.tabSize=t,this.indentUnit=n,this.overrideIndent=r,this.pos=0,this.start=0,this.lastColumnPos=0,this.lastColumnValue=0}eol(){return this.pos>=this.string.length}sol(){return 0==this.pos}peek(){return this.string.charAt(this.pos)||void 0}next(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)}eat(e){let t=this.string.charAt(this.pos);if("string"==typeof e?t==e:t&&(e instanceof RegExp?e.test(t):e(t)))return++this.pos,t}eatWhile(e){let t=this.pos;for(;this.eat(e););return this.pos>t}eatSpace(){let e=this.pos;for(;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e}skipToEnd(){this.pos=this.string.length}skipTo(e){let t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0}backUp(e){this.pos-=e}column(){return this.lastColumnPos<this.start&&(this.lastColumnValue=eN(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue}indentation(){var e;return null!=(e=this.overrideIndent)?e:eN(this.string,null,this.tabSize)}
1match(e,t,n){if("string"==typeof e){let r=e=>n?e.toLowerCase():e;return r(this.string.substr(this.pos,e.length))==r(e)?(!1!==t&&(this.pos+=e.length),!0):null}{let n=this.string.slice(this.pos).match(e);return n&&n.index>0?null:(n&&!1!==t&&(this.pos+=n[0].length),n)}}current(){return this.string.slice(this.start,this.pos)}}function eM(e){if("object"!=typeof e)return e;let t={};for(let n in e){let r=e[n];t[n]=r instanceof Array?r.slice():r}return t}let eZ=new WeakMap;class eI extends h{constructor(e){let t=c(e.languageData),n=function(e){return{name:e.name||"",token:e.token,blankLine:e.blankLine||(()=>{}),startState:e.startState||(()=>!0),copyState:e.copyState||eM,indent:e.indent||(()=>null),languageData:e.languageData||{},tokenTable:e.tokenTable||eV,mergeTokens:!1!==e.mergeTokens}}(e),r;super(t,new class extends i.iX{createParse(e,t,n){return new eX(r,e,t,n)}},[],e.name),this.topNode=function(e,t){let n=i.Z6.define({id:eF.length,name:"Document",props:[u.add(()=>e),R.add(()=>e=>t.getIndent(e))],top:!0});return eF.push(n),n}(t,this),r=this,this.streamParser=n,this.stateAfter=new i.uY({perNode:!0}),this.tokenTable=e.tokenTable?new eq(n.tokenTable):eU}static define(e){return new eI(e)}getIndent(e){let t,{overrideIndentation:n}=e.options;n&&null!=(t=eZ.get(e.state))&&t<e.pos-1e4&&(t=void 0);let r=ej(this,e.node.tree,e.node.from,e.node.from,null!=t?t:e.pos),i,o;if(r?(o=r.state,i=r.pos+1):(o=this.streamParser.startState(e.unit),i=e.node.from),e.pos-i>1e4)return null;for(;i<e.pos;){let t=e.state.doc.lineAt(i),r=Math.min(e.pos,t.to);if(t.length){let i=n?n(t.from):-1,l=new eL(t.text,e.state.tabSize,e.unit,i<0?void 0:i);for(;l.pos<r-t.from;)eD(this.streamParser.token,l,o)}else this.streamParser.blankLine(o,e.unit);if(r==e.pos)break;i=t.to+1}let l=e.lineAt(e.pos);return n&&null==t&&eZ.set(e.state,l.from),this.streamParser.indent(o,/^\s*(.*)/.exec(l.text)[1],e)}get allowsNesting(){return!1}}function ej(e,t,n,r,o){let l=n>=r&&n+t.length<=o&&t.prop(e.stateAfter);if(l)return{state:e.streamParser.copyState(l),pos:n+t.length};for(let l=t.children.length-1;l>=0;l--){let s=t.children[l],a=n+t.positions[l],u=s instanceof i.PH&&a<o&&ej(e,s,a,r,o);if(u)return u}return null}class eX{constructor(e,t,n,r){this.lang=e,this.input=t,this.fragments=n,this.ranges=r,this.stoppedAt=null,this.chunks=[],this.chunkPos=[],this.chunk=[],this.chunkReused=void 0,this.rangeIndex=0,this.to=r[r.length-1].to;let o=y.get(),l=r[0].from,{state:s,tree:a}=function(e,t,n,r,o){for(let o of t){let t=o.from+25*!!o.openStart,l=o.to-25*!!o.openEnd,s=t<=n&&l>n&&ej(e,o.tree,0-o.offset,n,l),a;if(s&&s.pos<=r&&(a=function e(t,n,r,o,l){if(l&&r<=0&&o>=n.length)return n;l||0!=r||n.type!=t.topNode||(l=!0);for(let s=n.children.length-1;s>=0;s--){let a=n.positions[s],u=n.children[s],c;if(a<o&&u instanceof i.PH){if(!(c=e(t,u,r-a,o-a,l)))break;return l?new i.PH(n.type,n.children.slice(0,s).concat(c),n.positions.slice(0,s+1),a+c.length):c}}return null}(e,o.tree,n+o.offset,s.pos+o.offset,!1)))return{state:s.state,tree:a}}return{state:e.streamParser.startState(o?Q(o):4),tree:i.PH.empty}}(e,n,l,this.to,null==o?void 0:o.state);this.state=s,this.parsedPos=this.chunkStart=l+a.length;for(let e=0;e<a.children.length;e++)this.chunks.push(a.children[e]),this.chunkPos.push(a.positions[e]);o&&this.parsedPos<o.viewport.from-1e5&&r.some(e=>e.from<=o.viewport.from&&e.to>=o.viewport.from)&&(this.state=this.lang.streamParser.startState(Q(o.state)),o.skipUntilInView(this.parsedPos,o.viewport.from),this.parsedPos=o.viewport.from),this.moveRangeIndex()}advance(){let e=y.get(),t=null==this.stoppedAt?this.to:Math.min(this.to,this.stoppedAt),n=Math.min(t,this.chunkStart+512);for(e&&(n=Math.min(n,e.viewport.to));this.parsedPos<n;)this.parseLine(e);return(this.chunkStart<this.parsedPos&&this.finishChunk(),this.parsedPos>=t)?this.finish():e&&this.parsedPos>=e.viewport.to?(e.skipUntilInView(this.parsedPos,t),this.finish()):null}stopAt(e){this.stoppedAt=e}lineAfter(e){let t=this.input.chunk(e);if(this.input.lineChunks)"\n"==t&&(t="");else{let e=t.indexOf("\n");e>
1-1&&(t=t.slice(0,e))}return e+t.length<=this.to?t:t.slice(0,this.to-e)}nextLine(){let e=this.parsedPos,t=this.lineAfter(e),n=e+t.length;for(let e=this.rangeIndex;;){let r=this.ranges[e].to;if(r>=n||(t=t.slice(0,r-(n-t.length)),++e==this.ranges.length))break;let i=this.ranges[e].from,o=this.lineAfter(i);t+=o,n=i+o.length}return{line:t,end:n}}skipGapsTo(e,t,n){for(;;){let r=this.ranges[this.rangeIndex].to,i=e+t;if(n>0?r>i:r>=i)break;let o=this.ranges[++this.rangeIndex].from;t+=o-r}return t}moveRangeIndex(){for(;this.ranges[this.rangeIndex].to<this.parsedPos;)this.rangeIndex++}emitToken(e,t,n,r){let i=4;if(this.ranges.length>1){r=this.skipGapsTo(t,r,1),t+=r;let e=this.chunk.length;r=this.skipGapsTo(n,r,-1),n+=r,i+=this.chunk.length-e}let o=this.chunk.length-4;return this.lang.streamParser.mergeTokens&&4==i&&o>=0&&this.chunk[o]==e&&this.chunk[o+2]==t?this.chunk[o+2]=n:this.chunk.push(e,t,n,i),r}parseLine(e){let{line:t,end:n}=this.nextLine(),r=0,{streamParser:i}=this.lang,o=new eL(t,e?e.state.tabSize:4,e?Q(e.state):2);if(o.eol())i.blankLine(this.state,o.indentUnit);else for(;!o.eol();){let e=eD(i.token,o,this.state);if(e&&(r=this.emitToken(this.lang.tokenTable.resolve(e),this.parsedPos+o.start,this.parsedPos+o.pos,r)),o.start>1e4)break}this.parsedPos=n,this.moveRangeIndex(),this.parsedPos<this.to&&this.parsedPos++}finishChunk(){let e=i.PH.build({buffer:this.chunk,start:this.chunkStart,length:this.parsedPos-this.chunkStart,nodeSet:ez,topID:0,maxBufferLength:512,reused:this.chunkReused});e=new i.PH(e.type,e.children,e.positions,e.length,[[this.lang.stateAfter,this.lang.streamParser.copyState(this.state)]]),this.chunks.push(e),this.chunkPos.push(this.chunkStart-this.ranges[0].from),this.chunk=[],this.chunkReused=void 0,this.chunkStart=this.parsedPos}finish(){return new i.PH(this.lang.topNode,this.chunks,this.chunkPos,this.parsedPos-this.ranges[0].from).balance()}}function eD(e,t,n){t.start=t.pos;for(let r=0;r<10;r++){let r=e(t,n);if(t.pos>t.start)return r}throw Error("Stream parser failed to advance stream.")}let eV=Object.create(null),eF=[i.Z6.none],ez=new i.fI(eF),eB=[],eW=Object.create(null),eY=Object.create(null);for(let[e,t]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]])eY[e]=eH(eV,t);class eq{constructor(e){this.extra=e,this.table=Object.assign(Object.create(null),eY)}resolve(e){return e?this.table[e]||(this.table[e]=eH(this.extra,e)):0}}let eU=new eq(eV);function eG(e,t){eB.indexOf(e)>-1||(eB.push(e),console.warn(t))}function eH(e,t){let n=[];for(let r of t.split(" ")){let t=[];for(let n of r.split(".")){let r=e[n]||s._A[n];r?"function"==typeof r?t.length?t=t.map(r):eG(n,`Modifier ${n} used at start of tag`):t.length?eG(n,`Tag ${n} used as modifier`):t=Array.isArray(r)?r:[r]:eG(n,`Unknown highlighting tag ${n}`)}for(let e of t)n.push(e)}if(!n.length)return 0;let r=t.replace(/ /g,"_"),o=r+" "+n.map(e=>e.id),l=eW[o];if(l)return l.id;let a=eW[o]=i.Z6.define({id:eF.length,name:r,props:[(0,s.pn)({[r]:n})]});return eF.push(a),a.id}l.OP.RTL,l.OP.LTR},66870:(e,t,n)=>{"use strict";n.d(t,{$:()=>g});var r=n(14725),i=n(6325);let o="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?i.useLayoutEffect:i.useEffect;function l(e){return{initialValueFn:()=>e.isEditable(),subscribe:t=>e.registerEditableListener(t)}}var s=n(1631),a=n(6105),u=n(36184),c=n(64177),d=n(84544),h=n(96507);let f="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?i.useLayoutEffect:i.useEffect;function p(e){return e.getEditorState().read((0,s.yl)(e.isComposing()))}function g({contentEditable:e,placeholder:t=null,ErrorBoundary:n}){var o;let[l]=(0,r.DF)(),s=function(e,t){let[n,r]=(0,i.useState)(()=>e.getDecorators());return f(()=>e.registerDecoratorListener(e=>{(0,u.flushSync)(()=>{r(e)})}),[e]),(0,i.useEffect)(()=>{r(e.getDecorators())},[e]),(0,i.useMemo)(()=>{let r=[],o=Object.keys(n);for(let l=0;l<o.length;l++){let s=o[l],a=(0,c.jsx)(t,{onError:t=>e._onError(t),children:(0,c.jsx)(i.Suspense,{fallback:null,children:n[s]})}),d=e.getElementByKey(s);null!==d&&r.push((0,u.createPortal)(a,d,s))}return r},[t,n,e])}(l,n);return f(()=>(0,a.Sd)((0,h.ZI)(o),function(e){let t=window.location.origin,n=n=>{if(n.origin!==t)return;let r=e.getRootElement();if(document.activeElement!==r)return;let i=n.data;if("string"==typeof i){let t;try{t=JSON.parse(i)}catch(e){return}if(t&&"nuanria_messaging"===t.protocol&&"request"===t.type){let r=t.payload;if(r&&"makeChanges"===r.functionId){let t=r.args;if(t){let[r,i,o,l,s,a]=t;e.update(()=>{let e=(0,d.vJq)();if((0,d.I2P)(e)){let t=e.anchor,a=t.getNode(),u=0,c=0;if((0,d.kFe)(a)&&r>=0&&i>=0&&(u=r,c=r+i,e.setTextNodeRange(a,u,a,c)),u===c&&""===o||(e.insertRawText(o),a=t.getNode()),(0,d.kFe)(a)){u=l,c=l+s;let t=a.getTextContentSize();u=u>t?t:u,c=c>t?t:c,e.setTextNodeRange(a,u,a,c)}n.stopImmediatePropagation()}})}}}}};return window.addEventListener("message",n,!0),()=>{window.removeEventListener("message",n,!0)}}(o)),[o=l]),(0,c.jsxs)(c.Fragment,{children:[e,(0,c.jsx)(m,{content:t}),s]})}function m({content:e}){let[t]=(0,r.DF)(),n=function(e){let[t,n]=(0,i.useState)(()=>p(e));return f(()=>{function t(){n(p(e))}return t(),(0,a.Sd)(e.registerUpdateListener(()=>{t()}
1),e.registerEditableListener(()=>{t()}))},[e]),t}(t),s=function(){let[e]=(0,r.DF)(),t=(0,i.useMemo)(()=>l(e),[e,l]),[n,s]=(0,i.useState)(()=>t.initialValueFn()),a=(0,i.useRef)(n);return o(()=>{let{initialValueFn:e,subscribe:n}=t,r=e();return a.current!==r&&(a.current=r,s(r)),n(e=>{a.current=e,s(e)})},[t,l]),n}();return n?"function"==typeof e?e(s):e:null}},67015:(e,t,n)=>{"use strict";n.d(t,{_6:()=>k,Gg:()=>C,hj:()=>Q,HU:()=>T,sl:()=>$,p0:()=>_});var r=n(7814),i=n(44443),o=n(36343),l=n(6325),s=n(17415),a=n(80888),u=n(60665),c=n(62221);function d(e){return new c.Yy(c.Tg.define(e))}function h(e){return n.e(3550).then(n.bind(n,43550)).then(t=>t.sql({dialect:t[e]}))}let f=[c.t$.of({name:"C",extensions:["c","h","ino"],load:()=>n.e(6696).then(n.bind(n,36696)).then(e=>e.cpp())}),c.t$.of({name:"C++",alias:["cpp"],extensions:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],load:()=>n.e(6696).then(n.bind(n,36696)).then(e=>e.cpp())}),c.t$.of({name:"CQL",alias:["cassandra"],extensions:["cql"],load:()=>h("Cassandra")}),c.t$.of({name:"CSS",extensions:["css"],load:()=>Promise.resolve().then(n.bind(n,18602)).then(e=>e.css())}),c.t$.of({name:"Go",extensions:["go"],load:()=>n.e(8214).then(n.bind(n,58214)).then(e=>e.go())}),c.t$.of({name:"HTML",alias:["xhtml"],extensions:["html","htm","handlebars","hbs"],load:()=>Promise.resolve().then(n.bind(n,12238)).then(e=>e.html())}),c.t$.of({name:"Java",extensions:["java"],load:()=>n.e(3284).then(n.bind(n,3284)).then(e=>e.java())}),c.t$.of({name:"JavaScript",alias:["ecmascript","js","node"],extensions:["js","mjs","cjs"],load:()=>Promise.resolve().then(n.bind(n,16209)).then(e=>e.javascript())}),c.t$.of({name:"Jinja",extensions:["j2","jinja","jinja2"],load:()=>n.e(8922).then(n.bind(n,28922)).then(e=>e.jinja())}),c.t$.of({name:"JSON",alias:["json5"],extensions:["json","map"],load:()=>n.e(9987).then(n.bind(n,59987)).then(e=>e.json())}),c.t$.of({name:"JSX",extensions:["jsx"],load:()=>Promise.resolve().then(n.bind(n,16209)).then(e=>e.javascript({jsx:!0}))}),c.t$.of({name:"LESS",extensions:["less"],load:()=>n.e(6107).then(n.bind(n,36107)).then(e=>e.less())}),c.t$.of({name:"Liquid",extensions:["liquid"],load:()=>n.e(756).then(n.bind(n,756)).then(e=>e.liquid())}),c.t$.of({name:"MariaDB SQL",load:()=>h("MariaSQL")}),c.t$.of({name:"Markdown",extensions:["md","markdown","mkd"],load:()=>Promise.resolve().then(n.bind(n,30398)).then(e=>e.markdown())}),c.t$.of({name:"MS SQL",load:()=>h("MSSQL")}),c.t$.of({name:"MySQL",load:()=>h("MySQL")}),c.t$.of({name:"PHP",extensions:["php","php3","php4","php5","php7","phtml"],load:()=>n.e(2587).then(n.bind(n,82587)).then(e=>e.php())}),c.t$.of({name:"PLSQL",extensions:["pls"],load:()=>h("PLSQL")}),c.t$.of({name:"PostgreSQL",load:()=>h("PostgreSQL")}),c.t$.of({name:"Python",extensions:["BUILD","bzl","py","pyw"],filename:/^(BUCK|BUILD)$/,load:()=>n.e(6587).then(n.bind(n,66587)).then(e=>e.python())}),c.t$.of({name:"Rust",extensions:["rs"],load:()=>n.e(5951).then(n.bind(n,5951)).then(e=>e.rust())}),c.t$.of({name:"Sass",extensions:["sass"],load:()=>n.e(1107).then(n.bind(n,61107)).then(e=>e.sass({indented:!0}))}),c.t$.of({name:"SCSS",extensions:["scss"],load:()=>n.e(1107).then(n.bind(n,61107)).then(e=>e.sass())}),c.t$.of({name:"SQL",extensions:["sql"],load:()=>h("StandardSQL")}),c.t$.of({name:"SQLite",load:()=>h("SQLite")}),c.t$.of({name:"TSX",extensions:["tsx"],load:()=>Promise.resolve().then(n.bind(n,16209)).then(e=>e.javascript({jsx:!0,typescript:!0}))}),c.t$.of({name:"TypeScript",alias:["ts"],extensions:["ts","mts","cts"],load:()=>Promise.resolve().then(n.bind(n,16209)).then(e=>e.javascript({typescript:!0}))}),c.t$.of({name:"WebAssembly",extensions:["wat","wast"],load:()=>n.e(3099).then(n.bind(n,53099)).then(e=>e.wast())}),c.t$.of({name:"XML",alias:["rss","wsdl","xsd"],extensions:["xml","xsl","xsd","svg"],load:()=>n.e(6317).then(n.bind(n,96317)).then(e=>e.xml())}),c.t$.of({name:"YAML",alias:["yml"],extensions:["yaml","yml"],load:()=>n.e(4628).then(n.bind(n,4628)).then(e=>e.yaml())}),c.t$.of({name:"APL",extensions:["dyalog","apl"],load:()=>n.e(3941).then(n.bind(n,83941)).then(e=>d(e.apl))}),c.t$.of({name:"PGP",alias:["asciiarmor"],extensions:["asc","pgp","sig"],load:()=>n.e(1524).then(n.bind(n,71524)).then(e=>d(e.asciiArmor))}),c.t$.of({name:"ASN.1",extensions:["asn","asn1"],load:()=>n.e(7331).then(n.bind(n,87331)).then(e=>d(e.asn1({})))}),c.t$.of({name:"Asterisk",filename:/^extensions\.conf$/i,load:()=>n.e(5402).then(n.bind(n,5402)).then(e=>d(e.asterisk))}),c.t$.of({name:"Brainfuck",extensions:["b","bf"],load:()=>n.e(4781).then(n.bind(n,54781)).then(e=>d(e.brainfuck))}),c.t$.of({name:"Cobol",extensions:["cob","cpy"],load:()=>n.e(4513).then(n.bind(n,94513)).then(e=>d(e.cobol))}),c.t$.of({name:"C#",alias:["csharp","cs"],extensions:["cs"],load:()=>n.e(1988).then(n.bind(n,31988)).then(e=>d(e.csharp))}),c.t$.of({name:"Clojure",extensions:["clj","cljc","cljx"],load:()=>n.e(3410).then(n.bind(n,93410)).then(e=>d(e.clojure))}),c.t$.of({name:"ClojureScript",extensions:["cljs"],load:()=>n.e(3410).then(n.bind(n,93410)).then(e=>d(e.clojure))}),c.t$.of({name:"Closure Stylesheets (GSS)",extensions:["gss"],load:()=>n.e(3021).then(n.bind(n,33021)).then(e=>d(e.gss))}),c.t$.of({name:"CMake",extensions:["cmake","cmake.in"],filename:/^CMakeLists\.txt$/,load:()=>n.e(3393).then(n.bind(n,13393)).then(e=>d(e.cmake))}),c.t$.of({name:"CoffeeScript",alias:["coffee","coffee-script"],extensions:["coffee"],load:()=>n.e(3389).then(n.bind(n,73389)).then(e=>d(e.coffeeScript))}),c.t$.of({name:"Common Lisp",alias:["lisp"],extensions:["cl","lisp","el"],load:()=>n.e(4555).then(n.bind(n,14555)).then(e=>d(e.commonLisp))}),c.t$.of({name:"Cypher",extensions:["cyp","cypher"],load:()=>n.e(9909).then(n.bind(n,49909)).then(e=>d(e.cypher))}),c.t$.of({name:"Cython",extensions:["pyx","pxd","pxi"],load:()=>n.e(7636).then(n.bind(n,47636)).then(e=>d(e.cython))}),c.t$.of({name:"Crystal",extensions:["cr"],load:()=>n.e(4028).then(n.bind(n,94028)).then(e=>d(e.crystal))}),c.t$.of({name:"D",extensions:["d"],load:()=>n.e(4378).then(n.bind(n,74378)).then(e=>d(e.d))}),c.t$.of({name:"Dart",extensions:["dart"],load:()=>n.e(1988).then(n.bind(n,31988)).then(e=>d(e.dart))}),c.t$.of({name:"diff",extensions:["diff","patch"],load:()=>n.e(8653).then(n.bind(n,48653)).then(e=>d(e.diff))}),c.t$.of({name:"Dockerfile",filename:/^Dockerfile$/,load:()=>n.e(2860).then(n.bind(n,12860)).then(e=>d(e.dockerFile))}),c.t$.of({name:"DTD",extensions:["dtd"],load:()=>n.e(6994).then(n.bind(n,96994)).then(e=>d(e.dtd))}),c.t$.of({name:"Dylan",extensions:["dylan","dyl","intr"],load:()=>
1n.e(2572).then(n.bind(n,62572)).then(e=>d(e.dylan))}),c.t$.of({name:"EBNF",load:()=>n.e(1805).then(n.bind(n,31805)).then(e=>d(e.ebnf))}),c.t$.of({name:"ECL",extensions:["ecl"],load:()=>n.e(9198).then(n.bind(n,29198)).then(e=>d(e.ecl))}),c.t$.of({name:"edn",extensions:["edn"],load:()=>n.e(3410).then(n.bind(n,93410)).then(e=>d(e.clojure))}),c.t$.of({name:"Eiffel",extensions:["e"],load:()=>n.e(5149).then(n.bind(n,75149)).then(e=>d(e.eiffel))}),c.t$.of({name:"Elm",extensions:["elm"],load:()=>n.e(4714).then(n.bind(n,24714)).then(e=>d(e.elm))}),c.t$.of({name:"Erlang",extensions:["erl"],load:()=>n.e(2973).then(n.bind(n,72973)).then(e=>d(e.erlang))}),c.t$.of({name:"Esper",load:()=>n.e(842).then(n.bind(n,30842)).then(e=>d(e.esper))}),c.t$.of({name:"Factor",extensions:["factor"],load:()=>n.e(3425).then(n.bind(n,83425)).then(e=>d(e.factor))}),c.t$.of({name:"FCL",load:()=>n.e(5415).then(n.bind(n,15415)).then(e=>d(e.fcl))}),c.t$.of({name:"Forth",extensions:["forth","fth","4th"],load:()=>n.e(1977).then(n.bind(n,71977)).then(e=>d(e.forth))}),c.t$.of({name:"Fortran",extensions:["f","for","f77","f90","f95"],load:()=>n.e(5132).then(n.bind(n,85132)).then(e=>d(e.fortran))}),c.t$.of({name:"F#",alias:["fsharp"],extensions:["fs"],load:()=>n.e(6284).then(n.bind(n,76284)).then(e=>d(e.fSharp))}),c.t$.of({name:"Gas",extensions:["s"],load:()=>n.e(375).then(n.bind(n,20375)).then(e=>d(e.gas))}),c.t$.of({name:"Gherkin",extensions:["feature"],load:()=>n.e(8416).then(n.bind(n,18416)).then(e=>d(e.gherkin))}),c.t$.of({name:"Groovy",extensions:["groovy","gradle"],filename:/^Jenkinsfile$/,load:()=>n.e(2476).then(n.bind(n,52476)).then(e=>d(e.groovy))}),c.t$.of({name:"Haskell",extensions:["hs"],load:()=>n.e(1178).then(n.bind(n,21178)).then(e=>d(e.haskell))}),c.t$.of({name:"Haxe",extensions:["hx"],load:()=>n.e(4658).then(n.bind(n,14658)).then(e=>d(e.haxe))}),c.t$.of({name:"HXML",extensions:["hxml"],load:()=>n.e(4658).then(n.bind(n,14658)).then(e=>d(e.hxml))}),c.t$.of({name:"HTTP",load:()=>n.e(1238).then(n.bind(n,41238)).then(e=>d(e.http))}),c.t$.of({name:"IDL",extensions:["pro"],load:()=>n.e(4481).then(n.bind(n,84481)).then(e=>d(e.idl))}),c.t$.of({name:"JSON-LD",alias:["jsonld"],extensions:["jsonld"],load:()=>n.e(2369).then(n.bind(n,32369)).then(e=>d(e.jsonld))}),c.t$.of({name:"Julia",extensions:["jl"],load:()=>n.e(6579).then(n.bind(n,36579)).then(e=>d(e.julia))}),c.t$.of({name:"Kotlin",extensions:["kt","kts"],load:()=>n.e(1988).then(n.bind(n,31988)).then(e=>d(e.kotlin))}),c.t$.of({name:"LiveScript",alias:["ls"],extensions:["ls"],load:()=>n.e(571).then(n.bind(n,90571)).then(e=>d(e.liveScript))}),c.t$.of({name:"Lua",extensions:["lua"],load:()=>n.e(8504).then(n.bind(n,18504)).then(e=>d(e.lua))}),c.t$.of({name:"mIRC",extensions:["mrc"],load:()=>n.e(9139).then(n.bind(n,9139)).then(e=>d(e.mirc))}),c.t$.of({name:"Mathematica",extensions:["m","nb","wl","wls"],load:()=>n.e(5670).then(n.bind(n,25670)).then(e=>d(e.mathematica))}),c.t$.of({name:"Modelica",extensions:["mo"],load:()=>n.e(8354).then(n.bind(n,48354)).then(e=>d(e.modelica))}),c.t$.of({name:"MUMPS",extensions:["mps"],load:()=>n.e(9846).then(n.bind(n,89846)).then(e=>d(e.mumps))}),c.t$.of({name:"Mbox",extensions:["mbox"],load:()=>n.e(3518).then(n.bind(n,43518)).then(e=>d(e.mbox))}),c.t$.of({name:"Nginx",filename:/nginx.*\.conf$/i,load:()=>n.e(5946).then(n.bind(n,15946)).then(e=>d(e.nginx))}),c.t$.of({name:"NSIS",extensions:["nsh","nsi"],load:()=>n.e(8677).then(n.bind(n,58677)).then(e=>d(e.nsis))}),c.t$.of({name:"NTriples",extensions:["nt","nq"],load:()=>n.e(4349).then(n.bind(n,94349)).then(e=>d(e.ntriples))}),c.t$.of({name:"Objective-C",alias:["objective-c","objc"],extensions:["m"],load:()=>n.e(1988).then(n.bind(n,31988)).then(e=>d(e.objectiveC))}),c.t$.of({name:"Objective-C++",alias:["objective-c++","objc++"],extensions:["mm"],load:()=>n.e(1988).then(n.bind(n,31988)).then(e=>d(e.objectiveCpp))}),c.t$.of({name:"OCaml",extensions:["ml","mli","mll","mly"],load:()=>n.e(6284).then(n.bind(n,76284)).then(e=>d(e.oCaml))}),c.t$.of({name:"Octave",extensions:["m"],load:()=>n.e(7622).then(n.bind(n,37622)).then(e=>d(e.octave))}),c.t$.of({name:"Oz",extensions:["oz"],load:()=>n.e(1135).then(n.bind(n,91135)).then(e=>d(e.oz))}),c.t$.of({name:"Pascal",extensions:["p","pas"],load:()=>n.e(442).then(n.bind(n,80442)).then(e=>d(e.pascal))}),c.t$.of({name:"Perl",extensions:["pl","pm"],load:()=>n.e(7747).then(n.bind(n,97747)).then(e=>d(e.perl))}),c.t$.of({name:"Pig",extensions:["pig"],load:()=>n.e(1570).then(n.bind(n,21570)).then(e=>d(e.pig))}),c.t$.of({name:"PowerShell",extensions:["ps1","psd1","psm1"],load:()=>n.e(1663).then(n.bind(n,1663)).then(e=>d(e.powerShell))}),c.t$.of({name:"Properties files",alias:["ini","properties"],extensions:["properties","ini","in"],load:()=>n.e(1583).then(n.bind(n,93964)).then(e=>d(e.properties))}),c.t$.of({name:"ProtoBuf",extensions:["proto"],load:()=>n.e(125).then(n.bind(n,80125)).then(e=>d(e.protobuf))}),c.t$.of({name:"Pug",alias:["jade"],extensions:["pug","jade"],load:()=>n.e(5582).then(n.bind(n,15582)).then(e=>d(e.pug))}),c.t$.of({name:"Puppet",extensions:["pp"],load:()=>n.e(1e3).then(n.bind(n,34971)).then(e=>d(e.puppet))}),c.t$.of({name:"Q",extensions:["q"],load:()=>n.e(6913).then(n.bind(n,26913)).then(e=>d(e.q))}),c.t$.of({name:"R",alias:["rscript"],extensions:["r","R"],load:()=>n.e(3912).then(n.bind(n,23912)).then(e=>d(e.r))}),c.t$.of({name:"RPM Changes",load:()=>n.e(5783).then(n.bind(n,75783)).then(e=>d(e.rpmChanges))}),c.t$.of({name:"RPM Spec",extensions:["spec"],load:()=>n.e(5783).then(n.bind(n,75783)).then(e=>d(e.rpmSpec))}),c.t$.of({name:"Ruby",alias:["jruby","macruby","rake","rb","rbx"],extensions:["rb"],filename:/^(Gemfile|Rakefile)$/,load:()=>n.e(8910).then(n.bind(n,98910)).then(e=>d(e.ruby))}),c.t$.of({name:"SAS",extensions:["sas"],load:()=>n.e(4915).then(n.bind(n,24915)).then(e=>d(e.sas))}),c.t$.of({name:"Scala",extensions:["scala"],load:()=>n.e(1988).then(n.bind(n,31988)).then(e=>d(e.scala))}),c.t$.of({name:"Scheme",extensions:["scm","ss"],load:()=>n.e(6365).then(n.bind(n,26365)).then(e=>d(e.scheme))}
1),c.t$.of({name:"Shell",alias:["bash","sh","zsh"],extensions:["sh","ksh","bash"],filename:/^PKGBUILD$/,load:()=>n.e(4732).then(n.bind(n,54732)).then(e=>d(e.shell))}),c.t$.of({name:"Sieve",extensions:["siv","sieve"],load:()=>n.e(5172).then(n.bind(n,75172)).then(e=>d(e.sieve))}),c.t$.of({name:"Smalltalk",extensions:["st"],load:()=>n.e(9551).then(n.bind(n,59551)).then(e=>d(e.smalltalk))}),c.t$.of({name:"Solr",load:()=>n.e(1550).then(n.bind(n,11550)).then(e=>d(e.solr))}),c.t$.of({name:"SML",extensions:["sml","sig","fun","smackspec"],load:()=>n.e(6284).then(n.bind(n,76284)).then(e=>d(e.sml))}),c.t$.of({name:"SPARQL",alias:["sparul"],extensions:["rq","sparql"],load:()=>n.e(6235).then(n.bind(n,16235)).then(e=>d(e.sparql))}),c.t$.of({name:"Spreadsheet",alias:["excel","formula"],load:()=>n.e(6828).then(n.bind(n,6828)).then(e=>d(e.spreadsheet))}),c.t$.of({name:"Squirrel",extensions:["nut"],load:()=>n.e(1988).then(n.bind(n,31988)).then(e=>d(e.squirrel))}),c.t$.of({name:"Stylus",extensions:["styl"],load:()=>n.e(9212).then(n.bind(n,39212)).then(e=>d(e.stylus))}),c.t$.of({name:"Swift",extensions:["swift"],load:()=>n.e(6889).then(n.bind(n,76889)).then(e=>d(e.swift))}),c.t$.of({name:"sTeX",load:()=>n.e(9588).then(n.bind(n,59588)).then(e=>d(e.stex))}),c.t$.of({name:"LaTeX",alias:["tex"],extensions:["text","ltx","tex"],load:()=>n.e(9588).then(n.bind(n,59588)).then(e=>d(e.stex))}),c.t$.of({name:"SystemVerilog",extensions:["v","sv","svh"],load:()=>n.e(4712).then(n.bind(n,4712)).then(e=>d(e.verilog))}),c.t$.of({name:"Tcl",extensions:["tcl"],load:()=>n.e(977).then(n.bind(n,90977)).then(e=>d(e.tcl))}),c.t$.of({name:"Textile",extensions:["textile"],load:()=>n.e(3935).then(n.bind(n,83935)).then(e=>d(e.textile))}),c.t$.of({name:"TiddlyWiki",load:()=>n.e(7802).then(n.bind(n,87802)).then(e=>d(e.tiddlyWiki))}),c.t$.of({name:"Tiki wiki",load:()=>n.e(3621).then(n.bind(n,3621)).then(e=>d(e.tiki))}),c.t$.of({name:"TOML",extensions:["toml"],load:()=>n.e(7110).then(n.bind(n,57110)).then(e=>d(e.toml))}),c.t$.of({name:"Troff",extensions:["1","2","3","4","5","6","7","8","9"],load:()=>n.e(1997).then(n.bind(n,51997)).then(e=>d(e.troff))}),c.t$.of({name:"TTCN",extensions:["ttcn","ttcn3","ttcnpp"],load:()=>n.e(1143).then(n.bind(n,91143)).then(e=>d(e.ttcn))}),c.t$.of({name:"TTCN_CFG",extensions:["cfg"],load:()=>n.e(5312).then(n.bind(n,55312)).then(e=>d(e.ttcnCfg))}),c.t$.of({name:"Turtle",extensions:["ttl"],load:()=>n.e(7244).then(n.bind(n,77244)).then(e=>d(e.turtle))}),c.t$.of({name:"Web IDL",extensions:["webidl"],load:()=>n.e(623).then(n.bind(n,10623)).then(e=>d(e.webIDL))}),c.t$.of({name:"VB.NET",extensions:["vb"],load:()=>n.e(8790).then(n.bind(n,98790)).then(e=>d(e.vb))}),c.t$.of({name:"VBScript",extensions:["vbs"],load:()=>n.e(5409).then(n.bind(n,25409)).then(e=>d(e.vbScript))}),c.t$.of({name:"Velocity",extensions:["vtl"],load:()=>n.e(3953).then(n.bind(n,53953)).then(e=>d(e.velocity))}),c.t$.of({name:"Verilog",extensions:["v"],load:()=>n.e(4712).then(n.bind(n,4712)).then(e=>d(e.verilog))}),c.t$.of({name:"VHDL",extensions:["vhd","vhdl"],load:()=>n.e(2312).then(n.bind(n,82312)).then(e=>d(e.vhdl))}),c.t$.of({name:"XQuery",extensions:["xy","xquery","xq","xqm","xqy"],load:()=>n.e(8202).then(n.bind(n,58202)).then(e=>d(e.xQuery))}),c.t$.of({name:"Yacas",extensions:["ys"],load:()=>n.e(1249).then(n.bind(n,11249)).then(e=>d(e.yacas))}),c.t$.of({name:"Z80",extensions:["z80"],load:()=>n.e(1336).then(n.bind(n,51336)).then(e=>d(e.z80))}),c.t$.of({name:"MscGen",extensions:["mscgen","mscin","msc"],load:()=>n.e(4343).then(n.bind(n,94343)).then(e=>d(e.mscgen))}),c.t$.of({name:"X\xf9",extensions:["xu"],load:()=>n.e(4343).then(n.bind(n,94343)).then(e=>d(e.xu))}),c.t$.of({name:"MsGenny",extensions:["msgenny"],load:()=>n.e(4343).then(n.bind(n,94343)).then(e=>d(e.msgenny))}),c.t$.of({name:"Vue",extensions:["vue"],load:()=>n.e(580).then(n.bind(n,18199)).then(e=>e.vue())}),c.t$.of({name:"Angular Template",load:()=>n.e(4196).then(n.bind(n,34196)).then(e=>e.angular())})];var p=n(11877),g=n(84306),m=n(85803),O=n(41389),y=n(40640),v=n(84544),x=n(26959);let b=({language:e,nodeKey:t,code:n,focusEmitter:r})=>{let o=(0,u.Bd)(),{parentEditor:c,lexicalNode:d}
1=(0,a.qh)(),[h,b,S,P,$]=(0,i.uX)(u.pc,T,Q,u.yr,C),A=function(e,t,n){let r=(0,i.X3)(u.Cp),o=(0,i.qM)(u.p5),s=l.useRef(null),{lexicalNode:c}=(0,a.qh)(),d=l.useRef(!1),h=l.useRef(!1),f=l.useCallback(()=>{o({editorType:"codeblock",rootNode:c,editorRef:s.current})},[c,o]),p=l.useCallback(t=>{var n,i,o,l,a,u;if("ArrowDown"===t.key){let t=null==(i=null==(n=s.current)?void 0:n.getCodemirror())?void 0:i.state;t&&t.doc.length===t.selection.ranges[0].to&&(d.current?(null==r||r.update(()=>{var t,n;let r=(0,v.nsf)(e);r.getNextSibling()?(null==(n=null==(t=s.current)?void 0:t.getCodemirror())||n.contentDOM.blur(),r.selectNext()):r.insertAfter((0,v.lJ7)())}),d.current=!1):d.current=!0)}else if("ArrowUp"===t.key){let t=null==(l=null==(o=s.current)?void 0:o.getCodemirror())?void 0:l.state;t&&0===t.selection.ranges[0].from&&(h.current?(null==r||r.update(()=>{var t,n;let r=(0,v.nsf)(e);r.getPreviousSibling()&&(null==(n=null==(t=s.current)?void 0:t.getCodemirror())||n.contentDOM.blur(),r.selectPrevious())}),h.current=!1):h.current=!0)}else if("Enter"===t.key)t.stopPropagation();else if("Backspace"===t.key||"Delete"===t.key){let t=null==(u=null==(a=s.current)?void 0:a.getCodemirror())?void 0:u.state;0===(null==t?void 0:t.doc.length)&&(null==r||r.update(()=>{(0,v.nsf)(e).remove()}))}},[r,e]);return l.useEffect(()=>{let e=s.current;return setTimeout(()=>{var t,n;null==(t=null==e?void 0:e.getCodemirror())||t.contentDOM.addEventListener("focus",f),null==(n=null==e?void 0:e.getCodemirror())||n.contentDOM.addEventListener("keydown",p)},300),()=>{var t,n;null==(t=null==e?void 0:e.getCodemirror())||t.contentDOM.removeEventListener("focus",f),null==(n=null==e?void 0:e.getCodemirror())||n.contentDOM.removeEventListener("keydown",p)}},[s,f,p,t]),l.useEffect(()=>{n.subscribe(()=>{var e,t;null==(t=null==(e=s.current)?void 0:e.getCodemirror())||t.focus(),f()})},[n,s,e,f]),s}(t,e,r),{setCode:E}=(0,a.qh)(),R=l.useRef(null),N=l.useRef(null),{value:L,items:M}=l.useMemo(()=>_($,e),[$,e]),Z=l.useRef(E);return Z.current=E,A.current={getCodemirror:()=>R.current},l.useEffect(()=>{let t=N.current;return(async()=>{let r=[...b,y.oQ,O.tZ,(0,g.$K)(),g.w4.of([m.Yc]),g.Lz.lineWrapping,g.Lz.updateListener.of(({state:e})=>{Z.current(e.doc.toString())}),g.Lz.domEventHandlers({focus:()=>{c.update(()=>{(0,v.n1P)(null)})}})];if(h&&r.push(p.$t.readOnly.of(!0)),""!==e){let t=$.keyMap[e]??e,n=$.supportMap[t];if(n)r.push(n.extension);else if(S){let t=f.find(t=>t.name===e||t.alias.includes(e)||t.extensions.includes(e));if(t)try{let e=await t.load();r.push(e.extension)}catch(t){console.warn("failed to load language support for",e)}}}t.innerHTML="",R.current=new g.Lz({parent:t,state:p.$t.create({doc:n,extensions:r})}),t.addEventListener("keydown",w)})(),()=>{var e;null==(e=R.current)||e.destroy(),R.current=null,t.removeEventListener("keydown",w)}},[h,e,...b]),l.createElement("div",{className:s.Ay.codeMirrorWrapper},l.createElement("div",{className:s.Ay.codeMirrorToolbar},l.createElement(x.l6,{disabled:h,value:L,onChange:e=>{c.update(()=>{d.setLanguage(e===k?"":e),setTimeout(()=>{c.update(()=>{d.getLatest().select()})})})},triggerTitle:o("codeBlock.selectLanguage","Select code block language"),placeholder:o("codeBlock.inlineLanguage","Language"),items:M}),l.createElement("button",{className:s.Ay.iconButton,type:"button",disabled:h,title:o("codeblock.delete","Delete code block"),onClick:e=>{e.preventDefault(),c.update(()=>{d.remove()})}},P("delete_small"))),l.createElement("div",{ref:N}))};function w(e){e.stopPropagation()}let k="__EMPTY_VALUE__";function S(e){var t;let n=[],r={},i={};if(Array.isArray(e))for(let o of e){let e=(null==(t=o.alias)?void 0:t[0])??o.name.toLowerCase(),l=e||k;if(n.push({value:l,label:o.name}),r[e]=l,o.alias)for(let e of o.alias)r[e]=l;if(o.extensions)for(let e of o.extensions)r[e]=l;r[o.name.toLowerCase()]=l,o.support&&(i[l]=o.support)}else{let t={};for(let[i,o]of Object.entries(e))o in t||(t[o]=i,n.push({value:i||k,label:o})),r[i]=t[o]||k}return{items:n,keyMap:r,supportMap:i}}function _(e,t){let n=e.keyMap[t]??t;return!n||e.items.some(e=>e.value===n)?{value:n,items:e.items}:{value:n,items:[...e.items,{value:n,label:t}]}}
1let C=(0,i.fh)(S({js:"JavaScript",ts:"TypeScript",tsx:"TypeScript (React)",jsx:"JavaScript (React)",css:"CSS"})),P=(0,i.HN)(e=>{e.link(e.pipe(P,(0,i.Tj)(({language:e,code:t})=>({code:t,language:e,meta:""}))),o.Sd)}),T=(0,i.fh)([]),Q=(0,i.fh)(!0),$=(0,r.Z)({update(e,t){e.pubIn({[C]:S((null==t?void 0:t.codeBlockLanguages)??{}),[T]:(null==t?void 0:t.codeMirrorExtensions)??[],[Q]:(null==t?void 0:t.autoLoadLanguageSupport)??!0})},init(e,t){var n;let r=S((null==t?void 0:t.codeBlockLanguages)??{});e.pubIn({[C]:r,[T]:(null==t?void 0:t.codeMirrorExtensions)??[],[o.vk]:(n=r,{match:(e,t)=>!t||Object.hasOwn(n.keyMap,e??""),priority:1,Editor:b}),[Q]:(null==t?void 0:t.autoLoadLanguageSupport)??!0})}})},68391:(e,t,n)=>{"use strict";n.d(t,{G:()=>l});var r=n(14725),i=n(27358),o=n(6325);function l({delay:e,externalHistoryState:t}){let[n]=(0,r.DF)();return function(e,t,n=1e3){let r=(0,o.useMemo)(()=>t||(0,i.h)(),[t]);(0,o.useEffect)(()=>(0,i._)(e,r,n),[n,e,r])}(n,t,e),null}},68511:(e,t,n)=>{"use strict";n.d(t,{qW:()=>h});var r,i=n(6325),o=n(73479),l=n(11997),s=n(5966),a=n(51003),u=n(64177),c="dismissableLayer.update",d=i.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),h=i.forwardRef((e,t)=>{var n,h;let{disableOutsidePointerEvents:g=!1,onEscapeKeyDown:m,onPointerDownOutside:O,onFocusOutside:y,onInteractOutside:v,onDismiss:x,...b}=e,w=i.useContext(d),[k,S]=i.useState(null),_=null!=(h=null==k?void 0:k.ownerDocument)?h:null==(n=globalThis)?void 0:n.document,[,C]=i.useState({}),P=(0,s.s)(t,e=>S(e)),T=Array.from(w.layers),[Q]=[...w.layersWithOutsidePointerEventsDisabled].slice(-1),$=T.indexOf(Q),A=k?T.indexOf(k):-1,E=w.layersWithOutsidePointerEventsDisabled.size>0,R=A>=$,N=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==(t=globalThis)?void 0:t.document,r=(0,a.c)(e),o=i.useRef(!1),l=i.useRef(()=>{});return i.useEffect(()=>{let e=e=>{if(e.target&&!o.current){let t=function(){p("dismissableLayer.pointerDownOutside",r,i,{discrete:!0})},i={originalEvent:e};"touch"===e.pointerType?(n.removeEventListener("click",l.current),l.current=t,n.addEventListener("click",l.current,{once:!0})):t()}else n.removeEventListener("click",l.current);o.current=!1},t=window.setTimeout(()=>{n.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(t),n.removeEventListener("pointerdown",e),n.removeEventListener("click",l.current)}},[n,r]),{onPointerDownCapture:()=>o.current=!0}}(e=>{let t=e.target,n=[...w.branches].some(e=>e.contains(t));R&&!n&&(null==O||O(e),null==v||v(e),e.defaultPrevented||null==x||x())},_),L=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==(t=globalThis)?void 0:t.document,r=(0,a.c)(e),o=i.useRef(!1);return i.useEffect(()=>{let e=e=>{e.target&&!o.current&&p("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return n.addEventListener("focusin",e),()=>n.removeEventListener("focusin",e)},[n,r]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}(e=>{let t=e.target;![...w.branches].some(e=>e.contains(t))&&(null==y||y(e),null==v||v(e),e.defaultPrevented||null==x||x())},_);return!function(e,t=globalThis?.document){let n=(0,a.c)(e);i.useEffect(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}(e=>{A===w.layers.size-1&&(null==m||m(e),!e.defaultPrevented&&x&&(e.preventDefault(),x()))},_),i.useEffect(()=>{if(k)return g&&(0===w.layersWithOutsidePointerEventsDisabled.size&&(r=_.body.style.pointerEvents,_.body.style.pointerEvents="none"),w.layersWithOutsidePointerEventsDisabled.add(k)),w.layers.add(k),f(),()=>{g&&1===w.layersWithOutsidePointerEventsDisabled.size&&(_.body.style.pointerEvents=r)}},[k,_,g,w]),i.useEffect(()=>()=>{k&&(w.layers.delete(k),w.layersWithOutsidePointerEventsDisabled.delete(k),f())},[k,w]),i.useEffect(()=>{let e=()=>C({});return document.addEventListener(c,e),()=>document.removeEventListener(c,e)},[]),(0,u.jsx)(l.sG.div,{...b,ref:P,style:{pointerEvents:E?R?"auto":"none":void 0,...e.style},onFocusCapture:(0,o.mK)(e.onFocusCapture,L.onFocusCapture),onBlurCapture:(0,o.mK)(e.onBlurCapture,L.onBlurCapture),onPointerDownCapture:(0,o.mK)(e.onPointerDownCapture,N.onPointerDownCapture)})});function f(){let e=new CustomEvent(c);document.dispatchEvent(e)}function p(e,t,n,r){let{discrete:i}=r,o=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),i?(0,l.hO)(o,s):o.dispatchEvent(s)}h.displayName="DismissableLayer",i.forwardRef((e,t)=>
1{let n=i.useContext(d),r=i.useRef(null),o=(0,s.s)(t,r);return i.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,u.jsx)(l.sG.div,{...e,ref:o})}).displayName="DismissableLayerBranch"},69974:()=>{Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.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+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.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:Prism.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.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:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),Prism.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:Prism.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"}}),Prism.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),Prism.languages.markup&&(Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?
1:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),Prism.languages.js=Prism.languages.javascript},70963:(e,t,n)=>{"use strict";n.d(t,{Aj:()=>P,Lu:()=>g,U1:()=>T,uC:()=>p});var r=n(60611),i=n(74566);class o{constructor(e,t,n,r,i,o,l,s,a,u=0,c){this.p=e,this.stack=t,this.state=n,this.reducePos=r,this.pos=i,this.score=o,this.buffer=l,this.bufferBase=s,this.curContext=a,this.lookAhead=u,this.parent=c}toString(){return`[${this.stack.filter((e,t)=>t%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,t,n=0){let r=e.parser.context;return new o(e,[],t,n,n,0,[],0,r?new l(r,r.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,t){this.stack.push(this.state,t,this.bufferBase+this.buffer.length),this.state=e}reduce(e){var t;let n=e>>19,r=65535&e,{parser:i}=this.p,o=this.reducePos<this.pos-25&&this.setLookAhead(this.pos),l=i.dynamicPrecedence(r);if(l&&(this.score+=l),0==n){r<i.minRepeatTerm&&this.reducePos<this.pos&&(this.reducePos=this.pos),this.pushState(i.getGoto(this.state,r,!0),this.reducePos),r<i.minRepeatTerm&&this.storeNode(r,this.reducePos,this.reducePos,o?8:4,!0),this.reduceContext(r,this.reducePos);return}let s=this.stack.length-(n-1)*3-(262144&e?6:0),a=s?this.stack[s-2]:this.p.ranges[0].from;r<i.minRepeatTerm&&a==this.reducePos&&this.reducePos<this.pos&&(this.reducePos=this.pos);let u=this.reducePos-a;u>=2e3&&!(null==(t=this.p.parser.nodeSet.types[r])?void 0:t.isAnonymous)&&(a==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=u):this.p.lastBigReductionSize<u&&(this.p.bigReductionCount=1,this.p.lastBigReductionStart=a,this.p.lastBigReductionSize=u));let c=s?this.stack[s-1]:0,d=this.bufferBase+this.buffer.length-c;if(r<i.minRepeatTerm||131072&e){let e=i.stateFlag(this.state,1)?this.pos:this.reducePos;this.storeNode(r,a,e,d+4,!0)}if(262144&e)this.state=this.stack[s];else{let e=this.stack[s-3];this.state=i.getGoto(e,r,!0)}for(;this.stack.length>s;)this.stack.pop();this.reduceContext(r,a)}storeNode(e,t,n,r=4,i=!1){if(0==e&&(!this.stack.length||this.stack[this.stack.length-1]<this.buffer.length+this.bufferBase)){let e=this.buffer.length;if(e>0&&0==this.buffer[e-4]&&this.buffer[e-1]>-1){if(t==n)return;if(this.buffer[e-2]>=t){this.buffer[e-2]=n;return}}}if(i&&this.pos!=n){let i=this.buffer.length;if(i>0&&(0!=this.buffer[i-4]||this.buffer[i-1]<0)){let e=!1;for(let t=i;t>0&&this.buffer[t-2]>n;t-=4)if(this.buffer[t-1]>=0){e=!0;break}if(e)for(;i>0&&this.buffer[i-2]>n;)this.buffer[i]=this.buffer[i-4],this.buffer[i+1]=this.buffer[i-3],this.buffer[i+2]=this.buffer[i-2],this.buffer[i+3]=this.buffer[i-1],i-=4,r>4&&(r-=4)}this.buffer[i]=e,this.buffer[i+1]=t,this.buffer[i+2]=n,this.buffer[i+3]=r}else this.buffer.push(e,t,n,r)}shift(e,t,n,r){if(131072&e)this.pushState(65535&e,this.pos);else if((262144&e)==0){let{parser:i}=this.p;this.pos=r;let o=i.stateFlag(e,1);!o&&(r>n||t<=i.maxNode)&&(this.reducePos=r),this.pushState(e,o?n:Math.min(n,this.reducePos)),this.shiftContext(t,n),t<=i.maxNode&&this.buffer.push(t,n,r,4)}else this.pos=r,this.shiftContext(t,n),t<=this.p.parser.maxNode&&this.buffer.push(t,n,r,4)}apply(e,t,n,r){65536&e?this.reduce(e):this.shift(e,t,n,r)}useNode(e,t){let n=this.p.reused.length-1;(n<0||this.p.reused[n]!=e)&&(this.p.reused.push(e),n++);let r=this.pos;this.reducePos=this.pos=r+e.length,this.pushState(t,r),this.buffer.push(n,r,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let e=this,t=e.buffer.length;for(t&&0==e.buffer[t-4]&&(t-=4);t>0&&e.buffer[t-2]>e.reducePos;)t-=4;let n=e.buffer.slice(t),r=e.bufferBase+t;for(;e&&r==e.bufferBase;)e=e.parent;return new o(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,n,r,this.curContext,this.lookAhead,e)}recoverByDelete(e,t){let n=e<=this.p.parser.maxNode;n&&this.storeNode(e,this.pos,t,4),this.storeNode(0,this.pos,t,n?8:4),this.pos=this.reducePos=t,this.score-=190}canShift(e){for(let t=new s(this);;){let n=this.p.parser.stateSlot(t.state,4)||this.p.parser.hasAction(t.state,e);if(0==n)return!1;if((65536&n)==0)return!0;t.reduce(n)}}recoverByInsert(e){if(this.stack.length>=300)return[];let t=this.p.parser.nextStates(this.state);if(t.length>8||this.stack.length>=120){let n=[];for(let r=0,i;r<t.length;r+=2)(i=t[r+1])!=this.state&&this.p.parser.hasAction(i,e)&&n.push(t[r],i);if(this.stack.length<120)for(let e=0;n.length<8&&e<t.length;e+=2){let r=t[e+1];n.some((e,t)=>1&t&&e==r)||n.push(t[e],r)}t=n}let n=[];for(let e=0;e<t.length&&n.length<4;e+=2){let r=t[e+1];if(r==this.state)continue;let i=this.split();i.pushState(r,this.pos),i.storeNode(0,i.pos,i.pos,4,!0),i.shiftContext(t[e],this.pos),i.reducePos=this.pos,i.score-=200,n.push(i)}return n}forceReduce(){let{parser:e}=this.p,t=e.stateSlot(this.state,5);if((65536&t)==0)return!1;if(!e.validAction(this.state,t)){let n=t>>19,r=65535&t,i=this.stack.length-3*n;if(i<0||0>e.getGoto(this.stack[i],r,!1)){let e=this.findForcedReduction();if(null==e)return!1;t=e}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(t),!0}findForcedReduction(){let{parser:e}=this.p,t=[],n=(r,i)=>{if(!t.includes(r))return t.push(r),e.allActions(r,t=>{if(393216&t);else if(65536&t){let n=(t>>
vendor: 5,024 bytes, line 1
119)-i;if(n>1){let r=65535&t,i=this.stack.length-3*n;if(i>=0&&e.getGoto(this.stack[i],r,!1)>=0)return n<<19|65536|r}}else{let e=n(t,i+1);if(null!=e)return e}})};return n(this.state,0)}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(3!=this.stack.length)return!1;let{parser:e}=this.p;return 65535==e.data[e.stateSlot(this.state,1)]&&!e.stateSlot(this.state,4)}restart(){this.storeNode(0,this.pos,this.pos,4,!0),this.state=this.stack[0],this.stack.length=0}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(let t=0;t<this.stack.length;t+=3)if(this.stack[t]!=e.stack[t])return!1;return!0}get parser(){return this.p.parser}dialectEnabled(e){return this.p.parser.dialect.flags[e]}shiftContext(e,t){this.curContext&&this.updateContext(this.curContext.tracker.shift(this.curContext.context,e,this,this.p.stream.reset(t)))}reduceContext(e,t){this.curContext&&this.updateContext(this.curContext.tracker.reduce(this.curContext.context,e,this,this.p.stream.reset(t)))}emitContext(){let e=this.buffer.length-1;(e<0||-3!=this.buffer[e])&&this.buffer.push(this.curContext.hash,this.pos,this.pos,-3)}emitLookAhead(){let e=this.buffer.length-1;(e<0||-4!=this.buffer[e])&&this.buffer.push(this.lookAhead,this.pos,this.pos,-4)}updateContext(e){if(e!=this.curContext.context){let t=new l(this.curContext.tracker,e);t.hash!=this.curContext.hash&&this.emitContext(),this.curContext=t}}setLookAhead(e){return!(e<=this.lookAhead)&&(this.emitLookAhead(),this.lookAhead=e,!0)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}}class l{constructor(e,t){this.tracker=e,this.context=t,this.hash=e.strict?e.hash(t):0}}class s{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let t=e>>19;0==t?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(t-1)*3;let n=this.start.p.parser.getGoto(this.stack[this.base-3],65535&e,!0);this.state=n}}class a{constructor(e,t,n){this.stack=e,this.pos=t,this.index=n,this.buffer=e.buffer,0==this.index&&this.maybeNext()}static create(e,t=e.bufferBase+e.buffer.length){return new a(e,t,t-e.bufferBase)}maybeNext(){let e=this.stack.parent;null!=e&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,0==this.index&&this.maybeNext()}fork(){return new a(this.stack,this.pos,this.index)}}function u(e,t=Uint16Array){if("string"!=typeof e)return e;let n=null;for(let r=0,i=0;r<e.length;){let o=0;for(;;){let t=e.charCodeAt(r++),n=!1;if(126==t){o=65535;break}t>=92&&t--,t>=34&&t--;let i=t-32;if(i>=46&&(i-=46,n=!0),o+=i,n)break;o*=46}n?n[i++]=o:n=new t(o)}return n}class c{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}let d=new c;class h{constructor(e,t){this.input=e,this.ranges=t,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=d,this.rangeIndex=0,this.pos=this.chunkPos=t[0].from,this.range=t[0],this.end=t[t.length-1].to,this.readNext()}resolveOffset(e,t){let n=this.range,r=this.rangeIndex,i=this.pos+e;for(;i<n.from;){if(!r)return null;let e=this.ranges[--r];i-=n.from-e.to,n=e}for(;t<0?i>n.to:i>=n.to;){if(r==this.ranges.length-1)return null;let e=this.ranges[++r];i+=e.from-n.to,n=e}return i}clipPos(e){if(e>=this.range.from&&e<this.range.to)return e;for(let t of this.ranges)if(t.to>e)return Math.max(e,t.from);return this.end}peek(e){let t=this.chunkOff+e,n,r;if(t>=0&&t<this.chunk.length)n=this.pos+e,r=this.chunk.charCodeAt(t);else{let t=this.resolveOffset(e,1);if(null==t)return -1;if((n=t)>=this.chunk2Pos&&n<this.chunk2Pos+this.chunk2.length)r=this.chunk2.charCodeAt(n-this.chunk2Pos);else{let e=this.rangeIndex,t=this.range;for(;t.to<=n;)t=this.ranges[++e];this.chunk2=this.input.chunk(this.chunk2Pos=n),n+this.chunk2.length>t.to&&(this.chunk2=this.chunk2.slice(0,t.to-n)),r=this.chunk2.charCodeAt(0)}}return n>=this.token.lookAhead&&(this.token.lookAhead=n+1),r}acceptToken(e,t=0){let n=t?this.resolveOffset(t,-1):this.pos;if(null==n||n<this.token.start)throw RangeError("Token end out of bounds");this.token.value=e,this.token.end=n}acceptTokenTo(e,t){this.token.value=e,this.token.end=t}getChunk(){if(this.pos>=this.chunk2Pos&&this.pos<this.chunk2Pos+this.chunk2.length){let{chunk:e,chunkPos:t}=this;this.chunk=this.chunk2,this.chunkPos=this.chunk2Pos,this.chunk2=e,this.chunk2Pos=t,this.chunkOff=this.pos-this.chunkPos}else{this.chunk2=this.chunk,this.chunk2Pos=this.chunkPos;let e=this.input.chunk(this.pos),t=this.pos+e.length;this.chunk=t>this.range.to?e.slice(0,this.range.to-this.pos):e,this.chunkPos=this.pos,this.chunkOff=0}}
1readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(e,t){if(t?(this.token=t,t.start=e,t.lookAhead=e+1,t.value=t.extended=-1):this.token=d,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e<this.range.from;)this.range=this.ranges[--this.rangeIndex];for(;e>=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e<this.chunkPos+this.chunk.length?this.chunkOff=e-this.chunkPos:(this.chunk="",this.chunkOff=0),this.readNext()}return this}read(e,t){if(e>=this.chunkPos&&t<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,t-this.chunkPos);if(e>=this.chunk2Pos&&t<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,t-this.chunk2Pos);if(e>=this.range.from&&t<=this.range.to)return this.input.read(e,t);let n="";for(let r of this.ranges){if(r.from>=t)break;r.to>e&&(n+=this.input.read(Math.max(r.from,e),Math.min(r.to,t)))}return n}}class f{constructor(e,t){this.data=e,this.id=t}token(e,t){let{parser:n}=t.p;m(this.data,e,t,this.id,n.data,n.tokenPrecTable)}}f.prototype.contextual=f.prototype.fallback=f.prototype.extend=!1;class p{constructor(e,t,n){this.precTable=t,this.elseToken=n,this.data="string"==typeof e?u(e):e}token(e,t){let n=e.pos,r=0;for(;;){let n=e.next<0,i=e.resolveOffset(1,1);if(m(this.data,e,t,0,this.data,this.precTable),e.token.value>-1)break;if(null==this.elseToken)return;if(!n&&r++,null==i)break;e.reset(i,e.token)}r&&(e.reset(n,e.token),e.acceptToken(this.elseToken,r))}}p.prototype.contextual=f.prototype.fallback=f.prototype.extend=!1;class g{constructor(e,t={}){this.token=e,this.contextual=!!t.contextual,this.fallback=!!t.fallback,this.extend=!!t.extend}}function m(e,t,n,r,i,o){let l=0,s=1<<r,{dialect:a}=n.p.parser;o:for(;(s&e[l])!=0;){let n=e[l+1];for(let r=l+3;r<n;r+=2)if((e[r+1]&s)>0){let n=e[r];if(a.allows(n)&&(-1==t.token.value||t.token.value==n||function(e,t,n,r){let i=O(n,r,t);return i<0||O(n,r,e)<i}(n,t.token.value,i,o))){t.acceptToken(n);break}}let r=t.next,u=0,c=e[l+2];if(t.next<0&&c>u&&65535==e[n+3*c-3]){l=e[n+3*c-1];continue}for(;u<c;){let i=u+c>>1,o=n+i+(i<<1),s=e[o],a=e[o+1]||65536;if(r<s)c=i;else if(r>=a)u=i+1;else{l=e[o+2],t.advance();continue o}}break}}function O(e,t,n){for(let r=t,i;65535!=(i=e[r]);r++)if(i==n)return r-t;return -1}let y=void 0!==i&&i.env&&/\bparse\b/.test(i.env.LOG),v=null;function x(e,t,n){let i=e.cursor(r.Qj.IncludeAnonymous);for(i.moveTo(t);;)if(!(n<0?i.childBefore(t):i.childAfter(t)))for(;;){if((n<0?i.to<t:i.from>t)&&!i.type.isError)return n<0?Math.max(0,Math.min(i.to-1,t-25)):Math.min(e.length,Math.max(i.from+1,t+25));if(n<0?i.prevSibling():i.nextSibling())break;if(!i.parent())return n<0?0:e.length}}class b{constructor(e,t){this.fragments=e,this.nodeSet=t,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?x(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?x(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(e){if(e<this.nextStart)return null;for(;this.fragment&&this.safeTo<=e;)this.nextFragment();if(!this.fragment)return null;for(;;){let t=this.trees.length-1;if(t<0)return this.nextFragment(),null;let n=this.trees[t],i=this.index[t];if(i==n.children.length){this.trees.pop(),this.start.pop(),this.index.pop();continue}let o=n.children[i],l=this.start[t]+n.positions[i];if(l>e)return this.nextStart=l,null;if(o instanceof r.PH){if(l==e){if(l<this.safeFrom)return null;let e=l+o.length;
1if(e<=this.safeTo){let t=o.prop(r.uY.lookAhead);if(!t||e+t<this.fragment.to)return o}}this.index[t]++,l+o.length>=Math.max(this.safeFrom,e)&&(this.trees.push(o),this.start.push(l),this.index.push(0))}else this.index[t]++,this.nextStart=l+o.length}}}class w{constructor(e,t){this.stream=t,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(e=>new c)}getActions(e){let t=0,n=null,{parser:r}=e.p,{tokenizers:i}=r,o=r.stateSlot(e.state,3),l=e.curContext?e.curContext.hash:0,s=0;for(let r=0;r<i.length;r++){if((1<<r&o)==0)continue;let a=i[r],u=this.tokens[r];if((!n||a.fallback)&&((a.contextual||u.start!=e.pos||u.mask!=o||u.context!=l)&&(this.updateCachedToken(u,a,e),u.mask=o,u.context=l),u.lookAhead>u.end+25&&(s=Math.max(u.lookAhead,s)),0!=u.value)){let r=t;if(u.extended>-1&&(t=this.addActions(e,u.extended,u.end,t)),t=this.addActions(e,u.value,u.end,t),!a.extend&&(n=u,t>r))break}}for(;this.actions.length>t;)this.actions.pop();return s&&e.setLookAhead(s),n||e.pos!=this.stream.end||((n=new c).value=e.p.parser.eofTerm,n.start=n.end=e.pos,t=this.addActions(e,n.value,n.end,t)),this.mainToken=n,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let t=new c,{pos:n,p:r}=e;return t.start=n,t.end=Math.min(n+1,r.stream.end),t.value=n==r.stream.end?r.parser.eofTerm:0,t}updateCachedToken(e,t,n){let r=this.stream.clipPos(n.pos);if(t.token(this.stream.reset(r,e),n),e.value>-1){let{parser:t}=n.p;for(let r=0;r<t.specialized.length;r++)if(t.specialized[r]==e.value){let i=t.specializers[r](this.stream.read(e.start,e.end),n);if(i>=0&&n.p.parser.dialect.allows(i>>1)){(1&i)==0?e.value=i>>1:e.extended=i>>1;break}}}else e.value=0,e.end=this.stream.clipPos(r+1)}putAction(e,t,n,r){for(let t=0;t<r;t+=3)if(this.actions[t]==e)return r;return this.actions[r++]=e,this.actions[r++]=t,this.actions[r++]=n,r}addActions(e,t,n,r){let{state:i}=e,{parser:o}=e.p,{data:l}=o;for(let e=0;e<2;e++)for(let s=o.stateSlot(i,e?2:1);;s+=3){if(65535==l[s])if(1==l[s+1])s=Q(l,s+2);else{0==r&&2==l[s+1]&&(r=this.putAction(Q(l,s+2),t,n,r));break}l[s]==t&&(r=this.putAction(Q(l,s+1),t,n,r))}return r}}class k{constructor(e,t,n,r){this.parser=e,this.input=t,this.ranges=r,this.recovering=0,this.nextStackID=9812,this.minStackPos=0,this.reused=[],this.stoppedAt=null,this.lastBigReductionStart=-1,this.lastBigReductionSize=0,this.bigReductionCount=0,this.stream=new h(t,r),this.tokens=new w(e,this.stream),this.topTerm=e.top[1];let{from:i}=r[0];this.stacks=[o.start(this,e.top[0],i)],this.fragments=n.length&&this.stream.end-i>4*e.bufferLength?new b(n,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e,t,n=this.stacks,r=this.minStackPos,i=this.stacks=[];if(this.bigReductionCount>300&&1==n.length){let[e]=n;for(;e.forceReduce()&&e.stack.length&&e.stack[e.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let o=0;o<n.length;o++){let l=n[o];for(;;){if(this.tokens.mainToken=null,l.pos>r)i.push(l);else{if(this.advanceStack(l,i,n))continue;e||(e=[],t=[]),e.push(l);let r=this.tokens.getMainToken(l);t.push(r.value,r.end)}break}}if(!i.length){let t=e&&function(e){let t=null;for(let n of e){let e=n.p.stoppedAt;(n.pos==n.p.stream.end||null!=e&&n.pos>e)&&n.p.parser.stateFlag(n.state,2)&&(!t||t.score<n.score)&&(t=n)}return t}(e);if(t)return y&&console.log("Finish with "+this.stackID(t)),this.stackToTree(t);if(this.parser.strict)throw y&&e&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),SyntaxError("No parse at "+r);this.recovering||(this.recovering=5)}if(this.recovering&&e){let n=null!=this.stoppedAt&&e[0].pos>this.stoppedAt?e[0]:this.runRecovery(e,t,i);if(n)return y&&console.log("Force-finish "+this.stackID(n)),this.stackToTree(n.forceAll())}if(this.recovering){let e=1==this.recovering?1:3*this.recovering;if(i.length>e)for(i.sort((e,t)=>t.score-e.score);i.length>e;)i.pop();i.some(e=>e.reducePos>r)&&this.recovering--}
1else if(i.length>1){r:for(let e=0;e<i.length-1;e++){let t=i[e];for(let n=e+1;n<i.length;n++){let r=i[n];if(t.sameState(r)||t.buffer.length>500&&r.buffer.length>500)if((t.score-r.score||t.buffer.length-r.buffer.length)>0)i.splice(n--,1);else{i.splice(e--,1);continue r}}}i.length>12&&(i.sort((e,t)=>t.score-e.score),i.splice(12,i.length-12))}this.minStackPos=i[0].pos;for(let e=1;e<i.length;e++)i[e].pos<this.minStackPos&&(this.minStackPos=i[e].pos);return null}stopAt(e){if(null!=this.stoppedAt&&this.stoppedAt<e)throw RangeError("Can't move stoppedAt forward");this.stoppedAt=e}advanceStack(e,t,n){let i=e.pos,{parser:o}=this,l=y?this.stackID(e)+" -> ":"";if(null!=this.stoppedAt&&i>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let t=e.curContext&&e.curContext.tracker.strict,n=t?e.curContext.hash:0;for(let s=this.fragments.nodeAt(i);s;){let i=this.parser.nodeSet.types[s.type.id]==s.type?o.getGoto(e.state,s.type.id):-1;if(i>-1&&s.length&&(!t||(s.prop(r.uY.contextHash)||0)==n))return e.useNode(s,i),y&&console.log(l+this.stackID(e)+` (via reuse of ${o.getName(s.type.id)})`),!0;if(!(s instanceof r.PH)||0==s.children.length||s.positions[0]>0)break;let a=s.children[0];if(a instanceof r.PH&&0==s.positions[0])s=a;else break}}let s=o.stateSlot(e.state,4);if(s>0)return e.reduce(s),y&&console.log(l+this.stackID(e)+` (via always-reduce ${o.getName(65535&s)})`),!0;if(e.stack.length>=8400)for(;e.stack.length>6e3&&e.forceReduce(););let a=this.tokens.getActions(e);for(let r=0;r<a.length;){let s=a[r++],u=a[r++],c=a[r++],d=r==a.length||!n,h=d?e:e.split(),f=this.tokens.mainToken;if(h.apply(s,u,f?f.start:h.pos,c),y&&console.log(l+this.stackID(h)+` (via ${(65536&s)==0?"shift":`reduce of ${o.getName(65535&s)}`} for ${o.getName(u)} @ ${i}${h==e?"":", split"})`),d)return!0;h.pos>i?t.push(h):n.push(h)}return!1}advanceFully(e,t){let n=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>n)return S(e,t),!0}}runRecovery(e,t,n){let r=null,i=!1;for(let o=0;o<e.length;o++){let l=e[o],s=t[o<<1],a=t[(o<<1)+1],u=y?this.stackID(l)+" -> ":"";if(l.deadEnd&&(i||(i=!0,l.restart(),y&&console.log(u+this.stackID(l)+" (restarted)"),this.advanceFully(l,n))))continue;let c=l.split(),d=u;for(let e=0;e<10&&c.forceReduce()&&(y&&console.log(d+this.stackID(c)+" (via force-reduce)"),!this.advanceFully(c,n));e++)y&&(d=this.stackID(c)+" -> ");for(let e of l.recoverByInsert(s))y&&console.log(u+this.stackID(e)+" (via recover-insert)"),this.advanceFully(e,n);this.stream.end>l.pos?(a==l.pos&&(a++,s=0),l.recoverByDelete(s,a),y&&console.log(u+this.stackID(l)+` (via recover-delete ${this.parser.getName(s)})`),S(l,n)):(!r||r.score<c.score)&&(r=c)}return r}stackToTree(e){return e.close(),r.PH.build({buffer:a.create(e),nodeSet:this.parser.nodeSet,topID:this.topTerm,maxBufferLength:this.parser.bufferLength,reused:this.reused,start:this.ranges[0].from,length:e.pos-this.ranges[0].from,minRepeatType:this.parser.minRepeatTerm})}stackID(e){let t=(v||(v=new WeakMap)).get(e);return t||v.set(e,t=String.fromCodePoint(this.nextStackID++)),t+e}}function S(e,t){for(let n=0;n<t.length;n++){let r=t[n];if(r.pos==e.pos&&r.sameState(e)){t[n].score<e.score&&(t[n]=e);return}}t.push(e)}class _{constructor(e,t,n){this.source=e,this.flags=t,this.disabled=n}allows(e){return!this.disabled||0==this.disabled[e]}}let C=e=>e;class P{constructor(e){this.start=e.start,this.shift=e.shift||C,this.reduce=e.reduce||C,this.reuse=e.reuse||C,this.hash=e.hash||(()=>0),this.strict=!1!==e.strict}}class T extends r.iX{constructor(e){if(super(),this.wrappers=[],14!=e.version)throw RangeError(`Parser version (${e.version}) doesn't match runtime version (14)`);let t=e.nodeNames.split(" ");this.minRepeatTerm=t.length;for(let n=0;n<e.repeatNodeCount;n++)t.push("");let n=Object.keys(e.topRules).map(t=>e.topRules[t][1]),i=[];for(let e=0;e<t.length;e++)i.push([]);function o(e,t,n){i[e].push([t,t.deserialize(String(n))])}if(e.nodeProps)for(let t of e.nodeProps){let e=t[0];"string"==typeof e&&(e=r.uY[e]);for(let n=1;n<t.length;){let r=t[n++];if(r>=0)o(r,e,t[n++]);else{let i=t[n+-r];for(let l=-r;l>0;l--)o(t[n++],e,i);n++}}}this.nodeSet=new r.fI(t.map((t,o)=>r.Z6.define({name:o>=this.minRepeatTerm?void 0:t,id:o,props:i[o],top:n.indexOf(o)>-1,error:0==o,skipped:e.skippedNodes&&e.skippedNodes.indexOf(o)>-1}))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=r.cF;let l=u(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let e=0;e<this.specializerSpecs.length;e++)this.specialized[e]=this.specializerSpecs[e].term;this.specializers=this.specializerSpecs.map($),this.states=u(e.states,Uint32Array),this.data=u(e.stateData),this.goto=u(e.goto),this.maxTerm=e.maxTerm,this.tokenizers=e.tokenizers.map(e=>"number"==typeof e?new f(l,e):e),this.topRules=e.topRules,this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,this.tokenPrecTable=e.tokenPrec,this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,t,n){let r=new k(this,e,t,n);for(let i of this.wrappers)r=i(r,e,t,n);return r}getGoto(e,t,n=!1){let r=this.goto;if(t>=r[0])return -1;for(let i=r[t+1];;){let t=r[i++],o=1&t,l=r[i++];if(o&&n)return l;for(let n=i+(t>>1);i<n;i++)if(r[i]==e)return l;if(o)return -1}}hasAction(e,t){let n=this.data;for(let r=0;r<2;r++)for(let i=this.stateSlot(e,r?2:1),o;;i+=3){if(65535==(o=n[i]))if(1==n[i+1])o=n[i=Q(n,i+2)];else if(2==n[i+1])return Q(n,i+2);else break;if(o==t||0==o)return Q(n,i+1)}return 0}stateSlot(e,t){return this.states[6*e+t]}stateFlag(e,t){return(this.stateSlot(e,0)&t)>0}validAction(e,t){return!!this.allActions(e,e=>e==t||null)}allActions(e,t){let n=this.stateSlot(e,4),r=n?t(n):void 0;for(let n=this.stateSlot(e,1);null==r;n+=3){if(65535==this.data[n])if(1==this.data[n+1])n=Q(this.data,n+2);else break;r=t(Q(this.data,n+1))}return r}nextStates(e){let t=[];for(let n=this.stateSlot(e,1);;n+=3){if(65535==this.data[n])if(1==this.data[n+1])n=Q(this.data,n+2);else break;if((1&this.data[n+2])==0){let e=this.data[n+1];t.some((t,n)=>1&n&&t==e)||t.push(this.data[n],e)}}return t}configure(e){let t=Object.assign(Object.create(T.prototype),this);if(e.props&&(t.nodeSet=this.nodeSet.extend(...e.props)),e.top){let n=this.topRules[e.top];if(!n)throw RangeError(`Invalid top rule name ${e.top}`);t.top=n}return e.tokenizers&&(t.tokenizers=this.tokenizers.map(t=>{let n=e.tokenizers.find(e=>e.from==t);return n?n.to:t})),e.specializers&&(t.specializers=this.specializers.slice(),t.specializerSpecs=this.specializerSpecs.map((n,r)=>{let i=e.specializers.find(e=>e.from==n.external);
1if(!i)return n;let o=Object.assign(Object.assign({},n),{external:i.to});return t.specializers[r]=$(o),o})),e.contextTracker&&(t.context=e.contextTracker),e.dialect&&(t.dialect=this.parseDialect(e.dialect)),null!=e.strict&&(t.strict=e.strict),e.wrap&&(t.wrappers=t.wrappers.concat(e.wrap)),null!=e.bufferLength&&(t.bufferLength=e.bufferLength),t}hasWrappers(){return this.wrappers.length>0}getName(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){let t=this.dynamicPrecedences;return null==t?0:t[e]||0}parseDialect(e){let t=Object.keys(this.dialects),n=t.map(()=>!1);if(e)for(let r of e.split(" ")){let e=t.indexOf(r);e>=0&&(n[e]=!0)}let r=null;for(let e=0;e<t.length;e++)if(!n[e])for(let n=this.dialects[t[e]],i;65535!=(i=this.data[n++]);)(r||(r=new Uint8Array(this.maxTerm+1)))[i]=1;return new _(e,n,r)}static deserialize(e){return new T(e)}}function Q(e,t){return e[t]|e[t+1]<<16}function $(e){if(e.external){let t=+!!e.extend;return(n,r)=>e.external(n,r)<<1|t}return e.get}},72138:(e,t,n)=>{"use strict";n.d(t,{n:()=>d});var r=n(6325),i=n(5966),o=n(11997),l=n(51003),s=n(64177),a="focusScope.autoFocusOnMount",u="focusScope.autoFocusOnUnmount",c={bubbles:!1,cancelable:!0},d=r.forwardRef((e,t)=>{let{loop:n=!1,trapped:d=!1,onMountAutoFocus:m,onUnmountAutoFocus:O,...y}=e,[v,x]=r.useState(null),b=(0,l.c)(m),w=(0,l.c)(O),k=r.useRef(null),S=(0,i.s)(t,e=>x(e)),_=r.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;r.useEffect(()=>{if(d){let e=function(e){if(_.paused||!v)return;let t=e.target;v.contains(t)?k.current=t:p(k.current,{select:!0})},t=function(e){if(_.paused||!v)return;let t=e.relatedTarget;null!==t&&(v.contains(t)||p(k.current,{select:!0}))};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let n=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&p(v)});return v&&n.observe(v,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[d,v,_.paused]),r.useEffect(()=>{if(v){g.add(_);let e=document.activeElement;if(!v.contains(e)){let t=new CustomEvent(a,c);v.addEventListener(a,b),v.dispatchEvent(t),t.defaultPrevented||(function(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=document.activeElement;for(let r of e)if(p(r,{select:t}),document.activeElement!==n)return}(h(v).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&p(v))}return()=>{v.removeEventListener(a,b),setTimeout(()=>{let t=new CustomEvent(u,c);v.addEventListener(u,w),v.dispatchEvent(t),t.defaultPrevented||p(null!=e?e:document.body,{select:!0}),v.removeEventListener(u,w),g.remove(_)},0)}}},[v,b,w,_]);let C=r.useCallback(e=>{if(!n&&!d||_.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,r=document.activeElement;if(t&&r){let t=e.currentTarget,[i,o]=function(e){let t=h(e);return[f(t,e),f(t.reverse(),e)]}(t);i&&o?e.shiftKey||r!==o?e.shiftKey&&r===i&&(e.preventDefault(),n&&p(o,{select:!0})):(e.preventDefault(),n&&p(i,{select:!0})):r===t&&e.preventDefault()}},[n,d,_.paused]);return(0,s.jsx)(o.sG.div,{tabIndex:-1,...y,ref:S,onKeyDown:C})});function h(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function f(e,t){for(let n of e)if(!function(e,t){let{upTo:n}=t;if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===n||e!==n);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(n,{upTo:t}))return n}function p(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e&&e.focus){var n;let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&(n=e)instanceof HTMLInputElement&&"select"in n&&t&&e.select()}}d.displayName="FocusScope";var g=function(){let e=[];return{add(t){let n=e[0];t!==n&&(null==n||n.pause()),(e=m(e,t)).unshift(t)},remove(t){var n;null==(n=(e=m(e,t))[0])||n.resume()}}}();function m(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}},72841:(e,t,n)=>{"use strict";n.d(t,{Y:()=>s});var r=n(14725),i=n(84544),o=n(6325);function l(e,t){return e.getEditorState().read(()=>{let e=(0,i.nsf)(t);return null!==e&&e.isSelected()})}function s(e){let[t]=(0,r.DF)(),[n,s]=(0,o.useState)(()=>l(t,e));return(0,o.useEffect)(()=>{let n=!0,r=t.registerUpdateListener(()=>{n&&s(l(t,e))});return()=>{n=!1,r()}},[t,e]),[n,(0,o.useCallback)(n=>{t.update(()=>{let t=(0,i.vJq)();(0,i.RTZ)(t)||(t=(0,i.rUs)(),(0,i.n1P)(t)),(0,i.RTZ)(t)&&(n?t.add(e):t.delete(e))})},[t,e]),(0,o.useCallback)(()=>{t.update(()=>{let e=(0,i.vJq)();(0,i.RTZ)(e)&&e.clear()})},[t])]}},73479:(e,t,n)=>{"use strict";function r(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}n.d(t,{mK:()=>r}),"undefined"!=typeof window&&window.document&&window.document.createElement}
1,73533:(e,t,n)=>{"use strict";n.d(t,{a:()=>d});var r=n(14725),i=n(6325),o=n(64177),l=n(1631),s=n(6105);let a="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?i.useLayoutEffect:i.useEffect,u=(0,i.forwardRef)(function({editor:e,ariaActiveDescendant:t,ariaAutoComplete:n,ariaControls:r,ariaDescribedBy:l,ariaErrorMessage:s,ariaExpanded:u,ariaInvalid:c,ariaLabel:d,ariaLabelledBy:h,ariaMultiline:f,ariaOwns:p,ariaRequired:g,autoCapitalize:m,className:O,id:y,role:v="textbox",spellCheck:x=!0,style:b,tabIndex:w,"data-testid":k,...S},_){let[C,P]=(0,i.useState)(e.isEditable()),T=(0,i.useCallback)(t=>{t&&t.ownerDocument&&t.ownerDocument.defaultView?e.setRootElement(t):e.setRootElement(null)},[e]),Q=(0,i.useMemo)(()=>(function(...e){return t=>{e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}})(_,T),[T,_]);return a(()=>(P(e.isEditable()),e.registerEditableListener(e=>{P(e)})),[e]),(0,o.jsx)("div",{"aria-activedescendant":C?t:void 0,"aria-autocomplete":C?n:"none","aria-controls":C?r:void 0,"aria-describedby":l,...null!=s?{"aria-errormessage":s}:{},"aria-expanded":C&&"combobox"===v?!!u:void 0,...null!=c?{"aria-invalid":c}:{},"aria-label":d,"aria-labelledby":h,"aria-multiline":f,"aria-owns":C?p:void 0,"aria-readonly":!C||void 0,"aria-required":g,autoCapitalize:m,className:O,contentEditable:C,"data-testid":k,id:y,ref:Q,role:v,spellCheck:x,style:b,tabIndex:w,...S})});function c(e){return e.getEditorState().read((0,l.yl)(e.isComposing()))}let d=(0,i.forwardRef)(function(e,t){let{placeholder:n,...i}=e,[l]=(0,r.DF)();return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(u,{editor:l,...i,ref:t}),null!=n&&(0,o.jsx)(h,{editor:l,content:n})]})});function h({content:e,editor:t}){let n=function(e){let[t,n]=(0,i.useState)(()=>c(e));return a(()=>{function t(){n(c(e))}return t(),(0,s.Sd)(e.registerUpdateListener(()=>{t()}),e.registerEditableListener(()=>{t()}))},[e]),t}(t),[r,l]=(0,i.useState)(t.isEditable());if((0,i.useLayoutEffect)(()=>(l(t.isEditable()),t.registerEditableListener(e=>{l(e)})),[t]),!n)return null;let u=null;return"function"==typeof e?u=e(r):null!==e&&(u=e),null===u?null:(0,o.jsx)("div",{"aria-hidden":!0,children:u})}},74972:(e,t,n)=>{"use strict";n.d(t,{R:()=>a});var r=n(6325),i=n(64177);function o(e,t){return(o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var l={error:null},s=function(e){function t(){for(var t,n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).state=l,t.resetErrorBoundary=function(){for(var e,n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];null==t.props.onReset||(e=t.props).onReset.apply(e,r),t.reset()},t}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,o(t,e),t.getDerivedStateFromError=function(e){return{error:e}};var n=t.prototype;return n.reset=function(){this.setState(l)},n.componentDidCatch=function(e,t){var n,r;null==(n=(r=this.props).onError)||n.call(r,e,t)},n.componentDidUpdate=function(e,t){var n,r,i,o,l=this.state.error,s=this.props.resetKeys;null!==l&&null!==t.error&&(void 0===(i=e.resetKeys)&&(i=[]),void 0===(o=s)&&(o=[]),i.length!==o.length||i.some(function(e,t){return!Object.is(e,o[t])}))&&(null==(n=(r=this.props).onResetKeysChange)||n.call(r,e.resetKeys,s),this.reset())},n.render=function(){var e=this.state.error,t=this.props,n=t.fallbackRender,i=t.FallbackComponent,o=t.fallback;if(null!==e){var l={error:e,resetErrorBoundary:this.resetErrorBoundary};if(r.isValidElement(o))return o;if("function"==typeof n)return n(l);if(i)return r.createElement(i,l);throw Error("react-error-boundary requires either a fallback, fallbackRender, or FallbackComponent prop")}return this.props.children},t}(r.Component);function a({children:e,onError:t}){return(0,i.jsx)(s,{fallback:(0,i.jsx)("div",{style:{border:"1px solid #f00",color:"#f00",padding:"8px"},children:"An error was thrown."}),onError:t,children:e})}},75126:(e,t,n)=>{"use strict";n.d(t,{Cl:()=>r,Tt:()=>i,fX:()=>o});var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function i(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}Object.create;function o(e,t,n){if(n||2==arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}Object.create,"function"==typeof SuppressedError&&SuppressedError},75587:()=>{Prism.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CA
1SE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}}
1,78798:(e,t,n)=>{"use strict";n.d(t,{Hd:()=>p,PL:()=>f,fS:()=>d,s0:()=>u});var r=n(14725),i=n(72841),o=n(6105),l=n(84544),s=n(6325),a=n(64177);let u=(0,l.guI)("INSERT_HORIZONTAL_RULE_COMMAND");function c({nodeKey:e}){let[t]=(0,r.DF)(),[n,a,u]=(0,i.Y)(e);return(0,s.useEffect)(()=>(0,o.Sd)(t.registerCommand(l.d8p,r=>{let i=t.getElementByKey(e);return r.target===i&&(r.shiftKey||u(),a(!n),!0)},l.AcJ)),[u,t,n,e,a]),(0,s.useEffect)(()=>{let r=t.getElementByKey(e),i=t._config.theme.hrSelected??"selected";null!==r&&(n?(0,o.ZB)(r,i):(0,o.HE)(r,i))},[t,n,e]),null}class d extends l.Kp7{static getType(){return"horizontalrule"}static clone(e){return new d(e.__key)}static importJSON(e){return f().updateFromJSON(e)}static importDOM(){return{hr:()=>({conversion:h,priority:0})}}exportDOM(){return{element:document.createElement("hr")}}createDOM(e){let t=document.createElement("hr");return(0,o.ZB)(t,e.theme.hr),t}getTextContent(){return"\n"}isInline(){return!1}updateDOM(){return!1}decorate(){return(0,a.jsx)(c,{nodeKey:this.__key})}}function h(){return{node:f()}}function f(){return(0,l.pTq)(new d)}function p(e){return e instanceof d}},79964:(e,t,n)=>{"use strict";n.d(t,{OL:()=>a,eo:()=>d,kI:()=>h});var r=n(84544),i=n(88688),o=n(96507),l=n(61660),s=n(45580);function a(e){try{let t=e.anchor,n=e.focus,r=e.anchor.getNode(),i=e.focus.getNode();if(r===i)return r;if(e.isBackward())return(0,s.Nx)(n)?r:i;return(0,s.Nx)(t)?r:i}catch{return null}}let u=["transform","perspective","filter","backdrop-filter","contain","container-type"],c=["layout","paint","strict","content"];function d(e){let t=(0,r.vJq)(),n=window.getSelection(),i=document.activeElement,o=e.getRootElement();if(null!==t&&null!==n&&null!==o&&o.contains(n.anchorNode)&&e.isEditable()){let e,t=n.getRangeAt(0);if(n.isCollapsed){let t=n.anchorNode;(null==t?void 0:t.nodeType)==3&&(t=t.parentNode),(e=t.getBoundingClientRect()).width=0}else if(n.anchorNode===o){let t=o;for(;null!=t.firstElementChild;)t=t.firstElementChild;e=t.getBoundingClientRect()}else e=t.getBoundingClientRect();let r=function(e){let t=null==e?void 0:e.parentElement;for(;t;){let e=window.getComputedStyle(t),n=e.willChange.split(",").map(e=>e.trim()).some(e=>u.includes(e));if("none"!==e.transform||"none"!==e.perspective||"none"!==e.filter||"none"!==e.backdropFilter||c.includes(e.contain)||"normal"!==e.containerType||"auto"===e.contentVisibility||n)return t;t=t.parentElement}return null}(o);if(r){let t=r.getBoundingClientRect();return{top:Math.round(e.top-t.top),left:Math.round(e.left-t.left),width:Math.round(e.width),height:Math.round(e.height)}}return{top:Math.round(e.top),left:Math.round(e.left),width:Math.round(e.width),height:Math.round(e.height)}}return null==i||i.className,null}function h(e,t){let n="";return e.getEditorState().read(()=>{let e=(0,r.vJq)();if(!e||!(0,r.I2P)(e)||e.isCollapsed())return;let t=e.getNodes();if(0===t.length)return;let s=new Set;t.forEach(e=>{let t=e;for(;t;){if((0,o.Pi)(t)||(0,l.Mz)(t)||"paragraph"===t.getType()||"quote"===t.getType()){(0,r.ff4)(t)&&s.add(t);break}t=t.getParent()}}),n=(s.size>0?Array.from(s):t).map(e=>(function e(t){if((0,o.Pi)(t)){let n=parseInt(t.getTag().replace("h","")),r=t.getChildren().map(t=>e(t)).join("");return"#".repeat(n)+" "+r+"\n\n"}if((0,l.Mz)(t)){let n=t.getParent();return(n&&(0,l.HY)(n)&&"number"===n.getListType()?"1. ":"- ")+t.getChildren().map(t=>e(t)).join("")+"\n"}if((0,l.HY)(t))return t.getChildren().map(t=>e(t)).join("")+"\n";if((0,r.kFe)(t)){let e=t.getTextContent(),n=t.getFormat();return 16&n?`\`${e}\``:(1&n&&(e=`**${e}**`),2&n&&(e=`*${e}*`),4&n&&(e=`~~${e}~~`),e)}if((0,i.FJ)(t)){let n=t.getURL(),r=t.getTitle(),i=t.getChildren().map(t=>e(t)).join("");return r?`[${i}](${n} "${r}")`:`[${i}](${n})`}else if((0,r.ff4)(t))return t.getChildren().map(t=>e(t)).join("");return t.getTextContent()})(e)).join("")}),n.trim()}},80888:(e,t,n)=>{"use strict";n.d(t,{ni:()=>O,zW:()=>y,Vy:()=>h,qh:()=>g});var r=n(44443),i=n(84544),o=n(6325),l=n(60959);function s(){let e=l.lQ;return{publish:()=>{e()},subscribe:t=>{e=t}}}var a=n(60665),u=n(1029),c=Object.defineProperty,d=(e,t,n)=>(((e,t,n)=>t in e?c(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n)(e,"symbol"!=typeof t?t+"":t,n),n);class h extends i.Kp7{constructor(e,t,n,r){super(r),d(this,"__code"),d(this,"__meta"),d(this,"__language"),d(this,"__focusEmitter",s()),d(this,"setCode",e=>{e!==this.__code&&(this.getWritable().__code=e)}),d(this,"setMeta",e=>{e!==this.__meta&&(this.getWritable().__meta=e)}),d(this,"setLanguage",e=>{e!==this.__language&&(this.getWritable().__language=e)}),d(this,"select",()=>{this.__focusEmitter.publish()}),this.__code=e,this.__meta=n,this.__language=t}static getType(){return"codeblock"}static clone(e){return new h(e.__code,e.__language,e.__meta,e.__key)}afterCloneFrom(e){super.afterCloneFrom(e),this.__code=e.__code,this.__meta=e.__meta,this.__language=e.__language,this.__focusEmitter=s()}
1static importJSON(e){let{code:t,meta:n,language:r}=e;return O({code:t,language:r,meta:n})}static importDOM(){return{pre:()=>({conversion:v,priority:3})}}exportJSON(){return{code:this.getCode(),language:this.getLanguage(),meta:this.getMeta(),type:"codeblock",version:1}}createDOM(e,t){return document.createElement("div")}updateDOM(){return!1}getCode(){return this.__code}getMeta(){return this.__meta}getLanguage(){return this.__language}decorate(e){return o.createElement(m,{parentEditor:e,code:this.getCode(),meta:this.getMeta(),language:this.getLanguage(),codeBlockNode:this,nodeKey:this.getKey(),focusEmitter:this.__focusEmitter})}isInline(){return!1}}let f=o.createContext(null),p=({parentEditor:e,lexicalNode:t,children:n})=>{let r=o.useMemo(()=>({lexicalNode:t,parentEditor:e,setCode:n=>{e.update(()=>{t.setCode(n),setTimeout(()=>{e.dispatchCommand(a.Cc,void 0)},0)})},setLanguage:n=>{e.update(()=>{t.setLanguage(n)})},setMeta:n=>{e.update(()=>{t.setMeta(n)})}}),[t,e]);return o.createElement(f.Provider,{value:r},n)};function g(){let e=o.useContext(f);if(!e)throw Error("useCodeBlockEditor must be used within a CodeBlockEditor");return e}let m=e=>{let t=(0,r.X3)(a.Wd),n=(0,r.X3)(a.uf),i=(0,u.H)(t,e.language,e.meta,n);if(!i)throw Error(`No CodeBlockEditor registered for language=${e.language} meta=${e.meta}`);let l=i.Editor,{codeBlockNode:s,parentEditor:c,...d}=e;return o.createElement(p,{parentEditor:e.parentEditor,lexicalNode:e.codeBlockNode},o.createElement(l,{...d}))};function O(e){let{code:t="",language:n="",meta:r=""}=e;return new h(t,n,r)}function y(e){return e instanceof h}function v(e){let t=e.textContent,n=e.getAttribute("class")??"",r=e.getAttribute("data-language")??"",i=/language-(\w+)/.exec(n);return{node:O({code:t,language:i?i[1]:r,meta:e.getAttribute("data-meta")??""})}}},82547:(e,t,n)=>{"use strict";n.d(t,{Eq:()=>u});var r=new WeakMap,i=new WeakMap,o={},l=0,s=function(e){return e&&(e.host||s(e.parentNode))},a=function(e,t,n,a){var u=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var n=s(e);return n&&t.contains(n)?n:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});o[n]||(o[n]=new WeakMap);var c=o[n],d=[],h=new Set,f=new Set(u),p=function(e){!e||h.has(e)||(h.add(e),p(e.parentNode))};u.forEach(p);var g=function(e){!e||f.has(e)||Array.prototype.forEach.call(e.children,function(e){if(h.has(e))g(e);else try{var t=e.getAttribute(a),o=null!==t&&"false"!==t,l=(r.get(e)||0)+1,s=(c.get(e)||0)+1;r.set(e,l),c.set(e,s),d.push(e),1===l&&o&&i.set(e,!0),1===s&&e.setAttribute(n,"true"),o||e.setAttribute(a,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return g(t),h.clear(),l++,function(){d.forEach(function(e){var t=r.get(e)-1,o=c.get(e)-1;r.set(e,t),c.set(e,o),t||(i.has(e)||e.removeAttribute(a),i.delete(e)),o||e.removeAttribute(n)}),--l||(r=new WeakMap,r=new WeakMap,i=new WeakMap,o={})}},u=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),i=t||("undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live], script"))),a(r,i,n,"aria-hidden")):function(){return null}}},82991:(e,t,n)=>{"use strict";n.d(t,{py:()=>_,A:()=>Q,Mi:()=>N,_5:()=>k,zr:()=>$,WK:()=>w,NN:()=>T,XI:()=>P,sm:()=>R,_F:()=>C,uQ:()=>S});var r=n(88688),i=n(44443),o=n(84544),l=n(7814),s=n(37205),a=n(79964),u=n(60665),c=n(88218),d=n(62031),h=n(6325),f=n(91540),p=n(17415),g=n(2886),m=n(56487);function O({url:e,title:t,text:n,onSubmit:r,onCancel:i,linkAutocompleteSuggestions:o,showLinkTitleField:l,showAnchorTextField:s}){let{register:a,handleSubmit:c,control:d,setValue:O,reset:y}=(0,m.mN)({values:{url:e,title:t,text:n}}),v=(0,u.Bd)();return h.createElement("form",{onSubmit:e=>{c(r)(e),e.stopPropagation(),e.preventDefault()},onReset:e=>{e.stopPropagation(),i()},onKeyDown:e=>{"Escape"===e.key&&(e.stopPropagation(),i())},className:g(p.Ay.multiFieldForm,p.Ay.linkDialogEditForm)},h.createElement("div",{className:p.Ay.formField}
1,h.createElement("label",{htmlFor:"link-url"},v("createLink.url","URL")),h.createElement(f.D,{register:a,initialInputValue:e,inputName:"url",suggestions:o,setValue:O,control:d,placeholder:v("createLink.urlPlaceholder","Select or paste an URL"),autofocus:!0})),s?h.createElement("div",{className:p.Ay.formField},h.createElement("label",{htmlFor:"link-text",title:v("createLink.textTooltip","The text to be displayed for the link")},v("createLink.text","Anchor text")),h.createElement("input",{id:"link-text",className:p.Ay.textInput,size:40,...a("text")})):null,l?h.createElement("div",{className:p.Ay.formField},h.createElement("label",{htmlFor:"link-title",title:v("createLink.titleTooltip","The link's title attribute, shown on hover")},v("createLink.title","Link title")),h.createElement("input",{id:"link-title",className:p.Ay.textInput,size:40,...a("title")})):null,h.createElement("div",{style:{display:"flex",justifyContent:"flex-end",gap:"var(--spacing-2)"}},h.createElement("button",{type:"submit",title:v("createLink.saveTooltip","Set URL"),"aria-label":v("createLink.saveTooltip","Set URL"),className:g(p.Ay.primaryButton)},v("dialogControls.save","Save")),h.createElement("button",{type:"reset",title:v("createLink.cancelTooltip","Cancel change"),"aria-label":v("createLink.cancelTooltip","Cancel change"),className:g(p.Ay.secondaryButton)},v("dialogControls.cancel","Cancel"))))}(0,o.guI)();let y=()=>{let[e,t,n,r,o,l,s]=(0,i.uX)(u.xZ,u.Cp,u.yr,k,Q,$,R),a=(0,i.qM)(w),f=(0,i.qM)(S),m=(0,i.qM)(_),y=(0,i.qM)(C),x=(0,i.qM)(P);h.useEffect(()=>{let e=()=>{null==t||t.getEditorState().read(()=>{a(!0)})};return window.addEventListener("resize",e),window.addEventListener("scroll",e),()=>{window.removeEventListener("resize",e),window.removeEventListener("scroll",e)}},[t,a]);let[b,T]=h.useState(!1),A=(0,u.Bd)();if("inactive"===r.type)return null;let E=r.rectangle,N="preview"===r.type&&r.url.startsWith("http");return h.createElement(c.bL,{open:!0},h.createElement(c.Mz,{"data-visible":"edit"===r.type,className:p.Ay.linkDialogAnchor,style:{to
1p:`${E.top}px`,left:`${E.left}px`,width:`${E.width}px`,height:`${E.height}px`}}),h.createElement(c.ZL,{container:null==e?void 0:e.current},h.createElement(c.UC,{className:g(p.Ay.linkDialogPopoverContent),sideOffset:5,onOpenAutoFocus:e=>{e.preventDefault()},key:r.linkNodeKey},"edit"===r.type&&h.createElement(O,{url:r.url,title:r.title,text:r.text,onSubmit:f,onCancel:m.bind(null),linkAutocompleteSuggestions:o,showLinkTitleField:s,showAnchorTextField:r.withAnchorText}),"preview"===r.type&&h.createElement(h.Fragment,null,h.createElement("a",{className:p.Ay.linkDialogPreviewAnchor,href:r.url,...N?{target:"_blank",rel:"noreferrer"}:{},onClick:e=>{null!==l&&(e.preventDefault(),l(r.url))},title:N?A("linkPreview.open","Open {{url}} in new window",{url:r.url}):r.url},h.createElement("span",null,r.url),N&&n("open_in_new")),h.createElement(v,{onClick:()=>{y()},title:A("linkPreview.edit","Edit link URL"),"aria-label":A("linkPreview.edit","Edit link URL")},n("edit")),h.createElement(d.Kq,null,h.createElement(d.bL,{open:b},h.createElement(d.l9,{asChild:!0},h.createElement(v,{title:A("linkPreview.copyToClipboard","Copy to clipboard"),"aria-label":A("linkPreview.copyToClipboard","Copy to clipboard"),onClick:()=>{window.navigator.clipboard.writeText(r.url).then(()=>{T(!0),setTimeout(()=>{T(!1)},1e3)})}},n(b?"check":"content_copy"))),h.createElement(d.ZL,{container:null==e?void 0:e.current},h.createElement(d.UC,{className:g(p.Ay.tooltipContent),sideOffset:5},A("linkPreview.copied","Copied!"),h.createElement(d.i3,null))))),h.createElement(v,{title:A("linkPreview.remove","Remove link"),"aria-label":A("linkPreview.remove","Remove link"),onClick:()=>{x()}},n("link_off"))),h.createElement(c.i3,{className:p.Ay.popoverArrow}))))},v=h.forwardRef(({className:e,...t},n)=>h.createElement("button",{className:g(p.Ay.actionButton,e),ref:n,...t}));var x=n(6105);function b(e){if(!e)return null;let t=(0,a.OL)(e);if(null===t)return null;let n=t.getParent();return(0,r.FJ)(n)?n:(0,r.FJ)(t)?t:null}let w=(0,i.HN)(),k=(0,i.fh)({type:"inactive"},e=>{e.pub(u.Z4,t=>t.registerCommand(o.Q$N,()=>"preview"===e.getValue(k).type&&(e.pub(k,{type:"inactive"}),!0),o.AcJ)),e.sub(e.pipe(u.n$),t=>{"rich-text"!==t&&e.pub(k,{type:"inactive"})}),e.pub(u.Z4,t=>t.registerCommand(o.R18,t=>{if("k"===t.key&&(s.sY?t.metaKey:t.ctrlKey)&&!e.getValue(u.pc)){let n=(0,o.vJq)();if((0,o.I2P)(n))return e.pub(T),t.stopPropagation(),t.preventDefault(),!0}return!1},o.WgU)),e.sub(e.pipe(C,(0,i.EY)(k,u.Cp)),([,t,n])=>{if("preview"===t.type)setTimeout(()=>{null==n||n.getEditorState().read(()=>{let n=(0,o.nsf)(t.linkNodeKey),i=!!(0,r.FJ)(n)&&n.getTextContent().length>0&&1>=n.getChildrenSize(),l=i&&n?n.getTextContent():"";e.pub(k,{type:"edit",initialUrl:t.url,url:t.url,title:t.title,text:l,withAnchorText:i,linkNodeKey:t.linkNodeKey,rectangle:t.rectangle})})});else throw Error("Cannot switch to edit mode when not in preview mode")}),e.sub(e.pipe(S,(0,i.EY)(u.Cp,k,u.cj)),([t,n,i,l])=>{var s,a,u;let c=(null==(s=t.text)?void 0:s.trim())??"",d=(null==(a=t.url)?void 0:a.trim())??"",h=(null==(u=t.title)?void 0:u.trim())??"";if(""!==d){if(null==l?void 0:l.isCollapsed()){let e=c||h||d;null==n||n.update(()=>{let t=b(l);if(t)if((0,r.iK)(t)){let e=(0,r.zA)(d,{title:h});e.append((0,o.sTu)(c)),t.replace(e),e.select()}else t.setURL(d),t.setTitle(h),E(t.getFirstChild(),c);else{let t=(0,r.zA)(d,{title:h});t.append((0,o.sTu)(e)),(0,o.H2A)([t]),t.select()}},{discrete:!0})}else null==n||n.update(()=>{E(null==l?void 0:l.anchor.getNode(),c)}),null==n||n.dispatchCommand(r.yW,{url:d,title:h});e.pub(k,{type:"preview",linkNodeKey:i.linkNodeKey,rectangle:i.rectangle,title:h,url:d})}else"edit"===i.type&&""!==i.initialUrl&&(null==n||n.dispatchCommand(r.yW,null)),e.pub(k,{type:"inactive"})}),e.link(e.pipe(_,(0,i.EY)(k,u.Cp),(0,i.Tj)(([,e,t])=>{if("edit"===e.type)return(null==t||t.focus(),""===e.initialUrl)?{type:"inactive"}:{type:"preview",url:e.initialUrl,linkNodeKey:e.linkNodeKey,rectangle:e.rectangle};throw Error("Cannot cancel edit when not in edit mode")})),k),e.link(e.pipe(e.combine(u.cj,w),(0,i.EY)(u.Cp,k,u.pc),(0,i.Tj)(([[e],t,n,r])=>
1{if(!(0,o.I2P)(e)||!t||r)return{type:"inactive"};{let n=b(e);if(!e.isCollapsed()||!n)return{type:"inactive"};{let e=(0,a.eo)(t);return e?{type:"preview",url:n.getURL(),linkNodeKey:n.getKey(),title:n.getTitle(),rectangle:e}:{type:"inactive"}}}})),k)}),S=(0,i.HN)(),_=(0,i.rc)();(0,i.rc)();let C=(0,i.rc)(),P=(0,i.rc)(e=>{e.sub(e.pipe(P,(0,i.EY)(u.Cp)),([,e])=>{null==e||e.dispatchCommand(r.yW,null)})}),T=(0,i.rc)(e=>{e.sub(e.pipe(T,(0,i.EY)(u.cj,u.Cp),(0,i.pb)(([,e])=>(0,o.I2P)(e))),([,t,n])=>{null==n||n.focus(()=>{setTimeout(()=>{n.getEditorState().read(()=>{let r=b(t),i=(0,a.eo)(n),o=(null==r?void 0:r.getURL())??"",l=(null==r?void 0:r.getURL())??"",s=(null==r?void 0:r.getTitle())??"",u=(null==r?void 0:r.getKey())??"",c=r?r.getTextContent().length>0&&1>=r.getChildrenSize():!!(null==t?void 0:t.isCollapsed()),d=c&&r?r.getTextContent():"";e.pub(k,{type:"edit",initialUrl:o,url:l,title:s,text:d,withAnchorText:c,linkNodeKey:u,rectangle:i})})})})})}),Q=(0,i.fh)([]),$=(0,i.fh)(null),A=(0,i.fh)(null,e=>{e.pub(u.Z4,t=>{function n(n){let[i,l]=e.getValues([u.pc,A]);i&&null!==l&&t.update(()=>{let e=(0,o.xL4)(n.target);if(null!==e){let t=(0,x.Bt)(e,e=>e instanceof r.Db);null!==t&&l(n,t,t.getURL())}})}return t.registerRootListener((e,t)=>{e&&e.addEventListener("click",n),t&&t.removeEventListener("click",n)})})});function E(e,t){(0,o.kFe)(e)&&t&&(e.setTextContent(t),e.selectStart())}let R=(0,i.fh)(!0),N=(0,l.Z)({init(e,t){e.pub(u.aC,(null==t?void 0:t.LinkDialog)??y),e.pub($,(null==t?void 0:t.onClickLinkCallback)??null),e.pub(A,(null==t?void 0:t.onReadOnlyClickLinkCallback)??null),e.pub(R,(null==t?void 0:t.showLinkTitleField)??!0)},update(e,t={}){e.pub(Q,t.linkAutocompleteSuggestions??[])}})},84544:(e,t,n)=>{"use strict";function r(e,...t){let n=new URL("https://lexical.dev/docs/error"),i=new URLSearchParams;for(let n of(i.append("code",e),t))i.append("v",n);throw n.search=i.toString(),Error(`Minified Lexical error #${e}; visit ${n.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}n.d(t,{$7r:()=>e8,$ey:()=>eQ,A7V:()=>rr,AX0:()=>eI,AcJ:()=>ru,Ave:()=>i6,B$P:()=>r6,BEs:()=>iQ,CaD:()=>V,Cku:()=>nn,Csq:()=>oa,Cyw:()=>n0,Ey8:()=>tF,FEN:()=>e_,GMe:()=>nX,H2A:()=>nw,HYn:()=>e3,Huu:()=>eF,I2H:()=>te,I2P:()=>t6,IlV:()=>iY,IqF:()=>iu,JM3:()=>eM,Jvg:()=>ry,K8K:()=>ix,KfJ:()=>e6,Kp7:()=>nK,LYZ:()=>rb,MK6:()=>t5,MvL:()=>eb,Ng_:()=>re,NiT:()=>rV,OXk:()=>eY,PiT:()=>eU,Q$N:()=>eB,R18:()=>eL,RTZ:()=>ne,RTo:()=>eV,Rb_:()=>rC,S1w:()=>nm,SKc:()=>e9,Sr4:()=>eH,T40:()=>n6,TJt:()=>i5,TSH:()=>iE,TgX:()=>eK,UDz:()=>eX,V30:()=>eN,VSO:()=>e2,WKo:()=>tN,WWb:()=>e7,WgU:()=>rc,WuB:()=>eS,XKQ:()=>eC,YW5:()=>eq,Z$U:()=>rx,ZKf:()=>eR,_On:()=>ib,a9V:()=>iw,bM3:()=>eP,bMH:()=>n7,bSg:()=>rs,bbF:()=>eD,cmH:()=>iF,d8p:()=>ek,da8:()=>rd,dxY:()=>i$,e1k:()=>r3,erb:()=>iH,ev7:()=>t1,fD3:()=>ri,fGB:()=>nG,fUS:()=>eJ,ff4:()=>nH,fwY:()=>n8,gCZ:()=>ez,guI:()=>ex,hVZ:()=>n5,hi0:()=>e$,i0_:()=>i_,ieJ:()=>rf,j17:()=>E,jG6:()=>r$,jZM:()=>ra,k1Q:()=>oh,kBm:()=>t$,kFe:()=>tJ,lJ7:()=>rl,lSZ:()=>ol,mB:()=>eE,mWO:()=>i0,n0X:()=>n4,n1P:()=>rz,nYP:()=>iO,nsf:()=>rM,oqR:()=>ew,pGK:()=>os,pTq:()=>id,peL:()=>im,phO:()=>iR,rN:()=>iD,rUs:()=>nf,riq:()=>e0,sTu:()=>tH,sWS:()=>i1,sby:()=>iy,scG:()=>rk,sik:()=>eG,t5V:()=>e4,u5G:()=>e5,uTE:()=>nh,uwZ:()=>iG,vAA:()=>iv,vJq:()=>ng,viC:()=>eA,w$Z:()=>eW,w3H:()=>ik,wH$:()=>tL,waI:()=>eT,wp6:()=>i8,xL4:()=>rj,xQ8:()=>oe,y68:()=>nc});let i="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,o=i&&"documentMode"in document?document.documentMode:null,l=i&&/Mac|iPod|iPhone|iPad/.test(navigator.platform),s=i&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent),a=!(!i||!("InputEvent"in window)||o)&&"getTargetRanges"in new window.InputEvent("input"),u=i&&/Version\/[\d.]+.*Safari/.test(navigator.userAgent),c=i&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,d=i&&/Android/.test(navigator.userAgent),h=i&&/^(?=.*Chrome).*/i.test(navigator.userAgent),f=i&&d&&h,p=i&&/AppleWebKit\/[\d.]+/.test(navigator.userAgent)&&!h;function g(...e){let t=[];for(let n of e)if(n&&"string"==typeof n)for(let[e]of n.matchAll(/\S+/g))t.push(e);return t}let m=u||c||p?"\xa0":"​",O=s?"\xa0":m,y={bold:1,capitalize:1024,code:16,highlight:128,italic:2,lowercase:256,strikethrough:4,subscript:32,superscript:64,underline:8,uppercase:512},v={directionless:1,unmergeable:2},x={center:2,end:6,justify:4,left:1,right:3,start:5},b={2:"center",6:"end",4:"justify",1:"left",3:"right",5:"start"},w={normal:0,segmented:2,token:1},k={0:"normal",2:"segmented",1:"token"},S="$config",_=!1,C=0;function P(e){C=e.timeStamp}function T(e,t,n){let r="BR"===e.nodeName,i=t.__lexicalLineBreak;return i&&(e===i||r&&e.previousSibling===i)||r&&void 0!==rI(e,n)}function Q(e,t,n){_=!0;let r=performance.now()-C>100;try{nY(e,()=>{let i=ng()||e.getEditorState().read(()=>{let e=ng();return null!==e?e.clone():null}),o=new Map,l=e.getRootElement(),a=e._editorState,u=e._blockCursorElement,c=!1,d="";for(let n=0;n<t.length;n++){let h=t[n],f=h.type,p=h.target,g=function(e,t,n,r){var i;for(let o=e;o&&(i=o,!0!==i.__lexicalUnmanaged);o=ii(o)){let e=rI(o,t);
1if(void 0!==e){let t=rM(e,n);if(t)return n0(t)||!iy(o)?void 0:[o,t]}else if(o===r)return[r,rF(n)]}}(p,e,a,l);if(!g)continue;let[m,O]=g;if("characterData"===f)r&&tJ(O)&&rP(p)&&function(e,t,n){if(t6(e)){let t=e.anchor.getNode();if(t.is(n)&&e.format!==t.getFormat())return!1}return rP(t)&&n.isAttached()}(i,p,O)&&function(e,t,n){let r=im(ia(n)),i=null,o=null;null!==r&&r.anchorNode===e&&(i=r.anchorOffset,o=r.focusOffset);let l=e.nodeValue;null!==l&&rH(t,l,i,o,!1)}(p,O,e);else if("childList"===f){c=!0;let t=h.addedNodes;for(let n=0;n<t.length;n++){let r=t[n],i=rZ(r),o=r.parentNode;if(null!=o&&r!==u&&null===i&&!T(r,o,e)){if(s){let e=(iy(r)?r.innerText:null)||r.nodeValue;e&&(d+=e)}o.removeChild(r)}}let n=h.removedNodes,r=n.length;if(r>0){let t=0;for(let i=0;i<r;i++){let r=n[i];(T(r,p,e)||u===r)&&(p.appendChild(r),t++)}r!==t&&o.set(m,O)}}}if(o.size>0)for(let[t,n]of o)n.reconcileObservedMutation(t,e);let h=n.takeRecords();if(h.length>0){for(let t=0;t<h.length;t++){let n=h[t],r=n.addedNodes,i=n.target;for(let t=0;t<r.length;t++){let n=r[t],o=n.parentNode;null==o||"BR"!==n.nodeName||T(n,i,e)||o.removeChild(n)}}n.takeRecords()}null!==i&&(c&&rz(i),s&&r8(e)&&i.insertRawText(d))})}finally{_=!1}}function $(e){let t=e._observer;null!==t&&Q(e,t.takeRecords(),t)}function A(e){0===C&&ia(e).addEventListener("textInput",P,!0),e._observer=new MutationObserver((t,n)=>{Q(e,t,n)})}function E(e){let t=new Map,n=new Set;for(let r="function"==typeof e?e:e.replace;r.prototype&&void 0!==r.prototype.getType;r=Object.getPrototypeOf(r)){let{ownNodeConfig:e}=iE(r);if(e&&e.stateConfigs)for(let r of e.stateConfigs){let e;"stateConfig"in r?(e=r.stateConfig,r.flat&&n.add(e.key)):e=r,t.set(e.key,e)}}return{flatKeys:n,sharedConfigMap:t}}class R{constructor(e,t,n,r=new Map,i){this.node=e,this.sharedNodeState=t,this.unknownState=n,this.knownState=r;let{sharedConfigMap:o}=this.sharedNodeState,l=void 0!==i?i:function(e,t,n){let r=n.size;if(t)for(let i in t){let t=e.get(i);t&&n.has(t)||r++}return r}(o,n,r);this.size=l}getValue(e){let t=this.knownState.get(e);if(void 0!==t)return t;this.sharedNodeState.sharedConfigMap.set(e.key,e);let n=e.defaultValue;if(this.unknownState&&e.key in this.unknownState){let t=this.unknownState[e.key];void 0!==t&&(n=e.parse(t)),this.updateFromKnown(e,n)}return n}getInternalState(){return[this.unknownState,this.knownState]}toJSON(){let e={...this.unknownState},t={};for(let[t,n]of this.knownState)t.isEqual(n,t.defaultValue)?delete e[t.key]:e[t.key]=t.unparse(n);for(let n of this.sharedNodeState.flatKeys)n in e&&(t[n]=e[n],delete e[n]);return L(e)&&(t.$=e),t}getWritable(e){if(this.node===e)return this;let{sharedNodeState:t,unknownState:n}=this,r=new Map(this.knownState);return new R(e,t,function(e,t,n){let r;if(n)for(let[i,o]of Object.entries(n)){let n=e.get(i);n?t.has(n)||t.set(n,n.parse(o)):(r=r||{})[i]=o}return r}(t.sharedConfigMap,r,n),r,this.size)}updateFromKnown(e,t){let n=e.key;this.sharedNodeState.sharedConfigMap.set(n,e);let{knownState:r,unknownState:i}=this;r.has(e)||i&&n in i||(i&&(delete i[n],this.unknownState=L(i)),this.size++),r.set(e,t)}updateFromUnknown(e,t){let n=this.sharedNodeState.sharedConfigMap.get(e);n?this.updateFromKnown(n,n.parse(t)):(this.unknownState=this.unknownState||{},e in this.unknownState||this.size++,this.unknownState[e]=t)}updateFromJSON(e){let{knownState:t}=this;for(let e of t.keys())t.set(e,e.defaultValue);if(this.size=t.size,this.unknownState=void 0,e)for(let[t,n]of Object.entries(e))this.updateFromUnknown(t,n)}}function N(e){return e.__state?e.__state.sharedNodeState:rO(i_(),e.getType()).sharedNodeState}function L(e){if(e)for(let t in e)return e}function M(e,t,n){for(let[r,i]of t.knownState){if(e.has(r.key))continue;e.add(r.key);let t=n?n.getValue(r):r.defaultValue;
1if(t!==i&&!r.isEqual(t,i))return!0}return!1}function Z(e,t,n){let{unknownState:r}=t,i=n?n.unknownState:void 0;if(r){for(let[t,n]of Object.entries(r))if(!e.has(t)&&(e.add(t),n!==(i?i[t]:void 0)))return!0}return!1}function I(e,t){let n=e.__state;return n&&n.node===e?n.getWritable(t):n}function j(e,t){let n=e.__mode,r=e.__format,i=e.__style,o=t.__mode,l=t.__format,s=t.__style,a=e.__state,u=t.__state;return(null===n||n===o)&&(null===r||r===l)&&(null===i||i===s)&&(null===e.__state||a===u||function(e,t){if(e===t)return!0;if(e&&t&&e.size!==t.size)return!1;let n=new Set;return!(e&&M(n,e,t)||t&&M(n,t,e)||e&&Z(n,e,t)||t&&Z(n,t,e))}(a,u))}function X(e,t){let n=e.mergeWithSibling(t),r=nL()._normalizedNodes;return r.add(e.__key),r.add(t.__key),n}function D(e){let t,n,r=e;if(""!==r.__text||!r.isSimpleText()||r.isUnmergeable()){for(;null!==(t=r.getPreviousSibling())&&tJ(t)&&t.isSimpleText()&&!t.isUnmergeable();){if(""!==t.__text){j(t,r)&&(r=X(t,r));break}t.remove()}for(;null!==(n=r.getNextSibling())&&tJ(n)&&n.isSimpleText()&&!n.isUnmergeable();){if(""!==n.__text){j(r,n)&&(r=X(r,n));break}n.remove()}}else r.remove()}function V(e){return F(e.anchor),F(e.focus),e}function F(e){for(;"element"===e.type;){let t,n,r=e.getNode(),i=e.offset;if(i===r.getChildrenSize()?(t=r.getChildAtIndex(i-1),n=!0):(t=r.getChildAtIndex(i),n=!1),tJ(t)){e.set(t.__key,n?t.getTextContentSize():0,"text",!0);break}if(!nH(t))break;e.set(t.__key,n?t.getChildrenSize():0,"element",!0)}}let z,B,W,Y,q,U,G,H,J,K,ee="",et=null,en="",er="",ei=!1,eo=!1;function el(e,t){let n=G.get(e);if(null!==t){let n=ev(e);n.parentNode===t&&t.removeChild(n)}if(H.has(e)||B._keyToDOMMap.delete(e),nH(n)){let e=em(n,G);es(e,0,e.length-1,null)}void 0!==n&&r4(K,W,Y,n,"destroyed")}function es(e,t,n,r){let i=t;for(;i<=n;++i){let t=e[i];void 0!==t&&el(t,r)}}function ea(e,t){e.setProperty("text-align",t)}function eu(e,t){let n=z.theme.indent;if("string"==typeof n){let r=e.classList.contains(n);t>0&&!r?e.classList.add(n):t<1&&r&&e.classList.remove(n)}let r=getComputedStyle(e).getPropertyValue("--lexical-indent-base-value")||"40px";e.style.setProperty("padding-inline-start",0===t?"":`calc(${t} * ${r})`)}function ec(e,t){let n=e.style;0===t?ea(n,""):1===t?ea(n,"left"):2===t?ea(n,"center"):3===t?ea(n,"right"):4===t?ea(n,"justify"):5===t?ea(n,"start"):6===t&&ea(n,"end")}function ed(e,t){let n=function(e){let t=e.__dir;if(null!==t)return t;if(n5(e))return null;let n=e.getParentOrThrow();return n5(n)&&null===n.__dir?"auto":null}(t);null!==n?e.dir=n:e.removeAttribute("dir")}function eh(e,t){let n=H.get(e);void 0===n&&r(60);let i=n.createDOM(z,B);if(function(e,t,n){let r=n._keyToDOMMap;t[`__lexicalKey_${n._key}`]=e,r.set(e,t)}(e,i,B),tJ(n)?i.setAttribute("data-lexical-text","true"):n0(n)&&i.setAttribute("data-lexical-decorator","true"),nH(n)){let e=n.__indent,t=n.__size;ed(i,n),0!==e&&eu(i,e),0!==t&&ef(em(n,H),n,0,t-1,n.getDOMSlot(i));let r=n.__format;0!==r&&ec(i,r),n.isInline()||eg(null,n,i),it(n)&&(ee+="\n\n",er+="\n\n")}else{let t=n.getTextContent();if(n0(n)){let t=n.decorate(B,z);null!==t&&eO(e,t),i.contentEditable="false"}ee+=t,er+=t}return null!==t&&t.insertChild(i),r4(K,W,Y,n,"created"),i}function ef(e,t,n,r,i){let o=ee;ee="";let l=n;for(;l<=r;++l){eh(e[l],i);let t=H.get(e[l]);null!==t&&tJ(t)&&(null===et&&(et=t.getFormat()),""===en&&(en=t.getStyle()))}it(t)&&(ee+="\n\n"),i.element.__lexicalTextContent=ee,ee=o+ee}function ep(e,t){if(e){let n=e.__last;if(n){let e=t.get(n);if(e)return tL(e)?"line-break":n0(e)&&e.isInline()?"decorator":null}return"empty"}return null}function eg(e,t,n){let r=ep(e,G),i=ep(t,H);r!==i&&t.getDOMSlot(n).setManagedLineBreak(i)}function em(e,t){let n=[],i=e.__first;for(;null!==i;){let e=t.get(i);void 0===e&&r(101),n.push(i),i=e.__next}return n}function eO(e,t){let n=B._pendingDecorators,r=B._decorators;if(null===n){if(r[e]===t)return;n=rX(B)}n[e]=t}function ey(e){let t=e.nextSibling;return null!==t&&t===B._blockCursorElement&&(t=t.nextSibling),t}function ev(e){let t=J.get(e);return void 0===t&&r(75,e),t}function ex(e){return{type:e}}let eb=ex("SELECTION_CHANGE_COMMAND"),ew=ex("SELECTION_INSERT_CLIPBOARD_NODES_COMMAND"),ek=ex("CLICK_COMMAND"),eS=ex("DELETE_CHARACTER_COMMAND"),e_=ex("INSERT_LINE_BREAK_COMMAND"),eC=ex("INSERT_PARAGRAPH_COMMAND"),eP=ex("CONTROLLED_TEXT_INSERTION_COMMAND"),eT=ex("PASTE_COMMAND"),eQ=ex("REMOVE_TEXT_COMMAND"),e$=ex("DELETE_WORD_COMMAND"),eA=ex("DELETE_LINE_COMMAND"),eE=ex("FORMAT_TEXT_COMMAND"),eR=ex("UNDO_COMMAND"),eN=ex("REDO_COMMAND"),eL=ex("KEYDOWN_COMMAND"),eM=ex("KEY_ARROW_RIGHT_COMMAND"),eZ=ex("MOVE_TO_END"),eI=ex("KEY_ARROW_LEFT_COMMAND"),ej=ex("MOVE_TO_START"),eX=ex("KEY_ARROW_UP_COMMAND"),eD=ex("KEY_ARROW_DOWN_COMMAND"),eV=ex("KEY_ENTER_COMMAND"),eF=ex("KEY_SPACE_COMMAND"),ez=ex("KEY_BACKSPACE_COMMAND"),eB=ex("KEY_ESCAPE_COMMAND"),eW=ex("KEY_DELETE_COMMAND"),eY=ex("KEY_TAB_COMMAND"),eq=ex("INSERT_TAB_COMMAND"),eU=ex("INDENT_CONTENT_COMMAND"),eG=ex("OUTDENT_CONTENT_COMMAND"),eH=ex("DROP_COMMAND"),eJ=ex("FORMAT_ELEMENT_COMMAND"),eK=ex("DRAGSTART_COMMAND"),e0=ex("DRAGOVER_COMMAND"),e1=ex("DRAGEND_COMMAND"),e5=ex("COPY_COMMAND"),e2=ex("CUT_COMMAND"),e3=ex("SELECT_ALL_COMMAND"),e9=ex("CLEAR_EDITOR_COMMAND"),e4=ex("CLEAR_HISTORY_COMMAND"),e7=ex("CAN_REDO_COMMAND"),e6=ex("CAN_UNDO_COMMAND"),e8=ex("FOCUS_COMMAND"),te=ex("BLUR_COMMAND"),tt=ex("KEY_MODIFIER_COMMAND"),tn=Object.freeze({}),tr=[["keydown",function(e,t){if((ti=e.timeStamp,to=e.key,!(t.isComposing()||ie(t,eL,e)))&&null!=e.key){if(tf&&r2(e))return nY(t,()=>{tk(t,tp)}),tf=!1,void(tp="");if(r0(e,"ArrowRight",{shiftKey:"any"}))ie(t,eM,e);else if(r0(e,"ArrowRight",r1))ie(t,eZ,e);else if(r0(e,"ArrowLeft",{shiftKey:"any"}))ie(t,eI,e);else if(r0(e,"ArrowLeft",r1))ie(t,ej,e);else if(r0(e,"ArrowUp",{altKey:"any",shiftKey:"any"}))ie(t,eX,e);else if(r0(e,"ArrowDown",{altKey:"any",shiftKey:"any"}))ie(t,eD,e);else if(r0(e,"Enter",{altKey:"any",ctrlKey:"any",metaKey:"any",shiftKey:!0}))td=!0,ie(t,eV,e);else if(" "===e.key)ie(t,eF,e);else if(l&&r0(e,"o",{ctrlKey:!0}))e.preventDefault(),td=!0,ie(t,e_,!0);else if(r0(e,"Enter",{altKey:"any",ctrlKey:"any",metaKey:"any"}))td=!1,ie(t,eV,e);else if(r0(e,"Backspace",{shiftKey:"any"})||l&&r0(e,"h",{ctrlKey:!0}))r2(e)?ie(t,ez,e):(e.preventDefault(),ie(t,eS,!0));else if("Escape"===e.key)ie(t,eB,e);else if(r0(e,"Delete",{})||l&&r0(e,"d",{ctrlKey:!0}))"Delete"!==e.key?(e.preventDefault(),ie(t,eS,!1)):ie(t,eW,e);else if(r0(e,"Backspace",r5))e.preventDefault(),ie(t,e$,!0);else if(r0(e,"Delete",r5))e.preventDefault(),ie(t,e$,!1);else if(l&&r0(e,"Backspace",{metaKey:!0}))e.preventDefault(),ie(t,eA,!0);else if(l&&(r0(e,"Delete",{metaKey:!0})||r0(e,"k",{ctrlKey:!0})))e.preventDefault(),ie(t,eA,!1);else if(r0(e,"b",r1))e.preventDefault(),ie(t,eE,"bold");else if(r0(e,"u",r1))e.preventDefault(),ie(t,eE,"underline");else if(r0(e,"i",r1))e.preventDefault(),ie(t,eE,"italic");else if(r0(e,"Tab",{shiftKey:"any"}))ie(t,eY,e);else if(r0(e,"z",r1))e.preventDefault(),ie(t,eR,void 0);else if(l?r0(e,"z",{metaKey:!0,shiftKey:!0}):r0(e,"y",{ctrlKey:!0})||r0(e,"z",{ctrlKey:!0,shiftKey:!0}))e.preventDefault(),ie(t,eN,void 0);else{let n=t._editorState._selection;null===n||t6(n)?r0(e,"a",r1)&&(e.preventDefault(),ie(t,e3,e)):r0(e,"c",r1)?(e.preventDefault(),ie(t,e5,e)):r0(e,"x",r1)?(e.preventDefault(),ie(t,e2,e)):r0(e,"a",r1)&&(e.preventDefault(),ie(t,e3,e))}(e.ctrlKey||e.shiftKey||e.altKey||e.metaKey)&&ie(t,tt,e)}}],["pointerdown",function(e,t){let n=e.target,r=e.pointerType;iv(n)&&"touch"!==r&&"pen"!==r&&0===e.button&&nY(t,()=>{n0(rj(n))||(tc=!0)})}],["compositionstart",function(e,t){nY(t,()=>{let n=ng();if(t6(n)&&!t.isComposing()){let r=n.anchor,i=n.anchor.getNode();rN(r.key),(e.timeStamp<ti+30||"element"===r.type||!n.isCollapsed()||i.getFormat()!==n.format||tJ(i)&&i.getStyle()!==n.style)&&ie(t,eP,O)}})}],["compositionend",function(e,t){s?th=!0:!c&&(u||p)?(tf=!0,tp=e.data):nY(t,()=>{tk(t,e.data)})}],["input",function(e,t){e.stopPropagation(),nY(t,()=>{if(iy(e.target)&&n0(rj(e.target)))return;let n=ng(),r=e.data,i=tw(e);if(null!=r&&t6(n)&&tO(n,i,r,e.timeStamp,!1)){th&&(tk(t,r),th=!1);let i=n.anchor.getNode(),o=im(ia(t));if(null===o)return;let l=n.isBackward(),d=l?n.anchor.offset:n.focus.offset,h=l?n.focus.offset:n.anchor.offset;a&&!n.isCollapsed()&&tJ(i)&&null!==o.anchorNode&&i.getTextContent().slice(0,d)+r+i.getTextContent().slice(d+h)===rU(o.anchorNode)||ie(t,eP,r);let f=r.length;s&&f>1&&"insertCompositionText"===e.inputType&&!t.isComposing()&&(n.anchor.offset-=f),u||c||p||!t.isComposing()||(ti=0,rN(null))}else rG(!1,t,null!==r?r:void 0),th&&(tk(t,r||void 0),th=!1);nE(),$(nL())},{event:e}),ts=null}],["click",function(e,t){nY(t,()=>{let n=ng(),r=im(ia(t)),i=nm();if(r){if(t6(n)){let t=n.anchor,o=t.getNode();if("element"===t.type&&0===t.offset&&n.isCollapsed()&&!n5(o)&&1===rV().getChildrenSize()&&o.getTopLevelElementOrThrow().isEmpty()&&null!==i&&n.is(i))r.removeAllRanges(),n.dirty=!0;else if(3===e.detail&&!n.isCollapsed()&&o!==n.focus.getNode()){let e=function(e,t){let n=e;for(;n!==rV()&&null!=n;){if(t(n))return n;n=n.getParent()}return null}(o,e=>nH(e)&&!e.isInline());nH(e)&&e.select(0)}}else if("touch"===e.pointerType||"pen"===e.pointerType){let n=r.anchorNode;(iy(n)||rP(n))&&rz(np(i,r,t,e))}}ie(t,ek,e)})}],["cut",tn],["copy",tn],["dragstart",tn],["dragover",tn],["dragend",tn],["paste",t
1n],["focus",tn],["blur",tn],["drop",tn]];a&&tr.push(["beforeinput",(e,t)=>(function(e,t){let n=e.inputType,i=tw(e);"deleteCompositionText"===n||s&&r8(t)||"insertCompositionText"!==n&&nY(t,()=>{var o;let l=ng();if("deleteContentBackward"===n){if(null===l){let e=nm();if(!t6(e))return;rz(e.clone())}if(t6(l)){let n=l.anchor.key===l.focus.key;if(o=e.timeStamp,"MediaLast"===to&&o<ti+30&&t.isComposing()&&n){if(rN(null),ti=0,setTimeout(()=>{nY(t,()=>{rN(null)})},30),t6(l)){let e=l.anchor.getNode();e.markDirty(),tJ(e)||r(142),tb(l,e)}}else{rN(null),e.preventDefault();let r=l.anchor.getNode(),i=r.getTextContent(),o=r.canInsertTextAfter(),s=0===l.anchor.offset&&l.focus.offset===i.length,a=f&&n&&!s&&o;if(a&&l.isCollapsed()&&(a=!n0(r6(l.anchor,!0))),!a){ie(t,eS,!0);let e=ng();f&&t6(e)&&e.isCollapsed()&&(tg=e,setTimeout(()=>tg=null))}}return}}if(!t6(l))return;let s=e.data;null!==ts&&rG(!1,t,ts),l.dirty&&null===ts||!l.isCollapsed()||n5(l.anchor.getNode())||null===i||l.applyDOMRange(i),ts=null;let a=l.anchor,u=l.focus,d=a.getNode(),h=u.getNode();if("insertText"!==n&&"insertTranspose"!==n)switch(e.preventDefault(),n){case"insertFromYank":case"insertFromDrop":case"insertReplacementText":ie(t,eP,e);break;case"insertFromComposition":rN(null),ie(t,eP,e);break;case"insertLineBreak":rN(null),ie(t,e_,!1);break;case"insertParagraph":rN(null),td&&!c?(td=!1,ie(t,e_,!1)):ie(t,eC,void 0);break;case"insertFromPaste":case"insertFromPasteAsQuotation":ie(t,eT,e);break;case"deleteByComposition":(d!==h||nH(d)||nH(h)||!r_(d)||!r_(h))&&ie(t,eQ,e);break;case"deleteByDrag":case"deleteByCut":ie(t,eQ,e);break;case"deleteContent":ie(t,eS,!1);break;case"deleteWordBackward":ie(t,e$,!0);break;
1case"deleteWordForward":ie(t,e$,!1);break;case"deleteHardLineBackward":case"deleteSoftLineBackward":ie(t,eA,!0);break;case"deleteContentForward":case"deleteHardLineForward":case"deleteSoftLineForward":ie(t,eA,!1);break;case"formatStrikeThrough":ie(t,eE,"strikethrough");break;case"formatBold":ie(t,eE,"bold");break;case"formatItalic":ie(t,eE,"italic");break;case"formatUnderline":ie(t,eE,"underline");break;case"historyUndo":ie(t,eR,void 0);break;case"historyRedo":ie(t,eN,void 0)}else{if("\n"===s)e.preventDefault(),ie(t,e_,!1);else if("\n\n"===s)e.preventDefault(),ie(t,eC,void 0);else if(null==s&&e.dataTransfer){let t=e.dataTransfer.getData("text/plain");e.preventDefault(),l.insertRawText(t)}else null!=s&&tO(l,i,s,e.timeStamp,!0)?(e.preventDefault(),ie(t,eP,s)):ts=s;tl=e.timeStamp}})})(e,t)]);let ti=0,to=null,tl=0,ts=null,ta=new WeakMap,tu=!1,tc=!1,td=!1,th=!1,tf=!1,tp="",tg=null,tm=[0,"",0,"root",0];function tO(e,t,n,r,i){let o=e.anchor,l=e.focus,s=o.getNode(),u=nL(),c=im(ia(u)),d=null!==c?c.anchorNode:null,h=o.key,f=u.getElementByKey(h),p=n.length;return h!==l.key||!tJ(s)||(!i&&(!a||tl<r+50)||s.isDirty()&&p<2||rW(n))&&o.offset!==l.offset&&!s.isComposing()||rC(s)||s.isDirty()&&p>1||(i||!a)&&null!==f&&!s.isComposing()&&d!==rT(f)||null!==c&&null!==t&&(!t.collapsed||t.startContainer!==c.anchorNode||t.startOffset!==c.anchorOffset)||s.getFormat()!==e.format||s.getStyle()!==e.style||function(e,t){if(t.isSegmented())return!0;if(!e.isCollapsed())return!1;let n=e.anchor.offset,r=t.getParentOrThrow(),i=r_(t);return 0===n?!t.canInsertTextBefore()||!r.canInsertTextBefore()&&!t.isComposing()||i||function(e){let t=e.getPreviousSibling();return(tJ(t)||nH(t)&&t.isInline())&&!t.canInsertTextAfter()}(t):n===t.getTextContentSize()&&(!t.canInsertTextAfter()||!r.canInsertTextAfter()&&!t.isComposing()||i)}(e,s)}function ty(e,t){return rP(e)&&null!==e.nodeValue&&0!==t&&t!==e.nodeValue.length}function tv(e,t,n){let{anchorNode:i,anchorOffset:o,focusNode:l,focusOffset:s}=e;tu&&(tu=!1,ty(i,o)&&ty(l,s)&&!tg)||nY(t,()=>{if(!n)return void rz(null);if(!rb(t,i,l))return;let a=ng();if(tg&&t6(a)&&a.isCollapsed()){let e=a.anchor,t=tg.anchor;(e.key===t.key&&e.offset===t.offset+1||1===e.offset&&t.getNode().is(e.getNode().getPreviousSibling()))&&rz(a=tg.clone())}if(tg=null,t6(a)){let n=a.anchor,i=n.getNode();if(a.isCollapsed()){"Range"===e.type&&e.anchorNode===e.focusNode&&(a.dirty=!0);let o=ia(t).event,l=o?o.timeStamp:performance.now(),[s,c,d,h,f]=tm,p=rV(),g=!1===t.isComposing()&&""===p.getTextContent();if(l<f+200&&n.offset===d&&n.key===h)tx(a,s,c);else if("text"===n.type)tJ(i)||r(141),tb(a,i);else if("element"===n.type&&!g){var u;nH(i)||r(259);let e=n.getNode();e.isEmpty()?tx(a,(u=e).getTextFormat(),u.getTextStyle()):tx(a,0,"")}}else{let e=n.key,t=a.focus.key,r=a.getNodes(),i=r.length,l=a.isBackward(),u=l?s:o,c=l?o:s,d=l?t:e,h=l?e:t,f=2047,p=!1;for(let e=0;e<i;e++){let t=r[e],n=t.getTextContentSize();if(tJ(t)&&0!==n&&(0!==e||t.__key!==d||u!==n)&&(e!==i-1||t.__key!==h||0!==c)&&(p=!0,0==(f&=t.getFormat())))break}a.format=p?f:0}}ie(t,eb,void 0)})}function tx(e,t,n){e.format===t&&e.style===n||(e.format=t,e.style=n,e.dirty=!0)}function tb(e,t){tx(e,t.getFormat(),t.getStyle())}function tw(e){if(!e.getTargetRanges)return null;let t=e.getTargetRanges();return 0===t.length?null:t[0]}function tk(e,t){let n=e._compositionKey;if(rN(null),null!==n&&null!=t){if(""===t){let t=rM(n),r=rT(e.getElementByKey(n));return void(null!==r&&null!==r.nodeValue&&tJ(t)&&rH(t,r.nodeValue,null,null,!0))}if("\n"===t[t.length-1]){let t=ng();if(t6(t)){let n=t.focus;return t.anchor.set(n.key,n.offset,n.type),void ie(e,eV,null)}}}rG(!0,e,t)}function tS(e){let t=e.__lexicalEventHandles;return void 0===t&&(e.__lexicalEventHandles=t=[]),t}let t_=new Map;function tC(e){let t=function(e){let t=is(e);return t?t.getSelection():null}(e.target);if(null===t)return;let n=rk(t.anchorNode);if(null===n)return;tc&&(tc=!1,nY(n,()=>{let r=nm(),i=t.anchorNode;(iy(i)||rP(i))&&rz(np(r,t,n,e))}));let r=rY(n),i=r[r.length-1],o=i._key,l=t_.get(o),s=l||i;s!==n&&tv(t,s,!1),tv(t,n,!0),n!==i?t_.set(o,n):l&&t_.delete(o)}function tP(e){e._lexicalHandled=!0}function tT(e){return!0===e._lexicalHandled}function tQ(e,t,n){nE();let r=e.__key,i=e.getParent();if(null===i)return;let o=function(e){let t=ng();if(!t6(t)||!nH(e))return t;let{anchor:n,focus:r}=t,i=n.getNode(),o=r.getNode();return il(i,e)&&n.set(e.__key,0,"element"),il(o,e)&&r.set(e.__key,0,"element"),t}(e),l=!1;
1if(t6(o)&&t){let t=o.anchor,n=o.focus;t.key===r&&(nv(t,e,i,e.getPreviousSibling(),e.getNextSibling()),l=!0),n.key===r&&(nv(n,e,i,e.getPreviousSibling(),e.getNextSibling()),l=!0)}else ne(o)&&t&&e.isSelected()&&e.selectPrevious();if(t6(o)&&t&&!l){let t=e.getIndexWithinParent();rE(e),nO(o,i,t,-1)}else rE(e);n||iu(i)||i.canBeEmpty()||!i.isEmpty()||tQ(i,t),t&&o&&n5(i)&&i.isEmpty()&&i.selectEnd()}function t$(e){return e}class tA{static getType(){let{ownNodeType:e}=iE(this);return void 0===e&&r(64,this.name),e}static clone(e){r(65,this.name)}$config(){return{}}config(e,t){let n=t.extends||Object.getPrototypeOf(this.constructor);return Object.assign(t,{extends:n,type:e}),{[e]:t}}afterCloneFrom(e){this.__key===e.__key?(this.__parent=e.__parent,this.__next=e.__next,this.__prev=e.__prev,this.__state=e.__state):e.__state&&(this.__state=e.__state.getWritable(this))}constructor(e){this.__type=this.constructor.getType(),this.__parent=null,this.__prev=null,this.__next=null,Object.defineProperty(this,"__state",{configurable:!0,enumerable:!1,value:void 0,writable:!0}),rA(this,e)}getType(){return this.__type}isInline(){r(137,this.constructor.name)}isAttached(){let e=this.__key;for(;null!==e;){if("root"===e)return!0;let t=rM(e);if(null===t)break;e=t.__parent}return!1}isSelected(e){let t=e||ng();if(null==t)return!1;let n=t.getNodes().some(e=>e.__key===this.__key);if(tJ(this))return n;if(t6(t)&&"element"===t.anchor.type&&"element"===t.focus.type){if(t.isCollapsed())return!1;let e=this.getParent();if(n0(this)&&this.isInline()&&e){let n=t.isBackward()?t.focus:t.anchor;if(e.is(n.getNode())&&n.offset===e.getChildrenSize()&&this.is(e.getLastChild()))return!1}}return n}getKey(){return this.__key}getIndexWithinParent(){let e=this.getParent();if(null===e)return -1;let t=e.getFirstChild(),n=0;for(;null!==t;){if(this.is(t))return n;n++,t=t.getNextSibling()}return -1}getParent(){let e=this.getLatest().__parent;return null===e?null:rM(e)}getParentOrThrow(){let e=this.getParent();return null===e&&r(66,this.__key),e}getTopLevelElement(){let e=this;for(;null!==e;){let t=e.getParent();if(iu(t))return nH(e)||e===this&&n0(e)||r(194),e;e=t}return null}getTopLevelElementOrThrow(){let e=this.getTopLevelElement();return null===e&&r(67,this.__key),e}getParents(){let e=[],t=this.getParent();for(;null!==t;)e.push(t),t=t.getParent();return e}getParentKeys(){let e=[],t=this.getParent();for(;null!==t;)e.push(t.__key),t=t.getParent();return e}getPreviousSibling(){let e=this.getLatest().__prev;return null===e?null:rM(e)}getPreviousSiblings(){let e=[],t=this.getParent();if(null===t)return e;let n=t.getFirstChild();for(;null!==n&&!n.is(this);)e.push(n),n=n.getNextSibling();return e}getNextSibling(){let e=this.getLatest().__next;return null===e?null:rM(e)}getNextSiblings(){let e=[],t=this.getNextSibling();for(;null!==t;)e.push(t),t=t.getNextSibling();return e}getCommonAncestor(e){let t=nH(this)?this:this.getParent(),n=nH(e)?e:e.getParent(),r=t&&n?i7(t,n):null;return r?r.commonAncestor:null}is(e){return null!=e&&this.__key===e.__key}isBefore(e){let t=i7(this,e);return null!==t&&("descendant"===t.type||("branch"===t.type?-1===i9(t):("same"!==t.type&&"ancestor"!==t.type&&r(279),!1)))}isParentOf(e){let t=i7(this,e);return null!==t&&"ancestor"===t.type}getNodesBetween(e){let t=this.isBefore(e),n=[],i=new Set,o=this;for(;null!==o;){let l=o.__key;if(i.has(l)||(i.add(l),n.push(o)),o===e)break;let s=nH(o)?t?o.getFirstChild():o.getLastChild():null;if(null!==s){o=s;continue}let a=t?o.getNextSibling():o.getPreviousSibling();if(null!==a){o=a;continue}let u=o.getParentOrThrow();if(i.has(u.__key)||n.push(u),u===e)break;let c=null,d=u;do{if(null===d&&r(68),c=t?d.getNextSibling():d.getPreviousSibling(),null===(d=d.getParent()))break;null!==c||i.has(d.__key)||n.push(d)}while(null===c);o=c}return t||n.reverse(),n}isDirty(){let e=nL()._dirtyLeaves;return null!==e&&e.has(this.__key)}getLatest(){let e=rM(this.__key);return null===e&&r(113),e}getWritable(){nE();let e=nN(),t=nL(),n=e._nodeMap,r=this.__key,i=this.getLatest(),o=t._cloneNotNeeded,l=ng();if(null!==l&&l.setCachedNodes(null),o.has(r))return rR(i),i;let s=iQ(i);return o.add(r),rR(s),n.set(r,s),s}getTextContent(){return""}getTextContentSize(){return this.getTextContent().length}createDOM(e,t){r(70)}updateDOM(e,t,n){r(71)}exportDOM(e){return{element:this.createDOM(e._config,e)}}exportJSON(){let e=this.__state?this.__state.toJSON():void 0;return{type:this.__type,version:1,...e}}static importJSON(e){r(18,this.name)}updateFromJSON(e){return function(e,t){let n=e.getWritable(),r=t.$,i=r;for(let e of N(n).flatKeys)e in t&&(void 0!==i&&i!==r||(i={...r}),i[e]=t[e]);return(n.__state||i)&&(function(e){let t=e.getWritable(),n=t.__state?t.__state.getWritable(t):new R(t,N(t));return t.__state=n,n})(e).updateFromJSON(i),n}(this,e)}static transform(){return null}remove(e){tQ(this,!0,e)}replace(e,t){nE();let n=ng();null!==n&&(n=n.clone()),ih(this,e);let i=this.getLatest(),o=this.__key,l=e.__key,s=e.getWritable(),a=this.getParentOrThrow().getWritable(),u=a.__size;rE(s);let c=i.getPreviousSibling(),d=i.getNextSibling(),h=i.__prev,f=i.__next,p=i.__parent;if((tQ(i,!1,!0),null===c)?a.__first=l:c.getWritable().__next=l,(s.__prev=h,null===d)?a.__last=l:d.getWritable().__prev=l,s.__next=f,s.__parent=p,a.__size=u,t&&(nH(this)&&nH(s)||r(139),this.getChildren().forEac
1h(e=>{s.append(e)})),t6(n)){rz(n);let e=n.anchor,t=n.focus;e.key===o&&t4(e,s),t.key===o&&t4(t,s)}return rL()===o&&rN(l),s}insertAfter(e,t=!0){nE(),ih(this,e);let n=this.getWritable(),r=e.getWritable(),i=r.getParent(),o=ng(),l=!1,s=!1;if(null!==i){let t=e.getIndexWithinParent();if(rE(r),t6(o)){let e=i.__key,n=o.anchor,r=o.focus;l="element"===n.type&&n.key===e&&n.offset===t+1,s="element"===r.type&&r.key===e&&r.offset===t+1}}let a=this.getNextSibling(),u=this.getParentOrThrow().getWritable(),c=r.__key,d=n.__next;if(null===a?u.__last=c:a.getWritable().__prev=c,u.__size++,n.__next=c,r.__next=d,r.__prev=n.__key,r.__parent=n.__parent,t&&t6(o)){let e=this.getIndexWithinParent();nO(o,u,e+1);let t=u.__key;l&&o.anchor.set(t,e+2,"element"),s&&o.focus.set(t,e+2,"element")}return e}insertBefore(e,t=!0){nE(),ih(this,e);let n=this.getWritable(),r=e.getWritable(),i=r.__key;rE(r);let o=this.getPreviousSibling(),l=this.getParentOrThrow().getWritable(),s=n.__prev,a=this.getIndexWithinParent();null===o?l.__first=i:o.getWritable().__next=i,l.__size++,n.__prev=i,r.__prev=s,r.__next=n.__key,r.__parent=n.__parent;let u=ng();return t&&t6(u)&&nO(u,this.getParentOrThrow(),a),e}isParentRequired(){return!1}createParentElementNode(){return rl()}selectStart(){return this.selectPrevious()}selectEnd(){return this.selectNext(0,0)}selectPrevious(e,t){nE();let n=this.getPreviousSibling(),r=this.getParentOrThrow();if(null===n)return r.select(0,0);if(nH(n))return n.select();if(!tJ(n)){let e=n.getIndexWithinParent()+1;return r.select(e,e)}return n.select(e,t)}selectNext(e,t){nE();let n=this.getNextSibling(),r=this.getParentOrThrow();if(null===n)return r.select();if(nH(n))return n.select(0,0);if(!tJ(n)){let e=n.getIndexWithinParent();return r.select(e,e)}return n.select(e,t)}markDirty(){this.getWritable()}reconcileObservedMutation(e,t){this.markDirty()}}class tE extends tA{static getType(){return"linebreak"}static clone(e){return new tE(e.__key)}constructor(e){super(e)}getTextContent(){return"\n"}createDOM(){return document.createElement("br")}updateDOM(){return!1}isInline(){return!0}static importDOM(){return{br:e=>(function(e){let t=e.parentElement;if(null!==t&&iw(t)){let n=t.firstChild;if(n===e||n.nextSibling===e&&tM(n)){let n=t.lastChild;if(n===e||n.previousSibling===e&&tM(n))return!0}}return!1})(e)||function(e){let t=e.parentElement;if(null!==t&&iw(t)){let n=t.firstChild;if(n===e||n.nextSibling===e&&tM(n))return!1;let r=t.lastChild;if(r===e||r.previousSibling===e&&tM(r))return!0}return!1}(e)?null:{conversion:tR,priority:0}}}static importJSON(e){return tN().updateFromJSON(e)}}function tR(e){return{node:tN()}}function tN(){return id(new tE)}function tL(e){return e instanceof tE}function tM(e){return rP(e)&&/^( |\t|\r?\n)+$/.test(e.textContent||"")}function tZ(e,t){return 16&t?"code":128&t?"mark":32&t?"sub":64&t?"sup":null}function tI(e,t){return 1&t?"strong":2&t?"em":"span"}function tj(e,t,n,r,i){let o=r.classList,l=r9(i,"base");void 0!==l&&o.add(...l);let s=!1,a=8&t&&4&t;for(let e in void 0!==(l=r9(i,"underlineStrikethrough"))&&(8&n&&4&n?(s=!0,a||o.add(...l)):a&&o.remove(...l)),y){let r=y[e];if(void 0!==(l=r9(i,e)))if(n&r){if(s&&("underline"===e||"strikethrough"===e)){t&r&&o.remove(...l);continue}t&r&&(!a||"underline"!==e)&&"strikethrough"!==e||o.add(...l)}else t&r&&o.remove(...l)}}function tX(e,t,n){let r=t.firstChild,i=n.isComposing(),o=e+(i?m:"");if(null==r)t.textContent=o;else{let e=r.nodeValue;if(e!==o)if(i||s){let[t,n,i]=function(e,t){let n=e.length,r=t.length,i=0,o=0;for(;i<n&&i<r&&e[i]===t[i];)i++;for(;o+i<n&&o+i<r&&e[n-o-1]===t[r-o-1];)o++;return[i,n-i-o,t.slice(i,r-o)]}(e,o);0!==n&&r.deleteData(t,n),r.insertData(t,i)}else r.nodeValue=o}}function tD(e,t,n,r,i,o){tX(i,e,t);let l=o.theme.text;void 0!==l&&tj(0,0,r,e,l)}function tV(e,t){let n=document.createElement(t);return n.appendChild(e),n}class tF extends tA{static getType(){return"text"}static clone(e){return new tF(e.__text,e.__key)}afterCloneFrom(e){super.afterCloneFrom(e),this.__text=e.__text,this.__format=e.__format,this.__style=e.__style,this.__mode=e.__mode,this.__detail=e.__detail}constructor(e="",t){super(t),this.__text=e,this.__format=0,this.__style="",this.__mode=0,this.__detail=0}getFormat(){return this.getLatest().__format}getDetail(){return this.getLatest().__detail}getMode(){return k[this.getLatest().__mode]}getStyle(){return this.getLatest().__style}isToken(){return 1===this.getLatest().__mode}isComposing(){return this.__key===rL()}isSegmented(){return 2===this.getLatest().__mode}isDirectionless(){return!!(1&this.getLatest().__detail)}isUnmergeable(){return!!(2&this.getLatest().__detail)}hasFormat(e){let t=y[e];return!!(this.getFormat()&t)}isSimpleText(){return"text"===this.__type&&0===this.__mode}getTextContent(){return this.getLatest().__text}getFormatFlags(e,t){return rQ(this.getLatest().__format,e,t)}canHaveFormat(){return!0}isInline(){return!0}createDOM(e,t){let n=this.__format,r=tZ(0,n),i=tI(0,n),o=null===r?i:r,l=document.createElement(o),s=l;
1this.hasFormat("code")&&l.setAttribute("spellcheck","false"),null!==r&&(s=document.createElement(i),l.appendChild(s)),tD(s,this,0,n,this.__text,e);let a=this.__style;return""!==a&&(l.style.cssText=a),l}updateDOM(e,t,n){let i=this.__text,o=e.__format,l=this.__format,s=tZ(0,o),a=tZ(0,l),u=tI(0,o),c=tI(0,l);if((null===s?u:s)!==(null===a?c:a))return!0;if(s===a&&u!==c){let e=t.firstChild;null==e&&r(48);let o=document.createElement(c);return tD(o,this,0,l,i,n),t.replaceChild(o,e),!1}let d=t;null!==a&&null!==s&&null==(d=t.firstChild)&&r(49),tX(i,d,this);let h=n.theme.text;void 0!==h&&o!==l&&tj(0,o,l,d,h);let f=e.__style,p=this.__style;return f!==p&&(t.style.cssText=p),!1}static importDOM(){return{"#text":()=>({conversion:tY,priority:0}),b:()=>({conversion:tB,priority:0}),code:()=>({conversion:tG,priority:0}),em:()=>({conversion:tG,priority:0}),i:()=>({conversion:tG,priority:0}),mark:()=>({conversion:tG,priority:0}),s:()=>({conversion:tG,priority:0}),span:()=>({conversion:tz,priority:0}),strong:()=>({conversion:tG,priority:0}),sub:()=>({conversion:tG,priority:0}),sup:()=>({conversion:tG,priority:0}),u:()=>({conversion:tG,priority:0})}}static importJSON(e){return tH().updateFromJSON(e)}updateFromJSON(e){return super.updateFromJSON(e).setTextContent(e.text).setFormat(e.format).setDetail(e.detail).setMode(e.mode).setStyle(e.style)}
1exportDOM(e){let{element:t}=super.exportDOM(e);return iy(t)||r(132),t.style.whiteSpace="pre-wrap",this.hasFormat("lowercase")?t.style.textTransform="lowercase":this.hasFormat("uppercase")?t.style.textTransform="uppercase":this.hasFormat("capitalize")&&(t.style.textTransform="capitalize"),this.hasFormat("bold")&&(t=tV(t,"b")),this.hasFormat("italic")&&(t=tV(t,"i")),this.hasFormat("strikethrough")&&(t=tV(t,"s")),this.hasFormat("underline")&&(t=tV(t,"u")),{element:t}}exportJSON(){return{detail:this.getDetail(),format:this.getFormat(),mode:this.getMode(),style:this.getStyle(),text:this.getTextContent(),...super.exportJSON()}}selectionTransform(e,t){}setFormat(e){let t=this.getWritable();return t.__format="string"==typeof e?y[e]:e,t}setDetail(e){let t=this.getWritable();return t.__detail="string"==typeof e?v[e]:e,t}setStyle(e){let t=this.getWritable();return t.__style=e,t}toggleFormat(e){let t=rQ(this.getFormat(),e,null);return this.setFormat(t)}toggleDirectionless(){let e=this.getWritable();return e.__detail^=1,e}toggleUnmergeable(){let e=this.getWritable();return e.__detail^=2,e}setMode(e){let t=w[e];if(this.__mode===t)return this;let n=this.getWritable();return n.__mode=t,n}setTextContent(e){if(this.__text===e)return this;let t=this.getWritable();return t.__text=e,t}select(e,t){nE();let n=e,r=t,i=ng(),o=this.getTextContent(),l=this.__key;if("string"==typeof o){let e=o.length;void 0===n&&(n=e),void 0===r&&(r=e)}else n=0,r=0;if(!t6(i))return nd(l,n,l,r,"text","text");{let e=rL();e!==i.anchor.key&&e!==i.focus.key||rN(l),i.setTextNodeRange(this,n,this,r)}return i}selectStart(){return this.select(0,0)}selectEnd(){let e=this.getTextContentSize();return this.select(e,e)}spliceText(e,t,n,r){let i=this.getWritable(),o=i.__text,l=n.length,s=e;s<0&&(s=l+s)<0&&(s=0);let a=ng();if(r&&t6(a)){let t=e+l;a.setTextNodeRange(i,t,i,t)}return i.__text=o.slice(0,s)+n+o.slice(s+t),i}canInsertTextBefore(){return!0}canInsertTextAfter(){return!0}splitText(...e){let t;nE();let n=this.getLatest(),r=n.getTextContent();if(""===r)return[];let i=n.__key,o=rL(),l=r.length;e.sort((e,t)=>e-t),e.push(l);let s=[],a=e.length;for(let t=0,n=0;t<l&&n<=a;n++){let i=e[n];i>t&&(s.push(r.slice(t,i)),t=i)}let u=s.length;if(1===u)return[n];let c=s[0],d=n.getParent(),h=n.getFormat(),f=n.getStyle(),p=n.__detail,g=!1,m=null,O=null,y=ng();if(t6(y)){let[e,t]=y.isBackward()?[y.focus,y.anchor]:[y.anchor,y.focus];"text"===e.type&&e.key===i&&(m=e),"text"===t.type&&t.key===i&&(O=t)}n.isSegmented()?((t=tH(c)).__format=h,t.__style=f,t.__detail=p,t.__state=I(n,t),g=!0):t=n.setTextContent(c);let v=[t];for(let e=1;e<u;e++){let t=tH(s[e]);t.__format=h,t.__style=f,t.__detail=p,t.__state=I(n,t);let r=t.__key;o===i&&rN(r),v.push(t)}let x=m?m.offset:null,b=O?O.offset:null,w=0;for(let e of v){if(!m&&!O)break;let t=w+e.getTextContentSize();if(null!==m&&null!==x&&x<=t&&x>=w&&(m.set(e.getKey(),x-w,"text"),x<t&&(m=null)),null!==O&&null!==b&&b<=t&&b>=w){O.set(e.getKey(),b-w,"text");break}w=t}if(null!==d){let e=this.getPreviousSibling(),t=this.getNextSibling();null!==e&&rR(e),null!==t&&rR(t);let n=d.getWritable(),r=this.getIndexWithinParent();g?(n.splice(r,0,v),this.remove()):n.splice(r,1,v),t6(y)&&nO(y,d,r,u-1)}return v}mergeWithSibling(e){let t=e===this.getPreviousSibling();t||e===this.getNextSibling()||r(50);let n=this.__key,i=e.__key,o=this.__text,l=o.length;rL()===i&&rN(n);let s=ng();if(t6(s)){let r=s.anchor,o=s.focus;null!==r&&r.key===i&&nx(r,t,n,e,l),null!==o&&o.key===i&&nx(o,t,n,e,l)}let a=e.__text,u=t?a+o:o+a;this.setTextContent(u);let c=this.getWritable();return e.remove(),c}isTextEntity(){return!1}}function tz(e){return{forChild:tK(e.style),node:null}}function tB(e){let t="normal"===e.style.fontWeight;return{forChild:tK(e.style,t?void 0:"bold"),node:null}}let tW=new WeakMap;function tY(e){null===e.parentElement&&r(129);let t=e.textContent||"";if(null!==function(e){let t,n=e.parentNode,r=[e];for(;null!==n&&void 0===(t=tW.get(n))&&!function(e){if(!iy(e))return!1;if("PRE"===e.nodeName)return!0;let t=e.style.whiteSpace;return"string"==typeof t&&t.startsWith("pre")}(n);)r.push(n),n=n.parentNode;let i=void 0===t?n:t;for(let e=0;e<r.length;e++)tW.set(r[e],i);return i}(e)){let e=t.split(/(\r?\n|\t)/),n=[],r=e.length;for(let t=0;t<r;t++){let r=e[t];"\n"===r||"\r\n"===r?n.push(tN()):"	"===r?n.push(t1()):""!==r&&n.push(tH(r))}return{node:n}}if(""===(t=t.replace(/\r/g,"").replace(/[ \t\n]+/g," ")))return{node:null};if(" "===t[0]){let n=e,r=!0;for(;null!==n&&null!==(n=tq(n,!1));){let e=n.textContent||"";if(e.length>
10){/[ \t\n]$/.test(e)&&(t=t.slice(1)),r=!1;break}}r&&(t=t.slice(1))}if(" "===t[t.length-1]){let n=e,r=!0;for(;null!==n&&null!==(n=tq(n,!0));)if((n.textContent||"").replace(/^( |\t|\r?\n)+/,"").length>0){r=!1;break}r&&(t=t.slice(0,t.length-1))}return""===t?{node:null}:{node:tH(t)}}function tq(e,t){let n=e;for(;;){let e;for(;null===(e=t?n.nextSibling:n.previousSibling);){let e=n.parentElement;if(null===e)return null;n=e}if(iy(n=e)){let e=n.style.display;if(""===e&&!ib(n)||""!==e&&!e.startsWith("inline"))return null}let r=n;for(;null!==(r=t?n.firstChild:n.lastChild);)n=r;if(rP(n))return n;if("BR"===n.nodeName)return null}}let tU={code:"code",em:"italic",i:"italic",mark:"highlight",s:"strikethrough",strong:"bold",sub:"subscript",sup:"superscript",u:"underline"};function tG(e){let t=tU[e.nodeName.toLowerCase()];return void 0===t?{node:null}:{forChild:tK(e.style,t),node:null}}function tH(e=""){return id(new tF(e))}function tJ(e){return e instanceof tF}function tK(e,t){let n=e.fontWeight,r=e.textDecoration.split(" "),i="700"===n||"bold"===n,o=r.includes("line-through"),l="italic"===e.fontStyle,s=r.includes("underline"),a=e.verticalAlign;return e=>(tJ(e)&&(i&&!e.hasFormat("bold")&&e.toggleFormat("bold"),o&&!e.hasFormat("strikethrough")&&e.toggleFormat("strikethrough"),l&&!e.hasFormat("italic")&&e.toggleFormat("italic"),s&&!e.hasFormat("underline")&&e.toggleFormat("underline"),"sub"!==a||e.hasFormat("subscript")||e.toggleFormat("subscript"),"super"!==a||e.hasFormat("superscript")||e.toggleFormat("superscript"),t&&!e.hasFormat(t)&&e.toggleFormat(t)),e)}class t0 extends tF{static getType(){return"tab"}static clone(e){return new t0(e.__key)}constructor(e){super("	",e),this.__detail=2}static importDOM(){return null}createDOM(e){let t=super.createDOM(e),n=r9(e.theme,"tab");return void 0!==n&&t.classList.add(...n),t}static importJSON(e){return t1().updateFromJSON(e)}setTextContent(e){return"	"!==e&&""!==e&&r(126),super.setTextContent("	")}spliceText(e,t,n,i){return""===n&&0===t||"	"===n&&1===t||r(286),this}setDetail(e){return 2!==e&&r(127),this}setMode(e){return"normal"!==e&&r(128),this}canInsertTextBefore(){return!1}canInsertTextAfter(){return!1}}function t1(){return id(new t0)}function t5(e){return e instanceof t0}class t2{constructor(e,t,n){this._selection=null,this.key=e,this.offset=t,this.type=n}is(e){return this.key===e.key&&this.offset===e.offset&&this.type===e.type}isBefore(e){return this.key===e.key?this.offset<e.offset:0>i3(ol(i6(this,"next")),ol(i6(e,"next")))}getNode(){let e=rM(this.key);return null===e&&r(20),e}set(e,t,n,r){let i=this._selection,o=this.key;r&&this.key===e&&this.offset===t&&this.type===n||(this.key=e,this.offset=t,this.type=n,nA()||(rL()===o&&rN(e),null!==i&&(i.setCachedNodes(null),i.dirty=!0)))}}function t3(e,t,n){return new t2(e,t,n)}function t9(e,t){let n=t.__key,r=e.offset,i="element";if(tJ(t)){i="text";let e=t.getTextContentSize();r>e&&(r=e)}else if(!nH(t)){let e=t.getNextSibling();if(tJ(e))n=e.__key,r=0,i="text";else{let e=t.getParent();e&&(n=e.__key,r=t.getIndexWithinParent()+1)}}e.set(n,r,i)}function t4(e,t){if(nH(t)){let n=t.getLastDescendant();nH(n)||tJ(n)?t9(e,n):t9(e,t)}else t9(e,t)}class t7{constructor(e){this._cachedNodes=null,this._nodes=e,this.dirty=!1}getCachedNodes(){return this._cachedNodes}setCachedNodes(e){this._cachedNodes=e}is(e){if(!ne(e))return!1;let t=this._nodes,n=e._nodes;return t.size===n.size&&Array.from(t).every(e=>n.has(e))}isCollapsed(){return!1}isBackward(){return!1}getStartEndPoints(){return null}add(e){this.dirty=!0,this._nodes.add(e),this._cachedNodes=null}delete(e){this.dirty=!0,this._nodes.delete(e),this._cachedNodes=null}clear(){this.dirty=!0,this._nodes.clear(),this._cachedNodes=null}has(e){return this._nodes.has(e)}clone(){return new t7(new Set(this._nodes))}extract(){return this.getNodes()}insertRawText(e){}insertText(){}insertNodes(e){let t,n=this.getNodes(),r=n.length,i=n[r-1];if(tJ(i))t=i.select();else{let e=i.getIndexWithinParent()+1;t=i.getParentOrThrow().select(e,e)}t.insertNodes(e);for(let e=0;e<r;e++)n[e].remove()}getNodes(){let e=this._cachedNodes;if(null!==e)return e;let t=this._nodes,n=[];for(let e of t){let t=rM(e);null!==t&&n.push(t)}
1return nA()||(this._cachedNodes=n),n}getTextContent(){let e=this.getNodes(),t="";for(let n=0;n<e.length;n++)t+=e[n].getTextContent();return t}deleteNodes(){let e=this.getNodes();if((ng()||nm())===this&&e[0]){let t=iY(e[0],"next");oe(i5(t,t))}for(let t of e)t.remove()}}function t6(e){return e instanceof t8}class t8{constructor(e,t,n,r){this.anchor=e,this.focus=t,e._selection=this,t._selection=this,this._cachedNodes=null,this.format=n,this.style=r,this.dirty=!1}getCachedNodes(){return this._cachedNodes}setCachedNodes(e){this._cachedNodes=e}is(e){return!!t6(e)&&this.anchor.is(e.anchor)&&this.focus.is(e.focus)&&this.format===e.format&&this.style===e.style}isCollapsed(){return this.anchor.is(this.focus)}getNodes(){let e=this._cachedNodes;if(null!==e)return e;let t=function(e){let t=[],[n,r]=e.getTextSlices();n&&t.push(n.caret.origin);let i=new Set,o=new Set;for(let n of e)if(iF(n)){let{origin:e}=n;0===t.length?i.add(e):(o.add(e),t.push(e))}else{let{origin:e}=n;nH(e)&&o.has(e)||t.push(e)}if(r&&t.push(r.caret.origin),iV(e.focus)&&nH(e.focus.origin)&&null===e.focus.getNodeAtCaret())for(let n=iG(e.focus.origin,"previous");iF(n)&&i.has(n.origin)&&!n.origin.isEmpty()&&n.origin.is(t[t.length-1]);n=iH(n))i.delete(n.origin),t.pop();for(;t.length>1;){let e=t[t.length-1];if(!nH(e)||o.has(e)||e.isEmpty()||i.has(e))break;t.pop()}if(0===t.length&&e.isCollapsed()){let n=ol(e.anchor),r=ol(e.anchor.getFlipped()),i=e=>iD(e)?e.origin:e.getNodeAtCaret(),o=i(n)||i(r)||(e.anchor.getNodeAtCaret()?n.origin:r.origin);t.push(o)}return t}(ou(on(this),"next"));return nA()||(this._cachedNodes=t),t}setTextNodeRange(e,t,n,r){this.anchor.set(e.__key,t,"text"),this.focus.set(n.__key,r,"text")}getTextContent(){let e=this.getNodes();if(0===e.length)return"";let t=e[0],n=e[e.length-1],r=this.anchor,i=this.focus,o=r.isBefore(i),[l,s]=nn(this),a="",u=!0;for(let c=0;c<e.length;c++){let d=e[c];if(nH(d)&&!d.isInline())u||(a+="\n"),u=!d.isEmpty();else if(u=!1,tJ(d)){let e=d.getTextContent();d===t?d===n?"element"===r.type&&"element"===i.type&&i.offset!==r.offset||(e=l<s?e.slice(l,s):e.slice(s,l)):e=o?e.slice(l):e.slice(s):d===n&&(e=o?e.slice(0,s):e.slice(0,l)),a+=e}else!n0(d)&&!tL(d)||d===n&&this.isCollapsed()||(a+=d.getTextContent())}return a}applyDOMRange(e){let t=nL(),n=t.getEditorState()._selection,r=nu(e.startContainer,e.startOffset,e.endContainer,e.endOffset,t,n);if(null===r)return;let[i,o]=r;this.anchor.set(i.key,i.offset,i.type,!0),this.focus.set(o.key,o.offset,o.type,!0),V(this)}clone(){let e=this.anchor,t=this.focus;return new t8(t3(e.key,e.offset,e.type),t3(t.key,t.offset,t.type),this.format,this.style)}toggleFormat(e){this.format=rQ(this.format,e,null),this.dirty=!0}setFormat(e){this.format=e,this.dirty=!0}setStyle(e){this.style=e,this.dirty=!0}hasFormat(e){let t=y[e];return!!(this.format&t)}insertRawText(e){let t=e.split(/(\r?\n|\t)/),n=[],r=t.length;for(let e=0;e<r;e++){let r=t[e];"\n"===r||"\r\n"===r?n.push(tN()):"	"===r?n.push(t1()):n.push(tH(r))}this.insertNodes(n)}insertText(e){let t=this.anchor,n=this.focus,i=this.format,o=this.style,l=t,s=n;!this.isCollapsed()&&n.isBefore(t)&&(l=n,s=t),"element"===l.type&&function(e,t,n,r){let i=e.getNode(),o=i.getChildAtIndex(e.offset),l=tH();if(l.setFormat(n),l.setStyle(r),rs(o))o.splice(0,0,[l]);else{let e=n5(i)?rl().append(l):l;null===o?i.append(e):o.insertBefore(e)}e.is(t)&&t.set(l.__key,0,"text"),e.set(l.__key,0,"text")}(l,s,i,o),"element"===s.type&&i8(s,ol(i6(s,"next")));let a=l.offset,u=s.offset,c=this.getNodes(),d=c.length,h=c[0];tJ(h)||r(26);let f=h.getTextContent().length,p=h.getParentOrThrow(),g=c[d-1];if(1===d&&"element"===s.type&&(u=f,s.set(l.key,u,"text")),this.isCollapsed()&&a===f&&(rC(h)||!h.canInsertTextAfter()||!p.canInsertTextAfter()&&null===h.getNextSibling())){let t=h.getNextSibling();if(tJ(t)&&t.canInsertTextBefore()&&!rC(t)||((t=tH()).setFormat(i),t.setStyle(o),p.canInsertTextAfter()?h.insertAfter(t):p.insertAfter(t)),t.select(0,0),h=t,""!==e)return void this.insertText(e)}else if(this.isCollapsed()&&0===a&&(rC(h)||!h.canInsertTextBefore()||!p.canInsertTextBefore()&&null===h.getPreviousSibling())){let t=h.getPreviousSibling();
1if(tJ(t)&&!rC(t)||((t=tH()).setFormat(i),p.canInsertTextBefore()?h.insertBefore(t):p.insertBefore(t)),t.select(),h=t,""!==e)return void this.insertText(e)}else if(h.isSegmented()&&a!==f){let e=tH(h.getTextContent());e.setFormat(i),h.replace(e),h=e}else if(!this.isCollapsed()&&""!==e){let t=g.getParent();if(!p.canInsertTextBefore()||!p.canInsertTextAfter()||nH(t)&&(!t.canInsertTextBefore()||!t.canInsertTextAfter()))return this.insertText(""),na(this.anchor,this.focus,null),void this.insertText(e)}if(1===d){if(r_(h)){let t=tH(e);return t.select(),void h.replace(t)}let t=h.getFormat(),n=h.getStyle();if(a!==u||t===i&&n===o){if(t5(h)){let t=tH(e);return t.setFormat(i),t.setStyle(o),t.select(),void h.replace(t)}}else{if(""!==h.getTextContent()){let t=tH(e);if(t.setFormat(i),t.setStyle(o),t.select(),0===a)h.insertBefore(t,!1);else{let[e]=h.splitText(a);e.insertAfter(t,!1)}return void(t.isComposing()&&"text"===this.anchor.type&&(this.anchor.offset-=e.length))}h.setFormat(i),h.setStyle(o)}let r=u-a;""===(h=h.spliceText(a,r,e,!0)).getTextContent()?h.remove():"text"===this.anchor.type&&(h.isComposing()?this.anchor.offset-=e.length:(this.format=t,this.style=n))}else{let t=new Set([...h.getParentKeys(),...g.getParentKeys()]),n=nH(h)?h:h.getParentOrThrow(),r=nH(g)?g:g.getParentOrThrow(),i=g;if(!n.is(r)&&r.isInline())do i=r,r=r.getParentOrThrow();while(r.isInline());if("text"===s.type&&(0!==u||""===g.getTextContent())||"element"===s.type&&g.getIndexWithinParent()<u)if(tJ(g)&&!r_(g)&&u!==g.getTextContentSize()){if(g.isSegmented()){let e=tH(g.getTextContent());g.replace(e),g=e}n5(s.getNode())||"text"!==s.type||(g=g.spliceText(0,u,"")),t.add(g.__key)}else{let e=g.getParentOrThrow();e.canBeEmpty()||1!==e.getChildrenSize()?g.remove():e.remove()}else t.add(g.__key);let o=r.getChildren(),l=new Set(c),p=n.is(r),m=n.isInline()&&null===h.getNextSibling()?n:h;for(let e=o.length-1;e>=0;e--){let t=o[e];if(t.is(h)||nH(t)&&t.isParentOf(h))break;t.isAttached()&&(!l.has(t)||t.is(i)?p||m.insertAfter(t,!1):t.remove())}if(!p){let e=r,n=null;for(;null!==e;){let r=e.getChildren(),i=r.length;(0===i||r[i-1].is(n))&&(t.delete(e.__key),n=e),e=e.getParent()}}if(r_(h))if(a===f)h.select();else{let t=tH(e);t.select(),h.replace(t)}else""===(h=h.spliceText(a,f-a,e,!0)).getTextContent()?h.remove():h.isComposing()&&"text"===this.anchor.type&&(this.anchor.offset-=e.length);for(let e=1;e<d;e++){let n=c[e],r=n.__key;t.has(r)||n.remove()}}}removeText(){let e=ng()===this;ot(this,function(e,t="removeEmptySlices"){let n,i;if(e.isCollapsed())return e;let o="root",l="next",s=t,a=ou(e,l),u=oi(a.anchor,o),c=oi(a.focus.getFlipped(),o),d=new Set,h=[];for(let e of a.iterNodeCarets(o))if(iF(e))d.add(e.origin.getKey());else if(iV(e)){let{origin:t}=e;nH(t)&&!d.has(t.getKey())||h.push(t)}for(let e of h)e.remove();for(let e of a.getTextSlices()){if(!e)continue;let{origin:t}=e.caret,n=t.getTextContentSize(),r=or(iY(t,l)),i=t.getMode();if(Math.abs(e.distance)===n&&"removeEmptySlices"===s||"token"===i&&0!==e.distance)r.remove();else if(0!==e.distance){s="removeEmptySlices";let t=e.removeTextSlice(),n=e.caret.origin;if("segmented"===i){let e=t.origin,n=tH(e.getTextContent()).setStyle(e.getStyle()).setFormat(e.getFormat());r.replaceOrInsert(n),t=iq(n,l,t.offset)}n.is(u[0].origin)&&(u[0]=t),n.is(c[0].origin)&&(c[0]=t.getFlipped())}}for(let e of u)if(oo(e)){n=ol(e);break}for(let e of c)if(oo(e)){i=ol(e);break}let f=function(e,t,n){let r;if(!e||!t)return null;let i=e.getParentAtCaret(),o=t.getParentAtCaret();if(!i||!o)return null;let l=i.getParents().reverse();l.push(i);let s=o.getParents().reverse();s.push(o);let a=Math.min(l.length,s.length);for(r=0;r<a&&l[r]===s[r];r++);let u=(e,t)=>{let n;for(let i=r;i<e.length;i++){let r=e[i];if(iu(r))return;!n&&t(r)&&(n=r)}return n},c=u(l,ik),d=c&&u(s,e=>n.has(e.getKey())&&ik(e));return c&&d?[c,d]:null}(n,i,d);if(f){let[e,t]=f;iG(e,"previous").splice(0,t.getChildren()),t.remove()}let p=[n,i,...u,...c].find(oo);if(p)return i1(oa(ol(p),e.direction));r(269,JSON.stringify(u.map(e=>e.origin.__key)))}(on(this))),e&&ng()!==this&&rz(this)}formatText(e,t=null){if(this.isCollapsed())return this.toggleFormat(e),void rN(null);let n=this.getNodes(),r=[];for(let e of n)tJ(e)&&r.push(e);let i=t=>
1{n.forEach(n=>{if(nH(n)){let r=n.getFormatFlags(e,t);n.setTextFormat(r)}})},o=r.length;if(0===o)return this.toggleFormat(e),rN(null),void i(t);let l=this.anchor,s=this.focus,a=this.isBackward(),u=a?s:l,c=a?l:s,d=0,h=r[0],f="element"===u.type?0:u.offset;if("text"===u.type&&f===h.getTextContentSize()&&(d=1,h=r[1],f=0),null==h)return;let p=h.getFormatFlags(e,t);i(p);let g=o-1,m=r[g],O="text"===c.type?c.offset:m.getTextContentSize();if(h.is(m)){if(f===O)return;if(rC(h)||0===f&&O===h.getTextContentSize())h.setFormat(p);else{let e=h.splitText(f,O),t=0===f?e[0]:e[1];t.setFormat(p),"text"===u.type&&u.set(t.__key,0,"text"),"text"===c.type&&c.set(t.__key,O-f,"text")}return void(this.format=p)}0===f||rC(h)||([,h]=h.splitText(f),f=0),h.setFormat(p);let y=m.getFormatFlags(e,p);O>0&&(O===m.getTextContentSize()||rC(m)||([m]=m.splitText(O)),m.setFormat(y));for(let t=d+1;t<g;t++){let n=r[t],i=n.getFormatFlags(e,y);n.setFormat(i)}"text"===u.type&&u.set(h.__key,f,"text"),"text"===c.type&&c.set(m.__key,O,"text"),this.format=p|y}insertNodes(e){var t;if(0===e.length)return;if(this.isCollapsed()||this.removeText(),"root"===this.anchor.key){this.insertParagraph();let t=ng();return t6(t)||r(134),t.insertNodes(e)}let n=(this.isBackward()?this.focus:this.anchor).getNode(),i=iS(n,ik),o=e[e.length-1];if(nH(i)&&"__language"in i){if("__language"in e[0])this.insertText(e[0].getTextContent());else{let t=nk(this);i.splice(t,0,e),o.selectEnd()}return}if(!e.some(e=>(nH(e)||n0(e))&&!e.isInline())){nH(i)||r(211,n.constructor.name,n.getType());let t=nk(this);return i.splice(t,0,e),void o.selectEnd()}let l=function(e){let t=rl(),n=null;for(let r=0;r<e.length;r++){let i=e[r],o=tL(i);if(o||n0(i)&&i.isInline()||nH(i)&&i.isInline()||tJ(i)||i.isParentRequired()){if(null===n&&(n=i.createParentElementNode(),t.append(n),o))continue;null!==n&&n.append(i)}else t.append(i),n=null}return t}(e),s=l.getLastDescendant(),a=l.getChildren(),u=nH(i)&&i.isEmpty()?null:this.insertParagraph(),c=a[a.length-1],d=a[0];nH(t=d)&&ik(t)&&!t.isEmpty()&&nH(i)&&(!i.isEmpty()||i.canMergeWhenEmpty())&&(nH(i)||r(211,n.constructor.name,n.getType()),i.append(...d.getChildren()),d=a[1]),d&&(null===i&&r(212,n.constructor.name,n.getType()),function(e,t,n){let i=t.getParentOrThrow().getLastChild(),o=t,l=[t];for(;o!==i;)o.getNextSibling()||r(140),l.push(o=o.getNextSibling());let s=e;for(let e of l)s=s.insertAfter(e)}(i,d));let h=iS(s,ik);u&&nH(h)&&(u.canMergeWhenEmpty()||ik(c))&&(h.append(...u.getChildren()),u.remove()),nH(i)&&i.isEmpty()&&i.remove(),s.selectEnd();let f=nH(i)?i.getLastChild():null;tL(f)&&h!==i&&f.remove()}insertParagraph(){if("root"===this.anchor.key){let e=rl();return rV().splice(this.anchor.offset,0,[e]),e.select(),e}let e=nk(this),t=iS(this.anchor.getNode(),ik);nH(t)||r(213);let n=t.getChildAtIndex(e),i=n?[n,...n.getNextSiblings()]:[],o=t.insertNewAfter(this,!1);return o?(o.append(...i),o.selectStart(),o):null}insertLineBreak(e){let t=tN();if(this.insertNodes([t]),e){let e=t.getParentOrThrow(),n=t.getIndexWithinParent();e.select(n,n)}}extract(){let e=this.getNodes(),t=e.length,n=t-1,r=this.anchor,i=this.focus,o=e[0],l=e[n],[s,a]=nn(this);if(0===t)return[];if(1===t){if(tJ(o)&&!this.isCollapsed()){let e=s>a?a:s,t=o.splitText(e,s>a?s:a),n=0===e?t[0]:t[1];return null!=n?[n]:[]}return[o]}let u=r.isBefore(i);if(tJ(o)){let t=u?s:a;t===o.getTextContentSize()?e.shift():0!==t&&([,o]=o.splitText(t),e[0]=o)}if(tJ(l)){let t=l.getTextContent().length,r=u?a:s;0===r?e.pop():r!==t&&([l]=l.splitText(r),e[n]=l)}return e}modify(e,t,n){var r;if(nS(this,e,t,n))return;let i="move"===e,o=nL(),l=im(ia(o));if(!l)return;let s=o._blockCursorElement,a=o._rootElement,u=this.focus.getNode();if(null===a||null===s||!nH(u)||u.isInline()||u.canBeEmpty()||ig(s,o,a),this.dirty){let e=ir(o,this.anchor.key),t=ir(o,this.focus.key);"text"===this.anchor.type&&(e=rT(e)),"text"===this.focus.type&&(t=rT(t)),e&&t&&nb(l,e,this.anchor.offset,t,this.focus.offset)}if(r=t?"backward":"forward",l.modify(e,r,n),l.rangeCount>0){let e=l.getRangeAt(0),n=this.anchor.getNode(),r=n5(n)?n:function(e){let t=e.getParentOrThrow();for(;null!==t&&!iu(t);)t=t.getParentOrThrow();return t}(n);if(this.applyDOMRange(e),this.dirty=!0,!i){let n=this.getNodes(),i=[],o=!1;for(let e=0;e<n.length;e++){let t=n[e];il(t,r)?i.push(t):o=!0}if(o&&i.length>0)if(t){let e=i[0];nH(e)?e.selectStart():e.getParentOrThrow().selectStart()}else{let e=i[i.length-1];nH(e)?e.selectEnd():e.getParentOrThrow().selectEnd()}l.anchorNode===e.startContainer&&l.anchorOffset===e.startOffset||function(e){let t=e.focus,n=e.anchor,r=n.key,i=n.offset,o=n.type;n.set(t.key,t.offset,t.type,!0),t.set(r,i,o,!0)}(this)}}"lineboundary"===n&&nS(this,e,t,n,"decorators")}forwardDeletion(e,t,n){if(!n&&("element"===e.type&&nH(t)&&e.offset===t.getChildrenSize()||"text"===e.type&&e.offset===t.getTextContentSize())){let e=t.getParent(),n=t.getNextSibling()||(null===e?null:e.getNextSibling());if(nH(n)&&n.isShadowRoot())return!0}return!1}deleteCharacter(e){let t=this.isCollapsed();
1if(this.isCollapsed()){let t=this.anchor,n=t.getNode();if(this.forwardDeletion(t,n,e))return;let r=i0(i6(t,e?"previous":"next"));if(r.getTextSlices().every(e=>null===e||0===e.distance)){let e={type:"initial"};for(let t of r.iterNodeCarets("shadowRoot"))if(iF(t))if(t.origin.isInline());else{if(t.origin.isShadowRoot()){if("merge-block"===e.type)break;if(nH(r.anchor.origin)&&r.anchor.origin.isEmpty()){let e=ol(t);ot(this,i5(e,e)),r.anchor.origin.remove()}return}"merge-next-block"!==e.type&&"merge-block"!==e.type||(e={block:e.block,caret:t,type:"merge-block"})}else{if("merge-block"===e.type)break;if(iV(t)){if(nH(t.origin)){if(t.origin.isInline()){if(!t.origin.isParentOf(r.anchor.origin))break}else e={block:t.origin,type:"merge-next-block"};continue}if(n0(t.origin)){if(t.origin.isIsolated());else if("merge-next-block"===e.type&&(t.origin.isKeyboardSelectable()||!t.origin.isInline())&&nH(r.anchor.origin)&&r.anchor.origin.isEmpty()){r.anchor.origin.remove();let e=nf();e.add(t.origin.getKey()),rz(e)}else t.origin.remove();return}break}}if("merge-block"===e.type){let{caret:t,block:n}=e;return ot(this,i5(!t.origin.isEmpty()&&n.isEmpty()?or(iY(n,t.direction)):r.anchor,t)),this.removeText()}}let i=this.focus;if(this.modify("extend",e,"character"),this.isCollapsed()){if(e&&0===t.offset&&nr(this,t.getNode()))return}else{let r="text"===i.type?i.getNode():null;if(n="text"===t.type?t.getNode():null,null!==r&&r.isSegmented()){let t=i.offset,o=r.getTextContentSize();if(r.is(n)||e&&t!==o||!e&&0!==t)return void no(r,e,t)}else if(null!==n&&n.isSegmented()){let i=t.offset,o=n.getTextContentSize();if(n.is(r)||e&&0!==i||!e&&i!==o)return void no(n,e,i)}!function(e,t){let n=e.anchor,r=e.focus,i=n.getNode();if(i===r.getNode()&&"text"===n.type&&"text"===r.type){var o;let e=n.offset,l=r.offset,s=e<l,a=s?e:l,u=s?l:e,c=u-1;a===c||rW(o=i.getTextContent().slice(a,u))||ni(o)||(t?r.set(r.key,c,r.type):n.set(n.key,c,n.type))}}(this,e)}}if(this.removeText(),e&&!t&&this.isCollapsed()&&"element"===this.anchor.type&&0===this.anchor.offset){let e=this.anchor.getNode();e.isEmpty()&&n5(e.getParent())&&null===e.getPreviousSibling()&&nr(this,e)}}deleteLine(e){this.isCollapsed()&&this.modify("extend",e,"lineboundary"),this.isCollapsed()?this.deleteCharacter(e):this.removeText()}deleteWord(e){if(this.isCollapsed()){let t=this.anchor,n=t.getNode();if(this.forwardDeletion(t,n,e))return;this.modify("extend",e,"word")}this.removeText()}isBackward(){return this.focus.isBefore(this.anchor)}getStartEndPoints(){return[this.anchor,this.focus]}}function ne(e){return e instanceof t7}function nt(e){let t=e.offset;if("text"===e.type)return t;let n=e.getNode();return t===n.getChildrenSize()?n.getTextContent().length:0}function nn(e){let t=e.getStartEndPoints();if(null===t)return[0,0];let[n,r]=t;return"element"===n.type&&"element"===r.type&&n.key===r.key&&n.offset===r.offset?[0,0]:[nt(n),nt(r)]}function nr(e,t){for(let n=t;n;n=n.getParent()){if(nH(n)){if(n.collapseAtStart(e))return!0;if(iu(n))break}if(n.getPreviousSibling())break}return!1}let ni=(()=>{try{let e=RegExp("\\p{Emoji}","u"),t=e.test.bind(e);if(t("❤️")&&t("#️⃣")&&t("\uD83D\uDC4D"))return t}catch(e){}return()=>!1})();function no(e,t,n){let r=e.getTextContent().split(/(?=\s)/g),i=r.length,o=0,l=0;for(let e=0;e<i;e++){let s=e===i-1;if(l=o,o+=r[e].length,t&&o===n||o>n||s){r.splice(e,1),s&&(l=void 0);break}}let s=r.join("").trim();""===s?e.remove():(e.setTextContent(s),e.select(l,l))}function nl(e,t,n,i){let o,l=t;if(iy(e)){let s=!1,a=e.childNodes,u=a.length,c=i._blockCursorElement;l===u&&(s=!0,l=u-1);let d=a[l],h=!1;if(d===c)d=a[l+1],h=!0;else if(null!==c){let n=c.parentNode;e===n&&t>Array.prototype.indexOf.call(n.children,c)&&l--}if(tJ(o=rB(d)))l=iU(o,s?"next":"previous");else{let a=rB(e);if(null===a)return null;if(nH(a)){let u=i.getElementByKey(a.getKey());null===u&&r(214);let c=a.getDOMSlot(u);[a,l]=c.resolveChildIndex(a,u,e,t),nH(a)||r(215),s&&l>=a.getChildrenSize()&&(l=Math.max(0,a.getChildrenSize()-1));let d=a.getChildAtIndex(l);if(nH(d)&&function(e,t,n){let r=e.getParent();return null===n||null===r||!r.canBeEmpty()||r!==n.getNode()}(d,0,n)){let e=s?d.getLastDescendant():d.getFirstDescendant();a=null===e||nH(d=e)?d:d.getParentOrThrow(),l=0}tJ(d)?(o=d,a=null,l=iU(d,s?"next":"previous")):d!==a&&s&&!h&&(nH(a)||r(216),l=Math.min(a.getChildrenSize(),l+1))}else{let n=a.getIndexWithinParent();l=0===t&&n0(a)&&rB(e)===a?n:n+1,a=a.getParentOrThrow()}if(nH(a))return t3(a.__key,l,"element")}}else o=rB(e);return tJ(o)?t3(o.__key,iU(o,l,"clamp"),"text"):null}function ns(e,t,n){let r=e.offset,i=e.getNode();if(0===r){let r=i.getPreviousSibling(),o=i.getParent();
1if(t){if((n||!t)&&null===r&&nH(o)&&o.isInline()){let t=o.getPreviousSibling();tJ(t)&&e.set(t.__key,t.getTextContent().length,"text")}}else nH(r)&&!n&&r.isInline()?e.set(r.__key,r.getChildrenSize(),"element"):tJ(r)&&e.set(r.__key,r.getTextContent().length,"text")}else if(r===i.getTextContent().length){let r=i.getNextSibling(),o=i.getParent();if(t&&nH(r)&&r.isInline())e.set(r.__key,0,"element");else if((n||t)&&null===r&&nH(o)&&o.isInline()&&!o.canInsertTextAfter()){let t=o.getNextSibling();tJ(t)&&e.set(t.__key,0,"text")}}}function na(e,t,n){if("text"===e.type&&"text"===t.type){let r=e.isBefore(t),i=e.is(t);ns(e,r,i),ns(t,!r,i),i&&t.set(e.key,e.offset,e.type);let o=nL();if(o.isComposing()&&o._compositionKey!==e.key&&t6(n)){let r=n.anchor,i=n.focus;e.set(r.key,r.offset,r.type,!0),t.set(i.key,i.offset,i.type,!0)}}}function nu(e,t,n,r,i,o){if(null===e||null===n||!rb(i,e,n))return null;let l=nl(e,t,t6(o)?o.anchor:null,i);if(null===l)return null;let s=nl(n,r,t6(o)?o.focus:null,i);if(null===s)return null;if("element"===l.type&&"element"===s.type){let t=rB(e),r=rB(n);if(n0(t)&&n0(r))return null}return na(l,s,o),[l,s]}function nc(e){return nH(e)&&!e.isInline()}function nd(e,t,n,r,i,o){let l=nN(),s=new t8(t3(e,t,i),t3(n,r,o),0,"");return s.dirty=!0,l._selection=s,s}function nh(){return new t8(t3("root",0,"element"),t3("root",0,"element"),0,"")}function nf(){return new t7(new Set)}function np(e,t,n,r){let i,o,l,s,a=n._window;if(null===a)return null;let u=r||a.event,c=u?u.type:void 0,d="selectionchange"===c,h=!_&&(d||"beforeinput"===c||"compositionstart"===c||"compositionend"===c||"click"===c&&u&&3===u.detail||"drop"===c||void 0===c);if(t6(e)&&!h)return e.clone();if(null===t)return null;if(i=t.anchorNode,o=t.focusNode,l=t.anchorOffset,s=t.focusOffset,d&&t6(e)&&!rb(n,i,o))return e.clone();let f=nu(i,l,o,s,n,e);if(null===f)return null;let[p,g]=f;return new t8(p,g,t6(e)?e.format:0,t6(e)?e.style:"")}function ng(){return nN()._selection}function nm(){return nL()._editorState._selection}function nO(e,t,n,r=1){let i=e.anchor,o=e.focus,l=i.getNode(),s=o.getNode();if(!t.is(l)&&!t.is(s))return;let a=t.__key;if(e.isCollapsed()){let t=i.offset;if(n<=t&&r>0||n<t&&r<0){let n=Math.max(0,t+r);i.set(a,n,"element"),o.set(a,n,"element"),ny(e)}}else{let l=e.isBackward(),s=l?o:i,u=s.getNode(),c=l?i:o,d=c.getNode();if(t.is(u)){let e=s.offset;(n<=e&&r>0||n<e&&r<0)&&s.set(a,Math.max(0,e+r),"element")}if(t.is(d)){let e=c.offset;(n<=e&&r>0||n<e&&r<0)&&c.set(a,Math.max(0,e+r),"element")}}ny(e)}function ny(e){let t=e.anchor,n=t.offset,r=e.focus,i=r.offset,o=t.getNode(),l=r.getNode();if(e.isCollapsed()){if(!nH(o))return;let e=o.getChildrenSize(),i=n>=e,l=i?o.getChildAtIndex(e-1):o.getChildAtIndex(n);if(tJ(l)){let e=0;i&&(e=l.getTextContentSize()),t.set(l.__key,e,"text"),r.set(l.__key,e,"text")}}else{if(nH(o)){let e=o.getChildrenSize(),r=n>=e,i=r?o.getChildAtIndex(e-1):o.getChildAtIndex(n);if(tJ(i)){let e=0;r&&(e=i.getTextContentSize()),t.set(i.__key,e,"text")}}if(nH(l)){let e=l.getChildrenSize(),t=i>=e,n=t?l.getChildAtIndex(e-1):l.getChildAtIndex(i);if(tJ(n)){let e=0;t&&(e=n.getTextContentSize()),r.set(n.__key,e,"text")}}}}function nv(e,t,n,r,i){let o=null,l=0,s=null;null!==r?(o=r.__key,tJ(r)?(l=r.getTextContentSize(),s="text"):nH(r)&&(l=r.getChildrenSize(),s="element")):null!==i&&(o=i.__key,tJ(i)?s="text":nH(i)&&(s="element")),null!==o&&null!==s?e.set(o,l,s):(-1===(l=t.getIndexWithinParent())&&(l=n.getChildrenSize()),e.set(n.__key,l,"element"))}function nx(e,t,n,r,i){"text"===e.type?e.set(n,e.offset+(t?0:i),"text"):e.offset>r.getIndexWithinParent()&&e.set(e.key,e.offset-1,"element")}function nb(e,t,n,r,i){try{e.setBaseAndExtent(t,n,r,i)}catch(e){}}function nw(e){let t=ng()||nm();null===t&&(t=rV().selectEnd()),t.insertNodes(e)}function nk(e){let t=e;e.isCollapsed()||t.removeText();let n=ng();t6(n)&&(t=n),t6(t)||r(161);let i=t.anchor,o=i.getNode(),l=i.offset;for(;!ik(o);){let e=o;if([o,l]=function(e,t){let n=e.getParent();if(!n){let e=rl();return rV().append(e),e.select(),[rV(),0]}if(tJ(e)){let r=e.splitText(t);if(0===r.length)return[n,e.getIndexWithinParent()];let i=+(0!==t);return[n,r[0].getIndexWithinParent()+i]}if(!nH(e)||0===t)return[n,e.getIndexWithinParent()];let r=e.getChildAtIndex(t);if(r){let n=new t8(t3(e.__key,t,"element"),t3(e.__key,t,"element"),0,""),i=e.insertNewAfter(n);i&&i.append(r,...r.getNextSiblings())}return[n,e.getIndexWithinParent()+1]}(o,l),e.is(o))break}return l}function nS(e,t,n,r,i="decorators-and-blocks"){if("move"===t&&"character"===r&&!e.isCollapsed()){let[t,r]=n===e.isBackward()?[e.focus,e.anchor]:[e.anchor,e.focus];return r.set(t.key,t.offset,t.type),!0}let o=i6(e.focus,n?"previous":"next"),l="lineboundary"===r,s="move"===t,a=o,u="decorators-and-blocks"===i;if(!os(a)){for(let e of a){u=!1;let{origin:t}=e;if(!n0(t)||t.isIsolated()||(a=e,!l||!t.isInline()))break}if(u)for(let e of i0(o).iterNodeCarets("extend"===t?"shadowRoot":"root")){if(iF(e))e.origin.isInline()||(a=e);else{if(nH(e.origin))continue;n0(e.origin)&&!e.origin.isInline()&&(a=e)}break}}if(a===o)return!1;if(s&&!l&&n0(a.origin)&&a.origin.isKeyboardSelectable()){let e=nf();return e.add(a.origin.getKey()),rz(e),!0}
1return a=ol(a),s&&i8(e.anchor,a),i8(e.focus,a),u||!l}let n_=null,nC=null,nP=!1,nT=!1,nQ=0,n$={characterData:!0,childList:!0,subtree:!0};function nA(){return nP||null!==n_&&n_._readOnly}function nE(){nP&&r(13)}function nR(){nQ>99&&r(14)}function nN(){return null===n_&&r(195,nM()),n_}function nL(){return null===nC&&r(196,nM()),nC}function nM(){let e=0,t=new Set,n=rp.version;if("undefined"!=typeof window)for(let r of document.querySelectorAll("[contenteditable]")){let i=rS(r);if(rw(i))e++;else if(i){let e=String(i.constructor.version||"<0.17.1");e===n&&(e+=" (separately built, likely a bundler configuration issue)"),t.add(e)}}let r=` Detected on the page: ${e} compatible editor(s) with version ${n}`;return t.size&&(r+=` and incompatible editors with versions ${Array.from(t).join(", ")}`),r}function nZ(e,t,n){let r=t.__type,i=rO(e,r),o=n.get(r);void 0===o&&(o=Array.from(i.transforms),n.set(r,o));let l=o.length;for(let e=0;e<l&&(o[e](t),t.isAttached());e++);}function nI(e,t){return void 0!==e&&e.__key!==t&&e.isAttached()}function nj(e,t){if(!t)return;let n=e._updateTags,r=t;for(let e of(Array.isArray(t)||(r=[t]),r))n.add(e)}function nX(e){return nD(e,nL()._nodes)}function nD(e,t){let n=e.type,i=t.get(n);void 0===i&&r(17,n);let o=i.klass;e.type!==o.getType()&&r(18,o.name);let l=o.importJSON(e),s=e.children;if(nH(l)&&Array.isArray(s))for(let e=0;e<s.length;e++){let n=nD(s[e],t);l.append(n)}return l}function nV(e,t,n){let r=n_,i=nP,o=nC;n_=t,nP=!0,nC=e;try{return n()}finally{n_=r,nP=i,nC=o}}function nF(e,t){let n=e._pendingEditorState,i=e._rootElement,o=e._headless||null===i;if(null===n)return;let l=e._editorState,s=l._selection,a=n._selection,u=0!==e._dirtyType,c=n_,d=nP,h=nC,f=e._updating,p=e._observer,m=null;if(e._pendingEditorState=null,e._editorState=n,!o&&u&&null!==p){nC=e,n_=n,nP=!1,e._updating=!0;try{let t=e._dirtyType,i=e._dirtyElements,o=e._dirtyLeaves;p.disconnect(),m=function(e,t,n,i,o,l){ee="",er="",ei=2===i,B=n,z=n._config,W=n._nodes,Y=B._listeners.mutation,q=o,U=l,G=e._nodeMap,H=t._nodeMap,eo=t._readOnly,J=new Map(n._keyToDOMMap);let s=new Map;return K=s,function e(t,n){let i=G.get(t),o=H.get(t);void 0!==i&&void 0!==o||r(61);let l=ei||U.has(t)||q.has(t),s=ir(B,t);if(i===o&&!l){if(nH(i)){let e=s.__lexicalTextContent;void 0!==e&&(ee+=e,er+=e)}else{let e=i.getTextContent();er+=e,ee+=e}return s}if(i!==o&&l&&r4(K,W,Y,o,"updated"),o.updateDOM(i,s,z)){let e=eh(t,null);return null===n&&r(62),n.replaceChild(e,s),el(t,null),e}if(nH(i)&&nH(o)){let t=o.__indent;(ei||t!==i.__indent)&&eu(s,t);let n=o.__format;if((ei||n!==i.__format)&&ec(s,n),l&&(function(t,n,i){et=null,en="",function(t,n,i){let o=ee,l=t.__size,s=n.__size;ee="";let a=i.element;if(1===l&&1===s){let r=t.__first,i=n.__first;if(r===i)e(r,a);else{let e=ev(r),t=eh(i,null);try{a.replaceChild(t,e)}catch(n){if("object"==typeof n&&null!=n)throw Error(`${n.toString()} Parent: ${a.tagName}, new child: {tag: ${t.tagName} key: ${i}}, old child: {tag: ${e.tagName}, key: ${r}}.`);throw n}el(r,null)}let o=H.get(i);tJ(o)&&(null===et&&(et=o.getFormat()),""===en&&(en=o.getStyle()))}else{let o=em(t,G),u=em(n,H);if(o.length!==l&&r(227),u.length!==s&&r(228),0===l)0!==s&&ef(u,n,0,s-1,i);else if(0===s){if(0!==l){let e=null==i.after&&null==i.before&&null==i.element.__lexicalLineBreak;es(o,0,l-1,e?null:a),e&&(a.textContent="")}}else!function(t,n,r,i,o,l){let s=i-1,a=o-1,u,c,d=l.getFirstChild(),h=0,f=0;for(;h<=s&&f<=a;){let t=n[h],i=r[f];if(t===i)d=ey(e(i,l.element)),h++,f++;else{void 0===u&&(u=new Set(n)),void 0===c&&(c=new Set(r));let o=c.has(t),s=u.has(i);if(o)if(s){let t=ir(B,i);t===d?d=ey(e(i,l.element)):(l.withBefore(d).insertChild(t),e(i,l.element)),h++,f++}else eh(i,l.withBefore(d)),f++;else d=ey(ev(t)),el(t,l.element),h++}let o=H.get(i);null!==o&&tJ(o)&&(null===et&&(et=o.getFormat()),""===en&&(en=o.getStyle()))}let p=h>s,g=f>a;if(p&&!g){let e=r[a+1],n=void 0===e?null:B.getElementByKey(e);ef(r,t,f,a,l.withBefore(n))}else g&&!p&&es(n,h,s,l.element)}(n,o,u,l,s,i)}it(n)&&(ee+="\n\n"),a.__lexicalTextContent=ee,ee=o+ee}(t,n,n.getDOMSlot(i)),null==et||et===n.__textFormat||eo||n.setTextFormat(et),""===en||en===n.__textStyle||eo||n.setTextStyle(en)}(i,o,s),n5(o)||o.isInline()||eg(i,o,s)),it(o)&&(ee+="\n\n",er+="\n\n"),(ei||o.__dir!==i.__dir)&&(ed(s,o),n5(o)&&!ei))for(let e of o.getChildren())nH(e)&&ed(ir(B,e.getKey()),e)}else{let e=o.getTextContent();if(n0(o)){let e=o.decorate(B,z);null!==e&&eO(t,e)}ee+=e,er+=e}if(!eo&&n5(o)&&o.__cachedText!==er){let e=o.getWritable();e.__cachedText=er,o=e}return s}("root",null),B=void 0,W=void 0,q=void 0,U=void 0,G=void 0,H=void 0,z=void 0,J=void 0,K=void 0,s}(l,n,e,t,i,o)}catch(t){if(t instanceof Error&&e._onError(t),nT)throw t;return rh(e,null,i,n),A(e),e._dirtyType=2,nT=!0,nF(e,l),void(nT=!1)}finally{p.observe(i,n$),e._updating=f,n_=c,nP=d,nC=h}}n._readOnly||(n._readOnly=!0);let O=e._dirtyLeaves,y=e._dirtyElements,v=e._normalizedNodes,x=e._updateTags,b=e._deferred;u&&(e._dirtyType=0,e._cloneNotNeeded.clear(),e._dirtyLeaves=new Set,e._dirtyElements=new Map,e._normalizedNodes=new Set,e._updateTags=new Set),function(e,t){let n,r=e._decorators,i=e._pendingDecorators||r,o=t._nodeMap;for(n in i)o.has(n)||(i===r&&(i=rX(e)),delete i[n])}
1(e,n);let w=o?null:im(ia(e));if(e._editable&&null!==w&&(u||null===a||a.dirty)&&null!==i&&!x.has(rn)){nC=e,n_=n;try{if(null!==p&&p.disconnect(),u||null===a||a.dirty){let t=e._blockCursorElement;null!==t&&ig(t,e,i),function(e,t,n,r,i,o,l){let s=r.anchorNode,a=r.focusNode,u=r.anchorOffset,c=r.focusOffset,d=document.activeElement;if(i.has(re)&&d!==o||null!==d&&rx(d))return;if(!t6(t))return null!==e&&rb(n,s,a)&&r.removeAllRanges();let h=t.anchor,f=t.focus,p=h.key,g=f.key,m=ir(n,p),O=ir(n,g),y=h.offset,v=f.offset,x=t.format,b=t.style,w=t.isCollapsed(),k=m,S=O,_=!1;if("text"===h.type){k=rT(m);let e=h.getNode();_=e.getFormat()!==x||e.getStyle()!==b}else t6(e)&&"text"===e.anchor.type&&(_=!0);if("text"===f.type&&(S=rT(O)),null!==k&&null!==S&&(w&&(null===e||_||t6(e)&&(e.format!==x||e.style!==b))&&(tm=[x,b,y,p,performance.now()]),u!==y||c!==v||s!==k||a!==S||"Range"===r.type&&w||(null!==d&&o.contains(d)||o.focus({preventScroll:!0}),"element"===h.type))){if(nb(r,k,y,S,v),!i.has(rt)&&t.isCollapsed()&&null!==o&&o===document.activeElement){let e=t6(t)&&"element"===t.anchor.type?k.childNodes[y]||null:r.rangeCount>0?r.getRangeAt(0):null;if(null!==e){let t;if(e instanceof Text){let n=document.createRange();n.selectNode(e),t=n.getBoundingClientRect()}else t=e.getBoundingClientRect();!function(e,t,n){let r=io(n),i=is(r);if(null===r||null===i)return;let{top:o,bottom:l}=t,s=0,a=0,u=n;for(;null!==u;){let t=u===r.body;if(t)s=0,a=ia(e).innerHeight;else{let e=u.getBoundingClientRect();s=e.top,a=e.bottom}let n=0;if(o<s?n=-(s-o):l>a&&(n=l-a),0!==n)if(t)i.scrollBy(0,n);else{let e=u.scrollTop;u.scrollTop+=n;let t=u.scrollTop-e;o-=t,l-=t}if(t)break;u=ii(u)}}(n,t,o)}}tu=!0}}(s,a,e,w,x,i)}!function(e,t,n){let r=e._blockCursorElement;if(t6(n)&&n.isCollapsed()&&"element"===n.anchor.type&&t.contains(document.activeElement)){let i=n.anchor,o=i.getNode(),l=i.offset,s=!1,a=null;if(l===o.getChildrenSize())ip(o.getChildAtIndex(l-1))&&(s=!0);else{let t=o.getChildAtIndex(l);if(null!==t&&ip(t)){let n=t.getPreviousSibling();(null===n||ip(n))&&(s=!0,a=e.getElementByKey(t.__key))}}if(s){let n=e.getElementByKey(o.__key);return null===r&&(e._blockCursorElement=r=function(e){let t=e.theme,n=document.createElement("div");n.contentEditable="false",n.setAttribute("data-lexical-cursor","true");let r=t.blockCursor;return void 0!==r&&("string"==typeof r&&(r=t.blockCursor=g(r)),void 0!==r&&n.classList.add(...r)),n}(e._config)),t.style.caretColor="transparent",null===a?n.appendChild(r):n.insertBefore(r,a)}}null!==r&&ig(r,e,t)}(e,i,a)}finally{null!==p&&p.observe(i,n$),nC=h,n_=c}}null!==m&&function(e,t,n,r,i){let o=Array.from(e._listeners.mutation),l=o.length;for(let e=0;e<l;e++){let[l,s]=o[e];for(let e of s){let o=t.get(e);void 0!==o&&l(o,{dirtyLeaves:r,prevEditorState:i,updateTags:n})}}}(e,m,x,O,l),t6(a)||null===a||null!==s&&s.is(a)||e.dispatchCommand(eb,void 0);let k=e._pendingDecorators;null!==k&&(e._decorators=k,e._pendingDecorators=null,nz("decorator",e,!0,k)),function(e,t,n){let r=rD(t),i=rD(n);r!==i&&nz("textcontent",e,!0,i)}(e,t||l,n),nz("update",e,!0,{dirtyElements:y,dirtyLeaves:O,editorState:n,mutatedNodes:m,normalizedNodes:v,prevEditorState:t||l,tags:x}),function(e,t){if(e._deferred=[],0!==t.length){let n=e._updating;e._updating=!0;try{for(let e=0;e<t.length;e++)t[e]()}finally{e._updating=n}}}(e,b),function(e){let t=e._updates;if(0!==t.length){let n=t.shift();if(n){let[t,r]=n;nW(e,t,r)}}}(e)}function nz(e,t,n,...r){let i=t._updating;t._updating=n;try{let n=Array.from(t._listeners[e]);for(let e=0;e<n.length;e++)n[e].apply(null,r)}finally{t._updating=i}}function nB(e,t){let n=e._updates,i=t||!1;for(;0!==n.length;){let t=n.shift();if(t){let n,[o,l]=t,s=e._pendingEditorState;void 0!==l&&(n=l.onUpdate,l.skipTransforms&&(i=!0),l.discrete&&(null===s&&r(191),s._flushSync=!0),n&&e._deferred.push(n),nj(e,l.tag)),null==s?nW(e,o,l):o()}}return i}function nW(e,t,n){let i=e._updateTags,o,l=!1,s=!1;void 0!==n&&(o=n.onUpdate,nj(e,n.tag),l=n.skipTransforms||!1,s=n.discrete||!1),o&&e._deferred.push(o);let a=e._editorState,u=e._pendingEditorState,c=!1;(null===u||u._readOnly)&&(u=e._pendingEditorState=n2(u||a),c=!0),u._flushSync=s;let d=n_,h=nP,f=nC,p=e._updating;n_=u,nP=!1,e._updating=!0,nC=e;let g=e._headless||null===e.getRootElement();rg=null;try{c&&(g?null!==a._selection&&(u._selection=a._selection.clone()):u._selection=function(e,t){let n=e.getEditorState()._selection,r=im(ia(e));return t6(n)||null==n?np(n,r,e,t):n.clone()}(e,n&&n.event||null));let i=e._compositionKey;t(),l=nB(e,l),function(e,t){let n=t.getEditorState()._selection,r=e._selection;if(t6(r)){let e,t=r.anchor,i=r.focus;if("text"===t.type&&(e=t.getNode()).selectionTransform(n,r),"text"===i.type){let t=i.getNode();e!==t&&t.selectionTransform(n,r)}}}(u,e),0!==e._dirtyType&&(l?function(e,t){let n=t._dirtyLeaves,r=e._nodeMap;for(let e of n){let t=r.get(e);tJ(t)&&t.isAttached()&&t.isSimpleText()&&!t.isUnmergeable()&&D(t)}}(u,e):function(e,t){let n=t._dirtyLeaves,r=t._dirtyElements,i=e._nodeMap,o=rL(),l=new Map,s=n,a=s.size,u=r,c=u.size;
1for(;a>0||c>0;){if(a>0){for(let e of(t._dirtyLeaves=new Set,s)){let r=i.get(e);tJ(r)&&r.isAttached()&&r.isSimpleText()&&!r.isUnmergeable()&&D(r),void 0!==r&&nI(r,o)&&nZ(t,r,l),n.add(e)}if((a=(s=t._dirtyLeaves).size)>0){nQ++;continue}}for(let e of(t._dirtyLeaves=new Set,t._dirtyElements=new Map,u.delete("root")&&u.set("root",!0),u)){let n=e[0],s=e[1];if(r.set(n,s),!s)continue;let a=i.get(n);void 0!==a&&nI(a,o)&&nZ(t,a,l)}a=(s=t._dirtyLeaves).size,c=(u=t._dirtyElements).size,nQ++}t._dirtyLeaves=n,t._dirtyElements=r}(u,e),nB(e),function(e,t,n,r){let i=e._nodeMap,o=t._nodeMap,l=[];for(let[e]of r){let t=o.get(e);void 0!==t&&(t.isAttached()||(nH(t)&&function e(t,n,r,i,o,l){let s=t.getFirstChild();for(;null!==s;){let t=s.__key;s.__parent===n&&(nH(s)&&e(s,t,r,i,o,l),r.has(t)||l.delete(t),o.push(t)),s=s.getNextSibling()}}(t,e,i,o,l,r),i.has(e)||r.delete(e),l.push(e)))}for(let e of l)o.delete(e);for(let e of n){let t=o.get(e);void 0===t||t.isAttached()||(i.has(e)||n.delete(e),o.delete(e))}}(a,u,e._dirtyLeaves,e._dirtyElements)),i!==e._compositionKey&&(u._flushSync=!0);let o=u._selection;if(t6(o)){let e=u._nodeMap,t=o.anchor.key,n=o.focus.key;void 0!==e.get(t)&&void 0!==e.get(n)||r(19)}else ne(o)&&0===o._nodes.size&&(u._selection=null)}catch(t){return t instanceof Error&&e._onError(t),e._pendingEditorState=a,e._dirtyType=2,e._cloneNotNeeded.clear(),e._dirtyLeaves=new Set,e._dirtyElements.clear(),void nF(e)}finally{n_=d,nP=h,nC=f,e._updating=p,nQ=0}0!==e._dirtyType||e._deferred.length>0||function(e,t){let n=t.getEditorState()._selection,r=e._selection;if(null!==r){if(r.dirty||!r.is(n))return!0}else if(null!==n)return!0;return!1}(u,e)?u._flushSync?(u._flushSync=!1,nF(e)):c&&rv(()=>{nF(e)}):(u._flushSync=!1,c&&(i.clear(),e._deferred=[],e._pendingEditorState=null))}function nY(e,t,n){nC===e&&void 0===n?t():nW(e,t,n)}class nq{constructor(e,t,n){this.element=e,this.before=t||null,this.after=n||null}withBefore(e){return new nq(this.element,e,this.after)}withAfter(e){return new nq(this.element,this.before,e)}withElement(e){return this.element===e?this:new nq(e,this.before,this.after)}insertChild(e){let t=this.before||this.getManagedLineBreak();return null!==t&&t.parentElement!==this.element&&r(222),this.element.insertBefore(e,t),this}removeChild(e){return e.parentElement!==this.element&&r(223),this.element.removeChild(e),this}replaceChild(e,t){return t.parentElement!==this.element&&r(224),this.element.replaceChild(e,t),this}getFirstChild(){let e=this.after?this.after.nextSibling:this.element.firstChild;return e===this.before||e===this.getManagedLineBreak()?null:e}getManagedLineBreak(){return this.element.__lexicalLineBreak||null}setManagedLineBreak(e){null===e?this.removeManagedLineBreak():this.insertManagedLineBreak("decorator"===e&&(c||u))}removeManagedLineBreak(){let e=this.getManagedLineBreak();if(e){let t=this.element,n="IMG"===e.nodeName?e.nextSibling:null;n&&t.removeChild(n),t.removeChild(e),t.__lexicalLineBreak=void 0}}insertManagedLineBreak(e){let t=this.getManagedLineBreak();if(t){if(e===("IMG"===t.nodeName))return;this.removeManagedLineBreak()}let n=this.element,r=this.before,i=document.createElement("br");if(n.insertBefore(i,r),e){let e=document.createElement("img");e.setAttribute("data-lexical-linebreak","true"),e.style.cssText="display: inline !important; border: 0px !important; margin: 0px !important;",e.alt="",n.insertBefore(e,i),n.__lexicalLineBreak=e}else n.__lexicalLineBreak=i}getFirstChildOffset(){let e=0;for(let t=this.after;null!==t;t=t.previousSibling)e++;return e}resolveChildIndex(e,t,n,r){if(n===this.element){let t=this.getFirstChildOffset();return[e,Math.min(t+e.getChildrenSize(),Math.max(t,r))]}let i=nU(t,n);i.push(r);let o=nU(t,this.element),l=e.getIndexWithinParent();for(let e=0;e<o.length;e++){let t=i[e],n=o[e];if(void 0===t||t<n)break;if(t>n){l+=1;break}}return[e.getParentOrThrow(),l]}}function nU(e,t){let n=[],i=t;for(;i!==e&&null!==i;i=i.parentNode){let e=0;for(let t=i.previousSibling;null!==t;t=t.previousSibling)e++;n.push(e)}return i!==e&&r(225),n.reverse()}class nG extends tA{constructor(e){super(e),this.__first=null,this.__last=null,this.__size=0,this.__format=0,this.__style="",this.__indent=0,this.__dir=null,this.__textFormat=0,this.__textStyle=""}afterCloneFrom(e){super.afterCloneFrom(e),this.__key===e.__key&&(this.__first=e.__first,this.__last=e.__last,this.__size=e.__size),this.__indent=e.__indent,this.__format=e.__format,this.__style=e.__style,this.__dir=e.__dir,this.__textFormat=e.__textFormat,this.__textStyle=e.__textStyle}getFormat(){return this.getLatest().__format}getFormatType(){return b[this.getFormat()]||""}getStyle(){return this.getLatest().__style}getIndent(){return this.getLatest().__indent}getChildren(){let e=[],t=this.getFirstChild();for(;null!==t;)e.push(t),t=t.getNextSibling();return e}getChildrenKeys(){let e=[],t=this.getFirstChild();for(;null!==t;)e.push(t.__key),t=t.getNextSibling();return e}getChildrenSize(){return this.getLatest().__size}isEmpty(){return 0===this.getChildrenSize()}isDirty(){let e=nL()._dirtyElements;return null!==e&&e.has(this.__key)}isLastChild(){let e=this.getLatest(),t=this.getParentOrThrow().getLastChild();return null!==t&&t.is(e)}getAllTextNodes(){let e=[],t=this.getFirstChild();for(;null!==t;){if(tJ(t)&&e.push(t),nH(t)){let n=t.getAllTextNodes();e.push(...n)}t=t.getNextSibling()}return e}getFirstDescendant(){let e=this.getFirstChild();for(;nH(e);){let t=e.getFirstChild();if(null===t)break;e=t}return e}getLastDescendant(){let e=this.getLastChild();for(;nH(e);){let t=e.getLastChild();if(null===t)break;e=t}return e}getDescendantByIndex(e){let t=this.getChildren(),n=t.length;if(e>=n){let e=t[n-1];return nH(e)&&e.getLastDescendant()||e||null}let r=t[e];return nH(r)&&r.getFirstDescendant()||r||null}getFirstChild(){let e=this.getLatest().__first;return null===e?null:rM(e)}getFirstChildOrThrow(){let e=this.getFirstChild();return null===e&&r(45,this.__key),e}getLastChild(){let e=this.getLatest().__last;return null===e?null:rM(e)}getLastChildOrThrow(){let e=this.getLastChild();return null===e&&r(96,this.__key),e}getChildAtIndex(e){let t,n,r=this.getChildrenSize();if(e<r/2){for(t=this.getFirstChild(),n=0;null!==t&&n<=e;){if(n===e)return t;t=t.getNextSibling(),n++}return null}for(t=this.getLastChild(),n=r-1;null!==t&&n>=e;){if(n===e)return t;t=t.getPreviousSibling(),n--}return null}getTextContent(){let e="",t=this.getChildren(),n=t.length;for(let r=0;r<n;r++){let i=t[r];e+=i.getTextContent(),nH(i)&&r!==n-1&&!i.isInline()&&(e+="\n\n")}return e}getTextContentSize(){let e=0,t=this.getChildren(),n=t.length;for(let r=0;r<n;r++){let i=t[r];e+=i.getTextContentSize(),nH(i)&&r!==n-1&&!i.isInline()&&(e+=2)}return e}getDirection(){return this.getLatest().__dir}getTextFormat(){return this.getLatest().__textFormat}hasFormat(e){if(""!==e){let t=x[e];return!!(this.getFormat()&t)}return!1}hasTextFormat(e){let t=y[e];return!!(this.getTextFormat()&t)}getFormatFlags(e,t){return rQ(this.getLatest().__textFormat,e,t)}getTextStyle(){return this.getLatest().__textStyle}select(e,t){nE();let n=ng(),r=e,i=t,o=this.getChildrenSize();if(!this.canBeEmpty()){if(0===e&&0===t){let e=this.getFirstChild();if(tJ(e)||nH(e))return e.select(0,0)}
1else if((void 0===e||e===o)&&(void 0===t||t===o)){let e=this.getLastChild();if(tJ(e)||nH(e))return e.select()}}void 0===r&&(r=o),void 0===i&&(i=o);let l=this.__key;return t6(n)?(n.anchor.set(l,r,"element"),n.focus.set(l,i,"element"),n.dirty=!0,n):nd(l,r,l,i,"element","element")}selectStart(){let e=this.getFirstDescendant();return e?e.selectStart():this.select()}selectEnd(){let e=this.getLastDescendant();return e?e.selectEnd():this.select()}clear(){let e=this.getWritable();return this.getChildren().forEach(e=>e.remove()),e}append(...e){return this.splice(this.getChildrenSize(),0,e)}setDirection(e){let t=this.getWritable();return t.__dir=e,t}setFormat(e){return this.getWritable().__format=""!==e?x[e]:0,this}setStyle(e){return this.getWritable().__style=e||"",this}setTextFormat(e){let t=this.getWritable();return t.__textFormat=e,t}setTextStyle(e){let t=this.getWritable();return t.__textStyle=e,t}setIndent(e){return this.getWritable().__indent=e,this}splice(e,t,n){let i=n.length,o=this.getChildrenSize(),l=this.getWritable();e+t<=o||r(226,String(e),String(t),String(o));let s=l.__key,a=[],u=[],c=this.getChildAtIndex(e+t),d=null,h=o-t+i;if(0!==e)if(e===o)d=this.getLastChild();else{let t=this.getChildAtIndex(e);null!==t&&(d=t.getPreviousSibling())}if(t>0){let e=null===d?this.getFirstChild():d.getNextSibling();for(let n=0;n<t;n++){null===e&&r(100);let t=e.getNextSibling(),n=e.__key;rE(e.getWritable()),u.push(n),e=t}}let f=d;for(let e=0;e<i;e++){let t=n[e];null!==f&&t.is(f)&&(d=f=f.getPreviousSibling());let i=t.getWritable();i.__parent===s&&h--,rE(i);let o=t.__key;if(null===f)l.__first=o,i.__prev=null;else{let e=f.getWritable();e.__next=o,i.__prev=e.__key}t.__key===s&&r(76),i.__parent=s,a.push(o),f=t}if(e+t===o)null!==f&&(f.getWritable().__next=null,l.__last=f.__key);else if(null!==c){let e=c.getWritable();if(null!==f){let t=f.getWritable();e.__prev=f.__key,t.__next=c.__key}else e.__prev=null}if(l.__size=h,u.length){let e=ng();if(t6(e)){let t=new Set(u),n=new Set(a),{anchor:r,focus:i}=e;nJ(r,t,n)&&nv(r,r.getNode(),this,d,c),nJ(i,t,n)&&nv(i,i.getNode(),this,d,c),0!==h||this.canBeEmpty()||iu(this)||this.remove()}}return l}getDOMSlot(e){return new nq(e)}exportDOM(e){let{element:t}=super.exportDOM(e);if(iy(t)){let e=this.getIndent();e>0&&(t.style.paddingInlineStart=40*e+"px");let n=this.getDirection();n&&(t.dir=n)}return{element:t}}exportJSON(){let e={children:[],direction:this.getDirection(),format:this.getFormatType(),indent:this.getIndent(),...super.exportJSON()},t=this.getTextFormat(),n=this.getTextStyle();return 0!==t&&(e.textFormat=t),""!==n&&(e.textStyle=n),e}updateFromJSON(e){return super.updateFromJSON(e).setFormat(e.format).setIndent(e.indent).setDirection(e.direction).setTextFormat(e.textFormat||0).setTextStyle(e.textStyle||"")}insertNewAfter(e,t){return null}canIndent(){return!0}collapseAtStart(e){return!1}excludeFromCopy(e){return!1}canReplaceWith(e){return!0}canInsertAfter(e){return!0}canBeEmpty(){return!0}canInsertTextBefore(){return!0}canInsertTextAfter(){return!0}isInline(){return!1}isShadowRoot(){return!1}canMergeWith(e){return!1}extractWithChild(e,t,n){return!1}canMergeWhenEmpty(){return!1}reconcileObservedMutation(e,t){let n=this.getDOMSlot(e),r=n.getFirstChild();for(let e=this.getFirstChild();e;e=e.getNextSibling()){let i=t.getElementByKey(e.getKey());null!==i&&(null==r?(n.insertChild(i),r=i):r!==i&&n.replaceChild(i,r),r=r.nextSibling)}}}function nH(e){return e instanceof nG}function nJ(e,t,n){let r=e.getNode();for(;r;){let e=r.__key;if(t.has(e)&&!n.has(e))return!0;r=r.getParent()}return!1}class nK extends tA{decorate(e,t){r(47)}isIsolated(){return!1}isInline(){return!0}isKeyboardSelectable(){return!0}}function n0(e){return e instanceof nK}class n1 extends nG{static getType(){return"root"}static clone(){return new n1}constructor(){super("root"),this.__cachedText=null}getTopLevelElementOrThrow(){r(51)}getTextContent(){let e=this.__cachedText;return(nA()||0===nL()._dirtyType)&&null!==e?e:super.getTextContent()}remove(){r(52)}replace(e){r(53)}insertBefore(e){r(54)}insertAfter(e){r(55)}updateDOM(e,t){return!1}splice(e,t,n){for(let e of n)nH(e)||n0(e)||r(282);return super.splice(e,t,n)}static importJSON(e){return rV().updateFromJSON(e)}collapseAtStart(){return!0}}function n5(e){return e instanceof n1}function n2(e){return new n9(new Map(e._nodeMap))}function n3(){return new n9(new Map([["root",new n1]]))}class n9{constructor(e,t){this._nodeMap=e,this._selection=t||null,this._flushSync=!1,this._readOnly=!1}isEmpty(){return 1===this._nodeMap.size&&null===this._selection}read(e,t){return nV(t&&t.editor||null,this,e)}clone(e){let t=new n9(this._nodeMap,void 0===e?this._selection:e);return t._readOnly=!0,t}toJSON(){return nV(null,this,()=>({root:function e(t){let n=t.exportJSON(),i=t.constructor;if(n.type!==i.getType()&&r(130,i.name),nH(t)){let o=n.children;Array.isArray(o)||r(59,i.name);let l=t.getChildren();for(let t=0;t<l.length;t++){let n=e(l[t]);o.push(n)}}return n}(rV())}))}}let n4="historic",n7="history-push",n6="history-merge",n8="paste",re="collaboration",rt="skip-scroll-into-view",rn="skip-dom-selection";class rr extends nG{static getType(){return"artificial"}createDOM(e){return document.createElement("div")}}class ri extends nG{static getType(){return"paragraph"}static clone(e){return new ri(e.__key)}createDOM(e){let t=document.createElement("p"),n=r9(e.theme,"paragraph");return void 0!==n&&t.classList.add(...n),t}updateDOM(e,t,n){return!1}static importDOM(){return{p:e=>({conversion:ro,priority:0})}}exportDOM(e){let{element:t}=super.exportDOM(e);if(iy(t)){this.isEmpty()&&t.append(document.createElement("br"));let e=this.getFormatType();e&&(t.style.textAlign=e)}return{element:t}}static importJSON(e){return rl().updateFromJSON(e)}exportJSON(){return{...super.exportJSON(),textFormat:this.getTextFormat(),textStyle:this.getTextStyle()}}
1insertNewAfter(e,t){let n=rl();n.setTextFormat(e.format),n.setTextStyle(e.style);let r=this.getDirection();return n.setDirection(r),n.setFormat(this.getFormatType()),n.setStyle(this.getStyle()),this.insertAfter(n,t),n}collapseAtStart(){let e=this.getChildren();if(0===e.length||tJ(e[0])&&""===e[0].getTextContent().trim()){if(null!==this.getNextSibling())return this.selectNext(),this.remove(),!0;if(null!==this.getPreviousSibling())return this.selectPrevious(),this.remove(),!0}return!1}}function ro(e){let t=rl();return e.style&&(t.setFormat(e.style.textAlign),i$(e,t)),{node:t}}function rl(){return id(new ri)}function rs(e){return e instanceof ri}let ra=0,ru=1,rc=3,rd=4;function rh(e,t,n,r){let i=e._keyToDOMMap;i.clear(),e._editorState=n3(),e._pendingEditorState=r,e._compositionKey=null,e._dirtyType=0,e._cloneNotNeeded.clear(),e._dirtyLeaves=new Set,e._dirtyElements.clear(),e._normalizedNodes=new Set,e._updateTags=new Set,e._updates=[],e._blockCursorElement=null;let o=e._observer;null!==o&&(o.disconnect(),e._observer=null),null!==t&&(t.textContent=""),null!==n&&(n.textContent="",i.set("root",n))}function rf(e){let t,n=e||{},r=nC,i=n.theme||{},o=void 0===e?r:n.parentEditor||null,l=n.disableEvents||!1,s=n3(),a=n.namespace||(null!==o?o._config.namespace:rq()),u=n.editorState,c=[n1,tF,tE,t0,ri,rr,...n.nodes||[]],{onError:d,html:h}=n,f=void 0===n.editable||n.editable;if(void 0===e&&null!==r)t=r._nodes;else{t=new Map;for(let e=0;e<c.length;e++){let n=c[e],r=null,i=null;if("function"!=typeof n){let e=n;n=e.replace,r=e.with,i=e.withKlass||null}let{ownNodeConfig:o}=iE(n),l=n.getType(),s=n.transform(),a=new Set;o&&o.$transform&&a.add(o.$transform),null!==s&&a.add(s),t.set(l,{exportDOM:h&&h.export?h.export.get(n):void 0,klass:n,replace:r,replaceWithKlass:i,sharedNodeState:E(c[e]),transforms:a})}}let p=new rp(s,o,t,{disableEvents:l,namespace:a,theme:i},d||console.error,function(e,t){let n=new Map,r=new Set,i=e=>{Object.keys(e).forEach(t=>{let r=n.get(t);void 0===r&&(r=[],n.set(t,r)),r.push(e[t])})};return e.forEach(e=>{let t=e.klass.importDOM;if(null==t||r.has(t))return;r.add(t);let n=t.call(e.klass);null!==n&&i(n)}),t&&i(t),n}(t,h?h.import:void 0),f,e);return void 0!==u&&(p._pendingEditorState=u,p._dirtyType=2),p}class rp{constructor(e,t,n,r,i,o,l,s){this._createEditorArgs=s,this._parentEditor=t,this._rootElement=null,this._editorState=e,this._pendingEditorState=null,this._compositionKey=null,this._deferred=[],this._keyToDOMMap=new Map,this._updates=[],this._updating=!1,this._listeners={decorator:new Set,editable:new Set,mutation:new Map,root:new Set,textcontent:new Set,update:new Set},this._commands=new Map,this._config=r,this._nodes=n,this._decorators={},this._pendingDecorators=null,this._dirtyType=0,this._cloneNotNeeded=new Set,this._dirtyLeaves=new Set,this._dirtyElements=new Map,this._normalizedNodes=new Set,this._updateTags=new Set,this._observer=null,this._key=rq(),this._onError=i,this._htmlConversions=o,this._editable=l,this._headless=null!==t&&t._headless,this._window=null,this._blockCursorElement=null}isComposing(){return null!=this._compositionKey}registerUpdateListener(e){let t=this._listeners.update;return t.add(e),()=>{t.delete(e)}}registerEditableListener(e){let t=this._listeners.editable;return t.add(e),()=>{t.delete(e)}}registerDecoratorListener(e){let t=this._listeners.decorator;return t.add(e),()=>{t.delete(e)}}registerTextContentListener(e){let t=this._listeners.textcontent;return t.add(e),()=>{t.delete(e)}}registerRootListener(e){let t=this._listeners.root;return e(this._rootElement,null),t.add(e),()=>{e(null,this._rootElement),t.delete(e)}}registerCommand(e,t,n){void 0===n&&r(35);let i=this._commands;i.has(e)||i.set(e,[new Set,new Set,new Set,new Set,new Set]);let o=i.get(e);void 0===o&&r(36,String(e));let l=o[n];return l.add(t),()=>{l.delete(t),o.every(e=>0===e.size)&&i.delete(e)}}registerMutationListener(e,t,n){let r=this.resolveRegisteredNodeAfterReplacements(this.getRegisteredNode(e)).klass,i=this._listeners.mutation,o=i.get(t);void 0===o&&(o=new Set,i.set(t,o)),o.add(r);let l=n&&n.skipInitialization;return void 0!==l&&l||this.initializeMutationListener(t,r),()=>{o.delete(r),0===o.size&&i.delete(t)}}getRegisteredNode(e){let t=this._nodes.get(e.getType());return void 0===t&&r(37,e.name),t}resolveRegisteredNodeAfterReplacements(e){for(;e.replaceWithKlass;)e=this.getRegisteredNode(e.replaceWithKlass);return e}initializeMutationListener(e,t){let n=this._editorState,r=iT(n).get(t.getType());if(!r)return;let i=new Map;for(let e of r.keys())i.set(e,"created");i.size>0&&e(i,{dirtyLeaves:new Set,prevEditorState:n,updateTags:new Set(["registerMutationListener"])})}registerNodeTransformToKlass(e,t){let n=this.getRegisteredNode(e);return n.transforms.add(t),n}registerNodeTransform(e,t){let n=this.registerNodeTransformToKlass(e,t),r=[n],i=n.replaceWithKlass;if(null!=i){let e=this.registerNodeTransformToKlass(i,t);r.push(e)}return function(e,t){let n=iT(e.getEditorState()),r=[];for(let e of t){let t=n.get(e);t&&r.push(t)}0!==r.length&&e.update(()=>{for(let e of r)for(let t of e.keys()){let e=rM(t);e&&e.markDirty()}},null===e._pendingEditorState?{tag:n6}:void 0)}(this,r.map(e=>e.klass.getType())),()=>
1{r.forEach(e=>e.transforms.delete(t))}}hasNode(e){return this._nodes.has(e.getType())}hasNodes(e){return e.every(this.hasNode.bind(this))}dispatchCommand(e,t){return ie(this,e,t)}getDecorators(){return this._decorators}getRootElement(){return this._rootElement}getKey(){return this._key}setRootElement(e){let t=this._rootElement;if(e!==t){let n=r9(this._config.theme,"root"),i=this._pendingEditorState||this._editorState;if(this._rootElement=e,rh(this,t,e,i),null!==t&&(this._config.disableEvents||function(e){let t=e.ownerDocument,n=ta.get(t);if(void 0===n)return;let i=n-1;i>=0||r(164),ta.set(t,i),0===i&&t.removeEventListener("selectionchange",tC);let o=rS(e);rw(o)?(!function(e){if(null!==e._parentEditor){let t=rY(e),n=t[t.length-1]._key;t_.get(n)===e&&t_.delete(n)}else t_.delete(e._key)}(o),e.__lexicalEditor=null):o&&r(198);let l=tS(e);for(let e=0;e<l.length;e++)l[e]();e.__lexicalEventHandles=[]}(t),null!=n&&t.classList.remove(...n)),null!==e){let t=is(e),r=e.style;r.userSelect="text",r.whiteSpace="pre-wrap",r.wordBreak="break-word",e.setAttribute("data-lexical-editor","true"),this._window=t,this._dirtyType=2,A(this),this._updateTags.add(n6),nF(this),this._config.disableEvents||function(e,t){let n=e.ownerDocument,r=ta.get(n);(void 0===r||r<1)&&n.addEventListener("selectionchange",tC),ta.set(n,(r||0)+1),e.__lexicalEditor=t;let i=tS(e);for(let n=0;n<tr.length;n++){let[r,o]=tr[n],l="function"==typeof o?e=>{tT(e)||(tP(e),(t.isEditable()||"click"===r)&&o(e,t))}:e=>{if(tT(e))return;tP(e);let n=t.isEditable();switch(r){case"cut":return n&&ie(t,e2,e);case"copy":return ie(t,e5,e);case"paste":return n&&ie(t,eT,e);case"dragstart":return n&&ie(t,eK,e);case"dragover":return n&&ie(t,e0,e);case"dragend":return n&&ie(t,e1,e);case"focus":return n&&ie(t,e8,e);case"blur":return n&&ie(t,te,e);case"drop":return n&&ie(t,eH,e)}};e.addEventListener(r,l),i.push(()=>{e.removeEventListener(r,l)})}}(e,this),null!=n&&e.classList.add(...n)}else this._window=null,this._updateTags.add(n6),nF(this);nz("root",this,!1,e,t)}}getElementByKey(e){return this._keyToDOMMap.get(e)||null}getEditorState(){return this._editorState}setEditorState(e,t){e.isEmpty()&&r(38);let n=e;n._readOnly&&((n=n2(e))._selection=e._selection?e._selection.clone():null),$(this);let i=this._pendingEditorState,o=this._updateTags,l=void 0!==t?t.tag:null;null===i||i.isEmpty()||(null!=l&&o.add(l),nF(this)),this._pendingEditorState=n,this._dirtyType=2,this._dirtyElements.set("root",!1),this._compositionKey=null,null!=l&&o.add(l),this._updating||nF(this)}parseEditorState(e,t){return function(e,t,n){let r=n3(),i=n_,o=nP,l=nC,s=t._dirtyElements,a=t._dirtyLeaves,u=t._cloneNotNeeded,c=t._dirtyType;t._dirtyElements=new Map,t._dirtyLeaves=new Set,t._cloneNotNeeded=new Set,t._dirtyType=0,n_=r,nP=!1,nC=t,rg=null;try{let i=t._nodes;nD(e.root,i),n&&n(),r._readOnly=!0}catch(e){e instanceof Error&&t._onError(e)}finally{t._dirtyElements=s,t._dirtyLeaves=a,t._cloneNotNeeded=u,t._dirtyType=c,n_=i,nP=o,nC=l}return r}("string"==typeof e?JSON.parse(e):e,this,t)}read(e){return nF(this),this.getEditorState().read(e,{editor:this})}update(e,t){this._updating?this._updates.push([e,t]):nW(this,e,t)}focus(e,t={}){let n=this._rootElement;null!==n&&(n.setAttribute("autocapitalize","off"),nY(this,()=>{var r,i;let o=ng(),l=rV();null!==o?o.dirty||rz(o.clone()):0!==l.getChildrenSize()&&("rootStart"===t.defaultSelection?l.selectStart():l.selectEnd()),r="focus",nE(),nL()._updateTags.add(r),i=()=>{n.removeAttribute("autocapitalize"),e&&e()},nE(),nL()._deferred.push(i)}),null===this._pendingEditorState&&n.removeAttribute("autocapitalize"))}blur(){let e=this._rootElement;null!==e&&e.blur();let t=im(this._window);null!==t&&t.removeAllRanges()}isEditable(){return this._editable}setEditable(e){this._editable!==e&&(this._editable=e,nz("editable",this,!0,e))}toJSON(){return{editorState:this._editorState.toJSON()}}}rp.version="0.35.0+prod.esm";let rg=null,rm=1;function rO(e,t){let n=ry(e,t);return void 0===n&&r(30,t),n}function ry(e,t){return e._nodes.get(t)}let rv="function"==typeof queueMicrotask?queueMicrotask:e=>{Promise.resolve().then(e)};function rx(e){let t=document.activeElement;if(!iy(t))return!1;let n=t.nodeName;return n0(rj(e))&&("INPUT"===n||"TEXTAREA"===n||"true"===t.contentEditable&&null==rS(t))}function rb(e,t,n){let r=e.getRootElement();try{return null!==r&&r.contains(t)&&r.contains(n)&&null!==t&&!rx(t)&&rk(t)===e}catch(e){return!1}}function rw(e){return e instanceof rp}function rk(e){let t=e;for(;null!=t;){let e=rS(t);if(rw(e))return e;t=ii(t)}return null}function rS(e){return e?e.__lexicalEditor:null}function r_(e){return t5(e)||e.isToken()}function rC(e){return r_(e)||e.isSegmented()}
1function rP(e){return iv(e)&&3===e.nodeType}function rT(e){let t=e;for(;null!=t;){if(rP(t))return t;t=t.firstChild}return null}function rQ(e,t,n){let r=y[t];if(null!==n&&(e&r)==(n&r))return e;let i=e^r;return"subscript"===t?i&=~y.superscript:"superscript"===t?i&=~y.subscript:"lowercase"===t?(i&=~y.uppercase,i&=~y.capitalize):"uppercase"===t?(i&=~y.lowercase,i&=~y.capitalize):"capitalize"===t&&(i&=~y.lowercase,i&=~y.uppercase),i}function r$(e){return tJ(e)||tL(e)||n0(e)}function rA(e,t){let n=function(){let e=rg;return rg=null,e}();if(null!=(t=t||n&&n.__key))return void(e.__key=t);nE(),nR();let r=nL(),i=nN(),o=""+rm++;i._nodeMap.set(o,e),nH(e)?r._dirtyElements.set(o,!0):r._dirtyLeaves.add(o),r._cloneNotNeeded.add(o),r._dirtyType=1,e.__key=o}function rE(e){let t=e.getParent();if(null!==t){let n=e.getWritable(),r=t.getWritable(),i=e.getPreviousSibling(),o=e.getNextSibling(),l=null!==o?o.__key:null,s=null!==i?i.__key:null,a=null!==i?i.getWritable():null,u=null!==o?o.getWritable():null;null===i&&(r.__first=l),null===o&&(r.__last=s),null!==a&&(a.__next=l),null!==u&&(u.__prev=s),n.__prev=null,n.__next=null,n.__parent=null,r.__size--}}function rR(e){nR();let t=e.getLatest(),n=t.__parent,r=nN(),i=nL(),o=r._nodeMap,l=i._dirtyElements;null!==n&&function(e,t,n){let r=e;for(;null!==r;){if(n.has(r))return;let e=t.get(r);if(void 0===e)break;n.set(r,!1),r=e.__parent}}(n,o,l);let s=t.__key;i._dirtyType=1,nH(e)?l.set(s,!0):i._dirtyLeaves.add(s)}function rN(e){nE();let t=nL(),n=t._compositionKey;if(e!==n){if(t._compositionKey=e,null!==n){let e=rM(n);null!==e&&e.getWritable()}if(null!==e){let t=rM(e);null!==t&&t.getWritable()}}}function rL(){return nA()?null:nL()._compositionKey}function rM(e,t){let n=(t||nN())._nodeMap.get(e);return void 0===n?null:n}function rZ(e,t){let n=rI(e,nL());return void 0!==n?rM(n,t):null}function rI(e,t){return e[`__lexicalKey_${t._key}`]}function rj(e,t){let n=e;for(;null!=n;){let e=rZ(n,t);if(null!==e)return e;n=ii(n)}return null}function rX(e){let t=Object.assign({},e._decorators);return e._pendingDecorators=t,t}function rD(e){return e.read(()=>rV().getTextContent())}function rV(){return rF(nN())}function rF(e){return e._nodeMap.get("root")}function rz(e){nE();let t=nN();null!==e&&(e.dirty=!0,e.setCachedNodes(null)),t._selection=e}function rB(e){let t=nL(),n=function(e,t){let n=e;for(;null!=n;){let e=rI(n,t);if(void 0!==e)return e;n=ii(n)}return null}(e,t);return null===n?e===t.getRootElement()?rM("root"):null:rM(n)}function rW(e){return/[\uD800-\uDBFF][\uDC00-\uDFFF]/g.test(e)}function rY(e){let t=[],n=e;for(;null!==n;)t.push(n),n=n._parentEditor;return t}function rq(){return Math.random().toString(36).replace(/[^a-z]+/g,"").substring(0,5)}function rU(e){return rP(e)?e.nodeValue:null}function rG(e,t,n){let r=im(ia(t));if(null===r)return;let i=r.anchorNode,{anchorOffset:o,focusOffset:l}=r;if(null!==i){let t=rU(i),r=rj(i);if(null!==t&&tJ(r)){if(t===m&&n){let e=n.length;t=n,o=e,l=e}null!==t&&rH(r,t,o,l,e)}}}function rH(e,t,n,r,i){let o=e;if(o.isAttached()&&(i||!o.isDirty())){let l=o.isComposing(),s=t;(l||i)&&t[t.length-1]===m&&(s=t.slice(0,-1));let a=o.getTextContent();if(i||s!==a){if(""===s){if(rN(null),u||c||p)o.remove();else{let e=nL();setTimeout(()=>{e.update(()=>{o.isAttached()&&o.remove()})},20)}return}let t=o.getParent(),i=nm(),a=o.getTextContentSize(),d=rL(),h=o.getKey();if(o.isToken()||null!==d&&h===d&&!l||t6(i)&&(null!==t&&!t.canInsertTextBefore()&&0===i.anchor.offset||i.anchor.key===e.__key&&0===i.anchor.offset&&!o.canInsertTextBefore()&&!l||i.focus.key===e.__key&&i.focus.offset===a&&!o.canInsertTextAfter()&&!l))return void o.markDirty();let f=ng();if(!t6(f)||null===n||null===r)return void rJ(o,s,f);if(f.setTextNodeRange(o,n,o,r),o.isSegmented()){let e=tH(o.getTextContent());o.replace(e),o=e}rJ(o,s,f)}}}function rJ(e,t,n){if(e.setTextContent(t),t6(n)){let t=e.getKey();for(let r of["anchor","focus"]){let i=n[r];"text"===i.type&&i.key===t&&(i.offset=iU(e,i.offset,"clamp"))}}}function rK(e,t,n){let r=t[n]||!1;return"any"===r||r===e[n]}function r0(e,t,n){return rK(e,n,"altKey")&&rK(e,n,"ctrlKey")&&rK(e,n,"shiftKey")&&rK(e,n,"metaKey")&&e.key.toLowerCase()===t.toLowerCase()}let r1={ctrlKey:!l,metaKey:l},r5={altKey:l,ctrlKey:!l};function r2(e){return"Backspace"===e.key}function r3(e){let t=rV();if(t6(e)){let t=e.anchor,n=e.focus,r=t.getNode().getTopLevelElementOrThrow().getParentOrThrow();return t.set(r.getKey(),0,"element"),n.set(r.getKey(),r.getChildrenSize(),"element"),V(e),e}{let e=t.select(0,t.getChildrenSize());return rz(V(e)),e}}
1function r9(e,t){void 0===e.__lexicalClassNameCache&&(e.__lexicalClassNameCache={});let n=e.__lexicalClassNameCache,r=n[t];if(void 0!==r)return r;let i=e[t];if("string"==typeof i){let e=g(i);return n[t]=e,e}return i}function r4(e,t,n,i,o){if(0===n.size)return;let l=i.__type,s=i.__key,a=t.get(l);void 0===a&&r(33,l);let u=a.klass,c=e.get(u);void 0===c&&(c=new Map,e.set(u,c));let d=c.get(s),h="destroyed"===d&&"created"===o;(void 0===d||h)&&c.set(s,h?"updated":o)}function r7(e,t,n){let r=e.getParent(),i=n,o=e;return null!==r&&(t&&0===n?(i=o.getIndexWithinParent(),o=r):t||n!==o.getChildrenSize()||(i=o.getIndexWithinParent()+1,o=r)),o.getChildAtIndex(t?i-1:i)}function r6(e,t){let n=e.offset;if("element"===e.type)return r7(e.getNode(),t,n);{let r=e.getNode();if(t&&0===n||!t&&n===r.getTextContentSize()){let e=t?r.getPreviousSibling():r.getNextSibling();return null===e?r7(r.getParentOrThrow(),t,r.getIndexWithinParent()+ +!t):e}}return null}function r8(e){let t=ia(e).event,n=t&&t.inputType;return"insertFromPaste"===n||"insertFromPasteAsQuotation"===n}function ie(e,t,n){return function(e,t,n){let r=rY(e);for(let i=4;i>=0;i--)for(let o=0;o<r.length;o++){let l=r[o],s=l._commands.get(t);if(void 0!==s){let t=s[i];if(void 0!==t){let r=Array.from(t),i=r.length,o=!1;if(nY(l,()=>{for(let t=0;t<i;t++)if(r[t](n,e))return void(o=!0)}),o)return o}}}return!1}(e,t,n)}function it(e){return!n5(e)&&!e.isLastChild()&&!e.isInline()}function ir(e,t){let n=e._keyToDOMMap.get(t);return void 0===n&&r(75,t),n}function ii(e){let t=e.assignedSlot||e.parentElement;return ix(t)?t.host:t}function io(e){return iv(e)&&9===e.nodeType?e:iy(e)?e.ownerDocument:null}function il(e,t){let n=e.getParent();for(;null!==n;){if(n.is(t))return!0;n=n.getParent()}return!1}function is(e){let t=io(e);return t?t.defaultView:null}function ia(e){let t=e._window;return null===t&&r(78),t}function iu(e){return n5(e)||nH(e)&&e.isShadowRoot()}function ic(e){let t=e.constructor.clone(e);return rA(t,null),t.afterCloneFrom(e),t}function id(e){let t=nL(),n=e.getType(),i=ry(t,n);void 0===i&&r(200,e.constructor.name,n);let{replace:o,replaceWithKlass:l}=i;if(null!==o){let t=o(e),i=t.constructor;return null!==l?t instanceof l||r(201,l.name,l.getType(),i.name,i.getType(),e.constructor.name,n):t instanceof e.constructor&&i!==e.constructor||r(202,i.name,i.getType(),e.constructor.name,n),t.__key===e.__key&&r(203,e.constructor.name,n,i.name,i.getType()),t}return e}function ih(e,t){!n5(e.getParent())||nH(t)||n0(t)||r(99)}function ip(e){return(n0(e)||nH(e)&&!e.canBeEmpty())&&!e.isInline()}function ig(e,t,n){n.style.removeProperty("caret-color"),t._blockCursorElement=null;let r=e.parentElement;null!==r&&r.removeChild(e)}function im(e){return i?(e||window).getSelection():null}function iO(e){return iy(e)&&"A"===e.tagName}function iy(e){return iv(e)&&1===e.nodeType}function iv(e){return"object"==typeof e&&null!==e&&"nodeType"in e&&"number"==typeof e.nodeType}function ix(e){return iv(e)&&11===e.nodeType}function ib(e){let t=RegExp(/^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|mark|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var|#text)$/,"i");return null!==e.nodeName.match(t)}function iw(e){let t=RegExp(/^(address|article|aside|blockquote|canvas|dd|div|dl|dt|fieldset|figcaption|figure|footer|form|h1|h2|h3|h4|h5|h6|header|hr|li|main|nav|noscript|ol|p|pre|section|table|td|tfoot|ul|video)$/,"i");return null!==e.nodeName.match(t)}function ik(e){if(n0(e)&&!e.isInline())return!0;if(!nH(e)||iu(e))return!1;let t=e.getFirstChild(),n=null===t||tL(t)||tJ(t)||t.isInline();return!e.isInline()&&!1!==e.canBeEmpty()&&n}function iS(e,t){let n=e;for(;null!==n&&null!==n.getParent()&&!t(n);)n=n.getParentOrThrow();return t(n)?n:null}function i_(){return nL()}let iC=new WeakMap,iP=new Map;function iT(e){if(!e._readOnly&&e.isEmpty())return iP;e._readOnly||r(192);let t=iC.get(e);return t||(t=function(e){let t=new Map;for(let[n,r]of e._nodeMap){let e=r.__type,i=t.get(e);i||(i=new Map,t.set(e,i)),i.set(n,r)}return t}(e),iC.set(e,t)),t}function iQ(e){let t=e.constructor.clone(e);return t.afterCloneFrom(e),t}function i$(e,t){let n=Math.round((parseInt(e.style.paddingInlineStart,10)||0)/40);t.setIndent(n)}function iA(e,t){return Object.prototype.hasOwnProperty.call(e,t)&&e[t]!==tA[t]}function iE(e){let t=S in e.prototype?e.prototype[S]():void 0,n=e===nK||e===nG||e===tA,r=!n&&iA(e,"getType")?e.getType():void 0,i,o=r;if(t)if(r)i=t[r];else for(let[e,n]of Object.entries(t))o=e,i=n;if(!n&&o&&(iA(e,"getType")||(e.getType=()=>o),iA(e,"clone")||(e.clone=t=>(rg=t,new e)),iA(e,"importJSON")||(e.importJSON=i&&i.$importJSON||(t=>(new e).updateFromJSON(t))),!iA(e,"importDOM")&&i)){let{importDOM:t}=i;t&&(e.importDOM=()=>t)}return{ownNodeConfig:i,ownNodeType:o}}function iR(e){let t=i_();return nE(),new(t.resolveRegisteredNodeAfterReplacements(t.getRegisteredNode(e))).klass}let iN={next:"previous",previous:"next"};class iL{constructor(e){this.origin=e}[Symbol.iterator](){return i2({hasNext:iV,initial:this.getAdjacentCaret(),map:e=>e,step:e=>e.getAdjacentCaret()})}getAdjacentCaret(){return iY(this.getNodeAtCaret(),this.direction)}getSiblingCaret(){return iY(this.origin,this.direction)}remove(){let e=this.getNodeAtCaret();return e&&e.remove(),this}replaceOrInsert(e,t){let n=this.getNodeAtCaret();return e.is(this.origin)||e.is(n)||(null===n?this.insert(e):n.replace(e,t)),this}splice(e,t,n="next"){let i=n===this.direction?t:Array.from(t).reverse(),o=this,l=this.getParentAtCaret(),s=new Map;for(let t=o.getAdjacentCaret();null!==t&&s.size<e;t=t.getAdjacentCaret()){let e=t.origin.getWritable();s.set(e.getKey(),e)}for(let e of i){if(s.size>
10){let t=o.getNodeAtCaret();if(t)if(s.delete(t.getKey()),s.delete(e.getKey()),t.is(e)||o.origin.is(e));else{let n=e.getParent();n&&n.is(l)&&e.remove(),t.replace(e)}else null===t&&r(263,Array.from(s).join(" "))}else o.insert(e);o=iY(e,this.direction)}for(let e of s.values())e.remove();return this}}class iM extends iL{type="child";getLatest(){let e=this.origin.getLatest();return e===this.origin?this:iG(e,this.direction)}getParentCaret(e="root"){return iY(iI(this.getParentAtCaret(),e),this.direction)}getFlipped(){let e=iN[this.direction];return iY(this.getNodeAtCaret(),e)||iG(this.origin,e)}getParentAtCaret(){return this.origin}getChildCaret(){return this}isSameNodeCaret(e){return e instanceof iM&&this.direction===e.direction&&this.origin.is(e.origin)}isSamePointCaret(e){return this.isSameNodeCaret(e)}}let iZ={root:n5,shadowRoot:iu};function iI(e,t="root"){return iZ[t](e)?null:e}class ij extends iL{type="sibling";getLatest(){let e=this.origin.getLatest();return e===this.origin?this:iY(e,this.direction)}getSiblingCaret(){return this}getParentAtCaret(){return this.origin.getParent()}getChildCaret(){return nH(this.origin)?iG(this.origin,this.direction):null}getParentCaret(e="root"){return iY(iI(this.getParentAtCaret(),e),this.direction)}getFlipped(){let e=iN[this.direction];return iY(this.getNodeAtCaret(),e)||iG(this.origin.getParentOrThrow(),e)}isSamePointCaret(e){return e instanceof ij&&this.direction===e.direction&&this.origin.is(e.origin)}isSameNodeCaret(e){return(e instanceof ij||e instanceof iX)&&this.direction===e.direction&&this.origin.is(e.origin)}}class iX extends iL{type="text";constructor(e,t){super(e),this.offset=t}getLatest(){let e=this.origin.getLatest();return e===this.origin?this:iq(e,this.direction,this.offset)}getParentAtCaret(){return this.origin.getParent()}getChildCaret(){return null}getParentCaret(e="root"){return iY(iI(this.getParentAtCaret(),e),this.direction)}getFlipped(){return iq(this.origin,iN[this.direction],this.offset)}isSamePointCaret(e){return e instanceof iX&&this.direction===e.direction&&this.origin.is(e.origin)&&this.offset===e.offset}isSameNodeCaret(e){return(e instanceof ij||e instanceof iX)&&this.direction===e.direction&&this.origin.is(e.origin)}getSiblingCaret(){return iY(this.origin,this.direction)}}function iD(e){return e instanceof iX}function iV(e){return e instanceof ij}function iF(e){return e instanceof iM}let iz={next:class extends iX{direction="next";getNodeAtCaret(){return this.origin.getNextSibling()}insert(e){return this.origin.insertAfter(e),this}},previous:class extends iX{direction="previous";getNodeAtCaret(){return this.origin.getPreviousSibling()}insert(e){return this.origin.insertBefore(e),this}}},iB={next:class extends ij{direction="next";getNodeAtCaret(){return this.origin.getNextSibling()}insert(e){return this.origin.insertAfter(e),this}},previous:class extends ij{direction="previous";getNodeAtCaret(){return this.origin.getPreviousSibling()}insert(e){return this.origin.insertBefore(e),this}}},iW={next:class extends iM{direction="next";getNodeAtCaret(){return this.origin.getFirstChild()}insert(e){return this.origin.splice(0,0,[e]),this}},previous:class extends iM{direction="previous";getNodeAtCaret(){return this.origin.getLastChild()}insert(e){return this.origin.splice(this.origin.getChildrenSize(),0,[e]),this}}};function iY(e,t){return e?new iB[t](e):null}function iq(e,t,n){return e?new iz[t](e,iU(e,n)):null}function iU(e,t,n="error"){let r=e.getTextContentSize(),i="next"===t?r:"previous"===t?0:t;return(i<0||i>r)&&("clamp"!==n&&function(e,...t){let n=new URL("https://lexical.dev/docs/error"),r=new URLSearchParams;for(let e of(r.append("code",284),t))r.append("v",e);n.search=r.toString(),console.warn(`Minified Lexical warning #${284}; visit ${n.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}(284,String(t),String(r),e.getKey()),i=i<0?0:r),i}function iG(e,t){return nH(e)?new iW[t](e):null}function iH(e){var t;return e&&((t=e.getAdjacentCaret())&&t.getChildCaret()||t)}class iJ{type="node-caret-range";constructor(e,t,n){this.anchor=e,this.focus=t,this.direction=n}getLatest(){let e=this.anchor.getLatest(),t=this.focus.getLatest();return e===this.anchor&&t===this.focus?this:new iJ(e,t,this.direction)}isCollapsed(){return this.anchor.isSamePointCaret(this.focus)}getTextSlices(){let e=e=>{let t=this[e].getLatest();return iD(t)?function(e,t){let{direction:n,origin:r}=e;return new iK(e,iU(r,"focus"===t?iN[n]:n)-e.offset)}(t,e):null},t=e("anchor"),n=e("focus");if(t&&n){let{caret:e}=t,{caret:r}=n;if(e.isSameNodeCaret(r))return[new iK(e,r.offset-e.offset),null]}return[t,n]}
1iterNodeCarets(e="root"){let t=iD(this.anchor)?this.anchor.getSiblingCaret():this.anchor.getLatest(),n=this.focus.getLatest(),r=iD(n),i=t=>t.isSameNodeCaret(n)?null:iH(t)||t.getParentCaret(e);return i2({hasNext:e=>null!==e&&!(r&&n.isSameNodeCaret(e)),initial:t.isSameNodeCaret(n)?null:i(t),map:e=>e,step:i})}[Symbol.iterator](){return this.iterNodeCarets("root")}}class iK{type="slice";constructor(e,t){this.caret=e,this.distance=t}getSliceIndices(){let{distance:e,caret:{offset:t}}=this,n=t+e;return n<t?[n,t]:[t,n]}getTextContent(){let[e,t]=this.getSliceIndices();return this.caret.origin.getTextContent().slice(e,t)}getTextContentSize(){return Math.abs(this.distance)}removeTextSlice(){let{caret:{origin:e,direction:t}}=this,[n,r]=this.getSliceIndices(),i=e.getTextContent();return iq(e.setTextContent(i.slice(0,n)+i.slice(r)),t,n)}}function i0(e){return i5(e,iY(rV(),e.direction))}function i1(e){return i5(e,e)}function i5(e,t){return e.direction!==t.direction&&r(265),new iJ(e,t,e.direction)}function i2(e){let{initial:t,hasNext:n,step:r,map:i}=e,o=t;return{[Symbol.iterator](){return this},next(){if(!n(o))return{done:!0,value:void 0};let e={done:!1,value:i(o)};return o=r(o),e}}}function i3(e,t){let n=i7(e.origin,t.origin);switch(null===n&&r(275,e.origin.getKey(),t.origin.getKey()),n.type){case"same":{let n="text"===e.type,r="text"===t.type;return n&&r?Math.sign(e.offset-t.offset):e.type===t.type?0:n?-1:r?1:"child"===e.type?-1:1}case"ancestor":return"child"===e.type?-1:1;case"descendant":return"child"===t.type?1:-1;case"branch":return i9(n)}}function i9(e){let{a:t,b:n}=e,r=t.__key,i=n.__key,o=t,l=n;for(;o&&l;o=o.getNextSibling(),l=l.getNextSibling()){if(o.__key===i)return -1;if(l.__key===r)return 1}return null===o?1:-1}function i4(e){return nH(e)?[e.getLatest(),null]:[e.getParent(),e.getLatest()]}function i7(e,t){if(e.is(t))return{commonAncestor:e,type:"same"};let n=new Map;for(let[t,r]=i4(e);t;r=t,t=t.getParent())n.set(t,r);for(let[i,o]=i4(t);i;o=i,i=i.getParent()){let l=n.get(i);if(void 0!==l)return null===l?(i.is(e)||r(276),{commonAncestor:i,type:"ancestor"}):null===o?(i.is(t)||r(277),{commonAncestor:i,type:"descendant"}):((nH(l)||l.is(e))&&(nH(o)||o.is(t))&&i.is(l.getParent())&&i.is(o.getParent())||r(278),{a:l,b:o,commonAncestor:i,type:"branch"})}return null}function i6(e,t){let{type:n,key:i,offset:o}=e,l=function(e){let t=rM(e);return null===t&&r(63,e),t}(e.key);return"text"===n?(tJ(l)||r(266,l.getType(),i),iq(l,t,o)):(nH(l)||r(267,l.getType(),i),function(e,t,n){let r=iG(e,"next");for(let e=0;e<t;e++){let e=r.getAdjacentCaret();if(null===e)break;r=e}return oa(r,n)}(l,e.offset,t))}function i8(e,t){let{origin:n,direction:i}=t,o="next"===i;iD(t)?e.set(n.getKey(),t.offset,"text"):iV(t)?tJ(n)?e.set(n.getKey(),iU(n,i),"text"):e.set(n.getParentOrThrow().getKey(),n.getIndexWithinParent()+ +!!o,"element"):(iF(t)&&nH(n)||r(268),e.set(n.getKey(),o?0:n.getChildrenSize(),"element"))}function oe(e){let t=ng(),n=t6(t)?t:nh();return ot(n,e),rz(n),n}function ot(e,t){i8(e.anchor,t.anchor),i8(e.focus,t.focus)}function on(e){let{anchor:t,focus:n}=e,r=i6(t,"next"),i=i6(n,"next"),o=0>=i3(r,i)?"next":"previous";return i5(oa(r,o),oa(i,o))}function or(e){let{direction:t,origin:n}=e,r=iY(n,iN[t]).getNodeAtCaret();return r?iY(r,t):iG(n.getParentOrThrow(),t)}function oi(e,t="root"){let n=[e];for(let r=iF(e)?e.getParentCaret(t):e.getSiblingCaret();null!==r;r=r.getParentCaret(t))n.push(or(r));return n}function oo(e){return!!e&&e.origin.isAttached()}function ol(e){let t=function(e){let t=e;for(;iF(t);){let e=iH(t);if(!iF(e))break;t=e}return t}(e.getLatest()),{direction:n}=t;if(tJ(t.origin))return iD(t)?t:iq(t.origin,n,n);let r=t.getAdjacentCaret();return iV(r)&&tJ(r.origin)?iq(r.origin,n,iN[n]):t}function os(e){return iD(e)&&e.offset!==iU(e.origin,e.direction)}function oa(e,t){return e.direction===t?e:e.getFlipped()}function ou(e,t){return e.direction===t?e:i5(oa(e.focus,t),oa(e.anchor,t))}function oc(e){let{origin:t,offset:n,direction:i}=e;if(n===iU(t,i))return e.getSiblingCaret();if(n===iU(t,iN[i]))return or(e.getSiblingCaret());let[o]=t.splitText(n);return tJ(o)||r(281),oa(iY(o,"next"),i)}function od(e,t){return!0}function oh(e,{$copyElementNode:t=ic,$splitTextPointCaretNext:n=oc,rootMode:r="shadowRoot",$shouldSplit:i=od}={}){if(iD(e))return n(e);let o=e.getParentCaret(r);if(o){let{origin:n}=o;if(iF(e)&&(!n.canBeEmpty()||!i(n,"first")))return or(o);let r=function(e){let t=[];for(let n=e.getAdjacentCaret();n;n=n.getAdjacentCaret())t.push(n.origin);return t}(e);(r.length>0||n.canBeEmpty()&&i(n,"last"))&&o.insert(t(n).splice(0,0,r))}return o}},84734:()=>{!function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(Prism)},84905:(e,t,n)=>{"use strict";n.d(t,{G:()=>l});let r="undefined"==typeof Symbol?"__ͼ":Symbol.for("ͼ"),i="undefined"==typeof Symbol?"__styleSet"+Math.floor(1e8*Math.random()):Symbol("styleSet"),o="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:{};class l{constructor(e,t){this.rules=[];let{finish:n}=t||{};function r(e){return/^@/.test(e)?[e]:e.split(/,\s*/)}for(let t in e)!function e(t,i,o,l){let s=[],a=/^@(\w+)\b/.exec(t[0]),u=a&&"keyframes"==a[1];if(a&&null==i)return o.push(t[0]+";");for(let n in i){let l=i[n];if(/&/.test(n))e(n.split(/,\s*/).map(e=>t.map(t=>e.replace(/&/,t))).reduce((e,t)=>
1e.concat(t)),l,o);else if(l&&"object"==typeof l){if(!a)throw RangeError("The value of a property ("+n+") should be a primitive value.");e(r(n),l,s,u)}else null!=l&&s.push(n.replace(/_.*/,"").replace(/[A-Z]/g,e=>"-"+e.toLowerCase())+": "+l+";")}(s.length||u)&&o.push((n&&!a&&!l?t.map(n):t).join(", ")+" {"+s.join(" ")+"}")}(r(t),e[t],this.rules)}getRules(){return this.rules.join("\n")}static newName(){let e=o[r]||1;return o[r]=e+1,"ͼ"+e.toString(36)}static mount(e,t,n){let r=e[i],o=n&&n.nonce;r?o&&r.setNonce(o):r=new a(e,o),r.mount(Array.isArray(t)?t:[t],e)}}let s=new Map;class a{constructor(e,t){let n=e.ownerDocument||e,r=n.defaultView;if(!e.head&&e.adoptedStyleSheets&&r.CSSStyleSheet){let t=s.get(n);if(t)return e[i]=t;this.sheet=new r.CSSStyleSheet,s.set(n,this)}else this.styleTag=n.createElement("style"),t&&this.styleTag.setAttribute("nonce",t);this.modules=[],e[i]=this}mount(e,t){let n=this.sheet,r=0,i=0;for(let t=0;t<e.length;t++){let o=e[t],l=this.modules.indexOf(o);if(l<i&&l>-1&&(this.modules.splice(l,1),i--,l=-1),-1==l){if(this.modules.splice(i++,0,o),n)for(let e=0;e<o.rules.length;e++)n.insertRule(o.rules[e],r++)}else{for(;i<l;)r+=this.modules[i++].rules.length;r+=o.rules.length,i++}}if(n)0>t.adoptedStyleSheets.indexOf(this.sheet)&&(t.adoptedStyleSheets=[this.sheet,...t.adoptedStyleSheets]);else{let e="";for(let t=0;t<this.modules.length;t++)e+=this.modules[t].getRules()+"\n";this.styleTag.textContent=e;let n=t.head||t;this.styleTag.parentNode!=n&&n.insertBefore(this.styleTag,n.firstChild)}}setNonce(e){this.styleTag&&this.styleTag.getAttribute("nonce")!=e&&this.styleTag.setAttribute("nonce",e)}}},85290:(e,t,n)=>{"use strict";n.d(t,{BN:()=>i,E3:()=>r,xT:()=>u});for(var r={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},i={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},o="undefined"!=typeof navigator&&/Mac/.test(navigator.platform),l="undefined"!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),s=0;s<10;s++)r[48+s]=r[96+s]=String(s);for(var s=1;s<=24;s++)r[s+111]="F"+s;for(var s=65;s<=90;s++)r[s]=String.fromCharCode(s+32),i[s]=String.fromCharCode(s);for(var a in r)i.hasOwnProperty(a)||(i[a]=r[a]);function u(e){var t=!(o&&e.metaKey&&e.shiftKey&&!e.ctrlKey&&!e.altKey||l&&e.shiftKey&&e.key&&1==e.key.length||"Unidentified"==e.key)&&e.key||(e.shiftKey?i:r)[e.keyCode]||e.key||"Unidentified";return"Esc"==t&&(t="Escape"),"Del"==t&&(t="Delete"),"Left"==t&&(t="ArrowLeft"),"Up"==t&&(t="ArrowUp"),"Right"==t&&(t="ArrowRight"),"Down"==t&&(t="ArrowDown"),t}},85665:(e,t,n)=>{"use strict";n.d(t,{si:()=>eF,aI:()=>eD,Cm:()=>eN,N5:()=>eV,KO:()=>eB,$z:()=>eR,HJ:()=>eI,Xd:()=>eZ,Pz:()=>eY,Ox:()=>eM,pH:()=>eL,sw:()=>eX,w8:()=>ej,lR:()=>eW,d5:()=>ez});var r=n(6325),i=n(50645),o=n(17415);let l=()=>r.createElement("div",{className:o.Ay.imagePlaceholder},r.createElement(i.xfq,null));var s=n(6105),a=n(44443),u=n(84544),c=n(7814),d=n(37205),h=n(60665),f=n(14725),p=n(2886);function g(e){let{nodeKey:t,imageSource:n,initialImagePath:i,title:l,alt:s,width:c,height:d}=e,[g,m,O]=(0,a.uX)(eV,h.yr,h.pc),[y]=(0,f.DF)(),v=(0,a.qM)(eX),x=(0,h.Bd)();return r.createElement("div",{className:o.Ay.editImageToolbar},r.createElement("button",{className:o.Ay.iconButton,type:"button",title:x("imageEditor.deleteImage","Delete image"),disabled:O,onClick:e=>{e.preventDefault(),y.update(()=>{var e;null==(e=(0,u.nsf)(t))||e.remove()})}},m("delete_small")),!g&&r.createElement("button",{type:"button",className:p(o.Ay.iconButton,o.Ay.editImageButton),title:x("imageEditor.editImage","Edit image"),disabled:O,onClick:()=>{v({nodeKey:t,initialValues:{src:i??n,title:l,altText:s,width:eW(c),height:eW(d)}})}},m("settings")))}var m=n(73479),O=n(5966),y=n(25992),v=n(11423),x=n(26339),b=n(68511),w=n(72
1138),k=n(9529),S=n(86431),_=n(11997),C=n(95777),P=n(10964),T=n(82547),Q=n(38716),$=n(64177),A="Dialog",[E,R]=(0,y.A)(A),[N,L]=E(A),M=e=>{let{__scopeDialog:t,children:n,open:i,defaultOpen:o,onOpenChange:l,modal:s=!0}=e,a=r.useRef(null),u=r.useRef(null),[c,d]=(0,x.i)({prop:i,defaultProp:null!=o&&o,onChange:l,caller:A});return(0,$.jsx)(N,{scope:t,triggerRef:a,contentRef:u,contentId:(0,v.B)(),titleId:(0,v.B)(),descriptionId:(0,v.B)(),open:c,onOpenChange:d,onOpenToggle:r.useCallback(()=>d(e=>!e),[d]),modal:s,children:n})};M.displayName=A;var Z="DialogTrigger";r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=L(Z,n),o=(0,O.s)(t,i.triggerRef);return(0,$.jsx)(_.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":en(i.open),...r,ref:o,onClick:(0,m.mK)(e.onClick,i.onOpenToggle)})}).displayName=Z;var I="DialogPortal",[j,X]=E(I,{forceMount:void 0}),D=e=>{let{__scopeDialog:t,forceMount:n,children:i,container:o}=e,l=L(I,t);return(0,$.jsx)(j,{scope:t,forceMount:n,children:r.Children.map(i,e=>(0,$.jsx)(S.C,{present:n||l.open,children:(0,$.jsx)(k.Z,{asChild:!0,container:o,children:e})}))})};D.displayName=I;var V="DialogOverlay",F=r.forwardRef((e,t)=>{let n=X(V,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,o=L(V,e.__scopeDialog);return o.modal?(0,$.jsx)(S.C,{present:r||o.open,children:(0,$.jsx)(B,{...i,ref:t})}):null});F.displayName=V;var z=(0,Q.TL)("DialogOverlay.RemoveScroll"),B=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=L(V,n);return(0,$.jsx)(P.A,{as:z,allowPinchZoom:!0,shards:[i.contentRef],children:(0,$.jsx)(_.sG.div,{"data-state":en(i.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),W="DialogContent",Y=r.forwardRef((e,t)=>{let n=X(W,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,o=L(W,e.__scopeDialog);return(0,$.jsx)(S.C,{present:r||o.open,children:o.modal?(0,$.jsx)(q,{...i,ref:t}):(0,$.jsx)(U,{...i,ref:t})})});Y.displayName=W;var q=r.forwardRef((e,t)=>{let n=L(W,e.__scopeDialog),i=r.useRef(null),o=(0,O.s)(t,n.contentRef,i);return r.useEffect(()=>{let e=i.current;if(e)return(0,T.Eq)(e)},[]),(0,$.jsx)(G,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,m.mK)(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null==(t=n.triggerRef.current)||t.focus()}),onPointerDownOutside:(0,m.mK)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:(0,m.mK)(e.onFocusOutside,e=>e.preventDefault())})}),U=r.forwardRef((e,t)=>{let n=L(W,e.__scopeDialog),i=r.useRef(!1),o=r.useRef(!1);return(0,$.jsx)(G,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var r,l;null==(r=e.onCloseAutoFocus)||r.call(e,t),t.defaultPrevented||(i.current||null==(l=n.triggerRef.current)||l.focus(),t.preventDefault()),i.current=!1,o.current=!1},onInteractOutside:t=>{var r,l;null==(r=e.onInteractOutside)||r.call(e,t),t.defaultPrevented||(i.current=!0,"pointerdown"===t.detail.originalEvent.type&&(o.current=!0));let s=t.target;(null==(l=n.triggerRef.current)?void 0:l.contains(s))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}})}),G=r.forwardRef((e,t)=>{let{__scopeDialog:n,trapFocus:i,onOpenAutoFocus:o,onCloseAutoFocus:l,...s}=e,a=L(W,n),u=r.useRef(null),c=(0,O.s)(t,u);return(0,C.Oh)(),(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(w.n,{asChild:!0,loop:!0,trapped:i,onMountAutoFocus:o,onUnmountAutoFocus:l,children:(0,$.jsx)(b.qW,{role:"dialog",id:a.contentId,"aria-describedby":a.descriptionId,"aria-labelledby":a.titleId,"data-state":en(a.open),...s,ref:c,onDismiss:()=>a.onOpenChange(!1)})}),(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(el,{titleId:a.titleId}),(0,$.jsx)(es,{contentRef:u,descriptionId:a.descriptionId})]})]})}),H="DialogTitle",J=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=L(H,n);return(0,$.jsx)(_.sG.h2,{id:i.titleId,...r,ref:t})});J.displayName=H;var K="DialogDescription";r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=L(K,n);return(0,$.jsx)(_.sG.p,{id:i.descriptionId,...r,ref:t})}).displayName=K;var ee="DialogClose",et=r.forwardRef((e,t)=>
1{let{__scopeDialog:n,...r}=e,i=L(ee,n);return(0,$.jsx)(_.sG.button,{type:"button",...r,ref:t,onClick:(0,m.mK)(e.onClick,()=>i.onOpenChange(!1))})});function en(e){return e?"open":"closed"}et.displayName=ee;var er="DialogTitleWarning",[ei,eo]=(0,y.q)(er,{contentName:W,titleName:H,docsSlug:"dialog"}),el=e=>{let{titleId:t}=e,n=eo(er),i="`".concat(n.contentName,"` requires a `").concat(n.titleName,"` for the component to be accessible for screen reader users.\n\nIf you want to hide the `").concat(n.titleName,"`, you can wrap it with our VisuallyHidden component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/").concat(n.docsSlug);return r.useEffect(()=>{t&&(document.getElementById(t)||console.error(i))},[i,t]),null},es=e=>{let{contentRef:t,descriptionId:n}=e,i=eo("DialogDescriptionWarning"),o="Warning: Missing `Description` or `aria-describedby={undefined}` for {".concat(i.contentName,"}.");return r.useEffect(()=>{var e;let r=null==(e=t.current)?void 0:e.getAttribute("aria-describedby");n&&r&&(document.getElementById(n)||console.warn(o))},[o,t,n]),null},ea=n(56487),eu=n(91540);let ec=()=>{let[e,t,n,i,l]=(0,a.uX)(eR,eI,h.xZ,eL,eF),s=(0,a.qM)(ez),u=(0,a.qM)(eD),c=(0,h.Bd)(),{register:d,handleSubmit:f,control:g,setValue:m,reset:O}=(0,ea.mN)({values:"editing"===t.type?t.initialValues:{}}),y=()=>{O({src:"",title:"",altText:"",width:void 0,height:void 0})};return"inactive"===t.type?null:r.createElement(M,{open:!0,onOpenChange:e=>{e||(u(),y())}},r.createElement(D,{container:null==n?void 0:n.current},r.createElement(F,{className:o.Ay.dialogOverlay}),r.createElement(Y,{className:o.Ay.dialogContent,onOpenAutoFocus:e=>{e.preventDefault()}},r.createElement(J,null,c("uploadImage.dialogTitle","Upload an image")),r.createElement("form",{onSubmit:async e=>{e.preventDefault(),e.stopPropagation(),await f(s)(e),y()},className:o.Ay.multiFieldForm},null===i?r.createElement("input",{type:"hidden",accept:"image/*",...d("file")}):r.createElement("div",{className:o.Ay.formField}
1,r.createElement("label",{htmlFor:"file"},c("uploadImage.uploadInstructions","Upload an image from your device:")),r.createElement("input",{type:"file",accept:"image/*",...d("file")})),r.createElement("div",{className:o.Ay.formField},r.createElement("label",{htmlFor:"src"},null!==i?c("uploadImage.addViaUrlInstructions","Or add an image from an URL:"):c("uploadImage.addViaUrlInstructionsNoUpload","Add an image from an URL:")),r.createElement(eu.D,{register:d,initialInputValue:"editing"===t.type?t.initialValues.src??"":"",inputName:"src",suggestions:e,setValue:m,control:g,placeholder:c("uploadImage.autoCompletePlaceholder","Select or paste an image src")})),r.createElement("div",{className:o.Ay.formField},r.createElement("label",{htmlFor:"alt"},c("uploadImage.alt","Alt:")),r.createElement("input",{type:"text",...d("altText"),className:o.Ay.textInput})),r.createElement("div",{className:o.Ay.formField},r.createElement("label",{htmlFor:"title"},c("uploadImage.title","Title:")),r.createElement("input",{type:"text",...d("title"),className:o.Ay.textInput})),l&&r.createElement("div",{className:o.Ay.imageDimensionsContainer},r.createElement("div",{className:o.Ay.formField}
1,r.createElement("label",{htmlFor:"width"},c("uploadImage.width","Width:")),r.createElement("input",{type:"number",min:0,...d("width"),className:o.Ay.textInput})),r.createElement("div",{className:o.Ay.formField},r.createElement("label",{htmlFor:"height"},c("uploadImage.height","Height:")),r.createElement("input",{type:"number",min:0,...d("height"),className:o.Ay.textInput}))),r.createElement("div",{style:{display:"flex",justifyContent:"flex-end",gap:"var(--spacing-2)"}},r.createElement("button",{type:"submit",title:c("dialogControls.save","Save"),"aria-label":c("dialogControls.save","Save"),className:p(o.Ay.primaryButton)},c("dialogControls.save","Save")),r.createElement(et,{asChild:!0},r.createElement("button",{type:"reset",title:c("dialogControls.cancel","Cancel"),"aria-label":c("dialogControls.cancel","Cancel"),className:p(o.Ay.secondaryButton)},c("dialogControls.cancel","Cancel"))))))))};var ed=n(72841);function eh(e,t,n){return Math.min(Math.max(e,t),n)}let ef={east:1,north:8,south:2,west:4};function ep({onResizeStart:e,onResizeEnd:t,imageRef:n,maxWidth:i,editor:l}){let s=(0,r.useRef)(null),a=(0,r.useRef)({priority:"",value:"default"}),u=(0,r.useRef)({currentHeight:0,currentWidth:0,direction:0,isResizing:!1,ratio:0,startHeight:0,startWidth:0,startX:0,startY:0}),c=l.getRootElement(),d=i??(null!==c?c.getBoundingClientRect().width-20:100),h=null!==c?c.getBoundingClientRect().height-20:100,f=(t,r)=>{if(!l.isEditable())return;let i=n.current,d=s.current;if(null!==i&&null!==d){t.preventDefault();let{width:n,height:l}=i.getBoundingClientRect(),s=u.current;s.startWidth=n,s.startHeight=l,s.ratio=n/l,s.currentWidth=n,s.currentHeight=l,s.startX=t.clientX,s.startY=t.clientY,s.isResizing=!0,s.direction=r;let h=r===ef.east||r===ef.west,f=r===ef.north||r===ef.south,p=r&ef.north&&r&ef.west||r&ef.south&&r&ef.east,O=h?"ew":f?"ns":p?"nwse":"nesw";null!==c&&c.style.setProperty("cursor",`${O}-resize`,"important"),null!==document.body&&(document.body.style.setProperty("cursor",`${O}-resize`,"important"),a.current.value=document.body.style.getPropertyValue("-webkit-user-select"),a.current.priority=document.body.style.getPropertyPriority("-webkit-user-select"),document.body.style.setProperty("-webkit-user-select","none","important")),e(),d.classList.add(o.Ay.imageControlWrapperResizing),i.style.height=`${l}px`,i.style.width=`${n}px`,document.addEventListener("pointermove",g),document.addEventListener("pointerup",m)}},g=e=>{let t=n.current,r=u.current,i=r.direction&(ef.east|ef.west),o=r.direction&(ef.south|ef.north);if(null!==t&&r.isResizing)if(i&&o){let n=Math.floor(r.startX-e.clientX);n=r.direction&ef.east?-n:n;let i=eh(r.startWidth+n,100,d),o=i/r.ratio;t.style.width=`${i}px`,t.style.height=`${o}px`,r.currentHeight=o,r.currentWidth=i}else if(o){let n=Math.floor(r.startY-e.clientY);n=r.direction&ef.south?-n:n;let i=eh(r.startHeight+n,100,h);t.style.height=`${i}px`,r.currentHeight=i}else{let n=Math.floor(r.startX-e.clientX);n=r.direction&ef.east?-n:n;let i=eh(r.startWidth+n,100,d);t.style.width=`${i}px`,r.currentWidth=i}},m=()=>{let e=n.current,r=u.current,i=s.current;if(null!==e&&null!==i&&r.isResizing){let e=r.currentWidth,n=r.currentHeight;r.startWidth=0,r.startHeight=0,r.ratio=0,r.startX=0,r.startY=0,r.currentWidth=0,r.currentHeight=0,r.isResizing=!1,i.classList.remove(o.Ay.imageControlWrapperResizing),null!==c&&c.style.setProperty("cursor","text"),null!==document.body&&(document.body.style.setProperty("cursor","default"),document.body.style.setProperty("-webkit-user-select",a.current.value,a.current.priority)),t(e,n),document.removeEventListener("pointermove",g),document.removeEventListener("pointerup",m)}};return r.createElement("div",{ref:s},r.createElement("div",{className:p(o.Ay.imageResizer,o.Ay.imageResizerN),onPointerDown:e=>{f(e,ef.north)}}),r.createElement("div",{className:p(o.Ay.imageResizer,o.Ay.imageResizerNe),onPointerDown:e=>{f(e,ef.north|ef.east)}}),r.createElement("div",{className:p(o.Ay.imageResizer,o.Ay.imageResizerE),onPointerDown:e=>{f(e,ef.east)}}),r.createElement("div",{className:p(o.Ay.imageResizer,o.Ay.imageResizerSe),onPointerDown:e=>{f(e,ef.south|ef.east)}}),r.createElement("div",{className:p(o.Ay.imageResizer,o.Ay.imageResizerS
1),onPointerDown:e=>{f(e,ef.south)}}),r.createElement("div",{className:p(o.Ay.imageResizer,o.Ay.imageResizerSw),onPointerDown:e=>{f(e,ef.south|ef.west)}}),r.createElement("div",{className:p(o.Ay.imageResizer,o.Ay.imageResizerW),onPointerDown:e=>{f(e,ef.west)}}),r.createElement("div",{className:p(o.Ay.imageResizer,o.Ay.imageResizerNw),onPointerDown:e=>{f(e,ef.north|ef.west)}}))}let eg="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(`
2    <svg id="imgLoadError" xmlns="http://www.w3.org/2000/svg" width="100" height="100">
3      <rect x="0" y="0" width="100" height="100" fill="none" stroke="red" stroke-width="4" stroke-dasharray="4" />
4      <text x="50" y="55" text-anchor="middle" font-size="20" fill="red">⚠️</text>
5    </svg>
6`),em={__cache:{},read(e){if(this.__cache[e]||(this.__cache[e]=new Promise(t=>{let n=new Image;n.onerror=()=>{this.__cache[e]=eg,t()},n.onload=()=>{this.__cache[e]=e,t()},n.src=e})),this.__cache[e]instanceof Promise)throw this.__cache[e];return this.__cache[e]}};function eO({title:e,alt:t,className:n,imageRef:i,src:o,width:l,height:s}){return r.createElement("img",{className:n??void 0,alt:t,src:em.read(o),title:e,ref:i,draggable:"false",width:l,height:s})}function ey({src:e,title:t,alt:n,nodeKey:i,width:l,height:c,rest:d}){let[g,m,O,y,v,x]=(0,a.uX)(eZ,eN,eF,eM,h.pc,eB),b=r.useRef(null),w=r.useRef(null),[k,S,_]=(0,ed.Y)(i),[C]=(0,f.DF)(),[P,T]=r.useState(null),Q=r.useRef(null),[$,A]=r.useState(!1),[E,R]=r.useState(null),[N,L]=r.useState(null),M=r.useCallback(e=>{if(k&&(0,u.RTZ)((0,u.vJq)())){e.preventDefault();let t=(0,u.nsf)(i);e_(t)&&t.remove()}return!1},[k,i]),Z=r.useCallback(e=>{let t=(0,u.vJq)(),n=w.current;return!!(k&&(0,u.RTZ)(t))&&1===t.getNodes().length&&null!==n&&n!==document.activeElement&&(e.preventDefault(),n.focus(),!0)},[k]),I=r.useCallback(e=>w.current===e.target&&((0,u.n1P)(null),C.update(()=>{S(!0);let e=C.getRootElement();null!==e&&e.focus()}),!0),[C,S]);r.useEffect(()=>{y?(async()=>{N||L(e),R(await y(e))})().catch(e=>{console.error(e)}):R(e)},[e,y,N]),r.useEffect(()=>{if(O&&b.current){let{current:e}=b;ev(e,"width",l),ev(e,"height",c)}},[O,l,c]),r.useEffect(()=>{let e=!0,t=(0,s.Sd)(C.registerUpdateListener(({editorState:t})=>{e&&T(t.read(()=>(0,u.vJq)()))}),C.registerCommand(u.MvL,(e,t)=>(Q.current=t,!1),u.AcJ),C.registerCommand(u.d8p,e=>!!$||e.target===b.current&&(e.shiftKey?S(!k):(_(),S(!0)),!0),u.AcJ),C.registerCommand(u.TgX,e=>e.target===b.current&&(e.preventDefault(),!0),u.AcJ),C.registerCommand(u.w$Z,M,u.AcJ),C.registerCommand(u.gCZ,M,u.AcJ),C.registerCommand(u.RTo,Z,u.AcJ),C.registerCommand(u.Q$N,I,u.AcJ));return()=>{e=!1,t()}},[_,C,$,k,i,M,Z,I,S]);let j=(0,u.RTZ)(P),X=r.useMemo(()=>{if(0===d.length)return null;let e=d.find(e=>"mdxJsxAttribute"===e.type&&("class"===e.name||"className"===e.name));return e?e.value:null},[d]);return null!==E?r.createElement(r.Suspense,{fallback:g?r.createElement(g,null):null},r.createElement("div",{className:o.Ay.imageWrapper,"data-editor-block-type":"image"},r.createElement("div",{draggable:j},r.createElement(eO,{width:l,height:c,className:p({[o.Ay.focusedImage]:k}
6,X),src:E,title:t??"",alt:n??"",imageRef:b})),j&&k&&!m&&r.createElement(ep,{editor:C,imageRef:b,onResizeStart:()=>{A(!0)},onResizeEnd:(e,t)=>{setTimeout(()=>{A(!1)},200),C.update(()=>{let n=(0,u.nsf)(i);e_(n)&&n.setWidthAndHeight(e,t)})}}),v||r.createElement(x,{nodeKey:i,imageSource:E,initialImagePath:N,title:t??"",alt:n??"",width:l,height:c}))):null}let ev=(e,t,n)=>{"number"==typeof n?e.style[t]=`${n}px`:e.style.removeProperty(t)};var ex=Object.defineProperty,eb=(e,t,n)=>(((e,t,n)=>t in e?ex(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n)(e,"symbol"!=typeof t?t+"":t,n),n);function ew(e){if(e instanceof HTMLImageElement){let{alt:t,src:n,title:r,width:i,height:o}=e;return{node:eS({altText:t,src:n,title:r,width:i||void 0,height:o||void 0})}}return null}class ek extends u.Kp7{constructor(e,t,n,r,i,o,l){super(l),eb(this,"__src"),eb(this,"__altText"),eb(this,"__title"),eb(this,"__width"),eb(this,"__height"),eb(this,"__rest"),this.__src=e,this.__title=n,this.__altText=t,this.__width=r??"inherit",this.__height=i??"inherit",this.__rest=o??[]}static getType(){return"image"}static clone(e){return new ek(e.__src,e.__altText,e.__title,e.__width,e.__height,e.__rest,e.__key)}afterCloneFrom(e){super.afterCloneFrom(e),this.__src=e.__src,this.__altText=e.__altText,this.__title=e.__title,this.__width=e.__width,this.__height=e.__height,this.__rest=e.__rest}static importJSON(e){let{altText:t,title:n,src:r,width:i,rest:o,height:l}=e;return eS({altText:t,title:n,src:r,height:l,width:i,rest:o})}exportDOM(){let e=document.createElement("img");return e.setAttribute("src",this.__src),e.setAttribute("alt",this.__altText),this.__title&&e.setAttribute("title",this.__title),"inherit"!==this.__width&&this.__width&&e.setAttribute("width",this.__width.toString()),"inherit"!==this.__height&&this.__height&&e.setAttribute("height",this.__height.toString()),{element:e}}static importDOM(){return{img:()=>({conversion:ew,priority:0})}}exportJSON(){return{altText:this.getAltText(),title:this.getTitle(),height:"inherit"===this.__height?void 0:this.__height,width:"inherit"===this.__width?void 0:this.__width,src:this.getSrc(),rest:this.__rest,type:"image",version:1}}setWidthAndHeight(e,t){let n=this.getWritable();n.__width=e,n.__height=t}createDOM(e,t){let n=document.createElement("span"),r=e.theme.image;return void 0!==r&&(n.className=r),n}updateDOM(){return!1}getSrc(){return this.__src}getAltText(){return this.__altText}getTitle(){return this.__title}getHeight(){return this.__height}getWidth(){return this.__width}getRest(){return this.__rest}setTitle(e){this.getWritable().__title=e}setSrc(e){this.getWritable().__src=e}setAltText(e){this.getWritable().__altText=e??""}shouldBeSerializedAsElement(){return"inherit"!==this.__width||"inherit"!==this.__height||this.__rest.length>0}decorate(e){return r.createElement(ey,{src:this.getSrc(),title:this.getTitle(),nodeKey:this.getKey(),width:this.__width,height:this.__height,alt:this.__altText,rest:this.__rest})}}function eS(e){let{altText:t,title:n,src:r,key:i,width:o,height:l,rest:s}=e;return new ek(r,t,n,o,l,s,i)}function e_(e){return e instanceof ek}let eC={testLexicalNode:e_,visitLexicalNode({mdastParent:e,lexicalNode:t,actions:n}){if(t.shouldBeSerializedAsElement()){let r=new Image;for(let e of("inherit"!==t.getHeight()&&(r.height=t.getHeight()),"inherit"!==t.getWidth()&&(r.width=t.getWidth()),t.getAltText()&&(r.alt=t.getAltText()),t.getTitle()&&(r.title=t.getTitle()),t.getRest()))"mdxJsxAttribute"===e.type&&"string"==typeof e.value&&r.setAttribute(e.name,e.value);n.appendToParent(e,{type:"html",value:r.outerHTML.replace(/>$/,` src="${t.getSrc()}" />`)})}else n.appendToParent(e,{type:"image",url:t.getSrc(),alt:t.getAltText(),title:t.getTitle()})}},eP={testNode:"image",visitNode({mdastNode:e,actions:t}){t.addAndStepInto(eS({src:e.url,altText:e.alt??"",title:e.title??""}))}},eT={testNode:e=>"html"===e.type&&e.value.trim().startsWith("<img"),visitNode({mdastNode:e,lexicalParent:t}){let n=document.createElement("div");n.innerHTML=e.value;let r=n.querySelector("img");if(!r)throw Error("Invalid HTML image");let i=r.src,o=r.alt,l=r.title,s=eS({src:i||"",altText:o,title:l,width:r.width||void 0,height:r.height||void 0});if("root"===t.getType()){let e=(0,u.lJ7)();e.append(s),t.append(e)}else t.append(s)}};function eQ(e,t){let n=e.attributes.find(e=>"mdxJsxAttribute"===e.type&&e.name===t);if(n)return n.value}let e$={testNode:e=>("mdxJsxTextElement"===e.type||"mdxJsxFlowElement"===e.type)&&"img"===e.name,visitNode({mdastNode:e,lexicalParent:t}){let n=eQ(e,"src");if(!n)return;let r=eQ(e,"alt")??"",i=eQ(e,"title"),o=eQ(e,"height"),l=eQ(e,"width"),s=e.attributes.filter(e=>"mdxJsxAttribute"===e.type&&!["src","alt","title","height","width"].includes(e.name)),a=eS({src:n,altText:r,title:i,width:l?parseInt(l,10):void 0,height:o?parseInt(o,10):void 0,rest:s});if("root"===t.getType()){let e=(0,u.lJ7)();e.append(a),t.append(e)}else t.append(a)}},eA=(0,a.HN)(e=>{e.sub(e.pipe(eA,(0,a.EY)(h.Cp)),([e,t])=>{null==t||t.update(()=>{let t=eS({altText:e.altText??"",src:e.src,title:e.title??"",width:eW(e.width),height:eW(e.height)});(0,u.H2A)([t]),(0,u.IqF)(t.getParentOrThrow())&&(0,s.cj)(t,u.lJ7).selectEnd()})})}),eE=(0,a.HN)(e=>{e.sub(e.pipe(eE,(0,a.EY)(eL)),([t,n])=>{let r=n=>{e.pub(eA,{...t,src:n})};"file"in t?null==n||n(t.file).then(r).catch(e=>{throw e}):r(t.src)})}),eR=(0,a.fh)([]),eN=(0,a.fh)(!1),eL=(0,a.fh)(null),eM=(0,a.fh)(null),eZ=(0,a.fh)(null),eI=(0,a.fh)({type:"inactive"},e=>{e.sub(e.pipe(ez,(0,a.EY)(h.Cp,eL,eI,eF)),([t,n,r,i,o])=>{let l="editing"===i.type?r=>{null==n||n.update(()=>{let{nodeKey:e}=i,n=(0,u.nsf)(e);if(n.setTitle(t.title),n.setAltText(t.altText),n.setSrc(r),o){let e=eW(t.width),r=eW(t.height);n.setWidthAndHeight(e??"inherit",r??"inherit")}}),e.pub(eI,{type:"inactive"})}:n=>{e.pub(eA,{...t,src:n}),e.pub(eI,{type:"inactive"})};t.file&&t.file.length>0?null==r||r(t.file.item(0)).then(l).catch(e=>{throw e}):t.src&&l(t.src)}),e.pub(h.Z4,t=>{let n=e.getValue(eL);return(0,s.Sd)(t.registerCommand(eq,e=>{let t=eS(e);return(0,u.H2A)([t]),(0,u.IqF)(t.getParentOrThrow())&&(0,s.cj)(t,u.lJ7).selectEnd(),!0},u.jZM),t.registerCommand(u.TgX,e=>(function(e){let t=eU();if(!t)return!1;let n=e.dataTransfer;if(!n)return!1;n.setData("text/plain","_");let r=document.createElement("img");return r.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",n.setDragImage(r,0,0),n.setData("application/x-lexical-drag",JSON.stringify({data:{altText:t.__altText,title:t.__title,key:t.getKey(),src:t.__src},type:"image"})),!0})(e),u.WgU),t.registerCommand(u.riq,e=>(function(e,t){var n;if(t){let t=Array.from((null==(n=e.dataTransfer)?void 0:n.items)??[]);if((t=t.filter(e=>e.type.includes("image"))).length>0)return e.preventDefault(),!0}return!!eU()&&(eG(e)||e.preventDefault(),!0)})(e,!!n),u.AcJ),t.registerCommand(u.Sr4,n=>(function(e,t,n){var r;let i=Array.from((null==(r=e.dataTransfer)?void 0:r.items)??[]);if((i=i.filter(e=>e.type.includes("image"))).length>0&&null!==n)return e.preventDefault(),Promise.all(i.map(e=>"string"===e.kind?new Promise(t=>{e.getAsString(t)}):n(e.getAsFile()))).then(e=>
6{e.forEach(e=>{t.dispatchCommand(eq,{src:e,altText:""})})}).catch(e=>{throw e}),!0;let o=eU();if(!o)return!1;let l=function(e){var t;let n=null==(t=e.dataTransfer)?void 0:t.getData("application/x-lexical-drag");if(!n)return null;let{type:r,data:i}=JSON.parse(n);return"image"!==r?null:i}(e);if(!l)return!1;if(e.preventDefault(),eG(e)){let n=function(e){let t,n,r=e.target,i=(n=null==r?null:9===r.nodeType?r.defaultView:r.ownerDocument.defaultView,d.qx?(n??window).getSelection():null);if(document.caretRangeFromPoint)t=document.caretRangeFromPoint(e.clientX,e.clientY);else if(e.rangeParent&&null!==i)i.collapse(e.rangeParent,e.rangeOffset??0),t=i.getRangeAt(0);else throw Error("Cannot get the selection when dragging");return t}(e);o.remove();let r=(0,u.uTE)();null!=n&&r.applyDOMRange(n),(0,u.n1P)(r),t.dispatchCommand(eq,l)}return!0})(n,t,e.getValue(eL)),u.WgU),t.registerCommand(u.waI,r=>{var i,o;if(!n){let e=Array.from((null==(i=r.clipboardData)?void 0:i.items)??[]);return!(e=e.filter(e=>e.type.includes("text"))).length||0===e.length}let l=Array.from((null==(o=r.clipboardData)?void 0:o.items)??[]);if(l.some(e=>!e.type.includes("image"))||!l.length||0===l.length)return!1;let s=e.getValue(eL);return Promise.all(l.map(e=>s(e.getAsFile()))).then(e=>{e.forEach(e=>{t.dispatchCommand(eq,{src:e,altText:""})})}).catch(e=>{throw e}),!0},u.da8))})}),ej=(0,a.rc)(e=>{e.link(e.pipe(ej,(0,a.uc)({type:"new"})),eI)}),eX=(0,a.HN)(e=>{e.link(e.pipe(eX,(0,a.Tj)(e=>({type:"editing",...e}))),eI)}),eD=(0,a.rc)(e=>{e.link(e.pipe(eD,(0,a.uc)({type:"inactive"})),eI)}),eV=(0,a.fh)(!1),eF=(0,a.fh)(!1),ez=(0,a.HN)(),eB=(0,a.fh)(g),eW=e=>{if(void 0===e)return;let t=parseInt(String(e),10);return Number.isNaN(t)?void 0:t},eY=(0,c.Z)({init(e,t){e.pubIn({[h.R1]:[eP,eT,e$],[h.q]:ek,[h.iI]:eC,[h.aC]:(null==t?void 0:t.ImageDialog)??ec,[eL]:(null==t?void 0:t.imageUploadHandler)??null,[eR]:(null==t?void 0:t.imageAutocompleteSuggestions)??[],[eN]:!!(null==t?void 0:t.disableImageResize),[eV]:!!(null==t?void 0:t.disableImageSettingsButton),[eF]:!!(null==t?void 0:t.allowSetImageDimensions),[eM]:(null==t?void 0:t.imagePreviewHandler)??null,[eB]:(null==t?void 0:t.EditImageToolbar)??g,[eZ]:(null==t?void 0:t.imagePlaceholder)??l})},update(e,t){e.pubIn({[eL]:(null==t?void 0:t.imageUploadHandler)??null,[eR]:(null==t?void 0:t.imageAutocompleteSuggestions)??[],[eN]:!!(null==t?void 0:t.disableImageResize),[eM]:(null==t?void 0:t.imagePreviewHandler)??null,[eF]:!!(null==t?void 0:t.allowSetImageDimensions),[eB]:(null==t?void 0:t.EditImageToolbar)??g,[eZ]:(null==t?void 0:t.imagePlaceholder)??l})}}),eq=(0,u.guI)("INSERT_IMAGE_COMMAND");function eU(){let e=(0,u.vJq)();if(!(0,u.RTZ)(e))return null;let t=e.getNodes()[0];return e_(t)?t:null}function eG(e){let t=e.target;return!!(t&&t instanceof HTMLElement&&t.parentElement)}},85803:(e,t,n)=>{"use strict";n.d(t,{Yc:()=>eA,b6:()=>y,cL:()=>E,pw:()=>e$});var r=n(11877),i=n(84306),o=n(62221),l=n(60611);function s(e,t){return({state:n,dispatch:r})=>{if(n.readOnly)return!1;let i=e(t,n);return!!i&&(r(n.update(i)),!0)}}let a=s(function(e,t,n=t.selection.ranges){let r=[],i=-1;l:for(let{from:e,to:o}of n){let n=r.length,l=1e9,s;for(let n=e;n<=o;){let a=t.doc.lineAt(n);if(void 0==s&&!(s=d(t,a.from).line))continue l;if(a.from>i&&(e==o||o>a.from)){i=a.from;let e=/^\s*/.exec(a.text)[0].length,t=e==a.length,n=a.text.slice(e,e+s.length)==s?e:-1;e<a.text.length&&e<l&&(l=e),r.push({line:a,comment:n,token:s,indent:e,empty:t,single:!1})}n=a.to+1}if(l<1e9)for(let e=n;e<r.length;e++)r[e].indent<r[e].line.text.length&&(r[e].indent=l);r.length==n+1&&(r[n].single=!0)}if(2!=e&&r.some(e=>e.comment<0&&(!e.empty||e.single))){let e=[];for(let{line:t,token:n,indent:i,empty:o,single:l}of r)(l||!o)&&e.push({from:t.from+i,insert:n+" "});let n=t.changes(e);return{changes:n,selection:t.selection.map(n,1)}}if(1!=e&&r.some(e=>e.comment>=0)){let e=[];for(let{line:t,comment:n,token:i}of r)if(n>=0){let r=t.from+n,o=r+i.length;" "==t.text[o-t.from]&&o++,e.push({from:r,to:o})}return{changes:e}}return null},0),u=s(h,0),c=s((e,t)=>h(e,t,function(e){let t=[];for(let n of e.selection.ranges){let r=e.doc.lineAt(n.from),i=n.to<=r.to?r:e.doc.lineAt(n.to);i.from>r.from&&i.from==n.to&&(i=n.to==r.to+1?r:e.doc.lineAt(n.to-1));let o=t.length-1;o>=0&&t[o].to>r.from?t[o].to=i.to:t.push({from:r.from+/^\s*/.exec(r.text)[0].length,to:i.to})}return t}(t)),0);function d(e,t){let n=e.languageDataAt("commentTokens",t,1);return n.length?n[0]:{}}function h(e,t,n=t.selection.ranges){let r=n.map(e=>d(t,e.from).block);if(!r.every(e=>e))return null;let i=n.map((e,n)=>(function(e,{open:t,close:n},r,i){let o,l,s=e.sliceDoc(r-50,r),a=e.sliceDoc(i,i+50),u=/\s*$/.exec(s)[0].length,c=/^\s*/.exec(a)[0].length,d=s.length-u;if(s.slice(d-t.length,d)==t&&a.slice(c,c+n.length)==n)return{open:{pos:r-u,margin:u&&1},close:{pos:i+c,margin:c&&1}};i-r<=100?o=l=e.sliceDoc(r,i):(o=e.sliceDoc(r,r+50),l=e.sliceDoc(i-50,i));let h=/^\s*/.exec(o)[0].length,f=/\s*$/.exec(l)[0].length,p=l.length-f-n.length;return o.slice(h,h+t.length)==t&&l.slice(p,p+n.length)==n?{open:{pos:r+h+t.length,margin:+!!/\s/.test(o.charAt(h+t.length))},close:{pos:i-f-n.length,margin:+!!/\s/.test(l.charAt(p-1))}}:null})(t,r[n],e.from,e.to));if(2!=e&&!i.every(e=>e))return{changes:t.changes(n.map((e,t)=>i[t]?[]:[{from:e.from,insert:r[t].open+" "},{from:e.to,insert:" "+r[t].close}]))};if(1!=e&&i.some(e=>e)){let e=[];for(let t=0,n;t<i.length;t++)if(n=i[t]){let i=r[t],{open:o,close:l}=n;e.push({from:o.pos-i.open.length,to:o.pos+o.margin},{from:l.pos-l.margin,to:l.pos+i.close.length})}return{changes:e}}return null}let f=r.YH.define(),p=r.YH.define(),g=r.sj.define(),m=r.sj.define({combine:e=>(0,r.QR)(e,{minDepth:100,newGroupDelay:500,joinToEvent:(e,t)=>
6t},{minDepth:Math.max,newGroupDelay:Math.min,joinToEvent:(e,t)=>(n,r)=>e(n,r)||t(n,r)})}),O=r.sU.define({create:()=>A.empty,update(e,t){let n=t.state.facet(m),i=t.annotation(f);if(i){let r=S.fromTransaction(t,i.selection),o=i.side,l=0==o?e.undone:e.done;return l=r?_(l,l.length,n.minDepth,r):T(l,t.startState.selection),new A(0==o?i.rest:l,0==o?l:i.rest)}let o=t.annotation(p);if(("full"==o||"before"==o)&&(e=e.isolate()),!1===t.annotation(r.ZX.addToHistory))return t.changes.empty?e:e.addMapping(t.changes.desc);let l=S.fromTransaction(t),s=t.annotation(r.ZX.time),a=t.annotation(r.ZX.userEvent);return l?e=e.addChanges(l,s,a,n,t):t.selection&&(e=e.addSelection(t.startState.selection,s,a,n.newGroupDelay)),("full"==o||"after"==o)&&(e=e.isolate()),e},toJSON:e=>({done:e.done.map(e=>e.toJSON()),undone:e.undone.map(e=>e.toJSON())}),fromJSON:e=>new A(e.done.map(S.fromJSON),e.undone.map(S.fromJSON))});function y(e={}){return[O,m.of(e),i.Lz.domEventHandlers({beforeinput(e,t){let n="historyUndo"==e.inputType?x:"historyRedo"==e.inputType?b:null;return!!n&&(e.preventDefault(),n(t))}})]}function v(e,t){return function({state:n,dispatch:r}){if(!t&&n.readOnly)return!1;let i=n.field(O,!1);if(!i)return!1;let o=i.pop(e,n,t);return!!o&&(r(o),!0)}}let x=v(0,!1),b=v(1,!1),w=v(0,!0),k=v(1,!0);class S{constructor(e,t,n,r,i){this.changes=e,this.effects=t,this.mapped=n,this.startSelection=r,this.selectionsAfter=i}setSelAfter(e){return new S(this.changes,this.effects,this.mapped,this.startSelection,e)}toJSON(){var e,t,n;return{changes:null==(e=this.changes)?void 0:e.toJSON(),mapped:null==(t=this.mapped)?void 0:t.toJSON(),startSelection:null==(n=this.startSelection)?void 0:n.toJSON(),selectionsAfter:this.selectionsAfter.map(e=>e.toJSON())}}static fromJSON(e){return new S(e.changes&&r.VR.fromJSON(e.changes),[],e.mapped&&r.Gu.fromJSON(e.mapped),e.startSelection&&r.OF.fromJSON(e.startSelection),e.selectionsAfter.map(r.OF.fromJSON))}static fromTransaction(e,t){let n=P;for(let t of e.startState.facet(g)){let r=t(e);r.length&&(n=n.concat(r))}return!n.length&&e.changes.empty?null:new S(e.changes.invert(e.startState.doc),n,void 0,t||e.startState.selection,P)}static selection(e){return new S(void 0,P,void 0,void 0,e)}}function _(e,t,n,r){let i=e.slice(t+1>n+20?t-n-1:0,t);return i.push(r),i}function C(e,t){return e.length?t.length?e.concat(t):e:t}let P=[];function T(e,t){if(!e.length)return[S.selection([t])];{let n=e[e.length-1],r=n.selectionsAfter.slice(Math.max(0,n.selectionsAfter.length-200));return r.length&&r[r.length-1].eq(t)?e:(r.push(t),_(e,e.length-1,1e9,n.setSelAfter(r)))}}function Q(e,t){if(!e.length)return e;let n=e.length,i=P;for(;n;){let o=function(e,t,n){let i=C(e.selectionsAfter.length?e.selectionsAfter.map(e=>e.map(t)):P,n);if(!e.changes)return S.selection(i);let o=e.changes.map(t),l=t.mapDesc(e.changes,!0),s=e.mapped?e.mapped.composeDesc(l):l;return new S(o,r.Pe.mapEffects(e.effects,t),s,e.startSelection.map(l),i)}(e[n-1],t,i);if(o.changes&&!o.changes.empty||o.effects.length){let t=e.slice(0,n);return t[n-1]=o,t}t=o.mapped,n--,i=o.selectionsAfter}return i.length?[S.selection(i)]:P}let $=/^(input\.type|delete)($|\.)/;class A{constructor(e,t,n=0,r){this.done=e,this.undone=t,this.prevTime=n,this.prevUserEvent=r}isolate(){return this.prevTime?new A(this.done,this.undone):this}addChanges(e,t,n,i,o){var l,s;let a,u,c=this.done,d=c[c.length-1];return new A(c=d&&d.changes&&!d.changes.empty&&e.changes&&(!n||$.test(n))&&(!d.selectionsAfter.length&&t-this.prevTime<i.newGroupDelay&&i.joinToEvent(o,(l=d.changes,s=e.changes,a=[],u=!1,l.iterChangedRanges((e,t)=>a.push(e,t)),s.iterChangedRanges((e,t,n,r)=>{for(let e=0;e<a.length;){let t=a[e++],i=a[e++];r>=t&&n<=i&&(u=!0)}}),u))||"input.type.compose"==n)?_(c,c.length-1,i.minDepth,new S(e.changes.compose(d.changes),C(r.Pe.mapEffects(e.effects,d.changes),d.effects),d.mapped,d.startSelection,P)):_(c,c.length,i.minDepth,e),P,t,n)}addSelection(e,t,n,r){var i;let o=this.done.length?this.done[this.done.length-1].selectionsAfter:P;return o.length>0&&t-this.prevTime<r&&n==this.prevUserEvent&&n&&/^select($|\.)/.test(n)&&(i=o[o.length-1],i.ranges.length==e.ranges.length&&0===i.ranges.filter((t,
6n)=>t.empty!=e.ranges[n].empty).length)?this:new A(T(this.done,e),this.undone,t,n)}addMapping(e){return new A(Q(this.done,e),Q(this.undone,e),this.prevTime,this.prevUserEvent)}pop(e,t,n){let r=0==e?this.done:this.undone;if(0==r.length)return null;let i=r[r.length-1],o=i.selectionsAfter[0]||(i.startSelection?i.startSelection.map(i.changes.invertedDesc,1):t.selection);if(n&&i.selectionsAfter.length){let n,l;return t.update({selection:i.selectionsAfter[i.selectionsAfter.length-1],annotations:f.of({side:e,rest:(n=r[r.length-1],(l=r.slice())[r.length-1]=n.setSelAfter(n.selectionsAfter.slice(0,n.selectionsAfter.length-1)),l),selection:o}),userEvent:0==e?"select.undo":"select.redo",scrollIntoView:!0})}{if(!i.changes)return null;let n=1==r.length?P:r.slice(0,r.length-1);return i.mapped&&(n=Q(n,i.mapped)),t.update({changes:i.changes,selection:i.startSelection,effects:i.effects,annotations:f.of({side:e,rest:n,selection:o}),filter:!1,userEvent:0==e?"undo":"redo",scrollIntoView:!0})}}}A.empty=new A(P,P);let E=[{key:"Mod-z",run:x,preventDefault:!0},{key:"Mod-y",mac:"Mod-Shift-z",run:b,preventDefault:!0},{linux:"Ctrl-Shift-z",run:b,preventDefault:!0},{key:"Mod-u",run:w,preventDefault:!0},{key:"Alt-u",mac:"Mod-Shift-u",run:k,preventDefault:!0}];function R(e,t){return r.OF.create(e.ranges.map(t),e.mainIndex)}function N(e,t){return e.update({selection:t,scrollIntoView:!0,userEvent:"select"})}function L({state:e,dispatch:t},n){let r=R(e.selection,n);return!r.eq(e.selection,!0)&&(t(N(e,r)),!0)}function M(e,t){return r.OF.cursor(t?e.to:e.from)}function Z(e,t){return L(e,n=>n.empty?e.moveByChar(n,t):M(n,t))}function I(e){return e.textDirectionAt(e.state.selection.main.head)==i.OP.LTR}let j=e=>Z(e,!I(e)),X=e=>Z(e,I(e));function D(e,t){return L(e,n=>n.empty?e.moveByGroup(n,t):M(n,t))}function V(e,t,n){let i,s,a=(0,o.mv)(e).resolveInner(t.head),u=n?l.uY.closedBy:l.uY.openedBy;for(let r=t.head;;){let t=n?a.childAfter(r):a.childBefore(r);if(!t)break;!function(e,t,n){if(t.type.prop(n))return!0;let r=t.to-t.from;return r&&(r>2||/[^\s,.;:]/.test(e.sliceDoc(t.from,t.to)))||t.firstChild}(e,t,u)?r=n?t.to:t.from:a=t}return s=a.type.prop(u)&&(i=n?(0,o.jU)(e,a.from,1):(0,o.jU)(e,a.to,-1))&&i.matched?n?i.end.to:i.end.from:n?a.to:a.from,r.OF.cursor(s,n?-1:1)}function F(e,t){return L(e,n=>{if(!n.empty)return M(n,t);let r=e.moveVertically(n,t);return r.head!=n.head?r:e.moveToLineBoundary(n,t)})}"undefined"!=typeof Intl&&Intl.Segmenter;let z=e=>F(e,!1),B=e=>F(e,!0);function W(e){let t=e.scrollDOM.clientHeight<e.scrollDOM.scrollHeight-2,n=0,r=0,o;if(t){for(let t of e.state.facet(i.Lz.scrollMargins)){let i=t(e);(null==i?void 0:i.top)&&(n=Math.max(null==i?void 0:i.top,n)),(null==i?void 0:i.bottom)&&(r=Math.max(null==i?void 0:i.bottom,r))}o=e.scrollDOM.clientHeight-n-r}else o=(e.dom.ownerDocument.defaultView||window).innerHeight;return{marginTop:n,marginBottom:r,selfScroll:t,height:Math.max(e.defaultLineHeight,o-5)}}function Y(e,t){let n,r=W(e),{state:o}=e,l=R(o.selection,n=>n.empty?e.moveVertically(n,t,r.height):M(n,t));if(l.eq(o.selection))return!1;if(r.selfScroll){let t=e.coordsAtPos(o.selection.main.head),s=e.scrollDOM.getBoundingClientRect(),a=s.top+r.marginTop,u=s.bottom-r.marginBottom;t&&t.top>a&&t.bottom<u&&(n=i.Lz.scrollIntoView(l.main.head,{y:"start",yMargin:t.top-a}))}return e.dispatch(N(o,l),{effects:n}),!0}let q=e=>Y(e,!1),U=e=>Y(e,!0);function G(e,t,n){let i=e.lineBlockAt(t.head),o=e.moveToLineBoundary(t,n);if(o.head==t.head&&o.head!=(n?i.to:i.from)&&(o=e.moveToLineBoundary(t,n,!1)),!n&&o.head==i.from&&i.length){let n=/^\s*/.exec(e.state.sliceDoc(i.from,Math.min(i.from+100,i.to)))[0].length;n&&t.head!=i.from+n&&(o=r.OF.cursor(i.from+n))}return o}function H(e,t){let n=R(e.state.selection,e=>{let n=t(e);return r.OF.range(e.anchor,n.head,n.goalColumn,n.bidiLevel||void 0,n.assoc)});return!n.eq(e.state.selection)&&(e.dispatch(N(e.state,n)),!0)}function J(e,t){return H(e,n=>e.moveByChar(n,t))}let K=e=>J(e,!I(e)),ee=e=>J(e,I(e));function et(e,t){return H(e,n=>e.moveByGroup(n,t))}function en(e,t){return H(e,n=>e.moveVertically(n,t))}let er=e=>en(e,!1),ei=e=>en(e,!0);function eo(e,t){return H(e,n=>e.moveVertically(n,t,W(e).height))}let el=e=>eo(e,!1),es=e=>eo(e,!0),ea=({state:e,dispatch:t})=>(t(N(e,{anchor:0})),!0),eu=({state:e,dispatch:t})=>(t(N(e,{anchor:e.doc.length})),!0),ec=({state:e,dispatch:t})=>(t(N(e,{anchor:e.selection.main.anchor,head:0})),!0),ed=({state:e,dispatch:t})=>(t(N(e,{anchor:e.selection.main.anchor,head:e.doc.length})),!0);function eh(e,t){let{state:n}=e,i=n.selection,o=n.selection.ranges.slice();for(let r of n.selection.ranges){let i=n.doc.lineAt(r.head);if(t?i.to<e.state.doc.length:i.from>0)for(let n=r;;){let r=e.moveVertically(n,t);if(r.head<i.from||r.head>i.to){o.some(e=>e.head==r.head)||o.push(r);break}if(r.head==n.head)break;n=r}}return o.length!=i.ranges.length&&(e.dispatch(N(n,r.OF.create(o,o.length-1))),!0)}function ef(e,t){if(e.state.readOnly)return!1;let n="delete.selection",{state:o}=e,l=o.changeByRange(i=>{let{from:o,to:l}=i;if(o==l){let r=t(i);r<o?(n="delete.backward",r=ep(e,r,!1)):r>o&&(n="delete.forward",r=ep(e,r,!0)),o=Math.min(o,r),l=Math.max(l,r)}else o=ep(e,o,!1),l=ep(e,l,!0);return o==l?{range:i}:{changes:{from:o,to:l},range:r.OF.cursor(o,o<i.head?-1:1)}});return!l.changes.empty&&(e.dispatch(o.update(l,{scrollIntoView:!0,userEvent:n,effects:"delete.selection"==n?i.Lz.announce.of(o.phrase("Selection deleted")):void 0})),!0)}function ep(e,t,n){if(e instanceof i.Lz)for(let r of e.state.facet(i.Lz.atomicRanges).map(t=>t(e)))r.between(t,t,(e,r)=>{e<t&&r>t&&(t=n?r:e)});return t}let eg=(e,t,n)=>ef(e,i=>{let l=i.from,{state:s}=e,a=s.doc.lineAt(l),u,c;if(n&&!t&&l>a.from&&l<a.from+200&&!/[^ \t]/.test(u=a.text.slice(0,l-a.from))){if("	"==u[u.length-1])return l-1;let e=(0,r.y$)(u,s.tabSize)%(0,o.tp)(s)||(0,o.tp)(s);for(let t=0;t<e&&" "==u[u.length-1-t];t++)l--;c=l}else(c=(0,r.zK)(a.text,l-a.from,t,t)+a.from)==l&&a.number!=(t?s.doc.lines:1)?c+=t?1:-1:!t&&/[\ufe00-\ufe0f]/.test(a.text.slice(c-a.from,l-a.from))&&(c=(0,r.zK)(a.text,c-a.from,!1,!1)+a.from);return c}),em=e=>eg(e,!1,!0),eO=e=>eg(e,!0,!1),ey=(e,t)=>ef(e,n=>{let i=n.head,{state:o}=e,l=o.doc.lineAt(i),s=o.charCategorizer(i);for(let e=null;;){if(i==(t?l.to:l.from)){i==n.head&&l.number!=(t?o.doc.lines:1)&&(i+=t?1:-1);break}let a=(0,r.zK)(l.text,i-l.from,t)+l.from,u=l.text.slice(Math.min(i,a)-l.from,Math.max(i,a)-l.from),c=s(u);if(null!=e&&c!=e)break;(" "!=u||i!=n.head)&&(e=c),i=a}return i}),ev=e=>ey(e,!1);function ex(e){let t=[],n=-1;for(let r of e.selection.ranges){let i=e.doc.lineAt(r.from),o=e.doc.lineAt(r.to);if(r.empty||r.to!=o.from||(o=e.doc.lineAt(r.to-1)),n>=i.number){let e=t[t.length-1];e.to=o.to,e.ranges.push(r)}else t.push({from:i.from,to:o.to,ranges:[r]});n=o.number+1}return t}function eb(e,t,n){if(e.readOnly)return!1;let i=[],o=[];for(let t of ex(e)){if(n?t.to==e.doc.length:0==t.from)continue;let l=e.doc.lineAt(n?t.to+1:t.from-1),s=l.length+1;if(n)for(let n of(i.push({from:t.to,to:l.to},{from:t.from,insert:l.text+e.lineBreak}),t.ranges))o.push(r.OF.range(Math.min(e.doc.length,n.anchor+s),Math.min(e.doc.length,n.head+s)));else for(let n of(i.push({from:l.from,to:t.from},{from:t.to,insert:e.lineBreak+l.text}),t.ranges))o.push(r.OF.range(n.anchor-s,n.head-s))}return!!i.length&&(t(e.update({changes:i,scrollIntoView:!0,selection:r.OF.create(o,e.selection.mainIndex),userEvent:"move.line"})),!0)}
6function ew(e,t,n){if(e.readOnly)return!1;let r=[];for(let t of ex(e))n?r.push({from:t.from,insert:e.doc.slice(t.from,t.to)+e.lineBreak}):r.push({from:t.to,insert:e.lineBreak+e.doc.slice(t.from,t.to)});let i=e.changes(r);return t(e.update({changes:i,selection:e.selection.map(i,n?1:-1),scrollIntoView:!0,userEvent:"input.copyline"})),!0}let ek=e_(!1),eS=e_(!0);function e_(e){return({state:t,dispatch:n})=>{if(t.readOnly)return!1;let i=t.changeByRange(n=>{let{from:i,to:s}=n,a=t.doc.lineAt(i),u=!e&&i==s&&function(e,t){if(/\(\)|\[\]|\{\}/.test(e.sliceDoc(t-1,t+1)))return{from:t,to:t};let n=(0,o.mv)(e).resolveInner(t),r=n.childBefore(t),i=n.childAfter(t),s;return r&&i&&r.to<=t&&i.from>=t&&(s=r.type.prop(l.uY.closedBy))&&s.indexOf(i.name)>-1&&e.doc.lineAt(r.to).from==e.doc.lineAt(i.from).from&&!/\S/.test(e.sliceDoc(r.to,i.from))?{from:r.to,to:i.from}:null}(t,i);e&&(i=s=(s<=a.to?a:t.doc.lineAt(s)).to);let c=new o.KB(t,{simulateBreak:i,simulateDoubleBreak:!!u}),d=(0,o._v)(c,i);for(null==d&&(d=(0,r.y$)(/^\s*/.exec(t.doc.lineAt(i).text)[0],t.tabSize));s<a.to&&/\s/.test(a.text[s-a.from]);)s++;u?{from:i,to:s}=u:i>a.from&&i<a.from+100&&!/\S/.test(a.text.slice(0,i))&&(i=a.from);let h=["",(0,o.EI)(t,d)];return u&&h.push((0,o.EI)(t,c.lineIndent(a.from,-1))),{changes:{from:i,to:s,insert:r.EY.of(h)},range:r.OF.cursor(i+1+h[1].length)}});return n(t.update(i,{scrollIntoView:!0,userEvent:"input"})),!0}}function eC(e,t){let n=-1;return e.changeByRange(i=>{let o=[];for(let r=i.from;r<=i.to;){let l=e.doc.lineAt(r);l.number>n&&(i.empty||i.to>l.from)&&(t(l,o,i),n=l.number),r=l.to+1}let l=e.changes(o);return{changes:o,range:r.OF.range(l.mapPos(i.anchor,1),l.mapPos(i.head,1))}})}let eP=({state:e,dispatch:t})=>!e.readOnly&&(t(e.update(eC(e,(t,n)=>{n.push({from:t.from,insert:e.facet(o.Xt)})}),{userEvent:"input.indent"})),!0),eT=({state:e,dispatch:t})=>!e.readOnly&&(t(e.update(eC(e,(t,n)=>{let i=/^\s*/.exec(t.text)[0];if(!i)return;let l=(0,r.y$)(i,e.tabSize),s=0,a=(0,o.EI)(e,Math.max(0,l-(0,o.tp)(e)));for(;s<i.length&&s<a.length&&i.charCodeAt(s)==a.charCodeAt(s);)s++;n.push({from:t.from+s,to:t.from+i.length,insert:a.slice(s)})}),{userEvent:"delete.dedent"})),!0),eQ=[{key:"Ctrl-b",run:j,shift:K,preventDefault:!0},{key:"Ctrl-f",run:X,shift:ee},{key:"Ctrl-p",run:z,shift:er},{key:"Ctrl-n",run:B,shift:ei},{key:"Ctrl-a",run:e=>L(e,t=>r.OF.cursor(e.lineBlockAt(t.head).from,1)),shift:e=>H(e,t=>r.OF.cursor(e.lineBlockAt(t.head).from))},{key:"Ctrl-e",run:e=>L(e,t=>r.OF.cursor(e.lineBlockAt(t.head).to,-1)),shift:e=>H(e,t=>r.OF.cursor(e.lineBlockAt(t.head).to))},{key:"Ctrl-d",run:eO},{key:"Ctrl-h",run:em},{key:"Ctrl-k",run:e=>ef(e,t=>{let n=e.lineBlockAt(t.head).to;return t.head<n?n:Math.min(e.state.doc.length,t.head+1)})},{key:"Ctrl-Alt-h",run:ev},{key:"Ctrl-o",run:({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=e.changeByRange(e=>({changes:{from:e.from,to:e.to,insert:r.EY.of(["",""])},range:r.OF.cursor(e.from)}));return t(e.update(n,{scrollIntoView:!0,userEvent:"input"})),!0}},{key:"Ctrl-t",run:({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=e.changeByRange(t=>{if(!t.empty||0==t.from||t.from==e.doc.length)return{range:t};let n=t.from,i=e.doc.lineAt(n),o=n==i.from?n-1:(0,r.zK)(i.text,n-i.from,!1)+i.from,l=n==i.to?n+1:(0,r.zK)(i.text,n-i.from,!0)+i.from;return{changes:{from:o,to:l,insert:e.doc.slice(n,l).append(e.doc.slice(o,n))},range:r.OF.cursor(l)}});return!n.changes.empty&&(t(e.update(n,{scrollIntoView:!0,userEvent:"move.character"})),!0)}},{key:"Ctrl-v",run:U}],e$=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:e=>L(e,t=>V(e.state,t,!I(e))),shift:e=>H(e,t=>V(e.state,t,!I(e)))},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:e=>L(e,t=>V(e.state,t,I(e))),shift:e=>H(e,t=>V(e.state,t,I(e)))},{key:"Alt-ArrowUp",run:({state:e,dispatch:t})=>eb(e,t,!1)},{key:"Shift-Alt-ArrowUp",run:({state:e,dispatch:t})=>ew(e,t,!1)},{key:"Alt-ArrowDown",run:({state:e,dispatch:t})=>eb(e,t,!0)},{key:"Shift-Alt-ArrowDown",run:({state:e,dispatch:t})=>ew(e,t,!0)},{key:"Mod-Alt-ArrowUp",run:e=>eh(e,!1)},{key:"Mod-Alt-ArrowDown",run:e=>eh(e,!0)},{key:"Escape",run:({state:e,dispatch:t})=>{let n=e.selection,i=null;return n.ranges.length>1?i=r.OF.create([n.main]):n.main.empty||(i=r.OF.create([r.OF.cursor(n.main.head)])),!!i&&(t(N(e,i)),!0)}},{key:"Mod-Enter",run:eS},{key:"Alt-l",mac:"Ctrl-l",run:({state:e,dispatch:t})=>{let n=ex(e).map(({from:t,to:n})=>r.OF.range(t,Math.min(n+1,e.doc.length)));return t(e.update({selection:r.OF.create(n),userEvent:"select"})),!0}},{key:"Mod-i",run:({state:e,dispatch:t})=>{let n=R(e.selection,t=>{let n=(0,o.mv)(e),i=n.resolveStack(t.from,1);if(t.empty){let e=n.resolveStack(t.from,-1);e.node.from>=i.node.from&&e.node.to<=i.node.to&&(i=e)}for(let e=i;e;e=e.next){let{node:n}=e;if((n.from<t.from&&n.to>=t.to||n.to>t.to&&n.from<=t.from)&&e.next)return r.OF.range(n.to,n.from)}return t});return!n.eq(e.selection)&&(t(N(e,n)),!0)},preventDefault:!0},{key:"Mod-[",run:eT},{key:"Mod-]",run:eP},{key:"Mod-Alt-\\",run:({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=Object.create(null),r=new o.KB(e,{overrideIndentation:e=>{let t=n[e];return null==t?-1:t}}),i=eC(e,(t,i,l)=>{let s=(0,o._v)(r,t.from);if(null==s)return;/\S/.test(t.text)||(s=0);
6let a=/^\s*/.exec(t.text)[0],u=(0,o.EI)(e,s);(a!=u||l.from<t.from+a.length)&&(n[t.from]=s,i.push({from:t.from,to:t.from+a.length,insert:u}))});return i.changes.empty||t(e.update(i,{userEvent:"indent"})),!0}},{key:"Shift-Mod-k",run:e=>{if(e.state.readOnly)return!1;let{state:t}=e,n=t.changes(ex(t).map(({from:e,to:n})=>(e>0?e--:n<t.doc.length&&n++,{from:e,to:n}))),r=R(t.selection,t=>{let n;if(e.lineWrapping){let r=e.lineBlockAt(t.head),i=e.coordsAtPos(t.head,t.assoc||1);i&&(n=r.bottom+e.documentTop-i.bottom+e.defaultLineHeight/2)}return e.moveVertically(t,!0,n)}).map(n);return e.dispatch({changes:n,selection:r,scrollIntoView:!0,userEvent:"delete.line"}),!0}},{key:"Shift-Mod-\\",run:({state:e,dispatch:t})=>(function(e,t,n){let i=!1,l=R(e.selection,t=>{let l=(0,o.jU)(e,t.head,-1)||(0,o.jU)(e,t.head,1)||t.head>0&&(0,o.jU)(e,t.head-1,1)||t.head<e.doc.length&&(0,o.jU)(e,t.head+1,-1);if(!l||!l.end)return t;i=!0;let s=l.start.from==t.head?l.end.to:l.end.from;return n?r.OF.range(t.anchor,s):r.OF.cursor(s)});return!!i&&(t(N(e,l)),!0)})(e,t,!1)},{key:"Mod-/",run:e=>{let{state:t}=e,n=t.doc.lineAt(t.selection.main.from),r=d(e.state,n.from);return r.line?a(e):!!r.block&&c(e)}},{key:"Alt-A",run:u},{key:"Ctrl-m",mac:"Shift-Alt-m",run:e=>(e.setTabFocusMode(),!0)}].concat([{key:"ArrowLeft",run:j,shift:K,preventDefault:!0},{key:"Mod-ArrowLeft",mac:"Alt-ArrowLeft",run:e=>D(e,!I(e)),shift:e=>et(e,!I(e)),preventDefault:!0},{mac:"Cmd-ArrowLeft",run:e=>L(e,t=>G(e,t,!I(e))),shift:e=>H(e,t=>G(e,t,!I(e))),preventDefault:!0},{key:"ArrowRight",run:X,shift:ee,preventDefault:!0},{key:"Mod-ArrowRight",mac:"Alt-ArrowRight",run:e=>D(e,I(e)),shift:e=>et(e,I(e)),preventDefault:!0},{mac:"Cmd-ArrowRight",run:e=>L(e,t=>G(e,t,I(e))),shift:e=>H(e,t=>G(e,t,I(e))),preventDefault:!0},{key:"ArrowUp",run:z,shift:er,preventDefault:!0},{mac:"Cmd-ArrowUp",run:ea,shift:ec},{mac:"Ctrl-ArrowUp",run:q,shift:el},{key:"ArrowDown",run:B,shift:ei,preventDefault:!0},{mac:"Cmd-ArrowDown",run:eu,shift:ed},{mac:"Ctrl-ArrowDown",run:U,shift:es},{key:"PageUp",run:q,shift:el},{key:"PageDown",run:U,shift:es},{key:"Home",run:e=>L(e,t=>G(e,t,!1)),shift:e=>H(e,t=>G(e,t,!1)),preventDefault:!0},{key:"Mod-Home",run:ea,shift:ec},{key:"End",run:e=>L(e,t=>G(e,t,!0)),shift:e=>H(e,t=>G(e,t,!0)),preventDefault:!0},{key:"Mod-End",run:eu,shift:ed},{key:"Enter",run:ek,shift:ek},{key:"Mod-a",run:({state:e,dispatch:t})=>(t(e.update({selection:{anchor:0,head:e.doc.length},userEvent:"select"})),!0)},{key:"Backspace",run:em,shift:em,preventDefault:!0},{key:"Delete",run:eO,preventDefault:!0},{key:"Mod-Backspace",mac:"Alt-Backspace",run:ev,preventDefault:!0},{key:"Mod-Delete",mac:"Alt-Delete",run:e=>ey(e,!0),preventDefault:!0},{mac:"Mod-Backspace",run:e=>ef(e,t=>{let n=e.moveToLineBoundary(t,!1).head;return t.head>n?n:Math.max(0,t.head-1)}),preventDefault:!0},{mac:"Mod-Delete",run:e=>ef(e,t=>{let n=e.moveToLineBoundary(t,!0).head;return t.head<n?n:Math.min(e.state.doc.length,t.head+1)}),preventDefault:!0}].concat(eQ.map(e=>({mac:e.key,run:e.run,shift:e.shift})))),eA={key:"Tab",run:eP,shift:eT}},86280:(e,t,n)=>{"use strict";n(17260)},86431:(e,t,n)=>{"use strict";n.d(t,{C:()=>l});var r=n(6325),i=n(5966),o=n(36709),l=e=>{let{present:t,children:n}=e,l=function(e){var t,n;let[i,l]=r.useState(),a=r.useRef(null),u=r.useRef(e),c=r.useRef("none"),[d,h]=(t=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},r.useReducer((e,t)=>{let r=n[e][t];return null!=r?r:e},t));return r.useEffect(()=>{let e=s(a.current);c.current="mounted"===d?e:"none"},[d]),(0,o.N)(()=>{let t=a.current,n=u.current;if(n!==e){let r=c.current,i=s(t);e?h("MOUNT"):"none"===i||(null==t?void 0:t.display)==="none"?h("UNMOUNT"):n&&r!==i?h("ANIMATION_OUT"):h("UNMOUNT"),u.current=e}},[e,h]),(0,o.N)(()=>{if(i){var e;let t,n=null!=(e=i.ownerDocument.defaultView)?e:window,r=e=>{let r=s(a.current).includes(CSS.escape(e.animationName));if(e.target===i&&r&&(h("ANIMATION_END"),!u.current)){let e=i.style.animationFillMode;i.style.animationFillMode="forwards",t=n.setTimeout(()=>{"forwards"===i.style.animationFillMode&&(i.style.animationFillMode=e)})}},o=e=>{e.target===i&&(c.current=s(a.current))};return i.addEventListener("animationstart",o),i.addEventListener("animationcancel",r),i.addEventListener("animationend",r),()=>{n.clearTimeout(t),i.removeEventListener("animationstart",o),i.removeEventListener("animationcancel",r),i.removeEventListener("animationend",r)}}h("ANIMATION_END")},[i,h]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:r.useCallback(e=>{a.current=e?getComputedStyle(e):null,l(e)},[])}}(t),a="function"==typeof n?n({present:l.isPresent}):r.Children.only(n),u=(0,i.s)(l.ref,function(e){var t,n;let r=null==(t=Object.getOwnPropertyDescriptor(e.props,"ref"))?void 0:t.get,i=r&&"isReactWarning"in r&&r.isReactWarning;return i?e.ref:(i=(r=null==(n=Object.getOwnPropertyDescriptor(e,"ref"))?void 0:n.get)&&"isReactWarning"in r&&r.isReactWarning)?e.props.ref:e.props.ref||e.ref}(a));return"function"==typeof n||l.isPresent?r.cloneElement(a,{ref:u}):null};function s(e){return(null==e?void 0:e.animationName)||"none"}l.displayName="Presence"},87797:(e,t,n)=>{"use strict";n.d(t,{DM:()=>h,_A:()=>Q,az:()=>d,pn:()=>a,vw:()=>o});var r=n(60611);let i=0;class o{constructor(e,t,n,r){this.name=e,this.set=t,this.base=n,this.modified=r,this.id=i++}toString(){let{name:e}=this;for(let t of this.modified)t.name&&(e=`${t.name}(${e})`);return e}static define(e,t){if(e instanceof o&&(t=e),null==t?void 0:t.base)throw Error("Can not derive from a modified tag");let n=new o("string"==typeof e?e:"?",[],null,[]);if(n.set.push(n),t)for(let e of t.set)n.set.push(e);return n}static defineModifier(e){let t=new s(e);return e=>e.modified.indexOf(t)>-1?e:s.get(e.base||e,e.modified.concat(t).sort((e,t)=>
6e.id-t.id))}}let l=0;class s{constructor(e){this.name=e,this.instances=[],this.id=l++}static get(e,t){if(!t.length)return e;let n=t[0].instances.find(n=>{var r,i;return n.base==e&&(r=t,i=n.modified,r.length==i.length&&r.every((e,t)=>e==i[t]))});if(n)return n;let r=[],i=new o(e.name,r,e,t);for(let e of t)e.instances.push(i);let l=function(e){let t=[[]];for(let n=0;n<e.length;n++)for(let r=0,i=t.length;r<i;r++)t.push(t[r].concat(e[n]));return t.sort((e,t)=>t.length-e.length)}(t);for(let t of e.set)if(!t.modified.length)for(let e of l)r.push(s.get(t,e));return i}}function a(e){let t=Object.create(null);for(let n in e){let r=e[n];for(let e of(Array.isArray(r)||(r=[r]),n.split(" ")))if(e){let n=[],i=2,o=e;for(let t=0;;){if("..."==o&&t>0&&t+3==e.length){i=1;break}let r=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(o);if(!r)throw RangeError("Invalid path: "+e);if(n.push("*"==r[0]?"":'"'==r[0][0]?JSON.parse(r[0]):r[0]),(t+=r[0].length)==e.length)break;let l=e[t++];if(t==e.length&&"!"==l){i=0;break}if("/"!=l)throw RangeError("Invalid path: "+e);o=e.slice(t)}let l=n.length-1,s=n[l];if(!s)throw RangeError("Invalid path: "+e);let a=new c(r,i,l>0?n.slice(0,l):null);t[s]=a.sort(t[s])}}return u.add(t)}let u=new r.uY({combine(e,t){let n,r,i;for(;e||t;){if(!e||t&&e.depth>=t.depth?(i=t,t=t.next):(i=e,e=e.next),n&&n.mode==i.mode&&!i.context&&!n.context)continue;let o=new c(i.tags,i.mode,i.context);n?n.next=o:r=o,n=o}return r}});class c{constructor(e,t,n,r){this.tags=e,this.mode=t,this.context=n,this.next=r}get opaque(){return 0==this.mode}get inherit(){return 1==this.mode}sort(e){return!e||e.depth<this.depth?(this.next=e,this):(e.next=this.sort(e.next),e)}get depth(){return this.context?this.context.length:0}}function d(e,t){let n=Object.create(null);for(let t of e)if(Array.isArray(t.tag))for(let e of t.tag)n[e.id]=t.class;else n[t.tag.id]=t.class;let{scope:r,all:i=null}=t||{};return{style:e=>{let t=i;for(let r of e)for(let e of r.set){let r=n[e.id];if(r){t=t?t+" "+r:r;break}}return t},scope:r}}function h(e,t,n,r=0,i=e.length){let o=new f(r,Array.isArray(t)?t:[t],n);o.highlightRange(e.cursor(),r,i,"",o.highlighters),o.flush(i)}c.empty=new c([],2,null);class f{constructor(e,t,n){this.at=e,this.highlighters=t,this.span=n,this.class=""}startSpan(e,t){t!=this.class&&(this.flush(e),e>this.at&&(this.at=e),this.class=t)}flush(e){e>this.at&&this.class&&this.span(this.at,e,this.class)}highlightRange(e,t,n,i,o){let{type:l,from:s,to:a}=e;if(s>=n||a<=t)return;l.isTop&&(o=this.highlighters.filter(e=>!e.scope||e.scope(l)));let d=i,h=function(e){let t=e.type.prop(u);for(;t&&t.context&&!e.matchContext(t.context);
6)t=t.next;return t||null}(e)||c.empty,f=function(e,t){let n=null;for(let r of e){let e=r.style(t);e&&(n=n?n+" "+e:e)}return n}(o,h.tags);if(f&&(d&&(d+=" "),d+=f,1==h.mode&&(i+=(i?" ":"")+f)),this.startSpan(Math.max(t,s),d),h.opaque)return;let p=e.tree&&e.tree.prop(r.uY.mounted);if(p&&p.overlay){let r=e.node.enter(p.overlay[0].from+s,1),l=this.highlighters.filter(e=>!e.scope||e.scope(p.tree.type)),u=e.firstChild();for(let c=0,h=s;;c++){let f=c<p.overlay.length?p.overlay[c]:null,g=f?f.from+s:a,m=Math.max(t,h),O=Math.min(n,g);if(m<O&&u)for(;e.from<O&&(this.highlightRange(e,m,O,i,o),this.startSpan(Math.min(O,e.to),d),!(e.to>=g)&&e.nextSibling()););if(!f||g>n)break;(h=f.to+s)>t&&(this.highlightRange(r.cursor(),Math.max(t,f.from+s),Math.min(n,h),"",l),this.startSpan(Math.min(n,h),d))}u&&e.parent()}else if(e.firstChild()){p&&(i="");do{if(e.to<=t)continue;if(e.from>=n)break;this.highlightRange(e,t,n,i,o),this.startSpan(Math.min(n,e.to),d)}while(e.nextSibling());e.parent()}}}let p=o.define,g=p(),m=p(),O=p(m),y=p(m),v=p(),x=p(v),b=p(v),w=p(),k=p(w),S=p(),_=p(),C=p(),P=p(C),T=p(),Q={comment:g,lineComment:p(g),blockComment:p(g),docComment:p(g),name:m,variableName:p(m),typeName:O,tagName:p(O),propertyName:y,attributeName:p(y),className:p(m),labelName:p(m),namespace:p(m),macroName:p(m),literal:v,string:x,docString:p(x),character:p(x),attributeValue:p(x),number:b,integer:p(b),float:p(b),bool:p(v),regexp:p(v),escape:p(v),color:p(v),url:p(v),keyword:S,self:p(S),null:p(S),atom:p(S),unit:p(S),modifier:p(S),operatorKeyword:p(S),controlKeyword:p(S),definitionKeyword:p(S),moduleKeyword:p(S),operator:_,derefOperator:p(_),arithmeticOperator:p(_),logicOperator:p(_),bitwiseOperator:p(_),compareOperator:p(_),updateOperator:p(_),definitionOperator:p(_),typeOperator:p(_),controlOperator:p(_),punctuation:C,separator:p(C),bracket:P,angleBracket:p(P),squareBracket:p(P),paren:p(P),brace:p(P),content:w,heading:k,heading1:p(k),heading2:p(k),heading3:p(k),heading4:p(k),heading5:p(k),heading6:p(k),contentSeparator:p(w),list:p(w),quote:p(w),emphasis:p(w),strong:p(w),link:p(w),monospace:p(w),strikethrough:p(w),inserted:p(),deleted:p(),changed:p(),invalid:p(),meta:T,documentMeta:p(T),annotation:p(T),processingInstruction:p(T),definition:o.defineModifier("definition"),constant:o.defineModifier("constant"),function:o.defineModifier("function"),standard:o.defineModifier("standard"),local:o.defineModifier("local"),special:o.defineModifier("special")};for(let e in Q){let t=Q[e];t instanceof o&&(t.name=e)}d([{tag:Q.link,class:"tok-link"},{tag:Q.heading,class:"tok-heading"},{tag:Q.emphasis,class:"tok-emphasis"},{tag:Q.strong,class:"tok-strong"},{tag:Q.keyword,class:"tok-keyword"},{tag:Q.atom,class:"tok-atom"},{tag:Q.bool,class:"tok-bool"},{tag:Q.url,class:"tok-url"},{tag:Q.labelName,class:"tok-labelName"},{tag:Q.inserted,class:"tok-inserted"},{tag:Q.deleted,class:"tok-deleted"},{tag:Q.literal,class:"tok-literal"},{tag:Q.string,class:"tok-string"},{tag:Q.number,class:"tok-number"},{tag:[Q.regexp,Q.escape,Q.special(Q.string)],class:"tok-string2"},{tag:Q.variableName,class:"tok-variableName"},{tag:Q.local(Q.variableName),class:"tok-variableName tok-local"},{tag:Q.definition(Q.variableName),class:"tok-variableName tok-definition"},{tag:Q.special(Q.variableName),class:"tok-variableName2"},{tag:Q.definition(Q.propertyName),class:"tok-propertyName tok-definition"},{tag:Q.typeName,class:"tok-typeName"},{tag:Q.namespace,class:"tok-namespace"},{tag:Q.className,class:"tok-className"},{tag:Q.macroName,class:"tok-macroName"},{tag:Q.propertyName,class:"tok-propertyName"},{tag:Q.operator,class:"tok-operator"},{tag:Q.comment,class:"tok-comment"},{tag:Q.meta,class:"tok-meta"},{tag:Q.invalid,class:"tok-invalid"},{tag:Q.punctuation,class:"tok-punctuation"}])},88170:(e,t,n)=>{"use strict";let r;n.d(t,{dI:()=>eP,tW:()=>eC,a2:()=>eQ,MJ:()=>eT});var i=n(60665),o=n(6325),l=n(84306),s=n(11877),a=n(84905);n(62221),n(87797);class u{constructor(e,t,n,r){this.fromA=e,this.toA=t,this.fromB=n,this.toB=r}offset(e,t=e){return new u(this.fromA+e,this.toA+e,this.fromB+t,this.toB+t)}}function c(e,t,n,r,i,o){if(e==r)return[];let l=y(e,t,n,r,i,o),s=v(e,t+l,n,r,i+l,o);t+=l,n-=s,i+=l;let a=n-t,f=(o-=s)-i;
6if(!a||!f)return[new u(t,n,i,o)];if(a>f){let l=e.slice(t,n).indexOf(r.slice(i,o));if(l>-1)return[new u(t,t+l,i,i),new u(t+l+f,n,o,o)]}else if(f>a){let l=r.slice(i,o).indexOf(e.slice(t,n));if(l>-1)return[new u(t,t,i,i+l),new u(n,n,i+l+a,o)]}if(1==a||1==f)return[new u(t,n,i,o)];let p=function e(t,n,r,i,o,l){let s=r-n,a=l-o;if(s<a){let s=e(i,o,l,t,n,r);return s&&[s[1],s[0],s[2]]}return s<4||2*a<s?null:x(t,n,r,i,o,l,Math.floor(s/4),-1)}(e,t,n,r,i,o);if(p){let[l,s,a]=p;return c(e,t,l,r,i,s).concat(c(e,l+a,n,r,s+a,o))}return function(e,t,n,r,i,o){let l=n-t,s=o-i;if(d<1e9&&Math.min(l,s)>16*d||h>0&&Date.now()>h)return Math.min(l,s)>64*d?[new u(t,n,i,o)]:b(e,t,n,r,i,o);let a=Math.ceil((l+s)/2);g.reset(a),m.reset(a);let f=(n,o)=>e.charCodeAt(t+n)==r.charCodeAt(i+o),p=(t,i)=>e.charCodeAt(n-t-1)==r.charCodeAt(o-i-1),O=(l-s)%2!=0?m:null,y=O?null:g;for(let v=0;v<a;v++){if(v>d||h>0&&!(63&v)&&Date.now()>h)return b(e,t,n,r,i,o);let x=g.advance(v,l,s,a,O,!1,f)||m.advance(v,l,s,a,y,!0,p);if(x)return function(e,t,n,r,i,o,l,s){let a=!1;return(E(e,r)||++r!=n||(a=!0),E(i,s)||++s!=l||(a=!0),a)?[new u(t,n,o,l)]:c(e,t,r,i,o,s).concat(c(e,r,n,i,s,l))}(e,t,n,t+x[0],r,i,o,i+x[1])}return[new u(t,n,i,o)]}(e,t,n,r,i,o)}let d=1e9,h=0,f=!1;class p{constructor(){this.vec=[]}reset(e){this.len=e<<1;for(let e=0;e<this.len;e++)this.vec[e]=-1;this.vec[e+1]=0,this.start=this.end=0}advance(e,t,n,r,i,o,l){for(let s=-e+this.start;s<=e-this.end;s+=2){let a=r+s,u=s==-e||s!=e&&this.vec[a-1]<this.vec[a+1]?this.vec[a+1]:this.vec[a-1]+1,c=u-s;for(;u<t&&c<n&&l(u,c);)u++,c++;if(this.vec[a]=u,u>t)this.end+=2;else if(c>n)this.start+=2;else if(i){let e=r+(t-n)-s;if(e>=0&&e<this.len&&-1!=i.vec[e]){if(o){let n=i.vec[e];if(n>=t-u)return[n,r+n-e]}else if(u>=t-i.vec[e])return[u,c]}}}return null}}let g=new p,m=new p;function O(e,t){let n=1,r=Math.min(e,t);for(;n<r;)n<<=1;return n}function y(e,t,n,r,i,o){if(t==n||t==o||e.charCodeAt(t)!=r.charCodeAt(i))return 0;let l=O(n-t,o-i);for(let s=t,a=i;;){let i=s+l,u=a+l;if(i>n||u>o||e.slice(s,i)!=r.slice(a,u)){if(1==l)return s-t-!E(e,s);l>>=1}else{if(i==n||u==o)return i-t;s=i,a=u}}}function v(e,t,n,r,i,o){if(t==n||i==o||e.charCodeAt(n-1)!=r.charCodeAt(o-1))return 0;let l=O(n-t,o-i);for(let s=n,a=o;;){let o=s-l,u=a-l;if(o<t||u<i||e.slice(o,s)!=r.slice(u,a)){if(1==l)return n-s-!E(e,s);l>>=1}else{if(o==t||u==i)return n-o;s=o,a=u}}}function x(e,t,n,r,i,o,l,s){let a=r.slice(i,o),u=null;for(;;){if(u||l<s)return u;for(let s=t+l;;){!E(e,s)&&s++;let c=s+l;if(E(e,c)||(c+=c==s+1?1:-1),c>=n)break;let d=e.slice(s,c),h=-1;for(;-1!=(h=a.indexOf(d,h+1));){let l=y(e,c,n,r,i+h+d.length,o),a=v(e,t,s,r,i,i+h),f=d.length+l+a;(!u||u[2]<f)&&(u=[s-a,i+h-a,f])}s=c}if(s<0)return u;l>>=1}}function b(e,t,n,r,i,o){let l;f=!0;let s=n-t,a=o-i;if(s<a){let a=x(r,i,o,e,t,n,Math.floor(s/6),50);l=a&&[a[1],a[0],a[2]]}else l=x(e,t,n,r,i,o,Math.floor(a/6),50);if(!l)return[new u(t,n,i,o)];let[d,h,p]=l;return c(e,t,d,r,i,h).concat(c(e,d+p,n,r,h+p,o))}function w(e,t){for(let n=1;n<e.length;n++){let r=e[n-1],i=e[n];r.toA>i.fromA-t&&r.toB>i.fromB-t&&(e[n-1]=new u(r.fromA,i.toA,r.fromB,i.toB),e.splice(n--,1))}}try{r=RegExp("[\\p{Alphabetic}\\p{Number}]","u")}catch(e){}function k(e){return e>48&&e<58||e>64&&e<91||e>96&&e<123}function S(e,t){if(t==e.length)return 0;let n=e.charCodeAt(t);return n<192?+!!k(n):r?$(n)&&t!=e.length-1?2*!!r.test(e.slice(t,t+2)):+!!r.test(String.fromCharCode(n)):0}function _(e,t){if(!t)return 0;let n=e.charCodeAt(t-1);return n<192?+!!k(n):r?A(n)&&1!=t?2*!!r.test(e.slice(t-2,t)):+!!r.test(String.fromCharCode(n)):0}function C(e,t,n){if(t==e.length||!_(e,t))return t;for(let r=t,i=t+n,o=0;o<8;o++){let t=S(e,r);if(!t||r+t>i)return r;r+=t}return t}function P(e,t,n){if(!t||!S(e,t))return t;for(let r=t,i=t-n,o=0;o<8;o++){let t=_(e,r);if(!t||r-t<i)return r;r-=t}return t}function T(e,t,n){for(;t!=n;t--)if(10==e.charCodeAt(t-1))return t;return -1}function Q(e,t,n){for(;t!=n;t++)if(10==e.charCodeAt(t))return t;return -1}let $=e=>e>=55296&&e<=56319,A=e=>e>=56320&&e<=57343;function E(e,t){return!t||t==e.length||!$(e.charCodeAt(t-1))||!A(e.charCodeAt(t))}function R(e,t,n){var r;let i;return function(e,t,n){for(let r=0,i=0;i<e.length;i++){let o=e[i],l=o.toA-o.fromA,s=o.toB-o.fromB;
6if(l&&s||l>3||s>3){let a=i==e.length-1?t.length:e[i+1].fromA,c=o.fromA-r,d=a-o.toA,h=P(t,o.fromA,c),f=C(t,o.toA,d),p=o.fromA-h,g=f-o.toA;if((!l||!s)&&p&&g){let c=Math.max(l,s),[d,m,O]=l?[t,o.fromA,o.toA]:[n,o.fromB,o.toB];c>p&&t.slice(h,o.fromA)==d.slice(O-p,O)?(h=(o=e[i]=new u(h,h+l,o.fromB-p,o.toB-p)).fromA,f=C(t,o.toA,a-o.toA)):c>g&&t.slice(o.toA,f)==d.slice(m,m+g)&&(f=(o=e[i]=new u(f-l,f,o.fromB+g,o.toB+g)).toA,h=P(t,o.fromA,o.fromA-r)),p=o.fromA-h,g=f-o.toA}if(p||g)o=e[i]=new u(o.fromA-p,o.toA+g,o.fromB-p,o.toB+g);else if(l){if(!s){let n=Q(t,o.fromA,o.toA),r,l=n<0?-1:T(t,o.toA,o.fromA);n>-1&&(r=n-o.fromA)<=d&&t.slice(o.fromA,n)==t.slice(o.toA,o.toA+r)?o=e[i]=o.offset(r):l>-1&&(r=o.toA-l)<=c&&t.slice(o.fromA-r,o.fromA)==t.slice(l,o.toA)&&(o=e[i]=o.offset(-r))}}else{let t=Q(n,o.fromB,o.toB),r,l=t<0?-1:T(n,o.toB,o.fromB);t>-1&&(r=t-o.fromB)<=d&&n.slice(o.fromB,t)==n.slice(o.toB,o.toB+r)?o=e[i]=o.offset(r):l>-1&&(r=o.toB-l)<=c&&n.slice(o.fromB-r,o.fromB)==n.slice(l,o.toB)&&(o=e[i]=o.offset(-r))}}r=o.toA}return w(e,3),e}((i=null==n?void 0:n.override)?i(e,t):(d=(null!=(r=null==n?void 0:n.scanLimit)?r:1e9)>>1,h=(null==n?void 0:n.timeout)?Date.now()+n.timeout:0,f=!1,function(e,t,n){for(;;){w(n,1);let r=!1;for(let i=0;i<n.length;i++){let o=n[i],l,s;(l=y(e,o.fromA,o.toA,t,o.fromB,o.toB))&&(o=n[i]=new u(o.fromA+l,o.toA,o.fromB+l,o.toB)),(s=v(e,o.fromA,o.toA,t,o.fromB,o.toB))&&(o=n[i]=new u(o.fromA,o.toA-s,o.fromB,o.toB-s));let a=o.toA-o.fromA,c=o.toB-o.fromB;if(a&&c)continue;let d=o.fromA-(i?n[i-1].toA:0),h=(i<n.length-1?n[i+1].fromA:e.length)-o.toA;if(!d||!h)continue;let f=a?e.slice(o.fromA,o.toA):t.slice(o.fromB,o.toB);d<=f.length&&e.slice(o.fromA-d,o.fromA)==f.slice(f.length-d)?(n[i]=new u(o.fromA-d,o.toA-d,o.fromB-d,o.toB-d),r=!0):h<=f.length&&e.slice(o.toA,o.toA+h)==f.slice(0,h)&&(n[i]=new u(o.fromA+h,o.toA+h,o.fromB+h,o.toB+h),r=!0)}if(!r)break}return n}(e,t,c(e,0,e.length,t,0,t.length))),e,t)}let N=s.sj.define({combine:e=>e[0]}),L=s.Pe.define(),M=s.sj.define(),Z=s.sU.define({create:e=>null,update(e,t){for(let n of t.effects)n.is(L)&&(e=n.value);for(let n of t.state.facet(M))e=n(e,t);return e}});class I{constructor(e,t,n,r,i,o=!0){this.changes=e,this.fromA=t,this.toA=n,this.fromB=r,this.toB=i,this.precise=o}offset(e,t){return e||t?new I(this.changes,this.fromA+e,this.toA+e,this.fromB+t,this.toB+t,this.precise):this}get endA(){return Math.max(this.fromA,this.toA-1)}get endB(){return Math.max(this.fromB,this.toB-1)}static build(e,t,n){return D(R(e.toString(),t.toString(),n),e,t,0,0,!f)}static updateA(e,t,n,r,i){return z(F(e,r,!0,n.length),e,t,n,i)}static updateB(e,t,n,r,i){return z(F(e,r,!1,t.length),e,t,n,i)}}function j(e,t,n,r){let i=n.lineAt(e),o=r.lineAt(t);return i.to==e&&o.to==t&&e<n.length&&t<r.length?[e+1,t+1]:[i.from,o.from]}function X(e,t,n,r){let i=n.lineAt(e),o=r.lineAt(t);return i.from==e&&o.from==t?[e,t]:[i.to+1,o.to+1]}function D(e,t,n,r,i,o){let l=[];for(let s=0;s<e.length;s++){let a=e[s],[u,c]=j(a.fromA+r,a.fromB+i,t,n),[d,h]=X(a.toA+r,a.toB+i,t,n),f=[a.offset(-u+r,-c+i)];for(;s<e.length-1;){let o=e[s+1],[l,a]=j(o.fromA+r,o.fromB+i,t,n);if(l>d+1&&a>h+1)break;f.push(o.offset(-u+r,-c+i)),[d,h]=X(o.toA+r,o.toB+i,t,n),s++}l.push(new I(f,u,Math.max(u,d),c,Math.max(c,h),o))}return l}function V(e,t,n,r){let i=0,o=e.length;for(;;){if(i==o){let r=0,o=0;i&&({toA:r,toB:o}=e[i-1]);let l=t-(n?r:o);return[r+l,o+l]}let l=i+o>>1,s=e[l],[a,u]=n?[s.fromA,s.toA]:[s.fromB,s.toB];if(a>t)o=l;else{if(!(u<=t))return r?[s.fromA,s.fromB]:[s.toA,s.toB];i=l+1}}}function F(e,t,n,r){let i=[];return t.iterChangedRanges((o,l,s,a)=>{let u=0,c=n?t.length:r,d=0,h=n?r:t.length;o>1e3&&([u,d]=V(e,o-1e3,n,!0)),l<t.length-1e3&&([c,h]=V(e,l+1e3,n,!1));let f=a-s-(l-o),p,[g,m]=n?[f,0]:[0,f];i.length&&(p=i[i.length-1]).toA>=u?i[i.length-1]={fromA:p.fromA,fromB:p.fromB,toA:c,toB:h,diffA:p.diffA+g,diffB:p.diffB+m}:i.push({fromA:u,toA:c,fromB:d,toB:h,diffA:g,diffB:m})}),i}function z(e,t,n,r,i){if(!e.length)return t;let o=[];for(let l=0,s=0,a=0,u=0;;l++){let c=l==e.length?null:e[l],d=c?c.fromA+s:n.length,h=c?c.fromB+a:r.length;for(;u<t.length;){let e=t[u];if(c&&(e.toA+s>d||e.toB+a>h))break;o.push(e.offset(s,a)),u++}if(!c)break;let p=c.toA+s+c.diffA,g=c.toB+a+c.diffB;for(let e of D(R(n.sliceString(d,p),r.sliceString(h,g),i),n,r,d,h,!f))o.push(e);for(s+=c.diffA,a+=c.diffB;u<t.length;){let e=t[u];if(e.fromA+s>p&&e.fromB+a>g)break;u++}}return o}let B={scanLimit:500},W=l.Z9.fromClass(class{constructor(e){({deco:this.deco,gutter:this.gutter}=K(e))}update(e){var t,n,r,i;(e.docChanged||e.viewportChanged||(t=e.startState,n=e.state,t.field(Z,!1)!=n.field(Z,!1))||(r=e.startState,i=e.state,r.facet(N)!=i.facet(N)))&&({deco:this.deco,gutter:this.gutter}
6=K(e.view))}},{decorations:e=>e.deco}),Y=s.Nb.low((0,l.cU)({class:"cm-changeGutter",markers:e=>{var t;return(null==(t=e.plugin(W))?void 0:t.gutter)||s.om.empty}})),q=l.NZ.line({class:"cm-changedLine"}),U=l.NZ.mark({class:"cm-changedText"}),G=l.NZ.mark({tagName:"ins",class:"cm-insertedLine"}),H=l.NZ.mark({tagName:"del",class:"cm-deletedLine"}),J=new class extends l.wJ{constructor(){super(...arguments),this.elementClass="cm-changedLineGutter"}};function K(e){let t=e.state.field(Z),{side:n,highlightChanges:r,markGutter:i,overrideChunk:o}=e.state.facet(N),l="a"==n,a=new s.vB,u=i?new s.vB:null,{from:c,to:d}=e.viewport;for(let n of t){if((l?n.fromA:n.fromB)>=d)break;!((l?n.toA:n.toB)>c)||o&&o(e.state,n,a,u)||function(e,t,n,r,i,o){let l=n?e.fromA:e.fromB,s=n?e.toA:e.toB,a=0;if(l!=s){i.add(l,l,q),i.add(l,s,n?H:G),o&&o.add(l,l,J);for(let u=t.iterRange(l,s-1),c=l;!u.next().done;){if(u.lineBreak){c++,i.add(c,c,q),o&&o.add(c,c,J);continue}let t=c+u.value.length;if(r)for(;a<e.changes.length;){let r=e.changes[a],o=l+(n?r.fromA:r.fromB),s=l+(n?r.toA:r.toB),u=Math.max(c,o),d=Math.min(t,s);if(u<d&&i.add(u,d,U),s<t)a++;else break}c=t}}}(n,e.state.doc,l,r,a,u)}return{deco:a.finish(),gutter:u&&u.finish()}}class ee extends l.xO{constructor(e){super(),this.height=e}eq(e){return this.height==e.height}toDOM(){let e=document.createElement("div");return e.className="cm-mergeSpacer",e.style.height=this.height+"px",e}updateDOM(e){return e.style.height=this.height+"px",!0}get estimatedHeight(){return this.height}ignoreEvent(){return!1}}let et=s.Pe.define({map:(e,t)=>e.map(t)}),en=s.sU.define({create:()=>l.NZ.none,update:(e,t)=>{for(let e of t.effects)if(e.is(et))return e.value;return e.map(t.changes)},provide:e=>l.Lz.decorations.from(e)});function er(e,t){if(e.size!=t.size)return!1;let n=e.iter(),r=t.iter();for(;n.value;){if(n.from!=r.from||Math.abs(n.value.spec.widget.height-r.value.spec.widget.height)>1)return!1;n.next(),r.next()}return!0}let ei=s.Pe.define({map:(e,t)=>t.mapPos(e)});class eo extends l.xO{constructor(e){super(),this.lines=e}eq(e){return this.lines==e.lines}toDOM(e){let t=document.createElement("div");return t.className="cm-collapsedLines",t.textContent=e.state.phrase("$ unchanged lines",this.lines),t.addEventListener("click",t=>{let n=e.posAtDOM(t.target);e.dispatch({effects:ei.of(n)});let{side:r,sibling:i}=e.state.facet(N);i&&i().dispatch({effects:ei.of(function(e,t,n){let r=0,i=0;for(let o=0;;o++){let l=o<t.length?t[o]:null;if(!l||(n?l.fromA:l.fromB)>=e)return i+(e-r);[r,i]=n?[l.toA,l.toB]:[l.toB,l.toA]}}(n,e.state.field(Z),"a"==r))})}),t}ignoreEvent(e){return e instanceof MouseEvent}get estimatedHeight(){return 27}get type(){return"collapsed-unchanged-code"}}let el=s.sU.define({create:e=>l.NZ.none,update(e,t){for(let n of(e=e.map(t.changes),t.effects))n.is(ei)&&(e=e.update({filter:e=>e!=n.value}));return e},provide:e=>l.Lz.decorations.from(e)});function es({margin:e=3,minSize:t=4}){return el.init(n=>(function(e,t,n){let r=new s.vB,i="a"==e.facet(N).side,o=e.field(Z),a=1;for(let s=0;;s++){let u=s<o.length?o[s]:null,c=s?a+t:1,d=u?e.doc.lineAt(i?u.fromA:u.fromB).number-1-t:e.doc.lines,h=d-c+1;if(h>=n&&r.add(e.doc.line(c).from,e.doc.line(d).to,l.NZ.replace({widget:new eo(h),block:!0})),!u)break;a=e.doc.lineAt(Math.min(e.doc.length,i?u.toA:u.toB)).number}return r.finish()})(n,e,t))}let ea=l.Lz.styleModule.of(new a.G({".cm-mergeView":{overflowY:"auto"},".cm-mergeViewEditors":{display:"flex",alignItems:"stretch"},".cm-mergeViewEditor":{flexGrow:1,flexBasis:0,overflow:"hidden"},".cm-merge-revert":{width:"1.6em",flexGrow:0,flexShrink:0,position:"relative"},".cm-merge-revert button":{position:"absolute",display:"block",width:"100%",boxSizing:"border-box",textAlign:"center",background:"none",border:"none",font:"inherit",cursor:"pointer"}})),eu=l.Lz.baseTheme({".cm-mergeView & .cm-scroller, .cm-mergeView &":{height:"auto !important",overflowY:"visible !important"},"&.cm-merge-a .cm-changedLine, .cm-deletedChunk":{backgroundColor:"rgba(160, 128, 100, .08)"},"&.cm-merge-b .cm-changedLine, .cm-inlineChangedLine":{backgroundColor:"rgba(100, 160, 128, .08)"}
6,"&light.cm-merge-a .cm-changedText, &light .cm-deletedChunk .cm-deletedText":{background:"linear-gradient(#ee443366, #ee443366) bottom/100% 2px no-repeat"},"&dark.cm-merge-a .cm-changedText, &dark .cm-deletedChunk .cm-deletedText":{background:"linear-gradient(#ffaa9966, #ffaa9966) bottom/100% 2px no-repeat"},"&light.cm-merge-b .cm-changedText":{background:"linear-gradient(#22bb22aa, #22bb22aa) bottom/100% 2px no-repeat"},"&dark.cm-merge-b .cm-changedText":{background:"linear-gradient(#88ff88aa, #88ff88aa) bottom/100% 2px no-repeat"},"&.cm-merge-b .cm-deletedText":{background:"#ff000033"},".cm-insertedLine, .cm-deletedLine, .cm-deletedLine del":{textDecoration:"none"},".cm-deletedChunk":{paddingLeft:"6px","& .cm-chunkButtons":{position:"absolute",insetInlineEnd:"5px"},"& button":{border:"none",cursor:"pointer",color:"white",margin:"0 2px",borderRadius:"3px","&[name=accept]":{background:"#2a2"},"&[name=reject]":{background:"#d43"}}},".cm-collapsedLines":{padding:"5px 5px 5px 10px",cursor:"pointer","&:before":{content:'"⦚"',marginInlineEnd:"7px"},"&:after":{content:'"⦚"',marginInlineStart:"7px"}},"&light .cm-collapsedLines":{color:"#444",background:"linear-gradient(to bottom, transparent 0, #f3f3f3 30%, #f3f3f3 70%, transparent 100%)"},"&dark .cm-collapsedLines":{color:"#ddd",background:"linear-gradient(to bottom, transparent 0, #222 30%, #222 70%, transparent 100%)"},".cm-changeGutter":{width:"3px",paddingLeft:"1px"},"&light.cm-merge-a .cm-changedLineGutter, &light .cm-deletedLineGutter":{background:"#e43"},"&dark.cm-merge-a .cm-changedLineGutter, &dark .cm-deletedLineGutter":{background:"#fa9"},"&light.cm-merge-b .cm-changedLineGutter":{background:"#2b2"},"&dark.cm-merge-b .cm-changedLineGutter":{background:"#8f8"},".cm-inlineChangedLineGutter":{background:"#75d"}}),ec=new s.xx,ed=new s.xx;class eh{constructor(e){this.revertDOM=null,this.revertToA=!1,this.revertToLeft=!1,this.measuring=-1,this.diffConf=e.diffConfig||B;let t=[s.Nb.low(W),eu,ea,en,l.Lz.updateListener.of(e=>{this.measuring<0&&(e.heightChanged||e.viewportChanged)&&!e.transactions.some(e=>e.effects.some(e=>e.is(et)))&&this.measure()})],n=[N.of({side:"a",sibling:()=>this.b,highlightChanges:!1!==e.highlightChanges,markGutter:!1!==e.gutter})];!1!==e.gutter&&n.push(Y);let r=s.$t.create({doc:e.a.doc,selection:e.a.selection,extensions:[e.a.extensions||[],l.Lz.editorAttributes.of({class:"cm-merge-a"}),ed.of(n),t]}),i=[N.of({side:"b",sibling:()=>this.a,highlightChanges:!1!==e.highlightChanges,markGutter:!1!==e.gutter})];!1!==e.gutter&&i.push(Y);let o=s.$t.create({doc:e.b.doc,selection:e.b.selection,extensions:[e.b.extensions||[],l.Lz.editorAttributes.of({class:"cm-merge-b"}),ed.of(i),t]});this.chunks=I.build(r.doc,o.doc,this.diffConf);let a=[Z.init(()=>this.chunks),ec.of(e.collapseUnchanged?es(e.collapseUnchanged):[])];r=r.update({effects:s.Pe.appendConfig.of(a)}).state,o=o.update({effects:s.Pe.appendConfig.of(a)}).state,this.dom=document.createElement("div"),this.dom.className="cm-mergeView",this.editorDOM=this.dom.appendChild(document.createElement("div")),this.editorDOM.className="cm-mergeViewEditors";let u=e.orientation||"a-b",c=document.createElement("div");c.className="cm-mergeViewEditor";let d=document.createElement("div");d.className="cm-mergeViewEditor",this.editorDOM.appendChild("a-b"==u?c:d),this.editorDOM.appendChild("a-b"==u?d:c),this.a=new l.Lz({state:r,parent:c,root:e.root,dispatchTransactions:e=>this.dispatch(e,this.a)}),this.b=new l.Lz({state:o,parent:d,root:e.root,dispatchTransactions:e=>this.dispatch(e,this.b)}),this.setupRevertControls(!!e.revertControls,"b-to-a"==e.revertControls,e.renderRevertControl),e.parent&&e.parent.appendChild(this.dom),this.scheduleMeasure()}dispatch(e,t){if(e.some(e=>e.docChanged)){let n=e[e.length-1],r=e.reduce((e,t)=>e.compose(t.changes),s.VR.empty(e[0].startState.doc.length));this.chunks=t==this.a?I.updateA(this.chunks,n.newDoc,this.b.state.doc,r,this.diffConf):I.updateB(this.chunks,this.a.state.doc,n.newDoc,r,this.diffConf),t.update([...e,n.state.update({effects:L.of(this.chunks)})]);let i=t==this.a?this.b:this.a;i.update([i.state.update({effects:L.of(this.chunks)})]),this.scheduleMeasure()}else t.update(e)}reconfigure(e){if("diffConfig"in e&&(this.diffConf=e.diffConfig),"orientation"in e){let t="b-a"!=e.orientation;if(t!=(this.editorDOM.firstChild==this.a.dom.parentNode)){let e=this.a.dom.parentNode,n=this.b.dom.parentNode;e.remove(),n.remove(),this.editorDOM.insertBefore(t?e:n,this.editorDOM.firstChild),this.editorDOM.appendChild(t?n:e),this.revertToLeft=!this.revertToLeft,this.revertDOM&&(this.revertDOM.textContent="")}}if("revertControls"in e||"renderRevertControl"in e){let t=!!this.revertDOM,n=this.revertToA,r=this.renderRevert;"revertControls"in e&&(t=!!e.revertControls,n="b-to-a"==e.revertControls),"renderRevertControl"in e&&(r=e.renderRevertControl),this.setupRevertControls(t,n,r)}let t="highlightChanges"in e,n="gutter"in e,r="collapseUnchanged"in e;if(t||n||r){let i=[],o=[];if(t||n){let r=this.a.state.facet(N),l=n?!1!==e.gutter:r.markGutter,s=t?!1!==e.highlightChanges:r.highlightChanges;i.push(ed.reconfigure([N.of({side:"a",sibling:()=>this.b,highlightChanges:s,markGutter:l}),l?Y:[]])),o.push(ed.reconfigure([N.of({side:"b",sibling:()=>this.a,highlightChanges:s,markGutter:l}),l?Y:[]]))}if(r){let t=ec.reconfigure(e.collapseUnchanged?es(e.collapseUnchanged):[]);i.push(t),o.push(t)}this.a.dispatch({effects:i}
6),this.b.dispatch({effects:o})}this.scheduleMeasure()}setupRevertControls(e,t,n){this.revertToA=t,this.revertToLeft=this.revertToA==(this.editorDOM.firstChild==this.a.dom.parentNode),this.renderRevert=n,!e&&this.revertDOM?(this.revertDOM.remove(),this.revertDOM=null):e&&!this.revertDOM?(this.revertDOM=this.editorDOM.insertBefore(document.createElement("div"),this.editorDOM.firstChild.nextSibling),this.revertDOM.addEventListener("mousedown",e=>this.revertClicked(e)),this.revertDOM.className="cm-merge-revert"):this.revertDOM&&(this.revertDOM.textContent="")}scheduleMeasure(){if(this.measuring<0){let e=this.dom.ownerDocument.defaultView||window;this.measuring=e.requestAnimationFrame(()=>{this.measuring=-1,this.measure()})}}measure(){!function(e,t,n){let r=new s.vB,i=new s.vB,o=e.state.field(en).iter(),a=t.state.field(en).iter(),u=0,c=0,d=0,h=0,f=e.viewport,p=t.viewport;for(let s=0;;s++){let g=s<n.length?n[s]:null,m=g?g.fromA:e.state.doc.length,O=g?g.fromB:t.state.doc.length;if(u<m){let n=e.lineBlockAt(u).top+d-(t.lineBlockAt(c).top+h);n<-.01?(d-=n,r.add(u,u,l.NZ.widget({widget:new ee(-n),block:!0,side:-1}))):n>.01&&(h+=n,i.add(c,c,l.NZ.widget({widget:new ee(n),block:!0,side:-1})))}if(m>u+1e3&&u<f.from&&m>f.from&&c<p.from&&O>p.from){let e=Math.min(f.from-u,p.from-c);u+=e,c+=e,s--}else if(g)u=g.toA,c=g.toB;else break;for(;o.value&&o.from<u;)d-=o.value.spec.widget.height,o.next();for(;a.value&&a.from<c;)h-=a.value.spec.widget.height,a.next()}for(;o.value;)d-=o.value.spec.widget.height,o.next();for(;a.value;)h-=a.value.spec.widget.height,a.next();let g=e.contentHeight+d-(t.contentHeight+h);g<.01?r.add(e.state.doc.length,e.state.doc.length,l.NZ.widget({widget:new ee(-g),block:!0,side:1})):g>.01&&i.add(t.state.doc.length,t.state.doc.length,l.NZ.widget({widget:new ee(g),block:!0,side:1}));let m=r.finish(),O=i.finish();er(m,e.state.field(en))||e.dispatch({effects:et.of(m)}),er(O,t.state.field(en))||t.dispatch({effects:et.of(O)})}(this.a,this.b,this.chunks),this.revertDOM&&this.updateRevertButtons()}updateRevertButtons(){let e=this.revertDOM,t=e.firstChild,n=this.a.viewport,r=this.b.viewport;for(let i=0;i<this.chunks.length;i++){let o=this.chunks[i];if(o.fromA>n.to||o.fromB>r.to)break;if(o.fromA<n.from||o.fromB<r.from)continue;let l=this.a.lineBlockAt(o.fromA).top+"px";for(;t&&+t.dataset.chunk<i;)t=ef(t);t&&t.dataset.chunk==String(i)?(t.style.top!=l&&(t.style.top=l),t=t.nextSibling):e.insertBefore(this.renderRevertButton(l,i),t)}for(;t;)t=ef(t)}renderRevertButton(e,t){let n;if(this.renderRevert)n=this.renderRevert();else{n=document.createElement("button");let e=this.a.state.phrase("Revert this chunk");n.setAttribute("aria-label",e),n.setAttribute("title",e),n.textContent=this.revertToLeft?"⇜":"⇝"}return n.style.top=e,n.setAttribute("data-chunk",String(t)),n}revertClicked(e){let t=e.target,n;for(;t&&t.parentNode!=this.revertDOM;)t=t.parentNode;if(t&&(n=this.chunks[t.dataset.chunk])){let[t,r,i,o,l,s]=this.revertToA?[this.b,this.a,n.fromB,n.toB,n.fromA,n.toA]:[this.a,this.b,n.fromA,n.toA,n.fromB,n.toB],a=t.state.sliceDoc(i,Math.max(i,o-1));i!=o&&s<=r.state.doc.length&&(a+=t.state.lineBreak),r.dispatch({changes:{from:l,to:Math.min(r.state.doc.length,s),insert:a},userEvent:"revert"}),e.preventDefault()}}destroy(){this.a.destroy(),this.b.destroy(),this.measuring>-1&&(this.dom.ownerDocument.defaultView||window).cancelAnimationFrame(this.measuring),this.dom.remove()}}function ef(e){let t=e.nextSibling;return e.remove(),t}let ep=s.Pe.define();l.xO,l.xO;var eg=n(30398),em=n(41389),eO=n(40640),ey=n(44443);let ev=[eO.oQ,em.tZ,(0,eg.markdown)(),(0,l.$K)(),l.Lz.lineWrapping],ex=()=>{let[e,t,n]=(0,ey.uX)(i.oF,i.pc,eP),r=(0,ey.qM)(i.Bn),a=(0,ey.qM)(i.Lq),u=o.useRef(null),c=o.useCallback(i=>{var o;if(null!==i){let o=[...n,...ev,l.Lz.updateListener.of(({state:e})=>{r(e.doc.toString())}),l.Lz.focusChangeEffect.of((e,t)=>(t||a(new FocusEvent("blur")),null))];t&&o.push(s.$t.readOnly.of(!0)),i.innerHTML="",u.current=new l.Lz({parent:i,state:s.$t.create({doc:e,extensions:o})})}else null==(o=u.current)||o.destroy(),u.current=null},[e,t,r,n,a]);return o.createElement("div",{ref:c,className:"cm-sourceView mdxeditor-source-editor"})};function eb(e,t){void 0!==e&&e.dispatch({changes:{from:0,to:e.state.doc.length,insert:t}})}let ew=()=>{let e=(0,ey.LO)(),[t,n,r,a]=(0,ey.uX)(i.oF,eC,i.pc,eT),u=(0,ey.qM)(i.Bn),c=o.useRef(null),d=o.useRef(null),h=(0,ey.X3)(eP),f=(0,ey.qM)(i.Lq);return o.useEffect(()=>e.sub(eC,e=>{var t;eb(null==(t=d.current)?void 0:t.a,e)}),[e]),o.useEffect(()=>e.sub(i.oF,e=>{var t;eb(null==(t=d.current)?void 0:t.b,e)}),[e]),o.useEffect(()=>{let e=r||a;
6return d.current=new eh({...e?{renderRevertControl:void 0,revertControls:void 0}:{renderRevertControl:()=>{let e=document.createElement("button");return e.classList.add("cm-merge-revert"),e.appendChild(document.createTextNode("⮕")),e},revertControls:"a-to-b"},parent:c.current,orientation:"a-b",gutter:!0,a:{doc:n,extensions:[...h,...ev,s.$t.readOnly.of(!0)]},b:{doc:t,extensions:[...h,...ev,s.$t.readOnly.of(e),l.Lz.updateListener.of(({state:e})=>{u(e.doc.toString())}),l.Lz.focusChangeEffect.of((e,t)=>(t||f(new FocusEvent("blur")),null))]}}),()=>{var e;null==(e=d.current)||e.destroy(),d.current=null}},[u,h]),o.createElement("div",{ref:c,className:"mdxeditor-diff-editor"})};var ek=n(17415);let eS=({children:e})=>{let[t,n]=(0,ey.uX)(i.hY,i.n$);return o.createElement("div",{className:"mdxeditor-diff-source-wrapper"},t?o.createElement("div",{className:ek.Ay.markdownParseError},o.createElement("p",null,t.error,"."),o.createElement("p",null,"You can fix the errors in source mode and switch to rich text mode when you are ready.")):null,o.createElement("div",{className:"mdxeditor-rich-text-editor",style:{display:"rich-text"===n&&null==t?"block":"none"}},e),"diff"===n?o.createElement(ew,null):null,"source"===n?o.createElement(ex,null):null)};var e_=n(7814);let eC=(0,ey.fh)(""),eP=(0,ey.fh)([]),eT=(0,ey.fh)(!1),eQ=(0,e_.Z)({update:(e,t)=>{e.pub(eC,(null==t?void 0:t.diffMarkdown)??"")},init(e,t){e.pubIn({[eC]:(null==t?void 0:t.diffMarkdown)??"",[eP]:(null==t?void 0:t.codeMirrorExtensions)??[],[i.CI]:eS,[eT]:(null==t?void 0:t.readOnlyDiff)??!1,[i.n$]:(null==t?void 0:t.viewMode)??"rich-text"})}})},88218:(e,t,n)=>{"use strict";n.d(t,{Mz:()=>B,UC:()=>Y,Wv:()=>$,ZL:()=>W,bL:()=>z,hl:()=>M,i3:()=>q});var r=n(6325),i=n(73479),o=n(5966),l=n(25992),s=n(68511),a=n(95777),u=n(72138),c=n(11423),d=n(18059),h=n(9529),f=n(86431),p=n(11997),g=n(38716),m=n(26339),O=n(82547),y=n(10964),v=n(64177),x="Popover",[b,w]=(0,l.A)(x,[d.Bk]),k=(0,d.Bk)(),[S,_]=b(x),C=e=>{let{__scopePopover:t,children:n,open:i,defaultOpen:o,onOpenChange:l,modal:s=!1}=e,a=k(t),u=r.useRef(null),[h,f]=r.useState(!1),[p,g]=(0,m.i)({prop:i,defaultProp:null!=o&&o,onChange:l,caller:x});return(0,v.jsx)(d.bL,{...a,children:(0,v.jsx)(S,{scope:t,contentId:(0,c.B)(),triggerRef:u,open:p,onOpenChange:g,onOpenToggle:r.useCallback(()=>g(e=>!e),[g]),hasCustomAnchor:h,onCustomAnchorAdd:r.useCallback(()=>f(!0),[]),onCustomAnchorRemove:r.useCallback(()=>f(!1),[]),modal:s,children:n})})};C.displayName=x;var P="PopoverAnchor",T=r.forwardRef((e,t)=>{let{__scopePopover:n,...i}=e,o=_(P,n),l=k(n),{onCustomAnchorAdd:s,onCustomAnchorRemove:a}=o;return r.useEffect(()=>(s(),()=>a()),[s,a]),(0,v.jsx)(d.Mz,{...l,...i,ref:t})});T.displayName=P;var Q="PopoverTrigger",$=r.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,l=_(Q,n),s=k(n),a=(0,o.s)(t,l.triggerRef),u=(0,v.jsx)(p.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":l.open,"aria-controls":l.contentId,"data-state":F(l.open),...r,ref:a,onClick:(0,i.mK)(e.onClick,l.onOpenToggle)});return l.hasCustomAnchor?u:(0,v.jsx)(d.Mz,{asChild:!0,...s,children:u})});$.displayName=Q;var A="PopoverPortal",[E,R]=b(A,{forceMount:void 0}),N=e=>{let{__scopePopover:t,forceMount:n,children:r,container:i}=e,o=_(A,t);return(0,v.jsx)(E,{scope:t,forceMount:n,children:(0,v.jsx)(f.C,{present:n||o.open,children:(0,v.jsx)(h.Z,{asChild:!0,container:i,children:r})})})};N.displayName=A;var L="PopoverContent",M=r.forwardRef((e,t)=>{let n=R(L,e.__scopePopover),{forceMount:r=n.forceMount,...i}=e,o=_(L,e.__scopePopover);return(0,v.jsx)(f.C,{present:r||o.open,children:o.modal?(0,v.jsx)(I,{...i,ref:t}):(0,v.jsx)(j,{...i,ref:t})})});M.displayName=L;var Z=(0,g.TL)("PopoverContent.RemoveScroll"),I=r.forwardRef((e,t)=>{let n=_(L,e.__scopePopover),l=r.useRef(null),s=(0,o.s)(t,l),a=r.useRef(!1);return r.useEffect(()=>{let e=l.current;if(e)return(0,O.Eq)(e)},[]),(0,v.jsx)(y.A,{as:Z,allowPinchZoom:!0,children:(0,v.jsx)(X,{...e,ref:s,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,i.mK)(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),a.current||null==(t=n.triggerRef.current)||t.focu
6s()}),onPointerDownOutside:(0,i.mK)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;a.current=2===t.button||n},{checkForDefaultPrevented:!1}),onFocusOutside:(0,i.mK)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),j=r.forwardRef((e,t)=>{let n=_(L,e.__scopePopover),i=r.useRef(!1),o=r.useRef(!1);return(0,v.jsx)(X,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var r,l;null==(r=e.onCloseAutoFocus)||r.call(e,t),t.defaultPrevented||(i.current||null==(l=n.triggerRef.current)||l.focus(),t.preventDefault()),i.current=!1,o.current=!1},onInteractOutside:t=>{var r,l;null==(r=e.onInteractOutside)||r.call(e,t),t.defaultPrevented||(i.current=!0,"pointerdown"===t.detail.originalEvent.type&&(o.current=!0));let s=t.target;(null==(l=n.triggerRef.current)?void 0:l.contains(s))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}})}),X=r.forwardRef((e,t)=>{let{__scopePopover:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:o,disableOutsidePointerEvents:l,onEscapeKeyDown:c,onPointerDownOutside:h,onFocusOutside:f,onInteractOutside:p,...g}=e,m=_(L,n),O=k(n);return(0,a.Oh)(),(0,v.jsx)(u.n,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:o,children:(0,v.jsx)(s.qW,{asChild:!0,disableOutsidePointerEvents:l,onInteractOutside:p,onEscapeKeyDown:c,onPointerDownOutside:h,onFocusOutside:f,onDismiss:()=>m.onOpenChange(!1),children:(0,v.jsx)(d.UC,{"data-state":F(m.open),role:"dialog",id:m.contentId,...O,...g,ref:t,style:{...g.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),D="PopoverClose";r.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,o=_(D,n);return(0,v.jsx)(p.sG.button,{type:"button",...r,ref:t,onClick:(0,i.mK)(e.onClick,()=>o.onOpenChange(!1))})}).displayName=D;var V=r.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,i=k(n);return(0,v.jsx)(d.i3,{...i,...r,ref:t})});function F(e){return e?"open":"closed"}V.displayName="PopoverArrow";var z=C,B=T,W=N,Y=M,q=V}
6,88688:(e,t,n)=>{"use strict";n.d(t,{Db:()=>l,FJ:()=>u,Yh:()=>d,hx:()=>g,iK:()=>h,k_:()=>c,yW:()=>f,zA:()=>a});var r=n(6105),i=n(84544);let o=new Set(["http:","https:","mailto:","sms:","tel:"]);class l extends i.fGB{static getType(){return"link"}static clone(e){return new l(e.__url,{rel:e.__rel,target:e.__target,title:e.__title},e.__key)}constructor(e="",t={},n){super(n);let{target:r=null,rel:i=null,title:o=null}=t;this.__url=e,this.__target=r,this.__rel=i,this.__title=o}createDOM(e){let t=document.createElement("a");return this.updateLinkDOM(null,t,e),(0,r.ZB)(t,e.theme.link),t}updateLinkDOM(e,t,n){if((0,i.nYP)(t))for(let n of(e&&e.__url===this.__url||(t.href=this.sanitizeUrl(this.__url)),["target","rel","title"])){let r=`__${n}`,i=this[r];e&&e[r]===i||(i?t[n]=i:t.removeAttribute(n))}}updateDOM(e,t,n){return this.updateLinkDOM(e,t,n),!1}static importDOM(){return{a:e=>({conversion:s,priority:1})}}static importJSON(e){return a().updateFromJSON(e)}updateFromJSON(e){return super.updateFromJSON(e).setURL(e.url).setRel(e.rel||null).setTarget(e.target||null).setTitle(e.title||null)}sanitizeUrl(e){e=y(e);try{let t=new URL(y(e));if(!o.has(t.protocol))return"about:blank"}catch(e){}return e}exportJSON(){return{...super.exportJSON(),rel:this.getRel(),target:this.getTarget(),title:this.getTitle(),url:this.getURL()}}getURL(){return this.getLatest().__url}setURL(e){let t=this.getWritable();return t.__url=e,t}getTarget(){return this.getLatest().__target}setTarget(e){let t=this.getWritable();return t.__target=e,t}getRel(){return this.getLatest().__rel}setRel(e){let t=this.getWritable();return t.__rel=e,t}getTitle(){return this.getLatest().__title}setTitle(e){let t=this.getWritable();return t.__title=e,t}insertNewAfter(e,t=!0){let n=a(this.__url,{rel:this.__rel,target:this.__target,title:this.__title});return this.insertAfter(n,t),n}canInsertTextBefore(){return!1}canInsertTextAfter(){return!1}canBeEmpty(){return!1}isInline(){return!0}extractWithChild(e,t,n){if(!(0,i.I2P)(t))return!1;let r=t.anchor.getNode(),o=t.focus.getNode();return this.isParentOf(r)&&this.isParentOf(o)&&t.getTextContent().length>0}isEmailURI(){return this.__url.startsWith("mailto:")}isWebSiteURI(){return this.__url.startsWith("https://")||this.__url.startsWith("http://")}}function s(e){let t=null;if((0,i.nYP)(e)){let n=e.textContent;(null!==n&&""!==n||e.children.length>0)&&(t=a(e.getAttribute("href")||"",{rel:e.getAttribute("rel"),target:e.getAttribute("target"),title:e.getAttribute("title")}))}return{node:t}}function a(e="",t){return(0,i.pTq)(new l(e,t))}function u(e){return e instanceof l}class c extends l{constructor(e="",t={},n){super(e,t,n),this.__isUnlinked=void 0!==t.isUnlinked&&null!==t.isUnlinked&&t.isUnlinked}static getType(){return"autolink"}static clone(e){return new c(e.__url,{isUnlinked:e.__isUnlinked,rel:e.__rel,target:e.__target,title:e.__title},e.__key)}getIsUnlinked(){return this.__isUnlinked}setIsUnlinked(e){let t=this.getWritable();return t.__isUnlinked=e,t}createDOM(e){return this.__isUnlinked?document.createElement("span"):super.createDOM(e)}updateDOM(e,t,n){return super.updateDOM(e,t,n)||e.__isUnlinked!==this.__isUnlinked}static importJSON(e){return d().updateFromJSON(e)}updateFromJSON(e){return super.updateFromJSON(e).setIsUnlinked(e.isUnlinked||!1)}static importDOM(){return null}exportJSON(){return{...super.exportJSON(),isUnlinked:this.__isUnlinked}}insertNewAfter(e,t=!0){let n=this.getParentOrThrow().insertNewAfter(e,t);if((0,i.ff4)(n)){let e=d(this.__url,{isUnlinked:this.__isUnlinked,rel:this.__rel,target:this.__target,title:this.__title});return n.append(e),e}return null}}function d(e="",t){return(0,i.pTq)(new c(e,t))}function h(e){return e instanceof c}let f=(0,i.guI)("TOGGLE_LINK_COMMAND");function p(e,t){if("element"===e.type){let n=e.getNode();return(0,i.ff4)(n)||function(e,...t){let n=new URL("https://lexical.dev/docs/error"),r=new URLSearchParams;for(let e of(r.append("code",252),t))r.append("v",e);throw n.search=r.toString(),Error(`Minified Lexical error #${252}; visit ${n.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}(252),n.getChildren()[e.offset+t]||null}return null}function g(e,t={}){let{target:n,title:o}=t,l=void 0===t.rel?"noreferrer":t.rel,s=(0,i.vJq)();if(null===s||!(0,i.I2P)(s)&&!(0,i.RTZ)(s))return;if((0,i.RTZ)(s)){let t=s.getNodes();if(0===t.length)return;return void t.forEach(t=>{if(null===e){let e=(0,r.Bt)(t,e=>!h(e)&&u(e));e&&(e.insertBefore(t),0===e.getChildren().length&&e.remove())}else{let i=(0,r.Bt)(t,e=>!h(e)&&u(e));if(i)i.setURL(e),void 0!==n&&i.setTarget(n),void 0!==l&&i.setRel(l);else{let r=a(e,{rel:l,target:n});t.insertBefore(r),r.append(t)}}})}let c=s.extract();
6if(null===e)return void c.forEach(e=>{let t=(0,r.Bt)(e,e=>!h(e)&&u(e));if(t){let e=t.getChildren();for(let n=0;n<e.length;n++)t.insertBefore(e[n]);t.remove()}});let d=new Set,f=t=>{d.has(t.getKey())||(d.add(t.getKey()),t.setURL(e),void 0!==n&&t.setTarget(n),void 0!==l&&t.setRel(l),void 0!==o&&t.setTitle(o))};if(1===c.length){let e=m(c[0],u);if(null!==e)return f(e)}!function(e){let t=(0,i.vJq)();if(!(0,i.I2P)(t))return e();let n=(0,i.CaD)(t),r=n.isBackward(),o=p(n.anchor,r?-1:0),l=p(n.focus,r?0:-1);if(e(),o||l){let e=(0,i.vJq)();if((0,i.I2P)(e)){let t=e.clone();if(o){let e=o.getParent();e&&t.anchor.set(e.getKey(),o.getIndexWithinParent()+ +!!r,"element")}if(l){let e=l.getParent();e&&t.focus.set(e.getKey(),l.getIndexWithinParent()+ +!r,"element")}(0,i.n1P)((0,i.CaD)(t))}}}(()=>{let t=null;for(let r of c){if(!r.isAttached())continue;let s=m(r,u);if(s){f(s);continue}if((0,i.ff4)(r)){if(!r.isInline())continue;if(u(r)){if(!(h(r)||null!==t&&t.getParentOrThrow().isParentOf(r))){f(r),t=r;continue}for(let e of r.getChildren())r.insertBefore(e);r.remove();continue}}let c=r.getPreviousSibling();u(c)&&c.is(t)?c.append(r):(t=a(e,{rel:l,target:n,title:o}),r.insertAfter(t),t.append(r))}})}function m(e,t){let n=e;for(;null!==n&&null!==n.getParent()&&!t(n);)n=n.getParentOrThrow();return t(n)?n:null}let O=/^\+?[0-9\s()-]{5,}$/;function y(e){return e.match(/^[a-z][a-z0-9+.-]*:/i)||e.match(/^[/#.]/)?e:e.includes("@")?`mailto:${e}`:O.test(e)?`tel:${e}`:`https://${e}`}},88732:(e,t,n)=>{"use strict";n.d(t,{F8:()=>g,bL:()=>d,fp:()=>m,gx:()=>h,hf:()=>p});var r,i=n(56309),o=n(2886),l=n(6325),s=n(17415),a=n(30200),u=n(60665);function c(e,t){return l.forwardRef((n,r)=>{let i=o(t.className,n.className);return l.createElement(e,{...t,...n,className:i,ref:r})})}let d=({readOnly:e,children:t,className:n})=>l.createElement(i.bL,{className:o("mdxeditor-toolbar",s.Ay.toolbarRoot,{[s.Ay.readOnlyToolbarRoot]:e},n),...e?{tabIndex:-1}:{}},t),h=(r=c(i.$n,{className:s.Ay.toolbarButton,"data-toolbar-item":!0}),({title:e,children:t,...n})=>l.createElement(r,{"aria-label":e,...n},l.createElement(a.I,{title:e},t))),f=c(i.sy,{className:s.Ay.toolbarToggleItem,"data-toolbar-item":!0});c(i.OY,{type:"single",className:s.Ay.toolbarToggleSingleGroup});let p=l.forwardRef(({on:e,title:t,children:n,disabled:r,...o},u)=>l.createElement(i.OY,{type:"single",className:s.Ay.toolbarToggleSingleGroup,...o,value:e?"on":"off",ref:u},l.createElement(f,{"aria-label":t,value:"on",disabled:r},l.createElement(a.I,{title:t},n)))),g=({items:e})=>l.createElement("div",{className:s.Ay.toolbarGroupOfGroups},e.map((e,t)=>l.createElement(p,{key:t,title:e.title,on:e.active,onValueChange:t=>{e.onChange("on"===t)},disabled:e.disabled},e.contents))),m=({value:e,onChange:t,className:n,ggClassName:r,items:c,disabled:d})=>{let h=(0,u.Bd)();return l.createElement("div",{className:o(s.Ay.toolbarGroupOfGroups,r)},l.createElement(i.OY,{"aria-label":h("toolbar.toggleGroup","toggle group"),type:"single",className:o(s.Ay.toolbarToggleSingleGroup,n),onValueChange:t,value:e||"",disabled:d,onFocus:e=>{e.preventDefault()}},c.map((e,t)=>l.createElement(f,{key:t,"aria-label":e.title,value:e.value},l.createElement(a.I,{title:e.title},e.contents)))))};i.wv},91540:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}n.d(t,{D:()=>ec});var o=n(55869),l=n.n(o),s=n(6325);n(86280);let a=e=>"object"==typeof e&&null!=e&&1===e.nodeType,u=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,c=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){let n=getComputedStyle(e,null);return u(n.overflowY,t)||u(n.overflowX,t)||(e=>{let t=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}})(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)})(e)}return!1},d=(e,t,n,r,i,o,l,s)=>o<e&&l>t||o>e&&l<t?0:o<=e&&s<=n||l>=t&&s>=n?o-e-r:l>t&&s<n||o<e&&s>n?l-t+i:0,h=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t};var f=n(75126),p=0;function g(){}function m(e,t,n){return e===t||t instanceof n.Node&&e.contains&&e.contains(t)}function O(e,t){var n;function r(){n&&clearTimeout(n)}function i(){for(var i=arguments.length,o=Array(i),l=0;l<i;l++)o[l]=arguments[l];r(),n=setTimeout(function(){n=null,e.apply(void 0,o)},t)}return i.cancel=r,i}function y(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return t.some(function(t){return t&&t.apply(void 0,[e].concat(r)),e.preventDownshiftDefault||e.hasOwnProperty("nativeEvent")&&e.nativeEvent.preventDownshiftDefault})}}function v(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){t.forEach(function(t){"function"==typeof t?t(e):t&&(t.current=e)})}}function x(e,t){return Object.keys(e).reduce(function(n,r){return n[r]=void 0!==t[r]?t[r]:e[r],n},{})}function b(e){var t=e.key,n=e.keyCode;return n>=37&&n<=40&&0!==t.indexOf("Arrow")?"Arrow"+t:t}function w(e,t,n,r,i){if(void 0===i&&(i=!0),0===n)return -1;var o=n-1;("number"!=typeof t||t<0||t>=n)&&(t=e>0?-1:o+1);var l=t+e;l<0?l=i?o:0:l>o&&(l=i?0:o);var s=k(e,l,n,r,i);return -1===s?t>=n?-1:t:s}function k(e,t,n,r,i){var o=r(t);if(!o||!o.hasAttribute("disabled"))return t;if(e>0){for(var l=t+1;l<n;l++)if(!r(l).hasAttribute("disabled"))return l}else for(var s=t-1;s>=0;s--)if(!r(s).hasAttribute("disabled"))return s;return i?e>0?k(1,0,n,r,!1):k(-1,n-1,n,r,!1):-1}function S(e,t,n,r){return void 0===r&&(r=!0),t.some(function(t){return t&&(m(t,e,n)||r&&m(t,n.document.activeElement,n))})}var _=O(function(e){P(e).textContent=""},500);function C(e,t){var n=P(t);e&&(n.textContent=e,_(t))}function P(e){void 0===e&&(e=document);var t=e.getElementById("a11y-status-message");return t||((t=e.createElement("div")).setAttribute("id","a11y-status-message"),t.setAttribute("role","status"),t.setAttribute("aria-live","polite"),t.setAttribute("aria-relevant","additions text"),Object.assign(t.style,{border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",width:"1px"}),e.body.appendChild(t)),t}var T=["isInitialMount","highlightedIndex","items","environment"],Q={highlightedIndex:-1,isOpen:!1,selectedItem:null,inputValue:""},$=O(function(e,t){C(e(),t)},200),A="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?s.useLayoutEffect:s.useEffect;function E(e){var t=e.id,n=void 0===t?"downshift-"+String(p++):t,r=e.labelId,i=e.menuId,o=e.getItemId,l=e.toggleButtonId,a=e.inputId;return(0,s.useRef)({labelId:r||n+"-label",menuId:i||n+"-menu",getItemId:o||function(e){return n+"-item-"+e},toggleButtonId:l||n+"-toggle-button",inputId:a||n+"-input"}).current}function R(e,t,n,r){var i,o;if(void 0===e){if(void 0===t)throw Error(r);i=n[t],o=t}else o=void 0===t?n.indexOf(e):t,i=e;return[i,o]}function N(e){return""+e.slice(0,1).toUpperCase()+e.slice(1)}function L(e){var t=(0,s.useRef)(e);return t.current=e,t}function M(e,t,n){var r=(0,s.useRef)(),o=(0,s.useRef)(),l=(0,s.useCallback)(function(t,n){o.current=n;var r=e(t=x(t,n.props),n);return n.props.stateReducer(t,i({},n,{changes:r}))},[e]),a=(0,s.useReducer)(l,t),u=a[0],c=a[1],d=L(n),h=(0,s.useCallback)(function(e){return c(i({props:d.current},e))},[d]),f=o.current;return(0,s.useEffect)(function(){var e,t,n,o;f&&r.current&&r.current!==u&&(e=x(r.current,f.props),t=f.props,n=f.type,o={},Object.keys(e).forEach(function(t){var n,r,l,s,a,c,d;n=t,r=f,l=e,s=u,a=r.props,c=r.type,a[d="on"+N(n)+"Change"]&&void 0!==s[n]&&s[n]!==l[n]&&a[d](i({type:c},s)),u[t]!==e[t]&&(o[t]=u[t])}),t.onStateChange&&Object.keys(o).length&&t.onStateChange(i({type:n},o))),r.current=u},[u,n,f]),[u,h]}var Z={itemToString:function(e){return e?String(e):""},stateReducer:function(e,t){return t.changes},getA11ySelectionMessage:function(e){var t=e.selectedItem,n=e.itemToString;return t?n(t)+" has been selected.":""},scrollIntoView:function(e,t){e&&((e,t)=>{var n,r,i,o,l,s;if("undefined"==typeof document)return[];let{scrollMode:u,block:f,inline:p,boundary:g,skipOverflowHiddenElements:m}=t,O="function"==typeof g?g:e=>e!==g;if(!a(e))throw TypeError("Invalid target");let y=document.scrollingElement||document.documentElement,v=[],x=e;for(;a(x)&&O(x);){if((x=h(x))===y){v.push(x);break}null!=x&&x===document.body&&c(x)&&!c(document.documentElement)||null!=x&&c(x,m)&&v.push(x)}
6let b=null!=(r=null==(n=window.visualViewport)?void 0:n.width)?r:innerWidth,w=null!=(o=null==(i=window.visualViewport)?void 0:i.height)?o:innerHeight,k=null!=(l=window.scrollX)?l:pageXOffset,S=null!=(s=window.scrollY)?s:pageYOffset,{height:_,width:C,top:P,right:T,bottom:Q,left:$}=e.getBoundingClientRect(),A="start"===f||"nearest"===f?P:"end"===f?Q:P+_/2,E="center"===p?$+C/2:"end"===p?T:$,R=[];for(let e=0;e<v.length;e++){let t=v[e],{height:n,width:r,top:i,right:o,bottom:l,left:s}=t.getBoundingClientRect();if("if-needed"===u&&P>=0&&$>=0&&Q<=w&&T<=b&&P>=i&&Q<=l&&$>=s&&T<=o)break;let a=getComputedStyle(t),c=parseInt(a.borderLeftWidth,10),h=parseInt(a.borderTopWidth,10),g=parseInt(a.borderRightWidth,10),m=parseInt(a.borderBottomWidth,10),O=0,x=0,N="offsetWidth"in t?t.offsetWidth-t.clientWidth-c-g:0,L="offsetHeight"in t?t.offsetHeight-t.clientHeight-h-m:0,M="offsetWidth"in t?0===t.offsetWidth?0:r/t.offsetWidth:0,Z="offsetHeight"in t?0===t.offsetHeight?0:n/t.offsetHeight:0;if(y===t)O="start"===f?A:"end"===f?A-w:"nearest"===f?d(S,S+w,w,h,m,S+A,S+A+_,_):A-w/2,x="start"===p?E:"center"===p?E-b/2:"end"===p?E-b:d(k,k+b,b,c,g,k+E,k+E+C,C),O=Math.max(0,O+S),x=Math.max(0,x+k);else{O="start"===f?A-i-h:"end"===f?A-l+m+L:"nearest"===f?d(i,l,n,h,m+L,A,A+_,_):A-(i+n/2)+L/2,x="start"===p?E-s-c:"center"===p?E-(s+r/2)+N/2:"end"===p?E-o+g+N:d(s,o,r,c,g+N,E,E+C,C);let{scrollLeft:e,scrollTop:a}=t;O=Math.max(0,Math.min(a+O/Z,t.scrollHeight-n/Z+L)),x=Math.max(0,Math.min(e+x/M,t.scrollWidth-r/M+N)),A+=a-O,E+=e-x}R.push({el:t,top:O,left:x})}return R})(e,{boundary:t,block:"nearest",scrollMode:"if-needed"}
6).forEach(function(e){var t=e.el,n=e.top,r=e.left;t.scrollTop=n,t.scrollLeft=r})},environment:"undefined"==typeof window?{}:window};function I(e,t,n){void 0===n&&(n=Q);var r=e["default"+N(t)];return void 0!==r?r:n[t]}function j(e,t,n){void 0===n&&(n=Q);var r=e[t];if(void 0!==r)return r;var i=e["initial"+N(t)];return void 0!==i?i:I(e,t,n)}function X(e){var t=j(e,"selectedItem"),n=j(e,"isOpen"),r=j(e,"highlightedIndex"),i=j(e,"inputValue");return{highlightedIndex:r<0&&t&&n?e.items.indexOf(t):r,isOpen:n,selectedItem:t,inputValue:i}}function D(e,t,n){var r=e.items,i=e.initialHighlightedIndex,o=e.defaultHighlightedIndex,l=t.selectedItem,s=t.highlightedIndex;return 0===r.length?-1:void 0!==i&&s===i?i:void 0!==o?o:l?r.indexOf(l):0===n?-1:n<0?r.length-1:0}function V(e,t,n,r){var i=(0,s.useRef)({isMouseDown:!1,isTouchMove:!1});return(0,s.useEffect)(function(){if((null==n?void 0:n.addEventListener)!=null){var o=function(){i.current.isMouseDown=!0},l=function(o){i.current.isMouseDown=!1,e&&!S(o.target,t.map(function(e){return e.current}),n)&&r()},s=function(){i.current.isTouchMove=!1},a=function(){i.current.isTouchMove=!0},u=function(o){!e||i.current.isTouchMove||S(o.target,t.map(function(e){return e.current}),n,!1)||r()};return n.addEventListener("mousedown",o),n.addEventListener("mouseup",l),n.addEventListener("touchstart",s),n.addEventListener("touchmove",a),n.addEventListener("touchend",u),function(){n.removeEventListener("mousedown",o),n.removeEventListener("mouseup",l),n.removeEventListener("touchstart",s),n.removeEventListener("touchmove",a),n.removeEventListener("touchend",u)}}},[e,n]),i}var F=function(){return g};function z(e,t,n){var o=n.isInitialMount,l=n.highlightedIndex,a=n.items,u=n.environment,c=r(n,T);(0,s.useEffect)(function(){o||$(function(){return e(i({highlightedIndex:l,highlightedItem:a[l],resultCount:a.length},c))},u.document)},t)}function B(e){var t=e.highlightedIndex,n=e.isOpen,r=e.itemRefs,i=e.getItemNodeFromIndex,o=e.menuElement,l=e.scrollIntoView,a=(0,s.useRef)(!0);return A(function(){!(t<0)&&n&&Object.keys(r.current).length&&(!1===a.current?a.current=!0:l(i(t),o))},[t]),a}function W(e,t,n){void 0===n&&(n=!0);var r,o=(null==(r=e.items)?void 0:r.length)&&t>=0;return i({isOpen:!1,highlightedIndex:-1},o&&i({selectedItem:e.items[t],isOpen:I(e,"isOpen"),highlightedIndex:I(e,"highlightedIndex")},n&&{inputValue:e.itemToString(e.items[t])}))}function Y(e,t,n){var r,o=t.type,l=t.props;switch(o){case n.ItemMouseMove:r={highlightedIndex:t.disabled?-1:t.index};break;case n.MenuMouseLeave:r={highlightedIndex:-1};break;case n.ToggleButtonClick:case n.FunctionToggleMenu:r={isOpen:!e.isOpen,highlightedIndex:e.isOpen?-1:D(l,e,0)};break;case n.FunctionOpenMenu:r={isOpen:!0,highlightedIndex:D(l,e,0)};break;case n.FunctionCloseMenu:r={isOpen:!1};break;case n.FunctionSetHighlightedIndex:r={highlightedIndex:t.highlightedIndex};break;case n.FunctionSetInputValue:r={inputValue:t.inputValue};break;case n.FunctionReset:r={highlightedIndex:I(l,"highlightedIndex"),isOpen:I(l,"isOpen"),selectedItem:I(l,"selectedItem"),inputValue:I(l,"inputValue")};break;default:throw Error("Reducer called without proper action type.")}return i({},e,r)}l().array.isRequired,l().func,l().func,l().func,l().number,l().number,l().number,l().bool,l().bool,l().bool,l().any,l().any,l().any,l().string,l().string,l().string,l().func,l().string,l().func,l().func,l().func,l().func,l().func,l().shape({addEventListener:l().func,removeEventListener:l().func,document:l().shape({getElementById:l().func,activeElement:l().any,body:l().any})});var q=(0,f.Cl)((0,f.Cl)({},Z),{getA11yStatusMessage:function(e){var t=e.isOpen,n=e.resultCount,r=e.previousResultCount;return t?n?n!==r?"".concat(n," result").concat(1===n?" is":"s are"," available, use up and down arrow keys to navigate. Press Enter or Space Bar keys to select."):"":"No results are available.":""}}),U=Object.freeze({__proto__:null,ToggleButtonClick:0,ToggleButtonKeyDownArrowDown:1,ToggleButtonKeyDownArrowUp:2,ToggleButtonKeyDownCharacter:3,ToggleButtonKeyDownEscape:4,ToggleButtonKeyDownHome:5,ToggleButtonKeyDownEnd:6,ToggleButtonKeyDownEnter:7,ToggleButtonKeyDownSpaceButton:8,ToggleButtonKeyDownPageUp:9,ToggleButtonKeyDownPageDown:10,ToggleButtonBlur:11,MenuMouseLeave:12,ItemMouseMove:13,ItemClick:14,FunctionToggleMenu:15,FunctionOpenMenu:16,FunctionCloseMenu:17,FunctionSetHighlightedIndex:18,FunctionSelectItem:19,FunctionSetInputValue:20,FunctionReset:21});var G=Object.freeze({__proto__:null,InputKeyDownArrowDown:0,InputKeyDownArrowUp:1,InputKeyDownEscape:2,InputKeyDownHome:3,InputKeyDownEnd:4,InputKeyDownPageUp:5,InputKeyDownPageDown:6,InputKeyDownEnter:7,InputChange:8,InputBlur:9,InputFocus:10,MenuMouseLeave:11,ItemMouseMove:12,ItemClick:13,ToggleButtonClick:14,FunctionToggleMenu:15,FunctionOpenMenu:16,FunctionCloseMenu:17,FunctionSetHighlightedIndex:18,FunctionSelectItem:19,FunctionSetInputValue:20,FunctionReset:21,ControlledPropUpdatedSelectedItem:22});l().array.isRequired,l().func,l().func,l().func,l().func,l().number,l().number,l().number,l().bool,l().bool,l().bool,l().any,l().any,l().any,l().str
6ing,l().string,l().string,l().string,l().string,l().string,l().func,l().string,l().string,l().func,l().func,l().func,l().func,l().func,l().func,l().shape({addEventListener:l().func,removeEventListener:l().func,document:l().shape({getElementById:l().func,activeElement:l().any,body:l().any})});var H=i({},Z,{selectedItemChanged:function(e,t){return e!==t},getA11yStatusMessage:function(e){var t=e.isOpen,n=e.resultCount,r=e.previousResultCount;return t?n?n!==r?n+" result"+(1===n?" is":"s are")+" available, use up and down arrow keys to navigate. Press Enter key to select.":"":"No results are available.":""}});function J(e,t){var n,r,o=t.type,l=t.props,s=t.altKey;switch(o){case 13:r={isOpen:I(l,"isOpen"),highlightedIndex:I(l,"highlightedIndex"),selectedItem:l.items[t.index],inputValue:l.itemToString(l.items[t.index])};break;case 0:r=e.isOpen?{highlightedIndex:w(1,e.highlightedIndex,l.items.length,t.getItemNodeFromIndex,!0)}:{highlightedIndex:s&&null==e.selectedItem?-1:D(l,e,1,t.getItemNodeFromIndex),isOpen:l.items.length>=0};break;case 1:r=e.isOpen?s?W(l,e.highlightedIndex):{highlightedIndex:w(-1,e.highlightedIndex,l.items.length,t.getItemNodeFromIndex,!0)}:{highlightedIndex:D(l,e,-1,t.getItemNodeFromIndex),isOpen:l.items.length>=0};break;case 7:r=W(l,e.highlightedIndex);break;case 2:r=i({isOpen:!1,highlightedIndex:-1},!e.isOpen&&{selectedItem:null,inputValue:""});break;case 5:r={highlightedIndex:w(-10,e.highlightedIndex,l.items.length,t.getItemNodeFromIndex,!1)};break;case 6:r={highlightedIndex:w(10,e.highlightedIndex,l.items.length,t.getItemNodeFromIndex,!1)};break;case 3:r={highlightedIndex:k(1,0,l.items.length,t.getItemNodeFromIndex,!1)};break;case 4:r={highlightedIndex:k(-1,l.items.length-1,l.items.length,t.getItemNodeFromIndex,!1)};break;case 9:r=i({isOpen:!1,highlightedIndex:-1},e.highlightedIndex>=0&&(null==(n=l.items)?void 0:n.length)&&t.selectItem&&{selectedItem:l.items[e.highlightedIndex],inputValue:l.itemToString(l.items[e.highlightedIndex])});break;case 8:r={isOpen:!0,highlightedIndex:I(l,"highlightedIndex"),inputValue:t.inputValue};break;case 10:r={isOpen:!0,highlightedIndex:D(l,e,0)};break;case 19:r={selectedItem:t.selectedItem,inputValue:l.itemToString(t.selectedItem)};break;case 22:r={inputValue:t.inputValue};break;default:return Y(e,t,G)}return i({},e,r)}var K=["onMouseLeave","refKey","ref"],ee=["item","index","refKey","ref","onMouseMove","onMouseDown","onClick","onPress","disabled"],et=["onClick","onPress","refKey","ref"],en=["onKeyDown","onChange","onInput","onFocus","onBlur","onChangeText","refKey","ref"];function er(e){void 0===e&&(e={});var t,n,o,l,a,u,c,d=i({},H,e),h=d.initialIsOpen,f=d.defaultIsOpen,p=d.items,g=d.scrollIntoView,m=d.environment,O=d.getA11yStatusMessage,w=d.getA11ySelectionMessage,k=d.itemToString,S=(n=(t=X(d)).selectedItem,""===(o=t.inputValue)&&n&&void 0===d.defaultInputValue&&void 0===d.initialInputValue&&void 0===d.inputValue&&(o=d.itemToString(n)),i({},t,{inputValue:o})),_=(l=(0,s.useRef)(),u=(a=M(J,S,d))[0],c=a[1],(0,s.useEffect)(function(){void 0!==d.selectedItem&&(d.selectedItemChanged(l.current,d.selectedItem)&&c({type:22,inputValue:d.itemToString(d.selectedItem)}),l.current=u.selectedItem===l.current?d.selectedItem:u.selectedItem)},[u.selectedItem,d.selectedItem]),[x(u,d),c]),C=_[0],P=_[1],T=C.isOpen,Q=C.highlightedIndex,$=C.selectedItem,A=C.inputValue,N=(0,s.useRef)(null),Z=(0,s.useRef)({}),I=(0,s.useRef)(null),j=(0,s.useRef)(null),D=(0,s.useRef)(!0),W=E(d),Y=(0,s.useRef)(),q=L({state:C,props:d}),U=(0,s.useCallback)(function(e){return Z.current[W.getItemId(e)]},[W]);z(O,[T,Q,A,p],i({isInitialMount:D.current,previousResultCount:Y.current,items:p,environment:m,itemToString:k},C)),z(w,[$],i({isInitialMount:D.current,previousResultCount:Y.current,items:p,environment:m,itemToString:k},C));var G=B({menuElement:N.current,highlightedIndex:Q,isOpen:T,itemRefs:Z,scrollIntoView:g,getItemNodeFromIndex:U});D.current,(0,s.useEffect)(function(){(h||f||T)&&I.current&&I.current.focus()},[]),(0,s.useEffect)(function(){D.current||(Y.current=p.length)});var er=V(T,[I,N,j],m,function(){P({type:9,selectItem:!1})}),ei=F("getInputProps","getMenuProps");(0,s.useEffect)(function(){return D.current=!1,function(){D.current=!0}},[]),(0,s.useEffect)(function(){var e,t;T?(null==(e=m.document)?void 0:e.activeElement)!==I.current&&(null==I||null==(t=I.current)||t.focu
6s()):Z.current={}},[T,m]);var eo=(0,s.useMemo)(function(){return{ArrowDown:function(e){e.preventDefault(),P({type:0,altKey:e.altKey,getItemNodeFromIndex:U})},ArrowUp:function(e){e.preventDefault(),P({type:1,altKey:e.altKey,getItemNodeFromIndex:U})},Home:function(e){q.current.state.isOpen&&(e.preventDefault(),P({type:3,getItemNodeFromIndex:U}))},End:function(e){q.current.state.isOpen&&(e.preventDefault(),P({type:4,getItemNodeFromIndex:U}))},Escape:function(e){var t=q.current.state;(t.isOpen||t.inputValue||t.selectedItem||t.highlightedIndex>-1)&&(e.preventDefault(),P({type:2}))},Enter:function(e){q.current.state.isOpen&&229!==e.which&&(e.preventDefault(),P({type:7,getItemNodeFromIndex:U}))},PageUp:function(e){q.current.state.isOpen&&(e.preventDefault(),P({type:5,getItemNodeFromIndex:U}))},PageDown:function(e){q.current.state.isOpen&&(e.preventDefault(),P({type:6,getItemNodeFromIndex:U}))}}},[P,q,U]),el=(0,s.useCallback)(function(e){return i({id:W.labelId,htmlFor:W.inputId},e)},[W]),es=(0,s.useCallback)(function(e,t){var n,o=void 0===e?{}:e,l=o.onMouseLeave,s=o.refKey,a=void 0===s?"ref":s,u=o.ref,c=r(o,K),d=(void 0===t?{}:t).suppressRefError;return ei("getMenuProps",void 0!==d&&d,a,N),i(((n={})[a]=v(u,function(e){N.current=e}),n.id=W.menuId,n.role="listbox",n["aria-labelledby"]=c&&c["aria-label"]?void 0:""+W.labelId,n.onMouseLeave=y(l,function(){P({type:11})}),n),c)},[P,ei,W]),ea=(0,s.useCallback)(function(e){var t,n,o=void 0===e?{}:e,l=o.item,s=o.index,a=o.refKey,u=o.ref,c=o.onMouseMove,d=o.onMouseDown,h=o.onClick;o.onPress;var f=o.disabled,p=r(o,ee),g=q.current,m=g.props,O=g.state,x=R(l,s,m.items,"Pass either item or index to getItemProps!")[1];return i(((t={})[void 0===a?"ref":a]=v(u,function(e){e&&(Z.current[W.getItemId(x)]=e)}),t.disabled=f,t.role="option",t["aria-selected"]=""+(x===O.highlightedIndex),t.id=W.getItemId(x),t),!f&&((n={}).onClick=y(h,function(){P({type:13,index:x})}),n),{onMouseMove:y(c,function(){x!==O.highlightedIndex&&(G.current=!1,P({type:12,index:x,disabled:f}))}),onMouseDown:y(d,function(e){return e.preventDefault()})},p)},[P,q,G,W]),eu=(0,s.useCallback)(function(e){var t,n=void 0===e?{}:e,o=n.onClick;n.onPress;var l=n.refKey,s=n.ref,a=r(n,et),u=q.current.state;return i(((t={})[void 0===l?"ref":l]=v(s,function(e){j.current=e}),t["aria-controls"]=W.menuId,t["aria-expanded"]=u.isOpen,t.id=W.toggleButtonId,t.tabIndex=-1,t),!a.disabled&&i({},{onClick:y(o,function(){P({type:14})})}),a)},[P,q,W]),ec=(0,s.useCallback)(function(e,t){var n,o,l=void 0===e?{}:e,s=l.onKeyDown,a=l.onChange,u=l.onInput,c=l.onFocus,d=l.onBlur;l.onChangeText;var h=l.refKey,f=void 0===h?"ref":h,p=l.ref,g=r(l,en),O=(void 0===t?{}:t).suppressRefError;ei("getInputProps",void 0!==O&&O,f,I);var x=q.current.state,w={};return g.disabled||((o={}).onChange=y(a,u,function(e){P({type:8,inputValue:e.target.value})}),o.onKeyDown=y(s,function(e){var t=b(e);t&&eo[t]&&eo[t](e)}),o.onBlur=y(d,function(e){x.isOpen&&!er.current.isMouseDown&&P({type:9,selectItem:null!==e.relatedTarget||m.document.activeElement===m.document.body})}),o.onFocus=y(c,function(){x.isOpen||P({type:10})}),w=o),i(((n={})[f]=v(p,function(e){I.current=e}),n["aria-activedescendant"]=x.isOpen&&x.highlightedIndex>-1?W.getItemId(x.highlightedIndex):"",n["aria-autocomplete"]="list",n["aria-controls"]=W.menuId,n["aria-expanded"]=x.isOpen,n["aria-labelledby"]=g&&g["aria-label"]?void 0:""+W.labelId,n.autoComplete="off",n.id=W.inputId,n.role="combobox",n.value=x.inputValue,n),w,g)},[ei,q,W,eo,P,er,m]),ed=(0,s.useCallback)(function(){P({type:15})},[P]),eh=(0,s.useCallback)(function(){P({type:17})},[P]),ef=(0,s.useCallback)(function(){P({type:16})},[P]),ep=(0,s.useCallback)(function(e){P({type:18,highlightedIndex:e})},[P]),eg=(0,s.useCallback)(function(e){P({type:19,selectedItem:e})},[P]);return{getItemProps:ea,getLabelProps:el,getMenuProps:es,getInputProps:ec,getToggleButtonProps:eu,toggleMenu:ed,openMenu:ef,closeMenu:eh,setHighlightedIndex:ep,setInputValue:(0,s.useCallback)(function(e){P({type:20,inputValue:e})},[P]),selectItem:eg,reset:(0,s.useCallback)(function(){P({type:21})}
6,[P]),highlightedIndex:Q,isOpen:T,selectedItem:$,inputValue:A}}er.stateChangeTypes=G;l().array,l().array,l().array,l().func,l().func,l().func,l().number,l().number,l().number,l().func,l().func,l().string,l().string,l().shape({addEventListener:l().func,removeEventListener:l().func,document:l().shape({getElementById:l().func,activeElement:l().any,body:l().any})});var ei={itemToString:Z.itemToString,stateReducer:Z.stateReducer,environment:Z.environment,getA11yRemovalMessage:function(e){var t=e.removedSelectedItem;return(0,e.itemToString)(t)+" has been removed."},keyNavigationNext:"ArrowRight",keyNavigationPrevious:"ArrowLeft"},eo=Object.freeze({__proto__:null,SelectedItemClick:0,SelectedItemKeyDownDelete:1,SelectedItemKeyDownBackspace:2,SelectedItemKeyDownNavigationNext:3,SelectedItemKeyDownNavigationPrevious:4,DropdownKeyDownNavigationPrevious:5,DropdownKeyDownBackspace:6,DropdownClick:7,FunctionAddSelectedItem:8,FunctionRemoveSelectedItem:9,FunctionSetSelectedItems:10,FunctionSetActiveIndex:11,FunctionReset:12});var el=n(56487),es=n(17415),ea=n(60665),eu=n(44443);let ec=e=>e.suggestions.length>0?s.createElement(ed,{...e}):s.createElement("input",{className:es.Ay.textInput,size:40,autoFocus:!0,...e.register(e.inputName)}),ed=({autofocus:e,suggestions:t,control:n,inputName:r,placeholder:i,initialInputValue:o,setValue:l})=>{let[a,u]=s.useState(t.slice(0,20)),c=(0,eu.X3)(ea.yr),d=t.length>0,{isOpen:h,getToggleButtonProps:f,getMenuProps:p,getInputProps:g,highlightedIndex:m,getItemProps:O,selectedItem:y}=er({initialInputValue:o,onInputValueChange({inputValue:e=""}){l(r,e),e=e.toLowerCase()||"";let n=[];for(let r of t)if(r.toLowerCase().includes(e)&&(n.push(r),n.length>=20))break;u(n)},items:a,itemToString:e=>e??""}),v=h&&a.length>0;return s.createElement("div",{className:es.Ay.downshiftAutocompleteContainer},s.createElement("div",{"data-visible-dropdown":v,className:es.Ay.downshiftInputWrapper},s.createElement(el.xI,{name:r,control:n,render:({field:t})=>{let n=g();return s.createElement("input",{...n,name:t.name,placeholder:i,className:es.Ay.downshiftInput,size:30,"data-editor-dialog":!0,autoFocus:e})}}),d&&s.createElement("button",{"aria-label":"toggle menu",type:"button",...f()},c("arrow_drop_down"))),s.createElement("div",{className:es.Ay.downshiftAutocompleteContainer},s.createElement("ul",{...p(),"data-visible":v},a.map((e,t)=>s.createElement("li",{"data-selected":y===e,"data-highlighted":m===t,key:`${e}${t}`,...O({item:e,index:t})},e)))))}},93217:()=>{Prism.languages.objectivec=Prism.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete Prism.languages.objectivec["class-name"],Prism.languages.objc=Prism.languages.objectivec},95777:(e,t,n)=>{"use strict";n.d(t,{Oh:()=>o});var r=n(6325),i=0;function o(){r.useEffect(()=>{var e,t;let n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!=(e=n[0])?e:l()),document.body.insertAdjacentElement("beforeend",null!=(t=n[1])?t:l()),i++,()=>{1===i&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),i--}},[])}function l(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}},96507:(e,t,n)=>{"use strict";n.d(t,{fi:()=>$,xi:()=>S,Pi:()=>A,jd:()=>_,jL:()=>C,dJ:()=>k,ZI:()=>M});var r=n(45580),i=n(84544);let o=new Set(["STYLE","SCRIPT"]);var l=n(6105);function s(e,...t){let n=new URL("https://lexical.dev/docs/error"),r=new URLSearchParams;for(let n of(r.append("code",e),t))r.append("v",n);throw n.search=r.toString(),Error(`Minified Lexical error #${e}; visit ${n.toString()} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}function a(e,t,n){let l=e.getData("application/x-lexical-editor");if(l)try{let e=JSON.parse(l);if(e.namespace===n._config.namespace&&Array.isArray(e.nodes))return u(n,function(e){let t=[];for(let n=0;n<e.length;n++){let o=e[n],l=(0,i.GMe)(o);(0,i.kFe)(l)&&(0,r.Xg)(l),t.push(l)}return t}(e.nodes),t)}catch(e){}let s=e.getData("text/html"),a=e.getData("text/plain");if(s&&a!==s)try{let e=(new DOMParser).parseFromString(window.trustedTypes&&window.trustedTypes.createPolicy?window.trustedTypes.createPolicy("lexical",{createHTML:e=>e}).createHTML(s):s,"text/html");return u(n,function(e,t){let n=t.body?t.body.childNodes:[],r=[],l=[];for(let t=0;t<n.length;t++){let s=n[t];if(!o.has(s.nodeName)){let t=function e(t,n,r,l,s=new Map,a){let u=[];
6if(o.has(t.nodeName))return u;let c=null,d=function(e,t){let{nodeName:n}=e,r=t._htmlConversions.get(n.toLowerCase()),i=null;if(void 0!==r)for(let t of r){let n=t(e);null!==n&&(null===i||(i.priority||0)<=(n.priority||0))&&(i=n)}return null!==i?i.conversion:null}(t,n),h=d?d(t):null,f=null;if(null!==h){f=h.after;let e=h.node;if(null!==(c=Array.isArray(e)?e[e.length-1]:e)){for(let[,e]of s)if(!(c=e(c,a)))break;c&&u.push(...Array.isArray(e)?e:[c])}null!=h.forChild&&s.set(t.nodeName,h.forChild)}let p=t.childNodes,g=[],m=(null==c||!(0,i.IqF)(c))&&(null!=c&&(0,i.y68)(c)||l);for(let t=0;t<p.length;t++)g.push(...e(p[t],n,r,m,new Map(s),c));return null!=f&&(g=f(g)),(0,i.a9V)(t)&&(g=function(e,t,n){let r=e.style.textAlign,o=[],l=[];for(let e=0;e<t.length;e++){let s=t[e];if((0,i.y68)(s))r&&!s.getFormat()&&s.setFormat(r),o.push(s);else if(l.push(s),e===t.length-1||e<t.length-1&&(0,i.y68)(t[e+1])){let e=n();e.setFormat(r),e.append(...l),o.push(e),l=[]}}return o}(t,g,m?()=>{let e=new i.A7V;return r.push(e),e}:i.lJ7)),null==c?g.length>0?u=u.concat(g):(0,i.a9V)(t)&&null!=t.nextSibling&&null!=t.previousSibling&&(0,i._On)(t.nextSibling)&&(0,i._On)(t.previousSibling)&&(u=u.concat((0,i.WKo)())):(0,i.ff4)(c)&&c.append(...g),u}(s,e,l,!1);null!==t&&(r=r.concat(t))}}return function(e){for(let t of e)t.getNextSibling()instanceof i.A7V&&t.insertAfter((0,i.WKo)());for(let t of e){for(let e of t.getChildren())t.insertBefore(e);t.remove()}}(l),r}(n,e),t)}catch(e){}let c=a||e.getData("text/uri-list");if(null!=c)if((0,i.I2P)(t)){let e=c.split(/(\r?\n|\t)/);""===e[e.length-1]&&e.pop();for(let t=0;t<e.length;t++){let n=(0,i.vJq)();if((0,i.I2P)(n)){let r=e[t];"\n"===r||"\r\n"===r?n.insertParagraph():"	"===r?n.insertNodes([(0,i.ev7)()]):n.insertText(r)}}}else t.insertRawText(c)}function u(e,t,n){e.dispatchCommand(i.oqR,{nodes:t,selection:n})||(n.insertNodes(t),function(e){if((0,i.I2P)(e)&&e.isCollapsed()){let t=e.anchor,n=null,r=(0,i.Ave)(t,"previous");if(r)if((0,i.rN)(r))n=r.origin;else for(let e of(0,i.TJt)(r,(0,i.uwZ)((0,i.NiT)(),"next").getFlipped())){if((0,i.kFe)(e.origin)){n=e.origin;break}if((0,i.ff4)(e.origin)&&!e.origin.isInline())break}if(n&&(0,i.kFe)(n)){let t=n.getFormat(),r=n.getStyle();e.format===t&&e.style===r||(e.format=t,e.style=r,e.dirty=!0)}}}(n))}let c=null;async function d(e,t,n){if(null!==c)return!1;if(null!==t)return new Promise((r,i)=>{e.update(()=>{r(h(e,t,n))})});let r=e.getRootElement(),o=e._window||window,s=window.document,a=(0,i.peL)(o);if(null===r||null===a)return!1;let u=s.createElement("span");u.style.cssText="position: fixed; top: -1000px;",u.append(s.createTextNode("#")),r.append(u);let d=new Range;return d.setStart(u,0),d.setEnd(u,1),a.removeAllRanges(),a.addRange(d),new Promise((t,r)=>{let o=e.registerCommand(i.u5G,r=>((0,l.xj)(r,ClipboardEvent)&&(o(),null!==c&&(window.clearTimeout(c),c=null),t(h(e,r,n))),!0),i.da8);c=window.setTimeout(()=>{o(),c=null,t(!1)},50),s.execCommand("copy"),u.remove()})}function h(e,t,n){if(void 0===n){let t=(0,i.peL)(e._window);if(!t)return!1;let r=t.anchorNode,o=t.focusNode;if(null!==r&&null!==o&&!(0,i.LYZ)(e,r,o))return!1;let l=(0,i.vJq)();if(null===l)return!1;n=function(e=(0,i.vJq)()){let t={"text/plain":e?e.getTextContent():""};if(e){let n=(0,i.i0_)();for(let[r,i]of f){let o=i(n,e);null!==o&&(t[r]=o)}}return t}(l)}t.preventDefault();let r=t.clipboardData;return null!==r&&(function(e,t){for(let n in t){let r=t[n];void 0!==r&&e.setData(n,r)}}(r,n),!0)}let f=[["text/html",function(e,t=(0,i.vJq)()){return null==t&&s(166),(0,i.I2P)(t)&&t.isCollapsed()||0===t.getNodes().length?"":function(e,t){if("undefined"==typeof document||"undefined"==typeof window&&void 0===global.window)throw Error("To use $generateHtmlFromNodes in headless mode please initialize a headless browser implementation such as JSDom before calling this function.");let n=document.createElement("div"),o=(0,i.NiT)().getChildren();for(let l=0;l<o.length;l++)!function e(t,n,o,l=null){let s=null===l||n.isSelected(l),a=(0,i.ff4)(n)&&n.excludeFromCopy("html"),u=n;if(null!==l){let e=(0,i.BEs)(n);u=e=(0,i.kFe)(e)&&null!==l?(0,r.SD)(l,e):e}let c=(0,i.ff4)(u)?u.getChildren():[],d=(0,i.Jvg)(t,u.getType()),{element:h,after:f}=d&&void 0!==d.exportDOM?d.exportDOM(t,u):u.exportDOM(t);
6if(!h)return!1;let p=document.createDocumentFragment();for(let r=0;r<c.length;r++){let o=c[r],a=e(t,o,p,l);!s&&(0,i.ff4)(n)&&a&&n.extractWithChild(o,l,"html")&&(s=!0)}if(s&&!a){if(((0,i.sby)(h)||(0,i.K8K)(h))&&h.append(p),o.append(h),f){let e=f.call(u,h);e&&((0,i.K8K)(h)?h.replaceChildren(e):h.replaceWith(e))}}else o.append(p);return s}(e,o[l],n,t);return n.innerHTML}(e,t)}],["application/x-lexical-editor",function(e,t=(0,i.vJq)()){return null==t&&s(166),(0,i.I2P)(t)&&t.isCollapsed()||0===t.getNodes().length?null:JSON.stringify(function(e,t){let n=[],o=(0,i.NiT)().getChildren();for(let l=0;l<o.length;l++)!function e(t,n,o,l=[]){let a=null===n||o.isSelected(n),u=(0,i.ff4)(o)&&o.excludeFromCopy("html"),c=o;if(null!==n){let e=(0,i.BEs)(o);c=e=(0,i.kFe)(e)&&null!==n?(0,r.SD)(n,e):e}let d=(0,i.ff4)(c)?c.getChildren():[],h=function(e){let t=e.exportJSON(),n=e.constructor;return t.type!==n.getType()&&s(58,n.name),(0,i.ff4)(e)&&(Array.isArray(t.children)||s(59,n.name)),t}(c);if((0,i.kFe)(c)){let e=c.__text;e.length>0?h.text=e:a=!1}for(let r=0;r<d.length;r++){let l=d[r],s=e(t,n,l,h.children);!a&&(0,i.ff4)(o)&&s&&o.extractWithChild(l,n,"clone")&&(a=!0)}if(a&&!u)l.push(h);else if(Array.isArray(h.children))for(let e=0;e<h.children.length;e++){let t=h.children[e];l.push(t)}return a}(e,t,o[l],n);return{namespace:e._config.namespace,nodes:n}}(e,t))}]];function p(e,t){if(void 0!==document.caretRangeFromPoint){let n=document.caretRangeFromPoint(e,t);return null===n?null:{node:n.startContainer,offset:n.startOffset}}if("undefined"!==document.caretPositionFromPoint){let n=document.caretPositionFromPoint(e,t);return null===n?null:{node:n.offsetNode,offset:n.offset}}return null}let g="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,m=g&&"documentMode"in document?document.documentMode:null,O=!(!g||!("InputEvent"in window)||m)&&"getTargetRanges"in new window.InputEvent("input"),y=g&&/Version\/[\d.]+.*Safari/.test(navigator.userAgent),v=g&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,x=g&&/^(?=.*Chrome).*/i.test(navigator.userAgent),b=g&&/AppleWebKit\/[\d.]+/.test(navigator.userAgent)&&!x,w=(0,i.guI)("DRAG_DROP_PASTE_FILE");class k extends i.fGB{static getType(){return"quote"}static clone(e){return new k(e.__key)}createDOM(e){let t=document.createElement("blockquote");return(0,l.ZB)(t,e.theme.quote),t}updateDOM(e,t){return!1}static importDOM(){return{blockquote:e=>({conversion:Q,priority:0})}}exportDOM(e){let{element:t}=super.exportDOM(e);if((0,i.sby)(t)){this.isEmpty()&&t.append(document.createElement("br"));let e=this.getFormatType();e&&(t.style.textAlign=e);let n=this.getDirection();n&&(t.dir=n)}return{element:t}}static importJSON(e){return S().updateFromJSON(e)}insertNewAfter(e,t){let n=(0,i.lJ7)(),r=this.getDirection();return n.setDirection(r),this.insertAfter(n,t),n}collapseAtStart(){let e=(0,i.lJ7)();
6return this.getChildren().forEach(t=>e.append(t)),this.replace(e),!0}canMergeWhenEmpty(){return!0}}function S(){return(0,i.pTq)(new k)}function _(e){return e instanceof k}class C extends i.fGB{static getType(){return"heading"}static clone(e){return new C(e.__tag,e.__key)}constructor(e,t){super(t),this.__tag=e}getTag(){return this.__tag}setTag(e){let t=this.getWritable();return this.__tag=e,t}createDOM(e){let t=this.__tag,n=document.createElement(t),r=e.theme.heading;if(void 0!==r){let e=r[t];(0,l.ZB)(n,e)}return n}updateDOM(e,t,n){return e.__tag!==this.__tag}static importDOM(){return{h1:e=>({conversion:T,priority:0}),h2:e=>({conversion:T,priority:0}),h3:e=>({conversion:T,priority:0}),h4:e=>({conversion:T,priority:0}),h5:e=>({conversion:T,priority:0}),h6:e=>({conversion:T,priority:0}),p:e=>{let t=e.firstChild;return null!==t&&P(t)?{conversion:()=>({node:null}),priority:3}:null},span:e=>P(e)?{conversion:e=>({node:$("h1")}),priority:3}:null}}exportDOM(e){let{element:t}=super.exportDOM(e);if((0,i.sby)(t)){this.isEmpty()&&t.append(document.createElement("br"));let e=this.getFormatType();e&&(t.style.textAlign=e);let n=this.getDirection();n&&(t.dir=n)}return{element:t}}static importJSON(e){return $(e.tag).updateFromJSON(e)}updateFromJSON(e){return super.updateFromJSON(e).setTag(e.tag)}exportJSON(){return{...super.exportJSON(),tag:this.getTag()}}insertNewAfter(e,t=!0){let n=e?e.anchor.offset:0,r=this.getLastDescendant(),o=r&&(!e||e.anchor.key!==r.getKey()||n!==r.getTextContentSize())&&e?$(this.getTag()):(0,i.lJ7)(),l=this.getDirection();if(o.setDirection(l),this.insertAfter(o,t),0===n&&!this.isEmpty()&&e){let e=(0,i.lJ7)();e.select(),this.replace(e,!0)}return o}collapseAtStart(){let e=this.isEmpty()?(0,i.lJ7)():$(this.getTag());
6return this.getChildren().forEach(t=>e.append(t)),this.replace(e),!0}extractWithChild(){return!0}}function P(e){return"span"===e.nodeName.toLowerCase()&&"26pt"===e.style.fontSize}function T(e){let t=e.nodeName.toLowerCase(),n=null;return"h1"!==t&&"h2"!==t&&"h3"!==t&&"h4"!==t&&"h5"!==t&&"h6"!==t||(n=$(t),null!==e.style&&((0,i.dxY)(e,n),n.setFormat(e.style.textAlign))),{node:n}}function Q(e){let t=S();return null!==e.style&&(t.setFormat(e.style.textAlign),(0,i.dxY)(e,t)),{node:t}}function $(e="h1"){return(0,i.pTq)(new C(e))}function A(e){return e instanceof C}function E(e){let t=null;if((0,l.xj)(e,DragEvent)?t=e.dataTransfer:(0,l.xj)(e,ClipboardEvent)&&(t=e.clipboardData),null===t)return[!1,[],!1];let n=t.types,r=n.includes("Files"),i=n.includes("text/html")||n.includes("text/plain");return[r,Array.from(t.files),i]}function R(e){let t=(0,i.vJq)();if(!(0,i.I2P)(t))return!1;let n=new Set,r=t.getNodes();for(let t=0;t<r.length;t++){let o=r[t],s=o.getKey();if(n.has(s))continue;let a=(0,l.Bt)(o,e=>(0,i.ff4)(e)&&!e.isInline());if(null===a)continue;let u=a.getKey();a.canIndent()&&!n.has(u)&&(n.add(u),e(a))}return n.size>0}function N(e){let t=(0,i.xL4)(e);return(0,i.Cyw)(t)}function L(e){for(let t of["lowercase","uppercase","capitalize"])e.hasFormat(t)&&e.toggleFormat(t)}function M(e){return(0,l.Sd)(e.registerCommand(i.d8p,e=>{let t=(0,i.vJq)();return!!(0,i.RTZ)(t)&&(t.clear(),!0)},i.jZM),e.registerCommand(i.WuB,e=>{let t=(0,i.vJq)();return(0,i.I2P)(t)?(t.deleteCharacter(e),!0):!!(0,i.RTZ)(t)&&(t.deleteNodes(),!0)},i.jZM),e.registerCommand(i.hi0,e=>{let t=(0,i.vJq)();return!!(0,i.I2P)(t)&&(t.deleteWord(e),!0)},i.jZM),e.registerCommand(i.viC,e=>{let t=(0,i.vJq)();return!!(0,i.I2P)(t)&&(t.deleteLine(e),!0)},i.jZM),e.registerCommand(i.bM3,t=>{let n=(0,i.vJq)();if("string"==typeof t)null!==n&&n.insertText(t);else{if(null===n)return!1;let r=t.dataTransfer;if(null!=r)a(r,n,e);else if((0,i.I2P)(n)){let e=t.data;return e&&n.insertText(e),!0}}return!0},i.jZM),e.registerCommand(i.$ey,()=>{let e=(0,i.vJq)();return!!(0,i.I2P)(e)&&(e.removeText(),!0)},i.jZM),e.registerCommand(i.mB,e=>{let t=(0,i.vJq)();return!!(0,i.I2P)(t)&&(t.formatText(e),!0)},i.jZM),e.registerCommand(i.fUS,e=>{let t=(0,i.vJq)();if(!(0,i.I2P)(t)&&!(0,i.RTZ)(t))return!1;for(let n of t.getNodes()){let t=(0,l.Bt)(n,e=>(0,i.ff4)(e)&&!e.isInline());null!==t&&t.setFormat(e)}return!0},i.jZM),e.registerCommand(i.FEN,e=>{let t=(0,i.vJq)();return!!(0,i.I2P)(t)&&(t.insertLineBreak(e),!0)},i.jZM),e.registerCommand(i.XKQ,()=>{let e=(0,i.vJq)();return!!(0,i.I2P)(e)&&(e.insertParagraph(),!0)},i.jZM),e.registerCommand(i.YW5,()=>((0,i.H2A)([(0,i.ev7)()]),!0),i.jZM),e.registerCommand(i.PiT,()=>R(e=>{let t=e.getIndent();e.setIndent(t+1)}),i.jZM),e.registerCommand(i.sik,()=>R(e=>{let t=e.getIndent();t>0&&e.setIndent(Math.max(0,t-1))}),i.jZM),e.registerCommand(i.UDz,e=>{let t=(0,i.vJq)();if((0,i.RTZ)(t)){let e=t.getNodes();if(e.length>0)return e[0].selectPrevious(),!0}else if((0,i.I2P)(t)){let n=(0,i.B$P)(t.focus,!0);if(!e.shiftKey&&(0,i.Cyw)(n)&&!n.isIsolated()&&!n.isInline())return n.selectPrevious(),e.preventDefault(),!0}return!1},i.jZM),e.registerCommand(i.bbF,e=>{let t=(0,i.vJq)();if((0,i.RTZ)(t)){let e=t.getNodes();if(e.length>0)return e[0].selectNext(0,0),!0}else if((0,i.I2P)(t)){if(function(e){let t=e.focus;return"root"===t.key&&t.offset===(0,i.NiT)().getChildrenSize()}(t))return e.preventDefault(),!0;let n=(0,i.B$P)(t.focus,!1);if(!e.shiftKey&&(0,i.Cyw)(n)&&!n.isIsolated()&&!n.isInline())return n.selectNext(),e.preventDefault(),!0}return!1},i.jZM),e.registerCommand(i.AX0,e=>{let t=(0,i.vJq)();if((0,i.RTZ)(t)){let n=t.getNodes();if(n.length>0)return e.preventDefault(),(0,r.dt)(n[0])?n[0].selectNext(0,0):n[0].selectPrevious(),!0}if(!(0,i.I2P)(t))return!1;if((0,r.Cb)(t,!0)){let n=e.shiftKey;return e.preventDefault(),(0,r.Rk)(t,n,!0),!0}return!1},i.jZM),e.registerCommand(i.JM3,e=>{let t=(0,i.vJq)();if((0,i.RTZ)(t)){let n=t.getNodes();if(n.length>0)return e.preventDefault(),(0,r.dt)(n[0])?n[0].selectPrevious():n[0].selectNext(0,0),!0}if(!(0,i.I2P)(t))return!1;let n=e.shiftKey;return!!(0,r.Cb)(t,!1)&&(e.preventDefault(),(0,r.Rk)(t,n,!1),!0)},i.jZM),e.registerCommand(i.gCZ,t=>{if(N(t.target))return!1;let n=(0,i.vJq)();if((0,i.I2P)(n)){if(function(e){if(!e.isCollapsed())return!1;let{anchor:t}=e;if(0!==t.offset)return!1;let n=t.getNode();if((0,i.hVZ)(n))return!1;let r=(0,l.mB)(n);return r.getIndent()>0&&(r.is(n)||n.is(r.getFirstDescendant()))}(n))return t.preventDefault(),e.dispatchCommand(i.sik,void 0);if(v&&"ko-KR"===navigator.language)return!1}else if(!(0,i.RTZ)(n))return!1;return t.preventDefault(),e.dispatchCommand(i.WuB,!0)},i.jZM),e.registerCommand(i.w$Z,t=>{if(N(t.target))return!1;let n=(0,i.vJq)();return!(!(0,i.I2P)(n)&&!(0,i.RTZ)(n))&&(t.preventDefault(),e.dispatchCommand(i.WuB,!1))},i.jZM),e.registerCommand(i.RTo,t=>{let n=(0,i.vJq)();if(!(0,i.I2P)(n))return!1;if(L(n),null!==t){if((v||y||b)&&O)return!1;if(t.preventDefault(),t.shiftKey)return e.dispatchCommand(i.FEN,!1)}return e.dispatchCommand(i.XKQ,void 0)},i.jZM),e.registerCommand(i.Q$N,()=>{let t=(0,i.vJq)();return!!(0,i.I2P)(t)&&(e.blur(),!0)},i.jZM),e.registerCommand(i.Sr4,t=>{let[,n]=E(t);if(n.length>0){let r=p(t.clientX,t.clientY);if(null!==r){let{offset:t,node:o}=r,l=(0,i.xL4)(o);if(null!==l){let e=(0,i.uTE)();if((0,i.kFe)(l))e.anchor.set(l.getKey(),t,"text"),e.focus.set(l.getKey(),t,"text");else{let t=l.getParentOrThrow().getKey(),n=l.getIndexWithinParent()+1;e.anchor.set(t,n,"element"),e.focus.set(t,n,"element")}let n=(0,i.CaD)(e);(0,i.n1P)(n)}e.dispatchCommand(w,n)}return t.preventDefault(),!0}let r=(0,i.vJq)();return!!(0,i.I2P)(r)},i.jZM),e.registerCommand(i.TgX,e=>{let[t]=E(e),n=(0,i.vJq)();return!(t&&!(0,i.I2P)(n))},i.jZM),e.registerCommand(i.riq,e=>{let[t]=E(e),n=(0,i.vJq)();if(t&&!(0,i.I2P)(n))return!1;let r=p(e.clientX,e.clientY);if(null!==r){let t=(0,i.xL4)(r.node);(0,i.Cyw)(t)&&e.preventDefault()}return!0},i.jZM),e.registerCommand(i.HYn,()=>((0,i.e1k)(),!0),i.jZM),e.registerCommand(i.u5G,t=>(d(e,(0,l.xj)(t,ClipboardEvent)?t:null),!0),i.jZM),e.registerCommand(i.VSO,t=>((async function(e,t){await d(t,(0,l.xj)(e,ClipboardEvent)?e:null),t.update(()=>{let e=(0,i.vJq)();
6(0,i.I2P)(e)?e.removeText():(0,i.RTZ)(e)&&e.getNodes().forEach(e=>e.remove())})})(t,e),!0),i.jZM),e.registerCommand(i.waI,t=>{let[,n,r]=E(t);return n.length>0&&!r?(e.dispatchCommand(w,n),!0):!((0,i.vAA)(t.target)&&(0,i.Z$U)(t.target))&&null!==(0,i.vJq)()&&(t.preventDefault(),e.update(()=>{let n=(0,i.vJq)(),r=(0,l.xj)(t,InputEvent)||(0,l.xj)(t,KeyboardEvent)?null:t.clipboardData;null!=r&&null!==n&&a(r,n,e)},{tag:i.fwY}),!0)},i.jZM),e.registerCommand(i.Huu,e=>{let t=(0,i.vJq)();return(0,i.I2P)(t)&&L(t),!1},i.jZM),e.registerCommand(i.OXk,e=>{let t=(0,i.vJq)();return(0,i.I2P)(t)&&L(t),!1},i.jZM))}},97796:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},98293:(e,t,n)=>{"use strict";n.d(t,{l:()=>b});let r={}.hasOwnProperty,i={}.hasOwnProperty;var o=n(51852),l=n(76874),s=n(99229);let a=[function(e,t,n,r){if("code"===t.type&&(0,l.m)(t,r)&&("list"===e.type||e.type===t.type&&(0,l.m)(e,r)))return!1;if("spread"in n&&"boolean"==typeof n.spread){if("paragraph"===e.type&&(e.type===t.type||"definition"===t.type||"heading"===t.type&&(0,s.f)(t,r)))return;return+!!n.spread}}],u=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"],c=[{character:"	",after:"[\\r\\n]",inConstruct:"phrasing"},{character:"	",before:"[\\r\\n]",inConstruct:"phrasing"},{character:"	",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"\r",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:"\n",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:" ",after:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",before:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"!",after:"\\[",inConstruct:"phrasing",notInConstruct:u},{character:'"',inConstruct:"titleQuote"},{atBreak:!0,character:"#"},{character:"#",inConstruct:"headingAtx",after:"(?:[\r\n]|$)"},{character:"&",after:"[#A-Za-z]",inConstruct:"phrasing"},{character:"'",inConstruct:"titleApostrophe"},{character:"(",inConstruct:"destinationRaw"},{before:"\\]",character:"(",inConstruct:"phrasing",notInConstruct:u},{atBreak:!0,before:"\\d+",character:")"},{character:")",inConstruct:"destinationRaw"},{atBreak:!0,character:"*",after:"(?:[ 	\r\n*])"},{character:"*",inConstruct:"phrasing",notInConstruct:u},{atBreak:!0,character:"+",after:"(?:[ 	\r\n])"},{atBreak:!0,character:"-",after:"(?:[ 	\r\n-])"},{atBreak:!0,before:"\\d+",character:".",after:"(?:[ 	\r\n]|$)"},{atBreak:!0,character:"<",after:"[!/?A-Za-z]"},{character:"<",after:"[!/?A-Za-z]",inConstruct:"phrasing",notInConstruct:u},{character:"<",inConstruct:"destinationLiteral"},{atBreak:!0,character:"="},{atBreak:!0,character:">"},{character:">",inConstruct:"destinationLiteral"},{atBreak:!0,character:"["},{character:"[",inConstruct:"phrasing",notInConstruct:u},{character:"[",inConstruct:["label","reference"]},{character:"\\",after:"[\\r\\n]",inConstruct:"phrasing"},{character:"]",inConstruct:["label","reference"]},{atBreak:!0,character:"_"},{character:"_",inConstruct:"phrasing",notInConstruct:u},{atBreak:!0,character:"`"},{character:"`",inConstruct:["codeFencedLangGraveAccent","codeFencedMetaGraveAccent"]},{character:"`",inConstruct:"phrasing",notInConstruct:u},{atBreak:!0,character:"~"}];var d=n(86695);function h(e){return e.label||!e.identifier?e.label||"":(0,d.s)(e.identifier)}function f(e){if(!e._compiled){let t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}var p=n(64652);let g=/\r?\n|\r/g;function m(e,t){let n,r=[],i=0,o=0;for(;n=g.exec(e);)l(e.slice(i,n.index)),r.push(n[0]),i=n.index+n[0].length,o++;return l(e.slice(i)),r.join("");function l(e){r.push(t(e,o,!e))}}var O=n(25327);function y(e,t){return e-t}function v(e,t){let n,r=/\\(?=[!-/:-@[-`{-~])/g,i=[],o=[],l=e+t,s=-1,a=0;for(;n=r.exec(l);)i.push(n.index);for(;++s<i.length;)a!==i[s]&&o.push(e.slice(a,i[s])),o.push("\\"),a=i[s];return o.push(e.slice(a)),o.join("")}function x(e){let t=e||{},n=t.now||{},r=t.lineShift||0,i=n.line||1,o=n.column||1;return{move:function(e){let t=e||"",n=t.split(/\r?\n|\r/g),l=n[n.length-1];return i+=n.length-1,o=1===n.length?o+l.length:1+l.length+r,t},current:function(){return{now:{line:i,column:o},lineShift:r}},shift:function(e){r+=e}}}function b(e,t){let n={associationId:h,containerPhrasing:_,containerFlow:C,createTracker:x,compilePattern:f,enter:function(e){return n.stack.push(e),function(){n.stack.pop()}},handlers:{...o.p},handle:void 0,indentLines:m,indexStack:[],join:[...a],options:{},safe:P,stack:[],unsafe:[...c]};!function e(t,n){var r,o,l,s;let a,u=-1;if(n.extensions)for(;++u<n.extensions.length;)e(t,n.extensions[u]);for(a in n)if(i.call(n,a))switch(a){case"extensions":break;case"unsafe":case"join":r=t[a],(o=n[a])&&r.push(...o);break;case"handlers":l=t[a],(s=n[a])&&Object.assign(l,s);break;default:t.options[a]=n[a]}return t}(n,t||{}),n.options.tightDefinitions&&n.join.push(S),n.handle=function(e,t){let n=t||{};function i(t,...n){let o=i.invalid,l=i.handlers;if(t&&r.call(t,e)){let n=String(t[e]);o=r.call(l,n)?l[n]:i.unknown}if(o)return o.call(this,t,...n)}return i.handlers=n.handlers||{},i.invalid=n.invalid,i.unknown=n.unknown,i}("type",{invalid:w,unknown:k,handlers:n.handlers});let l=n.handle(e,void 0,n,{before:"\n",after:"\n",now:{line:1,column:1},lineShift:0});return l&&10!==l.charCodeAt(l.length-1)&&13!==l.charCodeAt(l.length-1)&&(l+="\n"),l}function w(e){throw Error("Cannot handle value `"+e+"`, expected node")}function k(e){throw Error("Cannot handle unknown node `"+e.type+"`")}function S(e,t){if("definition"===e.type&&e.type===t.type)return 0}function _(e,t){return function(e,t,n){let r,i=t.indexStack,o=e.children||[],l=[],s=-1,a=n.before;i.push(-1);let u=t.createTracker(n);for(;++s<o.length;){let c,d=o[s];if(i[i.length-1]=s,s+1<o.length){let n=t.handle.handlers[o[s+1].type];n&&n.peek&&(n=n.peek),c=n?n(o[s+1],e,t,{before:"",after:"",...u.current()}).charAt(0):""}else c=n.after;l.length>0&&("\r"===a||"\n"===a)&&"html"===d.type&&(l[l.length-1]=l[l.length-1].replace(/(\r?\n|\r)$/," "),a=" ",(u=t.createTracker(n)).move(l.join("")));let h=t.handle(d,e,t,{...u.current(),after:c,before:a});r&&r===h.slice(0,1)&&(h=(0,p.T)(r.charCodeAt(0))+h.slice(1));let f=t.attentionEncodeSurroundingInfo;t.attentionEncodeSurroundingInfo=void 0,r=void 0,f&&(l.length>0&&f.before&&a===l[l.length-1].slice(-1)&&(l[l.length-1]=l[l.length-1].slice(0,-1)+(0,p.T)(a.charCo
6deAt(0))),f.after&&(r=c)),u.move(h),l.push(h),a=h.slice(-1)}return i.pop(),l.join("")}(e,this,t)}function C(e,t){return function(e,t,n){let r=t.indexStack,i=e.children||[],o=t.createTracker(n),l=[],s=-1;for(r.push(-1);++s<i.length;){let n=i[s];r[r.length-1]=s,l.push(o.move(t.handle(n,e,t,{before:"\n",after:"\n",...o.current()}))),"list"!==n.type&&(t.bulletLastUsed=void 0),s<i.length-1&&l.push(o.move(function(e,t,n,r){let i=r.join.length;for(;i--;){let o=r.join[i](e,t,n,r);if(!0===o||1===o)break;if("number"==typeof o)return"\n".repeat(1+o);if(!1===o)return"\n\n\x3c!----\x3e\n\n"}return"\n\n"}(n,i[s+1],e,t)))}return r.pop(),l.join("")}(e,this,t)}function P(e,t){return function(e,t,n){let r=(n.before||"")+(t||"")+(n.after||""),i=[],o=[],l={},s=-1;for(;++s<e.unsafe.length;){let t,n=e.unsafe[s];if(!(0,O.q)(e.stack,n))continue;let o=e.compilePattern(n);for(;t=o.exec(r);){let e="before"in n||!!n.atBreak,r="after"in n,o=t.index+(e?t[1].length:0);i.includes(o)?(l[o].before&&!e&&(l[o].before=!1),l[o].after&&!r&&(l[o].after=!1)):(i.push(o),l[o]={before:e,after:r})}}i.sort(y);let a=n.before?n.before.length:0,u=r.length-(n.after?n.after.length:0);for(s=-1;++s<i.length;){let e=i[s];!(e<a)&&!(e>=u)&&(!(e+1<u)||i[s+1]!==e+1||!l[e].after||l[e+1].before||l[e+1].after)&&(i[s-1]!==e-1||!l[e].before||l[e-1].before||l[e-1].after)&&(a!==e&&o.push(v(r.slice(a,e),"\\")),a=e,!/[!-/:-@[-`{-~]/.test(r.charAt(e))||n.encode&&n.encode.includes(r.charAt(e))?(o.push((0,p.T)(r.charCodeAt(e))),a++):o.push("\\"))}return o.push(v(r.slice(a,u),n.after)),o.join("")}(this,e,t)}},98305:(e,t,n)=>{"use strict";n.d(t,{_:()=>a});var r=n(88732),i=n(6325),o=n(17493),l=n(44443),s=n(60665);let a=()=>{let e=(0,l.X3)(s.yr),t=(0,l.qM)(o.Yj),n=(0,s.Bd)(),a=(0,l.X3)(s.Nn);return i.createElement(r.gx,{title:n("toolbar.table","Insert Table"),onClick:()=>{t({rows:3,columns:3})},...a?{"aria-disabled":!0,"data-disabled":!0,disabled:!0}:{}},e("table"))}},98916:(e,t,n)=>{"use strict";n.d(t,{g:()=>p,Y:()=>g});var r=n(7814),i=n(78798),o=n(14725),l=n(6105),s=n(84544),a=n(6325);function u(){let[e]=(0,o.DF)();return(0,a.useEffect)(()=>e.registerCommand(i.s0,e=>{let t=(0,s.vJq)();if(!(0,s.I2P)(t))return!1;if(null!==t.focus.getNode()){let e=(0,i.PL)();(0,l.Pe)(e)}return!0},s.jZM),[e]),null}var c=n(44443),d=n(60665);let h={testLexicalNode:i.Hd,visitLexicalNode({actions:e}){e.addAndStepInto("thematicBreak")}},f={testNode:"thematicBreak",visitNode({actions:e}){e.addAndStepInto((0,i.PL)())}},p=(0,c.rc)(e=>{e.sub(e.pipe(p,(0,c.EY)(d.Cp)),([,e])=>{null==e||e.dispatchCommand(i.s0,void 0)})}),g=(0,r.Z)({init(e){e.pubIn({[d.$0]:"thematicBreak",[d.R1]:f,[d.q]:i.fS,[d.iI]:h,[d.aC]:u})}})},98930:(e,t,n)=>{"use strict";n.d(t,{Ar:()=>u,Bc:()=>ev,Gw:()=>es,OO:()=>e_,_5:()=>l,et:()=>a,wm:()=>ef,yU:()=>eS});var r=n(11877),i=n(84306),o=n(62221);class l{constructor(e,t,n,r){this.state=e,this.pos=t,this.explicit=n,this.view=r,this.abortListeners=[],this.abortOnDocChange=!1}tokenBefore(e){let t=(0,o.mv)(this.state).resolveInner(this.pos,-1);for(;t&&0>e.indexOf(t.name);)t=t.parent;return t?{from:t.from,to:this.pos,text:this.state.sliceDoc(t.from,this.pos),type:t.type}:null}matchBefore(e){let t=this.state.doc.lineAt(this.pos),n=Math.max(t.from,this.pos-250),r=t.text.slice(n-t.from,this.pos-t.from),i=r.search(h(e,!1));return i<0?null:{from:n+i,to:this.pos,text:r.slice(i)}}get aborted(){return null==this.abortListeners}addEventListener(e,t,n){"abort"==e&&this.abortListeners&&(this.abortListeners.push(t),n&&n.onDocChange&&(this.abortOnDocChange=!0))}}function s(e){let t=Object.keys(e).join(""),n=/\w/.test(t);return n&&(t=t.replace(/\w/g,"")),`[${n?"\\w":""}${t.replace(/[^\w\s]/g,"\\$&")}]`}function a(e){let t=e.map(e=>"string"==typeof e?{label:e}:e),[n,r]=t.every(e=>/^\w+$/.test(e.label))?[/\w*$/,/\w+$/]:function(e){let t=Object.create(null),n=Object.create(null);for(let{label:r}of e){t[r[0]]=!0;for(let e=1;e<r.length;e++)n[r[e]]=!0}let r=s(t)+s(n)+"*$";return[RegExp("^"+r),new RegExp(r)]}(t);return e=>{let i=e.matchBefore(r);return i||e.explicit?{from:i?i.from:e.pos,options:t,validFor:n}:null}}function u(e,t){return n=>{for(let t=(0,o.mv)(n.state).resolveInner(n.pos,-1);t;t=t.parent){if(e.indexOf(t.name)>-1)return null;if(t.type.isTop)break}return t(n)}}class c{constructor(e,t,n,r){this.completion=e,this.source=t,this.match=n,this.score=r}}function d(e){return e.selection.main.from}function h(e,t){var n;let{source:r}=e,i=t&&"^"!=r[0],o="$"!=r[r.length-1];return i||o?RegExp(`${i?"^":""}(?:${r})${o?"$":""}`,null!=(n=e.flags)?n:e.ignoreCase?"i":""):e}let f=r.YH.define(),p=new WeakMap;function g(e){if(!Array.isArray(e))return e;let t=p.get(e);return t||p.set(e,t=a(e)),t}let m=r.Pe.define(),O=r.Pe.define();class y{constructor(e){this.pattern=e,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[],this.score=0,this.matched=[];for(let t=0;t<e.length;){let n=(0,r.vS)(e,t),i=(0,r.Fh)(n);this.chars.push(n);let o=e.slice(t,t+i),l=o.toUpperCase();this.folded.push((0,r.vS)(l==o?o.toLowerCase():l,0)),t+=i}
6this.astral=e.length!=this.chars.length}ret(e,t){return this.score=e,this.matched=t,this}match(e){if(0==this.pattern.length)return this.ret(-100,[]);if(e.length<this.pattern.length)return null;let{chars:t,folded:n,any:i,precise:o,byWord:l}=this;if(1==t.length){let i=(0,r.vS)(e,0),o=(0,r.Fh)(i),l=o==e.length?0:-100;if(i==t[0]);else{if(i!=n[0])return null;l+=-200}return this.ret(l,[0,o])}let s=e.indexOf(this.pattern);if(0==s)return this.ret(e.length==this.pattern.length?0:-100,[0,this.pattern.length]);let a=t.length,u=0;if(s<0){for(let o=0,l=Math.min(e.length,200);o<l&&u<a;){let l=(0,r.vS)(e,o);(l==t[u]||l==n[u])&&(i[u++]=o),o+=(0,r.Fh)(l)}if(u<a)return null}let c=0,d=0,h=!1,f=0,p=-1,g=-1,m=/[a-z]/.test(e),O=!0;for(let i=0,u=Math.min(e.length,200),y=0;i<u&&d<a;){let u=(0,r.vS)(e,i);s<0&&(c<a&&u==t[c]&&(o[c++]=i),f<a&&(u==t[f]||u==n[f]?(0==f&&(p=i),g=i+1,f++):f=0));let v,x=u<255?u>=48&&u<=57||u>=97&&u<=122?2:+(u>=65&&u<=90):(v=(0,r.MK)(u))!=v.toLowerCase()?1:2*(v!=v.toUpperCase());(!i||1==x&&m||0==y&&0!=x)&&(t[d]==u||n[d]==u&&(h=!0)?l[d++]=i:l.length&&(O=!1)),y=x,i+=(0,r.Fh)(u)}return d==a&&0==l[0]&&O?this.result(-100+(h?-200:0),l,e):f==a&&0==p?this.ret(-200-e.length+(g==e.length?0:-100),[0,g]):s>-1?this.ret(-700-e.length,[s,s+this.pattern.length]):f==a?this.ret(-900-e.length,[p,g]):d==a?this.result(-100+(h?-200:0)+-700+(O?0:-1100),l,e):2==t.length?null:this.result((i[0]?-700:0)+-200+-1100,i,e)}result(e,t,n){let i=[],o=0;for(let e of t){let t=e+(this.astral?(0,r.Fh)((0,r.vS)(n,e)):1);o&&i[o-1]==e?i[o-1]=t:(i[o++]=e,i[o++]=t)}return this.ret(e-n.length,i)}}class v{constructor(e){this.pattern=e,this.matched=[],this.score=0,this.folded=e.toLowerCase()}match(e){if(e.length<this.pattern.length)return null;let t=e.slice(0,this.pattern.length),n=t==this.pattern?0:t.toLowerCase()==this.folded?-200:null;return null==n?null:(this.matched=[0,t.length],this.score=n+(e.length==this.pattern.length?0:-100),this)}}let x=r.sj.define({combine:e=>(0,r.QR)(e,{activateOnTyping:!0,activateOnCompletion:()=>!1,activateOnTypingDelay:100,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,tooltipClass:()=>"",optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],positionInfo:w,filterStrict:!1,compareCompletions:(e,t)=>(e.sortText||e.label).localeCompare(t.sortText||t.label),interactionDelay:75,updateSyncTime:100},{defaultKeymap:(e,t)=>e&&t,closeOnBlur:(e,t)=>e&&t,icons:(e,t)=>e&&t,tooltipClass:(e,t)=>n=>b(e(n),t(n)),optionClass:(e,t)=>n=>b(e(n),t(n)),addToOptions:(e,t)=>e.concat(t),filterStrict:(e,t)=>e||t})});function b(e,t){return e?t?e+" "+t:e:t}function w(e,t,n,r,o,l){let s=e.textDirection==i.OP.RTL,a=s,u=!1,c="top",d,h,f=t.left-o.left,p=o.right-t.right,g=r.right-r.left,m=r.bottom-r.top;if(a&&f<Math.min(g,p)?a=!1:!a&&p<Math.min(g,f)&&(a=!0),g<=(a?f:p))d=Math.max(o.top,Math.min(n.top,o.bottom-m))-t.top,h=Math.min(400,a?f:p);else{u=!0,h=Math.min(400,(s?t.right:o.right-t.left)-30);let e=o.bottom-t.bottom;e>=m||e>t.top?d=n.bottom-t.top:(c="bottom",d=t.bottom-n.top)}let O=(t.bottom-t.top)/l.offsetHeight,y=(t.right-t.left)/l.offsetWidth;return{style:`${c}: ${d/O}px; max-width: ${h/y}px`,class:"cm-completionInfo-"+(u?s?"left-narrow":"right-narrow":a?"left":"right")}}let k=r.Pe.define();function S(e,t,n){if(e<=n)return{from:0,to:e};if(t<0&&(t=0),t<=e>>1){let e=Math.floor(t/n);return{from:e*n,to:(e+1)*n}}let r=Math.ceil((e-t)/n);return{from:e-r*n,to:e-(r-1)*n}}class _{constructor(e,t,n){this.view=e,this.stateField=t,this.applyCompletion=n,this.info=null,this.infoDestroy=null,this.placeInfoReq={read:()=>this.measureInfo(),write:e=>this.placeInfo(e),key:this},this.space=null,this.currentClass="";let r=e.state.field(t),{options:i,selected:o}=r.open,l=e.state.facet(x);this.optionContent=function(e){let t=e.addToOptions.slice();return e.icons&&t.push({render(e){let t=document.createElement("div");return t.classList.add("cm-completionIcon"),e.type&&t.classList.add(...e.type.split(/\s+/g).map(e=>"cm-completionIcon-"+e)),t.setAttribute("aria-hidden","true"),t},position:20}),t.push({render(e,t,n,r){let i=document.createElement("span");
6i.className="cm-completionLabel";let o=e.displayLabel||e.label,l=0;for(let e=0;e<r.length;){let t=r[e++],n=r[e++];t>l&&i.appendChild(document.createTextNode(o.slice(l,t)));let s=i.appendChild(document.createElement("span"));s.appendChild(document.createTextNode(o.slice(t,n))),s.className="cm-completionMatchedText",l=n}return l<o.length&&i.appendChild(document.createTextNode(o.slice(l))),i},position:50},{render(e){if(!e.detail)return null;let t=document.createElement("span");return t.className="cm-completionDetail",t.textContent=e.detail,t},position:80}),t.sort((e,t)=>e.position-t.position).map(e=>e.render)}(l),this.optionClass=l.optionClass,this.tooltipClass=l.tooltipClass,this.range=S(i.length,o,l.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.updateTooltipClass(e.state),this.dom.addEventListener("mousedown",n=>{let{options:r}=e.state.field(t).open;for(let t=n.target,i;t&&t!=this.dom;t=t.parentNode)if("LI"==t.nodeName&&(i=/-(\d+)$/.exec(t.id))&&+i[1]<r.length){this.applyCompletion(e,r[+i[1]]),n.preventDefault();return}if(n.target==this.list){let t=this.list.classList.contains("cm-completionListIncompleteTop")&&n.clientY<this.list.firstChild.getBoundingClientRect().top?this.range.from-1:this.list.classList.contains("cm-completionListIncompleteBottom")&&n.clientY>this.list.lastChild.getBoundingClientRect().bottom?this.range.to:null;null!=t&&(e.dispatch({effects:k.of(t)}),n.preventDefault())}}),this.dom.addEventListener("focusout",t=>{let n=e.state.field(this.stateField,!1);n&&n.tooltip&&e.state.facet(x).closeOnBlur&&t.relatedTarget!=e.contentDOM&&e.dispatch({effects:O.of(null)})}),this.showOptions(i,r.id)}mount(){this.updateSel()}showOptions(e,t){this.list&&this.list.remove(),this.list=this.dom.appendChild(this.createListBox(e,t,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfoReq)})}update(e){var t;let n=e.state.field(this.stateField),r=e.startState.field(this.stateField);if(this.updateTooltipClass(e.state),n!=r){let{options:i,selected:o,disabled:l}=n.open;r.open&&r.open.options==i||(this.range=S(i.length,o,e.state.facet(x).maxRenderedOptions),this.showOptions(i,n.id)),this.updateSel(),l!=(null==(t=r.open)?void 0:t.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!l)}}updateTooltipClass(e){let t=this.tooltipClass(e);if(t!=this.currentClass){for(let e of this.currentClass.split(" "))e&&this.dom.classList.remove(e);for(let e of t.split(" "))e&&this.dom.classList.add(e);this.currentClass=t}}positioned(e){this.space=e,this.info&&this.view.requestMeasure(this.placeInfoReq)}updateSel(){let e=this.view.state.field(this.stateField),t=e.open;(t.selected>-1&&t.selected<this.range.from||t.selected>=this.range.to)&&(this.range=S(t.options.length,t.selected,this.view.state.facet(x).maxRenderedOptions),this.showOptions(t.options,e.id));let n=this.updateSelectedOption(t.selected);if(n){this.destroyInfo();
6let{completion:r}=t.options[t.selected],{info:o}=r;if(!o)return;let l="string"==typeof o?document.createTextNode(o):o(r);if(!l)return;"then"in l?l.then(t=>{t&&this.view.state.field(this.stateField,!1)==e&&this.addInfoPane(t,r)}).catch(e=>(0,i.c_)(this.view.state,e,"completion info")):(this.addInfoPane(l,r),n.setAttribute("aria-describedby",this.info.id))}}addInfoPane(e,t){this.destroyInfo();let n=this.info=document.createElement("div");if(n.className="cm-tooltip cm-completionInfo",n.id="cm-completionInfo-"+Math.floor(65535*Math.random()).toString(16),null!=e.nodeType)n.appendChild(e),this.infoDestroy=null;else{let{dom:t,destroy:r}=e;n.appendChild(t),this.infoDestroy=r||null}this.dom.appendChild(n),this.view.requestMeasure(this.placeInfoReq)}updateSelectedOption(e){var t,n;let r,i,o,l=null;for(let t=this.list.firstChild,n=this.range.from;t;t=t.nextSibling,n++)"LI"==t.nodeName&&t.id?n==e?t.hasAttribute("aria-selected")||(t.setAttribute("aria-selected","true"),l=t):t.hasAttribute("aria-selected")&&(t.removeAttribute("aria-selected"),t.removeAttribute("aria-describedby")):n--;return l&&(t=this.list,n=l,r=t.getBoundingClientRect(),i=n.getBoundingClientRect(),o=r.height/t.offsetHeight,i.top<r.top?t.scrollTop-=(r.top-i.top)/o:i.bottom>r.bottom&&(t.scrollTop+=(i.bottom-r.bottom)/o)),l}measureInfo(){let e=this.dom.querySelector("[aria-selected]");if(!e||!this.info)return null;let t=this.dom.getBoundingClientRect(),n=this.info.getBoundingClientRect(),r=e.getBoundingClientRect(),i=this.space;if(!i){let e=this.dom.ownerDocument.documentElement;i={left:0,top:0,right:e.clientWidth,bottom:e.clientHeight}}return r.top>Math.min(i.bottom,t.bottom)-10||r.bottom<Math.max(i.top,t.top)+10?null:this.view.state.facet(x).positionInfo(this.view,t,r,n,i,this.dom)}placeInfo(e){this.info&&(e?(e.style&&(this.info.style.cssText=e.style),this.info.className="cm-tooltip cm-completionInfo "+(e.class||"")):this.info.style.cssText="top: -1e6px")}createListBox(e,t,n){let r=document.createElement("ul");r.id=t,r.setAttribute("role","listbox"),r.setAttribute("aria-expanded","true"),r.setAttribute("aria-label",this.view.state.phrase("Completions")),r.addEventListener("mousedown",e=>{e.target==r&&e.preventDefault()});let i=null;for(let o=n.from;o<n.to;o++){let{completion:l,match:s}=e[o],{section:a}=l;if(a){let e="string"==typeof a?a:a.name;e!=i&&(o>n.from||0==n.from)&&(i=e,"string"!=typeof a&&a.header?r.appendChild(a.header(a)):r.appendChild(document.createElement("completion-section")).textContent=e)}let u=r.appendChild(document.createElement("li"));u.id=t+"-"+o,u.setAttribute("role","option");let c=this.optionClass(l);for(let e of(c&&(u.className=c),this.optionContent)){let t=e(l,this.view.state,this.view,s);t&&u.appendChild(t)}}return n.from&&r.classList.add("cm-completionListIncompleteTop"),n.to<e.length&&r.classList.add("cm-completionListIncompleteBottom"),r}destroyInfo(){this.info&&(this.infoDestroy&&this.infoDestroy(),this.info.remove(),this.info=null)}destroy(){this.destroyInfo()}}function C(e){return 100*(e.boost||0)+10*!!e.apply+5*!!e.info+ +!!e.type}class P{constructor(e,t,n,r,i,o){this.options=e,this.attrs=t,this.tooltip=n,this.timestamp=r,this.selected=i,this.disabled=o}setSelected(e,t){return e==this.selected||e>=this.options.length?this:new P(this.options,A(t,e),this.tooltip,this.timestamp,e,this.disabled)}static build(e,t,n,r,i,o){if(r&&!o&&e.some(e=>e.isPending))return r.setDisabled();let l=function(e,t){let n=[],r=null,i=null,o=e=>{n.push(e);let{section:t}=e.completion;if(t){r||(r=[]);let e="string"==typeof t?t:t.name;r.some(t=>t.name==e)||r.push("string"==typeof t?{name:e}:t)}},l=t.facet(x);for(let r of e)if(r.hasResult()){let e=r.result.getMatch;if(!1===r.result.filter)for(let t of r.result.options)o(new c(t,r.source,e?e(t):[],1e9-n.length));else{let n=t.sliceDoc(r.from,r.to),s,a=l.filterStrict?new v(n):new y(n);for(let t of r.result.options)if(s=a.match(t.label)){let n=t.displayLabel?e?e(t,s.matched):[]:s.matched,l=s.score+(t.boost||0);if(o(new c(t,r.source,n,l)),"object"==typeof t.section&&"dynamic"===t.section.rank){let{name:e}=t.section;i||(i=Object.create(null)),i[e]=Math.max(l,i[e]||-1e9)}}}}if(r){let e=Object.create(null),t=0;for(let n of r.sort((e,t)=>
6("dynamic"===e.rank&&"dynamic"===t.rank?i[t.name]-i[e.name]:0)||("number"==typeof e.rank?e.rank:1e9)-("number"==typeof t.rank?t.rank:1e9)||(e.name<t.name?-1:1)))t-=1e5,e[n.name]=t;for(let t of n){let{section:n}=t.completion;n&&(t.score+=e["string"==typeof n?n:n.name])}}let s=[],a=null,u=l.compareCompletions;for(let e of n.sort((e,t)=>t.score-e.score||u(e.completion,t.completion))){let t=e.completion;a&&a.label==t.label&&a.detail==t.detail&&(null==a.type||null==t.type||a.type==t.type)&&a.apply==t.apply&&a.boost==t.boost?C(e.completion)>C(a)&&(s[s.length-1]=e):s.push(e),a=e.completion}return s}(e,t);if(!l.length)return r&&e.some(e=>e.isPending)?r.setDisabled():null;let s=t.facet(x).selectOnOpen?0:-1;if(r&&r.selected!=s&&-1!=r.selected){let e=r.options[r.selected].completion;for(let t=0;t<l.length;t++)if(l[t].completion==e){s=t;break}}return new P(l,A(n,s),{pos:e.reduce((e,t)=>t.hasResult()?Math.min(e,t.from):e,1e8),create:j,above:i.aboveCursor},r?r.timestamp:Date.now(),s,!1)}map(e){return new P(this.options,this.attrs,{...this.tooltip,pos:e.mapPos(this.tooltip.pos)},this.timestamp,this.selected,this.disabled)}setDisabled(){return new P(this.options,this.attrs,this.tooltip,this.timestamp,this.selected,!0)}}class T{constructor(e,t,n){this.active=e,this.id=t,this.open=n}static start(){return new T(E,"cm-ac-"+Math.floor(2e6*Math.random()).toString(36),null)}update(e){let{state:t}=e,n=t.facet(x),r=(n.override||t.languageDataAt("autocomplete",d(t)).map(g)).map(t=>(this.active.find(e=>e.source==t)||new N(t,+!!this.active.some(e=>0!=e.state))).update(e,n));r.length==this.active.length&&r.every((e,t)=>e==this.active[t])&&(r=this.active);let i=this.open,o=e.effects.some(e=>e.is(M));for(let l of(i&&e.docChanged&&(i=i.map(e.changes)),e.selection||r.some(t=>t.hasResult()&&e.changes.touchesRange(t.from,t.to))||!function(e,t){if(e==t)return!0;for(let n=0,r=0;;){for(;n<e.length&&!e[n].hasResult();)n++;for(;r<t.length&&!t[r].hasResult();)r++;let i=n==e.length,o=r==t.length;if(i||o)return i==o;if(e[n++].result!=t[r++].result)return!1}}(r,this.active)||o?i=P.build(r,t,this.id,i,n,o):i&&i.disabled&&!r.some(e=>e.isPending)&&(i=null),!i&&r.every(e=>!e.isPending)&&r.some(e=>e.hasResult())&&(r=r.map(e=>e.hasResult()?new N(e.source,0):e)),e.effects))l.is(k)&&(i=i&&i.setSelected(l.value,this.id));return r==this.active&&i==this.open?this:new T(r,this.id,i)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:this.active.length?Q:$}}let Q={"aria-autocomplete":"list"},$={};function A(e,t){let n={"aria-autocomplete":"list","aria-haspopup":"listbox","aria-controls":e};return t>-1&&(n["aria-activedescendant"]=e+"-"+t),n}let E=[];function R(e,t){if(e.isUserEvent("input.complete")){let n=e.annotation(f);if(n&&t.activateOnCompletion(n))return 12}let n=e.isUserEvent("input.type");return n&&t.activateOnTyping?5:n?1:e.isUserEvent("delete.backward")?2:e.selection?8:16*!!e.docChanged}class N{constructor(e,t,n=!1){this.source=e,this.state=t,this.explicit=n}hasResult(){return!1}get isPending(){return 1==this.state}update(e,t){let n=R(e,t),r=this;for(let t of((8&n||16&n&&this.touches(e))&&(r=new N(r.source,0)),4&n&&0==r.state&&(r=new N(this.source,1)),r=r.updateFor(e,n),e.effects))if(t.is(m))r=new N(r.source,1,t.value);else if(t.is(O))r=new N(r.source,0);else if(t.is(M))for(let e of t.value)e.source==r.source&&(r=e);return r}updateFor(e,t){return this.map(e.changes)}map(e){return this}touches(e){return e.changes.touchesRange(d(e.state))}}class L extends N{constructor(e,t,n,r,i,o){super(e,3,t),this.limit=n,this.result=r,this.from=i,this.to=o}hasResult(){return!0}updateFor(e,t){var n;if(!(3&t))return this.map(e.changes);let r=this.result;r.map&&!e.changes.empty&&(r=r.map(r,e.changes));let i=e.changes.mapPos(this.from),o=e.changes.mapPos(this.to,1),s=d(e.state);if(s>o||!r||2&t&&(d(e.startState)==this.from||s<this.limit))return new N(this.source,4&t?1:0);let a=e.changes.mapPos(this.limit);return!function(e,t,n,r){if(!e)return!1;let i=t.sliceDoc(n,r);return"function"==typeof e?e(i,n,r,t):h(e,!0).test(i)}(r.validFor,e.state,i,o)?r.update&&(r=r.update(r,i,o,new l(e.state,s,!1)))?new L(this.source,this.explicit,a,r,r.from,null!=(n=r.to)?n:d(e.state)):new N(this.source,1,this.explicit):new L(this.source,this.explicit,a,r,i,o)}map(e){if(e.empty)return this;let t=this.result.map?this.result.map(this.result,e):this.result;return t?new L(this.source,this.explicit,e.mapPos(this.limit),t,e.mapPos(this.from),e.mapPos(this.to,1)):new N(this.source,0)}touches(e){return e.changes.touchesRange(this.from,this.to)}}let M=r.Pe.define({map:(e,t)=>e.map(e=>e.map(t))}),Z=r.sU.define({create:()=>T.start(),update:(e,t)=>
6e.update(t),provide:e=>[i.DK.from(e,e=>e.tooltip),i.Lz.contentAttributes.from(e,e=>e.attrs)]});function I(e,t){let n=t.completion.apply||t.completion.label,i=e.state.field(Z).active.find(e=>e.source==t.source);return i instanceof L&&("string"==typeof n?e.dispatch({...function(e,t,n,i){let{main:o}=e.selection,l=n-o.from,s=i-o.from;return{...e.changeByRange(a=>{if(a!=o&&n!=i&&e.sliceDoc(a.from+l,a.from+s)!=e.sliceDoc(n,i))return{range:a};let u=e.toText(t);return{changes:{from:a.from+l,to:i==o.from?a.to:a.from+s,insert:u},range:r.OF.cursor(a.from+l+u.length)}}),scrollIntoView:!0,userEvent:"input.complete"}}(e.state,n,i.from,i.to),annotations:f.of(t.completion)}):n(e,t.completion,i.from,i.to),!0)}let j=e=>new _(e,Z,I);function X(e,t="option"){return n=>{let r=n.state.field(Z,!1);if(!r||!r.open||r.open.disabled||Date.now()-r.open.timestamp<n.state.facet(x).interactionDelay)return!1;let o=1,l;"page"==t&&(l=(0,i.Eg)(n,r.open.tooltip))&&(o=Math.max(2,Math.floor(l.dom.offsetHeight/l.dom.querySelector("li").offsetHeight)-1));let{length:s}=r.open.options,a=r.open.selected>-1?r.open.selected+o*(e?1:-1):e?0:s-1;return a<0?a="page"==t?0:s-1:a>=s&&(a="page"==t?s-1:0),n.dispatch({effects:k.of(a)}),!0}}let D=e=>!!e.state.field(Z,!1)&&(e.dispatch({effects:m.of(!0)}),!0);class V{constructor(e,t){this.active=e,this.context=t,this.time=Date.now(),this.updates=[],this.done=void 0}}let F=i.Z9.fromClass(class{constructor(e){for(let t of(this.view=e,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.pendingStart=!1,this.composing=0,e.state.field(Z).active))t.isPending&&this.startQuery(t)}update(e){let t=e.state.field(Z),n=e.state.facet(x);if(!e.selectionSet&&!e.docChanged&&e.startState.field(Z)==t)return;let r=e.transactions.some(e=>{let t=R(e,n);return 8&t||(e.selection||e.docChanged)&&!(3&t)});for(let t=0;t<this.running.length;t++){let n=this.running[t];if(r||n.context.abortOnDocChange&&e.docChanged||n.updates.length+e.transactions.length>50&&Date.now()-n.time>1e3){for(let e of n.context.abortListeners)try{e()}catch(e){(0,i.c_)(this.view.state,e)}n.context.abortListeners=null,this.running.splice(t--,1)}else n.updates.push(...e.transactions)}this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),e.transactions.some(e=>e.effects.some(e=>e.is(m)))&&(this.pendingStart=!0);let o=this.pendingStart?50:n.activateOnTypingDelay;if(this.debounceUpdate=t.active.some(e=>e.isPending&&!this.running.some(t=>t.active.source==e.source))?setTimeout(()=>this.startUpdate(),o):-1,0!=this.composing)for(let t of e.transactions)t.isUserEvent("input.type")?this.composing=2:2==this.composing&&t.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1,this.pendingStart=!1;let{state:e}=this.view,t=e.field(Z);for(let e of t.active)e.isPending&&!this.running.some(t=>t.active.source==e.source)&&this.startQuery(e);this.running.length&&t.open&&t.open.disabled&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(x).updateSyncTime))}startQuery(e){let{state:t}=this.view,n=d(t),r=new l(t,n,e.explicit,this.view),o=new V(e,r);this.running.push(o),Promise.resolve(e.source(r)).then(e=>{o.context.aborted||(o.done=e||null,this.scheduleAccept())},e=>{this.view.dispatch({effects:O.of(null)}),(0,i.c_)(this.view.state,e)})}scheduleAccept(){this.running.every(e=>void 0!==e.done)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(x).updateSyncTime))}accept(){var e;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let t=[],n=this.view.state.facet(x),r=this.view.state.field(Z);for(let i=0;i<this.running.length;i++){let o=this.running[i];if(void 0===o.done)continue;if(this.running.splice(i--,1),o.done){let r=d(o.updates.length?o.updates[0].startState:this.view.state),i=Math.min(r,o.done.from+ +!o.active.explicit),l=new L(o.active.source,o.active.explicit,i,o.done,o.done.from,null!=(e=o.done.to)?e:r);for(let e of o.updates)l=l.update(e,n);if(l.hasResult()){t.push(l);continue}}let l=r.active.find(e=>e.source==o.active.source);if(l&&l.isPending)if(null==o.done){let e=new N(o.active.source,0);for(let t of o.updates)e=e.update(t,n);e.isPending||t.push(e)}else this.startQuery(l)}(t.length||r.open&&r.open.disabled)&&this.view.dispatch({effects:M.of(t)})}},{eventHandlers:{blur(e){let t=this.view.state.field(Z,!1);if(t&&t.tooltip&&this.view.state.facet(x).closeOnBlur){let n=t.open&&(0,i.Eg)(this.view,t.open.tooltip);n&&n.dom.contains(e.relatedTarget)||setTimeout(()=>this.view.dispatch({effects:O.of(null)}),10)}},compositionstart(){this.composing=1},compositionend(){3==this.composing&&setTimeout(()=>this.view.dispatch({effects:m.of(!1)}),20),this.composing=0}}}),z="object"==typeof navigator&&/Win/.test(navigator.platform),B=r.Nb.highest(i.Lz.domEventHandlers({ke
6ydown(e,t){let n=t.state.field(Z,!1);if(!n||!n.open||n.open.disabled||n.open.selected<0||e.key.length>1||e.ctrlKey&&!(z&&e.altKey)||e.metaKey)return!1;let r=n.open.options[n.open.selected],i=n.active.find(e=>e.source==r.source),o=r.completion.commitCharacters||i.result.commitCharacters;return o&&o.indexOf(e.key)>-1&&I(t,r),!1}})),W=i.Lz.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",height:"100%",listStyle:"none",margin:0,padding:0,"& > li, & > completion-section":{padding:"1px 3px",lineHeight:1.2},"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer"},"& > completion-section":{display:"list-item",borderBottom:"1px solid silver",paddingLeft:"0.5em",opacity:.7}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#777"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#444"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"\xb7\xb7\xb7"',opacity:.5,display:"block",textAlign:"center",cursor:"pointer"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"400px",boxSizing:"border-box",whiteSpace:"pre-line"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:"30px"},".cm-completionInfo.cm-completionInfo-right-narrow":{left:"30px"},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6",boxSizing:"content-box"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'ƒ'"}},".cm-completionIcon-class":{"&:after":{content:"'○'"}},".cm-completionIcon-interface":{"&:after":{content:"'◌'"}},".cm-completionIcon-variable":{"&:after":{content:"'\uD835\uDC65'"}},".cm-completionIcon-constant":{"&:after":{content:"'\uD835\uDC36'"}},".cm-completionIcon-type":{"&:after":{content:"'\uD835\uDC61'"}},".cm-completionIcon-enum":{"&:after":{content:"'∪'"}},".cm-completionIcon-property":{"&:after":{content:"'□'"}},".cm-completionIcon-keyword":{"&:after":{content:"'\uD83D\uDD11︎'"}},".cm-completionIcon-namespace":{"&:after":{content:"'▢'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}});class Y{constructor(e,t,n,r){this.field=e,this.line=t,this.from=n,this.to=r}}class q{constructor(e,t,n){this.field=e,this.from=t,this.to=n}map(e){let t=e.mapPos(this.from,-1,r.iR.TrackDel),n=e.mapPos(this.to,1,r.iR.TrackDel);return null==t||null==n?null:new q(this.field,t,n)}}class U{constructor(e,t){this.lines=e,this.fieldPositions=t}instantiate(e,t){let n=[],r=[t],i=e.doc.lineAt(t),l=/^\s*/.exec(i.text)[0];for(let i of this.lines){if(n.length){let n=l,s=/^\t*/.exec(i)[0].length;for(let t=0;t<s;t++)n+=e.facet(o.Xt);r.push(t+n.length-s),i=n+i.slice(s)}n.push(i),t+=i.length+1}return{text:n,ranges:this.fieldPositions.map(e=>new q(e.field,r[e.line]+e.from,r[e.line]+e.to))}}static parse(e){let t=[],n=[],r=[],i;for(let o of e.split(/\r\n?|\n/)){for(;i=/[#$]\{(?:(\d+)(?::([^{}]*))?|((?:\\[{}]|[^{}])*))\}/.exec(o);){let e=i[1]?+i[1]:null,l=i[2]||i[3]||"",s=-1;0===e&&(e=1e9);let a=l.replace(/\\[{}]/g,e=>e[1]);for(let n=0;n<t.length;n++)(null!=e?t[n].seq==e:a&&t[n].name==a)&&(s=n);if(s<0){let n=0;for(;n<t.length&&(null==e||null!=t[n].seq&&t[n].seq<e);)n++;for(let i of(t.splice(n,0,{seq:e,name:a}),s=n,r))i.field>=s&&i.field++}for(let e of r)if(e.line==n.length&&e.from>i.index){let t=i[2]?3+(i[1]||"").length:2;e.from-=t,e.to-=t}r.push(new Y(s,n.length,i.index,i.index+a.length)),o=o.slice(0,i.index)+l+o.slice(i.index+i[0].length)}o=o.replace(/\\([{}])/g,(e,t,i)=>{for(let e of r)e.line==n.length&&e.from>i&&(e.from--,e.to--);return t}),n.push(o)}return new U(n,r)}}let G=i.NZ.widget({widget:new class extends i.xO{toDOM(){let e=document.createElement("span");
6return e.className="cm-snippetFieldPosition",e}ignoreEvent(){return!1}}}),H=i.NZ.mark({class:"cm-snippetField"});class J{constructor(e,t){this.ranges=e,this.active=t,this.deco=i.NZ.set(e.map(e=>(e.from==e.to?G:H).range(e.from,e.to)),!0)}map(e){let t=[];for(let n of this.ranges){let r=n.map(e);if(!r)return null;t.push(r)}return new J(t,this.active)}selectionInsideField(e){return e.ranges.every(e=>this.ranges.some(t=>t.field==this.active&&t.from<=e.from&&t.to>=e.to))}}let K=r.Pe.define({map:(e,t)=>e&&e.map(t)}),ee=r.Pe.define(),et=r.sU.define({create:()=>null,update(e,t){for(let n of t.effects){if(n.is(K))return n.value;if(n.is(ee)&&e)return new J(e.ranges,n.value)}return e&&t.docChanged&&(e=e.map(t.changes)),e&&t.selection&&!e.selectionInsideField(t.selection)&&(e=null),e},provide:e=>i.Lz.decorations.from(e,e=>e?e.deco:i.NZ.none)});function en(e,t){return r.OF.create(e.filter(e=>e.field==t).map(e=>r.OF.range(e.from,e.to)))}function er(e){return({state:t,dispatch:n})=>{let r=t.field(et,!1);if(!r||e<0&&0==r.active)return!1;let i=r.active+e,o=e>0&&!r.ranges.some(t=>t.field==i+e);return n(t.update({selection:en(r.ranges,i),effects:K.of(o?null:new J(r.ranges,i)),scrollIntoView:!0})),!0}}let ei=[{key:"Tab",run:er(1),shift:er(-1)},{key:"Escape",run:({state:e,dispatch:t})=>!!e.field(et,!1)&&(t(e.update({effects:K.of(null)})),!0)}],eo=r.sj.define({combine:e=>e.length?e[0]:ei}),el=r.Nb.highest(i.w4.compute([eo],e=>e.facet(eo)));function es(e,t){let n;return{...t,apply:(n=U.parse(e),(e,t,i,o)=>{let{text:l,ranges:s}=n.instantiate(e.state,i),{main:a}=e.state.selection,u={changes:{from:i,to:o==a.from?a.to:o,insert:r.EY.of(l)},scrollIntoView:!0,annotations:t?[f.of(t),r.ZX.userEvent.of("input.complete")]:void 0};if(s.length&&(u.selection=en(s,0)),s.some(e=>e.field>0)){let t=new J(s,0),n=u.effects=[K.of(t)];void 0===e.state.field(et,!1)&&n.push(r.Pe.appendConfig.of([et,el,ea,W]))}e.dispatch(e.state.update(u))})}}let ea=i.Lz.domEventHandlers({mousedown(e,t){let n=t.state.field(et,!1),r;if(!n||null==(r=t.posAtCoords({x:e.clientX,y:e.clientY})))return!1;let i=n.ranges.find(e=>e.from<=r&&e.to>=r);return!!i&&i.field!=n.active&&(t.dispatch({selection:en(n.ranges,i.field),effects:K.of(n.ranges.some(e=>e.field>i.field)?new J(n.ranges,i.field):null),scrollIntoView:!0}),!0)}}),eu={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},ec=r.Pe.define({map(e,t){let n=t.mapPos(e,-1,r.iR.TrackAfter);return null==n?void 0:n}}),ed=new class extends r.FB{};ed.startSide=1,ed.endSide=-1;let eh=r.sU.define({create:()=>r.om.empty,update(e,t){if(e=e.map(t.changes),t.selection){let n=t.state.doc.lineAt(t.selection.main.head);e=e.update({filter:e=>e>=n.from&&e<=n.to})}for(let n of t.effects)n.is(ec)&&(e=e.update({add:[ed.range(n.value,n.value+1)]}));return e}});function ef(){return[ey,eh]}let ep="()[]{}<>\xab\xbb\xbb\xab[]{}";function eg(e){for(let t=0;t<ep.length;t+=2)if(ep.charCodeAt(t)==e)return ep.charAt(t+1);return(0,r.MK)(e<128?e:e+1)}function em(e,t){return e.languageDataAt("closeBrackets",t)[0]||eu}let eO="object"==typeof navigator&&/Android\b/.test(navigator.userAgent),ey=i.Lz.inputHandler.of((e,t,n,i)=>{if((eO?e.composing:e.compositionStarted)||e.state.readOnly)return!1;let l=e.state.selection.main;if(i.length>2||2==i.length&&1==(0,r.Fh)((0,r.vS)(i,0))||t!=l.from||n!=l.to)return!1;let s=function(e,t){let n=em(e,e.selection.main.head),i=n.brackets||eu.brackets;for(let l of i){let s=eg((0,r.vS)(l,0));if(t==l)return s==l?function(e,t,n,i){let l=i.stringPrefixes||eu.stringPrefixes,s=null,a=e.changeByRange(i=>{if(!i.empty)return{changes:[{insert:t,from:i.from},{insert:t,from:i.to}],effects:ec.of(i.to+t.length),range:r.OF.range(i.anchor+t.length,i.head+t.length)};let a=i.head,u=eb(e.doc,a),c;if(u==t){if(ew(e,a))return{changes:{insert:t+t,from:a},effects:ec.of(a+t.length),range:r.OF.cursor(a+t.length)};else if(ex(e,a)){let i=n&&e.sliceDoc(a,a+3*t.length)==t+t+t?t+t+t:t;return{changes:{from:a,to:a+i.length,insert:i},range:r.OF.cursor(a+i.length)}}}else if(n&&e.sliceDoc(a-2*t.length,a)==t+t&&(c=ek(e,a-2*t.length,l))>-1&&ew(e,c))return{changes:{insert:t+t+t+t,from:a}
6,effects:ec.of(a+t.length),range:r.OF.cursor(a+t.length)};else if(e.charCategorizer(a)(u)!=r.Je.Word&&ek(e,a,l)>-1&&!function(e,t,n,r){let i=(0,o.mv)(e).resolveInner(t,-1),l=r.reduce((e,t)=>Math.max(e,t.length),0);for(let o=0;o<5;o++){let o=e.sliceDoc(i.from,Math.min(i.to,i.from+n.length+l)),s=o.indexOf(n);if(!s||s>-1&&r.indexOf(o.slice(0,s))>-1){let t=i.firstChild;for(;t&&t.from==i.from&&t.to-t.from>n.length+s;){if(e.sliceDoc(t.to-n.length,t.to)==n)return!1;t=t.firstChild}return!0}let a=i.to==t&&i.parent;if(!a)break;i=a}return!1}(e,a,t,l))return{changes:{insert:t+t,from:a},effects:ec.of(a+t.length),range:r.OF.cursor(a+t.length)};return{range:s=i}});return s?null:e.update(a,{scrollIntoView:!0,userEvent:"input.type"})}(e,l,i.indexOf(l+l+l)>-1,n):function(e,t,n,i){let o=null,l=e.changeByRange(l=>{if(!l.empty)return{changes:[{insert:t,from:l.from},{insert:n,from:l.to}],effects:ec.of(l.to+t.length),range:r.OF.range(l.anchor+t.length,l.head+t.length)};let s=eb(e.doc,l.head);return!s||/\s/.test(s)||i.indexOf(s)>-1?{changes:{insert:t+n,from:l.head},effects:ec.of(l.head+t.length),range:r.OF.cursor(l.head+t.length)}:{range:o=l}});return o?null:e.update(l,{scrollIntoView:!0,userEvent:"input.type"})}(e,l,s,n.before||eu.before);if(t==s&&ex(e,e.selection.main.from))return function(e,t,n){let i=null,o=e.changeByRange(t=>t.empty&&eb(e.doc,t.head)==n?{changes:{from:t.head,to:t.head+n.length,insert:n},range:r.OF.cursor(t.head+n.length)}:i={range:t});return i?null:e.update(o,{scrollIntoView:!0,userEvent:"input.type"})}(e,0,s)}return null}(e.state,i);return!!s&&(e.dispatch(s),!0)}),ev=[{key:"Backspace",run:({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=em(e,e.selection.main.head).brackets||eu.brackets,i=null,o=e.changeByRange(t=>{if(t.empty){let i=function(e,t){let n=e.sliceString(t-2,t);return(0,r.Fh)((0,r.vS)(n,0))==n.length?n:n.slice(1)}(e.doc,t.head);for(let o of n)if(o==i&&eb(e.doc,t.head)==eg((0,r.vS)(o,0)))return{changes:{from:t.head-o.length,to:t.head+o.length},range:r.OF.cursor(t.head-o.length)}}return{range:i=t}});return i||t(e.update(o,{scrollIntoView:!0,userEvent:"delete.backward"})),!i}}];function ex(e,t){let n=!1;return e.field(eh).between(0,e.doc.length,e=>{e==t&&(n=!0)}),n}function eb(e,t){let n=e.sliceString(t,t+2);return n.slice(0,(0,r.Fh)((0,r.vS)(n,0)))}function ew(e,t){let n=(0,o.mv)(e).resolveInner(t+1);return n.parent&&n.from==t}function ek(e,t,n){let i=e.charCategorizer(t);if(i(e.sliceDoc(t-1,t))!=r.Je.Word)return t;for(let o of n){let n=t-o.length;if(e.sliceDoc(n,t)==o&&i(e.sliceDoc(n-1,n))!=r.Je.Word)return n}return -1}function eS(e={}){return[B,Z,x.of(e),F,eC,W]}let e_=[{key:"Ctrl-Space",run:D},{mac:"Alt-`",run:D},{mac:"Alt-i",run:D},{key:"Escape",run:e=>{let t=e.state.field(Z,!1);return!!t&&!!t.active.some(e=>0!=e.state)&&(e.dispatch({effects:O.of(null)}),!0)}},{key:"ArrowDown",run:X(!0)},{key:"ArrowUp",run:X(!1)},{key:"PageDown",run:X(!0,"page")},{key:"PageUp",run:X(!1,"page")},{key:"Enter",run:e=>{let t=e.state.field(Z,!1);return!(e.state.readOnly||!t||!t.open||t.open.selected<0||t.open.disabled||Date.now()-t.open.timestamp<e.state.facet(x).interactionDelay)&&I(e,t.open.options[t.open.selected])}}],eC=r.Nb.highest(i.w4.computeN([x],e=>e.facet(x).defaultKeymap?[e_]:[]))},99277:(e,t,n)=>{"use strict";n.d(t,{OO:()=>p,xO:()=>g});var r=n(96507),i=n(44443),o=n(84544),l=n(7814),s=n(37205),a=n(60665);let u={testLexicalNode:r.Pi,visitLexicalNode:({lexicalNode:e,actions:t})=>{let n=parseInt(e.getTag()[1],10);t.addAndStepInto("heading",{depth:n})}},c={testNode:"heading",visitNode:function({mdastNode:e,actions:t}){t.addAndStepInto((0,r.fi)(`h${e.depth}`))}},d=["Digit0","Digit1","Digit2","Digit3","Digit4","Digit5","Digit6"],h=[1,2,3,4,5,6],f={Digit1:1,Digit2:2,Digit3:3,Digit4:4,Digit5:5,Digit6:6},p=(0,i.fh)(h,e=>{e.pub(a.Jl,t=>t.registerCommand(o.R18,n=>{let{code:i,ctrlKey:l,metaKey:u,altKey:c}=n;return!!(d.includes(i)&&(0,s.oQ)(u,l))&&!!c&&(n.preventDefault(),t.update(()=>{if("Digit0"===i)e.pub(a.vR,()=>(0,o.lJ7)());else{let t=e.getValue(p),n=f[i];t.includes(n)&&e.pub(a.vR,()=>(0,r.fi)(`h${n}`))}}),!0)},o.AcJ))}),g=(0,l.Z)({init(e){e.pubIn({[a.$0]:"headings",[a.R1]:c,[a.q]:r.jL,[a.iI]:u})},update(e,t){e.pub(p,(null==t?void 0:t.allowedHeadingLevels)??h)}})}}]);

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.