reactjs-tiptap-editor 0.0.44 → 0.0.46

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,7 +7,7 @@
7
7
 
8
8
  `);return{dom:a,text:d,slice:e}}function xd(n,e,t,r,i){let o=i.parent.type.spec.code,s,l;if(!t&&!e)return null;let a=e&&(r||o||!t);if(a){if(n.someProp("transformPastedText",d=>{e=d(e,o||r,n)}),o)return e?new w(b.from(n.state.schema.text(e.replace(/\r\n?/g,`
9
9
  `))),0,0):w.empty;let u=n.someProp("clipboardTextParser",d=>d(e,i,r,n));if(u)l=u;else{let d=i.marks(),{schema:p}=n.state,h=Gt.fromSchema(p);s=document.createElement("div"),e.split(/(?:\r\n?|\n)+/).forEach(m=>{let g=s.appendChild(document.createElement("p"));m&&g.appendChild(h.serializeNode(p.text(m,d)))})}}else n.someProp("transformPastedHTML",u=>{t=u(t,n)}),s=Fg(t),yr&&_g(s);let c=s&&s.querySelector("[data-pm-slice]"),f=c&&/^(\d+) (\d+)(?: -(\d+))? (.*)/.exec(c.getAttribute("data-pm-slice")||"");if(f&&f[3])for(let u=+f[3];u>0;u--){let d=s.firstChild;for(;d&&d.nodeType!=1;)d=d.nextSibling;if(!d)break;s=d}if(l||(l=(n.someProp("clipboardParser")||n.someProp("domParser")||vn.fromSchema(n.state.schema)).parseSlice(s,{preserveWhitespace:!!(a||f),context:i,ruleFromNode(d){return d.nodeName=="BR"&&!d.nextSibling&&d.parentNode&&!zg.test(d.parentNode.nodeName)?{ignore:!0}:null}})),f)l=jg(Xa(l,+f[1],+f[2]),f[4]);else if(l=w.maxOpen(Lg(l.content,i),!0),l.openStart||l.openEnd){let u=0,d=0;for(let p=l.content.firstChild;u<l.openStart&&!p.type.spec.isolating;u++,p=p.firstChild);for(let p=l.content.lastChild;d<l.openEnd&&!p.type.spec.isolating;d++,p=p.lastChild);l=Xa(l,u,d)}return n.someProp("transformPasted",u=>{l=u(l,n)}),l}const zg=/^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var)$/i;function Lg(n,e){if(n.childCount<2)return n;for(let t=e.depth;t>=0;t--){let i=e.node(t).contentMatchAt(e.index(t)),o,s=[];if(n.forEach(l=>{if(!s)return;let a=i.findWrapping(l.type),c;if(!a)return s=null;if(c=s.length&&o.length&&Od(a,o,l,s[s.length-1],0))s[s.length-1]=c;else{s.length&&(s[s.length-1]=kd(s[s.length-1],o.length));let f=Cd(l,a);s.push(f),i=i.matchType(f.type),o=a}}),s)return b.from(s)}return n}function Cd(n,e,t=0){for(let r=e.length-1;r>=t;r--)n=e[r].create(null,b.from(n));return n}function Od(n,e,t,r,i){if(i<n.length&&i<e.length&&n[i]==e[i]){let o=Od(n,e,t,r.lastChild,i+1);if(o)return r.copy(r.content.replaceChild(r.childCount-1,o));if(r.contentMatchAt(r.childCount).matchType(i==n.length-1?t.type:n[i+1]))return r.copy(r.content.append(b.from(Cd(t,n,i+1))))}}function kd(n,e){if(e==0)return n;let t=n.content.replaceChild(n.childCount-1,kd(n.lastChild,e-1)),r=n.contentMatchAt(n.childCount).fillBefore(b.empty,!0);return n.copy(t.append(r))}function Os(n,e,t,r,i,o){let s=e<0?n.firstChild:n.lastChild,l=s.content;return n.childCount>1&&(o=0),i<r-1&&(l=Os(l,e,t,r,i+1,o)),i>=t&&(l=e<0?s.contentMatchAt(0).fillBefore(l,o<=i).append(l):l.append(s.contentMatchAt(s.childCount).fillBefore(b.empty,!0))),n.replaceChild(e<0?0:n.childCount-1,s.copy(l))}function Xa(n,e,t){return e<n.openStart&&(n=new w(Os(n.content,-1,e,n.openStart,0,n.openEnd),e,n.openEnd)),t<n.openEnd&&(n=new w(Os(n.content,1,t,n.openEnd,0,0),n.openStart,t)),n}const Ad={thead:["table"],tbody:["table"],tfoot:["table"],caption:["table"],colgroup:["table"],col:["table","colgroup"],tr:["table","tbody"],td:["table","tbody","tr"],th:["table","tbody","tr"]};let Qa=null;function Td(){return Qa||(Qa=document.implementation.createHTMLDocument("title"))}function Fg(n){let e=/^(\s*<meta [^>]*>)*/.exec(n);e&&(n=n.slice(e[0].length));let t=Td().createElement("div"),r=/<([a-z][^>\s]+)/i.exec(n),i;if((i=r&&Ad[r[1].toLowerCase()])&&(n=i.map(o=>"<"+o+">").join("")+n+i.map(o=>"</"+o+">").reverse().join("")),t.innerHTML=n,i)for(let o=0;o<i.length;o++)t=t.querySelector(i[o])||t;return t}function _g(n){let e=n.querySelectorAll(ce?"span:not([class]):not([style])":"span.Apple-converted-space");for(let t=0;t<e.length;t++){let r=e[t];r.childNodes.length==1&&r.textContent==" "&&r.parentNode&&r.parentNode.replaceChild(n.ownerDocument.createTextNode(" "),r)}}function jg(n,e){if(!n.size)return n;let t=n.content.firstChild.type.schema,r;try{r=JSON.parse(e)}catch{return n}let{content:i,openStart:o,openEnd:s}=n;for(let l=r.length-2;l>=0;l-=2){let a=t.nodes[r[l]];if(!a||a.hasRequiredAttrs())break;i=b.from(a.create(r[l+1],i)),o++,s++}return new w(i,o,s)}const me={},ge={},Vg={touchstart:!0,touchmove:!0};class Wg{constructor(){this.shiftKey=!1,this.mouseDown=null,this.lastKeyCode=null,this.lastKeyCodeTime=0,this.lastClick={time:0,x:0,y:0,type:""},this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastIOSEnter=0,this.lastIOSEnterFallbackTimeout=-1,this.lastFocus=0,this.lastTouch=0,this.lastAndroidDelete=0,this.composing=!1,this.compositionNode=null,this.composingTimeout=-1,this.compositionNodes=[],this.compositionEndedAt=-2e8,this.compositionID=1,this.compositionPendingChanges=0,this.domChangeCount=0,this.eventHandlers=Object.create(null),this.hideSelectionGuard=null}}function Hg(n){for(let e in me){let t=me[e];n.dom.addEventListener(e,n.input.eventHandlers[e]=r=>{Kg(n,r)&&!Ol(n,r)&&(n.editable||!(r.type in ge))&&t(n,r)},Vg[e]?{passive:!0}:void 0)}pe&&n.dom.addEventListener("input",()=>null),ks(n)}function xt(n,e){n.input.lastSelectionOrigin=e,n.input.lastSelectionTime=Date.now()}function Ug(n){n.domObserver.stop();for(let e in n.input.eventHandlers)n.dom.removeEventListener(e,n.input.eventHandlers[e]);clearTimeout(n.input.composingTimeout),clearTimeout(n.input.lastIOSEnterFallbackTimeout)}function ks(n){n.someProp("handleDOMEvents",e=>{for(let t in e)n.input.eventHandlers[t]||n.dom.addEventListener(t,n.input.eventHandlers[t]=r=>Ol(n,r))})}function Ol(n,e){return n.someProp("handleDOMEvents",t=>{let r=t[e.type];return r?r(n,e)||e.defaultPrevented:!1})}function Kg(n,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let t=e.target;t!=n.dom;t=t.parentNode)if(!t||t.nodeType==11||t.pmViewDesc&&t.pmViewDesc.stopEvent(e))return!1;return!0}function Jg(n,e){!Ol(n,e)&&me[e.type]&&(n.editable||!(e.type in ge))&&me[e.type](n,e)}ge.keydown=(n,e)=>{let t=e;if(n.input.shiftKey=t.keyCode==16||t.shiftKey,!Md(n,t)&&(n.input.lastKeyCode=t.keyCode,n.input.lastKeyCodeTime=Date.now(),!(Ee&&ce&&t.keyCode==13)))if(t.keyCode!=229&&n.domObserver.forceFlush(),xn&&t.keyCode==13&&!t.ctrlKey&&!t.altKey&&!t.metaKey){let r=Date.now();n.input.lastIOSEnter=r,n.input.lastIOSEnterFallbackTimeout=setTimeout(()=>{n.input.lastIOSEnter==r&&(n.someProp("handleKeyDown",i=>i(n,Dt(13,"Enter"))),n.input.lastIOSEnter=0)},200)}else n.someProp("handleKeyDown",r=>r(n,t))||Bg(n,t)?t.preventDefault():xt(n,"key")};ge.keyup=(n,e)=>{e.keyCode==16&&(n.input.shiftKey=!1)};ge.keypress=(n,e)=>{let t=e;if(Md(n,t)||!t.charCode||t.ctrlKey&&!t.altKey||xe&&t.metaKey)return;if(n.someProp("handleKeyPress",i=>i(n,t))){t.preventDefault();return}let r=n.state.selection;if(!(r instanceof z)||!r.$from.sameParent(r.$to)){let i=String.fromCharCode(t.charCode);!/[\r\n]/.test(i)&&!n.someProp("handleTextInput",o=>o(n,r.$from.pos,r.$to.pos,i))&&n.dispatch(n.state.tr.insertText(i).scrollIntoView()),t.preventDefault()}};function so(n){return{left:n.clientX,top:n.clientY}}function qg(n,e){let t=e.x-n.clientX,r=e.y-n.clientY;return t*t+r*r<100}function kl(n,e,t,r,i){if(r==-1)return!1;let o=n.state.doc.resolve(r);for(let s=o.depth+1;s>0;s--)if(n.someProp(e,l=>s>o.depth?l(n,t,o.nodeAfter,o.before(s),i,!0):l(n,t,o.node(s),o.before(s),i,!1)))return!0;return!1}function mn(n,e,t){if(n.focused||n.focus(),n.state.selection.eq(e))return;let r=n.state.tr.setSelection(e);r.setMeta("pointer",!0),n.dispatch(r)}function Gg(n,e){if(e==-1)return!1;let t=n.state.doc.resolve(e),r=t.nodeAfter;return r&&r.isAtom&&E.isSelectable(r)?(mn(n,new E(t)),!0):!1}function Yg(n,e){if(e==-1)return!1;let t=n.state.selection,r,i;t instanceof E&&(r=t.node);let o=n.state.doc.resolve(e);for(let s=o.depth+1;s>0;s--){let l=s>o.depth?o.nodeAfter:o.node(s);if(E.isSelectable(l)){r&&t.$from.depth>0&&s>=t.$from.depth&&o.before(t.$from.depth+1)==t.$from.pos?i=o.before(t.$from.depth):i=o.before(s);break}}return i!=null?(mn(n,E.create(n.state.doc,i)),!0):!1}function Xg(n,e,t,r,i){return kl(n,"handleClickOn",e,t,r)||n.someProp("handleClick",o=>o(n,e,r))||(i?Yg(n,t):Gg(n,t))}function Qg(n,e,t,r){return kl(n,"handleDoubleClickOn",e,t,r)||n.someProp("handleDoubleClick",i=>i(n,e,r))}function Zg(n,e,t,r){return kl(n,"handleTripleClickOn",e,t,r)||n.someProp("handleTripleClick",i=>i(n,e,r))||ey(n,t,r)}function ey(n,e,t){if(t.button!=0)return!1;let r=n.state.doc;if(e==-1)return r.inlineContent?(mn(n,z.create(r,0,r.content.size)),!0):!1;let i=r.resolve(e);for(let o=i.depth+1;o>0;o--){let s=o>i.depth?i.nodeAfter:i.node(o),l=i.before(o);if(s.inlineContent)mn(n,z.create(r,l+1,l+1+s.content.size));else if(E.isSelectable(s))mn(n,E.create(r,l));else continue;return!0}}function Al(n){return oi(n)}const Ed=xe?"metaKey":"ctrlKey";me.mousedown=(n,e)=>{let t=e;n.input.shiftKey=t.shiftKey;let r=Al(n),i=Date.now(),o="singleClick";i-n.input.lastClick.time<500&&qg(t,n.input.lastClick)&&!t[Ed]&&(n.input.lastClick.type=="singleClick"?o="doubleClick":n.input.lastClick.type=="doubleClick"&&(o="tripleClick")),n.input.lastClick={time:i,x:t.clientX,y:t.clientY,type:o};let s=n.posAtCoords(so(t));s&&(o=="singleClick"?(n.input.mouseDown&&n.input.mouseDown.done(),n.input.mouseDown=new ty(n,s,t,!!r)):(o=="doubleClick"?Qg:Zg)(n,s.pos,s.inside,t)?t.preventDefault():xt(n,"pointer"))};class ty{constructor(e,t,r,i){this.view=e,this.pos=t,this.event=r,this.flushed=i,this.delayedSelectionSync=!1,this.mightDrag=null,this.startDoc=e.state.doc,this.selectNode=!!r[Ed],this.allowDefault=r.shiftKey;let o,s;if(t.inside>-1)o=e.state.doc.nodeAt(t.inside),s=t.inside;else{let f=e.state.doc.resolve(t.pos);o=f.parent,s=f.depth?f.before():0}const l=i?null:r.target,a=l?e.docView.nearestDesc(l,!0):null;this.target=a&&a.dom.nodeType==1?a.dom:null;let{selection:c}=e.state;(r.button==0&&o.type.spec.draggable&&o.type.spec.selectable!==!1||c instanceof E&&c.from<=s&&c.to>s)&&(this.mightDrag={node:o,pos:s,addAttr:!!(this.target&&!this.target.draggable),setUneditable:!!(this.target&&Ie&&!this.target.hasAttribute("contentEditable"))}),this.target&&this.mightDrag&&(this.mightDrag.addAttr||this.mightDrag.setUneditable)&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&(this.target.draggable=!0),this.mightDrag.setUneditable&&setTimeout(()=>{this.view.input.mouseDown==this&&this.target.setAttribute("contentEditable","false")},20),this.view.domObserver.start()),e.root.addEventListener("mouseup",this.up=this.up.bind(this)),e.root.addEventListener("mousemove",this.move=this.move.bind(this)),xt(e,"pointer")}done(){this.view.root.removeEventListener("mouseup",this.up),this.view.root.removeEventListener("mousemove",this.move),this.mightDrag&&this.target&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&this.target.removeAttribute("draggable"),this.mightDrag.setUneditable&&this.target.removeAttribute("contentEditable"),this.view.domObserver.start()),this.delayedSelectionSync&&setTimeout(()=>nt(this.view)),this.view.input.mouseDown=null}up(e){if(this.done(),!this.view.dom.contains(e.target))return;let t=this.pos;this.view.state.doc!=this.startDoc&&(t=this.view.posAtCoords(so(e))),this.updateAllowDefault(e),this.allowDefault||!t?xt(this.view,"pointer"):Xg(this.view,t.pos,t.inside,e,this.selectNode)?e.preventDefault():e.button==0&&(this.flushed||pe&&this.mightDrag&&!this.mightDrag.node.isAtom||ce&&!this.view.state.selection.visible&&Math.min(Math.abs(t.pos-this.view.state.selection.from),Math.abs(t.pos-this.view.state.selection.to))<=2)?(mn(this.view,R.near(this.view.state.doc.resolve(t.pos))),e.preventDefault()):xt(this.view,"pointer")}move(e){this.updateAllowDefault(e),xt(this.view,"pointer"),e.buttons==0&&this.done()}updateAllowDefault(e){!this.allowDefault&&(Math.abs(this.event.x-e.clientX)>4||Math.abs(this.event.y-e.clientY)>4)&&(this.allowDefault=!0)}}me.touchstart=n=>{n.input.lastTouch=Date.now(),Al(n),xt(n,"pointer")};me.touchmove=n=>{n.input.lastTouch=Date.now(),xt(n,"pointer")};me.contextmenu=n=>Al(n);function Md(n,e){return n.composing?!0:pe&&Math.abs(e.timeStamp-n.input.compositionEndedAt)<500?(n.input.compositionEndedAt=-2e8,!0):!1}const ny=Ee?5e3:-1;ge.compositionstart=ge.compositionupdate=n=>{if(!n.composing){n.domObserver.flush();let{state:e}=n,t=e.selection.$to;if(e.selection instanceof z&&(e.storedMarks||!t.textOffset&&t.parentOffset&&t.nodeBefore.marks.some(r=>r.type.spec.inclusive===!1)))n.markCursor=n.state.storedMarks||t.marks(),oi(n,!0),n.markCursor=null;else if(oi(n),Ie&&e.selection.empty&&t.parentOffset&&!t.textOffset&&t.nodeBefore.marks.length){let r=n.domSelectionRange();for(let i=r.focusNode,o=r.focusOffset;i&&i.nodeType==1&&o!=0;){let s=o<0?i.lastChild:i.childNodes[o-1];if(!s)break;if(s.nodeType==3){let l=n.domSelection();l&&l.collapse(s,s.nodeValue.length);break}else i=s,o=-1}}n.input.composing=!0}Nd(n,ny)};ge.compositionend=(n,e)=>{n.composing&&(n.input.composing=!1,n.input.compositionEndedAt=e.timeStamp,n.input.compositionPendingChanges=n.domObserver.pendingRecords().length?n.input.compositionID:0,n.input.compositionNode=null,n.input.compositionPendingChanges&&Promise.resolve().then(()=>n.domObserver.flush()),n.input.compositionID++,Nd(n,20))};function Nd(n,e){clearTimeout(n.input.composingTimeout),e>-1&&(n.input.composingTimeout=setTimeout(()=>oi(n),e))}function Rd(n){for(n.composing&&(n.input.composing=!1,n.input.compositionEndedAt=iy());n.input.compositionNodes.length>0;)n.input.compositionNodes.pop().markParentsDirty()}function ry(n){let e=n.domSelectionRange();if(!e.focusNode)return null;let t=Ym(e.focusNode,e.focusOffset),r=Xm(e.focusNode,e.focusOffset);if(t&&r&&t!=r){let i=r.pmViewDesc,o=n.domObserver.lastChangedTextNode;if(t==o||r==o)return o;if(!i||!i.isText(r.nodeValue))return r;if(n.input.compositionNode==r){let s=t.pmViewDesc;if(!(!s||!s.isText(t.nodeValue)))return r}}return t||r}function iy(){let n=document.createEvent("Event");return n.initEvent("event",!0,!0),n.timeStamp}function oi(n,e=!1){if(!(Ee&&n.domObserver.flushingSoon>=0)){if(n.domObserver.forceFlush(),Rd(n),e||n.docView&&n.docView.dirty){let t=xl(n);return t&&!t.eq(n.state.selection)?n.dispatch(n.state.tr.setSelection(t)):n.updateState(n.state),!0}return!1}}function oy(n,e){if(!n.dom.parentNode)return;let t=n.dom.parentNode.appendChild(document.createElement("div"));t.appendChild(e),t.style.cssText="position: fixed; left: -10000px; top: 10px";let r=getSelection(),i=document.createRange();i.selectNodeContents(e),n.dom.blur(),r.removeAllRanges(),r.addRange(i),setTimeout(()=>{t.parentNode&&t.parentNode.removeChild(t),n.focus()},50)}const sr=be&&Ot<15||xn&&ng<604;me.copy=ge.cut=(n,e)=>{let t=e,r=n.state.selection,i=t.type=="cut";if(r.empty)return;let o=sr?null:t.clipboardData,s=r.content(),{dom:l,text:a}=wd(n,s);o?(t.preventDefault(),o.clearData(),o.setData("text/html",l.innerHTML),o.setData("text/plain",a)):oy(n,l),i&&n.dispatch(n.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent","cut"))};function sy(n){return n.openStart==0&&n.openEnd==0&&n.content.childCount==1?n.content.firstChild:null}function ly(n,e){if(!n.dom.parentNode)return;let t=n.input.shiftKey||n.state.selection.$from.parent.type.spec.code,r=n.dom.parentNode.appendChild(document.createElement(t?"textarea":"div"));t||(r.contentEditable="true"),r.style.cssText="position: fixed; left: -10000px; top: 10px",r.focus();let i=n.input.shiftKey&&n.input.lastKeyCode!=45;setTimeout(()=>{n.focus(),r.parentNode&&r.parentNode.removeChild(r),t?lr(n,r.value,null,i,e):lr(n,r.textContent,r.innerHTML,i,e)},50)}function lr(n,e,t,r,i){let o=xd(n,e,t,r,n.state.selection.$from);if(n.someProp("handlePaste",a=>a(n,i,o||w.empty)))return!0;if(!o)return!1;let s=sy(o),l=s?n.state.tr.replaceSelectionWith(s,r):n.state.tr.replaceSelection(o);return n.dispatch(l.scrollIntoView().setMeta("paste",!0).setMeta("uiEvent","paste")),!0}function Id(n){let e=n.getData("text/plain")||n.getData("Text");if(e)return e;let t=n.getData("text/uri-list");return t?t.replace(/\r?\n/g," "):""}ge.paste=(n,e)=>{let t=e;if(n.composing&&!Ee)return;let r=sr?null:t.clipboardData,i=n.input.shiftKey&&n.input.lastKeyCode!=45;r&&lr(n,Id(r),r.getData("text/html"),i,t)?t.preventDefault():ly(n,t)};class Dd{constructor(e,t,r){this.slice=e,this.move=t,this.node=r}}const Pd=xe?"altKey":"ctrlKey";me.dragstart=(n,e)=>{let t=e,r=n.input.mouseDown;if(r&&r.done(),!t.dataTransfer)return;let i=n.state.selection,o=i.empty?null:n.posAtCoords(so(t)),s;if(!(o&&o.pos>=i.from&&o.pos<=(i instanceof E?i.to-1:i.to))){if(r&&r.mightDrag)s=E.create(n.state.doc,r.mightDrag.pos);else if(t.target&&t.target.nodeType==1){let u=n.docView.nearestDesc(t.target,!0);u&&u.node.type.spec.draggable&&u!=n.docView&&(s=E.create(n.state.doc,u.posBefore))}}let l=(s||n.state.selection).content(),{dom:a,text:c,slice:f}=wd(n,l);(!t.dataTransfer.files.length||!ce||od>120)&&t.dataTransfer.clearData(),t.dataTransfer.setData(sr?"Text":"text/html",a.innerHTML),t.dataTransfer.effectAllowed="copyMove",sr||t.dataTransfer.setData("text/plain",c),n.dragging=new Dd(f,!t[Pd],s)};me.dragend=n=>{let e=n.dragging;window.setTimeout(()=>{n.dragging==e&&(n.dragging=null)},50)};ge.dragover=ge.dragenter=(n,e)=>e.preventDefault();ge.drop=(n,e)=>{let t=e,r=n.dragging;if(n.dragging=null,!t.dataTransfer)return;let i=n.posAtCoords(so(t));if(!i)return;let o=n.state.doc.resolve(i.pos),s=r&&r.slice;s?n.someProp("transformPasted",h=>{s=h(s,n)}):s=xd(n,Id(t.dataTransfer),sr?null:t.dataTransfer.getData("text/html"),!1,o);let l=!!(r&&!t[Pd]);if(n.someProp("handleDrop",h=>h(n,t,s||w.empty,l))){t.preventDefault();return}if(!s)return;t.preventDefault();let a=s?Yu(n.state.doc,o.pos,s):o.pos;a==null&&(a=o.pos);let c=n.state.tr;if(l){let{node:h}=r;h?h.replace(c):c.deleteSelection()}let f=c.mapping.map(a),u=s.openStart==0&&s.openEnd==0&&s.content.childCount==1,d=c.doc;if(u?c.replaceRangeWith(f,f,s.content.firstChild):c.replaceRange(f,f,s),c.doc.eq(d))return;let p=c.doc.resolve(f);if(u&&E.isSelectable(s.content.firstChild)&&p.nodeAfter&&p.nodeAfter.sameMarkup(s.content.firstChild))c.setSelection(new E(p));else{let h=c.mapping.map(a);c.mapping.maps[c.mapping.maps.length-1].forEach((m,g,y,C)=>h=C),c.setSelection(Cl(n,p,c.doc.resolve(h)))}n.focus(),n.dispatch(c.setMeta("uiEvent","drop"))};me.focus=n=>{n.input.lastFocus=Date.now(),n.focused||(n.domObserver.stop(),n.dom.classList.add("ProseMirror-focused"),n.domObserver.start(),n.focused=!0,setTimeout(()=>{n.docView&&n.hasFocus()&&!n.domObserver.currentSelection.eq(n.domSelectionRange())&&nt(n)},20))};me.blur=(n,e)=>{let t=e;n.focused&&(n.domObserver.stop(),n.dom.classList.remove("ProseMirror-focused"),n.domObserver.start(),t.relatedTarget&&n.dom.contains(t.relatedTarget)&&n.domObserver.currentSelection.clear(),n.focused=!1)};me.beforeinput=(n,e)=>{if(ce&&Ee&&e.inputType=="deleteContentBackward"){n.domObserver.flushSoon();let{domChangeCount:r}=n.input;setTimeout(()=>{if(n.input.domChangeCount!=r||(n.dom.blur(),n.focus(),n.someProp("handleKeyDown",o=>o(n,Dt(8,"Backspace")))))return;let{$cursor:i}=n.state.selection;i&&i.pos>0&&n.dispatch(n.state.tr.delete(i.pos-1,i.pos).scrollIntoView())},50)}};for(let n in ge)me[n]=ge[n];function ar(n,e){if(n==e)return!0;for(let t in n)if(n[t]!==e[t])return!1;for(let t in e)if(!(t in n))return!1;return!0}class si{constructor(e,t){this.toDOM=e,this.spec=t||Ft,this.side=this.spec.side||0}map(e,t,r,i){let{pos:o,deleted:s}=e.mapResult(t.from+i,this.side<0?-1:1);return s?null:new he(o-r,o-r,this)}valid(){return!0}eq(e){return this==e||e instanceof si&&(this.spec.key&&this.spec.key==e.spec.key||this.toDOM==e.toDOM&&ar(this.spec,e.spec))}destroy(e){this.spec.destroy&&this.spec.destroy(e)}}class At{constructor(e,t){this.attrs=e,this.spec=t||Ft}map(e,t,r,i){let o=e.map(t.from+i,this.spec.inclusiveStart?-1:1)-r,s=e.map(t.to+i,this.spec.inclusiveEnd?1:-1)-r;return o>=s?null:new he(o,s,this)}valid(e,t){return t.from<t.to}eq(e){return this==e||e instanceof At&&ar(this.attrs,e.attrs)&&ar(this.spec,e.spec)}static is(e){return e.type instanceof At}destroy(){}}class Tl{constructor(e,t){this.attrs=e,this.spec=t||Ft}map(e,t,r,i){let o=e.mapResult(t.from+i,1);if(o.deleted)return null;let s=e.mapResult(t.to+i,-1);return s.deleted||s.pos<=o.pos?null:new he(o.pos-r,s.pos-r,this)}valid(e,t){let{index:r,offset:i}=e.content.findIndex(t.from),o;return i==t.from&&!(o=e.child(r)).isText&&i+o.nodeSize==t.to}eq(e){return this==e||e instanceof Tl&&ar(this.attrs,e.attrs)&&ar(this.spec,e.spec)}destroy(){}}class he{constructor(e,t,r){this.from=e,this.to=t,this.type=r}copy(e,t){return new he(e,t,this.type)}eq(e,t=0){return this.type.eq(e.type)&&this.from+t==e.from&&this.to+t==e.to}map(e,t,r){return this.type.map(e,this,t,r)}static widget(e,t,r){return new he(e,e,new si(t,r))}static inline(e,t,r,i){return new he(e,t,new At(r,i))}static node(e,t,r,i){return new he(e,t,new Tl(r,i))}get spec(){return this.type.spec}get inline(){return this.type instanceof At}get widget(){return this.type instanceof si}}const an=[],Ft={};class J{constructor(e,t){this.local=e.length?e:an,this.children=t.length?t:an}static create(e,t){return t.length?li(t,e,0,Ft):ae}find(e,t,r){let i=[];return this.findInner(e??0,t??1e9,i,0,r),i}findInner(e,t,r,i,o){for(let s=0;s<this.local.length;s++){let l=this.local[s];l.from<=t&&l.to>=e&&(!o||o(l.spec))&&r.push(l.copy(l.from+i,l.to+i))}for(let s=0;s<this.children.length;s+=3)if(this.children[s]<t&&this.children[s+1]>e){let l=this.children[s]+1;this.children[s+2].findInner(e-l,t-l,r,i+l,o)}}map(e,t,r){return this==ae||e.maps.length==0?this:this.mapInner(e,t,0,0,r||Ft)}mapInner(e,t,r,i,o){let s;for(let l=0;l<this.local.length;l++){let a=this.local[l].map(e,r,i);a&&a.type.valid(t,a)?(s||(s=[])).push(a):o.onRemove&&o.onRemove(this.local[l].spec)}return this.children.length?ay(this.children,s||[],e,t,r,i,o):s?new J(s.sort(_t),an):ae}add(e,t){return t.length?this==ae?J.create(e,t):this.addInner(e,t,0):this}addInner(e,t,r){let i,o=0;e.forEach((l,a)=>{let c=a+r,f;if(f=Bd(t,l,c)){for(i||(i=this.children.slice());o<i.length&&i[o]<a;)o+=3;i[o]==a?i[o+2]=i[o+2].addInner(l,f,c+1):i.splice(o,0,a,a+l.nodeSize,li(f,l,c+1,Ft)),o+=3}});let s=$d(o?zd(t):t,-r);for(let l=0;l<s.length;l++)s[l].type.valid(e,s[l])||s.splice(l--,1);return new J(s.length?this.local.concat(s).sort(_t):this.local,i||this.children)}remove(e){return e.length==0||this==ae?this:this.removeInner(e,0)}removeInner(e,t){let r=this.children,i=this.local;for(let o=0;o<r.length;o+=3){let s,l=r[o]+t,a=r[o+1]+t;for(let f=0,u;f<e.length;f++)(u=e[f])&&u.from>l&&u.to<a&&(e[f]=null,(s||(s=[])).push(u));if(!s)continue;r==this.children&&(r=this.children.slice());let c=r[o+2].removeInner(s,l+1);c!=ae?r[o+2]=c:(r.splice(o,3),o-=3)}if(i.length){for(let o=0,s;o<e.length;o++)if(s=e[o])for(let l=0;l<i.length;l++)i[l].eq(s,t)&&(i==this.local&&(i=this.local.slice()),i.splice(l--,1))}return r==this.children&&i==this.local?this:i.length||r.length?new J(i,r):ae}forChild(e,t){if(this==ae)return this;if(t.isLeaf)return J.empty;let r,i;for(let l=0;l<this.children.length;l+=3)if(this.children[l]>=e){this.children[l]==e&&(r=this.children[l+2]);break}let o=e+1,s=o+t.content.size;for(let l=0;l<this.local.length;l++){let a=this.local[l];if(a.from<s&&a.to>o&&a.type instanceof At){let c=Math.max(o,a.from)-o,f=Math.min(s,a.to)-o;c<f&&(i||(i=[])).push(a.copy(c,f))}}if(i){let l=new J(i.sort(_t),an);return r?new yt([l,r]):l}return r||ae}eq(e){if(this==e)return!0;if(!(e instanceof J)||this.local.length!=e.local.length||this.children.length!=e.children.length)return!1;for(let t=0;t<this.local.length;t++)if(!this.local[t].eq(e.local[t]))return!1;for(let t=0;t<this.children.length;t+=3)if(this.children[t]!=e.children[t]||this.children[t+1]!=e.children[t+1]||!this.children[t+2].eq(e.children[t+2]))return!1;return!0}locals(e){return El(this.localsInner(e))}localsInner(e){if(this==ae)return an;if(e.inlineContent||!this.local.some(At.is))return this.local;let t=[];for(let r=0;r<this.local.length;r++)this.local[r].type instanceof At||t.push(this.local[r]);return t}}J.empty=new J([],[]);J.removeOverlap=El;const ae=J.empty;class yt{constructor(e){this.members=e}map(e,t){const r=this.members.map(i=>i.map(e,t,Ft));return yt.from(r)}forChild(e,t){if(t.isLeaf)return J.empty;let r=[];for(let i=0;i<this.members.length;i++){let o=this.members[i].forChild(e,t);o!=ae&&(o instanceof yt?r=r.concat(o.members):r.push(o))}return yt.from(r)}eq(e){if(!(e instanceof yt)||e.members.length!=this.members.length)return!1;for(let t=0;t<this.members.length;t++)if(!this.members[t].eq(e.members[t]))return!1;return!0}locals(e){let t,r=!0;for(let i=0;i<this.members.length;i++){let o=this.members[i].localsInner(e);if(o.length)if(!t)t=o;else{r&&(t=t.slice(),r=!1);for(let s=0;s<o.length;s++)t.push(o[s])}}return t?El(r?t:t.sort(_t)):an}static from(e){switch(e.length){case 0:return ae;case 1:return e[0];default:return new yt(e.every(t=>t instanceof J)?e:e.reduce((t,r)=>t.concat(r instanceof J?r:r.members),[]))}}}function ay(n,e,t,r,i,o,s){let l=n.slice();for(let c=0,f=o;c<t.maps.length;c++){let u=0;t.maps[c].forEach((d,p,h,m)=>{let g=m-h-(p-d);for(let y=0;y<l.length;y+=3){let C=l[y+1];if(C<0||d>C+f-u)continue;let k=l[y]+f-u;p>=k?l[y+1]=d<=k?-2:-1:d>=f&&g&&(l[y]+=g,l[y+1]+=g)}u+=g}),f=t.maps[c].map(f,-1)}let a=!1;for(let c=0;c<l.length;c+=3)if(l[c+1]<0){if(l[c+1]==-2){a=!0,l[c+1]=-1;continue}let f=t.map(n[c]+o),u=f-i;if(u<0||u>=r.content.size){a=!0;continue}let d=t.map(n[c+1]+o,-1),p=d-i,{index:h,offset:m}=r.content.findIndex(u),g=r.maybeChild(h);if(g&&m==u&&m+g.nodeSize==p){let y=l[c+2].mapInner(t,g,f+1,n[c]+o+1,s);y!=ae?(l[c]=u,l[c+1]=p,l[c+2]=y):(l[c+1]=-2,a=!0)}else a=!0}if(a){let c=cy(l,n,e,t,i,o,s),f=li(c,r,0,s);e=f.local;for(let u=0;u<l.length;u+=3)l[u+1]<0&&(l.splice(u,3),u-=3);for(let u=0,d=0;u<f.children.length;u+=3){let p=f.children[u];for(;d<l.length&&l[d]<p;)d+=3;l.splice(d,0,f.children[u],f.children[u+1],f.children[u+2])}}return new J(e.sort(_t),l)}function $d(n,e){if(!e||!n.length)return n;let t=[];for(let r=0;r<n.length;r++){let i=n[r];t.push(new he(i.from+e,i.to+e,i.type))}return t}function cy(n,e,t,r,i,o,s){function l(a,c){for(let f=0;f<a.local.length;f++){let u=a.local[f].map(r,i,c);u?t.push(u):s.onRemove&&s.onRemove(a.local[f].spec)}for(let f=0;f<a.children.length;f+=3)l(a.children[f+2],a.children[f]+c+1)}for(let a=0;a<n.length;a+=3)n[a+1]==-1&&l(n[a+2],e[a]+o+1);return t}function Bd(n,e,t){if(e.isLeaf)return null;let r=t+e.nodeSize,i=null;for(let o=0,s;o<n.length;o++)(s=n[o])&&s.from>t&&s.to<r&&((i||(i=[])).push(s),n[o]=null);return i}function zd(n){let e=[];for(let t=0;t<n.length;t++)n[t]!=null&&e.push(n[t]);return e}function li(n,e,t,r){let i=[],o=!1;e.forEach((l,a)=>{let c=Bd(n,l,a+t);if(c){o=!0;let f=li(c,l,t+a+1,r);f!=ae&&i.push(a,a+l.nodeSize,f)}});let s=$d(o?zd(n):n,-t).sort(_t);for(let l=0;l<s.length;l++)s[l].type.valid(e,s[l])||(r.onRemove&&r.onRemove(s[l].spec),s.splice(l--,1));return s.length||i.length?new J(s,i):ae}function _t(n,e){return n.from-e.from||n.to-e.to}function El(n){let e=n;for(let t=0;t<e.length-1;t++){let r=e[t];if(r.from!=r.to)for(let i=t+1;i<e.length;i++){let o=e[i];if(o.from==r.from){o.to!=r.to&&(e==n&&(e=n.slice()),e[i]=o.copy(o.from,r.to),Za(e,i+1,o.copy(r.to,o.to)));continue}else{o.from<r.to&&(e==n&&(e=n.slice()),e[t]=r.copy(r.from,o.from),Za(e,i,r.copy(o.from,r.to)));break}}}return e}function Za(n,e,t){for(;e<n.length&&_t(t,n[e])>0;)e++;n.splice(e,0,t)}function Mo(n){let e=[];return n.someProp("decorations",t=>{let r=t(n.state);r&&r!=ae&&e.push(r)}),n.cursorWrapper&&e.push(J.create(n.state.doc,[n.cursorWrapper.deco])),yt.from(e)}const fy={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},uy=be&&Ot<=11;class dy{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}set(e){this.anchorNode=e.anchorNode,this.anchorOffset=e.anchorOffset,this.focusNode=e.focusNode,this.focusOffset=e.focusOffset}clear(){this.anchorNode=this.focusNode=null}eq(e){return e.anchorNode==this.anchorNode&&e.anchorOffset==this.anchorOffset&&e.focusNode==this.focusNode&&e.focusOffset==this.focusOffset}}class hy{constructor(e,t){this.view=e,this.handleDOMChange=t,this.queue=[],this.flushingSoon=-1,this.observer=null,this.currentSelection=new dy,this.onCharData=null,this.suppressingSelectionUpdates=!1,this.lastChangedTextNode=null,this.observer=window.MutationObserver&&new window.MutationObserver(r=>{for(let i=0;i<r.length;i++)this.queue.push(r[i]);be&&Ot<=11&&r.some(i=>i.type=="childList"&&i.removedNodes.length||i.type=="characterData"&&i.oldValue.length>i.target.nodeValue.length)?this.flushSoon():this.flush()}),uy&&(this.onCharData=r=>{this.queue.push({target:r.target,type:"characterData",oldValue:r.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this)}flushSoon(){this.flushingSoon<0&&(this.flushingSoon=window.setTimeout(()=>{this.flushingSoon=-1,this.flush()},20))}forceFlush(){this.flushingSoon>-1&&(window.clearTimeout(this.flushingSoon),this.flushingSoon=-1,this.flush())}start(){this.observer&&(this.observer.takeRecords(),this.observer.observe(this.view.dom,fy)),this.onCharData&&this.view.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.connectSelection()}stop(){if(this.observer){let e=this.observer.takeRecords();if(e.length){for(let t=0;t<e.length;t++)this.queue.push(e[t]);window.setTimeout(()=>this.flush(),20)}this.observer.disconnect()}this.onCharData&&this.view.dom.removeEventListener("DOMCharacterDataModified",this.onCharData),this.disconnectSelection()}connectSelection(){this.view.dom.ownerDocument.addEventListener("selectionchange",this.onSelectionChange)}disconnectSelection(){this.view.dom.ownerDocument.removeEventListener("selectionchange",this.onSelectionChange)}suppressSelectionUpdates(){this.suppressingSelectionUpdates=!0,setTimeout(()=>this.suppressingSelectionUpdates=!1,50)}onSelectionChange(){if(Ua(this.view)){if(this.suppressingSelectionUpdates)return nt(this.view);if(be&&Ot<=11&&!this.view.state.selection.empty){let e=this.view.domSelectionRange();if(e.focusNode&&Ut(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset))return this.flushSoon()}this.flush()}}setCurSelection(){this.currentSelection.set(this.view.domSelectionRange())}ignoreSelectionChange(e){if(!e.focusNode)return!0;let t=new Set,r;for(let o=e.focusNode;o;o=or(o))t.add(o);for(let o=e.anchorNode;o;o=or(o))if(t.has(o)){r=o;break}let i=r&&this.view.docView.nearestDesc(r);if(i&&i.ignoreMutation({type:"selection",target:r.nodeType==3?r.parentNode:r}))return this.setCurSelection(),!0}pendingRecords(){if(this.observer)for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}flush(){let{view:e}=this;if(!e.docView||this.flushingSoon>-1)return;let t=this.pendingRecords();t.length&&(this.queue=[]);let r=e.domSelectionRange(),i=!this.suppressingSelectionUpdates&&!this.currentSelection.eq(r)&&Ua(e)&&!this.ignoreSelectionChange(r),o=-1,s=-1,l=!1,a=[];if(e.editable)for(let f=0;f<t.length;f++){let u=this.registerMutation(t[f],a);u&&(o=o<0?u.from:Math.min(u.from,o),s=s<0?u.to:Math.max(u.to,s),u.typeOver&&(l=!0))}if(Ie&&a.length){let f=a.filter(u=>u.nodeName=="BR");if(f.length==2){let[u,d]=f;u.parentNode&&u.parentNode.parentNode==d.parentNode?d.remove():u.remove()}else{let{focusNode:u}=this.currentSelection;for(let d of f){let p=d.parentNode;p&&p.nodeName=="LI"&&(!u||gy(e,u)!=p)&&d.remove()}}}let c=null;o<0&&i&&e.input.lastFocus>Date.now()-200&&Math.max(e.input.lastTouch,e.input.lastClick.time)<Date.now()-300&&io(r)&&(c=xl(e))&&c.eq(R.near(e.state.doc.resolve(0),1))?(e.input.lastFocus=0,nt(e),this.currentSelection.set(r),e.scrollToSelection()):(o>-1||i)&&(o>-1&&(e.docView.markDirty(o,s),py(e)),this.handleDOMChange(o,s,l,a),e.docView&&e.docView.dirty?e.updateState(e.state):this.currentSelection.eq(r)||nt(e),this.currentSelection.set(r))}registerMutation(e,t){if(t.indexOf(e.target)>-1)return null;let r=this.view.docView.nearestDesc(e.target);if(e.type=="attributes"&&(r==this.view.docView||e.attributeName=="contenteditable"||e.attributeName=="style"&&!e.oldValue&&!e.target.getAttribute("style"))||!r||r.ignoreMutation(e))return null;if(e.type=="childList"){for(let f=0;f<e.addedNodes.length;f++){let u=e.addedNodes[f];t.push(u),u.nodeType==3&&(this.lastChangedTextNode=u)}if(r.contentDOM&&r.contentDOM!=r.dom&&!r.contentDOM.contains(e.target))return{from:r.posBefore,to:r.posAfter};let i=e.previousSibling,o=e.nextSibling;if(be&&Ot<=11&&e.addedNodes.length)for(let f=0;f<e.addedNodes.length;f++){let{previousSibling:u,nextSibling:d}=e.addedNodes[f];(!u||Array.prototype.indexOf.call(e.addedNodes,u)<0)&&(i=u),(!d||Array.prototype.indexOf.call(e.addedNodes,d)<0)&&(o=d)}let s=i&&i.parentNode==e.target?se(i)+1:0,l=r.localPosFromDOM(e.target,s,-1),a=o&&o.parentNode==e.target?se(o):e.target.childNodes.length,c=r.localPosFromDOM(e.target,a,1);return{from:l,to:c}}else return e.type=="attributes"?{from:r.posAtStart-r.border,to:r.posAtEnd+r.border}:(this.lastChangedTextNode=e.target,{from:r.posAtStart,to:r.posAtEnd,typeOver:e.target.nodeValue==e.oldValue})}}let ec=new WeakMap,tc=!1;function py(n){if(!ec.has(n)&&(ec.set(n,null),["normal","nowrap","pre-line"].indexOf(getComputedStyle(n.dom).whiteSpace)!==-1)){if(n.requiresGeckoHackNode=Ie,tc)return;console.warn("ProseMirror expects the CSS white-space property to be set, preferably to 'pre-wrap'. It is recommended to load style/prosemirror.css from the prosemirror-view package."),tc=!0}}function nc(n,e){let t=e.startContainer,r=e.startOffset,i=e.endContainer,o=e.endOffset,s=n.domAtPos(n.state.selection.anchor);return Ut(s.node,s.offset,i,o)&&([t,r,i,o]=[i,o,t,r]),{anchorNode:t,anchorOffset:r,focusNode:i,focusOffset:o}}function my(n,e){if(e.getComposedRanges){let i=e.getComposedRanges(n.root)[0];if(i)return nc(n,i)}let t;function r(i){i.preventDefault(),i.stopImmediatePropagation(),t=i.getTargetRanges()[0]}return n.dom.addEventListener("beforeinput",r,!0),document.execCommand("indent"),n.dom.removeEventListener("beforeinput",r,!0),t?nc(n,t):null}function gy(n,e){for(let t=e.parentNode;t&&t!=n.dom;t=t.parentNode){let r=n.docView.nearestDesc(t,!0);if(r&&r.node.isBlock)return t}return null}function yy(n,e,t){let{node:r,fromOffset:i,toOffset:o,from:s,to:l}=n.docView.parseRange(e,t),a=n.domSelectionRange(),c,f=a.anchorNode;if(f&&n.dom.contains(f.nodeType==1?f:f.parentNode)&&(c=[{node:f,offset:a.anchorOffset}],io(a)||c.push({node:a.focusNode,offset:a.focusOffset})),ce&&n.input.lastKeyCode===8)for(let g=o;g>i;g--){let y=r.childNodes[g-1],C=y.pmViewDesc;if(y.nodeName=="BR"&&!C){o=g;break}if(!C||C.size)break}let u=n.state.doc,d=n.someProp("domParser")||vn.fromSchema(n.state.schema),p=u.resolve(s),h=null,m=d.parse(r,{topNode:p.parent,topMatch:p.parent.contentMatchAt(p.index()),topOpen:!0,from:i,to:o,preserveWhitespace:p.parent.type.whitespace=="pre"?"full":!0,findPositions:c,ruleFromNode:by,context:p});if(c&&c[0].pos!=null){let g=c[0].pos,y=c[1]&&c[1].pos;y==null&&(y=g),h={anchor:g+s,head:y+s}}return{doc:m,sel:h,from:s,to:l}}function by(n){let e=n.pmViewDesc;if(e)return e.parseRule();if(n.nodeName=="BR"&&n.parentNode){if(pe&&/^(ul|ol)$/i.test(n.parentNode.nodeName)){let t=document.createElement("div");return t.appendChild(document.createElement("li")),{skip:t}}else if(n.parentNode.lastChild==n||pe&&/^(tr|table)$/i.test(n.parentNode.nodeName))return{ignore:!0}}else if(n.nodeName=="IMG"&&n.getAttribute("mark-placeholder"))return{ignore:!0};return null}const vy=/^(a|abbr|acronym|b|bd[io]|big|br|button|cite|code|data(list)?|del|dfn|em|i|ins|kbd|label|map|mark|meter|output|q|ruby|s|samp|small|span|strong|su[bp]|time|u|tt|var)$/i;function Sy(n,e,t,r,i){let o=n.input.compositionPendingChanges||(n.composing?n.input.compositionID:0);if(n.input.compositionPendingChanges=0,e<0){let T=n.input.lastSelectionTime>Date.now()-50?n.input.lastSelectionOrigin:null,Y=xl(n,T);if(Y&&!n.state.selection.eq(Y)){if(ce&&Ee&&n.input.lastKeyCode===13&&Date.now()-100<n.input.lastKeyCodeTime&&n.someProp("handleKeyDown",O=>O(n,Dt(13,"Enter"))))return;let A=n.state.tr.setSelection(Y);T=="pointer"?A.setMeta("pointer",!0):T=="key"&&A.scrollIntoView(),o&&A.setMeta("composition",o),n.dispatch(A)}return}let s=n.state.doc.resolve(e),l=s.sharedDepth(t);e=s.before(l+1),t=n.state.doc.resolve(t).after(l+1);let a=n.state.selection,c=yy(n,e,t),f=n.state.doc,u=f.slice(c.from,c.to),d,p;n.input.lastKeyCode===8&&Date.now()-100<n.input.lastKeyCodeTime?(d=n.state.selection.to,p="end"):(d=n.state.selection.from,p="start"),n.input.lastKeyCode=null;let h=Cy(u.content,c.doc.content,c.from,d,p);if((xn&&n.input.lastIOSEnter>Date.now()-225||Ee)&&i.some(T=>T.nodeType==1&&!vy.test(T.nodeName))&&(!h||h.endA>=h.endB)&&n.someProp("handleKeyDown",T=>T(n,Dt(13,"Enter")))){n.input.lastIOSEnter=0;return}if(!h)if(r&&a instanceof z&&!a.empty&&a.$head.sameParent(a.$anchor)&&!n.composing&&!(c.sel&&c.sel.anchor!=c.sel.head))h={start:a.from,endA:a.to,endB:a.to};else{if(c.sel){let T=rc(n,n.state.doc,c.sel);if(T&&!T.eq(n.state.selection)){let Y=n.state.tr.setSelection(T);o&&Y.setMeta("composition",o),n.dispatch(Y)}}return}n.input.domChangeCount++,n.state.selection.from<n.state.selection.to&&h.start==h.endB&&n.state.selection instanceof z&&(h.start>n.state.selection.from&&h.start<=n.state.selection.from+2&&n.state.selection.from>=c.from?h.start=n.state.selection.from:h.endA<n.state.selection.to&&h.endA>=n.state.selection.to-2&&n.state.selection.to<=c.to&&(h.endB+=n.state.selection.to-h.endA,h.endA=n.state.selection.to)),be&&Ot<=11&&h.endB==h.start+1&&h.endA==h.start&&h.start>c.from&&c.doc.textBetween(h.start-c.from-1,h.start-c.from+1)=="  "&&(h.start--,h.endA--,h.endB--);let m=c.doc.resolveNoCache(h.start-c.from),g=c.doc.resolveNoCache(h.endB-c.from),y=f.resolve(h.start),C=m.sameParent(g)&&m.parent.inlineContent&&y.end()>=h.endA,k;if((xn&&n.input.lastIOSEnter>Date.now()-225&&(!C||i.some(T=>T.nodeName=="DIV"||T.nodeName=="P"))||!C&&m.pos<c.doc.content.size&&!m.sameParent(g)&&(k=R.findFrom(c.doc.resolve(m.pos+1),1,!0))&&k.head==g.pos)&&n.someProp("handleKeyDown",T=>T(n,Dt(13,"Enter")))){n.input.lastIOSEnter=0;return}if(n.state.selection.anchor>h.start&&xy(f,h.start,h.endA,m,g)&&n.someProp("handleKeyDown",T=>T(n,Dt(8,"Backspace")))){Ee&&ce&&n.domObserver.suppressSelectionUpdates();return}ce&&Ee&&h.endB==h.start&&(n.input.lastAndroidDelete=Date.now()),Ee&&!C&&m.start()!=g.start()&&g.parentOffset==0&&m.depth==g.depth&&c.sel&&c.sel.anchor==c.sel.head&&c.sel.head==h.endA&&(h.endB-=2,g=c.doc.resolveNoCache(h.endB-c.from),setTimeout(()=>{n.someProp("handleKeyDown",function(T){return T(n,Dt(13,"Enter"))})},20));let N=h.start,M=h.endA,x,I,D;if(C){if(m.pos==g.pos)be&&Ot<=11&&m.parentOffset==0&&(n.domObserver.suppressSelectionUpdates(),setTimeout(()=>nt(n),20)),x=n.state.tr.delete(N,M),I=f.resolve(h.start).marksAcross(f.resolve(h.endA));else if(h.endA==h.endB&&(D=wy(m.parent.content.cut(m.parentOffset,g.parentOffset),y.parent.content.cut(y.parentOffset,h.endA-y.start()))))x=n.state.tr,D.type=="add"?x.addMark(N,M,D.mark):x.removeMark(N,M,D.mark);else if(m.parent.child(m.index()).isText&&m.index()==g.index()-(g.textOffset?0:1)){let T=m.parent.textBetween(m.parentOffset,g.parentOffset);if(n.someProp("handleTextInput",Y=>Y(n,N,M,T)))return;x=n.state.tr.insertText(T,N,M)}}if(x||(x=n.state.tr.replace(N,M,c.doc.slice(h.start-c.from,h.endB-c.from))),c.sel){let T=rc(n,x.doc,c.sel);T&&!(ce&&Ee&&n.composing&&T.empty&&(h.start!=h.endB||n.input.lastAndroidDelete<Date.now()-100)&&(T.head==N||T.head==x.mapping.map(M)-1)||be&&T.empty&&T.head==N)&&x.setSelection(T)}I&&x.ensureMarks(I),o&&x.setMeta("composition",o),n.dispatch(x.scrollIntoView())}function rc(n,e,t){return Math.max(t.anchor,t.head)>e.content.size?null:Cl(n,e.resolve(t.anchor),e.resolve(t.head))}function wy(n,e){let t=n.firstChild.marks,r=e.firstChild.marks,i=t,o=r,s,l,a;for(let f=0;f<r.length;f++)i=r[f].removeFromSet(i);for(let f=0;f<t.length;f++)o=t[f].removeFromSet(o);if(i.length==1&&o.length==0)l=i[0],s="add",a=f=>f.mark(l.addToSet(f.marks));else if(i.length==0&&o.length==1)l=o[0],s="remove",a=f=>f.mark(l.removeFromSet(f.marks));else return null;let c=[];for(let f=0;f<e.childCount;f++)c.push(a(e.child(f)));if(b.from(c).eq(n))return{mark:l,type:s}}function xy(n,e,t,r,i){if(t-e<=i.pos-r.pos||No(r,!0,!1)<i.pos)return!1;let o=n.resolve(e);if(!r.parent.isTextblock){let l=o.nodeAfter;return l!=null&&t==e+l.nodeSize}if(o.parentOffset<o.parent.content.size||!o.parent.isTextblock)return!1;let s=n.resolve(No(o,!0,!0));return!s.parent.isTextblock||s.pos>t||No(s,!0,!1)<t?!1:r.parent.content.cut(r.parentOffset).eq(s.parent.content)}function No(n,e,t){let r=n.depth,i=e?n.end():n.pos;for(;r>0&&(e||n.indexAfter(r)==n.node(r).childCount);)r--,i++,e=!1;if(t){let o=n.node(r).maybeChild(n.indexAfter(r));for(;o&&!o.isLeaf;)o=o.firstChild,i++}return i}function Cy(n,e,t,r,i){let o=n.findDiffStart(e,t);if(o==null)return null;let{a:s,b:l}=n.findDiffEnd(e,t+n.size,t+e.size);if(i=="end"){let a=Math.max(0,o-Math.min(s,l));r-=s+a-o}if(s<o&&n.size<e.size){let a=r<=o&&r>=s?o-r:0;o-=a,o&&o<e.size&&ic(e.textBetween(o-1,o+1))&&(o+=a?1:-1),l=o+(l-s),s=o}else if(l<o){let a=r<=o&&r>=l?o-r:0;o-=a,o&&o<n.size&&ic(n.textBetween(o-1,o+1))&&(o+=a?1:-1),s=o+(s-l),l=o}return{start:o,endA:s,endB:l}}function ic(n){if(n.length!=2)return!1;let e=n.charCodeAt(0),t=n.charCodeAt(1);return e>=56320&&e<=57343&&t>=55296&&t<=56319}class Oy{constructor(e,t){this._root=null,this.focused=!1,this.trackWrites=null,this.mounted=!1,this.markCursor=null,this.cursorWrapper=null,this.lastSelectedViewDesc=void 0,this.input=new Wg,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=t,this.state=t.state,this.directPlugins=t.plugins||[],this.directPlugins.forEach(cc),this.dispatch=this.dispatch.bind(this),this.dom=e&&e.mount||document.createElement("div"),e&&(e.appendChild?e.appendChild(this.dom):typeof e=="function"?e(this.dom):e.mount&&(this.mounted=!0)),this.editable=lc(this),sc(this),this.nodeViews=ac(this),this.docView=Fa(this.state.doc,oc(this),Mo(this),this.dom,this),this.domObserver=new hy(this,(r,i,o,s)=>Sy(this,r,i,o,s)),this.domObserver.start(),Hg(this),this.updatePluginViews()}get composing(){return this.input.composing}get props(){if(this._props.state!=this.state){let e=this._props;this._props={};for(let t in e)this._props[t]=e[t];this._props.state=this.state}return this._props}update(e){e.handleDOMEvents!=this._props.handleDOMEvents&&ks(this);let t=this._props;this._props=e,e.plugins&&(e.plugins.forEach(cc),this.directPlugins=e.plugins),this.updateStateInner(e.state,t)}setProps(e){let t={};for(let r in this._props)t[r]=this._props[r];t.state=this.state;for(let r in e)t[r]=e[r];this.update(t)}updateState(e){this.updateStateInner(e,this._props)}updateStateInner(e,t){var r;let i=this.state,o=!1,s=!1;e.storedMarks&&this.composing&&(Rd(this),s=!0),this.state=e;let l=i.plugins!=e.plugins||this._props.plugins!=t.plugins;if(l||this._props.plugins!=t.plugins||this._props.nodeViews!=t.nodeViews){let p=ac(this);Ay(p,this.nodeViews)&&(this.nodeViews=p,o=!0)}(l||t.handleDOMEvents!=this._props.handleDOMEvents)&&ks(this),this.editable=lc(this),sc(this);let a=Mo(this),c=oc(this),f=i.plugins!=e.plugins&&!i.doc.eq(e.doc)?"reset":e.scrollToSelection>i.scrollToSelection?"to selection":"preserve",u=o||!this.docView.matchesNode(e.doc,c,a);(u||!e.selection.eq(i.selection))&&(s=!0);let d=f=="preserve"&&s&&this.dom.style.overflowAnchor==null&&og(this);if(s){this.domObserver.stop();let p=u&&(be||ce)&&!this.composing&&!i.selection.empty&&!e.selection.empty&&ky(i.selection,e.selection);if(u){let h=ce?this.trackWrites=this.domSelectionRange().focusNode:null;this.composing&&(this.input.compositionNode=ry(this)),(o||!this.docView.update(e.doc,c,a,this))&&(this.docView.updateOuterDeco(c),this.docView.destroy(),this.docView=Fa(e.doc,c,a,this.dom,this)),h&&!this.trackWrites&&(p=!0)}p||!(this.input.mouseDown&&this.domObserver.currentSelection.eq(this.domSelectionRange())&&Mg(this))?nt(this,p):(bd(this,e.selection),this.domObserver.setCurSelection()),this.domObserver.start()}this.updatePluginViews(i),!((r=this.dragging)===null||r===void 0)&&r.node&&!i.doc.eq(e.doc)&&this.updateDraggedNode(this.dragging,i),f=="reset"?this.dom.scrollTop=0:f=="to selection"?this.scrollToSelection():d&&sg(d)}scrollToSelection(){let e=this.domSelectionRange().focusNode;if(!this.someProp("handleScrollToSelection",t=>t(this)))if(this.state.selection instanceof E){let t=this.docView.domAfterPos(this.state.selection.from);t.nodeType==1&&Da(this,t.getBoundingClientRect(),e)}else Da(this,this.coordsAtPos(this.state.selection.head,1),e)}destroyPluginViews(){let e;for(;e=this.pluginViews.pop();)e.destroy&&e.destroy()}updatePluginViews(e){if(!e||e.plugins!=this.state.plugins||this.directPlugins!=this.prevDirectPlugins){this.prevDirectPlugins=this.directPlugins,this.destroyPluginViews();for(let t=0;t<this.directPlugins.length;t++){let r=this.directPlugins[t];r.spec.view&&this.pluginViews.push(r.spec.view(this))}for(let t=0;t<this.state.plugins.length;t++){let r=this.state.plugins[t];r.spec.view&&this.pluginViews.push(r.spec.view(this))}}else for(let t=0;t<this.pluginViews.length;t++){let r=this.pluginViews[t];r.update&&r.update(this,e)}}updateDraggedNode(e,t){let r=e.node,i=-1;if(this.state.doc.nodeAt(r.from)==r.node)i=r.from;else{let o=r.from+(this.state.doc.content.size-t.doc.content.size);(o>0&&this.state.doc.nodeAt(o))==r.node&&(i=o)}this.dragging=new Dd(e.slice,e.move,i<0?void 0:E.create(this.state.doc,i))}someProp(e,t){let r=this._props&&this._props[e],i;if(r!=null&&(i=t?t(r):r))return i;for(let s=0;s<this.directPlugins.length;s++){let l=this.directPlugins[s].props[e];if(l!=null&&(i=t?t(l):l))return i}let o=this.state.plugins;if(o)for(let s=0;s<o.length;s++){let l=o[s].props[e];if(l!=null&&(i=t?t(l):l))return i}}hasFocus(){if(be){let e=this.root.activeElement;if(e==this.dom)return!0;if(!e||!this.dom.contains(e))return!1;for(;e&&this.dom!=e&&this.dom.contains(e);){if(e.contentEditable=="false")return!1;e=e.parentElement}return!0}return this.root.activeElement==this.dom}focus(){this.domObserver.stop(),this.editable&&lg(this.dom),nt(this),this.domObserver.start()}get root(){let e=this._root;if(e==null){for(let t=this.dom.parentNode;t;t=t.parentNode)if(t.nodeType==9||t.nodeType==11&&t.host)return t.getSelection||(Object.getPrototypeOf(t).getSelection=()=>t.ownerDocument.getSelection()),this._root=t}return e||document}updateRoot(){this._root=null}posAtCoords(e){return dg(this,e)}coordsAtPos(e,t=1){return fd(this,e,t)}domAtPos(e,t=0){return this.docView.domFromPos(e,t)}nodeDOM(e){let t=this.docView.descAt(e);return t?t.nodeDOM:null}posAtDOM(e,t,r=-1){let i=this.docView.posFromDOM(e,t,r);if(i==null)throw new RangeError("DOM position not inside the editor");return i}endOfTextblock(e,t){return yg(this,t||this.state,e)}pasteHTML(e,t){return lr(this,"",e,!1,t||new ClipboardEvent("paste"))}pasteText(e,t){return lr(this,e,null,!0,t||new ClipboardEvent("paste"))}destroy(){this.docView&&(Ug(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],Mo(this),this),this.dom.textContent=""):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null,qm())}get isDestroyed(){return this.docView==null}dispatchEvent(e){return Jg(this,e)}dispatch(e){let t=this._props.dispatchTransaction;t?t.call(this,e):this.updateState(this.state.apply(e))}domSelectionRange(){let e=this.domSelection();return e?pe&&this.root.nodeType===11&&Zm(this.dom.ownerDocument)==this.dom&&my(this,e)||e:{focusNode:null,focusOffset:0,anchorNode:null,anchorOffset:0}}domSelection(){return this.root.getSelection()}}function oc(n){let e=Object.create(null);return e.class="ProseMirror",e.contenteditable=String(n.editable),n.someProp("attributes",t=>{if(typeof t=="function"&&(t=t(n.state)),t)for(let r in t)r=="class"?e.class+=" "+t[r]:r=="style"?e.style=(e.style?e.style+";":"")+t[r]:!e[r]&&r!="contenteditable"&&r!="nodeName"&&(e[r]=String(t[r]))}),e.translate||(e.translate="no"),[he.node(0,n.state.doc.content.size,e)]}function sc(n){if(n.markCursor){let e=document.createElement("img");e.className="ProseMirror-separator",e.setAttribute("mark-placeholder","true"),e.setAttribute("alt",""),n.cursorWrapper={dom:e,deco:he.widget(n.state.selection.from,e,{raw:!0,marks:n.markCursor})}}else n.cursorWrapper=null}function lc(n){return!n.someProp("editable",e=>e(n.state)===!1)}function ky(n,e){let t=Math.min(n.$anchor.sharedDepth(n.head),e.$anchor.sharedDepth(e.head));return n.$anchor.start(t)!=e.$anchor.start(t)}function ac(n){let e=Object.create(null);function t(r){for(let i in r)Object.prototype.hasOwnProperty.call(e,i)||(e[i]=r[i])}return n.someProp("nodeViews",t),n.someProp("markViews",t),e}function Ay(n,e){let t=0,r=0;for(let i in n){if(n[i]!=e[i])return!0;t++}for(let i in e)r++;return t!=r}function cc(n){if(n.spec.state||n.spec.filterTransaction||n.spec.appendTransaction)throw new RangeError("Plugins passed directly to the view must not have a state component")}var Tt={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:"'"},ai={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},Ty=typeof navigator<"u"&&/Mac/.test(navigator.platform),Ey=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(var le=0;le<10;le++)Tt[48+le]=Tt[96+le]=String(le);for(var le=1;le<=24;le++)Tt[le+111]="F"+le;for(var le=65;le<=90;le++)Tt[le]=String.fromCharCode(le+32),ai[le]=String.fromCharCode(le);for(var Ro in Tt)ai.hasOwnProperty(Ro)||(ai[Ro]=Tt[Ro]);function My(n){var e=Ty&&n.metaKey&&n.shiftKey&&!n.ctrlKey&&!n.altKey||Ey&&n.shiftKey&&n.key&&n.key.length==1||n.key=="Unidentified",t=!e&&n.key||(n.shiftKey?ai:Tt)[n.keyCode]||n.key||"Unidentified";return t=="Esc"&&(t="Escape"),t=="Del"&&(t="Delete"),t=="Left"&&(t="ArrowLeft"),t=="Up"&&(t="ArrowUp"),t=="Right"&&(t="ArrowRight"),t=="Down"&&(t="ArrowDown"),t}const Ny=typeof navigator<"u"?/Mac|iP(hone|[oa]d)/.test(navigator.platform):!1;function Ry(n){let e=n.split(/-(?!$)/),t=e[e.length-1];t=="Space"&&(t=" ");let r,i,o,s;for(let l=0;l<e.length-1;l++){let a=e[l];if(/^(cmd|meta|m)$/i.test(a))s=!0;else if(/^a(lt)?$/i.test(a))r=!0;else if(/^(c|ctrl|control)$/i.test(a))i=!0;else if(/^s(hift)?$/i.test(a))o=!0;else if(/^mod$/i.test(a))Ny?s=!0:i=!0;else throw new Error("Unrecognized modifier name: "+a)}return r&&(t="Alt-"+t),i&&(t="Ctrl-"+t),s&&(t="Meta-"+t),o&&(t="Shift-"+t),t}function Iy(n){let e=Object.create(null);for(let t in n)e[Ry(t)]=n[t];return e}function Io(n,e,t=!0){return e.altKey&&(n="Alt-"+n),e.ctrlKey&&(n="Ctrl-"+n),e.metaKey&&(n="Meta-"+n),t&&e.shiftKey&&(n="Shift-"+n),n}function Dy(n){return new Yt({props:{handleKeyDown:Ml(n)}})}function Ml(n){let e=Iy(n);return function(t,r){let i=My(r),o,s=e[Io(i,r)];if(s&&s(t.state,t.dispatch,t))return!0;if(i.length==1&&i!=" "){if(r.shiftKey){let l=e[Io(i,r,!1)];if(l&&l(t.state,t.dispatch,t))return!0}if((r.shiftKey||r.altKey||r.metaKey||i.charCodeAt(0)>127)&&(o=Tt[r.keyCode])&&o!=i){let l=e[Io(o,r)];if(l&&l(t.state,t.dispatch,t))return!0}}return!1}}const Py=(n,e)=>n.selection.empty?!1:(e&&e(n.tr.deleteSelection().scrollIntoView()),!0);function Ld(n,e){let{$cursor:t}=n.selection;return!t||(e?!e.endOfTextblock("backward",n):t.parentOffset>0)?null:t}const $y=(n,e,t)=>{let r=Ld(n,t);if(!r)return!1;let i=Nl(r);if(!i){let s=r.blockRange(),l=s&&En(s);return l==null?!1:(e&&e(n.tr.lift(s,l).scrollIntoView()),!0)}let o=i.nodeBefore;if(Vd(n,i,e,-1))return!0;if(r.parent.content.size==0&&(Cn(o,"end")||E.isSelectable(o)))for(let s=r.depth;;s--){let l=no(n.doc,r.before(s),r.after(s),w.empty);if(l&&l.slice.size<l.to-l.from){if(e){let a=n.tr.step(l);a.setSelection(Cn(o,"end")?R.findFrom(a.doc.resolve(a.mapping.map(i.pos,-1)),-1):E.create(a.doc,i.pos-o.nodeSize)),e(a.scrollIntoView())}return!0}if(s==1||r.node(s-1).childCount>1)break}return o.isAtom&&i.depth==r.depth-1?(e&&e(n.tr.delete(i.pos-o.nodeSize,i.pos).scrollIntoView()),!0):!1},By=(n,e,t)=>{let r=Ld(n,t);if(!r)return!1;let i=Nl(r);return i?Fd(n,i,e):!1},zy=(n,e,t)=>{let r=_d(n,t);if(!r)return!1;let i=Rl(r);return i?Fd(n,i,e):!1};function Fd(n,e,t){let r=e.nodeBefore,i=r,o=e.pos-1;for(;!i.isTextblock;o--){if(i.type.spec.isolating)return!1;let f=i.lastChild;if(!f)return!1;i=f}let s=e.nodeAfter,l=s,a=e.pos+1;for(;!l.isTextblock;a++){if(l.type.spec.isolating)return!1;let f=l.firstChild;if(!f)return!1;l=f}let c=no(n.doc,o,a,w.empty);if(!c||c.from!=o||c instanceof te&&c.slice.size>=a-o)return!1;if(t){let f=n.tr.step(c);f.setSelection(z.create(f.doc,o)),t(f.scrollIntoView())}return!0}function Cn(n,e,t=!1){for(let r=n;r;r=e=="start"?r.firstChild:r.lastChild){if(r.isTextblock)return!0;if(t&&r.childCount!=1)return!1}return!1}const Ly=(n,e,t)=>{let{$head:r,empty:i}=n.selection,o=r;if(!i)return!1;if(r.parent.isTextblock){if(t?!t.endOfTextblock("backward",n):r.parentOffset>0)return!1;o=Nl(r)}let s=o&&o.nodeBefore;return!s||!E.isSelectable(s)?!1:(e&&e(n.tr.setSelection(E.create(n.doc,o.pos-s.nodeSize)).scrollIntoView()),!0)};function Nl(n){if(!n.parent.type.spec.isolating)for(let e=n.depth-1;e>=0;e--){if(n.index(e)>0)return n.doc.resolve(n.before(e+1));if(n.node(e).type.spec.isolating)break}return null}function _d(n,e){let{$cursor:t}=n.selection;return!t||(e?!e.endOfTextblock("forward",n):t.parentOffset<t.parent.content.size)?null:t}const Fy=(n,e,t)=>{let r=_d(n,t);if(!r)return!1;let i=Rl(r);if(!i)return!1;let o=i.nodeAfter;if(Vd(n,i,e,1))return!0;if(r.parent.content.size==0&&(Cn(o,"start")||E.isSelectable(o))){let s=no(n.doc,r.before(),r.after(),w.empty);if(s&&s.slice.size<s.to-s.from){if(e){let l=n.tr.step(s);l.setSelection(Cn(o,"start")?R.findFrom(l.doc.resolve(l.mapping.map(i.pos)),1):E.create(l.doc,l.mapping.map(i.pos))),e(l.scrollIntoView())}return!0}}return o.isAtom&&i.depth==r.depth-1?(e&&e(n.tr.delete(i.pos,i.pos+o.nodeSize).scrollIntoView()),!0):!1},_y=(n,e,t)=>{let{$head:r,empty:i}=n.selection,o=r;if(!i)return!1;if(r.parent.isTextblock){if(t?!t.endOfTextblock("forward",n):r.parentOffset<r.parent.content.size)return!1;o=Rl(r)}let s=o&&o.nodeAfter;return!s||!E.isSelectable(s)?!1:(e&&e(n.tr.setSelection(E.create(n.doc,o.pos)).scrollIntoView()),!0)};function Rl(n){if(!n.parent.type.spec.isolating)for(let e=n.depth-1;e>=0;e--){let t=n.node(e);if(n.index(e)+1<t.childCount)return n.doc.resolve(n.after(e+1));if(t.type.spec.isolating)break}return null}const jy=(n,e)=>{let t=n.selection,r=t instanceof E,i;if(r){if(t.node.isTextblock||!Mn(n.doc,t.from))return!1;i=t.from}else if(i=bl(n.doc,t.from,-1),i==null)return!1;if(e){let o=n.tr.join(i);r&&o.setSelection(E.create(o.doc,i-n.doc.resolve(i).nodeBefore.nodeSize)),e(o.scrollIntoView())}return!0},Vy=(n,e)=>{let t=n.selection,r;if(t instanceof E){if(t.node.isTextblock||!Mn(n.doc,t.to))return!1;r=t.to}else if(r=bl(n.doc,t.to,1),r==null)return!1;return e&&e(n.tr.join(r).scrollIntoView()),!0},Wy=(n,e)=>{let{$from:t,$to:r}=n.selection,i=t.blockRange(r),o=i&&En(i);return o==null?!1:(e&&e(n.tr.lift(i,o).scrollIntoView()),!0)},Hy=(n,e)=>{let{$head:t,$anchor:r}=n.selection;return!t.parent.type.spec.code||!t.sameParent(r)?!1:(e&&e(n.tr.insertText(`
10
- `).scrollIntoView()),!0)};function jd(n){for(let e=0;e<n.edgeCount;e++){let{type:t}=n.edge(e);if(t.isTextblock&&!t.hasRequiredAttrs())return t}return null}const Uy=(n,e)=>{let{$head:t,$anchor:r}=n.selection;if(!t.parent.type.spec.code||!t.sameParent(r))return!1;let i=t.node(-1),o=t.indexAfter(-1),s=jd(i.contentMatchAt(o));if(!s||!i.canReplaceWith(o,o,s))return!1;if(e){let l=t.after(),a=n.tr.replaceWith(l,l,s.createAndFill());a.setSelection(R.near(a.doc.resolve(l),1)),e(a.scrollIntoView())}return!0},Ky=(n,e)=>{let t=n.selection,{$from:r,$to:i}=t;if(t instanceof Oe||r.parent.inlineContent||i.parent.inlineContent)return!1;let o=jd(i.parent.contentMatchAt(i.indexAfter()));if(!o||!o.isTextblock)return!1;if(e){let s=(!r.parentOffset&&i.index()<i.parent.childCount?r:i).pos,l=n.tr.insert(s,o.createAndFill());l.setSelection(z.create(l.doc,s+1)),e(l.scrollIntoView())}return!0},Jy=(n,e)=>{let{$cursor:t}=n.selection;if(!t||t.parent.content.size)return!1;if(t.depth>1&&t.after()!=t.end(-1)){let o=t.before();if(yl(n.doc,o))return e&&e(n.tr.split(o).scrollIntoView()),!0}let r=t.blockRange(),i=r&&En(r);return i==null?!1:(e&&e(n.tr.lift(r,i).scrollIntoView()),!0)},qy=(n,e)=>{let{$from:t,to:r}=n.selection,i,o=t.sharedDepth(r);return o==0?!1:(i=t.before(o),e&&e(n.tr.setSelection(E.create(n.doc,i))),!0)};function Gy(n,e,t){let r=e.nodeBefore,i=e.nodeAfter,o=e.index();return!r||!i||!r.type.compatibleContent(i.type)?!1:!r.content.size&&e.parent.canReplace(o-1,o)?(t&&t(n.tr.delete(e.pos-r.nodeSize,e.pos).scrollIntoView()),!0):!e.parent.canReplace(o,o+1)||!(i.isTextblock||Mn(n.doc,e.pos))?!1:(t&&t(n.tr.clearIncompatible(e.pos,r.type,r.contentMatchAt(r.childCount)).join(e.pos).scrollIntoView()),!0)}function Vd(n,e,t,r){let i=e.nodeBefore,o=e.nodeAfter,s,l,a=i.type.spec.isolating||o.type.spec.isolating;if(!a&&Gy(n,e,t))return!0;let c=!a&&e.parent.canReplace(e.index(),e.index()+1);if(c&&(s=(l=i.contentMatchAt(i.childCount)).findWrapping(o.type))&&l.matchType(s[0]||o.type).validEnd){if(t){let p=e.pos+o.nodeSize,h=b.empty;for(let y=s.length-1;y>=0;y--)h=b.from(s[y].create(null,h));h=b.from(i.copy(h));let m=n.tr.step(new ne(e.pos-1,p,e.pos,p,new w(h,1,0),s.length,!0)),g=p+2*s.length;Mn(m.doc,g)&&m.join(g),t(m.scrollIntoView())}return!0}let f=o.type.spec.isolating||r>0&&a?null:R.findFrom(e,1),u=f&&f.$from.blockRange(f.$to),d=u&&En(u);if(d!=null&&d>=e.depth)return t&&t(n.tr.lift(u,d).scrollIntoView()),!0;if(c&&Cn(o,"start",!0)&&Cn(i,"end")){let p=i,h=[];for(;h.push(p),!p.isTextblock;)p=p.lastChild;let m=o,g=1;for(;!m.isTextblock;m=m.firstChild)g++;if(p.canReplace(p.childCount,p.childCount,m.content)){if(t){let y=b.empty;for(let k=h.length-1;k>=0;k--)y=b.from(h[k].copy(y));let C=n.tr.step(new ne(e.pos-h.length,e.pos+o.nodeSize,e.pos+g,e.pos+o.nodeSize-g,new w(y,h.length,0),0,!0));t(C.scrollIntoView())}return!0}}return!1}function Wd(n){return function(e,t){let r=e.selection,i=n<0?r.$from:r.$to,o=i.depth;for(;i.node(o).isInline;){if(!o)return!1;o--}return i.node(o).isTextblock?(t&&t(e.tr.setSelection(z.create(e.doc,n<0?i.start(o):i.end(o)))),!0):!1}}const Yy=Wd(-1),Xy=Wd(1);function Qy(n,e=null){return function(t,r){let{$from:i,$to:o}=t.selection,s=i.blockRange(o),l=s&&gl(s,n,e);return l?(r&&r(t.tr.wrap(s,l).scrollIntoView()),!0):!1}}function Zy(n,e=null){return function(t,r){let i=!1;for(let o=0;o<t.selection.ranges.length&&!i;o++){let{$from:{pos:s},$to:{pos:l}}=t.selection.ranges[o];t.doc.nodesBetween(s,l,(a,c)=>{if(i)return!1;if(!(!a.isTextblock||a.hasMarkup(n,e)))if(a.type==n)i=!0;else{let f=t.doc.resolve(c),u=f.index();i=f.parent.canReplaceWith(u,u+1,n)}})}if(!i)return!1;if(r){let o=t.tr;for(let s=0;s<t.selection.ranges.length;s++){let{$from:{pos:l},$to:{pos:a}}=t.selection.ranges[s];o.setBlockType(l,a,n,e)}r(o.scrollIntoView())}return!0}}typeof navigator<"u"?/Mac|iP(hone|[oa]d)/.test(navigator.platform):typeof os<"u"&&os.platform&&os.platform()=="darwin";function eb(n,e=null){return function(t,r){let{$from:i,$to:o}=t.selection,s=i.blockRange(o),l=!1,a=s;if(!s)return!1;if(s.depth>=2&&i.node(s.depth-1).type.compatibleContent(n)&&s.startIndex==0){if(i.index(s.depth-1)==0)return!1;let f=t.doc.resolve(s.start-2);a=new ei(f,f,s.depth),s.endIndex<s.parent.childCount&&(s=new ei(i,t.doc.resolve(o.end(s.depth)),s.depth)),l=!0}let c=gl(a,n,e,s);return c?(r&&r(tb(t.tr,s,c,l,n).scrollIntoView()),!0):!1}}function tb(n,e,t,r,i){let o=b.empty;for(let f=t.length-1;f>=0;f--)o=b.from(t[f].type.create(t[f].attrs,o));n.step(new ne(e.start-(r?2:0),e.end,e.start,e.end,new w(o,0,0),t.length,!0));let s=0;for(let f=0;f<t.length;f++)t[f].type==i&&(s=f+1);let l=t.length-s,a=e.start+t.length-(r?2:0),c=e.parent;for(let f=e.startIndex,u=e.endIndex,d=!0;f<u;f++,d=!1)!d&&yl(n.doc,a,l)&&(n.split(a,l),a+=2*l),a+=c.child(f).nodeSize;return n}function nb(n){return function(e,t){let{$from:r,$to:i}=e.selection,o=r.blockRange(i,s=>s.childCount>0&&s.firstChild.type==n);return o?t?r.node(o.depth-1).type==n?rb(e,t,n,o):ib(e,t,o):!0:!1}}function rb(n,e,t,r){let i=n.tr,o=r.end,s=r.$to.end(r.depth);o<s&&(i.step(new ne(o-1,s,o,s,new w(b.from(t.create(null,r.parent.copy())),1,0),1,!0)),r=new ei(i.doc.resolve(r.$from.pos),i.doc.resolve(s),r.depth));const l=En(r);if(l==null)return!1;i.lift(r,l);let a=i.mapping.map(o,-1)-1;return Mn(i.doc,a)&&i.join(a),e(i.scrollIntoView()),!0}function ib(n,e,t){let r=n.tr,i=t.parent;for(let p=t.end,h=t.endIndex-1,m=t.startIndex;h>m;h--)p-=i.child(h).nodeSize,r.delete(p-1,p+1);let o=r.doc.resolve(t.start),s=o.nodeAfter;if(r.mapping.map(t.end)!=t.start+o.nodeAfter.nodeSize)return!1;let l=t.startIndex==0,a=t.endIndex==i.childCount,c=o.node(-1),f=o.index(-1);if(!c.canReplace(f+(l?0:1),f+1,s.content.append(a?b.empty:b.from(i))))return!1;let u=o.pos,d=u+s.nodeSize;return r.step(new ne(u-(l?1:0),d+(a?1:0),u+1,d-1,new w((l?b.empty:b.from(i.copy(b.empty))).append(a?b.empty:b.from(i.copy(b.empty))),l?0:1,a?0:1),l?0:1)),e(r.scrollIntoView()),!0}function ob(n){return function(e,t){let{$from:r,$to:i}=e.selection,o=r.blockRange(i,c=>c.childCount>0&&c.firstChild.type==n);if(!o)return!1;let s=o.startIndex;if(s==0)return!1;let l=o.parent,a=l.child(s-1);if(a.type!=n)return!1;if(t){let c=a.lastChild&&a.lastChild.type==l.type,f=b.from(c?n.create():null),u=new w(b.from(n.create(null,b.from(l.type.create(null,f)))),c?3:1,0),d=o.start,p=o.end;t(e.tr.step(new ne(d-(c?3:1),p,d,p,u,1,!0)).scrollIntoView())}return!0}}function Hd(n){var e,t,r="";if(typeof n=="string"||typeof n=="number")r+=n;else if(typeof n=="object")if(Array.isArray(n)){var i=n.length;for(e=0;e<i;e++)n[e]&&(t=Hd(n[e]))&&(r&&(r+=" "),r+=t)}else for(t in n)n[t]&&(r&&(r+=" "),r+=t);return r}function sb(){for(var n,e,t=0,r="",i=arguments.length;t<i;t++)(n=arguments[t])&&(e=Hd(n))&&(r&&(r+=" "),r+=e);return r}const Il="-",lb=n=>{const e=cb(n),{conflictingClassGroups:t,conflictingClassGroupModifiers:r}=n;return{getClassGroupId:s=>{const l=s.split(Il);return l[0]===""&&l.length!==1&&l.shift(),Ud(l,e)||ab(s)},getConflictingClassGroupIds:(s,l)=>{const a=t[s]||[];return l&&r[s]?[...a,...r[s]]:a}}},Ud=(n,e)=>{var s;if(n.length===0)return e.classGroupId;const t=n[0],r=e.nextPart.get(t),i=r?Ud(n.slice(1),r):void 0;if(i)return i;if(e.validators.length===0)return;const o=n.join(Il);return(s=e.validators.find(({validator:l})=>l(o)))==null?void 0:s.classGroupId},fc=/^\[(.+)\]$/,ab=n=>{if(fc.test(n)){const e=fc.exec(n)[1],t=e==null?void 0:e.substring(0,e.indexOf(":"));if(t)return"arbitrary.."+t}},cb=n=>{const{theme:e,prefix:t}=n,r={nextPart:new Map,validators:[]};return ub(Object.entries(n.classGroups),t).forEach(([o,s])=>{As(s,r,o,e)}),r},As=(n,e,t,r)=>{n.forEach(i=>{if(typeof i=="string"){const o=i===""?e:uc(e,i);o.classGroupId=t;return}if(typeof i=="function"){if(fb(i)){As(i(r),e,t,r);return}e.validators.push({validator:i,classGroupId:t});return}Object.entries(i).forEach(([o,s])=>{As(s,uc(e,o),t,r)})})},uc=(n,e)=>{let t=n;return e.split(Il).forEach(r=>{t.nextPart.has(r)||t.nextPart.set(r,{nextPart:new Map,validators:[]}),t=t.nextPart.get(r)}),t},fb=n=>n.isThemeGetter,ub=(n,e)=>e?n.map(([t,r])=>{const i=r.map(o=>typeof o=="string"?e+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([s,l])=>[e+s,l])):o);return[t,i]}):n,db=n=>{if(n<1)return{get:()=>{},set:()=>{}};let e=0,t=new Map,r=new Map;const i=(o,s)=>{t.set(o,s),e++,e>n&&(e=0,r=t,t=new Map)};return{get(o){let s=t.get(o);if(s!==void 0)return s;if((s=r.get(o))!==void 0)return i(o,s),s},set(o,s){t.has(o)?t.set(o,s):i(o,s)}}},Kd="!",hb=n=>{const{separator:e,experimentalParseClassName:t}=n,r=e.length===1,i=e[0],o=e.length,s=l=>{const a=[];let c=0,f=0,u;for(let g=0;g<l.length;g++){let y=l[g];if(c===0){if(y===i&&(r||l.slice(g,g+o)===e)){a.push(l.slice(f,g)),f=g+o;continue}if(y==="/"){u=g;continue}}y==="["?c++:y==="]"&&c--}const d=a.length===0?l:l.substring(f),p=d.startsWith(Kd),h=p?d.substring(1):d,m=u&&u>f?u-f:void 0;return{modifiers:a,hasImportantModifier:p,baseClassName:h,maybePostfixModifierPosition:m}};return t?l=>t({className:l,parseClassName:s}):s},pb=n=>{if(n.length<=1)return n;const e=[];let t=[];return n.forEach(r=>{r[0]==="["?(e.push(...t.sort(),r),t=[]):t.push(r)}),e.push(...t.sort()),e},mb=n=>({cache:db(n.cacheSize),parseClassName:hb(n),...lb(n)}),gb=/\s+/,yb=(n,e)=>{const{parseClassName:t,getClassGroupId:r,getConflictingClassGroupIds:i}=e,o=[],s=n.trim().split(gb);let l="";for(let a=s.length-1;a>=0;a-=1){const c=s[a],{modifiers:f,hasImportantModifier:u,baseClassName:d,maybePostfixModifierPosition:p}=t(c);let h=!!p,m=r(h?d.substring(0,p):d);if(!m){if(!h){l=c+(l.length>0?" "+l:l);continue}if(m=r(d),!m){l=c+(l.length>0?" "+l:l);continue}h=!1}const g=pb(f).join(":"),y=u?g+Kd:g,C=y+m;if(o.includes(C))continue;o.push(C);const k=i(m,h);for(let N=0;N<k.length;++N){const M=k[N];o.push(y+M)}l=c+(l.length>0?" "+l:l)}return l};function bb(){let n=0,e,t,r="";for(;n<arguments.length;)(e=arguments[n++])&&(t=Jd(e))&&(r&&(r+=" "),r+=t);return r}const Jd=n=>{if(typeof n=="string")return n;let e,t="";for(let r=0;r<n.length;r++)n[r]&&(e=Jd(n[r]))&&(t&&(t+=" "),t+=e);return t};function vb(n,...e){let t,r,i,o=s;function s(a){const c=e.reduce((f,u)=>u(f),n());return t=mb(c),r=t.cache.get,i=t.cache.set,o=l,l(a)}function l(a){const c=r(a);if(c)return c;const f=yb(a,t);return i(a,f),f}return function(){return o(bb.apply(null,arguments))}}const V=n=>{const e=t=>t[n]||[];return e.isThemeGetter=!0,e},qd=/^\[(?:([a-z-]+):)?(.+)\]$/i,Sb=/^\d+\/\d+$/,wb=new Set(["px","full","screen"]),xb=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Cb=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Ob=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,kb=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Ab=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Xe=n=>gn(n)||wb.has(n)||Sb.test(n),at=n=>Rn(n,"length",Pb),gn=n=>!!n&&!Number.isNaN(Number(n)),Do=n=>Rn(n,"number",gn),zn=n=>!!n&&Number.isInteger(Number(n)),Tb=n=>n.endsWith("%")&&gn(n.slice(0,-1)),P=n=>qd.test(n),ct=n=>xb.test(n),Eb=new Set(["length","size","percentage"]),Mb=n=>Rn(n,Eb,Gd),Nb=n=>Rn(n,"position",Gd),Rb=new Set(["image","url"]),Ib=n=>Rn(n,Rb,Bb),Db=n=>Rn(n,"",$b),Ln=()=>!0,Rn=(n,e,t)=>{const r=qd.exec(n);return r?r[1]?typeof e=="string"?r[1]===e:e.has(r[1]):t(r[2]):!1},Pb=n=>Cb.test(n)&&!Ob.test(n),Gd=()=>!1,$b=n=>kb.test(n),Bb=n=>Ab.test(n),zb=()=>{const n=V("colors"),e=V("spacing"),t=V("blur"),r=V("brightness"),i=V("borderColor"),o=V("borderRadius"),s=V("borderSpacing"),l=V("borderWidth"),a=V("contrast"),c=V("grayscale"),f=V("hueRotate"),u=V("invert"),d=V("gap"),p=V("gradientColorStops"),h=V("gradientColorStopPositions"),m=V("inset"),g=V("margin"),y=V("opacity"),C=V("padding"),k=V("saturate"),N=V("scale"),M=V("sepia"),x=V("skew"),I=V("space"),D=V("translate"),T=()=>["auto","contain","none"],Y=()=>["auto","hidden","clip","visible","scroll"],A=()=>["auto",P,e],O=()=>[P,e],B=()=>["",Xe,at],v=()=>["auto",gn,P],X=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],F=()=>["solid","dashed","dotted","double","none"],j=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ie=()=>["start","end","center","between","around","evenly","stretch"],U=()=>["","0",P],lt=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Z=()=>[gn,P];return{cacheSize:500,separator:":",theme:{colors:[Ln],spacing:[Xe,at],blur:["none","",ct,P],brightness:Z(),borderColor:[n],borderRadius:["none","","full",ct,P],borderSpacing:O(),borderWidth:B(),contrast:Z(),grayscale:U(),hueRotate:Z(),invert:U(),gap:O(),gradientColorStops:[n],gradientColorStopPositions:[Tb,at],inset:A(),margin:A(),opacity:Z(),padding:O(),saturate:Z(),scale:Z(),sepia:U(),skew:Z(),space:O(),translate:O()},classGroups:{aspect:[{aspect:["auto","square","video",P]}],container:["container"],columns:[{columns:[ct]}],"break-after":[{"break-after":lt()}],"break-before":[{"break-before":lt()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...X(),P]}],overflow:[{overflow:Y()}],"overflow-x":[{"overflow-x":Y()}],"overflow-y":[{"overflow-y":Y()}],overscroll:[{overscroll:T()}],"overscroll-x":[{"overscroll-x":T()}],"overscroll-y":[{"overscroll-y":T()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",zn,P]}],basis:[{basis:A()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",P]}],grow:[{grow:U()}],shrink:[{shrink:U()}],order:[{order:["first","last","none",zn,P]}],"grid-cols":[{"grid-cols":[Ln]}],"col-start-end":[{col:["auto",{span:["full",zn,P]},P]}],"col-start":[{"col-start":v()}],"col-end":[{"col-end":v()}],"grid-rows":[{"grid-rows":[Ln]}],"row-start-end":[{row:["auto",{span:[zn,P]},P]}],"row-start":[{"row-start":v()}],"row-end":[{"row-end":v()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",P]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",P]}],gap:[{gap:[d]}],"gap-x":[{"gap-x":[d]}],"gap-y":[{"gap-y":[d]}],"justify-content":[{justify:["normal",...ie()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ie(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ie(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[C]}],px:[{px:[C]}],py:[{py:[C]}],ps:[{ps:[C]}],pe:[{pe:[C]}],pt:[{pt:[C]}],pr:[{pr:[C]}],pb:[{pb:[C]}],pl:[{pl:[C]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[I]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[I]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",P,e]}],"min-w":[{"min-w":[P,e,"min","max","fit"]}],"max-w":[{"max-w":[P,e,"none","full","min","max","fit","prose",{screen:[ct]},ct]}],h:[{h:[P,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[P,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[P,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[P,e,"auto","min","max","fit"]}],"font-size":[{text:["base",ct,at]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Do]}],"font-family":[{font:[Ln]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",P]}],"line-clamp":[{"line-clamp":["none",gn,Do]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Xe,P]}],"list-image":[{"list-image":["none",P]}],"list-style-type":[{list:["none","disc","decimal",P]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[n]}],"placeholder-opacity":[{"placeholder-opacity":[y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[n]}],"text-opacity":[{"text-opacity":[y]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...F(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Xe,at]}],"underline-offset":[{"underline-offset":["auto",Xe,P]}],"text-decoration-color":[{decoration:[n]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:O()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",P]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",P]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[y]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...X(),Nb]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Mb]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Ib]}],"bg-color":[{bg:[n]}],"gradient-from-pos":[{from:[h]}],"gradient-via-pos":[{via:[h]}],"gradient-to-pos":[{to:[h]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[y]}],"border-style":[{border:[...F(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[y]}],"divide-style":[{divide:F()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...F()]}],"outline-offset":[{"outline-offset":[Xe,P]}],"outline-w":[{outline:[Xe,at]}],"outline-color":[{outline:[n]}],"ring-w":[{ring:B()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[n]}],"ring-opacity":[{"ring-opacity":[y]}],"ring-offset-w":[{"ring-offset":[Xe,at]}],"ring-offset-color":[{"ring-offset":[n]}],shadow:[{shadow:["","inner","none",ct,Db]}],"shadow-color":[{shadow:[Ln]}],opacity:[{opacity:[y]}],"mix-blend":[{"mix-blend":[...j(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":j()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[r]}],contrast:[{contrast:[a]}],"drop-shadow":[{"drop-shadow":["","none",ct,P]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[u]}],saturate:[{saturate:[k]}],sepia:[{sepia:[M]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[a]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[u]}],"backdrop-opacity":[{"backdrop-opacity":[y]}],"backdrop-saturate":[{"backdrop-saturate":[k]}],"backdrop-sepia":[{"backdrop-sepia":[M]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",P]}],duration:[{duration:Z()}],ease:[{ease:["linear","in","out","in-out",P]}],delay:[{delay:Z()}],animate:[{animate:["none","spin","ping","pulse","bounce",P]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[N]}],"scale-x":[{"scale-x":[N]}],"scale-y":[{"scale-y":[N]}],rotate:[{rotate:[zn,P]}],"translate-x":[{"translate-x":[D]}],"translate-y":[{"translate-y":[D]}],"skew-x":[{"skew-x":[x]}],"skew-y":[{"skew-y":[x]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",P]}],accent:[{accent:["auto",n]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",P]}],"caret-color":[{caret:[n]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":O()}],"scroll-mx":[{"scroll-mx":O()}],"scroll-my":[{"scroll-my":O()}],"scroll-ms":[{"scroll-ms":O()}],"scroll-me":[{"scroll-me":O()}],"scroll-mt":[{"scroll-mt":O()}],"scroll-mr":[{"scroll-mr":O()}],"scroll-mb":[{"scroll-mb":O()}],"scroll-ml":[{"scroll-ml":O()}],"scroll-p":[{"scroll-p":O()}],"scroll-px":[{"scroll-px":O()}],"scroll-py":[{"scroll-py":O()}],"scroll-ps":[{"scroll-ps":O()}],"scroll-pe":[{"scroll-pe":O()}],"scroll-pt":[{"scroll-pt":O()}],"scroll-pr":[{"scroll-pr":O()}],"scroll-pb":[{"scroll-pb":O()}],"scroll-pl":[{"scroll-pl":O()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",P]}],fill:[{fill:[n,"none"]}],"stroke-w":[{stroke:[Xe,at,Do]}],stroke:[{stroke:[n,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},Lb=vb(zb);var cr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Yd(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}function Fb(n){if(n.__esModule)return n;var e=n.default;if(typeof e=="function"){var t=function r(){return this instanceof r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};t.prototype=e.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(n).forEach(function(r){var i=Object.getOwnPropertyDescriptor(n,r);Object.defineProperty(t,r,i.get?i:{enumerable:!0,get:function(){return n[r]}})}),t}var dc=Object.prototype.toString,Xd=function(e){var t=dc.call(e),r=t==="[object Arguments]";return r||(r=t!=="[object Array]"&&e!==null&&typeof e=="object"&&typeof e.length=="number"&&e.length>=0&&dc.call(e.callee)==="[object Function]"),r},Po,hc;function _b(){if(hc)return Po;hc=1;var n;if(!Object.keys){var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,r=Xd,i=Object.prototype.propertyIsEnumerable,o=!i.call({toString:null},"toString"),s=i.call(function(){},"prototype"),l=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],a=function(d){var p=d.constructor;return p&&p.prototype===d},c={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},f=function(){if(typeof window>"u")return!1;for(var d in window)try{if(!c["$"+d]&&e.call(window,d)&&window[d]!==null&&typeof window[d]=="object")try{a(window[d])}catch{return!0}}catch{return!0}return!1}(),u=function(d){if(typeof window>"u"||!f)return a(d);try{return a(d)}catch{return!1}};n=function(p){var h=p!==null&&typeof p=="object",m=t.call(p)==="[object Function]",g=r(p),y=h&&t.call(p)==="[object String]",C=[];if(!h&&!m&&!g)throw new TypeError("Object.keys called on a non-object");var k=s&&m;if(y&&p.length>0&&!e.call(p,0))for(var N=0;N<p.length;++N)C.push(String(N));if(g&&p.length>0)for(var M=0;M<p.length;++M)C.push(String(M));else for(var x in p)!(k&&x==="prototype")&&e.call(p,x)&&C.push(String(x));if(o)for(var I=u(p),D=0;D<l.length;++D)!(I&&l[D]==="constructor")&&e.call(p,l[D])&&C.push(l[D]);return C}}return Po=n,Po}var jb=Array.prototype.slice,Vb=Xd,pc=Object.keys,zr=pc?function(e){return pc(e)}:_b(),mc=Object.keys;zr.shim=function(){if(Object.keys){var e=function(){var t=Object.keys(arguments);return t&&t.length===arguments.length}(1,2);e||(Object.keys=function(r){return Vb(r)?mc(jb.call(r)):mc(r)})}else Object.keys=zr;return Object.keys||zr};var Dl=zr,Wb=Error,Hb=EvalError,Ub=RangeError,Kb=ReferenceError,Qd=SyntaxError,Nt=TypeError,Jb=URIError,lo=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},t=Symbol("test"),r=Object(t);if(typeof t=="string"||Object.prototype.toString.call(t)!=="[object Symbol]"||Object.prototype.toString.call(r)!=="[object Symbol]")return!1;var i=42;e[t]=i;for(t in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var o=Object.getOwnPropertySymbols(e);if(o.length!==1||o[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(e,t);if(s.value!==i||s.enumerable!==!0)return!1}return!0},gc=typeof Symbol<"u"&&Symbol,qb=lo,Pl=function(){return typeof gc!="function"||typeof Symbol!="function"||typeof gc("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:qb()},$o={__proto__:null,foo:{}},Gb=Object,Yb=function(){return{__proto__:$o}.foo===$o.foo&&!($o instanceof Gb)},Xb="Function.prototype.bind called on incompatible ",Qb=Object.prototype.toString,Zb=Math.max,e0="[object Function]",yc=function(e,t){for(var r=[],i=0;i<e.length;i+=1)r[i]=e[i];for(var o=0;o<t.length;o+=1)r[o+e.length]=t[o];return r},t0=function(e,t){for(var r=[],i=t,o=0;i<e.length;i+=1,o+=1)r[o]=e[i];return r},n0=function(n,e){for(var t="",r=0;r<n.length;r+=1)t+=n[r],r+1<n.length&&(t+=e);return t},r0=function(e){var t=this;if(typeof t!="function"||Qb.apply(t)!==e0)throw new TypeError(Xb+t);for(var r=t0(arguments,1),i,o=function(){if(this instanceof i){var f=t.apply(this,yc(r,arguments));return Object(f)===f?f:this}return t.apply(e,yc(r,arguments))},s=Zb(0,t.length-r.length),l=[],a=0;a<s;a++)l[a]="$"+a;if(i=Function("binder","return function ("+n0(l,",")+"){ return binder.apply(this,arguments); }")(o),t.prototype){var c=function(){};c.prototype=t.prototype,i.prototype=new c,c.prototype=null}return i},i0=r0,$l=Function.prototype.bind||i0,o0=Function.prototype.call,s0=Object.prototype.hasOwnProperty,l0=$l,Zd=l0.call(o0,s0),L,a0=Wb,c0=Hb,f0=Ub,u0=Kb,On=Qd,yn=Nt,d0=Jb,eh=Function,Bo=function(n){try{return eh('"use strict"; return ('+n+").constructor;")()}catch{}},jt=Object.getOwnPropertyDescriptor;if(jt)try{jt({},"")}catch{jt=null}var zo=function(){throw new yn},h0=jt?function(){try{return arguments.callee,zo}catch{try{return jt(arguments,"callee").get}catch{return zo}}}():zo,rn=Pl(),p0=Yb(),ee=Object.getPrototypeOf||(p0?function(n){return n.__proto__}:null),cn={},m0=typeof Uint8Array>"u"||!ee?L:ee(Uint8Array),Vt={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?L:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?L:ArrayBuffer,"%ArrayIteratorPrototype%":rn&&ee?ee([][Symbol.iterator]()):L,"%AsyncFromSyncIteratorPrototype%":L,"%AsyncFunction%":cn,"%AsyncGenerator%":cn,"%AsyncGeneratorFunction%":cn,"%AsyncIteratorPrototype%":cn,"%Atomics%":typeof Atomics>"u"?L:Atomics,"%BigInt%":typeof BigInt>"u"?L:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?L:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?L:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?L:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":a0,"%eval%":eval,"%EvalError%":c0,"%Float32Array%":typeof Float32Array>"u"?L:Float32Array,"%Float64Array%":typeof Float64Array>"u"?L:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?L:FinalizationRegistry,"%Function%":eh,"%GeneratorFunction%":cn,"%Int8Array%":typeof Int8Array>"u"?L:Int8Array,"%Int16Array%":typeof Int16Array>"u"?L:Int16Array,"%Int32Array%":typeof Int32Array>"u"?L:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":rn&&ee?ee(ee([][Symbol.iterator]())):L,"%JSON%":typeof JSON=="object"?JSON:L,"%Map%":typeof Map>"u"?L:Map,"%MapIteratorPrototype%":typeof Map>"u"||!rn||!ee?L:ee(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?L:Promise,"%Proxy%":typeof Proxy>"u"?L:Proxy,"%RangeError%":f0,"%ReferenceError%":u0,"%Reflect%":typeof Reflect>"u"?L:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?L:Set,"%SetIteratorPrototype%":typeof Set>"u"||!rn||!ee?L:ee(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?L:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":rn&&ee?ee(""[Symbol.iterator]()):L,"%Symbol%":rn?Symbol:L,"%SyntaxError%":On,"%ThrowTypeError%":h0,"%TypedArray%":m0,"%TypeError%":yn,"%Uint8Array%":typeof Uint8Array>"u"?L:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?L:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?L:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?L:Uint32Array,"%URIError%":d0,"%WeakMap%":typeof WeakMap>"u"?L:WeakMap,"%WeakRef%":typeof WeakRef>"u"?L:WeakRef,"%WeakSet%":typeof WeakSet>"u"?L:WeakSet};if(ee)try{null.error}catch(n){var g0=ee(ee(n));Vt["%Error.prototype%"]=g0}var y0=function n(e){var t;if(e==="%AsyncFunction%")t=Bo("async function () {}");else if(e==="%GeneratorFunction%")t=Bo("function* () {}");else if(e==="%AsyncGeneratorFunction%")t=Bo("async function* () {}");else if(e==="%AsyncGenerator%"){var r=n("%AsyncGeneratorFunction%");r&&(t=r.prototype)}else if(e==="%AsyncIteratorPrototype%"){var i=n("%AsyncGenerator%");i&&ee&&(t=ee(i.prototype))}return Vt[e]=t,t},bc={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},vr=$l,ci=Zd,b0=vr.call(Function.call,Array.prototype.concat),v0=vr.call(Function.apply,Array.prototype.splice),vc=vr.call(Function.call,String.prototype.replace),fi=vr.call(Function.call,String.prototype.slice),S0=vr.call(Function.call,RegExp.prototype.exec),w0=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,x0=/\\(\\)?/g,C0=function(e){var t=fi(e,0,1),r=fi(e,-1);if(t==="%"&&r!=="%")throw new On("invalid intrinsic syntax, expected closing `%`");if(r==="%"&&t!=="%")throw new On("invalid intrinsic syntax, expected opening `%`");var i=[];return vc(e,w0,function(o,s,l,a){i[i.length]=l?vc(a,x0,"$1"):s||o}),i},O0=function(e,t){var r=e,i;if(ci(bc,r)&&(i=bc[r],r="%"+i[0]+"%"),ci(Vt,r)){var o=Vt[r];if(o===cn&&(o=y0(r)),typeof o>"u"&&!t)throw new yn("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:i,name:r,value:o}}throw new On("intrinsic "+e+" does not exist!")},Ue=function(e,t){if(typeof e!="string"||e.length===0)throw new yn("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof t!="boolean")throw new yn('"allowMissing" argument must be a boolean');if(S0(/^%?[^%]*%?$/,e)===null)throw new On("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=C0(e),i=r.length>0?r[0]:"",o=O0("%"+i+"%",t),s=o.name,l=o.value,a=!1,c=o.alias;c&&(i=c[0],v0(r,b0([0,1],c)));for(var f=1,u=!0;f<r.length;f+=1){var d=r[f],p=fi(d,0,1),h=fi(d,-1);if((p==='"'||p==="'"||p==="`"||h==='"'||h==="'"||h==="`")&&p!==h)throw new On("property names with quotes must have matching quotes");if((d==="constructor"||!u)&&(a=!0),i+="."+d,s="%"+i+"%",ci(Vt,s))l=Vt[s];else if(l!=null){if(!(d in l)){if(!t)throw new yn("base intrinsic for "+e+" exists, but the property is not available.");return}if(jt&&f+1>=r.length){var m=jt(l,d);u=!!m,u&&"get"in m&&!("originalValue"in m.get)?l=m.get:l=l[d]}else u=ci(l,d),l=l[d];u&&!a&&(Vt[s]=l)}}return l},k0=Ue,Lr=k0("%Object.defineProperty%",!0)||!1;if(Lr)try{Lr({},"a",{value:1})}catch{Lr=!1}var Bl=Lr,A0=Ue,Fr=A0("%Object.getOwnPropertyDescriptor%",!0);if(Fr)try{Fr([],"length")}catch{Fr=null}var zl=Fr,Sc=Bl,T0=Qd,on=Nt,wc=zl,Ll=function(e,t,r){if(!e||typeof e!="object"&&typeof e!="function")throw new on("`obj` must be an object or a function`");if(typeof t!="string"&&typeof t!="symbol")throw new on("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new on("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new on("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new on("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new on("`loose`, if provided, must be a boolean");var i=arguments.length>3?arguments[3]:null,o=arguments.length>4?arguments[4]:null,s=arguments.length>5?arguments[5]:null,l=arguments.length>6?arguments[6]:!1,a=!!wc&&wc(e,t);if(Sc)Sc(e,t,{configurable:s===null&&a?a.configurable:!s,enumerable:i===null&&a?a.enumerable:!i,value:r,writable:o===null&&a?a.writable:!o});else if(l||!i&&!o&&!s)e[t]=r;else throw new T0("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},Ts=Bl,th=function(){return!!Ts};th.hasArrayLengthDefineBug=function(){if(!Ts)return null;try{return Ts([],"length",{value:1}).length!==1}catch{return!0}};var Fl=th,E0=Dl,M0=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",N0=Object.prototype.toString,R0=Array.prototype.concat,xc=Ll,I0=function(n){return typeof n=="function"&&N0.call(n)==="[object Function]"},nh=Fl(),D0=function(n,e,t,r){if(e in n){if(r===!0){if(n[e]===t)return}else if(!I0(r)||!r())return}nh?xc(n,e,t,!0):xc(n,e,t)},rh=function(n,e){var t=arguments.length>2?arguments[2]:{},r=E0(e);M0&&(r=R0.call(r,Object.getOwnPropertySymbols(e)));for(var i=0;i<r.length;i+=1)D0(n,r[i],e[r[i]],t[r[i]])};rh.supportsDescriptors=!!nh;var Xt=rh,ih={exports:{}},P0=Ue,Cc=Ll,$0=Fl(),Oc=zl,kc=Nt,B0=P0("%Math.floor%"),z0=function(e,t){if(typeof e!="function")throw new kc("`fn` is not a function");if(typeof t!="number"||t<0||t>4294967295||B0(t)!==t)throw new kc("`length` must be a positive 32-bit integer");var r=arguments.length>2&&!!arguments[2],i=!0,o=!0;if("length"in e&&Oc){var s=Oc(e,"length");s&&!s.configurable&&(i=!1),s&&!s.writable&&(o=!1)}return(i||o||!r)&&($0?Cc(e,"length",t,!0,!0):Cc(e,"length",t)),e};(function(n){var e=$l,t=Ue,r=z0,i=Nt,o=t("%Function.prototype.apply%"),s=t("%Function.prototype.call%"),l=t("%Reflect.apply%",!0)||e.call(s,o),a=Bl,c=t("%Math.max%");n.exports=function(d){if(typeof d!="function")throw new i("a function is required");var p=l(e,s,arguments);return r(p,1+c(0,d.length-(arguments.length-1)),!0)};var f=function(){return l(e,o,arguments)};a?a(n.exports,"apply",{value:f}):n.exports.apply=f})(ih);var In=ih.exports,oh=Ue,sh=In,L0=sh(oh("String.prototype.indexOf")),Ae=function(e,t){var r=oh(e,!!t);return typeof r=="function"&&L0(e,".prototype.")>-1?sh(r):r},F0=Dl,lh=lo(),ah=Ae,Ac=Object,_0=ah("Array.prototype.push"),Tc=ah("Object.prototype.propertyIsEnumerable"),j0=lh?Object.getOwnPropertySymbols:null,ch=function(e,t){if(e==null)throw new TypeError("target must be an object");var r=Ac(e);if(arguments.length===1)return r;for(var i=1;i<arguments.length;++i){var o=Ac(arguments[i]),s=F0(o),l=lh&&(Object.getOwnPropertySymbols||j0);if(l)for(var a=l(o),c=0;c<a.length;++c){var f=a[c];Tc(o,f)&&_0(s,f)}for(var u=0;u<s.length;++u){var d=s[u];if(Tc(o,d)){var p=o[d];r[d]=p}}}return r},Lo=ch,V0=function(){if(!Object.assign)return!1;for(var n="abcdefghijklmnopqrst",e=n.split(""),t={},r=0;r<e.length;++r)t[e[r]]=e[r];var i=Object.assign({},t),o="";for(var s in i)o+=s;return n!==o},W0=function(){if(!Object.assign||!Object.preventExtensions)return!1;var n=Object.preventExtensions({1:2});try{Object.assign(n,"xy")}catch{return n[1]==="y"}return!1},fh=function(){return!Object.assign||V0()||W0()?Lo:Object.assign},H0=Xt,U0=fh,K0=function(){var e=U0();return H0(Object,{assign:e},{assign:function(){return Object.assign!==e}}),e},J0=Xt,q0=In,G0=ch,uh=fh,Y0=K0,X0=q0.apply(uh()),dh=function(e,t){return X0(Object,arguments)};J0(dh,{getPolyfill:uh,implementation:G0,shim:Y0});var Q0=dh,fr=function(){return typeof(function(){}).name=="string"},Yn=Object.getOwnPropertyDescriptor;if(Yn)try{Yn([],"length")}catch{Yn=null}fr.functionsHaveConfigurableNames=function(){if(!fr()||!Yn)return!1;var e=Yn(function(){},"name");return!!e&&!!e.configurable};var Z0=Function.prototype.bind;fr.boundFunctionsHaveNames=function(){return fr()&&typeof Z0=="function"&&(function(){}).bind().name!==""};var e1=fr,Ec=Ll,t1=Fl(),n1=e1.functionsHaveConfigurableNames(),r1=Nt,i1=function(e,t){if(typeof e!="function")throw new r1("`fn` is not a function");var r=arguments.length>2&&!!arguments[2];return(!r||n1)&&(t1?Ec(e,"name",t,!0,!0):Ec(e,"name",t)),e},o1=i1,s1=Nt,l1=Object,hh=o1(function(){if(this==null||this!==l1(this))throw new s1("RegExp.prototype.flags getter called on non-object");var e="";return this.hasIndices&&(e+="d"),this.global&&(e+="g"),this.ignoreCase&&(e+="i"),this.multiline&&(e+="m"),this.dotAll&&(e+="s"),this.unicode&&(e+="u"),this.unicodeSets&&(e+="v"),this.sticky&&(e+="y"),e},"get flags",!0),a1=hh,c1=Xt.supportsDescriptors,f1=Object.getOwnPropertyDescriptor,ph=function(){if(c1&&/a/mig.flags==="gim"){var e=f1(RegExp.prototype,"flags");if(e&&typeof e.get=="function"&&typeof RegExp.prototype.dotAll=="boolean"&&typeof RegExp.prototype.hasIndices=="boolean"){var t="",r={};if(Object.defineProperty(r,"hasIndices",{get:function(){t+="d"}}),Object.defineProperty(r,"sticky",{get:function(){t+="y"}}),t==="dy")return e.get}}return a1},u1=Xt.supportsDescriptors,d1=ph,h1=Object.getOwnPropertyDescriptor,p1=Object.defineProperty,m1=TypeError,Mc=Object.getPrototypeOf,g1=/a/,y1=function(){if(!u1||!Mc)throw new m1("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var e=d1(),t=Mc(g1),r=h1(t,"flags");return(!r||r.get!==e)&&p1(t,"flags",{configurable:!0,enumerable:!1,get:e}),e},b1=Xt,v1=In,S1=hh,mh=ph,w1=y1,gh=v1(mh());b1(gh,{getPolyfill:mh,implementation:S1,shim:w1});var x1=gh,_r={exports:{}},C1=lo,Qt=function(){return C1()&&!!Symbol.toStringTag},O1=Qt(),k1=Ae,Es=k1("Object.prototype.toString"),ao=function(e){return O1&&e&&typeof e=="object"&&Symbol.toStringTag in e?!1:Es(e)==="[object Arguments]"},yh=function(e){return ao(e)?!0:e!==null&&typeof e=="object"&&typeof e.length=="number"&&e.length>=0&&Es(e)!=="[object Array]"&&Es(e.callee)==="[object Function]"},A1=function(){return ao(arguments)}();ao.isLegacyArguments=yh;var bh=A1?ao:yh;const T1={},E1=Object.freeze(Object.defineProperty({__proto__:null,default:T1},Symbol.toStringTag,{value:"Module"})),M1=Fb(E1);var _l=typeof Map=="function"&&Map.prototype,Fo=Object.getOwnPropertyDescriptor&&_l?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,ui=_l&&Fo&&typeof Fo.get=="function"?Fo.get:null,Nc=_l&&Map.prototype.forEach,jl=typeof Set=="function"&&Set.prototype,_o=Object.getOwnPropertyDescriptor&&jl?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,di=jl&&_o&&typeof _o.get=="function"?_o.get:null,Rc=jl&&Set.prototype.forEach,N1=typeof WeakMap=="function"&&WeakMap.prototype,Xn=N1?WeakMap.prototype.has:null,R1=typeof WeakSet=="function"&&WeakSet.prototype,Qn=R1?WeakSet.prototype.has:null,I1=typeof WeakRef=="function"&&WeakRef.prototype,Ic=I1?WeakRef.prototype.deref:null,D1=Boolean.prototype.valueOf,P1=Object.prototype.toString,$1=Function.prototype.toString,B1=String.prototype.match,Vl=String.prototype.slice,Ct=String.prototype.replace,z1=String.prototype.toUpperCase,Dc=String.prototype.toLowerCase,vh=RegExp.prototype.test,Pc=Array.prototype.concat,Le=Array.prototype.join,L1=Array.prototype.slice,$c=Math.floor,Ms=typeof BigInt=="function"?BigInt.prototype.valueOf:null,jo=Object.getOwnPropertySymbols,Ns=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,kn=typeof Symbol=="function"&&typeof Symbol.iterator=="object",fe=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===kn||!0)?Symbol.toStringTag:null,Sh=Object.prototype.propertyIsEnumerable,Bc=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(n){return n.__proto__}:null);function zc(n,e){if(n===1/0||n===-1/0||n!==n||n&&n>-1e3&&n<1e3||vh.call(/e/,e))return e;var t=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof n=="number"){var r=n<0?-$c(-n):$c(n);if(r!==n){var i=String(r),o=Vl.call(e,i.length+1);return Ct.call(i,t,"$&_")+"."+Ct.call(Ct.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Ct.call(e,t,"$&_")}var Rs=M1,Lc=Rs.custom,Fc=xh(Lc)?Lc:null,F1=function n(e,t,r,i){var o=t||{};if(ht(o,"quoteStyle")&&o.quoteStyle!=="single"&&o.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(ht(o,"maxStringLength")&&(typeof o.maxStringLength=="number"?o.maxStringLength<0&&o.maxStringLength!==1/0:o.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var s=ht(o,"customInspect")?o.customInspect:!0;if(typeof s!="boolean"&&s!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(ht(o,"indent")&&o.indent!==null&&o.indent!==" "&&!(parseInt(o.indent,10)===o.indent&&o.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(ht(o,"numericSeparator")&&typeof o.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var l=o.numericSeparator;if(typeof e>"u")return"undefined";if(e===null)return"null";if(typeof e=="boolean")return e?"true":"false";if(typeof e=="string")return Oh(e,o);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var a=String(e);return l?zc(e,a):a}if(typeof e=="bigint"){var c=String(e)+"n";return l?zc(e,c):c}var f=typeof o.depth>"u"?5:o.depth;if(typeof r>"u"&&(r=0),r>=f&&f>0&&typeof e=="object")return Is(e)?"[Array]":"[Object]";var u=rv(o,r);if(typeof i>"u")i=[];else if(Ch(i,e)>=0)return"[Circular]";function d(B,v,X){if(v&&(i=L1.call(i),i.push(v)),X){var F={depth:o.depth};return ht(o,"quoteStyle")&&(F.quoteStyle=o.quoteStyle),n(B,F,r+1,i)}return n(B,o,r+1,i)}if(typeof e=="function"&&!_c(e)){var p=q1(e),h=Cr(e,d);return"[Function"+(p?": "+p:" (anonymous)")+"]"+(h.length>0?" { "+Le.call(h,", ")+" }":"")}if(xh(e)){var m=kn?Ct.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):Ns.call(e);return typeof e=="object"&&!kn?Fn(m):m}if(ev(e)){for(var g="<"+Dc.call(String(e.nodeName)),y=e.attributes||[],C=0;C<y.length;C++)g+=" "+y[C].name+"="+wh(_1(y[C].value),"double",o);return g+=">",e.childNodes&&e.childNodes.length&&(g+="..."),g+="</"+Dc.call(String(e.nodeName))+">",g}if(Is(e)){if(e.length===0)return"[]";var k=Cr(e,d);return u&&!nv(k)?"["+Ds(k,u)+"]":"[ "+Le.call(k,", ")+" ]"}if(V1(e)){var N=Cr(e,d);return!("cause"in Error.prototype)&&"cause"in e&&!Sh.call(e,"cause")?"{ ["+String(e)+"] "+Le.call(Pc.call("[cause]: "+d(e.cause),N),", ")+" }":N.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+Le.call(N,", ")+" }"}if(typeof e=="object"&&s){if(Fc&&typeof e[Fc]=="function"&&Rs)return Rs(e,{depth:f-r});if(s!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(G1(e)){var M=[];return Nc&&Nc.call(e,function(B,v){M.push(d(v,e,!0)+" => "+d(B,e))}),jc("Map",ui.call(e),M,u)}if(Q1(e)){var x=[];return Rc&&Rc.call(e,function(B){x.push(d(B,e))}),jc("Set",di.call(e),x,u)}if(Y1(e))return Vo("WeakMap");if(Z1(e))return Vo("WeakSet");if(X1(e))return Vo("WeakRef");if(H1(e))return Fn(d(Number(e)));if(K1(e))return Fn(d(Ms.call(e)));if(U1(e))return Fn(D1.call(e));if(W1(e))return Fn(d(String(e)));if(typeof window<"u"&&e===window)return"{ [object Window] }";if(typeof globalThis<"u"&&e===globalThis||typeof cr<"u"&&e===cr)return"{ [object globalThis] }";if(!j1(e)&&!_c(e)){var I=Cr(e,d),D=Bc?Bc(e)===Object.prototype:e instanceof Object||e.constructor===Object,T=e instanceof Object?"":"null prototype",Y=!D&&fe&&Object(e)===e&&fe in e?Vl.call(Rt(e),8,-1):T?"Object":"",A=D||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",O=A+(Y||T?"["+Le.call(Pc.call([],Y||[],T||[]),": ")+"] ":"");return I.length===0?O+"{}":u?O+"{"+Ds(I,u)+"}":O+"{ "+Le.call(I,", ")+" }"}return String(e)};function wh(n,e,t){var r=(t.quoteStyle||e)==="double"?'"':"'";return r+n+r}function _1(n){return Ct.call(String(n),/"/g,"&quot;")}function Is(n){return Rt(n)==="[object Array]"&&(!fe||!(typeof n=="object"&&fe in n))}function j1(n){return Rt(n)==="[object Date]"&&(!fe||!(typeof n=="object"&&fe in n))}function _c(n){return Rt(n)==="[object RegExp]"&&(!fe||!(typeof n=="object"&&fe in n))}function V1(n){return Rt(n)==="[object Error]"&&(!fe||!(typeof n=="object"&&fe in n))}function W1(n){return Rt(n)==="[object String]"&&(!fe||!(typeof n=="object"&&fe in n))}function H1(n){return Rt(n)==="[object Number]"&&(!fe||!(typeof n=="object"&&fe in n))}function U1(n){return Rt(n)==="[object Boolean]"&&(!fe||!(typeof n=="object"&&fe in n))}function xh(n){if(kn)return n&&typeof n=="object"&&n instanceof Symbol;if(typeof n=="symbol")return!0;if(!n||typeof n!="object"||!Ns)return!1;try{return Ns.call(n),!0}catch{}return!1}function K1(n){if(!n||typeof n!="object"||!Ms)return!1;try{return Ms.call(n),!0}catch{}return!1}var J1=Object.prototype.hasOwnProperty||function(n){return n in this};function ht(n,e){return J1.call(n,e)}function Rt(n){return P1.call(n)}function q1(n){if(n.name)return n.name;var e=B1.call($1.call(n),/^function\s*([\w$]+)/);return e?e[1]:null}function Ch(n,e){if(n.indexOf)return n.indexOf(e);for(var t=0,r=n.length;t<r;t++)if(n[t]===e)return t;return-1}function G1(n){if(!ui||!n||typeof n!="object")return!1;try{ui.call(n);try{di.call(n)}catch{return!0}return n instanceof Map}catch{}return!1}function Y1(n){if(!Xn||!n||typeof n!="object")return!1;try{Xn.call(n,Xn);try{Qn.call(n,Qn)}catch{return!0}return n instanceof WeakMap}catch{}return!1}function X1(n){if(!Ic||!n||typeof n!="object")return!1;try{return Ic.call(n),!0}catch{}return!1}function Q1(n){if(!di||!n||typeof n!="object")return!1;try{di.call(n);try{ui.call(n)}catch{return!0}return n instanceof Set}catch{}return!1}function Z1(n){if(!Qn||!n||typeof n!="object")return!1;try{Qn.call(n,Qn);try{Xn.call(n,Xn)}catch{return!0}return n instanceof WeakSet}catch{}return!1}function ev(n){return!n||typeof n!="object"?!1:typeof HTMLElement<"u"&&n instanceof HTMLElement?!0:typeof n.nodeName=="string"&&typeof n.getAttribute=="function"}function Oh(n,e){if(n.length>e.maxStringLength){var t=n.length-e.maxStringLength,r="... "+t+" more character"+(t>1?"s":"");return Oh(Vl.call(n,0,e.maxStringLength),e)+r}var i=Ct.call(Ct.call(n,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,tv);return wh(i,"single",e)}function tv(n){var e=n.charCodeAt(0),t={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return t?"\\"+t:"\\x"+(e<16?"0":"")+z1.call(e.toString(16))}function Fn(n){return"Object("+n+")"}function Vo(n){return n+" { ? }"}function jc(n,e,t,r){var i=r?Ds(t,r):Le.call(t,", ");return n+" ("+e+") {"+i+"}"}function nv(n){for(var e=0;e<n.length;e++)if(Ch(n[e],`
10
+ `).scrollIntoView()),!0)};function jd(n){for(let e=0;e<n.edgeCount;e++){let{type:t}=n.edge(e);if(t.isTextblock&&!t.hasRequiredAttrs())return t}return null}const Uy=(n,e)=>{let{$head:t,$anchor:r}=n.selection;if(!t.parent.type.spec.code||!t.sameParent(r))return!1;let i=t.node(-1),o=t.indexAfter(-1),s=jd(i.contentMatchAt(o));if(!s||!i.canReplaceWith(o,o,s))return!1;if(e){let l=t.after(),a=n.tr.replaceWith(l,l,s.createAndFill());a.setSelection(R.near(a.doc.resolve(l),1)),e(a.scrollIntoView())}return!0},Ky=(n,e)=>{let t=n.selection,{$from:r,$to:i}=t;if(t instanceof Oe||r.parent.inlineContent||i.parent.inlineContent)return!1;let o=jd(i.parent.contentMatchAt(i.indexAfter()));if(!o||!o.isTextblock)return!1;if(e){let s=(!r.parentOffset&&i.index()<i.parent.childCount?r:i).pos,l=n.tr.insert(s,o.createAndFill());l.setSelection(z.create(l.doc,s+1)),e(l.scrollIntoView())}return!0},Jy=(n,e)=>{let{$cursor:t}=n.selection;if(!t||t.parent.content.size)return!1;if(t.depth>1&&t.after()!=t.end(-1)){let o=t.before();if(yl(n.doc,o))return e&&e(n.tr.split(o).scrollIntoView()),!0}let r=t.blockRange(),i=r&&En(r);return i==null?!1:(e&&e(n.tr.lift(r,i).scrollIntoView()),!0)},qy=(n,e)=>{let{$from:t,to:r}=n.selection,i,o=t.sharedDepth(r);return o==0?!1:(i=t.before(o),e&&e(n.tr.setSelection(E.create(n.doc,i))),!0)};function Gy(n,e,t){let r=e.nodeBefore,i=e.nodeAfter,o=e.index();return!r||!i||!r.type.compatibleContent(i.type)?!1:!r.content.size&&e.parent.canReplace(o-1,o)?(t&&t(n.tr.delete(e.pos-r.nodeSize,e.pos).scrollIntoView()),!0):!e.parent.canReplace(o,o+1)||!(i.isTextblock||Mn(n.doc,e.pos))?!1:(t&&t(n.tr.clearIncompatible(e.pos,r.type,r.contentMatchAt(r.childCount)).join(e.pos).scrollIntoView()),!0)}function Vd(n,e,t,r){let i=e.nodeBefore,o=e.nodeAfter,s,l,a=i.type.spec.isolating||o.type.spec.isolating;if(!a&&Gy(n,e,t))return!0;let c=!a&&e.parent.canReplace(e.index(),e.index()+1);if(c&&(s=(l=i.contentMatchAt(i.childCount)).findWrapping(o.type))&&l.matchType(s[0]||o.type).validEnd){if(t){let p=e.pos+o.nodeSize,h=b.empty;for(let y=s.length-1;y>=0;y--)h=b.from(s[y].create(null,h));h=b.from(i.copy(h));let m=n.tr.step(new ne(e.pos-1,p,e.pos,p,new w(h,1,0),s.length,!0)),g=p+2*s.length;Mn(m.doc,g)&&m.join(g),t(m.scrollIntoView())}return!0}let f=o.type.spec.isolating||r>0&&a?null:R.findFrom(e,1),u=f&&f.$from.blockRange(f.$to),d=u&&En(u);if(d!=null&&d>=e.depth)return t&&t(n.tr.lift(u,d).scrollIntoView()),!0;if(c&&Cn(o,"start",!0)&&Cn(i,"end")){let p=i,h=[];for(;h.push(p),!p.isTextblock;)p=p.lastChild;let m=o,g=1;for(;!m.isTextblock;m=m.firstChild)g++;if(p.canReplace(p.childCount,p.childCount,m.content)){if(t){let y=b.empty;for(let k=h.length-1;k>=0;k--)y=b.from(h[k].copy(y));let C=n.tr.step(new ne(e.pos-h.length,e.pos+o.nodeSize,e.pos+g,e.pos+o.nodeSize-g,new w(y,h.length,0),0,!0));t(C.scrollIntoView())}return!0}}return!1}function Wd(n){return function(e,t){let r=e.selection,i=n<0?r.$from:r.$to,o=i.depth;for(;i.node(o).isInline;){if(!o)return!1;o--}return i.node(o).isTextblock?(t&&t(e.tr.setSelection(z.create(e.doc,n<0?i.start(o):i.end(o)))),!0):!1}}const Yy=Wd(-1),Xy=Wd(1);function Qy(n,e=null){return function(t,r){let{$from:i,$to:o}=t.selection,s=i.blockRange(o),l=s&&gl(s,n,e);return l?(r&&r(t.tr.wrap(s,l).scrollIntoView()),!0):!1}}function Zy(n,e=null){return function(t,r){let i=!1;for(let o=0;o<t.selection.ranges.length&&!i;o++){let{$from:{pos:s},$to:{pos:l}}=t.selection.ranges[o];t.doc.nodesBetween(s,l,(a,c)=>{if(i)return!1;if(!(!a.isTextblock||a.hasMarkup(n,e)))if(a.type==n)i=!0;else{let f=t.doc.resolve(c),u=f.index();i=f.parent.canReplaceWith(u,u+1,n)}})}if(!i)return!1;if(r){let o=t.tr;for(let s=0;s<t.selection.ranges.length;s++){let{$from:{pos:l},$to:{pos:a}}=t.selection.ranges[s];o.setBlockType(l,a,n,e)}r(o.scrollIntoView())}return!0}}typeof navigator<"u"?/Mac|iP(hone|[oa]d)/.test(navigator.platform):typeof os<"u"&&os.platform&&os.platform()=="darwin";function eb(n,e=null){return function(t,r){let{$from:i,$to:o}=t.selection,s=i.blockRange(o),l=!1,a=s;if(!s)return!1;if(s.depth>=2&&i.node(s.depth-1).type.compatibleContent(n)&&s.startIndex==0){if(i.index(s.depth-1)==0)return!1;let f=t.doc.resolve(s.start-2);a=new ei(f,f,s.depth),s.endIndex<s.parent.childCount&&(s=new ei(i,t.doc.resolve(o.end(s.depth)),s.depth)),l=!0}let c=gl(a,n,e,s);return c?(r&&r(tb(t.tr,s,c,l,n).scrollIntoView()),!0):!1}}function tb(n,e,t,r,i){let o=b.empty;for(let f=t.length-1;f>=0;f--)o=b.from(t[f].type.create(t[f].attrs,o));n.step(new ne(e.start-(r?2:0),e.end,e.start,e.end,new w(o,0,0),t.length,!0));let s=0;for(let f=0;f<t.length;f++)t[f].type==i&&(s=f+1);let l=t.length-s,a=e.start+t.length-(r?2:0),c=e.parent;for(let f=e.startIndex,u=e.endIndex,d=!0;f<u;f++,d=!1)!d&&yl(n.doc,a,l)&&(n.split(a,l),a+=2*l),a+=c.child(f).nodeSize;return n}function nb(n){return function(e,t){let{$from:r,$to:i}=e.selection,o=r.blockRange(i,s=>s.childCount>0&&s.firstChild.type==n);return o?t?r.node(o.depth-1).type==n?rb(e,t,n,o):ib(e,t,o):!0:!1}}function rb(n,e,t,r){let i=n.tr,o=r.end,s=r.$to.end(r.depth);o<s&&(i.step(new ne(o-1,s,o,s,new w(b.from(t.create(null,r.parent.copy())),1,0),1,!0)),r=new ei(i.doc.resolve(r.$from.pos),i.doc.resolve(s),r.depth));const l=En(r);if(l==null)return!1;i.lift(r,l);let a=i.mapping.map(o,-1)-1;return Mn(i.doc,a)&&i.join(a),e(i.scrollIntoView()),!0}function ib(n,e,t){let r=n.tr,i=t.parent;for(let p=t.end,h=t.endIndex-1,m=t.startIndex;h>m;h--)p-=i.child(h).nodeSize,r.delete(p-1,p+1);let o=r.doc.resolve(t.start),s=o.nodeAfter;if(r.mapping.map(t.end)!=t.start+o.nodeAfter.nodeSize)return!1;let l=t.startIndex==0,a=t.endIndex==i.childCount,c=o.node(-1),f=o.index(-1);if(!c.canReplace(f+(l?0:1),f+1,s.content.append(a?b.empty:b.from(i))))return!1;let u=o.pos,d=u+s.nodeSize;return r.step(new ne(u-(l?1:0),d+(a?1:0),u+1,d-1,new w((l?b.empty:b.from(i.copy(b.empty))).append(a?b.empty:b.from(i.copy(b.empty))),l?0:1,a?0:1),l?0:1)),e(r.scrollIntoView()),!0}function ob(n){return function(e,t){let{$from:r,$to:i}=e.selection,o=r.blockRange(i,c=>c.childCount>0&&c.firstChild.type==n);if(!o)return!1;let s=o.startIndex;if(s==0)return!1;let l=o.parent,a=l.child(s-1);if(a.type!=n)return!1;if(t){let c=a.lastChild&&a.lastChild.type==l.type,f=b.from(c?n.create():null),u=new w(b.from(n.create(null,b.from(l.type.create(null,f)))),c?3:1,0),d=o.start,p=o.end;t(e.tr.step(new ne(d-(c?3:1),p,d,p,u,1,!0)).scrollIntoView())}return!0}}function Hd(n){var e,t,r="";if(typeof n=="string"||typeof n=="number")r+=n;else if(typeof n=="object")if(Array.isArray(n)){var i=n.length;for(e=0;e<i;e++)n[e]&&(t=Hd(n[e]))&&(r&&(r+=" "),r+=t)}else for(t in n)n[t]&&(r&&(r+=" "),r+=t);return r}function sb(){for(var n,e,t=0,r="",i=arguments.length;t<i;t++)(n=arguments[t])&&(e=Hd(n))&&(r&&(r+=" "),r+=e);return r}const Il="-",lb=n=>{const e=cb(n),{conflictingClassGroups:t,conflictingClassGroupModifiers:r}=n;return{getClassGroupId:s=>{const l=s.split(Il);return l[0]===""&&l.length!==1&&l.shift(),Ud(l,e)||ab(s)},getConflictingClassGroupIds:(s,l)=>{const a=t[s]||[];return l&&r[s]?[...a,...r[s]]:a}}},Ud=(n,e)=>{var s;if(n.length===0)return e.classGroupId;const t=n[0],r=e.nextPart.get(t),i=r?Ud(n.slice(1),r):void 0;if(i)return i;if(e.validators.length===0)return;const o=n.join(Il);return(s=e.validators.find(({validator:l})=>l(o)))==null?void 0:s.classGroupId},fc=/^\[(.+)\]$/,ab=n=>{if(fc.test(n)){const e=fc.exec(n)[1],t=e==null?void 0:e.substring(0,e.indexOf(":"));if(t)return"arbitrary.."+t}},cb=n=>{const{theme:e,prefix:t}=n,r={nextPart:new Map,validators:[]};return ub(Object.entries(n.classGroups),t).forEach(([o,s])=>{As(s,r,o,e)}),r},As=(n,e,t,r)=>{n.forEach(i=>{if(typeof i=="string"){const o=i===""?e:uc(e,i);o.classGroupId=t;return}if(typeof i=="function"){if(fb(i)){As(i(r),e,t,r);return}e.validators.push({validator:i,classGroupId:t});return}Object.entries(i).forEach(([o,s])=>{As(s,uc(e,o),t,r)})})},uc=(n,e)=>{let t=n;return e.split(Il).forEach(r=>{t.nextPart.has(r)||t.nextPart.set(r,{nextPart:new Map,validators:[]}),t=t.nextPart.get(r)}),t},fb=n=>n.isThemeGetter,ub=(n,e)=>e?n.map(([t,r])=>{const i=r.map(o=>typeof o=="string"?e+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([s,l])=>[e+s,l])):o);return[t,i]}):n,db=n=>{if(n<1)return{get:()=>{},set:()=>{}};let e=0,t=new Map,r=new Map;const i=(o,s)=>{t.set(o,s),e++,e>n&&(e=0,r=t,t=new Map)};return{get(o){let s=t.get(o);if(s!==void 0)return s;if((s=r.get(o))!==void 0)return i(o,s),s},set(o,s){t.has(o)?t.set(o,s):i(o,s)}}},Kd="!",hb=n=>{const{separator:e,experimentalParseClassName:t}=n,r=e.length===1,i=e[0],o=e.length,s=l=>{const a=[];let c=0,f=0,u;for(let g=0;g<l.length;g++){let y=l[g];if(c===0){if(y===i&&(r||l.slice(g,g+o)===e)){a.push(l.slice(f,g)),f=g+o;continue}if(y==="/"){u=g;continue}}y==="["?c++:y==="]"&&c--}const d=a.length===0?l:l.substring(f),p=d.startsWith(Kd),h=p?d.substring(1):d,m=u&&u>f?u-f:void 0;return{modifiers:a,hasImportantModifier:p,baseClassName:h,maybePostfixModifierPosition:m}};return t?l=>t({className:l,parseClassName:s}):s},pb=n=>{if(n.length<=1)return n;const e=[];let t=[];return n.forEach(r=>{r[0]==="["?(e.push(...t.sort(),r),t=[]):t.push(r)}),e.push(...t.sort()),e},mb=n=>({cache:db(n.cacheSize),parseClassName:hb(n),...lb(n)}),gb=/\s+/,yb=(n,e)=>{const{parseClassName:t,getClassGroupId:r,getConflictingClassGroupIds:i}=e,o=[],s=n.trim().split(gb);let l="";for(let a=s.length-1;a>=0;a-=1){const c=s[a],{modifiers:f,hasImportantModifier:u,baseClassName:d,maybePostfixModifierPosition:p}=t(c);let h=!!p,m=r(h?d.substring(0,p):d);if(!m){if(!h){l=c+(l.length>0?" "+l:l);continue}if(m=r(d),!m){l=c+(l.length>0?" "+l:l);continue}h=!1}const g=pb(f).join(":"),y=u?g+Kd:g,C=y+m;if(o.includes(C))continue;o.push(C);const k=i(m,h);for(let N=0;N<k.length;++N){const M=k[N];o.push(y+M)}l=c+(l.length>0?" "+l:l)}return l};function bb(){let n=0,e,t,r="";for(;n<arguments.length;)(e=arguments[n++])&&(t=Jd(e))&&(r&&(r+=" "),r+=t);return r}const Jd=n=>{if(typeof n=="string")return n;let e,t="";for(let r=0;r<n.length;r++)n[r]&&(e=Jd(n[r]))&&(t&&(t+=" "),t+=e);return t};function vb(n,...e){let t,r,i,o=s;function s(a){const c=e.reduce((f,u)=>u(f),n());return t=mb(c),r=t.cache.get,i=t.cache.set,o=l,l(a)}function l(a){const c=r(a);if(c)return c;const f=yb(a,t);return i(a,f),f}return function(){return o(bb.apply(null,arguments))}}const V=n=>{const e=t=>t[n]||[];return e.isThemeGetter=!0,e},qd=/^\[(?:([a-z-]+):)?(.+)\]$/i,Sb=/^\d+\/\d+$/,wb=new Set(["px","full","screen"]),xb=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Cb=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Ob=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,kb=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Ab=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Xe=n=>gn(n)||wb.has(n)||Sb.test(n),at=n=>Rn(n,"length",Pb),gn=n=>!!n&&!Number.isNaN(Number(n)),Do=n=>Rn(n,"number",gn),zn=n=>!!n&&Number.isInteger(Number(n)),Tb=n=>n.endsWith("%")&&gn(n.slice(0,-1)),P=n=>qd.test(n),ct=n=>xb.test(n),Eb=new Set(["length","size","percentage"]),Mb=n=>Rn(n,Eb,Gd),Nb=n=>Rn(n,"position",Gd),Rb=new Set(["image","url"]),Ib=n=>Rn(n,Rb,Bb),Db=n=>Rn(n,"",$b),Ln=()=>!0,Rn=(n,e,t)=>{const r=qd.exec(n);return r?r[1]?typeof e=="string"?r[1]===e:e.has(r[1]):t(r[2]):!1},Pb=n=>Cb.test(n)&&!Ob.test(n),Gd=()=>!1,$b=n=>kb.test(n),Bb=n=>Ab.test(n),zb=()=>{const n=V("colors"),e=V("spacing"),t=V("blur"),r=V("brightness"),i=V("borderColor"),o=V("borderRadius"),s=V("borderSpacing"),l=V("borderWidth"),a=V("contrast"),c=V("grayscale"),f=V("hueRotate"),u=V("invert"),d=V("gap"),p=V("gradientColorStops"),h=V("gradientColorStopPositions"),m=V("inset"),g=V("margin"),y=V("opacity"),C=V("padding"),k=V("saturate"),N=V("scale"),M=V("sepia"),x=V("skew"),I=V("space"),D=V("translate"),T=()=>["auto","contain","none"],Y=()=>["auto","hidden","clip","visible","scroll"],A=()=>["auto",P,e],O=()=>[P,e],B=()=>["",Xe,at],v=()=>["auto",gn,P],X=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],F=()=>["solid","dashed","dotted","double","none"],j=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ie=()=>["start","end","center","between","around","evenly","stretch"],U=()=>["","0",P],lt=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Z=()=>[gn,P];return{cacheSize:500,separator:":",theme:{colors:[Ln],spacing:[Xe,at],blur:["none","",ct,P],brightness:Z(),borderColor:[n],borderRadius:["none","","full",ct,P],borderSpacing:O(),borderWidth:B(),contrast:Z(),grayscale:U(),hueRotate:Z(),invert:U(),gap:O(),gradientColorStops:[n],gradientColorStopPositions:[Tb,at],inset:A(),margin:A(),opacity:Z(),padding:O(),saturate:Z(),scale:Z(),sepia:U(),skew:Z(),space:O(),translate:O()},classGroups:{aspect:[{aspect:["auto","square","video",P]}],container:["container"],columns:[{columns:[ct]}],"break-after":[{"break-after":lt()}],"break-before":[{"break-before":lt()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...X(),P]}],overflow:[{overflow:Y()}],"overflow-x":[{"overflow-x":Y()}],"overflow-y":[{"overflow-y":Y()}],overscroll:[{overscroll:T()}],"overscroll-x":[{"overscroll-x":T()}],"overscroll-y":[{"overscroll-y":T()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",zn,P]}],basis:[{basis:A()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",P]}],grow:[{grow:U()}],shrink:[{shrink:U()}],order:[{order:["first","last","none",zn,P]}],"grid-cols":[{"grid-cols":[Ln]}],"col-start-end":[{col:["auto",{span:["full",zn,P]},P]}],"col-start":[{"col-start":v()}],"col-end":[{"col-end":v()}],"grid-rows":[{"grid-rows":[Ln]}],"row-start-end":[{row:["auto",{span:[zn,P]},P]}],"row-start":[{"row-start":v()}],"row-end":[{"row-end":v()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",P]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",P]}],gap:[{gap:[d]}],"gap-x":[{"gap-x":[d]}],"gap-y":[{"gap-y":[d]}],"justify-content":[{justify:["normal",...ie()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ie(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ie(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[C]}],px:[{px:[C]}],py:[{py:[C]}],ps:[{ps:[C]}],pe:[{pe:[C]}],pt:[{pt:[C]}],pr:[{pr:[C]}],pb:[{pb:[C]}],pl:[{pl:[C]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[I]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[I]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",P,e]}],"min-w":[{"min-w":[P,e,"min","max","fit"]}],"max-w":[{"max-w":[P,e,"none","full","min","max","fit","prose",{screen:[ct]},ct]}],h:[{h:[P,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[P,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[P,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[P,e,"auto","min","max","fit"]}],"font-size":[{text:["base",ct,at]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Do]}],"font-family":[{font:[Ln]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",P]}],"line-clamp":[{"line-clamp":["none",gn,Do]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Xe,P]}],"list-image":[{"list-image":["none",P]}],"list-style-type":[{list:["none","disc","decimal",P]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[n]}],"placeholder-opacity":[{"placeholder-opacity":[y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[n]}],"text-opacity":[{"text-opacity":[y]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...F(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Xe,at]}],"underline-offset":[{"underline-offset":["auto",Xe,P]}],"text-decoration-color":[{decoration:[n]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:O()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",P]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",P]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[y]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...X(),Nb]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Mb]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Ib]}],"bg-color":[{bg:[n]}],"gradient-from-pos":[{from:[h]}],"gradient-via-pos":[{via:[h]}],"gradient-to-pos":[{to:[h]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[y]}],"border-style":[{border:[...F(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[y]}],"divide-style":[{divide:F()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...F()]}],"outline-offset":[{"outline-offset":[Xe,P]}],"outline-w":[{outline:[Xe,at]}],"outline-color":[{outline:[n]}],"ring-w":[{ring:B()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[n]}],"ring-opacity":[{"ring-opacity":[y]}],"ring-offset-w":[{"ring-offset":[Xe,at]}],"ring-offset-color":[{"ring-offset":[n]}],shadow:[{shadow:["","inner","none",ct,Db]}],"shadow-color":[{shadow:[Ln]}],opacity:[{opacity:[y]}],"mix-blend":[{"mix-blend":[...j(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":j()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[r]}],contrast:[{contrast:[a]}],"drop-shadow":[{"drop-shadow":["","none",ct,P]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[u]}],saturate:[{saturate:[k]}],sepia:[{sepia:[M]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[a]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[u]}],"backdrop-opacity":[{"backdrop-opacity":[y]}],"backdrop-saturate":[{"backdrop-saturate":[k]}],"backdrop-sepia":[{"backdrop-sepia":[M]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",P]}],duration:[{duration:Z()}],ease:[{ease:["linear","in","out","in-out",P]}],delay:[{delay:Z()}],animate:[{animate:["none","spin","ping","pulse","bounce",P]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[N]}],"scale-x":[{"scale-x":[N]}],"scale-y":[{"scale-y":[N]}],rotate:[{rotate:[zn,P]}],"translate-x":[{"translate-x":[D]}],"translate-y":[{"translate-y":[D]}],"skew-x":[{"skew-x":[x]}],"skew-y":[{"skew-y":[x]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",P]}],accent:[{accent:["auto",n]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",P]}],"caret-color":[{caret:[n]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":O()}],"scroll-mx":[{"scroll-mx":O()}],"scroll-my":[{"scroll-my":O()}],"scroll-ms":[{"scroll-ms":O()}],"scroll-me":[{"scroll-me":O()}],"scroll-mt":[{"scroll-mt":O()}],"scroll-mr":[{"scroll-mr":O()}],"scroll-mb":[{"scroll-mb":O()}],"scroll-ml":[{"scroll-ml":O()}],"scroll-p":[{"scroll-p":O()}],"scroll-px":[{"scroll-px":O()}],"scroll-py":[{"scroll-py":O()}],"scroll-ps":[{"scroll-ps":O()}],"scroll-pe":[{"scroll-pe":O()}],"scroll-pt":[{"scroll-pt":O()}],"scroll-pr":[{"scroll-pr":O()}],"scroll-pb":[{"scroll-pb":O()}],"scroll-pl":[{"scroll-pl":O()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",P]}],fill:[{fill:[n,"none"]}],"stroke-w":[{stroke:[Xe,at,Do]}],stroke:[{stroke:[n,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},Lb=vb(zb);var cr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Yd(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}function Fb(n){if(n.__esModule)return n;var e=n.default;if(typeof e=="function"){var t=function r(){return this instanceof r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};t.prototype=e.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(n).forEach(function(r){var i=Object.getOwnPropertyDescriptor(n,r);Object.defineProperty(t,r,i.get?i:{enumerable:!0,get:function(){return n[r]}})}),t}var dc=Object.prototype.toString,Xd=function(e){var t=dc.call(e),r=t==="[object Arguments]";return r||(r=t!=="[object Array]"&&e!==null&&typeof e=="object"&&typeof e.length=="number"&&e.length>=0&&dc.call(e.callee)==="[object Function]"),r},Po,hc;function _b(){if(hc)return Po;hc=1;var n;if(!Object.keys){var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,r=Xd,i=Object.prototype.propertyIsEnumerable,o=!i.call({toString:null},"toString"),s=i.call(function(){},"prototype"),l=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],a=function(d){var p=d.constructor;return p&&p.prototype===d},c={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},f=function(){if(typeof window>"u")return!1;for(var d in window)try{if(!c["$"+d]&&e.call(window,d)&&window[d]!==null&&typeof window[d]=="object")try{a(window[d])}catch{return!0}}catch{return!0}return!1}(),u=function(d){if(typeof window>"u"||!f)return a(d);try{return a(d)}catch{return!1}};n=function(p){var h=p!==null&&typeof p=="object",m=t.call(p)==="[object Function]",g=r(p),y=h&&t.call(p)==="[object String]",C=[];if(!h&&!m&&!g)throw new TypeError("Object.keys called on a non-object");var k=s&&m;if(y&&p.length>0&&!e.call(p,0))for(var N=0;N<p.length;++N)C.push(String(N));if(g&&p.length>0)for(var M=0;M<p.length;++M)C.push(String(M));else for(var x in p)!(k&&x==="prototype")&&e.call(p,x)&&C.push(String(x));if(o)for(var I=u(p),D=0;D<l.length;++D)!(I&&l[D]==="constructor")&&e.call(p,l[D])&&C.push(l[D]);return C}}return Po=n,Po}var jb=Array.prototype.slice,Vb=Xd,pc=Object.keys,zr=pc?function(e){return pc(e)}:_b(),mc=Object.keys;zr.shim=function(){if(Object.keys){var e=function(){var t=Object.keys(arguments);return t&&t.length===arguments.length}(1,2);e||(Object.keys=function(r){return Vb(r)?mc(jb.call(r)):mc(r)})}else Object.keys=zr;return Object.keys||zr};var Dl=zr,Wb=Error,Hb=EvalError,Ub=RangeError,Kb=ReferenceError,Qd=SyntaxError,Nt=TypeError,Jb=URIError,lo=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},t=Symbol("test"),r=Object(t);if(typeof t=="string"||Object.prototype.toString.call(t)!=="[object Symbol]"||Object.prototype.toString.call(r)!=="[object Symbol]")return!1;var i=42;e[t]=i;for(t in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var o=Object.getOwnPropertySymbols(e);if(o.length!==1||o[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(e,t);if(s.value!==i||s.enumerable!==!0)return!1}return!0},gc=typeof Symbol<"u"&&Symbol,qb=lo,Pl=function(){return typeof gc!="function"||typeof Symbol!="function"||typeof gc("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:qb()},$o={__proto__:null,foo:{}},Gb=Object,Yb=function(){return{__proto__:$o}.foo===$o.foo&&!($o instanceof Gb)},Xb="Function.prototype.bind called on incompatible ",Qb=Object.prototype.toString,Zb=Math.max,e0="[object Function]",yc=function(e,t){for(var r=[],i=0;i<e.length;i+=1)r[i]=e[i];for(var o=0;o<t.length;o+=1)r[o+e.length]=t[o];return r},t0=function(e,t){for(var r=[],i=t,o=0;i<e.length;i+=1,o+=1)r[o]=e[i];return r},n0=function(n,e){for(var t="",r=0;r<n.length;r+=1)t+=n[r],r+1<n.length&&(t+=e);return t},r0=function(e){var t=this;if(typeof t!="function"||Qb.apply(t)!==e0)throw new TypeError(Xb+t);for(var r=t0(arguments,1),i,o=function(){if(this instanceof i){var f=t.apply(this,yc(r,arguments));return Object(f)===f?f:this}return t.apply(e,yc(r,arguments))},s=Zb(0,t.length-r.length),l=[],a=0;a<s;a++)l[a]="$"+a;if(i=Function("binder","return function ("+n0(l,",")+"){ return binder.apply(this,arguments); }")(o),t.prototype){var c=function(){};c.prototype=t.prototype,i.prototype=new c,c.prototype=null}return i},i0=r0,$l=Function.prototype.bind||i0,o0=Function.prototype.call,s0=Object.prototype.hasOwnProperty,l0=$l,Zd=l0.call(o0,s0),L,a0=Wb,c0=Hb,f0=Ub,u0=Kb,On=Qd,yn=Nt,d0=Jb,eh=Function,Bo=function(n){try{return eh('"use strict"; return ('+n+").constructor;")()}catch{}},jt=Object.getOwnPropertyDescriptor;if(jt)try{jt({},"")}catch{jt=null}var zo=function(){throw new yn},h0=jt?function(){try{return arguments.callee,zo}catch{try{return jt(arguments,"callee").get}catch{return zo}}}():zo,rn=Pl(),p0=Yb(),ee=Object.getPrototypeOf||(p0?function(n){return n.__proto__}:null),cn={},m0=typeof Uint8Array>"u"||!ee?L:ee(Uint8Array),Vt={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?L:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?L:ArrayBuffer,"%ArrayIteratorPrototype%":rn&&ee?ee([][Symbol.iterator]()):L,"%AsyncFromSyncIteratorPrototype%":L,"%AsyncFunction%":cn,"%AsyncGenerator%":cn,"%AsyncGeneratorFunction%":cn,"%AsyncIteratorPrototype%":cn,"%Atomics%":typeof Atomics>"u"?L:Atomics,"%BigInt%":typeof BigInt>"u"?L:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?L:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?L:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?L:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":a0,"%eval%":eval,"%EvalError%":c0,"%Float32Array%":typeof Float32Array>"u"?L:Float32Array,"%Float64Array%":typeof Float64Array>"u"?L:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?L:FinalizationRegistry,"%Function%":eh,"%GeneratorFunction%":cn,"%Int8Array%":typeof Int8Array>"u"?L:Int8Array,"%Int16Array%":typeof Int16Array>"u"?L:Int16Array,"%Int32Array%":typeof Int32Array>"u"?L:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":rn&&ee?ee(ee([][Symbol.iterator]())):L,"%JSON%":typeof JSON=="object"?JSON:L,"%Map%":typeof Map>"u"?L:Map,"%MapIteratorPrototype%":typeof Map>"u"||!rn||!ee?L:ee(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?L:Promise,"%Proxy%":typeof Proxy>"u"?L:Proxy,"%RangeError%":f0,"%ReferenceError%":u0,"%Reflect%":typeof Reflect>"u"?L:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?L:Set,"%SetIteratorPrototype%":typeof Set>"u"||!rn||!ee?L:ee(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?L:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":rn&&ee?ee(""[Symbol.iterator]()):L,"%Symbol%":rn?Symbol:L,"%SyntaxError%":On,"%ThrowTypeError%":h0,"%TypedArray%":m0,"%TypeError%":yn,"%Uint8Array%":typeof Uint8Array>"u"?L:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?L:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?L:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?L:Uint32Array,"%URIError%":d0,"%WeakMap%":typeof WeakMap>"u"?L:WeakMap,"%WeakRef%":typeof WeakRef>"u"?L:WeakRef,"%WeakSet%":typeof WeakSet>"u"?L:WeakSet};if(ee)try{null.error}catch(n){var g0=ee(ee(n));Vt["%Error.prototype%"]=g0}var y0=function n(e){var t;if(e==="%AsyncFunction%")t=Bo("async function () {}");else if(e==="%GeneratorFunction%")t=Bo("function* () {}");else if(e==="%AsyncGeneratorFunction%")t=Bo("async function* () {}");else if(e==="%AsyncGenerator%"){var r=n("%AsyncGeneratorFunction%");r&&(t=r.prototype)}else if(e==="%AsyncIteratorPrototype%"){var i=n("%AsyncGenerator%");i&&ee&&(t=ee(i.prototype))}return Vt[e]=t,t},bc={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},vr=$l,ci=Zd,b0=vr.call(Function.call,Array.prototype.concat),v0=vr.call(Function.apply,Array.prototype.splice),vc=vr.call(Function.call,String.prototype.replace),fi=vr.call(Function.call,String.prototype.slice),S0=vr.call(Function.call,RegExp.prototype.exec),w0=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,x0=/\\(\\)?/g,C0=function(e){var t=fi(e,0,1),r=fi(e,-1);if(t==="%"&&r!=="%")throw new On("invalid intrinsic syntax, expected closing `%`");if(r==="%"&&t!=="%")throw new On("invalid intrinsic syntax, expected opening `%`");var i=[];return vc(e,w0,function(o,s,l,a){i[i.length]=l?vc(a,x0,"$1"):s||o}),i},O0=function(e,t){var r=e,i;if(ci(bc,r)&&(i=bc[r],r="%"+i[0]+"%"),ci(Vt,r)){var o=Vt[r];if(o===cn&&(o=y0(r)),typeof o>"u"&&!t)throw new yn("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:i,name:r,value:o}}throw new On("intrinsic "+e+" does not exist!")},Ue=function(e,t){if(typeof e!="string"||e.length===0)throw new yn("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof t!="boolean")throw new yn('"allowMissing" argument must be a boolean');if(S0(/^%?[^%]*%?$/,e)===null)throw new On("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=C0(e),i=r.length>0?r[0]:"",o=O0("%"+i+"%",t),s=o.name,l=o.value,a=!1,c=o.alias;c&&(i=c[0],v0(r,b0([0,1],c)));for(var f=1,u=!0;f<r.length;f+=1){var d=r[f],p=fi(d,0,1),h=fi(d,-1);if((p==='"'||p==="'"||p==="`"||h==='"'||h==="'"||h==="`")&&p!==h)throw new On("property names with quotes must have matching quotes");if((d==="constructor"||!u)&&(a=!0),i+="."+d,s="%"+i+"%",ci(Vt,s))l=Vt[s];else if(l!=null){if(!(d in l)){if(!t)throw new yn("base intrinsic for "+e+" exists, but the property is not available.");return}if(jt&&f+1>=r.length){var m=jt(l,d);u=!!m,u&&"get"in m&&!("originalValue"in m.get)?l=m.get:l=l[d]}else u=ci(l,d),l=l[d];u&&!a&&(Vt[s]=l)}}return l},k0=Ue,Lr=k0("%Object.defineProperty%",!0)||!1;if(Lr)try{Lr({},"a",{value:1})}catch{Lr=!1}var Bl=Lr,A0=Ue,Fr=A0("%Object.getOwnPropertyDescriptor%",!0);if(Fr)try{Fr([],"length")}catch{Fr=null}var zl=Fr,Sc=Bl,T0=Qd,on=Nt,wc=zl,Ll=function(e,t,r){if(!e||typeof e!="object"&&typeof e!="function")throw new on("`obj` must be an object or a function`");if(typeof t!="string"&&typeof t!="symbol")throw new on("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new on("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new on("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new on("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new on("`loose`, if provided, must be a boolean");var i=arguments.length>3?arguments[3]:null,o=arguments.length>4?arguments[4]:null,s=arguments.length>5?arguments[5]:null,l=arguments.length>6?arguments[6]:!1,a=!!wc&&wc(e,t);if(Sc)Sc(e,t,{configurable:s===null&&a?a.configurable:!s,enumerable:i===null&&a?a.enumerable:!i,value:r,writable:o===null&&a?a.writable:!o});else if(l||!i&&!o&&!s)e[t]=r;else throw new T0("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},Ts=Bl,th=function(){return!!Ts};th.hasArrayLengthDefineBug=function(){if(!Ts)return null;try{return Ts([],"length",{value:1}).length!==1}catch{return!0}};var Fl=th,E0=Dl,M0=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",N0=Object.prototype.toString,R0=Array.prototype.concat,xc=Ll,I0=function(n){return typeof n=="function"&&N0.call(n)==="[object Function]"},nh=Fl(),D0=function(n,e,t,r){if(e in n){if(r===!0){if(n[e]===t)return}else if(!I0(r)||!r())return}nh?xc(n,e,t,!0):xc(n,e,t)},rh=function(n,e){var t=arguments.length>2?arguments[2]:{},r=E0(e);M0&&(r=R0.call(r,Object.getOwnPropertySymbols(e)));for(var i=0;i<r.length;i+=1)D0(n,r[i],e[r[i]],t[r[i]])};rh.supportsDescriptors=!!nh;var Xt=rh,ih={exports:{}},P0=Ue,Cc=Ll,$0=Fl(),Oc=zl,kc=Nt,B0=P0("%Math.floor%"),z0=function(e,t){if(typeof e!="function")throw new kc("`fn` is not a function");if(typeof t!="number"||t<0||t>4294967295||B0(t)!==t)throw new kc("`length` must be a positive 32-bit integer");var r=arguments.length>2&&!!arguments[2],i=!0,o=!0;if("length"in e&&Oc){var s=Oc(e,"length");s&&!s.configurable&&(i=!1),s&&!s.writable&&(o=!1)}return(i||o||!r)&&($0?Cc(e,"length",t,!0,!0):Cc(e,"length",t)),e};(function(n){var e=$l,t=Ue,r=z0,i=Nt,o=t("%Function.prototype.apply%"),s=t("%Function.prototype.call%"),l=t("%Reflect.apply%",!0)||e.call(s,o),a=Bl,c=t("%Math.max%");n.exports=function(d){if(typeof d!="function")throw new i("a function is required");var p=l(e,s,arguments);return r(p,1+c(0,d.length-(arguments.length-1)),!0)};var f=function(){return l(e,o,arguments)};a?a(n.exports,"apply",{value:f}):n.exports.apply=f})(ih);var In=ih.exports,oh=Ue,sh=In,L0=sh(oh("String.prototype.indexOf")),Ae=function(e,t){var r=oh(e,!!t);return typeof r=="function"&&L0(e,".prototype.")>-1?sh(r):r},F0=Dl,lh=lo(),ah=Ae,Ac=Object,_0=ah("Array.prototype.push"),Tc=ah("Object.prototype.propertyIsEnumerable"),j0=lh?Object.getOwnPropertySymbols:null,ch=function(e,t){if(e==null)throw new TypeError("target must be an object");var r=Ac(e);if(arguments.length===1)return r;for(var i=1;i<arguments.length;++i){var o=Ac(arguments[i]),s=F0(o),l=lh&&(Object.getOwnPropertySymbols||j0);if(l)for(var a=l(o),c=0;c<a.length;++c){var f=a[c];Tc(o,f)&&_0(s,f)}for(var u=0;u<s.length;++u){var d=s[u];if(Tc(o,d)){var p=o[d];r[d]=p}}}return r},Lo=ch,V0=function(){if(!Object.assign)return!1;for(var n="abcdefghijklmnopqrst",e=n.split(""),t={},r=0;r<e.length;++r)t[e[r]]=e[r];var i=Object.assign({},t),o="";for(var s in i)o+=s;return n!==o},W0=function(){if(!Object.assign||!Object.preventExtensions)return!1;var n=Object.preventExtensions({1:2});try{Object.assign(n,"xy")}catch{return n[1]==="y"}return!1},fh=function(){return!Object.assign||V0()||W0()?Lo:Object.assign},H0=Xt,U0=fh,K0=function(){var e=U0();return H0(Object,{assign:e},{assign:function(){return Object.assign!==e}}),e},J0=Xt,q0=In,G0=ch,uh=fh,Y0=K0,X0=q0.apply(uh()),dh=function(e,t){return X0(Object,arguments)};J0(dh,{getPolyfill:uh,implementation:G0,shim:Y0});var Q0=dh,fr=function(){return typeof(function(){}).name=="string"},Yn=Object.getOwnPropertyDescriptor;if(Yn)try{Yn([],"length")}catch{Yn=null}fr.functionsHaveConfigurableNames=function(){if(!fr()||!Yn)return!1;var e=Yn(function(){},"name");return!!e&&!!e.configurable};var Z0=Function.prototype.bind;fr.boundFunctionsHaveNames=function(){return fr()&&typeof Z0=="function"&&(function(){}).bind().name!==""};var e1=fr,Ec=Ll,t1=Fl(),n1=e1.functionsHaveConfigurableNames(),r1=Nt,i1=function(e,t){if(typeof e!="function")throw new r1("`fn` is not a function");var r=arguments.length>2&&!!arguments[2];return(!r||n1)&&(t1?Ec(e,"name",t,!0,!0):Ec(e,"name",t)),e},o1=i1,s1=Nt,l1=Object,hh=o1(function(){if(this==null||this!==l1(this))throw new s1("RegExp.prototype.flags getter called on non-object");var e="";return this.hasIndices&&(e+="d"),this.global&&(e+="g"),this.ignoreCase&&(e+="i"),this.multiline&&(e+="m"),this.dotAll&&(e+="s"),this.unicode&&(e+="u"),this.unicodeSets&&(e+="v"),this.sticky&&(e+="y"),e},"get flags",!0),a1=hh,c1=Xt.supportsDescriptors,f1=Object.getOwnPropertyDescriptor,ph=function(){if(c1&&/a/mig.flags==="gim"){var e=f1(RegExp.prototype,"flags");if(e&&typeof e.get=="function"&&typeof RegExp.prototype.dotAll=="boolean"&&typeof RegExp.prototype.hasIndices=="boolean"){var t="",r={};if(Object.defineProperty(r,"hasIndices",{get:function(){t+="d"}}),Object.defineProperty(r,"sticky",{get:function(){t+="y"}}),t==="dy")return e.get}}return a1},u1=Xt.supportsDescriptors,d1=ph,h1=Object.getOwnPropertyDescriptor,p1=Object.defineProperty,m1=TypeError,Mc=Object.getPrototypeOf,g1=/a/,y1=function(){if(!u1||!Mc)throw new m1("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var e=d1(),t=Mc(g1),r=h1(t,"flags");return(!r||r.get!==e)&&p1(t,"flags",{configurable:!0,enumerable:!1,get:e}),e},b1=Xt,v1=In,S1=hh,mh=ph,w1=y1,gh=v1(mh());b1(gh,{getPolyfill:mh,implementation:S1,shim:w1});var x1=gh,_r={exports:{}},C1=lo,Qt=function(){return C1()&&!!Symbol.toStringTag},O1=Qt(),k1=Ae,Es=k1("Object.prototype.toString"),ao=function(e){return O1&&e&&typeof e=="object"&&Symbol.toStringTag in e?!1:Es(e)==="[object Arguments]"},yh=function(e){return ao(e)?!0:e!==null&&typeof e=="object"&&typeof e.length=="number"&&e.length>=0&&Es(e)!=="[object Array]"&&Es(e.callee)==="[object Function]"},A1=function(){return ao(arguments)}();ao.isLegacyArguments=yh;var bh=A1?ao:yh;const T1={},E1=Object.freeze(Object.defineProperty({__proto__:null,default:T1},Symbol.toStringTag,{value:"Module"})),M1=Fb(E1);var _l=typeof Map=="function"&&Map.prototype,Fo=Object.getOwnPropertyDescriptor&&_l?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,ui=_l&&Fo&&typeof Fo.get=="function"?Fo.get:null,Nc=_l&&Map.prototype.forEach,jl=typeof Set=="function"&&Set.prototype,_o=Object.getOwnPropertyDescriptor&&jl?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,di=jl&&_o&&typeof _o.get=="function"?_o.get:null,Rc=jl&&Set.prototype.forEach,N1=typeof WeakMap=="function"&&WeakMap.prototype,Xn=N1?WeakMap.prototype.has:null,R1=typeof WeakSet=="function"&&WeakSet.prototype,Qn=R1?WeakSet.prototype.has:null,I1=typeof WeakRef=="function"&&WeakRef.prototype,Ic=I1?WeakRef.prototype.deref:null,D1=Boolean.prototype.valueOf,P1=Object.prototype.toString,$1=Function.prototype.toString,B1=String.prototype.match,Vl=String.prototype.slice,Ct=String.prototype.replace,z1=String.prototype.toUpperCase,Dc=String.prototype.toLowerCase,vh=RegExp.prototype.test,Pc=Array.prototype.concat,Le=Array.prototype.join,L1=Array.prototype.slice,$c=Math.floor,Ms=typeof BigInt=="function"?BigInt.prototype.valueOf:null,jo=Object.getOwnPropertySymbols,Ns=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,kn=typeof Symbol=="function"&&typeof Symbol.iterator=="object",fe=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===kn||!0)?Symbol.toStringTag:null,Sh=Object.prototype.propertyIsEnumerable,Bc=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(n){return n.__proto__}:null);function zc(n,e){if(n===1/0||n===-1/0||n!==n||n&&n>-1e3&&n<1e3||vh.call(/e/,e))return e;var t=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof n=="number"){var r=n<0?-$c(-n):$c(n);if(r!==n){var i=String(r),o=Vl.call(e,i.length+1);return Ct.call(i,t,"$&_")+"."+Ct.call(Ct.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Ct.call(e,t,"$&_")}var Rs=M1,Lc=Rs.custom,Fc=xh(Lc)?Lc:null,F1=function n(e,t,r,i){var o=t||{};if(ht(o,"quoteStyle")&&o.quoteStyle!=="single"&&o.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(ht(o,"maxStringLength")&&(typeof o.maxStringLength=="number"?o.maxStringLength<0&&o.maxStringLength!==1/0:o.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var s=ht(o,"customInspect")?o.customInspect:!0;if(typeof s!="boolean"&&s!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(ht(o,"indent")&&o.indent!==null&&o.indent!==" "&&!(parseInt(o.indent,10)===o.indent&&o.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(ht(o,"numericSeparator")&&typeof o.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var l=o.numericSeparator;if(typeof e>"u")return"undefined";if(e===null)return"null";if(typeof e=="boolean")return e?"true":"false";if(typeof e=="string")return Oh(e,o);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var a=String(e);return l?zc(e,a):a}if(typeof e=="bigint"){var c=String(e)+"n";return l?zc(e,c):c}var f=typeof o.depth>"u"?5:o.depth;if(typeof r>"u"&&(r=0),r>=f&&f>0&&typeof e=="object")return Is(e)?"[Array]":"[Object]";var u=rv(o,r);if(typeof i>"u")i=[];else if(Ch(i,e)>=0)return"[Circular]";function d(B,v,X){if(v&&(i=L1.call(i),i.push(v)),X){var F={depth:o.depth};return ht(o,"quoteStyle")&&(F.quoteStyle=o.quoteStyle),n(B,F,r+1,i)}return n(B,o,r+1,i)}if(typeof e=="function"&&!_c(e)){var p=q1(e),h=Cr(e,d);return"[Function"+(p?": "+p:" (anonymous)")+"]"+(h.length>0?" { "+Le.call(h,", ")+" }":"")}if(xh(e)){var m=kn?Ct.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):Ns.call(e);return typeof e=="object"&&!kn?Fn(m):m}if(ev(e)){for(var g="<"+Dc.call(String(e.nodeName)),y=e.attributes||[],C=0;C<y.length;C++)g+=" "+y[C].name+"="+wh(_1(y[C].value),"double",o);return g+=">",e.childNodes&&e.childNodes.length&&(g+="..."),g+="</"+Dc.call(String(e.nodeName))+">",g}if(Is(e)){if(e.length===0)return"[]";var k=Cr(e,d);return u&&!nv(k)?"["+Ds(k,u)+"]":"[ "+Le.call(k,", ")+" ]"}if(V1(e)){var N=Cr(e,d);return!("cause"in Error.prototype)&&"cause"in e&&!Sh.call(e,"cause")?"{ ["+String(e)+"] "+Le.call(Pc.call("[cause]: "+d(e.cause),N),", ")+" }":N.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+Le.call(N,", ")+" }"}if(typeof e=="object"&&s){if(Fc&&typeof e[Fc]=="function"&&Rs)return Rs(e,{depth:f-r});if(s!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(G1(e)){var M=[];return Nc&&Nc.call(e,function(B,v){M.push(d(v,e,!0)+" => "+d(B,e))}),jc("Map",ui.call(e),M,u)}if(Q1(e)){var x=[];return Rc&&Rc.call(e,function(B){x.push(d(B,e))}),jc("Set",di.call(e),x,u)}if(Y1(e))return Vo("WeakMap");if(Z1(e))return Vo("WeakSet");if(X1(e))return Vo("WeakRef");if(H1(e))return Fn(d(Number(e)));if(K1(e))return Fn(d(Ms.call(e)));if(U1(e))return Fn(D1.call(e));if(W1(e))return Fn(d(String(e)));if(typeof window<"u"&&e===window)return"{ [object Window] }";if(typeof globalThis<"u"&&e===globalThis||typeof cr<"u"&&e===cr)return"{ [object globalThis] }";if(!j1(e)&&!_c(e)){var I=Cr(e,d),D=Bc?Bc(e)===Object.prototype:e instanceof Object||e.constructor===Object,T=e instanceof Object?"":"null prototype",Y=!D&&fe&&Object(e)===e&&fe in e?Vl.call(Rt(e),8,-1):T?"Object":"",A=D||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",O=A+(Y||T?"["+Le.call(Pc.call([],Y||[],T||[]),": ")+"] ":"");return I.length===0?O+"{}":u?O+"{"+Ds(I,u)+"}":O+"{ "+Le.call(I,", ")+" }"}return String(e)};function wh(n,e,t){var r=(t.quoteStyle||e)==="double"?'"':"'";return r+n+r}function _1(n){return Ct.call(String(n),/"/g,"&quot;")}function Is(n){return Rt(n)==="[object Array]"&&(!fe||!(typeof n=="object"&&fe in n))}function j1(n){return Rt(n)==="[object Date]"&&(!fe||!(typeof n=="object"&&fe in n))}function _c(n){return Rt(n)==="[object RegExp]"&&(!fe||!(typeof n=="object"&&fe in n))}function V1(n){return Rt(n)==="[object Error]"&&(!fe||!(typeof n=="object"&&fe in n))}function W1(n){return Rt(n)==="[object String]"&&(!fe||!(typeof n=="object"&&fe in n))}function H1(n){return Rt(n)==="[object Number]"&&(!fe||!(typeof n=="object"&&fe in n))}function U1(n){return Rt(n)==="[object Boolean]"&&(!fe||!(typeof n=="object"&&fe in n))}function xh(n){if(kn)return n&&typeof n=="object"&&n instanceof Symbol;if(typeof n=="symbol")return!0;if(!n||typeof n!="object"||!Ns)return!1;try{return Ns.call(n),!0}catch{}return!1}function K1(n){if(!n||typeof n!="object"||!Ms)return!1;try{return Ms.call(n),!0}catch{}return!1}var J1=Object.prototype.hasOwnProperty||function(n){return n in this};function ht(n,e){return J1.call(n,e)}function Rt(n){return P1.call(n)}function q1(n){if(n.name)return n.name;var e=B1.call($1.call(n),/^function\s*([\w$]+)/);return e?e[1]:null}function Ch(n,e){if(n.indexOf)return n.indexOf(e);for(var t=0,r=n.length;t<r;t++)if(n[t]===e)return t;return-1}function G1(n){if(!ui||!n||typeof n!="object")return!1;try{ui.call(n);try{di.call(n)}catch{return!0}return n instanceof Map}catch{}return!1}function Y1(n){if(!Xn||!n||typeof n!="object")return!1;try{Xn.call(n,Xn);try{Qn.call(n,Qn)}catch{return!0}return n instanceof WeakMap}catch{}return!1}function X1(n){if(!Ic||!n||typeof n!="object")return!1;try{return Ic.call(n),!0}catch{}return!1}function Q1(n){if(!di||!n||typeof n!="object")return!1;try{di.call(n);try{ui.call(n)}catch{return!0}return n instanceof Set}catch{}return!1}function Z1(n){if(!Qn||!n||typeof n!="object")return!1;try{Qn.call(n,Qn);try{Xn.call(n,Xn)}catch{return!0}return n instanceof WeakSet}catch{}return!1}function ev(n){return!n||typeof n!="object"?!1:typeof HTMLElement<"u"&&n instanceof HTMLElement?!0:typeof n.nodeName=="string"&&typeof n.getAttribute=="function"}function Oh(n,e){if(n.length>e.maxStringLength){var t=n.length-e.maxStringLength,r="... "+t+" more character"+(t>1?"s":"");return Oh(Vl.call(n,0,e.maxStringLength),e)+r}var i=Ct.call(Ct.call(n,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,tv);return wh(i,"single",e)}function tv(n){var e=n.charCodeAt(0),t={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return t?"\\"+t:"\\x"+(e<16?"0":"")+z1.call(e.toString(16))}function Fn(n){return"Object("+n+")"}function Vo(n){return n+" { ? }"}function jc(n,e,t,r){var i=r?Ds(t,r):Le.call(t,", ");return n+" ("+e+") {"+i+"}"}function nv(n){for(var e=0;e<n.length;e++)if(Ch(n[e],`
11
11
  `)>=0)return!1;return!0}function rv(n,e){var t;if(n.indent===" ")t=" ";else if(typeof n.indent=="number"&&n.indent>0)t=Le.call(Array(n.indent+1)," ");else return null;return{base:t,prev:Le.call(Array(e+1),t)}}function Ds(n,e){if(n.length===0)return"";var t=`
12
12
  `+e.prev+e.base;return t+Le.call(n,","+t)+`
13
13
  `+e.prev}function Cr(n,e){var t=Is(n),r=[];if(t){r.length=n.length;for(var i=0;i<n.length;i++)r[i]=ht(n,i)?e(n[i],n):""}var o=typeof jo=="function"?jo(n):[],s;if(kn){s={};for(var l=0;l<o.length;l++)s["$"+o[l]]=o[l]}for(var a in n)ht(n,a)&&(t&&String(Number(a))===a&&a<n.length||kn&&s["$"+a]instanceof Symbol||(vh.call(/[^\w$]/,a)?r.push(e(a,n)+": "+e(n[a],n)):r.push(a+": "+e(n[a],n))));if(typeof jo=="function")for(var c=0;c<o.length;c++)Sh.call(n,o[c])&&r.push("["+e(o[c])+"]: "+e(n[o[c]],n));return r}var kh=Ue,Dn=Ae,iv=F1,ov=Nt,Or=kh("%WeakMap%",!0),kr=kh("%Map%",!0),sv=Dn("WeakMap.prototype.get",!0),lv=Dn("WeakMap.prototype.set",!0),av=Dn("WeakMap.prototype.has",!0),cv=Dn("Map.prototype.get",!0),fv=Dn("Map.prototype.set",!0),uv=Dn("Map.prototype.has",!0),Wl=function(n,e){for(var t=n,r;(r=t.next)!==null;t=r)if(r.key===e)return t.next=r.next,r.next=n.next,n.next=r,r},dv=function(n,e){var t=Wl(n,e);return t&&t.value},hv=function(n,e,t){var r=Wl(n,e);r?r.value=t:n.next={key:e,next:n.next,value:t}},pv=function(n,e){return!!Wl(n,e)},Ah=function(){var e,t,r,i={assert:function(o){if(!i.has(o))throw new ov("Side channel does not contain "+iv(o))},get:function(o){if(Or&&o&&(typeof o=="object"||typeof o=="function")){if(e)return sv(e,o)}else if(kr){if(t)return cv(t,o)}else if(r)return dv(r,o)},has:function(o){if(Or&&o&&(typeof o=="object"||typeof o=="function")){if(e)return av(e,o)}else if(kr){if(t)return uv(t,o)}else if(r)return pv(r,o);return!1},set:function(o,s){Or&&o&&(typeof o=="object"||typeof o=="function")?(e||(e=new Or),lv(e,o,s)):kr?(t||(t=new kr),fv(t,o,s)):(r||(r={key:{},next:null}),hv(r,o,s))}};return i},mv=Zd,_n=Ah(),Qe=Nt,Hl={assert:function(n,e){if(!n||typeof n!="object"&&typeof n!="function")throw new Qe("`O` is not an object");if(typeof e!="string")throw new Qe("`slot` must be a string");if(_n.assert(n),!Hl.has(n,e))throw new Qe("`"+e+"` is not present on `O`")},get:function(n,e){if(!n||typeof n!="object"&&typeof n!="function")throw new Qe("`O` is not an object");if(typeof e!="string")throw new Qe("`slot` must be a string");var t=_n.get(n);return t&&t["$"+e]},has:function(n,e){if(!n||typeof n!="object"&&typeof n!="function")throw new Qe("`O` is not an object");if(typeof e!="string")throw new Qe("`slot` must be a string");var t=_n.get(n);return!!t&&mv(t,"$"+e)},set:function(n,e,t){if(!n||typeof n!="object"&&typeof n!="function")throw new Qe("`O` is not an object");if(typeof e!="string")throw new Qe("`slot` must be a string");var r=_n.get(n);r||(r={},_n.set(n,r)),r["$"+e]=t}};Object.freeze&&Object.freeze(Hl);var gv=Hl,jn=gv,yv=SyntaxError,Vc=typeof StopIteration=="object"?StopIteration:null,bv=function(e){if(!Vc)throw new yv("this environment lacks StopIteration");jn.set(e,"[[Done]]",!1);var t={next:function(){var i=jn.get(this,"[[Iterator]]"),o=jn.get(i,"[[Done]]");try{return{done:o,value:o?void 0:i.next()}}catch(s){if(jn.set(i,"[[Done]]",!0),s!==Vc)throw s;return{done:!0,value:void 0}}}};return jn.set(t,"[[Iterator]]",e),t},vv={}.toString,Th=Array.isArray||function(n){return vv.call(n)=="[object Array]"},Sv=String.prototype.valueOf,wv=function(e){try{return Sv.call(e),!0}catch{return!1}},xv=Object.prototype.toString,Cv="[object String]",Ov=Qt(),Eh=function(e){return typeof e=="string"?!0:typeof e!="object"?!1:Ov?wv(e):xv.call(e)===Cv},Ul=typeof Map=="function"&&Map.prototype?Map:null,kv=typeof Set=="function"&&Set.prototype?Set:null,hi;Ul||(hi=function(e){return!1});var Mh=Ul?Map.prototype.has:null,Wc=kv?Set.prototype.has:null;!hi&&!Mh&&(hi=function(e){return!1});var Nh=hi||function(e){if(!e||typeof e!="object")return!1;try{if(Mh.call(e),Wc)try{Wc.call(e)}catch{return!0}return e instanceof Ul}catch{}return!1},Av=typeof Map=="function"&&Map.prototype?Map:null,Kl=typeof Set=="function"&&Set.prototype?Set:null,pi;Kl||(pi=function(e){return!1});var Hc=Av?Map.prototype.has:null,Rh=Kl?Set.prototype.has:null;!pi&&!Rh&&(pi=function(e){return!1});var Ih=pi||function(e){if(!e||typeof e!="object")return!1;try{if(Rh.call(e),Hc)try{Hc.call(e)}catch{return!0}return e instanceof Kl}catch{}return!1},Uc=bh,Kc=bv;if(Pl()||lo()){var Wo=Symbol.iterator;_r.exports=function(e){if(e!=null&&typeof e[Wo]<"u")return e[Wo]();if(Uc(e))return Array.prototype[Wo].call(e)}}else{var Tv=Th,Ev=Eh,Jc=Ue,Mv=Jc("%Map%",!0),Nv=Jc("%Set%",!0),Te=Ae,qc=Te("Array.prototype.push"),Gc=Te("String.prototype.charCodeAt"),Rv=Te("String.prototype.slice"),Iv=function(e,t){var r=e.length;if(t+1>=r)return t+1;var i=Gc(e,t);if(i<55296||i>56319)return t+1;var o=Gc(e,t+1);return o<56320||o>57343?t+1:t+2},Ho=function(e){var t=0;return{next:function(){var i=t>=e.length,o;return i||(o=e[t],t+=1),{done:i,value:o}}}},Yc=function(e,t){if(Tv(e)||Uc(e))return Ho(e);if(Ev(e)){var r=0;return{next:function(){var o=Iv(e,r),s=Rv(e,r,o);return r=o,{done:o>e.length,value:s}}}}if(t&&typeof e["_es6-shim iterator_"]<"u")return e["_es6-shim iterator_"]()};if(!Mv&&!Nv)_r.exports=function(e){if(e!=null)return Yc(e,!0)};else{var Dv=Nh,Pv=Ih,Xc=Te("Map.prototype.forEach",!0),Qc=Te("Set.prototype.forEach",!0);if(typeof process>"u"||!process.versions||!process.versions.node)var Zc=Te("Map.prototype.iterator",!0),ef=Te("Set.prototype.iterator",!0);var tf=Te("Map.prototype.@@iterator",!0)||Te("Map.prototype._es6-shim iterator_",!0),nf=Te("Set.prototype.@@iterator",!0)||Te("Set.prototype._es6-shim iterator_",!0),$v=function(e){if(Dv(e)){if(Zc)return Kc(Zc(e));if(tf)return tf(e);if(Xc){var t=[];return Xc(e,function(i,o){qc(t,[o,i])}),Ho(t)}}if(Pv(e)){if(ef)return Kc(ef(e));if(nf)return nf(e);if(Qc){var r=[];return Qc(e,function(i){qc(r,i)}),Ho(r)}}};_r.exports=function(e){return $v(e)||Yc(e)}}}var Bv=_r.exports,rf=function(n){return n!==n},Dh=function(e,t){return e===0&&t===0?1/e===1/t:!!(e===t||rf(e)&&rf(t))},zv=Dh,Ph=function(){return typeof Object.is=="function"?Object.is:zv},Lv=Ph,Fv=Xt,_v=function(){var e=Lv();return Fv(Object,{is:e},{is:function(){return Object.is!==e}}),e},jv=Xt,Vv=In,Wv=Dh,$h=Ph,Hv=_v,Bh=Vv($h(),Object);jv(Bh,{getPolyfill:$h,implementation:Wv,shim:Hv});var Uv=Bh,Kv=In,zh=Ae,Jv=Ue,Ps=Jv("%ArrayBuffer%",!0),jr=zh("ArrayBuffer.prototype.byteLength",!0),qv=zh("Object.prototype.toString"),of=!!Ps&&!jr&&new Ps(0).slice,sf=!!of&&Kv(of),Lh=jr||sf?function(e){if(!e||typeof e!="object")return!1;try{return jr?jr(e):sf(e,0),!0}catch{return!1}}:Ps?function(e){return qv(e)==="[object ArrayBuffer]"}:function(e){return!1},Gv=Date.prototype.getDay,Yv=function(e){try{return Gv.call(e),!0}catch{return!1}},Xv=Object.prototype.toString,Qv="[object Date]",Zv=Qt(),eS=function(e){return typeof e!="object"||e===null?!1:Zv?Yv(e):Xv.call(e)===Qv},$s=Ae,Fh=Qt(),_h,jh,Bs,zs;if(Fh){_h=$s("Object.prototype.hasOwnProperty"),jh=$s("RegExp.prototype.exec"),Bs={};var Uo=function(){throw Bs};zs={toString:Uo,valueOf:Uo},typeof Symbol.toPrimitive=="symbol"&&(zs[Symbol.toPrimitive]=Uo)}var tS=$s("Object.prototype.toString"),nS=Object.getOwnPropertyDescriptor,rS="[object RegExp]",iS=Fh?function(e){if(!e||typeof e!="object")return!1;var t=nS(e,"lastIndex"),r=t&&_h(t,"value");if(!r)return!1;try{jh(e,zs)}catch(i){return i===Bs}}:function(e){return!e||typeof e!="object"&&typeof e!="function"?!1:tS(e)===rS},oS=Ae,lf=oS("SharedArrayBuffer.prototype.byteLength",!0),sS=lf?function(e){if(!e||typeof e!="object")return!1;try{return lf(e),!0}catch{return!1}}:function(e){return!1},lS=Number.prototype.toString,aS=function(e){try{return lS.call(e),!0}catch{return!1}},cS=Object.prototype.toString,fS="[object Number]",uS=Qt(),dS=function(e){return typeof e=="number"?!0:typeof e!="object"?!1:uS?aS(e):cS.call(e)===fS},Vh=Ae,hS=Vh("Boolean.prototype.toString"),pS=Vh("Object.prototype.toString"),mS=function(e){try{return hS(e),!0}catch{return!1}},gS="[object Boolean]",yS=Qt(),bS=function(e){return typeof e=="boolean"?!0:e===null||typeof e!="object"?!1:yS&&Symbol.toStringTag in e?mS(e):pS(e)===gS},Ls={exports:{}},vS=Object.prototype.toString,SS=Pl();if(SS){var wS=Symbol.prototype.toString,xS=/^Symbol\(.*\)$/,CS=function(e){return typeof e.valueOf()!="symbol"?!1:xS.test(wS.call(e))};Ls.exports=function(e){if(typeof e=="symbol")return!0;if(vS.call(e)!=="[object Symbol]")return!1;try{return CS(e)}catch{return!1}}}else Ls.exports=function(e){return!1};var OS=Ls.exports,Fs={exports:{}},af=typeof BigInt<"u"&&BigInt,kS=function(){return typeof af=="function"&&typeof BigInt=="function"&&typeof af(42)=="bigint"&&typeof BigInt(42)=="bigint"},AS=kS();if(AS){var TS=BigInt.prototype.valueOf,ES=function(e){try{return TS.call(e),!0}catch{}return!1};Fs.exports=function(e){return e===null||typeof e>"u"||typeof e=="boolean"||typeof e=="string"||typeof e=="number"||typeof e=="symbol"||typeof e=="function"?!1:typeof e=="bigint"?!0:ES(e)}}else Fs.exports=function(e){return!1};var MS=Fs.exports,NS=Eh,RS=dS,IS=bS,DS=OS,PS=MS,$S=function(e){if(e==null||typeof e!="object"&&typeof e!="function")return null;if(NS(e))return"String";if(RS(e))return"Number";if(IS(e))return"Boolean";if(DS(e))return"Symbol";if(PS(e))return"BigInt"},mi=typeof WeakMap=="function"&&WeakMap.prototype?WeakMap:null,cf=typeof WeakSet=="function"&&WeakSet.prototype?WeakSet:null,gi;mi||(gi=function(e){return!1});var _s=mi?mi.prototype.has:null,Ko=cf?cf.prototype.has:null;!gi&&!_s&&(gi=function(e){return!1});var BS=gi||function(e){if(!e||typeof e!="object")return!1;try{if(_s.call(e,_s),Ko)try{Ko.call(e,Ko)}catch{return!0}return e instanceof mi}catch{}return!1},js={exports:{}},zS=Ue,Wh=Ae,LS=zS("%WeakSet%",!0),Jo=Wh("WeakSet.prototype.has",!0);if(Jo){var qo=Wh("WeakMap.prototype.has",!0);js.exports=function(e){if(!e||typeof e!="object")return!1;try{if(Jo(e,Jo),qo)try{qo(e,qo)}catch{return!0}return e instanceof LS}catch{}return!1}}else js.exports=function(e){return!1};var FS=js.exports,_S=Nh,jS=Ih,VS=BS,WS=FS,HS=function(e){if(e&&typeof e=="object"){if(_S(e))return"Map";if(jS(e))return"Set";if(VS(e))return"WeakMap";if(WS(e))return"WeakSet"}return!1},Hh=Function.prototype.toString,dn=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,Vs,Vr;if(typeof dn=="function"&&typeof Object.defineProperty=="function")try{Vs=Object.defineProperty({},"length",{get:function(){throw Vr}}),Vr={},dn(function(){throw 42},null,Vs)}catch(n){n!==Vr&&(dn=null)}else dn=null;var US=/^\s*class\b/,Ws=function(e){try{var t=Hh.call(e);return US.test(t)}catch{return!1}},Go=function(e){try{return Ws(e)?!1:(Hh.call(e),!0)}catch{return!1}},Wr=Object.prototype.toString,KS="[object Object]",JS="[object Function]",qS="[object GeneratorFunction]",GS="[object HTMLAllCollection]",YS="[object HTML document.all class]",XS="[object HTMLCollection]",QS=typeof Symbol=="function"&&!!Symbol.toStringTag,ZS=!(0 in[,]),Hs=function(){return!1};if(typeof document=="object"){var ew=document.all;Wr.call(ew)===Wr.call(document.all)&&(Hs=function(e){if((ZS||!e)&&(typeof e>"u"||typeof e=="object"))try{var t=Wr.call(e);return(t===GS||t===YS||t===XS||t===KS)&&e("")==null}catch{}return!1})}var tw=dn?function(e){if(Hs(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;try{dn(e,null,Vs)}catch(t){if(t!==Vr)return!1}return!Ws(e)&&Go(e)}:function(e){if(Hs(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;if(QS)return Go(e);if(Ws(e))return!1;var t=Wr.call(e);return t!==JS&&t!==qS&&!/^\[object HTML/.test(t)?!1:Go(e)},nw=tw,rw=Object.prototype.toString,Uh=Object.prototype.hasOwnProperty,iw=function(e,t,r){for(var i=0,o=e.length;i<o;i++)Uh.call(e,i)&&(r==null?t(e[i],i,e):t.call(r,e[i],i,e))},ow=function(e,t,r){for(var i=0,o=e.length;i<o;i++)r==null?t(e.charAt(i),i,e):t.call(r,e.charAt(i),i,e)},sw=function(e,t,r){for(var i in e)Uh.call(e,i)&&(r==null?t(e[i],i,e):t.call(r,e[i],i,e))},lw=function(e,t,r){if(!nw(t))throw new TypeError("iterator must be a function");var i;arguments.length>=3&&(i=r),rw.call(e)==="[object Array]"?iw(e,t,i):typeof e=="string"?ow(e,t,i):sw(e,t,i)},aw=lw,cw=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"],Yo=cw,fw=typeof globalThis>"u"?cr:globalThis,uw=function(){for(var e=[],t=0;t<Yo.length;t++)typeof fw[Yo[t]]=="function"&&(e[e.length]=Yo[t]);return e},yi=aw,dw=uw,ff=In,Jl=Ae,Hr=zl,hw=Jl("Object.prototype.toString"),Kh=Qt(),uf=typeof globalThis>"u"?cr:globalThis,Us=dw(),ql=Jl("String.prototype.slice"),Xo=Object.getPrototypeOf,pw=Jl("Array.prototype.indexOf",!0)||function(e,t){for(var r=0;r<e.length;r+=1)if(e[r]===t)return r;return-1},bi={__proto__:null};Kh&&Hr&&Xo?yi(Us,function(n){var e=new uf[n];if(Symbol.toStringTag in e){var t=Xo(e),r=Hr(t,Symbol.toStringTag);if(!r){var i=Xo(t);r=Hr(i,Symbol.toStringTag)}bi["$"+n]=ff(r.get)}}):yi(Us,function(n){var e=new uf[n],t=e.slice||e.set;t&&(bi["$"+n]=ff(t))});var mw=function(e){var t=!1;return yi(bi,function(r,i){if(!t)try{"$"+r(e)===i&&(t=ql(i,1))}catch{}}),t},gw=function(e){var t=!1;return yi(bi,function(r,i){if(!t)try{r(e),t=ql(i,1)}catch{}}),t},yw=function(e){if(!e||typeof e!="object")return!1;if(!Kh){var t=ql(hw(e),8,-1);return pw(Us,t)>-1?t:t!=="Object"?!1:gw(e)}return Hr?mw(e):null},bw=Ae,df=bw("ArrayBuffer.prototype.byteLength",!0),vw=Lh,Sw=function(e){return vw(e)?df?df(e):e.byteLength:NaN},Jh=Q0,Ke=Ae,hf=x1,ww=Ue,An=Bv,xw=Ah,pf=Uv,mf=bh,gf=Th,yf=Lh,bf=eS,vf=iS,Sf=sS,wf=Dl,xf=$S,Cf=HS,Of=yw,kf=Sw,Af=Ke("SharedArrayBuffer.prototype.byteLength",!0),Tf=Ke("Date.prototype.getTime"),Qo=Object.getPrototypeOf,Ef=Ke("Object.prototype.toString"),vi=ww("%Set%",!0),Ks=Ke("Map.prototype.has",!0),Si=Ke("Map.prototype.get",!0),Mf=Ke("Map.prototype.size",!0),wi=Ke("Set.prototype.add",!0),qh=Ke("Set.prototype.delete",!0),xi=Ke("Set.prototype.has",!0),Ur=Ke("Set.prototype.size",!0);function Nf(n,e,t,r){for(var i=An(n),o;(o=i.next())&&!o.done;)if(Re(e,o.value,t,r))return qh(n,o.value),!0;return!1}function Gh(n){if(typeof n>"u")return null;if(typeof n!="object")return typeof n=="symbol"?!1:typeof n=="string"||typeof n=="number"?+n==+n:!0}function Cw(n,e,t,r,i,o){var s=Gh(t);if(s!=null)return s;var l=Si(e,s),a=Jh({},i,{strict:!1});return typeof l>"u"&&!Ks(e,s)||!Re(r,l,a,o)?!1:!Ks(n,s)&&Re(r,l,a,o)}function Ow(n,e,t){var r=Gh(t);return r??(xi(e,r)&&!xi(n,r))}function Rf(n,e,t,r,i,o){for(var s=An(n),l,a;(l=s.next())&&!l.done;)if(a=l.value,Re(t,a,i,o)&&Re(r,Si(e,a),i,o))return qh(n,a),!0;return!1}function Re(n,e,t,r){var i=t||{};if(i.strict?pf(n,e):n===e)return!0;var o=xf(n),s=xf(e);if(o!==s)return!1;if(!n||!e||typeof n!="object"&&typeof e!="object")return i.strict?pf(n,e):n==e;var l=r.has(n),a=r.has(e),c;if(l&&a){if(r.get(n)===r.get(e))return!0}else c={};return l||r.set(n,c),a||r.set(e,c),Tw(n,e,i,r)}function If(n){return!n||typeof n!="object"||typeof n.length!="number"||typeof n.copy!="function"||typeof n.slice!="function"||n.length>0&&typeof n[0]!="number"?!1:!!(n.constructor&&n.constructor.isBuffer&&n.constructor.isBuffer(n))}function kw(n,e,t,r){if(Ur(n)!==Ur(e))return!1;for(var i=An(n),o=An(e),s,l,a;(s=i.next())&&!s.done;)if(s.value&&typeof s.value=="object")a||(a=new vi),wi(a,s.value);else if(!xi(e,s.value)){if(t.strict||!Ow(n,e,s.value))return!1;a||(a=new vi),wi(a,s.value)}if(a){for(;(l=o.next())&&!l.done;)if(l.value&&typeof l.value=="object"){if(!Nf(a,l.value,t.strict,r))return!1}else if(!t.strict&&!xi(n,l.value)&&!Nf(a,l.value,t.strict,r))return!1;return Ur(a)===0}return!0}function Aw(n,e,t,r){if(Mf(n)!==Mf(e))return!1;for(var i=An(n),o=An(e),s,l,a,c,f,u;(s=i.next())&&!s.done;)if(c=s.value[0],f=s.value[1],c&&typeof c=="object")a||(a=new vi),wi(a,c);else if(u=Si(e,c),typeof u>"u"&&!Ks(e,c)||!Re(f,u,t,r)){if(t.strict||!Cw(n,e,c,f,t,r))return!1;a||(a=new vi),wi(a,c)}if(a){for(;(l=o.next())&&!l.done;)if(c=l.value[0],u=l.value[1],c&&typeof c=="object"){if(!Rf(a,n,c,u,t,r))return!1}else if(!t.strict&&(!n.has(c)||!Re(Si(n,c),u,t,r))&&!Rf(a,n,c,u,Jh({},t,{strict:!1}),r))return!1;return Ur(a)===0}return!0}function Tw(n,e,t,r){var i,o;if(typeof n!=typeof e||n==null||e==null||Ef(n)!==Ef(e)||mf(n)!==mf(e))return!1;var s=gf(n),l=gf(e);if(s!==l)return!1;var a=n instanceof Error,c=e instanceof Error;if(a!==c||(a||c)&&(n.name!==e.name||n.message!==e.message))return!1;var f=vf(n),u=vf(e);if(f!==u||(f||u)&&(n.source!==e.source||hf(n)!==hf(e)))return!1;var d=bf(n),p=bf(e);if(d!==p||(d||p)&&Tf(n)!==Tf(e)||t.strict&&Qo&&Qo(n)!==Qo(e))return!1;var h=Of(n),m=Of(e);if(h!==m)return!1;if(h||m){if(n.length!==e.length)return!1;for(i=0;i<n.length;i++)if(n[i]!==e[i])return!1;return!0}var g=If(n),y=If(e);if(g!==y)return!1;if(g||y){if(n.length!==e.length)return!1;for(i=0;i<n.length;i++)if(n[i]!==e[i])return!1;return!0}var C=yf(n),k=yf(e);if(C!==k)return!1;if(C||k)return kf(n)!==kf(e)?!1:typeof Uint8Array=="function"&&Re(new Uint8Array(n),new Uint8Array(e),t,r);var N=Sf(n),M=Sf(e);if(N!==M)return!1;if(N||M)return Af(n)!==Af(e)?!1:typeof Uint8Array=="function"&&Re(new Uint8Array(n),new Uint8Array(e),t,r);if(typeof n!=typeof e)return!1;var x=wf(n),I=wf(e);if(x.length!==I.length)return!1;for(x.sort(),I.sort(),i=x.length-1;i>=0;i--)if(x[i]!=I[i])return!1;for(i=x.length-1;i>=0;i--)if(o=x[i],!Re(n[o],e[o],t,r))return!1;var D=Cf(n),T=Cf(e);return D!==T?!1:D==="Set"||T==="Set"?kw(n,e,t,r):D==="Map"?Aw(n,e,t,r):!0}var Ew=function(e,t,r){return Re(e,t,r,xw())};const Mw=Yd(Ew);function Yh(n){var e,t,r="";if(typeof n=="string"||typeof n=="number")r+=n;else if(typeof n=="object")if(Array.isArray(n))for(e=0;e<n.length;e++)n[e]&&(t=Yh(n[e]))&&(r&&(r+=" "),r+=t);else for(e in n)n[e]&&(r&&(r+=" "),r+=e);return r}function Nw(){for(var n,e,t=0,r="";t<arguments.length;)(n=arguments[t++])&&(e=Yh(n))&&(r&&(r+=" "),r+=e);return r}const Df=n=>typeof n=="boolean"?"".concat(n):n===0?"0":n,Pf=Nw,Rw=(n,e)=>t=>{var r;if((e==null?void 0:e.variants)==null)return Pf(n,t==null?void 0:t.class,t==null?void 0:t.className);const{variants:i,defaultVariants:o}=e,s=Object.keys(i).map(c=>{const f=t==null?void 0:t[c],u=o==null?void 0:o[c];if(f===null)return null;const d=Df(f)||Df(u);return i[c][d]}),l=t&&Object.entries(t).reduce((c,f)=>{let[u,d]=f;return d===void 0||(c[u]=d),c},{}),a=e==null||(r=e.compoundVariants)===null||r===void 0?void 0:r.reduce((c,f)=>{let{class:u,className:d,...p}=f;return Object.entries(p).every(h=>{let[m,g]=h;return Array.isArray(g)?g.includes({...o,...l}[m]):{...o,...l}[m]===g})?[...c,u,d]:c},[]);return Pf(n,s,a,t==null?void 0:t.class,t==null?void 0:t.className)};var Xh={exports:{}};(function(n,e){(function(r,i){n.exports=i(Yp,Xp)})(cr,function(t,r){return function(i){var o={};function s(l){if(o[l])return o[l].exports;var a=o[l]={i:l,l:!1,exports:{}};return i[l].call(a.exports,a,a.exports,s),a.l=!0,a.exports}return s.m=i,s.c=o,s.d=function(l,a,c){s.o(l,a)||Object.defineProperty(l,a,{enumerable:!0,get:c})},s.r=function(l){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(l,"__esModule",{value:!0})},s.t=function(l,a){if(a&1&&(l=s(l)),a&8||a&4&&typeof l=="object"&&l&&l.__esModule)return l;var c=Object.create(null);if(s.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:l}),a&2&&typeof l!="string")for(var f in l)s.d(c,f,(function(u){return l[u]}).bind(null,f));return c},s.n=function(l){var a=l&&l.__esModule?function(){return l.default}:function(){return l};return s.d(a,"a",a),a},s.o=function(l,a){return Object.prototype.hasOwnProperty.call(l,a)},s.p="",s(s.s=4)}([function(i,o,s){i.exports=s(5)()},function(i,o){i.exports=t},function(i,o){i.exports=r},function(i,o){i.exports=function(s,l,a){var c=s.direction,f=s.value;switch(c){case"top":return a.top+f<l.top&&a.bottom>l.bottom&&a.left<l.left&&a.right>l.right;case"left":return a.left+f<l.left&&a.bottom>l.bottom&&a.top<l.top&&a.right>l.right;case"bottom":return a.bottom-f>l.bottom&&a.left<l.left&&a.right>l.right&&a.top<l.top;case"right":return a.right-f>l.right&&a.left<l.left&&a.top<l.top&&a.bottom>l.bottom}}},function(i,o,s){s.r(o),s.d(o,"default",function(){return Y});var l=s(1),a=s.n(l),c=s(2),f=s.n(c),u=s(0),d=s.n(u),p=s(3),h=s.n(p);function m(A){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?m=function(B){return typeof B}:m=function(B){return B&&typeof Symbol=="function"&&B.constructor===Symbol&&B!==Symbol.prototype?"symbol":typeof B},m(A)}function g(A,O){if(!(A instanceof O))throw new TypeError("Cannot call a class as a function")}function y(A,O){for(var B=0;B<O.length;B++){var v=O[B];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(A,v.key,v)}}function C(A,O,B){return O&&y(A.prototype,O),A}function k(A,O){return O&&(m(O)==="object"||typeof O=="function")?O:M(A)}function N(A){return N=Object.setPrototypeOf?Object.getPrototypeOf:function(B){return B.__proto__||Object.getPrototypeOf(B)},N(A)}function M(A){if(A===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return A}function x(A,O){if(typeof O!="function"&&O!==null)throw new TypeError("Super expression must either be null or a function");A.prototype=Object.create(O&&O.prototype,{constructor:{value:A,writable:!0,configurable:!0}}),O&&I(A,O)}function I(A,O){return I=Object.setPrototypeOf||function(v,X){return v.__proto__=X,v},I(A,O)}function D(A,O,B){return O in A?Object.defineProperty(A,O,{value:B,enumerable:!0,configurable:!0,writable:!0}):A[O]=B,A}function T(A){return A.width===void 0&&(A.width=A.right-A.left),A.height===void 0&&(A.height=A.bottom-A.top),A}var Y=function(A){x(O,A);function O(B){var v;return g(this,O),v=k(this,N(O).call(this,B)),D(M(v),"getContainer",function(){return v.props.containment||window}),D(M(v),"addEventListener",function(X,F,j,ie){v.debounceCheck||(v.debounceCheck={});var U,lt,Z=function(){U=null,v.check()};ie>-1?lt=function(){U||(U=setTimeout(Z,ie||0))}:lt=function(){clearTimeout(U),U=setTimeout(Z,j||0)};var $n={target:X,fn:lt,getLastTimeout:function(){return U}};X.addEventListener(F,$n.fn),v.debounceCheck[F]=$n}),D(M(v),"startWatching",function(){v.debounceCheck||v.interval||(v.props.intervalCheck&&(v.interval=setInterval(v.check,v.props.intervalDelay)),v.props.scrollCheck&&v.addEventListener(v.getContainer(),"scroll",v.props.scrollDelay,v.props.scrollThrottle),v.props.resizeCheck&&v.addEventListener(window,"resize",v.props.resizeDelay,v.props.resizeThrottle),!v.props.delayedCall&&v.check())}),D(M(v),"stopWatching",function(){if(v.debounceCheck){for(var X in v.debounceCheck)if(v.debounceCheck.hasOwnProperty(X)){var F=v.debounceCheck[X];clearTimeout(F.getLastTimeout()),F.target.removeEventListener(X,F.fn),v.debounceCheck[X]=null}}v.debounceCheck=null,v.interval&&(v.interval=clearInterval(v.interval))}),D(M(v),"check",function(){var X=v.node,F,j;if(!X)return v.state;if(F=T(v.roundRectDown(X.getBoundingClientRect())),v.props.containment){var ie=v.props.containment.getBoundingClientRect();j={top:ie.top,left:ie.left,bottom:ie.bottom,right:ie.right}}else j={top:0,left:0,bottom:window.innerHeight||document.documentElement.clientHeight,right:window.innerWidth||document.documentElement.clientWidth};var U=v.props.offset||{},lt=m(U)==="object";lt&&(j.top+=U.top||0,j.left+=U.left||0,j.bottom-=U.bottom||0,j.right-=U.right||0);var Z={top:F.top>=j.top,left:F.left>=j.left,bottom:F.bottom<=j.bottom,right:F.right<=j.right},$n=F.height>0&&F.width>0,Ge=$n&&Z.top&&Z.left&&Z.bottom&&Z.right;if($n&&v.props.partialVisibility){var yo=F.top<=j.bottom&&F.bottom>=j.top&&F.left<=j.right&&F.right>=j.left;typeof v.props.partialVisibility=="string"&&(yo=Z[v.props.partialVisibility]),Ge=v.props.minTopValue?yo&&F.top<=j.bottom-v.props.minTopValue:yo}typeof U.direction=="string"&&typeof U.value=="number"&&(console.warn("[notice] offset.direction and offset.value have been deprecated. They still work for now, but will be removed in next major version. Please upgrade to the new syntax: { %s: %d }",U.direction,U.value),Ge=h()(U,F,j));var bo=v.state;return v.state.isVisible!==Ge&&(bo={isVisible:Ge,visibilityRect:Z},v.setState(bo),v.props.onChange&&v.props.onChange(Ge)),bo}),v.state={isVisible:null,visibilityRect:{}},v}return C(O,[{key:"componentDidMount",value:function(){this.node=f.a.findDOMNode(this),this.props.active&&this.startWatching()}},{key:"componentWillUnmount",value:function(){this.stopWatching()}},{key:"componentDidUpdate",value:function(v){this.node=f.a.findDOMNode(this),this.props.active&&!v.active?(this.setState({isVisible:null,visibilityRect:{}}),this.startWatching()):this.props.active||this.stopWatching()}},{key:"roundRectDown",value:function(v){return{top:Math.floor(v.top),left:Math.floor(v.left),bottom:Math.floor(v.bottom),right:Math.floor(v.right)}}},{key:"render",value:function(){return this.props.children instanceof Function?this.props.children({isVisible:this.state.isVisible,visibilityRect:this.state.visibilityRect}):a.a.Children.only(this.props.children)}}]),O}(a.a.Component);D(Y,"defaultProps",{active:!0,partialVisibility:!1,minTopValue:0,scrollCheck:!1,scrollDelay:250,scrollThrottle:-1,resizeCheck:!1,resizeDelay:250,resizeThrottle:-1,intervalCheck:!0,intervalDelay:100,delayedCall:!1,offset:{},containment:null,children:a.a.createElement("span",null)}),D(Y,"propTypes",{onChange:d.a.func,active:d.a.bool,partialVisibility:d.a.oneOfType([d.a.bool,d.a.oneOf(["top","right","bottom","left"])]),delayedCall:d.a.bool,offset:d.a.oneOfType([d.a.shape({top:d.a.number,left:d.a.number,bottom:d.a.number,right:d.a.number}),d.a.shape({direction:d.a.oneOf(["top","right","bottom","left"]),value:d.a.number})]),scrollCheck:d.a.bool,scrollDelay:d.a.number,scrollThrottle:d.a.number,resizeCheck:d.a.bool,resizeDelay:d.a.number,resizeThrottle:d.a.number,intervalCheck:d.a.bool,intervalDelay:d.a.number,containment:typeof window<"u"?d.a.instanceOf(window.Element):d.a.any,children:d.a.oneOfType([d.a.element,d.a.func]),minTopValue:d.a.number})},function(i,o,s){var l=s(6);function a(){}function c(){}c.resetWarningCache=a,i.exports=function(){function f(p,h,m,g,y,C){if(C!==l){var k=new 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 k.name="Invariant Violation",k}}f.isRequired=f;function u(){return f}var d={array:f,bool:f,func:f,number:f,object:f,string:f,symbol:f,any:f,arrayOf:u,element:f,elementType:f,instanceOf:u,node:f,objectOf:u,oneOf:u,oneOfType:u,shape:u,exact:u,checkPropTypes:c,resetWarningCache:a};return d.PropTypes=d,d}},function(i,o,s){var l="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";i.exports=l}])})})(Xh);var Iw=Xh.exports;const Dw=Yd(Iw);var Qh=typeof global=="object"&&global&&global.Object===Object&&global,Pw=typeof self=="object"&&self&&self.Object===Object&&self,Je=Qh||Pw||Function("return this")(),We=Je.Symbol,Zh=Object.prototype,$w=Zh.hasOwnProperty,Bw=Zh.toString,Vn=We?We.toStringTag:void 0;function zw(n){var e=$w.call(n,Vn),t=n[Vn];try{n[Vn]=void 0;var r=!0}catch{}var i=Bw.call(n);return r&&(e?n[Vn]=t:delete n[Vn]),i}var Lw=Object.prototype,Fw=Lw.toString;function _w(n){return Fw.call(n)}var jw="[object Null]",Vw="[object Undefined]",$f=We?We.toStringTag:void 0;function It(n){return n==null?n===void 0?Vw:jw:$f&&$f in Object(n)?zw(n):_w(n)}function it(n){return n!=null&&typeof n=="object"}var Ww="[object Symbol]";function co(n){return typeof n=="symbol"||it(n)&&It(n)==Ww}function ep(n,e){for(var t=-1,r=n==null?0:n.length,i=Array(r);++t<r;)i[t]=e(n[t],t,n);return i}var He=Array.isArray,Hw=1/0,Bf=We?We.prototype:void 0,zf=Bf?Bf.toString:void 0;function Ci(n){if(typeof n=="string")return n;if(He(n))return ep(n,Ci)+"";if(co(n))return zf?zf.call(n):"";var e=n+"";return e=="0"&&1/n==-Hw?"-0":e}var Uw=/\s/;function Kw(n){for(var e=n.length;e--&&Uw.test(n.charAt(e)););return e}var Jw=/^\s+/;function qw(n){return n&&n.slice(0,Kw(n)+1).replace(Jw,"")}function Et(n){var e=typeof n;return n!=null&&(e=="object"||e=="function")}var Lf=NaN,Gw=/^[-+]0x[0-9a-f]+$/i,Yw=/^0b[01]+$/i,Xw=/^0o[0-7]+$/i,Qw=parseInt;function bn(n){if(typeof n=="number")return n;if(co(n))return Lf;if(Et(n)){var e=typeof n.valueOf=="function"?n.valueOf():n;n=Et(e)?e+"":e}if(typeof n!="string")return n===0?n:+n;n=qw(n);var t=Yw.test(n);return t||Xw.test(n)?Qw(n.slice(2),t?2:8):Gw.test(n)?Lf:+n}var Ff=1/0,Zw=17976931348623157e292;function ex(n){if(!n)return n===0?n:0;if(n=bn(n),n===Ff||n===-Ff){var e=n<0?-1:1;return e*Zw}return n===n?n:0}function tx(n){var e=ex(n),t=e%1;return e===e?t?e-t:e:0}function Gl(n){return n}var nx="[object AsyncFunction]",rx="[object Function]",ix="[object GeneratorFunction]",ox="[object Proxy]";function tp(n){if(!Et(n))return!1;var e=It(n);return e==rx||e==ix||e==nx||e==ox}var Zo=Je["__core-js_shared__"],_f=function(){var n=/[^.]+$/.exec(Zo&&Zo.keys&&Zo.keys.IE_PROTO||"");return n?"Symbol(src)_1."+n:""}();function sx(n){return!!_f&&_f in n}var lx=Function.prototype,ax=lx.toString;function Zt(n){if(n!=null){try{return ax.call(n)}catch{}try{return n+""}catch{}}return""}var cx=/[\\^$.*+?()[\]{}|]/g,fx=/^\[object .+?Constructor\]$/,ux=Function.prototype,dx=Object.prototype,hx=ux.toString,px=dx.hasOwnProperty,mx=RegExp("^"+hx.call(px).replace(cx,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function gx(n){if(!Et(n)||sx(n))return!1;var e=tp(n)?mx:fx;return e.test(Zt(n))}function yx(n,e){return n==null?void 0:n[e]}function en(n,e){var t=yx(n,e);return gx(t)?t:void 0}var Js=en(Je,"WeakMap");function bx(n,e,t){switch(t.length){case 0:return n.call(e);case 1:return n.call(e,t[0]);case 2:return n.call(e,t[0],t[1]);case 3:return n.call(e,t[0],t[1],t[2])}return n.apply(e,t)}var vx=800,Sx=16,wx=Date.now;function xx(n){var e=0,t=0;return function(){var r=wx(),i=Sx-(r-t);if(t=r,i>0){if(++e>=vx)return arguments[0]}else e=0;return n.apply(void 0,arguments)}}function Cx(n){return function(){return n}}var jf=function(){try{var n=en(Object,"defineProperty");return n({},"",{}),n}catch{}}(),Ox=jf?function(n,e){return jf(n,"toString",{configurable:!0,enumerable:!1,value:Cx(e),writable:!0})}:Gl,kx=xx(Ox);function Ax(n,e,t,r){for(var i=n.length,o=t+-1;++o<i;)if(e(n[o],o,n))return o;return-1}function Tx(n){return n!==n}function Ex(n,e,t){for(var r=t-1,i=n.length;++r<i;)if(n[r]===e)return r;return-1}function Mx(n,e,t){return e===e?Ex(n,e,t):Ax(n,Tx,t)}function Nx(n,e){var t=n==null?0:n.length;return!!t&&Mx(n,e,0)>-1}var Rx=9007199254740991,Ix=/^(?:0|[1-9]\d*)$/;function np(n,e){var t=typeof n;return e=e??Rx,!!e&&(t=="number"||t!="symbol"&&Ix.test(n))&&n>-1&&n%1==0&&n<e}function rp(n,e){return n===e||n!==n&&e!==e}var Vf=Math.max;function Dx(n,e,t){return e=Vf(e===void 0?n.length-1:e,0),function(){for(var r=arguments,i=-1,o=Vf(r.length-e,0),s=Array(o);++i<o;)s[i]=r[e+i];i=-1;for(var l=Array(e+1);++i<e;)l[i]=r[i];return l[e]=t(s),bx(n,this,l)}}function Px(n,e){return kx(Dx(n,e,Gl),n+"")}var $x=9007199254740991;function Yl(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=$x}function ip(n){return n!=null&&Yl(n.length)&&!tp(n)}var Bx=Object.prototype;function zx(n){var e=n&&n.constructor,t=typeof e=="function"&&e.prototype||Bx;return n===t}function Lx(n,e){for(var t=-1,r=Array(n);++t<n;)r[t]=e(t);return r}var Fx="[object Arguments]";function Wf(n){return it(n)&&It(n)==Fx}var op=Object.prototype,_x=op.hasOwnProperty,jx=op.propertyIsEnumerable,Xl=Wf(function(){return arguments}())?Wf:function(n){return it(n)&&_x.call(n,"callee")&&!jx.call(n,"callee")};function Vx(){return!1}var sp=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Hf=sp&&typeof module=="object"&&module&&!module.nodeType&&module,Wx=Hf&&Hf.exports===sp,Uf=Wx?Je.Buffer:void 0,Hx=Uf?Uf.isBuffer:void 0,qs=Hx||Vx,Ux="[object Arguments]",Kx="[object Array]",Jx="[object Boolean]",qx="[object Date]",Gx="[object Error]",Yx="[object Function]",Xx="[object Map]",Qx="[object Number]",Zx="[object Object]",eC="[object RegExp]",tC="[object Set]",nC="[object String]",rC="[object WeakMap]",iC="[object ArrayBuffer]",oC="[object DataView]",sC="[object Float32Array]",lC="[object Float64Array]",aC="[object Int8Array]",cC="[object Int16Array]",fC="[object Int32Array]",uC="[object Uint8Array]",dC="[object Uint8ClampedArray]",hC="[object Uint16Array]",pC="[object Uint32Array]",W={};W[sC]=W[lC]=W[aC]=W[cC]=W[fC]=W[uC]=W[dC]=W[hC]=W[pC]=!0;W[Ux]=W[Kx]=W[iC]=W[Jx]=W[oC]=W[qx]=W[Gx]=W[Yx]=W[Xx]=W[Qx]=W[Zx]=W[eC]=W[tC]=W[nC]=W[rC]=!1;function mC(n){return it(n)&&Yl(n.length)&&!!W[It(n)]}function Ql(n){return function(e){return n(e)}}var lp=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Zn=lp&&typeof module=="object"&&module&&!module.nodeType&&module,gC=Zn&&Zn.exports===lp,es=gC&&Qh.process,Oi=function(){try{var n=Zn&&Zn.require&&Zn.require("util").types;return n||es&&es.binding&&es.binding("util")}catch{}}(),Kf=Oi&&Oi.isTypedArray,ap=Kf?Ql(Kf):mC,yC=Object.prototype,bC=yC.hasOwnProperty;function vC(n,e){var t=He(n),r=!t&&Xl(n),i=!t&&!r&&qs(n),o=!t&&!r&&!i&&ap(n),s=t||r||i||o,l=s?Lx(n.length,String):[],a=l.length;for(var c in n)bC.call(n,c)&&!(s&&(c=="length"||i&&(c=="offset"||c=="parent")||o&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||np(c,a)))&&l.push(c);return l}function SC(n,e){return function(t){return n(e(t))}}var wC=SC(Object.keys,Object),xC=Object.prototype,CC=xC.hasOwnProperty;function OC(n){if(!zx(n))return wC(n);var e=[];for(var t in Object(n))CC.call(n,t)&&t!="constructor"&&e.push(t);return e}function cp(n){return ip(n)?vC(n):OC(n)}var kC=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,AC=/^\w*$/;function Zl(n,e){if(He(n))return!1;var t=typeof n;return t=="number"||t=="symbol"||t=="boolean"||n==null||co(n)?!0:AC.test(n)||!kC.test(n)||e!=null&&n in Object(e)}var ur=en(Object,"create");function TC(){this.__data__=ur?ur(null):{},this.size=0}function EC(n){var e=this.has(n)&&delete this.__data__[n];return this.size-=e?1:0,e}var MC="__lodash_hash_undefined__",NC=Object.prototype,RC=NC.hasOwnProperty;function IC(n){var e=this.__data__;if(ur){var t=e[n];return t===MC?void 0:t}return RC.call(e,n)?e[n]:void 0}var DC=Object.prototype,PC=DC.hasOwnProperty;function $C(n){var e=this.__data__;return ur?e[n]!==void 0:PC.call(e,n)}var BC="__lodash_hash_undefined__";function zC(n,e){var t=this.__data__;return this.size+=this.has(n)?0:1,t[n]=ur&&e===void 0?BC:e,this}function Jt(n){var e=-1,t=n==null?0:n.length;for(this.clear();++e<t;){var r=n[e];this.set(r[0],r[1])}}Jt.prototype.clear=TC;Jt.prototype.delete=EC;Jt.prototype.get=IC;Jt.prototype.has=$C;Jt.prototype.set=zC;function LC(){this.__data__=[],this.size=0}function fo(n,e){for(var t=n.length;t--;)if(rp(n[t][0],e))return t;return-1}var FC=Array.prototype,_C=FC.splice;function jC(n){var e=this.__data__,t=fo(e,n);if(t<0)return!1;var r=e.length-1;return t==r?e.pop():_C.call(e,t,1),--this.size,!0}function VC(n){var e=this.__data__,t=fo(e,n);return t<0?void 0:e[t][1]}function WC(n){return fo(this.__data__,n)>-1}function HC(n,e){var t=this.__data__,r=fo(t,n);return r<0?(++this.size,t.push([n,e])):t[r][1]=e,this}function ot(n){var e=-1,t=n==null?0:n.length;for(this.clear();++e<t;){var r=n[e];this.set(r[0],r[1])}}ot.prototype.clear=LC;ot.prototype.delete=jC;ot.prototype.get=VC;ot.prototype.has=WC;ot.prototype.set=HC;var dr=en(Je,"Map");function UC(){this.size=0,this.__data__={hash:new Jt,map:new(dr||ot),string:new Jt}}function KC(n){var e=typeof n;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?n!=="__proto__":n===null}function uo(n,e){var t=n.__data__;return KC(e)?t[typeof e=="string"?"string":"hash"]:t.map}function JC(n){var e=uo(this,n).delete(n);return this.size-=e?1:0,e}function qC(n){return uo(this,n).get(n)}function GC(n){return uo(this,n).has(n)}function YC(n,e){var t=uo(this,n),r=t.size;return t.set(n,e),this.size+=t.size==r?0:1,this}function st(n){var e=-1,t=n==null?0:n.length;for(this.clear();++e<t;){var r=n[e];this.set(r[0],r[1])}}st.prototype.clear=UC;st.prototype.delete=JC;st.prototype.get=qC;st.prototype.has=GC;st.prototype.set=YC;var XC="Expected a function";function ea(n,e){if(typeof n!="function"||e!=null&&typeof e!="function")throw new TypeError(XC);var t=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=t.cache;if(o.has(i))return o.get(i);var s=n.apply(this,r);return t.cache=o.set(i,s)||o,s};return t.cache=new(ea.Cache||st),t}ea.Cache=st;var QC=500;function ZC(n){var e=ea(n,function(r){return t.size===QC&&t.clear(),r}),t=e.cache;return e}var eO=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,tO=/\\(\\)?/g,nO=ZC(function(n){var e=[];return n.charCodeAt(0)===46&&e.push(""),n.replace(eO,function(t,r,i,o){e.push(i?o.replace(tO,"$1"):r||t)}),e});function Gs(n){return n==null?"":Ci(n)}function fp(n,e){return He(n)?n:Zl(n,e)?[n]:nO(Gs(n))}var rO=1/0;function ho(n){if(typeof n=="string"||co(n))return n;var e=n+"";return e=="0"&&1/n==-rO?"-0":e}function up(n,e){e=fp(e,n);for(var t=0,r=e.length;n!=null&&t<r;)n=n[ho(e[t++])];return t&&t==r?n:void 0}function iO(n,e,t){var r=n==null?void 0:up(n,e);return r===void 0?t:r}function dp(n,e){for(var t=-1,r=e.length,i=n.length;++t<r;)n[i+t]=e[t];return n}var Jf=We?We.isConcatSpreadable:void 0;function oO(n){return He(n)||Xl(n)||!!(Jf&&n&&n[Jf])}function sO(n,e,t,r,i){var o=-1,s=n.length;for(t||(t=oO),i||(i=[]);++o<s;){var l=n[o];t(l)&&dp(i,l)}return i}function lO(n,e,t){var r=-1,i=n.length;e<0&&(e=-e>i?0:i+e),t=t>i?i:t,t<0&&(t+=i),i=e>t?0:t-e>>>0,e>>>=0;for(var o=Array(i);++r<i;)o[r]=n[r+e];return o}function aO(n,e,t){var r=n.length;return t=t===void 0?r:t,!e&&t>=r?n:lO(n,e,t)}var cO="\\ud800-\\udfff",fO="\\u0300-\\u036f",uO="\\ufe20-\\ufe2f",dO="\\u20d0-\\u20ff",hO=fO+uO+dO,pO="\\ufe0e\\ufe0f",mO="\\u200d",gO=RegExp("["+mO+cO+hO+pO+"]");function ta(n){return gO.test(n)}function yO(n){return n.split("")}var hp="\\ud800-\\udfff",bO="\\u0300-\\u036f",vO="\\ufe20-\\ufe2f",SO="\\u20d0-\\u20ff",wO=bO+vO+SO,xO="\\ufe0e\\ufe0f",CO="["+hp+"]",Ys="["+wO+"]",Xs="\\ud83c[\\udffb-\\udfff]",OO="(?:"+Ys+"|"+Xs+")",pp="[^"+hp+"]",mp="(?:\\ud83c[\\udde6-\\uddff]){2}",gp="[\\ud800-\\udbff][\\udc00-\\udfff]",kO="\\u200d",yp=OO+"?",bp="["+xO+"]?",AO="(?:"+kO+"(?:"+[pp,mp,gp].join("|")+")"+bp+yp+")*",TO=bp+yp+AO,EO="(?:"+[pp+Ys+"?",Ys,mp,gp,CO].join("|")+")",MO=RegExp(Xs+"(?="+Xs+")|"+EO+TO,"g");function NO(n){return n.match(MO)||[]}function RO(n){return ta(n)?NO(n):yO(n)}function IO(n,e,t){return n===n&&(t!==void 0&&(n=n<=t?n:t),e!==void 0&&(n=n>=e?n:e)),n}function DO(n,e,t){return t===void 0&&(t=e,e=void 0),t!==void 0&&(t=bn(t),t=t===t?t:0),e!==void 0&&(e=bn(e),e=e===e?e:0),IO(bn(n),e,t)}function PO(){this.__data__=new ot,this.size=0}function $O(n){var e=this.__data__,t=e.delete(n);return this.size=e.size,t}function BO(n){return this.__data__.get(n)}function zO(n){return this.__data__.has(n)}var LO=200;function FO(n,e){var t=this.__data__;if(t instanceof ot){var r=t.__data__;if(!dr||r.length<LO-1)return r.push([n,e]),this.size=++t.size,this;t=this.__data__=new st(r)}return t.set(n,e),this.size=t.size,this}function rt(n){var e=this.__data__=new ot(n);this.size=e.size}rt.prototype.clear=PO;rt.prototype.delete=$O;rt.prototype.get=BO;rt.prototype.has=zO;rt.prototype.set=FO;function _O(n,e){for(var t=-1,r=n==null?0:n.length,i=0,o=[];++t<r;){var s=n[t];e(s,t,n)&&(o[i++]=s)}return o}function jO(){return[]}var VO=Object.prototype,WO=VO.propertyIsEnumerable,qf=Object.getOwnPropertySymbols,HO=qf?function(n){return n==null?[]:(n=Object(n),_O(qf(n),function(e){return WO.call(n,e)}))}:jO;function UO(n,e,t){var r=e(n);return He(n)?r:dp(r,t(n))}function Gf(n){return UO(n,cp,HO)}var Qs=en(Je,"DataView"),Zs=en(Je,"Promise"),el=en(Je,"Set"),Yf="[object Map]",KO="[object Object]",Xf="[object Promise]",Qf="[object Set]",Zf="[object WeakMap]",eu="[object DataView]",JO=Zt(Qs),qO=Zt(dr),GO=Zt(Zs),YO=Zt(el),XO=Zt(Js),pt=It;(Qs&&pt(new Qs(new ArrayBuffer(1)))!=eu||dr&&pt(new dr)!=Yf||Zs&&pt(Zs.resolve())!=Xf||el&&pt(new el)!=Qf||Js&&pt(new Js)!=Zf)&&(pt=function(n){var e=It(n),t=e==KO?n.constructor:void 0,r=t?Zt(t):"";if(r)switch(r){case JO:return eu;case qO:return Yf;case GO:return Xf;case YO:return Qf;case XO:return Zf}return e});var tu=Je.Uint8Array,QO="__lodash_hash_undefined__";function ZO(n){return this.__data__.set(n,QO),this}function ek(n){return this.__data__.has(n)}function hr(n){var e=-1,t=n==null?0:n.length;for(this.__data__=new st;++e<t;)this.add(n[e])}hr.prototype.add=hr.prototype.push=ZO;hr.prototype.has=ek;function tk(n,e){for(var t=-1,r=n==null?0:n.length;++t<r;)if(e(n[t],t,n))return!0;return!1}function vp(n,e){return n.has(e)}var nk=1,rk=2;function Sp(n,e,t,r,i,o){var s=t&nk,l=n.length,a=e.length;if(l!=a&&!(s&&a>l))return!1;var c=o.get(n),f=o.get(e);if(c&&f)return c==e&&f==n;var u=-1,d=!0,p=t&rk?new hr:void 0;for(o.set(n,e),o.set(e,n);++u<l;){var h=n[u],m=e[u];if(r)var g=s?r(m,h,u,e,n,o):r(h,m,u,n,e,o);if(g!==void 0){if(g)continue;d=!1;break}if(p){if(!tk(e,function(y,C){if(!vp(p,C)&&(h===y||i(h,y,t,r,o)))return p.push(C)})){d=!1;break}}else if(!(h===m||i(h,m,t,r,o))){d=!1;break}}return o.delete(n),o.delete(e),d}function ik(n){var e=-1,t=Array(n.size);return n.forEach(function(r,i){t[++e]=[i,r]}),t}function ok(n){var e=-1,t=Array(n.size);return n.forEach(function(r){t[++e]=r}),t}var sk=1,lk=2,ak="[object Boolean]",ck="[object Date]",fk="[object Error]",uk="[object Map]",dk="[object Number]",hk="[object RegExp]",pk="[object Set]",mk="[object String]",gk="[object Symbol]",yk="[object ArrayBuffer]",bk="[object DataView]",nu=We?We.prototype:void 0,ts=nu?nu.valueOf:void 0;function vk(n,e,t,r,i,o,s){switch(t){case bk:if(n.byteLength!=e.byteLength||n.byteOffset!=e.byteOffset)return!1;n=n.buffer,e=e.buffer;case yk:return!(n.byteLength!=e.byteLength||!o(new tu(n),new tu(e)));case ak:case ck:case dk:return rp(+n,+e);case fk:return n.name==e.name&&n.message==e.message;case hk:case mk:return n==e+"";case uk:var l=ik;case pk:var a=r&sk;if(l||(l=ok),n.size!=e.size&&!a)return!1;var c=s.get(n);if(c)return c==e;r|=lk,s.set(n,e);var f=Sp(l(n),l(e),r,i,o,s);return s.delete(n),f;case gk:if(ts)return ts.call(n)==ts.call(e)}return!1}var Sk=1,wk=Object.prototype,xk=wk.hasOwnProperty;function Ck(n,e,t,r,i,o){var s=t&Sk,l=Gf(n),a=l.length,c=Gf(e),f=c.length;if(a!=f&&!s)return!1;for(var u=a;u--;){var d=l[u];if(!(s?d in e:xk.call(e,d)))return!1}var p=o.get(n),h=o.get(e);if(p&&h)return p==e&&h==n;var m=!0;o.set(n,e),o.set(e,n);for(var g=s;++u<a;){d=l[u];var y=n[d],C=e[d];if(r)var k=s?r(C,y,d,e,n,o):r(y,C,d,n,e,o);if(!(k===void 0?y===C||i(y,C,t,r,o):k)){m=!1;break}g||(g=d=="constructor")}if(m&&!g){var N=n.constructor,M=e.constructor;N!=M&&"constructor"in n&&"constructor"in e&&!(typeof N=="function"&&N instanceof N&&typeof M=="function"&&M instanceof M)&&(m=!1)}return o.delete(n),o.delete(e),m}var Ok=1,ru="[object Arguments]",iu="[object Array]",Ar="[object Object]",kk=Object.prototype,ou=kk.hasOwnProperty;function Ak(n,e,t,r,i,o){var s=He(n),l=He(e),a=s?iu:pt(n),c=l?iu:pt(e);a=a==ru?Ar:a,c=c==ru?Ar:c;var f=a==Ar,u=c==Ar,d=a==c;if(d&&qs(n)){if(!qs(e))return!1;s=!0,f=!1}if(d&&!f)return o||(o=new rt),s||ap(n)?Sp(n,e,t,r,i,o):vk(n,e,a,t,r,i,o);if(!(t&Ok)){var p=f&&ou.call(n,"__wrapped__"),h=u&&ou.call(e,"__wrapped__");if(p||h){var m=p?n.value():n,g=h?e.value():e;return o||(o=new rt),i(m,g,t,r,o)}}return d?(o||(o=new rt),Ck(n,e,t,r,i,o)):!1}function na(n,e,t,r,i){return n===e?!0:n==null||e==null||!it(n)&&!it(e)?n!==n&&e!==e:Ak(n,e,t,r,na,i)}var Tk=1,Ek=2;function Mk(n,e,t,r){var i=t.length,o=i;if(n==null)return!o;for(n=Object(n);i--;){var s=t[i];if(s[2]?s[1]!==n[s[0]]:!(s[0]in n))return!1}for(;++i<o;){s=t[i];var l=s[0],a=n[l],c=s[1];if(s[2]){if(a===void 0&&!(l in n))return!1}else{var f=new rt,u;if(!(u===void 0?na(c,a,Tk|Ek,r,f):u))return!1}}return!0}function wp(n){return n===n&&!Et(n)}function Nk(n){for(var e=cp(n),t=e.length;t--;){var r=e[t],i=n[r];e[t]=[r,i,wp(i)]}return e}function xp(n,e){return function(t){return t==null?!1:t[n]===e&&(e!==void 0||n in Object(t))}}function Rk(n){var e=Nk(n);return e.length==1&&e[0][2]?xp(e[0][0],e[0][1]):function(t){return t===n||Mk(t,n,e)}}function Ik(n,e){return n!=null&&e in Object(n)}function Dk(n,e,t){e=fp(e,n);for(var r=-1,i=e.length,o=!1;++r<i;){var s=ho(e[r]);if(!(o=n!=null&&t(n,s)))break;n=n[s]}return o||++r!=i?o:(i=n==null?0:n.length,!!i&&Yl(i)&&np(s,i)&&(He(n)||Xl(n)))}function Pk(n,e){return n!=null&&Dk(n,e,Ik)}var $k=1,Bk=2;function zk(n,e){return Zl(n)&&wp(e)?xp(ho(n),e):function(t){var r=iO(t,n);return r===void 0&&r===e?Pk(t,n):na(e,r,$k|Bk)}}function Cp(n){return function(e){return e==null?void 0:e[n]}}function Lk(n){return function(e){return up(e,n)}}function Fk(n){return Zl(n)?Cp(ho(n)):Lk(n)}function _k(n){return typeof n=="function"?n:n==null?Gl:typeof n=="object"?He(n)?zk(n[0],n[1]):Rk(n):Fk(n)}var ns=function(){return Je.Date.now()},jk="Expected a function",Vk=Math.max,Wk=Math.min;function Op(n,e,t){var r,i,o,s,l,a,c=0,f=!1,u=!1,d=!0;if(typeof n!="function")throw new TypeError(jk);e=bn(e)||0,Et(t)&&(f=!!t.leading,u="maxWait"in t,o=u?Vk(bn(t.maxWait)||0,e):o,d="trailing"in t?!!t.trailing:d);function p(x){var I=r,D=i;return r=i=void 0,c=x,s=n.apply(D,I),s}function h(x){return c=x,l=setTimeout(y,e),f?p(x):s}function m(x){var I=x-a,D=x-c,T=e-I;return u?Wk(T,o-D):T}function g(x){var I=x-a,D=x-c;return a===void 0||I>=e||I<0||u&&D>=o}function y(){var x=ns();if(g(x))return C(x);l=setTimeout(y,m(x))}function C(x){return l=void 0,d&&r?p(x):(r=i=void 0,s)}function k(){l!==void 0&&clearTimeout(l),c=0,r=a=i=l=void 0}function N(){return l===void 0?s:C(ns())}function M(){var x=ns(),I=g(x);if(r=arguments,i=this,a=x,I){if(l===void 0)return h(a);if(u)return clearTimeout(l),l=setTimeout(y,e),p(a)}return l===void 0&&(l=setTimeout(y,e)),s}return M.cancel=k,M.flush=N,M}function rs(n){return it(n)&&ip(n)}var Hk=200;function Uk(n,e,t,r){var i=-1,o=Nx,s=!0,l=n.length,a=[],c=e.length;if(!l)return a;t&&(e=ep(e,Ql(t))),e.length>=Hk&&(o=vp,s=!1,e=new hr(e));e:for(;++i<l;){var f=n[i],u=t==null?f:t(f);if(f=f!==0?f:0,s&&u===u){for(var d=c;d--;)if(e[d]===u)continue e;a.push(f)}else o(e,u,r)||a.push(f)}return a}function Kk(n){var e=n==null?0:n.length;return e?n[e-1]:void 0}var Jk=Px(function(n,e){var t=Kk(e);return rs(t)&&(t=void 0),rs(n)?Uk(n,sO(e,1,rs),_k(t)):[]}),qk="[object Number]";function Gk(n){return typeof n=="number"||it(n)&&It(n)==qk}var Yk="[object RegExp]";function Xk(n){return it(n)&&It(n)==Yk}var su=Oi&&Oi.isRegExp,Qk=su?Ql(su):Xk,Zk=Cp("length"),kp="\\ud800-\\udfff",eA="\\u0300-\\u036f",tA="\\ufe20-\\ufe2f",nA="\\u20d0-\\u20ff",rA=eA+tA+nA,iA="\\ufe0e\\ufe0f",oA="["+kp+"]",tl="["+rA+"]",nl="\\ud83c[\\udffb-\\udfff]",sA="(?:"+tl+"|"+nl+")",Ap="[^"+kp+"]",Tp="(?:\\ud83c[\\udde6-\\uddff]){2}",Ep="[\\ud800-\\udbff][\\udc00-\\udfff]",lA="\\u200d",Mp=sA+"?",Np="["+iA+"]?",aA="(?:"+lA+"(?:"+[Ap,Tp,Ep].join("|")+")"+Np+Mp+")*",cA=Np+Mp+aA,fA="(?:"+[Ap+tl+"?",tl,Tp,Ep,oA].join("|")+")",lu=RegExp(nl+"(?="+nl+")|"+fA+cA,"g");function uA(n){for(var e=lu.lastIndex=0;lu.test(n);)++e;return e}function dA(n){return ta(n)?uA(n):Zk(n)}var hA="Expected a function";function pA(n,e,t){var r=!0,i=!0;if(typeof n!="function")throw new TypeError(hA);return Et(t)&&(r="leading"in t?!!t.leading:r,i="trailing"in t?!!t.trailing:i),Op(n,e,{leading:r,maxWait:e,trailing:i})}var mA=30,gA="...",yA=/\w*$/;function bA(n,e){var t=mA,r=gA;if(Et(e)){var i="separator"in e?e.separator:i;t="length"in e?tx(e.length):t,r="omission"in e?Ci(e.omission):r}n=Gs(n);var o=n.length;if(ta(n)){var s=RO(n);o=s.length}if(t>=o)return n;var l=t-dA(r);if(l<1)return r;var a=s?aO(s,0,l).join(""):n.slice(0,l);if(i===void 0)return a+r;if(s&&(l+=a.length-l),Qk(i)){if(n.slice(l).search(i)){var c,f=a;for(i.global||(i=RegExp(i.source,Gs(yA.exec(i))+"g")),i.lastIndex=0;c=i.exec(f);)var u=c.index;a=a.slice(0,u===void 0?l:u)}}else if(n.indexOf(Ci(i),l)!=l){var d=a.lastIndexOf(i);d>-1&&(a=a.slice(0,d))}return a+r}const vA="aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4vianca6w0s2x0a2z0ure5ba0by2idu3namex3narepublic11d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0cast4mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dabur3d1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0ardian6cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster6d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2tura4vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9dnavy5lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0a1b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp2w2ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4finity6ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2",SA="ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2",Tn=(n,e)=>{for(const t in e)n[t]=e[t];return n},rl="numeric",il="ascii",ol="alpha",Kr="asciinumeric",Tr="alphanumeric",sl="domain",Rp="emoji",wA="scheme",xA="slashscheme",au="whitespace";function CA(n,e){return n in e||(e[n]=[]),e[n]}function Bt(n,e,t){e[rl]&&(e[Kr]=!0,e[Tr]=!0),e[il]&&(e[Kr]=!0,e[ol]=!0),e[Kr]&&(e[Tr]=!0),e[ol]&&(e[Tr]=!0),e[Tr]&&(e[sl]=!0),e[Rp]&&(e[sl]=!0);for(const r in e){const i=CA(r,t);i.indexOf(n)<0&&i.push(n)}}function OA(n,e){const t={};for(const r in e)e[r].indexOf(n)>=0&&(t[r]=!0);return t}function ye(n){n===void 0&&(n=null),this.j={},this.jr=[],this.jd=null,this.t=n}ye.groups={};ye.prototype={accepts(){return!!this.t},go(n){const e=this,t=e.j[n];if(t)return t;for(let r=0;r<e.jr.length;r++){const i=e.jr[r][0],o=e.jr[r][1];if(o&&i.test(n))return o}return e.jd},has(n,e){return e===void 0&&(e=!1),e?n in this.j:!!this.go(n)},ta(n,e,t,r){for(let i=0;i<n.length;i++)this.tt(n[i],e,t,r)},tr(n,e,t,r){r=r||ye.groups;let i;return e&&e.j?i=e:(i=new ye(e),t&&r&&Bt(e,t,r)),this.jr.push([n,i]),i},ts(n,e,t,r){let i=this;const o=n.length;if(!o)return i;for(let s=0;s<o-1;s++)i=i.tt(n[s]);return i.tt(n[o-1],e,t,r)},tt(n,e,t,r){r=r||ye.groups;const i=this;if(e&&e.j)return i.j[n]=e,e;const o=e;let s,l=i.go(n);if(l?(s=new ye,Tn(s.j,l.j),s.jr.push.apply(s.jr,l.jr),s.jd=l.jd,s.t=l.t):s=new ye,o){if(r)if(s.t&&typeof s.t=="string"){const a=Tn(OA(s.t,r),t);Bt(o,a,r)}else t&&Bt(o,t,r);s.t=o}return i.j[n]=s,s}};const $=(n,e,t,r,i)=>n.ta(e,t,r,i),Se=(n,e,t,r,i)=>n.tr(e,t,r,i),cu=(n,e,t,r,i)=>n.ts(e,t,r,i),S=(n,e,t,r,i)=>n.tt(e,t,r,i),Ze="WORD",ll="UWORD",pr="LOCALHOST",al="TLD",cl="UTLD",Jr="SCHEME",fn="SLASH_SCHEME",ra="NUM",Ip="WS",ia="NL",er="OPENBRACE",tr="CLOSEBRACE",ki="OPENBRACKET",Ai="CLOSEBRACKET",Ti="OPENPAREN",Ei="CLOSEPAREN",Mi="OPENANGLEBRACKET",Ni="CLOSEANGLEBRACKET",Ri="FULLWIDTHLEFTPAREN",Ii="FULLWIDTHRIGHTPAREN",Di="LEFTCORNERBRACKET",Pi="RIGHTCORNERBRACKET",$i="LEFTWHITECORNERBRACKET",Bi="RIGHTWHITECORNERBRACKET",zi="FULLWIDTHLESSTHAN",Li="FULLWIDTHGREATERTHAN",Fi="AMPERSAND",_i="APOSTROPHE",ji="ASTERISK",mt="AT",Vi="BACKSLASH",Wi="BACKTICK",Hi="CARET",bt="COLON",oa="COMMA",Ui="DOLLAR",Pe="DOT",Ki="EQUALS",sa="EXCLAMATION",$e="HYPHEN",Ji="PERCENT",qi="PIPE",Gi="PLUS",Yi="POUND",Xi="QUERY",la="QUOTE",aa="SEMI",Be="SLASH",nr="TILDE",Qi="UNDERSCORE",Dp="EMOJI",Zi="SYM";var Pp=Object.freeze({__proto__:null,WORD:Ze,UWORD:ll,LOCALHOST:pr,TLD:al,UTLD:cl,SCHEME:Jr,SLASH_SCHEME:fn,NUM:ra,WS:Ip,NL:ia,OPENBRACE:er,CLOSEBRACE:tr,OPENBRACKET:ki,CLOSEBRACKET:Ai,OPENPAREN:Ti,CLOSEPAREN:Ei,OPENANGLEBRACKET:Mi,CLOSEANGLEBRACKET:Ni,FULLWIDTHLEFTPAREN:Ri,FULLWIDTHRIGHTPAREN:Ii,LEFTCORNERBRACKET:Di,RIGHTCORNERBRACKET:Pi,LEFTWHITECORNERBRACKET:$i,RIGHTWHITECORNERBRACKET:Bi,FULLWIDTHLESSTHAN:zi,FULLWIDTHGREATERTHAN:Li,AMPERSAND:Fi,APOSTROPHE:_i,ASTERISK:ji,AT:mt,BACKSLASH:Vi,BACKTICK:Wi,CARET:Hi,COLON:bt,COMMA:oa,DOLLAR:Ui,DOT:Pe,EQUALS:Ki,EXCLAMATION:sa,HYPHEN:$e,PERCENT:Ji,PIPE:qi,PLUS:Gi,POUND:Yi,QUERY:Xi,QUOTE:la,SEMI:aa,SLASH:Be,TILDE:nr,UNDERSCORE:Qi,EMOJI:Dp,SYM:Zi});const sn=/[a-z]/,is=new RegExp("\\p{L}","u"),ss=new RegExp("\\p{Emoji}","u"),ls=/\d/,fu=/\s/,uu=`