PageSourceSearch

https://www.secondmuse.com/_next/static/chunks/6777-a55d0165c1d7a6ca.js

js secondmuse.com collected 2026-10-02 04:14:07 UTC 1,305,683 bytes, 132 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6777],{791:(e,t,n)=>{"use strict";n.d(t,{FE:()=>f});var r=n(55666);let i=["http","https","mailto","tel"],o={"&":"amp","<":"lt",">":"gt",'"':"quot","'":"#x27"};function a(e){return e.replace(/[&<>"']/g,e=>`&${o[e]};`).replace(/ {2,}/g,e=>`${"&nbsp;".repeat(e.length-1)} `)}let s=(e,t)=>`Unknown ${e}, specify a component for it in the \`components.${t}\` option`,l=e=>s(`block type "${e}"`,"types");function u(e){console.warn(e)}let c={types:{},block:{normal:({children:e})=>`<p>${e}</p>`,blockquote:({children:e})=>`<blockquote>${e}</blockquote>`,h1:({children:e})=>`<h1>${e}</h1>`,h2:({children:e})=>`<h2>${e}</h2>`,h3:({children:e})=>`<h3>${e}</h3>`,h4:({children:e})=>`<h4>${e}</h4>`,h5:({children:e})=>`<h5>${e}</h5>`,h6:({children:e})=>`<h6>${e}</h6>`},marks:{em:({children:e})=>`<em>${e}</em>`,strong:({children:e})=>`<strong>${e}</strong>`,code:({children:e})=>`<code>${e}</code>`,underline:({children:e})=>`<span style="text-decoration:underline">${e}</span>`,"strike-through":({children:e})=>`<del>${e}</del>`,link:({children:e,value:t})=>{let n=t?.href||"";return!function(e){let t=(e||"").trim(),n=t.charAt(0);if("#"===n||"/"===n)return!0;let r=t.indexOf(":");if(-1===r)return!0;let o=t.slice(0,r).toLowerCase();if(-1!==i.indexOf(o))return!0;let a=t.indexOf("?");if(-1!==a&&r>a)return!0;let s=t.indexOf("#");return -1!==s&&r>s}(n)?e:`<a href="${a(n)}">${e}</a>`}},list:{number:({children:e})=>`<ol>${e}</ol>`,bullet:({children:e})=>`<ul>${e}</ul>`},listItem:({children:e})=>`<li>${e}</li>`,hardBreak:()=>"<br/>",escapeHTML:a,unknownType:({value:e,isInline:t})=>{let n=l(e._type);return t?`<span style="display:none">${n}</span>`:`<div style="display:none">${n}</div>`},unknownMark:({markType:e,children:t})=>`<span class="unknown__pt__mark__${e}">${t}</span>`,unknownList:({children:e})=>`<ul>${e}</ul>`,unknownListItem:({children:e})=>`<li>${e}</li>`,unknownBlockStyle:({children:e})=>`<p>${e}</p>`};function d(e,t,n){let r=t[n],i=e[n];return"function"==typeof r?r:r?"function"==typeof i?r:{...i,...r}:i}function f(e,t={}){let{components:n,onMissingComponent:i=u}=t,o=(0,r.iS)(Array.isArray(e)?e:[e],"html"),a=h(n?function(e,t){let{block:n,list:r,listItem:i,marks:o,types:a,...s}=t;return{...e,block:d(e,t,"block"),list:d(e,t,"list"),listItem:d(e,t,"listItem"),marks:d(e,t,"marks"),types:d(e,t,"types"),...s}}(c,n):c,i||g);return o.map((e,t)=>a({node:e,index:t,isInline:!1,renderNode:a})).join("")}let h=(e,t)=>function n(i){var o,a,u;let c,{node:d,index:f,isInline:h}=i;return(0,r.zp)(d)?function(r,i){let o=r.children.map((e,t)=>n({node:e._key?e:{...e,_key:`li-${i}-${t}`},index:t,isInline:!1,renderNode:n})),a=e.list,l=("function"==typeof a?a:a[r.listItem])||e.unknownList;if(l===e.unknownList){let e=r.listItem||"bullet";t(s(`list style "${e}"`,"list"),{nodeType:"listStyle",type:e})}return l({value:r,index:i,isInline:!1,renderNode:n,children:o.join("")})}(d,f):(0,r.n2)(d)?function(r,i){let o=p({node:r,index:i,isInline:!1,renderNode:n}),a=e.listItem,l=("function"==typeof a?a:a[r.listItem])||e.unknownListItem;if(l===e.unknownListItem){let e=r.listItem||"bullet";t(s(`list item style "${e}"`,"listItem"),{type:e,nodeType:"listItemStyle"})}let u=o.children;if(r.style&&"normal"!==r.style){let{listItem:e,...t}=r;u=n({node:t,index:i,isInline:!1,renderNode:n})}return l({value:r,index:i,isInline:!1,renderNode:n,children:u})}(d,f):(0,r.tO)(d)?function(i){let{markDef:o,markType:a,markKey:l}=i,u=e.marks[a]||e.unknownMark,c=i.children.map((e,t)=>n({node:e,index:t,isInline:!0,renderNode:n}));return u===e.unknownMark&&t(s(`mark type "${a}"`,"marks"),{nodeType:"mark",type:a}),u({text:(0,r.fg)(i),value:o,markType:a,markKey:l,renderNode:n,children:c.join("")})}(d):(0,r.IG)(d)?function(r,i,o){let{_key:a,...l}=p({node:r,index:i,isInline:o,renderNode:n}),u=l.node.style||"normal",c=("function"==typeof e.block?e.block:e.block[u])||e.unknownBlockStyle;return c===e.unknownBlockStyle&&t(s(`block style "${u}"`,"block"),{nodeType:"blockStyle",type:u}),c({...l,value:l.node,renderNode:n})}(d,f,h):(0,r.YA)(d)?function(t){if("\n"===t.text){let t=e.hardBreak;return t?t():"\n"}return e.escapeHTML(t.text)}(d):(o=d,a=f,u=h,(c=e.types[o._type])||t(l(o._type),{nodeType:"block",type:o._type}),(c||e.unknownType)({value:o,isInline:u,index:a,renderNode:n}))};function p(e){let{node:t,index:n,isInline:i,renderNode:o}=e,a=(0,r.Pq)(t).map((e,t)=>o({node:e,isInline:!0,index:t,renderNode:o}));return{_key:t._key||`block-${n}`,children:a.join(""),index:n,isInline:i,node:t}}function g(){}},1060:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(29035).A)(function(e,t,n){e[+!n].push(t)},function(){return[[],[]]})},1105:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(47261),i=n(51023),o=n(59233);function a(e){var t=this.__data__=new r.A(e);this.size=t.size}a.prototype.clear=function(){this.__data__=new r.A,this.size=0},a.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},a.prototype.get=function(e){return this.__data__.get(e)},a.prototype.has=function(e){return this.__data__.has(e)},a.prototype.set=function(e,t){var n=this.__data__;if(n instanceof r.A){var a=n.__data__;if(!i.A||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new o.A(a)}return n.set(e,t),this.size=n.size,this};let s=a},1235:(e,t,n)=>{"use strict";n.d(t,{$M:()=>T,$Z:()=>F,BA:()=>ev,BG:()=>en,Bo:()=>ed,CN:()=>ew,CT:()=>eD,FT:()=>eu,Fe:()=>d,G_:()=>R,Hk:()=>eO,Hq:()=>M,KW:()=>$,L6:()=>eq,Lo:()=>w,MB:()=>V,MX:()=>P,NH:()=>es,Ni:()=>O,P5:()=>eo,PH:()=>K,Rf:()=>et,Rx:()=>ef,T4:()=>h,Uz:()=>H,Vh:()=>Y,WQ:()=>G,Yc:()=>_,_8:()=>X,_y:()=>D,b0:()=>Q,bq:()=>x,cM:()=>A,dM:()=>em,dY:()=>ee,eA:()=>q,eX:()=>eb,fe:()=>ea,hK:()=>ec,j$:()=>u,nW:()=>eh,pz:()=>S,qW:()=>eM,qx:()=>L,sh:()=>eg,ts:()=>g,tv:()=>el,ty:()=>W,vA:()=>
1f,wC:()=>eB,wE:()=>ep,wc:()=>Z,xd:()=>eH,y1:()=>ey,zJ:()=>ei,zh:()=>e_,zk:()=>er});var r,i,o=n(6958),a=n(92205),s=globalThis.Node,l=globalThis.Text,u=e=>e&&e.ownerDocument&&e.ownerDocument.defaultView||null,c=e=>f(e)&&8===e.nodeType,d=e=>f(e)&&1===e.nodeType,f=e=>{var t=u(e);return!!t&&e instanceof t.Node},h=e=>{var t=e&&e.anchorNode&&u(e.anchorNode);return!!t&&e instanceof t.Selection},p=e=>f(e)&&3===e.nodeType,g=e=>e.clipboardData&&""!==e.clipboardData.getData("text/plain")&&1===e.clipboardData.types.length,m=(e,t,n)=>{for(var{childNodes:r}=e,i=r[t],o=t,a=!1,s=!1;(c(i)||d(i)&&0===i.childNodes.length||d(i)&&"false"===i.getAttribute("contenteditable"))&&(!a||!s);){if(o>=r.length){a=!0,o=t-1,n="backward";continue}if(o<0){s=!0,o=t+1,n="forward";continue}i=r[o],t=o,o+="forward"===n?1:-1}return[i,t]},y=(e,t,n)=>{var[r]=m(e,t,n);return r},b=e=>{var t="";if(p(e)&&e.nodeValue)return e.nodeValue;if(d(e)){for(var n of Array.from(e.childNodes))t+=b(n);var r=getComputedStyle(e).getPropertyValue("display");("block"===r||"list"===r||"BR"===e.tagName)&&(t+="\n")}return t},v=/data-slate-fragment="(.+?)"/m,w=e=>null!=e.getSelection?e.getSelection():document.getSelection(),_=(e,t,n)=>{var{target:r}=t;if(d(r)&&r.matches('[contentEditable="false"]'))return!1;var{document:i}=ep.getWindow(e);if(A(i,r))return ep.hasDOMNode(e,r,{editable:!0});var o=n.find(e=>{var{addedNodes:t,removedNodes:n}=e;for(var i of t)if(i===r||A(i,r))return!0;for(var o of n)if(o===r||A(o,r))return!0});return!!o&&o!==t&&_(e,o,n)},x=()=>{for(var e,t,n,r=document.activeElement;null!=(e=r)&&e.shadowRoot&&null!=(t=r.shadowRoot)&&t.activeElement;)r=null==(n=r)||null==(n=n.shadowRoot)?void 0:n.activeElement;return r},k=(e,t)=>!!(e.compareDocumentPosition(t)&s.DOCUMENT_POSITION_PRECEDING),E=(e,t)=>{if(!e)return null;for(var n=e;n;){if(n.matches&&n.matches(t))return n;if(n.parentElement)n=n.parentElement;else if(n.parentNode&&"host"in n.parentNode)n=n.parentNode.host;else break}return null},A=(e,t)=>{if(!e||!t)return!1;if(e.contains(t))return!0;for(var n=t;n;){if(n===e)return!0;if(n.parentNode)n="host"in n.parentNode?n.parentNode.host:n.parentNode;else break}return!1},S="u">typeof navigator&&"u">typeof window&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,C="u">typeof navigator&&/Mac OS X/.test(navigator.userAgent),O="u">typeof navigator&&/Android/.test(navigator.userAgent),T="u">typeof navigator&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent),D="u">typeof navigator&&/AppleWebKit(?!.*Chrome)/i.test(navigator.userAgent),I="u">typeof navigator&&/Edge?\/(?:[0-6][0-9]|[0-7][0-8])(?:\.)/i.test(navigator.userAgent),R="u">typeof navigator&&/Chrome/i.test(navigator.userAgent),j="u">typeof navigator&&/Chrome?\/(?:[0-7][0-5]|[0-6][0-9])(?:\.)/i.test(navigator.userAgent),N=O&&"u">typeof navigator&&/Chrome?\/(?:[0-5]?\d)(?:\.)/i.test(navigator.userAgent),M="u">typeof navigator&&/^(?!.*Seamonkey)(?=.*Firefox\/(?:[0-7][0-9]|[0-8][0-6])(?:\.)).*/i.test(navigator.userAgent),F="u">typeof navigator&&/.*UCBrowser/.test(navigator.userAgent),$="u">typeof navigator&&/.*Wechat/.test(navigator.userAgent)&&!/.*MacWechat/.test(navigator.userAgent)&&(!R||j),L="u">typeof window&&void 0!==window.document&&void 0!==window.document.createElement;"u">typeof navigator&&/Safari/.test(navigator.userAgent)&&/Version\/(\d+)/.test(navigator.userAgent)&&null!=(r=navigator.userAgent.match(/Version\/(\d+)/))&&r[1]&&parseInt(null==(i=navigator.userAgent.match(/Version\/(\d+)/))?void 0:i[1],10);var P=(!j||!N)&&!I&&"u">typeof globalThis&&globalThis.InputEvent&&"function"==typeof globalThis.InputEvent.prototype.getTargetRanges;function z(e){return(z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function U(e,t,n){var r;return r=function(e,t){if("object"!==z(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==z(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"===z(r)?r:String(r))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var B=0;class H{constructor(){U(this,"id",void 0),this.id="".concat(B++)}}var q=new WeakMap,V=new WeakMap,G=new WeakMap,W=new WeakMap,Y=ne
1w WeakMap,K=new WeakMap,Z=new WeakMap,X=new WeakMap,J=new WeakMap,Q=new WeakMap,ee=new WeakMap,et=new WeakMap,en=new WeakMap,er=new WeakMap,ei=new WeakMap,eo=new WeakMap,ea=new WeakMap,es=new WeakMap,el=new WeakMap,eu=new WeakMap,ec=new WeakMap,ed=new WeakMap,ef=Symbol("placeholder"),eh=Symbol("mark-placeholder"),ep={androidPendingDiffs:e=>el.get(e),androidScheduleFlush:e=>{var t;null==(t=eo.get(e))||t()},blur:e=>{var t=ep.toDOMNode(e,e),n=ep.findDocumentOrShadowRoot(e);et.set(e,!1),n.activeElement===t&&t.blur()},deselect:e=>{var{selection:t}=e,n=w(ep.findDocumentOrShadowRoot(e));n&&n.rangeCount>0&&n.removeAllRanges(),t&&o.gB.deselect(e)},findDocumentOrShadowRoot:e=>{var t=ep.toDOMNode(e,e),n=t.getRootNode();return n instanceof Document||n instanceof ShadowRoot?n:t.ownerDocument},findEventRange:(e,t)=>{"nativeEvent"in t&&(t=t.nativeEvent);var n,{clientX:r,clientY:i,target:a}=t;if(null==r||null==i)throw Error("Cannot resolve a Slate range from a DOM event: ".concat(t));var s=ep.toSlateNode(e,t.target),l=ep.findPath(e,s);if(o.Hg.isElement(s)&&o.KE.isVoid(e,s)){var u=a.getBoundingClientRect(),c=e.isInline(s)?r-u.left<u.left+u.width-r:i-u.top<u.top+u.height-i,d=o.KE.point(e,l,{edge:c?"start":"end"}),f=c?o.KE.before(e,d):o.KE.after(e,d);if(f)return o.KE.range(e,f)}var{document:h}=ep.getWindow(e);if(h.caretRangeFromPoint)n=h.caretRangeFromPoint(r,i);else{var p=h.caretPositionFromPoint(r,i);p&&((n=h.createRange()).setStart(p.offsetNode,p.offset),n.setEnd(p.offsetNode,p.offset))}if(!n)throw Error("Cannot resolve a Slate range from a DOM event: ".concat(t));return ep.toSlateRange(e,n,{exactMatch:!1,suppressThrow:!1})},findKey:(e,t)=>{var n=J.get(t);return n||(n=new H,J.set(t,n)),n},findPath:(e,t)=>{for(var n=[],r=t;;){var i=G.get(r);if(null==i)if(o.KE.isEditor(r))return n;else break;var a=V.get(r);if(null==a)break;n.unshift(a),r=i}throw Error("Unable to find the path for Slate node: ".concat(o.h6.stringify(t)))},focus:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{retries:5};if(!et.get(e)&&Y.get(e)){if(t.retries<=0)throw Error("Could not set focus, editor seems stuck with pending operations");if(e.operations.length>0)return void setTimeout(()=>{ep.focus(e,{retries:t.retries-1})},10);var n=ep.toDOMNode(e,e),r=ep.findDocumentOrShadowRoot(e);if(r.activeElement!==n){if(e.selection&&r instanceof Document){var i=w(r),a=ep.toDOMRange(e,e.selection);null==i||i.removeAllRanges(),null==i||i.addRange(a)}e.selection||o.gB.select(e,o.KE.start(e,[])),et.set(e,!0),n.focus({preventScroll:!0})}}},getWindow:e=>{var t=W.get(e);if(!t)throw Error("Unable to find a host window element for this editor");return t},hasDOMNode:function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{editable:i=!1}=r,o=ep.toDOMNode(e,e);try{n=d(t)?t:t.parentElement}catch(e){if(e instanceof Error&&!e.message.includes('Permission denied to access property "nodeType"'))throw e}return!!n&&E(n,"[data-slate-editor]")===o&&(!i||!!n.isContentEditable||"boolean"==typeof n.isContentEditable&&E(n,'[contenteditable="false"]')===o||!!n.getAttribute("data-slate-zero-width"))},hasEditableTarget:(e,t)=>f(t)&&ep.hasDOMNode(e,t,{editable:!0}),hasRange:(e,t)=>
1{var{anchor:n,focus:r}=t;return o.KE.hasPath(e,n.path)&&o.KE.hasPath(e,r.path)},hasSelectableTarget:(e,t)=>ep.hasEditableTarget(e,t)||ep.isTargetInsideNonReadonlyVoid(e,t),hasTarget:(e,t)=>f(t)&&ep.hasDOMNode(e,t),insertData:(e,t)=>{e.insertData(t)},insertFragmentData:(e,t)=>e.insertFragmentData(t),insertTextData:(e,t)=>e.insertTextData(t),isComposing:e=>!!en.get(e),isFocused:e=>!!et.get(e),isReadOnly:e=>!!ee.get(e),isTargetInsideNonReadonlyVoid:(e,t)=>{if(ee.get(e))return!1;var n=ep.hasTarget(e,t)&&ep.toSlateNode(e,t);return o.Hg.isElement(n)&&o.KE.isVoid(e,n)},setFragmentData:(e,t,n)=>e.setFragmentData(t,n),toDOMNode:(e,t)=>{var n=Q.get(e),r=o.KE.isEditor(t)?Y.get(e):null==n?void 0:n.get(ep.findKey(e,t));if(!r)throw Error("Cannot resolve a DOM node from Slate node: ".concat(o.h6.stringify(t)));return r},toDOMPoint:(e,t)=>{var[n]=o.KE.node(e,t.path),r=ep.toDOMNode(e,n);o.KE.void(e,{at:t})&&(t={path:t.path,offset:0});for(var i=Array.from(r.querySelectorAll("[data-slate-string], [data-slate-zero-width]")),a=0,s=0;s<i.length;s++){var u=i[s],c=u.childNodes[0];if(null!=c&&null!=c.textContent){var{length:d}=c.textContent,f=u.getAttribute("data-slate-length"),h=a+(null==f?d:parseInt(f,10)),p=i[s+1];if(t.offset===h&&null!=p&&p.hasAttribute("data-slate-mark-placeholder")){var g,m,y=p.childNodes[0];g=[y instanceof l?y:p,null!=(m=p.textContent)&&m.startsWith("\uFEFF")?1:0];break}if(t.offset<=h){g=[c,Math.min(d,Math.max(0,t.offset-a))];break}a=h}}if(!g)throw Error("Cannot resolve a DOM point from Slate point: ".concat(o.h6.stringify(t)));return g},toDOMRange:(e,t)=>
1{var{anchor:n,focus:r}=t,i=o.Q6.isBackward(t),a=ep.toDOMPoint(e,n),s=o.Q6.isCollapsed(t)?a:ep.toDOMPoint(e,r),l=ep.getWindow(e).document.createRange(),[u,c]=i?s:a,[f,h]=i?a:s,p=!!(d(u)?u:u.parentElement).getAttribute("data-slate-zero-width"),g=!!(d(f)?f:f.parentElement).getAttribute("data-slate-zero-width");return l.setStart(u,p?1:c),l.setEnd(f,g?1:h),l},toSlateNode:(e,t)=>{var n=d(t)?t:t.parentElement;n&&!n.hasAttribute("data-slate-node")&&(n=n.closest("[data-slate-node]"));var r=n?Z.get(n):null;if(!r)throw Error("Cannot resolve a Slate node from DOM node: ".concat(n));return r},toSlatePoint:(e,t,n)=>{var{exactMatch:r,suppressThrow:i,searchDirection:a}=n,[l,u]=r?t:(e=>{var[t,n]=e;if(d(t)&&t.childNodes.length){var r=n===t.childNodes.length,i=r?n-1:n;for([t,i]=m(t,i,r?"backward":"forward"),r=i<n;d(t)&&t.childNodes.length;){var o=r?t.childNodes.length-1:0;t=y(t,o,r?"backward":"forward")}n=r&&null!=t.textContent?t.textContent.length:0}return[t,n]})(t),c=l.parentNode,f=null,h=0;if(c){var p=ep.toDOMNode(e,e),g=c.closest('[data-slate-void="true"]'),b=g&&A(p,g)?g:null,v=c.closest('[contenteditable="false"]'),w=v&&A(p,v)?v:null,_=c.closest("[data-slate-leaf]"),x=null;if(_){if(f=_.closest('[data-slate-node="text"]')){var E=ep.getWindow(e).document.createRange();E.setStart(f,0),E.setEnd(l,u);var S=E.cloneContents();[...Array.prototype.slice.call(S.querySelectorAll("[data-slate-zero-width]")),...Array.prototype.slice.call(S.querySelectorAll("[contenteditable=false]"))].forEac
1h(e=>{if(O&&!r&&e.hasAttribute("data-slate-zero-width")&&e.textContent.length>0&&"\uFEFF"!==e.textContext){e.textContent.startsWith("\uFEFF")&&(e.textContent=e.textContent.slice(1));return}e.parentNode.removeChild(e)}),h=S.textContent.length,x=f}}else if(b){for(var C=b.querySelectorAll("[data-slate-leaf]"),D=0;D<C.length;D++){var I=C[D];if(ep.hasDOMNode(e,I)){_=I;break}}_?(f=_.closest('[data-slate-node="text"]'),h=(x=_).textContent.length,x.querySelectorAll("[data-slate-zero-width]").forEach(e=>{h-=e.textContent.length})):h=1}else if(w){var R,j,N,M,F=e=>e?e.querySelectorAll("[data-slate-leaf]:not(:scope [data-slate-editor] [data-slate-leaf])"):[],$=w.closest('[data-slate-node="element"]');"backward"!==a&&a||(_=null!=(N=[...F(null==$?void 0:$.previousElementSibling),...F($)].findLast(e=>k(w,e)))?N:null),"forward"!==a&&a||(_=null!=(M=[...F($),...F(null==$?void 0:$.nextElementSibling)].find(e=>!!(w.compareDocumentPosition(e)&s.DOCUMENT_POSITION_FOLLOWING)))?M:null),_&&(f=_.closest('[data-slate-node="text"]'),x=_,"forward"===a?h=0:(h=x.textContent.length,x.querySelectorAll("[data-slate-zero-width]").forEach(e=>{h-=e.textContent.length})))}x&&h===x.textContent.length&&O&&"z"===x.getAttribute("data-slate-zero-width")&&null!=(R=x.textContent)&&R.startsWith("\uFEFF")&&(c.hasAttribute("data-slate-zero-width")||T&&null!=(j=x.textContent)&&j.endsWith("\n\n"))&&h--}if(O&&!f&&!r){var L=c.hasAttribute("data-slate-node")?c:c.closest("[data-slate-node]");if(L&&ep.hasDOMNode(e,L,{editable:!0})){var P=ep.toSlateNode(e,L),{path:z,offset:U}=o.KE.start(e,ep.findPath(e,P));return L.querySelector("[data-slate-leaf]")||(U=u),{path:z,offset:U}}}if(!f){if(i)return null;throw Error("Cannot resolve a Slate point from DOM point: ".concat(t))}var B=ep.toSlateNode(e,f);return{path:ep.findPath(e,B),offset:h}},toSlateRange:(e,t,n)=>{var r,i,a,s,l,u,{exactMatch:c,suppressThrow:f}=n;if(h(t)?t.anchorNode:t.startContainer)if(h(t)){if(T&&t.rangeCount>1){s=t.focusNode;var p=t.getRangeAt(0),g=t.getRangeAt(t.rangeCount-1);if(s instanceof HTMLTableRowElement&&p.startContainer instanceof HTMLTableRowElement&&g.startContainer instanceof HTMLTableRowElement){function m(e){return e.childElementCount>0?m(e.children[0]):e}var y=p.startContainer,b=g.startContainer,v=m(y.children[p.startOffset]),w=m(b.children[g.startOffset]);l=0,i=w.childNodes.length>0?w.childNodes[0]:w,s=v.childNodes.length>0?v.childNodes[0]:v,a=w instanceof HTMLElement?w.innerHTML.length:0}else p.startContainer===s?(i=g.endContainer,a=g.endOffset,l=p.startOffset):(i=p.startContainer,a=p.endOffset,l=g.startOffset)}else i=t.anchorNode,a=t.anchorOffset,s=t.focusNode,l=t.focusOffset;u=R&&(e=>{for(var t=e&&e.parentNode;t;){if("[object ShadowRoot]"===t.toString())return!0;t=t.parentNode}return!1})(i)||T?t.anchorNode===t.focusNode&&t.anchorOffset===t.focusOffset:t.isCollapsed}else i=t.startContainer,a=t.startOffset,s=t.endContainer,l=t.endOffset,u=t.collapsed;if(null==i||null==s||null==a||null==l)throw Error("Cannot resolve a Slate range from DOM range: ".concat(t));T&&null!=(r=s.textContent)&&r.endsWith("\n\n")&&l===s.textContent.length&&l--;var _=ep.toSlatePoint(e,[i,a],{exactMatch:c,suppressThrow:f});if(!_)return null;var x=k(i,s)||i===s&&l<a,E=u?_:ep.toSlatePoint(e,[s,l],{exactMatch:c,suppressThrow:f,searchDirection:x?"forward":"backward"});if(!E)return null;var A={anchor:_,focus:E};return o.Q6.isExpanded(A)&&o.Q6.isForward(A)&&d(s)&&o.KE.void(e,{at:A.focus,mode:"highest"})&&(A=o.KE.unhangRange(e,A,{voids:!0})),A}};function eg(e,t){var{path:n,diff:r}=t;if(!o.KE.hasPath(e,n))return!1;var i=o.bP.get(e,n);if(!o.EY.isText(i))return!1;if(r.start!==i.text.length||0===r.text.length)return i.text.slice(r.start,r.start+r.text.length)===r.text;var a=o.wA.next(n);if(!o.KE.hasPath(e,a))return!1;var s=o.bP.get(e,a);return o.EY.isText(s)&&s.text.startsWith(r.text)}function em(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.reduce((e,t)=>e.slice(0,t.start)+t.text+e.slice(t.end),e)}function ey(e,t){var{start:n,end:r,text:i}=t,o=e.slice(n,r),a=function(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r++)if(e.charAt(r)!==t.charAt(r))return r;return n}(o,i),s=Math.min(o.length-a,i.length-a),l=function(e,t,n){for(var r=Math.min(e.length,t.length,n),i=0;i<r;i++)if(e.charAt(e.length-i-1)!==t.charAt(t.length-i-1))return i;return r}(o,i,s),u={start:n+a,end:r-l,text:i.slice(a,i.length-l)};return u.start===u.end&&0===u.text.length?null:u}function eb(e,t,n){var r=Math.min(t.start,n.start),i=Math.max(0,Math.min(t.start+t.text.length,n.end)-n.start),o=em(e,t,n),a=Math.max(n.start+n.text.length,t.start+t.text.length+(t.start+t.text.length>n.start?n.text.length:0)-i),s=o.slice(r,a);return ey(e,{start:r,end:Math.max(t.end,n.end-t.text.length+(t.end-t.start)),text:s})}function ev(e){var{path:t,diff:n}=e;return{anchor:{path:t,offset:n.start},focus:{path:t,offset:n.end}}}function ew(e,t){var{path:n,offset:r}=t;if(!o.KE.hasPath(e,n))return null;var i=o.bP.get(e,n);if(!o.EY.isText(i))return null;var a=o.KE.above(e,{match:t=>o.Hg.isElement(t)&&o.KE.isBlock(e,t),at:n});if(!a)return null;for(;r>i.text.length;){var s=o.KE.next(e,{at:n,match:o.EY.isText});if(!s||!o.wA.isDescendant(s[1],a[1]))return null;r-=i.text.length,i=s[0],n=s[1]}return{path:n,offset:r}}function e_(e,t){var n=ew(e,t.anchor);if(!n)return null;if(o.Q6.isCollapsed(t))return{anchor:n,focus:n};var r=ew(e,t.focus);
1return r?{anchor:n,focus:r}:null}function ex(e,t,n){var r=el.get(e),i=null==r?void 0:r.find(e=>{var{path:n}=e;return o.wA.equals(n,t.path)});if(!i||t.offset<=i.diff.start)return o.bR.transform(t,n,{affinity:"backward"});var{diff:a}=i;if(t.offset<=a.start+a.text.length){var s={path:t.path,offset:a.start},l=o.bR.transform(s,n,{affinity:"backward"});return l?{path:l.path,offset:l.offset+t.offset-a.start}:null}var u={path:t.path,offset:t.offset-a.text.length+a.end-a.start},c=o.bR.transform(u,n,{affinity:"backward"});return c?"split_node"===n.type&&o.wA.equals(n.path,t.path)&&u.offset<n.position&&a.start<n.position?c:{path:c.path,offset:c.offset+a.text.length-a.end+a.start}:null}function ek(e,t,n){var r=ex(e,t.anchor,n);if(!r)return null;if(o.Q6.isCollapsed(t))return{anchor:r,focus:r};var i=ex(e,t.focus,n);return i?{anchor:r,focus:i}:null}var eE=(e,t)=>{var n=(t.top+t.bottom)/2;return e.top<=n&&e.bottom>=n},eA=(e,t,n)=>{var r=ep.toDOMRange(e,t).getBoundingClientRect(),i=ep.toDOMRange(e,n).getBoundingClientRect();return eE(r,i)&&eE(i,r)};function eS(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function eC(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?eS(Object(n),!0).forEach(function(t){U(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):eS(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var eO=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"x-slate-fragment",{apply:n,onChange:r,deleteBackward:i,addMark:a,removeMark:s}=e;return Q.set(e,new WeakMap),e.addMark=(t,n)=>{var r,i;null==(r=eo.get(e))||r(),!ea.get(e)&&null!=(i=el.get(e))&&i.length&&ea.set(e,null),es.delete(e),a(t,n)},e.removeMark=t=>{var n;!ea.get(e)&&null!=(n=el.get(e))&&n.length&&ea.set(e,null),es.delete(e),s(t)},e.deleteBackward=t=>{if("line"!==t)return i(t);if(e.selection&&o.Q6.isCollapsed(e.selection)){var n=o.KE.above(e,{match:t=>o.Hg.isElement(t)&&o.KE.isBlock(e,t),at:e.selection});if(n){var[,r]=n,a=o.KE.range(e,r,e.selection.anchor),s=((e,t)=>{var n=o.KE.range(e,o.Q6.end(t)),r=Array.from(o.KE.positions(e,{at:t})),i=0,a=r.length,s=Math.floor(a/2);if(eA(e,o.KE.range(e,r[i]),n))return o.KE.range(e,r[i],n);if(r.length<2)return o.KE.range(e,r[r.length-1],n);for(;s!==r.length&&s!==i;)eA(e,o.KE.range(e,r[s]),n)?a=s:i=s,s=Math.floor((i+a)/2);return o.KE.range(e,r[i],n)})(e,a);o.Q6.isCollapsed(s)||o.gB.delete(e,{at:s})}}},e.apply=t=>{var r=[],i=[],a=el.get(e);if(null!=a&&a.length){var s=a.map(e=>(function(e,t){var{path:n,diff:r,id:i}=e;switch(t.type){case"insert_text":if(!o.wA.equals(t.path,n)||t.offset>=r.end)return e;if(t.offset<=r.start)return{diff:{start:t.text.length+r.start,end:t.text.length+r.end,text:r.text},id:i,path:n};return{diff:{start:r.start,end:r.end+t.text.length,text:r.text},id:i,path:n};case"remove_text":if(!o.wA.equals(t.path,n)||t.offset>=r.end)return e;if(t.offset+t.text.length<=r.start)return{diff:{start:r.start-t.text.length,end:r.end-t.text.length,text:r.text},id:i,path:n};return{diff:{start:r.start,end:r.end-t.text.length,text:r.text},id:i,path:n};case"split_node":if(!o.wA.equals(t.path,n)||t.position>=r.end)return{diff:r,id:i,path:o.wA.transform(n,t,{affinity:"backward"})};if(t.position>r.start)return{diff:{start:r.start,end:Math.min(t.position,r.end),text:r.text},id:i,path:n};return{diff:{start:r.start-t.position,end:r.end-t.position,text:r.text},id:i,path:o.wA.transform(n,t,{affinity:"forward"})};case"merge_node":if(!o.wA.equals(t.path,n))return{diff:r,id:i,path:o.wA.transform(n,t)};return{diff:{start:r.start+t.position,end:r.end+t.position,text:r.text},id:i,path:o.wA.transform(n,t)}}var a=o.wA.transform(n,t);return a?{diff:r,path:a,id:i}:null})(e,t)).filter(Boolean);el.set(e,s)}var l=ec.get(e);l&&ec.set(e,ek(e,l,t));var u=eu.get(e);if(null!=u&&u.at){var c=o.bR.isPoint(null==u?void 0:u.at)?ex(e,u.at,t):ek(e,u.at,t);eu.set(e,c?eC(eC({},u),{},{at:c}):null)}switch(t.type){case"insert_text":case"remove_text":case"set_node":case"split_node":r.push(...eT(e,t.path));break;case"set_selection":null==(d=er.get(e))||d.unref(),er.delete(e);break;case"insert_node":case"remove_node":r.push(...eT(e,o.wA.parent(t.path)));break;case"merge_node":r.push(...eT(e,o.wA.previous(t.path)));break;case"move_node":r.push(...eT(e,o.wA.common(o.wA.parent(t.path),o.wA.parent(t.newPath)))),o.wA.isBefore(t.path,t.newPath)?(r.push(...eT(e,o.wA.parent(t.path))),f=t.newPath):(r.push(...eT(e,o.wA.parent(t.newPath))),f=t.path);var d,f,h=o.bP.get(e,o.wA.parent(f)),p=ep.findKey(e,h);i.push([o.KE.pathRef(e,o.wA.parent(f)),p])}switch(n(t),t.type){case"insert_node":case"remove_node":case"merge_node":case"move_node":case"split_node":case"insert_text":case"remove_text":case"set_selection":q.set(e,!0)}for(var[g,m]of r){var[y]=o.KE.node(e,g);J.set(y,m)}for(var[b,v]of i){if(b.current){var[w]=o.KE.node(e,b.current);J.set(w,v)}b.unref()}},e.setFragmentData=n=>
1{var{selection:r}=e;if(r){var[i,a]=o.Q6.edges(r),s=o.KE.void(e,{at:i.path}),l=o.KE.void(e,{at:a.path});if(!o.Q6.isCollapsed(r)||s){var u=ep.toDOMRange(e,r),c=u.cloneContents(),d=c.childNodes[0];if(c.childNodes.forEach(e=>{e.textContent&&""!==e.textContent.trim()&&(d=e)}),l){var[f]=l,h=u.cloneRange(),g=ep.toDOMNode(e,f);h.setEndAfter(g),c=h.cloneContents()}if(s&&(d=c.querySelector("[data-slate-spacer]")),Array.from(c.querySelectorAll("[data-slate-zero-width]")).forEach(e=>{var t="n"===e.getAttribute("data-slate-zero-width");e.textContent=t?"\n":""}),p(d)){var m=d.ownerDocument.createElement("span");m.style.whiteSpace="pre",m.appendChild(d),c.appendChild(m),d=m}var y=JSON.stringify(e.getFragment()),v=window.btoa(encodeURIComponent(y));d.setAttribute("data-slate-fragment",v),n.setData("application/".concat(t),v);var w=c.ownerDocument.createElement("div");return w.appendChild(c),w.setAttribute("hidden","true"),c.ownerDocument.body.appendChild(w),n.setData("text/html",w.innerHTML),n.setData("text/plain",b(w)),c.ownerDocument.body.removeChild(w),n}}},e.insertData=t=>{e.insertFragmentData(t)||e.insertTextData(t)},e.insertFragmentData=n=>{var r=n.getData("application/".concat(t))||(e=>{var[,t]=e.getData("text/html").match(v)||[];return t})(n);if(r){var i=JSON.parse(decodeURIComponent(window.atob(r)));return e.insertFragment(i),!0}return!1},e.insertTextData=t=>{var n=t.getData("text/plain");if(n){var r=n.split(/\r\n|\r|\n/),i=!1;for(var a of r)i&&o.gB.splitNodes(e,{always:!0}),e.insertText(a),i=!0;return!0}return!1},e.onChange=t=>{var n=ei.get(e);n&&n(t),r(t)},e},eT=(e,t)=>{var n=[];for(var[r,i]of o.KE.levels(e,{at:t})){var a=ep.findKey(e,r);n.push([i,a])}return n},eD=3,eI={bold:"mod+b",compose:["down","left","right","up","backspace","enter"],moveBackward:"left",moveForward:"right",moveWordBackward:"ctrl+left",moveWordForward:"ctrl+right",deleteBackward:"shift?+backspace",deleteForward:"shift?+delete",extendBackward:"shift+left",extendForward:"shift+right",italic:"mod+i",insertSoftBreak:"shift+enter",splitBlock:"enter",undo:"mod+z"},eR={moveLineBackward:"opt+up",moveLineForward:"opt+down",moveWordBackward:"opt+left",moveWordForward:"opt+right",deleteBackward:["ctrl+backspace","ctrl+h"],deleteForward:["ctrl+delete","ctrl+d"],deleteLineBackward:"cmd+shift?+backspace",deleteLineForward:["cmd+shift?+delete","ctrl+k"],deleteWordBackward:"opt+shift?+backspace",deleteWordForward:"opt+shift?+delete",extendLineBackward:"opt+shift+up",extendLineForward:"opt+shift+down",redo:"cmd+shift+z",transposeCharacter:"ctrl+t"},ej={deleteWordBackward:"ctrl+shift?+backspace",deleteWordForward:"ctrl+shift?+delete",redo:["ctrl+y","ctrl+shift+z"]},eN=e=>{var t=eI[e],n=eR[e],r=ej[e],i=t&&(0,a.v_)(t),o=n&&(0,a.v_)(n),s=r&&(0,a.v_)(r);return e=>!!(i&&i(e)||C&&o&&o(e)||!C&&s&&s(e))},eM={isBold:eN("bold"),isCompose:eN("compose"),isMoveBackward:eN("moveBackward"),isMoveForward:eN("moveForward"),isDeleteBackward:eN("deleteBackward"),isDeleteForward:eN("deleteForward"),isDeleteLineBackward:eN("deleteLineBackward"),isDeleteLineForward:eN("deleteLineForward"),isDeleteWordBackward:eN("deleteWordBackward"),isDeleteWordForward:eN("deleteWordForward"),isExtendBackward:eN("extendBackward"),isExtendForward:eN("extendForward"),isExtendLineBackward:eN("extendLineBackward"),isExtendLineForward:eN("extendLineForward"),isItalic:eN("italic"),isMoveLineBackward:eN("moveLineBackward"),isMoveLineForward:eN("moveLineForward"),isMoveWordBackward:eN("moveWordBackward"),isMoveWordForward:eN("moveWordForward"),isRedo:eN("redo"),isSoftBreak:eN("insertSoftBreak"),isSplitBlock:eN("splitBlock"),isTransposeCharacter:eN("transposeCharacter"),isUndo:eN("undo")};function eF(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var e$=["anchor","focus"],eL=["anchor","focus"];function eP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ez(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?eP(Object(n),!0).forEach(function(t){U(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):eP(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var eU=(e,t)=>{var n=eF(e,e$),r=eF(t,eL);return e[ef]===t[ef]&&Object.keys(n).length===Object.keys(r).length&&Object.keys(n).every(e=>r.hasOwnProperty(e)&&n[e]===r[e])},eB=(e,t)=>{if(e===t)return!0;if(!e||!t||e.length!==t.length)return!1;for(var n=0;n<e.length;n++){var r=e[n],i=t[n];if(!o.Q6.equals(r,i)||!eU(r,i))return!1}return!0},eH=(e,t)=>{if(e===t)return!0;if(!e||!t||e.length!==t.length)return!1;for(var n=0;n<e.length;n++){var r=e[n],i=t[n];if(r.anchor.offset!==i.anchor.offset||r.focus.offset!==i.focus.offset||!eU(r,i))return!1}return!0},eq=(e,t,n)=>{var r=Array.from(t.children,()=>[]);if(0===n.length)return r;var i=ep.findPath(e,t),a=i.length,s=o.KE.range(e,i),l=Array(t.children.length),u=t=>{var n=l[t];if(n)return n;var r=o.KE.range(e,[...i,t]);return l[t]=r,r};for(var c of n){var d=o.Q6.intersection(s,c);if(d)for(var[f,h]=o.Q6.edges(d),p=f.path[a],g=h.path[a],m=p;m<=g;m++){var y=r[m];if(y){var b=u(m),v=o.Q6.intersection(b,c);v&&y.push(ez(ez({},c),v))}}}return r}},1266:(e,t,n)=>{var r=n(66692),i=n(77845),o=n(78823),a=n(17650),s=n(83652);e.exports=function(e){return"function"==typeof e?e:null==e?o:"object"==typeof e?a(e)?i(e[0],e[1]):r(e):s(e)}},1314:(e,t,n)=>{"use strict";n.d(t,{w:()=>d});var r=n(99937),i=n(55134),o=n(79619),a=n(38299),s=n(15512),l=n(77973),u=n(15940),c=(0,s.L)(function(e){return function(t){void 0===t&&(t=null),e(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=t}});function d(e,t){var n=(0,i.v)(e)?{first:e}:"number"==typeof e?{each:e}:e,s=n.first,c=n.each,d=n.with,h=void 0===d?f:d,p=n.scheduler,g=void 0===p?null!=t?t:r.E:p,m=n.meta,y=void 0===m?null:m;if(null==s&&null==c)throw TypeError("No timeout provided.");return(0,o.N)(function(e,t){var n,r,i=null,o=0,d=function(e){r=(0,u.N)(t,g,function(){try{n.unsubscribe(),(0,a.Tg)(h({meta:y,lastValue:i,seen:o})).subscribe(t)}catch(e){t.error(e)}},e)};n=e.subscribe((0,l._)(t,function(e){null==r||r.unsubscribe(),o++,t.next(i=e),c>0&&d(c)},void 0,void 0,function(){(null==r?void 0:r.closed)||null==r||r.unsubscribe(),i=null})),o||d(null!=s?"number"==typeof s?s:s-g.now():c)})}function f(e){throw new c(e)}},1448:(e,t,n)=>{"use strict";n.d(t,{A:()=>k});var r=n(74548),i=n(51603),o=(0,r.A)(i.A,"DataView"),a=n(51023),s=(0,r.A)(i.A,"Promise"),l=n(78261),u=n(16283),c=n(95749),d=n(69687),f="[object Map]",h="[object Promise]",p="[object Set]",g="[object WeakMap]",m="[object DataView]",y=(0,d.A)(o),b=(0,d.A)(a.A),v=(0,d.A)(s),w=(0,d.A)(l.A),_=(0,d.A)(u.A),x=c.A;(o&&x(new o(new ArrayBuffer(1)))!=m||a.A&&x(new a.A)!=f||s&&x(s.resolve())!=h||l.A&&x(new l.A)!=p||u.A&&x(new u.A)!=g)&&(x=function(e){var t=(0,c.A)(e),n="[object Object]"==t?e.constructor:void 0,r=n?(0,d.A)(n):"";if(r)switch(r){case y:return m;case b:return f;case v:return h;case w:return p;case _:return g}return t});let k=x},1942:(e,t,n)=>{"use strict";n.d(t,{S8:()=>a,cd:()=>function e(t,n=3,r=102400){let i=a(t,n);return~-encodeURI(JSON.stringify(i)).split(/%..|./).length>r?e(t,n-1,r):i}});var r=n(33860),i=n(2159),o=n(64985);function a(e,t=100,n=Infinity){try{return function e(t,n,a=Infinity,s=Infinity,l=function(){let e="function"==typeof WeakSet,t=e?new WeakSet:[];return[function(n){if(e)return!!t.has(n)||(t.add(n),!1);for(let e=0;e<t.length;e++)if(t[e]===n)return!0;return t.push(n),!1},function(n){if(e)t.delete(n);else for(let e=0;e<t.length;e++)if(t[e]===n){t.splice(e,1);break}}]}()){let[u,c]=l;if(null==n||["boolean","string"].includes(typeof n)||"number"==typeof n&&Number.isFinite(n))return n;let d=function(e,t){try{var n;let i;if("domain"===e&&t&&"object"==typeof t&&t._events)return"[Domain]";if("domainEmitter"===e)return"[DomainEmitter]";if("u">typeof global&&t===global)return"[Global]";if("u">typeof window&&t===window)return"[Window]";if("u">typeof document&&t===document)return"[Document]";if((0,r.L2)(t))return"[VueViewModel]";if((0,r.mE)(t))return"[SyntheticEvent]";if("number"==typeof t&&!Number.isFinite(t))return`[${t}]`;if("function"==typeof t)return`[Function: ${(0,o.qQ)(t)}]`;if("symbol"==typeof t)return`[${String(t)}]`;if("bigint"==typeof t)return`[BigInt: ${String(t)}]`;let a=(n=t,(i=Object.getPrototypeOf(n))?i.constructor.name:"null prototype");if(/^HTML(\w*)Element$/.test(a))return`[HTMLElement: ${a}]`;return`[object ${a}]`}catch(e){return`**non-serializable** (${e})`}}(t,n);if(!d.startsWith("[object "))return d;if(n.__sentry_skip_normalization__)return n;let f="number"==typeof n.__sentry_override_normalization_depth__?n.__sentry_override_normalization_depth__:a;if(0===f)return d.replace("object ","");if(u(n))return"[Circular ~]";if(n&&"function"==typeof n.toJSON)try{let t=n.toJSON();return e("",t,f-1,s,l)}catch(e){}let h=Array.isArray(n)?[]:{},p=0,g=(0,i.W4)(n);for(let t in g){if(!Object.prototype.hasOwnProperty.call(g,t))continue;if(p>=s){h[t]="[MaxProperties ~]";break}let n=g[t];h[t]=e(t,n,f-1,s,l),p++}return c(n),h}("",e,t,n)}catch(e){return{ERROR:`**non-serializable** (${e})`}}}},1996:(e,t,n)=>{"use strict";n.d(t,{H:()=>h});var r=n(52990),i=n(49303),o=n(65132),a=n(90240),s=n(66567),l=n(77973),u=n(79619),c=function(e){function t(t,n){var r=e.call(this)||this;return r.source=t,r.subjectFactory=n,r._subject=null,r._refCount=0,r._connection=null,(0,u.S)(t)&&(r.lift=t.lift),r}return(0,i.C6)(t,e),t.prototype._subscribe=function(e){return this.get
1Subject().subscribe(e)},t.prototype.getSubject=function(){var e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject},t.prototype._teardown=function(){this._refCount=0;var e=this._connection;this._subject=this._connection=null,null==e||e.unsubscribe()},t.prototype.connect=function(){var e=this,t=this._connection;if(!t){t=this._connection=new a.yU;var n=this.getSubject();t.add(this.source.subscribe((0,l._)(n,void 0,function(){e._teardown(),n.complete()},function(t){e._teardown(),n.error(t)},function(){return e._teardown()}))),t.closed&&(this._connection=null,t=a.yU.EMPTY)}return t},t.prototype.refCount=function(){return(0,s.B)()(this)},t}(o.c),d=n(70418),f=n(31980);function h(e,t,n,i){n&&!(0,d.T)(n)&&(i=n);var o=(0,d.T)(n)?n:void 0;return function(n){var a,s;return(a=new r.m(e,t,i),s=(0,d.T)(a)?a:function(){return a},(0,d.T)(o)?(0,f.N)(o,{connector:s}):function(e){return new c(e,s)})(n)}}},2033:(e,t,n)=>{"use strict";n.d(t,{V:()=>o});var r=n(70061),i=n(4644);function o(e,t,n){let[o,a]=(0,r.x)(n?.in,e,t),s=(0,i.z)(o,a),l=Math.abs(function(e,t,n){let[i,o]=(0,r.x)(void 0,e,t);return i.getFullYear()-o.getFullYear()}(o,a));o.setFullYear(1584),a.setFullYear(1584);let u=(0,i.z)(o,a)===-s,c=s*(l-u);return 0===c?0:c}},2129:(e,t,n)=>{var r=n(41331),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g;e.exports=r(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(i,function(e,n,r,i){t.push(r?i.replace(o,"$1"):n||e)}),t})},2159:(e,t,n)=>{"use strict";n.d(t,{Ce:()=>m,GS:()=>l,HF:()=>g,W4:()=>f,my:()=>u,pO:()=>c,sp:()=>d});var r=n(87812),i=n(74738),o=n(33860),a=n(26900),s=n(88925);function l(e,t,n){if(!(t in e))return;let r=e[t],o=n(r);
1"function"==typeof o&&c(o,r);try{e[t]=o}catch(n){i.T&&a.vF.log(`Failed to replace method "${t}" in object`,e)}}function u(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch(n){i.T&&a.vF.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function c(e,t){try{let n=t.prototype||{};e.prototype=t.prototype=n,u(e,"__sentry_original__",t)}catch(e){}}function d(e){return e.__sentry_original__}function f(e){if((0,o.bJ)(e))return{message:e.message,name:e.name,stack:e.stack,...p(e)};if(!(0,o.xH)(e))return e;{let t={type:e.type,target:h(e.target),currentTarget:h(e.currentTarget),...p(e)};return"u">typeof CustomEvent&&(0,o.tH)(e,CustomEvent)&&(t.detail=e.detail),t}}function h(e){try{return(0,o.vq)(e)?(0,r.Hd)(e):Object.prototype.toString.call(e)}catch(e){return"<unknown>"}}function p(e){if("object"!=typeof e||null===e)return{};{let t={};for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}}function g(e,t=40){let n=Object.keys(f(e));n.sort();let r=n[0];if(!r)return"[object has no keys]";if(r.length>=t)return(0,s.xv)(r,t);for(let e=n.length;e>0;e--){let r=n.slice(0,e).join(", ");if(!(r.length>t)){if(e===n.length)return r;return(0,s.xv)(r,t)}}return""}function m(e){return function e(t,n){if(function(e){if(!(0,o.Qd)(e))return!1;try{let t=Object.getPrototypeOf(e).constructor.name;return!t||"Object"===t}catch(e){return!0}}(t)){let r=n.get(t);if(void 0!==r)return r;let i={};for(let r of(n.set(t,i),Object.getOwnPropertyNames(t)))void 0!==t[r]&&(i[r]=e(t[r],n));return i}if(Array.isArray(t)){let r=n.get(t);if(void 0!==r)return r;let i=[];return n.set(t,i),t.forEach(t=>{i.push(e(t,n))}),i}return t}(e,new Map)}},2423:(e,t,n)=>{"use strict";n.d(t,{J:()=>b,N:()=>E});var r=n(85467),i=n(12115),o=n(11096),a=n(4897),s=n(34090),l=n(31562),u=n(52343),c=n(18212),d=n(16975),f=n(34920),h=n(75600),p=n(87953);function g(e){return"function"==typeof e?e():e}let m=new WeakMap,y={};function b(e,t,n){let l,u,c,h,p=(0,r.c)(10),{disabled:b}=void 0===n?y:n,E=void 0!==b&&b;if(!m.has(e)){let t={didEmit:!1},n={state:t,observable:e.pipe((0,d.T)(k),(0,o.W)(x),(0,f.M)(e=>{let{snapshot:n,error:r}=e;t.didEmit=!0,t.snapshot=n,t.error=r}),(0,d.T)(_),(0,a.j)(()=>m.delete(e)),(0,s.u)({resetOnRefCountZero:w})),getSnapshot:e=>{if(t.error)throw t.error;return t.didEmit?t.snapshot:g(e)}};n.observable.subscribe().unsubscribe(),m.set(e,n)}p[0]!==e?(l=m.get(e),p[0]=e,p[1]=l):l=p[1];let A=l;p[2]!==E||p[3]!==A.observable?(u=e=>{if(E)return v;let t=A.observable.subscribe(e);return()=>{t.unsubscribe()}},p[2]=E,p[3]=A.observable,p[4]=u):u=p[4];let S=u;return p[5]!==t||p[6]!==A?(c=()=>A.getSnapshot(t),p[5]=t,p[6]=A,p[7]=c):c=p[7],p[8]!==t?(h=typeof t>"u"?void 0:()=>g(t),p[8]=t,p[9]=h):h=p[9],(0,i.useSyncExternalStore)(S,c,h)}function v(){}function w(){return(0,l.O)(0,u.$)}function _(e){}function x(e){return(0,c.of)({snapshot:void 0,error:e})}function k(e){return{snapshot:e,error:void 0}}function E(e){let t,n,o,a=(0,r.c)(7),[s]=(0,i.useState)(A),[l,u]=s;a[0]!==e?(t=t=>e(t),a[0]=e,a[1]=t):t=a[1];let c=(0,p.J)(t);return a[2]!==l||a[3]!==c?(n=()=>{let e=l.pipe(e=>c(e)).subscribe();return()=>e.unsubscribe()},a[2]=l,a[3]=c,a[4]=n):n=a[4],a[5]!==l?(o=[l],a[5]=l,a[6]=o):o=a[6],(0,i.useEffect)(n,o),u}function A(){return(0,h.t)()}},2952:e=>{e.exports=function(e){return this.__data__.has(e)}},3338:(e,t,n)=>{"use strict";let r=/\s+/g;class i{constructor(e,t){if(t=a(t),e instanceof i)if(!!t.loose===e.loose&&!!t.includePrerelease===e.includePrerelease)return e;else return new i(e.raw,t);if(e instanceof s)return this.raw=e.value,this.set=[[e]],this.formatted=void 0,this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().replace(r," "),this.set=this.raw.split("||").map(e=>this.parseRange(e.trim())).filter(e=>e.length),!this.set.length)throw TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter(e=>!y(e[0])),0===this.set.length)this.set=[e];else if(this.set.length>1){for(const e of this.set)if(1===e.length&&b(e[0])){this.set=[e];break}}}this.formatted=void 0}get range(){if(void 0===this.formatted){this.formatted="";for(let e=0;e<this.set.length;e++){e>0&&(this.formatted+="||");let t=this.set[e];for(let e=0;e<t.length;e++)e>0&&(this.formatted+=" "),this.formatted+=t[e].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){let t=((this.options.includePrerelease&&g)|(this.options.loose&&m))+":"+e,n=o.get(t);if(n)return n;let r=this.options.loose,i=r?c[d.HYPHENRANGELOOSE]:c[d.HYPHENRANGE];l("hyphen replace",e=e.replace(i,D(this.options.includePrerelease))),l("comparator trim",e=e.replace(c[d.COMPARATORTRIM],f)),l("tilde trim",e=e.replace(c[d.TILDETRIM],h)),l("caret trim",e=e.replace(c[d.CARETTRIM],p));let a=e.split(" ").map(e=>w(e,this.options)).join(" ").split(/\s+/).map(e=>T(e,this.options));r&&(a=a.filter(e=>(l("loose invalid filter",e,this.options),!!e.match(c[d.COMPARATORLOOSE])))),l("range list",a);let u=new Map;for(let e of a.map(e=>new s(e,this.options))){if(y(e))return[e];u.set(e.value,e)}u.size>1&&u.has("")&&u.delete("");let b=[...u.values()];return o.set(t,b),b}intersects(e,t){if(!(e instanceof i))throw TypeError("a Range is required");return this.set.some(n=>v(n,t)&&e.set.some(e=>v(e,t)&&n.every(n=>e.every(e=>n.intersects(e,t)))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new u(e,this.options)}catch(e){return!1}for(let t=0;t<this.set.length;t++)if(I(this.set[t],e,this.options))return!0;return!1}}
1e.exports=i;let o=new(n(67151)),a=n(97230),s=n(52197),l=n(74317),u=n(79177),{safeRe:c,t:d,comparatorTrimReplace:f,tildeTrimReplace:h,caretTrimReplace:p}=n(83899),{FLAG_INCLUDE_PRERELEASE:g,FLAG_LOOSE:m}=n(18559),y=e=>"<0.0.0-0"===e.value,b=e=>""===e.value,v=(e,t)=>{let n=!0,r=e.slice(),i=r.pop();for(;n&&r.length;)n=r.every(e=>i.intersects(e,t)),i=r.pop();return n},w=(e,t)=>(l("comp",e=e.replace(c[d.BUILD],""),t),l("caret",e=E(e,t)),l("tildes",e=x(e,t)),l("xrange",e=S(e,t)),l("stars",e=O(e,t)),e),_=e=>!e||"x"===e.toLowerCase()||"*"===e,x=(e,t)=>e.trim().split(/\s+/).map(e=>k(e,t)).join(" "),k=(e,t)=>{let n=t.loose?c[d.TILDELOOSE]:c[d.TILDE];return e.replace(n,(t,n,r,i,o)=>{let a;return l("tilde",e,t,n,r,i,o),_(n)?a="":_(r)?a=`>=${n}.0.0 <${+n+1}.0.0-0`:_(i)?a=`>=${n}.${r}.0 <${n}.${+r+1}.0-0`:o?(l("replaceTilde pr",o),a=`>=${n}.${r}.${i}-${o} <${n}.${+r+1}.0-0`):a=`>=${n}.${r}.${i} <${n}.${+r+1}.0-0`,l("tilde return",a),a})},E=(e,t)=>e.trim().split(/\s+/).map(e=>A(e,t)).join(" "),A=(e,t)=>{l("caret",e,t);let n=t.loose?c[d.CARETLOOSE]:c[d.CARET],r=t.includePrerelease?"-0":"";return e.replace(n,(t,n,i,o,a)=>{let s;return l("caret",e,t,n,i,o,a),_(n)?s="":_(i)?s=`>=${n}.0.0${r} <${+n+1}.0.0-0`:_(o)?s="0"===n?`>=${n}.${i}.0${r} <${n}.${+i+1}.0-0`:`>=${n}.${i}.0${r} <${+n+1}.0.0-0`:a?(l("replaceCaret pr",a),s="0"===n?"0"===i?`>=${n}.${i}.${o}-${a} <${n}.${i}.${+o+1}-0`:`>=${n}.${i}.${o}-${a} <${n}.${+i+1}.0-0`:`>=${n}.${i}.${o}-${a} <${+n+1}.0.0-0`):(l("no pr"),s="0"===n?"0"===i?`>=${n}.${i}.${o}${r} <${n}.${i}.${+o+1}-0`:`>=${n}.${i}.${o}${r} <${n}.${+i+1}.0-0`:`>=${n}.${i}.${o} <${+n+1}.0.0-0`),l("caret return",s),s})},S=(e,t)=>(l("replaceXRanges",e,t),e.split(/\s+/).map(e=>C(e,t)).join(" ")),C=(e,t)=>{e=e.trim();let n=t.loose?c[d.XRANGELOOSE]:c[d.XRANGE];return e.replace(n,(n,r,i,o,a,s)=>{l("xRange",e,n,r,i,o,a,s);let u=_(i),c=u||_(o),d=c||_(a);return"="===r&&d&&(r=""),s=t.includePrerelease?"-0":"",u?n=">"===r||"<"===r?"<0.0.0-0":"*":r&&d?(c&&(o=0),a=0,">"===r?(r=">=",c?(i=+i+1,o=0):o=+o+1,a=0):"<="===r&&(r="<",c?i=+i+1:o=+o+1),"<"===r&&(s="-0"),n=`${r+i}.${o}.${a}${s}`):c?n=`>=${i}.0.0${s} <${+i+1}.0.0-0`:d&&(n=`>=${i}.${o}.0${s} <${i}.${+o+1}.0-0`),l("xRange return",n),n})},O=(e,t)=>(l("replaceStars",e,t),e.trim().replace(c[d.STAR],"")),T=(e,t)=>(l("replaceGTE0",e,t),e.trim().replace(c[t.includePrerelease?d.GTE0PRE:d.GTE0],"")),D=e=>(t,n,r,i,o,a,s,l,u,c,d,f)=>(n=_(r)?"":_(i)?`>=${r}.0.0${e?"-0":""}`:_(o)?`>=${r}.${i}.0${e?"-0":""}`:a?`>=${n}`:`>=${n}${e?"-0":""}`,l=_(u)?"":_(c)?`<${+u+1}.0.0-0`:_(d)?`<${u}.${+c+1}.0-0`:f?`<=${u}.${c}.${d}-${f}`:e?`<${u}.${c}.${+d+1}-0`:`<=${l}`,`${n} ${l}`.trim()),I=(e,t,n)=>{for(let n=0;n<e.length;n++)if(!e[n].test(t))return!1;if(t.prerelease.length&&!n.includePrerelease){for(let n=0;n<e.length;n++)if(l(e[n].semver),e[n].semver!==s.ANY&&e[n].semver.prerelease.length>0){let r=e[n].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch)return!0}return!1}return!0}},3437:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(16019),i=n(90756);let o=function(e,t,n,o){var a=!n;n||(n={});for(var s=-1,l=t.length;++s<l;){var u=t[s],c=o?o(n[u],e[u],u,n,e):void 0;void 0===c&&(c=e[u]),a?(0,i.A)(n,u,c):(0,r.A)(n,u,c)}return n}},4491:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});class r extends Map{#e=0;#t=new Map;#n=new Map;#r;#i;#o;constructor(e={}){if(super(),!(e.maxSize&&e.maxSize>0))throw TypeError("`maxSize` must be a number greater than 0");if("number"==typeof e.maxAge&&0===e.maxAge)throw TypeError("`maxAge` must be a number greater than 0");this.#r=e.maxSize,this.#i=e.maxAge||1/0,this.#o=e.onEviction}get __oldCache(){return this.#n}#a(e){if("function"==typeof this.#o)for(let[t,n]of e)this.#o(t,n.value)}#s(e,t){return!!("number"==typeof t.expiry&&t.expiry<=Date.now())&&("function"==typeof this.#o&&this.#o(e,t.value),this.delete(e))}#l(e,t){if(!1===this.#s(e,t))return t.value}#u(e,t){return t.expiry?this.#l(e,t):t.value}#c(e,t){let n=t.get(e);return this.#u(e,n)}#d(e,t){this.#t.set(e,t),this.#e++,this.#e>=this.#r&&(this.#e=0,this.#a(this.#n),this.#n=this.#t,this.#t=new Map)}#f(e,t){this.#n.delete(e),this.#d(e,t)}*#h(){for(let e of this.#n){let[t,n]=e;
1this.#t.has(t)||!1===this.#s(t,n)&&(yield e)}for(let e of this.#t){let[t,n]=e;!1===this.#s(t,n)&&(yield e)}}get(e){if(this.#t.has(e)){let t=this.#t.get(e);return this.#u(e,t)}if(this.#n.has(e)){let t=this.#n.get(e);if(!1===this.#s(e,t))return this.#f(e,t),t.value}}set(e,t,{maxAge:n=this.#i}={}){let r="number"==typeof n&&n!==1/0?Date.now()+n:void 0;return this.#t.has(e)?this.#t.set(e,{value:t,expiry:r}):this.#d(e,{value:t,expiry:r}),this}has(e){return this.#t.has(e)?!this.#s(e,this.#t.get(e)):!!this.#n.has(e)&&!this.#s(e,this.#n.get(e))}peek(e){return this.#t.has(e)?this.#c(e,this.#t):this.#n.has(e)?this.#c(e,this.#n):void 0}expiresIn(e){let t=this.#t.get(e)??this.#n.get(e);if(t)return t.expiry?t.expiry-Date.now():1/0}delete(e){let t=this.#t.delete(e);return t&&this.#e--,this.#n.delete(e)||t}clear(){this.#t.clear(),this.#n.clear(),this.#e=0}resize(e){if(!(e&&e>0))throw TypeError("`maxSize` must be a number greater than 0");let t=[...this.#h()],n=t.length-e;n<0?(this.#t=new Map(t),this.#n=new Map,this.#e=t.length):(n>0&&this.#a(t.slice(0,n)),this.#n=new Map(t.slice(n)),this.#t=new Map,this.#e=0),this.#r=e}evict(e=1){let t=Number(e);if(!t||t<=0)return;let n=[...this.#h()],r=Math.trunc(Math.min(t,Math.max(n.length-1,0)));r<=0||(this.#a(n.slice(0,r)),this.#n=new Map(n.slice(r)),this.#t=new Map,this.#e=0)}*keys(){for(let[e]of this)yield e}*values(){for(let[,e]of this)yield e}*[Symbol.iterator](){for(let e of this.#t){let[t,n]=e;!1===this.#s(t,n)&&(yield[t,n.value])}for(let e of this.#n){let[t,n]=e;this.#t.has(t)||!1===this.#s(t,n)&&(yield[t,n.value])}}*entriesDescending(){let e=[...this.#t];for(let t=e.length-1;t>=0;--t){let[n,r]=e[t];!1===this.#s(n,r)&&(yield[n,r.value])}e=[...this.#n];for(let t=e.length-1;t>=0;--t){let[n,r]=e[t];this.#t.has(n)||!1===this.#s(n,r)&&(yield[n,r.value])}}*entriesAscending(){for(let[e,t]of this.#h())yield[e,t.value]}get size(){if(!this.#e)return this.#n.size;let e=0;for(let t of this.#n.keys())!this.#t.has(t)&&e++;return Math.min(this.#e+e,this.#r)}get maxSize(){return this.#r}get maxAge(){return this.#i}entries(){return this.entriesAscending()}forEach(e,t=this){for(let[n,r]of this.entriesAscending())e.call(t,r,n,this)}get[Symbol.toStringTag](){return"QuickLRU"}toString(){return`QuickLRU(${this.size}/${this.maxSize})`}[Symbol.for("nodejs.util.inspect.custom")](){return this.toString()}}},4644:(e,t,n)=>{"use strict";n.d(t,{z:()=>i});var r=n(92477);function i(e,t){let n=(0,r.a)(e)-(0,r.a)(t);return n<0?-1:n>0?1:n}},4873:(e,t,n)=>{"use strict";var r=n(12115).__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;t.c=function(e){return r.H.useMemoCache(e)}},4986:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(95749),i=n(33761);let o=function(e){if(!(0,i.A)(e))return!1;var t=(0,r.A)(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},5020:(e,t,n)=>{"use strict";n.d(t,{FN:()=>i,dU:()=>r}),n(39768);let r=e=>{let{transform:t}=e;return{...t,y:0}},i=e=>{let{transform:t}=e;return{...t,x:0}}},5184:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(e){if("function"!=typeof e)throw TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}},5354:e=>{e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},5452:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}},5504:e=>{e.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}},5687:(e,t,n)=>{"use strict";n.d(t,{f:()=>o});var r=n(79619),i=n(30849);function o(e,t,n){return void 0===t&&(t=1/0),t=1>(t||0)?1/0:t,(0,r.N)(function(r,o){return(0,i.h)(r,o,e,t,void 0,!0,n)})}},5772:(e,t,n)=>{var r=n(35825);e.exports=function(e){return function(t){return r(t,e)}}},5942:e=>{"use strict";let t=/^[0-9]+$/,n=(e,n)=>{if("number"==typeof e&&"number"==typeof n)return e===n?0:e<n?-1:1;let r=t.test(e),i=t.test(n);return r&&i&&(e*=1,n*=1),e===n?0:r&&!i?-1:i&&!r?1:e<n?-1:1};e.exports={compareIdentifiers:n,rcompareIdentifiers:(e,t)=>n(t,e)}},6317:(e,t,n)=>{"use strict";n.d(t,{O:()=>i});var r=n(92477);function i(e,t){return(0,r.a)(e,t?.in).getMinutes()}},6561:(e,t,n)=>{var r=n(14168);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=!!t,t}},6594:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(11812),i=n(65537),o=n(93148);let a=function(e){return(0,o.A)((0,i.A)(e,void 0,r.A),e+"")}},6603:(e,t,n)=>{"use strict";n.d(t,{Q:()=>i});var r=n(92477);function i(e,t){let n=(0,r.a)(e,t?.in);return n.setMinutes(0,0,0),n}},6671:(e,t,n)=>{"use strict";n.d(t,{s:()=>s});var r=n(90474),i=n(44374),o=n(26900),a=n(64985);let s=(0,r._C)(()=>{let e;return{name:"Dedupe",processEvent(t){if(t.type)return t;try{var n,r,a,s,d,f;let h,p,g,m;if(n=t,(r=e)&&(a=n,s=r,h=a.message,p=s.message,(h||p)&&(!h||p)&&(h||!p)&&h===p&&u(a,s)&&l(a,s)&&1||(d=n,f=r,g=c(f),m=c(d),g&&m&&g.type===m.type&&g.value===m.value&&u(d,f)&&l(d,f))))return i.T&&o.vF.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(e){}return e=t}}});function l(e,t){let n=(0,a.RV)(e),r=(0,a.RV)(t);if(!n&&!r)return!0;
1if(n&&!r||!n&&r||r.length!==n.length)return!1;for(let e=0;e<r.length;e++){let t=r[e],i=n[e];if(t.filename!==i.filename||t.lineno!==i.lineno||t.colno!==i.colno||t.function!==i.function)return!1}return!0}function u(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;try{return n.join("")===r.join("")}catch(e){return!1}}function c(e){return e.exception&&e.exception.values&&e.exception.values[0]}},6783:(e,t,n)=>{var r=n(51586),i=n(54104),o=n(96692);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}},7463:(e,t,n)=>{"use strict";n.d(t,{B:()=>o,O:()=>i});var r=n(14644);let i=globalThis;function o(e,t,n){let o=n||i,a=o.__SENTRY__=o.__SENTRY__||{},s=a[r.M]=a[r.M]||{};return s[e]||(s[e]=t())}},7866:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(67127),i=n(86808);let o=(0,r.A)(function(e,t,n){return e+(n?" ":"")+(0,i.A)(t)})},8039:(e,t,n)=>{"use strict";e.exports=n(65538)},8381:(e,t,n)=>{var r=n(54104),i=n(98147),o=n(16509),a=n(96350),s=n(56298),l=n(83826);function u(e){var t=this.__data__=new r(e);this.size=t.size}u.prototype.clear=i,u.prototype.delete=o,u.prototype.get=a,u.prototype.has=s,u.prototype.set=l,e.exports=u},8515:(e,t,n)=>{var r=n(16950),i=n(72344),o=n(57381),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?i(e):o(e)}},8676:(e,t,n)=>{"use strict";n.d(t,{E:()=>c});var r=n(49303),i=n(79619),o=n(77973),a=n(38299),s=n(10336),l=n(84474),u=n(36171);function c(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=(0,u.ms)(e);return(0,i.N)(function(t,i){for(var u=e.length,c=Array(u),d=e.map(function(){return!1}),f=!1,h=function(t){(0,a.Tg)(e[t]).subscribe((0,o._)(i,function(e){c[t]=e,!f&&!d[t]&&(d[t]=!0,(f=d.every(s.D))&&(d=null))},l.l))},p=0;p<u;p++)h(p);t.subscribe((0,o._)(i,function(e){if(f){var t=(0,r.fX)([e],(0,r.zs)(c));i.next(n?n.apply(void 0,(0,r.fX)([],(0,r.zs)(t))):t)}}))})}},9542:(e,t,n)=>{"use strict";n.d(t,{H7:()=>m,K8:()=>u,qv:()=>g,u:()=>p});var r=n(25698),i=n(1942),o=n(33860),a=n(87192),s=n(86476),l=n(2159);function u(e,t){var n,r;let i,o,a=d(e,t),s={type:!(i=(n=t)&&n.name)&&h(n)?n.message&&Array.isArray(n.message)&&2==n.message.length?n.message[0]:"WebAssembly.Exception":i,value:(o=(r=t)&&r.message)?o.error&&"string"==typeof o.error.message?o.error.message:h(r)&&Array.isArray(r.message)&&2==r.message.length?r.message[1]:o:"No error message"};return a.length&&(s.stacktrace={frames:a}),void 0===s.type&&""===s.value&&(s.value="Unrecoverable error caught"),s}function c(e,t){return{exception:{values:[u(e,t)]}}}function d(e,t){var n,r;let i=t.stacktrace||t.stack||"",o=(n=t)&&f.test(n.message)?1:0,a="number"==typeof(r=t).framesToPop?r.framesToPop:0;try{return e(i,o,a)}catch(e){}return[]}let f=/Minified React error #\d+;/i;function h(e){return"u">typeof WebAssembly&&void 0!==WebAssembly.Exception&&e instanceof WebAssembly.Exception}function p(e,t,n,r){let i=m(e,t,n&&n.syntheticException||void 0,r);return(0,a.M6)(i),i.level="error",n&&n.event_id&&(i.event_id=n.event_id),(0,s.XW)(i)}function g(e,t,n="info",r,i){let o=y(e,t,r&&r.syntheticException||void 0,i);return o.level=n,r&&r.event_id&&(o.event_id=r.event_id),(0,s.XW)(o)}function m(e,t,n,s,f){let h;if((0,o.T2)(t)&&t.error)return c(e,t.error);if((0,o.BD)(t)||(0,o.W6)(t)){if("stack"in t)h=c(e,t);else{let r=t.name||((0,o.BD)(t)?"DOMError":"DOMException"),i=t.message?`${r}: ${t.message}`:r;h=y(e,i,n,s),(0,a.gO)(h,i)}return"code"in t&&(h.tags={...h.tags,"DOMException.code":`${t.code}`}),h}return(0,o.bJ)(t)?c(e,t):((0,o.Qd)(t)||(0,o.xH)(t)?h=function(e,t,n,a){let s=(0,r.KU)(),c=s&&s.getOptions().normalizeDepth,f=function(e){for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t)){let n=e[t];if(n instanceof Error)return n}}(t),h={__serialized__:(0,i.cd)(t,c)};if(f)return{exception:{values:[u(e,f)]},extra:h};let p={exception:{values:[{type:(0,o.xH)(t)?t.constructor.name:a?"UnhandledRejection":"Error",value:function(e,{isUnhandledRejection:t}){let n=(0,l.HF)(e),r=t?"promise rejection":"exception";if((0,o.T2)(e))return`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``;if((0,o.xH)(e)){let t=function(e){try{let t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch(e){}}(e);return`Event \`${t}\` (type=${e.type}) captured as ${r}`}return`Object captured as ${r} with keys: ${n}`}(t,{isUnhandledRejection:a})}]},extra:h};if(n){let t=d(e,n);t.length&&(p.exception.values[0].stacktrace={frames:t})}return p}(e,t,n,f):(h=y(e,t,n,s),(0,a.gO)(h,`${t}`,void 0)),(0,a.M6)(h,{synthetic:!0}),h)}function y(e,t,n,r){let i={};if(r&&n){let r=d(e,n);r.length&&(i.exception={values:[{value:t,stacktrace:{frames:r}}]}),(0,a.M6)(i,{synthetic:!0})}
1if((0,o.NF)(t)){let{__sentry_template_string__:e,__sentry_template_values__:n}=t;return i.logentry={message:e,params:n},i}return i.message=t,i}},9569:(e,t,n)=>{"use strict";n.d(t,{o:()=>a});var r=n(92162),i=n(77989),o=n(38454);function a(e,t,n){let a=(0,o.b)(e,t)/i.Cg;return(0,r.u)(n?.roundingMethod)(a)}},9670:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(16897);let i=function(e,t){return e>t};var o=n(79800);let a=function(e){return e&&e.length?(0,r.A)(e,o.A,i):void 0}},9683:(e,t,n)=>{"use strict";n.d(t,{BN:()=>h,RK:()=>g,UE:()=>y,UU:()=>p,cY:()=>f,jD:()=>m,we:()=>d});var r=n(47226),i=n(12115),o=n(47650),a="u">typeof document?i.useLayoutEffect:function(){};function s(e,t){let n,r,i;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!s(e[r],t[r]))return!1;return!0}if((n=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!=r--;){let n=i[r];if(("_owner"!==n||!e.$$typeof)&&!s(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function l(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function u(e,t){let n=l(e);return Math.round(t*n)/n}function c(e){let t=i.useRef(e);return a(()=>{t.current=e}),t}function d(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:d=[],platform:f,elements:{reference:h,floating:p}={},transform:g=!0,whileElementsMounted:m,open:y}=e,[b,v]=i.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[w,_]=i.useState(d);s(w,d)||_(d);let[x,k]=i.useState(null),[E,A]=i.useState(null),S=i.useCallback(e=>{e!==D.current&&(D.current=e,k(e))},[]),C=i.useCallback(e=>{e!==I.current&&(I.current=e,A(e))},[]),O=h||x,T=p||E,D=i.useRef(null),I=i.useRef(null),R=i.useRef(b),j=null!=m,N=c(m),M=c(f),F=c(y),$=i.useCallback(()=>{if(!D.current||!I.current)return;let e={placement:t,strategy:n,middleware:w};M.current&&(e.platform=M.current),(0,r.rD)(D.current,I.current,e).then(e=>{let t={...e,isPositioned:!1!==F.current};L.current&&!s(R.current,t)&&(R.current=t,o.flushSync(()=>{v(t)}))})},[w,t,n,M,F]);a(()=>{!1===y&&R.current.isPositioned&&(R.current.isPositioned=!1,v(e=>({...e,isPositioned:!1})))},[y]);let L=i.useRef(!1);a(()=>(L.current=!0,()=>{L.current=!1}),[]),a(()=>{if(O&&(D.current=O),T&&(I.current=T),O&&T){if(N.current)return N.current(O,T,$);$()}},[O,T,$,N,j]);let P=i.useMemo(()=>({reference:D,floating:I,setReference:S,setFloating:C}),[S,C]),z=i.useMemo(()=>({reference:O,floating:T}),[O,T]),U=i.useMemo(()=>{let e={position:n,left:0,top:0};if(!z.floating)return e;let t=u(z.floating,b.x),r=u(z.floating,b.y);return g?{...e,transform:"translate("+t+"px, "+r+"px)",...l(z.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,g,z.floating,b.x,b.y]);return i.useMemo(()=>({...b,update:$,refs:P,elements:z,floatingStyles:U}),[b,$,P,z,U])}let f=(e,t)=>({...(0,r.cY)(e),options:[e,t]}),h=(e,t)=>({...(0,r.BN)(e),options:[e,t]}),p=(e,t)=>({...(0,r.UU)(e),options:[e,t]}),g=(e,t)=>({...(0,r.RK)(e),options:[e,t]}),m=(e,t)=>({...(0,r.jD)(e),options:[e,t]}),y=(e,t)=>({name:"arrow",options:e,fn(t){let{element:n,padding:i}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?(0,r.UE)({element:n.current,padding:i}).fn(t):{}:n?(0,r.UE)({element:n,padding:i}).fn(t):{}},options:[e,t]})},10028:(e,t,n)=>{"use strict";n.d(t,{Q:()=>s});var r=n(79619),i=n(77973),o=n(38299),a=n(84474);function s(e){return(0,r.N)(function(t,n){(0,o.Tg)(e).subscribe((0,i._)(n,function(){return n.complete()},a.l)),n.closed||t.subscribe(n)})}},10174:(e,t,n)=>{"use strict";e.exports=n(23832)}
1,10954:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(16019),i=n(15595),o=n(26805),a=n(33761),s=n(30253);let l=function(e,t,n,l){if(!(0,a.A)(e))return e;t=(0,i.A)(t,e);for(var u=-1,c=t.length,d=c-1,f=e;null!=f&&++u<c;){var h=(0,s.A)(t[u]),p=n;if("__proto__"===h||"constructor"===h||"prototype"===h)break;if(u!=d){var g=f[h];void 0===(p=l?l(g,h,f):void 0)&&(p=(0,a.A)(g)?g:(0,o.A)(t[u+1])?[]:{})}(0,r.A)(f,h,p),f=f[h]}return e}},11191:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(42410),i=n(26652),o=n(93301),a=n(96901),s=n(15643);let l=function(e,t,n){var r=e.length;if(r<2)return r?(0,s.A)(e[0]):[];for(var i=-1,l=Array(r);++i<r;)for(var u=e[i],c=-1;++c<r;)c!=i&&(l[i]=(0,o.A)(l[i]||u,e[c],t,n));return(0,s.A)((0,a.A)(l,1),t,n)};var u=n(41299);let c=(0,i.A)(function(e){return l((0,r.A)(e,u.A))})},11554:(e,t,n)=>{"use strict";n.d(t,{m:()=>o});let r=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},i=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},o={p:i,P:(e,t)=>{let n,o=e.match(/(P+)(p+)?/)||[],a=o[1],s=o[2];if(!s)return r(e,t);switch(a){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",r(a,t)).replace("{{time}}",i(s,t))}}},11741:(e,t,n)=>{"use strict";n.d(t,{A_:()=>f,nU:()=>h});var r=n(75871),i=n(63149);n(52987);let o=/^[a-z-A-Z0-9._-]+$/,a="drafts.",s="versions.";function l(e){if(0===e.length)throw Error("Must be a non-empty string");if(!o.test(e))throw Error(`Not a valid document ID: "${e}" \u2013 Must match the ${o} RegExp`);return e}function u(e){if(!e.startsWith(a))throw Error(`Not a valid draft ID: "${e}" \u2013 must start with "${a}"`);if(e.length===a.length)throw Error(`Not a valid draft ID: "${e}" \u2013 must have at least one character followed by "${a}"`);return e}function c(e){if(!e.startsWith(s))throw Error(`Not a valid version ID: "${e}" \u2013 must start with "${s}"`);if(e.length===s.length)throw Error(`Not a valid version ID: "${e}" \u2013 must have at least one character followed by "${s}"`);let[,t,...n]=e.split(".");if(!t||!o.test(t))throw Error(`Not a valid version ID: "${e}" \u2013 VERSION must match the ${o} RegExp in versions.[VERSION].id`);if(0===n.length)throw Error(`Not a valid version ID: "${e}" \u2013 missing document ID in versions.bundle.[ID]`);if("drafts"===t||"versions"===t)throw Error(`Not a valid version ID: "${e}" \u2013 invalid VERSION "${t}" in versions.[VERSION].id`);return e}function d(e){if(e.startsWith(a)||e.startsWith(s))throw Error(`Not a valid published ID: "${e}" \u2013 cannot start with "${a}" or "${s}"`);return e}function f(e){return e.startsWith(s)}function h(e){let[,t]=e.split(".");return t}(0,r.L8)(e=>{l(e);let[t,n]=i([d,u,c].map(t=>(function(e){try{var t;return t=e(),{success:!0,value:t}}catch(e){return{success:!1,error:e instanceof Error?e:Error(String(e))}}})(()=>t(e))),e=>e.success);if(t.length>0)return e;if(n.length>0)throw AggregateError(n.map(e=>e.error),`Invalid Document ID
2 - ${n.map(e=>e.error.message).join(`
3 - `)}`);return e}),(0,r.L8)(e=>{l(e),u(e)}),(0,r.L8)(e=>{l(e),d(e)}),(0,r.L8)(e=>{l(e),c(e)})}
3,11812:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(96901);let i=function(e){return(null==e?0:e.length)?(0,r.A)(e,1):[]}},12016:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});let r=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r};var i=n(67903),o=n(92459),a=n(28071),s=n(26805),l=n(81019),u=Object.prototype.hasOwnProperty;let c=function(e,t){var n=(0,o.A)(e),c=!n&&(0,i.A)(e),d=!n&&!c&&(0,a.A)(e),f=!n&&!c&&!d&&(0,l.A)(e),h=n||c||d||f,p=h?r(e.length,String):[],g=p.length;for(var m in e)(t||u.call(e,m))&&!(h&&("length"==m||d&&("offset"==m||"parent"==m)||f&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||(0,s.A)(m,g)))&&p.push(m);return p}},12275:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var i=e[t];r[i[0]]=i[1]}return r}},12368:(e,t,n)=>{"use strict";n.d(t,{A:()=>Z});var r=n(1105);let i=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e};var o=n(16019),a=n(3437),s=n(70638),l=n(61107),u=n(51603),c="object"==typeof exports&&exports&&!exports.nodeType&&exports,d=c&&"object"==typeof module&&module&&!module.nodeType&&module,f=d&&d.exports===c?u.A.Buffer:void 0,h=f?f.allocUnsafe:void 0;let p=function(e,t){if(t)return e.slice();var n=e.length,r=h?h(n):new e.constructor(n);return e.copy(r),r};var g=n(41783),m=n(53422),y=n(57629),b=n(22748),v=n(60423),w=n(1448),_=Object.prototype.hasOwnProperty;let x=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&_.call(e,"index")&&(n.index=e.index,n.input=e.input),n};var k=n(15914);let E=function(e){var t=new e.constructor(e.byteLength);return new k.A(t).set(new k.A(e)),t},A=function(e,t){var n=t?E(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)};var S=/\w*$/;let C=function(e){var t=new e.constructor(e.source,S.exec(e));return t.lastIndex=e.lastIndex,t};var O=n(29703),T=O.A?O.A.prototype:void 0,D=T?T.valueOf:void 0;let I=function(e,t){var n=t?E(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)},R=function(e,t,n){var r=e.constructor;switch(t){case"[object ArrayBuffer]":return E(e);case"[object Boolean]":case"[object Date]":return new r(+e);case"[object DataView]":return A(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return I(e,n);case"[object Map]":case"[object Set]":return new r;case"[object Number]":case"[object String]":return new r(e);case"[object RegExp]":return C(e);case"[object Symbol]":return D?Object(D.call(e)):{}}};var j=n(46710),N=n(24949),M=n(59847),F=n(92459),$=n(28071),L=n(77494),P=n(32521),z=n(21719),U=z.A&&z.A.isMap,B=U?(0,P.A)(U):function(e){return(0,L.A)(e)&&"[object Map]"==(0,w.A)(e)},H=n(33761),q=z.A&&z.A.isSet,V=q?(0,P.A)(q):function(e){return(0,L.A)(e)&&"[object Set]"==(0,w.A)(e)},G="[object Arguments]",W="[object Function]",Y="[object Object]",K={};K[G]=K["[object Array]"]=K["[object ArrayBuffer]"]=K["[object DataView]"]=K["[object Boolean]"]=K["[object Date]"]=K["[object Float32Array]"]=K["[object Float64Array]"]=K["[object Int8Array]"]=K["[object Int16Array]"]=K["[object Int32Array]"]=K["[object Map]"]=K["[object Number]"]=K[Y]=K["[object RegExp]"]=K["[object Set]"]=K["[object String]"]=K["[object Symbol]"]=K["[object Uint8Array]"]=K["[object Uint8ClampedArray]"]=K["[object Uint16Array]"]=K["[object Uint32Array]"]=!0,K["[object Error]"]=K[W]=K["[object WeakMap]"]=!1;let Z=function e(t,n,u,c,d,f){var h,_=1&n,k=2&n,E=4&n;if(u&&(h=d?u(t,c,d,f):u(t)),void 0!==h)return h;if(!(0,H.A)(t))return t;var A=(0,F.A)(t);if(A){if(h=x(t),!_)return(0,g.A)(t,h)}else{var S,C,O,T,D,I=(0,w.A)(t),L=I==W||"[object GeneratorFunction]"==I;if((0,$.A)(t))return p(t,_);if(I==Y||I==G||L&&!d){if(h=k||L||"function"!=typeof(S=t).constructor||(0,M.A)(S)?{}:(0,j.A)((0,N.A)(S)),!_)return k?(O=(C=h)&&(0,a.A)(t,(0,l.A)(t),C),(0,a.A)(t,(0,y.A)(t),O)):(D=(T=h)&&(0,a.A)(t,(0,s.A)(t),T),(0,a.A)(t,(0,m.A)(t),D))}else{if(!K[I])return d?t:{};h=R(t,I,_)}}
3f||(f=new r.A);var P=f.get(t);if(P)return P;f.set(t,h),V(t)?t.forEach(function(r){h.add(e(r,n,u,r,t,f))}):B(t)&&t.forEach(function(r,i){h.set(i,e(r,n,u,i,t,f))});var z=E?k?v.A:b.A:k?l.A:s.A,U=A?void 0:z(t);return i(U||t,function(r,i){U&&(r=t[i=r]),(0,o.A)(h,i,e(r,n,u,i,t,f))}),h}},12602:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}},12639:(e,t,n)=>{"use strict";n.d(t,{M:()=>a});var r=n(92162),i=n(70061),o=n(77989);function a(e,t,n){let[a,s]=(0,i.x)(n?.in,e,t),l=(a-s)/o.s0;return(0,r.u)(n?.roundingMethod)(l)}},12924:(e,t,n)=>{e.exports=n(68649)(n(50994),"WeakMap")},13295:(e,t,n)=>{"use strict";n.d(t,{c:()=>o});var r=n(70061),i=n(27793);function o(e,t,n){let[o,s]=(0,r.x)(n?.in,e,t),l=a(o,s),u=Math.abs((0,i.m)(o,s));o.setDate(o.getDate()-l*u);let c=Number(a(o,s)===-l),d=l*(u-c);return 0===d?0:d}function a(e,t){let n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}},13355:(e,t,n)=>{"use strict";n.d(t,{v:()=>a});var r=n(22227),i=n(79619),o=n(77973);function a(e){return void 0===e&&(e=s),(0,i.N)(function(t,n){var r=!1;t.subscribe((0,o._)(n,function(e){r=!0,n.next(e)},function(){return r?n.complete():n.error(e())}))})}function s(){return new r.G}},13517:(e,t,n)=>{"use strict";let r=n(3338),i=n(52197),{ANY:o}=i,a=n(94843),s=n(53941),l=[new i(">=0.0.0-0")],u=[new i(">=0.0.0")],c=(e,t,n)=>{let r,i,c,h,p,g,m;if(e===t)return!0;if(1===e.length&&e[0].semver===o)if(1===t.length&&t[0].semver===o)return!0;else e=n.includePrerelease?l:u;if(1===t.length&&t[0].semver===o)if(n.includePrerelease)return!0;else t=u;let y=new Set;for(let t of e)">"===t.operator||">="===t.operator?r=d(r,t,n):"<"===t.operator||"<="===t.operator?i=f(i,t,n):y.add(t.semver);if(y.size>1)return null;if(r&&i&&((c=s(r.semver,i.semver,n))>0||0===c&&(">="!==r.operator||"<="!==i.operator)))return null;for(let e of y){if(r&&!a(e,String(r),n)||i&&!a(e,String(i),n))return null;for(let r of t)if(!a(e,String(r),n))return!1;return!0}let b=!!i&&!n.includePrerelease&&!!i.semver.prerelease.length&&i.semver,v=!!r&&!n.includePrerelease&&!!r.semver.prerelease.length&&r.semver;for(let e of(b&&1===b.prerelease.length&&"<"===i.operator&&0===b.prerelease[0]&&(b=!1),t)){if(m=m||">"===e.operator||">="===e.operator,g=g||"<"===e.operator||"<="===e.operator,r){if(v&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===v.major&&e.semver.minor===v.minor&&e.semver.patch===v.patch&&(v=!1),">"===e.operator||">="===e.operator){if((h=d(r,e,n))===e&&h!==r)return!1}else if(">="===r.operator&&!a(r.semver,String(e),n))return!1}if(i){if(b&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===b.major&&e.semver.minor===b.minor&&e.semver.patch===b.patch&&(b=!1),"<"===e.operator||"<="===e.operator){if((p=f(i,e,n))===e&&p!==i)return!1}else if("<="===i.operator&&!a(i.semver,String(e),n))return!1}if(!e.operator&&(i||r)&&0!==c)return!1}return(!r||!g||!!i||0===c)&&(!i||!m||!!r||0===c)&&!v&&!b&&!0},d=(e,t,n)=>{if(!e)return t;let r=s(e.semver,t.semver,n);return r>0?e:r<0||">"===t.operator&&">="===e.operator?t:e},f=(e,t,n)=>{if(!e)return t;let r=s(e.semver,t.semver,n);return r<0?e:r>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,n={})=>{if(e===t)return!0;e=new r(e,n),t=new r(t,n);let i=!1;e:for(let r of e.set){for(let e of t.set){let t=c(r,e,n);if(i=i||null!==t,t)continue e}if(i)return!1}return!0}}
3,13638:(e,t,n)=>{"use strict";function r(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}function i(e){return r(e)&&"string"==typeof e._ref}function o(e){return r(e)&&i(e.asset)&&e.asset._ref.startsWith("image-")}function a(e){return r(e)&&"string"==typeof e._ref&&"string"==typeof e._dataset&&"string"==typeof e._projectId}function s(e){return r(e)&&"string"==typeof e._id&&"string"==typeof e._type}function l(e){return r(e)&&"string"==typeof e._type}function u(e){return r(e)&&"string"==typeof e._key}function c(e){return!!r(e)&&"string"==typeof e._ref&&3===e._ref.split(":").length}function d(e){return"error"===e.level}function f(e){return"warning"===e.level}function h(e){return"info"===e.level}n.d(t,{$d:()=>E,AF:()=>f,A_:()=>i,Ah:()=>W,F0:()=>function e(t){return x(t)&&("image"===t.name||e(t.type))},F3:()=>R,GC:()=>V,GX:()=>S,Gm:()=>h,I0:()=>a,IB:()=>q,JR:()=>k,Kk:()=>l,L4:()=>w,ME:()=>s,MI:()=>B,P3:()=>function e(t){return x(t)&&("crossDatasetReference"===t.name||e(t.type))},Pb:()=>$,Q9:()=>c,U8:()=>U,Uw:()=>d,XK:()=>I,Yg:()=>F,Z9:()=>b,bn:()=>_,ci:()=>Y,dO:()=>H,do:()=>function e(t){return x(t)&&("reference"===t.name||e(t.type))},fq:()=>N,gw:()=>O,m5:()=>C,o8:()=>u,oV:()=>T,pZ:()=>D,tA:()=>y,u5:()=>G,uC:()=>M,wD:()=>function e(t){return x(t)&&("file"===t.name||e(t.type))},wr:()=>m,wu:()=>o,zR:()=>A,zZ:()=>j});let p=/_key\s*==\s*['"](.*)['"]/,g=/^\d*:\d*$/;function m(e){return"number"==typeof e||"string"==typeof e&&/^\[\d+\]$/.test(e)}function y(e){return"string"==typeof e?p.test(e.trim()):"object"==typeof e&&"_key"in e}function b(e){if("string"==typeof e&&g.test(e))return!0;if(!Array.isArray(e)||2!==e.length)return!1;let[t,n]=e;return("number"==typeof t||""===t)&&("number"==typeof n||""===n)}function v(e){return!!e&&("object"==typeof e||"function"==typeof e)}function w(e){return v(e)&&"string"==typeof e._type&&Array.isArray(e.children)&&e.children.every(e=>v(e))&&(!("markDefs"in e)||Array.isArray(e.markDefs)&&e.markDefs.every(e=>v(e)))&&(!("style"in e)||"string"==typeof e.style)}function _(e){return v(e)&&"span"===e._type&&"string"==typeof e.text&&(!("marks"in e)||Array.isArray(e.marks)&&e.marks.every(e=>"string"==typeof e))}function x(e){return!!e&&("object"==typeof e||"function"==typeof e)}function k(e){if(!E(e))return!1;let t=e;for(;t;){if("document"===t.name)return!0;t=t.type}return!1}function E(e){return!!x(e)&&"object"===e.jsonType}function A(e){return!!x(e)&&"array"===e.jsonType}function S(e){return A(e)&&e.of.some(e=>$(e))}function C(e){return A(e)&&e.of.every(e=>E(e))}function O(e){return A(e)&&e.of.every(e=>j(e))}function T(e){return!!x(e)&&"boolean"===e.jsonType}function D(e){return!!x(e)&&"string"===e.jsonType}function I(e){return!!D(e)&&"datetime"===e.name}function R(e){return!!x(e)&&"number"===e.jsonType}function j(e){return T(e)||D(e)||R(e)}function N(e){return!!x(e)&&"u">typeof e.deprecated}function M(e){return"object"==typeof e&&null!==e&&"title"in e&&"value"in e}function F(e){return!!x(e)&&Array.isArray(e.annotations)&&Array.isArray(e.decorators)}function $(e){if(!x(e)||!Array.isArray(e.fields))return!1;let t=e.fields.find(z),n=e.fields.find(L),r=e.fields.find(P);return z(t)&&L(n)&&P(r)}function L(e){return!!x(e)&&"style"===e.name&&x(e.type)&&"string"===e.type.jsonType}function P(e){return!!x(e)&&"listItem"===e.name&&x(e.type)&&"string"===e.type.jsonType}function z(e){return!!x(e)&&"children"===e.name&&!!A(e.type)&&e.type.of.some(F)}function U(e,t){return e}function B(e,t){return e}function H(e,t){return e}let q=["groqLegacy","groq2024"];function V(e){return q.includes(e)}function G(e){return r(e)&&"string"==typeof e.current}function W(e){return"error"===e.level}function Y(e){return"warning"===e.level}},13838:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(12602),i=n(70638);let o=function(e){var t;return null==e?[]:(t=(0,i.A)(e),(0,r.A)(t,function(t){return e[t]}))}},14168:(e,t,n)=>{var r=n(79773);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},14335:(e,t,n)=>{var r=n(65329),i=n(81581),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable;e.exports=r(function(){return arguments}())?r:function(e){return i(e)&&a.call(e,"callee")&&!s.call(e,"callee")}},14644:(e,t,n)=>{"use strict";n.d(t,{M:()=>r});let r="8.55.0"}
3,15072:(e,t,n)=>{"use strict";n.d(t,{C:()=>o});var r=n(55633),i=n(70418);function o(e,t,n){return(void 0===n&&(n=1/0),(0,i.T)(t))?(0,r.Z)(function(){return e},t,n):("number"==typeof t&&(n=t),(0,r.Z)(function(){return e},n))}},15287:(e,t,n)=>{"use strict";n.d(t,{ao:()=>f,k1:()=>h});var r=n(76249),i=n(25698),o=n(23301),a=n(33860);let s=/^sentry-/;function l(e){return e.split(",").map(e=>e.split("=").map(e=>decodeURIComponent(e.trim()))).reduce((e,[t,n])=>(t&&n&&(e[t]=n),e),{})}var u=n(2159),c=n(42327);function d(e,t){let n=t.getOptions(),{publicKey:i}=t.getDsn()||{},o=(0,u.Ce)({environment:n.environment||r.U,release:n.release,public_key:i,trace_id:e});return t.emit("createDsc",o),o}function f(e,t){let n=t.getPropagationContext();return n.dsc||d(n.traceId,e)}function h(e){let t=(0,i.KU)();if(!t)return{};let n=(0,c.zU)(e),r=n._frozenDsc;if(r)return r;let u=n.spanContext().traceState,f=u&&u.get("sentry.dsc"),h=f&&function(e){let t=function(e){if(e&&((0,a.Kg)(e)||Array.isArray(e)))return Array.isArray(e)?e.reduce((e,t)=>(Object.entries(l(t)).forEach(([t,n])=>{e[t]=n}),e),{}):l(e)}(e);if(!t)return;let n=Object.entries(t).reduce((e,[t,n])=>(t.match(s)&&(e[t.slice(7)]=n),e),{});return Object.keys(n).length>0?n:void 0}(f);if(h)return h;let p=d(e.spanContext().traceId,t),g=(0,c.et)(n),m=g.data||{},y=m[o.sy];null!=y&&(p.sample_rate=`${y}`);let b=m[o.i_],v=g.description;return"url"!==b&&v&&(p.transaction=v),function(e){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;let t=(0,i.KU)(),n=t&&t.getOptions();return!!n&&(n.enableTracing||"tracesSampleRate"in n||"tracesSampler"in n)}()&&(p.sampled=String((0,c.pK)(n))),t.emit("createDsc",p,n),p}},15293:e=>{e.exports=function(){this.__data__=[],this.size=0}},15320:(e,t,n)=>{"use strict";let r=n(83899),i=n(18559),o=n(79177),a=n(5942),s=n(76277),l=n(60620),u=n(33083),c=n(77650),d=n(63053),f=n(87263),h=n(83779),p=n(98944),g=n(79044),m=n(53941),y=n(66215),b=n(27014),v=n(72480),w=n(74842),_=n(24664),x=n(60209),k=n(85990),E=n(25092),A=n(35858),S=n(93916),C=n(23973),O=n(79218),T=n(56591),D=n(52197),I=n(3338),R=n(94843),j=n(73154),N=n(64833),M=n(85827),F=n(66144),$=n(18535),L=n(34694),P=n(41030),z=n(65184),U=n(84705);e.exports={parse:s,valid:l,clean:u,inc:c,diff:d,major:f,minor:h,patch:p,prerelease:g,compare:m,rcompare:y,compareLoose:b,compareBuild:v,sort:w,rsort:_,gt:x,lt:k,eq:E,neq:A,gte:S,lte:C,cmp:O,coerce:T,Comparator:D,Range:I,satisfies:R,toComparators:j,maxSatisfying:N,minSatisfying:M,minVersion:F,validRange:$,outside:L,gtr:P,ltr:z,intersects:U,simplifyRange:n(35840),subset:n(13517),SemVer:o,re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:i.SEMVER_SPEC_VERSION,RELEASE_TYPES:i.RELEASE_TYPES,compareIdentifiers:a.compareIdentifiers,rcompareIdentifiers:a.rcompareIdentifiers}},15333:(e,t,n)=>{"use strict";n.d(t,{lu:()=>i,zf:()=>o});var r=n(7463);function i(){return Date.now()/1e3}let o=function(){let{performance:e}=r.O;if(!e||!e.now)return i;let t=Date.now()-e.now(),n=void 0==e.timeOrigin?t:e.timeOrigin;return()=>(n+e.now())/1e3}();(()=>{let{performance:e}=r.O;if(!e||!e.now)return;let t=e.now(),n=Date.now(),i=e.timeOrigin?Math.abs(e.timeOrigin+t-n):36e5,o=e.timing&&e.timing.navigationStart,a="number"==typeof o?Math.abs(o+t-n):36e5;if((i<36e5||a<36e5)&&i<=a)return e.timeOrigin})()},15418:(e,t,n)=>{var r=n(85933);e.exports=function(e,t){var n=this.__data__;return this.size+=+!this.has(e),n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},15595:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(92459),i=n(17334),o=n(20984),a=n(24286);let s=function(e,t){return(0,r.A)(e)?e:(0,i.A)(e,t)?[e]:(0,o.A)((0,a.A)(e))}},15622:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(59233);function i(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw TypeError("Expected a function");var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(i.Cache||r.A),n}i.Cache=r.A;let o=i},15643:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(86953),i=n(60577),o=n(57641),a=n(66485),s=n(78261),l=n(65698),u=n(93881),c=s.A&&1/(0,u.A)(new s.A([,-0]))[1]==1/0?function(e){return new s.A(e)}:l.A;let d=function(e,t,n){var s=-1,l=i.A,d=e.length,f=!0,h=[],p=h;if(n)f=!1,l=o.A;else if(d>=200){var g=t?null:c(e);if(g)return(0,u.A)(g);f=!1,l=a.A,p=new r.A}else p=t?[]:h;t:for(;++s<d;){var m=e[s],y=t?t(m):m;if(m=n||0!==m?m:0,f&&y==y){for(var b=p.length;b--;)if(p[b]===y)continue t;t&&p.push(y),h.push(m)}else l(p,y,n)||(p!==h&&p.push(y),h.push(m))}return h}}
3,15914:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=n(51603).A.Uint8Array},16019:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(90756),i=n(29568),o=Object.prototype.hasOwnProperty;let a=function(e,t,n){var a=e[t];o.call(e,t)&&(0,i.A)(a,n)&&(void 0!==n||t in e)||(0,r.A)(e,t,n)}},16142:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r,i=new Uint8Array(16);let o=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;for(var a=[],s=0;s<256;++s)a.push((s+256).toString(16).substr(1));let l=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(a[e[t+0]]+a[e[t+1]]+a[e[t+2]]+a[e[t+3]]+"-"+a[e[t+4]]+a[e[t+5]]+"-"+a[e[t+6]]+a[e[t+7]]+"-"+a[e[t+8]]+a[e[t+9]]+"-"+a[e[t+10]]+a[e[t+11]]+a[e[t+12]]+a[e[t+13]]+a[e[t+14]]+a[e[t+15]]).toLowerCase();if(!("string"==typeof n&&o.test(n)))throw TypeError("Stringified UUID is invalid");return n},u=function(e,t,n){var o=(e=e||{}).random||(e.rng||function(){if(!r&&!(r="u">typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"u">typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(i)})();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t){n=n||0;for(var a=0;a<16;++a)t[n+a]=o[a];return t}return l(o)}},16205:(e,t,n)=>{"use strict";n.d(t,{ZF:()=>o,el:()=>i});var r=n(87192);function i(){return(0,r.eJ)()}function o(){return(0,r.eJ)().substring(16)}},16283:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(74548),i=n(51603);let o=(0,r.A)(i.A,"WeakMap")},16318:(e,t,n)=>{"use strict";n.d(t,{A:()=>T});var r=n(1105),i=n(86953);let o=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1};var a=n(66485);let s=function(e,t,n,r,s,l){var u=1&n,c=e.length,d=t.length;if(c!=d&&!(u&&d>c))return!1;var f=l.get(e),h=l.get(t);if(f&&h)return f==t&&h==e;var p=-1,g=!0,m=2&n?new i.A:void 0;for(l.set(e,t),l.set(t,e);++p<c;){var y=e[p],b=t[p];if(r)var v=u?r(b,y,p,t,e,l):r(y,b,p,e,t,l);if(void 0!==v){if(v)continue;g=!1;break}if(m){if(!o(t,function(e,t){if(!(0,a.A)(m,t)&&(y===e||s(y,e,n,r,l)))return m.push(t)})){g=!1;break}}else if(!(y===b||s(y,b,n,r,l))){g=!1;break}}return l.delete(e),l.delete(t),g};var l=n(29703),u=n(15914),c=n(29568),d=n(35723),f=n(93881),h=l.A?l.A.prototype:void 0,p=h?h.valueOf:void 0;let g=function(e,t,n,r,i,o,a){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)break;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":if(e.byteLength!=t.byteLength||!o(new u.A(e),new u.A(t)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":return(0,c.A)(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var l=d.A;case"[object Set]":var h=1&r;if(l||(l=f.A),e.size!=t.size&&!h)break;var g=a.get(e);if(g)return g==t;r|=2,a.set(e,t);var m=s(l(e),l(t),r,i,o,a);return a.delete(e),m;case"[object Symbol]":if(p)return p.call(e)==p.call(t)}return!1};var m=n(22748),y=Object.prototype.hasOwnProperty;let b=function(e,t,n,r,i,o){var a=1&n,s=(0,m.A)(e),l=s.length;if(l!=(0,m.A)(t).length&&!a)return!1;for(var u=l;u--;){var c=s[u];if(!(a?c in t:y.call(t,c)))return!1}var d=o.get(e),f=o.get(t);if(d&&f)return d==t&&f==e;var h=!0;o.set(e,t),o.set(t,e);for(var p=a;++u<l;){var g=e[c=s[u]],b=t[c];if(r)var v=a?r(b,g,c,t,e,o):r(g,b,c,e,t,o);if(!(void 0===v?g===b||i(g,b,n,r,o):v)){h=!1;break}p||(p="constructor"==c)}if(h&&!p){var w=e.constructor,_=t.constructor;w!=_&&"constructor"in e&&"constructor"in t&&!("function"==typeof w&&w instanceof w&&"function"==typeof _&&_ instanceof _)&&(h=!1)}return o.delete(e),o.delete(t),h};var v=n(1448),w=n(92459),_=n(28071),x=n(81019),k="[object Arguments]",E="[object Array]",A="[object Object]",S=Object.prototype.hasOwnProperty;let C=function(e,t,n,i,o,a){var l=(0,w.A)(e),u=(0,w.A)(t),c=l?E:(0,v.A)(e),d=u?E:(0,v.A)(t);c=c==k?A:c,d=d==k?A:d;var f=c==A,h=d==A,p=c==d;if(p&&(0,_.A)(e)){if(!(0,_.A)(t))return!1;l=!0,f=!1}if(p&&!f)return a||(a=new r.A),l||(0,x.A)(e)?s(e,t,n,i,o,a):g(e,t,c,n,i,o,a);if(!(1&n)){var m=f&&S.call(e,"__wrapped__"),y=h&&S.call(t,"__wrapped__");
3if(m||y){var C=m?e.value():e,O=y?t.value():t;return a||(a=new r.A),o(C,O,n,i,a)}}return!!p&&(a||(a=new r.A),b(e,t,n,i,o,a))};var O=n(77494);let T=function e(t,n,r,i,o){return t===n||(null!=t&&null!=n&&((0,O.A)(t)||(0,O.A)(n))?C(t,n,r,i,e,o):t!=t&&n!=n)}},16418:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(12602),i=n(35821),o=n(54106),a=n(60423);let s=function(e,t){if(null==e)return{};var n=(0,r.A)((0,a.A)(e),function(e){return[e]});return t=(0,i.A)(t),(0,o.A)(e,n,function(e,n){return t(e,n[0])})}},16509:e=>{e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},16591:(e,t,n)=>{"use strict";n.d(t,{Ss:()=>l,ef:()=>a,xM:()=>s});let r=/^D+$/,i=/^Y+$/,o=["D","DD","YY","YYYY"];function a(e){return r.test(e)}function s(e){return i.test(e)}function l(e,t,n){var r,i,a;let s,l=(r=e,i=t,a=n,s="Y"===r[0]?"years":"days of the month",`Use \`${r.toLowerCase()}\` instead of \`${r}\` (in \`${i}\`) for formatting ${s} to the input \`${a}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`);if(console.warn(l),o.includes(e))throw RangeError(l)}},16657:(e,t,n)=>{"use strict";n.d(t,{c:()=>a});var r=n(91993),i=n(83475),o=n(55656);function a(e,t){return(0,o.r)((0,r.w)(t?.in||e,e),(0,i.A)(t?.in||e))}},16719:(e,t,n)=>{"use strict";n.d(t,{$:()=>a});var r=n(43897),i=n(79619),o=function(e,t){return e.push(t),e};function a(){return(0,i.N)(function(e,t){(0,r.T)(o,[])(e).subscribe(t)})}}
3,16874:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(17142),i=n(42751),o=n(70998),a=n(81137);let s=function(e,t){for(var n=e.length;n--&&(0,a.A)(t,e[n],0)>-1;);return n},l=function(e,t){for(var n=-1,r=e.length;++n<r&&(0,a.A)(t,e[n],0)>-1;);return n};var u=n(88796),c=n(24286);let d=function(e,t,n){if((e=(0,c.A)(e))&&(n||void 0===t))return(0,i.A)(e);if(!e||!(t=(0,r.A)(t)))return e;var a=(0,u.A)(e),d=(0,u.A)(t),f=l(a,d),h=s(a,d)+1;return(0,o.A)(a,f,h).join("")}},16897:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(38374);let i=function(e,t,n){for(var i=-1,o=e.length;++i<o;){var a=e[i],s=t(a);if(null!=s&&(void 0===l?s==s&&!(0,r.A)(s):n(s,l)))var l=s,u=a}return u}},16926:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(71606);let i=function(e,t,n){var i=null==e?void 0:(0,r.A)(e,t);return void 0===i?n:i}},16950:(e,t,n)=>{e.exports=n(50994).Symbol},17032:(e,t,n)=>{"use strict";n.d(t,{U:()=>o});var r=n(79619),i=n(77973);function o(e){return(0,r.N)(function(t,n){var r=!1;t.subscribe((0,i._)(n,function(e){r=!0,n.next(e)},function(){r||n.next(e),n.complete()}))})}},17052:(e,t,n)=>{"use strict";n.d(t,{t:()=>i});var r=n(70061);function i(e,t,n){let[i,o]=(0,r.x)(n?.in,e,t);return i.getFullYear()===o.getFullYear()&&i.getMonth()===o.getMonth()}},17142:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(29703),i=n(12602),o=n(92459),a=n(38374),s=1/0,l=r.A?r.A.prototype:void 0,u=l?l.toString:void 0;let c=function e(t){if("string"==typeof t)return t;if((0,o.A)(t))return(0,i.A)(t,e)+"";if((0,a.A)(t))return u?u.call(t):"";var n=t+"";return"0"==n&&1/t==-s?"-0":n}},17334:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(92459),i=n(38374),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;let s=function(e,t){if((0,r.A)(e))return!1;var n=typeof e;return!!("number"==n||"symbol"==n||"boolean"==n||null==e||(0,i.A)(e))||a.test(e)||!o.test(e)||null!=t&&e in Object(t)}},17650:e=>{e.exports=Array.isArray},17760:(e,t,n)=>{var r=n(84214);e.exports=function(e,t){var n=this.__data__,i=r(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this}},17796:(e,t,n)=>{"use strict";n.d(t,{V:()=>i});var r=n(92477);function i(e,t){let n=(0,r.a)(e,t?.in);return n.setSeconds(59,999),n}},18276:(e,t,n)=>{"use strict";n.d(t,{P:()=>o});var r=n(91993),i=n(92477);function o(e,t,n){let o=(0,i.a)(e,n?.in);if(isNaN(t))return(0,r.w)(n?.in||e,NaN);if(!t)return o;let a=o.getDate(),s=(0,r.w)(n?.in||e,o.getTime());return(s.setMonth(o.getMonth()+t+1,0),a>=s.getDate())?s:(o.setFullYear(s.getFullYear(),s.getMonth(),a),o)}},18308:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(89794),i=n(19396);let o=function(e,t){var n=-1,o=(0,i.A)(e)?Array(e.length):[];return(0,r.A)(e,function(e,r,i){o[++n]=t(e,r,i)}),o}},18389:(e,t,n)=>{e.exports=n(79160)(Object.keys,Object)},18485:(e,t,n)=>{"use strict";let r,i,o;n.d(t,{li:()=>A,mG:()=>E});var a=n(76249),s=n(25698),l=n(44374),u=n(33860),c=n(26900),d=n(86476),f=n(34672),h=n(7463),p=n(87192),g=n(1942),m=n(88925),y=n(15333),b=n(15287),v=n(2159),w=n(46322),_=n(42327);function x(e,t){let{extra:n,tags:r,user:i,contexts:o,level:a,sdkProcessingMetadata:s,breadcrumbs:l,fingerprint:u,eventProcessors:c,attachments:d,propagationContext:f,transactionName:h,span:p}=t;k(e,"extra",n),k(e,"tags",r),k(e,"user",i),k(e,"contexts",o),e.sdkProcessingMetadata=(0,w.h)(e.sdkProcessingMetadata,s,2),a&&(e.level=a),h&&(e.transactionName=h),p&&(e.span=p),l.length&&(e.breadcrumbs=[...e.breadcrumbs,...l]),u.length&&(e.fingerprint=[...e.fingerprint,...u]),c.length&&(e.eventProcessors=[...e.eventProcessors,...c]),d.length&&(e.attachments=[...e.attachments,...d]),e.propagationContext={...e.propagationContext,...f}}function k(e,t,n){e[t]=(0,w.h)(e[t],n,1)}function E(e,t,n,w,k,E){var A,S;let{normalizeDepth:C=3,normalizeMaxBreadth:O=1e3}=e,T={...t,event_id:t.event_id||n.event_id||(0,p.eJ)(),timestamp:t.timestamp||(0,y.lu)()},D=n.integrations||e.integrations.map(e=>e.name);(function(e,t){let{environment:n,release:r,dist:i,maxValueLength:o=250}=t;e.environment=e.environment||n||a.U,!e.release&&r&&(e.release=r),!e.dist&&i&&(e.dist=i),e.message&&(e.message=(0,m.xv)(e.message,o));let s=e.exception&&e.exception.values&&e.exception.values[0];s&&s.value&&(s.value=(0,m.xv)(s.value,o));let l=e.request;l&&l.url&&(l.url=(0,m.xv)(l.url,o))})(T,e),A=T,(S=D).length>0&&(A.sdk=A.sdk||{},A.sdk.integrations=[...A.sdk.integrations||[],...S]),k&&k.emit("applyFrameMetadata",t),void 0===t.type&&function(e,t){let n=function(e){let t=h.O._sentryDebugIds;if(!t)return{};let n=Object.keys(t);return o&&n.length===i?o:(i=n.length,o=n.reduce((n,i)=>{r||(r={});let o=r[i];if(o)n[o[0]]=o[1];else{let o=e(i);for(let e=o.length-1;e>=0;e--){let a=o[e],s=a&&a.filename,l=t[i];if(s&&l){n[s]=l,r[i]=[s,l];break}}}return n},{}))}(t);
3try{e.exception.values.forEach(e=>{e.stacktrace.frames.forEach(e=>{n&&e.filename&&(e.debug_id=n[e.filename])})})}catch(e){}}(T,e.stackParser);let I=function(e,t){if(!t)return e;let n=e?e.clone():new f.H;return n.update(t),n}(w,n.captureContext);n.mechanism&&(0,p.M6)(T,n.mechanism);let R=k?k.getEventProcessors():[],j=(0,s.m6)().getScopeData();E&&x(j,E.getScopeData()),I&&x(j,I.getScopeData());let N=[...n.attachments||[],...j.attachments];return N.length&&(n.attachments=N),!function(e,t){var n,r,i,o,a,s,l,u;let c,d,f,{fingerprint:h,span:p,breadcrumbs:g,sdkProcessingMetadata:m}=t;(function(e,t){let{extra:n,tags:r,user:i,contexts:o,level:a,transactionName:s}=t,l=(0,v.Ce)(n);l&&Object.keys(l).length&&(e.extra={...l,...e.extra});let u=(0,v.Ce)(r);u&&Object.keys(u).length&&(e.tags={...u,...e.tags});let c=(0,v.Ce)(i);c&&Object.keys(c).length&&(e.user={...c,...e.user});let d=(0,v.Ce)(o);d&&Object.keys(d).length&&(e.contexts={...d,...e.contexts}),a&&(e.level=a),s&&"transaction"!==e.type&&(e.transaction=s)})(e,t),p&&(n=e,r=p,n.contexts={trace:(0,_.kX)(r),...n.contexts},n.sdkProcessingMetadata={dynamicSamplingContext:(0,b.k1)(r),...n.sdkProcessingMetadata},c=(0,_.zU)(r),(d=(0,_.et)(c).description)&&!n.transaction&&"transaction"===n.type&&(n.transaction=d)),i=e,o=h,i.fingerprint=i.fingerprint?Array.isArray(i.fingerprint)?i.fingerprint:[i.fingerprint]:[],o&&(i.fingerprint=i.fingerprint.concat(o)),i.fingerprint&&!i.fingerprint.length&&delete i.fingerprint,a=e,s=g,f=[...a.breadcrumbs||[],...s],a.breadcrumbs=f.length?f:void 0,l=e,u=m,l.sdkProcessingMetadata={...l.sdkProcessingMetadata,...u}}(T,j),(function e(t,n,r,i=0){return new d.T2((o,a)=>{let s=t[i];if(null===n||"function"!=typeof s)o(n);else{let d=s({...n},r);l.T&&s.id&&null===d&&c.vF.log(`Event processor "${s.id}" dropped event`),(0,u.Qg)(d)?d.then(n=>e(t,n,r,i+1).then(o)).then(null,a):e(t,d,r,i+1).then(o).then(null,a)}})})([...R,...j.eventProcessors],T,n).then(e=>(e&&function(e){let t={};try{e.exception.values.forEach(e=>{e.stacktrace.frames.forEach(e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)})})}catch(e){}if(0===Object.keys(t).length)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];let n=e.debug_meta.images;Object.entries(t).forEach(([e,t])=>{n.push({type:"sourcemap",code_file:e,debug_id:t})})}(e),"number"==typeof C&&C>0)?function(e,t,n){if(!e)return null;let r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(e=>({...e,...e.data&&{data:(0,g.S8)(e.data,t,n)}}))},...e.user&&{user:(0,g.S8)(e.user,t,n)},...e.contexts&&{contexts:(0,g.S8)(e.contexts,t,n)},...e.extra&&{extra:(0,g.S8)(e.extra,t,n)}};return e.contexts&&e.contexts.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=(0,g.S8)(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map(e=>({...e,...e.data&&{data:(0,g.S8)(e.data,t,n)}}))),e.contexts&&e.contexts.flags&&r.contexts&&(r.contexts.flags=(0,g.S8)(e.contexts.flags,3,n)),r}(e,C,O):e)}function A(e){if(e){var t;return(t=e)instanceof f.H||"function"==typeof t||Object.keys(e).some(e=>S.includes(e))?{captureContext:e}:e}}let S=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"]},18535:(e,t,n)=>{"use strict";let r=n(3338);e.exports=(e,t)=>{try{return new r(e,t).range||"*"}catch(e){return null}}},18536:(e,t,n)=>{var r=n(88691),i=n(14335),o=n(17650),a=n(46583),s=n(88910),l=n(32516),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=o(e),c=!n&&i(e),d=!n&&!c&&a(e),f=!n&&!c&&!d&&l(e),h=n||c||d||f,p=h?r(e.length,String):[],g=p.length;for(var m in e)(t||u.call(e,m))&&!(h&&("length"==m||d&&("offset"==m||"parent"==m)||f&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||s(m,g)))&&p.push(m);return p}},18559:e=>{"use strict";e.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||0x1fffffffffffff,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},18610:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},18947:(e,t,n)=>{"use strict";n.d(t,{d:()=>s});var r=n(79619),i=n(77973),o=n(84474),a=n(38299);function s(e,t){return(0,r.N)(function(n,r){var s=new Set;n.subscribe((0,i._)(r,function(t){var n=e?e(t):t;s.has(n)||(s.add(n),r.next(t))})),t&&(0,a.Tg)(t).subscribe((0,i._)(r,function(){return s.clear()},o.l))})}},19097:(e,t,n)=>{var r=n(48004),i=n(25775),o=n(87481);e.exports=function(e){return r(e,o,i)}},19110:(e,t,n)=>{"use strict";n.d(t,{K:()=>o});var r=n(31843),i=n(70418);function o(e,t){return(0,i.T)(t)?(0,r.n)(function(){return e},t):(0,r.n)(function(){return e})}},19144:(e,t,n)=>{"use strict";n.d(t,{tb:()=>G});var r,i,o,a=[],s="ResizeObserver loop completed with undelivered notifications.",l=function(){var e;"function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:s}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=s),window.dispatchEvent(e)};(r=i||(i={})).BORDER_BOX="border-box",r.CONTENT_BOX="content-box",r.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box";var u=function(e){return Object.freeze(e)},c=function(e,t){this.inlineSize=e,this.blockSize=t,u(this)},d=function(){function e(e,t,n,r){return this.x=e,this.y=t,this.width=n,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,u(this)}return e.prototype.toJSON=function(){return{x:this.x,y:this.y,top:this.top,right:this.right,bottom:this.bottom,left:this.left,width:this.width,height:this.height}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),f=function(e){return e instanceof SVGElement&&"getBBox"in e},h=function(e){if(f(e)){var t=e.getBBox(),n=t.width,r=t.height;return!n&&!r}var i=e.offsetWidth,o=e.offsetHeight;return!(i||o||e.getClientRects().length)},p=function(e){if(e instanceof Element)return!0;var t,n=null==(t=null==e?void 0:e.ownerDocument)?void 0:t.defaultView;return!!(n&&e instanceof n.Element)},g=function(e){switch(e.tagName){case"INPUT":if("image"!==e.type)break;
3case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},m="u">typeof window?window:{},y=new WeakMap,b=/auto|scroll/,v=/^tb|vertical/,w=/msie|trident/i.test(m.navigator&&m.navigator.userAgent),_=function(e){return parseFloat(e||"0")},x=function(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=!1),new c((n?t:e)||0,(n?e:t)||0)},k=u({devicePixelContentBoxSize:x(),borderBoxSize:x(),contentBoxSize:x(),contentRect:new d(0,0,0,0)}),E=function(e,t){if(void 0===t&&(t=!1),y.has(e)&&!t)return y.get(e);if(h(e))return y.set(e,k),k;var n=getComputedStyle(e),r=f(e)&&e.ownerSVGElement&&e.getBBox(),i=!w&&"border-box"===n.boxSizing,o=v.test(n.writingMode||""),a=!r&&b.test(n.overflowY||""),s=!r&&b.test(n.overflowX||""),l=r?0:_(n.paddingTop),c=r?0:_(n.paddingRight),p=r?0:_(n.paddingBottom),g=r?0:_(n.paddingLeft),m=r?0:_(n.borderTopWidth),E=r?0:_(n.borderRightWidth),A=r?0:_(n.borderBottomWidth),S=r?0:_(n.borderLeftWidth),C=g+c,O=l+p,T=S+E,D=m+A,I=s?e.offsetHeight-D-e.clientHeight:0,R=a?e.offsetWidth-T-e.clientWidth:0,j=r?r.width:_(n.width)-(i?C+T:0)-R,N=r?r.height:_(n.height)-(i?O+D:0)-I,M=j+C+R+T,F=N+O+I+D,$=u({devicePixelContentBoxSize:x(Math.round(j*devicePixelRatio),Math.round(N*devicePixelRatio),o),borderBoxSize:x(M,F,o),contentBoxSize:x(j,N,o),contentRect:new d(g,l,j,N)});return y.set(e,$),$},A=function(e,t,n){var r=E(e,n),o=r.borderBoxSize,a=r.contentBoxSize,s=r.devicePixelContentBoxSize;switch(t){case i.DEVICE_PIXEL_CONTENT_BOX:return s;case i.BORDER_BOX:return o;default:return a}},S=function(e){var t=E(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=u([t.borderBoxSize]),this.contentBoxSize=u([t.contentBoxSize]),this.devicePixelContentBoxSize=u([t.devicePixelContentBoxSize])},C=function(e){if(h(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},O=function(){var e=1/0,t=[];a.forEach(function(n){if(0!==n.activeTargets.length){var r=[];n.activeTargets.forEach(function(t){var n=new S(t.target),i=C(t.target);r.push(n),t.lastReportedSize=A(t.target,t.observedBox),i<e&&(e=i)}),t.push(function(){n.callback.call(n.observer,r,n.observer)}),n.activeTargets.splice(0,n.activeTargets.length)}});for(var n=0;n<t.length;n++)(0,t[n])();return e},T=function(e){a.forEach(function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach(function(n){n.isActive()&&(C(n.target)>e?t.activeTargets.push(n):t.skippedTargets.push(n))})})},D=function(){var e=0;for(T(0);a.some(function(e){return e.activeTargets.length>0});)T(e=O());return a.some(function(e){return e.skippedTargets.length>0})&&l(),e>0},I=[],R=function(e){if(!o){var t=0,n=document.createTextNode("");new MutationObserver(function(){return I.splice(0).forEach(function(e){return e()})}).observe(n,{characterData:!0}),o=function(){n.textContent="".concat(t?t--:t++)}}I.push(e),o()},j=function(e){R(function(){requestAnimationFrame(e)})},N=0,M={attributes:!0,characterData:!0,childList:!0,subtree:!0},F=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],$=function(e){return void 0===e&&(e=0),Date.now()+e},L=!1,P=new(function(){function e(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return e.prototype.run=function(e){var t=this;if(void 0===e&&(e=250),!L){L=!0;var n=$(e);j(function(){var r=!1;try{r=D()}finally{if(L=!1,e=n-$(),!N)return;r?t.run(1e3):e>0?t.run(e):t.start()}})}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,M)};document.body?t():m.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),F.forEach(function(t){return m.addEventListener(t,e.listener,!0)}))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),F.forEach(function(t){return m.removeEventListener(t,e.listener,!0)}),this.stopped=!0)},e}()),z=function(e){!N&&e>0&&P.start(),(N+=e)||P.stop()},U=function(){function e(e,t){this.target=e,this.observedBox=t||i.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e,t=A(this.target,this.observedBox,!0);return f(e=this.target)||g(e)||"inline"!==getComputedStyle(e).display||(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),B=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},H=new WeakMap,q=function(e,t){for(var n=0;n<e.length;n+=1)if(e[n].target===t)return n;return -1},V=function(){function e(){}return e.connect=function(e,t){var n=new B(e,t);H.set(e,n)},e.observe=function(e,t,n){var r=H.get(e),i=0===r.observationTargets.length;0>q(r.observationTargets,t)&&(i&&a.push(r),r.observationTargets.push(new U(t,n&&n.box)),z(1),P.schedule())},e.unobserve=function(e,t){var n=H.get(e),r=q(n.observationTargets,t),i=1===n.observationTargets.length;r>=0&&(i&&a.splice(a.indexOf(n),1),n.observationTargets.splice(r,1),z(-1))},e.disconnect=function(e){var t=this,n=H.get(e);
3n.observationTargets.slice().forEach(function(n){return t.unobserve(e,n.target)}),n.activeTargets.splice(0,n.activeTargets.length)},e}(),G=function(){function e(e){if(0==arguments.length)throw TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof e)throw TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");V.connect(this,e)}return e.prototype.observe=function(e,t){if(0==arguments.length)throw TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!p(e))throw TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");V.observe(this,e,t)},e.prototype.unobserve=function(e){if(0==arguments.length)throw TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!p(e))throw TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");V.unobserve(this,e)},e.prototype.disconnect=function(){V.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}()},19198:(e,t,n)=>{var r=n(24973);e.exports=function(e,t){return function(n,i){if(null==n)return n;if(!r(n))return e(n,i);for(var o=n.length,a=t?o:-1,s=Object(n);(t?a--:++a<o)&&!1!==i(s[a],a,s););return n}}},19279:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(91993),i=n(92477);function o(e,t,n){let o,a,s,l,u=(0,i.a)(e,n?.in),c=u.getFullYear(),d=u.getDate(),f=(0,r.w)(n?.in||e,0);f.setFullYear(c,t,15),f.setHours(0,0,0,0);let h=(a=(o=(0,i.a)(f,void 0)).getFullYear(),s=o.getMonth(),(l=(0,r.w)(o,0)).setFullYear(a,s+1,0),l.setHours(0,0,0,0),l.getDate());return u.setMonth(t,Math.min(d,h)),u}},19396:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(4986),i=n(52766);let o=function(e){return null!=e&&(0,i.A)(e.length)&&!(0,r.A)(e)}},19523:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(59132),i=n(92459);let o=function(e,t,n,o){return null==e?[]:((0,i.A)(t)||(t=null==t?[]:[t]),n=o?void 0:n,(0,i.A)(n)||(n=null==n?[]:[n]),(0,r.A)(e,t,n))}},19749:(e,t,n)=>{"use strict";e.exports=n(4873)},20153:(e,t,n)=>{var r=n(21407),i=n(18610),o=n(90837),a=0/0,s=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return a;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=l.test(e);return n||u.test(e)?c(e.slice(2),n?2:8):s.test(e)?a:+e}},20453:(e,t,n)=>{"use strict";n.d(t,{DT:()=>f,mj:()=>function e({schemas:t,actors:n,actions:o,guards:a,delays:s}){return{assign:i.a,sendTo:d.s,raise:r.r,log:d.l,cancel:r.a,stopChild:r.s,enqueueActions:d.e,emit:d.a,spawnChild:r.b,createStateConfig:e=>e,createAction:e=>e,createMachine:e=>new c({...e,schemas:t},{actors:n,actions:o,guards:a,delays:s}),extend:r=>e({schemas:t,actors:n,actions:{...o,...r.actions},guards:{...a,...r.guards},delays:{...s,...r.delays}})}}}),n(68004);var r=n(99929),i=n(22821);let o=new WeakMap;function a(e,t,n){let r=o.get(e);return r?t in r||(r[t]=n()):(r={[t]:n()},o.set(e,r)),r[t]}let s={},l=e=>"string"==typeof e?{type:e}:"function"==typeof e?"resolve"in e?{type:e.type}:{type:e.name}:e;class u{constructor(e,t){if(this.config=e,this.key=void 0,this.id=void 0,this.type=void 0,this.path=void 0,this.states=void 0,this.history=void 0,this.entry=void 0,this.exit=void 0,this.parent=void 0,this.machine=void 0,this.meta=void 0,this.output=void 0,this.order=-1,this.description=void 0,this.tags=[],this.transitions=void 0,this.always=void 0,this.parent=t._parent,this.key=t._key,this.machine=t._machine,this.path=this.parent?this.parent.path.concat(this.key):[],this.id=this.config.id||[this.machine.id,...this.path].join(r.S),this.type=this.config.type||(this.config.states&&Object.keys(this.config.states).length?"compound":this.config.history?"history":"atomic"),this.description=this.config.description,this.order=this.machine.idMap.size,this.machine.idMap.set(this.id,this),this.states=this.config.states?(0,r.y)(this.config.states,(e,t)=>new u(e,{_parent:this,_key:t,_machine:this.machine})):s,"compound"===this.type&&!this.config.initial)throw Error(`No initial state specified for c
3ompound state node "#${this.id}". Try adding { initial: "${Object.keys(this.states)[0]}" } to the state config.`);this.history=!0===this.config.history?"shallow":this.config.history||!1,this.entry=(0,r.t)(this.config.entry).slice(),this.exit=(0,r.t)(this.config.exit).slice(),this.meta=this.config.meta,this.output="final"!==this.type&&this.parent?void 0:this.config.output,this.tags=(0,r.t)(e.tags).slice()}_initialize(){this.transitions=(0,r.z)(this),this.config.always&&(this.always=(0,r.B)(this.config.always).map(e=>(0,r.C)(this,r.N,e))),Object.keys(this.states).forEach(e=>{this.states[e]._initialize()})}get definition(){return{id:this.id,key:this.key,version:this.machine.version,type:this.type,initial:this.initial?{target:this.initial.target,source:this,actions:this.initial.actions.map(l),eventType:null,reenter:!1,toJSON:()=>({target:this.initial.target.map(e=>`#${e.id}`),source:`#${this.id}`,actions:this.initial.actions.map(l),eventType:null})}:void 0,history:this.history,states:(0,r.y)(this.states,e=>e.definition),on:this.on,transitions:[...this.transitions.values()].flat().map(e=>({...e,actions:e.actions.map(l)})),entry:this.entry.map(l),exit:this.exit.map(l),meta:this.meta,order:this.order||-1,output:this.output,invoke:this.invoke,description:this.description,tags:this.tags}}toJSON(){return this.definition}get invoke(){return a(this,"invoke",()=>(0,r.t)(this.config.invoke).map((e,t)=>{let{src:n,systemId:i}=e,o=e.id??(0,r.E)(this.id,t),a="string"==typeof n?n:`xstate.invoke.${(0,r.E)(this.id,t)}`;return{...e,src:a,id:o,systemId:i,toJSON(){let{onDone:t,onError:n,...r}=e;return{...r,type:"xstate.invoke",src:a,id:o}}}}))}get on(){return a(this,"on",()=>[...this.transitions].flatMap(([e,t])=>t.map(t=>[e,t])).reduce((e,[t,n])=>(e[t]=e[t]||[],e[t].push(n),e),{}))}get after(){return a(this,"delayedTransitions",()=>(0,r.F)(this))}get initial(){return a(this,"initial",()=>(0,r.G)(this,this.config.initial))}next(e,t){let n,i=t.type,o=[];for(let s of a(this,`candidates-${i}`,()=>(0,r.H)(this,i))){let{guard:a}=s,l=e.context,u=!1;try{u=!a||(0,r.D)(a,l,t,e)}catch(t){let e="string"==typeof a?a:"object"==typeof a?a.type:void 0;throw Error(`Unable to evaluate guard ${e?`'${e}' `:""}in transition for event '${i}' in state node '${this.id}':
4${t.message}`)}if(u){o.push(...s.actions),n=s;break}}return n?[n]:void 0}get events(){return a(this,"events",()=>{let{states:e}=this,t=new Set(this.ownEvents);if(e)for(let n of Object.keys(e)){let r=e[n];if(r.states)for(let e of r.events)t.add(`${e}`)}return Array.from(t)})}get ownEvents(){return Array.from(new Set(Object.keys(Object.fromEntries(this.transitions)).filter(e=>this.transitions.get(e).some(e=>!(!e.target&&!e.actions.length&&!e.reenter)))))}}class c{constructor(e,t){this.config=e,this.version=void 0,this.schemas=void 0,this.implementations=void 0,this.__xstatenode=!0,this.idMap=new Map,this.root=void 0,this.id=void 0,this.states=void 0,this.events=void 0,this.id=e.id||"(machine)",this.implementations={actors:t?.actors??{},actions:t?.actions??{},delays:t?.delays??{},guards:t?.guards??{}},this.version=this.config.version,this.schemas=this.config.schemas,this.transition=this.transition.bind(this),this.getInitialSnapshot=this.getInitialSnapshot.bind(this),this.getPersistedSnapshot=this.getPersistedSnapshot.bind(this),this.restoreSnapshot=this.restoreSnapshot.bind(this),this.start=this.start.bind(this),this.root=new u(e,{_key:this.id,_machine:this}),this.root._initialize(),(0,r.I)(this.root),this.states=this.root.states,this.events=this.root.events}provide(e){let{actions:t,guards:n,actors:r,delays:i}=this.implementations;return new c(this.config,{actions:{...t,...e.actions},guards:{...n,...e.guards},actors:{...r,...e.actors},delays:{...i,...e.delays}})}resolveState(e){let t=(0,r.J)(this.root,e.value),n=(0,r.K)((0,r.p)(this.root,t));return(0,r.L)({_nodes:[...n],context:e.context||{},children:{},status:(0,r.M)(n,this.root)?"done":e.status||"active",output:e.output,error:e.error,historyValue:e.historyValue},this)}transition(e,t,n){return(0,r.d)(e,t,n,[]).snapshot}microstep(e,t,n){return(0,r.d)(e,t,n,[]).microsteps.map(([e])=>e)}getTransitionData(e,t){return(0,r.O)(this.root,e.value,e,t)||[]}_getPreInitialState(e,t,n){let{context:o}=this.config,a=(0,r.L)({context:"function"!=typeof o&&o?o:{},_nodes:[this.root],children:{},status:"active"},this);return"function"==typeof o?(0,r.P)(a,t,e,[(0,i.a)(({spawn:e,event:t,self:n})=>o({spawn:e,input:t.input,self:n}))],n,void 0):a}getInitialSnapshot(e,t){let n=(0,r.e)(t),i=[],o=this._getPreInitialState(e,n,i),[a]=(0,r.i)(this.root,o,e,n,i),{snapshot:s}=(0,r.d)(a,n,e,i);return s}
4start(e){Object.values(e.children).forEach(e=>{"active"===e.getSnapshot().status&&e.start()})}getStateNodeById(e){let t=(0,r.Q)(e),n=t.slice(1),i=(0,r.R)(t[0])?t[0].slice(1):t[0],o=this.idMap.get(i);if(!o)throw Error(`Child state node '#${i}' does not exist on machine '${this.id}'`);return(0,r.T)(o,n)}get definition(){return this.root.definition}toJSON(){return this.definition}getPersistedSnapshot(e,t){return(0,r.U)(e,t)}restoreSnapshot(e,t){let n={},i=e.children;Object.keys(i).forEach(e=>{let o=i[e],a=o.snapshot,s=o.src,l="string"==typeof s?(0,r.V)(this,s):s;if(!l)return;let u=(0,r.c)(l,{id:e,parent:t.self,syncSnapshot:o.syncSnapshot,snapshot:a,src:s,systemId:o.systemId});n[e]=u});let o=function(e,t){if(!t||"object"!=typeof t)return{};let n={};for(let r in t)for(let i of t[r]){let t=function(e,t){if(t instanceof u)return t;try{return e.machine.getStateNodeById(t.id)}catch{}}(e,i);t&&(n[r]??=[],n[r].push(t))}return n}(this.root,e.historyValue),a=(0,r.L)({...e,children:n,_nodes:Array.from((0,r.K)((0,r.p)(this.root,e.value))),historyValue:o},this),s=new Set;return!function e(t,n){if(!s.has(t))for(let i in s.add(t),t){let o=t[i];if(o&&"object"==typeof o){if("xstate$$type"in o&&o.xstate$$type===r.$){t[i]=n[o.id];continue}e(o,n)}}}(a.context,n),a}}var d=n(31534);function f(e,t){let n=(0,r.t)(t);if(!n.some(t=>(0,r.m)(e.type,t))){let t=1===n.length?`type matching "${n[0]}"`:`one of types matching "${n.join('", "')}"`;throw Error(`Expected event ${JSON.stringify(e)} to have ${t}`)}}},20514:(e,t,n)=>{var r=n(8515),i=n(30989),o=n(81581),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return o(e)&&i(e.length)&&!!a[r(e)]}},20519:(e,t,n)=>{"use strict";n.d(t,{$:()=>l});var r=n(65132),i=n(38299),o=n(14283),a=n(79619),s=n(77973);function l(e,t,n,l){return(0,a.N)(function(a,u){t&&"function"!=typeof t?(n=t.duration,c=t.element,l=t.connector):c=t;var c,d=new Map,f=function(e){d.forEach(e),e(u)},h=function(e){return f(function(t){return t.error(e)})},p=0,g=!1,m=new s.H(u,function(t){try{var a=e(t),f=d.get(a);if(!f){d.set(a,f=l?l():new o.B);var y,b,v,w=(y=a,b=f,(v=new r.c(function(e){p++;var t=b.subscribe(e);return function(){t.unsubscribe(),0==--p&&g&&m.unsubscribe()}})).key=y,v);if(u.next(w),n){var _=(0,s._)(f,function(){f.complete(),null==_||_.unsubscribe()},void 0,void 0,function(){return d.delete(a)});m.add((0,i.Tg)(n(w)).subscribe(_))}}f.next(c?c(t):t)}catch(e){h(e)}},function(){return f(function(e){return e.complete()})},h,function(){return d.clear()},function(){return g=!0,0===p});a.subscribe(m)})}},20844:(e,t,n)=>{"use strict";n.d(t,{G:()=>l});var r=n(2159),i=n(90474),o=n(64985),a=n(41974);let s=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],l=(0,i._C)((e={})=>{let t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...e};return{name:"BrowserApiErrors",setupOnce(){t.setTimeout&&(0,r.GS)(a.jf,"setTimeout",u),t.setInterval&&(0,r.GS)(a.jf,"setInterval",u),t.requestAnimationFrame&&(0,r.GS)(a.jf,"requestAnimationFrame",c),t.XMLHttpRequest&&"XMLHttpRequest"in a.jf&&(0,r.GS)(XMLHttpRequest.prototype,"send",d);let e=t.eventTarget;
4e&&(Array.isArray(e)?e:s).forEach(f)}}});function u(e){return function(...t){let n=t[0];return t[0]=(0,a.LV)(n,{mechanism:{data:{function:(0,o.qQ)(e)},handled:!1,type:"instrument"}}),e.apply(this,t)}}function c(e){return function(t){return e.apply(this,[(0,a.LV)(t,{mechanism:{data:{function:"requestAnimationFrame",handler:(0,o.qQ)(e)},handled:!1,type:"instrument"}})])}}function d(e){return function(...t){let n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(e=>{e in n&&"function"==typeof n[e]&&(0,r.GS)(n,e,function(t){let n={mechanism:{data:{function:e,handler:(0,o.qQ)(t)},handled:!1,type:"instrument"}},i=(0,r.sp)(t);return i&&(n.mechanism.data.handler=(0,o.qQ)(i)),(0,a.LV)(t,n)})}),e.apply(this,t)}}function f(e){let t=a.jf[e],n=t&&t.prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&((0,r.GS)(n,"addEventListener",function(t){return function(n,r,i){try{var s;s=r,"function"==typeof s.handleEvent&&(r.handleEvent=(0,a.LV)(r.handleEvent,{mechanism:{data:{function:"handleEvent",handler:(0,o.qQ)(r),target:e},handled:!1,type:"instrument"}}))}catch(e){}return t.apply(this,[n,(0,a.LV)(r,{mechanism:{data:{function:"addEventListener",handler:(0,o.qQ)(r),target:e},handled:!1,type:"instrument"}}),i])}}),(0,r.GS)(n,"removeEventListener",function(e){return function(t,n,r){try{let i=n.__sentry_wrapped__;i&&e.call(this,t,i,r)}catch(e){}return e.call(this,t,n,r)}}))}},20905:(e,t,n)=>{var r=n(83727),i=n(81581);e.exports=function e(t,n,o,a,s){return t===n||(null!=t&&null!=n&&(i(t)||i(n))?r(t,n,o,a,e,s):t!=t&&n!=n)}},20984:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r,i,o,a=n(15622),s=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,l=/\\(\\)?/g;let u=(r=function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(s,function(e,n,r,i){t.push(r?i.replace(l,"$1"):n||e)}),t},o=(i=(0,a.A)(r,function(e){return 500===o.size&&o.clear(),e})).cache,i)},21123:(e,t,n)=>{"use strict";n.d(t,{Cp:()=>l,Dp:()=>d,J0:()=>f,J5:()=>g,o:()=>c,r:()=>u});var r=n(76249),i=n(25698),o=n(92976),a=n(7463),s=n(18485);function l(e,t){return(0,i.o5)().captureException(e,(0,s.li)(t))}function u(e,t){return(0,i.o5)().captureEvent(e,t)}function c(e,t){(0,i.rm)().setContext(e,t)}function d(){return!!(0,i.KU)()}function f(e){let t=(0,i.KU)(),n=(0,i.rm)(),s=(0,i.o5)(),{release:l,environment:u=r.U}=t&&t.getOptions()||{},{userAgent:c}=a.O.navigator||{},d=(0,o.fj)({release:l,environment:u,user:s.getUser()||n.getUser(),...c&&{userAgent:c},...e}),f=n.getSession();return f&&"ok"===f.status&&(0,o.qO)(f,{status:"exited"}),h(),n.setSession(d),s.setSession(d),d}function h(){let e=(0,i.rm)(),t=(0,i.o5)(),n=t.getSession()||e.getSession();n&&(0,o.Vu)(n),p(),e.setSession(),t.setSession()}function p(){let e=(0,i.rm)(),t=(0,i.o5)(),n=(0,i.KU)(),r=t.getSession()||e.getSession();r&&n&&n.captureSession(r)}function g(e=!1){e?h():p()}},21407:(e,t,n)=>{var r=n(52027),i=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(i,""):e}},21471:(e,t,n)=>{"use strict";n.d(t,{o:()=>l});var r=n(64725),i=n(46776),o=n(70061),a=n(27793),s=n(93930);function l(e,t,n){let l,[u,c]=(0,o.x)(n?.in,e,t),d=(0,i.q)(),f=n?.locale??d.locale??r.c,h=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??d.weekStartsOn??d.locale?.options?.weekStartsOn??0,p=(0,a.m)(u,c);if(isNaN(p))throw RangeError("Invalid time value");l=p<-6?"other":p<-1?"lastWeek":p<0?"yesterday":p<1?"today":p<2?"tomorrow":p<7?"nextWeek":"other";let g=f.formatRelative(l,u,c,{locale:f,weekStartsOn:h});return(0,s.GP)(u,g,{locale:f,weekStartsOn:h})}},21719:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(66234),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=i&&"object"==typeof module&&module&&!module.nodeType&&module,a=o&&o.exports===i&&r.A.process;let s=function(){try{var e=o&&o.require&&o.require("util").types;if(e)return e;return a&&a.binding&&a.binding("util")}catch(e){}}()},21728:(e,t,n)=>{"use strict";function r(e){return{type:"forward",event:e}}function i(e){return{type:"raise",event:e}}function o(e){return{type:"effect",effect:e}}function a(e){return e}n.d(t,{Ke:()=>a,QZ:()=>o,sY:()=>r,xl:()=>i})},21991:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}}
4,22054:(e,t,n)=>{"use strict";n.d(t,{H:()=>d});var r=n(22227),i=n(97561),o=n(49303),a=(n(99506),n(79619)),s=n(77973),l=n(13355),u=n(17032),c=n(10336);function d(e,t){var n=arguments.length>=2;return function(d){return d.pipe(e?(0,i.p)(function(t,n){return e(t,n,d)}):c.D,(0,a.N)(function(e,t){var n=[];e.subscribe((0,s._)(t,function(e){n.push(e),1<n.length&&n.shift()},function(){var e,r;try{for(var i=(0,o.Ju)(n),a=i.next();!a.done;a=i.next()){var s=a.value;t.next(s)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}t.complete()},void 0,function(){n=null}))}),n?(0,u.U)(t):(0,l.v)(function(){return new r.G}))}}},22691:(e,t,n)=>{"use strict";function r(){let e=Object.create(null),t=0;return{publish:function(t){for(let n in e)e[n](t)},subscribe:function(n){let r=t++;return e[r]=n,function(){delete e[r]}}}}n.d(t,{A:()=>r})},22748:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(72521),i=n(53422),o=n(70638);let a=function(e){return(0,r.A)(e,o.A,i.A)}},22821:(e,t,n)=>{"use strict";n.d(t,{a:()=>o});var r=n(99929);function i(e,t,n,i,{assignment:o}){if(!t.context)throw Error("Cannot assign to undefined `context`. Ensure that `context` is defined in the machine config.");let a={},s={context:t.context,event:n.event,spawn:function(e,{machine:t,context:n},i,o){return(a,s)=>{let l=((a,s)=>{if("string"!=typeof a)return(0,r.c)(a,{id:s?.id,parent:e.self,syncSnapshot:s?.syncSnapshot,input:s?.input,src:a,systemId:s?.systemId});{let l=(0,r.V)(t,a);if(!l)throw Error(`Actor logic '${a}' not implemented in machine '${t.id}'`);let u=(0,r.c)(l,{id:s?.id,parent:e.self,syncSnapshot:s?.syncSnapshot,input:"function"==typeof s?.input?s.input({context:n,event:i,self:e.self}):s?.input,src:a,systemId:s?.systemId});return o[u.id]=u,u}})(a,s);return o[l.id]=l,e.defer(()=>{l._processingStatus!==r.Z.Stopped&&l.start()}),l}}(e,t,n.event,a),self:e.self,system:e.system},l={};if("function"==typeof o)l=o(s,i);else for(let e of Object.keys(o)){let t=o[e];l[e]="function"==typeof t?t(s,i):t}let u=Object.assign({},t.context,l);return[(0,r._)(t,{context:u,children:Object.keys(a).length?{...t.children,...a}:t.children}),void 0,void 0]}function o(e){function t(e,t){}return t.type="xstate.assign",t.assignment=e,t.resolve=i,t}},22845:(e,t,n)=>{"use strict";n.d(t,{_:()=>r});class r{current=0;resolvers=[];max;constructor(e){this.max=e}ready=()=>this.max===1/0?Promise.resolve():this.current<this.max?(this.current++,Promise.resolve()):new Promise(e=>{this.resolvers.push(e)});release=()=>{if(this.max===1/0)return;let e=this.resolvers.shift();e?e():this.current=Math.max(0,this.current-1)}}},23301:(e,t,n)=>{"use strict";n.d(t,{JD:()=>a,i_:()=>r,sy:()=>i,uT:()=>o});let r="sentry.source",i="sentry.sample_rate",o="sentry.op",a="sentry.origin"},23832:(e,t)=>{"use strict";var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),p=Symbol.for("react.view_transition"),g=Symbol.for("react.client.reference");function m(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case i:case a:case o:case c:case d:case p:return e;default:switch(e=e&&e.$$typeof){case l:case u:case h:case f:case s:return e;default:return t}}case r:return t}}}t.ContextConsumer=s,t.ContextProvider=l,t.Element=n,t.ForwardRef=u,t.Fragment=i,t.Lazy=h,t.Memo=f,t.Portal=r,t.Profiler=a,t.StrictMode=o,t.Suspense=c,t.SuspenseList=d,t.isContextConsumer=function(e){return m(e)===s},t.isContextProvider=function(e){return m(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return m(e)===u},t.isFragment=function(e){return m(e)===i},t.isLazy=function(e){return m(e)===h},t.isMemo=function(e){return m(e)===f},t.isPortal=function(e){return m(e)===r},t.isProfiler=function(e){return m(e)===a},t.isStrictMode=function(e){return m(e)===o},t.isSuspense=function(e){return m(e)===c},t.isSuspenseList=function(e){return m(e)===d},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===a||e===o||e===c||e===d||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===f||e.$$typeof===l||e.$$typeof===s||e.$$typeof===u||e.$$typeof===g||void 0!==e.getModuleId)||!1},t.typeOf=m}
4,23929:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}n.d(t,{A:()=>r})},23973:(e,t,n)=>{"use strict";let r=n(53941);e.exports=(e,t,n)=>0>=r(e,t,n)},24286:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(17142);let i=function(e){return null==e?"":(0,r.A)(e)}},24639:(e,t,n)=>{"use strict";n.d(t,{f:()=>i});var r=n(92477);function i(e){return!(!(e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e))&&"number"!=typeof e||isNaN(+(0,r.a)(e)))}},24642:(e,t,n)=>{"use strict";n.d(t,{U5:()=>s,jM:()=>u});var r=n(95155),i=n(46983),o=n(12115);let a="#0D0E12",s=(0,o.forwardRef)(function(e,t){let{dark:n,...o}=e,s=n?i.ON.hex:a;return(0,r.jsxs)("svg",{"data-sanity-icon":"sanity-logo",height:"1em",viewBox:"0 0 435 154",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,ref:t,children:[(0,r.jsx)("path",{d:"M44.883 52.4463C33.4181 43.7972 21.8121 37.1021 21.8121 27.3381C21.8121 21.482 26.9827 15.4851 34.1181 15.4851C46.983 15.4851 54.5302 28.8754 61.942 45.6103H66.5538V7.11182H34.3946C7.82952 7.11182 0 23.1543 0 35.7055C0 52.1647 13.5649 61.9287 28.9416 73.365C39.7064 81.3158 48.7948 88.7092 48.7948 97.2175C48.7948 106.424 42.5006 111.723 34.5299 111.723C26.0004 111.723 13.4178 100.562 4.60595 77.4137H0V120.096H36.777C59.4302 120.096 70.7539 102.24 71.1716 87.876C71.7304 71.1411 57.3302 61.7937 44.883 52.4463Z",fill:s}),(0,r.jsx)("path",{d:"M145.002 106.841V61.7878C145.002 42.2598 132.837 37.1021 115.219 37.1021H83.8952L84.0364 68.9054H89.2071C94.6601 55.3743 102.49 45.4754 110.878 45.4754C118.149 45.4754 121.366 51.7539 121.366 58.3082V64.4459C109.619 71.4227 78.301 77.2788 78.301 98.4791C78.301 110.754 86.8306 120.935 99.2778 120.935C110.043 120.935 117.454 113.958 121.231 105.732C121.931 112.568 126.402 120.096 136.614 120.096H152.696V113.958C147.525 113.958 145.008 110.473 145.008 106.847L145.002 106.841ZM120.949 99.8639C118.713 103.074 115.213 106.7 111.019 106.7C105.148 106.7 101.372 102.234 101.372 93.3096C101.372 83.129 115.072 76.5746 120.949 71.6926V99.8697V99.8639Z",fill:s}),(0,r.jsx)("path",{d:"M270.145 28.4529C279.092 28.4529 284.686 22.1744 284.686 14.0885C284.686 6.00274 279.092 0 270.145 0C261.198 0 255.462 5.99688 255.462 14.0885C255.462 22.1802 261.474 28.4529 270.145 28.4529Z",fill:s}),(0,r.jsx)("path",{d:"M409.135 37.102V43.2397C417.947 43.2397 420.459 47.84 416.129 60.2563L405.641 88.5683L392.217 54.1186C389.141 47.4234 390.817 43.2397 397.252 43.2397V37.102H330.557V9.20654H324.263C322.446 18.6889 312.516 37.102 295.598 37.102V43.2397H306.504V100.568C306.504 110.191 309.722 121.07 328.457 121.07H357.54V89.5482H352.37C350.269 96.9417 345.94 111.723 336.569 111.723C331.399 111.723 330.557 106.002 330.557 101.401V45.8861H357.264C360.481 45.8861 363.834 46.3027 365.511 50.2106L393.894 120.231C388.441 132.647 379.07 134.595 362.293 129.437V153.988C366.629 153.988 377.811 154.129 379.77 153.572C390.817 150.362 398.364 128.745 401.441 120.378L425.488 55.521C428.147 48.4092 430.382 43.2456 434.994 43.2456V37.1079H409.129L409.135 37.102Z",fill:s}),(0,r.jsx)("path",{d:"M237.703 106.841V59.2764C237.703 44.3546 230.574 35.4238 216.45 35.4238C204.009 35.4238 196.803 44.0319 191.279 52.0414V37.0961H159.396V43.2338C164.849 43.2338 167.226 46.5785 167.226 50.4864V106.835C167.226 110.602 164.432 113.947 159.396 113.947V120.084H199.109V113.947C194.073 113.947 191.279 110.602 191.279 106.835V59.646C194.503 55.3743 198.214 50.7681 204.42 50.7681C210.291 50.7681 213.65 55.5093 213.65 61.2303V106.841C213.65 110.608 210.856 113.952 205.82 113.952V120.09H245.533V113.952C240.497 113.952 237.703 110.608 237.703 106.841Z",fill:s}),(0,r.jsx)("path",{d:"M284.127 106.841V37.1021H252.245V43.2398C257.698 43.2398 260.074 46.5844 260.074 50.4923V106.841C260.074 110.608 257.28 113.952 252.245 113.952V120.09H291.957V113.952C286.922 113.952 284.127 110.608 284.127 106.841Z",fill:s})]})}),l={light:{bg:i.ON.hex,fg:a},dark:{bg:a,fg:i.ON.hex},default:{bg:"#FF5500",fg:a}},u=(0,o.forwardRef)(function(e,t){let{scheme:n="default",color:i,...o}=e,a=i?.bg1||l[n].bg,s=i?.fg||l[n].fg;return(0,r.jsxs)("svg",{"data-sanity-icon":"sanity-monogram",height:"1em",viewBox:"0 0 192 192",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,ref:t,children:[(0,r.jsx)("rect",{width:"192",height:"192",fill:a}
4),(0,r.jsx)("path",{d:"M160.077 112.697L154.865 103.629L129.659 118.981L157.655 83.3368L161.888 80.8533L160.841 79.2802L162.764 76.8232L153.929 69.4699L149.886 74.6225L68.2657 122.375L98.4429 86.0855L154.651 55.2759L149.311 44.953L118.696 61.7277L133.771 43.6096L125.134 36L91.2055 76.7966L57.5083 95.2771L83.307 61.1709L99.4731 52.757L94.3391 42.3192L47.2403 66.8361L60.0839 49.8405L51.1123 42.6551L24 78.5378L24.4207 78.8736L29.486 89.1877L59.543 73.5354L32.1474 109.745L36.6375 113.342L39.3075 118.504L70.9528 101.154L36.1052 143.065L44.742 150.674L46.4762 148.588L130.543 99.2454L102.632 134.792L103.088 135.172L103.045 135.199L108.831 145.265L145.954 122.649L131.659 145.716L141.24 152L164 115.278L160.077 112.697Z",fill:s})]})})},24664:(e,t,n)=>{"use strict";let r=n(72480);e.exports=(e,t)=>e.sort((e,n)=>r(n,e,t))},24848:e=>{var t="u">typeof Element,n="function"==typeof Map,r="function"==typeof Set,i="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;e.exports=function(e,o){try{return function e(o,a){if(o===a)return!0;if(o&&a&&"object"==typeof o&&"object"==typeof a){var s,l,u,c;if(o.constructor!==a.constructor)return!1;if(Array.isArray(o)){if((s=o.length)!=a.length)return!1;for(l=s;0!=l--;)if(!e(o[l],a[l]))return!1;return!0}if(n&&o instanceof Map&&a instanceof Map){if(o.size!==a.size)return!1;for(c=o.entries();!(l=c.next()).done;)if(!a.has(l.value[0]))return!1;for(c=o.entries();!(l=c.next()).done;)if(!e(l.value[1],a.get(l.value[0])))return!1;return!0}if(r&&o instanceof Set&&a instanceof Set){if(o.size!==a.size)return!1;for(c=o.entries();!(l=c.next()).done;)if(!a.has(l.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(o)&&ArrayBuffer.isView(a)){if((s=o.length)!=a.length)return!1;for(l=s;0!=l--;)if(o[l]!==a[l])return!1;return!0}if(o.constructor===RegExp)return o.source===a.source&&o.flags===a.flags;if(o.valueOf!==Object.prototype.valueOf&&"function"==typeof o.valueOf&&"function"==typeof a.valueOf)return o.valueOf()===a.valueOf();if(o.toString!==Object.prototype.toString&&"function"==typeof o.toString&&"function"==typeof a.toString)return o.toString()===a.toString();if((s=(u=Object.keys(o)).length)!==Object.keys(a).length)return!1;for(l=s;0!=l--;)if(!Object.prototype.hasOwnProperty.call(a,u[l]))return!1;if(t&&o instanceof Element)return!1;for(l=s;0!=l--;)if(("_owner"!==u[l]&&"__v"!==u[l]&&"__o"!==u[l]||!o.$$typeof)&&!e(o[u[l]],a[u[l]]))return!1;return!0}return o!=o&&a!=a}(e,o)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},24949:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(28171).A)(Object.getPrototypeOf,Object)},24973:(e,t,n)=>{var r=n(56733),i=n(30989);e.exports=function(e){return null!=e&&i(e.length)&&!r(e)}},25037:(e,t,n)=>{"use strict";n.d(t,{k:()=>o});var r=n(46776),i=n(92477);function o(e,t){let n=(0,r.q)(),o=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,a=(0,i.a)(e,t?.in),s=a.getDay();return a.setDate(a.getDate()-(7*(s<o)+s-o)),a.setHours(0,0,0,0),a}},25039:(e,t,n)=>{e.exports=n(68649)(n(50994),"DataView")},25092:(e,t,n)=>{"use strict";let r=n(53941);e.exports=(e,t,n)=>0===r(e,t,n)},25157:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=!!t,t}},25296:(e,t,n)=>{"use strict";n.d(t,{L:()=>b,g:()=>d});var r=n(87678);function i(e,t,n){return delete e[t],e[t]=n,n}function o(e,t,n,r){let i=e.value,o=t.value;return r?{type:"array",action:"changed",isChanged:!0,fromValue:i,toValue:o,items:n,annotation:t.annotation}:{type:"array",action:"unchanged",isChanged:!1,fromValue:i,toValue:o,items:n}}function a(e,t,n){if(e.length!==t.length)return;let r=[];for(let i=0;i<e.length;i++){let o=d(e.at(i),t.at(i),n);if(o.isChanged)return;r.push({fromIndex:i,toIndex:i,hasMoved:!1,diff:o,annotation:t.annotationAt(i)})}return r}function s(e,t){if(void 0!==e.toIndex&&void 0!==t.toIndex)return e.toIndex-t.toIndex;if(void 0!==e.fromIndex&&void 0!==t.fromIndex)return e.fromIndex-t.fromIndex;if(void 0!==e.fromIndex&&void 0!==t.toIndex)return -1;if(void 0!==e.toIndex&&void 0!==t.fromIndex)return 1;throw Error("invalid item diff comparison")}function l(e,t,n){let r=e.get(t);(function(e,t){let n=e.indexOf(t);if(-1===n)throw Error("value not found");e.splice(n,1)})(r,n),0===r.length&&e.delete(t)}function u(e){let t=new Map,n=[],r=e.length;for(let i=0;i<r;i++){let r=e.at(i),o=null;switch(r.type){case"string":o=`s${r.value}`;break;case"number":case"boolean":o=r.value;break;case"null":o="n";break;case"object":{let e=r.get("_key");if(e&&"string"===e.type&&(o=`k${e.value}`,t.has(o)))return}}if(null===o)return;n.push(o);let a=t.get(o);a||(a=[],t.set(o,a)),a.push(i)}return{keys:n,index:t}}let c=new Set(["_id","_type","_createdAt","_updatedAt","_rev","_weak"]);function d(e,t,n={}){return e.type!==t.type?"null"===e.type?h(t,null):"null"===t.type?f(e,null):{type:"typeChange",action:"changed",isChanged:!0,fromType:e.type,fromValue:e.value,fromDiff:f(e,void 0),toType:t.type,toValue:t.value,toDiff:h(t,void 0),annotation:t.annotation}:function(e,t,n,p){switch(e){case"null":return{type:"null",action:"unchanged",isChanged:!1,toValue:null,fromValue:null};case"boolean":let g,m,y;return g=t.value,m=n.value,y=t.type,g===m?{type:y,action:"unchanged",fromValue:g,toValue:m,isChanged:!1}:{type:t.type,action:"changed",isChanged:!0,fromValue:g,toValue:m,annotation:n.annotation};case"number":let b,v,w;return b=t.value,v=n.value,w=t.type,b===v?{type:w,action:"unchanged",fromValue:b,toValue:v,isChanged:!1}:{type:t.type,action:"changed",isChanged:!0,fromValue:b,toValue:v,annotation:n.annotation};case"string":let _,x;return _=t.value,_===(x=n.value)?{type:"string",action:"unchanged",isChanged:!1,fromValue:_,toValue:x,segments:[{type:"stringSegment",action:"unchanged",text:_}]}:{type:"string",action:"changed",isChanged:!0,fromValue:_,toValue:x,annotation:n.annotation,get segments(){return i(this,"segments",function(e,t){let n=[],i=(0,r.Vx)((0,r.iU)(e.value,t.value)),o=0,a=0;for(let[s,l]of i)switch(s){case r.lw:n.push({type:"stringSegment",action:"unchanged",text:l}),o+=l.length,a+=l.length;break;case r.Cm:for(let t of e.sliceAnnotation(o,o+l.length))n.push({type:"stringSegment",action:"removed",text:t.text,annotation:t.annotation});o+=l.length;break;case r.Ug:for(let e of t.sliceAnnotation(a,a+l.length))n.push({type:"stringSegment",action:"added",text:e.text,annotation:e.annotation});a+=l.length;break;default:throw Error(`Unhandled diff-match-patch operation "${s}"`)}return n}(t,n))}};case"array":if(t===n)return{type:"array",action:"unchanged",isChanged:!1,fromValue:t.value,toValue:n.value,get items(){let e=a(t,n,p);if(!e)throw Error("invariant broken: equivalent input, but diff detected");return i(this,"items",e)}};let k=u(t),E=u(n);if(k&&E)return function(e,t,n,r,i){var a,u;let c=[],p=!1;
4function g(i,o,a,s){l(t.index,i,o),l(r.index,i,a);let u=d(e.at(o),n.at(a));c.push({fromIndex:o,toIndex:a,hasMoved:s,diff:u,annotation:n.annotationAt(a)}),(u.isChanged||o!==a)&&(p=!0)}let m=function(e,t,n){let r=t.length,i=n.length,o={sequence:[],prevIndices:[],nextIndices:[]};for(;0!==r&&0!==i;)t[r-1]===n[i-1]?(o.sequence.unshift(t[r-1]),o.prevIndices.unshift(r-1),o.nextIndices.unshift(i-1),--r,--i):e[r][i-1]>e[r-1][i]?--i:--r;return o}(function(e,t){let n=e.length,r=t.length,i=0,o=0,a=Array(n+1);for(i=0;i<n+1;i++)for(a[i]=[r+1],o=0;o<r+1;o++)a[i][o]=0;for(i=1;i<n+1;i++)for(o=1;o<r+1;o++)e[i-1]===t[o-1]?a[i][o]=a[i-1][o-1]+1:a[i][o]=Math.max(a[i-1][o],a[i][o-1]);return a}(a=t.keys,u=r.keys),a,u);for(let n=0;n<t.keys.length;n++){let i=t.keys[n],o=m.prevIndices.indexOf(n);if(-1!==o){g(i,n,m.nextIndices[o],!1);continue}let a=r.index.get(i),s=a&&a.find(e=>!m.nextIndices.includes(e));if(void 0!==s){g(i,n,s,!0);continue}let l=e.at(n);c.push({fromIndex:n,toIndex:void 0,hasMoved:!1,diff:f(l,void 0),annotation:e.annotationAt(n)}),p=!0}for(let e of r.index.values()){for(let t of e){let e=n.at(t);c.push({fromIndex:void 0,toIndex:t,hasMoved:!1,diff:h(e,void 0),annotation:n.annotationAt(t)})}p=!0}return c.sort(s),o(e,n,c,p)}(t,k,n,E);let A=a(t,n,p);return A?o(t,n,A,!1):function(e,t,n){let r=[];for(let e=0;e<t.length;e++){let n=t.at(e);r.push({fromIndex:void 0,toIndex:e,hasMoved:!1,diff:h(n,void 0),annotation:n.annotation})}for(let t=0;t<e.length;t++){let n=e.at(t);r.push({fromIndex:t,toIndex:void 0,hasMoved:!1,diff:f(n,void 0),annotation:n.annotation})}return o(e,t,r,!0)}(t,n);case"object":return function(e,t,n){let r={},i=!1;for(let o of e.keys){if(c.has(o))continue;let a=e.get(o),s=t.get(o);if(s){let e=d(a,s,n);r[o]=e,e.isChanged&&(i=!0)}else r[o]=f(a,void 0),i=!0}for(let n of t.keys){if(c.has(n)||e.get(n))continue;let o=t.get(n);r[n]=h(o,void 0),i=!0}let o=e.value,a=t.value;return i?{type:"object",action:"changed",isChanged:!0,fromValue:o,toValue:a,fields:r,annotation:t.annotation}:{type:"object",action:"unchanged",isChanged:!1,fromValue:o,toValue:a,fields:r}}(t,n,p);default:throw Error(`Unhandled diff type "${e}"`)}}(e.type,e,t,n)}function f(e,t,n){switch(e.type){case"null":return{type:"null",action:"removed",isChanged:!0,fromValue:null,toValue:t,annotation:e.annotation};case"boolean":return{type:"boolean",action:"removed",isChanged:!0,fromValue:e.value,toValue:t,annotation:e.annotation};case"number":return{type:"number",action:"removed",isChanged:!0,fromValue:e.value,toValue:t,annotation:e.annotation};case"string":return{type:"string",action:"removed",isChanged:!0,fromValue:e.value,toValue:t,annotation:e.annotation,get segments(){return i(this,"segments",e.sliceAnnotation(0,e.value.length).map(e=>({type:"stringSegment",action:"removed",...e})))}};case"array":return{type:"array",action:"removed",isChanged:!0,fromValue:e.value,toValue:t,annotation:e.annotation,get items(){let t=[];for(let n=0;n<e.length;n++){let r=e.at(n);t.push({fromIndex:n,toIndex:void 0,hasMoved:!1,diff:f(r,void 0),annotation:e.annotationAt(n)})}return i(this,"items",t)}};case"object":return{type:"object",action:"removed",isChanged:!0,fromValue:e.value,toValue:t,annotation:e.annotation,get fields(){let t={};for(let n of e.keys){let r=e.get(n);t[n]=f(r,void 0)}return i(this,"fields",t)}};default:throw Error("Unhandled diff type")}}function h(e,t,n){switch(e.type){case"null":return{type:"null",action:"added",isChanged:!0,fromValue:t,toValue:null,annotation:e.annotation};case"boolean":return{type:"boolean",action:"added",isChanged:!0,fromValue:t,toValue:e.value,annotation:e.annotation};case"number":return{type:"number",action:"added",isChanged:!0,fromValue:t,toValue:e.value,annotation:e.annotation};case"string":return{type:"string",action:"added",isChanged:!0,fromValue:t,toValue:e.value,annotation:e.annotation,get segments(){return i(this,"segments",e.sliceAnnotation(0,e.value.length).map(e=>({type:"stringSegment",action:"added",...e})))}};case"array":return{type:"array",action:"added",isChanged:!0,fromValue:t,toValue:e.value,annotation:e.annotation,get items(){let t=[];for(let n=0;n<e.length;n++){let r=e.at(n);t.push({fromIndex:void 0,toIndex:n,hasMoved:!1,diff:h(r,void 0),annotation:e.annotationAt(n)})}return i(this,"items",t)}};case"object":return{type:"object",action:"added",isChanged:!0,fromValue:t,toValue:e.value,annotation:e.annotation,get fields(){let t={};for(let n of e.keys){let r=e.get(n);t[n]=h(r,void 0)}return i(this,"fields",t)}};default:throw Error("Unhandled diff type")}}class p{type="array";length;value;annotation;elements=[];constructor(e,t){this.annotation=t,this.value=e,this.length=e.length}at(e){if(e>=this.length)throw Error("out of bounds");return this.elements[e]||(this.elements[e]=b(this.value[e],this.annotation))}annotationAt(){return this.annotation}}class g{type;value;annotation;constructor(e,t,n){this.type=e,this.value=t,this.annotation=n}}class m{type="object";value;keys;annotation;fields={};constructor(e,t){this.value=function(e){return Object.fromEntries(Object.entries(e).filter(([,e])=>"u">typeof e))}(e),this.annotation=t,this.keys=Object.keys(this.value)}get(e){let t=this.fields[e];if(t)return t;if(!this.value.hasOwnProperty(e))return;let n=this.value[e];return this.fields[e]=b(n,this.annotation)}}class y{type="string";value;annotation;constructor(e,t){this.value=e,this.annotation=t}sliceAnnotation(e,t){return[{text:this.value.slice(e,t),annotation:this.annotation}]}}function b(e,t){if(Array.isArray(e))return new p(e,t);if(null===e)return new g("null",e,t);let n=typeof e;switch(n){case"number":case"boolean":return new g(n,e,t);case"object":return new m(e,t);case"string":return new y(e,t);default:throw Error(`cannot wrap value of type: ${n}`)}}}
4,25698:(e,t,n)=>{"use strict";n.d(t,{KU:()=>w,o5:()=>m,m6:()=>b,rm:()=>y,vn:()=>_,v4:()=>v});var r=n(14644),i=n(7463);function o(){return a(i.O),i.O}function a(e){let t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||r.M,t[r.M]=t[r.M]||{}}var s=n(34672),l=n(33860);class u{constructor(e,t){let n,r;n=e||new s.H,r=t||new s.H,this._stack=[{scope:n}],this._isolationScope=r}withScope(e){let t,n=this._pushScope();try{t=e(n)}catch(e){throw this._popScope(),e}return(0,l.Qg)(t)?t.then(e=>(this._popScope(),e),e=>{throw this._popScope(),e}):(this._popScope(),t)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){let e=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:e}),e}_popScope(){return!(this._stack.length<=1)&&!!this._stack.pop()}}function c(){let e=a(o());return e.stack=e.stack||new u((0,i.B)("defaultCurrentScope",()=>new s.H),(0,i.B)("defaultIsolationScope",()=>new s.H))}function d(e){return c().withScope(e)}function f(e,t){let n=c();return n.withScope(()=>(n.getStackTop().scope=e,t(e)))}function h(e){return c().withScope(()=>e(c().getIsolationScope()))}function p(e){let t=a(e);return t.acs?t.acs:{withIsolationScope:h,withScope:d,withSetScope:f,withSetIsolationScope:(e,t)=>h(t),getCurrentScope:()=>c().getScope(),getIsolationScope:()=>c().getIsolationScope()}}var g=n(2159);function m(){return p(o()).getCurrentScope()}function y(){return p(o()).getIsolationScope()}function b(){return(0,i.B)("globalScope",()=>new s.H)}function v(...e){let t=p(o());if(2===e.length){let[n,r]=e;return n?t.withSetScope(n,r):t.withScope(r)}return t.withScope(e[0])}function w(){return m().getClient()}function _(e){let{traceId:t,spanId:n,parentSpanId:r}=e.getPropagationContext();return(0,g.Ce)({trace_id:t,span_id:n,parent_span_id:r})}},25775:(e,t,n)=>{var r=n(80585),i=n(56726),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols;e.exports=a?function(e){return null==e?[]:r(a(e=Object(e)),function(t){return o.call(e,t)})}:i},25910:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});let r=function(e,t){for(var n,r=-1,i=e.length;++r<i;){var o=t(e[r]);void 0!==o&&(n=void 0===n?o:n+o)}return n};var i=n(79800);let o=function(e){return e&&e.length?r(e,i.A):0}},26040:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}},26456:(e,t,n)=>{var r="function"==typeof Map&&Map.prototype,i=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=r&&i&&"function"==typeof i.get?i.get:null,a=r&&Map.prototype.forEach,s="function"==typeof Set&&Set.prototype,l=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=s&&l&&"function"==typeof l.get?l.get:null,c=s&&Set.prototype.forEach,d="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,f="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,h="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,p=Boolean.prototype.valueOf,g=Object.prototype.toString,m=Function.prototype.toString,y=String.prototype.match,b=String.prototype.slice,v=String.prototype.replace,w=String.prototype.toUpperCase,_=String.prototype.toLowerCase,x=RegExp.prototype.test,k=Array.prototype.concat,E=Array.prototype.join,A=Array.prototype.slice,S=Math.floor,C="function"==typeof BigInt?BigInt.prototype.valueOf:null,O=Object.getOwnPropertySymbols,T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,D="function"==typeof Symbol&&"object"==typeof Symbol.iterator,I="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===D?"object":"symbol")?Symbol.toStringTag:null,R=Object.prototype.propertyIsEnumerable,j=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function N(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||x.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var r=e<0?-S(-e):S(e);if(r!==e){var i=String(r),o=b.call(t,i.length+1);return v.call(i,n,"$&_")+"."+v.call(v.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return v.call(t,n,"$&_")}
4var M=n(42634),F=M.custom,$=q(F)?F:null,L={__proto__:null,double:'"',single:"'"},P={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};function z(e,t,n){var r=L[n.quoteStyle||t];return r+e+r}function U(e){return!I||!("object"==typeof e&&(I in e||void 0!==e[I]))}function B(e){return"[object Array]"===W(e)&&U(e)}function H(e){return"[object RegExp]"===W(e)&&U(e)}function q(e){if(D)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!T)return!1;try{return T.call(e),!0}catch(e){}return!1}e.exports=function e(t,r,i,s){var l,g,w,x,S,O=r||{};if(G(O,"quoteStyle")&&!G(L,O.quoteStyle))throw TypeError('option "quoteStyle" must be "single" or "double"');if(G(O,"maxStringLength")&&("number"==typeof O.maxStringLength?O.maxStringLength<0&&O.maxStringLength!==1/0:null!==O.maxStringLength))throw TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var F=!G(O,"customInspect")||O.customInspect;if("boolean"!=typeof F&&"symbol"!==F)throw TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(G(O,"indent")&&null!==O.indent&&"	"!==O.indent&&!(parseInt(O.indent,10)===O.indent&&O.indent>0))throw TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(G(O,"numericSeparator")&&"boolean"!=typeof O.numericSeparator)throw TypeError('option "numericSeparator", if provided, must be `true` or `false`');var V=O.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return function e(t,n){if(t.length>n.maxStringLength){var r=t.length-n.maxStringLength;return e(b.call(t,0,n.maxStringLength),n)+("... "+r)+" more character"+(r>1?"s":"")}var i=P[n.quoteStyle||"single"];return i.lastIndex=0,z(v.call(v.call(t,i,"\\$1"),/[\x00-\x1f]/g,K),"single",n)}(t,O);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var et=String(t);return V?N(t,et):et}if("bigint"==typeof t){var en=String(t)+"n";return V?N(t,en):en}var er=void 0===O.depth?5:O.depth;if(void 0===i&&(i=0),i>=er&&er>0&&"object"==typeof t)return B(t)?"[Array]":"[Object]";var ei=function(e,t){var n;if("	"===e.indent)n="	";else{if("number"!=typeof e.indent||!(e.indent>0))return null;n=E.call(Array(e.indent+1)," ")}return{base:n,prev:E.call(Array(t+1),n)}}(O,i);if(void 0===s)s=[];else if(Y(s,t)>=0)return"[Circular]";function eo(t,n,r){if(n&&(s=A.call(s)).push(n),r){var o={depth:O.depth};return G(O,"quoteStyle")&&(o.quoteStyle=O.quoteStyle),e(t,o,i+1,s)}return e(t,O,i+1,s)}if("function"==typeof t&&!H(t)){var ea=function(e){if(e.name)return e.name;var t=y.call(m.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),es=ee(t,eo);return"[Function"+(ea?": "+ea:" (anonymous)")+"]"+(es.length>0?" { "+E.call(es,", ")+" }":"")}if(q(t)){var el=D?v.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):T.call(t);return"object"!=typeof t||D?el:Z(el)}if((eu=t)&&"object"==typeof eu&&("u">typeof HTMLElement&&eu instanceof HTMLElement||"string"==typeof eu.nodeName&&"function"==typeof eu.getAttribute)){for(var eu,ec,ed="<"+_.call(String(t.nodeName)),ef=t.attributes||[],eh=0;eh<ef.length;eh++){ed+=" "+ef[eh].name+"="+z((ec=ef[eh].value,v.call(String(ec),/"/g,"&quot;")),"double",O)}return ed+=">",t.childNodes&&t.childNodes.length&&(ed+="..."),ed+="</"+_.call(String(t.nodeName))+">"}if(B(t)){if(0===t.length)return"[]";var ep=ee(t,eo);return ei&&!function(e){for(var t=0;t<e.length;t++)if(Y(e[t],"\n")>=0)return!1;return!0}(ep)?"["+Q(ep,ei)+"]":"[ "+E.call(ep,", ")+" ]"}if("[object Error]"===W(l=t)&&U(l)){var eg=ee(t,eo);return"cause"in Error.prototype||!("cause"in t)||R.call(t,"cause")?0===eg.length?"["+String(t)+"]":"{ ["+String(t)+"] "+E.call(eg,", ")+" }":"{ ["+String(t)+"] "+E.call(k.call("[cause]: "+eo(t.cause),eg),", ")+" }"}if("object"==typeof t&&F){if($&&"function"==typeof t[$]&&M)return M(t,{depth:er-i});else if("symbol"!==F&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!o||!e||"object"!=typeof e)return!1;try{o.call(e);try{u.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var em=[];return a&&a.call(t,function(e,n){em.push(eo(n,t,!0)+" => "+eo(e,t))}),J("Map",o.call(t),em,ei)}if(function(e){if(!u||!e||"object"!=typeof e)return!1;try{u.call(e);try{o.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var ey=[];return c&&c.call(t,function(e){ey.push(eo(e,t))}),J("Set",u.call(t),ey,ei)}if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{d.call(e,d);try{f.call(e,f)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return X("WeakMap");if(function(e){if(!f||!e||"object"!=typeof e)return!1;try{f.call(e,f);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return X("WeakSet");if(function(e){if(!h||!e||"object"!=typeof e)return!1;try{return h.call(e),!0}catch(e){}return!1}(t))return X("WeakRef");if("[object Number]"===W(g=t)&&U(g))return Z(eo(Number(t)));if(function(e){if(!e||"object"!=typeof e||!C)return!1;try{return C.call(e),!0}catch(e){}return!1}(t))return Z(eo(C.call(t)));if("[object Boolean]"===W(w=t)&&U(w))return Z(p.call(t));if("[object String]"===W(x=t)&&U(x))return Z(eo(String(t)));if("u">typeof window&&t===window)return"{ [object Window] }";if("u">typeof globalThis&&t===globalThis||void 0!==n.g&&t===n.g)return"{ [object globalThis] }";if(!("[object Date]"===W(S=t)&&U(S))&&!H(t)){var eb=ee(t,eo),ev=j?j(t)===Object.prototype:t instanceof Object||t.constructor===Object,ew=t instanceof Object?"":"null prototype",e_=!ev&&I&&Object(t)===t&&I in t?b.call(W(t),8,-1):ew?"Object":"",ex=(ev||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(e_||ew?"["+E.call(k.
4call([],e_||[],ew||[]),": ")+"] ":"");return 0===eb.length?ex+"{}":ei?ex+"{"+Q(eb,ei)+"}":ex+"{ "+E.call(eb,", ")+" }"}return String(t)};var V=Object.prototype.hasOwnProperty||function(e){return e in this};function G(e,t){return V.call(e,t)}function W(e){return g.call(e)}function Y(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return -1}function K(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+w.call(t.toString(16))}function Z(e){return"Object("+e+")"}function X(e){return e+" { ? }"}function J(e,t,n,r){return e+" ("+t+") {"+(r?Q(n,r):E.call(n,", "))+"}"}function Q(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+E.call(e,","+n)+"\n"+t.prev}function ee(e,t){var n,r=B(e),i=[];if(r){i.length=e.length;for(var o=0;o<e.length;o++)i[o]=G(e,o)?t(e[o],e):""}var a="function"==typeof O?O(e):[];if(D){n={};for(var s=0;s<a.length;s++)n["$"+a[s]]=a[s]}for(var l in e)if(G(e,l)&&(!r||String(Number(l))!==l||!(l<e.length)))if(D&&n["$"+l]instanceof Symbol)continue;else x.call(/[^\w$]/,l)?i.push(t(l,e)+": "+t(e[l],e)):i.push(l+": "+t(e[l],e));if("function"==typeof O)for(var u=0;u<a.length;u++)R.call(e,a[u])&&i.push("["+t(a[u])+"]: "+t(e[a[u]],e));return i}},26612:(e,t,n)=>{"use strict";n.d(t,{H:()=>a});var r=n(77989),i=n(91993),o=n(92477);function a(e,t){let n,a,y=()=>(0,i.w)(t?.in,NaN),b=t?.additionalDigits??2,v=function(e){let t,n={},r=e.split(s);if(r.length>2)return n;if(/:/.test(r[0])?t=r[0]:(n.date=r[0],t=r[1],l.test(n.date)&&(n.date=e.split(l)[0],t=e.substr(n.date.length,e.length))),t){let e=u.exec(t);e?(n.time=t.replace(e[1],""),n.timezone=e[1]):n.time=t}return n}(e);if(v.date){let e=function(e,t){let n=RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),r=e.match(n);if(!r)return{year:NaN,restDateString:""};let i=r[1]?parseInt(r[1]):null,o=r[2]?parseInt(r[2]):null;return{year:null===o?i:100*o,restDateString:e.slice((r[1]||r[2]).length)}}(v.date,b);n=function(e,t){var n,r,i,o,a,s,l,u,d,f;if(null===t)return new Date(NaN);let p=e.match(c);if(!p)return new Date(NaN);let y=!!p[4],b=h(p[1]),v=h(p[2])-1,w=h(p[3]),_=h(p[4]),x=h(p[5])-1;if(y){let e,s;return(n=_,r=x,n>=1&&n<=53&&r>=0&&r<=6)?(i=t,o=_,a=x,(e=new Date(0)).setUTCFullYear(i,0,4),s=e.getUTCDay()||7,e.setUTCDate(e.getUTCDate()+((o-1)*7+a+1-s)),e):new Date(NaN)}{let e=new Date(0);return(s=t,l=v,u=w,l>=0&&l<=11&&u>=1&&u<=(g[l]||(m(s)?29:28))&&(d=t,(f=b)>=1&&f<=(m(d)?366:365)))?(e.setUTCFullYear(t,v,Math.max(b,w)),e):new Date(NaN)}}(e.restDateString,e.year)}if(!n||isNaN(+n))return y();let w=+n,_=0;if(v.time&&isNaN(_=function(e){var t,n,i;let o=e.match(d);if(!o)return NaN;let a=p(o[1]),s=p(o[2]),l=p(o[3]);return(t=a,n=s,i=l,24===t?0===n&&0===i:i>=0&&i<60&&n>=0&&n<60&&t>=0&&t<25)?a*r.s0+s*r.Cg+1e3*l:NaN}(v.time)))return y();if(v.timezone){if(isNaN(a=function(e){var t;if("Z"===e)return 0;let n=e.match(f);if(!n)return 0;let i="+"===n[1]?-1:1,o=parseInt(n[2]),a=n[3]&&parseInt(n[3])||0;return(t=a)>=0&&t<=59?i*(o*r.s0+a*r.Cg):NaN}(v.timezone)))return y()}else{let e=new Date(w+_),n=(0,o.a)(0,t?.in);return n.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),n.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),n}return(0,o.a)(w+_+a,t?.in)}let s=/[T ]/,l=/[Z ]/i,u=/([Z+-].*)$/,c=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,d=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,f=/^([+-])(\d{2})(?::?(\d{2}))?$/;function h(e){return e?parseInt(e):1}function p(e){return e&&parseFloat(e.replace(",","."))||0}let g=[31,null,31,30,31,30,31,31,30,31,30,31];function m(e){return e%400==0||e%4==0&&e%100!=0}},26652:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(79800),i=n(65537),o=n(93148);let a=function(e,t){return(0,o.A)((0,i.A)(e,t,r.A),e+"")}},26744:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(24286),i=n(86808);let o=function(e){return(0,i.A)((0,r.A)(e).toLowerCase())}},26805:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=/^(?:0|[1-9]\d*)$/;let i=function(e,t){var n=typeof e;return!!(t=null==t?0x1fffffffffffff:t)&&("number"==n||"symbol"!=n&&r.test(e))&&e>-1&&e%1==0&&e<t}},26847:(e,t,n)=>{"use strict";n.d(t,{yL:()=>T,ab:()=>el,kH:()=>O,jO:()=>tn,Sj:()=>e8});var r=n(75400),i=n(68585),o=n(35821),a=n(5184),s=n(16418);let l=function(e){return void 0===e};var u=n(66702),c=n(71097),d=n(26744),f=n(7866),h=n(72157),p=n(12602),g=n(41783),m=n(92459),y=n(38374),b=n(20984),v=n(30253),w=n(24286),_=n(60430),x=n(96901),k=n(18308);let E=function(e,t){return(0,x.A)(((0,m.A)(e)?p.A:k.A)(e,(0,o.A)(t,3)),1)};var A=n(12368),S=n(42165);let C=["jsonType","type","name","title","description","options","fieldsets","validation","readOnly","hidden","components","diffComponent","initialValue","deprecated"],O="_internal_ownProps",T="all-fields";function D(e,t,n,r={}){return Object.defineProperty(e,t,{configurable:!0,enumerable:!1!==r.enumerable,get(){let i=n();return Object.defineProperty(e,t,{value:i,writable:!!r.writable,configurable:!1}),i}}),e}function I(e,t,n){Object.defineProperty(e,t,{enumerable:!1,writable:!1,
4configurable:!1,value:n})}let R=[...C],j={name:"any",type:null,jsonType:"any"},N=[...C],M={name:"array",type:null,jsonType:"array",of:[]},F={maxEntries:2,maxDepth:2,maxBreadth:2,ignoreKeys:["_id","_type","_key","_ref"]};function $(e){return"array"===e.type&&e.of&&e.of.some(e=>"block"===e.type)||!1}let L=["title","name","label","heading","header","caption"],P=["description",...L];function z(e,t){return S(e.to||[]).some(e=>e.type===t)}function U(e){return z(e,"sanity.imageAsset")}function B(e){return z(e,"sanity.fileAsset")}function H(e){return function(){let t;return e.options&&e.options.preview&&console.warn(`Heads up! The preview config is no longer defined on "options", but instead on the type/field itself.
5Please move {options: {preview: ...}} to {..., preview: ...} on the type/field definition of "${e.name}".
6`),(t=e.preview||(e.options||{}).preview)&&"fields"in t&&console.warn(`Heads up! "preview.fields" should be renamed to "preview.select". Please update the preview config for "${e.name}".
7`),function(e){if(!e)return e;let t=e.select||e.fields||{};return Array.isArray(t)?{...(0,i.A)(e,["prepare","component"]),select:t.reduce((e,t)=>(e[t]=t,e),{})}:{...(0,i.A)(e,["prepare","component"]),select:t}}(e.preview||(e.options||{}).preview)||function(e){var t;let n={fields:[],...e},r=n.fields.filter(e=>"string"===e.type).map(e=>e.name),u=n.fields.filter($).map(e=>e.name),c=L.find(e=>r.includes(e)||u.includes(e)),d=P.find(e=>e!==c&&(r.includes(e)||u.includes(e)));c||(c=r[0]||u[0],d=r[1]||u[1]);let f=n.fields.find(e=>"image"===e.type),h=function(e){let t=e.fields||[],n=t.find(U);if(n)return n.name;let r=t.find(e=>(e.fields||[]).some(U));return r?`${r.name}.asset`:void 0}(n);if(!c){let e=function(e){let t=e.fields||[],n=t.find(B);if(n)return n.name;let r=t.find(e=>(e.fields||[]).some(B));return r?`${r.name}.asset`:void 0}(n);e&&(c=`${e}.originalFilename`),h&&(c=`${h}.originalFilename`)}if(!c&&!h){let e=n.fields.map(e=>e.name);return{select:e.reduce((e,t)=>(e[t]=t,e),{}),prepare:t=>({title:function(e,t={}){return function e(t,n,r){if(r>n.maxDepth)return"...";if(Array.isArray(t)){if(0===t.length)return"[empty]";let i=Math.max(t.length-n.maxBreadth),o=t.slice(0,n.maxBreadth).map((t,i)=>e(t,n,r+1)).concat(i>0?`\u2026+${i}`:[]).join(", ");return 0===r?o:`[${o}]`}if("object"==typeof t&&null!==t){let o=Object.keys(t).filter(e=>!n.ignoreKeys.includes(e)&&"u">typeof t[e]);if(function(e){for(let t in e)if(e.hasOwnProperty(t))return!1;return!0}((0,i.A)(t,o)))return"{empty}";let a=o.slice(0,n.maxBreadth).map(i=>`${i}: ${e(t[i],n,r+1)}`).join(", ");return 0===r?a:`{${a}}`}let o=String(t);return""===o?'""':o}(e,{maxDepth:"maxDepth"in t?t.maxDepth:2,maxBreadth:"maxBreadth"in t?t.max
7Breadth:2,ignoreKeys:"ignoreKeys"in t?t.ignoreKeys:[]},0)}((0,i.A)(t,e),F)})}}return{select:(t={title:c,description:d,media:f?f.name:h},(0,s.A)(t,(0,a.A)((0,o.A)(l))))}}(e)}}let q={type:"text",name:"text",title:"Text"},V={name:"marks",type:"array",of:[{type:"string"}],title:"Marks"},G=[{title:"Bulleted list",value:"bullet",i18nTitleKey:"inputs.portable-text.list-type.bullet"},{title:"Numbered list",value:"number",i18nTitleKey:"inputs.portable-text.list-type.number"}],W={title:"Normal",value:"normal",i18nTitleKey:"inputs.portable-text.style.normal"},Y=[W,{title:"Heading 1",value:"h1",i18nTitleKey:"inputs.portable-text.style.h1"},{title:"Heading 2",value:"h2",i18nTitleKey:"inputs.portable-text.style.h2"},{title:"Heading 3",value:"h3",i18nTitleKey:"inputs.portable-text.style.h3"},{title:"Heading 4",value:"h4",i18nTitleKey:"inputs.portable-text.style.h4"},{title:"Heading 5",value:"h5",i18nTitleKey:"inputs.portable-text.style.h5"},{title:"Heading 6",value:"h6",i18nTitleKey:"inputs.portable-text.style.h6"},{title:"Quote",value:"blockquote",i18nTitleKey:"inputs.portable-text.style.quote"}],K=[{title:"Strong",value:"strong",i18nTitleKey:"inputs.portable-text.decorator.strong"},{title:"Italic",value:"em",i18nTitleKey:"inputs.portable-text.decorator.emphasis"},{title:"Code",value:"code",i18nTitleKey:"inputs.portable-text.decorator.code"},{title:"Underline",value:"underline",i18nTitleKey:"inputs.portable-text.decorator.underline"},{title:"Strike",value:"strike-through",i18nTitleKey:"inputs.portable-text.decorator.strike-through"}],Z=[{type:"object",name:"link",title:"Link",i18nTitleKey:"inputs.portable-text.annotation.link",options:{modal:{type:"popover"}},fields:[{name:"href",type:"url",title:"Link",description:"A valid web, email, phone, or relative link.",validation:e=>e.uri({scheme:["http","https","tel","mailto"],allowRelative:!0})}]}],X=["type","name","title","jsonType","description","options","fieldsets","icon"],J={name:"block",title:"Block",type:null,jsonType:"object"},Q={},ee=["type","name","title","jsonType","description","options","fieldsets","icon"],et={name:"span",title:"Span",type:null,jsonType:"object"},en={name:"marks",title:"Marks",type:"array",of:[{type:"string"}]},er={name:"text",title:"Text",type:"string"},ei={};var eo={prepare:e=>({title:String(e)})};let ea=[...C],es={name:"boolean",title:"Boolean",type:null,jsonType:"boolean"},el=5,eu={},ec=e=>(eu[e]||(eu[e]=Symbol(`__cachedStringFields_${e}`)),eu[e]),ed=["style","list"],ef=e=>"block"===e.name||e.type&&ef(e.type);function eh(e,t,n,r=[],i){var o,a,s,l,u,c,d,f,h,p;let g;if(i<0)return n;let m=t(n,e,r);return"array"===e.jsonType&&Array.isArray(e.of)?(o=e,a=t,s=m,l=r,u=i,o.of.reduce((e,t)=>eh(t,a,e,l,u-1),s)):"object"===e.jsonType&&Array.isArray(e.fields)&&!(e.type&&"reference"===e.type.name)?(c=e,d=t,f=m,h=r,p=i,g=ef(c),c.fields.reduce((e,t)=>{if(g&&ed.includes(t.name))return e;let n=[t.name].concat("array"===t.type.jsonType?[[]]:[]);return eh(t.type,d,e,h.concat(n),p-1)},f)):m}let ep=[{weight:1,path:["_id"]},{weight:1,path:["_type"]}],eg={title:10,subtitle:5,description:1.5};function em(e,t){let n=e?.preview?.select;if(!n)return[];let r=[];for(let e of Object.keys(n)){if(!(e in eg))continue;let i=n[e].split(".");t>-1&&i.length-1>t||r.push({weight:eg[e],path:i})}return r}function ey(e){return!(0,c.A)(e)||e<1||e>el?el-1:e-1}let eb=[{name:"_ref",title:"Referenced document ID",type:"string"},{name:"_weak",title:"Weak reference marker",type:"boolean"},{name:"_dataset",title:"Target dataset",type:"string"},{name:"_projectId",title:"Target project ID",type:"string",hidden:!0}],ev=[...C],ew={name:"crossDatasetReference",type:null,jsonType:"object"},e_=[...C],ex={name:"date",title:"Datetime",type:null,jsonType:"string"},ek=[...C],eE={name:"datetime",title:"Datetime",type:null,jsonType:"string"},eA=["title","name","label","heading","header","caption","description"],eS=["string","boolean","number"],eC=e=>eS.includes(e.type);function eO(e){if(!Array.isArray(e))throw Error("The search config of a document type must be an array of search config objects");return e.map(e=>{var t;if("defaults"===e)return e;if(!(0,h.A)(e))throw Error("Search config must be an object of {path: string, weight: number}");return{weight:"weight"in e?e.weight:1,path:(t=e.path,(0,m.A)(t)?(0,p.A)(t,v.A):(0,y.A)(t)?[t]:(0,g.A)((0,b.A)((0,w.A)(t)))),mapWith:"str
7ing"==typeof e.mapWith?e.mapWith:void 0}})}let eT=[...C,"orderings","__experimental_search","blockEditor","icon"],eD={get:()=>({name:"object",title:"Object",type:null,jsonType:"object"}),extend(e,t){let n,r={fields:[],...e},o={...r.options},a={...r,title:r.title||(r.name?(0,f.A)(r.name):"Object"),options:o,orderings:r.orderings||(0===(n=eA.filter(e=>r.fields.some(t=>eC(t)&&t.name===e))).length&&(n=r.fields.filter(eC).map(e=>e.name)),n.map(e=>({name:e,i18n:{title:{key:`default-orderings.${e}`,ns:"studio"}},title:(0,d.A)((0,f.A)(e)),by:[{field:e,direction:"asc"}]}))),fields:r.fields.map(e=>t.cachedObjectField(e))},s=Object.assign((0,i.A)(this.get(),eT),a,{type:this.get()});return D(s,"fieldsets",()=>eI(r,s.fields)),D(s,"groups",()=>(function(e,t){let n={},r=0;for(let t of e.groups||[]){if(n[t.name])throw Error(`Duplicate group name "${t.name}" found for type '${e.title?e.title:(0,f.A)(e.name)}'`);if(n[t.name]={title:(0,f.A)(t.name),...t,fields:[]},t.default&&++r>1)throw Error(`More than one field group defined as default for type '${e.title?e.title:(0,f.A)(e.name)}' - only 1 is supported`)}return t.forEach(t=>{let r=(0,_.A)(t.group||[]);0!==r.length&&r.forEach(r=>{let i=n[r];if(!i)throw Error(`Field group '${r}' is not defined in schema for type '${e.title?e.name:(0,f.A)(e.name)}'`);i.fields.push(t)})}),E(n).filter(e=>e.fields.length>0||e.name===T)})(r,s.fields)),D(s,"preview",H(r)),D(s,O,()=>({...a,preview:s.preview}),{enumerable:!1,writable:!1}),D(s,"__experimental_search",()=>{var e;let t,n=r.__experimental_search?eO(r.__experimental_search):null;return n?n.map(e=>"defaults"===e?eO(r):e):(s[t=ec(e=ey(void 0))]||(s[t]=(0,u.A)([...ep,...em(s,e),...eh(s,(e,t,n)=>"string"===t.jsonType?[...e,n]:e,[],[],e).map(e=>({weight:1,path:e})),...eh(s,(e,t,n)=>"array"===t.jsonType&&Array.isArray(t.of)&&t.of.some(ef)?[...e,n]:e,[],[],e).map(e=>({weight:1,path:e,mapWith:"pt::text"}))],e=>e.path.join("."))),s[t])},{enumerable:!1}),function e(t){return{get:()=>t,extend:n=>{if(n.fields)throw Error('Cannot override `fields` of subtypes of "object"');let o=(0,i.A)(n,eT);o.title=n.title||r.title||(r.name?(0,f.A)(r.name):"Object");let a=Object.assign({},t,(0,i.A)(n,eT),{type:t});return D(a,"__experimental_search",()=>t.__experimental_search),I(a,O,o),e(a)}}}(s)}};function eI(e,t){let n={};for(let t of e.fieldsets||[]){if(n[t.name])throw Error(`Duplicate fieldset name "${t.name}" found for type '${e.title?e.title:(0,f.A)(e.name)}'`);n[t.name]={title:(0,f.A)(t.name),...t,fields:[]}}let r=new Set;for(let i of t){if(!i.fieldset){r.add({single:!0,field:i});continue}let t=n[i.fieldset];if(!t)throw Error(`Fieldset '${i.fieldset}' is not defined in schema for type '${e.name}'`);t.fields.push(i),r.add(t)}return Array.from(r)}let eR={name:"document",title:"Document",type:null,jsonType:"object"},ej={get:()=>eR,extend:eD.extend},eN=[...C],eM={name:"email",title:"Email",type:null,jsonType:"string"};D(eM,O,()=>({...eM,validation:e=>e.email()}),{enumerable:!1});let eF={name:"asset",type:"reference",to:{type:"sanity.fileAsset"}},e$={name:"media",type:"globalDocumentReference",hidden:!0,to:[{type:"sanity.asset"}]},eL=[...C],eP={name:"file",title:"File",type:null,jsonType:"object"},ez={accept:""},eU=[{name:"_ref",title:"Referenced document ID",type:"string"},{name:"_weak",title:"Weak reference",type:"boolean"}],eB=[...C],eH={name:"globalDocumentReference",title:"Global Document Reference",type:null,jsonType:"object"},eq={name:"asset",type:"reference",to:[{type:"sanity.imageAsset"}]},eV={name:"hotspot",type:"sanity.imageHotspot"},eG={name:"crop",type:"sanity.imageCrop"},eW={name:"media",type:"globalDocumentReference",hidden:!0,to:[{type:"sanity.asset"}]},eY=[...C],eK={name:"image",title:"Image",type:null,jsonType:"object"},eZ={},eX=[...C],eJ={name:"number",title:"Number",type:null,jsonType:"number"},eQ=[{name:"_ref",title:"Referenced document ID",type:"string"},{name:"_weak",title:"Weak reference",type:"boolean"}],e0=[...C],e1={name:"reference",title:"Reference",type:null,jsonType:"object"},e2=[...C],e5={name:"string",title:"String",type:null,jsonType:"string"},e3=[...C,"rows"],e4={name:"text",title:"Text",type:null,jsonType:"string"},e6=[...C],e9={name:"url",title:"Url",type:null,jsonType:"string"};var e7=Object.freeze({__proto__:null,any:{get:()=>j,extend(e,t){let n={...e,of:e.of.map(e=>({name:e.name,type:t((0,r.A)(e,"name"))}))},o=Object.assign((0,i.A)(j,R),n,{type:j});return I(o,O,n),function e(t){return{get:()=>t,extend:n=>{if(n.of)throw Error('Cannot override `of` property of subtypes of "array"');let r=(0,i.A)(n,R),o=Object.assign({},t,r,{type:t});return I(o,O,r),e(o)}}}(o)}},array:{get:()=>M,extend(e,t){let n=Object.assign((0,i.A)(M,N),e,{type:M});return D(n,"of",()=>e.of.map(e=>t.cached(e))),D(n,O,()=>({...e,of:n.of}),{enumerable:!1,writable:!1}),function e(t){return{get:()=>t,extend:n=>{if(n.of)throw Error('Cannot override `of` property of subtypes of "array"');let r=(0,i.A)(n,N),o=Object.assign({},t,r,{type:t});return I(o,O,r),e(o)}}}(n)}},block:{get:()=>J,extend(e,t){var n;let r={...e.options||Q},{marks:o,styles:a,lists:s,of:l,...u}=e,c=[function(e,t=[]){return{name:"children",title:"Content",type:"array",of:[{type:"span",fields:[q,V],annotations:e&&e.annotations?e.annotations:Z,decorators:e&&e.decorators?e.decorators:K},...t.filter(e=>"span"!==e.type)]}}(o,l),{name:"style",title:"Style",type:"string",options:{list:(n=a||Y).some(e=>"normal"===e.value)?n:[W,...n]}},{name:"listItem",title:"List type",type:"string",options:{list:s||G}},{name:"markDefs",title:"Mark definitions",type:"array",of:o?.annotations||Z},{name:"level",title:"Indentation",type:"number"}].concat(e.fields||[]),d={...u,options:r},f=Object.assign((0,i.A)(J,X),d,{type:J});return D(f,"fields",()=>c.map(e=>t.cachedField(e))),D(f,"preview",H(e)),D(f,O,()=>({...d,fields:f.fields,preview:f.preview}),{enumerable:!1,writable:!1}),function e(t){return{get:()=>t,extend:n=>{if(n.fields)throw Error('Cannot override `fields` of subtypes of "block"');let r=(0,i.A)(n,X),o=Object.assign({},t,r,{type:t});return I(o,O,r),e(o)}}}(f)}},boolean:{get:()=>es,extend(e){let t={...e,preview:eo},n=Object.assign((0,i.A)(es,ea),t,{type:es});return I(n,O,t),function e(t){return{get:()=>t,extend:n=>{let r=(0,i.A)(n,ea),o=Object.assign({},t,r,{type:t});return I(o,O,r),e(o)}}}(n)}},crossDatasetReference:{get:()=>ew,extend(e,t){if(!e.to)throw Error(`Missing "to" field in cross dataset reference definition. Check the type ${e.name}`);let n=Object.assign((0,i.A)(ew,ev),e,{type:ew});return D(n,"fields",()=>eb.map(e=>t.cachedField(e))),D(n,"to",()=>S(e.to).map(e=>{var t;let n;return{...e,__experimental_search:(e[n=ec(t=ey(void 0))]||(e[n]=(0,u.A)([...ep,...em(e,t)],e=>e.path.join("."))),e[n])}})),D(n,"title",()=>e.title||(n.to&&0!==n.to.length?`Cross dataset reference to ${(function(e,t){let n=e.length;if(1===n)return e[0];let r=e.slice(0,n-1),i=e[n-1];return`${r.join(", ")} or ${i}`})(S(n.to).map(e=>e.title||(0,d.A)(e.type)),0).toLowerCase()}`:"Cross dataset Reference")),D(n,O,()=>({...e,fields:n.fields,to:n.to,title:n.title}),{enumerable:!1,writable:!1}),function e(t){return{get:()=>t,extend:n=>{if(n.of)throw Error('Cannot override `of` of subtypes of "reference"');let r=(0,i.A)(n,ev),o=Object.assign({},t,r,{type:t});return I(o,O,r),e(o)}}}(n)}},date:{get:()=>ex,extend(e){let t={...e,preview:eo},n=Object.assign((0,i.A)(ex,e_),t,{type:ex});return I(n,O,t),function e(t){return{get:()=>t,extend:n=>{let r=(0,i.A)(n,e_),o=Object.assign({},t,r,{type:t});return I(o,O,r),e(o)}}}(n)}},datetime:{get:()=>eE,extend(e){let t={...e,preview:eo},n=Object.assign((0,i.A)(eE,ek),t,{type:eE});return I(n,O,t),function e(t){return{get:()=>t,extend:n=>{let r=(0,i.A)(n,ek),o=Object.assign({},t,r,{type:t});return I(o,O,r),e(o)}}}(n)}},document:ej,email:{get:()=>eM,extend(e){let t={...e,preview:eo},n=Object.assign((0,i.A)(eM,eN),t,{type:eM});return I(n,O,t),function e(t){return{get:()=>t,extend:n=>{let r=(0,i.A)(n,eN),o=Object.assign({},t,r,{type:t});return I(o,O,r),e(o)}}}(n)}},file:{get:()=>eP,extend(e,t){let n={...e.options||ez},r=[eF,e$,...e.fields||[]],o={...e,fields:r},a=Object.assign((0,i.A)(eP,eL),o,{type:eP,title:o.title||(o.name?(0,f.A)(o.name):eP.title),options:n,fields:o.fields.map(n=>{let{name:r,fieldset:i,...o}=n;
7return D({name:r,fieldset:i,isCustomized:!!e.fields},"type",()=>t({...o,title:n.title||(0,f.A)(r)}))})});return D(a,"fieldsets",()=>eI(o,a.fields)),D(a,"preview",H(Object.assign({},o,{fields:r}))),D(a,O,()=>({...o,options:n,fields:a.fields,title:a.title,fieldsets:a.fieldsets,preview:a.preview}),{enumerable:!1,writable:!1}),function e(t){return{get:()=>t,extend:n=>{if(n.fields)throw Error('Cannot override `fields` of subtypes of "file"');let r=(0,i.A)(n,eL),o=Object.assign({},t,r,{type:t});return I(o,O,r),e(o)}}}(a)}},globalDocumentReference:{get:()=>eH,extend(e,t){if(!e.to)throw Error(`Missing "to" field in global document reference definition. Check the type ${e.name}`);let n=Object.assign((0,i.A)(eH,eB),e,{type:eH});return D(n,"fields",()=>eU.map(e=>t.cachedField(e))),D(n,"to",()=>S(e.to).map(e=>({...e}))),D(n,"title",()=>e.title||(n.to&&0!==n.to.length?`Global Document Reference to ${(function(e,t){let n=e.length;if(1===n)return e[0];let r=e.slice(0,n-1),i=e[n-1];return`${r.join(", ")} or ${i}`})(S(n.to).map(e=>e.title),0).toLowerCase()}`:"Global Document Reference")),D(n,O,()=>({...e,fields:n.fields,to:n.to,title:n.title}),{enumerable:!1,writable:!1}),function e(t){return{get:()=>t,extend:n=>{if(n.of)throw Error('Cannot override `of` of subtypes of "globalDocumentReference"');let r=(0,i.A)(n,eB),o=Object.assign({},t,r,{type:t});return I(o,O,r),e(o)}}}(n)}},image:{get:()=>eK,extend(e,t){let n={...e.options||eZ},r=[eV,eG];n.hotspot||(r=r.map(e=>({...e,hidden:!0})));let o=[eq,eW,...r,...e.fields||[]],a={...e,fields:o},s=Object.assign((0,i.A)(this.get(),eY),a,{type:eK,title:a.title||(a.name?(0,f.A)(a.name):eK.title),options:n,fields:a.fields.map(n=>{let{name:r,fieldset:i,...o}=n;
7return D({name:r,fieldset:i,isCustomized:!!e.fields},"type",()=>t({...o,title:n.title||(0,f.A)(r)}))})});return D(s,"fieldsets",()=>eI(a,s.fields)),D(s,"preview",H(Object.assign({},a,{fields:o}))),D(s,O,()=>({...a,options:n,fields:s.fields,title:s.title,fieldsets:s.fieldsets,preview:s.preview}),{enumerable:!1,writable:!1}),function e(t){return{get:()=>t,extend:n=>{if(n.fields)throw Error('Cannot override `fields` of subtypes of "image"');let r=(0,i.A)(n,eY),o=Object.assign({},t,r,{type:t});return I(o,O,r),e(o)}}}(s)}},number:{get:()=>eJ,extend(e){let t={...e,preview:eo},n=Object.assign((0,i.A)(eJ,eX),t,{type:eJ});return I(n,O,t),function e(t){return{get:()=>t,extend:n=>{let r=(0,i.A)(n,eX),o=Object.assign({},t,r,{type:t});return I(o,O,r),e(o)}}}(n)}},object:eD,reference:{get:()=>e1,extend(e,t){if(!e.to)throw Error(`Missing "to" field in reference definition. Check the type ${e.name}`);let n=Object.assign((0,i.A)(e1,e0),e,{type:e1});return D(n,"fields",()=>eQ.map(e=>t.cachedField(e))),D(n,"fieldsets",()=>eI(e,n.fields)),D(n,"to",()=>S(e.to).map(e=>t(e))),D(n,"title",()=>e.title||(n.to&&0!==n.to.length?`Reference to ${(function(e,t){let n=e.length;if(1===n)return e[0];let r=e.slice(0,n-1),i=e[n-1];return`${r.join(", ")} or ${i}`})(S(n.to).map(e=>e.title),0).toLowerCase()}`:"Reference")),D(n,O,()=>({...e,fields:n.fields,fieldsets:n.fieldsets,to:n.to,title:n.title}),{enumerable:!1,writable:!1}),function e(t){return{get:()=>t,extend:n=>{if(n.of)throw Error('Cannot override `of` of subtypes of "reference"');let r=(0,i.A)(n,e0),o=Object.assign({},t,r,{type:t});return I(o,O,r),e(o)}}}(n)}},span:{get:()=>et,extend(e,t){let n={...e.options||ei},{annotations:r=[],marks:o=[]}=e,a=[en,er],s={...e,options:n},l=Object.assign((0,i.A)(et,ee),s,{type:et});return D(l,"fields",()=>a.map(e=>t.cachedField(e))),D(l,"annotations",()=>r.map(t)),D(l,"marks",()=>o.map(t)),D(l,"preview",H(e)),D(l,O,()=>({...s,fields:l.fields,annotations:l.annotations,marks:l.marks,preview:l.preview}),{enumerable:!1,writable:!1}),function e(t){return{get:()=>t,extend:n=>{if(n.fields)throw Error('Cannot override `fields` of subtypes of "span"');let r=(0,i.A)(n,ee),o=Object.assign({},t,r,{type:t});return I(o,O,r),e(o)}}}(l)}},string:{get:()=>e5,extend(e){let t={...e,preview:eo},n=Object.assign((0,i.A)(e5,e2),t,{type:e5});return I(n,O,t),function e(t){return{get:()=>t,extend:n=>{let r=(0,i.A)(n,e2),o=Object.assign({},t,r,{type:t});return I(o,O,r),e(o)}}}(n)}},text:{get:()=>e4,extend(e){let t={...e,preview:eo},n=Object.assign((0,i.A)(e4,e3),t,{type:e4});return I(n,O,t),function e(t){return{get:()=>t,extend:n=>{let r=(0,i.A)(n,e3),o=Object.assign({},t,r,{type:t});return I(o,O,r),e(o)}}}(n)}},url:{get:()=>e9,extend(e){let t={...e,preview:eo},n=Object.assign((0,i.A)(e9,e6),t,{type:e9});return I(n,O,t),function e(t){return{get:()=>t,extend:n=>{let r=(0,i.A)(n,e6),o=Object.assign({},t,r,{type:t});return I(o,O,r),e(o)}}}(n)}}});class e8{_original;_registry;#p;static compile(e){return new e8(e)}constructor(e){this._original=e;const{registry:t,localTypeNames:n}=function(e){let t,n=Object.create(null);e.parent?(Object.assign(n,e.parent._registry),t=[]):(Object.assign(n,e7),t=Object.keys(e7));let r=e.types.reduce((e,t)=>{if(e[t.name])throw Error(`Duplicate type name added to schema: ${t.name}`);return e[t.name]=t,e},{}),i=new Map,o=new Map,a=new Map,s=Object.assign(u,{cached(e){let t=i.get(e);return t||(t=u(e),i.set(e,t)),t},cachedField(e){let t=o.get(e);if(!t){let{name:n,...r}=e;t={name:n,type:u(r)},o.set(e,t)}return t},cachedObjectField(e){let t=a.get(e);if(!t){let{name:n,fieldset:r,group:i,...o}=e;D(t={name:n,group:i,fieldset:r},"type",()=>u({...o,title:e.title||(0,f.A)(n)})),a.set(e,t)}return t}});return e.types.forEach(c),{registry:n,localTypeNames:t};function l(e){if(!n[e]){if(!r[e])throw Error(`Unknown type: ${e}`);c(r[e])}}function u(e){return l(e.type),n[e.type].extend(e,s).get()}function c(e){l(e.type),n[e.name]||(t.push(e.name),n[e.name]=n[e.type].extend(e,u))}}(e);this._registry=t,this.#p=n}get name(){return this._original.name}get parent(){return this._original.parent}get(e){return this._registry[e]&&this._registry[e].get()}has(e){return e in this._registry}getTypeNames(){return Object.keys(this._registry)}getLocalTypeNames(){return this.#p}}let te=Symbol.for("@sanity/schema/field-ref"),tt=["Array","Boolean","Date","Number","Object","String"],tn=class e{static FIELD_REF=te;static array=t=>new e(t).type("Array");static object=t=>new e(t).type("Object");static string=t=>new e(t).type("String");static number=t=>new e(t).type("Number");static boolean=t=>new e(t).type("Boolean");static dateTime=t=>new e(t).type("Date");static valueOfField=e=>({type:te,path:e});
7_type=void 0;_level=void 0;_required=void 0;_typeDef=void 0;_message=void 0;_rules=[];_fieldRules=void 0;constructor(e){this._typeDef=e,this.reset()}_mergeRequired(e){return"required"===this._required||"required"===e._required?"required":"optional"===this._required||"optional"===e._required?"optional":void 0}valueOfField=e.valueOfField.bind(e);error(e){let t=this.clone();return t._level="error",t._message=e||void 0,t}warning(e){let t=this.clone();return t._level="warning",t._message=e||void 0,t}info(e){let t=this.clone();return t._level="info",t._message=e||void 0,t}reset(){return this._type=this._type||void 0,this._rules=(this._rules||[]).filter(e=>"type"===e.flag),this._message=void 0,this._required=void 0,this._level="error",this._fieldRules=void 0,this}isRequired(){return"required"===this._required}clone(){var t;let n=new e;return n._type=this._type,n._message=this._message,n._required=this._required,t=this._rules,n._rules=(0,A.A)(t,5),n._level=this._level,n._fieldRules=this._fieldRules,n._typeDef=this._typeDef,n}cloneWithRules(e){let t=this.clone(),n=new Set;return e.forEach(e=>{"type"===e.flag&&(t._type=e.constraint),n.add(e.flag)}),t._rules=t._rules.filter(e=>{let t=["type","uri","email"].includes(e.flag),r=n.has(e.flag);return!(t&&r)}).concat(e),t}merge(e){if(this._type&&e._type&&this._type!==e._type)throw Error("merge() failed: conflicting types");let t=this.cloneWithRules(e._rules);return t._type=this._type||e._type,t._message=this._message||e._message,t._required=this._mergeRequired(e),t._level="error"===this._level?e._level:this._level,t}type(e){let t=`${e.slice(0,1).toUpperCase()}${e.slice(1)}`;if(!tt.includes(t))throw Error(`Unknown type "${e}"`);let n=this.cloneWithRules([{flag:"type",constraint:t}]);return n._type=t,n}all(e){return this.cloneWithRules([{flag:"all",constraint:e}])}either(e){return this.cloneWithRules([{flag:"either",constraint:e}])}optional(){let e=this.cloneWithRules([{flag:"presence",constraint:"optional"}]);return e._required="optional",e}skip(){let e=this.clone();return e._rules=[],e._required="optional",e._message=void 0,e._level="error",e._fieldRules=void 0,e}required(){let e=this.cloneWithRules([{flag:"presence",constraint:"required"}]);return e._required="required",e}custom(e,t={}){return t.bypassConcurrencyLimit&&Object.assign(e,{bypassConcurrencyLimit:!0}),this.cloneWithRules([{flag:"custom",constraint:e}])}min(e){return this.cloneWithRules([{flag:"min",constraint:e}])}max(e){return this.cloneWithRules([{flag:"max",constraint:e}])}length(e){return this.cloneWithRules([{flag:"length",constraint:e}])}valid(e){let t=Array.isArray(e)?e:[e];return this.cloneWithRules([{flag:"valid",constraint:t}])}integer(){return this.cloneWithRules([{flag:"integer"}])}precision(e){return this.cloneWithRules([{flag:"precision",constraint:e}])}positive(){return this.cloneWithRules([{flag:"min",constraint:0}])}negative(){return this.cloneWithRules([{flag:"lessThan",constraint:0}])}greaterThan(e){return this.cloneWithRules([{flag:"greaterThan",constraint:e}])}lessThan(e){return this.cloneWithRules([{flag:"lessThan",constraint:e}])}uppercase(){return this.cloneWithRules([{flag:"stringCasing",constraint:"uppercase"}])}lowercase(){return this.cloneWithRules([{flag:"stringCasing",constraint:"lowercase"}])}regex(e,t,n){let r="string"==typeof t?t:t?.name??n?.name,i="string"!=typeof t&&(t?.invert??n?.invert);return this.cloneWithRules([{flag:"regex",constraint:{pattern:e,name:r,invert:i||!1}}])}email(){return this.cloneWithRules([{flag:"email"}])}uri(e){let t=e?.scheme||["http","https"],n=Array.isArray(t)?t:[t];if(!n.length)throw Error("scheme must have at least 1 scheme specified");let r={options:{scheme:n.map(e=>{if(!(e instanceof RegExp)&&"string"!=typeof e)throw Error("scheme must be a RegExp or a String");return"string"==typeof e?RegExp(`^${e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}$`):e}),allowRelative:e?.allowRelative||!1,relativeOnly:e?.relativeOnly||!1,allowCredentials:e?.allowCredentials||!1}};return this.cloneWithRules([{flag:"uri",constraint:r}])}unique(){return this.cloneWithRules([{flag:"unique"}])}reference(){return this.cloneWithRules([{flag:"reference"}])}fields(e){if("Object"!==this._type)throw Error("fields() can only be called on an object type");let t=this.cloneWithRules([]);return t._fieldRules=e,t}assetRequired(){let e,t=function e(t){return t&&t.type?e(t.type):t}(this._typeDef);return e=t&&["image","file"].includes(t.name)?"image"===t.name?"image":"file":"asset",this.cloneWithRules([{flag:"assetRequired",constraint:{assetType:e}}
7])}media(e){return this.cloneWithRules([{flag:"media",constraint:e}])}async validate(e,t){throw Error("validate() method must be implemented by extending Rule class")}}},26900:(e,t,n)=>{"use strict";n.d(t,{Ow:()=>o,Z9:()=>a,pq:()=>s,vF:()=>l});var r=n(74738),i=n(7463);let o=["debug","info","warn","error","log","assert","trace"],a={};function s(e){if(!("console"in i.O))return e();let t=i.O.console,n={},r=Object.keys(a);r.forEach(e=>{let r=a[e];n[e]=t[e],t[e]=r});try{return e()}finally{r.forEach(e=>{t[e]=n[e]})}}let l=(0,i.B)("logger",function(){let e=!1,t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return r.T?o.forEach(n=>{t[n]=(...t)=>{e&&s(()=>{i.O.console[n](`Sentry Logger [${n}]:`,...t)})}}):o.forEach(e=>{t[e]=()=>void 0}),t})},27014:(e,t,n)=>{"use strict";let r=n(53941);e.exports=(e,t)=>r(e,t,!0)},27415:(e,t,n)=>{"use strict";n.d(t,{T:()=>i});var r=n(84707);function i(e,t,n){return(0,r.v)(function(){return e()?t:n})}},27427:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(12368);let i=function(e){return(0,r.A)(e,4)}},27636:function(e,t){var n;!function(r){"use strict";var i={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"Ae",Å:"A",Æ:"AE",Ç:"C",È:"E",É:"E",Ê:"E",Ë:"E",Ì:"I",Í:"I",Î:"I",Ï:"I",Ð:"D",Ñ:"N",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"Oe",Ő:"O",Ø:"O",Ù:"U",Ú:"U",Û:"U",Ü:"Ue",Ű:"U",Ý:"Y",Þ:"TH",ß:"ss",à:"a",á:"a",â:"a",ã:"a",ä:"ae",Ã¥:"a",æ:"ae",ç:"c",è:"e",é:"e",ê:"e",ë:"e",ì:"i",í:"i",î:"i",ï:"i",ð:"d",ñ:"n",ò:"o",ó:"o",ô:"o",õ:"o",ö:"oe",ő:"o",ø:"o",ù:"u",ú:"u",û:"u",ü:"ue",ű:"u",ý:"y",þ:"th",ÿ:"y",ẞ:"SS",ا:"a",Ø£:"a",Ø¥:"i",Ø¢:"aa",ؤ:"u",ئ:"e",Ø¡:"a",ب:"b",ت:"t",Ø«:"th",ج:"j",Ø­:"h",Ø®:"kh",د:"d",ذ:"th",ر:"r",ز:"z",س:"s",Ø´:"sh",ص:"s",ض:"dh",Ø·:"t",ظ:"z",ع:"a",غ:"gh",ف:"f",ق:"q",ك:"k",ل:"l",م:"m",ن:"n",ه:"h",و:"w",ي:"y",ى:"a",Ø©:"h",ï»»:"la",ï»·:"laa",ﻹ:"lai",ﻵ:"laa",Ú¯:"g",چ:"ch",Ù¾:"p",ژ:"zh",Ú©:"k",ی:"y","َ":"a","ً":"an","ِ":"e","ٍ":"en","ُ":"u","ٌ":"on","ْ":"","Ù ":"0","Ù¡":"1","Ù¢":"2","Ù£":"3","Ù¤":"4","Ù¥":"5","Ù¦":"6","Ù§":"7","Ù¨":"8","Ù©":"9","Û°":"0","Û±":"1","Û²":"2","Û³":"3","Û´":"4","Ûµ":"5","Û¶":"6","Û·":"7","Û¸":"8","Û¹":"9",က:"k",ခ:"kh",ဂ:"g",ဃ:"ga",င:"ng",စ:"s",ဆ:"sa",ဇ:"z",စျ:"za",ည:"ny",ဋ:"t",ဌ:"ta",ဍ:"d",ဎ:"da",ဏ:"na",တ:"t",ထ:"ta",ဒ:"d",ဓ:"da",န:"n",ပ:"p",ဖ:"pa",ဗ:"b",ဘ:"ba",မ:"m",ယ:"y",ရ:"ya",လ:"l",ဝ:"w",သ:"th",ဟ:"h",ဠ:"la",အ:"a","ြ":"y","ျ":"ya","ွ":"w","ြွ":"yw","ျွ":"ywa","ှ":"h",ဧ:"e","၏":"-e",ဣ:"i",ဤ:"-i",ဉ:"u",ဦ:"-u",ဩ:"aw",သြော:"aw",ဪ:"aw","၀":"0","၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","္":"","့":"","း":"",č:"c",ď:"d",ě:"e",ň:"n",ř:"r",Å¡:"s",Å¥:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Å :"S",Ť:"T",Å®:"U",Ž:"Z",ހ:"h",ށ:"sh",ނ:"n",ރ:"r",ބ:"b",ޅ:"lh",ކ:"k",އ:"a",ވ:"v",މ:"m",ފ:"f",ދ:"dh",ތ:"th",ލ:"l",ގ:"g",ޏ:"gn",ސ:"s",ޑ:"d",ޒ:"z",ޓ:"t",ޔ:"y",ޕ:"p",ޖ:"j",ޗ:"ch",ޘ:"tt",ޙ:"hh",ޚ:"kh",ޛ:"th",ޜ:"z",ޝ:"sh",ޞ:"s",ޟ:"d",Þ :"t",Þ¡:"z",Þ¢:"a",Þ£:"gh",Þ¤:"q",Þ¥:"w","Þ¦":"a","Þ§":"aa","Þ¨":"i","Þ©":"ee","Þª":"u","Þ«":"oo","Þ¬":"e","Þ­":"ey","Þ®":"o","Þ¯":"oa","Þ°":"",ა:"a",ბ:"b",გ:"g",დ:"d",ე:"e",ვ:"v",ზ:"z",თ:"t",ი:"i",კ:"k",ლ:"l",მ:"m",ნ:"n",ო:"o",პ:"p",ჟ:"zh",რ:"r",ს:"s",ტ:"t",უ:"u",ფ:"p",ქ:"k",ღ:"gh",ყ:"q",შ:"sh",ჩ:"ch",ც:"ts",ძ:"dz",წ:"ts",ჭ:"ch",ხ:"kh",ჯ:"j",ჰ:"h",α:"a",β:"v",γ:"g",δ:"d",ε:"e",ζ:"z",η:"i",θ:"th",ι:"i",κ:"k",λ:"l",μ:"m",ν:"n",ξ:"ks",ο:"o",π:"p",ρ:"r",σ:"s",τ:"t",υ:"y",φ:"f",χ:"x",ψ:"ps",ω:"o",ά:"a",έ:"e",ί:"i",ό:"o",ύ:"y",ή:"i",ώ:"o",ς:"s",ϊ:"i",ΰ:"y",ϋ:"y",ΐ:"i",Α:"A",Β:"B",Γ:"G",Δ:"D",Ε:"E",Ζ:"Z",Η:"I",Θ:"TH",Ι:"I",Κ:"K",Λ:"L",Μ:"M",Ν:"N",Ξ:"KS",Ο:"O",Π:"P",Ρ:"R",Σ:"S",Τ:"T",Î¥:"Y",Φ:"F",Χ:"X",Ψ:"PS",Ω:"O",Ά:"A",Έ:"E",Ί:"I",Ό:"O",Ύ:"Y",Ή:"I",Ώ:"O",Ϊ:"I",Ϋ:"Y",ā:"a",ē:"e",Ä£:"g",Ä«:"i",Ä·:"k",ļ:"l",ņ:"n",Å«:"u",Ā:"A",Ē:"E",Ä¢:"G",Ī:"I",Ķ:"k",Ä»:"L",Ņ:"N",Ū:"U",Ќ:"Kj",ќ:"kj",Љ:"Lj",љ:"lj",Њ:"Nj",њ:"nj",Тс:"Ts",тс:"ts",ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"E",Ł:"L",Ń:"N",Ś:"S",Ź:"Z",Å»:"Z",Є:"Ye",І:"I",Ї:"Yi",Ґ:"G",є:"ye",і:"i",ї:"yi",ґ:"g",ă:"a",Ă:"A",ș:"s",Ș:"S",ț:"t",Ț:"T",Å£:"t",Å¢:"T",а:"a",б:"b",в:"v",г:"g",д:"d",е:"e",ё:"yo",ж:"zh",з:"z",и:"i",й:"i",к:"k",л:"l",м:"m",н:"n",о:"o",п:"p",р:"r",с:"s",т:"t",у:"u",ф:"f",х:"kh",ц:"c",ч:"ch",ш:"sh",щ:"sh",ъ:"",ы:"y",ь:"",э:"e",ю:"yu",я:"ya",А:"A",Б:"B",В:"V",Г:"G",Д:"D",Е:"E",Ё:"Yo",Ж:"Zh",З:"Z",И:"I",Й:"I",К:"K",Л:"L",М:"M",Н:"N",О:"O",П:"P",Р:"R",С:"S",Т:"T",У:"U",Ф:"F",Ð¥:"Kh",Ц:"C",Ч:"Ch",Ш:"Sh",Щ:"Sh",Ъ:"",Ы:"Y",Ь:"",Э:"E",Ю:"Yu",Я:"Ya",ђ:"dj",ј:"j",ћ:"c",џ:"dz",Ђ:"Dj",Ј:"j",Ћ:"C",Џ:"Dz",ľ:"l",ĺ:"l",ŕ:"r",Ľ:"L",Ĺ:"L",Ŕ:"R",ş:"s",Ş:"S",ı:"i",İ:"I",ğ:"g",Ğ:"G",ả:"a",Ả:"A",á
7º³:"a",Ẳ:"A",ẩ:"a",Ẩ:"A",đ:"d",Đ:"D",ẹ:"e",Ẹ:"E",ẽ:"e",Ẽ:"E",ẻ:"e",Ẻ:"E",ế:"e",Ế:"E",ề:"e",Ề:"E",ệ:"e",Ệ:"E",ễ:"e",Ễ:"E",ể:"e",Ể:"E",ỏ:"o",ọ:"o",Ọ:"o",ố:"o",Ố:"O",ồ:"o",Ồ:"O",ổ:"o",Ổ:"O",ộ:"o",Ộ:"O",ỗ:"o",Ỗ:"O",Æ¡:"o",Æ :"O",ớ:"o",Ớ:"O",ờ:"o",Ờ:"O",ợ:"o",Ợ:"O",ỡ:"o",á» :"O",Ở:"o",ở:"o",ị:"i",Ị:"I",Ä©:"i",Ĩ:"I",ỉ:"i",Ỉ:"i",á»§:"u",Ủ:"U",ụ:"u",Ụ:"U",Å©:"u",Ũ:"U",ư:"u",Ư:"U",ứ:"u",Ứ:"U",ừ:"u",Ừ:"U",á»±:"u",á»°:"U",ữ:"u",á»®:"U",á»­:"u",Ử:"ư",á»·:"y",á»¶:"y",ỳ:"y",Ỳ:"Y",ỵ:"y",á»´:"Y",ỹ:"y",Ỹ:"Y",ạ:"a",Ạ:"A",ấ:"a",Ấ:"A",ầ:"a",Ầ:"A",ậ:"a",Ậ:"A",ẫ:"a",Ẫ:"A",ắ:"a",Ắ:"A",ằ:"a",Ằ:"A",ặ:"a",Ặ:"A",ẵ:"a",Ẵ:"A","⓪":"0","①":"1","②":"2","③":"3","④":"4","⑤":"5","⑥":"6","⑦":"7","⑧":"8","⑨":"9","⑩":"10","⑪":"11","⑫":"12","⑬":"13","⑭":"14","⑮":"15","⑯":"16","⑰":"17","⑱":"18","⑲":"18","⑳":"18","⓵":"1","⓶":"2","⓷":"3","⓸":"4","⓹":"5","⓺":"6","⓻":"7","⓼":"8","⓽":"9","⓾":"10","⓿":"0","⓫":"11","⓬":"12","⓭":"13","⓮":"14","⓯":"15","⓰":"16","⓱":"17","⓲":"18","⓳":"19","⓴":"20","Ⓐ":"A","Ⓑ":"B","Ⓒ":"C","Ⓓ":"D","Ⓔ":"E","Ⓕ":"F","Ⓖ":"G","Ⓗ":"H","Ⓘ":"I","Ⓙ":"J","Ⓚ":"K","Ⓛ":"L","Ⓜ":"M","Ⓝ":"N","Ⓞ":"O","Ⓟ":"P","Ⓠ":"Q","Ⓡ":"R","Ⓢ":"S","Ⓣ":"T","Ⓤ":"U","Ⓥ":"V","Ⓦ":"W","Ⓧ":"X","Ⓨ":"Y","Ⓩ":"Z","ⓐ":"a","ⓑ":"b","ⓒ":"c","ⓓ":"d","ⓔ":"e","ⓕ":"f","ⓖ":"g","ⓗ":"h","ⓘ":"i","ⓙ":"j","ⓚ":"k","ⓛ":"l","ⓜ":"m","ⓝ":"n","ⓞ":"o","ⓟ":"p","ⓠ":"q","ⓡ":"r","ⓢ":"s","ⓣ":"t","ⓤ":"u","ⓦ":"v","ⓥ":"w","ⓧ":"x","ⓨ":"y","ⓩ":"z","“":'"',"”":'"',"‘":"'","’":"'","∂":"d",ƒ:"f","™":"(TM)","\xa9":"(C)",œ:"oe",Œ:"OE","\xae":"(R)","†":"+","℠":"(SM)","…":"...","˚":"o",º:"o",ª:"a","•":"*","၊":",","။":".",$:"USD","€":"EUR","₢":"BRN","₣":"FRF","\xa3":"GBP","₤":"ITL","₦":"NGN","₧":"ESP","₩":"KRW","₪":"ILS","₫":"VND","₭":"LAK","₮":"MNT","₯":"GRD","₱":"ARS","₲":"PYG","₳":"ARA","₴":"UAH","₵":"GHS","\xa2":"cent","\xa5":"CNY",元:"CNY",円:"YEN","ï·¼":"IRR","₠":"EWE","฿":"THB","₨":"INR","₹":"INR","₰":"PF","₺":"TRY","؋":"AFN","₼":"AZN",лв:"BGN","៛":"KHR","₡":"CRC","₸":"KZT",ден:"MKD",zł:"PLN","₽":"RUB","₾":"GEL"},o=["်","Þ°"],a={"ာ":"a","ါ":"a","ေ":"e","ဲ":"e","ိ":"i","ီ":"i","ို":"o","ု":"u","ူ":"u","ေါင်":"aung","ော":"aw","ော်":"aw","ေါ":"aw","ေါ်":"aw","်":"်",က်:"et","ိုက်":"aik","ောက်":"auk",င်:"in","ိုင်":"aing","ောင်":"aung",စ်:"it",ည်:"i",တ်:"at","ိတ်":"eik","ုတ်":"ok","ွတ်":"ut","ေတ်":"it",ဒ်:"d","ိုဒ်":"ok","ုဒ်":"ait",န်:"an","ာန်":"an","ိန်":"ein","ုန်":"on","ွန်":"un",ပ်:"at","ိပ်":"eik","ုပ်":"ok","ွပ်":"ut",န်ုပ်:"nub",မ်:"an","ိမ်":"ein","ုမ်":"on","ွမ်":"un",ယ်:"e","ိုလ်":"ol",ဉ်:"in","ံ":"an","ိံ":"ein","ုံ":"on","ައް":"ah","ަށް":"ah"},s={en:{},az:{ç:"c",ə:"e",ğ:"g",ı:"i",ö:"o",ş:"s",ü:"u",Ç:"C",Ə:"E",Ğ:"G",İ:"I",Ö:"O",Ş:"S",Ü:"U"},cs:{č:"c",ď:"d",ě:"e",ň:"n",ř:"r",Å¡:"s",Å¥:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Å :"S",Ť:"T",Å®:"U",Ž:"Z"},fi:{ä:"a",Ä:"A",ö:"o",Ö:"O"},hu:{ä:"a",Ä:"A",ö:"o",Ö:"O",ü:"u",Ü:"U",ű:"u",Ű:"U"},lt:{ą:"a",č:"c",ę:"e",ė:"e",į:"i",Å¡:"s",ų:"u",Å«:"u",ž:"z",Ą:"A",Č:"C",Ę:"E",Ė:"E",Ä®:"I",Å :"S",Ų:"U",Ū:"U"},lv:{ā:"a",č:"c",ē:"e",Ä£:"g",Ä«:"i",Ä·:"k",ļ:"l",ņ:"n",Å¡:"s",Å«:"u",ž:"z",Ā:"A",Č:"C",Ē:"E",Ä¢:"G",Ī:"i",Ķ:"k",Ä»:"L",Ņ:"N",Å :"S",Ū:"u",Ž:"Z"},pl:{ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ó:"o",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"e",Ł:"L",Ń:"N",Ó:"O",Ś:"S",Ź:"Z",Å»:"Z"},sv:{ä:"a",Ä:"A",ö:"o",Ö:"O"},sk:{ä:"a",Ä:"A"},sr:{љ:"lj",њ:"nj",Љ:"Lj",Њ:"Nj",đ:"dj",Đ:"Dj"},tr:{Ü:"U",Ö:"O",ü:"u",ö:"o"}},l={ar:{"∆":"delta","∞":"la-nihaya","♥":"hob","&":"wa","|":"aw","<":"aqal-men",">":"akbar-men","∑":"majmou","\xa4":"omla"},az:{},ca:{"∆":"delta","∞":"infinit","♥":"amor","&":"i","|":"o","<":"menys que",">":"mes que","∑":"suma dels","\xa4":"moneda"},cs:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"nebo","<":"mensi nez",">":"vetsi nez","∑":"soucet","\xa4":"mena"},de:{"∆":"delta","∞":"unendlich","♥":"Liebe","&":"und","|":"oder","<":"kleiner als",">":"groesser als","∑":"Summe von","\xa4":"Waehrung"},dv:{"∆":"delta","∞":"kolunulaa","♥":"loabi","&":"aai","|":"noonee","<":"ah vure kuda",">":"ah vure bodu","∑":"jumula","\xa4":"faisaa"},en:{"∆":"delta","∞":"infinity","♥":"love","&":"and","|":"or","<":"less than",">":"greater than","∑":"sum","\xa4":"currency"},es:{"∆":"delta","∞":"infinito","♥":"amor","&":"y","|":"u","<":"menos que",">":"mas que","∑":"suma de los","\xa4":"moneda"},fa:{"∆":"delta","∞":"bi-nahayat","♥":"eshgh","&":"va","|":"ya","<":"kamtar-az",">":"bishtar-az","∑":"majmooe","\xa4":"vahed"},fi:{"∆":"delta","∞":"aarettomyys","♥":"rakkaus","&":"ja","|":"tai","<":"pienempi kuin",">":"suurempi kuin","∑":"summa","\xa4":"valuutta"},fr:{"∆":"delta","∞":"infiniment","♥":"Amour","&":"et","|":"ou","<":"moins que",">":"superieure a","∑":"somme des","\xa4":"monnaie"},ge:{"∆":"delta","∞":"usasruloba","♥":"siqvaruli","&":"da","|":"an","<":"naklebi",">":"meti","∑":"jami","\xa4":"valuta"},gr:{},hu:{"∆":"delta","∞":"vegtelen","♥":"szerelem","&":"es","|":"vagy","<":"kisebb mint",">":"nagyobb mint","∑":"szumma","\xa4":"penznem"},it:{"∆":"delta","∞":"infinito","♥":"amore","&":"e","|":"o","<":"minore di",">":"maggiore di","∑":"somma","\xa4":"moneta"},lt:{"∆":"delta","∞":"begalybe","♥":"meile","&":"ir","|":"ar","<":"maziau nei",">":"daugiau nei","∑":"suma","\xa4":"valiuta"},lv:{"∆":"delta","∞":"bezgaliba","♥":"milestiba","&":"un","|":"vai","<":"mazak neka",">":"lielaks neka","∑":"summa","\xa4":"valuta"},my:{"∆":"kwahkhyaet","∞":"asaonasme","♥":"akhyait","&":"nhin","|":"tho","<":"ngethaw",">":"kyithaw","∑":"paungld","\xa4":"ngwekye"},mk:{},nl:{"∆":"delta","∞":"oneindig","♥":"liefde","&":"en","|":"of","<":"kleiner dan",">":"groter dan","∑":"som","\xa4":"valuta"},pl:{"∆":"delta","∞":"nieskonczonosc","♥":"milosc","&":"i","|":"lub","<":"mniejsze niz",">":"wieksze niz","∑":"suma","\xa4":"waluta"},pt:{"∆":"delta","∞":"infinito","♥":"amor","&":"e","|":"ou","<":"menor que",">":"maior que","∑":"soma","\xa4":"moeda"},ro:{"∆":"delta","∞":"infinit","♥":"dragoste","&":"si","|":"sau","<":"mai mic ca",">":"mai mare ca","∑":"suma","\xa4":"valuta"},ru:{"∆":"delta","∞":"beskonechno","♥":"lubov","&":"i","|":"ili","<":"menshe",">":"bolshe","∑":"summa","\xa4":"valjuta"},sk:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"alebo","<":"menej ako",">":"viac ako","∑":"sucet","\xa4":"mena"},sr:{},tr:{"∆":"delta","∞":"sonsuzluk","♥":"ask","&":"ve","|":"veya","<":"kucuktur",">":"buyuktur","∑":"toplam","\xa4":"para birimi"},uk:{"∆":"delta","∞":"bezkinechnist","♥":"lubov","&":"i","|":"abo","<":"menshe",">":"bilshe","∑":"suma","\xa4":"valjuta"},vn:{"∆":"delta","∞":"vo cuc","♥":"yeu","&":"va","|":"hoac","<":"nho hon",">":"lon hon","∑":"tong","\xa4":"tien te"}},u=";?:@&=+$,/",c=";?:@&=+$,",d=function(e,t){var n,r,d,p,g,m,y,b,v,w,_,x,k,E,A="-",S="",C="",O=!0,T={},D="";if("string"!=typeof e)return"";if("string"==typeof t&&(A=t),y=l.en,b=s.en,"object"==typeof t)for(_ in n=t.maintainCase||!1,T=t.custom&&"object"==typeof t.custom?t.custom:T,d=+t.truncate>1&&t.truncate||!1,p=t.uric||!1,g=t.uricNoSlash||!1,m=t.mark||!1,O=!1!==t.symbols&&!1!==t.lang,A=t.separator||A,p&&(D+=u),g&&(D+=c),m&&(D+=".!~*'()"),y=t.lang&&l[t.lang]&&O?l[t.lang]:O?l.en:{},b=t.lang&&s[t.lang]?s[t.lang]:!1===t.lang||!0===t.lang?{}:s.en,t.titleCase&&"number"==typeof t.titleCase.length&&Array.prototype.toString.call(t.titleCase)?(t.titleCase.forEach(function(e){T[e+""]=e+""}),r=!0):r=!!t.titleCase,t.custom&&"number"==typeof t.custom.length&&Array.prototype.toString.call(t.custom)&&t.custom.forEach(function(e){T[e+""]=e+""}),Object.keys(T).forEach(function(t){var n;n=t.length>1?RegExp("\\b"+f(t)+"\\b","gi"):RegExp(f(t),"gi"),e=e.replace(n,T[t])}),T)D+=_;for(D+=A,D=f(D),e=e.replace(/(^\s+|\s+$)/g,""),k=!1,E=!1,w=0,x=e.length;w<x;w++)h(_=e[w],T)?k=!1:b[_]?(_=k&&b[_].match(/[A-Za-z0-9]/)?" "+b[_]:b[_],k=!1):_ in i?(w+1<x&&o.indexOf(e[w+1])>=0?(C+=_,_=""):!0===E?(_=a[C]+i[_],C=""):_=k&&i[_].match(/[A-Za-z0-9]/)?" "+i[_]:i[_],k=!1,E=!1):_ in a?(C+=_,_="",w===x-1&&(_=a[C]),E=!0):!y[_]||p&&-1!==u.indexOf(_)||g&&-1!==c.indexOf(_)?(!0===E?(_=a[C]+_,C="",E=!1):k&&(/[A-Za-z0-9]/.test(_)||S.substr(-1).match(/A-Za-z0-9]/))&&(_=" "+_),k=!1):(_=(k||S.substr(-1).match(/[A-Za-z0-9]/)?A+y[_]:y[_])+(void 0!==e[w+1]&&e[w+1].match(/[A-Za-z0-9]/)?A:""),k=!0),S+=_.replace(RegExp("[^\\w\\s"+D+"_-]","g"),A);return r&&(S=S.replace(/(\w)(\S*)/g,function(e,t,n){var r=t.toUpperCase()+(null!==n?n:"");return 0>Object.keys(T).indexOf(r.toLowerCase())?r:r.toLowerCase()})),S=S.replace(/\s+/g,A).replace(RegExp("\\"+A+"+","g"),A).replace(RegExp("(^\\"+A+"+|\\"+A+"+$)","g"),""),d&&S.length>d&&(v=S.charAt(d)===A,S=S.slice(0,d),v||(S=S.slice(0,S.lastIndexOf(A)))),n||r||(S=S.toLowerCase()),S},f=function(e){return e.replace(/[-\\^$*+?.()|[\]{}\/]/g,"\\$&")},h=function(e,t){for(var n in t)if(t[n]===e)return!0};e.exports?(e.exports=d,e.exports.createSlug=function(e){return function(t){return d(t,e)}}):void 0===(n=(function(){return d}
7).apply(t,[]))||(e.exports=n)}(0)},27777:(e,t,n)=>{"use strict";n.d(t,{k:()=>v});var r=n(95155),i=n(19749),o=n(44416),a=n(21728),s=n(55876),l=n(71182),u=n(42444),c=n(20453),d=n(68004),f=n(22821),h=n(37758),p=n(63993);function g(e){let t,n=(0,i.c)(4),r=(0,o.h)();return n[0]!==r||n[1]!==e.decorator||n[2]!==e.pair?(t={input:{editor:r,decorator:e.decorator,pair:e.pair}},n[0]=r,n[1]=e.decorator,n[2]=e.pair,n[3]=t):t=n[3],(0,u.qf)(m,t),null}let m=(0,c.mj)({types:{context:{},input:{},events:{}},actors:{"decorate listener":(0,d.SP)(({sendBack:e,input:t})=>{var n,r,i;let o,u,c,d,f,g,m;return t.editor.registerBehavior({behavior:((n={decorator:t.decorator,pair:t.pair,onDecorate:t=>{e({type:"decorator.add",blockOffset:t})}}).pair.amount<1&&console.warn("The amount of characters in the pair should be greater than 0"),r=n.pair.char,i=n.pair.amount,o=`(?<!\\${r})`,u=`\\${r}`.repeat(Math.max(i,1)),c=`([^${r}\\n]+?)`,d=`\\${r}`.repeat(Math.max(i,1)),f=`(?!\\${r})`,g=`${o}${u}(?!\\s)${c}(?<!\\s)${d}${f}`,m=RegExp(`(${g})$`),(0,a.Ke)({on:"insert.text",guard:({snapshot:e,event:t})=>{if(n.pair.amount<1)return!1;let r=n.decorator({context:{schema:e.context.schema},schema:e.context.schema});if(void 0===r)return!1;let i=h.hH(e),o=h.Jo(e),a=o?s.iL({context:e.context,selectionPoint:o}):void 0;if(!i||!a)return!1;let u=`${p._M(e)}${t.text}`,c=u.match(m)?.at(0);if(void 0===c)return!1;let d={anchor:{path:i.path,offset:u.length-c.length},focus:{path:i.path,offset:u.length-c.length+n.pair.char.length*n.pair.amount}},f={anchor:{path:i.path,offset:a.offset+t.text.length-n.pair.char.length*n.pair.amount},focus:{path:i.path,offset:a.offset+t.text.length}};if(d.focus.offset-d.anchor.offset>1){let t=l.lv({context:e.context,offsets:d}),n=h.Uv({...e,context:{...e.context,selection:t?{anchor:t.focus,focus:t.focus}:null}}),r=n?l.GR({context:e.context,selectionPoint:{path:n.path,offset:0}}):void 0;if(r&&r.offset>d.anchor.offset&&r.offset<d.focus.offset)return!1}if(f.focus.offset-f.anchor.offset>1){let t=h.Uv(e),n=t?l.GR({context:e.context,selectionPoint:{path:t.path,offset:0}}):void 0;if(n&&n.offset>f.anchor.offset&&n.offset<f.focus.offset)return!1}return{prefixOffsets:d,suffixOffsets:f,decorator:r}},actions:[({event:e})=>[(0,a.sY)(e)],(e,{prefixOffsets:t,suffixOffsets:r,decorator:i})=>[(0,a.xl)({type:"decorator.add",decorator:i,at:{anchor:t.focus,focus:r.anchor}}),(0,a.xl)({type:"delete.text",at:r}),(0,a.xl)({type:"delete.text",at:t}),(0,a.xl)({type:"decorator.remove",decorator:i}),(0,a.QZ)(()=>{n.onDecorate({...r.anchor,offset:r.anchor.offset-(t.focus.offset-t.anchor.offset)})})]]}))})}),"delete.backward listener":(0,d.SP)(({sendBack:e,input:t})=>t.editor.registerBehavior({behavior:(0,a.Ke)({on:"delete.backward",actions:[()=>[(0,a.xl)({type:"history.undo"}),(0,a.QZ)(()=>{e({type:"delete.backward"})})]]})})),"selection listener":(0,d.SP)(({sendBack:e,input:t})=>t.editor.registerBehavior({behavior:(0,a.Ke)({on:"select",guard:({snapshot:e,event:t})=>{if(!t.at)return{blockOffsets:void 0};let n=s.iL({context:e.context,selectionPoint:t.at.anchor}),r=s.iL({context:e.context,selectionPoint:t.at.focus});return n&&r?{blockOffsets:{anchor:n,focus:r}}:{blockOffsets:void 0}},actions:[({event:t},{blockOffsets:n})=>[{type:"effect",effect:()=>{e({type:"selection",blockOffsets:n})}},(0,a.sY)(t)]]})}))}}).createMachine({id:"decorator pair",context:({input:e})=>({decorator:e.decorator,editor:e.editor,pair:e.pair}),initial:"idle",states:{idle:{invoke:[{src:"decorate listener",input:({context:e})=>({decorator:e.decorator,editor:e.editor,pair:e.pair})}],on:{"decorator.add":{target:"decorator added",actions:(0,f.a)({offsetAfterDecorator:({event:e})=>e.blockOffset})}}},"decorator added":{exit:[(0,f.a)({offsetAfterDecorator:void 0})],invoke:[{src:"selection listener",input:({context:e})=>({editor:e.editor})},{src:"delete.backward listener",input:({context:e})=>({editor:e.editor})}],on:{selection:{target:"idle",guard:({context:e,event:t})=>!function(...e){return function(e,t,n){let r=e.length-t.length;if(0===r)return e(...t);if(1===r){var i;let n;return i=void 0,n=n=>e(n,...t),void 0===i?n:Object.assign(n,{lazy:i,lazyArgs:t})}throw Error("Wrong number of arguments")}(function e(t,n){if(t===n||Object.is(t,n))return!0;
7if("object"!=typeof t||"object"!=typeof n||null===t||null===n||Object.getPrototypeOf(t)!==Object.getPrototypeOf(n))return!1;if(Array.isArray(t)){var r=t,i=n;if(r.length!==i.length)return!1;for(let[t,n]of r.entries())if(!e(n,i[t]))return!1;return!0}if(t instanceof Map){var o=t,a=n;if(o.size!==a.size)return!1;for(let[t,n]of o.entries())if(!a.has(t)||!e(n,a.get(t)))return!1;return!0}if(t instanceof Set){var s=t,l=n;if(s.size!==l.size)return!1;let r=[...l];for(let t of s){let n=!1;for(let[i,o]of r.entries())if(e(t,o)){n=!0,r.splice(i,1);break}if(!n)return!1}return!0}if(t instanceof Date)return t.getTime()===n.getTime();if(t instanceof RegExp)return t.toString()===n.toString();if(Object.keys(t).length!==Object.keys(n).length)return!1;for(let[r,i]of Object.entries(t))if(!(r in n)||!e(i,n[r]))return!1;return!0},e)}({anchor:e.offsetAfterDecorator,focus:e.offsetAfterDecorator},t.blockOffsets)},"delete.backward":{target:"idle"}}}}});var y=n(35653),b=n(12115);function v(e){let t,n,s,l,u,c,d,f,p,m=(0,i.c)(39),{blockquoteStyle:v,boldDecorator:w,codeDecorator:_,defaultStyle:x,headingStyle:k,horizontalRuleObject:E,linkObject:A,italicDecorator:S,orderedList:C,strikeThroughDecorator:O,unorderedList:T}=e,D=(0,o.h)();if(m[0]!==x||m[1]!==D?(t=()=>{var e;let t=(e={defaultStyle:x},[(0,a.Ke)({on:"clipboard.paste",guard:({snapshot:t,event:n})=>{let r=n.originEvent.dataTransfer.getData("text/plain"),i=r.match(/^(---)$|^(—-)$|^(___)$|^(\*\*\*)$/)?.[0],o=e.horizontalRuleObject?.({context:{schema:t.context.schema,keyGenerator:t.context.keyGenerator}}),a=h.gU(t),s=h.hH(t);return!!i&&!!o&&!!a&&{hrCharacters:i,hrObject:o,focusBlock:a,focusTextBlock:s}},actions:[(e,{hrCharacters:t})=>[(0,a.xl)({type:"insert.text",text:t})],({snapshot:e},{hrObject:t,focusBlock:n,focusTextBlock:r})=>r?[(0,a.xl)({type:"insert.block",block:{_type:e.context.schema.block.name,children:r.node.children},placement:"after"}),(0,a.xl)({type:"insert.block",block:t,placement:"after"}),(0,a.xl)({type:"delete.block",at:n.path})]:[(0,a.xl)({type:"insert.block",block:t,placement:"after"})]]}),(0,a.Ke)({on:"delete.backward",guard:({snapshot:t})=>{let n=h.WV(t),r=h.hH(t),i=h.d2(t);if(!n||!r||!i)return!1;let o=r.node.children[0]._key===i.node._key&&t.context.selection?.focus.offset===0,a=e.defaultStyle?.({context:{schema:t.context.schema},schema:t.context.schema});return!!o&&!!a&&r.node.style!==a&&{defaultStyle:a,focusTextBlock:r}},actions:[(e,{defaultStyle:t,focusTextBlock:n})=>[(0,a.xl)({type:"block.set",props:{style:t},at:n.path})]]})]).map(e=>D.registerBehavior({behavior:e}));return()=>{for(let e of t)e()}},n=[x,D],m[0]=x,m[1]=D,m[2]=t,m[3]=n):(t=m[2],n=m[3]),(0,b.useEffect)(t,n),m[4]!==v||m[5]!==k||m[6]!==E||m[7]!==A||m[8]!==C||m[9]!==T){var I,R,j,N,M,F;if(s=[],v){let e;m[11]!==v?(I={blockquoteStyle:v},e=(0,y.EJ)({on:/^> /,guard:({snapshot:e,event:t})=>{let n=I.blockquoteStyle({context:{schema:e.context.schema},schema:e.context.schema});if(!n||(0,h.Uv)(e))return!1;let r=t.matches.at(0);return!!r&&{style:n,match:r}},actions:[({event:e},{style:t,match:n})=>[(0,a.xl)({type:"block.unset",props:["listItem","level"],at:e.focu
7sBlock.path}),(0,a.xl)({type:"block.set",props:{style:t},at:e.focusBlock.path}),(0,a.xl)({type:"delete",at:n.targetOffsets})]]}),m[11]=v,m[12]=e):e=m[12],s.push(e)}if(k){let e;m[13]!==k?(R={headingStyle:k},e=(0,y.EJ)({on:/^#+ /,guard:({snapshot:e,event:t})=>{if((0,h.Uv)(e))return!1;let n=t.matches.at(0);if(!n)return!1;let r=n.text.length-1,i=R.headingStyle({context:{schema:e.context.schema},schema:e.context.schema,props:{level:r},level:r});return!!i&&{match:n,style:i}},actions:[({event:e},{match:t,style:n})=>[(0,a.xl)({type:"block.unset",props:["listItem","level"],at:e.focusBlock.path}),(0,a.xl)({type:"block.set",props:{style:n},at:e.focusBlock.path}),(0,a.xl)({type:"delete",at:t.targetOffsets})]]}),m[13]=k,m[14]=e):e=m[14],s.push(e)}if(E){let e;m[15]!==E?(j={horizontalRuleObject:E},e=(0,y.EJ)({on:/^(---)|^(—-)|^(___)|^(\*\*\*)/,guard:({snapshot:e,event:t})=>{let n=j.horizontalRuleObject({context:{schema:e.context.schema,keyGenerator:e.context.keyGenerator}});if(!n||(0,h.Uv)(e))return!1;let r=t.matches.at(0);return!!r&&{hrObject:n,match:r}},actions:[(e,{hrObject:t,match:n})=>[(0,a.xl)({type:"insert.block",block:t,placement:"before",select:"none"}),(0,a.xl)({type:"delete",at:n.targetOffsets})]]}),m[15]=E,m[16]=e):e=m[16],s.push(e)}if(A){let e;m[17]!==A?(N={linkObject:A},e=(0,y.EJ)({on:/\[([^[\]]+)]\((.+)\)/,actions:[({snapshot:e,event:t})=>{let n=t.textBefore+t.textInserted,r=0,i=[];for(let n of t.matches.reverse()){let t=n.groupMatches.at(0),o=n.groupMatches.at(1);if(void 0===t||void 0===o)continue;r-=n.targetOffsets.focus.offset-n.targetOffsets.anchor.offset-t.text.length;let s=N.linkObject({context:{schema:e.context.schema,keyGenerator:e.context.keyGenerator},props:{href:o.text}});if(!s)continue;let{_type:l,_key:u,...c}=s,d={anchor:n.targetOffsets.anchor,focus:t.targetOffsets.anchor},f={anchor:t.targetOffsets.focus,focus:n.targetOffsets.focus};i.push((0,a.xl)({type:"select",at:t.targetOffsets})),i.push((0,a.xl)({type:"annotation.add",annotation:{name:l,_key:u,value:c}})),i.push((0,a.xl)({type:"delete",at:f})),i.push((0,a.xl)({type:"delete",at:d}))}let o={path:t.focusBlock.path,offset:n.length- -1*r};return[...i,(0,a.xl)({type:"select",at:{anchor:o,focus:o}})]}]}),m[17]=A,m[18]=e):e=m[18],s.push(e)}if(C){let e;m[19]!==C?(M={orderedList:C},e=(0,y.EJ)({on:/^1\. /,guard:({snapshot:e,event:t})=>{let n=M.orderedList({context:{schema:e.context.schema},schema:e.context.schema});if(!n||(0,h.Uv)(e))return!1;let r=t.matches.at(0);return!!r&&{match:r,orderedList:n}},actions:[({event:e},{match:t,orderedList:n})=>
7[(0,a.xl)({type:"block.unset",props:["style"],at:e.focusBlock.path}),(0,a.xl)({type:"block.set",props:{listItem:n,level:e.focusBlock.node.level??1},at:e.focusBlock.path}),(0,a.xl)({type:"delete",at:t.targetOffsets})]]}),m[19]=C,m[20]=e):e=m[20],s.push(e)}if(T){let e;m[21]!==T?(F={unorderedList:T},e=(0,y.EJ)({on:/^(-|\*) /,guard:({snapshot:e,event:t})=>{let n=F.unorderedList({context:{schema:e.context.schema},schema:e.context.schema});if(!n||(0,h.Uv)(e))return!1;let r=t.matches.at(0);return!!r&&{match:r,unorderedList:n}},actions:[({event:e},{match:t,unorderedList:n})=>[(0,a.xl)({type:"block.unset",props:["style"],at:e.focusBlock.path}),(0,a.xl)({type:"block.set",props:{listItem:n,level:e.focusBlock.node.level??1},at:e.focusBlock.path}),(0,a.xl)({type:"delete",at:t.targetOffsets})]]}),m[21]=T,m[22]=e):e=m[22],s.push(e)}m[4]=v,m[5]=k,m[6]=E,m[7]=A,m[8]=C,m[9]=T,m[10]=s}else s=m[10];let $=s.length>0?s:null;return m[23]!==w?(l=w?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(g,{decorator:w,pair:{char:"*",amount:2}}),(0,r.jsx)(g,{decorator:w,pair:{char:"_",amount:2}})]}):null,m[23]=w,m[24]=l):l=m[24],m[25]!==_?(u=_?(0,r.jsx)(g,{decorator:_,pair:{char:"`",amount:1}}):null,m[25]=_,m[26]=u):u=m[26],m[27]!==S?(c=S?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(g,{decorator:S,pair:{char:"*",amount:1}}),(0,r.jsx)(g,{decorator:S,pair:{char:"_",amount:1}})]}):null,m[27]=S,m[28]=c):c=m[28],m[29]!==O?(d=O?(0,r.jsx)(g,{decorator:O,pair:{char:"~",amount:2}}):null,m[29]=O,m[30]=d):d=m[30],m[31]!==$?(f=$?(0,r.jsx)(y.wS,{rules:$}):null,m[31]=$,m[32]=f):f=m[32],m[33]!==l||m[34]!==u||m[35]!==c||m[36]!==d||m[37]!==f?(p=(0,r.jsxs)(r.Fragment,{children:[l,u,c,d,f]}),m[33]=l,m[34]=u,m[35]=c,m[36]=d,m[37]=f,m[38]=p):p=m[38],p}},27793:(e,t,n)=>{"use strict";n.d(t,{m:()=>s});var r=n(70722),i=n(70061),o=n(77989),a=n(31385);function s(e,t,n){let[s,l]=(0,i.x)(n?.in,e,t),u=(0,a.o)(s),c=(0,a.o)(l);return Math.round((u-(0,r.G)(u)-(c-(0,r.G)(c)))/o.w4)}},27820:(e,t,n)=>{"use strict";n.d(t,{a3:()=>s,m7:()=>l,vm:()=>a});var r=n(74738),i=n(26900);let o=n(7463).O;function a(){if(!("fetch"in o))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(e){return!1}}function s(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function l(){if("string"==typeof EdgeRuntime)return!0;if(!a())return!1;if(s(o.fetch))return!0;let e=!1,t=o.document;if(t&&"function"==typeof t.createElement)try{let n=t.createElement("iframe");
7n.hidden=!0,t.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(e=s(n.contentWindow.fetch)),t.head.removeChild(n)}catch(e){r.T&&i.vF.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return e}},27998:(e,t,n)=>{var r=n(6783),i=n(6561),o=n(54498),a=n(37974),s=n(41486);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},28071:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(51603),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=i&&"object"==typeof module&&module&&!module.nodeType&&module,a=o&&o.exports===i?r.A.Buffer:void 0;let s=(a?a.isBuffer:void 0)||function(){return!1}},28171:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(e,t){return function(n){return e(t(n))}}},28627:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(97822);function i(e){e.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},e.languages.markup.tag.inside["attr-value"].inside.entity=e.languages.markup.entity,e.languages.markup.doctype.inside["internal-subset"].inside=e.languages.markup,e.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.value.replace(/&amp;/,"&"))}),Object.defineProperty(e.languages.markup.tag,"addInlined",{value:function(t,n){var r={};r["language-"+n]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:e.languages[n]},r.cdata=/^<!\[CDATA\[|\]\]>$/i;var i={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:r}};i["language-"+n]={pattern:/[\s\S]+/,inside:e.languages[n]};var o={};o[t]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return t}),"i"),lookbehind:!0,greedy:!0,inside:i},e.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(e.languages.markup.tag,"addAttribute",{value:function(t,n){e.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+t+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[n,"language-"+n],inside:e.languages[n]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),e.languages.html=e.languages.markup,e.languages.mathml=e.languages.markup,e.languages.svg=e.languages.markup,e.languages.xml=e.languages.extend("markup",{}),e.languages.ssml=e.languages.xml,e.languages.atom=e.languages.xml,e.languages.rss=e.languages.xml}function o(e){e.register(r.A),e.register(i),function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,i=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function o(e,t){return RegExp(e=e.replace(/<S>/g,function(){return n}).replace(/<BRACES>/g,function(){return r}).replace(/<SPREAD>/g,function(){return i}),t)}i=o(i).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=o(/<\/?(?:[\w.:-]+(?:<S>
7+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:o(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:o(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var a=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(a).join(""):""},s=function(t){for(var n=[],r=0;r<t.length;r++){var i=t[r],o=!1;if("string"!=typeof i&&("tag"===i.type&&i.content[0]&&"tag"===i.content[0].type?"</"===i.content[0].content[0].content?n.length>0&&n[n.length-1].tagName===a(i.content[0].content[1])&&n.pop():"/>"===i.content[i.content.length-1].content||n.push({tagName:a(i.content[0].content[1]),openedBraces:0}):n.length>0&&"punctuation"===i.type&&"{"===i.content?n[n.length-1].openedBraces++:n.length>0&&n[n.length-1].openedBraces>0&&"punctuation"===i.type&&"}"===i.content?n[n.length-1].openedBraces--:o=!0),(o||"string"==typeof i)&&n.length>0&&0===n[n.length-1].openedBraces){var l=a(i);r<t.length-1&&("string"==typeof t[r+1]||"plain-text"===t[r+1].type)&&(l+=a(t[r+1]),t.splice(r+1,1)),r>0&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(l=a(t[r-1])+l,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",l,null,l)}i.content&&"string"!=typeof i.content&&s(i.content)}};e.hooks.add("after-tokenize",function(e){("jsx"===e.language||"tsx"===e.language)&&s(e.tokens)})}(e)}i.displayName="markup",i.aliases=["atom","html","mathml","rss","ssml","svg","xml"],o.displayName="jsx",o.aliases=[]},28936:(e,t,n)=>{"use strict";n.d(t,{i:()=>i});var r=n(97561);function i(e){return(0,r.p)(function(t,n){return e<=n})}},28959:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}},29035:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});let r=function(e,t,n,r){for(var i=-1,o=null==e?0:e.length;++i<o;){var a=e[i];t(r,a,n(a),e)}return r};var i=n(89794);let o=function(e,t,n,r){return(0,i.A)(e,function(e,i,o){t(r,e,n(e),o)}),r};var a=n(35821),s=n(92459);let l=function(e,t){return function(n,i){var l=(0,s.A)(n)?r:o,u=t?t():{};return l(n,e,(0,a.A)(i,2),u)}}},29049:(e,t,n)=>{"use strict";var r,i=n(87358),o=function(){function e(e,t){var n;if("function"!=typeof e)throw TypeError("DataLoader must be constructed with a function which accepts Array<key> and returns Promise<Array<value>>, but got: "+e+".");this._batchLoadFn=e,this._maxBatchSize=function(e){if(!(!e||!1!==e.batch))return 1;var t=e&&e.maxBatchSize;if(void 0===t)return 1/0;if("number"!=typeof t||t<1)throw TypeError("maxBatchSize must be a positive number: "+t);return t}(t),this._batchScheduleFn=function(e){var t=e&&e.batchScheduleFn;if(void 0===t)return a;
7if("function"!=typeof t)throw TypeError("batchScheduleFn must be a function: "+t);return t}(t),this._cacheKeyFn=function(e){var t=e&&e.cacheKeyFn;if(void 0===t)return function(e){return e};if("function"!=typeof t)throw TypeError("cacheKeyFn must be a function: "+t);return t}(t),this._cacheMap=function(e){if(!(!e||!1!==e.cache))return null;var t=e&&e.cacheMap;if(void 0===t)return new Map;if(null!==t){var n=["get","set","delete","clear"].filter(function(e){return t&&"function"!=typeof t[e]});if(0!==n.length)throw TypeError("Custom cacheMap missing methods: "+n.join(", "))}return t}(t),this._batch=null,this.name=(n=t)&&n.name?n.name:null}var t=e.prototype;return t.load=function(e){if(null==e)throw TypeError("The loader.load() function must be called with a value, but got: "+String(e)+".");var t,n=function(e){var t=e._batch;if(null!==t&&!t.hasDispatched&&t.keys.length<e._maxBatchSize)return t;var n={hasDispatched:!1,keys:[],callbacks:[]};return e._batch=n,e._batchScheduleFn(function(){!function(e,t){var n;if(t.hasDispatched=!0,0===t.keys.length)return l(t);try{n=e._batchLoadFn(t.keys)}catch(n){return s(e,t,TypeError("DataLoader must be constructed with a function which accepts Array<key> and returns Promise<Array<value>>, but the function errored synchronously: "+String(n)+"."))}if(!n||"function"!=typeof n.then)return s(e,t,TypeError("DataLoader must be constructed with a function which accepts Array<key> and returns Promise<Array<value>>, but the function did not return a Promise: "+String(n)+"."));n.then(function(e){if(!u(e))throw TypeError("DataLoader must be constructed with a function which accepts Array<key> and returns Promise<Array<value>>, but the function did not return a Promise of an Array: "+String(e)+".");if(e.length!==t.keys.length)throw TypeError("DataLoader must be constructed with a function which accepts Array<key> and returns Promise<Array<value>>, but the function did not return a Promise of an Array of the same length as the Array of keys.\n\nKeys:\n"+String(t.keys)+"\n\nValues:\n"+String(e));l(t);for(var n=0;n<t.callbacks.length;n++){var r=e[n];r instanceof Error?t.callbacks[n].reject(r):t.callbacks[n].resolve(r)}}).catch(function(n){s(e,t,n)})}(e,n)}),n}(this),r=this._cacheMap;if(r){t=this._cacheKeyFn(e);var i=r.get(t);if(i){var o=n.cacheHits||(n.cacheHits=[]);return new Promise(function(e){o.push(function(){e(i)})})}}n.keys.push(e);var a=new Promise(function(e,t){n.callbacks.push({resolve:e,reject:t})});return r&&r.set(t,a),a},t.loadMany=function(e){if(!u(e))throw TypeError("The loader.loadMany() function must be called with Array<key> but got: "+e+".");for(var t=[],n=0;n<e.length;n++)t.push(this.load(e[n]).catch(function(e){return e}));return Promise.all(t)},t.clear=function(e){var t=this._cacheMap;if(t){var n=this._cacheKeyFn(e);t.delete(n)}return this},t.clearAll=function(){var e=this._cacheMap;return e&&e.clear(),this},t.prime=function(e,t){var n=this._cacheMap;if(n){var r,i=this._cacheKeyFn(e);void 0===n.get(i)&&(t instanceof Error?(r=Promise.reject(t)).catch(function(){}):r=Promise.resolve(t),n.set(i,r))}return this},e}(),a="object"==typeof i&&"function"==typeof i.nextTick?function(e){r||(r=Promise.resolve()),r.then(function(){i.nextTick(e)})}:"function"==typeof setImmediate?function(e){setImmediate(e)}:function(e){setTimeout(e)};function s(e,t,n){l(t);for(var r=0;r<t.keys.length;r++)e.clear(t.keys[r]),t.callbacks[r].reject(n)}function l(e){if(e.cacheHits)for(var t=0;t<e.cacheHits.length;t++)e.cacheHits[t]()}function u(e){return"object"==typeof e&&null!==e&&"number"==typeof e.length&&(0===e.length||e.length>0&&Object.prototype.hasOwnProperty.call(e,e.length-1))}e.exports=o},29568:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(e,t){return e===t||e!=e&&t!=t}},29649:(e,t,n)=>{"use strict";n.d(t,{AD:()=>l,SB:()=>a});var r=n(74738),i=n(26900);let o=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function a(e,t=!1){let{host:n,path:r,pass:i,port:o,projectId:s,protocol:l,publicKey:u}=e;return`${l}://${u}${t&&i?`:${i}`:""}@${n}${o?`:${o}`:""}/${r?`${r}/`:r}${s}`}function s(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function l(e){let t="string"==typeof e?function(e){let t=o.exec(e);if(!t)return void(0,i.pq)(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});let[n,r,a="",l="",u="",c=""]=t.slice(1),d="",f=c,h=f.split("/");if(h.length>1&&(d=h.slice(0,-1).join("/"),f=h.pop()),f){let e=f.match(/^\d+/);e&&(f=e[0])}return s({host:l,pass:a,path:d,projectId:f,port:u,protocol:n,publicKey:r})}(e):s(e);if(t&&function(e){if(!r.T)return!0;let{port:t,projectId:n,protocol:o}=e;return!["protocol","publicKey","host","projectId"].find(t=>!e[t]&&(i.vF.error(`Invalid Sentry Dsn: ${t} missing`),!0))&&(n.match(/^\d+$/)?"http"!==o&&"https"!==o?(i.vF.error(`Invalid Sentry Dsn: Invalid protocol ${o}`),!1):!(t&&isNaN(parseInt(t,10)))||(i.vF.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):(i.vF.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1))}(t))return t}},29703:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=n(51603).A.Symbol},29822:(e,t,n)=>{var r=n(18610),i=n(75575),o=n(20153),a=Math.max,s=Math.min;e.exports=function(e,t,n){var l,u,c,d,f,h,p=0,g=!1,m=!1,y=!0;if("function"!=typeof e)throw TypeError("Expected a function");function b(t){var n=l,r=u;return l=u=void 0,p=t,d=e.apply(r,n)}function v(e){var n=e-h,r=e-p;return void 0===h||n>=t||n<0||m&&r>=c}function w(){var e,n,r,o=i();if(v(o))return _(o);f=setTimeout(w,(e=o-h,n=o-p,r=t-e,m?s(r,c-n):r))}function _(e){return(f=void 0,y&&l)?b(e):(l=u=void 0,d)}function x(){var e,n=i(),r=v(n);if(l=arguments,u=this,h=n,r){if(void 0===f)return p=e=h,f=setTimeout(w,t),g?b(e):d;if(m)return clearTimeout(f),f=setTimeout(w,t),b(h)}return void 0===f&&(f=setTimeout(w,t)),d}return t=o(t)||0,r(n)&&(g=!!n.leading,c=(m="maxWait"in n)?a(o(n.maxWait)||0,t):c,y="trailing"in n?!!n.trailing:y),x.cancel=function(){void 0!==f&&clearTimeout(f),p=0,l=h=u=f=void 0},x.flush=function(){return void 0===f?d:_(i())},x}},30253:(e,t,n)=>{"use strict";n.d(t,{A:()=>
7o});var r=n(38374),i=1/0;let o=function(e){if("string"==typeof e||(0,r.A)(e))return e;var t=e+"";return"0"==t&&1/e==-i?"-0":t}},30390:e=>{e.exports=function(e,t,n,r){for(var i=-1,o=null==e?0:e.length;++i<o;){var a=e[i];t(r,a,n(a),e)}return r}},30545:(e,t,n)=>{"use strict";n.d(t,{g:()=>i});var r=n(92477);function i(e,t,n){let i=(0,r.a)(e,n?.in);return i.setMinutes(t),i}},30789:(e,t,n)=>{"use strict";e.exports=n(89043)},30989:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=0x1fffffffffffff}},31166:(e,t,n)=>{"use strict";n.d(t,{b:()=>i});var r=n(25037);function i(e,t){return(0,r.k)(e,{...t,weekStartsOn:1})}},31385:(e,t,n)=>{"use strict";n.d(t,{o:()=>i});var r=n(92477);function i(e,t){let n=(0,r.a)(e,t?.in);return n.setHours(0,0,0,0),n}},31509:e=>{"use strict";e.exports=function(e){return(e=String(e||""),r.test(e))?"rtl":i.test(e)?"ltr":"neutral"};var t="֑-߿יִ-﷽ﹰ-ﻼ",n="A-Za-z\xc0-\xd6\xd8-\xf6\xf8-ʸ̀-֐ࠀ-῿‎Ⰰ-﬜︀-﹯﻽-￿",r=RegExp("^[^"+n+"]*["+t+"]"),i=RegExp("^[^"+t+"]*["+n+"]")},31532:(e,t,n)=>{"use strict";n.d(t,{Te:()=>s});var r=n(12115),i=n(47650),o=n(32245);let a="u">typeof document?r.useLayoutEffect:r.useEffect;function s(e){return function({useFlushSync:e=!0,...t}){let n=r.useReducer(()=>({}),{})[1],s={...t,onChange:(r,o)=>{var a;e&&o?(0,i.flushSync)(n):n(),null==(a=t.onChange)||a.call(t,r,o)}},[l]=r.useState(()=>new o.YV(s));return l.setOptions(s),a(()=>l._didMount(),[]),a(()=>l._willUpdate()),l}({observeElementRect:o.T6,observeElementOffset:o.AO,scrollToFn:o.Ox,...e})}},31534:(e,t,n)=>{"use strict";n.d(t,{a:()=>l,e:()=>g,l:()=>b,s:()=>h});var r,i=n(99929),o=n(22821);function a(e,t,n,r,{event:i}){return[t,{event:"function"==typeof i?i(n,r):i},void 0]}function s(e,{event:t}){e.defer(()=>e.emit(t))}function l(e){function t(e,t){}return t.type="xstate.emit",t.event=e,t.resolve=a,t.execute=s,t}let u=((r={}).Parent="#_parent",r.Internal="#_internal",r);function c(e,t,n,r,{to:i,event:o,id:a,delay:s},l){let c,d,f=t.machine.implementations.delays;if("string"==typeof o)throw Error(`Only event objects may be used with sendTo; use sendTo({ type: "${o}" }) instead`);let h="function"==typeof o?o(n,r):o;if("string"==typeof s){let e=f&&f[s];c="function"==typeof e?e(n,r):e}else c="function"==typeof s?s(n,r):s;let p="function"==typeof i?i(n,r):i;if("string"==typeof p){if(!(d=p===u.Parent?e.self._parent:p===u.Internal?e.self:p.startsWith("#_")?t.children[p.slice(2)]:l.deferredActorIds?.includes(p)?p:t.children[p]))throw Error(`Unable to send event to actor '${p}' from machine '${t.machine.id}'.`)}else d=p||e.self;return[t,{to:d,targetId:"string"==typeof p?p:void 0,event:h,id:a,delay:c},void 0]}function d(e,t,n){"string"==typeof n.to&&(n.to=t.children[n.to])}function f(e,t){e.defer(()=>{let{to:n,event:r,delay:o,id:a}=t;"number"==typeof o?e.system.scheduler.schedule(e.self,n,r,o,a):e.system._relay(e.self,n,r.type===i.W?(0,i.Y)(e.self.id,r.data):r)})}function h(e,t,n){function r(e,t){}return r.type="xstate.sendTo",r.to=e,r.event=t,r.id=n?.id,r.delay=n?.delay,r.resolve=c,r.retryResolve=d,r.execute=f,r}function p(e,t,n,r,{collect:a}){let s=[],c=function(e){s.push(e)};return c.assign=(...e)=>{s.push((0,o.a)(...e))},c.cancel=(...e)=>{s.push((0,i.a)(...e))},c.raise=(...e)=>
7{s.push((0,i.r)(...e))},c.sendTo=(...e)=>{s.push(h(...e))},c.sendParent=(...e)=>{s.push(function(e,t){return h(u.Parent,e,t)}(...e))},c.spawnChild=(...e)=>{s.push((0,i.b)(...e))},c.stopChild=(...e)=>{s.push((0,i.s)(...e))},c.emit=(...e)=>{s.push(l(...e))},a({context:n.context,event:n.event,enqueue:c,check:e=>(0,i.D)(e,t.context,n.event,t),self:e.self,system:e.system},r),[t,void 0,s]}function g(e){function t(e,t){}return t.type="xstate.enqueueActions",t.collect=e,t.resolve=p,t}function m(e,t,n,r,{value:i,label:o}){return[t,{value:"function"==typeof i?i(n,r):i,label:o},void 0]}function y({logger:e},{value:t,label:n}){n?e(n,t):e(t)}function b(e=({context:e,event:t})=>({context:e,event:t}),t){function n(e,t){}return n.type="xstate.log",n.value=e,n.label=t,n.resolve=m,n.execute=y,n}},31727:(e,t,n)=>{"use strict";n.d(t,{Y:()=>s});var r=n(70061),i=n(69356),o=n(91993),a=n(25037);function s(e,t){let{start:n,end:s}=function(e,t){let[n,i]=(0,r.x)(e,t.start,t.end);return{start:n,end:i}}(t?.in,e),l=+n>+s,u=l?(0,a.k)(s,t):(0,a.k)(n,t),c=l?(0,a.k)(n,t):(0,a.k)(s,t);u.setHours(15),c.setHours(15);let d=+c.getTime(),f=u,h=t?.step??1;if(!h)return[];h<0&&(h=-h,l=!l);let p=[];for(;+f<=d;)f.setHours(0),p.push((0,o.w)(n,f)),(f=(0,i.J)(f,h)).setHours(15);return l?p.reverse():p}},31843:(e,t,n)=>{"use strict";n.d(t,{n:()=>a});var r=n(38299),i=n(79619),o=n(77973);function a(e,t){return(0,i.N)(function(n,i){var a=null,s=0,l=!1,u=function(){return l&&!a&&i.complete()};n.subscribe((0,o._)(i,function(n){null==a||a.unsubscribe();var l=0,c=s++;(0,r.Tg)(e(n,c)).subscribe(a=(0,o._)(i,function(e){return i.next(t?t(n,e,c,l++):e)},function(){a=null,u()}))},function(){l=!0,u()}))})}},31980:(e,t,n)=>{"use strict";n.d(t,{N:()=>l});var r=n(14283),i=n(38299),o=n(79619),a=n(65132),s={connector:function(){return new r.B}};function l(e,t){void 0===t&&(t=s);var n=t.connector;return(0,o.N)(function(t,r){var o=n();(0,i.Tg)(e(new a.c(function(e){return o.subscribe(e)}))).subscribe(r),r.add(t.subscribe(o))})}},32079:(e,t,n)=>{"use strict";n.d(t,{$n:()=>g,AM:()=>T,Dr:()=>O,IU:()=>b,lG:()=>m,m_:()=>A,oz:()=>D,qW:()=>v,tH:()=>y,vE:()=>I});var r=n(95155),i=n(19749),o=n(91896),a=n(98199),s=n(12115),l=n(80825),u=n(23832),c=n(36422),d=n(77928);let f={space:3,padding:3},h={space:2,padding:2},p=c.I4.span.withConfig({displayName:"TooltipButtonWrapper",componentId:"sc-jrh35q-0"})`display:inline-flex;`,g=(0,s.forwardRef)(function(e,t){let n,a,s,l,u,c,d,g,m=(0,i.c)(22);m[0]!==e?({size:l,mode:u,paddingY:a,paddingLeft:n,tone:c,tooltipProps:d,...s}=e,m[0]=e,m[1]=n,m[2]=a,m[3]=s,m[4]=l,m[5]=u,m[6]=c,m[7]=d):(n=m[1],a=m[2],s=m[3],l=m[4],u=m[5],c=m[6],d=m[7]);let y=void 0===u?"default":u,b=void 0===c?"default":c,v="default"===(void 0===l?"default":l)?h:f;m[8]!==y||m[9]!==n||m[10]!==a||m[11]!==t||m[12]!==s||m[13]!==v||m[14]!==b?(g=(0,r.jsx)(o.$n,{...s,...v,paddingY:a,paddingLeft:n,ref:t,mode:y,tone:b}),m[8]=y,m[9]=n,m[10]=a,m[11]=t,m[12]=s,m[13]=v,m[14]=b,m[15]=g):g=m[15];let w=g;if(d){let e,t,n=d?.content;return m[16]!==w?(e=(0,r.jsx)(p,{children:w}),m[16]=w,m[17]=e):e=m[17],m[18]!==n||m[19]!==e||m[20]!==d?(t=(0,r.jsx)(A,{content:n,portal:!0,...d,children:e}),m[18]=n,m[19]=e,m[20]=d,m[21]=t):t=m[21],t}return w}),m=(0,s.forwardRef)(function(e,t){let n,s,l,u,c,f,h,p,g,m,y=(0,i.c)(23);y[0]!==e?({animate:c,bodyHeight:n,children:s,footer:l,padding:f,zOffset:h,...u}=e,y[0]=e,y[1]=n,y[2]=s,y[3]=l,y[4]=u,y[5]=c,y[6]=f,y[7]=h):(n=y[1],s=y[2],l=y[3],u=y[4],c=y[5],f=y[6],h=y[7]);let b=void 0===c||c,v=void 0===f||f,{t:w}=(0,d.Bd)();y[8]!==l||y[9]!==u||y[10]!==w?(p=(l?.confirmButton||l?.cancelButton)&&(0,r.jsxs)(o.so,{width:"full",gap:3,justify:"flex-end",padding:3,align:"center",children:[l?.description&&(0,r.jsx)(o.az,{flex:1,paddingLeft:1,children:(0,r.jsx)(o.EY,{size:1,muted:!0,children:l.description})}),u.onClose&&(0,r.jsx)(o.$n,{mode:"bleed",padding:2,text:w("common.dialog.cancel-button.text"),tone:"default",onClick:u.onClose,"data-testid":"cancel-button",...l.cancelButton}),l.confirmButton&&(0,r.jsx)(o.$n,{mode:"default",padding:2,text:w("common.dialog.confirm-button.text"),tone:"critical","data-testid":"confirm-button",...l.confirmButton})]}),y[8]=l,y[9]=u,y[10]=w,y[11]=p):p=y[11];let _=4*!!v;return y[12]!==n||y[13]!==s||y[14]!==_?(g=(0,r.jsx)(o.az,{height:n,padding:_,children:s}),y[12]=n,y[13]=s,y[14]=_,y[15]=g):g=y[15],y[16]!==b||y[17]!==u||y[18]!==t||y[19]!==p||y[20]!==g||y[21]!==h?(m=(0,r.jsx)(a.lG,{...u,animate:b,zOffset:h,ref:t,footer
7:p,children:g}),y[16]=b,y[17]=u,y[18]=t,y[19]=p,y[20]=g,y[21]=h,y[22]=m):m=y[22],m});function y(e){let t,n,o,u,c=(0,i.c)(9);c[0]!==e?({onCatch:t,...n}=e,c[0]=e,c[1]=t,c[2]=n):(t=c[1],n=c[2]);let d=(0,s.useContext)(l.lH);c[3]!==t||c[4]!==d?(o=e=>{let{error:n,info:r}=e;try{d?.onUncaughtError?.(n,r)}catch(e){e.message=`Encountered an additional error when calling custom "onUncaughtError()": ${e.message}`,console.error(e)}t?.({error:n,info:r})},c[3]=t,c[4]=d,c[5]=o):o=c[5];let f=o;return c[6]!==f||c[7]!==n?(u=(0,r.jsx)(a.tH,{...n,onCatch:f}),c[6]=f,c[7]=n,c[8]=u):u=c[8],u}let b=(0,s.forwardRef)(function(e,t){let n,o,s=(0,i.c)(6);return s[0]!==e.popover?(n={...e.popover,animate:!0},s[0]=e.popover,s[1]=n):n=s[1],s[2]!==e||s[3]!==t||s[4]!==n?(o=(0,r.jsx)(a.IU,{...e,ref:t,popover:n}),s[2]=e,s[3]=t,s[4]=n,s[5]=o):o=s[5],o});function v(e){let t,n,a,s,l,u,c=(0,i.c)(12);c[0]!==e?({makePlatformAware:n,keys:a,...t}=e,c[0]=e,c[1]=t,c[2]=n,c[3]=a):(t=c[1],n=c[2],a=c[3]);let d=void 0===n||n;c[4]!==a?(s=void 0===a?[]:a,c[4]=a,c[5]=s):s=c[5];let f=s;c[6]!==f||c[7]!==d?(l=d?f.map(_):f,c[6]=f,c[7]=d,c[8]=l):l=c[8];let h=l;return c[9]!==h||c[10]!==t?(u=(0,r.jsx)(o.qW,{...t,keys:h}),c[9]=h,c[10]=t,c[11]=u):u=c[11],u}let w=!(typeof navigator>"u")&&"string"==typeof navigator.platform&&/Mac|iPod|iPhone|iPad/.test(navigator.platform||"");function _(e){let t=e.toLowerCase();return"alt"===t&&w?x(e,"option"):"option"!==t||w?e:x(e,"alt")}function x(e,t){let n=e.length;return t.replace(/./g,(t,r)=>r<n&&e[r]===e[r].toUpperCase()?t.toUpperCase():t)}let k={open:400},E={animate:!0,arrow:!1,boundaryElement:null,delay:k,fallbackPlacements:["bottom-start","bottom-end","top-start","top-end"],placement:"bottom",portal:!0},A=(0,s.forwardRef)(function(e,t){let n,a,s,l,u=(0,i.c)(19);if(u[0]!==e?({content:n,hotkeys:a,...s}=e,u[0]=e,u[1]=n,u[2]=a,u[3]=s):(n=u[1],a=u[2],s=u[3]),"string"==typeof n){let e,i,l,c;return u[4]!==n?(e=n&&(0,r.jsx)(o.az,{flex:1,padding:1,children:(0,r.jsx)(o.EY,{size:1,children:n})}),u[4]=n,u[5]=e):e=u[5],u[6]!==a?(i=a&&(0,r.jsx)(o.az,{flex:"none",children:(0,r.jsx)(v,{keys:a})}),u[6]=a,u[7]=i):i=u[7],u[8]!==e||u[9]!==i?(l=(0,r.jsxs)(o.so,{align:"center",children:[e,i]}),u[8]=e,u[9]=i,u[10]=l):l=u[10],u[11]!==t||u[12]!==s||u[13]!==l?(c=(0,r.jsx)(o.m_,{...E,content:l,padding:1,ref:t,...s}),u[11]=t,u[12]=s,u[13]=l,u[14]=c):c=u[14],c}return u[15]!==n||u[16]!==t||u[17]!==s?(l=(0,r.jsx)(o.m_,{...E,content:n,ref:t,...s}),u[15]=n,u[16]=t,u[17]=s,u[18]=l):l=u[18],l}),S=(0,c.I4)(o.EY).withConfig({displayName:"SubtitleText",componentId:"sc-1sm0vyt-0"})`margin-top:2px;`,C=(0,c.I4)(o.az).withConfig({displayName:"PreviewWrapper",componentId:"sc-1sm0vyt-1"})`height:25px;width:25px;overflow:hidden;`,O=(0,s.forwardRef)(function(e,t){let n,a,l,c,d,f,h,p,g,m,y,b,w,_,x,k,E,O,T,D,I=(0,i.c)(49);I[0]!==e?({badgeText:d,children:f,disabled:h,hotkeys:p,icon:n,iconRight:a,preview:y,renderMenuItem:g,text:b,tooltipProps:w,__unstable_subtitle:c,__unstable_space:l,...m}=e,I[0]=e,I[1]=n,I[2]=a,I[3]=l,I[4]=c,I[5]=d,I[6]=f,I[7]=h,I[8]=p,I[9]=g,I[10]=m,I[11]=y,I[12]=b,I[13]=w):(n=I[1],a=I[2],l=I[3],c=I[4],d=I[5],f=I[6],h=I[7],p=I[8],g=I[9],m=I[10],y=I[11],b=I[12],w=I[13]);let R=void 0===y?null:y;I[14]!==l||I[15]!==h||I[16]!==R?(_=R&&(0,r.jsx)(C,{style:{opacity:h?.25:void 0},paddingRight:+!!l,children:(0,r.jsx)(o.so,{align:"center",height:"fill",justify:"center",children:R})}),I[14]=l,I[15]=h,I[16]=R,I[17]=_):_=I[17],I[18]!==n?(x=n&&(0,r.jsx)(o.az,{paddingRight:1,children:(0,r.jsxs)(o.EY,{size:1,children:[(0,s.isValidElement)(n)&&n,(0,u.isValidElementType)(n)&&(0,r.jsx)(n,{})]})}),I[18]=n,I[19]=x):x=I[19],I[20]!==c||I[21]!==b?(k=b&&(0,r.jsxs)(o.BJ,{flex:1,space:c?1:2,children:[(0,r.jsx)(o.EY,{size:1,textOverflow:"ellipsis",weight:"medium",children:b}),c&&(0,r.jsx)(S,{size:0,textOverflow:"ellipsis",weight:"medium",muted:!0,children:c})]}),I[20]=c,I[21]=b,I[22]=k):k=I[22],I[23]!==a||I[24]!==d||I[25]!==p?(E=(d||p||a)&&(0,r.jsxs)(o.so,{align:"center",gap:3,marginLeft:3,children:[p&&(0,r.jsx)(v,{keys:p,style:{marginTop:-4,marginBottom:-4}}),d&&(0,r.jsx)(o.Ex,{fontSize:0,style:{marginTop:-4,marginBottom:-4},children:d}),a&&(0,r.jsxs)(o.EY,{size:1,children:[(0,s.isValidElement)(a)&&a,(0,u.isValidElementType)(a)&&(0,r.jsx)(a,{})]})]}),I[23]=a,I[24]=d,I[25]=p,I[26]=E):E=I[26],I[27]!==_||I[28]!==x||I[29]!==k||I[30]!==E?(O=(0,r.jsxs)(o.so,{align:"center",gap:2,children:[_,x,k,E]}),I[27]=_,I[28]=x,I[29]=k,I[30]=E,I[31]=O):O=I[31];let j=O,N=R?1:3,M=R?1:3;I[32]!==f||I[33]!==j||I[34]!==g?(T=typeof f>"u"&&"function"==typeof g?g(j):j,I[32]=f,I[33]=j,I[34]=g,I[35]=T):T=I[35],I[36]!==h||I[37]!==t||I[38]!==m||I[39]!==N||I[40]!==M||I[41]!==T?(D=(0,r.jsx)(o.Dr,{disabled:h,paddingLeft:N,paddingRight:3,paddingY:M,ref:t,...m,children:T}),I[36]=h,I[37]=t,I[38]=m,I[39]=N,I[40]=M,I[41]=T,I[42]=D):D=I[42];let F=D;if(w){let e,t,n=w?.content;return I[43]!==F?(e=(0,r.jsx)("div",{children:F}),I[43]=F,I[44]=e):e=I[44],I[45]!==n||I[46]!==e||I[47]!==w?(t=(0,r.jsx)(A,{content:n,portal:!0,...w,children:e}),I[45]=n,I[46]=e,I[47]=w,I[48]=t):t=I[48],t}return F}
7),T=(0,s.forwardRef)(function(e,t){let n,a,s,l=(0,i.c)(7);l[0]!==e?({animate:a,...n}=e,l[0]=e,l[1]=n,l[2]=a):(n=l[1],a=l[2]);let u=void 0===a||a;return l[3]!==u||l[4]!==t||l[5]!==n?(s=(0,r.jsx)(o.AM,{...n,animate:u,ref:t}),l[3]=u,l[4]=t,l[5]=n,l[6]=s):s=l[6],s}),D=(0,s.forwardRef)(function(e,t){let n,a,s,l=(0,i.c)(7);l[0]!==e?({tone:a,...n}=e,l[0]=e,l[1]=n,l[2]=a):(n=l[1],a=l[2]);let u=void 0===a?"default":a;return l[3]!==n||l[4]!==t||l[5]!==u?(s=(0,r.jsx)(o.oz,{...n,muted:!0,padding:2,ref:t,tone:u}),l[3]=n,l[4]=t,l[5]=u,l[6]=s):s=l[6],s}),I=e=>{let t,n=(0,i.c)(2);return n[0]!==e.children?(t=(0,r.jsx)(o.vE,{delay:k,children:e.children}),n[0]=e.children,n[1]=t):t=n[1],t}},32245:(e,t,n)=>{"use strict";function r(e,t,n){let r,i=n.initialDeps??[],o=!0;function a(){var a,s,l;let u,c;n.key&&(null==(a=n.debug)?void 0:a.call(n))&&(u=Date.now());let d=e();if(!(d.length!==i.length||d.some((e,t)=>i[t]!==e)))return r;if(i=d,n.key&&(null==(s=n.debug)?void 0:s.call(n))&&(c=Date.now()),r=t(...d),n.key&&(null==(l=n.debug)?void 0:l.call(n))){let e=Math.round((Date.now()-u)*100)/100,t=Math.round((Date.now()-c)*100)/100,r=t/16,i=(e,t)=>{for(e=String(e);e.length<t;)e=" "+e;return e};console.info(`%c⏱ ${i(t,5)} /${i(e,5)} ms`,`
8            font-size: .6rem;
9            font-weight: bold;
10            color: hsl(${Math.max(0,Math.min(120-120*r,120))}deg 100% 31%);`,null==n?void 0:n.key)}return(null==n?void 0:n.onChange)&&!(o&&n.skipInitialOnChange)&&n.onChange(r),o=!1,r}return a.updateDeps=e=>{i=e},a}function i(e,t){if(void 0!==e)return e;throw Error(`Unexpected undefined${t?`: ${t}`:""}`)}n.d(t,{YV:()=>p,vp:()=>s,Ox:()=>h,AO:()=>d,T6:()=>l});let o=e=>{let{offsetWidth:t,offsetHeight:n}=e;return{width:t,height:n}},a=e=>e,s=e=>{let t=Math.max(e.startIndex-e.overscan,0),n=Math.min(e.endIndex+e.overscan,e.count-1),r=[];for(let e=t;e<=n;e++)r.push(e);return r},l=(e,t)=>{let n=e.scrollElement;if(!n)return;let r=e.targetWindow;if(!r)return;let i=e=>{let{width:n,height:r}=e;t({width:Math.round(n),height:Math.round(r)})};if(i(o(n)),!r.ResizeObserver)return()=>{};let a=new r.ResizeObserver(t=>{let r=()=>{let e=t[0];if(null==e?void 0:e.borderBoxSize){let t=e.borderBoxSize[0];if(t)return void i({width:t.inlineSize,height:t.blockSize})}i(o(n))};e.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(r):r()});return a.observe(n,{box:"border-box"}),()=>{a.unobserve(n)}},u={passive:!0},c="u"<typeof window||"onscrollend"in window,d=(e,t)=>{var n,r;let i,o=e.scrollElement;if(!o)return;let a=e.targetWindow;if(!a)return;let s=0,l=e.options.useScrollendEvent&&c?()=>void 0:(n=()=>{t(s,!1)},r=e.options.isScrollingResetDelay,function(...e){a.clearTimeout(i),i=a.setTimeout(()=>n.apply(this,e),r)}),d=n=>()=>{let{horizontal:r,isRtl:i}=e.options;s=r?o.scrollLeft*(i&&-1||1):o.scrollTop,l(),t(s,n)},f=d(!0),h=d(!1);o.addEventListener("scroll",f,u);let p=e.options.useScrollendEvent&&c;return p&&o.addEventListener("scrollend",h,u),()=>{o.removeEventListener("scroll",f),p&&o.removeEventListener("scrollend",h)}},f=(e,t,n)=>{if(null==t?void 0:t.borderBoxSize){let e=t.borderBoxSize[0];if(e)return Math.round(e[n.options.horizontal?"inlineSize":"blockSize"])}return e[n.options.horizontal?"offsetWidth":"offsetHeight"]},h=(e,{adjustments:t=0,behavior:n},r)=>{var i,o;null==(o=null==(i=r.scrollElement)?void 0:i.scrollTo)||o.call(i,{[r.options.horizontal?"left":"top"]:e+t,behavior:n})};class p{constructor(e){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.currentScrollToIndex=null,this.measurementsCache=[],this.itemSizeCache=new Map,this.laneAssignments=new Map,this.pendingMeasuredCacheIndexes=[],this.prevLanes=void 0,this.lanesChangedFlag=!1,this.lanesSettling=!1,this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this.elementsCache=new Map,this.observer=(()=>{let e=null,t=()=>e||(this.targetWindow&&this.targetWindow.ResizeObserver?e=new this.targetWindow.ResizeObserver(e=>{e.forEach(e=>{let t=()=>{this._measureElement(e.target,e)};this.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(t):t()})}):null);return{disconnect:()=>{var n;null==(n=t())||n.disconnect(),e=null},observe:e=>{var n;return null==(n=t())?void 0:n.observe(e,{box:"border-box"})},unobserve:e=>{var n;return null==(n=t())?void 0:n.unobserve(e)}}})(),this.range=null,this.setOptions=e=>{Object.entries(e).forEach(([t,n])=>{void 0===n&&delete e[t]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:a,rangeExtractor:s,onChange:()=>{},measureElement:f,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!1,useAnimationFrameWithResizeObserver:!1,...e}},this.notify=e=>{var t,n;null==(n=(t=this.options).onChange)||n.call(t,this,e)},this.maybeNotify=r(()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]),e=>{this.notify(e)},{key:!1,debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>
10{this.unsubs.filter(Boolean).forEach(e=>e()),this.unsubs=[],this.observer.disconnect(),this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var e;let t=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==t){if(this.cleanup(),!t)return void this.maybeNotify();this.scrollElement=t,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=(null==(e=this.scrollElement)?void 0:e.window)??null,this.elementsCache.forEach(e=>{this.observer.observe(e)}),this.unsubs.push(this.options.observeElementRect(this,e=>{this.scrollRect=e,this.maybeNotify()})),this.unsubs.push(this.options.observeElementOffset(this,(e,t)=>{this.scrollAdjustments=0,this.scrollDirection=t?this.getScrollOffset()<e?"forward":"backward":null,this.scrollOffset=e,this.isScrolling=t,this.maybeNotify()})),this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0})}},this.getSize=()=>this.options.enabled?(this.scrollRect=this.scrollRect??this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0),this.getScrollOffset=()=>this.options.enabled?(this.scrollOffset=this.scrollOffset??("function"==typeof this.options.initialOffset?this.options.initialOffset():this.options.initialOffset),this.scrollOffset):(this.scrollOffset=null,0),this.getFurthestMeasurement=(e,t)=>{let n=new Map,r=new Map;for(let i=t-1;i>=0;i--){let t=e[i];if(n.has(t.lane))continue;let o=r.get(t.lane);if(null==o||t.end>o.end?r.set(t.lane,t):t.end<o.end&&n.set(t.lane,!0),n.size===this.options.lanes)break}return r.size===this.options.lanes?Array.from(r.values()).sort((e,t)=>e.end===t.end?e.index-t.index:e.end-t.end)[0]:void 0},this.getMeasurementOptions=r(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled,this.options.lanes],(e,t,n,r,i,o)=>(void 0!==this.prevLanes&&this.prevLanes!==o&&(this.lanesChangedFlag=!0),this.prevLanes=o,this.pendingMeasuredCacheIndexes=[],{count:e,paddingStart:t,scrollMargin:n,getItemKey:r,enabled:i,lanes:o}),{key:!1}),this.getMeasurements=r(()=>[this.getMeasurementOptions(),this.itemSizeCache],({count:e,paddingStart:t,scrollMargin:n,getItemKey:r,enabled:i,lanes:o},a)=>{if(!i)return this.measurementsCache=[],this.itemSizeCache.clear(),this.laneAssignments.clear(),[];if(this.laneAssignments.size>e)for(let t of this.laneAssignments.keys())t>=e&&this.laneAssignments.delete(t);this.lanesChangedFlag&&(this.lanesChangedFlag=!1,this.lanesSettling=!0,this.measurementsCache=[],this.itemSizeCache.clear(),this.laneAssignments.clear(),this.pendingMeasuredCacheIndexes=[]),0!==this.measurementsCache.length||this.lanesSettling||(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(e=>{this.itemSizeCache.set(e.key,e.size)}));let s=this.lanesSettling?0:this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[],this.lanesSettling&&this.measurementsCache.length===e&&(this.lanesSettling=!1);let l=this.measurementsCache.slice(0,s),u=Array(o).fill(void 0);for(let e=0;e<s;e++){let t=l[e];t&&(u[t.lane]=e)}for(let i=s;i<e;i++){let e,o,s=r(i),c=this.laneAssignments.get(i);if(void 0!==c&&this.options.lanes>1){let r=u[e=c],i=void 0!==r?l[r]:void 0;o=i?i.end+this.options.gap:t+n}else{let r=1===this.options.lanes?l[i-1]:this.getFurthestMeasurement(l,i);o=r?r.end+this.options.gap:t+n,e=r?r.lane:i%this.options.lanes,this.options.lanes>1&&this.laneAssignments.set(i,e)}let d=a.get(s),f="number"==typeof d?d:this.options.estimateSize(i),h=o+f;l[i]={index:i,start:o,size:f,end:h,key:s,lane:e},u[e]=i}return this.measurementsCache=l,l},{key:!1,debug:()=>this.options.debug}),this.calculateRange=r(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset(),this.options.lanes],(e,t,n,r)=>this.range=e.length>0&&t>0?function({measurements:e,outerSize:t,scrollOffset:n,lanes:r}){let i=e.length-1;if(e.length<=r)return{startIndex:0,endIndex:i};let o=g(0,i,t=>e[t].start,n),a=o;if(1===r)for(;a<i&&e[a].end<n+t;)a++;else if(r>1){let s=Array(r).fill(0);for(;a<i&&s.some(e=>e<n+t);){let t=e[a];s[t.lane]=t.end,a++}let l=Array(r).fill(n+t);for(;o>=0&&l.some(e=>e>=n);){let t=e[o];l[t.lane]=t.start,o--}o=Math.max(0,o-o%r),a=Math.min(i,a+(r-1-a%r))}return{startIndex:o,endIndex:a}}({measurements:e,outerSize:t,scrollOffset:n,lanes:r}):null,{key:!1,debug:()=>this.options.debug}
10),this.getVirtualIndexes=r(()=>{let e=null,t=null,n=this.calculateRange();return n&&(e=n.startIndex,t=n.endIndex),this.maybeNotify.updateDeps([this.isScrolling,e,t]),[this.options.rangeExtractor,this.options.overscan,this.options.count,e,t]},(e,t,n,r,i)=>null===r||null===i?[]:e({startIndex:r,endIndex:i,overscan:t,count:n}),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=e=>{let t=this.options.indexAttribute,n=e.getAttribute(t);return n?parseInt(n,10):(console.warn(`Missing attribute name '${t}={index}' on measured element.`),-1)},this._measureElement=(e,t)=>{let n=this.indexFromElement(e),r=this.measurementsCache[n];if(!r)return;let i=r.key,o=this.elementsCache.get(i);o!==e&&(o&&this.observer.unobserve(o),this.observer.observe(e),this.elementsCache.set(i,e)),e.isConnected&&this.resizeItem(n,this.options.measureElement(e,t,this))},this.resizeItem=(e,t)=>{let n=this.measurementsCache[e];if(!n)return;let r=t-(this.itemSizeCache.get(n.key)??n.size);0!==r&&((void 0!==this.shouldAdjustScrollPositionOnItemSizeChange?this.shouldAdjustScrollPositionOnItemSizeChange(n,r,this):n.start<this.getScrollOffset()+this.scrollAdjustments)&&this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=r,behavior:void 0}),this.pendingMeasuredCacheIndexes.push(n.index),this.itemSizeCache=new Map(this.itemSizeCache.set(n.key,t)),this.notify(!1))},this.measureElement=e=>{e?this._measureElement(e,void 0):this.elementsCache.forEach((e,t)=>{e.isConnected||(this.observer.unobserve(e),this.elementsCache.delete(t))})},this.getVirtualItems=r(()=>
10[this.getVirtualIndexes(),this.getMeasurements()],(e,t)=>{let n=[];for(let r=0,i=e.length;r<i;r++){let i=t[e[r]];n.push(i)}return n},{key:!1,debug:()=>this.options.debug}),this.getVirtualItemForOffset=e=>{let t=this.getMeasurements();if(0!==t.length)return i(t[g(0,t.length-1,e=>i(t[e]).start,e)])},this.getMaxScrollOffset=()=>{if(!this.scrollElement)return 0;if("scrollHeight"in this.scrollElement)return this.options.horizontal?this.scrollElement.scrollWidth-this.scrollElement.clientWidth:this.scrollElement.scrollHeight-this.scrollElement.clientHeight;{let e=this.scrollElement.document.documentElement;return this.options.horizontal?e.scrollWidth-this.scrollElement.innerWidth:e.scrollHeight-this.scrollElement.innerHeight}},this.getOffsetForAlignment=(e,t,n=0)=>{if(!this.scrollElement)return 0;let r=this.getSize(),i=this.getScrollOffset();return"auto"===t&&(t=e>=i+r?"end":"start"),"center"===t?e+=(n-r)/2:"end"===t&&(e-=r),Math.max(Math.min(this.getMaxScrollOffset(),e),0)},this.getOffsetForIndex=(e,t="auto")=>{e=Math.max(0,Math.min(e,this.options.count-1));let n=this.measurementsCache[e];if(!n)return;let r=this.getSize(),i=this.getScrollOffset();if("auto"===t)if(n.end>=i+r-this.options.scrollPaddingEnd)t="end";else{if(!(n.start<=i+this.options.scrollPaddingStart))return[i,t];t="start"}if("end"===t&&e===this.options.count-1)return[this.getMaxScrollOffset(),t];let o="end"===t?n.end+this.options.scrollPaddingEnd:n.start-this.options.scrollPaddingStart;return[this.getOffsetForAlignment(o,t,n.size),t]},this.isDynamicMode=()=>this.elementsCache.size>0,this.scrollToOffset=(e,{align:t="start",behavior:n}={})=>{"smooth"===n&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getOffsetForAlignment(e,t),{adjustments:void 0,behavior:n})},this.scrollToIndex=(e,{align:t="auto",behavior:n}={})=>{"smooth"===n&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),e=Math.max(0,Math.min(e,this.options.count-1)),this.currentScrollToIndex=e;let r=0,i=t=>{if(!this.targetWindow)return;let r=this.getOffsetForIndex(e,t);if(!r)return void console.warn("Failed to get offset for index:",e);let[i,a]=r;this._scrollToOffset(i,{adjustments:void 0,behavior:n}),this.targetWindow.requestAnimationFrame(()=>{let t=()=>{if(this.currentScrollToIndex!==e)return;let t=this.getScrollOffset(),n=this.getOffsetForIndex(e,a);n?1.01>Math.abs(n[0]-t)||o(a):console.warn("Failed to get offset for index:",e)};this.isDynamicMode()?this.targetWindow.requestAnimationFrame(t):t()})},o=t=>{this.targetWindow&&this.currentScrollToIndex===e&&(++r<10?this.targetWindow.requestAnimationFrame(()=>i(t)):console.warn(`Failed to scroll to index ${e} after 10 attempts.`))};i(t)},this.scrollBy=(e,{behavior:t}={})=>{"smooth"===t&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getScrollOffset()+e,{adju
10stments:void 0,behavior:t})},this.getTotalSize=()=>{var e;let t,n=this.getMeasurements();if(0===n.length)t=this.options.paddingStart;else if(1===this.options.lanes)t=(null==(e=n[n.length-1])?void 0:e.end)??0;else{let e=Array(this.options.lanes).fill(null),r=n.length-1;for(;r>=0&&e.some(e=>null===e);){let t=n[r];null===e[t.lane]&&(e[t.lane]=t.end),r--}t=Math.max(...e.filter(e=>null!==e))}return Math.max(t-this.options.scrollMargin+this.options.paddingEnd,0)},this._scrollToOffset=(e,{adjustments:t,behavior:n})=>{this.options.scrollToFn(e,{behavior:n,adjustments:t},this)},this.measure=()=>{this.itemSizeCache=new Map,this.laneAssignments=new Map,this.notify(!1)},this.setOptions(e)}}let g=(e,t,n,r)=>{for(;e<=t;){let i=(e+t)/2|0,o=n(i);if(o<r)e=i+1;else{if(!(o>r))return i;t=i-1}}return e>0?e-1:0}},32278:(e,t,n)=>{"use strict";let r;n.d(t,{AF:()=>function e(t){if(null==t)return!0;let n=typeof t;return Array.isArray(t)?function(t){for(let n=0;n<t.length;n++)if(!e(t[n]))return!1;return!0}(t):"object"===n&&function(t){for(let n in t)if("_type"!==n&&"_key"!==n&&i(t,n)&&!e(t[n]))return!1;return!0}(t)},RN:()=>o,Xp:()=>a,yu:()=>l});var i=Object.prototype.hasOwnProperty.call.bind(Object.prototype.hasOwnProperty);function o(e){for(let t in e)if("_type"!==t&&"_key"!==t&&i(e,t)&&void 0!==e[t])return!1;return!0}function a(e){let t=(()=>{if(r)return r;r=[];for(let e=0;e<256;++e)r[e]=(e+256).toString(16).slice(1);return r})();return(function(e=16){let t=new Uint8Array(e);return crypto.getRandomValues(t),t})(e).reduce((e,n)=>e+t[n],"").slice(0,e)}let s=Object.prototype.toString;function l(e){let t=function(e){switch(s.call(e)){case"[object Function]":return"function";case"[object Date]":return"date";case"[object RegExp]":return"regexp";case"[object Arguments]":return"arguments";case"[object Array]":return"array";case"[object String]":return"string"}if("object"==typeof e&&e&&"number"==typeof e.length)try{if("function"==typeof e.callee)return"arguments"}catch(e){if(e instanceof TypeError)return"arguments"}return null===e?"null":void 0===e?"undefined":e&&1===e.nodeType?"element":e===Object(e)?"object":typeof e}(e);return"object"!==t?t:"_type"in e&&e._type||t}},32516:(e,t,n)=>{var r=n(20514),i=n(99570),o=n(83290),a=o&&o.isTypedArray;e.exports=a?i(a):r},32521:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(e){return function(t){return e(t)}}},32538:(e,t,n)=>{var r=n(17650),i=n(84441),o=n(2129),a=n(60933);e.exports=function(e,t){return r(e)?e:i(e,t)?[e]:o(a(e))}},33083:(e,t,n)=>{"use strict";let r=n(76277);e.exports=(e,t)=>{let n=r(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null}},33563:(e,t,n)=>
vendor: 5,835 bytes, line 10
10{"use strict";function r(e){!function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var 
10i=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],o=r.variable[1].inside,a=0;a<i.length;a++)o[i[a]]=e.languages.bash[i[a]];e.languages.sh=e.languages.bash,e.languages.shell=e.languages.bash}(e)}n.d(t,{A:()=>r}),r.displayName="bash",r.aliases=["sh","shell"]},33566:(e,t,n)=>{"use strict";n.d(t,{A:()=>C});var r=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,i=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,o=n(24286),a="\\ud800-\\udfff",s="\\u2700-\\u27bf",l="a-z\\xdf-\\xf6\\xf8-\\xff",u="A-Z\\xc0-\\xd6\\xd8-\\xde",c="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",d="['’]",f="["+c+"]",h="["+l+"]",p="[^"+a+c+"\\d+"+s+l+u+"]",g="(?:\\ud83c[\\udde6-\\uddff]){2}",m="[\\ud800-\\udbff][\\udc00-\\udfff]",y="["+u+"]",b="(?:"+h+"|"+p+")",v="(?:"+y+"|"+p+")",w="(?:"+d+"(?:d|ll|m|re|s|t|ve))?",_="(?:"+d+"(?:D|LL|M|RE|S|T|VE))?",x="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",k="[\\ufe0e\\ufe0f]?",E="(?:\\u200d(?:"+["[^"+a+"]",g,m].join("|")+")"+k+x+")*",A="(?:"+["["+s+"]",g,m].join("|")+")"+(k+x+E),S=RegExp([y+"?"+h+"+"+w+"(?="+[f,y,"$"].join("|")+")",v+"+"+_+"(?="+[f,y+b,"$"].join("|")+")",y+"?"+b+"+"+w,y+"+"+_,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])|\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])|\\d+",A].join("|"),"g");let C=function(e,t,n){if(e=(0,o.A)(e),void 0===(t=n?void 0:t)){var a;return(a=e,i.test(a))?e.match(S)||[]:e.match(r)||[]}return e.match(t)||[]}},33761:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},33817:(e,t,n)=>{"use strict";n.d(t,{i:()=>o});var r=n(91993),i=n(92477);function o(e,t,n){let o=(0,i.a)(e,n?.in);return isNaN(+o)?(0,r.w)(n?.in||e,NaN):(o.setFullYear(t),o)}},33860:(e,t,n)=>{"use strict";n.d(t,{BD:()=>s,Kg:()=>u,L2:()=>v,NF:()=>c,Qd:()=>f,Qg:()=>m,T2:()=>a,W6:()=>l,bJ:()=>i,gd:()=>g,mE:()=>y,sO:()=>d,tH:()=>b,vq:()=>p,xH:()=>h});let r=Object.prototype.toString;function i(e){switch(r.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return b(e,Error)}}function o(e,t){return r.call(e)===`[object ${t}]`}function a(e){return o(e,"ErrorEvent")}function s(e){return o(e,"DOMError")}function l(e){return o(e,"DOMException")}function u(e){return o(e,"String")}function c(e){return"object"==typeof e&&null!==e&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function d(e){return null===e||c(e)||"object"!=typeof e&&"function"!=typeof e}function f(e){return o(e,"Object")}function h(e){return"u">typeof Event&&b(e,Event)}function p(e){return"u">typeof Element&&b(e,Element)}function g(e){return o(e,"RegExp")}function m(e){return!!(e&&e.then&&"function"==typeof e.then)}function y(e){return f(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function b(e,t){try{return e instanceof t}catch(e){return!1}}function v(e){return!!("object"==typeof e&&null!==e&&(e.__isVue||e._isVue))}}
10,34672:(e,t,n)=>{"use strict";n.d(t,{H:()=>p});var r=n(92976),i=n(33860),o=n(26900),a=n(87192),s=n(16205),l=n(15333),u=n(46322),c=n(2159);let d="_sentrySpan";function f(e,t){t?(0,c.my)(e,d,t):delete e[d]}class h{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:(0,s.el)(),spanId:(0,s.ZF)()}}clone(){let e=new h;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._extra={...this._extra},e._contexts={...this._contexts},this._contexts.flags&&(e._contexts.flags={values:[...this._contexts.flags.values]}),e._user=this._user,e._level=this._level,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._requestSession=this._requestSession,e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e._lastEventId=this._lastEventId,f(e,this[d]),e}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&(0,r.qO)(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(e){return this._requestSession=e,this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this._tags={...this._tags,[e]:t},this._notifyScopeListeners(),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;let t="function"==typeof e?e(this):e,[n,r]=t instanceof p?[t.getScopeData(),t.getRequestSession()]:(0,i.Qd)(t)?[e,e.requestSession]:[],{tags:o,extra:a,user:s,contexts:l,level:u,fingerprint:c=[],propagationContext:d}=n||{};return this._tags={...this._tags,...o},this._extra={...this._extra,...a},this._contexts={...this._contexts,...l},s&&Object.keys(s).length&&(this._user=s),u&&(this._level=u),c.length&&(this._fingerprint=c),d&&(this._propagationContext=d),r&&(this._requestSession=r),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._session=void 0,f(this,void 0),this._attachments=[],this.setPropagationContext({traceId:(0,s.el)()}),this._notifyScopeListeners(),this}addBreadcrumb(e,t){let n="number"==typeof t?t:100;if(n<=0)return this;let r={timestamp:(0,l.lu)(),...e};return this._breadcrumbs.push(r),this._breadcrumbs.length>n&&(this._breadcrumbs=this._breadcrumbs.slice(-n),this._client&&this._client.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:this[d]}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata=(0,u.h)(this._sdkProcessingMetadata,e,2),this}setPropagationContext(e){return this._propagationContext={spanId:(0,s.ZF)(),...e},this}getPropagationContext(){return this._propagationContext}captureException(e,t){let n=t&&t.event_id?t.event_id:(0,a.eJ)();if(!this._client)return o.vF.warn("No client configured on scope - will not capture exception!"),n;let r=Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:r,...t,event_id:n},this),n}captureMessage(e,t,n){let r=n&&n.event_id?n.event_id:(0,a.eJ)();if(!this._client)return o.vF.warn("No client configured on scope - will not capture message!"),r;let i=Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:i,...n,event_id:r},this),r}captureEvent(e,t){let n=t&&t.event_id?t.event_id:(0,a.eJ)();return this._client?this._client.captureEvent(e,{...t,event_id:n},this):o.vF.warn("No client configured on scope - will not capture event!"),n}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEac
10h(e=>{e(this)}),this._notifyingListeners=!1)}}let p=h},34694:(e,t,n)=>{"use strict";let r=n(79177),i=n(52197),{ANY:o}=i,a=n(3338),s=n(94843),l=n(60209),u=n(85990),c=n(23973),d=n(93916);e.exports=(e,t,n,f)=>{let h,p,g,m,y;switch(e=new r(e,f),t=new a(t,f),n){case">":h=l,p=c,g=u,m=">",y=">=";break;case"<":h=u,p=d,g=l,m="<",y="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"')}if(s(e,t,f))return!1;for(let n=0;n<t.set.length;++n){let r=t.set[n],a=null,s=null;if(r.forEach(e=>{e.semver===o&&(e=new i(">=0.0.0")),a=a||e,s=s||e,h(e.semver,a.semver,f)?a=e:g(e.semver,s.semver,f)&&(s=e)}),a.operator===m||a.operator===y||(!s.operator||s.operator===m)&&p(e,s.semver)||s.operator===y&&g(e,s.semver))return!1}return!0}},35063:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return -1}},35111:(e,t,n)=>{"use strict";n.d(t,{Y:()=>i});var r=n(92477);function i(e,t){return+(0,r.a)(e)<+(0,r.a)(t)}},35653:(e,t,n)=>{"use strict";n.d(t,{EJ:()=>f,pE:()=>b,wS:()=>p});var r=n(19749),i=n(44416),o=n(21728),a=n(63993),s=n(37758),l=n(55876),u=n(42444),c=n(20453),d=n(68004);function f(e){return e}function h({match:e,adjustIndexBy:t,snapshot:n,focusBlock:r,originalTextBefore:i}){let[o,s,u]=e,c=s+t,d={anchor:{path:r.path,offset:c},focus:{path:r.path,offset:c+u-s},backward:!1},f={anchor:{path:r.path,offset:Math.min(d.anchor.offset,i.length)},focus:{path:r.path,offset:Math.min(d.focus.offset,i.length)}},h=(0,l.m4)({context:n.context,blockOffset:f.anchor,direction:"backward"}),p=(0,l.m4)({context:n.context,blockOffset:f.focus,direction:"forward"});if(!h||!p)return;let g={anchor:h,focus:p},m=(0,a.PF)({...n,context:{...n.context,selection:{anchor:g.anchor,focus:g.anchor}}}),y=(0,a.$F)(n);if(!m.some(e=>y.some(t=>e.node._key===t.node._key)))return{text:o,selection:g,targetOffsets:d}}function p(e){let t,n=(0,r.c)(3),o=(0,i.h)();return n[0]!==o||n[1]!==e.rules?(t={input:{editor:o,rules:e.rules}},n[0]=o,n[1]=e.rules,n[2]=t):t=n[2],(0,u.qf)(y,t),null}let g=(0,c.mj)({types:{context:{},input:{},events:{}},actors:{"delete.backward listener":(0,d.SP)(({input:e,sendBack:t})=>e.editor.registerBehavior({behavior:(0,o.Ke)({on:"delete.backward",actions:[()=>[(0,o.xl)({type:"history.undo"}),(0,o.QZ)(()=>{t({type:"history.undo raised"})})]]})})),"input rule listener":(0,d.SP)(({input:e,sendBack:t})=>{var n;let r=e.editor.registerBehavior({behavior:(n={rules:e.rules,onApply:({endOffsets:e})=>{t({type:"input rule raised",endOffsets:e})}},(0,o.Ke)({on:"insert.text",guard:({snapshot:e,event:t,dom:r})=>{if(!e.context.selection||!(0,l.WV)(e.context.selection))return!1;let i=(0,s.gU)(e);if(!i)return!1;let o=(0,a._M)(e),u=o,c=u+t.text,d=c,f=[],p=[];for(let a of n.rules){let n=RegExp(a.on.source,"gd");for(;;){let s=[...d.matchAll(n)].flatMap(t=>{if(void 0===t.indices)return[];let n=t.indices.at(0);if(!n)return[];let r=h({match:[t.at(0)??"",...n],adjustIndexBy:c.length-d.length,snapshot:e,focusBlock:i,originalTextBefore:o});if(!r||r.targetOffsets.focus.offset<=o.length||f.some(e=>e.targetOffsets.anchor.offset===r.targetOffsets.anchor.offset))return[];let a=t.indices.length>1?t.indices.slice(1).filter(e=>void 0!==e):[];return[{text:r.text,selection:r.selection,targetOffsets:r.targetOffsets,groupMatches:a.flatMap((n,r)=>h({match:[t.at(r+1)??"",...n],adjustIndexBy:c.length-d.length,snapshot:e,focusBlock:i,originalTextBefore:o})||[])}]});if(s.length>0){let n=a.guard?.({snapshot:e,event:{type:"custom.input rule",matches:s,focusBlock:i,textBefore:o,textInserted:t.text},dom:r})??!0;if(!n)break;for(let l of a.actions.map(a=>a({snapshot:e,event:{type:"custom.input rule",matches:s,focusBlock:i,textBefore:o,textInserted:t.text},dom:r},n)))for(let e of l)p.push(e);for(let e of s.flatMap(e=>0===e.groupMatches.length?[e]:e.groupMatches))f.push(e),u=d.slice(0,e.targetOffsets.focus.offset??0),d=c.slice(e.targetOffsets.focus.offset??0)}else break}}return 0!==p.length&&{actions:p}},actions:[({event:e})=>[(0,o.sY)(e)],(e,{actions:t})=>t,({snapshot:e})=>[(0,o.QZ)(()=>{let t=(0,a.oV)(e);n.onApply?.({endOffsets:t})})]]}))});return()=>{r()}}),"selection listener":(0,d.SP)(({sendBack:e,input:t})=>{let n=t.editor.on("selection",n=>{e({type:"selection changed",blockOffsets:(0,a.oV)({...t.editor.getSnapshot(),context:{...t.editor.getSnapshot().context,selection:n.selection}})})});return()=>n.unsubscribe()})},guards:{"block offset changed":({context:e,event:t})=>{if("selection changed"!==t.type)return!1;if(!t.blockOffsets||!e.endOffsets)return!0;let n=e.endOffsets.start.path[0]._key!==t.blockOffsets.start.path[0]._key||e.endOffsets.start.offset!==t.blockOffsets.start.offset,r=e.endOffsets.end.path[0]._key!==t.blockOffsets.end.path[0]._key||e.endOffsets.end.offset!==t.blockOffsets.end.offset;return n||r}}}),m=g.assign({endOffsets:({context:e,event:t})=>"input rule raised"===t.type?t.endOffsets:e.endOffsets}),y=g.createMachine({id:"input rule",context:({input:e})=>({editor:e.editor,rules:e.rules,endOffsets:void 0}),initial:"idle",invoke:{src:"input rule listener",input:({context:e})=>({editor:e.editor,rules:e.rules})},on:{"input rule raised":{target:".input rule applied",actions:m}},states:{idle:{},"input rule applied":{invoke:[{src:"delete.backward listener",input:({context:e})=>({editor:e.editor})},{src:"selection listener",input:({context:e})=>({editor:e.editor})}],on:{"selection changed":{target:"idle",guard:"block offset changed"},"history.undo raised":{target:"idle"}}}}});function b(e){return{on:e.on,guard:e.guard??(()=>!0),actions:[({snapshot:t,event:n},r)=>{let i=n.matches.flatMap(e=>0===e.groupMatches.length?[e]:e.groupMatches),a=n.textBefore+n.textInserted,l=0,u=[];for(let a of i.reverse()){let i=e.transform({location:a},r);l-=i.length-(a.targetOffsets.focus.offset-a.targetOffsets.anchor.offset),u.push((0,o.xl)({type:"select",at:a.targetOffsets})),u.push((0,o.xl)({type:"delete",at:a.targetOffsets})),u.push((0,o.xl)({type:"insert.child",child:{_type:t.context.schema.span.name,text:i,marks:(0,s.JB)({...t,context:{...t.context,selection:{anchor:a.selection.anchor,focus:{path:a.selection.focus.path,offset:M
10ath.min(a.selection.focus.offset,n.textBefore.length)}}}})?.marks??[]}}))}let c={path:n.focusBlock.path,offset:a.length-l};return[...u,(0,o.xl)({type:"select",at:{anchor:c,focus:c}})]}]}}},35723:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}},35793:(e,t,n)=>{var r=n(87358);let i="object"==typeof performance&&performance&&"function"==typeof performance.now?performance:Date,o=()=>i.now(),a=e=>e===1/0||e&&e===Math.floor(e)&&e>0&&isFinite(e);class s{constructor({max:e=1/0,ttl:t,updateAgeOnGet:n=!1,checkAgeOnGet:r=!1,noUpdateTTL:i=!1,dispose:o,noDisposeOnSet:s=!1}={}){if(this.expirations=Object.create(null),this.data=new Map,this.expirationMap=new Map,void 0!==t&&!a(t))throw TypeError("ttl must be positive integer or Infinity if set");if(!a(e))throw TypeError("max must be positive integer or Infinity");if(this.ttl=t,this.max=e,this.updateAgeOnGet=!!n,this.checkAgeOnGet=!!r,this.noUpdateTTL=!!i,this.noDisposeOnSet=!!s,void 0!==o){if("function"!=typeof o)throw TypeError("dispose must be function if set");this.dispose=o}this.timer=void 0,this.timerExpiration=void 0}setTimer(e,t){if(this.timerExpiration<e)return;this.timer&&clearTimeout(this.timer);let n=setTimeout(()=>{for(let e in this.timer=void 0,this.timerExpiration=void 0,this.purgeStale(),this.expirations){this.setTimer(e,e-o());break}},t);n.unref&&n.unref(),this.timerExpiration=e,this.timer=n}cancelTimer(){this.timer&&(clearTimeout(this.timer),this.timerExpiration=void 0,this.timer=void 0)}cancelTimers(){return r.emitWarning('TTLCache.cancelTimers has been renamed to TTLCache.cancelTimer (no "s"), and will be removed in the next major version update'),this.cancelTimer()}clear(){let e=this.dispose!==s.prototype.dispose?[...this]:[];for(let[t,n]of(this.data.clear(),this.expirationMap.clear(),this.cancelTimer(),this.expirations=Object.create(null),e))this.dispose(n,t,"delete")}setTTL(e,t=this.ttl){let n=this.expirationMap.get(e);if(void 0!==n){let t=this.expirations[n];!t||t.length<=1?delete this.expirations[n]:this.expirations[n]=t.filter(t=>t!==e)}if(t!==1/0){let n=Math.floor(o()+t);this.expirationMap.set(e,n),this.expirations[n]||(this.expirations[n]=[],this.setTimer(n,t)),this.expirations[n].push(e)}else this.expirationMap.set(e,1/0)}set(e,t,{ttl:n=this.ttl,noUpdateTTL:r=this.noUpdateTTL,noDisposeOnSet:i=this.noDisposeOnSet}={}){if(!a(n))throw TypeError("ttl must be positive integer or Infinity");if(this.expirationMap.has(e)){r||this.setTTL(e,n);let o=this.data.get(e);o!==t&&(this.data.set(e,t),i||this.dispose(o,e,"set"))}else this.setTTL(e,n),this.data.set(e,t);for(;this.size>this.max;)this.purgeToCapacity();return this}has(e){return this.data.has(e)}getRemainingTTL(e){let t=this.expirationMap.get(e);return t===1/0?t:void 0!==t?Math.max(0,Math.ceil(t-o())):0}get(e,{updateAgeOnGet:t=this.updateAgeOnGet,ttl:n=this.ttl,checkAgeOnGet:r=this.checkAgeOnGet}={}){let i=this.data.get(e);return r&&0===this.getRemainingTTL(e)?void this.delete(e):(t&&this.setTTL(e,n),i)}dispose(e,t){}delete(e){let t=this.expirationMap.get(e);if(void 0!==t){let n=this.data.get(e);this.data.delete(e),this.expirationMap.delete(e);let r=this.expirations[t];return r&&(r.length<=1?delete this.expirations[t]:this.expirations[t]=r.filter(t=>t!==e)),this.dispose(n,e,"delete"),0===this.size&&this.cancelTimer(),!0}return!1}purgeToCapacity(){for(let e in this.expirations){let t=this.expirations[e];if(this.size-t.length>=this.max){delete this.expirations[e];let n=[];for(let e of t)n.push([e,this.data.get(e)]),this.data.delete(e),this.expirationMap.delete(e);for(let[e,t]of n)this.dispose(t,e,"evict")}else{let e=this.size-this.max,n=[];for(let r of t.splice(0,e))n.push([r,this.data.get(r)]),this.data.delete(r),this.expirationMap.delete(r);for(let[e,t]of n)this.dispose(t,e,"evict");return}}}get size(){return this.data.size}purgeStale(){let e=Math.ceil(o());for(let t in this.expirations){if("Infinity"===t||t>e)return;let n=[...this.expirations[t]||[]],r=[];for(let e of(delete this.expirations[t],n))r.push([e,this.data.get(e)]),this.data.delete(e),this.expirationMap.delete(e);for(let[e,t]of r)this.dispose(t,e,"stale")}0===this.size&&this.cancelTimer()}*entries(){for(let e in this.expirations)for(let t of this.expirations[e])yield[t,this.data.get(t)]}*keys(){for(let e in this.expirations)for(let t of this.expirations[e])yield t}*values(){for(let e in this.expirations)for(let t of this.expirations[e])yield this.data.get(t)}[Symbol.iterator](){return this.entries()}}e.exports=s}
10,35799:(e,t,n)=>{var r=n(35825);e.exports=function(e,t,n){var i=null==e?void 0:r(e,t);return void 0===i?n:i}},35821:(e,t,n)=>{"use strict";n.d(t,{A:()=>w});var r=n(1105),i=n(16318);let o=function(e,t,n,o){var a=n.length,s=a,l=!o;if(null==e)return!s;for(e=Object(e);a--;){var u=n[a];if(l&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++a<s;){var c=(u=n[a])[0],d=e[c],f=u[1];if(l&&u[2]){if(void 0===d&&!(c in e))return!1}else{var h=new r.A;if(o)var p=o(d,f,c,e,t,h);if(!(void 0===p?(0,i.A)(f,d,3,o,h):p))return!1}}return!0};var a=n(33761);let s=function(e){return e==e&&!(0,a.A)(e)};var l=n(70638);let u=function(e){for(var t=(0,l.A)(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,s(i)]}return t},c=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}},d=function(e){var t=u(e);return 1==t.length&&t[0][2]?c(t[0][0],t[0][1]):function(n){return n===e||o(n,e,t)}};var f=n(16926),h=n(60287),p=n(17334),g=n(30253),m=n(79800),y=n(92459),b=n(71606);let v=function(e){var t;return(0,p.A)(e)?(t=(0,g.A)(e),function(e){return null==e?void 0:e[t]}):function(t){return(0,b.A)(t,e)}},w=function(e){if("function"==typeof e)return e;if(null==e)return m.A;if("object"==typeof e){var t,n;return(0,y.A)(e)?(t=e[0],n=e[1],(0,p.A)(t)&&s(n)?c((0,g.A)(t),n):function(e){var r=(0,f.A)(e,t);return void 0===r&&r===n?(0,h.A)(e,t):(0,i.A)(n,r,3)}):d(e)}return v(e)}},35825:(e,t,n)=>{var r=n(32538),i=n(97154);e.exports=function(e,t){t=r(t,e);for(var n=0,o=t.length;null!=e&&n<o;)e=e[i(t[n++])];return n&&n==o?e:void 0}},35840:(e,t,n)=>{"use strict";let r=n(94843),i=n(53941);e.exports=(e,t,n)=>{let o=[],a=null,s=null,l=e.sort((e,t)=>i(e,t,n));for(let e of l)r(e,t,n)?(s=e,a||(a=e)):(s&&o.push([a,s]),s=null,a=null);a&&o.push([a,null]);let u=[];for(let[e,t]of o)e===t?u.push(e):t||e!==l[0]?t?e===l[0]?u.push(`<=${t}`):u.push(`${e} - ${t}`):u.push(`>=${e}`):u.push("*");let c=u.join(" || "),d="string"==typeof t.raw?t.raw:String(t);return c.length<d.length?c:t}},35858:(e,t,n)=>{"use strict";let r=n(53941);e.exports=(e,t,n)=>0!==r(e,t,n)},35891:(e,t,n)=>{var r=n(64764),i=n(18389),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=[];for(var n in Object(e))o.call(e,n)&&"constructor"!=n&&t.push(n);return t}},36422:(e,t,n)=>{"use strict";n.d(t,{NP:()=>tl,DU:()=>tb,AH:()=>th,i7:()=>tw,I4:()=>tg,DP:()=>ts});var r=n(49303),i=n(12115),o={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},a="-ms-",s="-moz-",l="-webkit-",u="comm",c="rule",d="decl",f="@keyframes",h=Math.abs,p=String.fromCharCode,g=Object.assign;function m(e,t){return(e=t.exec(e))?e[0]:e}function y(e,t,n){return e.replace(t,n)}function b(e,t,n){return e.indexOf(t,n)}function v(e,t){return 0|e.charCodeAt(t)}function w(e,t,n){return e.slice(t,n)}function _(e){return e.length}function x(e,t){return t.push(e),e}function k(e,t){return e.filter(function(e){return!m(e,t)})}var E=1,A=1,S=0,C=0,O=0,T="";function D(e,t,n,r,i,o,a,s){return{value:e,root:t,parent:n,type:r,props:i,children:o,line:E,column:A,length:a,return:"",siblings:s}}function I(e,t){return g(D("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function R(e){for(;e.root;)e=I(e.root,{children:[e]});x(e,e.siblings)}function j(){return O=C<S?v(T,C++):0,A++,10===O&&(A=1,E++),O}function N(){return v(T,C)}function M(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function F(e){var t,n;return(t=C-1,n=function e(t){for(;j();)switch(O){case t:return C;case 34:case 39:34!==t&&39!==t&&e(O);break;case 40:41===t&&e(t);break;case 92:j()}return C}(91===e?e+2:40===e?e+1:e),w(T,t,n)).trim()}function $(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function L(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case"@namespace":case d:return e.return=e.return||e.value;case u:return"";case f:return e.return=e.value+"{"+$(e.children,r)+"}";case c:if(!_(e.value=e.props.join(",")))return""}return _(n=$(e.children,r))?e.return=e.value+"{"+n+"}":""}function P(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case d:e.return=function e(t,n,r){var i;switch(i=n,45^v(t,0)?(((i<<2^v(t,0))<<2^v(t,1))<<2^v(t,2))<<2^v(t,3):0){case 5103:return l+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:case 6391:case 5879:case 5623:case 6135:case 4599:return l+t+t;case 4855:return l+t.replace("add","source-over").replace("substract","source-out").replace("intersect","source-in").replace("exclude","xor")+t;case 4789:return s+t+t;
vendor: 12,040 bytes, line 10
10case 5349:case 4246:case 4810:case 6968:case 2756:return l+t+s+t+a+t+t;case 5936:switch(v(t,n+11)){case 114:return l+t+a+y(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return l+t+a+y(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return l+t+a+y(t,/[svh]\w+-[tblr]{2}/,"lr")+t}case 6828:case 4268:case 2903:return l+t+a+t+t;case 6165:return l+t+a+"flex-"+t+t;case 5187:return l+t+y(t,/(\w+).+(:[^]+)/,l+"box-$1$2"+a+"flex-$1$2")+t;case 5443:return l+t+a+"flex-item-"+y(t,/flex-|-self/g,"")+(m(t,/flex-|baseline/)?"":a+"grid-row-"+y(t,/flex-|-self/g,""))+t;case 4675:return l+t+a+"flex-line-pack"+y(t,/align-content|flex-|-self/g,"")+t;case 5548:return l+t+a+y(t,"shrink","negative")+t;case 5292:return l+t+a+y(t,"basis","preferred-size")+t;case 6060:return l+"box-"+y(t,"-grow","")+l+t+a+y(t,"grow","positive")+t;case 4554:return l+y(t,/([^-])(transform)/g,"$1"+l+"$2")+t;case 6187:return y(y(y(t,/(zoom-|grab)/,l+"$1"),/(image-set)/,l+"$1"),t,"")+t;case 5495:case 3959:return y(t,/(image-set\([^]*)/,l+"$1$`$1");case 4968:return y(y(t,/(.+:)(flex-)?(.*)/,l+"box-pack:$3"+a+"flex-pack:$3"),/space-between/,"justify")+l+t+t;case 4200:if(!m(t,/flex-|baseline/))return a+"grid-column-align"+w(t,n)+t;break;case 2592:case 3360:return a+y(t,"template-","")+t;case 4384:case 3616:if(r&&r.some(function(e,t){return n=t,m(e.props,/grid-\w+-end/)}))return~b(t+(r=r[n].value),"span",0)?t:a+y(t,"-start","")+t+a+"grid-row-span:"+(~b(r,"span",0)?m(r,/\d+/):m(r,/\d+/)-m(t,/\d+/))+";";return a+y(t,"-start","")+t;case 4896:case 4128:return r&&r.some(function(e){return m(e.props,/grid-\w+-start/)})?t:a+y(y(t,"-end","-span"),"span ","")+t;case 4095:case 3583:case 4068:case 2532:return y(t,/(.+)-inline(.+)/,l+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(_(t)-1-n>6)switch(v(t,n+1)){case 109:if(45!==v(t,n+4))break;case 102:return y(t,/(.+:)(.+)-([^]+)/,"$1"+l+"$2-$3$1"+s+(108==v(t,n+3)?"$3":"$2-$3"))+t;case 115:return~b(t,"stretch",0)?e(y(t,"stretch","fill-available"),n,r)+t:t}break;case 5152:case 5920:return y(t,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(e,n,r,i,o,s,l){return a+n+":"+r+l+(i?a+n+"-span:"+(o?s:s-r)+l:"")+t});case 4949:if(121===v(t,n+6))return y(t,":",":"+l)+t;break;case 6444:switch(v(t,45===v(t,14)?18:11)){case 120:return y(t,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+l+(45===v(t,14)?"inline-":"")+"box$3$1"+l+"$2$3$1"+a+"$2box$3")+t;case 100:return y(t,":",":"+a)+t}break;case 5719:case 2647:case 2135:case 3927:case 2391:return y(t,"scroll-","scroll-snap-")+t}return t}(e.value,e.length,n);return;case f:return $([I(e,{value:y(e.value,"@","@"+l)})],r);case c:if(e.length){var i,o;return i=n=e.props,o=function(t){switch(m(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":R(I(e,{props:[y(t,/:(read-\w+)/,":"+s+"$1")]})),R(I(e,{props:[t]})),g(e,{props:k(n,r)});break;case"::placeholder":R(I(e,{props:[y(t,/:(plac\w+)/,":"+l+"input-$1")]})),R(I(e,{props:[y(t,/:(plac\w+)/,":"+s+"$1")]})),R(I(e,{props:[y(t,/:(plac\w+)/,a+"input-$1")]})),R(I(e,{props:[t]})),g(e,{props:k(n,r)})}return""},i.map(o).join("")}}}function z(e,t,n,r,i,o,a,s,l,u,d,f){for(var p=i-1,g=0===i?o:[""],m=g.length,b=0,v=0,_=0;b<r;++b)for(var x=0,k=w(e,p+1,p=h(v=a[b])),E=e;x<m;++x)(E=(v>0?g[x]+" "+k:y(k,/&\f/g,g[x])).trim())&&(l[_++]=E);return D(e,t,n,0===i?c:s,l,u,d,f)}function U(e,t,n,r,i){return D(e,t,n,d,w(e,0,r),w(e,r+1,-1),r,i)}var B=n(87358),H=void 0!==B&&void 0!==B.env&&(B.env.REACT_APP_SC_ATTR||B.env.SC_ATTR)||"data-styled",q="active",V="data-styled-version",G="6.3.12",W="/*!sc*/\n",Y="u">typeof window&&"u">typeof document,K=!!("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==B&&void 0!==B.env&&void 0!==B.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==B.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==B.env.REACT_APP_SC_DISABLE_SPEEDY&&B.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==B&&void 0!==B.env&&void 0!==B.env.SC_DISABLE_SPEEDY&&""!==B.env.SC_DISABLE_SPEEDY&&"false"!==B.env.SC_DISABLE_SPEEDY&&B.env.SC_DISABLE_SPEEDY),Z={};function X(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):""))}var J=new Map,Q=new Map,ee=1,et=function(e){if(J.has(e))return J.get(e);for(;Q.has(ee);)ee++;var t=ee++;return J.set(e,t),Q.set(t,e),t},en=function(e,t){ee=t+1,J.set(e,t),Q.set(t,e)},er=Object.freeze([]),ei=Object.freeze({});function eo(e,t,n){return void 0===n&&(n=ei),e.theme!==n.theme&&e.theme||t||n.theme}var ea=new Set(["a","abbr","address","area","article","aside","audio","b","bdi","bdo","blockquote","body","button","br","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","map","mark","menu","meter","nav","object","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","slot","small","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","switch","symbol","text","textPath","tspan","use"]),es=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,el=/(^-|-$)/g;function eu(e){return e.replace(es,"-").replace(el,"")}var ec=/(a)(d)/gi,ed=function(e){return String.fromCharCode(e+(e>25?39:97))};function ef(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=ed(t%52)+n;return(ed(t%52)+n).replace(ec,"$1-$2")}var eh,ep=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},eg=function(e){return ep(5381,e)};function em(e){return ef(eg(e)>>>0)}function ey(e){return"string"==typeof e}var eb="function"==typeof Symbol&&Symbol.for,ev=eb?Symbol.for("react.memo"):60115,ew=eb?Symbol.for("react.forward_ref"):60112,e_={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},ex={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},ek={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},eE=((eh={})[ew]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},eh[ev]=ek,eh);function eA(e){return("type"in e&&e.type.$$typeof)===ev?ek:"$$typeof"in e?eE[e.$$typeof]:e_}var eS=Object.defineProperty,eC=Object.getOwnPropertyNames,eO=Object.getOwnPropertySymbols,eT=Object.getOwnPropertyDescriptor,eD=Object.getPrototypeOf,eI=Object.prototype;function eR(e){return"function"==typeof e}function ej(e){return"object"==typeof e&&"styledComponentId"in e}function eN(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function eM(e,t){return e.join(t||"")}function eF(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function e$(e,t){Object.defineProperty(e,"toString",{value:t})}var eL=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e,this._cGroup=0,this._cIndex=0}return e.prototype.indexOfGroup=function(e){if(e===this._cGroup)return this._cIndex;var t=this._cIndex;if(e>this._cGroup)for(var n=this._cGroup;n<e;n++)t+=this.groupSizes[n];else for(n=this._cGroup-1;n>=e;n--)t-=this.groupSizes[n];return this._cGroup=e,this._cIndex=t,t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,i=r;e>=i;)if((i<<=1)<0)throw X(16,"".concat(e));this.groupSizes=new Uint32Array(i),this.groupSizes.set(n),this.length=i;for(var o=r;o<i;o++)this.groupSizes[o]=0}for(var a=this.indexOfGroup(e+1),s=0,l=(o=0,t.length);o<l;o++)this.tag.insertRule(a,t[o])&&(this.groupSizes[e]++,a++,s++);s>0&&this._cGroup>e&&(this._cIndex+=s)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var i=n;i<r;i++)this.tag.deleteRule(n);t>0&&this._cGroup>e&&(this._cIndex-=t)}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),i=r+n,o=r;o<i;o++)t+=this.tag.getRule(o)+W;return t},e}(),eP="style[".concat(H,"][").concat(V,'="').concat(G,'"]'),ez=new RegExp("^".concat(H,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),eU=function(e){return"u">typeof ShadowRoot&&e instanceof ShadowRoot||"host"in e&&11===e.nodeType},eB=function(e){if(!e)return document;if(eU(e))return e;if("getRootNode"in e){var t=e.getRootNode();if(eU(t))return t}return document},eH=function(e,t,n){for(var r,i=n.split(","),o=0,a=i.length;o<a;o++)(r=i[o])&&e.registerName(t,r)},eq=function(e,t){for(var n,r=(null!=(n=t.textContent)?n:"").split(W),i=[],o=0,a=r.length;o<a;o++){var s=r[o].trim();if(s){var l=s.match(ez);if(l){var u=0|parseInt(l[1],10),c=l[2];0!==u&&(en(c,u),eH(e,c,l[3]),e.getTag().insertRules(u,i)),i.length=0}else i.push(s)}}},eV=function(e){for(var t=eB(e.options.target).querySelectorAll(eP),n=0,r=t.length;n<r;n++){var i=t[n];i&&i.getAttribute(H)!==q&&(eq(e,i),i.parentNode&&i.parentNode.removeChild(i))}},eG=function(e){var t,r=document.head,i=e||r,o=document.createElement("style"),a=(t=Array.from(i.querySelectorAll("style[".concat(H,"]"))))[t.length-1],s=void 0!==a?a.nextSibling:null;o.setAttribute(H,q),o.setAttribute(V,G);var l=n.nc;return l&&o.setAttribute("nonce",l),i.insertBefore(o,s),o},eW=function(){function e(e){this.element=eG(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){var t;if(e.sheet)return e.sheet;for(var n=null!=(t=e.getRootNode().styleSheets)?t:document.styleSheets,r=0,i=n.length;r<i;r++){var o=n[r];if(o.ownerNode===e)return o}throw X(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),eY=function(){function e(e){this.element=eG(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),eK=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(e===this.length?this.rules.push(t):this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),eZ=Y,eX={isServer:!Y,useCSSOMInjection:!K},eJ=function(){function e(e,t,n){void 0===e&&(e=ei),void 0===t&&(t={});var i=this;this.options=(0,r.Cl)((0,r.Cl)({},eX),e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&Y&&eZ&&(eZ=!1,eV(this)),e$(this,function(){for(var e=i.getTag(),t=e.length,n="",r=0;r<t;r++)!function(t){var r=Q.get(t);if(void 0===r)return;var o=i.names.get(r);if(void 0===o||!o.size)return;var a=e.getGroup(t);
10if(0!==a.length){var s=H+".g"+t+'[id="'+r+'"]',l="";o.forEach(function(e){e.length>0&&(l+=e+",")}),n+=a+s+'{content:"'+l+'"}'+W}}(r);return n})}return e.registerId=function(e){return et(e)},e.prototype.rehydrate=function(){!this.server&&Y&&eV(this)},e.prototype.reconstructWithOptions=function(t,n){void 0===n&&(n=!0);var i=new e((0,r.Cl)((0,r.Cl)({},this.options),t),this.gs,n&&this.names||void 0);return!this.server&&Y&&t.target!==this.options.target&&eB(this.options.target)!==eB(t.target)&&eV(i),i},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){var e,t,n;return this.tag||(this.tag=(t=(e=this.options).useCSSOMInjection,n=e.target,new eL(e.isServer?new eK(n):t?new eW(n):new eY(n))))},e.prototype.hasNameForId=function(e,t){var n,r;return null!=(r=null==(n=this.names.get(e))?void 0:n.has(t))&&r},e.prototype.registerName=function(e,t){et(e);var n=this.names.get(e);n?n.add(t):this.names.set(e,new Set([t]))},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(et(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(et(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}();function eQ(e){for(var t="",n=0;n<e.length;n++){var r=e[n];if(1===n&&"-"===r&&"-"===e[0])return e;r>="A"&&r<="Z"?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var e0=Symbol.for("sc-keyframes"),e1=function(e){return null==e||!1===e||""===e},e2=function(e){var t=[];for(var n in e){var i=e[n];e.hasOwnProperty(n)&&!e1(i)&&(Array.isArray(i)&&i.isCss||eR(i)?t.push("".concat(eQ(n),":"),i,";"):eF(i)?t.push.apply(t,(0,r.fX)((0,r.fX)(["".concat(n," {")],e2(i),!1),["}"],!1)):t.push("".concat(eQ(n),": ").concat(null==i||"boolean"==typeof i||""===i?"":"number"!=typeof i||0===i||n in o||n.startsWith("--")?String(i).trim():"".concat(i,"px"),";")))}return t};function e5(e,t,n,r,i){if(void 0===i&&(i=[]),"string"==typeof e)return e&&i.push(e),i;if(e1(e))return i;if(ej(e))return i.push(".".concat(e.styledComponentId)),i;if(eR(e))return!eR(e)||e.prototype&&e.prototype.isReactComponent||!t?(i.push(e),i):e5(e(t),t,n,r,i);if("object"==typeof e&&null!==e&&e0 in e)return n?(e.inject(n,r),i.push(e.getName(r))):i.push(e),i;if(eF(e)){for(var o=e2(e),a=0;a<o.length;a++)i.push(o[a]);return i}if(!Array.isArray(e))return i.push(e.toString()),i;for(a=0;a<e.length;a++)e5(e[a],t,n,r,i);return i}function e3(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(eR(n)&&!ej(n))return!1}return!0}var e4=eg(G),e6=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&e3(e),this.componentId=t,this.baseHash=ep(e4,t),this.baseStyle=n,eJ.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n).className:"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))r=eN(r,this.staticRulesId);else{var i=eM(e5(this.rules,e,t,n)),o=ef(ep(this.baseHash,i)>>>0);if(!t.hasNameForId(this.componentId,o)){var a=n(i,".".concat(o),void 0,this.componentId);t.insertRules(this.componentId,o,a)}r=eN(r,o),this.staticRulesId=o}else{for(var s=ep(this.baseHash,n.hash),l="",u=0;u<this.rules.length;u++){var c=this.rules[u];if("string"==typeof c)l+=c;else if(c){var d=eM(e5(c,e,t,n));s=ep(ep(s,String(u)),d),l+=d}}if(l){var f=ef(s>>>0);if(!t.hasNameForId(this.componentId,f)){var h=n(l,".".concat(f),void 0,this.componentId);t.insertRules(this.componentId,f,h)}r=eN(r,f)}}return{className:r,css:"u"<typeof window?t.getTag().getGroup(et(this.componentId)):""}},e}(),e9=/&/g;function e7(e){if(-1===e.indexOf("}"))return!1;for(var t=e.length,n=0,r=0,i=!1,o=0;o<t;o++){var a=e.charCodeAt(o);if(0!==r||i||47!==a||42!==e.charCodeAt(o+1))if(i)42===a&&47===e.charCodeAt(o+1)&&(i=!1,o++);else if(34!==a&&39!==a||0!==o&&92===e.charCodeAt(o-1)){if(0===r){if(123===a)n++;else if(125===a&&--n<0)return!0}}else 0===r?r=a:r===a&&(r=0);else i=!0,o++}return 0!==n||0!==r}function e8(e){var t,n,r,i,o,a,s=void 0===e?ei:e,l=s.options,d=void 0===l?ei:l,f=s.plugins,g=void 0===f?er:f,m=function(e,t,n){return n.startsWith(o)&&n.endsWith(o)&&n.replaceAll(o,"").length>0?".".concat(i):e},k=g.slice();k.push(function(e){e.type===c&&e.value.includes("&")&&(a||(a=RegExp("\\".concat(o,"\\b"),"g")),e.props[0]=e.props[0].replace(e9,o).replace(a,m))}),d.prefix&&k.push(P),k.push(L);var I=[],R=(n=(t=k.concat((r=function(e){return I.push(e)},function(e){!e.root&&(e=e.return)&&r(e)}))).length,function(e,r,i,o){for(var a="",s=0;s<n;s++)a+=t[s](e,r,i,o)||"";return a}),B=function(e,t,n,r){void 0===t&&(t=""),void 0===n&&(n=""),void 0===r&&(r="&"),i=r,o=t,a=void 0;var s,l,c,f=function(e){if(!e7(e))return e;for(var t=e.length,n="",r=0,i=0,o=0,a=!1,s=0;s<t;s++){var l=e.charCodeAt(s);if(0!==o||a||47!==l||42!==e.charCodeAt(s+1))if(a)42===l&&47===e.charCodeAt(s+1)&&(a=!1,s++);else if(34!==l&&39!==l||0!==s&&92===e.charCodeAt(s-1)){if(0===o)if(123===l)i++;else if(125===l){if(--i<0){for(var u=s+1;u<t;){var c=e.charCodeAt(u);if(59===c||10===c)break;u++}
10u<t&&59===e.charCodeAt(u)&&u++,i=0,s=u-1,r=u;continue}0===i&&(n+=e.substring(r,s+1),r=s+1)}else 59===l&&0===i&&(n+=e.substring(r,s+1),r=s+1)}else 0===o?o=l:o===l&&(o=0);else a=!0,s++}if(r<t){var d=e.substring(r);e7(d)||(n+=d)}return n}(function(e){if(-1===e.indexOf("//"))return e;for(var t=e.length,n=[],r=0,i=0,o=0,a=0;i<t;){var s=e.charCodeAt(i);if(34!==s&&39!==s||0!==i&&92===e.charCodeAt(i-1))if(0===o)if(47===s&&i+1<t&&42===e.charCodeAt(i+1)){for(i+=2;i+1<t&&(42!==e.charCodeAt(i)||47!==e.charCodeAt(i+1));)i++;i+=2}else if(40===s&&i>=3&&108==(32|e.charCodeAt(i-1))&&114==(32|e.charCodeAt(i-2))&&117==(32|e.charCodeAt(i-3)))a=1,i++;else if(a>0)41===s?a--:40===s&&a++,i++;else if(42===s&&i+1<t&&47===e.charCodeAt(i+1))i>r&&n.push(e.substring(r,i)),r=i+=2;else if(47===s&&i+1<t&&47===e.charCodeAt(i+1)){for(i>r&&n.push(e.substring(r,i));i<t&&10!==e.charCodeAt(i);)i++;r=i}else i++;else i++;else 0===o?o=s:o===s&&(o=0),i++}return 0===r?e:(r<t&&n.push(e.substring(r)),n.join(""))}(e)),g=(c=function e(t,n,r,i,o,a,s,l,c){for(var d,f,g,m,k=0,S=0,I=s,R=0,$=0,L=0,P=1,B=1,H=1,q=0,V="",G=o,W=a,Y=i,K=V;B;)switch(L=q,q=j()){case 40:if(108!=L&&58==v(K,I-1)){-1!=b(K+=y(F(q),"&","&\f"),"&\f",h(k?l[k-1]:0))&&(H=-1);break}case 34:case 39:case 91:K+=F(q);break;case 9:case 10:case 13:case 32:K+=function(e){for(;O=N();)if(O<33)j();else break;return M(e)>2||M(O)>3?"":" "}(L);break;case 92:K+=function(e,t){for(var n;--t&&j()&&!(O<48)&&!(O>102)&&(!(O>57)||!(O<65))&&(!(O>70)||!(O<97)););return n=C+(t<6&&32==N()&&32==j()),w(T,e,n)}(C-1,7);continue;case 47:switch(N()){case 42:case 47:x((d=function(e,t){for(;j();)if(e+O===57)break;else if(e+O===84&&47===N())break;return"/*"+w(T,t,C-1)+"*"+p(47===e?e:j())}(j(),C),f=n,g=r,m=c,D(d,f,g,u,p(O),w(d,2,-2),0,m)),c),(5==M(L||1)||5==M(N()||1))&&_(K)&&" "!==w(K,-1,void 0)&&(K+=" ");break;default:K+="/"}break;case 123*P:l[k++]=_(K)*H;case 125*P:case 59:case 0:switch(q){case 0:case 125:B=0;case 59+S:-1==H&&(K=y(K,/\f/g,"")),$>0&&(_(K)-I||0===P&&47===L)&&x($>32?U(K+";",i,r,I-1,c):U(y(K," ","")+";",i,r,I-2,c),c);break;case 59:K+=";";default:if(x(Y=z(K,n,r,k,S,o,l,V,G=[],W=[],I,a),a),123===q)if(0===S)e(K,n,Y,Y,G,a,I,l,W);else{switch(R){case 99:if(110===v(K,3))break;case 108:if(97===v(K,2))break;default:S=0;case 100:case 109:case 115:}S?e(t,Y,Y,i&&x(z(t,Y,Y,0,0,o,l,V,o,G=[],I,W),W),o,W,I,l,i?G:W):e(K,Y,Y,Y,[""],W,0,l,W)}}k=S=$=0,P=H=1,V=K="",I=s;break;case 58:I=1+_(K),$=L;default:if(P<1){if(123==q)--P;else if(125==q&&0==P++&&125==(O=C>0?v(T,--C):0,A--,10===O&&(A=1,E--),O))continue}switch(K+=p(q),q*P){case 38:H=S>0?1:(K+="\f",-1);break;case 44:l[k++]=(_(K)-1)*H,H=1;break;case 64:45===N()&&(K+=F(j())),R=N(),S=I=_(V=K+=function(e){for(;!M(N());)j();return w(T,e,C)}(C)),q++;break;case 45:45===L&&2==_(K)&&(P=0)}}return a}("",null,null,null,[""],(l=s=n||t?"".concat(n," ").concat(t," { ").concat(f," }"):f,E=A=1,S=_(T=l),C=0,s=[]),0,[0],s),T="",c);return d.namespace&&(g=function e(t,n){return t.map(function(t){return"rule"===t.type&&(t.value="".concat(n," ").concat(t.value),t.value=t.value.replaceAll(",",",".concat(n," ")),t.props=t.props.map(function(e){return"".concat(n," ").concat(e)})),Array.isArray(t.children)&&"@keyframes"!==t.type&&(t.children=e(t.children,n)),t})}(g,d.namespace)),I=[],$(g,R),I};return B.hash=g.length?g.reduce(function(e,t){return t.name||X(15),ep(e,t.name)},5381).toString():"",B}var te=new eJ,tt=e8(),tn=i.createContext({shouldForwardProp:void 0,styleSheet:te,stylis:tt}),tr=(tn.Consumer,i.createContext(void 0));function ti(){return i.useContext(tn)}function to(e){if(!i.useMemo)return e.children;var t=ti().styleSheet,n=i.useMemo(function(){var n=t;return e.sheet?n=e.sheet:e.target&&(n=n.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(n=n.reconstructWithOptions({useCSSOMInjection:!1})),n},[e.disableCSSOMInjection,e.sheet,e.target,t]),r=i.useMemo(function(){return e8({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:e.stylisPlugins})},[e.enableVendorPrefixes,e.namespace,e.stylisPlugins]),o=i.useMemo(function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:n,stylis:r}},[e.shouldForwardProp,n,r]);return i.createElement(tn.Provider,{value:o},i.createElement(tr.Provider,{value:r},e.children))}var ta=i.createContext(void 0);function ts(){var e=i.useContext(ta);if(!e)throw X(18);return e}function tl(e){var t=i.useContext(ta),n=i.useMemo(function(){var n=e.theme;if(!n)throw X(14);if(eR(n))return n(t);if(Array.isArray(n)||"object"!=typeof n)throw X(8);return t?(0,r.Cl)((0,r.Cl)({},t),n):n},[e.theme,t]);return e.children?i.createElement(ta.Provider,{value:n},e.children):null}ta.Consumer;var tu={};
10function tc(e,t,n){var o,a,s,l,u=ej(e),c=!ey(e),d=t.attrs,f=void 0===d?er:d,h=t.componentId,p=void 0===h?(o=t.displayName,a=t.parentComponentId,tu[s="string"!=typeof o?"sc":eu(o)]=(tu[s]||0)+1,l="".concat(s,"-").concat(em(G+s+tu[s])),a?"".concat(a,"-").concat(l):l):h,g=t.displayName,m=void 0===g?ey(e)?"styled.".concat(e):"Styled(".concat(e.displayName||e.name||"Component",")"):g,y=t.displayName&&t.componentId?"".concat(eu(t.displayName),"-").concat(t.componentId):t.componentId||p,b=u&&e.attrs?e.attrs.concat(f).filter(Boolean):f,v=t.shouldForwardProp;if(u&&e.shouldForwardProp){var w=e.shouldForwardProp;if(t.shouldForwardProp){var _=t.shouldForwardProp;v=function(e,t){return w(e,t)&&_(e,t)}}else v=w}var x=new e6(n,y,u?e.componentStyle:void 0);function k(e,t){return function(e,t,n){var o,a=e.attrs,s=e.componentStyle,l=e.defaultProps,u=e.foldedComponentIds,c=e.styledComponentId,d=e.target,f=i.useContext(ta),h=ti(),p=e.shouldForwardProp||h.shouldForwardProp,g=eo(t,f,l)||ei,m=function(e,t,n){for(var i,o=(0,r.Cl)((0,r.Cl)({},t),{className:void 0,theme:n}),a=0;a<e.length;a+=1){var s=eR(i=e[a])?i(o):i;for(var l in s)"className"===l?o.className=eN(o.className,s[l]):"style"===l?o.style=(0,r.Cl)((0,r.Cl)({},o.style),s[l]):l in t&&void 0===t[l]||(o[l]=s[l])}return"className"in t&&"string"==typeof t.className&&(o.className=eN(o.className,t.className)),o}(a,t,g),y=m.as||d,b={};for(var v in m)void 0===m[v]||"$"===v[0]||"as"===v||"theme"===v&&m.theme===g||("forwardedAs"===v?b.as=m.forwardedAs:p&&!p(v,y)||(b[v]=m[v]));var w=(o=ti(),s.generateAndInjectStyles(m,o.styleSheet,o.stylis)).className,_=eN(u,c);return w&&(_+=" "+w),m.className&&(_+=" "+m.className),b[ey(y)&&!ea.has(y)?"class":"className"]=_,n&&(b.ref=n),(0,i.createElement)(y,b)}(E,e,t)}k.displayName=m;var E=i.forwardRef(k);return E.attrs=b,E.componentStyle=x,E.displayName=m,E.shouldForwardProp=v,E.foldedComponentIds=u?eN(e.foldedComponentIds,e.styledComponentId):"",E.styledComponentId=y,E.target=u?e.target:e,Object.defineProperty(E,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=u?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0;r<t.length;r++)!function e(t,n,r){if(void 0===r&&(r=!1),!r&&!eF(t)&&!Array.isArray(t))return n;if(Array.isArray(n))for(var i=0;i<n.length;i++)t[i]=e(t[i],n[i]);else if(eF(n))for(var i in n)t[i]=e(t[i],n[i]);return t}(e,t[r],!0);return e}({},e.defaultProps,t):t}}),e$(E,function(){return".".concat(E.styledComponentId)}),c&&function e(t,n,r){if("string"!=typeof n){if(eI){var i=eD(n);i&&i!==eI&&e(t,i,r)}var o=eC(n);eO&&(o=o.concat(eO(n)));for(var a=eA(t),s=eA(n),l=0;l<o.length;++l){var u=o[l];if(!(u in ex||r&&r[u]||s&&u in s||a&&u in a)){var c=eT(n,u);try{eS(t,u,c)}catch(e){}}}}return t}(E,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),E}function td(e,t){for(var n=[e[0]],r=0,i=t.length;r<i;r+=1)n.push(t[r],e[r+1]);return n}var tf=function(e){return Object.assign(e,{isCss:!0})};function th(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return eR(e)||eF(e)?tf(e5(td(er,(0,r.fX)([e],t,!0)))):0===t.length&&1===e.length&&"string"==typeof e[0]?e5(e):tf(e5(td(e,t)))}var tp=function(e){return function e(t,n,i){if(void 0===i&&(i=ei),!n)throw X(1,n);var o=function(e){for(var o=[],a=1;a<arguments.length;a++)o[a-1]=arguments[a];return t(n,i,th.apply(void 0,(0,r.fX)([e],o,!1)))};return o.attrs=function(o){return e(t,n,(0,r.Cl)((0,r.Cl)({},i),{attrs:Array.prototype.concat(i.attrs,o).filter(Boolean)}))},o.withConfig=function(o){return e(t,n,(0,r.Cl)((0,r.Cl)({},i),o))},o}(tc,e)},tg=tp;ea.forEach(function(e){tg[e]=tp(e)});var tm,ty=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=e3(e),eJ.registerId(this.componentId+1)}return e.prototype.createStyles=function(e,t,n,r){var i=r(eM(e5(this.rules,t,n,r)),""),o=this.componentId+e;n.insertRules(o,o,i)},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.prototype.renderStyles=function(e,t,n,r){e>2&&eJ.registerId(this.componentId+e);var i=this.componentId+e;this.isStatic?n.hasNameForId(i,i)||this.createStyles(e,t,n,r):(this.removeStyles(e,n),this.createStyles(e,t,n,r))},e}();function tb(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var o=th.apply(void 0,(0,r.fX)([e],t,!1)),a="sc-global-".concat(em(JSON.stringify(o))),s=new ty(o,a),l=new WeakMap,u=function(e){var t=ti(),n=i.useContext(ta),o=l.get(t.
10styleSheet);return void 0===o&&(o=t.styleSheet.allocateGSInstance(a),l.set(t.styleSheet,o)),i.useLayoutEffect(function(){return t.styleSheet.server||function(e,t,n,i,o){if(s.isStatic)s.renderStyles(e,Z,n,o);else{var a=(0,r.Cl)((0,r.Cl)({},t),{theme:eo(t,i,u.defaultProps)});s.renderStyles(e,a,n,o)}}(o,e,t.styleSheet,n,t.stylis),function(){s.removeStyles(o,t.styleSheet)}},[o,e,t.styleSheet,n,t.stylis]),null};return i.memo(u)}var tv=function(){function e(e,t){var n=this;this[tm]=!0,this.inject=function(e,t){void 0===t&&(t=tt);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,e$(this,function(){throw X(12,String(n.name))})}return e.prototype.getName=function(e){return void 0===e&&(e=tt),this.name+e.hash},e}();function tw(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var i=eM(th.apply(void 0,(0,r.fX)([e],t,!1)));return new tv(em(i),i)}function t_(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var r=n.nc,i=eM([r&&'nonce="'.concat(r,'"'),"".concat(H,'="true"'),"".concat(V,'="').concat(G,'"')].filter(Boolean)," ");return"<style ".concat(i,">").concat(t,"</style>")},this.getStyleTags=function(){if(e.sealed)throw X(2);return e._emitSheetCSS()}
10,this.getStyleElement=function(){if(e.sealed)throw X(2);var t,o=e.instance.toString();if(!o)return[];var a=((t={})[H]="",t[V]=G,t.dangerouslySetInnerHTML={__html:o},t),s=n.nc;return s&&(a.nonce=s),[i.createElement("style",(0,r.Cl)({},a,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new eJ({isServer:!0}),this.sealed=!1}tm=e0,t_.prototype.collectStyles=function(e){if(this.sealed)throw X(2);return i.createElement(to,{sheet:this.instance},e)},t_.prototype.interleaveWithNodeStream=function(e){throw X(3)}},36776:e=>{"use strict";let t=[],n=[],r=(e,r)=>{let i,o,a,s;if(e===r)return 0;let l=e;e.length>r.length&&(e=r,r=l);let u=e.length,c=r.length;for(;u>0&&e.charCodeAt(~-u)===r.charCodeAt(~-c);)u--,c--;let d=0;for(;d<u&&e.charCodeAt(d)===r.charCodeAt(d);)d++;if(u-=d,c-=d,0===u)return c;let f=0,h=0;for(;f<u;)n[f]=e.charCodeAt(d+f),t[f]=++f;for(;h<c;)for(f=0,i=r.charCodeAt(d+h),a=h++,o=h;f<u;f++)s=i===n[f]?a:a+1,a=t[f],o=t[f]=a>o?s>o?o+1:s:s>a?a+1:s;return o};e.exports=r,e.exports.default=r},36958:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(33761),i=n(51603);let o=function(){return i.A.Date.now()};var a=n(63462),s=Math.max,l=Math.min;let u=function(e,t,n){var i,u,c,d,f,h,p=0,g=!1,m=!1,y=!0;if("function"!=typeof e)throw TypeError("Expected a function");function b(t){var n=i,r=u;return i=u=void 0,p=t,d=e.apply(r,n)}function v(e){var n=e-h,r=e-p;return void 0===h||n>=t||n<0||m&&r>=c}function w(){var e,n,r,i=o();if(v(i))return _(i);f=setTimeout(w,(e=i-h,n=i-p,r=t-e,m?l(r,c-n):r))}function _(e){return(f=void 0,y&&i)?b(e):(i=u=void 0,d)}function x(){var e,n=o(),r=v(n);if(i=arguments,u=this,h=n,r){if(void 0===f)return p=e=h,f=setTimeout(w,t),g?b(e):d;if(m)return clearTimeout(f),f=setTimeout(w,t),b(h)}return void 0===f&&(f=setTimeout(w,t)),d}return t=(0,a.A)(t)||0,(0,r.A)(n)&&(g=!!n.leading,c=(m="maxWait"in n)?s((0,a.A)(n.maxWait)||0,t):c,y="trailing"in n?!!n.trailing:y),x.cancel=function(){void 0!==f&&clearTimeout(f),p=0,i=h=u=f=void 0},x.flush=function(){return void 0===f?d:_(o())},x}},37253:(e,t,n)=>{var r=n(16950),i=n(75763),o=n(72587),a=n(78440),s=n(89722),l=n(26040),u=r?r.prototype:void 0,c=u?u.valueOf:void 0;e.exports=function(e,t,n,r,u,d,f){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)break;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":if(e.byteLength!=t.byteLength||!d(new i(e),new i(t)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var h=s;case"[object Set]":var p=1&r;if(h||(h=l),e.size!=t.size&&!p)break;var g=f.get(e);if(g)return g==t;r|=2,f.set(e,t);var m=a(h(e),h(t),r,u,d,f);return f.delete(e),m;case"[object Symbol]":if(c)return c.call(e)==c.call(t)}return!1}},37305:(e,t,n)=>{"use strict";n.d(t,{h:()=>s});var r=n(46776),i=n(91993),o=n(25037),a=n(92477);function s(e,t){let n=(0,a.a)(e,t?.in),s=n.getFullYear(),l=(0,r.q)(),u=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??l.firstWeekContainsDate??l.locale?.options?.firstWeekContainsDate??1,c=(0,i.w)(t?.in||e,0);c.setFullYear(s+1,0,u),c.setHours(0,0,0,0);let d=(0,o.k)(c,t),f=(0,i.w)(t?.in||e,0);f.setFullYear(s,0,u),f.setHours(0,0,0,0);let h=(0,o.k)(f,t);return+n>=+d?s+1:+n>=+h?s:s-1}},37462:(e,t,n)=>{var r=n(25039),i=n(96692),o=n(37495),a=n(76922),s=n(12924),l=n(8515),u=n(61638),c="[object Map]",d="[object Promise]",f="[object Set]",h="[object WeakMap]",p="[object DataView]",g=u(r),m=u(i),y=u(o),b=u(a),v=u(s),w=l;
10(r&&w(new r(new ArrayBuffer(1)))!=p||i&&w(new i)!=c||o&&w(o.resolve())!=d||a&&w(new a)!=f||s&&w(new s)!=h)&&(w=function(e){var t=l(e),n="[object Object]"==t?e.constructor:void 0,r=n?u(n):"";if(r)switch(r){case g:return p;case m:return c;case y:return d;case b:return f;case v:return h}return t}),e.exports=w},37495:(e,t,n)=>{e.exports=n(68649)(n(50994),"Promise")},37515:(e,t,n)=>{"use strict";n.d(t,{W:()=>i});var r=n(92477);function i(e,t){let n=(0,r.a)(e,t?.in),i=n.getMonth();return n.setFullYear(n.getFullYear(),i+1,0),n.setHours(0,0,0,0),(0,r.a)(n,t?.in)}},37758:(e,t,n)=>{"use strict";n.d(t,{A_:()=>g,Bg:()=>w,ER:()=>U,Fg:()=>m,GB:()=>h,HA:()=>R,HX:()=>H,JB:()=>b,Jo:()=>p,Lw:()=>j,N2:()=>F,P$:()=>c,Q:()=>V,Qm:()=>B,RL:()=>I,Rt:()=>O,UH:()=>S,Uv:()=>_,WV:()=>E,Y1:()=>P,aR:()=>d,d2:()=>u,dO:()=>M,eb:()=>f,gR:()=>A,gU:()=>a,hH:()=>s,iE:()=>G,iL:()=>T,jR:()=>l,kK:()=>$,l$:()=>y,lA:()=>C,lN:()=>x,oZ:()=>z,qm:()=>D,rm:()=>L,u0:()=>k,wx:()=>v,yh:()=>N});var r=n(66161),i=n(55876);function o(e){var t;let n=e.at(0);return 1===e.length&&void 0!==n&&!!(t=n)&&("object"==typeof t||"function"==typeof t)&&"_key"in n&&"string"==typeof n._key}let a=e=>{if(!e.context.selection)return;let t=(0,i.XE)(e.context.selection.focus),n=t?e.blockIndexMap.get(t):void 0,r=void 0!==n?e.context.value.at(n):void 0;return r&&t?{node:r,path:[{_key:t}]}:void 0},s=e=>{let t=a(e);return t&&(0,r.zS)(e.context,t.node)?{node:t.node,path:t.path}:void 0},l=e=>{if(!e.context.selection)return;let t=s(e);if(!t)return;let n=(0,i.qX)(e.context.selection.focus),r=n?t.node.children.find(e=>e._key===n):void 0;return r&&n?{node:r,path:[...t.path,"children",{_key:n}]}:void 0},u=e=>{let t=l(e);return t&&(0,r.bl)(e.context,t.node)?{node:t.node,path:t.path}:void 0},c=e=>{let t=(0,i.aR)(e.context.selection);if(t)return a({...e,context:{...e.context,selection:{anchor:t,focus:t}}})},d=e=>{if(e.context.selection)return e.context.selection.backward?e.context.selection.anchor:e.context.selection.focus},f=e=>{let t=c(e),n=d(e);if(!t||!n||!(0,r.zS)(e.context,t.node))return;let o=(0,i.qX)(n),a=!1,s;for(let n of t.node.children){if(n._key===o){a=!0;continue}if((0,r.bl)(e.context,n)&&a){s={node:n,path:[...t.path,"children",{_key:n._key}]};break}}return s},h=e=>{let t=(0,i.Jo)(e.context.selection);if(t)return a({...e,context:{...e.context,selection:{anchor:t,focus:t}}})},p=e=>{if(e.context.selection)return e.context.selection.backward?e.context.selection.focus:e.context.selection.anchor},g=e=>{let t,n=h(e),o=p(e);if(!n||!o||!(0,r.zS)(e.context,n.node))return;let a=(0,i.qX)(o);for(let i of n.node.children){if(i._key===a)break;(0,r.bl)(e.context,i)&&(t={node:i,path:[...n.path,"children",{_key:i._key}]})}return t};function m(e){let t=e?.filter;return e=>{let n=p(e),o=d(e);if(!n||!o)return[];let a=(0,i.XE)(n),s=(0,i.XE)(o),l=(0,i.qX)(n),u=(0,i.qX)(o);if(!a||!s)return[];let c=e.blockIndexMap.get(a),f=e.blockIndexMap.get(s);if(void 0===c||void 0===f)return[];let h=[],g=Math.min(c,f),m=Math.max(c,f),y=e.context.value.slice(g,m+1),b=!1;for(let i of y){if(!(0,r.zS)(e.context,i))continue;let c=i._key===a,d=i._key===s,f=!c&&!d;for(let a of i.children){let s=a._key===l,c=a._key===u,d=()=>{(!t||t(a))&&h.push({node:a,path:[{_key:i._key},"children",{_key:a._key}]})};if(f){d();continue}if(s){if(b=!0,(0,r.bl)(e.context,a)?n.offset<a.text.length&&d():d(),l===u)break;continue}if(c){(0,r.bl)(e.context,a)?o.offset>0&&d():d();break}b&&d()}if(c&&a===s)break;c&&(b=!0)}return h}}let y=e=>e.context.selection?m({filter:t=>(0,r.bl)(e.context,t)})(e):[],b=e=>{var t;if(!e.context.selection)return;let n=e.context.selection;if(!s(e))return;if(o(n.anchor.path)){let t=(0,i.m4)({context:e.context,blockOffset:{path:n.anchor.path,offset:n.anchor.offset},direction:n.backward?"backward":"forward"});n=t?{...n,anchor:t}:n}if(o(n.focus.path)){let t=(0,i.m4)({context:e.context,blockOffset:{path:n.focus.path,offset:n.focus.offset},direction:n.backward?"backward":"forward"});n=t?{...n,focus:t}:n}let r=u({...e,context:{...e.context,selection:n}});if(!r)return;if((t=n)&&!(0,i.WV)(t)){let t=y({...e,context:{...e.context,selection:n}}),r=0,i=[];for(let e of t){if(0===r)i=e.node.marks??[];else{if(e.node.marks?.length===0){i=[];continue}i=i.filter(t=>(e.node.marks??[]).some(e=>e===t))}r++}return{state:"unchanged",marks:i}}let a=e.context.schema.decorators.map(e=>
10e.name),l=r.node.marks??[],c=l.filter(e=>a.includes(e)),d=l.length>c.length,h=0===r.node.text.length,p=0===e.context.selection.anchor.offset,m=e.context.selection.anchor.offset===r.node.text.length,b=g({...e,context:{...e.context,selection:n}}),v=f({...e,context:{...e.context,selection:n}}),w=v?.node?.marks?.filter(e=>!a.includes(e))??[],_=l.filter(e=>!a.includes(e)),x=!!b&&b.node.marks?.some(e=>!a.includes(e)),k=!!b&&b.node.marks?.filter(e=>!a.includes(e)).every(e=>l.includes(e)),E=!!b&&b.node.marks?.some(e=>!a.includes(e)&&l.includes(e)),A=!!b&&b.node.marks?.every(e=>l.includes(e)),S=_.some(e=>w?.includes(e));if(d&&!h){if(p){if(A||k)return{state:"changed",previousMarks:l,marks:b?.node.marks??[]};if(E)return{state:"unchanged",marks:r.node.marks??[]};if(!b)return{state:"changed",previousMarks:l,marks:[]}}if(m){if(!v||w.length>0&&!S)return{state:"changed",previousMarks:l,marks:[]};if(S&&w.length<_.length||!S)return{state:"changed",previousMarks:l,marks:v?.node.marks??[]}}}return p&&!h&&b?x?{state:"changed",marks:l,previousMarks:b?.node.marks??[]}:{state:"changed",previousMarks:l,marks:(b?.node.marks??[]).filter(e=>a.includes(e))}:{state:"unchanged",marks:l}},v=e=>{if(!e.context.selection)return[];let t=[],n=(0,i.Jo)(e.context.selection),r=(0,i.aR)(e.context.selection),o=(0,i.XE)(n),a=(0,i.XE)(r);if(!o||!a)return t;let s=e.blockIndexMap.get(o),l=e.blockIndexMap.get(a);if(void 0===s||void 0===l)return t;for(let n of e.context.value.slice(s,l+1)){if(n._key===o){if(t.push({node:n,path:[{_key:n._key}]}),o===a)break;continue}if(n._key===a){t.push({node:n,path:[{_key:n._key}]});break}t.length>0&&t.push({node:n,path:[{_key:n._key}]})}return t},w=e=>{if(!e.context.selection)return[];let t=v(e),n=(b(e)?.marks??[]).filter(t=>!e.context.schema.decorators.map(e=>e.name).includes(t));return t.flatMap(t=>(0,r.zS)(e.context,t.node)?t.node.markDefs??[]:[]).filter(e=>n.includes(e._key))},_=e=>{let t,n=s(e),o=p(e),a=o&&(0,i.wE)(o.path[2])?o.path[2]._key:void 0;if(n&&a){for(let i of n.node.children){if(i._key===a)break;(0,r.bl)(e.context,i)||(t={node:i,path:[...n.path,"children",{_key:i._key}]})}return t}},x=e=>{let t=e.context.selection;if(!t)return[];let n=(0,i.Jo)(t),r=(0,i.aR)(t),o=(0,i.XE)(n),a=(0,i.XE)(r);if(!o||!a)return[];let s=e.blockIndexMap.get(o),l=e.blockIndexMap.get(a);if(void 0===s||void 0===l)return[];let u=e.context.value.at(s),c=u?(0,i.RJ)({context:e.context,blocks:[u]}).at(0):void 0;if(s===l)return c?[c]:[];let d=e.context.value.at(l),f=d?(0,i.RJ)({context:e.context,blocks:[d]}).at(0):void 0;return[...c?[c]:[],...e.context.value.slice(s+1,l),...f?[f]:[]]},k=e=>x(e).reduce((t,n)=>(0,r.zS)(e.context,n)?t+n.children.reduce((t,n)=>(0,r.bl)(e.context,n)?t+n.text:t,""):t,""),E=e=>!!e.context.selection&&(0,i.H7)(e.context.selection.anchor.path,e.context.selection.focus.path)&&e.context.selection.anchor.offset===e.context.selection.focus.offset,A=e=>null!==e.context.selection&&!E(e),S=e=>{if(!e.context.selection||!E(e))return null;let t=s(e),n=p(e),o=n?(0,i.iL)({context:e.context,selectionPoint:n}):void 0;if(!t||!n||!o)return null;let a=_(e),l=(0,i.u3)({context:e.context,block:t}),u=k({...e,context:{...e.context,selection:{anchor:a?{path:a.path,offset:0}:l,focus:n}}}).split(/\s+/).at(-1),c=(e=>{let t=s(e),n=d(e),o=n&&(0,i.wE)(n.path[2])?n.path[2]._key:void 0;if(!t||!o)return;let a=!1,l;for(let n of t.node.children){if(n._key===o){a=!0;continue}if(!(0,r.bl)(e.context,n)&&a){l={node:n,path:[...t.path,"children",{_key:n._key}]};break}}return l})(e),f=(0,i.J8)({context:e.context,block:t}),h=k({...e,context:{...e.context,selection:{anchor:n,focus:c?{path:c.path,offset:0}:f}}}).split(/\s+/).at(0);if((void 0===u||""===u)&&(void 0===h||""===h))return null;let g=u?{...o,offset:o.offset-u.length}:o,m=h?{...o,offset:o.offset+h.length}:o,y=(0,i.m4)({context:e.context,blockOffset:g,direction:"backward"}),b=(0,i.m4)({context:e.context,blockOffset:m,direction:"forward"});if(!y||!b)return null;let v={anchor:y,focus:b};return A({context:{...e.context,selection:v}})?v:null},C=e=>{let t=a(e);return t&&!(0,r.zS)(e.context,t.node)?{node:t.node,path:t.path}:void 0},O=e=>{let t=l(e);return t&&!(0,r.bl)(e.context,t.node)?{node:t.node,path:t.path}:void 0},T=e=>{let t=s(e);return t&&(0,i.Eg)(e.context,t.node)?{node:t.node,path:t.path}:void 0},D=e=>{let t=e.context.value[e.context.value.length-1]?e.context.value[e.context.value.length-1]:void 0;return t?{node:t,path:[{_key:t._key}]}:void 0},I=e=>{let t=c(e);if(!t)return;let n=e.blockIndexMap.get(t.node._key);if(void 0===n||n===e.context.value.length-1)return;let r=e.context.value.at(n+1);return r?{node:r,path:[{_key:r._key}]}:void 0},R=e=>{let t=h(e);if(!t)return;let n=e.blockIndexMap.get(t.node._key);if(void 0===n||0===n)return;let r=e.context.value.at(n-1);return r?{node:r,path:[{_key:r._key}]}:void 0},j=e=>{if(!e.context.selection)return[];let t=[],n=(0,i.Jo)(e.context.selection),o=(0,i.aR)(e.context.selection),a=(0,i.XE)(n),s=(0,i.XE)(o);if(!a||!s)return t;let l=e.blockIndexMap.get(a),u=e.blockIndexMap.get(s);if(void 0===l||void 0===u)return t;for(let n of e.context.value.slice(l,u+1)){if(n._key===a){if((0,r.zS)(e.context,n)&&t.pu
10sh({node:n,path:[{_key:n._key}]}),a===s)break;continue}if(n._key===s){(0,r.zS)(e.context,n)&&t.push({node:n,path:[{_key:n._key}]});break}t.length>0&&(0,r.zS)(e.context,n)&&t.push({node:n,path:[{_key:n._key}]})}return t},N=e=>{let t=(0,i.aR)(e.context.selection);if(t)return l({...e,context:{...e.context,selection:{anchor:t,focus:t}}})},M=e=>{let t=(0,i.Jo)(e.context.selection);if(t)return l({...e,context:{...e.context,selection:{anchor:t,focus:t}}})};function F(e){let t=e.context.schema;return(b(e)?.marks??[]).filter(e=>!t.decorators.map(e=>e.name).includes(e))}function $(e,t){return n=>{if((t?.mode??"full")==="partial")return x(n).flatMap(e=>(0,r.zS)(n.context,e)?e.markDefs??[]:[]).some(t=>t._type===e);let i=v(n).flatMap(e=>(0,r.zS)(n.context,e.node)?e.node.markDefs??[]:[]),o=F(n);return i.filter(t=>t._type===e&&o.includes(t._key)).length>0}}function L(e){let t=e.context.schema,n=e.decoratorState,r=b(e),i=t.decorators.map(e=>e.name),o=(r?.marks??[]).filter(e=>i.includes(e));for(let e in n)!1===n[e]?o=o.filter(t=>t!==e):!0===n[e]&&(o.includes(e)||o.push(e));return o}function P(e){return t=>{if(A(t)){let n=y(t);return n.length>0&&n.every(t=>t.node.marks?.includes(e))}return L(t).includes(e)}}function z(e){return t=>(e=>{if(!e.context.selection)return;let t=v(e).map(e=>e.node).filter(t=>(0,r.zS)(e.context,t)),n=t.at(0);if(!n)return;let i=n.listItem;if(i&&t.every(e=>e.listItem===i))return i})(t)===e}function U(e){return t=>(e=>{if(!e.context.selection)return;let t=v(e).map(e=>e.node).filter(t=>(0,r.zS)(e.context,t)),n=t.at(0);if(!n)return;let i=n.style;if(i&&t.every(e=>e.style===i))return i})(t)===e}function B(e){return t=>{if(!t.context.selection||!E(t))return!1;let n=(0,i.J8)({context:t.context,block:e});return(0,i._Q)(t.context.selection.focus,n)}}function H(e){return t=>{if(!t.context.selection||!E(t))return!1;let n=(0,i.u3)({context:t.context,block:e});return(0,i._Q)(t.context.selection.focus,n)}}function q(e,t,n){let o,a,s=(0,i.XE)(t),l=(0,i.XE)(n);if(!s)throw Error(`Cannot compare points: no block key found for ${t}`);if(!l)throw Error(`Cannot compare points: no block key found for ${n}`);let u=e.blockIndexMap.get(s),c=e.blockIndexMap.get(l);if(void 0===u)throw Error(`Cannot compare points: block "${s}" not found`);if(void 0===c)throw Error(`Cannot compare points: block "${l}" not found`);if(u<c)return -1;if(u>c)return 1;let d=e.context.value.at(u);if(!d||!(0,r.zS)(e.context,d))return 0;let f=(0,i.qX)(t),h=(0,i.qX)(n);if(!f)throw Error(`Cannot compare points: no child key found for ${t}`);if(!h)throw Error(`Cannot compare points: no child key found for ${n}`);for(let e=0;e<d.children.length;e++){let r=d.children.at(e);if(r){if(r._key===f&&r._key===h)return t.offset<n.offset?-1:+(t.offset>n.offset);if(r._key===f&&(o=e),r._key===h&&(a=e),void 0!==o&&void 0!==a)break}}if(void 0===o)throw Error(`Cannot compare points: child "${f}" not found`);if(void 0===a)throw Error(`Cannot compare points: child "${h}" not found`);return o<a?-1:+(o>a)}function V(e){return t=>{let n=t.context.selection;if(!e||!n)return!1;let r=(0,i.Jo)(e),o=(0,i.aR)(e),a=(0,i.Jo)(n),s=(0,i.aR)(n),l=(0,i.XE)(r),u=(0,i.XE)(o),c=(0,i.XE)(a),d=(0,i.XE)(s);if(!l||!u||!c||!d)return!1;let f=t.blockIndexMap.get(l),h=t.blockIndexMap.get(u),p=t.blockIndexMap.get(c),g=t.blockIndexMap.get(d);if(void 0===f||void 0===h||void 0===p||void 0===g)return!1;let[m,y]=f<=h?[f,h]:[h,f],[b,v]=p<=g?[p,g]:[g,p];return!(y<b)&&!(m>v)&&function(e,t,n,r,o){if((0,i._Q)(t,r)&&(0,i._Q)(n,o))return!0;let a=q(e,t,r),s=q(e,t,o),l=q(e,n,r),u=q(e,n,o),c=q(e,r,t),d=q(e,o,n),f=1===s,h=-1===l,p=-1===c,g=1===c,m=-1===d,y=1===d,b=(0,i._Q)(t,o),v=(0,i._Q)(n,r);return(!!v||!!b||!!p||!!g||!!m||!!y)&&(!h||!!v)&&(!f||!!b)&&(!p&&g&&!m&&y?!v:p&&!g&&m&&!y?!b:!f||-1!==a||1!==u||!h)}(t,r,o,a,s)}}let G=e=>{if(!e.context.selection)return!1;let t=e.context.selection.backward?e.context.selection.focus:e.context.selection.anchor,
10n=e.context.selection.backward?e.context.selection.anchor:e.context.selection.focus,r=h(e),o=c(e);if(!r||!o)return!1;let a=(0,i.u3)({context:e.context,block:r}),s=(0,i.J8)({context:e.context,block:o});return(0,i._Q)(a,t)&&(0,i._Q)(s,n)}},37846:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(59847),i=(0,n(28171).A)(Object.keys,Object),o=Object.prototype.hasOwnProperty;let a=function(e){if(!(0,r.A)(e))return i(e);var t=[];for(var n in Object(e))o.call(e,n)&&"constructor"!=n&&t.push(n);return t}},37974:(e,t,n)=>{var r=n(14168);e.exports=function(e){return r(this,e).has(e)}},38056:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r,i=n(12602),o=n(1448),a=n(35723);let s=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=[e,e]}),n},l=(r=n(70638).A,function(e){var t,n=(0,o.A)(e);return"[object Map]"==n?(0,a.A)(e):"[object Set]"==n?s(e):(t=r(e),(0,i.A)(t,function(t){return[t,e[t]]}))})},38374:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(95749),i=n(77494);let o=function(e){return"symbol"==typeof e||(0,i.A)(e)&&"[object Symbol]"==(0,r.A)(e)}},38454:(e,t,n)=>{"use strict";n.d(t,{b:()=>i});var r=n(92477);function i(e,t){return(0,r.a)(e)-(0,r.a)(t)}},39263:(e,t,n)=>{"use strict";let r;n.d(t,{_:()=>l});var i=n(95023);let o=n(7463).O;var a=n(2159),s=n(70850);function l(e){let t="history";(0,i.s5)(t,e),(0,i.AS)(t,u)}function u(){let e,t,n;if(t=(e=o.chrome)&&e.app&&e.app.runtime,n="history"in o&&!!o.history.pushState&&!!o.history.replaceState,t||!n)return;let l=s.j.onpopstate;function u(e){return function(...t){let n=t.length>2?t[2]:void 0;if(n){let e=r,t=String(n);r=t,(0,i.aj)("history",{from:e,to:t})}return e.apply(this,t)}}s.j.onpopstate=function(...e){let t=s.j.location.href,n=r;if(r=t,(0,i.aj)("history",{from:n,to:t}),l)try{return l.apply(this,e)}catch(e){}},(0,a.GS)(s.j.history,"pushState",u),(0,a.GS)(s.j.history,"replaceState",u)}},39647:function(e,t){(function(){(null!==t?t:this).ExifReader=function(){function e(){var e=this;this._getTagValueAt={1:function(t){return e._getByteAt(t)},2:function(t){return e._getAsciiAt(t)},3:function(t){return e._getShortAt(t)},4:function(t){return e._getLongAt(t)},5:function(t){return e._getRationalAt(t)},7:function(t){return e._getUndefinedAt(t)},9:function(t){return e._getSlongAt(t)},10:function(t){return e._getSrationalAt(t)}},this._tiffHeaderOffset=0}return e.prototype._MIN_DATA_BUFFER_LENGTH=2,e.prototype._JPEG_ID_SIZE=2,e.prototype._JPEG_ID=65496,e.prototype._APP_MARKER_SIZE=2,e.prototype._APP0_MARKER=65504,e.prototype._APP1_MARKER=65505,e.prototype._APP15_MARKER=65519,e.prototype._APP_ID_OFFSET=4,e.prototype._BYTES_Exif=0x45786966,e.prototype._TIFF_HEADER_OFFSET=10,e.prototype._BYTE_ORDER_BIG_ENDIAN=18761,e.prototype._BYTE_ORDER_LITTLE_ENDIAN=19789,e.prototype.load=function(e){return this.loadView(new DataView(e))},e.prototype.loadView=function(e){return this._dataView=e,this._tags={},this._checkImageHeader(),this._readTags()},e.prototype._checkImageHeader=function(){var e;if((e=this._dataView).byteLength<this._MIN_DATA_BUFFER_LENGTH||e.getUint16(0,!1)!==this._JPEG_ID)throw Error("Invalid image format");if(this._parseAppMarkers(e),!this._hasExifData())throw Error("No Exif data")},e.prototype._parseAppMarkers=function(e){var t,n,r;for(t=this._JPEG_ID_SIZE,r=[];!(e.byteLength<t+this._APP_ID_OFFSET+5);){if(this._isApp1ExifMarker(e,t))n=e.getUint16(t+this._APP_MARKER_SIZE,!1),this._tiffHeaderOffset=t+this._TIFF_HEADER_OFFSET;else if(this._isAppMarker(e,t))n=e.getUint16(t+this._APP_MARKER_SIZE,!1);else break;r.push(t+=this._APP_MARKER_SIZE+n)}return r},e.prototype._isApp1ExifMarker=function(e,t){return e.getUint16(t,!1)===this._APP1_MARKER&&e.getUint32(t+this._APP_ID_OFFSET,!1)===this._BYTES_Exif&&0===e.getUint8(t+this._APP_ID_OFFSET+4,!1)},e.prototype._isAppMarker=function(e,t){var n;return(n=e.getUint16(t,!1))>=this._APP0_MARKER&&n<=this._APP15_MARKER},e.prototype._hasExifData=function(){return 0!==this._tiffHeaderOffset},e.prototype._readTags=function(){return this._setByteOrder(),this._read0thIfd(),this._readExifIfd(),this._readGpsIfd(),this._readInteroperabilityIfd()},e.prototype._setByteOrder=function(){if(this._dataView.getUint16(this._tiffHeaderOffset)===this._BYTE_ORDER_BIG_ENDIAN)return this._littleEndian=!0;if(this._dataView.getUint16(this._tiffHeaderOffset)===this._BYTE_ORDER_LITTLE_ENDIAN)return this._littleEndian=!1;throw Error("Illegal byte order value. Faulty image.")},e.prototype._read0thIfd=function(){var e;return e=this._getIfdOffset(),this._readIfd("0th",e)},e.prototype._getIfdOffset=function(){return this._tiffHeaderOffset+this._getLongAt(this._tiffHeaderOffset+4)},e.prototype._readExifIfd=function(){var e;if(null!=this._tags["Exif IFD Pointer"])return e=this._tiffHeaderOffset+this._tags["Exif IFD Pointer"].value,this._readIfd("exif",e)},e.prototype._readGpsIfd=function(){var e;if(null!=this._tags["GPS Info IFD Pointer"])return e=this._tiffHeaderOffset+this._tags["GPS Info IFD Pointer"].value,this._readIfd("gps",e)},e.prototype._readInteroperabilityIfd=function(){var e;if(null!=this._tags["Interoperability IFD Pointer"])return e=this._tiffHeaderOffset+this._tags["Interoperability IFD Pointer"].value,this._readIfd("interoperability",e)},e.prototype._readIfd=function(e,t){var n,r,i,o;for(n=this._getShortAt(t),t+=2,o=[],i=0;0<=n?i<n:i>n;0<=n?++i:--i)r=this._readTag(e,t),this._tags[r.name]={value:r.value,description:r.description},o.push(t+=12);return o},e.prototype._readTag=function(e,t){var n,r,i,o,a,s,l;return(n=this._getShortAt(t),a=this._getShortAt(t+2),r=this._getLongAt(t+4),this._typeSizes[a]*r<=4?s=this._getTagValue(t+8,a,r):(l=this._getLongAt(t+8),s=this._getTagValue(this._tiffHeaderOffset+l,a,r)),a===this._tagTypes.ASCII&&(s=this._splitNullSeparatedAsciiString(s)),null!=this._tagNames[e][n])?(null!=this._tagNames[e][n].name&&null!=this._tagNames[e][n].description?(o=this._tagNames[e][n].name,i=this._tagNames[e][n].description(s)):(o=this._tagNames[e][n],i=s instanceof Array?s.join(", "):s),{name:o,value:s,description:i}):{name:"undefined-"+n,value:s,description:s}},e.prototype._getTagValue=function(e,t,n){var r,i;return 1===(i=(function(){var i,o;for(o=[],i=0;0<=n?i<n:i>n;0<=n?++i:--i)r=this._getTagValueAt[t](e),e+=this._typeSizes[t],o.push(r);return o}
10).call(this)).length?i=i[0]:t===this._tagTypes.ASCII&&(i=this._getAsciiValue(i)),i},e.prototype._getAsciiValue=function(e){var t,n,r,i;for(n=0,i=[],r=e.length;n<r;n++)t=e[n],i.push(String.fromCharCode(t));return i},e.prototype._getByteAt=function(e){return this._dataView.getUint8(e)},e.prototype._getAsciiAt=function(e){return this._dataView.getUint8(e)},e.prototype._getShortAt=function(e){return this._dataView.getUint16(e,this._littleEndian)},e.prototype._getLongAt=function(e){return this._dataView.getUint32(e,this._littleEndian)},e.prototype._getRationalAt=function(e){return this._getLongAt(e)/this._getLongAt(e+4)},e.prototype._getUndefinedAt=function(e){return this._getByteAt(e)},e.prototype._getSlongAt=function(e){return this._dataView.getInt32(e,this._littleEndian)},e.prototype._getSrationalAt=function(e){return this._getSlongAt(e)/this._getSlongAt(e+4)},e.prototype._splitNullSeparatedAsciiString=function(e){var t,n,r,i,o;for(i=0,r=[],n=0,o=e.length;i<o;i++){if("\0"===(t=e[i])){n++;continue}null==r[n]&&(r[n]=""),r[n]+=t}return r},e.prototype._typeSizes={1:1,2:1,3:2,4:4,5:8,7:1,9:4,10:8},e.prototype._tagTypes={BYTE:1,ASCII:2,SHORT:3,LONG:4,RATIONAL:5,UNDEFINED:7,SLONG:9,SRATIONAL:10},e.prototype._tagNames={"0th":{256:"ImageWidth",257:"ImageLength",258:"BitsPerSample",259:"Compression",262:"PhotometricInterpretation",270:"ImageDescription",271:"Make",272:"Model",273:"StripOffsets",274:{name:"Orientation",description:function(e){switch(e){case 1:return"top-left";case 2:return"top-right";case 3:return"bottom-right";case 4:return"bottom-left";case 5:return"left-top";case 6:return"right-top";case 7:return"right-bottom";case 8:return"left-bottom";default:return"Undefined"}}},277:"SamplesPerPixel",278:"RowsPerStrip",279:"StripByteCounts",282:"XResolution",283:"YResolution",284:"PlanarConfiguration",296:{name:"ResolutionUnit",description:function(e){switch(e){case 2:return"inches";case 3:return"centimeters";default:return"Unknown"}}},301:"TransferFunction",305:"Software",306:"DateTime",315:"Artist",318:"WhitePoint",319:"PrimaryChromaticities",513:"JPEGInterchangeFormat",514:"JPEGInterchangeFormatLength",529:"YCbCrCoefficients",530:"YCbCrSubSampling",531:{name:"YCbCrPositioning",description:function(e){switch(e){case 1:return"centered";case 2:return"co-sited";default:return"undefied "+e}}},532:"ReferenceBlackWhite",33432:{name:"Copyright",description:function(e){return e.join("; ")}},34665:"Exif IFD Pointer",34853:"GPS Info IFD Pointer"},exif:{33434:"ExposureTime",33437:"FNumber",34850:{name:"ExposureProgram",description:function(e){switch(e){case 0:return"Undefined";case 1:return"Manual";case 2:return"Normal program";case 3:return"Aperture priority";case 4:return"Shutter priority";case 5:return"Creative program";case 6:return"Action program";case 7:return"Portrait mode";case 8:return"Landscape mode";default:return"Unknown"}}},34852:"SpectralSensitivity",34855:"ISOSpeedRatings",34856:{name:"OECF",description:function(e){return"[Raw OECF table data]"}},36864:{name:"ExifVersion",description:function(e){var t,n,r;for(n=0,t="",r=e.length;n<r;n++)t+=String.fromCharCode(e[n]);return t}},36867:"DateTimeOriginal",36868:"DateTimeDigitized",37121:{name:"ComponentsConfiguration",description:function(e){var t,n,r;for(n=0,t="",r=e.length;n<r;n++)switch(e[n]){case 49:t+="Y";break;case 50:t+="Cb";break;case 51:t+="Cr";break;case 52:t+="R";break;case 53:t+="G";break;case 54:t+="B"}return t}},37122:"CompressedBitsPerPixel",37377:"ShutterSpeedValue",37378:"ApertureValue",37379:"BrightnessValue",37380:"ExposureBiasValue",37381:"MaxApertureValue",37382:"SubjectDistance",37383:{name:"MeteringMode",description:function(e){switch(e){case 1:return"Average";case 2:return"CenterWeightedAverage";case 3:return"Spot";case 4:return"MultiSpot";case 5:return"Pattern";case 6:return"Partial";case 255:return"Other";default:return"Unknown"}}},37384:{name:"LightSource",description:function(e){switch(e){case 1:return"Daylight";case 2:return"Fluorescent";case 3:return"Tungsten (incandescent light)";case 4:return"Flash";case 9:return"Fine weather";case 10:return"Cloudy weather";case 11:return"Shade";case 12:return"Daylight fluorescent (D 5700 – 7100K)";case 13:return"Day white fluorescent (N 4600 – 5400K)";case 14:return"Cool white fluorescent (W 3900 – 4500K)";case 15:return"White fluorescent (WW 3200 – 3700K)";case 17:return"Standard light A";case 18:return"Standard light B";case 19:return"Standard light C";case 20:return"D55";case 21:return"D65";case 22:return"D75";case 23:return"D50";case 24:return"ISO studio tungsten";case 255:return"Other light source";default:return"Unknown"}}},37385:{name:"Flash",description:function(e){switch(e){case 0:return"Flas
10h did not fire";case 1:return"Flash fired";case 5:return"Strobe return light not detected";case 7:return"Strobe return light detected";case 9:return"Flash fired, compulsory flash mode";case 13:return"Flash fired, compulsory flash mode, return light not detected";case 15:return"Flash fired, compulsory flash mode, return light detected";case 16:return"Flash did not fire, compulsory flash mode";case 24:return"Flash did not fire, auto mode";case 25:return"Flash fired, auto mode";case 29:return"Flash fired, auto mode, return light not detected";case 31:return"Flash fired, auto mode, return light detected";case 32:return"No flash function";case 65:return"Flash fired, red-eye reduction mode";case 69:return"Flash fired, red-eye reduction mode, return light not detected";case 71:return"Flash fired, red-eye reduction mode, return light detected";case 73:return"Flash fired, compulsory flash mode, red-eye reduction mode";case 77:return"Flash fired, compulsory flash mode, red-eye reduction mode, return light not detected";case 79:return"Flash fired, compulsory flash mode, red-eye reduction mode, return light detected";case 89:return"Flash fired, auto mode, red-eye reduction mode";case 93:return"Flash fired, auto mode, return light not detected, red-eye reduction mode";case 95:return"Flash fired, auto mode, return light detected, red-eye reduction mode";default:return"Unknown"}}},37386:"FocalLength",37396:{name:"SubjectArea",description:function(e){switch(e.length){case 2:return"Location; X: "+e[0]+", Y: "+e[1];case 3:return"Circle; X: "+e[0]+", Y: "+e[1]+", diameter: "+e[2];case 4:return"Rectangle; X: "+e[0]+", Y: "+e[1]+", width: "+e[2]+", height: "+e[3];default:return"Unknown"}}},37500:{name:"MakerNote",description:function(e){return"[Raw maker note data]"}},37510:{name:"UserComment",description:function(e){switch(e.slice(0,8).map(function(e){return String.fromCharCode(e)}).join("")){case"ASCII\0\0\0":return e.slice(8,e.length).map(function(e){return String.fromCharCode(e)}).join("");case"JIS\0\0\0\0\0":return"[JIS encoded text]";case"UNICODE\0":return"[Unicode encoded text]";case"\0\0\0\0\0\0\0\0":return"[Undefined encoding]"}}},37520:"SubSecTime",37521:"SubSecTimeOriginal",37522:"SubSecTimeDigitized",40960:{name:"FlashpixVersion",description:function(e){var t,n,r;for(n=0,t="",r=e.length;n<r;n++)t+=String.fromCharCode(e[n]);return t}},40961:{name:"ColorSpace",description:function(e){switch(e){case 1:return"sRGB";case 65535:return"Uncalibrated";default:return"Unknown"}}},40962:"PixelXDimension",40963:"PixelYDimension",40964:"RelatedSoundFile",40965:"Interoperability IFD Pointer",41483:"FlashEnergy",41484:{name:"SpatialFrequencyResponse",description:function(e){return"[Raw SFR table data]"}},41486:"FocalPlaneXResolution",41487:"FocalPlaneYResolution",41488:{name:"FocalPlaneResolutionUnit",description:function(e){switch(e){case 2:return"inches";case 3:return"centimeters";default:return"Unknown"}}},41492:{name:"SubjectLocation",description:function(e){return"X: "+e[0]+", Y: "+e[1]}},41493:"ExposureIndex",41495:{name:"SensingMethod",description:function(e){switch(e){case 1:return"Undefined";case 2:return"One-chip color area sensor";case 3:return"Two-chip color area sensor";case 4:return"Three-chip color area sensor";case 5:return"Color sequential area sensor";case 7:return"Trilinear sensor";case 8:return"Color sequential linear sensor";default:return"Unknown"}}},41728:{name:"FileSource",description:function(e){return 3===e?"DSC":"Unknown"}},41729:{name:"SceneType",description:function(e){return 1===e?"A directly photographed image":"Unknown"}},41730:{name:"CFAPattern",description:function(e){return"[Raw CFA pattern table data]"}},41985:{name:"CustomRendered",description:function(e){switch(e){case 0:return"Normal process";case 1:return"Custom process";default:return"Unknown"}}},41986:{name:"ExposureMode",description:function(e){switch(e){case 0:return"Auto exposure";case 1:return"Manual exposure";case 2:return"Auto bracket";default:return"Unknown"}}},41987:{name:"WhiteBalance",description:function(e){switch(e){case 0:return"Auto white balance";case 1:return"Manual white balance";default:return"Unknown"}}},41988:{name:"DigitalZoomRatio",description:function(e){return 0===e?"Digital zoom was not used":e}},41989:{name:"FocalLengthIn35mmFilm",description:function(e){return 0===e?"Unknown":e}},41990:{name:"SceneCaptureType",description:function(e){switch(e){case 0:return"Standard";case 1:return"Landscape";case 2:return"Portrait";case 3:return"Night scene";default:return"Unknown"}}},41991:{name:"GainControl",description:function(e){switch(e){case 0:return"None";case 1:return"Low gain up";case 2:return"High gain up";case 3:return"Low gain down";case 4:return"High gain down";default:return"Unknown"}}},41992:{name:"Contrast",description:function(e){switch(e){case 0:return"Normal";case 1:return"Soft";case 2:return"Hard";default:return"Unknown"}}},41993:{name:"Saturation",description:function(e){switch(e){case 0:return"Normal";case 1:return"Low saturation";case 2:return"High saturation";default:return"Unknown"}}},41994:{name:"Sharpness",description:function(e){switch(e){case 0:return"Normal";case 1:return"Soft";case 2:return"Hard";default:return"Unknown"}}},41995:{name:"DeviceSettingDescription",description:function(e){return"[Raw device settings table data]"}},41996:{name:"SubjectDistanceRange",description:function(e){switch(e){case 1:return"Macro";case 2:return"Close view";case 3:return"Distant view";default:return"Unknown"}}},42016:"ImageUniqueID"},gps:{0:{name:"GPSVersionID",description:function(e){var t,n;return e[0]===(t=e[1])&&2===t&&e[2]===(n=e[3])&&0===n?"Version 2.2":"Unknown"}},1:{name:"GPSLatitudeRef",description:function(e){switch(e.join("")){case"N":return"North latitude";case"S":return"South latitude";default:return"Unknown"}}},2:{name:"GPSLatitude",description:function(e){return e[0]+e[1]/60+e[2]/3600}},3:{name:"GPSLongitudeRef",description:function(e){switch(e.join("")){case"E":return"East longitude";case"W":return"West longitude";default:return"Unknown"}}},4:{name:"GPSLongitude",description:function(e){return e[0]+e[1]/60+e[2]/3600}},5:{name:"GPSAltitudeRef",description:function(e){switch(e){case 0:return"Sea level";case 1:return"Sea level reference (negative value)";default:return"Unknown"}}},6:{name:"GPSAltitude",description:function(e){return e+" m"}},7:{name:"GPSTimeStamp",description:function(e){return e.map(function(e){return function(){var t,n,r;for(r=[],t=0,n=2-(""+Math.floor(e)).length;0<=n?t<n:t>n;0<=n?++t:--t)r.push("0");return r}()+e}).join(":")}},8:"GPSSatellites",9:{name:"GPSStatus",description:function(e){switch(e.join("")){case"A":return"Measurement in progress";case"V":return"Measurement Interoperability";default:return"Unknown"}}},10:{name:"GPSMeasureMode",description:function(e){switch(e.join("")){case"2":return"2-dimensional measurement";case"3":return"3-dimensional measurement";default:return"Unknown"}}},11:"GPSDOP",12:{name:"GPSSpeedRef",description:function(e){switch(e.join("")){case"K":return"Kilometers per hour";case"M":return"Miles per hour";case"N":return"Knots";default:return"Unknown"}}},13:"GPSSpeed",14:{name:"GPSTrackRef",description:function(e){switch(e.join("")){case"T":return"True direction";case"M":return"Magnetic direction";default:return"Unknown"}}},15:"GPSTrack",16:{name:"GPSImgDirectionRef",description:function(e){switch(e.join("")){case"T":return"True direction";case"M":return"Magnetic direction";default:return"Unknown"}}},17:"GPSImgDirection",18:"GPSMapDatum",19:{name:"GPSDestLatitudeRef",description:function(e){switch(e.join("")){case"N":return"North latitude";case"S":return"South latitude";default:return"Unknown"}}},20:{name:"GPSDestLatitude",description:function(e){return e[0]+e[1]/60+e[2]/3600}},21:{name:"GPSDestLongitudeRef",description:function(e){switch(e.join("")){case"E":return"East longitude";case"W":return"West longitude";default:return"Unknown"}}},22:{name:"GPSDestLongitude",description:function(e){return e[0]+e[1]/60+e[2]/3600}},23:{name:"GPSDestBearingRef",description:function(e){switch(e.join("")){case"T":return"True direction";case"M":return"Magnetic direction";default:return"Unknown"}}},24:"GPSDestBearing",25:{name:"GPSDestDistanceRef",description:function(e){switch(e.join("")){case"K":return"Kilometers";case"M":return"Miles";case"N":return"Knots";default:return"Unknown"}}},26:"GPSDestDistance",27:{name:"GPSProcessingMethod",description:function(e){switch(e.slice(0,8).map(function(e){return String.fromCharCode(e)}).join("")){case"ASCII\0\0\0":return e.slice(8,e.length).map(function(e){return String.fromCharCode(e)}).join("");case"JIS\0\0\0\0\0":return"[JIS encoded text]";case"UNICODE\0":return"[Unicode encoded text]";case"\0\0\0\0\0\0\0\0":return"[Undefined encoding]"}}},28:{name:"GPSAreaInformation",description:function(e){switch(e.slice(0,8).map(function(e){return String.fromCharCode(e)}).join("")){case"ASCII\0\0\0":return e.slice(8,e.length).map(function(e){return String.fromCharCode(e)}).join("");case"JIS\0\0\0\0\0":return"[JIS encoded text]";case"UNICODE\0":return"[Unicode encoded text]";case"\0\0\0\0\0\0\0\0":return"[Undefined encoding]"}}},29:"GPSDateStamp",30:{name:"GPSDifferential",description:function(e){switch(e){case 0:return"Measurement without differential correction";
10case 1:return"Differential correction applied";default:return"Unknown"}}}},interoperability:{1:"InteroperabilityIndex",2:"UnknownInteroperabilityTag0x0002",4097:"UnknownInteroperabilityTag0x1001",4098:"UnknownInteroperabilityTag0x1002"}},e.prototype.getTagValue=function(e){return null!=this._tags[e]?this._tags[e].value:void 0},e.prototype.getTagDescription=function(e){return null!=this._tags[e]?this._tags[e].description:void 0},e.prototype.getAllTags=function(){return this._tags},e}()}).call(this)},39768:(e,t,n)=>{"use strict";n.d(t,{$$:()=>g,Es:()=>h,KG:()=>y,Ks:()=>C,Ll:()=>s,Re:()=>E,Sw:()=>o,TW:()=>f,WQ:()=>k,YG:()=>_,YN:()=>m,ZC:()=>v,_q:()=>p,ag:()=>T,e_:()=>S,jn:()=>i,kx:()=>A,l6:()=>a,lk:()=>b,sb:()=>c,wz:()=>u,xZ:()=>d,zk:()=>l});var r=n(12115);function i(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,r.useMemo)(()=>e=>{t.forEach(t=>t(e))},t)}let o="u">typeof window&&void 0!==window.document&&void 0!==window.document.createElement;function a(e){let t=Object.prototype.toString.call(e);return"[object Window]"===t||"[object global]"===t}function s(e){return"nodeType"in e}function l(e){var t,n;return e?a(e)?e:s(e)&&null!=(t=null==(n=e.ownerDocument)?void 0:n.defaultView)?t:window:window}function u(e){let{Document:t}=l(e);return e instanceof t}function c(e){return!a(e)&&e instanceof l(e).HTMLElement}function d(e){return e instanceof l(e).SVGElement}function f(e){return e?a(e)?e.document:s(e)?u(e)?e:c(e)||d(e)?e.ownerDocument:document:document:document}let h=o?r.useLayoutEffect:r.useEffect;function p(e){let t=(0,r.useRef)(e);return h(()=>{t.current=e}),(0,r.useCallback)(function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return null==t.current?void 0:t.current(...n)},[])}function g(){let e=(0,r.useRef)(null);return[(0,r.useCallback)((t,n)=>{e.current=setInterval(t,n)},[]),(0,r.useCallback)(()=>{null!==e.current&&(clearInterval(e.current),e.current=null)},[])]}function m(e,t){void 0===t&&(t=[e]);let n=(0,r.useRef)(e);return h(()=>{n.current!==e&&(n.current=e)},t),n}function y(e,t){let n=(0,r.useRef)();return(0,r.useMemo)(()=>{let t=e(n.current);return n.current=t,t},[...t])}function b(e){let t=p(e),n=(0,r.useRef)(null),i=(0,r.useCallback)(e=>{e!==n.current&&(null==t||t(e,n.current)),n.current=e},[]);return[n,i]}function v(e){let t=(0,r.useRef)();return(0,r.useEffect)(()=>{t.current=e},[e]),t.current}let w={};function _(e,t){return(0,r.useMemo)(()=>{if(t)return t;let n=null==w[e]?0:w[e]+1;return w[e]=n,e+"-"+n},[e,t])}function x(e){return function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return r.reduce((t,n)=>{for(let[r,i]of Object.entries(n)){let n=t[r];null!=n&&(t[r]=n+e*i)}return t},{...t})}}let k=x(1),E=x(-1);function A(e){if(!e)return!1;let{KeyboardEvent:t}=l(e.target);return t&&e instanceof t}function S(e){if(function(e){if(!e)return!1;let{TouchEvent:t}=l(e.target);return t&&e instanceof t}(e)){if(e.touches&&e.touches.length){let{clientX:t,clientY:n}=e.touches[0];return{x:t,y:n}}else if(e.changedTouches&&e.changedTouches.length){let{clientX:t,clientY:n}=e.changedTouches[0];return{x:t,y:n}}}return"clientX"in e&&"clientY"in e?{x:e.clientX,y:e.clientY}:null}let C=Object.freeze({Translate:{toString(e){if(!e)return;let{x:t,y:n}=e;return"translate3d("+(t?Math.round(t):0)+"px, "+(n?Math.round(n):0)+"px, 0)"}},Scale:{toString(e){if(!e)return;let{scaleX:t,scaleY:n}=e;return"scaleX("+t+") scaleY("+n+")"}},Transform:{toString(e){if(e)return[C.Translate.toString(e),C.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:t,duration:n,easing:r}=e;return t+" "+n+"ms "+r}}}),O="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function T(e){return e.matches(O)?e:e.querySelector(O)}},40131:(e,t,n)=>{"use strict";n.d(t,{Hb:()=>s,Jr:()=>l});var r=n(12115),i=n(95155),o=n(53362);let a=(0,r.createContext)(o.p8);function s(e){let{children:t,store:n}=e;return(0,r.useEffect)(()=>(0,o.Kc)(n.flush),[n.flush]),(0,r.useEffect)(()=>(0,o.T_)(n.endWithBeacon),[n.endWithBeacon]),(0,i.jsx)(a.Provider,{value:n.logger,children:t})}function l(){return(0,r.useContext)(a)}},40491:(e,t,n)=>{var r=n(30390),i=n(71070),o=n(1266),a=n(17650);e.exports=function(e,t){return function(n,s){var l=a(n)?r:i,u=t?t():{};return l(n,e,o(s,2),u)}}},40546:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});let r=e=>"object"==typeof e&&null!=e&&1===e.nodeType,i=(e,t)=>
10(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,o=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){let n,r=getComputedStyle(e,null);return i(r.overflowY,t)||i(r.overflowX,t)||!!(n=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}})(e))&&(n.clientHeight<e.scrollHeight||n.clientWidth<e.scrollWidth)}return!1},a=(e,t,n,r,i,o,a,s)=>o<e&&a>t||o>e&&a<t?0:o<=e&&s<=n||a>=t&&s>=n?o-e-r:a>t&&s<n||o<e&&s>n?a-t+i:0,s=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t},l=(e,t)=>{var n,i,l,u;let c;if("u"<typeof document)return[];let{scrollMode:d,block:f,inline:h,boundary:p,skipOverflowHiddenElements:g}=t,m="function"==typeof p?p:e=>e!==p;if(!r(e))throw TypeError("Invalid target");let y=document.scrollingElement||document.documentElement,b=[],v=e;for(;r(v)&&m(v);){if((v=s(v))===y){b.push(v);break}null!=v&&v===document.body&&o(v)&&!o(document.documentElement)||null!=v&&o(v,g)&&b.push(v)}let w=null!=(i=null==(n=window.visualViewport)?void 0:n.width)?i:innerWidth,_=null!=(u=null==(l=window.visualViewport)?void 0:l.height)?u:innerHeight,{scrollX:x,scrollY:k}=window,{height:E,width:A,top:S,right:C,bottom:O,left:T}=e.getBoundingClientRect(),{top:D,right:I,bottom:R,left:j}={top:parseFloat((c=window.getComputedStyle(e)).scrollMarginTop)||0,right:parseFloat(c.scrollMarginRight)||0,bottom:parseFloat(c.scrollMarginBottom)||0,left:parseFloat(c.scrollMarginLeft)||0},N="start"===f||"nearest"===f?S-D:"end"===f?O+R:S+E/2-D+R,M="center"===h?T+A/2-j+I:"end"===h?C+I:T-j,F=[];for(let e=0;e<b.length;e++){let t=b[e],{height:n,width:r,top:i,right:s,bottom:l,left:u}=t.getBoundingClientRect();if("if-needed"===d&&S>=0&&T>=0&&O<=_&&C<=w&&(t===y&&!o(t)||S>=i&&O<=l&&T>=u&&C<=s))break;let c=getComputedStyle(t),p=parseInt(c.borderLeftWidth,10),g=parseInt(c.borderTopWidth,10),m=parseInt(c.borderRightWidth,10),v=parseInt(c.borderBottomWidth,10),D=0,I=0,R="offsetWidth"in t?t.offsetWidth-t.clientWidth-p-m:0,j="offsetHeight"in t?t.offsetHeight-t.clientHeight-g-v:0,$="offsetWidth"in t?0===t.offsetWidth?0:r/t.offsetWidth:0,L="offsetHeight"in t?0===t.offsetHeight?0:n/t.offsetHeight:0;if(y===t)D="start"===f?N:"end"===f?N-_:"nearest"===f?a(k,k+_,_,g,v,k+N,k+N+E,E):N-_/2,I="start"===h?M:"center"===h?M-w/2:"end"===h?M-w:a(x,x+w,w,p,m,x+M,x+M+A,A),D=Math.max(0,D+k),I=Math.max(0,I+x);else{D="start"===f?N-i-g:"end"===f?N-l+v+j:"nearest"===f?a(i,l,n,g,v+j,N,N+E,E):N-(i+n/2)+j/2,I="start"===h?M-u-p:"center"===h?M-(u+r/2)+R/2:"end"===h?M-s+m+R:a(u,s,r,p,m+R,M,M+A,A);let{scrollLeft:e,scrollTop:o}=t;D=0===L?0:Math.max(0,Math.min(o+D/L,t.scrollHeight-n/L+j)),I=0===$?0:Math.max(0,Math.min(e+I/$,t.scrollWidth-r/$+R)),N+=o-D,M+=e-I}F.push({el:t,top:D,left:I})}return F};function u(e,t){let n;if(!e.isConnected||!(e=>{let t=e;for(;t&&t.parentNode;){if(t.parentNode===document)return!0;t=t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}return!1})(e))return;let r={top:parseFloat((n=window.getComputedStyle(e)).scrollMarginTop)||0,right:parseFloat(n.scrollMarginRight)||0,bottom:parseFloat(n.scrollMarginBottom)||0,left:parseFloat(n.scrollMarginLeft)||0};if("object"==typeof t&&"function"==typeof t.behavior)return t.behavior(l(e,t));let i="boolean"==typeof t||null==t?void 0:t.behavior;for(let{el:n,top:o,left:a}of l(e,!1===t?{block:"end",inline:"nearest"}:t===Object(t)&&0!==Object.keys(t).length?t:{block:"start",inline:"nearest"})){let e=o-r.top+r.bottom,t=a-r.left+r.right;n.scroll({top:e,left:t,behavior:i})}}},40731:(e,t,n)=>{"use strict";n.d(t,{K:()=>i});var r=n(14644);function i(e,t,n=[t],o="npm"){let a=e._metadata||{};a.sdk||(a.sdk={name:`sentry.javascript.${t}`,packages:n.map(e=>({name:`${o}:@sentry/${e}`,version:r.M})),version:r.M}),e._metadata=a}},40763:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=Math.floor,i=Math.random;let o=function(e){var t,n=e.length;return n?e[t=n-1,0+r(i()*(t-0+1))]:void 0};var a=n(13838),s=n(92459);let l=function(e){return((0,s.A)(e)?o:function(e){return o((0,a.A)(e))})(e)}},41030:(e,t,n)=>{"use strict";let r=n(34694);e.exports=(e,t,n)=>r(e,t,">",n)},41105:(e,t,n)=>{"use strict";n.d(t,{t:()=>o});var r=n(65132),i=n(84474),o=new r.c(i.l)}
10,41299:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(19396),i=n(77494);let o=function(e){return(0,i.A)(e)&&(0,r.A)(e)}},41331:(e,t,n)=>{var r=n(98207);e.exports=function(e){var t=r(e,function(e){return 500===n.size&&n.clear(),e}),n=t.cache;return t}},41418:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(29568),i=n(19396),o=n(26805),a=n(33761);let s=function(e,t,n){if(!(0,a.A)(n))return!1;var s=typeof t;return("number"==s?!!((0,i.A)(n)&&(0,o.A)(t,n.length)):"string"==s&&t in n)&&(0,r.A)(n[t],e)}},41483:e=>{e.exports=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}},41486:(e,t,n)=>{var r=n(14168);e.exports=function(e,t){var n=r(this,e),i=n.size;return n.set(e,t),this.size+=+(n.size!=i),this}},41723:(e,t,n)=>{var r=n(85933);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},41783:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},41964:(e,t,n)=>{"use strict";n.d(t,{f:()=>o});var r=n(91993),i=n(92477);function o(e,t,n){let o=(0,i.a)(e,n?.in);return isNaN(t)?(0,r.w)(n?.in||e,NaN):(t&&o.setDate(o.getDate()+t),o)}},41974:(e,t,n)=>{"use strict";n.d(t,{LV:()=>function e(t,n={}){if("function"!=typeof t)return t;try{let e=t.__sentry_wrapped__;if(e)if("function"==typeof e)return e;else return t;if((0,i.sp)(t))return t}catch(e){return t}let r=function(...r){try{let i=r.map(t=>e(t,n));return t.apply(this,i)}catch(e){throw u++,setTimeout(()=>{u--}),(0,o.v4)(t=>{t.addEventProcessor(e=>(n.mechanism&&((0,a.gO)(e,void 0,void 0),(0,a.M6)(e,n.mechanism)),e.extra={...e.extra,arguments:r},e)),(0,s.Cp)(e)}),e}};try{for(let e in t)Object.prototype.hasOwnProperty.call(t,e)&&(r[e]=t[e])}catch(e){}(0,i.pO)(r,t),(0,i.my)(t,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get:()=>t.name})}catch(e){}return r},jN:()=>c,jf:()=>l});var r=n(7463),i=n(2159),o=n(25698),a=n(87192),s=n(21123);let l=r.O,u=0;function c(){return u>0}},42031:(e,t,n)=>{"use strict";n.d(t,{a:()=>i});var r=n(92477);function i(e,t,n){let i=(0,r.a)(e,n?.in);return i.setHours(t),i}},42165:e=>{"use strict";e.exports=e=>null==e?[]:Array.isArray(e)?e:"string"==typeof e?[e]:"function"==typeof e[Symbol.iterator]?[...e]:[e]}
10,42202:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(12602),i=n(86953),o=n(60577),a=n(57641),s=n(32521),l=n(66485),u=Math.min;let c=function(e,t,n){for(var c=n?a.A:o.A,d=e[0].length,f=e.length,h=f,p=Array(f),g=1/0,m=[];h--;){var y=e[h];h&&t&&(y=(0,r.A)(y,(0,s.A)(t))),g=u(y.length,g),p[h]=!n&&(t||d>=120&&y.length>=120)?new i.A(h&&y):void 0}y=e[0];var b=-1,v=p[0];t:for(;++b<d&&m.length<g;){var w=y[b],_=t?t(w):w;if(w=n||0!==w?w:0,!(v?(0,l.A)(v,_):c(m,_,n))){for(h=f;--h;){var x=p[h];if(!(x?(0,l.A)(x,_):c(e[h],_,n)))continue t}v&&v.push(_),m.push(w)}}return m};var d=n(26652),f=n(41299);let h=function(e){return(0,f.A)(e)?e:[]},p=(0,d.A)(function(e){var t=(0,r.A)(e,h);return t.length&&t[0]===e[0]?c(t):[]})},42327:(e,t,n)=>{"use strict";n.d(t,{zU:()=>p,xl:()=>g,pK:()=>h,et:()=>f,kX:()=>u});var r=n(2159),i=n(23301),o=n(26900),a=n(16205),s=n(15333);let l=!1;function u(e){let{spanId:t,traceId:n,isRemote:i}=e.spanContext(),o=i?t:f(e).parent_span_id,s=i?(0,a.ZF)():t;return(0,r.Ce)({parent_span_id:o,span_id:s,trace_id:n})}function c(e){return"number"==typeof e?d(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?d(e.getTime()):(0,s.zf)()}function d(e){return e>0x2540be3ff?e/1e3:e}function f(e){if("function"==typeof e.getSpanJSON)return e.getSpanJSON();try{var t;let{spanId:n,traceId:o}=e.spanContext();if((t=e).attributes&&t.startTime&&t.name&&t.endTime&&t.status){let{attributes:t,startTime:a,name:s,endTime:l,parentSpanId:u,status:d}=e;return(0,r.Ce)({span_id:n,trace_id:o,data:t,description:s,parent_span_id:u,start_timestamp:c(a),timestamp:c(l)||void 0,status:function(e){if(e&&0!==e.code)return 1===e.code?"ok":e.message||"unknown_error"}(d),op:t[i.uT],origin:t[i.JD],_metrics_summary:function(e){let t=e._sentryMetrics;if(!t)return;let n={};for(let[,[e,i]]of t)(n[e]||(n[e]=[])).push((0,r.Ce)(i));return n}(e)})}return{span_id:n,trace_id:o}}catch(e){return{}}}function h(e){let{traceFlags:t}=e.spanContext();return 1===t}function p(e){return e._sentryRootSpan||e}function g(){l||((0,o.pq)(()=>{console.warn("[Sentry] Deprecation warning: Returning null from `beforeSendSpan` will be disallowed from SDK version 9.0.0 onwards. The callback will only support mutating spans. To drop certain spans, configure the respective integrations directly.")}),l=!0)}},42410:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}},42444:(e,t,n)=>{"use strict";n.d(t,{qf:()=>l,d4:()=>c});var r=n(12115),i=r.useLayoutEffect,o=n(99929),a=n(94577);n(8039);let s=(e,t)=>{t(e);let n=e.getSnapshot().children;n&&Object.values(n).forEach(e=>{s(e,t)})};function l(e,...[t,n]){let a=function(e,...[t]){let[[n,a],s]=(0,r.useState)(()=>{let n=(0,o.c)(e,t);return[e.config,n]});if(e.config!==n){let n=(0,o.c)(e,{...t,snapshot:a.getPersistedSnapshot({__unsafeAllowInlineActors:!0})});s([e.config,n]),a=n}return i(()=>{a.logic.implementations=e.implementations}),a}(e,t);return(0,r.useEffect)(()=>{if(!n)return;let e=a.subscribe((0,o.w)(n));return()=>{e.unsubscribe()}},[n]),(0,r.useEffect)(()=>(a.start(),()=>{let e,t;e=[],s(a,t=>{e.push([t,t.getSnapshot()]),t.observers=new Set}),t=a.system.getSnapshot?.(),a.stop(),a.system._snapshot=t,e.forEach(([e,t])=>{e._processingStatus=0,e._snapshot=t})}),[a]),a}function u(e,t){return e===t}function c(e,t,n=u){let i=(0,r.useCallback)(t=>{if(!e)return()=>{};let{unsubscribe:n}=e.subscribe(t);return n},[e]),o=(0,r.useCallback)(()=>e?.getSnapshot(),[e]);return(0,a.useSyncExternalStoreWithSelector)(i,o,o,t,n)}},42751:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=/\s/;let i=function(e){for(var t=e.length;t--&&r.test(e.charAt(t)););return t};var o=/^\s+/;let a=function(e){return e?e.slice(0,i(e)+1).replace(o,""):e}},43775:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(96901),i=n(59132),o=n(26652),a=n(41418);let s=(0,o.A)(function(e,t){if(null==e)return[];var n=t.length;return n>1&&(0,a.A)(e,t[0],t[1])?t=[]:n>2&&(0,a.A)(t[0],t[1],t[2])&&(t=[t[0]]),(0,i.A)(e,(0,r.A)(t,1),[])})},43897:(e,t,n)=>{"use strict";n.d(t,{T:()=>o});var r=n(63844),i=n(79619);function o(e,t){return(0,i.N)((0,r.S)(e,t,arguments.length>=2,!1,!0))}},44153:(e,t,n)=>{"use strict";n.d(t,{w:()=>i});var r=n(92477);function i(e,t){let n=(0,r.a)(e,t?.in);return n.setDate(1),n.setHours(0,0,0,0),n}},44257:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(75341),i=n(36171),o=n(79619);function a(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=(0,i.lI)(e);
10return(0,o.N)(function(t,i){(n?(0,r.x)(e,t,n):(0,r.x)(e,t)).subscribe(i)})}},44374:(e,t,n)=>{"use strict";n.d(t,{T:()=>r});let r="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},44416:(e,t,n)=>{"use strict";let r;n.d(t,{h:()=>s,p:()=>a});var i=n(12115);let o=function(){if("u">typeof globalThis)return globalThis;if("u">typeof window)return window;if("u">typeof self)return self;if("u">typeof global)return global;throw Error("@portabletext/editor: could not locate global scope")}(),a=(r=Symbol.for("@portabletext/editor/context/editor"),typeof document>"u"?(0,i.createContext)(null):(o[r]=o[r]??(0,i.createContext)(null),o[r]));function s(){let e=i.useContext(a);if(!e)throw Error("No Editor set. Use EditorProvider to set one.");return e}},44714:(e,t,n)=>{"use strict";n.d(t,{FF:()=>x,LG:()=>en,Y9:()=>k,YD:()=>I,nX:()=>R,o7:()=>H,oX:()=>E,ql:()=>et,r7:()=>er,vX:()=>q});let r="https://cdn.sanity.io",i=/^https:\/\/cdn\.sanity\./,o=/^https:\/\/cdn\.[^/]+\/(images|files)\/[^/]+\/.*?[a-zA-Z0-9_]{24,40}.*$/,a=/^([a-zA-Z0-9_]{24,40}|[a-f0-9]{40})+\.[a-z0-9]+$/,s=/^file-([a-zA-Z0-9_]{24,40}|[a-f0-9]{40})+-[a-z0-9]+$/,l=/^([a-zA-Z0-9_]{24,40}|[a-f0-9]{40})-\d+x\d+\.[a-z0-9]+$/,u=/^image-([a-zA-Z0-9_]{24,40}|[a-f0-9]{40})+-\d+x\d+-[a-z0-9]+$/,c=/^(images|files)\/([a-z0-9]+)\/([a-z0-9][-\w]*)\//,d=/^(?:image-(?:[a-zA-Z0-9_]{24,40}|[a-f0-9]{40})+-\d+x\d+-[a-z0-9]+|file-(?:[a-zA-Z0-9_]{24,40}|[a-f0-9]{40})+-[a-z0-9]+)$/,f="sanity.fileAsset",h={projectId:"a",dataset:"b"},p="upload-in-progress-placeholder",g="upload-in-progress";class m extends Error{constructor(e,t="Failed to resolve asset ID from source"){super(t),this.unresolvable=!0,this.input=e}}function y(e){return(...t)=>{try{return e(...t)}catch(e){if(e.unresolvable&&"input"in e)return;throw e}}}function b(e){return null!==e&&!Array.isArray(e)&&"object"==typeof e}function v(e){return b(e)&&"string"==typeof e._ref}function w(e){return b(e)&&"string"==typeof e.path}function _(e){return b(e)&&"string"==typeof e.url}function x(e){return u.test(e)}function k(e){return s.test(e)}function E(e){return b(e)&&!!e.asset&&"object"==typeof e.asset}function A(e){return b(e)&&!!e._upload&&!("asset"in e)}function S(e){return i.test(e)||o.test(e)}let C=Object.freeze({left:0,top:0,bottom:0,right:0}),O=Object.freeze({x:.5,y:.5,height:1,width:1}),T=()=>({...C}),D=()=>({...O}),I=e=>{let{top:t,bottom:n,left:r,right:i}=e,{top:o,bottom:a,left:s,right:l}=C;return t===o&&n===a&&r===s&&i===l},R=e=>{let{x:t,y:n,width:r,height:i}=e,{x:o,y:a,width:s,height:l}=O;return t===o&&n===a&&r===s&&i===l};function j(e,t){let n=t?.projectId||e.projectId,r=t?.dataset||e.dataset;if(!n||!r)throw Error("Project details (projectId and dataset) required to resolve path for image");let i="metadata"in e?e.metadata.dimensions:{width:e.width,height:e.height},o="originalFilename"in e?e.originalFilename:void 0,{assetId:a,extension:s,vanityFilename:l}=e,{width:u,height:c}=i,d=P(o,l,t);return`images/${n}/${r}/${a}-${u}x${c}.${s}${d}`}function N(e,t){let n=t?.projectId||e.projectId,r=t?.dataset||e.dataset;if(!n||!r)throw Error("Project details (projectId and dataset) required to resolve path for file");let i="originalFilename"in e?e.originalFilename:void 0,{assetId:o,extension:a,vanityFilename:s}=e,l=P(i,s,t);return`files/${n}/${r}/${o}.${a}${l}`}function M(e){if(c.test(e))return e;if(!S(e))throw new m(`Failed to resolve path from URL "${e}"`);return new URL(e).pathname.replace(/^\/+/,"")}let F=y(M),$=y(function(e){let t=(F(e)||e).replace(/^(images|files)\/[a-z0-9]+\/[a-z0-9][-\w]\/*/,"");if(!L(t))throw new m(`Failed to resolve filename from URL "${e}"`);return t});function L(e){return a.test(e)||l.test(e)}function P(e,t,n){let r=t||e;return n?.useVanityName!==!1&&r?`/${r}`:""}function z(e){if(!s.test(e))throw Error(`Malformed file asset ID '${e}'. Expected an id like "file-027401f31c3ac1e6d78c5d539ccd1beff72b9b11-pdf"`);let[,t,n]=e.split("-");return{type:"file",assetId:t,extension:n}}function U(e){let[,t,n,r]=e.split("-"),[i,o]=(n||"").split("x").map(Number);if(!t||!n||!r||!(i>0)||!(o>0))throw Error(`Malformed asset ID '${e}'. Expected an id like "image-027401f31c3ac1e6d78c5d539ccd1beff72b9b11-2000x3000-jpg".`);return{type:"image",assetId:t,width:i,height:o,extension:r}}function B(e){if(!S(e))throw Error(`URL is not a valid Sanity asset URL: ${e}`);let t=new URL(e).pathname.replace(/^\/+/,""),[n,,r,i]=t.match(c)||[];
10if(!n||!r||!i)throw Error(`URL is not a valid Sanity asset URL: ${e}`);let[o,a]=t.slice(n.length).split("/");return{...function(e){let t=$(e)||"";if(!L(t))throw Error(`Invalid image/file asset filename: ${e}`);try{let e=l.test(t)?"image":"file",r=t.replace(/\.([a-z0-9+]+)$/i,"-$1");var n=`${e}-${r}`;if(u.test(n))return U(n);if(s.test(n))return z(n);throw Error(`Invalid image/file asset ID: ${n}`)}catch{throw Error(`Invalid image/file asset filename: ${e}`)}}(o),projectId:r,dataset:i,vanityFilename:a}}function H(e){let t=B(e);if("image"!==t.type)throw Error(`URL is not a valid Sanity image asset URL: ${e}`);return t}function q(e){if(A(e))return{width:0,height:0,aspectRatio:0};let{width:t,height:n}=U(K(e));return{width:t,height:n,aspectRatio:t/n}}function V(e,t){if(A(e))return{asset:{_id:p,_type:"sanity.imageAsset",assetId:g,extension:"tmp",url:"",path:"",metadata:{dimensions:{width:1,height:1,aspectRatio:1}}},crop:T(),hotspot:D()};let n=t||ee(e);return{asset:G(e,n),crop:e.crop||T(),hotspot:e.hotspot||D()}}function G(e,t){let n={...t||Q(e),useVanityName:!1},i=K(e),o=(e.asset||e).metadata||{},{assetId:a,width:s,height:l,extension:u}=U(i),c={...b(e)&&"sanity.imageAsset"===e._type?e:{},_id:i,_type:"sanity.imageAsset",assetId:a,extension:u,metadata:{...o,dimensions:{width:s,height:l,aspectRatio:s/l}},url:"",path:""};return{...c,path:j(c,n),url:`${n?.baseUrl||r}/${j(c,n)}`}}function W(e,t){if(A(e))return{asset:{_id:p,_type:f,assetId:g,extension:"tmp",url:"",path:"",metadata:{}}};let n=t||ee(e);return{asset:Y(e,n)}}function Y(e,t){if(A(e))return{assetId:g,_id:p,_type:f,extension:"tmp",metadata:{},url:"",path:""};let n={...t||Q(e),useVanityName:!1},i=K(e),o=e.asset||e,{assetId:a,extension:s}=z(i),l={...b(e)&&"sanity.fileAsset"===e._type?e:{},_id:i,_type:"sanity.fileAsset",assetId:a,extension:s,metadata:o.metadata||{},url:"",path:""};return{...l,path:N(l,n),url:`${n?.baseUrl||r}/${N(l,n)}`}}function K(e){if(A(e))return p;let t=E(e)?e.asset:e,n="";if("string"==typeof t?n=X(t):v(t)?n=t._ref:b(t)&&"string"==typeof t._id?n=t._id:w(t)?n=J(`${r}/${t.path}`):_(t)&&(n=J(t.url)),!(n&&d.test(n)))throw new m(e);return n}y(q),y(function(e){return A(e)?"tmp":et(e)?W(e,h).asset.extension:V(e,h).asset.extension}),y(V),y(G),y(W),y(Y);let Z=y(K);function X(e){var t,n;if(d.test(e))return e;let i=S(e)?new URL(e).pathname:e;if(0===i.indexOf("/images")||0===i.indexOf("/files"))return J(e);if(c.test(e))return J(`${r}/${e}`);if(t=e,a.test(t))return J(`${r}/files/a/b/${e}`);if(n=e,l.test(n))return J(`${r}/images/a/b/${e}`);throw new m(e)}function J(e){let[t,,,n]=M(e).split("/");return`${t.replace(/s$/,"")}-${n.replace(/\./g,"-")}`}function Q(e){let t=function e(t){if(E(t))return e(t.asset);if(!v(t)){if("string"==typeof t)return c.test(F(t)||"")?M(t):void 0;if(w(t))return t.path;if(_(t))return M(t.url)}}(e);if(!t)throw new m(e,"Failed to resolve project ID and dataset from source");let[,,n,r]=t.match(c)||[];if(!n||!r)throw new m(e,"Failed to resolve project ID and dataset from source");return{projectId:n,dataset:r}}y(X);let ee=y(Q);function et(e){let t=Z(e);return!!t&&t.startsWith("file-")}function en(e){let t=Z(e);return!!t&&t.startsWith("image-")}function er(e){return"image"===function(e){try{return B(e).type}catch{return!1}}(e)}},44923:(e,t,n)=>{"use strict";n.d(t,{Mp:()=>eG,vL:()=>g,uN:()=>ep,AN:()=>ev,fp:()=>B,y$:()=>H,Sj:()=>Y,Vy:()=>z,sl:()=>Z,fF:()=>eZ,PM:()=>eK,zM:()=>eJ,MS:()=>j,FR:()=>N});var r,i,o,a,s,l,u,c,d,f,h,p,g,m,y,b,v,w,_,x=n(12115),k=n(47650),E=n(39768);let A={display:"none"};function S(e){let{id:t,value:n}=e;return x.createElement("div",{id:t,style:A},n)}function C(e){let{id:t,announcement:n,ariaLiveType:r="assertive"}=e;return x.createElement("div",{id:t,style:{position:"fixed",top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"},role:"status","aria-live":r,"aria-atomic":!0},n)}let O=(0,x.createContext)(null),T={draggable:"\n    To pick up a draggable item, press the space bar.\n    While dragging, use the arrow keys to move the item.\n    Press space again to drop the item in its new position, or press escape to cancel.\n  "},D={onDragStart(e){let{active:t}=e;return"Picked up draggable item "+t.id+"."},onDragOver(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was moved over droppable area "+n.id+".":"Draggable item "+t.id+" is no longer over a droppable area."},onDragEnd(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was dropped over droppable area "+n.id:"Draggable item "+t.id+" was dropped."},onDragCancel(e){let{active:t}=e;return"Dragging was cancelled. Draggable item "+t.id+" was dropped."}};function I(e){var t;let n,{announcements:r=D,container:i,hiddenTextDescribedById:o,screenReaderInstructions:a=T}=e,{announce:s,announcement:l}=function(){let[e,t]=(0,x.useState)("");return{announce:(0,x.useCallback)(e=>{null!=e&&t(e)},[]),announcement:e}}(),u=(0,E.YG)("DndLiveRegion"),[c,d]=(0,x.useState)(!1);if((0,x.useEffect)(()=>{d(!0)},[]),t=(0,x.useMemo)(()=>({onDragStart(e){let{active:t}=e;s(r.onDragStart({active:t}))},onDragMove(e){let{active:t,over:n}=e;r.onDragMove&&s(r.onDragMove({active:t,over:n}))},onDragOver(e){let{active:t,over:n}=e;s(r.onDragOver({active:t,over:n}))},onDragEnd(e){let{active:t,over:n}=e;s(r.onDragEnd({active:t,over:n}))},onDragCancel(e){let{active:t,over:n}=e;
10s(r.onDragCancel({active:t,over:n}))}}),[s,r]),n=(0,x.useContext)(O),(0,x.useEffect)(()=>{if(!n)throw Error("useDndMonitor must be used within a children of <DndContext>");return n(t)},[t,n]),!c)return null;let f=x.createElement(x.Fragment,null,x.createElement(S,{id:o,value:a.draggable}),x.createElement(C,{id:u,announcement:l}));return i?(0,k.createPortal)(f,i):f}function R(){}function j(e,t){return(0,x.useMemo)(()=>({sensor:e,options:null!=t?t:{}}),[e,t])}function N(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,x.useMemo)(()=>[...t].filter(e=>null!=e),[...t])}(r=f||(f={})).DragStart="dragStart",r.DragMove="dragMove",r.DragEnd="dragEnd",r.DragCancel="dragCancel",r.DragOver="dragOver",r.RegisterDroppable="registerDroppable",r.SetDroppableDisabled="setDroppableDisabled",r.UnregisterDroppable="unregisterDroppable";let M=Object.freeze({x:0,y:0});function F(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function $(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return n-r}function L(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return r-n}function P(e){let{left:t,top:n,height:r,width:i}=e;return[{x:t,y:n},{x:t+i,y:n},{x:t,y:n+r},{x:t+i,y:n+r}]}function z(e,t){if(!e||0===e.length)return null;let[n]=e;return t?n[t]:n}function U(e,t,n){return void 0===t&&(t=e.left),void 0===n&&(n=e.top),{x:t+.5*e.width,y:n+.5*e.height}}let B=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e,i=U(t,t.left,t.top),o=[];for(let e of r){let{id:t}=e,r=n.get(t);if(r){let n=F(U(r),i);o.push({id:t,data:{droppableContainer:e,value:n}})}}return o.sort($)},H=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e,i=P(t),o=[];for(let e of r){let{id:t}=e,r=n.get(t);if(r){let n=P(r),a=Number((i.reduce((e,t,r)=>e+F(n[r],t),0)/4).toFixed(4));o.push({id:t,data:{droppableContainer:e,value:a}})}}return o.sort($)},q=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e,i=[];for(let e of r){let{id:r}=e,o=n.get(r);if(o){let n=function(e,t){let n=Math.max(t.top,e.top),r=Math.max(t.left,e.left),i=Math.min(t.left+t.width,e.left+e.width),o=Math.min(t.top+t.height,e.top+e.height);if(r<i&&n<o){let a=t.width*t.height,s=e.width*e.height,l=(i-r)*(o-n);return Number((l/(a+s-l)).toFixed(4))}return 0}(o,t);n>0&&i.push({id:r,data:{droppableContainer:e,value:n}})}}return i.sort(L)};function V(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:M}let G=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.reduce((e,t)=>({...e,top:e.top+ +t.y,bottom:e.bottom+ +t.y,left:e.left+ +t.x,right:e.right+ +t.x}),{...e})},W={ignoreTransform:!1};function Y(e,t){void 0===t&&(t=W);let n=e.getBoundingClientRect();if(t.ignoreTransform){let{transform:t,transformOrigin:r}=(0,E.zk)(e).getComputedStyle(e);t&&(n=function(e,t,n){let r=function(e){if(e.startsWith("matrix3d(")){let t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}if(e.startsWith("matrix(")){let t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}(t);if(!r)return e;let{scaleX:i,scaleY:o,x:a,y:s}=r,l=e.left-a-(1-i)*parseFloat(n),u=e.top-s-(1-o)*parseFloat(n.slice(n.indexOf(" ")+1)),c=i?e.width/i:e.width,d=o?e.height/o:e.height;return{width:c,height:d,top:u,right:l+c,bottom:u+d,left:l}}(n,t,r))}let{top:r,left:i,width:o,height:a,bottom:s,right:l}=n;return{top:r,left:i,width:o,height:a,bottom:s,right:l}}function K(e){return Y(e,{ignoreTransform:!0})}function Z(e,t){let n=[];return e?function r(i){var o,a;let s;if(null!=t&&n.length>=t||!i)return n;if((0,E.wz)(i)&&null!=i.scrollingElement&&!n.includes(i.scrollingElement))return n.push(i.scrollingElement),n;if(!(0,E.sb)(i)||(0,E.xZ)(i)||n.includes(i))return n;let l=(0,E.zk)(e).getComputedStyle(i);return(i!==e&&(void 0===(o=l)&&(o=(0,E.zk)(i).getComputedStyle(i)),s=/(auto|scroll|overlay)/,["overflow","overflowX","overflowY"].some(e=>{let t=o[e];return"string"==typeof t&&s.test(t)}))&&n.push(i),void 0===(a=l)&&(a=(0,E.zk)(i).getComputedStyle(i)),"fixed"===a.position)?n:r(i.parentNode)}(e):n}function X(e){let[t]=Z(e,1);return null!=t?t:null}function J(e){return E.Sw&&e?(0,E.l6)(e)?e:(0,E.Ll)(e)?(0,E.wz)(e)||e===(0,E.TW)(e).scrollingElement?window:(0,E.sb)(e)?e:null:null:null}function Q(e){return(0,E.l6)(e)?e.scrollX:e.scrollLeft}function ee(e){return(0,E.l6)(e)?e.scrollY:e.scrollTop}function et(e){return{x:Q(e),y:ee(e)}}function en(e){return!!E.Sw&&!!e&&e===document.scrollingElement}function er(e){let t={x:0,y:0},n=en(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},r={x:e.scrollWidth-n.width,y:e.scrollHeight-n.height},i=e.scrollTop<=t.y,o=e.scrollLeft<=t.x;return{isTop:i,isLeft:o,isBottom:e.scrollTop>=r.y,isRight:e.scrollLeft>=r.x,maxScroll:r,minScroll:t}}(i=h||(h={}))[i.Forward=1]="Forward",i[i.Backward=-1]="Backward";let ei={x:.2,y:.2};function eo(e){return e.reduce((e,t)=>
10(0,E.WQ)(e,et(t)),M)}let ea=[["x",["left","right"],function(e){return e.reduce((e,t)=>e+Q(t),0)}],["y",["top","bottom"],function(e){return e.reduce((e,t)=>e+ee(t),0)}]];class es{constructor(e,t){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const n=Z(t),r=eo(n);for(const[t,i,o]of(this.rect={...e},this.width=e.width,this.height=e.height,ea))for(const e of i)Object.defineProperty(this,e,{get:()=>{let i=o(n),a=r[t]-i;return this.rect[e]+a},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class el{constructor(e){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(e=>{var t;return null==(t=this.target)?void 0:t.removeEventListener(...e)})},this.target=e}add(e,t,n){var r;null==(r=this.target)||r.addEventListener(e,t,n),this.listeners.push([e,t,n])}}function eu(e,t){let n=Math.abs(e.x),r=Math.abs(e.y);return"number"==typeof t?Math.sqrt(n**2+r**2)>t:"x"in t&&"y"in t?n>t.x&&r>t.y:"x"in t?n>t.x:"y"in t&&r>t.y}function ec(e){e.preventDefault()}function ed(e){e.stopPropagation()}(o=p||(p={})).Click="click",o.DragStart="dragstart",o.Keydown="keydown",o.ContextMenu="contextmenu",o.Resize="resize",o.SelectionChange="selectionchange",o.VisibilityChange="visibilitychange",(a=g||(g={})).Space="Space",a.Down="ArrowDown",a.Right="ArrowRight",a.Left="ArrowLeft",a.Up="ArrowUp",a.Esc="Escape",a.Enter="Enter",a.Tab="Tab";let ef={start:[g.Space,g.Enter],cancel:[g.Esc],end:[g.Space,g.Enter,g.Tab]},eh=(e,t)=>{let{currentCoordinates:n}=t;switch(e.code){case g.Right:return{...n,x:n.x+25};case g.Left:return{...n,x:n.x-25};case g.Down:return{...n,y:n.y+25};case g.Up:return{...n,y:n.y-25}}};class ep{constructor(e){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=e;const{event:{target:t}}=e;this.props=e,this.listeners=new el((0,E.TW)(t)),this.windowListeners=new el((0,E.zk)(t)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(p.Resize,this.handleCancel),this.windowListeners.add(p.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(p.Keydown,this.handleKeyDown))}handleStart(){let{activeNode:e,onStart:t}=this.props,n=e.node.current;n&&function(e,t){if(void 0===t&&(t=Y),!e)return;let{top:n,left:r,bottom:i,right:o}=t(e);X(e)&&(i<=0||o<=0||n>=window.innerHeight||r>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}(n),t(M)}handleKeyDown(e){if((0,E.kx)(e)){let{active:t,context:n,options:r}=this.props,{keyboardCodes:i=ef,coordinateGetter:o=eh,scrollBehavior:a="smooth"}=r,{code:s}=e;if(i.end.includes(s))return void this.handleEnd(e);if(i.cancel.includes(s))return void this.handleCancel(e);let{collisionRect:l}=n.current,u=l?{x:l.left,y:l.top}:M;this.referenceCoordinates||(this.referenceCoordinates=u);let c=o(e,{active:t,context:n.current,currentCoordinates:u});if(c){let t=(0,E.Re)(c,u),r={x:0,y:0},{scrollableAncestors:i}=n.current;for(let n of i){let i=e.code,{isTop:o,isRight:s,isLeft:l,isBottom:u,maxScroll:d,minScroll:f}=er(n),h=function(e){if(e===document.scrollingElement){let{innerWidth:e,innerHeight:t}=window;return{top:0,left:0,right:e,bottom:t,width:e,height:t}}let{top:t,left:n,right:r,bottom:i}=e.getBoundingClientRect();return{top:t,left:n,right:r,bottom:i,width:e.clientWidth,height:e.clientHeight}}(n),p={x:Math.min(i===g.Right?h.right-h.width/2:h.right,Math.max(i===g.Right?h.left:h.left+h.width/2,c.x)),y:Math.min(i===g.Down?h.bottom-h.height/2:h.bottom,Math.max(i===g.Down?h.top:h.top+h.height/2,c.y))},m=i===g.Right&&!s||i===g.Left&&!l,y=i===g.Down&&!u||i===g.Up&&!o;if(m&&p.x!==c.x){let e=n.scrollLeft+t.x,o=i===g.Right&&e<=d.x||i===g.Left&&e>=f.x;if(o&&!t.y)return void n.scrollTo({left:e,behavior:a});o?r.x=n.scrollLeft-e:r.x=i===g.Right?n.scrollLeft-d.x:n.scrollLeft-f.x,r.x&&n.scrollBy({left:-r.x,behavior:a});break}if(y&&p.y!==c.y){let e=n.scrollTop+t.y,o=i===g.Down&&e<=d.y||i===g.Up&&e>=f.y;if(o&&!t.x)return void n.scrollTo({top:e,behavior:a});o?r.y=n.scrollTop-e:r.y=i===g.Down?n.scrollTop-d.y:n.scrollTop-f.y,r.y&&n.scrollBy({top:-r.y,behavior:a});break}}this.handleMove(e,(0,E.WQ)((0,E.Re)(c,this.referenceCoordinates),r))}}}handleMove(e,t){let{onMove:n}=this.props;e.preventDefault(),n(t)}handleEnd(e){let{onEnd:t}=this.props;e.preventDefault(),this.detach(),t()}handleCancel(e){let{onCancel:t}=this.props;e.preventDefault(),this.detach(),t()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}function eg(e){return!!(e&&"distance"in e)}function em(e){return!!(e&&"delay"in e)}ep.activators=[{eventName:"onKeyDown",handler:(e,t,n)=>{let{keyboardCodes:r=ef,onActivation:i}=t,{active:o}=n,{code:a}=e.nativeEvent;
10if(r.start.includes(a)){let t=o.activatorNode.current;return(!t||e.target===t)&&(e.preventDefault(),null==i||i({event:e.nativeEvent}),!0)}return!1}}];class ey{constructor(e,t,n){var r;void 0===n&&(n=function(e){let{EventTarget:t}=(0,E.zk)(e);return e instanceof t?e:(0,E.TW)(e)}(e.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=e,this.events=t;const{event:i}=e,{target:o}=i;this.props=e,this.events=t,this.document=(0,E.TW)(o),this.documentListeners=new el(this.document),this.listeners=new el(n),this.windowListeners=new el((0,E.zk)(o)),this.initialCoordinates=null!=(r=(0,E.e_)(i))?r:M,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){let{events:e,props:{options:{activationConstraint:t,bypassActivationConstraint:n}}}=this;if(this.listeners.add(e.move.name,this.handleMove,{passive:!1}),this.listeners.add(e.end.name,this.handleEnd),e.cancel&&this.listeners.add(e.cancel.name,this.handleCancel),this.windowListeners.add(p.Resize,this.handleCancel),this.windowListeners.add(p.DragStart,ec),this.windowListeners.add(p.VisibilityChange,this.handleCancel),this.windowListeners.add(p.ContextMenu,ec),this.documentListeners.add(p.Keydown,this.handleKeydown),t){if(null!=n&&n({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(em(t)){this.timeoutId=setTimeout(this.handleStart,t.delay),this.handlePending(t);return}if(eg(t))return void this.handlePending(t)}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handlePending(e,t){let{active:n,onPending:r}=this.props;r(n,e,this.initialCoordinates,t)}handleStart(){let{initialCoordinates:e}=this,{onStart:t}=this.props;e&&(this.activated=!0,this.documentListeners.add(p.Click,ed,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(p.SelectionChange,this.removeTextSelection),t(e))}handleMove(e){var t;let{activated:n,initialCoordinates:r,props:i}=this,{onMove:o,options:{activationConstraint:a}}=i;if(!r)return;let s=null!=(t=(0,E.e_)(e))?t:M,l=(0,E.Re)(r,s);if(!n&&a){if(eg(a)){if(null!=a.tolerance&&eu(l,a.tolerance))return this.handleCancel();if(eu(l,a.distance))return this.handleStart()}return em(a)&&eu(l,a.tolerance)?this.handleCancel():void this.handlePending(a,l)}e.cancelable&&e.preventDefault(),o(s)}handleEnd(){let{onAbort:e,onEnd:t}=this.props;this.detach(),this.activated||e(this.props.active),t()}handleCancel(){let{onAbort:e,onCancel:t}=this.props;this.detach(),this.activated||e(this.props.active),t()}handleKeydown(e){e.code===g.Esc&&this.handleCancel()}removeTextSelection(){var e;null==(e=this.document.getSelection())||e.removeAllRanges()}}let eb={cancel:{name:"pointercancel"},move:{name:"pointermove"},end:{name:"pointerup"}};class ev extends ey{constructor(e){const{event:t}=e;super(e,eb,(0,E.TW)(t.target))}}ev.activators=[{eventName:"onPointerDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return!!n.isPrimary&&0===n.button&&(null==r||r({event:n}),!0)}}];let ew={move:{name:"mousemove"},end:{name:"mouseup"}};(s=m||(m={}))[s.RightClick=2]="RightClick";class e_ extends ey{constructor(e){super(e,ew,(0,E.TW)(e.event.target))}}e_.activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return n.button!==m.RightClick&&(null==r||r({event:n}),!0)}}];let ex={cancel:{name:"touchcancel"},move:{name:"touchmove"},end:{name:"touchend"}};class ek extends ey{constructor(e){super(e,ex)}static setup(){return window.addEventListener(ex.move.name,e,{capture:!1,passive:!1}),function(){window.removeEventListener(ex.move.name,e)};function e(){}}}ek.activators=[{eventName:"onTouchStart",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t,{touches:i}=n;return!(i.length>1)&&(null==r||r({event:n}),!0)}}],(l=y||(y={}))[l.Pointer=0]="Pointer",l[l.DraggableRect=1]="DraggableRect",(u=b||(b={}
10))[u.TreeOrder=0]="TreeOrder",u[u.ReversedTreeOrder=1]="ReversedTreeOrder";let eE={x:{[h.Backward]:!1,[h.Forward]:!1},y:{[h.Backward]:!1,[h.Forward]:!1}};(c=v||(v={}))[c.Always=0]="Always",c[c.BeforeDragging=1]="BeforeDragging",c[c.WhileDragging=2]="WhileDragging",(w||(w={})).Optimized="optimized";let eA=new Map;function eS(e,t){return(0,E.KG)(n=>e?n||("function"==typeof t?t(e):e):null,[t,e])}function eC(e){let{callback:t,disabled:n}=e,r=(0,E._q)(t),i=(0,x.useMemo)(()=>{if(n||"u"<typeof window||void 0===window.ResizeObserver)return;let{ResizeObserver:e}=window;return new e(r)},[n]);return(0,x.useEffect)(()=>()=>null==i?void 0:i.disconnect(),[i]),i}function eO(e){return new es(Y(e),e)}function eT(e,t,n){void 0===t&&(t=eO);let[r,i]=(0,x.useState)(null);function o(){i(r=>{if(!e)return null;if(!1===e.isConnected){var i;return null!=(i=null!=r?r:n)?i:null}let o=t(e);return JSON.stringify(r)===JSON.stringify(o)?r:o})}let a=function(e){let{callback:t,disabled:n}=e,r=(0,E._q)(t),i=(0,x.useMemo)(()=>{if(n||"u"<typeof window||void 0===window.MutationObserver)return;let{MutationObserver:e}=window;return new e(r)},[r,n]);return(0,x.useEffect)(()=>()=>null==i?void 0:i.disconnect(),[i]),i}({callback(t){if(e)for(let n of t){let{type:t,target:r}=n;if("childList"===t&&r instanceof HTMLElement&&r.contains(e)){o();break}}}}),s=eC({callback:o});return(0,E.Es)(()=>{o(),e?(null==s||s.observe(e),null==a||a.observe(document.body,{childList:!0,subtree:!0})):(null==s||s.disconnect(),null==a||a.disconnect())},[e]),r}let eD=[];function eI(e,t){void 0===t&&(t=[]);let n=(0,x.useRef)(null);return(0,x.useEffect)(()=>{n.current=null},t),(0,x.useEffect)(()=>{let t=e!==M;t&&!n.current&&(n.current=e),!t&&n.current&&(n.current=null)},[e]),n.current?(0,E.Re)(e,n.current):M}function eR(e){return(0,x.useMemo)(()=>{let t,n;return e?(t=e.innerWidth,{top:0,left:0,right:t,bottom:n=e.innerHeight,width:t,height:n}):null},[e])}let ej=[],eN=[{sensor:ev,options:{}},{sensor:ep,options:{}}],eM={current:{}},eF={draggable:{measure:K},droppable:{measure:K,strategy:v.WhileDragging,frequency:w.Optimized},dragOverlay:{measure:Y}};class e$ extends Map{get(e){var t;return null!=e&&null!=(t=super.get(e))?t:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(e=>{let{disabled:t}=e;return!t})}getNodeFor(e){var t,n;return null!=(t=null==(n=this.get(e))?void 0:n.node.current)?t:void 0}}let eL={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new e$,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:R},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:eF,measureDroppableContainers:R,windowRect:null,measuringScheduled:!1},eP={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:R,draggableNodes:new Map,over:null,measureDroppableContainers:R},ez=(0,x.createContext)(eP),eU=(0,x.createContext)(eL);function eB(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new e$}}}function eH(e,t){switch(t.type){case f.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case f.DragMove:if(null==e.draggable.active)return e;return{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}};case f.DragEnd:case f.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case f.RegisterDroppable:{let{element:n}=t,{id:r}=n,i=new e$(e.droppable.containers);return i.set(r,n),{...e,droppable:{...e.droppable,containers:i}}}case f.SetDroppableDisabled:{let{id:n,key:r,disabled:i}=t,o=e.droppable.containers.get(n);if(!o||r!==o.key)return e;let a=new e$(e.droppable.containers);return a.set(n,{...o,disabled:i}),{...e,droppable:{...e.droppable,containers:a}}}case f.UnregisterDroppable:{let{id:n,key:r}=t,i=e.droppable.containers.get(n);if(!i||r!==i.key)return e;
10let o=new e$(e.droppable.containers);return o.delete(n),{...e,droppable:{...e.droppable,containers:o}}}default:return e}}function eq(e){let{disabled:t}=e,{active:n,activatorEvent:r,draggableNodes:i}=(0,x.useContext)(ez),o=(0,E.ZC)(r),a=(0,E.ZC)(null==n?void 0:n.id);return(0,x.useEffect)(()=>{if(!t&&!r&&o&&null!=a){if(!(0,E.kx)(o)||document.activeElement===o.target)return;let e=i.get(a);if(!e)return;let{activatorNode:t,node:n}=e;(t.current||n.current)&&requestAnimationFrame(()=>{for(let e of[t.current,n.current]){if(!e)continue;let t=(0,E.ag)(e);if(t){t.focus();break}}})}},[r,t,i,a,o]),null}let eV=(0,x.createContext)({...M,scaleX:1,scaleY:1});(d=_||(_={}))[d.Uninitialized=0]="Uninitialized",d[d.Initializing=1]="Initializing",d[d.Initialized=2]="Initialized";let eG=(0,x.memo)(function(e){var t,n,r,i,o,a,s,l;let u,c,d,p,g,m,w,A,{id:S,accessibility:C,autoScroll:T=!0,children:D,sensors:R=eN,collisionDetection:j=q,measuring:N,modifiers:F,...$}=e,[L,P]=(0,x.useReducer)(eH,void 0,eB),[U,B]=function(){let[e]=(0,x.useState)(()=>new Set),t=(0,x.useCallback)(t=>(e.add(t),()=>e.delete(t)),[e]);return[(0,x.useCallback)(t=>{let{type:n,event:r}=t;e.forEach(e=>{var t;return null==(t=e[n])?void 0:t.call(e,r)})},[e]),t]}(),[H,W]=(0,x.useState)(_.Uninitialized),K=H===_.Initialized,{draggable:{active:Q,nodes:ee,translate:ea},droppable:{containers:el}}=L,eu=null!=Q?ee.get(Q):null,ec=(0,x.useRef)({initial:null,translated:null}),ed=(0,x.useMemo)(()=>{var e;return null!=Q?{id:Q,data:null!=(e=null==eu?void 0:eu.data)?e:eM,rect:ec}:null},[Q,eu]),ef=(0,x.useRef)(null),[eh,ep]=(0,x.useState)(null),[eg,em]=(0,x.useState)(null),ey=(0,E.YN)($,Object.values($)),eb=(0,E.YG)("DndDescribedBy",S),ev=(0,x.useMemo)(()=>el.getEnabled(),[el]),ew=(0,x.useMemo)(()=>({draggable:{...eF.draggable,...null==N?void 0:N.draggable},droppable:{...eF.droppable,...null==N?void 0:N.droppable},dragOverlay:{...eF.dragOverlay,...null==N?void 0:N.dragOverlay}}),[null==N?void 0:N.draggable,null==N?void 0:N.droppable,null==N?void 0:N.dragOverlay]),{droppableRects:e_,measureDroppableContainers:ex,measuringScheduled:ek}=function(e,t){let{dragging:n,dependencies:r,config:i}=t,[o,a]=(0,x.useState)(null),{frequency:s,measure:l,strategy:u}=i,c=(0,x.useRef)(e),d=function(){switch(u){case v.Always:return!1;case v.BeforeDragging:return n;default:return!n}}(),f=(0,E.YN)(d),h=(0,x.useCallback)(function(e){void 0===e&&(e=[]),f.current||a(t=>null===t?e:t.concat(e.filter(e=>!t.includes(e))))},[f]),p=(0,x.useRef)(null),g=(0,E.KG)(t=>{if(d&&!n)return eA;if(!t||t===eA||c.current!==e||null!=o){let t=new Map;for(let n of e){if(!n)continue;if(o&&o.length>0&&!o.includes(n.id)&&n.rect.current){t.set(n.id,n.rect.current);continue}let e=n.node.current,r=e?new es(l(e),e):null;n.rect.current=r,r&&t.set(n.id,r)}return t}return t},[e,o,n,d,l]);return(0,x.useEffect)(()=>{c.current=e},[e]),(0,x.useEffect)(()=>{d||h()},[n,d]),(0,x.useEffect)(()=>{o&&o.length>0&&a(null)},[JSON.stringify(o)]),(0,x.useEffect)(()=>{d||"number"!=typeof s||null!==p.current||(p.current=setTimeout(()=>{h(),p.current=null},s))},[s,d,h,...r]),{droppableRects:g,measureDroppableContainers:h,measuringScheduled:null!=o}}(ev,{dragging:K,dependencies:[ea.x,ea.y],config:ew.droppable}),eO=(g=(p=null!=Q?ee.get(Q):void 0)?p.node.current:null,(0,E.KG)(e=>{var t;return null==Q?null:null!=(t=null!=g?g:e)?t:null},[g,Q])),e$=(0,x.useMemo)(()=>eg?(0,E.e_)(eg):null,[eg]),eL=(u=(null==eh?void 0:eh.autoScrollEnabled)===!1,c="object"==typeof T?!1===T.enabled:!1===T,d=K&&!u&&!c,"object"==typeof T?{...T,enabled:d}:{enabled:d}),eP=eS(eO,ew.draggable.measure);!function(e){let{activeNode:t,measure:n,initialRect:r,config:i=!0}=e,o=(0,x.useRef)(!1),{x:a,y:s}="boolean"==typeof i?{x:i,y:i}:i;(0,E.Es)(()=>{if(!a&&!s||!t){o.current=!1;return}if(o.current||!r)return;let e=null==t?void 0:t.node.current;if(!e||!1===e.isConnected)return;let i=V(n(e),r);if(a||(i.x=0),s||(i.y=0),o.current=!0,Math.abs(i.x)>0||Math.abs(i.y)>0){let t=X(e);t&&t.scrollBy({top:i.y,left:i.x})}},[t,a,s,r,n])}({activeNode:null!=Q?ee.get(Q):null,config:eL.layoutShiftCompensation,initialRect:eP,measure:ew.draggable.measure});let eG=eT(eO,ew.draggable.measure,eP),eW=eT(eO?eO.parentElement:null),eY=(0,x.useRef)({activatorEvent:null,active:null,activeNode:eO,collisionRect:null,collisions:null,droppableRects:e_,draggableNodes:ee,draggingNode:null,draggingNodeRect:null,droppableContainers:el,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),eK=el.getNodeFor(null==(t=eY.current.over)?void 0:t.id),eZ=function(e){let{measure:t}=e,[n,r]=(0,x.useState)(null),i=eC({callback:(0,x.useCallback)(e=>{for(let{target:n}of e)if((0,E.sb)(n)){r(e=>{let r=t(n);return e?{...e,width:r.width,height:r.height}:r});break}},[t])}),o=(0,x.useCallback)(e=>{let n=function(e){if(!e)return null;if(e.children.length>1)return e;let t=e.children[0];return(0,E.sb)(t)?t:e}(e);null==i||i.disconnect(),n&&(null==i||i.observe(n)),r(n?t(n):null)},[t,i]),[a,s]=(0,E.lk)(o);return(0,x.useMemo)(()=>({nodeRef:a,rect:n,setRef:s}),[n,a,s])}({measure:ew.dragOverlay.measure}),eX=null!=(n=eZ.nodeRef.current)?n:eO,eJ=K?null!=(r=eZ.rect)?r:eG:null,eQ=!!(eZ.nodeRef.current&&eZ.rect),e0=(m=eS(o=eQ?null:eG),V(o,m)),e1=eR(eX?(0,E.zk)(eX):null),e2=(a=K?
10null!=eK?eK:eO:null,w=(0,x.useRef)(a),A=(0,E.KG)(e=>a?e&&e!==eD&&a&&w.current&&a.parentNode===w.current.parentNode?e:Z(a):eD,[a]),(0,x.useEffect)(()=>{w.current=a},[a]),A),e5=function(e,t){void 0===t&&(t=Y);let[n]=e,r=eR(n?(0,E.zk)(n):null),[i,o]=(0,x.useState)(ej);function a(){o(()=>e.length?e.map(e=>en(e)?r:new es(t(e),e)):ej)}let s=eC({callback:a});return(0,E.Es)(()=>{null==s||s.disconnect(),a(),e.forEach(e=>null==s?void 0:s.observe(e))},[e]),i}(e2),e3=function(e,t){let{transform:n,...r}=t;return null!=e&&e.length?e.reduce((e,t)=>t({transform:e,...r}),n):n}(F,{transform:{x:ea.x-e0.x,y:ea.y-e0.y,scaleX:1,scaleY:1},activatorEvent:eg,active:ed,activeNodeRect:eG,containerNodeRect:eW,draggingNodeRect:eJ,over:eY.current.over,overlayNodeRect:eZ.rect,scrollableAncestors:e2,scrollableAncestorRects:e5,windowRect:e1}),e4=e$?(0,E.WQ)(e$,ea):null,e6=function(e){let[t,n]=(0,x.useState)(null),r=(0,x.useRef)(e),i=(0,x.useCallback)(e=>{let t=J(e.target);t&&n(e=>e?(e.set(t,et(t)),new Map(e)):null)},[]);return(0,x.useEffect)(()=>{let t=r.current;if(e!==t){o(t);let a=e.map(e=>{let t=J(e);return t?(t.addEventListener("scroll",i,{passive:!0}),[t,et(t)]):null}).filter(e=>null!=e);n(a.length?new Map(a):null),r.current=e}return()=>{o(e),o(t)};function o(e){e.forEach(e=>{let t=J(e);null==t||t.removeEventListener("scroll",i)})}},[i,e]),(0,x.useMemo)(()=>e.length?t?Array.from(t.values()).reduce((e,t)=>(0,E.WQ)(e,t),M):eo(e):M,[e,t])}(e2),e9=eI(e6),e7=eI(e6,[eG]),e8=(0,E.WQ)(e3,e9),te=eJ?G(eJ,e3):null,tt=ed&&te?j({active:ed,collisionRect:te,droppableRects:e_,droppableContainers:ev,pointerCoordinates:e4}):null,tn=z(tt,"id"),[tr,ti]=(0,x.useState)(null),to=(s=eQ?e3:(0,E.WQ)(e3,e7),l=null!=(i=null==tr?void 0:tr.rect)?i:null,{...s,scaleX:l&&eG?l.width/eG.width:1,scaleY:l&&eG?l.height/eG.height:1}),ta=(0,x.useRef)(null),ts=(0,x.useCallback)((e,t)=>{let{sensor:n,options:r}=t;if(null==ef.current)return;let i=ee.get(ef.current);if(!i)return;let o=e.nativeEvent,a=new n({active:ef.current,activeNode:i,event:o,options:r,context:eY,onAbort(e){if(!ee.get(e))return;let{onDragAbort:t}=ey.current,n={id:e};null==t||t(n),U({type:"onDragAbort",event:n})},onPending(e,t,n,r){if(!ee.get(e))return;let{onDragPending:i}=ey.current,o={id:e,constraint:t,initialCoordinates:n,offset:r};null==i||i(o),U({type:"onDragPending",event:o})},onStart(e){let t=ef.current;if(null==t)return;let n=ee.get(t);if(!n)return;let{onDragStart:r}=ey.current,i={activatorEvent:o,active:{id:t,data:n.data,rect:ec}};(0,k.unstable_batchedUpdates)(()=>{null==r||r(i),W(_.Initializing),P({type:f.DragStart,initialCoordinates:e,active:t}),U({type:"onDragStart",event:i}),ep(ta.current),em(o)})},onMove(e){P({type:f.DragMove,coordinates:e})},onEnd:s(f.DragEnd),onCancel:s(f.DragCancel)});function s(e){return async function(){let{active:t,collisions:n,over:r,scrollAdjustedTranslate:i}=eY.current,a=null;if(t&&i){let{cancelDrop:s}=ey.current;a={activatorEvent:o,active:t,collisions:n,delta:i,over:r},e===f.DragEnd&&"function"==typeof s&&await Promise.resolve(s(a))&&(e=f.DragCancel)}ef.current=null,(0,k.unstable_batchedUpdates)(()=>{P({type:e}),W(_.Uninitialized),ti(null),ep(null),em(null),ta.current=null;let t=e===f.DragEnd?"onDragEnd":"onDragCancel";if(a){let e=ey.current[t];null==e||e(a),U({type:t,event:a})}})}}ta.current=a},[ee]),tl=(0,x.useCallback)((e,t)=>(n,r)=>{let i=n.nativeEvent,o=ee.get(r);null!==ef.current||!o||i.dndKit||i.defaultPrevented||!0===e(n,t.options,{active:o})&&(i.dndKit={capturedBy:t.sensor},ef.current=r,ts(n,t))},[ee,ts]),tu=(0,x.useMemo)(()=>R.reduce((e,t)=>{let{sensor:n}=t;return[...e,...n.activators.map(e=>({eventName:e.eventName,handler:tl(e.handler,t)}))]},[]),[R,tl]);(0,x.useEffect)(()=>{if(!E.Sw)return;let e=R.map(e=>{let{sensor:t}=e;return null==t.setup?void 0:t.setup()});return()=>{for(let t of e)null==t||t()}},R.map(e=>{let{sensor:t}=e;return t})),(0,E.Es)(()=>{eG&&H===_.Initializing&&W(_.Initialized)},[eG,H]),(0,x.useEffect)(()=>{let{onDragMove:e}=ey.current,{active:t,activatorEvent:n,collisions:r,over:i}=eY.current;if(!t||!n)return;let o={active:t,activatorEvent:n,collisions:r,delta:{x:e8.x,y:e8.y},over:i};(0,k.unstable_batchedUpdates)(()=>{null==e||e(o),U({type:"onDragMove",event:o})})},[e8.x,e8.y]),(0,x.useEffect)(()=>{let{active:e,activatorEvent:t,collisions:n,droppableContainers:r,scrollAdjustedTranslate:i}=eY.current;if(!e||null==ef.current||!t||!i)return;let{onDragOver:o}=ey.current,a=r.get(tn),s=a&&a.rect.current?{id:a.id,rect:a.rect.current,data:a.data,disabled:a.disabled}:null,l={active:e,activatorEvent:t,collisions:n,delta:{x:i.x,y:i.y},over:s};(0,k.unstable_batchedUpdates)(()=>{ti(s),null==o||o(l),U({type:"onDragOver",event:l})})},[tn]),(0,E.Es)(()=>{eY.current={activatorEvent:eg,active:ed,activeNode:eO,collisionRect:te,collisions:tt,droppableRects:e_,draggableNodes:ee,draggingNode:eX,draggingNodeRect:eJ,droppableContainers:el,over:tr,scrollableAncestors:e2,scrollAdjustedTranslate:e8},ec.current={initial:eJ,translated:te}},[ed,eO,tt,te,ee,eX,eJ,e_,el,tr,e2,e8]),function(e){let{acceleration:t,activator:n=y.Pointer,canScroll:r,draggingRect:i,enabled:o,interval:a=5,order:s=b.TreeOrder,pointerCoordinates:l,scrollableAncestors:u,scrollableAncestorRects:c,delta:d,threshold:f}=e,p=function(e){let{delta:t,disabled:n}=e,r=(0,E.ZC)(t);return(0,E.KG)(e=>{if(n||!r||!e)return eE;
10let i={x:Math.sign(t.x-r.x),y:Math.sign(t.y-r.y)};return{x:{[h.Backward]:e.x[h.Backward]||-1===i.x,[h.Forward]:e.x[h.Forward]||1===i.x},y:{[h.Backward]:e.y[h.Backward]||-1===i.y,[h.Forward]:e.y[h.Forward]||1===i.y}}},[n,t,r])}({delta:d,disabled:!o}),[g,m]=(0,E.$$)(),v=(0,x.useRef)({x:0,y:0}),w=(0,x.useRef)({x:0,y:0}),_=(0,x.useMemo)(()=>{switch(n){case y.Pointer:return l?{top:l.y,bottom:l.y,left:l.x,right:l.x}:null;case y.DraggableRect:return i}},[n,i,l]),k=(0,x.useRef)(null),A=(0,x.useCallback)(()=>{let e=k.current;if(!e)return;let t=v.current.x*w.current.x,n=v.current.y*w.current.y;e.scrollBy(t,n)},[]),S=(0,x.useMemo)(()=>s===b.TreeOrder?[...u].reverse():u,[s,u]);(0,x.useEffect)(()=>{if(!o||!u.length||!_)return void m();for(let e of S){if((null==r?void 0:r(e))===!1)continue;let n=c[u.indexOf(e)];if(!n)continue;let{direction:i,speed:o}=function(e,t,n,r,i){let{top:o,left:a,right:s,bottom:l}=n;void 0===r&&(r=10),void 0===i&&(i=ei);let{isTop:u,isBottom:c,isLeft:d,isRight:f}=er(e),p={x:0,y:0},g={x:0,y:0},m={height:t.height*i.y,width:t.width*i.x};return!u&&o<=t.top+m.height?(p.y=h.Backward,g.y=r*Math.abs((t.top+m.height-o)/m.height)):!c&&l>=t.bottom-m.height&&(p.y=h.Forward,g.y=r*Math.abs((t.bottom-m.height-l)/m.height)),!f&&s>=t.right-m.width?(p.x=h.Forward,g.x=r*Math.abs((t.right-m.width-s)/m.width)):!d&&a<=t.left+m.width&&(p.x=h.Backward,g.x=r*Math.abs((t.left+m.width-a)/m.width)),{direction:p,speed:g}}(e,n,_,t,f);for(let e of["x","y"])p[e][i[e]]||(o[e]=0,i[e]=0);if(o.x>0||o.y>0){m(),k.current=e,g(A,a),v.current=o,w.current=i;return}}v.current={x:0,y:0},w.current={x:0,y:0},m()},[t,A,r,m,o,a,JSON.stringify(_),JSON.stringify(p),g,u,S,c,JSON.stringify(f)])}({...eL,delta:ea,draggingRect:te,pointerCoordinates:e4,scrollableAncestors:e2,scrollableAncestorRects:e5});let tc=(0,x.useMemo)(()=>({active:ed,activeNode:eO,activeNodeRect:eG,activatorEvent:eg,collisions:tt,containerNodeRect:eW,dragOverlay:eZ,draggableNodes:ee,droppableContainers:el,droppableRects:e_,over:tr,measureDroppableContainers:ex,scrollableAncestors:e2,scrollableAncestorRects:e5,measuringConfiguration:ew,measuringScheduled:ek,windowRect:e1}),[ed,eO,eG,eg,tt,eW,eZ,ee,el,e_,tr,ex,e2,e5,ew,ek,e1]),td=(0,x.useMemo)(()=>({activatorEvent:eg,activators:tu,active:ed,activeNodeRect:eG,ariaDescribedById:{draggable:eb},dispatch:P,draggableNodes:ee,over:tr,measureDroppableContainers:ex}),[eg,tu,ed,eG,P,eb,ee,tr,ex]);return x.createElement(O.Provider,{value:B},x.createElement(ez.Provider,{value:td},x.createElement(eU.Provider,{value:tc},x.createElement(eV.Provider,{value:to},D)),x.createElement(eq,{disabled:(null==C?void 0:C.restoreFocus)===!1})),x.createElement(I,{...C,hiddenTextDescribedById:eb}))}),eW=(0,x.createContext)(null),eY="button";function eK(e){let{id:t,data:n,disabled:r=!1,attributes:i}=e,o=(0,E.YG)("Draggable"),{activators:a,activatorEvent:s,active:l,activeNodeRect:u,ariaDescribedById:c,draggableNodes:d,over:f}=(0,x.useContext)(ez),{role:h=eY,roleDescription:p="draggable",tabIndex:g=0}=null!=i?i:{},m=(null==l?void 0:l.id)===t,y=(0,x.useContext)(m?eV:eW),[b,v]=(0,E.lk)(),[w,_]=(0,E.lk)(),k=(0,x.useMemo)(()=>a.reduce((e,n)=>{let{eventName:r,handler:i}=n;return e[r]=e=>{i(e,t)},e},{}),[a,t]),A=(0,E.YN)(n);return(0,E.Es)(()=>(d.set(t,{id:t,key:o,node:b,activatorNode:w,data:A}),()=>{let e=d.get(t);e&&e.key===o&&d.delete(t)}),[d,t]),{active:l,activatorEvent:s,activeNodeRect:u,attributes:(0,x.useMemo)(()=>({role:h,tabIndex:g,"aria-disabled":r,"aria-pressed":!!m&&h===eY||void 0,"aria-roledescription":p,"aria-describedby":c.draggable}),[r,h,g,m,p,c.draggable]),isDragging:m,listeners:r?void 0:k,node:b,over:f,setNodeRef:v,setActivatorNodeRef:_,transform:y}}function eZ(){return(0,x.useContext)(eU)}let eX={timeout:25};function eJ(e){let{data:t,disabled:n=!1,id:r,resizeObserverConfig:i}=e,o=(0,E.YG)("Droppable"),{active:a,dispatch:s,over:l,measureDroppableContainers:u}=(0,x.useContext)(ez),c=(0,x.useRef)({disabled:n}),d=(0,x.useRef)(!1),h=(0,x.useRef)(null),p=(0,x.useRef)(null),{disabled:g,updateMeasurementsFor:m,timeout:y}={...eX,...i},b=(0,E.YN)(null!=m?m:r),v=eC({callback:(0,x.useCallback)(()=>
10{if(!d.current){d.current=!0;return}null!=p.current&&clearTimeout(p.current),p.current=setTimeout(()=>{u(Array.isArray(b.current)?b.current:[b.current]),p.current=null},y)},[y]),disabled:g||!a}),w=(0,x.useCallback)((e,t)=>{v&&(t&&(v.unobserve(t),d.current=!1),e&&v.observe(e))},[v]),[_,k]=(0,E.lk)(w),A=(0,E.YN)(t);return(0,x.useEffect)(()=>{v&&_.current&&(v.disconnect(),d.current=!1,v.observe(_.current))},[_,v]),(0,x.useEffect)(()=>(s({type:f.RegisterDroppable,element:{id:r,key:o,disabled:n,node:_,rect:h,data:A}}),()=>s({type:f.UnregisterDroppable,key:o,id:r})),[r]),(0,x.useEffect)(()=>{n!==c.current.disabled&&(s({type:f.SetDroppableDisabled,id:r,key:o,disabled:n}),c.current.disabled=n)},[r,o,n,s]),{active:a,rect:h,isOver:(null==l?void 0:l.id)===r,node:_,over:l,setNodeRef:k}}},45080:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(90756);let i=(0,n(29035).A)(function(e,t,n){(0,r.A)(e,n,t)})},45179:(e,t,n)=>{"use strict";n.d(t,{v:()=>a});var r=n(65132),i=n(38299),o=n(99506);function a(e,t){return new r.c(function(n){var r=e(),a=t(r);return(a?(0,i.Tg)(a):o.w).subscribe(n),function(){r&&r.unsubscribe()}})}},45412:(e,t,n)=>{"use strict";n.d(t,{J:()=>d});var r=n(19749),i=n(44416),o=n(21728),a=n(37758),s=n(12115);function l(e){try{let t=new URL(e);return u.includes(t.protocol)}catch{return!1}}let u=["http:","https:","mailto:","tel:"],c=({context:e,value:t})=>{let n=e.schema.annotations.find(e=>"link"===e.name),r=n?.fields.find(e=>"href"===e.name&&"string"===e.type);if(!(!n||!r))return{_type:n.name,[r.name]:t.href}};function d(e){let t,n,u=(0,r.c)(5),{guard:d,link:f}=e,h=void 0===f?c:f,p=(0,i.h)();return u[0]!==p||u[1]!==d||u[2]!==h?(t=()=>{var e;let t=(e={guard:d,link:h},[(0,o.Ke)({on:"clipboard.paste",guard:t=>{if(e.guard&&!1===e.guard(t))return!1;let{snapshot:n,event:r}=t;if(a.WV(n))return!1;let i=r.originEvent.dataTransfer.getData("text/plain"),o=l(i)?i:void 0;if(!o)return!1;let s=e.link({context:{schema:n.context.schema,keyGenerator:n.context.keyGenerator},value:{href:o}});if(!s)return!1;let{_type:u,_key:c,...d}=s;return{annotation:{name:u,_key:c,value:d}}},actions:[(e,{annotation:t})=>[(0,o.xl)({type:"annotation.add",annotation:t})]]}),(0,o.Ke)({on:"clipboard.paste",guard:t=>{if(e.guard&&!1===e.guard(t))return!1;let{snapshot:n,event:r}=t,i=a.hH(n),o=a.WV(n);if(!i||!o)return!1;let s=r.originEvent.dataTransfer.getData("text/plain"),u=l(s)?s:void 0;if(!u)return!1;let c=e.link({context:{schema:n.context.schema,keyGenerator:n.context.keyGenerator},value:{href:u}});if(!c)return!1;let{_type:d,_key:f,...h}=c,p=a.JB(n),g=n.context.schema.decorators.map(e=>e.name),m=(p?.marks??[]).filter(e=>g.includes(e)),y=f??n.context.keyGenerator();return{focusTextBlock:i,markDef:{_type:d,_key:y,...h},markDefKey:y,href:u,activeDecorators:m}},actions:[({snapshot:e},{focusTextBlock:t,markDef:n,markDefKey:r,href:i,activeDecorators:a})=>[(0,o.xl)({type:"block.set",at:t.path,props:{markDefs:[...t.node.markDefs??[],n]}}),(0,o.xl)({type:"insert.child",child:{_type:e.context.schema.span.name,text:i,marks:[...a,r]}})]]})]).map(e=>p.registerBehavior({behavior:e}));return()=>{for(let e of t)e()}},n=[p,d,h],u[0]=p,u[1]=d,u[2]=h,u[3]=t,u[4]=n):(t=u[3],n=u[4]),(0,s.useEffect)(t,n),null}},45687:(e,t,n)=>{"use strict";var r,i;r=n(54592),i=n(49506),r.version,t.F0=r.renderToString,t.qV=r.renderToStaticMarkup,i.renderToReadableStream,i.resume},45732:(e,t,n)=>{var r=n(8381),i=n(20905);e.exports=function(e,t,n,o){var a=n.length,s=a,l=!o;if(null==e)return!s;for(e=Object(e);a--;){var u=n[a];if(l&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++a<s;){var c=(u=n[a])[0],d=e[c],f=u[1];if(l&&u[2]){if(void 0===d&&!(c in e))return!1}else{var h=new r;if(o)var p=o(d,f,c,e,t,h);if(!(void 0===p?i(f,d,3,o,h):p))return!1}}return!0}}
10,45788:(e,t,n)=>{var r=n(84214);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},46191:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r,i=n(35821),o=n(19396),a=n(70638);let s=(r=n(82899).A,function(e,t,n){var s=Object(e);if(!(0,o.A)(e)){var l=(0,i.A)(t,3);e=(0,a.A)(e),t=function(e){return l(s[e],e,s)}}var u=r(e,t,n);return u>-1?s[l?e[u]:u]:void 0})},46310:(e,t,n)=>{"use strict";n.d(t,{Cr:()=>a,TN:()=>s,V1:()=>u,ZS:()=>d,aY:()=>l,mn:()=>o,tN:()=>c});let r="u">typeof window&&/Mac|iPod|iPhone|iPad/.test(window.navigator.userAgent);function i(e,t){var n,r;return n=e,r=t,(n.ctrl===r.ctrlKey||void 0===n.ctrl)&&(n.meta===r.metaKey||void 0===n.meta)&&(n.shift===r.shiftKey||void 0===n.shift)&&(n.alt===r.altKey||void 0===n.alt)&&(void 0!==e.code&&e.code.toLowerCase()===t.code.toLowerCase()||void 0!==e.key&&e.key.toLowerCase()===t.key.toLowerCase())}function o(e){if(r){let t=e.apple??e.default,n=t.at(0);return{guard:e=>t.some(t=>i(t,e)),keys:[...n?.meta?["⌘"]:[],...n?.ctrl?["Ctrl"]:[],...n?.alt?["Option"]:[],...n?.shift?["Shift"]:[],...n?.key!==void 0?[n.key]:n?.code!==void 0?[n.code]:[]]}}let t=e.default.at(0);return{guard:t=>e.default.some(e=>i(e,t)),keys:[...t?.meta?["Meta"]:[],...t?.ctrl?["Ctrl"]:[],...t?.alt?["Alt"]:[],...t?.shift?["Shift"]:[],...t?.key!==void 0?[t.key]:t?.code!==void 0?[t.code]:[]]}}let a=o({default:[{key:"B",alt:!1,ctrl:!0,meta:!1,shift:!1}],apple:[{key:"B",alt:!1,ctrl:!1,meta:!0,shift:!1}]}),s=o({default:[{key:"I",alt:!1,ctrl:!0,meta:!1,shift:!1}],apple:[{key:"I",alt:!1,ctrl:!1,meta:!0,shift:!1}]}),l=o({default:[{key:"'",alt:!1,ctrl:!0,meta:!1,shift:!1}],apple:[{key:"'",alt:!1,ctrl:!1,meta:!0,shift:!1}]}),u=o({default:[{key:"U",alt:!1,ctrl:!0,meta:!1,shift:!1}],apple:[{key:"U",alt:!1,ctrl:!1,meta:!0,shift:!1}]}),c=(o({default:[{key:"X",alt:!1,ctrl:!0,meta:!1,shift:!0}],apple:[{key:"X",alt:!1,ctrl:!1,meta:!0,shift:!0}]}),o({default:[{key:"K",alt:!1,ctrl:!0,meta:!1,shift:!1}],apple:[{key:"K",alt:!1,ctrl:!1,meta:!0,shift:!1}]}),o({default:[{key:"0",code:"Digit0",alt:!0,ctrl:!0,meta:!1,shift:!1},{key:"0",code:"Numpad0",alt:!0,ctrl:!0,meta:!1,shift:!1}],apple:[{key:"0",code:"Digit0",alt:!0,ctrl:!1,meta:!0,shift:!1},{key:"0",code:"Numpad0",alt:!0,ctrl:!1,meta:!0,shift:!1}]}),o({default:[{key:"1",code:"Digit1",alt:!0,ctrl:!0,meta:!1,shift:!1},{key:"1",code:"Numpad1",alt:!0,ctrl:!0,meta:!1,shift:!1}],apple:[{key:"1",code:"Digit1",alt:!0,ctrl:!1,meta:!0,shift:!1},{key:"1",code:"Numpad1",alt:!0,ctrl:!1,meta:!0,shift:!1}]}),o({default:[{key:"2",code:"Digit2",alt:!0,ctrl:!0,meta:!1,shift:!1},{key:"2",code:"Numpad2",alt:!0,ctrl:!0,meta:!1,shift:!1}],apple:[{key:"2",code:"Digit2",alt:!0,ctrl:!1,meta:!0,shift:!1},{key:"2",code:"Numpad2",alt:!0,ctrl:!1,meta:!0,shift:!1}]}),o({default:[{key:"3",code:"Digit3",alt:!0,ctrl:!0,meta:!1,shift:!1},{key:"3",code:"Numpad3",alt:!0,ctrl:!0,meta:!1,shift:!1}],apple:[{key:"3",code:"Digit3",alt:!0,ctrl:!1,meta:!0,shift:!1},{key:"3",code:"Numpad3",alt:!0,ctrl:!1,meta:!0,shift:!1}]}),o({default:[{key:"4",code:"Digit4",alt:!0,ctrl:!0,meta:!1,shift:!1},{key:"4",code:"Numpad4",alt:!0,ctrl:!0,meta:!1,shift:!1}],apple:[{key:"4",code:"Digit4",alt:!0,ctrl:!1,meta:!0,shift:!1},{key:"4",code:"Numpad4",alt:!0,ctrl:!1,meta:!0,shift:!1}]}),o({default:[{key:"5",code:"Digit5",alt:!0,ctrl:!0,meta:!1,shift:!1},{key:"5",code:"Numpad5",alt:!0,ctrl:!0,meta:!1,shift:!1}],apple:[{key:"5",code:"Digit5",alt:!0,ctrl:!1,meta:!0,shift:!1},{key:"5",code:"Numpad5",alt:!0,ctrl:!1,meta:!0,shift:!1}]}),o({default:[{key:"6",code:"Digit6",alt:!0,ctrl:!0,meta:!1,shift:!1},{key:"6",code:"Numpad6",alt:!0,ctrl:!0,meta:!1,shift:!1}],apple:[{key:"6",code:"Digit6",alt:!0,ctrl:!1,meta:!0,shift:!1},{key:"6",code:"Numpad6",alt:!0,ctrl:!1,meta:!0,shift:!1}]}),o({default:[{key:"Q",alt:!1,ctrl:!0,meta:!1,shift:!0}]}),o({default:[{key:"Z",alt:!1,ctrl:!0,meta:!1,shift:!1}],apple:[{key:"Z",alt:!1,ctrl:!1,meta:!0,shift:!1}]})),d=o({default:[{key:"Y",alt:!1,ctrl:!0,meta:!1,shift:!1},{key:"Z",alt:!1,ctrl:!0,meta:!1,shift:!0}],apple:[{key:"Z",alt:!1,ctrl:!1,meta:!0,shift:!0}]})},46322:(e,t,n)=>{"use strict";n.d(t,{h:()=>function e(t,n,r=2){if(!n||"object"!=typeof n||r<=0)return n;if(t&&n&&0===Object.keys(n).length)return t;let i={...t};for(let t in n)Object.prototype.hasOwnProperty.call(n,t)&&(i[t]=e(i[t],n[t],r-1));return i}})},46440:(e,t,n)=>{"use strict";n.d(t,{u:()=>l});var r=n(99506),i=n(79619),o=n(77973),a=n(38299),s=n(31562);function l(e){var t,n,l=1/0;return null!=e&&("object"==typeof e?(l=void 0===(t=e.count)?1/0:t,n=e.delay):l=e),l<=0?function(){return r.w}:(0,i.N)(function(e,t){var r,i=0,u=function(){if(null==r||r.unsubscribe(),r=null,null!=n){var e="number"==typeof n?(0,s.O)(n):(0,a.Tg)(n(i)),l=(0,o._)(t,function(){l.unsubscribe(),c()});e.subscribe(l)}else c()},c=function(){var n=!1;r=e.subscribe((0,o._)(t,void 0,function(){++i<l?r?u():n=!0:t.complete()}
10)),n&&u()};c()})}},46583:(e,t,n)=>{e=n.nmd(e);var r=n(50994),i=n(56580),o=t&&!t.nodeType&&t,a=o&&e&&!e.nodeType&&e,s=a&&a.exports===o?r.Buffer:void 0,l=s?s.isBuffer:void 0;e.exports=l||i},46710:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(33761),i=Object.create;let o=function(){function e(){}return function(t){if(!(0,r.A)(t))return{};if(i)return i(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}()},46776:(e,t,n)=>{"use strict";n.d(t,{q:()=>i});let r={};function i(){return r}},46860:(e,t,n)=>{"use strict";n.d(t,{uz:()=>L});var r,i,o,a=n(31843),s=n(55633),l=n(34090),u=n(94123),c=n(97908),d=n(80722),f=n(96681),h=n(97561),p=n(16975),g=n(4897),m=n(84911),y=n(79931),b=n(99506),v=n(18212),w=n(36569),_=n(33751),x=n(84707),k=n(46821),E=function(){return(E=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},A=(0,k.d_)("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-",20);function S(e,t,n){return JSON.stringify({jsonrpc:"2.0",method:e,params:E(E({},t),{apiVersion:"v1"}),id:n})}var C=function(e,t){void 0===t&&(t={});var n=t.token$,r=t.getNextRequestId,i=void 0===r?A:r,o=(0,m.j)(e.pipe((0,a.n)(function(e){return(0,y.R)(e,"message")})),function(e){return"♥"===e.data}),k=o[0],E=o[1],C=E.pipe((0,s.Z)(function(e){var t=function(e){try{return[null,JSON.parse(e)]}catch(e){return e instanceof Error?[e]:[Error("".concat(e))]}}(e.data),n=t[0],r=t[1];return n?(console.warn("Unable to parse message: %s",n.message),b.w):r&&r.jsonrpc?(0,v.of)(r):(console.warn("Received empty or non-jsonrpc message: %s",r),b.w)}),(0,l.u)()),O=n?(0,w.z)([n,e]).pipe((0,u.F)(function(e,t){var n=e[0],r=e[1],i=t[0],o=t[1];return n===i&&r===o}),(0,a.n)(function(e){var t=e[0],n=e[1];return t?T(n,"authorization",{authorization:"Bearer ".concat(t)}).pipe((0,c.s)(1),(0,d.u)(n)):(0,v.of)(n)}),(0,f.t)({refCount:!0,bufferSize:1})):e;function T(e,t,n){void 0===n&&(n={});var r=i();return(0,_.h)(C.pipe((0,h.p)(function(e){return e.id===r}),(0,p.T)(function(e){return e.result})),(0,x.v)(function(){return e.send(S(t,n,r)),b.w}))}return{heartbeats:(0,_.h)(O,k,E).pipe((0,p.T)(function(){return new Date})),listen:function(e,t){return O.pipe((0,c.s)(1),(0,s.Z)(function(n){return T(n,"".concat(e,"_subscribe"),t).pipe((0,c.s)(1),(0,s.Z)(function(t){return C.pipe((0,h.p)(function(n){return n.method==="".concat(e,"_subscription")&&n.params.subscription===t}),(0,p.T)(function(e){return e.params.result}),(0,g.j)(function(){n.readyState!==n.CLOSED&&n.readyState!==n.CLOSING&&n.send(S("".concat(e,"_unsubscribe"),{subscriptionId:t},i()))}))}))}))},request:function(e,t){return O.pipe((0,c.s)(1),(0,s.Z)(function(n){return T(n,e,t).pipe((0,c.s)(1))}))}}},O=n(65132),T=(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),D=function(e){function t(t,n,r,i){var o=e.call(this,t)||this;return o.type=n,o.code=r,o.reason=i,o}return T(t,e),t}(Error),I=n(38299),R=n(49395),j=n(77973),N=n(31562),M=n(10028),F=n(61319);(i=o||(o={}))[i.BAD_REQUEST=4e3]="BAD_REQUEST",i[i.UNAUTHORIZED=4001]="UNAUTHORIZED",i[i.NOT_FOUND=4004]="NOT_FOUND",i[i.INVALID_REQUEST=-32600]="INVALID_REQUEST",i[i.METHOD_NOT_FOUND=-32601]="METHOD_NOT_FOUND",i[i.INVALID_PARAMS=-32602]="INVALID_PARAMS",i[i.SUBSCRIPTION_NOT_FOUND=-32602]="SUBSCRIPTION_NOT_FOUND",i[i.PARSE_ERROR=-32700]="PARSE_ERROR";var $=function(e){return e};function L(e,t){void 0===t&&(t={});var n,r,i=t.timeout,o=t.token$;return C((n=function(e,t){return new window.WebSocket(e,t)},function(e){return new O.c(function(t){var r=n(e),i=!1;return r.onopen=function(){t.next(r)},r.onclose=function(e){i?t.complete():t.error(new D("WebSocket connection error","CONNECTION_CLOSED",e.code,e.reason))},r.onerror=function(){t.error(new D("WebSocket connection error","CONNECTION_ERROR"))},function(){i=!0,r.close(1e3,"WebSockets connection closed by client")}})})(e).pipe(i?(r=(0,F.$)(function(){return Error("Timeout after ".concat(i," while establishing WebSockets connection"))}),function(e){return function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return 1===(t=(0,R.K)(t)).length?(0,I.Tg)(t[0]):new O.c((e=t,function(t){for(var n=[],r=function(r){n.push((0,I.Tg)(e[r]).subscribe((0,j._)(t,function(e){if(n){for(var i=0;i<n.length;i++)i!==r&&n[i].unsubscribe();n=null}t.next(e)})))},i=0;n&&!t.closed&&i<e.length;i++)r(i)}))}(e,(0,N.O)(i).pipe((0,s.Z)(function(){return r})))}):$,(0,f.t)({refCount:!0}),(0,M.Q)((0,y.R)(window,"beforeunload"))),{token$:o})}}
10,46983:(e,t,n)=>{"use strict";n.d(t,{Cv:()=>r,D9:()=>d,ON:()=>a,OZ:()=>h,Ql:()=>o,V0:()=>i,Zp:()=>u,wL:()=>f,wm:()=>s,wv:()=>c,yW:()=>p,z1:()=>l});let r=["gray","blue","purple","magenta","red","orange","yellow","green","cyan"],i=["50","100","200","300","400","500","600","700","800","900","950"],o={title:"Black",hex:"#0d0e12"},a={title:"White",hex:"#ffffff"},s={50:{title:"Gray 50",hex:"#f6f6f8"},100:{title:"Gray 100",hex:"#eeeef1"},200:{title:"Gray 200",hex:"#e3e4e8"},300:{title:"Gray 300",hex:"#bbbdc9"},400:{title:"Gray 400",hex:"#9499ad"},500:{title:"Gray 500",hex:"#727892"},600:{title:"Gray 600",hex:"#515870"},700:{title:"Gray 700",hex:"#383d51"},800:{title:"Gray 800",hex:"#252837"},900:{title:"Gray 900",hex:"#1b1d27"},950:{title:"Gray 950",hex:"#13141b"}},l={50:{title:"Blue 50",hex:"#f5f8ff"},100:{title:"Blue 100",hex:"#e5edff"},200:{title:"Blue 200",hex:"#dbe5ff"},300:{title:"Blue 300",hex:"#a8bfff"},400:{title:"Blue 400",hex:"#7595ff"},500:{title:"Blue 500",hex:"#556bfc"},600:{title:"Blue 600",hex:"#4043e7"},700:{title:"Blue 700",hex:"#2927aa"},800:{title:"Blue 800",hex:"#192457"},900:{title:"Blue 900",hex:"#161a41"},950:{title:"Blue 950",hex:"#101228"}},u={50:{title:"Purple 50",hex:"#f8f5ff"},100:{title:"Purple 100",hex:"#f1ebff"},200:{title:"Purple 200",hex:"#ece1fe"},300:{title:"Purple 300",hex:"#ccb1fc"},400:{title:"Purple 400",hex:"#b087f7"},500:{title:"Purple 500",hex:"#8f57ef"},600:{title:"Purple 600",hex:"#721fe5"},700:{title:"Purple 700",hex:"#4c1a9e"},800:{title:"Purple 800",hex:"#2f1862"},900:{title:"Purple 900",hex:"#23173f"},950:{title:"Purple 950",hex:"#181128"}},c={50:{title:"Red 50",hex:"#fff6f5"},100:{title:"Red 100",hex:"#ffe7e5"},200:{title:"Red 200",hex:"#ffdedc"},300:{title:"Red 300",hex:"#fdada5"},400:{title:"Red 400",hex:"#f77769"},500:{title:"Red 500",hex:"#ef4434"},600:{title:"Red 600",hex:"#cc2819"},700:{title:"Red 700",hex:"#8b2018"},800:{title:"Red 800",hex:"#4d1714"},900:{title:"Red 900",hex:"#321615"},950:{title:"Red 950",hex:"#1e1011"}},d={50:{title:"Yellow 50",hex:"#fefae1"},100:{title:"Yellow 100",hex:"#fcf3bb"},200:{title:"Yellow 200",hex:"#f9e994"},300:{title:"Yellow 300",hex:"#f7d455"},400:{title:"Yellow 400",hex:"#f9bc15"},500:{title:"Yellow 500",hex:"#d28a04"},600:{title:"Yellow 600",hex:"#965908"},700:{title:"Yellow 700",hex:"#653a0b"},800:{title:"Yellow 800",hex:"#3b220c"},900:{title:"Yellow 900",hex:"#271a11"},950:{title:"Yellow 950",hex:"#181410"}},f={50:{title:"Green 50",hex:"#e7fef5"},100:{title:"Green 100",hex:"#c5fce8"},200:{title:"Green 200",hex:"#a9f9dc"},300:{title:"Green 300",hex:"#59f3ba"},400:{title:"Green 400",hex:"#0ff0a1"},500:{title:"Green 500",hex:"#04b97a"},600:{title:"Green 600",hex:"#01794f"},700:{title:"Green 700",hex:"#015133"},800:{title:"Green 800",hex:"#023120"},900:{title:"Green 900",hex:"#06231a"},950:{title:"Green 950",hex:"#071715"}},h={gray:s,blue:l,purple:u,magenta:{50:{title:"Magenta 50",hex:"#fef6f9"},100:{title:"Magenta 100",hex:"#fde8ef"},200:{title:"Magenta 200",hex:"#fcdee9"},300:{title:"Magenta 300",hex:"#f7abc5"},400:{title:"Magenta 400",hex:"#f0709b"},500:{title:"Magenta 500",hex:"#e72767"},600:{title:"Magenta 600",hex:"#b11651"},700:{title:"Magenta 700",hex:"#7c1342"},800:{title:"Magenta 800",hex:"#4b1130"},900:{title:"Magenta 900",hex:"#341325"},950:{title:"Magenta 950",hex:"#1f0f14"}},red:c,orange:{50:{title:"Orange 50",hex:"#fff7f0"},100:{title:"Orange 100",hex:"#ffeadb"},200:{title:"Orange 200",hex:"#ffddc7"},300:{title:"Orange 300",hex:"#ffb685"},400:{title:"Orange 400",hex:"#ff8e42"},500:{title:"Orange 500",hex:"#fa6400"},600:{title:"Orange 600",hex:"#b14802"},700:{title:"Orange 700",hex:"#7c3404"},800:{title:"Orange 800",hex:"#461e07"},900:{title:"Orange 900",hex:"#32160b"},950:{title:"Orange 950",hex:"#21120d"}},yellow:d,green:f,cyan:{50:{title:"Cyan 50",hex:"#e7fefe"},100:{title:"Cyan 100",hex:"#c5fcfc"},200:{title:"Cyan 200",hex:"#96f8f8"},300:{title:"Cyan 300",hex:"#62efef"},400:{title:"Cyan 400",hex:"#18e2e2"},500:{title:"Cyan 500",hex:"#04b8be"},600:{title:"Cyan 600",hex:"#037782"},700:{title:"Cyan 700",hex:"#024950"},800:{title:"Cyan 800",hex:"#042f34"},900:{title:"Cyan 900",hex:"#072227"},950:{title:"Cyan 950",hex:"#0d181c"}}},p={black:o,white:a,...h}},47141:(e,t,n)=>{"use strict";n.d(t,{T:()=>r});let r="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},47226:(e,t,n)=>{"use strict";n.d(t,{UE:()=>eT,RK:()=>eA,ll:()=>ex,rD:()=>eD,__:()=>ek,UU:()=>eC,jD:()=>eO,cY:()=>eE,BN:()=>eS});let r=["top","right","bottom","left"],i=r.reduce((e,t)=>
10e.concat(t,t+"-start",t+"-end"),[]),o=Math.min,a=Math.max,s=Math.round,l=Math.floor,u=e=>({x:e,y:e}),c={left:"right",right:"left",bottom:"top",top:"bottom"},d={start:"end",end:"start"};function f(e,t){return"function"==typeof e?e(t):e}function h(e){return e.split("-")[0]}function p(e){return e.split("-")[1]}function g(e){return"x"===e?"y":"x"}function m(e){return"y"===e?"height":"width"}let y=new Set(["top","bottom"]);function b(e){return y.has(h(e))?"y":"x"}function v(e,t,n){void 0===n&&(n=!1);let r=p(e),i=g(b(e)),o=m(i),a="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=A(a)),[a,A(a)]}function w(e){return e.replace(/start|end/g,e=>d[e])}let _=["left","right"],x=["right","left"],k=["top","bottom"],E=["bottom","top"];function A(e){return e.replace(/left|right|bottom|top/g,e=>c[e])}function S(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function C(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function O(e,t,n){let r,{reference:i,floating:o}=e,a=b(t),s=g(b(t)),l=m(s),u=h(t),c="y"===a,d=i.x+i.width/2-o.width/2,f=i.y+i.height/2-o.height/2,y=i[l]/2-o[l]/2;switch(u){case"top":r={x:d,y:i.y-o.height};break;case"bottom":r={x:d,y:i.y+i.height};break;case"right":r={x:i.x+i.width,y:f};break;case"left":r={x:i.x-o.width,y:f};break;default:r={x:i.x,y:i.y}}switch(p(t)){case"start":r[s]-=y*(n&&c?-1:1);break;case"end":r[s]+=y*(n&&c?-1:1)}return r}async function T(e,t){var n;void 0===t&&(t={});let{x:r,y:i,platform:o,rects:a,elements:s,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:h=!1,padding:p=0}=f(t,e),g=S(p),m=s[h?"floating"===d?"reference":"floating":d],y=C(await o.getClippingRect({element:null==(n=await (null==o.isElement?void 0:o.isElement(m)))||n?m:m.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(s.floating)),boundary:u,rootBoundary:c,strategy:l})),b="floating"===d?{x:r,y:i,width:a.floating.width,height:a.floating.height}:a.reference,v=await (null==o.getOffsetParent?void 0:o.getOffsetParent(s.floating)),w=await (null==o.isElement?void 0:o.isElement(v))&&await (null==o.getScale?void 0:o.getScale(v))||{x:1,y:1},_=C(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:b,offsetParent:v,strategy:l}):b);return{top:(y.top-_.top+g.top)/w.y,bottom:(_.bottom-y.bottom+g.bottom)/w.y,left:(y.left-_.left+g.left)/w.x,right:(_.right-y.right+g.right)/w.x}}let D=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:a}=n,s=o.filter(Boolean),l=await (null==a.isRTL?void 0:a.isRTL(t)),u=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:d}=O(u,r,l),f=r,h={},p=0;for(let n=0;n<s.length;n++){var g;let{name:o,fn:m}=s[n],{x:y,y:b,data:v,reset:w}=await m({x:c,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:h,rects:u,platform:{...a,detectOverflow:null!=(g=a.detectOverflow)?g:T},elements:{reference:e,floating:t}});c=null!=y?y:c,d=null!=b?b:d,h={...h,[o]:{...h[o],...v}},w&&p<=50&&(p++,"object"==typeof w&&(w.placement&&(f=w.placement),w.rects&&(u=!0===w.rects?await a.getElementRects({reference:e,floating:t,strategy:i}):w.rects),{x:c,y:d}=O(u,f,l)),n=-1)}return{x:c,y:d,placement:f,strategy:i,middlewareData:h}};function I(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function R(e){return r.some(t=>e[t]>=0)}let j=new Set(["left","top"]);async function N(e,t){let{placement:n,platform:r,elements:i}=e,o=await (null==r.isRTL?void 0:r.isRTL(i.floating)),a=h(n),s=p(n),l="y"===b(n),u=j.has(a)?-1:1,c=o&&l?-1:1,d=f(t,e),{mainAxis:g,crossAxis:m,alignmentAxis:y}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&"number"==typeof y&&(m="end"===s?-1*y:y),l?{x:m*c,y:g*u}:{x:g*u,y:m*c}}function M(){return"u">typeof window}function F(e){return P(e)?(e.nodeName||"").toLowerCase():"#document"}function $(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function L(e){var t;return null==(t=(P(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function P(e){return!!M()&&(e instanceof Node||e instanceof $(e).Node)}function z(e){return!!M()&&(e instanceof Element||e instanceof $(e).Element)}function U(e){return!!M()&&(e instanceof HTMLElement||e instanceof $(e).HTMLElement)}function B(e){return!(!M()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof $(e).ShadowRoot)}let H=new Set(["inline","contents"]);function q(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=et(e);
10return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!H.has(i)}let V=new Set(["table","td","th"]),G=[":popover-open",":modal"];function W(e){return G.some(t=>{try{return e.matches(t)}catch(e){return!1}})}let Y=["transform","translate","scale","rotate","perspective"],K=["transform","translate","scale","rotate","perspective","filter"],Z=["paint","layout","strict","content"];function X(e){let t=J(),n=z(e)?et(e):e;return Y.some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||K.some(e=>(n.willChange||"").includes(e))||Z.some(e=>(n.contain||"").includes(e))}function J(){return!("u"<typeof CSS)&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let Q=new Set(["html","body","#document"]);function ee(e){return Q.has(F(e))}function et(e){return $(e).getComputedStyle(e)}function en(e){return z(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function er(e){if("html"===F(e))return e;let t=e.assignedSlot||e.parentNode||B(e)&&e.host||L(e);return B(t)?t.host:t}function ei(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let i=function e(t){let n=er(t);return ee(n)?t.ownerDocument?t.ownerDocument.body:t.body:U(n)&&q(n)?n:e(n)}(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),a=$(i);if(o){let e=eo(a);return t.concat(a,a.visualViewport||[],q(i)?i:[],e&&n?ei(e):[])}return t.concat(i,ei(i,[],n))}function eo(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ea(e){let t=et(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=U(e),o=i?e.offsetWidth:n,a=i?e.offsetHeight:r,l=s(n)!==o||s(r)!==a;return l&&(n=o,r=a),{width:n,height:r,$:l}}function es(e){return z(e)?e:e.contextElement}function el(e){let t=es(e);if(!U(t))return u(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:o}=ea(t),a=(o?s(n.width):n.width)/r,l=(o?s(n.height):n.height)/i;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}let eu=u(0);function ec(e){let t=$(e);return J()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:eu}function ed(e,t,n,r){var i;void 0===t&&(t=!1),void 0===n&&(n=!1);let o=e.getBoundingClientRect(),a=es(e),s=u(1);t&&(r?z(r)&&(s=el(r)):s=el(e));let l=(void 0===(i=n)&&(i=!1),r&&(!i||r===$(a))&&i)?ec(a):u(0),c=(o.left+l.x)/s.x,d=(o.top+l.y)/s.y,f=o.width/s.x,h=o.height/s.y;if(a){let e=$(a),t=r&&z(r)?$(r):r,n=e,i=eo(n);for(;i&&r&&t!==n;){let e=el(i),t=i.getBoundingClientRect(),r=et(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,d*=e.y,f*=e.x,h*=e.y,c+=o,d+=a,i=eo(n=$(i))}}return C({width:f,height:h,x:c,y:d})}function ef(e,t){let n=en(e).scrollLeft;return t?t.left+n:ed(L(e)).left+n}function eh(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-ef(e,n),y:n.top+t.scrollTop}}let ep=new Set(["absolute","fixed"]);function eg(e,t,n){var r;let i;if("viewport"===t)i=function(e,t){let n=$(e),r=L(e),i=n.visualViewport,o=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){o=i.width,a=i.height;let e=J();(!e||e&&"fixed"===t)&&(s=i.offsetLeft,l=i.offsetTop)}let u=ef(r);if(u<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,a=Math.abs(r.clientWidth-t.clientWidth-i);a<=25&&(o-=a)}else u<=25&&(o+=u);return{width:o,height:a,x:s,y:l}}(e,n);else if("document"===t){let t,n,o,s,l,u,c;r=L(e),t=L(r),n=en(r),o=r.ownerDocument.body,s=a(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),l=a(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight),u=-n.scrollLeft+ef(r),c=-n.scrollTop,"rtl"===et(o).direction&&(u+=a(t.clientWidth,o.clientWidth)-s),i={width:s,height:l,x:u,y:c}}else if(z(t)){let e,r,o,a,s,l;r=(e=ed(t,!0,"fixed"===n)).top+t.clientTop,o=e.left+t.clientLeft,a=U(t)?el(t):u(1),s=t.clientWidth*a.x,l=t.clientHeight*a.y,i={width:s,height:l,x:o*a.x,y:r*a.y}}else{let n=ec(e);i={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return C(i)}function em(e){return"static"===et(e).position}function ey(e,t){if(!U(e)||"fixed"===et(e).position)return null;if(t)return t(e);let n=e.offsetParent;return L(e)===n&&(n=n.ownerDocument.body),n}function eb(e,t){var n;let r=$(e);
10if(W(e))return r;if(!U(e)){let t=er(e);for(;t&&!ee(t);){if(z(t)&&!em(t))return t;t=er(t)}return r}let i=ey(e,t);for(;i&&(n=i,V.has(F(n)))&&em(i);)i=ey(i,t);return i&&ee(i)&&em(i)&&!X(i)?r:i||function(e){let t=er(e);for(;U(t)&&!ee(t);){if(X(t))return t;if(W(t))break;t=er(t)}return null}(e)||r}let ev=async function(e){let t=this.getOffsetParent||eb,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=U(t),i=L(t),o="fixed"===n,a=ed(e,!0,o,t),s={scrollLeft:0,scrollTop:0},l=u(0);if(r||!r&&!o)if(("body"!==F(t)||q(i))&&(s=en(t)),r){let e=ed(t,!0,o,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else i&&(l.x=ef(i));o&&!r&&i&&(l.x=ef(i));let c=!i||r||o?u(0):eh(i,s);return{x:a.left+s.scrollLeft-l.x-c.x,y:a.top+s.scrollTop-l.y-c.y,width:a.width,height:a.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},ew={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,o="fixed"===i,a=L(r),s=!!t&&W(t.floating);if(r===a||s&&o)return n;let l={scrollLeft:0,scrollTop:0},c=u(1),d=u(0),f=U(r);if((f||!f&&!o)&&(("body"!==F(r)||q(a))&&(l=en(r)),U(r))){let e=ed(r);c=el(r),d.x=e.x+r.clientLeft,d.y=e.y+r.clientTop}let h=!a||f||o?u(0):eh(a,l);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+d.x+h.x,y:n.y*c.y-l.scrollTop*c.y+d.y+h.y}},getDocumentElement:L,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,s=[..."clippingAncestors"===n?W(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=ei(e,[],!1).filter(e=>z(e)&&"body"!==F(e)),i=null,o="fixed"===et(e).position,a=o?er(e):e;for(;z(a)&&!ee(a);){let t=et(a),n=X(a);n||"fixed"!==t.position||(i=null),(o?!n&&!i:!n&&"static"===t.position&&!!i&&ep.has(i.position)||q(a)&&!n&&function e(t,n){let r=er(t);return!(r===n||!z(r)||ee(r))&&("fixed"===et(r).position||e(r,n))}(e,a))?r=r.filter(e=>e!==a):i=t,a=er(a)}return t.set(e,r),r}(t,this._c):[].concat(n),r],l=s[0],u=s.reduce((e,n)=>{let r=eg(t,n,i);return e.top=a(r.top,e.top),e.right=o(r.right,e.right),e.bottom=o(r.bottom,e.bottom),e.left=a(r.left,e.left),e},eg(t,l,i));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},getOffsetParent:eb,getElementRects:ev,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=ea(e);return{width:t,height:n}},getScale:el,isElement:z,isRTL:function(e){return"rtl"===et(e).direction}};function e_(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function ex(e,t,n,r){let i;void 0===r&&(r={});let{ancestorScroll:s=!0,ancestorResize:u=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:d="function"==typeof IntersectionObserver,animationFrame:f=!1}=r,h=es(e),p=s||u?[...h?ei(h):[],...ei(t)]:[];p.forEach(e=>{s&&e.addEventListener("scroll",n,{passive:!0}),u&&e.addEventListener("resize",n)});let g=h&&d?function(e,t){let n,r=null,i=L(e);function s(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function u(c,d){void 0===c&&(c=!1),void 0===d&&(d=1),s();let f=e.getBoundingClientRect(),{left:h,top:p,width:g,height:m}=f;if(c||t(),!g||!m)return;let y={rootMargin:-l(p)+"px "+-l(i.clientWidth-(h+g))+"px "+-l(i.clientHeight-(p+m))+"px "+-l(h)+"px",threshold:a(0,o(1,d))||1},b=!0;function v(t){let r=t[0].intersectionRatio;if(r!==d){if(!b)return u();r?u(!1,r):n=setTimeout(()=>{u(!1,1e-7)},1e3)}1!==r||e_(f,e.getBoundingClientRect())||u(),b=!1}try{r=new IntersectionObserver(v,{...y,root:i.ownerDocument})}catch(e){r=new IntersectionObserver(v,y)}r.observe(e)}(!0),s}(h,n):null,m=-1,y=null;c&&(y=new ResizeObserver(e=>{let[r]=e;r&&r.target===h&&y&&(y.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var e;null==(e=y)||e.observe(t)})),n()}),h&&!f&&y.observe(h),y.observe(t));let b=f?ed(e):null;return f&&function t(){let r=ed(e);b&&!e_(b,r)&&n(),b=r,i=requestAnimationFrame(t)}(),n(),()=>{var e;p.forEach(e=>{s&&e.removeEventListener("scroll",n),u&&e.removeEventListener("resize",n)}),null==g||g(),null==(e=y)||e.disconnect(),y=null,f&&cancelAnimationFrame(i)}}let ek=T,eE=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:i,y:o,placement:a,middlewareData:s}=t,l=await N(t,e);return a===(null==(n=s.offset)?void 0:n.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{x:i+l.x,y:o+l.y,data:{...l,placement:a}}}}},eA=function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,r,o,a;let{rects:s,middlewareData:l,placement:u,platform:c,elements:d}=t,{crossAxis:g=!1,alignment:m,allowedPlacements:y=i,autoAlignment:b=!0,..._}=f(e,t),x=void 0!==m||y===i?((a=m||null)?[...y.filter(e=>p(e)===a),...y.filter(e=>p(e)!==a)]:y.filter(e=>h(e)===e)).filter(e=>!a||p(e)===a||!!b&&w(e)!==e):y,k=await c.detectOverflow(t,_),E=(null==(n=l.autoPlacement)?void 0:n.index)||0,A=x[E];if(null==A)return{};let S=v(A,s,await (null==c.isRTL?void 0:c.isRTL(d.floating)));
10if(u!==A)return{reset:{placement:x[0]}};let C=[k[h(A)],k[S[0]],k[S[1]]],O=[...(null==(r=l.autoPlacement)?void 0:r.overflows)||[],{placement:A,overflows:C}],T=x[E+1];if(T)return{data:{index:E+1,overflows:O},reset:{placement:T}};let D=O.map(e=>{let t=p(e.placement);return[e.placement,t&&g?e.overflows.slice(0,2).reduce((e,t)=>e+t,0):e.overflows[0],e.overflows]}).sort((e,t)=>e[1]-t[1]),I=(null==(o=D.filter(e=>e[2].slice(0,p(e[0])?2:3).every(e=>e<=0))[0])?void 0:o[0])||D[0][0];return I!==u?{data:{index:E+1,overflows:O},reset:{placement:I}}:{}}}},eS=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:r,placement:i,platform:s}=t,{mainAxis:l=!0,crossAxis:u=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...d}=f(e,t),p={x:n,y:r},m=await s.detectOverflow(t,d),y=b(h(i)),v=g(y),w=p[v],_=p[y];if(l){let e="y"===v?"top":"left",t="y"===v?"bottom":"right",n=w+m[e],r=w-m[t];w=a(n,o(w,r))}if(u){let e="y"===y?"top":"left",t="y"===y?"bottom":"right",n=_+m[e],r=_-m[t];_=a(n,o(_,r))}let x=c.fn({...t,[v]:w,[y]:_});return{...x,data:{x:x.x-n,y:x.y-r,enabled:{[v]:l,[y]:u}}}}}},eC=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r,i,o,a;let s,l,u,{placement:c,middlewareData:d,rects:g,initialPlacement:m,platform:y,elements:S}=t,{mainAxis:C=!0,crossAxis:O=!0,fallbackPlacements:T,fallbackStrategy:D="bestFit",fallbackAxisSideDirection:I="none",flipAlignment:R=!0,...j}=f(e,t);if(null!=(n=d.arrow)&&n.alignmentOffset)return{};let N=h(c),M=b(m),F=h(m)===m,$=await (null==y.isRTL?void 0:y.isRTL(S.floating)),L=T||(F||!R?[A(m)]:(s=A(m),[w(m),s,w(s)])),P="none"!==I;!T&&P&&L.push(...(l=p(m),u=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?x:_;return t?_:x;case"left":case"right":return t?k:E;default:return[]}}(h(m),"start"===I,$),l&&(u=u.map(e=>e+"-"+l),R&&(u=u.concat(u.map(w)))),u));let z=[m,...L],U=await y.detectOverflow(t,j),B=[],H=(null==(r=d.flip)?void 0:r.overflows)||[];if(C&&B.push(U[N]),O){let e=v(c,g,$);B.push(U[e[0]],U[e[1]])}if(H=[...H,{placement:c,overflows:B}],!B.every(e=>e<=0)){let e=((null==(i=d.flip)?void 0:i.index)||0)+1,t=z[e];if(t&&("alignment"!==O||M===b(t)||H.every(e=>b(e.placement)!==M||e.overflows[0]>0)))return{data:{index:e,overflows:H},reset:{placement:t}};let n=null==(o=H.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!n)switch(D){case"bestFit":{let e=null==(a=H.filter(e=>{if(P){let t=b(e.placement);return t===M||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:a[0];e&&(n=e);break}case"initialPlacement":n=m}if(c!==n)return{reset:{placement:n}}}return{}}}},eO=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n,platform:r}=t,{strategy:i="referenceHidden",...o}=f(e,t);switch(i){case"referenceHidden":{let e=I(await r.detectOverflow(t,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:R(e)}}}case"escaped":{let e=I(await r.detectOverflow(t,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:R(e)}}}default:return{}}}}},eT=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:i,rects:s,platform:l,elements:u,middlewareData:c}=t,{element:d,padding:h=0}=f(e,t)||{};if(null==d)return{};let y=S(h),v={x:n,y:r},w=g(b(i)),_=m(w),x=await l.getDimensions(d),k="y"===w,E=k?"clientHeight":"clientWidth",A=s.reference[_]+s.reference[w]-v[w]-s.floating[_],C=v[w]-s.reference[w],O=await (null==l.getOffsetParent?void 0:l.getOffsetParent(d)),T=O?O[E]:0;T&&await (null==l.isElement?void 0:l.isElement(O))||(T=u.floating[E]||s.floating[_]);let D=T/2-x[_]/2-1,I=o(y[k?"top":"left"],D),R=o(y[k?"bottom":"right"],D),j=T-x[_]-R,N=T/2-x[_]/2+(A/2-C/2),M=a(I,o(N,j)),F=!c.arrow&&null!=p(i)&&N!==M&&s.reference[_]/2-(N<I?I:R)-x[_]/2<0,$=F?N<I?N-I:N-j:0;return{[w]:v[w]+$,data:{[w]:M,centerOffset:N-M-$,...F&&{alignmentOffset:$}},reset:F}}}),eD=(e,t,n)=>{let r=new Map,i={platform:ew,...n},o={...i.platform,_c:r};return D(e,t,{...i,platform:o})}},47261:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(29568);let i=function(e,t){for(var n=e.length;n--;)if((0,r.A)(e[n][0],t))return n;return -1};var o=Array.prototype.splice;function a(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}a.prototype.clear=function(){this.__data__=[],this.size=0},a.prototype.delete=function(e){var t=this.__data__,n=i(t,e);return!(n<0)&&(n==t.length-1?t.pop():o.call(t,n,1),--this.size,!0)},a.prototype.get=function(e){var t=this.__data__,n=i(t,e);return n<0?void 0:t[n][1]},a.prototype.has=function(e){return i(this.__data__,e)>-1},a.prototype.set=function(e,t){var n=this.__data__,r=i(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};let s=a}
10,47567:(e,t,n)=>{e.exports=function(e){function t(e){let n,i,o,a=null;function s(...e){if(!s.enabled)return;let r=Number(new Date);s.diff=r-(n||r),s.prev=n,s.curr=r,n=r,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let i=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(n,r)=>{if("%%"===n)return"%";i++;let o=t.formatters[r];if("function"==typeof o){let t=e[i];n=o.call(s,t),e.splice(i,1),i--}return n}),t.formatArgs.call(s,e),(s.log||t.log).apply(s,e)}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=r,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==a?a:(i!==t.namespaces&&(i=t.namespaces,o=t.enabled(e)),o),set:e=>{a=e}}),"function"==typeof t.init&&t.init(s),s}function r(e,n){let r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function i(e,t){let n=0,r=0,i=-1,o=0;for(;n<e.length;)if(r<t.length&&(t[r]===e[n]||"*"===t[r]))"*"===t[r]?(i=r,o=n):n++,r++;else{if(-1===i)return!1;r=i+1,n=++o}for(;r<t.length&&"*"===t[r];)r++;return r===t.length}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){let e=[...t.names,...t.skips.map(e=>"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){for(let n of(t.save(e),t.namespaces=e,t.names=[],t.skips=[],("string"==typeof e?e:"").trim().replace(/\s+/g,",").split(",").filter(Boolean)))"-"===n[0]?t.skips.push(n.slice(1)):t.names.push(n)},t.enabled=function(e){for(let n of t.skips)if(i(e,n))return!1;for(let n of t.names)if(i(e,n))return!0;return!1},t.humanize=n(66190),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach(n=>{t[n]=e[n]}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t)|0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},47665:(e,t,n)=>{"use strict";n.d(t,{s:()=>l});var r=n(77989),i=n(31166),o=n(91993),a=n(93032),s=n(92477);function l(e,t){let n,l,u=(0,s.a)(e,t?.in);return Math.round(((0,i.b)(u)-(n=(0,a.p)(u,void 0),(l=(0,o.w)(u,0)).setFullYear(n,0,4),l.setHours(0,0,0,0),(0,i.b)(l)))/r.my)+1}},47908:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(24286),i=/[\\^$.*+?()[\]{}|]/g,o=RegExp(i.source);let a=function(e){return(e=(0,r.A)(e))&&o.test(e)?e.replace(i,"\\$&"):e}},48004:(e,t,n)=>{var r=n(41483),i=n(17650);e.exports=function(e,t,n){var o=t(e);return i(e)?o:r(o,n(e))}},48118:(e,t,n)=>{"use strict";n.d(t,{M:()=>o});var r=n(90474),i=n(41974);let o=(0,r._C)(()=>({name:"HttpContext",preprocessEvent(e){if(!i.jf.navigator&&!i.jf.location&&!i.jf.document)return;let t=e.request&&e.request.url||i.jf.location&&i.jf.location.href,{referrer:n}=i.jf.document||{},{userAgent:r}=i.jf.navigator||{},o={...e.request&&e.request.headers,...n&&{Referer:n},...r&&{"User-Agent":r}},a={...e.request,...t&&{url:t},headers:o};e.request=a}}))},48125:e=>{"use strict";let{entries:t,setPrototypeOf:n,isFrozen:r,getPrototypeOf:i,getOwnPropertyDescriptor:o}=Object,{freeze:a,seal:s,create:l}=Object,{apply:u,construct:c}="u">typeof Reflect&&Reflect;a||(a=function(e){return e}),s||(s=function(e){return e}),u||(u=function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return e.apply(t,r)}),c||(c=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return new e(...n)});let d=A(Array.prototype.forEach),f=A(Array.prototype.lastIndexOf),h=A(Array.prototype.pop),p=A(Array.prototype.push),g=A(Array.prototype.splice),m=A(String.prototype.toLowerCase),y=A(String.prototype.toString),b=A(String.prototype.match),v=A(String.prototype.replace),w=A(String.prototype.indexOf),_=A(String.prototype.trim),x=A(Object.prototype.hasOwnProperty),k=A(RegExp.prototype.test),E=(K=TypeError,function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return c(K,t)});function A(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return u(e,t,r)}}function S(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:m;n&&n(e,null);let o=t.length;for(;o--;){let n=t[o];if("string"==typeof n){let e=i(n);e!==n&&(r(t)||(t[o]=e),n=e)}e[n]=!0}return e}function C(e){let n=l(null);for(let[r,i]of t(e))x(e,r)&&(Array.isArray(i)?n[r]=function(e){for(let t=0;t<e.length;t++)x(e,t)||(e[t]=null);return e}(i):i&&"object"==typeof i&&i.constructor===Object?n[r]=C(i):n[r]=i);return n}function O(e,t){for(;null!==e;){let n=o(e,t);if(n){if(n.get)return A(n.get);if("function"==typeof n.value)return A(n.value)}e=i(e)}return function(){return null}}let T=a(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),D=a(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),I=a(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),R=a(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),j=a(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),N=a(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),M=a(["#text"]),F=a(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","
10spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),$=a(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),L=a(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),P=a(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),z=s(/\{\{[\w\W]*|[\w\W]*\}\}/gm),U=s(/<%[\w\W]*|[\w\W]*%>/gm),B=s(/\$\{[\w\W]*/gm),H=s(/^data-[\-\w.\u00B7-\uFFFF]+$/),q=s(/^aria-[\-\w]+$/),V=s(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),G=s(/^(?:\w+script|data):/i),W=s(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Y=s(/^html$/i);var K,Z=Object.freeze({__proto__:null,ARIA_ATTR:q,ATTR_WHITESPACE:W,CUSTOM_ELEMENT:s(/^[a-z][.\w]*(-[.\w]+)+$/i),DATA_ATTR:H,DOCTYPE_NAME:Y,ERB_EXPR:U,IS_ALLOWED_URI:V,IS_SCRIPT_OR_DATA:G,MUSTACHE_EXPR:z,TMPLIT_EXPR:B});let X=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null,r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));let i="dompurify"+(n?"#"+n:"");try{return e.createPolicy(i,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+i+" could not be created."),null}},J=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};e.exports=function e(){let n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"u"<typeof window?null:window,i=t=>e(t);if(i.version="3.3.1",i.removed=[],!r||!r.document||9!==r.document.nodeType||!r.Element)return i.isSupported=!1,i;let{document:o}=r,s=o,u=s.currentScript,{DocumentFragment:c,HTMLTemplateElement:A,Node:z,Element:U,NodeFilter:B,NamedNodeMap:H=r.NamedNodeMap||r.MozNamedAttrMap,HTMLFormElement:q,DOMParser:G,trustedTypes:W}=r,K=U.prototype,Q=O(K,"cloneNode"),ee=O(K,"remove"),et=O(K,"nextSibling"),en=O(K,"childNodes"),er=O(K,"parentNode");if("function"==typeof A){let e=o.createElement("template");e.content&&e.content.ownerDocument&&(o=e.content.ownerDocument)}let ei="",{implementation:eo,createNodeIterator:ea,createDocumentFragment:es,getElementsByTagName:el}=o,{importNode:eu}=s,ec=J();i.isSupported="function"==typeof t&&"function"==typeof er&&eo&&void 0!==eo.createHTMLDocument;let{MUSTACHE_EXPR:ed,ERB_EXPR:ef,TMPLIT_EXPR:eh,DATA_ATTR:ep,ARIA_ATTR:eg,IS_SCRIPT_OR_DATA:em,ATTR_WHITESPACE:ey,CUSTOM_ELEMENT:eb}=Z,{IS_ALLOWED_URI:ev}=Z,ew=null,e_=S({},[...T,...D,...I,...j,...M]),ex=null,ek=S({}
10,[...F,...$,...L,...P]),eE=Object.seal(l(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),eA=null,eS=null,eC=Object.seal(l(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),eO=!0,eT=!0,eD=!1,eI=!0,eR=!1,ej=!0,eN=!1,eM=!1,eF=!1,e$=!1,eL=!1,eP=!1,ez=!0,eU=!1,eB=!0,eH=!1,eq={},eV=null,eG=S({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),eW=null,eY=S({},["audio","video","img","source","image","track"]),eK=null,eZ=S({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),eX="http://www.w3.org/1998/Math/MathML",eJ="http://www.w3.org/2000/svg",eQ="http://www.w3.org/1999/xhtml",e0=eQ,e1=!1,e2=null,e5=S({},[eX,eJ,eQ],y),e3=S({},["mi","mo","mn","ms","mtext"]),e4=S({},["annotation-xml"]),e6=S({},["title","style","font","a","script"]),e9=null,e7=["application/xhtml+xml","text/html"],e8=null,te=null,tt=o.createElement("form"),tn=function(e){return e instanceof RegExp||e instanceof Function},tr=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!te||te!==e){if(e&&"object"==typeof e||(e={}),e=C(e),e8="application/xhtml+xml"===(e9=-1===e7.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE)?y:m,ew=x(e,"ALLOWED_TAGS")?S({},e.ALLOWED_TAGS,e8):e_,ex=x(e,"ALLOWED_ATTR")?S({},e.ALLOWED_ATTR,e8):ek,e2=x(e,"ALLOWED_NAMESPACES")?S({},e.ALLOWED_NAMESPACES,y):e5,eK=x(e,"ADD_URI_SAFE_ATTR")?S(C(eZ),e.ADD_URI_SAFE_ATTR,e8):eZ,eW=x(e,"ADD_DATA_URI_TAGS")?S(C(eY),e.ADD_DATA_URI_TAGS,e8):eY,eV=x(e,"FORBID_CONTENTS")?S({},e.FORBID_CONTENTS,e8):eG,eA=x(e,"FORBID_TAGS")?S({},e.FORBID_TAGS,e8):C({}),eS=x(e,"FORBID_ATTR")?S({},e.FORBID_ATTR,e8):C({}),eq=!!x(e,"USE_PROFILES")&&e.USE_PROFILES,eO=!1!==e.ALLOW_ARIA_ATTR,eT=!1!==e.ALLOW_DATA_ATTR,eD=e.ALLOW_UNKNOWN_PROTOCOLS||!1,eI=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,eR=e.SAFE_FOR_TEMPLATES||!1,ej=!1!==e.SAFE_FOR_XML,eN=e.WHOLE_DOCUMENT||!1,e$=e.RETURN_DOM||!1,eL=e.RETURN_DOM_FRAGMENT||!1,eP=e.RETURN_TRUSTED_TYPE||!1,eF=e.FORCE_BODY||!1,ez=!1!==e.SANITIZE_DOM,eU=e.SANITIZE_NAMED_PROPS||!1,eB=!1!==e.KEEP_CONTENT,eH=e.IN_PLACE||!1,ev=e.ALLOWED_URI_REGEXP||V,e0=e.NAMESPACE||eQ,e3=e.MATHML_TEXT_INTEGRATION_POINTS||e3,e4=e.HTML_INTEGRATION_POINTS||e4,eE=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&tn(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(eE.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&tn(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(eE.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(eE.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),eR&&(eT=!1),eL&&(e$=!0),eq&&(ew=S({},M),ex=[],!0===eq.html&&(S(ew,T),S(ex,F)),!0===eq.svg&&(S(ew,D),S(ex,$),S(ex,P)),!0===eq.svgFilters&&(S(ew,I),S(ex,$),S(ex,P)),!0===eq.mathMl&&(S(ew,j),S(ex,L),S(ex,P))),e.ADD_TAGS&&("function"==typeof e.ADD_TAGS?eC.tagCheck=e.ADD_TAGS:(ew===e_&&(ew=C(ew)),S(ew,e.ADD_TAGS,e8))),e.ADD_ATTR&&("function"==typeof e.ADD_ATTR?eC.attributeCheck=e.ADD_ATTR:(ex===ek&&(ex=C(ex)),S(ex,e.ADD_ATTR,e8))),e.ADD_URI_SAFE_ATTR&&S(eK,e.ADD_URI_SAFE_ATTR,e8),e.FORBID_CONTENTS&&(eV===eG&&(eV=C(eV)),S(eV,e.FORBID_CONTENTS,e8)),e.ADD_FORBID_CONTENTS&&(eV===eG&&(eV=C(eV)),S(eV,e.ADD_FORBID_CONTENTS,e8)),eB&&(ew["#text"]=!0),eN&&S(ew,["html","head","body"]),ew.table&&(S(ew,["tbody"]),delete eA.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw E('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw E('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');ei=(n=e.TRUSTED_TYPES_POLICY).createHTML("")}else void 0===n&&(n=X(W,u)),null!==n&&"string"==typeof ei&&(ei=n.createHTML(""));a&&a(e),te=e}},ti=S({},[...D,...I,...R]),to=S({},[...j,...N]),ta=function(e){let t=er(e);t&&t.tagName||(t={namespaceURI:e0,tagName:"template"});let n=m(e.tagName),r=m(t.tagName);return!!e2[e.namespaceURI]&&(e.namespaceURI===eJ?t.namespaceURI===eQ?"svg"===n:t.namespaceURI===eX?"svg"===n&&("annotation-xml"===r||e3[r]):!!ti[n]:e.namespaceURI===eX?t.namespaceURI===eQ?"math"===n:t.namespaceURI===eJ?"math"===n&&e4[r]:!!to[n]:e.namespaceURI===eQ?(t.namespaceURI!==eJ||!!e4[r])&&(t.namespaceURI!==eX||!!e3[r])&&!to[n]&&(e6[n]||!ti[n]):"application/xhtml+xml"===e9&&!!e2[e.namespaceURI])},ts=function(e){p(i.removed,{element:e});try{er(e).removeChild(e)}catch(t){ee(e)}},tl=function(e,t){try{p(i.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){p(i.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(e$||eL)try{ts(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},tu=function(e){let t=null,r=null;if(eF)e="<remove></remove>"+e;else{let t=b(e,/^[\r\n\t ]+/);r=t&&t[0]}"application/xhtml+xml"===e9&&e0===eQ&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");let i=n?n.createHTML(e):e;if(e0===eQ)try{t=new G().parseFromString(i,e9)}catch(e){}if(!t||!t.documentElement){t=eo.createDocument(e0,"template",null);try{t.documentElement.innerHTML=e1?ei:i}catch(e){}}let a=t.body||t.documentElement;return(e&&r&&a.insertBefore(o.createTextNode(r),a.childNodes[0]||null),e0===eQ)?el.call(t,eN?"html":"body")[0]:eN?t.documentElement:a},tc=function(e){return ea.call(e.ownerDocument||e,e,B.SHOW_ELEMENT|B.SHOW_COMMENT|B.SHOW_TEXT|B.SHOW_PROCESSING_INSTRUCTION|B.SHOW_CDATA_SECTION,null)},td=function(e){return e instanceof q&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof H)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},tf=function(e){return"function"==typeof z&&e instanceof z};function th(e,t,n){d(e,e=>{e.call(i,t,n,te)})}let tp=function(e){let t=null;if(th(ec.beforeSanitizeElements,e,null),td(e))return ts(e),!0;let n=e8(e.nodeName);if(th(ec.uponSanitizeElement,e,{tagName:n,allowedTags:ew}),ej&&e.hasChildNodes()&&!tf(e.firstElementChild)&&k(/<[/\w!]/g,e.innerHTML)&&k(/<[/\w!]/g,e.textContent)||7===e.nodeType||ej&&8===e.n
10odeType&&k(/<[/\w]/g,e.data))return ts(e),!0;if(!(eC.tagCheck instanceof Function&&eC.tagCheck(n))&&(!ew[n]||eA[n])){if(!eA[n]&&tm(n)&&(eE.tagNameCheck instanceof RegExp&&k(eE.tagNameCheck,n)||eE.tagNameCheck instanceof Function&&eE.tagNameCheck(n)))return!1;if(eB&&!eV[n]){let t=er(e)||e.parentNode,n=en(e)||e.childNodes;if(n&&t){let r=n.length;for(let i=r-1;i>=0;--i){let r=Q(n[i],!0);r.__removalCount=(e.__removalCount||0)+1,t.insertBefore(r,et(e))}}}return ts(e),!0}return e instanceof U&&!ta(e)||("noscript"===n||"noembed"===n||"noframes"===n)&&k(/<\/no(script|embed|frames)/i,e.innerHTML)?(ts(e),!0):(eR&&3===e.nodeType&&(t=e.textContent,d([ed,ef,eh],e=>{t=v(t,e," ")}),e.textContent!==t&&(p(i.removed,{element:e.cloneNode()}),e.textContent=t)),th(ec.afterSanitizeElements,e,null),!1)},tg=function(e,t,n){if(ez&&("id"===t||"name"===t)&&(n in o||n in tt))return!1;if(eT&&!eS[t]&&k(ep,t));else if(eO&&k(eg,t));else if(eC.attributeCheck instanceof Function&&eC.attributeCheck(t,e));else if(!ex[t]||eS[t]){if(!(tm(e)&&(eE.tagNameCheck instanceof RegExp&&k(eE.tagNameCheck,e)||eE.tagNameCheck instanceof Function&&eE.tagNameCheck(e))&&(eE.attributeNameCheck instanceof RegExp&&k(eE.attributeNameCheck,t)||eE.attributeNameCheck instanceof Function&&eE.attributeNameCheck(t,e))||"is"===t&&eE.allowCustomizedBuiltInElements&&(eE.tagNameCheck instanceof RegExp&&k(eE.tagNameCheck,n)||eE.tagNameCheck instanceof Function&&eE.tagNameCheck(n))))return!1}else if(eK[t]);else if(k(ev,v(n,ey,"")));else if(("src"===t||"xlink:href"===t||"href"===t)&&"script"!==e&&0===w(n,"data:")&&eW[e]);else if(eD&&!k(em,v(n,ey,"")));else if(n)return!1;return!0},tm=function(e){return"annotation-xml"!==e&&b(e,eb)},ty=function(e){th(ec.beforeSanitizeAttributes,e,null);let{attributes:t}=e;if(!t||td(e))return;let r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:ex,forceKeepAttr:void 0},o=t.length;for(;o--;){let{name:a,namespaceURI:s,value:l}=t[o],u=e8(a),c="value"===a?l:_(l);if(r.attrName=u,r.attrValue=c,r.keepAttr=!0,r.forceKeepAttr=void 0,th(ec.uponSanitizeAttribute,e,r),c=r.attrValue,eU&&("id"===u||"name"===u)&&(tl(a,e),c="user-content-"+c),ej&&k(/((--!?|])>)|<\/(style|title|textarea)/i,c)||"attributename"===u&&b(c,"href")){tl(a,e);continue}if(r.forceKeepAttr)continue;if(!r.keepAttr||!eI&&k(/\/>/i,c)){tl(a,e);continue}eR&&d([ed,ef,eh],e=>{c=v(c,e," ")});let f=e8(e.nodeName);if(!tg(f,u,c)){tl(a,e);continue}if(n&&"object"==typeof W&&"function"==typeof W.getAttributeType)if(s);else switch(W.getAttributeType(f,u)){case"TrustedHTML":c=n.createHTML(c);break;case"TrustedScriptURL":c=n.createScriptURL(c)}if(c!==l)try{s?e.setAttributeNS(s,a,c):e.setAttribute(a,c),td(e)?ts(e):h(i.removed)}catch(t){tl(a,e)}}th(ec.afterSanitizeAttributes,e,null)},tb=function e(t){let n=null,r=tc(t);for(th(ec.beforeSanitizeShadowDOM,t,null);n=r.nextNode();)th(ec.uponSanitizeShadowNode,n,null),tp(n),ty(n),n.content instanceof c&&e(n.content);th(ec.afterSanitizeShadowDOM,t,null)};return i.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,o=null,a=null,l=null;if((e1=!e)&&(e="\x3c!--\x3e"),"string"!=typeof e&&!tf(e))if("function"==typeof e.toString){if("string"!=typeof(e=e.toString()))throw E("dirty is not a string, aborting")}else throw E("toString is not a function");if(!i.isSupported)return e;if(eM||tr(t),i.removed=[],"string"==typeof e&&(eH=!1),eH){if(e.nodeName){let t=e8(e.nodeName);if(!ew[t]||eA[t])throw E("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof z)1===(o=(r=tu("\x3c!----\x3e")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===o.nodeName||"HTML"===o.nodeName?r=o:r.appendChild(o);else{if(!e$&&!eR&&!eN&&-1===e.indexOf("<"))return n&&eP?n.createHTML(e):e;if(!(r=tu(e)))return e$?null:eP?ei:""}r&&eF&&ts(r.firstChild);let u=tc(eH?e:r);for(;a=u.nextNode();)tp(a),ty(a),a.content instanceof c&&tb(a.content);if(eH)return e;if(e$){if(eL)for(l=es.call(r.ownerDocument);r.firstChild;)l.appendChild(r.firstChild);else l=r;return(ex.shadowroot||ex.shadowrootmode)&&(l=eu.call(s,l,!0)),l}let f=eN?r.outerHTML:r.innerHTML;return eN&&ew["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&k(Y,r.ownerDocument.doctype.name)&&(f="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+f),eR&&d([ed,ef,eh],e=>{f=v(f,e," ")}),n&&eP?n.createHTML(f):f},i.setConfig=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};tr(e),eM=!0}
10,i.clearConfig=function(){te=null,eM=!1},i.isValidAttribute=function(e,t,n){return te||tr({}),tg(e8(e),e8(t),n)},i.addHook=function(e,t){"function"==typeof t&&p(ec[e],t)},i.removeHook=function(e,t){if(void 0!==t){let n=f(ec[e],t);return -1===n?void 0:g(ec[e],n,1)[0]}return h(ec[e])},i.removeHooks=function(e){ec[e]=[]},i.removeAllHooks=function(){ec=J()},i}()},48235:(e,t,n)=>{e.exports=n(27636)},48714:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},50286:(e,t,n)=>{"use strict";let r;n.d(t,{s:()=>o});var i=n(87358);try{r=i.env.PKG_BUILD_VERSION}catch{}try{r=r||"5.10.0"}catch{}let o=r||"5.10.0-dev"},50633:(e,t,n)=>{"use strict";n.d(t,{t:()=>i});var r=n(49303),i=function(e){function t(t){var n=e.call(this)||this;return n._value=t,n}return(0,r.C6)(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),t.prototype._subscribe=function(t){var n=e.prototype._subscribe.call(this,t);return n.closed||t.next(this._value),n},t.prototype.getValue=function(){var e=this.hasError,t=this.thrownError,n=this._value;if(e)throw t;return this._throwIfClosed(),n},t.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},t}(n(14283).B)},50931:(e,t,n)=>{"use strict";n.d(t,{Q_:()=>G});let r=e=>"string"==typeof e,i=()=>{let e,t,n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n},o=e=>null==e?"":""+e,a=/###/g,s=e=>e&&e.indexOf("###")>-1?e.replace(a,"."):e,l=e=>!e||r(e),u=(e,t,n)=>{let i=r(t)?t.split("."):t,o=0;for(;o<i.length-1;){if(l(e))return{};let t=s(i[o]);!e[t]&&n&&(e[t]=new n),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++o}return l(e)?{}:{obj:e,k:s(i[o])}},c=(e,t,n)=>{let{obj:r,k:i}=u(e,t,Object);if(void 0!==r||1===t.length){r[i]=n;return}let o=t[t.length-1],a=t.slice(0,t.length-1),s=u(e,a,Object);for(;void 0===s.obj&&a.length;)o=`${a[a.length-1]}.${o}`,(s=u(e,a=a.slice(0,a.length-1),Object))&&s.obj&&void 0!==s.obj[`${s.k}.${o}`]&&(s.obj=void 0);s.obj[`${s.k}.${o}`]=n},d=(e,t)=>{let{obj:n,k:r}=u(e,t);if(n)return n[r]},f=(e,t,n)=>{for(let i in t)"__proto__"!==i&&"constructor"!==i&&(i in e?r(e[i])||e[i]instanceof String||r(t[i])||t[i]instanceof String?n&&(e[i]=t[i]):f(e[i],t[i],n):e[i]=t[i]);return e};var h={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};let p=e=>r(e)?e.replace(/[&<>"'\/]/g,e=>h[e]):e;class g{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){let t=this.regExpMap.get(e);if(void 0!==t)return t;let n=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,n),this.regExpQueue.push(e),n}}let m=[" ",",","?","!",";"],y=new g(20),b=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(!e)return;if(e[t])return e[t];let r=t.split(n),i=e;for(let e=0;e<r.length;){let t;if(!i||"object"!=typeof i)return;let o="";for(let a=e;a<r.length;++a)if(a!==e&&(o+=n),o+=r[a],void 0!==(t=i[o])){if(["string","number","boolean"].indexOf(typeof t)>-1&&a<r.length-1)continue;e+=a-e+1;break}i=t}return i},v=e=>e&&e.replace("_","-"),w={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};class _{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.init(e,t)}init(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||w,this.options=t,this.debug=t.debug}log(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"log","",!0)}warn(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","",!0)}error(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"error","")}deprecate(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}forward(e,t,n,i){return i&&!this.debug?null:(r(e[0])&&(e[0]=`${n}${this.prefix} ${e[0]}`),this.logger[t](e))}create(e){return new _(this.logger,{...{prefix:`${this.prefix}:${e}:`},...this.options})}clone(e){return(e=e||this.options).prefix=e.prefix||this.prefix,new _(this.logger,e)}}var x=new _;class k{constructor(){this.observers={}}
10on(e,t){return e.split(" ").forEach(e=>{this.observers[e]||(this.observers[e]=new Map);let n=this.observers[e].get(t)||0;this.observers[e].set(t,n+1)}),this}off(e,t){if(this.observers[e]){if(!t)return void delete this.observers[e];this.observers[e].delete(t)}}emit(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];this.observers[e]&&Array.from(this.observers[e].entries()).forEach(e=>{let[t,r]=e;for(let e=0;e<r;e++)t(...n)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(t=>{let[r,i]=t;for(let t=0;t<i;t++)r.apply(r,[e,...n])})}}class E extends k{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=e||{},this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){0>this.options.ns.indexOf(e)&&this.options.ns.push(e)}removeNamespaces(e){let t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,n){let i,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=void 0!==o.keySeparator?o.keySeparator:this.options.keySeparator,s=void 0!==o.ignoreJSONStructure?o.ignoreJSONStructure:this.options.ignoreJSONStructure;e.indexOf(".")>-1?i=e.split("."):(i=[e,t],n&&(Array.isArray(n)?i.push(...n):r(n)&&a?i.push(...n.split(a)):i.push(n)));let l=d(this.data,i);return(!l&&!t&&!n&&e.indexOf(".")>-1&&(e=i[0],t=i[1],n=i.slice(2).join(".")),!l&&s&&r(n))?b(this.data&&this.data[e]&&this.data[e][t],n,a):l}addResource(e,t,n,r){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},o=void 0!==i.keySeparator?i.keySeparator:this.options.keySeparator,a=[e,t];
10n&&(a=a.concat(o?n.split(o):n)),e.indexOf(".")>-1&&(a=e.split("."),r=t,t=a[1]),this.addNamespaces(t),c(this.data,a,r),i.silent||this.emit("added",e,t,n,r)}addResources(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(let i in n)(r(n[i])||Array.isArray(n[i]))&&this.addResource(e,t,i,n[i],{silent:!0});i.silent||this.emit("added",e,t,n)}addResourceBundle(e,t,n,r,i){let o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1,skipCopy:!1},a=[e,t];e.indexOf(".")>-1&&(a=e.split("."),r=n,n=t,t=a[1]),this.addNamespaces(t);let s=d(this.data,a)||{};o.skipCopy||(n=JSON.parse(JSON.stringify(n))),r?f(s,n,i):s={...s,...n},c(this.data,a,s),o.silent||this.emit("added",e,t,n)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return void 0!==this.getResource(e,t)}getResourceBundle(e,t){return(t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI)?{...this.getResource(e,t)}:this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){let t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(e=>t[e]&&Object.keys(t[e]).length>0)}toJSON(){return this.data}}var A={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,i){return e.forEach(e=>{this.processors[e]&&(t=this.processors[e].process(t,n,r,i))}),t}};let S={};class C extends k{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(),((e,t,n)=>{e.forEach(e=>{t[e]&&(n[e]=t[e])})})(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","
10i18nFormat","utils"],e,this),this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=x.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;let n=this.resolve(e,t);return n&&void 0!==n.res}extractFromKey(e,t){let n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");let i=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,o=t.ns||this.options.defaultNS||[],a=n&&e.indexOf(n)>-1,s=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!((e,t,n)=>{t=t||"",n=n||"";let r=m.filter(e=>0>t.indexOf(e)&&0>n.indexOf(e));if(0===r.length)return!0;let i=y.getRegExp(`(${r.map(e=>"?"===e?"\\?":e).join("|")})`),o=!i.test(e);if(!o){let t=e.indexOf(n);t>0&&!i.test(e.substring(0,t))&&(o=!0)}return o})(e,n,i);if(a&&!s){let t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:r(o)?[o]:o};let a=e.split(n);(n!==i||n===i&&this.options.ns.indexOf(a[0])>-1)&&(o=a.shift()),e=a.join(i)}return{key:e,namespaces:r(o)?[o]:o}}translate(e,t,n){if("object"!=typeof t&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof t&&(t={...t}),t||(t={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);let i=void 0!==t.returnDetails?t.returnDetails:this.options.returnDetails,o=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,{key:a,namespaces:s}=this.extractFromKey(e[e.length-1],t),l=s[s.length-1],u=t.lng||this.language,c=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(u&&"cimode"===u.toLowerCase()){if(c){let e=t.nsSeparator||this.options.nsSeparator;return i?{res:`${l}${e}${a}`,usedKey:a,exactUsedKey:a,usedLng:u,usedNS:l,usedParams:this.getUsedParamsDetails(t)}:`${l}${e}${a}`}return i?{res:a,usedKey:a,exactUsedKey:a,usedLng:u,usedNS:l,usedParams:this.getUsedParamsDetails(t)}:a}let d=this.resolve(e,t),f=d&&d.res,h=d&&d.usedKey||a,p=d&&d.exactUsedKey||a,g=Object.prototype.toString.apply(f),m=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,y=!this.i18nFormat||this.i18nFormat.handleAsObject,b=!r(f)&&"boolean"!=typeof f&&"number"!=typeof f;if(y&&f&&b&&0>["[object Number]","[object Function]","[object RegExp]"].indexOf(g)&&!(r(m)&&Array.isArray(f))){if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");let e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(h,f,{...t,ns:s}):`key '${a} (${this.language})' returned an object instead of string.`;return i?(d.res=e,d.usedParams=this.getUsedParamsDetails(t),d):e}if(o){let e=Array.isArray(f),n=e?[]:{},r=e?p:h;for(let e in f)if(Object.prototype.hasOwnProperty.call(f,e)){let i=`${r}${o}${e}`;n[e]=this.translate(i,{...t,joinArrays:!1,ns:s}),n[e]===i&&(n[e]=f[e])}f=n}}else if(y&&r(m)&&Array.isArray(f))(f=f.join(m))&&(f=this.extendTranslation(f,e,t,n));else{let i=!1,s=!1,c=void 0!==t.count&&!r(t.count),h=C.hasDefaultValue(t),p=c?this.pluralResolver.getSuffix(u,t.count,t):"",g=t.ordinal&&c?this.pluralResolver.getSuffix(u,t.count,{ordinal:!1}):"",m=c&&!t.ordinal&&0===t.count&&this.pluralResolver.shouldUseIntlApi(),y=m&&t[`defaultValue${this.options.pluralSeparator}zero`]||t[`defaultValue${p}`]||t[`defaultValue${g}`]||t.defaultValue;!this.isValidLookup(f)&&h&&(i=!0,f=y),this.isValidLookup(f)||(s=!0,f=a);let b=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&s?void 0:f,v=h&&y!==f&&this.options.updateMissing;if(s||i||v){if(this.logger.log(v?"updateKey":"missingKey",u,l,a,v?y:f),o){let e=this.resolve(a,{...t,keySeparator:!1});e&&e.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let e=[],n=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&n&&n[0])for(let t=0;t<n.length;t++)e.push(n[t]);else"all"===this.options.saveMissingTo?e=this.languageUtils.toResolveHierarchy(t.lng||this.language):e.push(t.lng||this.language);let r=(e,n,r)=>{let i=h&&r!==f?r:b;this.options.missingKeyHandler?this.options.missingKeyHandler(e,l,n,i,v,t):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(e,l,n,i,v,t),this.emit
10("missingKey",e,l,n,f)};this.options.saveMissing&&(this.options.saveMissingPlurals&&c?e.forEach(e=>{let n=this.pluralResolver.getSuffixes(e,t);m&&t[`defaultValue${this.options.pluralSeparator}zero`]&&0>n.indexOf(`${this.options.pluralSeparator}zero`)&&n.push(`${this.options.pluralSeparator}zero`),n.forEach(n=>{r([e],a+n,t[`defaultValue${n}`]||y)})}):r(e,a,y))}f=this.extendTranslation(f,e,t,d,n),s&&f===a&&this.options.appendNamespaceToMissingKey&&(f=`${l}:${a}`),(s||i)&&this.options.parseMissingKeyHandler&&(f="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${l}:${a}`:a,i?f:void 0):this.options.parseMissingKeyHandler(f))}return i?(d.res=f,d.usedParams=this.getUsedParamsDetails(t),d):f}extendTranslation(e,t,n,i,o){var a=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||i.usedLng,i.usedNS,i.usedKey,{resolved:i});else if(!n.skipInterpolation){let s;n.interpolation&&this.interpolator.init({...n,...{interpolation:{...this.options.interpolation,...n.interpolation}}});let l=r(e)&&(n&&n.interpolation&&void 0!==n.interpolation.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);if(l){let t=e.match(this.interpolator.nestingRegexp);s=t&&t.length}let u=n.replace&&!r(n.replace)?n.replace:n;if(this.options.interpolation.defaultVariables&&(u={...this.options.interpolation.defaultVariables,...u}),e=this.interpolator.interpolate(e,u,n.lng||this.language||i.usedLng,n),l){let t=e.match(this.interpolator.nestingRegexp);s<(t&&t.length)&&(n.nest=!1)}!n.lng&&"v1"!==this.options.compatibilityAPI&&i&&i.res&&(n.lng=this.language||i.usedLng),!1!==n.nest&&(e=this.interpolator.nest(e,function(){for(var e=arguments.length,r=Array(e),i=0;i<e;i++)r[i]=arguments[i];return o&&o[0]===r[0]&&!n.context?(a.logger.warn(`It seems you are nesting recursively key: ${r[0]} in key: ${t[0]}`),null):a.translate(...r,t)},n)),n.interpolation&&this.interpolator.reset()}let s=n.postProcess||this.options.postProcess,l=r(s)?[s]:s;return null!=e&&l&&l.length&&!1!==n.applyPostProcessor&&(e=A.handle(l,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...i,usedParams:this.getUsedParamsDetails(n)},...n}:n,this)),e}resolve(e){let t,n,i,o,a,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return r(e)&&(e=[e]),e.forEach(e=>{if(this.isValidLookup(t))return;let l=this.extractFromKey(e,s),u=l.key;n=u;let c=l.namespaces;this.options.fallbackNS&&(c=c.concat(this.options.fallbackNS));let d=void 0!==s.count&&!r(s.count),f=d&&!s.ordinal&&0===s.count&&this.pluralResolver.shouldUseIntlApi(),h=void 0!==s.context&&(r(s.context)||"number"==typeof s.context)&&""!==s.context,p=s.lngs?s.lngs:this.languageUtils.toResolveHierarchy(s.lng||this.language,s.fallbackLng);
10c.forEach(e=>{this.isValidLookup(t)||(a=e,!S[`${p[0]}-${e}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(a)&&(S[`${p[0]}-${e}`]=!0,this.logger.warn(`key "${n}" for languages "${p.join(", ")}" won't get resolved as namespace "${a}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),p.forEach(n=>{let r;if(this.isValidLookup(t))return;o=n;let a=[u];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(a,u,n,e,s);else{let e;d&&(e=this.pluralResolver.getSuffix(n,s.count,s));let t=`${this.options.pluralSeparator}zero`,r=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(d&&(a.push(u+e),s.ordinal&&0===e.indexOf(r)&&a.push(u+e.replace(r,this.options.pluralSeparator)),f&&a.push(u+t)),h){let n=`${u}${this.options.contextSeparator}${s.context}`;a.push(n),d&&(a.push(n+e),s.ordinal&&0===e.indexOf(r)&&a.push(n+e.replace(r,this.options.pluralSeparator)),f&&a.push(n+t))}}for(;r=a.pop();)this.isValidLookup(t)||(i=r,t=this.getResource(n,e,r,s))}))})}),{res:t,usedKey:n,exactUsedKey:i,usedLng:o,usedNS:a}}isValidLookup(e){return void 0!==e&&!(!this.options.returnNull&&null===e)&&!(!this.options.returnEmptyString&&""===e)}getResource(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}getUsedParamsDetails(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.replace&&!r(e.replace),n=t?e.replace:e;if(t&&void 0!==e.count&&(n.count=e.count),this.options.interpolation.defaultVariables&&(n={...this.options.interpolation.defaultVariables,...n}),!t)for(let e of(n={...n},["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"]))delete n[e];return n}static hasDefaultValue(e){let t="defaultValue";for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t===n.substring(0,t.length)&&void 0!==e[n])return!0;return!1}}let O=e=>e.charAt(0).toUpperCase()+e.slice(1);class T{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=x.create("languageUtils")}getScriptPartFromCode(e){if(!(e=v(e))||0>e.indexOf("-"))return null;let t=e.split("-");return 2===t.length||(t.pop(),"x"===t[t.length-1].toLowerCase())?null:this.formatLanguageCode(t.join("-"))}getLanguagePartFromCode(e){if(!(e=v(e))||0>e.indexOf("-"))return e;let t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(r(e)&&e.indexOf("-")>-1){if("u">typeof Intl&&void 0!==Intl.getCanonicalLocales)try{let t=Intl.getCanonicalLocales(e)[0];if(t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t)return t}catch(e){}let t=["hans","hant","latn","cyrl","cans","mong","arab"],n=e.split("-");return this.options.lowerCaseLng?n=n.map(e=>e.toLowerCase()):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=O(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=O(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=O(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){let t;return e?(e.forEach(e=>{if(t)return;let n=this.formatLanguageCode(e);(!this.options.supportedLngs||this.isSupportedCode(n))&&(t=n)}),!t&&this.options.supportedLngs&&e.forEach(e=>{if(t)return;let n=this.getLanguagePartFromCode(e);if(this.isSupportedCode(n))return t=n;t=this.options.supportedLngs.find(e=>{if(e===n||!(0>e.indexOf("-")&&0>n.indexOf("-"))&&(e.indexOf("-")>0&&0>n.indexOf("-")&&e.substring(0,e.indexOf("-"))===n||0===e.indexOf(n)&&n.length>1))return e})}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}getFallbackCodes(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),r(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let n=e[t];
10return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}toResolveHierarchy(e,t){let n=this.getFallbackCodes(t||this.options.fallbackLng||[],e),i=[],o=e=>{e&&(this.isSupportedCode(e)?i.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return r(e)&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?("languageOnly"!==this.options.load&&o(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&o(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&o(this.getLanguagePartFromCode(e))):r(e)&&o(this.formatLanguageCode(e)),n.forEach(e=>{0>i.indexOf(e)&&o(this.formatLanguageCode(e))}),i}}let D=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],I={1:e=>Number(e>1),2:e=>Number(1!=e),3:e=>0,4:e=>Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2),5:e=>Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5),6:e=>Number(1==e?0:e>=2&&e<=4?1:2),7:e=>Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2),8:e=>Number(1==e?0:2==e?1:8!=e&&11!=e?2:3),9:e=>Number(e>=2),10:e=>Number(1==e?0:2==e?1:e<7?2:e<11?3:4),11:e=>Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3),12:e=>Number(e%10!=1||e%100==11),13:e=>Number(0!==e),14:e=>Number(1==e?0:2==e?1:3==e?2:3),15:e=>Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2),16:e=>Number(e%10==1&&e%100!=11?0:0!==e?1:2),17:e=>Number(+(1!=e&&(e%10!=1||e%100==11))),18:e=>Number(0==e?0:1==e?1:2),19:e=>Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3),20:e=>Number(1==e?0:0==e||e%100>0&&e%100<20?1:2),21:e=>Number(e%100==1?1:e%100==2?2:3*(e%100==3||e%100==4)),22:e=>Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)},R=["v1","v2","v3"],j=["v4"],N={zero:0,one:1,two:2,few:3,many:4,other:5};class M{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.languageUtils=e,this.options=t,this.logger=x.create("pluralResolver"),(!this.options.compatibilityJSON||j.includes(this.options.compatibilityJSON))&&("u"<typeof Intl||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=(()=>{let e={};return D.forEach(t=>{t.lngs.forEach(n=>{e[n]={numbers:t.nr,plurals:I[t.fc]}})}),e})(),this.pluralRulesCache={}}addRule(e,t){this.rules[e]=t}clearCache(){this.pluralRulesCache={}}getRule(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi()){let n,r=v("dev"===e?"en":e),i=t.ordinal?"ordinal":"cardinal",o=JSON.stringify({cleanedCode:r,type:i});if(o in this.pluralRulesCache)return this.pluralRulesCache[o];try{n=new Intl.PluralRules(r,{type:i})}catch(i){if(!e.match(/-|_/))return;let r=this.languageUtils.getLanguagePartFromCode(e);n=this.getRule(r,t)}return this.pluralRulesCache[o]=n,n}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}needsPlural(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRule(e,t);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}getPluralFormsOfKey(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};
10return this.getSuffixes(e,n).map(e=>`${t}${e}`)}getSuffixes(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRule(e,t);return n?this.shouldUseIntlApi()?n.resolvedOptions().pluralCategories.sort((e,t)=>N[e]-N[t]).map(e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${e}`):n.numbers.map(n=>this.getSuffix(e,n,t)):[]}getSuffix(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this.getRule(e,n);return r?this.shouldUseIntlApi()?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${r.select(t)}`:this.getSuffixRetroCompatible(r,t):(this.logger.warn(`no plural rule found for: ${e}`),"")}getSuffixRetroCompatible(e,t){let n=e.noAbs?e.plurals(t):e.plurals(Math.abs(t)),r=e.numbers[n];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===r?r="plural":1===r&&(r=""));let i=()=>this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString();return"v1"===this.options.compatibilityJSON?1===r?"":"number"==typeof r?`_plural_${r.toString()}`:i():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?i():this.options.prepend&&n.toString()?this.options.prepend+n.toString():n.toString()}
10shouldUseIntlApi(){return!R.includes(this.options.compatibilityJSON)}}let F=function(e,t,n){let i,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:".",a=!(arguments.length>4)||void 0===arguments[4]||arguments[4],s=void 0!==(i=d(e,n))?i:d(t,n);return!s&&a&&r(n)&&void 0===(s=b(e,n,o))&&(s=b(t,n,o)),s};class ${constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=x.create("interpolator"),this.options=e,this.format=e.interpolation&&e.interpolation.format||(e=>e),this.init(e)}init(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});let{escape:t,escapeValue:n,useRawValueToEscape:r,prefix:i,prefixEscaped:o,suffix:a,suffixEscaped:s,formatSeparator:l,unescapeSuffix:u,unescapePrefix:c,nestingPrefix:d,nestingPrefixEscaped:f,nestingSuffix:h,nestingSuffixEscaped:g,nestingOptionsSeparator:m,maxReplaces:y,alwaysFormat:b}=e.interpolation;this.escape=void 0!==t?t:p,this.escapeValue=void 0===n||n,this.useRawValueToEscape=void 0!==r&&r,this.prefix=i?i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"):o||"{{",this.suffix=a?a.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"):s||"}}",this.formatSeparator=l||",",this.unescapePrefix=u?"":c||"-",this.unescapeSuffix=this.unescapePrefix?"":u||"",this.nestingPrefix=d?d.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"):f||"$t(".replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),this.nestingSuffix=h?h.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"):g||")".replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),this.nestingOptionsSeparator=m||",",this.maxReplaces=y||1e3,this.alwaysFormat=void 0!==b&&b,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){let e=(e,t)=>e&&e.source===t?(e.lastIndex=0,e):RegExp(t,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(e,t,n,i){let a,s,l,u=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},c=e=>{if(0>e.indexOf(this.formatSeparator)){let r=F(t,u,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(r,void 0,n,{...i,...t,interpolationkey:e}):r}let r=e.split(this.formatSeparator),o=r.shift().trim(),a=r.join(this.formatSeparator).trim();return this.format(F(t,u,o,this.options.keySeparator,this.options.ignoreJSONStructure),a,n,{...i,...t,interpolationkey:o})};this.resetRegExp();let d=i&&i.missingInterpolationHandler||this.options.missingInterpolationHandler,f=i&&i.interpolation&&void 0!==i.interpolation.skipOnVariables?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>e.replace(/\$/g,"$$$$")},{regex:this.regexp,safeValue:e=>this.escapeValue?this.escape(e).replace(/\$/g,"$$$$"):e.replace(/\$/g,"$$$$")}].forEach(t=>{for(l=0;a=t.regex.exec(e);){let n=a[1].trim();if(void 0===(s=c(n)))if("function"==typeof d){let t=d(e,a,i);s=r(t)?t:""}else if(i&&Object.prototype.hasOwnProperty.call(i,n))s="";else if(f){s=a[0];continue}else this.logger.warn(`missed to pass in variable ${n} for interpolating ${e}`),s="";else r(s)||this.useRawValueToEscape||(s=o(s));let u=t.safeValue(s);if(e=e.replace(a[0],u),f?(t.regex.lastIndex+=s.length,t.regex.lastIndex-=a[0].length):t.regex.lastIndex=0,++l>=this.maxReplaces)break}}),e}nest(e,t){let n,i,a,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},l=(e,t)=>{let n=this.nestingOptionsSeparator;if(0>e.indexOf(n))return e;let r=e.split(RegExp(`${n}[ ]*{`)),i=`{${r[1]}`;e=r[0];let o=(i=this.interpolate(i,a)).match(/'/g),s=i.match(/"/g);(o&&o.length%2==0&&!s||s.length%2!=0)&&(i=i.replace(/'/g,'"'));try{a=JSON.parse(i),t&&(a={...t,...a})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${n}${i}`}return a.defaultValue&&a.defaultValue.indexOf(this.prefix)>-1&&delete a.defaultValue,e};for(;n=this.nestingRegexp.exec(e);){let u=[];(a=(a={...s}).replace&&!r(a.replace)?a.replace:a).applyPostProcessor=!1,delete a.defaultValue;
10let c=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){let e=n[1].split(this.formatSeparator).map(e=>e.trim());n[1]=e.shift(),u=e,c=!0}if((i=t(l.call(this,n[1].trim(),a),a))&&n[0]===e&&!r(i))return i;r(i)||(i=o(i)),i||(this.logger.warn(`missed to resolve ${n[1]} for nesting ${e}`),i=""),c&&(i=u.reduce((e,t)=>this.format(e,t,s.lng,{...s,interpolationkey:n[1].trim()}),i.trim())),e=e.replace(n[0],i),this.regexp.lastIndex=0}return e}}let L=e=>{let t={};return(n,r,i)=>{let o=i;i&&i.interpolationkey&&i.formatParams&&i.formatParams[i.interpolationkey]&&i[i.interpolationkey]&&(o={...o,[i.interpolationkey]:void 0});let a=r+JSON.stringify(o),s=t[a];return s||(s=e(v(r),i),t[a]=s),s(n)}};class P{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=x.create("formatter"),this.options=e,this.formats={number:L((e,t)=>{let n=new Intl.NumberFormat(e,{...t});return e=>n.format(e)}),currency:L((e,t)=>{let n=new Intl.NumberFormat(e,{...t,style:"currency"});return e=>n.format(e)}),datetime:L((e,t)=>{let n=new Intl.DateTimeFormat(e,{...t});return e=>n.format(e)}),relativetime:L((e,t)=>{let n=new Intl.RelativeTimeFormat(e,{...t});return e=>n.format(e,t.range||"day")}),list:L((e,t)=>{let n=new Intl.ListFormat(e,{...t});return e=>n.format(e)})},this.init(e)}init(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};this.formatSeparator=t.interpolation.formatSeparator||","}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=L(t)}format(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=t.split(this.formatSeparator);if(i.length>1&&i[0].indexOf("(")>1&&0>i[0].indexOf(")")&&i.find(e=>e.indexOf(")")>-1)){let e=i.findIndex(e=>e.indexOf(")")>-1);i[0]=[i[0],...i.splice(1,e)].join(this.formatSeparator)}return i.reduce((e,t)=>{let{formatName:i,formatOptions:o}=(e=>{let t=e.toLowerCase().trim(),n={};if(e.indexOf("(")>-1){let r=e.split("(");t=r[0].toLowerCase().trim();let i=r[1].substring(0,r[1].length-1);"currency"===t&&0>i.indexOf(":")?n.currency||(n.currency=i.trim()):"relativetime"===t&&0>i.indexOf(":")?n.range||(n.range=i.trim()):i.split(";").forEach(e=>{if(e){let[t,...r]=e.split(":"),i=r.join(":").trim().replace(/^'+|'+$/g,""),o=t.trim();n[o]||(n[o]=i),"false"===i&&(n[o]=!1),"true"===i&&(n[o]=!0),isNaN(i)||(n[o]=parseInt(i,10))}})}return{formatName:t,formatOptions:n}})(t);if(this.formats[i]){let t=e;try{let a=r&&r.formatParams&&r.formatParams[r.interpolationkey]||{},s=a.locale||a.lng||r.locale||r.lng||n;t=this.formats[i](e,s,{...o,...r,...a})}catch(e){this.logger.warn(e)}return t}return this.logger.warn(`there was no format function for ${i}`),e},e)}}class z extends k{constructor(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};super(),this.backend=e,this.store=t,this.services=n,this.languageUtils=n.languageUtils,this.options=r,this.logger=x.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=r.maxParallelReads||10,this.readingCalls=0,this.maxRetries=r.maxRetries>=0?r.maxRetries:5,this.retryTimeout=r.retryTimeout>=1?r.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(n,r.backend,r)}queueLoad(e,t,n,r){let i={},o={},a={},s={};return e.forEach(e=>{let r=!0;t.forEach(t=>{let a=`${e}|${t}`;!n.reload&&this.store.hasResourceBundle(e,t)?this.state[a]=2:this.state[a]<0||(1===this.state[a]?void 0===o[a]&&(o[a]=!0):(this.state[a]=1,r=!1,void 0===o[a]&&(o[a]=!0),void 0===i[a]&&(i[a]=!0),void 0===s[t]&&(s[t]=!0)))}),r||(a[e]=!0)}),(Object.keys(i).length||Object.keys(o).length)&&this.queue.push({pending:o,pendingCount:Object.keys(o).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(i),pending:Object.keys(o),toLoadLanguages:Object.keys(a),toLoadNamespaces:Object.keys(s)}}loaded(e,t,n){let r=e.split("|"),i=r[0],o=r[1];t&&this.emit("failedLoading",i,o,t),!t&&n&&this.store.addResourceBundle(i,o,n,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&n&&(this.state[e]=0);let a={};this.queue.forEach(n=>{((e,t,n,r)=>{let{obj:i,k:o}=u(e,t,Object);i[o]=i[o]||[],i[o].push(n)}
10)(n.loaded,[i],o),void 0!==n.pending[e]&&(delete n.pending[e],n.pendingCount--),t&&n.errors.push(t),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEach(e=>{a[e]||(a[e]={});let t=n.loaded[e];t.length&&t.forEach(t=>{void 0===a[e][t]&&(a[e][t]=!0)})}),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())}),this.emit("loaded",a),this.queue=this.queue.filter(e=>!e.done)}read(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,o=arguments.length>5?arguments[5]:void 0;if(!e.length)return o(null,{});if(this.readingCalls>=this.maxParallelReads)return void this.waitingReads.push({lng:e,ns:t,fcName:n,tried:r,wait:i,callback:o});this.readingCalls++;let a=(a,s)=>{if(this.readingCalls--,this.waitingReads.length>0){let e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}a&&s&&r<this.maxRetries?setTimeout(()=>{this.read.call(this,e,t,n,r+1,2*i,o)},i):o(a,s)},s=this.backend[n].bind(this.backend);if(2===s.length){try{let n=s(e,t);n&&"function"==typeof n.then?n.then(e=>a(null,e)).catch(a):a(null,n)}catch(e){a(e)}return}return s(e,t,a)}prepareLoading(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),i&&i();r(e)&&(e=this.languageUtils.toResolveHierarchy(e)),r(t)&&(t=[t]);let o=this.queueLoad(e,t,n,i);if(!o.toLoad.length)return o.pending.length||i(),null;o.toLoad.forEach(e=>{this.loadOne(e)})}load(e,t,n){this.prepareLoading(e,t,{},n)}reload(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}loadOne(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e.split("|"),r=n[0],i=n[1];this.read(r,i,"read",void 0,void 0,(n,o)=>{n&&this.logger.warn(`${t}loading namespace ${i} for language ${r} failed`,n),!n&&o&&this.logger.log(`${t}loaded namespace ${i} for language ${r}`,o),this.loaded(e,n,o)})}saveMissing(e,t,n,r,i){let o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t))return void this.logger.warn(`did not save key "${n}" as the namespace "${t}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");if(null!=n&&""!==n){if(this.backend&&this.backend.create){let s={...o,isUpdate:i},l=this.backend.create.bind(this.backend);if(l.length<6)try{let i;(i=5===l.length?l(e,t,n,r,s):l(e,t,n,r))&&"function"==typeof i.then?i.then(e=>a(null,e)).catch(a):a(null,i)}catch(e){a(e)}else l(e,t,n,r,a,s)}e&&e[0]&&this.store.addResource(e[0],t,n,r)}}}let U=()=>({debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if("object"==typeof e[1]&&(t=e[1]),r(e[1])&&(t.defaultValue=e[1]),r(e[2])&&(t.tDescription=e[2]),"object"==typeof e[2]||"object"==typeof e[3]){let n=e[3]||e[2];Object.keys(n).forEach(e=>{t[e]=n[e]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),B=e=>(r(e.ns)&&(e.ns=[e.ns]),r(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),r(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&0>e.supportedLngs.indexOf("cimode")&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e),H=()=>{};class q extends k{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if(super(),this.options=B(e),this.services={},this.logger=x,this.modules={external:[]},(e=>
10{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(t=>{"function"==typeof e[t]&&(e[t]=e[t].bind(e))})})(this),t&&!this.isInitialized&&!e.isClone){if(!this.options.initImmediate)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(){var e=this;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,"function"==typeof t&&(n=t,t={}),!t.defaultNS&&!1!==t.defaultNS&&t.ns&&(r(t.ns)?t.defaultNS=t.ns:0>t.ns.indexOf("translation")&&(t.defaultNS=t.ns[0]));let o=U();this.options={...o,...this.options,...B(t)},"v1"!==this.options.compatibilityAPI&&(this.options.interpolation={...o.interpolation,...this.options.interpolation}),void 0!==t.keySeparator&&(this.options.userDefinedKeySeparator=t.keySeparator),void 0!==t.nsSeparator&&(this.options.userDefinedNsSeparator=t.nsSeparator);let a=e=>e?"function"==typeof e?new e:e:null;if(!this.options.isClone){let t;this.modules.logger?x.init(a(this.modules.logger),this.options):x.init(null,this.options),this.modules.formatter?t=this.modules.formatter:"u">typeof Intl&&(t=P);let n=new T(this.options);this.store=new E(this.options.resources,this.options);let r=this.services;r.logger=x,r.resourceStore=this.store,r.languageUtils=n,r.pluralResolver=new M(n,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),t&&(!this.options.interpolation.format||this.options.interpolation.format===o.interpolation.format)&&(r.formatter=a(t),r.formatter.init(r,this.options),this.options.interpolation.format=r.formatter.format.bind(r.formatter)),r.interpolator=new $(this.options),r.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},r.backendConnector=new z(a(this.modules.backend),r.resourceStore,r,this.options),r.backendConnector.on("*",function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];e.emit(t,...r)}),this.modules.languageDetector&&(r.languageDetector=a(this.modules.languageDetector),r.languageDetector.init&&r.languageDetector.init(r,this.options.detection,this.options)),this.modules.i18nFormat&&(r.i18nFormat=a(this.modules.i18nFormat),r.i18nFormat.init&&r.i18nFormat.init(this)),this.translator=new C(this.services,this.options),this.translator.on("*",function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];e.emit(t,...r)}),this.modules.external.forEach(e=>{e.init&&e.init(this)})}if(this.format=this.options.interpolation.format,n||(n=H),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){let e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&"dev"!==e[0]&&(this.options.lng=e[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(t=>{this[t]=function(){return e.store[t](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(t=>{this[t]=function(){return e.store[t](...arguments),e}});let s=i(),l=()=>{let e=(e,t)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),s.resolve(t),n(e,t)};if(this.languages&&"v1"!==this.options.compatibilityAPI&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initImmediate?l():setTimeout(l,0),s}loadResources(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:H,n=t,i=r(e)?e:this.language;if("function"==typeof e&&(n=e),!this.options.resources||this.options.partialBundledLanguages){if(i&&"cimode"===i.toLowerCase()&&(!this.options.preload||0===this.options.preload.length))return n();let e=[],t=t=>{t&&"cimode"!==t&&this.services.languageUtils.toResolveHierarchy(t).forEach(t=>{"cimode"!==t&&0>e.indexOf(t)&&e.push(t)})};i?t(i):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(e
10=>t(e)),this.options.preload&&this.options.preload.forEach(e=>t(e)),this.services.backendConnector.load(e,this.options.ns,e=>{e||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),n(e)})}else n(null)}reloadResources(e,t,n){let r=i();return"function"==typeof e&&(n=e,e=void 0),"function"==typeof t&&(n=t,t=void 0),e||(e=this.languages),t||(t=this.options.ns),n||(n=H),this.services.backendConnector.reload(e,t,e=>{r.resolve(),n(e)}),r}use(e){if(!e)throw Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&A.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(let e=0;e<this.languages.length;e++){let t=this.languages[e];if(!(["cimode","dev"].indexOf(t)>-1)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}}changeLanguage(e,t){var n=this;this.isLanguageChangingTo=e;let o=i();this.emit("languageChanging",e);let a=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},s=(e,r)=>{r?(a(r),this.translator.changeLanguage(r),this.isLanguageChangingTo=void 0,this.emit("languageChanged",r),this.logger.log("languageChanged",r)):this.isLanguageChangingTo=void 0,o.resolve(function(){return n.t(...arguments)}),t&&t(e,function(){return n.t(...arguments)})},l=t=>{e||t||!this.services.languageDetector||(t=[]);let n=r(t)?t:this.services.languageUtils.getBestMatchFromCodes(t);n&&(this.language||a(n),this.translator.language||this.translator.changeLanguage(n),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(n)),this.loadResources(n,e=>{s(e,n)})};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(l):this.services.languageDetector.detect(l):l(e):l(this.services.languageDetector.detect()),o}getFixedT(e,t,n){var i=this;let o=function(e,t){let r,a;if("object"!=typeof t){for(var s=arguments.length,l=Array(s>2?s-2:0),u=2;u<s;u++)l[u-2]=arguments[u];r=i.options.overloadTranslationOptionHandler([e,t].concat(l))}else r={...t};r.lng=r.lng||o.lng,r.lngs=r.lngs||o.lngs,r.ns=r.ns||o.ns,""!==r.keyPrefix&&(r.keyPrefix=r.keyPrefix||n||o.keyPrefix);let c=i.options.keySeparator||".";return a=r.keyPrefix&&Array.isArray(e)?e.map(e=>`${r.keyPrefix}${c}${e}`):r.keyPrefix?`${r.keyPrefix}${c}${e}`:e,i.t(a,r)};return r(e)?o.lng=e:o.lngs=e,o.ns=t,o.keyPrefix=n,o}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;
10if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;let n=t.lng||this.resolvedLanguage||this.languages[0],r=!!this.options&&this.options.fallbackLng,i=this.languages[this.languages.length-1];if("cimode"===n.toLowerCase())return!0;let o=(e,t)=>{let n=this.services.backendConnector.state[`${e}|${t}`];return -1===n||0===n||2===n};if(t.precheck){let e=t.precheck(this,o);if(void 0!==e)return e}return!!(this.hasResourceBundle(n,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||o(n,e)&&(!r||o(i,e)))}loadNamespaces(e,t){let n=i();return this.options.ns?(r(e)&&(e=[e]),e.forEach(e=>{0>this.options.ns.indexOf(e)&&this.options.ns.push(e)}),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}loadLanguages(e,t){let n=i();r(e)&&(e=[e]);let o=this.options.preload||[],a=e.filter(e=>0>o.indexOf(e)&&this.services.languageUtils.isSupportedCode(e));return a.length?(this.options.preload=o.concat(a),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}dir(e){return(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),e)?["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf((this.services&&this.services.languageUtils||new T(U())).getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr":"rtl"}static createInstance(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new q(e,t)}cloneInstance(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:H,n=e.forkResourceStore;n&&delete e.forkResourceStore;let r={...this.options,...e,isClone:!0},i=new q(r);return(void 0!==e.debug||void 0!==e.prefix)&&(i.logger=i.logger.clone(e)),["store","services","language"].forEach(e=>{i[e]=this[e]}),i.services={...this.services},i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},n&&(i.store=new E(this.store.data,r),i.services.resourceStore=i.store),i.translator=new C(i.services,r),i.translator.on("*",function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];i.emit(e,...n)}),i.init(r,t),i.translator.options=r,i.translator.backendConnector.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}let V=q.createInstance();V.createInstance=q.createInstance;let G=V.createInstance;V.dir,V.init,V.loadResources,V.reloadResources,V.use,V.changeLanguage,V.getFixedT,V.t,V.exists,V.setDefaultNamespace,V.hasLoadedNamespace,V.loadNamespaces,V.loadLanguages},50994:(e,t,n)=>{var r=n(67231),i="object"==typeof self&&self&&self.Object===Object&&self;e.exports=r||i||Function("return this")()},51023:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(74548),i=n(51603);let o=(0,r.A)(i.A,"Map")},51092:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(90756),i=n(29035),o=Object.prototype.hasOwnProperty;let a=(0,i.A)(function(e,t,n){o.call(e,n)?e[n].push(t):(0,r.A)(e,n,[t])})},51204:(e,t,n)=>{"use strict";n.d(t,{TM:()=>c,sC:()=>d,zR:()=>u});var r,i,o=n(65672);(r=i||(i={})).Pop="POP",r.Push="PUSH",r.Replace="REPLACE";var a=function(e){return e},s="beforeunload",l="popstate";function u(e){void 0===e&&(e={});var t=e.window,n=void 0===t?document.defaultView:t,r=n.history;function u(){var e=n.location,t=e.pathname,i=e.search,o=e.hash,s=r.state||{};return[s.idx,a({pathname:t,search:i,hash:o,state:s.usr||null,key:s.key||"default"})]}var c=null;n.addEventListener(l,function(){if(c)_.call(c),c=null;else{var e=i.Pop,t=u(),n=t[0],r=t[1];if(_.length){if(null!=n){var o=b-n;o&&(c={action:e,location:r,retry:function(){C(-1*o)}},C(o))}}else S(e)}});var d=i.Pop,f=u(),b=f[0],v=f[1],w=p(),_=p();function x(e){return"string"==typeof e?e:m(e)}function k(e,t){return void 0===t&&(t=null),a((0,o.A)({pathname:v.pathname,hash:"",search:""},"string"==typeof e?y(e):e,{state:t,key:g()}))}function E(e,t){return[{usr:e.state,key:e.key,idx:t},x(e)]}function A(e,t,n){return!_.length||(_.call({action:e,location:t,retry:n}),!1)}function S(e){d=e;var t=u();b=t[0],v=t[1],w.call({action:d,location:v})}function C(e){r.go(e)}return null==b&&(b=0,r.replaceState((0,o.A)({},r.state,{idx:b}),"")),{get action(){return d},get location(){return v},createHref:x,push:function e(t,o){var a=i.Push,s=k(t,o);if(A(a,s,function(){e(t,o)})){var l=E(s,b+1),u=l[0],c=l[1];try{r.pushState(u,"",c)}catch(e){n.location.assign(c)}S(a)}},replace:function e(t,n){var o=i.Replace,a=k(t,n);if(A(o,a,function(){e(t,n)})){var s=E(a,b),l=s[0],u=s[1];r.replaceState(l,"",u),S(o)}},go:C,back:function(){C(-1)},forward:function(){C(1)},listen:function(e){return w.push(e)},block:function(e){var t=_.push(e);return 1===_.length&&n.addEventListener(s,h),function(){t(),_.length||n.removeEventListener(s,h)}}}}function c(e){void 0===e&&(e={});var t=e.window,n=void 0===t?document.defaultView:t,r=n.history;function u(){var e=y(n.location.hash.substr(1)),t=e.pathname,i=e.search,o=e.hash,s=r.state||{};return[s.idx,a({pathname:void 0===t?"/":t,search:void 0===i?"":i,hash:void 0===o?"":o,state:s.usr||null,key:s.key||"default"})]}var c=null;function d(){if(c)x.call(c),c=null;else{var e=i.Pop,t=u(),n=t[0],r=t[1];if(x.length){if(null!=n){var o=v-n;o&&(c={action:e,location:r,retry:function(){O(-1*o)}},O(o))}}else C(e)}}n.addEventListener(l,d),n.addEventListener("hashchange",function(){m(u()[1])!==m(w)&&d()});var f=i.Pop,b=u(),v=b[0],w=b[1],_=p(),x=p();function k(e){return function(){var e=document.querySelector("base"),t="";if(e&&e.getAttribute("href")){var r=n.location.href,i=r.indexOf("#");t=-1===i?r:r.slice(0,i)}return t}()+"#"+("string"==typeof e?e:m(e))}function E(e,t){return void 0===t&&(t=null),a((0,o.A)({pathname:w.pathname,hash:"",search:""},"string"==typeof e?y(e):e,{state:t,key:g()}))}function A(e,t){return[{usr:e.state,key:e.key,idx:t},k(e)]}function S(e,t,n){return!x.length||(x.call({action:e,location:t,retry:n}),!1)}function C(e){f=e;var t=u();v=t[0],w=t[1],_.call({action:f,location:w})}function O(e){r.go(e)}return null==v&&(v=0,r.replaceState((0,o.A)({},r.state,{idx:v}),"")),{get action(){return f},get location(){return w},createHref:k,push:function e(t,o){var a=i.Push,s=E(t,o);if(S(a,s,function(){e(t,o)})){var l=A(s,v+1),u=l[0],c=l[1];try{r.pushState(u,"",c)}catch(e){n.location.assign(c)}C(a)}},replace:function e(t,n){var o=i.Replace,a=E(t,n);if(S(o,a,function(){e(t,n)})){var s=A(a,v),l=s[0],u=s[1];r.replaceState(l,"",u),C(o)}},go:O,back:function(){O(-1)},forward:function(){O(1)},listen:function(e){return _.push(e)},block:function(e){var t=x.push(e);return 1===x.length&&n.addEventListener(s,h),function(){t(),x.length||n.removeEventListener(s,h)}}}}function d(e){void 0===e&&(e={});var t=e,n=t.initialEntries,r=t.initialIndex,s=(void 0===n?["/"]:n).map(function(e){return a((0,o.A)({pathname:"/",search:"",hash:"",state:null,key:g()},"string"==typeof e?y(e):e))}),l=f(null==r?s.length-1:r,0,s.length-1),u=i.Pop,c=s[l],d=p(),h=p();function b(e,t){return void 0===t&&(t=null),a((0,o.A)({pathname:c.pathname,search:"",hash:""},"string"==typeof e?y(e):e,{state:t,key:g()}))}function v(e,t,n){return!h.length||(h.call({action:e,location:t,retry:n}),!1)}function w(e,t){u=e,c=t,d.call({action:u,location:c})}function _(e){var t=f(l+e,0,s.length-1),n=i.Pop,r=s[t];v(n,r,function(){_(e)})&&(l=t,w(n,r))}return{get index(){return l},get action(){return u},get location(){return c},createHref:function(e){return"string"==typeof e?e:m(e)},push:function e(t,n){var r=i.Push,o=b(t,n);v(r,o,function(){e(t,n)})&&(l+=1,s.splice(l,s.length,o),w(r,o))},replace:function e(t,n){var r=i.Replace,o=b(t,n);v(r,o,function(){e(t,n)})&&(s[l]=o,w(r,o))},go:_,back:function(){_(-1)},forward:function(){_(1)},listen:function(e){return d.push(e)},block:function(e){return h.push(e)}}}function f(e,t,n){return Math.min(Math.max(e,t),n)}function h(e){e.preventDefault(),e.returnValue=""}function p(){var e=[];return{get length(){return e.length},push:function(t){return e.push(t),function(){e=e.filter(function(e){return e!==t})}}
10,call:function(t){e.forEach(function(e){return e&&e(t)})}}}function g(){return Math.random().toString(36).substr(2,8)}function m(e){var t=e.pathname,n=void 0===t?"/":t,r=e.search,i=void 0===r?"":r,o=e.hash,a=void 0===o?"":o;return i&&"?"!==i&&(n+="?"===i.charAt(0)?i:"?"+i),a&&"#"!==a&&(n+="#"===a.charAt(0)?a:"#"+a),n}function y(e){var t={};if(e){var n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));var r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}},51326:(e,t,n)=>{"use strict";n.d(t,{W:()=>s});var r=n(70061),i=n(4644),o=n(92922),a=n(92477);function s(e,t,n){var s;let l,u,c,[d,f,h]=(0,r.x)(n?.in,e,e,t),p=(0,i.z)(f,h),g=Math.abs(function(e,t,n){let[i,o]=(0,r.x)(void 0,e,t);return 12*(i.getFullYear()-o.getFullYear())+(i.getMonth()-o.getMonth())}(f,h));if(g<1)return 0;1===f.getMonth()&&f.getDate()>27&&f.setDate(30),f.setMonth(f.getMonth()-p*g);let m=(0,i.z)(f,h)===-p;l=(0,a.a)(d,void 0),+(0,o.D)(l,void 0)==+(s=void 0,c=(u=(0,a.a)(l,s?.in)).getMonth(),u.setFullYear(u.getFullYear(),c+1,0),u.setHours(23,59,59,999),u)&&1===g&&1===(0,i.z)(d,h)&&(m=!1);let y=p*(g-m);return 0===y?0:y}},51586:(e,t,n)=>{var r=n(41723),i=n(25157),o=n(61670),a=n(86594),s=n(15418);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},51603:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(66234),i="object"==typeof self&&self&&self.Object===Object&&self;let o=r.A||i||Function("return this")()},52027:e=>{var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},52197:(e,t,n)=>{"use strict";let r=Symbol("SemVer ANY");class i{static get ANY(){return r}constructor(e,t){if(t=o(t),e instanceof i)if(!!t.loose===e.loose)return e;else e=e.value;u("comparator",e=e.trim().split(/\s+/).join(" "),t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===r?this.value="":this.value=this.operator+this.semver.version,u("comp",this)}parse(e){let t=this.options.loose?a[s.COMPARATORLOOSE]:a[s.COMPARATOR],n=e.match(t);if(!n)throw TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new c(n[2],this.options.loose):this.semver=r}toString(){return this.value}test(e){if(u("Comparator.test",e,this.options.loose),this.semver===r||e===r)return!0;if("string"==typeof e)try{e=new c(e,this.options)}catch(e){return!1}return l(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof i))throw TypeError("a Comparator is required");return""===this.operator?""===this.value||new d(e.value,t).test(this.value):""===e.operator?""===e.value||new d(this.value,t).test(e.semver):!((t=o(t)).includePrerelease&&("<0.0.0-0"===this.value||"<0.0.0-0"===e.value)||!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0")))&&!!(this.operator.startsWith(">")&&e.operator.startsWith(">")||this.operator.startsWith("<")&&e.operator.startsWith("<")||this.semver.version===e.semver.version&&this.operator.includes("=")&&e.operator.includes("=")||l(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||l(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">"))}}e.exports=i;let o=n(97230),{safeRe:a,t:s}=n(83899),l=n(79218),u=n(74317),c=n(79177),d=n(3338)},52308:(e,t,n)=>{"use strict";n.d(t,{B3:()=>el,JW:()=>k,me:()=>ew,sR:()=>ex});var r=n(46983);let i={sizes:[{distance:-4,size:19},{distance:-4,size:25},{distance:-8,size:33},{distance:-12,size:49}],focusRing:{offset:1,width:1}},o={textWeight:"medium",border:{width:1},focusRing:{offset:-1,width:1}},a={border:{width:1},focusRing:{offset:-1,width:1},shadow:{outline:.5}},s=[320,640,960,1280,1600,1920],l=[360,600,900,1200,1800,2400],u={dialog:{zOffset:600},popover:{zOffset:400},tooltip:{zOffset:200}},c=[0,1,3,6,9,12,21],d=[null,{umbra:[0,0,0,0],penumbra:[0,0,0,0],ambient:[0,0,0,0]},{umbra:[0,3,5,-2],penumbra:[0,6,10,0],ambient:[0,1,18,1]},{umbra:[0,7,8,-4],penumbra:[0,12,17,2],ambient:[0,5,22,4]},{umbra:[0,9,11,-5],penumbra:[0,18,28,2],ambient:[0,7,34,6]},{umbra:[0,11,15,-7],penumbra:[0,24,38,3],ambient:[0,9,46,8]}],f=[0,4,8,12,20,32,52,84,136,220],h={border:{width:1},checkbox:{size:17,focusRing:{offset:-1,width:1}}
10,radio:{size:17,markSize:9,focusRing:{offset:-1,width:1}},switch:{width:25,height:17,padding:5,transitionDurationMs:150,transitionTimingFunction:"ease-out",focusRing:{offset:1,width:1}},select:{focusRing:{offset:-1,width:1}},text:{focusRing:{offset:-1,width:1}}},p={button:{root:{transition:"background-color 100ms,border-color 100ms,color 100ms"}}},g={code:{family:"ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace",weights:{regular:400,medium:500,semibold:600,bold:700},sizes:[{ascenderHeight:4,descenderHeight:4,fontSize:10,iconSize:17,lineHeight:15,letterSpacing:0},{ascenderHeight:5,descenderHeight:5,fontSize:13,iconSize:21,lineHeight:19,letterSpacing:0},{ascenderHeight:6,descenderHeight:6,fontSize:16,iconSize:25,lineHeight:23,letterSpacing:0},{ascenderHeight:7,descenderHeight:7,fontSize:19,iconSize:29,lineHeight:27,letterSpacing:0},{ascenderHeight:8,descenderHeight:8,fontSize:22,iconSize:33,lineHeight:31,letterSpacing:0}]},heading:{family:'Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Liberation Sans", Helvetica, Arial, system-ui, sans-serif',weights:{regular:700,medium:800,semibold:900,bold:900},sizes:[{ascenderHeight:5,descenderHeight:5,fontSize:13,iconSize:17,lineHeight:19,letterSpacing:0},{ascenderHeight:6,descenderHeight:6,fontSize:16,iconSize:25,lineHeight:23,letterSpacing:0},{ascenderHeight:7,descenderHeight:7,fontSize:21,iconSize:33,lineHeight:29,letterSpacing:0},{ascenderHeight:8,descenderHeight:8,fontSize:27,iconSize:41,lineHeight:35,letterSpacing:0},{ascenderHeight:9.5,descenderHeight:8.5,fontSize:33,iconSize:49,lineHeight:41,letterSpacing:0},{ascenderHeight:10.5,descenderHeight:9.5,fontSize:38,iconSize:53,lineHeight:47,letterSpacing:0}]},label:{family:'Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Liberation Sans", system-ui, sans-serif',weights:{regular:600,medium:700,semibold:800,bold:900},sizes:[{ascenderHeight:2,descenderHeight:2,fontSize:8.1,iconSize:13,lineHeight:10,letterSpacing:.5},{ascenderHeight:2,descenderHeight:2,fontSize:9.5,iconSize:15,lineHeight:11,letterSpacing:.5},{ascenderHeight:2,descenderHeight:2,fontSize:10.8,iconSize:17,lineHeight:12,letterSpacing:.5},{ascenderHeight:2,descenderHeight:2,fontSize:12.25,iconSize:19,lineHeight:13,letterSpacing:.5},{ascenderHeight:2,descenderHeight:2,fontSize:13.6,iconSize:21,lineHeight:14,letterSpacing:.5},{ascenderHeight:2,descenderHeight:2,fontSize:15,iconSize:23,lineHeight:15,letterSpacing:.5}]},text:{family:'Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Liberation Sans", Helvetica, Arial, system-ui, sans-serif',weights:{regular:400,medium:500,semibold:600,bold:700},sizes:[{ascenderHeight:4,descenderHeight:4,fontSize:10,iconSize:17,lineHeight:15,letterSpacing:0},{ascenderHeight:5,descenderHeight:5,fontSize:13,iconSize:21,lineHeight:19,letterSpacing:0},{ascenderHeight:6,descenderHeight:6,fontSize:15,iconSize:25,lineHeight:23,letterSpacing:0},{ascenderHeight:7,descenderHeight:7,fontSize:18,iconSize:29,lineHeight:27,letterSpacing:0},{ascenderHeight:8,descenderHeight:8,fontSize:21,iconSize:33,lineHeight:31,letterSpacing:0}]}},m=new WeakMap;function y(e){let t=m.get(e);if(t)return t;let n=v(e,e.card.enabled),r={_blend:e._blend||(e.dark?"screen":"multiply"),_dark:e.dark,accent:n.accent,avatar:n.avatar,backdrop:e.base.shadow.ambient,badge:n.badge,bg:e.base.bg,border:e.base.border,button:{default:b(e,e.button.default),ghost:b(e,e.button.ghost),bleed:b(e,e.button.bleed)},code:n.code,fg:e.base.fg,focusRing:e.base.focusRing,icon:n.muted.fg,input:{default:w(e.input.default),invalid:w(e.input.invalid)},kbd:n.kbd,link:n.link,muted:{...n.muted,bg:e.selectable?.default.enabled.bg2||e.base.bg},selectable:b(e,e.selectable||e.muted),shadow:e.base.shadow,skeleton:{from:e.skeleton?.from||e.base.border,to:e.skeleton?.to||e.base.border},syntax:e.syntax};return m.set(e,r),r}function b(e,t){return{default:{enabled:v(e,t.default.enabled),hovered:v(e,t.default.hovered),pressed:v(e,t.default.pressed),selected:v(e,t.default.selected),disabled:v(e,t.default.disabled)},neutral:{enabled:v(e,t.default.enabled),hovered:v(e,t.default.hovered),pressed:v(e,t.default.pressed),selected:v(e,t.default.selected),disabled:v(e,t.default.disabled)},primary:{enabled:v(e,t.primary.enabled),hovered:v(e,t.primary.hovered),pressed:v(e,t.primary.pressed),selected:v(e,t.primary.selected),disabled:v(e,t.primary.disabled)},suggest:{enabled:v(e,t.primary.enabled),hovered:v(e,t.primary.hovered),pressed:v(e,t.primary.pressed),selected:v(e,t.primary.selected),disabled:v(e,t.primary.disabled)},positive:{enabled:v(e,t.positive.enabled),hovered:v(e,t.positive.hovered),pressed:v(e,t.positive.pressed),selected:v(e,t.positive.selected),disabled:v(e,t.positive.disabled)},caution:{enabled:v(e,t.caution.enabled),hovered:v(e,t.caution.hovered),pressed:v(e,t.caution.pressed),selected:v(e,t.caution.selected),disabled:v(e,t.caution.disabled)},critical:{enabled:v(e,t.critical.enabled),hovered:v(e,t.critical.hovered),pressed:v(e,t.critical.pressed),selected:v(e,t.critical.selected),disabled:v(e,t.critical.disabled)}}}function v(e,t){return{...t,avatar:{gray:{bg:e.spot.gray,fg:e.base.bg},blue:{bg:e.spot.blue,fg:e.base.bg},purple:{bg:e.spot.purple,fg:e.base.bg},magenta:{bg:e.spot.magenta,fg:e.base.bg},red:{bg:e.spot.red,fg:e.base.bg},orange:{bg:e.spot.orange,fg:e.base.bg},yellow:{bg:e.spot.yellow,fg:e.base.bg},green:{bg:e.spot.green,fg:e.base.bg}
10,cyan:{bg:e.spot.cyan,fg:e.base.bg}},badge:{default:{bg:e.muted.default.enabled.bg,fg:e.muted.default.enabled.fg,dot:e.muted.default.enabled.muted.fg,icon:e.muted.default.enabled.muted.fg},neutral:{bg:e.muted.transparent.enabled.bg,fg:e.muted.transparent.enabled.fg,dot:e.muted.transparent.enabled.muted.fg,icon:e.muted.transparent.enabled.muted.fg},primary:{bg:e.muted.primary.enabled.bg,fg:e.muted.primary.enabled.fg,dot:e.muted.primary.enabled.muted.fg,icon:e.muted.primary.enabled.muted.fg},suggest:{bg:e.muted.primary.enabled.bg,fg:e.muted.primary.enabled.fg,dot:e.muted.primary.enabled.muted.fg,icon:e.muted.primary.enabled.muted.fg},positive:{bg:e.muted.positive.enabled.bg,fg:e.muted.positive.enabled.fg,dot:e.muted.positive.enabled.muted.fg,icon:e.muted.positive.enabled.muted.fg},caution:{bg:e.muted.caution.enabled.bg,fg:e.muted.caution.enabled.fg,dot:e.muted.caution.enabled.muted.fg,icon:e.muted.caution.enabled.muted.fg},critical:{bg:e.muted.critical.enabled.bg,fg:e.muted.critical.enabled.fg,dot:e.muted.critical.enabled.muted.fg,icon:e.muted.critical.enabled.muted.fg}},kbd:{bg:e.muted.default.enabled.bg,fg:e.muted.default.enabled.fg,border:e.muted.default.enabled.border},muted:{...e.muted.default.enabled.muted,bg:t.bg2||t.bg},skeleton:{from:t.skeleton?.from||t.border,to:t.skeleton?.to||t.border}}}function w(e){return{enabled:_(e.enabled),disabled:_(e.disabled),readOnly:_(e.readOnly),hovered:_(e.hovered)}}function _(e){return{bg:e.bg,border:e.border,fg:e.fg,muted:{bg:e.bg2},placeholder:e.placeholder}}let x=new WeakMap;function k(e){if(e.sanity.v2?._resolved)return e.sanity.v2;let t=x.get(e);if(t)return t;let n={_version:2,_resolved:!0,avatar:{...i,...e.sanity.avatar},button:{...o,...e.sanity.button},card:a,color:y(e.sanity.color),container:e.sanity.container,font:e.sanity.fonts,input:{...h,...e.sanity.input,checkbox:{...h.checkbox,...e.sanity.input.checkbox},radio:{...h.radio,...e.sanity.input.radio},switch:{...h.switch,...e.sanity.input.switch}},layer:e.sanity.layer??u,media:e.sanity.media,radius:e.sanity.radius,shadow:e.sanity.shadows,space:e.sanity.space,style:e.sanity.styles};return x.set(e,n),n}function E(e){return 2===e._version}let A=new WeakMap,S=new WeakMap;function C(e){let t=S.get(e);if(t)return t;let{avatar:n,button:r,color:i,container:o,font:a,input:s,media:l,radius:u,shadow:c,space:d,style:f}=e;return{_version:0,avatar:n,button:r,container:o,color:{light:{transparent:O(i.light.transparent),default:O(i.light.default),primary:O(i.light.primary),positive:O(i.light.positive),caution:O(i.light.caution),critical:O(i.light.critical)},dark:{transparent:O(i.dark.transparent),default:O(i.dark.default),primary:O(i.dark.primary),positive:O(i.dark.positive),caution:O(i.dark.caution),critical:O(i.dark.critical)}},focusRing:s.text.focusRing,fonts:a,input:s,media:l,radius:u,shadows:c,space:d,styles:f,v2:e}}function O(e){return{base:{bg:e.bg,fg:e.fg,border:e.border,focusRing:e.focu
10sRing,shadow:e.shadow},button:e.button,card:e.selectable.default,dark:e._dark,input:{default:T(e.input.default),invalid:T(e.input.invalid)},muted:{...e.button.ghost,transparent:e.button.ghost.default},solid:{...e.button.default,transparent:e.button.default.default},selectable:e.selectable,spot:{gray:e.avatar.gray.bg,blue:e.avatar.blue.bg,purple:e.avatar.purple.bg,magenta:e.avatar.magenta.bg,red:e.avatar.red.bg,orange:e.avatar.orange.bg,yellow:e.avatar.yellow.bg,green:e.avatar.green.bg,cyan:e.avatar.cyan.bg},syntax:e.syntax}}function T(e){return{enabled:D(e.enabled),disabled:D(e.disabled),readOnly:D(e.readOnly),hovered:D(e.hovered)}}function D(e){return{bg:e.bg,bg2:e.muted.bg,border:e.border,fg:e.fg,placeholder:e.placeholder}}let I=["multiply","screen"],R=["transparent","default","neutral","primary","suggest","positive","caution","critical"],j=["default","neutral","primary","suggest","positive","caution","critical"],N=["enabled","hovered","pressed","selected","disabled"],M=["default","ghost","bleed"],F=["default","invalid"],$=["enabled","hovered","readOnly","disabled"];function L(e){return r.V0.includes(e)}function P(e){return/^\d+%$/.test(e)}function z(e){var t;let n=e.split("/"),i=n.shift()||"",[o,a]=i.split(" ");if(L(o)){let e=n.shift()||"";return P(a)?{type:"color",tint:o,mix:Number(a.slice(0,-1))/100}:U(e)?{type:"color",tint:o,opacity:Number(e)}:{type:"color",tint:o}}if("black"===(t=o)||"white"===t){let e=n.shift()||"";return P(a)?{type:"color",key:o,mix:Number(a.slice(0,-1))/100}:U(e)?{type:"color",key:o,opacity:Number(e)}:{type:"color",key:o}}if(r.Cv.includes(o)){let[e,t]=(i=n.shift()||"").split(" ");if(L(e)){let r=n.shift()||"";return P(t)?{type:"color",hue:o,tint:e,mix:Number(t.slice(0,-1))/100}:U(r)?{type:"color",hue:o,tint:e,opacity:Number(r)}:{type:"color",hue:o,tint:e}}return{type:"hue",value:o}}if(I.includes(o))return{type:"blendMode",value:o}}function U(e){return"0"===e||/^0\.[0-9]+$/.test(e)||"1"===e}[...r.Cv],[...R],[...j],[...N],[...F],[...$];let B=["500","500"];function H(e,t=B){var n;let r,{hue:i,scheme:o}=e,a=z(t[+("light"!==o)]);if(!a||"color"!==a.type)throw Error(`Invalid color token: ${t[0]}`);return n={...a,hue:a.hue||i},r="",r="black"===n.key||"white"===n.key?n.key:`${n.hue}/${n.tint}`,void 0!==n.mix?`${r} ${100*n.mix}%`:(void 0!==n.opacity&&(r+=`/${n.opacity}`),r)}let q={base:{"*":{_blend:["multiply","screen"],accent:{fg:["purple/600","purple/400"]},avatar:{"*":{_blend:["screen","multiply"],bg:["500","400"],fg:["white","black"]}},backdrop:["gray/200/0.5","black/0.5"],badge:{"*":{bg:["100","900"],fg:["600","400"],icon:["500","500"],dot:["500","500"]},positive:{bg:["200 50%","900"],fg:["600","500"]},caution:{bg:["200 50%","900"],fg:["600","500"]}},bg:["50","950"],border:["200","800"],code:{bg:["50","950"],fg:["600","400"]},fg:["800","200"],focusRing:["blue/500","blue/500"],icon:["600","400"],kbd:{bg:["white","black"],fg:["600","400"],border:["200","800"]},link:{fg:["blue/600","blue/300"]},muted:{bg:["50","950"],fg:["700 75%","300 75%"]},shadow:{outline:["500/0.3","500/0.4"],umbra:["gray/500/0.1","black/0.2"],penumbra:["gray/500/0.07","black/0.14"],ambient:["gray/500/0.06","black/0.12"]},skeleton:{from:["100","900"],to:["100 50%","900 50%"]}},transparent:{bg:["50","black"]},default:{bg:["white","950"],fg:["800","200"],muted:{fg:["600","400"]}},primary:{_hue:"blue"},suggest:{_hue:"purple"},positive:{_hue:"green",shadow:{outline:["500/0.4","500/0.4"]}},caution:{_hue:"yellow",shadow:{outline:["600/0.3","500/0.4"]}},critical:{_hue:"red"}},button:{default:{"*":{"*":{_blend:["screen","multiply"],accent:{fg:["purple/300","purple/700"]},avatar:{"*":{_blend:["screen","multiply"],bg:["500","400"],fg:["white","black"]}},badge:{"*":{bg:["900","100"],fg:["400","600"],dot:["500","500"],icon:["500","500"]}},bg:["500","400"],border:["500/0","400/0"],code:{bg:["500 20%","400 20%"],fg:["200","600"]},fg:["white","black"],icon:["100 70%","900 70%"],kbd:{bg:["black","white"],fg:["200","600"],border:["800","200"]},link:{fg:["blue/200","blue/600"]},muted:{bg:["950","50"],fg:["100 70%","900 70%"]},skeleton:{from:["900","100"],to:["900 50%","100 50%"]}},hovered:{bg:["600","300"],border:["700/0","300/0"]},pressed:{bg:["700","300"]},selected:{bg:["700","300"]},disabled:{_hue:"gray",accent:{fg:["100 70%","900 70%"]},avatar:{"*":{_blend:["screen","multiply"],bg:["gray/500","gray/400"],fg:["white","black"]}},badge:{"*":{bg:["gray/700","gray/300"],fg:["white","black"],dot:["white","black"],icon:["white","black"]}},bg:["300","600"],code:{bg:["950","50"],fg:["300","600"]},fg:["300","600"],muted:{bg:["950","50"],fg:["300","600"]},kbd:{bg:["black","white"],fg:["white","black"],border:["700","300"]},link:{fg:["100 70%","900 70%"]}}},default:{"*":{avatar:{"*":{_blend:["screen","multiply"],bg:["500","400"],fg:["white","black"]}},bg:["800","200"],muted:{bg:["950","50"],fg:["400","600"]}},hovered:{bg:["900","100"]},pressed:{bg:["black","white"]},selected:{bg:["black","white"]}}},ghost:{"*":{"*":{_blend:["multiply","screen"],accent:{fg:["purple/700 60%","purple/300 70%"]},avatar:{"*":{_blend:["screen","multiply"],bg:["500","400"],fg:["white","black"]}},badge:{"*":{bg:["100","900"],fg:["600","400"],dot:["500","500"],icon:["500","500"]}},bg:["50","950"],border:["100","900"],code:{bg:["500 10%","400 10%"],fg:["700 60%","400 60%"]},fg:["600","400"],icon:["700 60%","300 60%"],kbd:{bg:["white","black"],fg:["600","400"],border:["200","800"]},link:{fg:["blue/700 60%","blue/300 60%"]},muted:{bg:["100","950"],fg:["700 60%","300 60%"]},skeleton:{from:["100","900"],to:["100 50%","900 50%"]}},hovered:{bg:["100","900"],fg:["700","300"]},pressed:{bg:["200","800"],fg:["800","200"]},selected:{bg:["200","800"],fg:["800","200"]},disabled:{_hue:"gray",accent:{fg:["200","800"]},avatar:{"*":{_blend:["screen","multiply"],bg:["gray/100","gray/900"],fg:["white","black"]}}
10,badge:{"*":{_hue:"gray",bg:["50","950"],fg:["gray/200","gray/800"],dot:["gray/200","gray/800"],icon:["gray/200","gray/800"]}},border:["100","900"],code:{bg:["50","950"],fg:["200","800"]},fg:["400","600"],icon:["300","700"],muted:{fg:["300","700"]},kbd:{bg:["white","black"],fg:["200","800"],border:["100","900"]},link:{fg:["200","800"]}}},positive:{"*":{border:["600 20%","800"]}},caution:{"*":{border:["600 20%","800"]}}},bleed:{"*":{"*":{_blend:["multiply","screen"],accent:{fg:["purple/700 70%","purple/300 70%"]},avatar:{"*":{_blend:["screen","multiply"],bg:["500","400"],fg:["white","black"]}},badge:{"*":{bg:["100","900"],fg:["600","400"],dot:["500","500"],icon:["500","500"]}},bg:["white","black"],border:["white/0","black/0"],code:{bg:["50","950"],fg:["700 75%","300 75%"]},fg:["700","300"],icon:["700 75%","300 75%"],kbd:{bg:["white","black"],fg:["700","300"],border:["200","800"]},link:{fg:["blue/700 70%","blue/300 70%"]},muted:{bg:["100","950"],fg:["700 75%","300 75%"]},skeleton:{from:["100","900"],to:["100 50%","900 50%"]}},hovered:{bg:["50","900"],fg:["800","200"],icon:["800 70%","300 70%"]},pressed:{bg:["100","800"],fg:["800","200"],icon:["800 70%","200 70%"]},selected:{bg:["100","900"],fg:["800","200"],icon:["800 60%","200 60%"]},disabled:{_hue:"gray",accent:{fg:["200","800"]},avatar:{"*":{_blend:["screen","multiply"],bg:["gray/100","gray/900"],fg:["white","black"]}},badge:{"*":{_hue:"gray",bg:["50","950"],fg:["gray/200","gray/800"],dot:["gray/200","gray/800"],icon:["gray/200","gray/800"]}},code:{bg:["50","950"],fg:["200","800"]},fg:["400","600"],icon:["300","700"],muted:{fg:["400","600"]},kbd:{bg:["white","black"],fg:["200","800"],border:["100","900"]},link:{fg:["200","800"]}}}}},input:{"*":{"*":{_blend:["multiply","screen"],bg:["white","black"],border:["200","700"],fg:["black","200"],muted:{bg:["50","950"]},placeholder:["400","600"]},hovered:{border:["300","700"]},readOnly:{bg:["50","950"],border:["200","800"],fg:["800","200"]},disabled:{bg:["50","950"],fg:["400","600"],border:["100","900"],placeholder:["200","800 50%"]}},invalid:{"*":{_hue:"red",bg:["100","950"]}}},selectable:{"*":{"*":{_blend:["multiply","screen"],accent:{fg:["purple/700 70%","purple/300 70%"]},avatar:{"*":{_blend:["screen","multiply"],bg:["500","400"],fg:["white","black"]}},badge:{"*":{bg:["100","900"],fg:["600","400"],dot:["500","500"],icon:["500","500"]}},bg:["white","black"],border:["200","800"],code:{bg:["50","950"],fg:["600","400"]},fg:["700","300"],icon:["700 75%","300 75%"],kbd:{bg:["white","black"],fg:["600","400"],border:["200","800"]},link:{fg:["blue/700 70%","blue/300 70%"]},muted:{bg:["50","950"],fg:["700 75%","300 75%"]},skeleton:{from:["100","900"],to:["100 50%","900 50%"]}},hovered:{bg:["50","950"]},pressed:{bg:["100","900"]},selected:{_blend:["screen","multiply"],accent:{fg:["purple/300","purple/700"]},avatar:{"*":{_blend:["multiply","screen"],bg:["white","black"],fg:["black","white"]}},badge:{"*":{bg:["900","100"],fg:["400","600"],dot:["500","500"],icon:["500","500"]}},bg:["500","400"],border:["500 20%","400 20%"],code:{bg:["500 20%","400 20%"],fg:["200","600"]},fg:["white","black"],icon:["100 70%","900 70%"],kbd:{bg:["black","white"],fg:["200","600"],border:["800","200"]},link:{fg:["blue/200","blue/600"]},muted:{bg:["500 10%","400 10%"],fg:["100 70%","900 70%"]},skeleton:{from:["900","100"],to:["900 50%","100 50%"]}},disabled:{_hue:"gray",accent:{fg:["200","800"]},avatar:{"*":{_blend:["screen","multiply"],bg:["gray/100","gray/900"],fg:["white","black"]}},badge:{"*":{_hue:"gray",bg:["50","950"],fg:["gray/200","gray/800"],dot:["gray/200","gray/800"],icon:["gray/200","gray/800"]}},border:["100","900"],code:{bg:["50","950"],fg:["200","800"]},fg:["200","800"],icon:["200","800"],kbd:{bg:["white","black"],fg:["200","800"],border:["100","900"]},link:{fg:["200","800"]},muted:{bg:["50 50%","950 50%"],fg:["200","800"]}}},default:{selected:{_hue:"blue"}},critical:{disabled:{bg:["50 50%","950 50%"]}}},syntax:{atrule:["purple/600","purple/400"],attrName:["green/600","green/400"],attrValue:["yellow/600","yellow/400"],attribute:["yellow/600","yellow/400"],boolean:["purple/600","purple/400"],builtin:["purple/600","purple/400"],c
10data:["yellow/600","yellow/400"],char:["yellow/600","yellow/400"],class:["orange/600","orange/400"],className:["cyan/600","cyan/400"],comment:["gray/400","gray/600"],constant:["purple/600","purple/400"],deleted:["red/600","red/400"],entity:["red/600","red/400"],function:["green/600","green/400"],hexcode:["blue/600","blue/400"],id:["purple/600","purple/400"],important:["purple/600","purple/400"],inserted:["yellow/600","yellow/400"],keyword:["magenta/600","magenta/400"],number:["purple/600","purple/400"],operator:["magenta/600","magenta/400"],property:["blue/600","blue/400"],pseudoClass:["yellow/600","yellow/400"],pseudoElement:["yellow/600","yellow/400"],punctuation:["gray/600","gray/400"],regex:["blue/600","blue/400"],selector:["red/600","red/400"],string:["yellow/600","yellow/400"],symbol:["purple/600","purple/400"],tag:["red/600","red/400"],unit:["orange/600","orange/400"],url:["red/600","red/400"],variable:["red/600","red/400"]}};function V(e){return!!(e&&"object"==typeof e&&!Array.isArray(e))}function G(...e){let t=e.filter(Boolean);return 0===t.length?{}:t.reduce(W,{})}function W(e,t){for(let n of Object.keys(t)){let r=e[n],i=t[n];V(r)&&V(i)?e[n]=G(r,i):e[n]=i}return e}function Y(e,t){let{scheme:n}=e,r={};for(let e of R)r[e]=function(e,t){let{scheme:n,tone:r}=e,i=t?.color?.base?.[r],o={hue:i?._hue||"gray",scheme:n};return{_blend:(i?._blend||["multiply","screen"])[+("light"!==n)],_dark:"dark"===n,accent:{fg:H(o,i?.accent?.fg)},avatar:K({scheme:n},i),backdrop:H(o,i?.backdrop),badge:X(i?.badge,{scheme:n},t),bg:H(o,i?.bg),border:H(o,i?.border),button:function(e,t){let{scheme:n,tone:r}=e,i={};for(let e of M)i[e]=function(e,t){let{cardTone:n,mode:r,scheme:i}=e,o={};for(let e of j)o[e]=function(e,t){let{cardTone:n,mode:r,scheme:i,tone:o}=e,a={};for(let e of N)a[e]=function(e,t){let{cardTone:n,mode:r,tone:i,scheme:o,state:a}=e,s=t?.color?.base?.[n],l=t?.color?.button?.[r]?.[i]?.[a],u=l?._hue||s?._hue||"gray",c=l?._blend||["screen","multiply"],d={hue:u,scheme:o};return{_blend:c[+("light"!==o)],accent:{fg:H(d,l?.accent?.fg)},avatar:K({scheme:o},l),badge:X(l?.badge,{scheme:o},t),bg:H(d,l?.bg),border:H(d,l?.border),code:{bg:H(d,l?.code?.bg),fg:H(d,l?.code?.fg)},fg:H(d,l?.fg),icon:H(d,l?.icon),muted:{bg:H(d,l?.muted?.bg),fg:H(d,l?.muted?.fg)},kbd:{bg:H(d,l?.kbd?.bg),fg:H(d,l?.kbd?.fg),border:H(d,l?.kbd?.border)},link:{fg:H(d,l?.link?.fg)},skeleton:{from:H(d,l?.skeleton?.from),to:H(d,l?.skeleton?.to)}}}({cardTone:n,mode:r,tone:o,scheme:i,state:e},t);return a}({cardTone:n,mode:r,scheme:i,tone:e},t);return o}({cardTone:r,scheme:n,mode:e},t);return i}({scheme:n,tone:r},t),code:{bg:H(o,i?.code?.bg),fg:H(o,i?.code?.fg)},fg:H(o,i?.fg),focusRing:H(o,i?.focusRing),icon:H(o,i?.icon),input:function(e,t){let{scheme:n,tone:r}=e;return{default:J({mode:"default",scheme:n,tone:r},t),invalid:J({mode:"invalid",scheme:n,tone:r},t)}}({scheme:n,tone:r},t),kbd:{bg:H(o,i?.kbd?.bg),fg:H(o,i?.kbd?.fg),border:H(o,i?.kbd?.border)},link:{fg:H(o,i?.link?.fg)},muted:{bg:H(o,i?.muted?.bg),fg:H(o,i?.muted?.fg)},selectable:function(e,t){let{scheme:n,tone:r}=e,i={};for(let e of j)i[e]=function(e,t){let{cardTone:n,scheme:r,tone:i}=e,o={};for(let e of N)o[e]=function(e,t){let{cardTone:n,scheme:r,state:i,tone:o}=e,a=t?.color?.base?.[n],s=t?.color?.selectable?.[o]?.[i],l=s?._hue||a?._hue||"gray",u=s?._blend||["screen","multiply"],c={hue:l,scheme:r};return{_blend:u[+("light"!==r)],accent:{fg:H(c,s?.accent?.fg)},avatar:K({scheme:r},s),badge:X(s?.badge,{scheme:r},t),bg:H(c,s?.bg),border:H(c,s?.border),code:{bg:H(c,s?.code?.bg),fg:H(c,s?.code?.fg)},fg:H(c,s?.fg),icon:H(c,s?.icon),muted:{bg:H(c,s?.muted?.bg),fg:H(c,s?.muted?.fg)},kbd:{bg:H(c,s?.kbd?.bg),fg:H(c,s?.kbd?.fg),border:H(c,s?.kbd?.border)},link:{fg:H(c,s?.link?.fg)},skeleton:{from:H(c,s?.skeleton?.from),to:H(c,s?.skeleton?.to)}}}({cardTone:n,tone:i,scheme:r,state:e},t);return o}({cardTone:r,scheme:n,tone:e},t);return i}({scheme:n,tone:r},t),shadow:function(e,t){let{scheme:n,tone:r}=e,i=t?.color?.base?.[r],o={hue:i?._hue||"gray",scheme:n};return{outline:H(o,i?.shadow?.outline),umbra:H(o,i?.shadow?.umbra),penumbra:H(o,i?.shadow?.penumbra),ambient:H(o,i?.shadow?.ambient)}}
10({scheme:n,tone:r},t),skeleton:{from:H(o,i?.skeleton?.from),to:H(o,i?.skeleton?.to)},syntax:function(e,t){let{scheme:n}=e,r=t?.color?.syntax,i={hue:"gray",scheme:n};return{atrule:H(i,r?.atrule),attrName:H(i,r?.attrName),attrValue:H(i,r?.attrValue),attribute:H(i,r?.attribute),boolean:H(i,r?.boolean),builtin:H(i,r?.builtin),cdata:H(i,r?.cdata),char:H(i,r?.char),class:H(i,r?.class),className:H(i,r?.className),comment:H(i,r?.comment),constant:H(i,r?.constant),deleted:H(i,r?.deleted),doctype:H(i,r?.doctype),entity:H(i,r?.entity),function:H(i,r?.function),hexcode:H(i,r?.hexcode),id:H(i,r?.id),important:H(i,r?.important),inserted:H(i,r?.inserted),keyword:H(i,r?.keyword),number:H(i,r?.number),operator:H(i,r?.operator),prolog:H(i,r?.prolog),property:H(i,r?.property),pseudoClass:H(i,r?.pseudoClass),pseudoElement:H(i,r?.pseudoElement),punctuation:H(i,r?.punctuation),regex:H(i,r?.regex),selector:H(i,r?.selector),string:H(i,r?.string),symbol:H(i,r?.symbol),tag:H(i,r?.tag),unit:H(i,r?.unit),url:H(i,r?.url),variable:H(i,r?.variable)}}({scheme:n},t)}}({scheme:n,tone:e},t);return r}function K(e,t){let{scheme:n}=e;return{gray:Z({color:"gray",scheme:n},t),blue:Z({color:"blue",scheme:n},t),purple:Z({color:"purple",scheme:n},t),magenta:Z({color:"magenta",scheme:n},t),red:Z({color:"red",scheme:n},t),orange:Z({color:"orange",scheme:n},t),yellow:Z({color:"yellow",scheme:n},t),green:Z({color:"green",scheme:n},t),cyan:Z({color:"cyan",scheme:n},t)}}function Z(e,t){let{color:n,scheme:r}=e,i=t?.avatar?.[n],o={hue:i?._hue||"gray",scheme:r};return{_blend:(i?._blend||["screen","multiply"])[+("light"!==r)],bg:H(o,i?.bg),fg:H(o,i?.fg)}}function X(e,t,n){let{scheme:r}=t,i={};for(let t of j)i[t]=function(e,t,n){let{scheme:r,tone:i}=t,o=e?.[i],a={hue:o?._hue||n?.color?.base?.[i]?._hue||"gray",scheme:r};return{bg:H(a,o?.bg),fg:H(a,o?.fg),dot:H(a,o?.dot),icon:H(a,o?.icon)}}(e,{scheme:r,tone:t},n);return i}function J(e,t){let{mode:n,scheme:r,tone:i}=e;return{enabled:Q({mode:n,scheme:r,state:"enabled",cardTone:i},t),hovered:Q({mode:n,scheme:r,state:"hovered",cardTone:i},t),readOnly:Q({mode:n,scheme:r,state:"readOnly",cardTone:i},t),disabled:Q({mode:n,scheme:r,state:"disabled",cardTone:i},t)}}function Q(e,t){let{cardTone:n,mode:r,scheme:i,state:o}=e,a=t?.color?.base?.[n],s=t?.color?.input?.[r]?.[o],l=s?._hue||a?._hue||"gray",u=s?._blend||["screen","multiply"],c={hue:l,scheme:i};return{_blend:u[+("light"!==i)],bg:H(c,s?.bg),border:H(c,s?.border),fg:H(c,s?.fg),muted:{bg:H(c,s?.muted?.bg)},placeholder:H(c,s?.placeholder)}}let ee=r.yW;function et(e,t=0,n=1){return Math.min(n,Math.max(t,e))}function en(e,t,n,r,i){var o;return n*(1-(o=et((i-e)/(t-e))))+r*o}function er(e){return Math.round(e)}function ei(e){if(4===e.length){let t=e.slice(1,2),n=e.slice(2,3),r=e.slice(3,4);return{r:parseInt(t+t,16),g:parseInt(n+n,16),b:parseInt(r+r,16)}}return{r:parseInt(e.slice(1,3),16),g:parseInt(e.slice(3,5),16),b:parseInt(e.slice(5,7),16)}}function eo(e){let t=er(et(Math.round(e.r),0,255)),n=er(et(Math.round(e.g),0,255)),r=er(et(Math.round(e.b),0,255));return"a"in e?`rgba(${t},${n},${r},${e.a})`:"#"+(0x1000000+(t<<16)+(n<<8)+r).toString(16).slice(1)}let ea=/hsl\(\s*(\d+)\s*,\s*((\d+(?:\.\d+)?)%)\s*,\s*((\d+(?:\.\d+)?)%)\s*\)/i;function es(e){var t;if(!e)return{r:0,g:0,b:0};if("string"!=typeof e)throw Error("parseColor: expected a string");if("#"===e[0]&&(4===e.length||7===e.length)&&function(e){for(let t of e)if(-1==="0123456789ABCDEFabcdef".indexOf(t))return!1;return!0}(e.slice(1)))return ei(e);if(e.startsWith("hsl(")){let n,r,i,o,a,s,l,u;return n=(t=function(e){let t=ea.exec(e);if(!t)throw Error(`parseHsl: string is not a HSL color: "${e}"`);return{h:parseInt(t[1]),s:parseFloat(t[3]),l:parseFloat(t[5])}}(e)).s/100,o=(i=(1-Math.abs(2*(r=t.l/100)-1))*n)*(1-Math.abs(t.h/60%2-1)),a=r-i/2,s=0,l=0,u=0,0<=t.h&&t.h<60?(s=i,l=o,u=0):60<=t.h&&t.h<120?(s=o,l=i,u=0):120<=t.h&&t.h<180?(s=0,l=i,u=o):180<=t.h&&t.h<240?(s=0,l=o,u=i):240<=t.h&&t.h<300?(s=o,l=0,u=i):300<=t.h&&t.h<360&&(s=i,l=0,u=o),{r:Math.round((s+a)*255),g:Math.round((l+a)*255),b:Math.round((u+a)*255)}}if(e.startsWith("rgba(")){let t;return{r:parseInt((t=e.replace(/rgba\(|\)/g,"").split(","))[0]),g:parseInt(t[1]),b:parseInt(t[2]),a:parseFloat(t[3])}}throw Error(`parseColor: unexpected color format: "${e}"`)}function el(e,t){let n=es(e);return`rgba(${n.r},${n.g},${n.b},${t})`}let eu=[0,255];function ec(e,t){let{bg:n,blendMode:r,colorPalette:i}=t;if("white"===n)throw Error("Cannot blend with white background");let o=z(e);if(!o||"color"!==o.type)throw Error(`Invalid color token value: ${e}`);let a="";if("black"===o.key&&(a=ed(i.black)),"white"===o.key&&(a=ed(i.white)),o.hue&&o.tint&&(a=ed(i[o.hue][o.tint])),!a)throw Error(`Invalid color token value: ${e}`);let s=a,l={blendMode:r,bg:n,black:ed(i.black),white:ed(i.white)};try{if(a=function(e,t){var n,r,i,o,a,s;let{blendMode:l}=t,u=es(e),c=es(t.black),d=es(t.white),f=t.bg?es(t.bg):"multiply"===l?d:c,h={r:[c.r,d.r],g:[c.g,d.g],b:[c.b,d.b]},p={r:et(en(...h.r,...eu,f.r),...eu),g:et(en(...h.g,...eu,f.g),...eu),b:et(en(...h.b,...eu,f.b),...eu)},g={r:et(en(...h.r,...eu,u.r),...eu),g:et(en(...h.g,...eu,u.g),...eu),b:et(en(...h.b,...eu,u.b),...eu)},m="multiply"===l?{r:255*(p.r/255*(g.r/255)),g:255*(p.g/255*(g.g/255)),b:255*(p.b/255*(g.b/255))}:{r:255*((n=p.r/255)+(r=g.r/255)-n*r),g:255*((i=p.g/255)+(o=g.g/255)-i*o),b:255*((a=p.b/255)+(s=g.b/255)-a*s)};return eo({r:et(en(...eu,...h.r,m.r),...h.r),g:et(en(...eu,...h.g,m.g),...h.g),b:et(en(...eu,...h.b,m.b),...h.b)})}(a,l),n&&void 0!==o.mix){var u,c,d,f,h,p,g;let e=ei(n),t=ei(a);a=eo((u=o.mix,{r:(c=e.r,d=t.r,c+(d-c)*u),g:(f=e.g,h=t.g,f+(h-f)*u),b:(p=e.b,g=t.b,p+(g-p)*u)}))}}catch(e){throw console.warn("could not blend",a,l),e}
10return"#aN"===a&&(console.warn(`invalid color token value: ${e}`),a=s),void 0!==o.opacity&&(a=el(a,o.opacity)),a}function ed(e){return"string"==typeof e?e:e.hex}function ef(e,t){let n=Object.entries(t),[,r]=n.find(([e])=>"transparent"===e),[,i]=n.find(([e])=>"default"===e),o=eh(r,{colorPalette:e}),a=eh(i,{colorPalette:e}),s=a.bg;if("white"===s)throw Error("Cannot blend with white background");return Object.fromEntries([["transparent",o],["default",a],...n.filter(([e])=>"default"!==e&&"transparent"!==e).map(([t,n])=>[t,eh(n,{bg:s,colorPalette:e})])])}function eh(e,t){var n,r,i,o;let{colorPalette:a,bg:s}=t,l=e._blend||"multiply",u=ec(e.bg,{colorPalette:a,bg:s,blendMode:l}),c={colorPalette:a,bg:u,blendMode:l},d=(n=e.button,r={baseBg:u,blendMode:l,colorPalette:a},{default:em(n.default,r),ghost:em(n.ghost,r),bleed:em(n.bleed,r)}),f=function(e,t){let n={};for(let o of j){var r,i;n[o]=(r=e[o],i=t,{enabled:ey(r.enabled,i),hovered:ey(r.hovered,i),pressed:ey(r.pressed,i),selected:ey(r.selected,i),disabled:ey(r.disabled,i)})}return n}(e.selectable,{colorPalette:a,baseBg:u,blendMode:l}),h={outline:ec(e.shadow.outline,c),umbra:ec(e.shadow.umbra,{...c,bg:void 0,colorPalette:{...a,black:"#000000"}}),penumbra:ec(e.shadow.penumbra,{...c,bg:void 0,colorPalette:{...a,black:"#000000"}}),ambient:ec(e.shadow.ambient,{...c,bg:void 0,colorPalette:{...a,black:"#000000"}})};return{_blend:l,_dark:e._dark,accent:{fg:ec(e.accent.fg,c)},avatar:ep(e.avatar,{baseBg:u,colorPalette:a,blendMode:l}),backdrop:ec(e.backdrop,c),badge:eg(e.badge,{baseBg:u,colorPalette:a,blendMode:l}),bg:u,border:ec(e.border,c),button:d,code:{bg:ec(e.code.bg,c),fg:ec(e.code.fg,c)},fg:ec(e.fg,c),focusRing:ec(e.focusRing,c),icon:ec(e.icon,c),input:(i=e.input,o={baseBg:u,colorPalette:a,blendMode:l},{default:eb(i.default,o),invalid:eb(i.invalid,o)}),kbd:function(e,t){let{baseBg:n,blendMode:r,colorPalette:i}=t,o=ec(e.bg,{bg:n,blendMode:r,colorPalette:i}),a={bg:o,blendMode:r,colorPalette:i};return{bg:o,fg:ec(e.fg,a),border:ec(e.border,a)}}(e.kbd,{baseBg:u,colorPalette:a,blendMode:l}),link:{fg:ec(e.link.fg,c)},muted:{bg:ec(e.muted.bg,c),fg:ec(e.muted.fg,c)},shadow:h,skeleton:{from:ec(e.skeleton.from,c),to:ec(e.skeleton.to,c)},syntax:function(e,t){let{colorPalette:n,baseBg:r,blendMode:i}=t,o={colorPalette:n,bg:r,blendMode:i};return{atrule:ec(e.atrule,o),attrName:ec(e.attrName,o),attrValue:ec(e.attrValue,o),attribute:ec(e.attribute,o),boolean:ec(e.boolean,o),builtin:ec(e.builtin,o),cdata:ec(e.cdata,o),char:ec(e.char,o),class:ec(e.class,o),className:ec(e.className,o),comment:ec(e.comment,o),constant:ec(e.constant,o),deleted:ec(e.deleted,o),doctype:ec(e.doctype,o),entity:ec(e.entity,o),function:ec(e.function,o),hexcode:ec(e.hexcode,o),id:ec(e.id,o),important:ec(e.important,o),inserted:ec(e.inserted,o),keyword:ec(e.keyword,o),number:ec(e.number,o),operator:ec(e.operator,o),prolog:ec(e.prolog,o),property:ec(e.property,o),pseudoClass:ec(e.pseudoClass,o),pseudoElement:ec(e.pseudoElement,o),punctuation:ec(e.punctuation,o),regex:ec(e.regex,o),selector:ec(e.selector,o),string:ec(e.string,o),symbol:ec(e.symbol,o),tag:ec(e.tag,o),unit:ec(e.unit,o),url:ec(e.url,o),variable:ec(e.variable,o)}}(e.syntax,{baseBg:u,colorPalette:a,blendMode:l}),selectable:f}}function ep(e,t){let n={};for(let i of r.Cv)n[i]=function(e,t){let{baseBg:n,blendMode:r,colorPalette:i}=t,o=e._blend||"multiply",a=ec(e.bg,{bg:n,blendMode:r,colorPalette:i});return{_blend:o,bg:a,fg:ec(e.fg,{bg:a,blendMode:o,colorPalette:i})}}(e[i],t);return n}function eg(e,t){let n={};for(let r of j)n[r]=function(e,t){let{baseBg:n,blendMode:r,colorPalette:i}=t,o=ec(e.bg,{bg:n,blendMode:r,colorPalette:i}),a={bg:o,blendMode:r,colorPalette:i};return{bg:o,dot:ec(e.dot,a),fg:ec(e.fg,a),icon:ec(e.icon,a)}}(e[r],t);return n}function em(e,t){let n={};for(let o of j){var r,i;n[o]=(r=e[o],i=t,{enabled:ey(r.enabled,i),hovered:ey(r.hovered,i),pressed:ey(r.pressed,i),selected:ey(r.selected,i),disabled:ey(r.disabled,i)})}return n}function ey(e,t){let{baseBg:n,blendMode:r,colorPalette:i}=t,o=e._blend||"multiply",a=ec(e.bg,{bg:n,blendMode:r,colorPalette:i}),s={bg:a,blendMode:o,colorPalette:i};
10return{_blend:o,accent:{fg:ec(e.accent.fg,s)},avatar:ep(e.avatar,{baseBg:a,colorPalette:i,blendMode:o}),badge:eg(e.badge,{baseBg:a,colorPalette:i,blendMode:o}),bg:a,border:ec(e.border,s),code:{bg:ec(e.code.bg,s),fg:ec(e.code.fg,s)},fg:ec(e.fg,s),icon:ec(e.icon,s),link:{fg:ec(e.link.fg,s)},muted:{bg:ec(e.muted.bg,s),fg:ec(e.muted.fg,s)},kbd:{bg:ec(e.kbd.bg,s),fg:ec(e.kbd.fg,s),border:ec(e.kbd.border,s)},skeleton:{from:ec(e.skeleton?.from,s),to:ec(e.skeleton?.to,s)}}}function eb(e,t){return{enabled:ev(e.enabled,t),hovered:ev(e.hovered,t),readOnly:ev(e.readOnly,t),disabled:ev(e.disabled,t)}}function ev(e,t){let{baseBg:n,blendMode:r,colorPalette:i}=t,o=e._blend||"multiply",a=ec(e.bg,{colorPalette:i,bg:n,blendMode:r}),s={colorPalette:i,bg:a,blendMode:o};return{_blend:o,bg:a,border:ec(e.border,s),fg:ec(e.fg,s),muted:{bg:ec(e.muted.bg,s)},placeholder:ec(e.placeholder,s)}}function ew(e){var t;let n,m,y,b=(t=e,{light:Y({scheme:"light"},m={color:{base:function(e){let t={};for(let n of R)t[n]=function(e,t){let n=G(e?.base?.["*"],e?.base?.[t]),i=n._hue||e?.base?.[t]?._hue||"gray";return{...n,_hue:i,avatar:r.Cv.reduce((e,t)=>({...e,[t]:G({_hue:t},n.avatar?.["*"],n.avatar?.[t])}),{}),badge:j.reduce((t,r)=>({...t,[r]:{_hue:e?.base?.[r]?._hue||i,...n.badge?.["*"],...n.badge?.[r]}}),{})}}(e,n);return t}(n=G(q,t?.color)),button:function(e){let t={};for(let n of M)t[n]=function(e,t){let n={};for(let i of j)n[i]=function(e,t,n){let i={};for(let o of N)i[o]=function(e,t,n,i){let o=G(e?.button?.[n]?.["*"]?.["*"],e?.button?.[n]?.[t]?.["*"],e?.button?.[n]?.["*"]?.[i],e?.button?.[n]?.[t]?.[i]),a=o._hue||e?.base?.[t]?._hue;return{...o,_hue:a,avatar:r.Cv.reduce((e,t)=>({...e,[t]:G({_hue:t},o.avatar?.["*"],o.avatar?.[t])}),{}),badge:j.reduce((t,n)=>({...t,[n]:{_hue:e?.base?.[n]?._hue||a,...o.badge?.["*"],...o.badge?.[n]}}),{})}}(e,n,t,o);return i}(e,t,i);return n}(e,n);return t}(n),input:function(e){let t={};for(let n of F)t[n]=function(e,t){let n={};for(let r of $)n[r]=function(e,t,n){let r=G(e?.input?.["*"]?.["*"],e?.
10input?.[t]?.["*"],e?.input?.["*"]?.[n],e?.input?.[t]?.[n]),i=r._hue||e?.input?.[t]?._hue;return{...r,_hue:i}}(e,t,r);return n}(e,n);return t}(n),selectable:function(e){let t={};for(let n of j)t[n]=function(e,t){let n={_hue:e?.selectable?.[t]?._hue||e?.base?.[t]?._hue};for(let i of N)n[i]=function(e,t,n){let i=G(e?.selectable?.["*"]?.["*"],e?.selectable?.[t]?.["*"],e?.selectable?.["*"]?.[n],e?.selectable?.[t]?.[n]),o=i._hue||e?.base?.[t]?._hue;return{...i,_hue:o,avatar:r.Cv.reduce((e,t)=>({...e,[t]:G({_hue:t},i.avatar?.["*"],i.avatar?.[t])}),{}),badge:j.reduce((t,n)=>({...t,[n]:{_hue:e?.base?.[n]?._hue||o,...i.badge?.["*"],...i.badge?.[n]}}),{})}}(e,t,i);return n}(e,n);return t}(n),syntax:n.syntax}}),dark:Y({scheme:"dark"},m)});return C({_version:2,avatar:e?.avatar??i,button:e?.button??o,card:e?.card??a,color:{light:ef(y=e?.palette??ee,b.light),dark:ef(y,b.dark)},container:e?.container??s,font:e?.font??g,input:e?.input??h,layer:e?.layer??u,media:e?.media??l,radius:e?.radius??c,shadow:e?.shadow??d,space:e?.space??f,style:e?.style??p})}let e_=new Map;function ex(e,t,n){var r,s,l,c,d;let f,p=function(e,t,n){let r=e_.get(t);if(!r)return;let i=r.get(n);if(i)return i.get(e)}(e,t,n);if(p)return p;let g=E(e)?C(e):e,m=E(e)?e:function(e){if(e.v2)return e.v2;let t=A.get(e);if(t)return t;let{avatar:n,button:r,color:s,container:l,fonts:c,input:d,layer:f,media:p,radius:g,shadows:m,space:b,styles:v}=e,w={_version:2,avatar:{...i,...n},button:{...o,...r},card:a,color:{light:{transparent:y(s.light.transparent),default:y(s.light.default),neutral:y(s.light.transparent),primary:y(s.light.primary),suggest:y(s.light.primary),positive:y(s.light.positive),caution:y(s.light.caution),critical:y(s.light.critical)},dark:{transparent:y(s.dark.transparent),default:y(s.dark.default),neutral:y(s.dark.transparent),primary:y(s.dark.primary),suggest:y(s.dark.primary),positive:y(s.dark.positive),caution:y(s.dark.caution),critical:y(s.dark.critical)}},container:l,font:c,input:{...h,...d,checkbox:{...h.checkbox,...d.checkbox},radio:{...h.radio,...d.radio},switch:{...h.switch,...d.switch}},layer:f??u,media:p,radius:g,shadow:m,space:b,style:v};return A.set(e,w),w}(e),b=g.color[t]||g.color.light,v=b[n]||b.default,w=g.layer||u,_=m.color[t]||m.color.light,x="neutral"in(r=_[n]||_.default).badge?r:{...r,badge:{...r.badge,neutral:r.badge.default,suggest:r.badge.primary},button:{bleed:{...r.button.bleed,neutral:r.button.bleed.default,suggest:r.button.bleed.primary},default:{...r.button.default,neutral:r.button.default.default,suggest:r.button.default.primary},ghost:{...r.button.ghost,neutral:r.button.ghost.default,suggest:r.button.ghost.primary}},selectable:{...r.selectable,neutral:r.selectable.default,suggest:r.selectable.primary}},k=m.layer||u,S={sanity:{...g,color:v,layer:w,v2:{...m,_resolved:!0,color:x,layer:k}}};return s=e,l=t,c=n,d=S,e_.has(l)||e_.set(l,new Map),(f=e_.get(l)).has(c)||f.set(c,new WeakMap),f.get(c).set(s,d),S}},52334:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(97822);function i(e){var t;e.register(r.A),e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"],t=e.languages.extend("typescript",{}),delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}
10i.displayName="typescript",i.aliases=["ts"]},52343:(e,t,n)=>{"use strict";n.d(t,{$:()=>h});var r,i=n(49303),o=n(48066),a=1,s={};function l(e){return e in s&&(delete s[e],!0)}var u=function(e){var t=a++;return s[t]=!0,r||(r=Promise.resolve()),r.then(function(){return l(t)&&e()}),t},c=function(e){l(e)},d={setImmediate:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=d.delegate;return((null==n?void 0:n.setImmediate)||u).apply(void 0,(0,i.fX)([],(0,i.zs)(e)))},clearImmediate:function(e){var t=d.delegate;return((null==t?void 0:t.clearImmediate)||c)(e)},delegate:void 0},f=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.scheduler=t,r.work=n,r}return(0,i.C6)(t,e),t.prototype.requestAsyncId=function(t,n,r){return(void 0===r&&(r=0),null!==r&&r>0)?e.prototype.requestAsyncId.call(this,t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=d.setImmediate(t.flush.bind(t,void 0))))},t.prototype.recycleAsyncId=function(t,n,r){if(void 0===r&&(r=0),null!=r?r>0:this.delay>0)return e.prototype.recycleAsyncId.call(this,t,n,r);var i,o=t.actions;null!=n&&(null==(i=o[o.length-1])?void 0:i.id)!==n&&(d.clearImmediate(n),t._scheduled===n&&(t._scheduled=void 0))},t}(o.R),h=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,i.C6)(t,e),t.prototype.flush=function(e){this._active=!0;var t,n=this._scheduled;this._scheduled=void 0;var r=this.actions;e=e||r.shift();do if(t=e.execute(e.state,e.delay))break;while((e=r[0])&&e.id===n&&r.shift());if(this._active=!1,t){for(;(e=r[0])&&e.id===n&&r.shift();)e.unsubscribe();throw t}},t}(n(15851).q))(f)},52661:(e,t,n)=>{"use strict";n.d(t,{B:()=>a});var r=n(99937),i=n(79619),o=n(77973);function a(e,t){return void 0===t&&(t=r.E),(0,i.N)(function(n,r){var i=null,a=null,s=null,l=function(){if(i){i.unsubscribe(),i=null;var e=a;a=null,r.next(e)}};function u(){var n=s+e,o=t.now();if(o<n){i=this.schedule(void 0,n-o),r.add(i);return}l()}n.subscribe((0,o._)(r,function(n){a=n,s=t.now(),i||(i=t.schedule(u,e),r.add(i))},function(){l(),r.complete()},void 0,function(){a=i=null}))})}},52766:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=0x1fffffffffffff}},52987:(e,t,n)=>{var r=n(67592),i=n(60933),o=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u01
107f]/g,a=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=i(e))&&e.replace(o,r).replace(a,"")}},53234:(e,t,n)=>{"use strict";n.d(t,{L:()=>h});var r=n(84707),i=n(14283),o=n(83031),a=n(99937),s=n(62595),l=n(16975),u=n(38299),c=n(79619),d=n(77973),f=n(4897);function h(e){return t=>(0,r.v)(()=>{let n=new i.B;return t.pipe((0,s.n)(()=>n,{leading:!0,trailing:!0}),function e(t,n){return n?function(r){return r.pipe(e(function(e,r){return(0,u.Tg)(t(e,r)).pipe((0,l.T)(function(t,i){return n(e,t,r,i)}))}))}:(0,c.N)(function(e,n){var r=0,i=null,o=!1;e.subscribe((0,d._)(n,function(e){i||(i=(0,d._)(n,void 0,function(){i=null,o&&n.complete()}),(0,u.Tg)(t(e,r++)).subscribe(i))},function(){o=!0,i||n.complete()}))})}((t,r)=>(0,o.c)(e(t,r),a.E).pipe((0,f.j)(()=>{n.next()}))))})}},53362:(e,t,n)=>{"use strict";let r;n.d(t,{Kc:()=>s,T_:()=>a,p8:()=>l});let i={capture:!0};function o(e,t,n){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n,i)}function a(e){if("onpagehide"in window)return o(window,"pagehide",e);let t=o(window,"unload",e),n=o(window,"unload",e);return()=>{t(),n()}}function s(e){return o(document,"visibilitychange",()=>{"hidden"===document.visibilityState&&e()})}let l=r={updateUserProperties(){},trace:function(e){return{start(){},log(e){},complete(){},newContext:e=>r,error(e){},await:e=>e}},log:function(e,t){}}},53419:(e,t,n)=>{"use strict";let r;n.d(t,{V2:()=>T,FS:()=>R,IM:()=>M,Tx:()=>j,Rr:()=>N,vd:()=>I,_K:()=>D,e3:()=>L,dK:()=>B,CC:()=>O,RM:()=>q,tP:()=>F});let i="u">typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),o=new Uint8Array(16),a=[];for(let e=0;e<256;++e)a.push((e+256).toString(16).slice(1));let s=function(e,t,n){if(i&&!t&&!e)return i();var s=e,l=n;let u=(s=s||{}).random??s.rng?.()??function(){if(!r){if("u"<typeof crypto||!crypto.getRandomValues)throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");r=crypto.getRandomValues.bind(crypto)}return r(o)}();if(u.length<16)throw Error("Random bytes length must be >= 16");if(u[6]=15&u[6]|64,u[8]=63&u[8]|128,t){if((l=l||0)<0||l+16>t.length)throw RangeError(`UUID byte range ${l}:${l+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[l+e]=u[e];return t}return function(e,t=0){return(a[e[t+0]]+a[e[t+1]]+a[e[t+2]]+a[e[t+3]]+"-"+a[e[t+4]]+a[e[t+5]]+"-"+a[e[t+6]]+a[e[t+7]]+"-"+a[e[t+8]]+a[e[t+9]]+"-"+a[e[t+10]]+a[e[t+11]]+a[e[t+12]]+a[e[t+13]]+a[e[t+14]]+a[e[t+15]]).toLowerCase()}(u)};var l=n(68004),u=n(20453),c=n(31534),d=n(22821),f=n(99929),h=n(84707),p=n(79931),g=n(16975),m=n(89166),y=n(97561),b=n(49303),v=n(79619),w=n(77973),_=n(71361),x=n(98063),k=n(97908),E=n(99506),A=n(10028);let S=e=>({context:t})=>{let{count:n,include:r,exclude:i,responseType:o="message.received"}=e;return{count:n,domain:t.domain,from:t.connectTo,include:r?Array.isArray(r)?r:[r]:[],exclude:i?Array.isArray(i)?i:[i]:[],responseType:o,target:t.target,to:t.name}},C=(0,h.v)(()=>(0,p.R)(window,"message")),O=e=>(0,l.OX)(({input:t})=>{var n,r;let i;return C.pipe(e?(0,g.T)(e):(0,m.F)(),(0,y.p)(e=>{let{data:n}=e;return(!t.include.length||t.include.includes(n.type))&&(!t.exclude.length||!t.exclude.includes(n.type))&&n.domain===t.domain&&n.from===t.from&&n.to===t.to&&(!t.target||e.source===t.target)}),(0,g.T)((i=t.responseType,e=>({type:i,message:e}))),t.count?(0,m.F)((n=t.count,void 0===r&&(r=null),r=null!=r?r:n,(0,v.N)(function(e,t){var i=[],o=0;e.subscribe((0,w._)(t,function(e){var a,s,l,u,c=null;o++%r==0&&i.push([]);try{for(var d=(0,b.Ju)(i),f=d.next();!f.done;f=d.next()){var h=f.value;h.push(e),n<=h.length&&(c=null!=c?c:[]).push(h)}}catch(e){a={error:e}}finally{try{f&&!f.done&&(s=d.return)&&s.call(d)}finally{if(a)throw a.error}}if(c)try{for(var p=(0,b.Ju)(c),g=p.next();!g.done;g=p.next()){var h=g.value;(0,_.o)(i,h),t.next(h)}}catch(e){l={error:e}}finally{try{g&&!g.done&&(u=p.return)&&u.call(p)}finally{if(l)throw l.error}}},function(){var e,n;try{for(var r=(0,b.Ju)(i),o=r.next();!o.done;o=r.next()){var a=o.value;t.next(a)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}t.complete()},void 0,function(){i=null}))})),(0,x.H)(e=>e),(0,k.s)(t.count)):(0,m.F)())}),T="sanity/comlink",D="comlink/response",I="comlink/heartbeat",R="comlink/disconnect",j="comlink/handshake/syn",N="comlink/handshake/syn-ack",M="comlink/handshake/ack",F=()=>(0,u.mj)({types:{},actors:{listen:(0,l.OX)(({input:e})=>{let t,n=e.signal?(0,p.R)(e.signal,"abort").pipe((t=`Request ${e.requestId} aborted`,e=>e.pipe((0,k.s)(1),(0,g.T)(()=>{throw Error(t)})))):E.w;return(0,p.R)(window,"message").pipe((0,y.p)(t=>t.data?.type===D&&t.data?.responseTo===e.requestId&&!!t.source&&e.sources.has(t.source)),(0,k.s)(e.sources.size),(0,A.Q)(n))})},actions:{"send message":({context:e},t)=>{let{sources:n,targetOrigin:r}=e,{message:i}=t;
10n.forEach(e=>{e.postMessage(i,{targetOrigin:r})})},"on success":(0,c.s)(({context:e})=>e.parentRef,({context:e,self:t})=>(e.response&&e.resolvable?.resolve(e.response),{type:"request.success",requestId:t.id,response:e.response,responseTo:e.responseTo})),"on fail":(0,c.s)(({context:e})=>e.parentRef,({context:e,self:t})=>(e.suppressWarnings||console.warn(`[@sanity/comlink] Received no response to message '${e.type}' on client '${e.from}' (ID: '${e.id}').`),e.resolvable?.reject(Error("No response received")),{type:"request.failed",requestId:t.id})),"on abort":(0,c.s)(({context:e})=>e.parentRef,({context:e,self:t})=>(e.resolvable?.reject(Error("Request aborted")),{type:"request.aborted",requestId:t.id}))},guards:{expectsResponse:({context:e})=>e.expectResponse},delays:{initialTimeout:0,responseTimeout:({context:e})=>e.responseTimeout??3e3}}).createMachine({context:({input:e})=>({channelId:e.channelId,data:e.data,domain:e.domain,expectResponse:e.expectResponse??!1,from:e.from,id:`msg-${s()}`,parentRef:e.parentRef,resolvable:e.resolvable,response:null,responseTimeout:e.responseTimeout,responseTo:e.responseTo,signal:e.signal,sources:e.sources instanceof Set?e.sources:new Set([e.sources]),suppressWarnings:e.suppressWarnings,targetOrigin:e.targetOrigin,to:e.to,type:e.type}),initial:"idle",on:{abort:".aborted"},states:{idle:{after:{initialTimeout:[{target:"sending"}]}},sending:{entry:{type:"send message",params:({context:e})=>{let{channelId:t,data:n,domain:r,from:i,id:o,responseTo:a,to:s,type:l}=e;return{message:{channelId:t,data:n,domain:r,from:i,id:o,to:s,type:l,responseTo:a}}}},always:[{guard:"expectsResponse",target:"awaiting"},"success"]},awaiting:{invoke:{id:"listen for response",src:"listen",input:({context:e})=>({requestId:e.id,sources:e.sources,signal:e.signal}),onError:"aborted"},after:{responseTimeout:"failed"},on:{message:{actions:(0,d.a)({response:({event:e})=>e.data.data,responseTo:({event:e})=>e.data.responseTo}),target:"success"}}},failed:{type:"final",entry:"on fail"},success:{type:"final",entry:"on success"},aborted:{type:"final",entry:"on abort"}},output:({context:e,self:t})=>({requestId:t.id,response:e.response,responseTo:e.responseTo})}),$=(0,l.SP)(({sendBack:e,input:t})=>{let n=()=>{e(t.event)};t.immediate&&n();let r=setInterval(n,t.interval);return()=>{clearInterval(r)}}),L=()=>(0,u.mj)({types:{},actors:{requestMachine:F(),listen:O(),sendBackAtInterval:$},actions:{"buffer message":(0,c.e)(({enqueue:e})=>{e.assign({buffer:({event:e,context:t})=>((0,u.DT)(e,"post"),[...t.buffer,e.data])}),e.emit(({event:e})=>((0,u.DT)(e,"post"),{type:"buffer.added",message:e.data}))}),"create request":(0,d.a)({requests:({context:e,event:t,self:n,spawn:r})=>{(0,u.DT)(t,"request");let i=(Array.isArray(t.data)?t.data:[t.data]).map(t=>r("requestMachine",{id:`req-${s()}`,input:{channelId:e.channelId,data:t.data,domain:e.domain,expectResponse:t.expectResponse,from:e.name,parentRef:n,responseTo:t.responseTo,sources:e.target,targetOrigin:e.targetOrigin,to:e.connectTo,type:t.type}}));return[...e.requests,...i]}}),"emit received message":(0,c.e)(({enqueue:e})=>{e.emit(({event:e})=>((0,u.DT)(e,"message.received"),{type:"message",message:e.message.data}))}),"emit status":(0,c.a)((e,t)=>({type:"status",status:t.status})),"post message":(0,f.r)(({event:e})=>((0,u.DT)(e,"post"),{type:"request",data:{data:e.data.data,expectResponse:!0,type:e.data.type}})),"remove request":(0,c.e)(({context:e,enqueue:t,event:n})=>{(0,u.DT)(n,["request.success","request.failed","request.aborted"]),(0,f.s)(n.requestId),t.assign({requests:e.requests.filter(({id:e})=>e!==n.requestId)})}),respond:(0,f.r)(({event:e})=>((0,u.DT)(e,"response"),{type:"request",data:{data:e.data,type:D,responseTo:e.respondTo}})),"send handshake ack":(0,f.r)({type:"request",data:{type:M}}),"send disconnect":(0,f.r)(()=>({type:"request",data:{type:R}})),"send handshake syn":(0,f.r)({type:"request",data:{type:j}}),"send pending messages":(0,c.e)(({enqueue:e})=>{e.raise(({context:e})=>({type:"request",data:e.buffer.map(({data:e,type:t})=>({data:e,type:t}))})),e.emit(({context:e})=>({type:"buffer.flushed",messages:e.buffer})),e.assign({buffer:[]})}),"set target":(0,d.a)({target:({event:e})=>((0,u.DT)(e,"target.set"),e.target)})},guards:{"has target":({context:e})=>!!e.target,"should send heartbeats":({context:e})=>e.heartbeat}}).createMachine({id:"connection",context:({input:e})=>({id:e.id||`${e.name}-${s()}`,buffer:[],channelId:`chn-${s()}`,connectTo:e.connectTo,domain:e.domain??T,heartbeat:e.heartbeat??!1,name:e.name,requests:[],target:e.target,targetOrigin:e.targetOrigin}),on:{"target.set":{actions:"set target"},"request.success":{actions:"remove request"},"request.failed":{actions:"remove request"}}
10,initial:"idle",states:{idle:{entry:[{type:"emit status",params:{status:"idle"}}],on:{connect:{target:"handshaking",guard:"has target"},post:{actions:"buffer message"}}},handshaking:{id:"handshaking",entry:[{type:"emit status",params:{status:"handshaking"}}],invoke:[{id:"send syn",src:"sendBackAtInterval",input:()=>({event:{type:"syn"},interval:500,immediate:!0})},{id:"listen for handshake",src:"listen",input:e=>S({include:N,count:1})(e)}],on:{syn:{actions:"send handshake syn"},request:{actions:"create request"},post:{actions:"buffer message"},"message.received":{target:"connected"},disconnect:{target:"disconnected"}},exit:"send handshake ack"},connected:{entry:["send pending messages",{type:"emit status",params:{status:"connected"}}],invoke:{id:"listen for messages",src:"listen",input:S({exclude:[D,I]})},on:{post:{actions:"post message"},request:{actions:"create request"},response:{actions:"respond"},"message.received":{actions:"emit received message"},disconnect:{target:"disconnected"}},initial:"heartbeat",states:{heartbeat:{initial:"checking",states:{checking:{always:{guard:"should send heartbeats",target:"sending"}},sending:{on:{"request.failed":{target:"#handshaking"}},invoke:{id:"send heartbeat",src:"sendBackAtInterval",input:()=>({event:{type:"post",data:{type:I,data:void 0}},interval:2e3,immediate:!1})}}}}}},disconnected:{id:"disconnected",entry:["send disconnect",{type:"emit status",params:{status:"disconnected"}}],on:{request:{actions:"create request"},post:{actions:"buffer message"},connect:{target:"handshaking",guard:"has target"}}}}}),P=(e,t=L())=>{let n=e.id||`${e.name}-${s()}`,r=(0,f.c)(t,{input:{...e,id:n}}),i=new Map,o=new Map;r.on("message",async({message:e})=>{let t=i.get(e.type);if(t)return void t.forEach(async t=>{let n=await t(e.data);n&&r.send({type:"response",respondTo:e.id,data:n})});let n=o.get(e.type);n?n.add(e):o.set(e.type,new Set([e]))});let a=()=>{r.stop()};return{actor:r,connect:()=>{r.send({type:"connect"})},disconnect:()=>{r.send({type:"disconnect"})},id:n,name:e.name,machine:t,on:(e,t,n)=>{let a=i.get(e)||new Set;i.has(e)||i.set(e,a),a.add(t);let s=o.get(e);if(s){let i=n?.replay??1;
10Array.from(s).slice(-i).forEach(async({data:e,id:n})=>{let i=await t(e);i&&r.send({type:"response",respondTo:n,data:i})}),o.delete(e)}return()=>{a.delete(t)}},onStatus:(e,t)=>{let n=r.on("status",n=>{t&&n.status!==t||e(n.status)});return()=>n.unsubscribe()},post:(e,t)=>{r.send({type:"post",data:{type:e,data:t}})},setTarget:e=>{r.send({type:"target.set",target:e})},start:()=>(r.start(),a),stop:a,get target(){return r.getSnapshot().context.target}}},z=e=>{e.disconnect(),setTimeout(()=>{e.stop()},0)},U=()=>{},B=e=>{let{targetOrigin:t}=e,n=new Set,r=new Set;return{addTarget:e=>{if(n.has(e))return U;if(!n.size||!r.size)return n.add(e),r.forEach(t=>{t.connections.forEach(t=>{t.setTarget(e),t.connect()})}),()=>{n.delete(e),r.forEach(t=>{t.connections.forEach(t=>{t.target===e&&t.disconnect()})})};n.add(e);let i=new Set;return r.forEach(n=>{let r=P({...n.input,target:e,targetOrigin:t},n.machine);i.add(r),n.connections.add(r),n.subscribers.forEach(({type:e,handler:t,unsubscribers:n})=>{n.push(r.on(e,t))}),n.internalEventSubscribers.forEach(({type:e,handler:t,unsubscribers:n})=>{let i=r.actor.on(e,t);n.push(()=>i.unsubscribe())}),n.statusSubscribers.forEach(({handler:e,unsubscribers:t})=>{t.push(r.onStatus(t=>e({connection:r.id,status:t})))}),r.start(),r.connect()}),()=>{n.delete(e),i.forEach(e=>{z(e),r.forEach(t=>{t.connections.delete(e)})})}},createChannel:(e,i=L())=>{let o={connections:new Set,input:e,internalEventSubscribers:new Set,machine:i,statusSubscribers:new Set,subscribers:new Set};r.add(o);let{connections:a,internalEventSubscribers:s,statusSubscribers:l,subscribers:u}=o;if(n.size)n.forEach(n=>{let r=P({...e,target:n,targetOrigin:t},i);a.add(r)});else{let n=P({...e,targetOrigin:t},i);a.add(n)}let c=()=>{let e=o.connections;e.forEach(z),e.clear(),r.delete(o)};return{on:(e,t)=>{let n=[];a.forEach(r=>{n.push(r.on(e,t))});let r={type:e,handler:t,unsubscribers:n};return u.add(r),()=>{n.forEach(e=>e()),u.delete(r)}},onInternalEvent:(e,t)=>{let n=[];a.forEach(r=>{let i=r.actor.on(e,t);n.push(()=>i.unsubscribe())});let r={type:e,handler:t,unsubscribers:n};return s.add(r),()=>{n.forEach(e=>e()),s.delete(r)}},onStatus:e=>{let t=[];a.forEach(n=>{t.push(n.onStatus(t=>e({connection:n.id,status:t})))});let n={handler:e,unsubscribers:t};return l.add(n),()=>{t.forEach(e=>e()),l.delete(n)}},post:(...e)=>{let[t,n]=e;a.forEach(e=>{e.post(t,n)})},start:()=>(a.forEach(e=>{e.start(),e.connect()}),c),stop:c}},destroy:()=>{r.forEach(({connections:e})=>{e.forEach(z),e.clear()}),r.clear(),n.clear()}}},H=()=>(0,u.mj)({types:{},actors:{requestMachine:F(),listen:O()},actions:{"buffer handshake":(0,d.a)({handshakeBuffer:({event:e,context:t})=>((0,u.DT)(e,"message.received"),[...t.handshakeBuffer,e])}),"buffer message":(0,c.e)(({enqueue:e})=>{e.assign({buffer:({event:e,context:t})=>((0,u.DT)(e,"post"),[...t.buffer,{data:e.data,resolvable:e.resolvable,options:e.options}])}),e.emit(({event:e})=>((0,u.DT)(e,"post"),{type:"buffer.added",message:e.data}))}),"create request":(0,d.a)({requests:({context:e,event:t,self:n,spawn:r})=>{(0,u.DT)(t,"request");let i=(Array.isArray(t.data)?t.data:[t.data]).map(t=>r("requestMachine",{id:`req-${s()}`,input:{channelId:e.channelId,data:t.data,domain:e.domain,expectResponse:t.expectResponse,from:e.name,parentRef:n,resolvable:t.resolvable,responseTimeout:t.options?.responseTimeout,responseTo:t.responseTo,signal:t.options?.signal,sources:e.target,suppressWarnings:t.options?.suppressWarnings,targetOrigin:e.targetOrigin,to:e.connectTo,type:t.type}}));return[...e.requests,...i]}}),"emit heartbeat":(0,c.a)(()=>({type:"heartbeat"})),"emit received message":(0,c.e)(({enqueue:e})=>{e.emit(({event:e})=>((0,u.DT)(e,"message.received"),{type:"message",message:e.message.data}))}),"emit status":(0,c.a)((e,t)=>({type:"status",status:t.status})),"post message":(0,f.r)(({event:e})=>((0,u.DT)(e,"post"),{type:"request",data:{data:e.data.data,expectResponse:!!e.resolvable,type:e.data.type,resolvable:e.resolvable,options:e.options}})),"process pending handshakes":(0,c.e)(({context:e,enqueue:t})=>{e.handshakeBuffer.forEach(e=>t.raise(e)),t.assign({handshakeBuffer:[]})}),"remove request":(0,c.e)(({context:e,enqueue:t,event:n})=>{(0,u.DT)(n,["request.success","request.failed","request.aborted"]),(0,f.s)(n.requestId),t.assign({requests:e.requests.filter(({id:e})=>e!==n.requestId)})}),"send response":(0,f.r)(({event:e})=>((0,u.DT)(e,["message.received","heartbeat.received"]),{type:"request",data:{type:D,responseTo:e.message.data.id,data:void 0}})),"send handshake syn ack":(0,f.r)({type:"request",data:{type:N}}),"send pending messages":(0,c.e)(({enqueue:e})=>{e.raise(({context:e})=>({type:"request",data:e.buffer.map(({data:e,resolvable:t,options:n})=>({data:e.data,type:e.type,expectResponse:!!t,resolvable:t,options:n}))})),e.emit(({context:e})=>({type:"buffer.flushed",messages:e.buffer.map(({data:e})=>e)}
10)),e.assign({buffer:[]})}),"set connection config":(0,d.a)({channelId:({event:e})=>((0,u.DT)(e,"handshake.syn"),e.message.data.channelId),target:({event:e})=>((0,u.DT)(e,"handshake.syn"),e.message.source||void 0),targetOrigin:({event:e})=>((0,u.DT)(e,"handshake.syn"),e.message.origin)})},guards:{hasSource:({context:e})=>null!==e.target}}).createMachine({id:"node",context:({input:e})=>({buffer:[],channelId:null,connectTo:e.connectTo,domain:e.domain??T,handshakeBuffer:[],name:e.name,requests:[],target:void 0,targetOrigin:null}),invoke:{id:"listen for handshake syn",src:"listen",input:S({include:j,responseType:"handshake.syn"})},on:{"request.success":{actions:"remove request"},"request.failed":{actions:"remove request"},"request.aborted":{actions:"remove request"},"handshake.syn":{actions:"set connection config",target:".handshaking"}},initial:"idle",states:{idle:{entry:[{type:"emit status",params:{status:"idle"}}],on:{post:{actions:"buffer message"}}},handshaking:{guard:"hasSource",entry:["send handshake syn ack",{type:"emit status",params:{status:"handshaking"}}],invoke:[{id:"listen for handshake ack",src:"listen",input:S({include:M,count:1,responseType:"handshake.complete"}),onDone:"connected"},{id:"listen for disconnect",src:"listen",input:S({include:R,count:1,responseType:"disconnect"})},{id:"listen for messages",src:"listen",input:S({exclude:[R,j,M,I,D]})}],on:{request:{actions:"create request"},post:{actions:"buffer message"},"message.received":{actions:"buffer handshake"},disconnect:{target:"idle"}}},connected:{entry:["process pending handshakes","send pending messages",{type:"emit status",params:{status:"connected"}}],invoke:[{id:"listen for messages",src:"listen",input:S({exclude:[R,j,M,I,D]})},{id:"listen for heartbeat",src:"listen",input:S({include:I,responseType:"heartbeat.received"})},{id:"listen for disconnect",src:"listen",input:S({include:R,count:1,responseType:"disconnect"})}],on:{request:{actions:"create request"},post:{actions:"post message"},disconnect:{target:"idle"},"message.received":{actions:["send response","emit received message"]},"heartbeat.received":{actions:["send response","emit heartbeat"]}}}}}),q=(e,t=H())=>{let n,r=(0,f.c)(t,{input:e}),i=new Map,o=new Map;r.on("message",({message:e})=>{let t=i.get(e.type);if(t)return void t.forEach(t=>t(e.data));let n=o.get(e.type);n?n.add(e):o.set(e.type,new Set([e]))});let a=()=>{r.stop()};return{actor:r,fetch:(e,t,n)=>{let i,o,{responseTimeout:a=1e4,signal:s,suppressWarnings:l}=n||{},u="function"==typeof Promise.withResolvers?Promise.withResolvers():{promise:new Promise((e,t)=>{i=e,o=t}),resolve:i,reject:o};return r.send({type:"post",data:{type:e,data:t},resolvable:u,options:{responseTimeout:a,signal:s,suppressWarnings:l}}),u.promise},machine:t,on:(e,t,n)=>{let r=i.get(e)||new Set;i.has(e)||i.set(e,r),r.add(t);let a=o.get(e);if(a){let r=n?.replay??1;Array.from(a).slice(-r).forEach(({data:e})=>t(e)),o.delete(e)}return()=>{r.delete(t)}},onStatus:(e,t)=>{let i=r.on("status",r=>{n=r.status,t&&r.status!==t||e(r.status)});return n&&e(n),()=>i.unsubscribe()},post:(e,t)=>{r.send({type:"post",data:{type:e,data:t}})},start:()=>(r.start(),a),stop:a}}},53422:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(42410),i=n(91359),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols;let s=a?function(e){return null==e?[]:(e=Object(e),(0,r.A)(a(e),function(t){return o.call(e,t)}))}:i.A},53537:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(38374),i=Math.floor,o=Math.min;let a=function(e,t,n,a){var s=0,l=null==e?0:e.length;if(0===l)return 0;for(var u=(t=n(t))!=t,c=null===t,d=(0,r.A)(t),f=void 0===t;s<l;){var h=i((s+l)/2),p=n(e[h]),g=void 0!==p,m=null===p,y=p==p,b=(0,r.A)(p);if(u)var v=a||y;else v=f?y&&(a||g):c?y&&g&&(a||!m):d?y&&g&&!m&&(a||!b):!m&&!b&&(a?p<=t:p<t);v?s=h+1:l=h}return o(l,0xfffffffe)};var s=n(79800);let l=function(e,t,n){var i=0,o=null==e?i:e.length;if("number"==typeof t&&t==t&&o<=0x7fffffff){for(;i<o;){var l=i+o>>>1,u=e[l];null!==u&&!(0,r.A)(u)&&(n?u<=t:u<t)?i=l+1:o=l}return o}return a(e,t,s.A,n)},u=function(e,t){return l(e,t)}},53941:(e,t,n)=>{"use strict";let r=n(79177);e.exports=(e,t,n)=>new r(e,n).compare(new r(t,n))},54100:e=>{e.exports=function(e,t,n){if(null===e!=(null===t))return!1;var r,i=Array.isArray(e);if(i!==Array.isArray(t))return!1;var o=typeof e;return o===typeof t&&("function"!==(r=o)&&"object"!==r?n?n(e,t):e===t:i?function(e,t,n){var r=e.length;if(r!==t.length)return!1;if(n){for(var i=0;i<r;i++)if(!n(e[i],t[i]))return!1}else for(var i=0;i<r;i++)if(e[i]!==t[i])return!1;return!0}(e,t,n):function(e,t,n){var r=0,i=0;if(n)for(var o in e){if(e.hasOwnProperty(o)&&!n(e[o],t[o]))return!1;r++}else for(var o in e){if(e.hasOwnProperty(o)&&e[o]!==t[o])return!1;r++}for(var o in t)t.hasOwnProperty(o)&&i++;return r===i}(e,t,n))}}
10,54104:(e,t,n)=>{var r=n(15293),i=n(62803),o=n(45788),a=n(83320),s=n(17760);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},54106:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(71606),i=n(10954),o=n(15595);let a=function(e,t,n){for(var a=-1,s=t.length,l={};++a<s;){var u=t[a],c=(0,r.A)(e,u);n(c,u)&&(0,i.A)(l,(0,o.A)(u,e),c)}return l}},54255:(e,t,n)=>{var r=n(18610);e.exports=function(e){return e==e&&!r(e)}},54498:(e,t,n)=>{var r=n(14168);e.exports=function(e){return r(this,e).get(e)}},54727:e=>{e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},55065:(e,t,n)=>{"use strict";n.d(t,{c:()=>i});var r=n(92477);function i(e,t){let n=(0,r.a)(e,t?.in).getDay();return 0===n||6===n}},55168:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r,i=(r={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},function(e){return null==r?void 0:r[e]}
10),o=n(24286),a=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,s=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");let l=function(e){return(e=(0,o.A)(e))&&e.replace(a,i).replace(s,"")}},55410:(e,t,n)=>{"use strict";n.d(t,{qg:()=>ez});var r=n(64725),i=n(11554),o=n(16591),a=n(91993),s=n(46776),l=n(92477);class u{validate(e,t){return!0}constructor(){this.subPriority=0}}class c extends u{constructor(e,t,n,r,i){super(),this.value=e,this.validateValue=t,this.setValue=n,this.priority=r,i&&(this.subPriority=i)}validate(e,t){return this.validateValue(e,this.value,t)}set(e,t,n){return this.setValue(e,t,this.value,n)}}class d extends u{constructor(e,t){super(),this.priority=10,this.subPriority=-1,this.context=e||(e=>(0,a.w)(t,e))}set(e,t){var n,r;let i;if(t.timestampIsSet)return e;return(0,a.w)(e,((i="function"==typeof(r=n=this.context)&&r.prototype?.constructor===r?new n(0):(0,a.w)(n,0)).setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),i.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),i))}}class f{run(e,t,n,r){let i=this.parse(e,t,n,r);return i?{setter:new c(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}validate(e,t,n){return!0}}class h extends f{parse(e,t,n){switch(t){case"G":case"GG":case"GGG":return n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"});case"GGGGG":return n.era(e,{width:"narrow"});default:return n.era(e,{width:"wide"})||n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"})}}set(e,t,n){return t.era=n,e.setFullYear(n,0,1),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=140,this.incompatibleTokens=["R","u","t","T"]}}var p=n(77989);let g=/^(1[0-2]|0?\d)/,m=/^(3[0-1]|[0-2]?\d)/,y=/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,b=/^(5[0-3]|[0-4]?\d)/,v=/^(2[0-3]|[0-1]?\d)/,w=/^(2[0-4]|[0-1]?\d)/,_=/^(1[0-1]|0?\d)/,x=/^(1[0-2]|0?\d)/,k=/^[0-5]?\d/,E=/^[0-5]?\d/,A=/^\d/,S=/^\d{1,2}/,C=/^\d{1,3}/,O=/^\d{1,4}/,T=/^-?\d+/,D=/^-?\d/,I=/^-?\d{1,2}/,R=/^-?\d{1,3}/,j=/^-?\d{1,4}/,N=/^([+-])(\d{2})(\d{2})?|Z/,M=/^([+-])(\d{2})(\d{2})|Z/,F=/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,$=/^([+-])(\d{2}):(\d{2})|Z/,L=/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/;function P(e,t){return e?{value:t(e.value),rest:e.rest}:e}function z(e,t){let n=t.match(e);return n?{value:parseInt(n[0],10),rest:t.slice(n[0].length)}:null}function U(e,t){let n=t.match(e);if(!n)return null;if("Z"===n[0])return{value:0,rest:t.slice(1)};let r="+"===n[1]?1:-1,i=n[2]?parseInt(n[2],10):0,o=n[3]?parseInt(n[3],10):0,a=n[5]?parseInt(n[5],10):0;return{value:r*(i*p.s0+o*p.Cg+a*p._m),rest:t.slice(n[0].length)}}function B(e,t){switch(e){case 1:return z(A,t);case 2:return z(S,t);case 3:return z(C,t);case 4:return z(O,t);default:return z(RegExp("^\\d{1,"+e+"}"),t)}}function H(e,t){switch(e){case 1:return z(D,t);case 2:return z(I,t);case 3:return z(R,t);case 4:return z(j,t);default:return z(RegExp("^-?\\d{1,"+e+"}"),t)}}function q(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function V(e,t){let n,r=t>0,i=r?t:1-t;if(i<=50)n=e||100;else{let t=i+50;n=e+100*Math.trunc(t/100)-100*(e>=t%100)}return r?n:1-n}function G(e){return e%400==0||e%4==0&&e%100!=0}class W extends f{parse(e,t,n){let r=e=>({year:e,isTwoDigitYear:"yy"===t});switch(t){case"y":return P(B(4,e),r);case"yo":return P(n.ordinalNumber(e,{unit:"year"}),r);default:return P(B(t.length,e),r)}}validate(e,t){return t.isTwoDigitYear||t.year>0}set(e,t,n){let r=e.getFullYear();if(n.isTwoDigitYear){let t=V(n.year,r);return e.setFullYear(t,0,1),e.setHours(0,0,0,0),e}let i="era"in t&&1!==t.era?1-n.year:n.year;return e.setFullYear(i,0,1),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=130,this.incompatibleTokens=["Y","R","u","w","I","i","e","c","t","T"]}}var Y=n(37305),K=n(25037);class Z extends f{parse(e,t,n){let r=e=>({year:e,isTwoDigitYear:"YY"===t});switch(t){case"Y":return P(B(4,e),r);case"Yo":return P(n.ordinalNumber(e,{unit:"year"}),r);default:return P(B(t.length,e),r)}}validate(e,t){return t.isTwoDigitYear||t.year>0}set(e,t,n,r){let i=(0,Y.h)(e,r);if(n.isTwoDigitYear){let t=V(n.year,i);return e.setFullYear(t,0,r.firstWeekContainsDate),e.setHours(0,0,0,0),(0,K.k)(e,r)}let o="era"in t&&1!==t.era?1-n.year:n.year;return e.setFullYear(o,0,r.firstWeekContainsDate),e.setHours(0,0,0,0),(0,K.k)(e,r)}constructor(...e){super(...e),this.priority=130,this.incompatibleTokens=["y","R","u","Q","q","M","L","I","d","D","i","t","T"]}}var X=n(31166);class J extends f{parse(e,t){return"R"===t?H(4,e):H(t.length,e)}set(e,t,n){let r=(0,a.w)(e,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),(0,X.b)(r)}constructor(...e){super(...e),this.priority=130,this.incompatibleTokens=["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]}}class Q extends f{parse(e,t){return"u"===t?H(4,e):H(t.length,e)}set(e,t,n){return e.setFullYear(n,0,1),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=130,this.incompatibleTokens=["G","y","Y","R","w","I","i","e","c","t","T"]}}class ee extends f{parse(e,t,n){switch(t){case"Q":case"QQ":return B(t.length,e);case"Qo":return n.ordinalNumber(e,{unit:"quarter"});case"QQQ":return n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(e,{width:"narrow",context:"formatting"});default:return n.quarter(e,{width:"wide",context:"formatting"})||n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=1&&t<=4}set(e,t,n){return e.setMonth((n-1)*3,1),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=120,this.incompatibleTokens=["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]}}class et extends f{parse(e,t,n){switch(t){case"q":case"qq":return B(t.length,e);case"qo":return n.ordinalNumber(e,{unit:"quarter"});case"qqq":return n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(e,{width:"narrow",context:"standalone"});default:return n.quarter(e,{width:"wide",context:"standalone"})||n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=1&&t<=4}set(e,t,n){return e.setMonth((n-1)*3,1),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=120,this.incompatibleTokens=["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]}}class en extends f{parse(e,t,n){let r=e=>e-1;switch(t){case"M":return P(z(g,e),r);case"MM":return P(B(2,e),r);case"Mo":return P(n.ordinalNumber(e,{unit:"month"}),r);case"MMM":return n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(e,{width:"narrow",context:"formatting"});default:return n.month(e,{width:"wide",context:"formatting"})||n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.setMonth(n,1),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.incompatibleTokens=["Y","R","q","Q","L","w","I","D","i","e","c","t","T"],this.priority=110}}class er extends f{parse(e,t,n){let r=e=>e-1;switch(t){case"L":return P(z(g,e),r);case"LL":return P(B(2,e),r);case"Lo":return P(n.ordinalNumber(e,{unit:"month"}),r);case"LLL":return n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(e,{width:"narrow",context:"standalone"});default:return n.month(e,{width:"wide",context:"standalone"})||n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.setMonth(n,1),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=110,this.incompatibleTokens=["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]}}var ei=n(88615);class eo extends f{parse(e,t,n){switch(t){case"w":return z(b,e);case"wo":return n.ordinalNumber(e,{unit:"week"});default:return B(t.length,e)}}validate(e,t){return t>=1&&t<=53}set(e,t,n,r){let i,o;return(0,K.k)((i=(0,l.a)(e,r?.in),o=(0,ei.N)(i,r)-n,i.setDate(i.getDate()-7*o),(0,l.a)(i,r?.in)),r)}constructor(...e){super(...e),this.priority=100,this.incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","i","t","T"]}}var ea=n(47665);class es extends f{parse(e,t,n){switch(t){case"I":return z(b,e);case"Io":return n.ordinalNumber(e,{unit:"week"});default:return B(t.length,e)}}validate(e,t){return t>=1&&t<=53}set(e,t,n){let r,i;return(0,X.b)((r=(0,l.a)(e,void 0),i=(0,ea.s)(r,void 0)-n,r.setDate(r.getDate()-7*i),r))}constructor(...e){super(...e),this.priority=100,this.incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]}}let el=[31,28,31,30,31,30,31,31,30,31,30,31],eu=[31,29,31,30,31,30,31,31,30,31,30,31];class ec extends f{parse(e,t,n){switch(t){case"d":return z(m,e);case"do":return n.ordinalNumber(e,{unit:"date"});default:return B(t.length,e)}}validate(e,t){let n=G(e.getFullYear()),r=e.getMonth();return n?t>=1&&t<=eu[r]:t>=1&&t<=el[r]}set(e,t,n){return e.setDate(n),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=90,this.subPriority=1,this.incompatibleTokens=["Y","R","q","Q","w","I","D","i","e","c","t","T"]}}class ed extends f{parse(e,t,n){switch(t){case"D":case"DD":return z(y,e);case"Do":return n.ordinalNumber(e,{unit:"date"});default:return B(t.length,e)}}validate(e,t){return G(e.getFullYear())?t>=1&&t<=366:t>=1&&t<=365}set(e,t,n){return e.setMonth(0,n),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=90,this.subpriority=1,this.incompatibleTokens=["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]}}var ef=n(41964);function eh(e,t,n){let r=(0,s.q)(),i=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,o=(0,l.a)(e,n?.in),a=o.getDay(),u=7-i,c=t<0||t>6?t-(a+u)%7:((t%7+7)%7+u)%7-(a+u)%7;return(0,ef.f)(o,c,n)}class ep extends f{parse(e,t,n){switch(t){case"E":case"EE":case"EEE":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,r){return(e=eh(e,n,r)).setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=90,this.incompatibleTokens=["D","i","e","c","t","T"]}}class eg extends f{parse(e,t,n,r){let i=e=>{let t=7*Math.floor((e-1)/7);return(e+r.weekStartsOn+6)%7+t};switch(t){case"e":case"ee":return P(B(t.length,e),i);case"eo":return P(n.ordinalNumber(e,{unit:"day"}),i);case"eee":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"eeeee":return n.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,r){return(e=eh(e,n,r)).setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=90,this.incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]}}class em extends f{parse(e,t,n,r){let i=e=>{let t=7*Math.floor((e-1)/7);return(e+r.weekStartsOn+6)%7+t};switch(t){case"c":case"cc":return P(B(t.length,e),i);case"co":return P(n.ordinalNumber(e,{unit:"day"}),i);case"ccc":return n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});case"ccccc":return n.day(e,{width:"narrow",context:"standalone"});case"cccccc":return n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});default:return n.day(e,{width:"wide",context:"standalone"})||n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,r){return(e=eh(e,n,r)).setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=90,this.incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]}}class ey extends f{parse(e,t,n){let r=e=>0===e?7:e;switch(t){case"i":case"ii":return B(t.length,e);case"io":return n.ordinalNumber(e,{unit:"day"});case"iii":return P(n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),r);case"iiiii":return P(n.day(e,{width:"narrow",context:"formatting"}),r);case"iiiiii":return P(n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),r);default:return P(n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),r)}}validate(e,t){return t>=1&&t<=7}set(e,t,n){var r,i;let o,a,s;return r=e,o=(0,l.a)(r,void 0),i=void 0,s=0===(a=(0,l.a)(o,i?.in).getDay())?7:a,(e=(0,ef.f)(o,n-s,void 0)).setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=90,this.incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]}}class eb extends f{parse(e,t,n){switch(t){case"a":case"aa":case"aaa":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours(q(n),0,0,0),e}constructor(...e){super(...e),this.priority=80,this.incompatibleTokens=["b","B","H","k","t","T"]}}
10class ev extends f{parse(e,t,n){switch(t){case"b":case"bb":case"bbb":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours(q(n),0,0,0),e}constructor(...e){super(...e),this.priority=80,this.incompatibleTokens=["a","B","H","k","t","T"]}}class ew extends f{parse(e,t,n){switch(t){case"B":case"BB":case"BBB":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours(q(n),0,0,0),e}constructor(...e){super(...e),this.priority=80,this.incompatibleTokens=["a","b","t","T"]}}class e_ extends f{parse(e,t,n){switch(t){case"h":return z(x,e);case"ho":return n.ordinalNumber(e,{unit:"hour"});default:return B(t.length,e)}}validate(e,t){return t>=1&&t<=12}set(e,t,n){let r=e.getHours()>=12;return r&&n<12?e.setHours(n+12,0,0,0):r||12!==n?e.setHours(n,0,0,0):e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=70,this.incompatibleTokens=["H","K","k","t","T"]}}class ex extends f{parse(e,t,n){switch(t){case"H":return z(v,e);case"Ho":return n.ordinalNumber(e,{unit:"hour"});default:return B(t.length,e)}}validate(e,t){return t>=0&&t<=23}set(e,t,n){return e.setHours(n,0,0,0),e}constructor(...e){super(...e),this.priority=70,this.incompatibleTokens=["a","b","h","K","k","t","T"]}}class ek extends f{parse(e,t,n){switch(t){case"K":return z(_,e);case"Ko":return n.ordinalNumber(e,{unit:"hour"});default:return B(t.length,e)}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.getHours()>=12&&n<12?e.setHours(n+12,0,0,0):e.setHours(n,0,0,0),e}constructor(...e){super(...e),this.priority=70,this.incompatibleTokens=["h","H","k","t","T"]}}class eE extends f{parse(e,t,n){switch(t){case"k":return z(w,e);case"ko":return n.ordinalNumber(e,{unit:"hour"});default:return B(t.length,e)}}validate(e,t){return t>=1&&t<=24}set(e,t,n){return e.setHours(n<=24?n%24:n,0,0,0),e}constructor(...e){super(...e),this.priority=70,this.incompatibleTokens=["a","b","h","H","K","t","T"]}}class eA extends f{parse(e,t,n){switch(t){case"m":return z(k,e);case"mo":return n.ordinalNumber(e,{unit:"minute"});default:return B(t.length,e)}}validate(e,t){return t>=0&&t<=59}set(e,t,n){return e.setMinutes(n,0,0),e}constructor(...e){super(...e),this.priority=60,this.incompatibleTokens=["t","T"]}}class eS extends f{parse(e,t,n){switch(t){case"s":return z(E,e);case"so":return n.ordinalNumber(e,{unit:"second"});default:return B(t.length,e)}}validate(e,t){return t>=0&&t<=59}set(e,t,n){return e.setSeconds(n,0),e}constructor(...e){super(...e),this.priority=50,this.incompatibleTokens=["t","T"]}}class eC extends f{parse(e,t){return P(B(t.length,e),e=>Math.trunc(e*Math.pow(10,-t.length+3)))}set(e,t,n){return e.setMilliseconds(n),e}constructor(...e){super(...e),this.priority=30,this.incompatibleTokens=["t","T"]}}var eO=n(70722);class eT extends f{parse(e,t){switch(t){case"X":return U(N,e);case"XX":return U(M,e);case"XXXX":return U(F,e);case"XXXXX":return U(L,e);default:return U($,e)}}set(e,t,n){return t.timestampIsSet?e:(0,a.w)(e,e.getTime()-(0,eO.G)(e)-n)}constructor(...e){super(...e),this.priority=10,this.incompatibleTokens=["t","T","x"]}}class eD extends f{parse(e,t){switch(t){case"x":return U(N,e);case"xx":return U(M,e);case"xxxx":return U(F,e);case"xxxxx":return U(L,e);default:return U($,e)}}set(e,t,n){return t.timestampIsSet?e:(0,a.w)(e,e.getTime()-(0,eO.G)(e)-n)}constructor(...e){super(...e),this.priority=10,this.incompatibleTokens=["t","T","X"]}}class eI extends f{parse(e){return z(T,e)}set(e,t,n){return[(0,a.w)(e,1e3*n),{timestampIsSet:!0}]}constructor(...e){super(...e),this.priority=40,this.incompatibleTokens="*"}}class eR extends f{parse(e){return z(T,e)}set(e,t,n){return[(0,a.w)(e,n),{timestampIsSet:!0}]}constructor(...e){super(...e),this.priority=20,this.incompatibleTokens="*"}}let ej={G:new h,y:new W,Y:new Z,R:new J,u:new Q,Q:new ee,q:new et,M:new en,L:new er,w:new eo,I:new es,d:new ec,D:new ed,E:new ep,e:new eg,c:new em,i:new ey,a:new eb,b:new ev,B:new ew,h:new e_,H:new ex,K:new ek,k:new eE,m:new eA,s:new eS,S:new eC,X:new eT,x:new eD,t:new eI,T:new eR},eN=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,eM=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,eF=/^'([^]*?)'?$/,e$=/''/g,eL=/\S/,eP=/[a-zA-Z]/;function ez(e,t,n,u){let c=()=>(0,a.w)(u?.in||n,NaN),f=Object.assign({},(0,s.q)()),h=u?.locale??f.locale??r.c,p=u?.firstWeekContainsDate??u?.locale?.options?.firstWeekContainsDate??f.firstWeekContainsDate??f.locale?.options?.firstWeekContainsDate??1,g=u?.weekStartsOn??u?.locale?.options?.weekStartsOn??f.weekStartsOn??f.locale?.options?.weekStartsOn??0;if(!t)return e?c():(0,l.a)(n,u?.in);let m={firstWeekContainsDate:p,weekStartsOn:g,locale:h},y=[new d(u?.in,n)],b=t.match(eM).map(e=>{let t=e[0];return t in i.m?(0,i.m[t])(e,h.formatLong):e}).join("").match(eN),v=[];for(let n of b){!u?.useAdditionalWeekYearTokens&&(0,o.xM)(n)&&(0,o.Ss)(n,t,e),!u?.useAdditionalDayOfYearTokens&&(0,o.ef)(n)&&(0,o.Ss)(n,t,e);let r=n[0],i=ej[r];if(i){let{incompatibleTokens:t}=i;if(Array.isArray(t)){let e=v.find(e=>t.includes(e.token)||e.token===r);
10if(e)throw RangeError(`The format string mustn't contain \`${e.fullToken}\` and \`${n}\` at the same time`)}else if("*"===i.incompatibleTokens&&v.length>0)throw RangeError(`The format string mustn't contain \`${n}\` and any other token at the same time`);v.push({token:r,fullToken:n});let o=i.run(e,n,h.match,m);if(!o)return c();y.push(o.setter),e=o.rest}else{if(r.match(eP))throw RangeError("Format string contains an unescaped latin alphabet character `"+r+"`");if("''"===n?n="'":"'"===r&&(n=n.match(eF)[1].replace(e$,"'")),0!==e.indexOf(n))return c();e=e.slice(n.length)}}if(e.length>0&&eL.test(e))return c();let w=y.map(e=>e.priority).sort((e,t)=>t-e).filter((e,t,n)=>n.indexOf(e)===t).map(e=>y.filter(t=>t.priority===e).sort((e,t)=>t.subPriority-e.subPriority)).map(e=>e[0]),_=(0,l.a)(n,u?.in);if(isNaN(+_))return c();let x={};for(let e of w){if(!e.validate(_,m))return c();let t=e.set(_,x,m);Array.isArray(t)?(_=t[0],Object.assign(x,t[1])):_=t}return _}},55563:(e,t,n)=>{var r=n(16950),i=n(28959),o=n(17650),a=n(90837),s=1/0,l=r?r.prototype:void 0,u=l?l.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return i(t,e)+"";if(a(t))return u?u.call(t):"";var n=t+"";return"0"==n&&1/t==-s?"-0":n}},55656:(e,t,n)=>{"use strict";n.d(t,{r:()=>o});var r=n(70061),i=n(31385);function o(e,t,n){let[o,a]=(0,r.x)(n?.in,e,t);return+(0,i.o)(o)==+(0,i.o)(a)}},55726:e=>{e.exports=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}},55756:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");let i=function(e){return r.test(e)}},55866:(e,t,n)=>{"use strict";n.d(t,{Jy:()=>h});var r=n(87678);let i=/^[A-Za-z_][A-Za-z0-9_]*$/;function o(e){return e.reduce((e,t,n)=>{var r;if(Array.isArray(t))return`${e}[${t.join(":")}]`;if("object"==typeof(r=t)&&"string"==typeof r._key)return`${e}[_key=="${t._key}"]`;if("number"==typeof t)return`${e}[${t}]`;if("string"==typeof t&&!i.test(t))return`${e}['${t}']`;if("string"==typeof t)return`${e}${0===n?"":"."}${t}`;throw Error(`Unsupported path segment "${t}"`)},"")}class a extends Error{path;value;serializedPath;constructor(e,t,n){const r=o(t);super(`${e} (at '${r}')`),this.path=t,this.serializedPath=r,this.value=n}}let s=/^[a-z0-9][a-z0-9_.-]+$/i,l=/^[a-zA-Z_][a-zA-Z0-9_-]*$/,u=/^[a-z_]/i;function c(e,t,n){if(!u.test(e))throw new a("Keys must start with a letter (a-z)",n.concat(e),t);if(!l.test(e))throw new a("Keys can only contain letters, numbers and underscores",n.concat(e),t);if("_key"===e||"_ref"===e||"_type"===e){if("string"!=typeof t)throw new a("Keys must be strings",n.concat(e),t);if(!s.test(t))throw new a("Invalid key - use less exotic characters",n.concat(e),t)}return e}let d=["_id","_type","_createdAt","_updatedAt","_rev"],f={hideWarnings:!1,diffMatchPatch:{enabled:!0,lengthThresholdAbsolute:30,lengthThresholdRelative:1.2}};function h(e,t,n=f,i=[],o=[]){var s,l,u,d,w;let _;if(e===t)return o;let x=Array.isArray(e)?"array":typeof e,k=Array.isArray(t)?"array":typeof t,E="undefined"===x,A="undefined"===k;if(E&&!A)return o.push({op:"set",path:i,value:t}),o;if(!E&&A)return o.push({op:"unset",path:i}),o;let S={...f,...n,diffMatchPatch:{...f.diffMatchPatch,...n.diffMatchPatch||{}}},C=E?k:x;return"object"===C||"array"===C?x!==k?(o.push({op:"set",path:i,value:t}),o):"array"===C?function(e,t,n,r,i){if(t.length>e.length&&i.push({op:"insert",after:r.concat([-1]),items:t.slice(e.length).map((e,t)=>b(e,r,t,n))}),t.length<e.length){let o=e.length-t.length==1,a=e.slice(t.length);n.ifRevisionID||!m(a)?i.push({op:"unset",path:r.concat([o?t.length:[t.length,""]])}):i.push(...a.map(e=>({op:"unset",path:r.concat({_key:e._key})})))}for(let e=0;e<t.length;e++)if(Array.isArray(t[e]))throw new a("Multi-dimensional arrays not supported",r.concat(e),t[e]);let o=Math.min(e.length,t.length),s=e.slice(0,o),l=t.slice(0,o);return m(s)&&m(l)?function(e,t,n,r,i){var o,a;let s=y(e),l=y(t);if(o=s.keys,a=l.keys,!(o.length===a.length&&o.every((e,t)=>a[t]===e)))return p(e,t,n,r,i);for(let e=0;e<l.keys.length;e++){let t=l.keys[e];h(s.index[t],b(l.index[t],r,e,n),n,r.concat({_key:t}),i)}return i}(s,l,n,r,i):p(s,l,n,r,i)}(e,t,S,i,o):function(e,t,n,r,i){let o=0===r.length,a=Object.keys(e).filter(o?g:v).map(t=>c(t,e[t],r)),s=a.length,l=Object.keys(t).filter(o?g:v).map(e=>c(e,t[e],r)),u=l.length;for(let e=0;e<s;e++){let n=a[e];n in t||i.push({op:"unset",path:r.concat(n)})}for(let o=0;o<u;o++){let a=l[o];h(e[a],t[a],n,r.concat([a]),i)}return i}(e,t,S,i,o):(s=e,l=t,u=S,d=i,w=o,_=function(e,t,n,i){let{enabled:o,lengthThresholdRelative:a,lengthThresholdAbsolute:s}=n.diffMatchPatch,l=i[i.length-1];if(!o||"string"!=typeof e||"string"!=typeof t||"string"==typeof l&&"_"===l[0]||t.length<s)return;let u="";try{let n=(0,r.iU)(e,t),i=(0,r.sw)(n);u=(0,r.w1)((0,r.jW)(i))}catch{return}return u.length>t.length*a?void 0:{op:"diffMatchPatch",path:i,value:u}}(s,l,u,d),w.push(_||{op:"set",path:d,value:l}),w)}function p(e,t,n,r,i){for(let o=0;o<e.length;o++)h(e[o],b(t[o],r,o,n),n,r.concat(o),i);return i}function g(e){return -1===d.indexOf(e)}function m(e){let t=[];for(let r=0;r<e.length;r++){var n;
10let i="object"==typeof(n=e[r])&&null!==n&&n._key;if(!i||-1!==t.indexOf(i))return!1;t.push(i)}return!0}function y(e){return e.reduce((e,t)=>(e.keys.push(t._key),e.index[t._key]=t,e),{keys:[],index:{}})}function b(e,t,n,r){if("u">typeof e)return e;if(!r.hideWarnings){let e=o(t.concat(n));console.warn(`undefined value in array converted to null (at '${e}')`)}return null}function v(e){return!0}},55876:(e,t,n)=>{"use strict";let r;n.d(t,{Eg:()=>x,H7:()=>u,Hj:()=>k,J8:()=>o,Jo:()=>m,Kk:()=>b,OL:()=>O,RJ:()=>T,SV:()=>w,WV:()=>c,XE:()=>d,_Q:()=>y,aR:()=>g,eX:()=>l,fr:()=>S,iL:()=>p,lV:()=>A,m4:()=>h,qX:()=>f,rT:()=>_,u3:()=>a,wE:()=>s,wr:()=>E});var i=n(66161);function o({context:e,block:t}){if((0,i.zS)(e,t.node)){let n=t.node.children[t.node.children.length-1];if(n)return{path:[...t.path,"children",{_key:n._key}],offset:(0,i.bl)(e,n)?n.text.length:0}}return{path:t.path,offset:0}}function a({context:e,block:t}){if((0,i.zS)(e,t.node)){let e=t.node.children[0];return{path:[...t.path,"children",{_key:e?._key??""}],offset:0}}return{path:t.path,offset:0}}function s(e){return"object"==typeof e&&null!==e&&"_key"in e}function l(e,t){return e===t||void 0!==e&&void 0!==t&&(("string"==typeof e||"number"==typeof e)&&("string"==typeof t||"number"==typeof t)?e===t:s(e)&&s(t)?e._key===t._key:!!(Array.isArray(e)&&Array.isArray(t))&&e[0]===t[0]&&e[1]===t[1])}function u(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(!l(e[n],t[n]))return!1;return!0}function c(e){return!!e&&u(e.anchor.path,e.focus.path)&&e.anchor.offset===e.focus.offset}function d(e){let t=e.path.at(0);if(s(t))return t._key}function f(e){let t=e.path.at(2);if(s(t))return t._key}function h({context:e,blockOffset:t,direction:n}){let r=t.offset,o,a=!1;for(let s of e.value)if(s._key===t.path[0]._key&&(0,i.zS)(e,s))for(let l of s.children){if("forward"===n){if(!(0,i.bl)(e,l))continue;if(r<=l.text.length){o={path:[...t.path,"children",{_key:l._key}],offset:r};break}r-=l.text.length;continue}if(!(0,i.bl)(e,l)){a=!0;continue}if(0===r&&o&&!a){a&&(o={path:[...t.path,"children",{_key:l._key}],offset:0});break}if(r>l.text.length){r-=l.text.length;continue}if(r<=l.text.length&&(o={path:[...t.path,"children",{_key:l._key}],offset:r},0!=(r-=l.text.length)))break}return o}function p({context:e,selectionPoint:t}){let n=0,r=d(t),o=f(t);if(!(!r||!o)){for(let a of e.value)if(a._key===r&&(0,i.zS)(e,a)){for(let r of a.children)if((0,i.bl)(e,r)){if(r._key===o)return{path:[{_key:a._key}],offset:n+t.offset};n+=r.text.length}}}}function g(e){return e?e.backward?e.anchor:e.focus:null}function m(e){return e?e.backward?e.focus:e.anchor:null}function y(e,t){return e.offset===t.offset&&u(e.path,t.path)}function b(e){return v(e)&&"string"==typeof e._type}function v(e){return!!e&&("object"==typeof e||"function"==typeof e)}function w({context:e,blocks:t,options:n}){return Array.isArray(t)?t.flatMap(t=>{let r=_({context:e,block:t,options:n});return r?[r]:[]}):[]}function _({context:e,block:t,options:n}){return function({block:e,context:t,options:n}){if(!b(e))return;let r={};for(let i of Object.keys(e))"_type"===i||"_key"===i||"children"===i||"markDefs"===i||"style"===i||"listItem"===i||"level"===i||(n.validateFields?t.schema.block.fields?.some(e=>e.name===i)&&(r[i]=e[i]):r[i]=e[i]);if(e._type!==t.schema.block.name)return;let o="string"==typeof e._key?e._key:t.keyGenerator(),{markDefs:a,markDefKeyMap:s}=k({context:t,markDefs:e.markDefs,options:n}),l=(Array.isArray(e.children)?e.children:[]).map(e=>(function({child:e,context:t,markDefKeyMap:n,options:r}){return E({span:e,context:t,markDefKeyMap:n,options:r})??A({inlineObject:e,context:t,options:r})})({child:e,context:t,markDefKeyMap:s,options:n})).filter(e=>void 0!==e),u=l.flatMap(e=>e.marks??[]),c=l.length>0?l:[{_key:t.keyGenerator(),_type:t.schema.span.name,text:"",marks:[]}],d=n.normalize?c.reduce((e,n,r)=>{if((0,i.bl)(t,n))return[...e,n];let o=e.at(-1);return o&&(0,i.bl)(t,o)?[...e,n]:[...e,{_key:t.keyGenerator(),_type:t.schema.span.name,text:"",marks:[]},n,...r===c.length-1?[{_key:t.keyGenerator(),_type:t.schema.span.name,text:"",marks:[]}]:[]]},[]):c,f={_type:t.schema.block.name,_key:o,children:d,...r};return"object"==typeof e.markDefs&&null!==e.markDefs&&(f.markDefs=n.removeUnusedMarkDefs?a.filter(e=>u.includes(e._key)):a),"string"==typeof e.style&&t.schema.styles.find(t=>t.name===e.style)&&(f.style=e.style),"string"==typeof e.listItem&&t.schema.lists.find(t=>t.name===e.listItem)&&(f.listItem=e.listItem),"number"==typeof e.level&&(f.level=e.level),f}({block:t,context:e,options:n})??function({blockObject:e,context:t,options:n}){if(!b(e))return;let r=t.schema.blockObjects.find(({name:t})=>t===e._type);if(r)return C({object:e,context:{keyGenerator:t.keyGenerator,schemaType:r},options:n})}({blockObject:t,context:e,options:n})}function x(e,t){return(0,i.zS)(e,t)&&void 0!==t.level&&void 0!==t.listItem}function k({context:e,markDefs:t,options:n}){let r=Array.isArray(t)?t:[],i=new Map;return{markDefs:r.flatMap(t=>{if(!b(t))return[];let r=e.schema.annotations.find(({name:e})=>e===t._type);if(!r||"string"!=typeof t._key)return[];let o=C({object:t,context:{schemaType:r,keyGenerator:e.keyGenerator},options:n});return o?(i.set(t._key,o._key),[o]):[]}),markDefKeyMap:i}}function E({span:e,context:t,markDefKeyMap:n,options:r}){if(!v(e))return;let i={};for(let t of Object.keys(e))"_type"!==t&&"_key"!==t&&"text"!==t&&"marks"!==t&&(i[t]=e[t]);let o=(Array.isArray(e.marks)?e.marks:[]).flatMap(e=>{if("string"!=typeof e)return[];let r=n.get(e);return void 0!==r?[r]:t.schema.decorators.some(t=>t.name===e)?[e]:[]});if("string"!=typeof e._type||e._type===t.schema.span.name)return"string"!=typeof e._type?"string"==typeof e.text?{_type:t.schema.span.name,_key:"string"==typeof e._key?e._key:t.keyGenerator(),text:e.text,marks:o,...r.validateFields?{}:i}:void 0:{_type:t.schema.span.name,_key:"string"==typeof e._key?e._key:t.keyGenerator(),text:"string"==typeof e.text?e.text:"",marks:o,...r.validateFields?{}:i}}function A({inlineObject:e,context:t,options:n}){if(!b(e))return;let r=t.schema.inlineObjects.find(({name:t})=>t===e._type);if(r)return C({object:e,context:{keyGenerator:t.keyGenerator,schemaType:r},options:n})}function S({annotation:e,context:t,options:n}){if(!b(e))return;let r=t.schema.annotations.find(({name:t})=>t===e._type);if(r)return C({object:e,context:{keyGenerator:t.keyGenerator,schemaType:r},options:n})}function C({object:e,context:t,options:n}){let{_type:r,_key:i,...o}=e,a=n.validateFields?t.schemaType.fields.reduce((t,n)=>{let r=e[n.name];return void 0!==r&&(t[n.name]=r),t},{}):o;
10return{_type:t.schemaType.name,_key:"string"==typeof e._key?e._key:t.keyGenerator(),...a}}let O=()=>{var e;let t;return e=12,t=(()=>{if(r)return r;r=[];for(let e=0;e<256;++e)r[e]=(e+256).toString(16).slice(1);return r})(),(function(e=16){let t=new Uint8Array(e);return crypto.getRandomValues(t),t})(12).reduce((e,n)=>e+t[n],"").slice(0,12)};function T({context:e,blocks:t}){let n,r,o=[];if(!e.selection)return o;let a=[],s=m(e.selection),l=g(e.selection),u=d(s),c=f(s),h=d(l),p=f(l);if(!u||!h)return o;for(let o of t){if(!(0,i.zS)(e,o)&&o._key===u&&o._key===h){n=o;break}if(o._key===u){if(!(0,i.zS)(e,o)){n=o;continue}if(c){for(let t of o.children){if(t._key===c){if((0,i.bl)(e,t)){let e=t._key===p?t.text.slice(s.offset,l.offset):t.text.slice(s.offset);n={...o,children:[{...t,text:e}]}}else n={...o,children:[t]};if(o._key===h&&c===p)break;continue}if(n&&(0,i.zS)(e,n)&&(p&&t._key===p&&(0,i.bl)(e,t)?n.children.push({...t,text:t.text.slice(0,l.offset)}):n.children.push(t),o._key===h&&p&&t._key===p))break}if(u===h)break;continue}if(n=o,u===h)break}if(o._key===h){if(!(0,i.zS)(e,o)){r=o;break}if(p){for(let t of(r={...o,children:[]},o.children))if(r&&(0,i.zS)(e,r)){if(t._key===p&&(0,i.bl)(e,t)){r.children.push({...t,text:t.text.slice(0,l.offset)});break}if(r.children.push(t),p&&t._key===p)break}break}r=o;break}n&&a.push(_({context:{schema:e.schema,keyGenerator:e.keyGenerator??O},block:o,options:{normalize:!1,removeUnusedMarkDefs:!0,validateFields:!1}})??o)}let y=n?_({context:{schema:e.schema,keyGenerator:e.keyGenerator??O},block:n,options:{normalize:!1,removeUnusedMarkDefs:!0,validateFields:!1}}):void 0,b=r?_({context:{schema:e.schema,keyGenerator:e.keyGenerator??O},block:r,options:{normalize:!1,removeUnusedMarkDefs:!0,validateFields:!1}}):void 0;return[...y?[y]:[],...a,...b?[b]:[]]}},56217:(e,t,n)=>{"use strict";n.d(t,{I:()=>o});var r=n(92162),i=n(13295);function o(e,t,n){let o=(0,i.c)(e,t,n)/7;return(0,r.u)(n?.roundingMethod)(o)}},56298:e=>{e.exports=function(e){return this.__data__.has(e)}},56580:e=>{e.exports=function(){return!1}},56591:(e,t,n)=>{"use strict";let r=n(79177),i=n(76277),{safeRe:o,t:a}=n(83899);e.exports=(e,t)=>{if(e instanceof r)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let n=null;if((t=t||{}).rtl){let r,i=t.includePrerelease?o[a.COERCERTLFULL]:o[a.COERCERTL];for(;(r=i.exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&r.index+r[0].length===n.index+n[0].length||(n=r),i.lastIndex=r.index+r[1].length+r[2].length;i.lastIndex=-1}else n=e.match(t.includePrerelease?o[a.COERCEFULL]:o[a.COERCE]);if(null===n)return null;let s=n[2],l=n[3]||"0",u=n[4]||"0",c=t.includePrerelease&&n[5]?`-${n[5]}`:"",d=t.includePrerelease&&n[6]?`+${n[6]}`:"";return i(`${s}.${l}.${u}${c}${d}`,t)}},56726:e=>{e.exports=function(){return[]}},56733:(e,t,n)=>{var r=n(8515),i=n(18610);e.exports=function(e){if(!i(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},57185:(e,t,n)=>{"use strict";n.d(t,{i:()=>o});var r=n(12115),i=((()=>{try{return!0}catch(e){return!1}})(),(()=>{try{return!1}catch(e){return!1}})());function o(e){if(i){var t;return t=e,void(0,r.useEffect)(()=>{},[t])}}},57381:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},57629:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(5452),i=n(24949),o=n(53422),a=n(91359);let s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)(0,r.A)(t,(0,o.A)(e)),e=(0,i.A)(e);return t}:a.A},57641:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(e,t,n){for(var r=-1,i=null==e?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}},57755:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(15643);let i=function(e){return e&&e.length?(0,r.A)(e):[]}},58022:(e,t,n)=>{"use strict";n.d(t,{U:()=>r});class r extends Error{constructor(e,t="warn"){super(e),this.message=e,this.logLevel=t}}},58224:e=>{"use strict";e.exports=function(e,t){if(!Array.isArray(e))throw TypeError("humanize-list expected an array");(t=t||{}).conjunction=t.conjunction||"and";var n=e.length;if(1===n)return e[0];if(t.skipConjunction)return e.join(", ");for(var r="",i=0;i<n;i++)i===n-1?(t.oxfordComma&&(r+=","),r+=" "+t.conjunction+" "):0!==i&&(r+=", "),r+=e[i];return r}},58276:(e,t,n)=>{"use strict";n.d(t,{B:()=>d});var r=n(64725),i=n(46776),o=n(70722),a=n(70061),s=n(4644),l=n(77989),u=n(51326),c=n(84433);function d(e,t,n){let d,f=(0,i.q)(),h=n?.locale??f.locale??r.c,p=(0,s.z)(e,t);if(isNaN(p))throw RangeError("Invalid time value");let g=Object.assign({},n,{addSuffix:n?.addSuffix,comparison:p}),[m,y]=(0,a.x)(n?.in,...p>0?[t,e]:[e,t]),b=(0,c.O)(y,m),v=Math.round((b-((0,o.G)(y)-(0,o.G)(m))/1e3)/60);if(v<2)if(n?.includeSeconds)if(b<5)return h.formatDistance("lessThanXSeconds",5,g);else if(b<10)return h.formatDistance("lessThanXSeconds",10,g);else if(b<20)return h.formatDistance("lessThanXSeconds",20,g);else if(b<40)return h.formatDistance("halfAMinute",0,g);else if(b<60)return h.formatDistance("lessThanXMinutes",1,g);else return h.formatDistance("xMinutes",1,g);else if(0===v)return h.formatDistance("lessThanXMinutes",1,g);else return h.formatDistance("xMinutes",v,g);if(v<45)return h.formatDistance("xMinutes",v,g);if(v<90)return h.formatDistance("aboutXHours",1,g);if(v<l.F6){let e=Math.round(v/60);return h.formatDistance("aboutXHours",e,g)}if(v<2520)return h.formatDistance("xDays",1,g);else if(v<l.Nw){let e=Math.round(v/l.F6);return h.formatDistance("xDays",e,g)}else if(v<2*l.Nw)return d=Math.round(v/l.Nw),h.formatDistance("aboutXMonths",d,g);
10if((d=(0,u.W)(y,m))<12){let e=Math.round(v/l.Nw);return h.formatDistance("xMonths",e,g)}{let e=d%12,t=Math.trunc(d/12);return e<3?h.formatDistance("aboutXYears",t,g):e<9?h.formatDistance("overXYears",t,g):h.formatDistance("almostXYears",t+1,g)}}},58496:(e,t,n)=>{"use strict";n.d(t,{v_:()=>l});let r="u">typeof window&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),i={alt:"altKey",control:"ctrlKey",meta:"metaKey",shift:"shiftKey"},o={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:r?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},a={backspace:8,tab:9,enter:13,shift:16,control:17,alt:18,pause:19,capslock:20,escape:27," ":32,pageup:33,pagedown:34,end:35,home:36,arrowleft:37,arrowup:38,arrowright:39,arrowdown:40,insert:45,delete:46,meta:91,numlock:144,scrolllock:145,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222};for(var s=1;s<20;s++)a["f"+s]=111+s;function l(e,t,n){!t||"byKey"in t||(n=t,t=null),Array.isArray(e)||(e=[e]);let r=e.map(e=>(function(e,t){let n=t&&t.byKey,r={},s=(e=e.replace("++","+add")).split("+"),{length:l}=s;for(let e in i)r[i[e]]=!1;for(let e of s){var c;let t=e.endsWith("?")&&e.length>1;t&&(e=e.slice(0,-1));let s=u(e),d=i[s];if(e.length>1&&!d&&!o[e]&&!a[s])throw TypeError(`Unknown modifier: "${e}"`);1!==l&&d||(n?r.key=s:r.which=a[c=u(c=e)]||c.toUpperCase().charCodeAt(0)),d&&(r[d]=!t||null)}return r})(e,t)),s=e=>r.some(t=>(function(e,t){for(let n in e){let r,i=e[n];if(null!=i&&(null!=(r="key"===n&&null!=t.key?t.key.toLowerCase():"which"===n?91===i&&93===t.which?91:t.which:t[n])||!1!==i)&&r!==i)return!1}return!0})(t,e));return null==n?s:s(n)}function u(e){return o[e=e.toLowerCase()]||e}},59132:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(12602),i=n(71606),o=n(35821),a=n(18308);let s=function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e};var l=n(32521),u=n(38374);let c=function(e,t){if(e!==t){var n=void 0!==e,r=null===e,i=e==e,o=(0,u.A)(e),a=void 0!==t,s=null===t,l=t==t,c=(0,u.A)(t);if(!s&&!c&&!o&&e>t||o&&a&&l&&!s&&!c||r&&a&&l||!n&&l||!i)return 1;if(!r&&!o&&!c&&e<t||c&&n&&i&&!r&&!o||s&&n&&i||!a&&i||!l)return -1}return 0},d=function(e,t,n){for(var r=-1,i=e.criteria,o=t.criteria,a=i.length,s=n.length;++r<a;){var l=c(i[r],o[r]);if(l){if(r>=s)return l;return l*("desc"==n[r]?-1:1)}}return e.index-t.index};var f=n(79800),h=n(92459);let p=function(e,t,n){t=t.length?(0,r.A)(t,function(e){return(0,h.A)(e)?function(t){return(0,i.A)(t,1===e.length?e[0]:e)}:e}):[f.A];var u=-1;return t=(0,r.A)(t,(0,l.A)(o.A)),s((0,a.A)(e,function(e,n,i){return{criteria:(0,r.A)(t,function(t){return t(e)}),index:++u,value:e}}),function(e,t){return d(e,t,n)})}},59203:(e,t,n)=>{"use strict";n.d(t,{T:()=>C});var r=n(21123),i=n(91912),o=n(82580),a=n(6671),s=n(26900),l=n(27820),u=n(64985),c=n(90474),d=n(25698),f=n(44374),h=n(79983),p=n(47141),g=n(41974),m=n(98813),y=n(20844),b=n(39263);let v=(0,c._C)(()=>({name:"BrowserSession",setupOnce(){if(void 0===g.jf.document){p.T&&s.vF.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}(0,r.J0)({ignoreDuration:!0}),(0,r.J5)(),(0,b._)(({from:e,to:t})=>{void 0!==e&&e!==t&&((0,r.J0)({ignoreDuration:!0}),(0,r.J5)())})}}));var w=n(98876),_=n(48118),x=n(79305),k=n(64030),E=n(61010),A=n(40731),S=n(12115);function C(e){let t={...e};return(0,A.K)(t,"react"),(0,r.o)("react",{version:S.version}),function(e={}){var t,n;let r,b=function(e={}){let t,n={defaultIntegrations:(t=[(0,i.D)(),(0,o.Z)(),(0,y.G)(),(0,m.F)(),(0,w.L)(),(0,x.p)(),(0,a.s)(),(0,_.M)()],!1!==e.autoSessionTracking&&t.push(v()),t),release:"string"==typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:g.jf.SENTRY_RELEASE&&g.jf.SENTRY_RELEASE.id?g.jf.SENTRY_RELEASE.id:void 0,autoSessionTracking:!0,sendClientReports:!0};return null==e.defaultIntegrations&&delete e.defaultIntegrations,{...n,...e}}(e);if(!b.skipBrowserExtensionCheck&&function(){let e=void 0!==g.jf.window&&g.jf;if(!e)return!1;let t=e.chrome?"chrome":"browser",n=e[t],r=n&&n.runtime&&n.runtime.id,i=g.jf.location&&g.jf.location.href||"",o=!!r&&g.jf===g.jf.top&&["chrome-extension:","moz-extension:","ms-browser-extension:","safari-web-extension:"].some(e=>i.startsWith(`${e}//`)),a=void 0!==e.nw;return!!r&&!o&&!a}())return void(0,s.pq)(()=>{console.error("[Sentry] You cannot run Sentry this way in a browser extension, check: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")});p.T&&!(0,l.vm)()&&s.vF.warn("No Fetch API detected. The Sentry SDK requires a Fetch API compatible environment to send events. Please add a Fetch API polyfill.");let A={...b,stackParser:(0,u.vk)(b.stackParser||k.lG),integrations:(0,c.mH)(b),transport:b.transport||E._};return t=h.y,!0===A.debug&&(f.T?s.vF.enable():(0,s.pq)(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),(0,d.o5)().update(A.initialScope),n=r=new t(A),(0,d.o5)().setClient(n),r.init(),r}(t)}}
10,59233:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=(0,n(74548).A)(Object,"create"),i=Object.prototype.hasOwnProperty,o=Object.prototype.hasOwnProperty;function a(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}a.prototype.clear=function(){this.__data__=r?r(null):{},this.size=0},a.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=!!t,t},a.prototype.get=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return i.call(t,e)?t[e]:void 0},a.prototype.has=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)},a.prototype.set=function(e,t){var n=this.__data__;return this.size+=+!this.has(e),n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this};var s=n(47261),l=n(51023);let u=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e},c=function(e,t){var n=e.__data__;return u(t)?n["string"==typeof t?"string":"hash"]:n.map};function d(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}d.prototype.clear=function(){this.size=0,this.__data__={hash:new a,map:new(l.A||s.A),string:new a}},d.prototype.delete=function(e){var t=c(this,e).delete(e);return this.size-=!!t,t},d.prototype.get=function(e){return c(this,e).get(e)},d.prototype.has=function(e){return c(this,e).has(e)},d.prototype.set=function(e,t){var n=c(this,e),r=n.size;return n.set(e,t),this.size+=+(n.size!=r),this};let f=d},59587:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},59816:(e,t,n)=>{"use strict";n.d(t,{s:()=>s});var r=n(79619),i=n(84474),o=n(77973),a=n(38299);function s(e){return(0,r.N)(function(t,n){var r=!1,s=null,l=null,u=function(){if(null==l||l.unsubscribe(),l=null,r){r=!1;var e=s;s=null,n.next(e)}};t.subscribe((0,o._)(n,function(t){null==l||l.unsubscribe(),r=!0,s=t,l=(0,o._)(n,u,i.l),(0,a.Tg)(e(t)).subscribe(l)},function(){u(),n.complete()},void 0,function(){s=l=null}))})}},59847:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=Object.prototype;let i=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||r)}},60024:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(63462),i=1/0;let o=function(e){return e?(e=(0,r.A)(e))===i||e===-i?(e<0?-1:1)*17976931348623157e292:e==e?e:0:0===e?e:0}},60209:(e,t,n)=>{"use strict";let r=n(53941);e.exports=(e,t,n)=>r(e,t,n)>0},60287:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});let r=function(e,t){return null!=e&&t in Object(e)};var i=n(15595),o=n(67903),a=n(92459),s=n(26805),l=n(52766),u=n(30253);let c=function(e,t,n){t=(0,i.A)(t,e);for(var r=-1,c=t.length,d=!1;++r<c;){var f=(0,u.A)(t[r]);if(!(d=null!=e&&n(e,f)))break;e=e[f]}return d||++r!=c?d:!!(c=null==e?0:e.length)&&(0,l.A)(c)&&(0,s.A)(f,c)&&((0,a.A)(e)||(0,o.A)(e))},d=function(e,t){return null!=e&&c(e,t,r)}},60423:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(72521),i=n(57629),o=n(61107);let a=function(e){return(0,r.A)(e,o.A,i.A)}},60430:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(92459);let i=function(){if(!arguments.length)return[];var e=arguments[0];return(0,r.A)(e)?e:[e]}},60462:(e,t,n)=>{var r=n(19097),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,o,a,s){var l=1&n,u=r(e),c=u.length;if(c!=r(t).length&&!l)return!1;for(var d=c;d--;){var f=u[d];if(!(l?f in t:i.call(t,f)))return!1}var h=s.get(e),p=s.get(t);if(h&&p)return h==t&&p==e;var g=!0;s.set(e,t),s.set(t,e);for(var m=l;++d<c;){var y=e[f=u[d]],b=t[f];if(o)var v=l?o(b,y,f,t,e,s):o(y,b,f,e,t,s);if(!(void 0===v?y===b||a(y,b,n,o,s):v)){g=!1;break}m||(m="constructor"==f)}if(g&&!m){var w=e.constructor,_=t.constructor;w!=_&&"constructor"in e&&"constructor"in t&&!("function"==typeof w&&w instanceof w&&"function"==typeof _&&_ instanceof _)&&(g=!1)}return s.delete(e),s.delete(t),g}},60559:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=n(37846),i=n(1448),o=n(67903),a=n(92459),s=n(19396),l=n(28071),u=n(59847),c=n(81019),d=Object.prototype.hasOwnProperty;let f=function(e){if(null==e)return!0;if((0,s.A)(e)&&((0,a.A)(e)||"string"==typeof e||"function"==typeof e.splice||(0,l.A)(e)||(0,c.A)(e)||(0,o.A)(e)))return!e.length;var t=(0,i.A)(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if((0,u.A)(e))return!(0,r.A)(e).length;
10for(var n in e)if(d.call(e,n))return!1;return!0}},60577:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(81137);let i=function(e,t){return!!(null==e?0:e.length)&&(0,r.A)(e,t,0)>-1}},60620:(e,t,n)=>{"use strict";let r=n(76277);e.exports=(e,t)=>{let n=r(e,t);return n?n.version:null}},60828:(e,t,n)=>{"use strict";let r;n.d(t,{XB:()=>nv,xk:()=>t2});var i,o,a,s,l,u,c,d,f,h,p,g,m,y={};n.r(y),n.d(y,{decode:()=>A,encode:()=>O,format:()=>T,parse:()=>z});var b={};n.r(b),n.d(b,{Any:()=>H,Cc:()=>q,Cf:()=>V,P:()=>U,S:()=>B,Z:()=>G});var v={};n.r(v),n.d(v,{arrayReplaceAt:()=>el,assign:()=>es,escapeHtml:()=>ew,escapeRE:()=>ex,fromCodePoint:()=>ec,has:()=>ea,isMdAsciiPunct:()=>eS,isPunctChar:()=>eA,isSpace:()=>ek,isString:()=>ei,isValidEntityCode:()=>eu,isWhiteSpace:()=>eE,lib:()=>eO,normalizeReference:()=>eC,unescapeAll:()=>eg,unescapeMd:()=>ep});var w={};n.r(w),n.d(w,{parseLinkDestination:()=>eD,parseLinkLabel:()=>eT,parseLinkTitle:()=>eI});var _=n(66161),x=n(55666);let k={};function E(e,t){"string"!=typeof t&&(t=E.defaultChars);let n=function(e){let t=k[e];if(t)return t;t=k[e]=[];for(let e=0;e<128;e++){let n=String.fromCharCode(e);t.push(n)}for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);t[r]="%"+("0"+r.toString(16).toUpperCase()).slice(-2)}return t}(t);return e.replace(/(%[a-f0-9]{2})+/gi,function(e){let t="";for(let r=0,i=e.length;r<i;r+=3){let o=parseInt(e.slice(r+1,r+3),16);if(o<128){t+=n[o];continue}if((224&o)==192&&r+3<i){let n=parseInt(e.slice(r+4,r+6),16);if((192&n)==128){let e=o<<6&1984|63&n;e<128?t+="��":t+=String.fromCharCode(e),r+=3;continue}}if((240&o)==224&&r+6<i){let n=parseInt(e.slice(r+4,r+6),16),i=parseInt(e.slice(r+7,r+9),16);if((192&n)==128&&(192&i)==128){let e=o<<12&61440|n<<6&4032|63&i;e<2048||e>=55296&&e<=57343?t+="���":t+=String.fromCharCode(e),r+=6;continue}}if((248&o)==240&&r+9<i){let n=parseInt(e.slice(r+4,r+6),16),i=parseInt(e.slice(r+7,r+9),16),a=parseInt(e.slice(r+10,r+12),16);if((192&n)==128&&(192&i)==128&&(192&a)==128){let e=o<<18&1835008|n<<12&258048|i<<6&4032|63&a;e<65536||e>1114111?t+="����":(e-=65536,t+=String.fromCharCode(55296+(e>>10),56320+(1023&e))),r+=9;continue}}t+="�"}return t})}E.defaultChars=";/?:@&=+$,#",E.componentChars="";let A=E,S={};function C(e,t,n){"string"!=typeof t&&(n=t,t=C.defaultChars),void 0===n&&(n=!0);let r=function(e){let t=S[e];if(t)return t;t=S[e]=[];for(let e=0;e<128;e++){let n=String.fromCharCode(e);/^[0-9a-z]$/i.test(n)?t.push(n):t.push("%"+("0"+e.toString(16).toUpperCase()).slice(-2))}for(let n=0;n<e.length;n++)t[e.charCodeAt(n)]=e[n];return t}(t),i="";for(let t=0,o=e.length;t<o;t++){let a=e.charCodeAt(t);if(n&&37===a&&t+2<o&&/^[0-9a-f]{2}$/i.test(e.slice(t+1,t+3))){i+=e.slice(t,t+3),t+=2;continue}if(a<128){i+=r[a];continue}if(a>=55296&&a<=57343){if(a>=55296&&a<=56319&&t+1<o){let n=e.charCodeAt(t+1);if(n>=56320&&n<=57343){i+=encodeURIComponent(e[t]+e[t+1]),t++;continue}}i+="%EF%BF%BD";continue}i+=encodeURIComponent(e[t])}return i}C.defaultChars=";/?:@&=+$,-_.!~*'()#",C.componentChars="-_.!~*'()";let O=C;function T(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}function D(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}let I=/^([a-z0-9.+-]+:)/i,R=/:[0-9]*$/,j=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,N=["%","/","?",";","#"].concat(["'"].concat(["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","	"]))),M=["/","?","#"],F=/^[+a-z0-9A-Z_-]{0,63}$/,$=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,L={javascript:!0,"javascript:":!0},P={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};D.prototype.parse=function(e,t){let n,r,i,o=e;if(o=o.trim(),!t&&1===e.split("#").length){let e=j.exec(o);if(e)return this.pathname=e[1],e[2]&&(this.search=e[2]),this}let a=I.exec(o);if(a&&(n=(a=a[0]).toLowerCase(),this.protocol=a,o=o.substr(a.length)),(t||a||o.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i="//"===o.substr(0,2))&&!(a&&L[a])&&(o=o.substr(2),this.slashes=!0),!L[a]&&(i||a&&!P[a])){let e,t,n=-1;for(let e=0;e<M.length;e++)-1!==(r=o.indexOf(M[e]))&&(-1===n||r<n)&&(n=r);
10-1!==(t=-1===n?o.lastIndexOf("@"):o.lastIndexOf("@",n))&&(e=o.slice(0,t),o=o.slice(t+1),this.auth=e),n=-1;for(let e=0;e<N.length;e++)-1!==(r=o.indexOf(N[e]))&&(-1===n||r<n)&&(n=r);-1===n&&(n=o.length),":"===o[n-1]&&n--;let i=o.slice(0,n);o=o.slice(n),this.parseHost(i),this.hostname=this.hostname||"";let a="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!a){let e=this.hostname.split(/\./);for(let t=0,n=e.length;t<n;t++){let n=e[t];if(n&&!n.match(F)){let r="";for(let e=0,t=n.length;e<t;e++)n.charCodeAt(e)>127?r+="x":r+=n[e];if(!r.match(F)){let r=e.slice(0,t),i=e.slice(t+1),a=n.match($);a&&(r.push(a[1]),i.unshift(a[2])),i.length&&(o=i.join(".")+o),this.hostname=r.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),a&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}let s=o.indexOf("#");-1!==s&&(this.hash=o.substr(s),o=o.slice(0,s));let l=o.indexOf("?");return -1!==l&&(this.search=o.substr(l),o=o.slice(0,l)),o&&(this.pathname=o),P[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this},D.prototype.parseHost=function(e){let t=R.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};let z=function(e,t){if(e&&e instanceof D)return e;let n=new D;return n.parse(e,t),n},U=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,B=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uD
10F3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,H=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,q=/[\0-\x1F\x7F-\x9F]/,V=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,G=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,W=new Uint16Array('ᵁ<\xd5ıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms\x7f\x84\x8b\x90\x95\x98\xa6\xb3\xb9\xc8\xcflig耻\xc6䃆P耻&䀦cute耻\xc1䃁reve;䄂Āiyx}rc耻\xc2䃂;䐐r;쀀\uD835\uDD04rave耻\xc0䃀pha;䎑acr;䄀d;橓Āgp\x9d\xa1on;䄄f;쀀\uD835\uDD38plyFunction;恡ing耻\xc5䃅Ācs\xbe\xc3r;쀀\uD835\uDC9Cign;扔ilde耻\xc3䃃ml耻\xc4䃄Ѐaceforsu\xe5\xfb\xfeėĜĢħĪĀcr\xea\xf2kslash;或Ŷ\xf6\xf8;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀\uD835\uDD05pf;쀀\uD835\uDD39eve;䋘c\xf2ēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻\xa9䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻\xc7䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷\xf2ſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀\uD835\uDC9EpĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀\uD835\uDD07Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀\uD835\uDD3Bƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegra\xecȹoɴ͹\0\0ͻ\xbb͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔e\xe5ˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀\uD835\uDC9Frok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻\xd0䃐cute耻\xc9䃉ƀaiyӒӗӜron;䄚rc耻\xca䃊;䐭ot;䄖r;쀀\uD835\uDD08rave耻\xc8䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀\uD835\uDD3Csilon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻\xcb䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀\uD835\uDD09lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀\uD835\uDD3DAll;戀riertrf;愱c\xf2׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀\uD835\uDD0A;拙pf;쀀\uD835\uDD3Eeater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀\uD835\uDCA2;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅ\xf2کrok;䄦mpńېۘownHum\xf0įqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻\xcd䃍Āiyܓܘrc耻\xce䃎;䐘ot;䄰r;愑rave耻\xcc䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lie\xf3ϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀\uD835\uDD40a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻\xcf䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀\uD835\uDD0Dpf;쀀\uD835\uDD41ǣ߇\0ߌr;쀀\uD835\uDCA5rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀\uD835\uDD0Epf;쀀\uD835\uDD42cr;쀀\uD835\uDCA6րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ight\xe1Μs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀\uD835\uDD0FĀ;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊight\xe1οight\xe1ϊf;쀀\uD835\uDD43erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂ\xf2ࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀\uD835\uDD10nusPlus;戓pf;쀀\uD835\uDD44c\xf2੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘\xeb૙eryThi\xee૙tedĀGL૸ଆreaterGreate\xf2ٳessLes\xf3ੈLine;䀊r;쀀\uD835\uDD11ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀\uD835\uDCA9ilde耻\xd1䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻\xd3䃓Āiy෎ීrc耻\xd4䃔;䐞blac;䅐r;쀀\uD835\uDD12rave耻\xd2䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀\uD835\uDD46enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀\uD835\uDCAAash耻\xd8䃘iŬื฼de耻\xd5䃕es;樷ml耻\xd6䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;
10揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀\uD835\uDD13i;䎦;䎠usMinus;䂱Āipຢອncareplan\xe5ڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀\uD835\uDCAB;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀\uD835\uDD14pf;愚cr;쀀\uD835\uDCAC؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻\xae䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r\xbbཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀\uD835\uDD16ortȀDLRUᄪᄴᄾᅉownArrow\xbbОeftArrow\xbb࢚ightArrow\xbb࿝pArrow;憑gma;䎣allCircle;战pf;쀀\uD835\uDD4Aɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀\uD835\uDCAEar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Th\xe1ྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et\xbbሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻\xde䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀\uD835\uDD17Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀\uD835\uDD4BipleDot;惛Āctዖዛr;쀀\uD835\uDCAFrok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻\xda䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻\xdb䃛;䐣blac;䅰r;쀀\uD835\uDD18rave耻\xd9䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀\uD835\uDD4CЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥own\xe1ϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀\uD835\uDCB0ilde;䅨ml耻\xdc䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀\uD835\uDD19pf;쀀\uD835\uDD4Dcr;쀀\uD835\uDCB1dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀\uD835\uDD1Apf;쀀\uD835\uDD4Ecr;쀀\uD835\uDCB2Ȁfiosᓋᓐᓒᓘr;쀀\uD835\uDD1B;䎞pf;쀀\uD835\uDD4Fcr;쀀\uD835\uDCB3ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻\xdd䃝Āiyᔉᔍrc;䅶;䐫r;쀀\uD835\uDD1Cpf;쀀\uD835\uDD50cr;쀀\uD835\uDCB4ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidt\xe8૙a;䎖r;愨pf;愤cr;쀀\uD835\uDCB5௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻\xe1䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻\xe2䃢te肻\xb4̆;䐰lig耻\xe6䃦Ā;r\xb2ᖺ;쀀\uD835\uDD1Erave耻\xe0䃠ĀepᗊᗖĀfpᗏᗔsym;愵\xe8ᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e\xbbᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢\xbb\xb9arr;捼Āgpᙣᙧon;䄅f;쀀\uD835\uDD52΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒ\xf1ᚃing耻\xe5䃥ƀctyᚡᚦᚨr;쀀\uD835\uDCB6;䀪mpĀ;e዁ᚯ\xf1ʈilde耻\xe3䃣ml耻\xe4䃤Āciᛂᛈonin\xf4ɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e\xbbᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰s\xe9ᜌno\xf5ēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀\uD835\uDD1Fg΀costuvwឍឝឳេ៕៛៞ƀaiuបពរ\xf0ݠrc;旯p\xbb፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄e\xe5ᑄ\xe5ᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀\uD835\uDD53Ā;tᏋᡣom\xbbᏌtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻\xa6䂦Ȁceioᥑᥖᥚᥠr;쀀\uD835\uDCB7mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t\xbb᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁\xeeړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;
10䄍dil耻\xe7䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻\xb8ƭptyv;榲t脀\xa2;eᨭᨮ䂢r\xe4Ʋr;쀀\uD835\uDD20ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark\xbbᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟\xbbཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it\xbb᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;q\xc7\xc6ɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁\xeeᅠeĀmx᫱᫶ent\xbb᫩e\xf3ɍǧ᫾\0ᬇĀ;dኻᬂot;橭n\xf4Ɇƀfryᬐᬔᬗ;쀀\uD835\uDD54o\xe4ɔ脀\xa9;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀\uD835\uDCB8Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒre\xe3᭳u\xe3᭵ee;拎edge;拏en耻\xa4䂤earrowĀlrᯮ᯳eft\xbbᮀight\xbbᮽe\xe4ᯝĀciᰁᰇonin\xf4Ƿnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍r\xf2΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸\xf2ᄳhĀ;vᱚᱛ怐\xbbऊūᱡᱧarow;椏a\xe3̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻\xb0䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀\uD835\uDD21arĀlrᲳᲵ\xbbࣜ\xbbသʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀\xf7;o᳧ᳰntimes;拇n\xf8᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀\uD835\uDD55ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedg\xe5\xfanƀadhᄮᵝᵧownarrow\xf3ᲃarpoonĀlrᵲᵶef\xf4Ჴigh\xf4ᲶŢᵿᶅkaro\xf7གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀\uD835\uDCB9;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃r\xf2Щa\xf2ྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴo\xf4ᲉĀcsḎḔute耻\xe9䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻\xea䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀\uD835\uDD22ƀ;rsṐṑṗ檚ave耻\xe8䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et\xbbẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀\uD835\uDD56ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on\xbbớ;䏵ȀcsuvỪỳἋἣĀioữḱrc\xbbḮɩỹ\0\0ỻ\xedՈantĀglἂἆtr\xbbṝess\xbbṺƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯o\xf4͒ĀahὉὋ;䎷耻\xf0䃰Āmrὓὗl耻\xeb䃫o;悬ƀcipὡὤὧl;䀡s\xf4ծĀeoὬὴctatio\xeeՙnential\xe5չৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotse\xf1Ṅy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀\uD835\uDD23lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀\uD835\uDD57ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻\xbd䂽;慓耻\xbc䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻\xbe䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀\uD835\uDCBBࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lan\xf4٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀\uD835\uDD24Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox\xbbℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀\uD835\uDD58Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎pro\xf8₞r;楸qĀlqؿ↖les\xf3₈i\xed٫Āen↣↭rtneqq;쀀≩︀\xc5↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽r\xf2ΠȀilmr⇐⇔⇗⇛rs\xf0ᒄf\xbb․il\xf4کĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it\xbb∊lip;怦con;抹r;쀀\uD835\uDD25sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀\uD835\uDD59bar;怕ƀclt≯≴≸r;쀀\uD835\uDCBDas\xe8⇴rok;䄧Ābp⊂⊇ull;恃hen\xbbᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻\xed䃭ƀ;
10iyݱ⊰⊵rc耻\xee䃮;䐸Ācx⊼⊿y;䐵cl耻\xa1䂡ĀfrΟ⋉;쀀\uD835\uDD26rave耻\xec䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓in\xe5ގar\xf4ܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝do\xf4⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙er\xf3ᕣ\xe3⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀\uD835\uDD5Aa;䎹uest耻\xbf䂿Āci⎊⎏r;쀀\uD835\uDCBEnʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻\xef䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀\uD835\uDD27ath;䈷pf;쀀\uD835\uDD5Bǣ⏬\0⏱r;쀀\uD835\uDCBFrcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀\uD835\uDD28reen;䄸cy;䑅cy;䑜pf;쀀\uD835\uDD5Ccr;쀀\uD835\uDCC0஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼r\xf2৆\xf2Εail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴ra\xeeࡌbda;䎻gƀ;dlࢎⓁⓃ;榑\xe5ࢎ;檅uo耻\xab䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝\xeb≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼\xecࢰ\xe2┩;
10䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□a\xe9⓶arpoonĀdu▯▴own\xbbњp\xbb०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoon\xf3྘quigarro\xf7⇰hreetimes;拋ƀ;qs▋ও◺lan\xf4বʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋ppro\xf8Ⓠot;拖qĀgq♃♅\xf4উgt\xf2⒌\xf4ছi\xedলƀilr♕࣡♚sht;楼;쀀\uD835\uDD29Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖r\xf2◁orne\xf2ᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che\xbb⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox\xbb⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽r\xebࣁgƀlmr⛿✍✔eftĀar০✇ight\xe1৲apsto;柼ight\xe1৽parrowĀlr✥✩ef\xf4⓭ight;憬ƀafl✶✹✽r;榅;쀀\uD835\uDD5Dus;樭imes;樴š❋❏st;戗\xe1ፎƀ;ef❗❘᠀旊nge\xbb❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇r\xf2ࢨorne\xf2ᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀\uD835\uDCC1mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹re\xe5◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀\xc5⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻\xaf䂯Āet⡗⡙;時Ā;e⡞⡟朠se\xbb⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻ow\xeeҌef\xf4ए\xf0Ꮡker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle\xbbᘦr;쀀\uD835\uDD2Ao;愧ƀcdn⢯⢴⣉ro耻\xb5䂵Ȁ;acdᑤ⢽⣀⣄s\xf4ᚧir;櫰ot肻\xb7Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛\xf2−\xf0ઁĀdp⣩⣮els;抧f;쀀\uD835\uDD5EĀct⣸⣽r;쀀\uD835\uDCC2pos\xbbᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la\xbb˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉ro\xf8඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻\xa0ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸ui\xf6ୣĀei⩊⩎ar;椨\xed஘istĀ;s஠டr;쀀\uD835\uDD2BȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lan\xf4௢i\xed௪Ā;rஶ⪁\xbbஷƀAap⪊⪍⪑r\xf2⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹r\xf2⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro\xf7⫁ightarro\xf7⪐ƀ;qs఻⪺⫪lan\xf4ౕĀ;sౕ⫴\xbbశi\xedౝĀ;rవ⫾iĀ;eచథi\xe4ඐĀpt⬌⬑f;쀀\uD835\uDD5F膀\xac;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lle\xec୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳u\xe5ಥĀ;cಘ⭸Ā;eಒ⭽\xf1ಘȀAait⮈⮋⮝⮧r\xf2⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow\xbb⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉u\xe5൅;쀀\uD835\uDCC3ortɭ⬅\0\0⯖ar\xe1⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭\xe5೸\xe5ഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗ\xf1സȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇ\xecௗlde耻\xf1䃱\xe7ృiangleĀlrⱒⱜeftĀ;eచⱚ\xf1దightĀ;eೋⱥ\xf1೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻\xf3䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻\xf4䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀\uD835\uDD2Cͯ⵹\0\0⵼\0ⶂn;䋛ave耻\xf2䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨr\xf2᪀Āir⶝ⶠr;榾oss;榻n\xe5๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀\uD835\uDD60ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨r\xf2᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f\xbbⷿ耻\xaa䂪耻\xba䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧\xf2⸁ash耻\xf8䃸l;折iŬⸯ⸴de耻\xf5䃵esĀ;aǛ⸺s;樶ml耻\xf6䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;
10astЃ⹧⹲຅脀\xb6;l⹭⹮䂶le\xecЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀\uD835\uDD2Dƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕ma\xf4੶ne;明ƀ;tv⺿⻀⻈䏀chfork\xbb´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎\xf6⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻\xb1ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀\uD835\uDD61nd耻\xa3䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷u\xe5໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾ppro\xf8⽃urlye\xf1໙\xf1໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨i\xedໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺\xf0⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴\xef໻rel;抰Āci⿀⿅r;쀀\uD835\uDCC5;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀\uD835\uDD2Epf;쀀\uD835\uDD62rime;恗cr;쀀\uD835\uDCC6ƀaeo⿸〉〓tĀei⿾々rnion\xf3ڰnt;樖stĀ;e【】䀿\xf1Ἑ\xf4༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがr\xf2Ⴓ\xf2ϝail;検ar\xf2ᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕i\xe3ᅮmptyv;榳gȀ;del࿑らるろ;榒;榥\xe5࿑uo耻\xbb䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞\xeb≝\xf0✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶al\xf3༞ƀabrョリヮr\xf2៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗\xec࿲\xe2ヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜn\xe5Ⴛar\xf4ྩt;断ƀilrㅩဣㅮsht;楽;쀀\uD835\uDD2FĀaoㅷㆆrĀduㅽㅿ\xbbѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭa\xe9トarpoonĀduㆻㆿow\xeeㅾp\xbb႒eftĀah㇊㇐rrow\xf3࿪arpoon\xf3Ցightarrows;應quigarro\xf7ニhreetimes;拌g;䋚ingdotse\xf1ἲƀahm㈍㈐㈓r\xf2࿪a\xf2Ց;怏oustĀ;a㈞㈟掱che\xbb㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾r\xebဃƀafl㉇㉊㉎r;榆;쀀\uD835\uDD63us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒ar\xf2㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀\uD835\uDCC7Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠re\xe5ㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛qu\xef➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡u\xe5ᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓i\xedሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒\xeb∨Ā;oਸ਼਴t耻\xa7䂧i;䀻war;椩mĀin㍩\xf0nu\xf3\xf1t;朶rĀ;o㍶⁕쀀\uD835\uDD30Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜i\xe4ᑤara\xec⹯耻\xad䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲ar\xf2ᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetm\xe9㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀\uD835\uDD64aĀdr㑍ЂesĀ;u㑔㑕晠it\xbb㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍\xf1ᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝\xf1ᆮƀ;afᅻ㒦ְrť㒫ֱ\xbbᅼar\xf2ᅈȀcemt㒹㒾㓂㓅r;쀀\uD835\uDCC8tm\xee\xf1i\xec㐕ar\xe6ᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psilo\xeeỠh\xe9⺯s\xbb⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦ppro\xf8㋺urlye\xf1ᇾ\xf1ᇳƀaes㖂㖈㌛ppro\xf8㌚q\xf1㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻\xb9䂹耻\xb2䂲耻\xb3䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨\xeb∮Ā;oਫ਩war;椪lig耻\xdf䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄r\xeb๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀\uD835\uDD31Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮ppro\xf8዁im\xbbኬs\xf0ኞĀas㚺㚮\xf0዁rn耻\xfe䃾Ǭ̟㛆⋧es膀\xd7;bd㛏㛐㛘䃗Ā;
10aᤏ㛕r;樱;樰ƀeps㛡㛣㜀\xe1⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀\uD835\uDD65rk;櫚\xe1㍢rime;怴ƀaip㜏㜒㝤d\xe5ቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own\xbbᶻeftĀ;e⠀㜾\xf1म;扜ightĀ;e㊪㝋\xf1ၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀\uD835\uDCC9;䑆cy;䑛rok;䅧Āio㞋㞎x\xf4᝷headĀlr㞗㞠eftarro\xf7ࡏightarrow\xbbཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶r\xf2ϭar;楣Ācr㟜㟢ute耻\xfa䃺\xf2ᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻\xfb䃻;䑃ƀabh㠃㠆㠋r\xf2Ꭽlac;䅱a\xf2ᏃĀir㠓㠘sht;楾;쀀\uD835\uDD32rave耻\xf9䃹š㠧㠱rĀlr㠬㠮\xbbॗ\xbbႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r\xbb㡆op;挏ri;旸Āal㡖㡚cr;䅫肻\xa8͉Āgp㡢㡦on;䅳f;쀀\uD835\uDD66̀adhlsuᅋ㡸㡽፲㢑㢠own\xe1ᎳarpoonĀlr㢈㢌ef\xf4㠭igh\xf4㠯iƀ;hl㢙㢚㢜䏅\xbbᏺon\xbb㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r\xbb㢽op;挎ng;䅯ri;旹cr;쀀\uD835\uDCCAƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨\xbb᠓Āam㣯㣲r\xf2㢨l耻\xfc䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠r\xf2ϷarĀ;v㤦㤧櫨;櫩as\xe8ϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖app\xe1␕othin\xe7ẖƀhir㓫⻈㥙op\xf4⾵Ā;hᎷ㥢\xefㆍĀiu㥩㥭gm\xe1㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟et\xe1㚜iangleĀlr㦪㦯eft\xbbथight\xbbၑy;䐲ash\xbbံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨa\xf2ᑩr;쀀\uD835\uDD33tr\xe9㦮suĀbp㧯㧱\xbbജ\xbb൙pf;쀀\uD835\uDD67ro\xf0໻tr\xe9㦴Ācu㨆㨋r;쀀\uD835\uDCCBĀbp㨐㨘nĀEe㦀㨖\xbb㥾nĀEe㦒㨞\xbb㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀\uD835\uDD34pf;쀀\uD835\uDD68Ā;eᑹ㩦at\xe8ᑹcr;쀀\uD835\uDCCCૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tr\xe9៑r;쀀\uD835\uDD35ĀAa㪔㪗r\xf2σr\xf2৶;䎾ĀAa㪡㪤r\xf2θr\xf2৫a\xf0✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀\uD835\uDD69im\xe5ឲĀAa㫇㫊r\xf2ώr\xf2ਁĀcq㫒ីr;쀀\uD835\uDCCDĀpt៖㫜r\xe9។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻\xfd䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻\xa5䂥r;쀀\uD835\uDD36cy;䑗pf;쀀\uD835\uDD6Acr;쀀\uD835\uDCCEĀcm㬦㬩y;䑎l耻\xff䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡tr\xe6ᕟa;䎶r;쀀\uD835\uDD37cy;䐶grarr;懝pf;쀀\uD835\uDD6Bcr;쀀\uD835\uDCCFĀjn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),Y=new Uint16Array("Ȁaglq	\x15\x18\x1bɭ\x0f\0\0\x12p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0))),K=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),Z=null!=(c=String.fromCodePoint)?c:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e)};function X(e){return e>=d.ZERO&&e<=d.NINE}(i=d||(d={}))[i.NUM=35]="NUM",i[i.SEMI=59]="SEMI",i[i.EQUALS=61]="EQUALS",i[i.ZERO=48]="ZERO",i[i.NINE=57]="NINE",i[i.LOWER_A=97]="LOWER_A",i[i.LOWER_F=102]="LOWER_F",i[i.LOWER_X=120]="LOWER_X",i[i.LOWER_Z=122]="LOWER_Z",i[i.UPPER_A=65]="UPPER_A",i[i.UPPER_F=70]="UPPER_F",i[i.UPPER_Z=90]="UPPER_Z",(o=f||(f={}))[o.VALUE_LENGTH=49152]="VALUE_LENGTH",o[o.BRANCH_LENGTH=16256]="BRANCH_LENGTH",o[o.JUMP_TABLE=127]="JUMP_TABLE",(a=h||(h={}))[a.EntityStart=0]="EntityStart",a[a.NumericStart=1]="NumericStart",a[a.NumericDecimal=2]="NumericDecimal",a[a.NumericHex=3]="NumericHex",a[a.NamedEntity=4]="NamedEntity",(s=p||(p={}))[s.Legacy=0]="Legacy",s[s.Strict=1]="Strict",s[s.Attribute=2]="Attribute";class J{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=h.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=p.Strict}startEntity(e){this.decodeMode=e,this.state=h.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case h.EntityStart:if(e.charCodeAt(t)===d.NUM)return this.state=h.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1);return this.state=h.NamedEntity,this.stateNamedEntity(e,t);case h.NumericStart:return this.stateNumericStart(e,t);case h.NumericDecimal:return this.stateNumericDecimal(e,t);case h.NumericHex:return this.stateNumericHex(e,t);case h.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===d.LOWER_X?(this.state=h.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=h.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,n,r){if(t!==n){let i=n-t;
10this.result=this.result*Math.pow(r,i)+parseInt(e.substr(t,i),r),this.consumed+=i}}stateNumericHex(e,t){let n=t;for(;t<e.length;){var r;let i=e.charCodeAt(t);if(!X(i)&&(!((r=i)>=d.UPPER_A)||!(r<=d.UPPER_F))&&(!(r>=d.LOWER_A)||!(r<=d.LOWER_F)))return this.addToNumericResult(e,n,t,16),this.emitNumericEntity(i,3);t+=1}return this.addToNumericResult(e,n,t,16),-1}stateNumericDecimal(e,t){let n=t;for(;t<e.length;){let r=e.charCodeAt(t);if(!X(r))return this.addToNumericResult(e,n,t,10),this.emitNumericEntity(r,2);t+=1}return this.addToNumericResult(e,n,t,10),-1}emitNumericEntity(e,t){var n,r,i;if(this.consumed<=t)return null==(n=this.errors)||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===d.SEMI)this.consumed+=1;else if(this.decodeMode===p.Strict)return 0;return this.emitCodePoint((r=this.result)>=55296&&r<=57343||r>1114111?65533:null!=(i=K.get(r))?i:r,this.consumed),this.errors&&(e!==d.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){let{decodeTree:n}=this,r=n[this.treeIndex],i=(r&f.VALUE_LENGTH)>>14;for(;t<e.length;t++,this.excess++){let o=e.charCodeAt(t);if(this.treeIndex=function(e,t,n,r){let i=(t&f.BRANCH_LENGTH)>>7,o=t&f.JUMP_TABLE;if(0===i)return 0!==o&&r===o?n:-1;if(o){let t=r-o;return t<0||t>=i?-1:e[n+t]-1}let a=n,s=a+i-1;for(;a<=s;){let t=a+s>>>1,n=e[t];if(n<r)a=t+1;else{if(!(n>r))return e[t+i];s=t-1}}return -1}(n,r,this.treeIndex+Math.max(1,i),o),this.treeIndex<0)return 0===this.result||this.decodeMode===p.Attribute&&(0===i||function(e){var t;return e===d.EQUALS||(t=e)>=d.UPPER_A&&t<=d.UPPER_Z||t>=d.LOWER_A&&t<=d.LOWER_Z||X(t)}(o))?0:this.emitNotTerminatedNamedEntity();if(0!=(i=((r=n[this.treeIndex])&f.VALUE_LENGTH)>>14)){if(o===d.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==p.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return -1}emitNotTerminatedNamedEntity(){var e;let{result:t,decodeTree:n}=this,r=(n[t]&f.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),null==(e=this.errors)||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){let{decodeTree:r}=this;return this.emitCodePoint(1===t?r[e]&~f.VALUE_LENGTH:r[e+1],n),3===t&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case h.NamedEntity:return 0!==this.result&&(this.decodeMode!==p.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case h.NumericDecimal:return this.emitNumericEntity(0,2);case h.NumericHex:return this.emitNumericEntity(0,3);case h.NumericStart:return null==(e=this.errors)||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case h.EntityStart:return 0}}}function Q(e){let t="",n=new J(e,e=>t+=Z(e));return function(e,r){let i=0,o=0;for(;(o=e.indexOf("&",o))>=0;){t+=e.slice(i,o),n.startEntity(r);let a=n.write(e,o+1);if(a<0){i=o+n.end();break}i=o+a,o=0===a?i+1:i}let a=t+e.slice(i);return t="",a}}let ee=Q(W);function et(e,t=p.Legacy){return ee(e,t)}Q(Y);let en=new Map([[34,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]);function er(e,t){return function(n){let r,i=0,o="";for(;r=e.exec(n);)i!==r.index&&(o+=n.substring(i,r.index)),o+=t.get(r[0].charCodeAt(0)),i=r.index+1;return o+n.substring(i)}}function ei(e){return"[object String]"===Object.prototype.toString.call(e)}String.prototype.codePointAt,er(/[&<>'"]/g,en),er(/["&\u00A0]/g,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),er(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]])),(l=g||(g={}))[l.XML=0]="XML",l[l.HTML=1]="HTML",(u=m||(m={}))[u.UTF8=0]="UTF8",u[u.ASCII=1]="ASCII",u[u.Extensive=2]="Extensive",u[u.Attribute=3]="Attribute",u[u.Text=4]="Text";let eo=Object.prototype.hasOwnProperty;function ea(e,t){return eo.call(e,t)}function es(e){let t=Array.prototype.slice.call(arguments,1);return t.forEach(function(t){if(t){if("object"!=typeof t)throw TypeError(t+"must be object");Object.keys(t).forEach(function(n){e[n]=t[n]})}}),e}function el(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function eu(e){return(!(e>=55296)||!(e<=57343))&&(!(e>=64976)||!(e<=65007))&&(65535&e)!=65535&&(65535&e)!=65534&&(!(e>=0)||!(e<=8))&&11!==e&&(!(e>=14)||!(e<=31))&&(!(e>=127)||!(e<=159))&&!(e>1114111)&&!0}function ec(e){return e>65535?String.fromCharCode(55296+((e-=65536)>>10),56320+(1023&e)):String.fromCharCode(e)}let ed=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,ef=RegExp(ed.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),eh=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function ep(e){return 0>e.indexOf("\\")?e:e.replace(ed,"$1")}function eg(e){return 0>e.indexOf("\\")&&0>e.indexOf("&")?e:e.replace(ef,function(e,t,n){if(t)return t;if(35===n.charCodeAt(0)&&eh.test(n)){let t="x"===n[1].toLowerCase()?parseInt(n.slice(2),16):parseInt(n.slice(1),10);return eu(t)?ec(t):e}let r=et(e);return r!==e?r:e})}let em=/[&<>"]/,ey=/[&<>"]/g,eb={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function ev(e){return eb[e]}function ew(e){return em.test(e)?e.replace(ey,ev):e}let e_=/[.?*+^$[\]\\(){}|-]/g;function ex(e){return e.replace(e_,"\\$&")}function ek(e){switch(e){case 9:case 32:return!0}return!1}function eE(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function eA(e){return U.test(e)||B.test(e)}function eS(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 
1061:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function eC(e){return(e=e.trim().replace(/\s+/g," ")).toLowerCase().toUpperCase()}let eO={mdurl:y,ucmicro:b};function eT(e,t,n){let r,i,o,a,s=e.posMax,l=e.pos;for(e.pos=t+1,r=1;e.pos<s;){if(93===(o=e.src.charCodeAt(e.pos))&&0==--r){i=!0;break}if(a=e.pos,e.md.inline.skipToken(e),91===o){if(a===e.pos-1)r++;else if(n)return e.pos=l,-1}}let u=-1;return i&&(u=e.pos),e.pos=l,u}function eD(e,t,n){let r,i=t,o={ok:!1,pos:0,str:""};if(60===e.charCodeAt(i)){for(i++;i<n&&10!==(r=e.charCodeAt(i))&&60!==r;){if(62===r){o.pos=i+1,o.str=eg(e.slice(t+1,i)),o.ok=!0;break}if(92===r&&i+1<n){i+=2;continue}i++}return o}let a=0;for(;i<n&&32!==(r=e.charCodeAt(i))&&!(r<32)&&127!==r;){if(92===r&&i+1<n){if(32===e.charCodeAt(i+1))break;i+=2;continue}if(40===r&&++a>32)return o;if(41===r){if(0===a)break;a--}i++}return t===i||0!==a||(o.str=eg(e.slice(t,i)),o.pos=i,o.ok=!0),o}function eI(e,t,n,r){let i,o=t,a={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(r)a.str=r.str,a.marker=r.marker;else{if(o>=n)return a;let r=e.charCodeAt(o);if(34!==r&&39!==r&&40!==r)return a;t++,o++,40===r&&(r=41),a.marker=r}for(;o<n;){if((i=e.charCodeAt(o))===a.marker)return a.pos=o+1,a.str+=eg(e.slice(t,o)),a.ok=!0,a;if(40===i&&41===a.marker)return a;92===i&&o+1<n&&o++,o++}return a.can_continue=!0,a.str+=eg(e.slice(t,o)),a}let eR={};function ej(){this.rules=es({},eR)}function eN(){this.__rules__=[],this.__cache__=null}function eM(e,t,n){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}function eF(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}eR.code_inline=function(e,t,n,r,i){let o=e[t];return"<code"+i.renderAttrs(o)+">"+ew(o.content)+"</code>"},eR.code_block=function(e,t,n,r,i){let o=e[t];return"<pre"+i.renderAttrs(o)+"><code>"+ew(e[t].content)+"</code></pre>\n"},eR.fence=function(e,t,n,r,i){let o,a=e[t],s=a.info?eg(a.info).trim():"",l="",u="";if(s){let e=s.split(/(\s+)/g);l=e[0],u=e.slice(2).join("")}if(0===(o=n.highlight&&n.highlight(a.content,l,u)||ew(a.content)).indexOf("<pre"))return o+"\n";if(s){let e=a.attrIndex("class"),t=a.attrs?a.attrs.slice():[];return e<0?t.push(["class",n.langPrefix+l]):(t[e]=t[e].slice(),t[e][1]+=" "+n.langPrefix+l),`<pre><code${i.renderAttrs({attrs:t})}>${o}</code></pre>
11`}return`<pre><code${i.renderAttrs(a)}>${o}</code></pre>
12`},eR.image=function(e,t,n,r,i){let o=e[t];return o.attrs[o.attrIndex("alt")][1]=i.renderInlineAsText(o.children,n,r),i.renderToken(e,t,n)},eR.hardbreak=function(e,t,n){return n.xhtmlOut?"<br />\n":"<br>\n"},eR.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"<br />\n":"<br>\n":"\n"},eR.text=function(e,t){return ew(e[t].content)},eR.html_block=function(e,t){return e[t].content},eR.html_inline=function(e,t){return e[t].content},ej.prototype.renderAttrs=function(e){let t,n,r;if(!e.attrs)return"";for(t=0,r="",n=e.attrs.length;t<n;t++)r+=" "+ew(e.attrs[t][0])+'="'+ew(e.attrs[t][1])+'"';return r},ej.prototype.renderToken=function(e,t,n){let r=e[t],i="";if(r.hidden)return"";r.block&&-1!==r.nesting&&t&&e[t-1].hidden&&(i+="\n"),i+=(-1===r.nesting?"</":"<")+r.tag,i+=this.renderAttrs(r),0===r.nesting&&n.xhtmlOut&&(i+=" /");let o=!1;if(r.block&&(o=!0,1===r.nesting&&t+1<e.length)){let n=e[t+1];"inline"===n.type||n.hidden?o=!1:-1===n.nesting&&n.tag===r.tag&&(o=!1)}return i+(o?">\n":">")},ej.prototype.renderInline=function(e,t,n){let r="",i=this.rules;for(let o=0,a=e.length;o<a;o++){let a=e[o].type;void 0!==i[a]?r+=i[a](e,o,t,n,this):r+=this.renderToken(e,o,t)}return r},ej.prototype.renderInlineAsText=function(e,t,n){let r="";for(let i=0,o=e.length;i<o;i++)switch(e[i].type){case"text":case"html_inline":case"html_block":r+=e[i].content;break;case"image":r+=this.renderInlineAsText(e[i].children,t,n);break;case"softbreak":case"hardbreak":r+="\n"}return r},ej.prototype.render=function(e,t,n){let r="",i=this.rules;for(let o=0,a=e.length;o<a;o++){let a=e[o].type;"inline"===a?r+=this.renderInline(e[o].children,t,n):void 0!==i[a]?r+=i[a](e,o,t,n,this):r+=this.renderToken(e,o,t,n)}return r},eN.prototype.__find__=function(e){for(let t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return -1},eN.prototype.__compile__=function(){let e=this,t=[""];e.__rules__.forEach(function(e){e.enabled&&e.alt.forEach(function(e){0>t.indexOf(e)&&t.push(e)})}),e.__cache__={},t.forEach(function(t){e.__cache__[t]=[],e.__rules__.forEach(function(n){!n.enabled||t&&0>n.alt.indexOf(t)||e.__cache__[t].push(n.fn)})})},eN.prototype.at=function(e,t,n){let r=this.__find__(e);
12if(-1===r)throw Error("Parser rule not found: "+e);this.__rules__[r].fn=t,this.__rules__[r].alt=(n||{}).alt||[],this.__cache__=null},eN.prototype.before=function(e,t,n,r){let i=this.__find__(e);if(-1===i)throw Error("Parser rule not found: "+e);this.__rules__.splice(i,0,{name:t,enabled:!0,fn:n,alt:(r||{}).alt||[]}),this.__cache__=null},eN.prototype.after=function(e,t,n,r){let i=this.__find__(e);if(-1===i)throw Error("Parser rule not found: "+e);this.__rules__.splice(i+1,0,{name:t,enabled:!0,fn:n,alt:(r||{}).alt||[]}),this.__cache__=null},eN.prototype.push=function(e,t,n){this.__rules__.push({name:e,enabled:!0,fn:t,alt:(n||{}).alt||[]}),this.__cache__=null},eN.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);let n=[];return e.forEach(function(e){let r=this.__find__(e);if(r<0){if(t)return;throw Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!0,n.push(e)},this),this.__cache__=null,n},eN.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(e){e.enabled=!1}),this.enable(e,t)},eN.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);let n=[];return e.forEach(function(e){let r=this.__find__(e);if(r<0){if(t)return;throw Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!1,n.push(e)},this),this.__cache__=null,n},eN.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},eM.prototype.attrIndex=function(e){if(!this.attrs)return -1;let t=this.attrs;for(let n=0,r=t.length;n<r;n++)if(t[n][0]===e)return n;return -1},eM.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},eM.prototype.attrSet=function(e,t){let n=this.attrIndex(e),r=[e,t];n<0?this.attrPush(r):this.attrs[n]=r},eM.prototype.attrGet=function(e){let t=this.attrIndex(e),n=null;return t>=0&&(n=this.attrs[t][1]),n},eM.prototype.attrJoin=function(e,t){let n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t},eF.prototype.Token=eM;let e$=/\r\n?|\n/g,eL=/\0/g,eP=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,ez=/\((c|tm|r)\)/i,eU=/\((c|tm|r)\)/ig,eB={c:"\xa9",r:"\xae",tm:"™"};function eH(e,t){return eB[t.toLowerCase()]}let eq=/['"]/,eV=/['"]/g;function eG(e,t,n){return e.slice(0,t)+n+e.slice(t+1)}let eW=[["normalize",function(e){let t;t=(t=e.src.replace(e$,"\n")).replace(eL,"�"),e.src=t}],["block",function(e){let t;e.inlineMode?((t=new e.Token("inline","",0)).content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}],["inline",function(e){let t=e.tokens;for(let n=0,r=t.length;n<r;n++){let r=t[n];"inline"===r.type&&e.md.inline.parse(r.content,e.md,e.env,r.children)}}],["linkify",function(e){let t=e.tokens;if(e.md.options.linkify)for(let i=0,o=t.length;i<o;i++){if("inline"!==t[i].type||!e.md.linkify.pretest(t[i].content))continue;let o=t[i].children,a=0;for(let s=o.length-1;s>=0;s--){let l=o[s];if("link_close"===l.type){for(s--;o[s].level!==l.level&&"link_open"!==o[s].type;)s--;continue}if("html_inline"===l.type){var n,r;n=l.content,/^<a[>\s]/i.test(n)&&a>0&&a--,r=l.content,/^<\/a\s*>/i.test(r)&&a++}if(!(a>0)&&"text"===l.type&&e.md.linkify.test(l.content)){let n=l.content,r=e.md.linkify.match(n),a=[],u=l.level,c=0;r.length>0&&0===r[0].index&&s>0&&"text_special"===o[s-1].type&&(r=r.slice(1));for(let t=0;t<r.length;t++){let i=r[t].url,o=e.md.normalizeLink(i);if(!e.md.validateLink(o))continue;let s=r[t].text;s=r[t].schema?"mailto:"!==r[t].schema||/^mailto:/i.test(s)?e.md.normalizeLinkText(s):e.md.normalizeLinkText("mailto:"+s).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+s).replace(/^http:\/\//,"");let l=r[t].index;if(l>c){let t=new e.Token("text","",0);t.content=n.slice(c,l),t.level=u,a.push(t)}let d=new e.Token("link_open","a",1);d.attrs=[["href",o]],d.level=u++,d.markup="linkify",d.info="auto",a.push(d);let f=new e.Token("text","",0);f.content=s,f.level=u,a.push(f);let h=new e.Token("link_close","a",-1);h.level=--u,h.markup="linkify",h.info="auto",a.push(h),c=r[t].lastIndex}if(c<n.length){let t=new e.Token("text","",0);t.content=n.slice(c),t.level=u,a.push(t)}t[i].children=o=el(o,s,a)}}}}],["replacements",function(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(ez.test(e.tokens[t].content)&&function(e){let t=0;for(let n=e.length-1;n>=0;n--){let r=e[n];"text"!==r.type||t||(r.content=r.content.replace(eU,eH)),"link_open"===r.type&&"auto"===r.info&&t--,"link_close"===r.type&&"auto"===r.info&&t++}}(e.tokens[t].children),eP.test(e.tokens[t].content)&&function(e){let t=0;for(let n=e.length-1;n>=0;n--){let r=e[n];"text"===r.type&&!t&&eP.test(r.content)&&(r.content=r.content.replace(/\+-/g,"\xb1").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),"link_open"===r.type&&"auto"===r.info&&t--,"link_close"===r.type&&"auto"===r.info&&t++}}(e.tokens[t].children))}],["smartquotes",function(e){if(e.md.options.typographer)for(let t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&eq.test(e.tokens[t].content)&&function(e,t){let n,r=[];for(let i=0;i<e.length;i++){let o=e[i],a=e[i].level;for(n=r.length-1;n>=0&&!(r[n].level<=a);n--);if(r.length=n+1,"text"!==o.type)continue;let s=o.content,l=0,u=s.length;e:for(;l<u;){eV.lastIndex=l;let c=eV.exec(s);if(!c)break;let d=!0,f=!0;l=c.index+1;let h="'"===c[0],p=32;if(c.index-1>=0)p=s.charCodeAt(c.index-1);else for(n=i-1;n>=0&&"softbreak"!==e[n].type&&"hardbreak"!==e[n].type;
12n--)if(e[n].content){p=e[n].content.charCodeAt(e[n].content.length-1);break}let g=32;if(l<u)g=s.charCodeAt(l);else for(n=i+1;n<e.length&&"softbreak"!==e[n].type&&"hardbreak"!==e[n].type;n++)if(e[n].content){g=e[n].content.charCodeAt(0);break}let m=eS(p)||eA(String.fromCharCode(p)),y=eS(g)||eA(String.fromCharCode(g)),b=eE(p),v=eE(g);if(v?d=!1:y&&!(b||m)&&(d=!1),b?f=!1:m&&!(v||y)&&(f=!1),34===g&&'"'===c[0]&&p>=48&&p<=57&&(f=d=!1),d&&f&&(d=m,f=y),!d&&!f){h&&(o.content=eG(o.content,c.index,"’"));continue}if(f)for(n=r.length-1;n>=0;n--){let d=r[n];if(r[n].level<a)break;if(d.single===h&&r[n].level===a){let a,f;d=r[n],h?(a=t.md.options.quotes[2],f=t.md.options.quotes[3]):(a=t.md.options.quotes[0],f=t.md.options.quotes[1]),o.content=eG(o.content,c.index,f),e[d.token].content=eG(e[d.token].content,d.pos,a),l+=f.length-1,d.token===i&&(l+=a.length-1),u=(s=o.content).length,r.length=n;continue e}}d?r.push({token:i,pos:c.index,single:h,level:a}):f&&h&&(o.content=eG(o.content,c.index,"’"))}}}(e.tokens[t].children,e)}],["text_join",function(e){let t,n,r=e.tokens,i=r.length;for(let e=0;e<i;e++){if("inline"!==r[e].type)continue;let i=r[e].children,o=i.length;for(t=0;t<o;t++)"text_special"===i[t].type&&(i[t].type="text");for(t=n=0;t<o;t++)"text"===i[t].type&&t+1<o&&"text"===i[t+1].type?i[t+1].content=i[t].content+i[t+1].content:(t!==n&&(i[n]=i[t]),n++);t!==n&&(i.length=n)}}]];function eY(){this.ruler=new eN;for(let e=0;e<eW.length;e++)this.ruler.push(eW[e][0],eW[e][1])}function eK(e,t,n,r){this.src=e,this.md=t,this.env=n,this.tokens=r,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0;let i=this.src;for(let e=0,t=0,n=0,r=0,o=i.length,a=!1;t<o;t++){let s=i.charCodeAt(t);if(!a)if(ek(s)){n++,9===s?r+=4-r%4:r++;continue}else a=!0;(10===s||t===o-1)&&(10!==s&&t++,this.bMarks.push(e),this.eMarks.push(t),this.tShift.push(n),this.sCount.push(r),this.bsCount.push(0),a=!1,n=0,r=0,e=t+1)}this.bMarks.push(i.length),this.eMarks.push(i.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}function eZ(e,t){let n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];return e.src.slice(n,r)}function eX(e){let t=[],n=e.length,r=0,i=e.charCodeAt(r),o=!1,a=0,s="";for(;r<n;)124===i&&(o?(s+=e.substring(a,r-1),a=r):(t.push(s+e.substring(a,r)),s="",a=r+1)),o=92===i,r++,i=e.charCodeAt(r);return t.push(s+e.substring(a)),t}function eJ(e,t){let n=e.eMarks[t],r=e.bMarks[t]+e.tShift[t],i=e.src.charCodeAt(r++);return 42!==i&&45!==i&&43!==i||r<n&&!ek(e.src.charCodeAt(r))?-1:r}function eQ(e,t){let n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t],i=n;if(i+1>=r)return -1;let o=e.src.charCodeAt(i++);if(o<48||o>57)return -1;for(;;){if(i>=r)return -1;if((o=e.src.charCodeAt(i++))>=48&&o<=57){if(i-n>=10)return -1;continue}if(41===o||46===o)break;return -1}return i<r&&!ek(o=e.src.charCodeAt(i))?-1:i}eY.prototype.process=function(e){let t=this.ruler.getRules("");for(let n=0,r=t.length;n<r;n++)t[n](e)},eY.prototype.State=eF,eK.prototype.push=function(e,t,n){let r=new eM(e,t,n);return r.block=!0,n<0&&this.level--,r.level=this.level,n>0&&this.level++,this.tokens.push(r),r},eK.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},eK.prototype.skipEmptyLines=function(e){for(let t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},eK.prototype.skipSpaces=function(e){for(let t=this.src.length;e<t&&ek(this.src.charCodeAt(e));e++);return e},eK.prototype.skipSpacesBack=function(e,t){if(e<=t)return e;for(;e>t;)if(!ek(this.src.charCodeAt(--e)))return e+1;return e},eK.prototype.skipChars=function(e,t){for(let n=this.src.length;e<n&&this.src.charCodeAt(e)===t;e++);return e},eK.prototype.skipCharsBack=function(e,t,n){if(e<=n)return e;for(;e>n;)if(t!==this.src.charCodeAt(--e))return e+1;return e},eK.prototype.getLines=function(e,t,n,r){if(e>=t)return"";let i=Array(t-e);for(let o=0,a=e;a<t;a++,o++){let e,s=0,l=this.bMarks[a],u=l;for(e=a+1<t||r?this.eMarks[a]+1:this.eMarks[a];u<e&&s<n;
12){let e=this.src.charCodeAt(u);if(ek(e))9===e?s+=4-(s+this.bsCount[a])%4:s++;else if(u-l<this.tShift[a])s++;else break;u++}s>n?i[o]=Array(s-n+1).join(" ")+this.src.slice(u,e):i[o]=this.src.slice(u,e)}return i.join("")},eK.prototype.Token=eM;let e0="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",e1="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",e2=RegExp("^(?:"+e0+"|"+e1+"|\x3c!---?>|\x3c!--(?:[^-]|-[^-]|--[^>])*--\x3e|<[?][\\s\\S]*?[?]>|<![A-Za-z][^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),e5=RegExp("^(?:"+e0+"|"+e1+")"),e3=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[RegExp("^</?(address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h1|h2|h3|h4|h5|h6|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul)(?=(\\s|/?>|$))","i"),/^$/,!0],[RegExp(e5.source+"\\s*$"),/^$/,!1]],e4=[["table",function(e,t,n,r){let i;if(t+2>n)return!1;let o=t+1;if(e.sCount[o]<e.blkIndent||e.sCount[o]-e.blkIndent>=4)return!1;let a=e.bMarks[o]+e.tShift[o];if(a>=e.eMarks[o])return!1;let s=e.src.charCodeAt(a++);if(124!==s&&45!==s&&58!==s||a>=e.eMarks[o])return!1;let l=e.src.charCodeAt(a++);if(124!==l&&45!==l&&58!==l&&!ek(l)||45===s&&ek(l))return!1;for(;a<e.eMarks[o];){let t=e.src.charCodeAt(a);if(124!==t&&45!==t&&58!==t&&!ek(t))return!1;a++}let u=eZ(e,t+1),c=u.split("|"),d=[];for(let e=0;e<c.length;e++){let t=c[e].trim();if(!t)if(0===e||e===c.length-1)continue;else return!1;if(!/^:?-+:?$/.test(t))return!1;58===t.charCodeAt(t.length-1)?d.push(58===t.charCodeAt(0)?"center":"right"):58===t.charCodeAt(0)?d.push("left"):d.push("")}if(-1===(u=eZ(e,t).trim()).indexOf("|")||e.sCount[t]-e.blkIndent>=4)return!1;(c=eX(u)).length&&""===c[0]&&c.shift(),c.length&&""===c[c.length-1]&&c.pop();let f=c.length;if(0===f||f!==d.length)return!1;if(r)return!0;let h=e.parentType;e.parentType="table";let p=e.md.block.ruler.getRules("blockquote"),g=e.push("table_open","table",1),m=[t,0];g.map=m,e.push("thead_open","thead",1).map=[t,t+1],e.push("tr_open","tr",1).map=[t,t+1];for(let t=0;t<c.length;t++){let n=e.push("th_open","th",1);d[t]&&(n.attrs=[["style","text-align:"+d[t]]]);let r=e.push("inline","",0);r.content=c[t].trim(),r.children=[],e.push("th_close","th",-1)}e.push("tr_close","tr",-1),e.push("thead_close","thead",-1);let y=0;for(o=t+2;o<n&&!(e.sCount[o]<e.blkIndent);o++){let r=!1;for(let t=0,i=p.length;t<i;t++)if(p[t](e,o,n,!0)){r=!0;break}if(r||!(u=eZ(e,o).trim())||e.sCount[o]-e.blkIndent>=4||((c=eX(u)).length&&""===c[0]&&c.shift(),c.length&&""===c[c.length-1]&&c.pop(),(y+=f-c.length)>65536))break;o===t+2&&(e.push("tbody_open","tbody",1).map=i=[t+2,0]),e.push("tr_open","tr",1).map=[o,o+1];for(let t=0;t<f;t++){let n=e.push("td_open","td",1);d[t]&&(n.attrs=[["style","text-align:"+d[t]]]);let r=e.push("inline","",0);r.content=c[t]?c[t].trim():"",r.children=[],e.push("td_close","td",-1)}e.push("tr_close","tr",-1)}return i&&(e.push("tbody_close","tbody",-1),i[1]=o),e.push("table_close","table",-1),m[1]=o,e.parentType=h,e.line=o,!0},["paragraph","reference"]],["code",function(e,t,n){if(e.sCount[t]-e.blkIndent<4)return!1;let r=t+1,i=r;for(;r<n;){if(e.isEmpty(r)){r++;continue}if(e.sCount[r]-e.blkIndent>=4){i=++r;continue}break}e.line=i;let o=e.push("code_block","code",0);return o.content=e.getLines(t,i,4+e.blkIndent,!1)+"\n",o.map=[t,e.line],!0}],["fence",function(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||i+3>o)return!1;let a=e.src.charCodeAt(i);if(126!==a&&96!==a)return!1;let s=i,l=(i=e.skipChars(i,a))-s;if(l<3)return!1;let u=e.src.slice(s,i),c=e.src.slice(i,o);if(96===a&&c.indexOf(String.fromCharCode(a))>=0)return!1;if(r)return!0;let d=t,f=!1;for(;!(++d>=n)&&(!((i=s=e.bMarks[d]+e.tShift[d])<(o=e.eMarks[d]))||!(e.sCount[d]<e.blkIndent));){;
12if(!(e.src.charCodeAt(i)!==a||e.sCount[d]-e.blkIndent>=4||(i=e.skipChars(i,a))-s<l)&&!((i=e.skipSpaces(i))<o)){f=!0;break}}l=e.sCount[t],e.line=d+ +!!f;let h=e.push("fence","code",0);return h.info=c,h.content=e.getLines(t+1,d,l,!0),h.markup=u,h.map=[t,e.line],!0},["paragraph","reference","blockquote","list"]],["blockquote",function(e,t,n,r){let i,o=e.bMarks[t]+e.tShift[t],a=e.eMarks[t],s=e.lineMax;if(e.sCount[t]-e.blkIndent>=4||62!==e.src.charCodeAt(o))return!1;if(r)return!0;let l=[],u=[],c=[],d=[],f=e.md.block.ruler.getRules("blockquote"),h=e.parentType;e.parentType="blockquote";let p=!1;for(i=t;i<n;i++){let t=e.sCount[i]<e.blkIndent;if((o=e.bMarks[i]+e.tShift[i])>=(a=e.eMarks[i]))break;if(62===e.src.charCodeAt(o++)&&!t){let t,n,r=e.sCount[i]+1;32===e.src.charCodeAt(o)?(o++,r++,n=!1,t=!0):9===e.src.charCodeAt(o)?(t=!0,(e.bsCount[i]+r)%4==3?(o++,r++,n=!1):n=!0):t=!1;let s=r;for(l.push(e.bMarks[i]),e.bMarks[i]=o;o<a;){let t=e.src.charCodeAt(o);if(ek(t))9===t?s+=4-(s+e.bsCount[i]+ +!!n)%4:s++;else break;o++}p=o>=a,u.push(e.bsCount[i]),e.bsCount[i]=e.sCount[i]+1+ +!!t,c.push(e.sCount[i]),e.sCount[i]=s-r,d.push(e.tShift[i]),e.tShift[i]=o-e.bMarks[i];continue}if(p)break;let r=!1;for(let t=0,o=f.length;t<o;t++)if(f[t](e,i,n,!0)){r=!0;break}if(r){e.lineMax=i,0!==e.blkIndent&&(l.push(e.bMarks[i]),u.push(e.bsCount[i]),d.push(e.tShift[i]),c.push(e.sCount[i]),e.sCount[i]-=e.blkIndent);break}l.push(e.bMarks[i]),u.push(e.bsCount[i]),d.push(e.tShift[i]),c.push(e.sCount[i]),e.sCount[i]=-1}let g=e.blkIndent;e.blkIndent=0;let m=e.push("blockquote_open","blockquote",1);m.markup=">";let y=[t,0];m.map=y,e.md.block.tokenize(e,t,i),e.push("blockquote_close","blockquote",-1).markup=">",e.lineMax=s,e.parentType=h,y[1]=e.line;for(let n=0;n<d.length;n++)e.bMarks[n+t]=l[n],e.tShift[n+t]=d[n],e.sCount[n+t]=c[n],e.bsCount[n+t]=u[n];return e.blkIndent=g,!0},["paragraph","reference","blockquote","list"]],["hr",function(e,t,n,r){let i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let o=e.bMarks[t]+e.tShift[t],a=e.src.charCodeAt(o++);if(42!==a&&45!==a&&95!==a)return!1;let s=1;for(;o<i;){let t=e.src.charCodeAt(o++);if(t!==a&&!ek(t))return!1;t===a&&s++}if(s<3)return!1;if(r)return!0;e.line=t+1;let l=e.push("hr","hr",0);return l.map=[t,e.line],l.markup=Array(s+1).join(String.fromCharCode(a)),!0},["paragraph","reference","blockquote","list"]],["list",function(e,t,n,r){let i,o,a,s,l,u,c,d=t,f=!0;if(e.sCount[d]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[d]-e.listIndent>=4&&e.sCount[d]<e.blkIndent)return!1;let h=!1;if(r&&"paragraph"===e.parentType&&e.sCount[d]>=e.blkIndent&&(h=!0),(c=eQ(e,d))>=0){if(l=!0,a=e.bMarks[d]+e.tShift[d],u=Number(e.src.slice(a,c-1)),h&&1!==u)return!1}else{if(!((c=eJ(e,d))>=0))return!1;l=!1}if(h&&e.skipSpaces(c)>=e.eMarks[d])return!1;if(r)return!0;let p=e.src.charCodeAt(c-1),g=e.tokens.length;l?(s=e.push("ordered_list_open","ol",1),1!==u&&(s.attrs=[["start",u]])):s=e.push("bullet_list_open","ul",1);let m=[d,0];s.map=m,s.markup=String.fromCharCode(p);let y=!1,b=e.md.block.ruler.getRules("list"),v=e.parentType;for(e.parentType="list";d<n;){let t;o=c,i=e.eMarks[d];let r=e.sCount[d]+c-(e.bMarks[d]+e.tShift[d]),u=r;for(;o<i;){let t=e.src.charCodeAt(o);if(9===t)u+=4-(u+e.bsCount[d])%4;else if(32===t)u++;else break;o++}let h=o;(t=h>=i?1:u-r)>4&&(t=1);let g=r+t;(s=e.push("list_item_open","li",1)).markup=String.fromCharCode(p);let m=[d,0];s.map=m,l&&(s.info=e.src.slice(a,c-1));let v=e.tight,w=e.tShift[d],_=e.sCount[d],x=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=g,e.tight=!0,e.tShift[d]=h-e.bMarks[d],e.sCount[d]=u,h>=i&&e.isEmpty(d+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,d,n,!0),(!e.tight||y)&&(f=!1),y=e.line-d>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=x,e.tShift[d]=w,e.sCount[d]=_,e.tight=v,(s=e.push("list_item_close","li",-1)).markup=String.fromCharCode(p),d=e.line,m[1]=d,d>=n||e.sCount[d]<e.blkIndent||e.sCount[d]-e.blkIndent>=4)break;let k=!1;for(let t=0,r=b.length;t<r;t++)if(b[t](e,d,n,!0)){k=!0;break}if(k)break;if(l){if((c=eQ(e,d))<0)break;a=e.bMarks[d]+e.tShift[d]}else if((c=eJ(e,d))<0)break;
12if(p!==e.src.charCodeAt(c-1))break}return(s=l?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1)).markup=String.fromCharCode(p),m[1]=d,e.line=d,e.parentType=v,f&&function(e,t){let n=e.level+2;for(let r=t+2,i=e.tokens.length-2;r<i;r++)e.tokens[r].level===n&&"paragraph_open"===e.tokens[r].type&&(e.tokens[r+2].hidden=!0,e.tokens[r].hidden=!0,r+=2)}(e,g),!0},["paragraph","reference","blockquote"]],["reference",function(e,t,n,r){let i,o=e.bMarks[t]+e.tShift[t],a=e.eMarks[t],s=t+1;if(e.sCount[t]-e.blkIndent>=4||91!==e.src.charCodeAt(o))return!1;function l(t){let n=e.lineMax;if(t>=n||e.isEmpty(t))return null;let r=!1;if(e.sCount[t]-e.blkIndent>3&&(r=!0),e.sCount[t]<0&&(r=!0),!r){let r=e.md.block.ruler.getRules("reference"),i=e.parentType;e.parentType="reference";let o=!1;for(let i=0,a=r.length;i<a;i++)if(r[i](e,t,n,!0)){o=!0;break}if(e.parentType=i,o)return null}let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];return e.src.slice(i,o+1)}let u=e.src.slice(o,a+1);a=u.length;let c=-1;for(o=1;o<a;o++){let e=u.charCodeAt(o);if(91===e)return!1;if(93===e){c=o;break}if(10===e){let e=l(s);null!==e&&(u+=e,a=u.length,s++)}else if(92===e&&++o<a&&10===u.charCodeAt(o)){let e=l(s);null!==e&&(u+=e,a=u.length,s++)}}if(c<0||58!==u.charCodeAt(c+1))return!1;for(o=c+2;o<a;o++){let e=u.charCodeAt(o);if(10===e){let e=l(s);null!==e&&(u+=e,a=u.length,s++)}else if(ek(e));else break}let d=e.md.helpers.parseLinkDestination(u,o,a);if(!d.ok)return!1;let f=e.md.normalizeLink(d.str);if(!e.md.validateLink(f))return!1;let h=o=d.pos,p=s,g=o;for(;o<a;o++){let e=u.charCodeAt(o);if(10===e){let e=l(s);null!==e&&(u+=e,a=u.length,s++)}else if(ek(e));else break}let m=e.md.helpers.parseLinkTitle(u,o,a);for(;m.can_continue;){let t=l(s);if(null===t)break;u+=t,o=a,a=u.length,s++,m=e.md.helpers.parseLinkTitle(u,o,a,m)}for(o<a&&g!==o&&m.ok?(i=m.str,o=m.pos):(i="",o=h,s=p);o<a&&ek(u.charCodeAt(o));)o++;if(o<a&&10!==u.charCodeAt(o)&&i)for(i="",o=h,s=p;o<a&&ek(u.charCodeAt(o));)o++;if(o<a&&10!==u.charCodeAt(o))return!1;let y=eC(u.slice(1,c));return!!y&&(!!r||(void 0===e.env.references&&(e.env.references={}),void 0===e.env.references[y]&&(e.env.references[y]={title:i,href:f}),e.line=s,!0))}],["html_block",function(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||60!==e.src.charCodeAt(i))return!1;let a=e.src.slice(i,o),s=0;for(;s<e3.length&&!e3[s][0].test(a);s++);if(s===e3.length)return!1;if(r)return e3[s][2];let l=t+1;if(!e3[s][1].test(a)){for(;l<n&&!(e.sCount[l]<e.blkIndent);l++)if(i=e.bMarks[l]+e.tShift[l],o=e.eMarks[l],a=e.src.slice(i,o),e3[s][1].test(a)){0!==a.length&&l++;break}}e.line=l;let u=e.push("html_block","",0);return u.map=[t,l],u.content=e.getLines(t,l,e.blkIndent,!0),!0},["paragraph","reference","blockquote"]],["heading",function(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let a=e.src.charCodeAt(i);if(35!==a||i>=o)return!1;let s=1;for(a=e.src.charCodeAt(++i);35===a&&i<o&&s<=6;)s++,a=e.src.charCodeAt(++i);if(s>6||i<o&&!ek(a))return!1;if(r)return!0;o=e.skipSpacesBack(o,i);let l=e.skipCharsBack(o,35,i);l>i&&ek(e.src.charCodeAt(l-1))&&(o=l),e.line=t+1;let u=e.push("heading_open","h"+String(s),1);u.markup="########".slice(0,s),u.map=[t,e.line];let c=e.push("inline","",0);return c.content=e.src.slice(i,o).trim(),c.map=[t,e.line],c.children=[],e.push("heading_close","h"+String(s),-1).markup="########".slice(0,s),!0},["paragraph","reference","blockquote"]],["lheading",function(e,t,n){let r,i=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;let o=e.parentType;e.parentType="paragraph";let a=0,s=t+1;for(;s<n&&!e.isEmpty(s);s++){if(e.sCount[s]-e.blkIndent>3)continue;if(e.sCount[s]>=e.blkIndent){let t=e.bMarks[s]+e.tShift[s],n=e.eMarks[s];if(t<n&&(45===(r=e.src.charCodeAt(t))||61===r)&&(t=e.skipChars(t,r),(t=e.skipSpaces(t))>=n)){a=61===r?1:2;break}}if(e.sCount[s]<0)continue;let t=!1;for(let r=0,o=i.length;r<o;r++)if(i[r](e,s,n,!0)){t=!0;break}if(t)break}if(!a)return!1;let l=e.getLines(t,s,e.blkIndent,!1).trim();e.line=s+1;let u=e.push("heading_open","h"+String(a),1);u.markup=String.fromCharCode(r),u.map=[t,e.line];let c=e.push("inline","",0);return c.content=l,c.map=[t,e.line-1],c.children=[],e.push("heading_close","h"+String(a),-1).markup=String.fromCharCode(r),e.parentType=
12o,!0}],["paragraph",function(e,t,n){let r=e.md.block.ruler.getRules("paragraph"),i=e.parentType,o=t+1;for(e.parentType="paragraph";o<n&&!e.isEmpty(o);o++){if(e.sCount[o]-e.blkIndent>3||e.sCount[o]<0)continue;let t=!1;for(let i=0,a=r.length;i<a;i++)if(r[i](e,o,n,!0)){t=!0;break}if(t)break}let a=e.getLines(t,o,e.blkIndent,!1).trim();e.line=o,e.push("paragraph_open","p",1).map=[t,e.line];let s=e.push("inline","",0);return s.content=a,s.map=[t,e.line],s.children=[],e.push("paragraph_close","p",-1),e.parentType=i,!0}]];function e6(){this.ruler=new eN;for(let e=0;e<e4.length;e++)this.ruler.push(e4[e][0],e4[e][1],{alt:(e4[e][2]||[]).slice()})}function e9(e,t,n,r){this.src=e,this.env=n,this.md=t,this.tokens=r,this.tokens_meta=Array(r.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}e6.prototype.tokenize=function(e,t,n){let r=this.ruler.getRules(""),i=r.length,o=e.md.options.maxNesting,a=t,s=!1;for(;a<n&&(e.line=a=e.skipEmptyLines(a),!(a>=n)&&!(e.sCount[a]<e.blkIndent));){if(e.level>=o){e.line=n;break}let t=e.line,l=!1;for(let o=0;o<i;o++)if(l=r[o](e,a,n,!1)){if(t>=e.line)throw Error("block rule didn't increment state.line");break}if(!l)throw Error("none of the block rules matched");e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),(a=e.line)<n&&e.isEmpty(a)&&(s=!0,e.line=++a)}},e6.prototype.parse=function(e,t,n,r){if(!e)return;let i=new this.State(e,t,n,r);this.tokenize(i,i.line,i.lineMax)},e6.prototype.State=eK,e9.prototype.pushPending=function(){let e=new eM("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},e9.prototype.push=function(e,t,n){this.pending&&this.pushPending();let r=new eM(e,t,n),i=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),r.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],i={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(i),r},e9.prototype.scanDelims=function(e,t){let n=this.posMax,r=this.src.charCodeAt(e),i=e>0?this.src.charCodeAt(e-1):32,o=e;for(;o<n&&this.src.charCodeAt(o)===r;)o++;let a=o-e,s=o<n?this.src.charCodeAt(o):32,l=eS(i)||eA(String.fromCharCode(i)),u=eS(s)||eA(String.fromCharCode(s)),c=eE(i),d=eE(s),f=!d&&(!u||c||l),h=!c&&(!l||d||u);return{can_open:f&&(t||!h||l),can_close:h&&(t||!f||u),length:a}},e9.prototype.Token=eM;let e7=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i,e8=[];for(let e=0;e<256;e++)e8.push(0);function te(e,t){let n,r=[],i=t.length;for(let o=0;o<i;o++){let i=t[o];if(126!==i.marker||-1===i.end)continue;let a=t[i.end];(n=e.tokens[i.token]).type="s_open",n.tag="s",n.nesting=1,n.markup="~~",n.content="",(n=e.tokens[a.token]).type="s_close",n.tag="s",n.nesting=-1,n.markup="~~",n.content="","text"===e.tokens[a.token-1].type&&"~"===e.tokens[a.token-1].content&&r.push(a.token-1)}for(;r.length;){let t=r.pop(),i=t+1;for(;i<e.tokens.length&&"s_close"===e.tokens[i].type;)i++;t!==--i&&(n=e.tokens[i],e.tokens[i]=e.tokens[t],e.tokens[t]=n)}}"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){e8[e.charCodeAt(0)]=1});function tt(e,t){let n=t.length;for(let r=n-1;r>=0;r--){let n=t[r];if(95!==n.marker&&42!==n.marker||-1===n.end)continue;let i=t[n.end],o=r>0&&t[r-1].end===n.end+1&&t[r-1].marker===n.marker&&t[r-1].token===n.token-1&&t[n.end+1].token===i.token+1,a=String.fromCharCode(n.marker),s=e.tokens[n.token];s.type=o?"strong_open":"em_open",s.tag=o?"strong":"em",s.nesting=1,s.markup=o?a+a:a,s.content="";let l=e.tokens[i.token];l.type=o?"strong_close":"em_close",l.tag=o?"strong":"em",l.nesting=-1,l.markup=o?a+a:a,l.content="",o&&(e.tokens[t[r-1].token].content="",e.tokens[t[n.end+1].token].content="",r--)}}let tn=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,tr=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/,ti=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,to=/^&([a-z][a-z0-9]{1,31});/i;function ta(e){let t={},n=e.length;if(!n)return;let r=0,i=-2,o=[];for(let a=0;a<n;a++){let n=e[a];if(o.push(0),(e[r].marker!==n.marker||i!==n.token-1)&&(r=a),i=n.token,n.length=n.length||0,!n.close)continue;t.hasOwnProperty(n.marker)||(t[n.marker]=[-1,-1,-1,-1,-1,-1]);let s=t[n.marker][3*!!n.open+n.length%3],l=r-o[r]-1,u=l;for(;l>s;l-=o[l]+1){let t=e[l];if(t.marker===n.marker&&t.open&&t.end<0){let r=!1;if((t.close||n.open)&&(t.length+n.length)%3==0&&(t.length%3!=0||n.length%3!=0)&&(r=!0),!r){let r=l>0&&!e[l-1].open?o[l-1]+1:0;o[a]=a-l+r,o[l]=r,n.open=!1,t.end=a,t.close=!1,u=-1,i=-2;break}}}-1!==u&&(t[n.marker][3*!!n.open+(n.length||0)%3]=u)}}let ts=[["text",function(e,t){let n=e.pos;for(;n<e.posMax&&!function(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 
1261:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}(e.src.charCodeAt(n));)n++;return n!==e.pos&&(t||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}],["linkify",function(e,t){if(!e.md.options.linkify||e.linkLevel>0)return!1;let n=e.pos;if(n+3>e.posMax||58!==e.src.charCodeAt(n)||47!==e.src.charCodeAt(n+1)||47!==e.src.charCodeAt(n+2))return!1;let r=e.pending.match(e7);if(!r)return!1;let i=r[1],o=e.md.linkify.matchAtStart(e.src.slice(n-i.length));if(!o)return!1;let a=o.url;if(a.length<=i.length)return!1;let s=a.length;for(;s>0&&42===a.charCodeAt(s-1);)s--;s!==a.length&&(a=a.slice(0,s));let l=e.md.normalizeLink(a);if(!e.md.validateLink(l))return!1;if(!t){e.pending=e.pending.slice(0,-i.length);let t=e.push("link_open","a",1);t.attrs=[["href",l]],t.markup="linkify",t.info="auto",e.push("text","",0).content=e.md.normalizeLinkText(a);let n=e.push("link_close","a",-1);n.markup="linkify",n.info="auto"}return e.pos+=a.length-i.length,!0}],["newline",function(e,t){let n=e.pos;if(10!==e.src.charCodeAt(n))return!1;let r=e.pending.length-1,i=e.posMax;if(!t)if(r>=0&&32===e.pending.charCodeAt(r))if(r>=1&&32===e.pending.charCodeAt(r-1)){let t=r-1;for(;t>=1&&32===e.pending.charCodeAt(t-1);)t--;e.pending=e.pending.slice(0,t),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(n++;n<i&&ek(e.src.charCodeAt(n));)n++;return e.pos=n,!0}],["escape",function(e,t){let n=e.pos,r=e.posMax;if(92!==e.src.charCodeAt(n)||++n>=r)return!1;let i=e.src.charCodeAt(n);if(10===i){for(t||e.push("hardbreak","br",0),n++;n<r&&ek(i=e.src.charCodeAt(n));)n++;return e.pos=n,!0}let o=e.src[n];if(i>=55296&&i<=56319&&n+1<r){let t=e.src.charCodeAt(n+1);t>=56320&&t<=57343&&(o+=e.src[n+1],n++)}let a="\\"+o;if(!t){let t=e.push("text_special","",0);i<256&&0!==e8[i]?t.content=o:t.content=a,t.markup=a,t.info="escape"}return e.pos=n+1,!0}],["backticks",function(e,t){let n,r=e.pos;if(96!==e.src.charCodeAt(r))return!1;let i=r;r++;let o=e.posMax;for(;r<o&&96===e.src.charCodeAt(r);)r++;let a=e.src.slice(i,r),s=a.length;if(e.backticksScanned&&(e.backticks[s]||0)<=i)return t||(e.pending+=a),e.pos+=s,!0;let l=r;
12for(;-1!==(n=e.src.indexOf("`",l));){for(l=n+1;l<o&&96===e.src.charCodeAt(l);)l++;let i=l-n;if(i===s){if(!t){let t=e.push("code_inline","code",0);t.markup=a,t.content=e.src.slice(r,n).replace(/\n/g," ").replace(/^ (.+) $/,"$1")}return e.pos=l,!0}e.backticks[i]=n}return e.backticksScanned=!0,t||(e.pending+=a),e.pos+=s,!0}],["strikethrough",function(e,t){let n=e.pos,r=e.src.charCodeAt(n);if(t||126!==r)return!1;let i=e.scanDelims(e.pos,!0),o=i.length,a=String.fromCharCode(r);if(o<2)return!1;o%2&&(e.push("text","",0).content=a,o--);for(let t=0;t<o;t+=2)e.push("text","",0).content=a+a,e.delimiters.push({marker:r,length:0,token:e.tokens.length-1,end:-1,open:i.can_open,close:i.can_close});return e.pos+=i.length,!0}],["emphasis",function(e,t){let n=e.pos,r=e.src.charCodeAt(n);if(t||95!==r&&42!==r)return!1;let i=e.scanDelims(e.pos,42===r);for(let t=0;t<i.length;t++)e.push("text","",0).content=String.fromCharCode(r),e.delimiters.push({marker:r,length:i.length,token:e.tokens.length-1,end:-1,open:i.can_open,close:i.can_close});return e.pos+=i.length,!0}],["link",function(e,t){let n,r,i,o,a="",s="",l=e.pos,u=!0;if(91!==e.src.charCodeAt(e.pos))return!1;let c=e.pos,d=e.posMax,f=e.pos+1,h=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(h<0)return!1;let p=h+1;if(p<d&&40===e.src.charCodeAt(p)){for(u=!1,p++;p<d&&(ek(n=e.src.charCodeAt(p))||10===n);p++);if(p>=d)return!1;if(l=p,(i=e.md.helpers.parseLinkDestination(e.src,p,e.posMax)).ok){for(a=e.md.normalizeLink(i.str),e.md.validateLink(a)?p=i.pos:a="",l=p;p<d&&(ek(n=e.src.charCodeAt(p))||10===n);p++);if(i=e.md.helpers.parseLinkTitle(e.src,p,e.posMax),p<d&&l!==p&&i.ok)for(s=i.str,p=i.pos;p<d&&(ek(n=e.src.charCodeAt(p))||10===n);p++);}(p>=d||41!==e.src.charCodeAt(p))&&(u=!0),p++}if(u){if(void 0===e.env.references)return!1;if(p<d&&91===e.src.charCodeAt(p)?(l=p+1,(p=e.md.helpers.parseLinkLabel(e,p))>=0?r=e.src.slice(l,p++):p=h+1):p=h+1,r||(r=e.src.slice(f,h)),!(o=e.env.references[eC(r)]))return e.pos=c,!1;a=o.href,s=o.title}if(!t){e.pos=f,e.posMax=h;let t=e.push("link_open","a",1),n=[["href",a]];t.attrs=n,s&&n.push(["title",s]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=p,e.posMax=d,!0}],["image",function(e,t){let n,r,i,o,a,s,l,u,c="",d=e.pos,f=e.posMax;if(33!==e.src.charCodeAt(e.pos)||91!==e.src.charCodeAt(e.pos+1))return!1;let h=e.pos+2,p=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(p<0)return!1;if((o=p+1)<f&&40===e.src.charCodeAt(o)){for(o++;o<f&&(ek(n=e.src.charCodeAt(o))||10===n);o++);if(o>=f)return!1;for(u=o,(s=e.md.helpers.parseLinkDestination(e.src,o,e.posMax)).ok&&(c=e.md.normalizeLink(s.str),e.md.validateLink(c)?o=s.pos:c=""),u=o;o<f&&(ek(n=e.src.charCodeAt(o))||10===n);o++);if(s=e.md.helpers.parseLinkTitle(e.src,o,e.posMax),o<f&&u!==o&&s.ok)for(l=s.str,o=s.pos;o<f&&(ek(n=e.src.charCodeAt(o))||10===n);o++);else l="";if(o>=f||41!==e.src.charCodeAt(o))return e.pos=d,!1;o++}else{if(void 0===e.env.references)return!1;if(o<f&&91===e.src.charCodeAt(o)?(u=o+1,(o=e.md.helpers.parseLinkLabel(e,o))>=0?i=e.src.slice(u,o++):o=p+1):o=p+1,i||(i=e.src.slice(h,p)),!(a=e.env.references[eC(i)]))return e.pos=d,!1;c=a.href,l=a.title}if(!t){r=e.src.slice(h,p);let t=[];e.md.inline.parse(r,e.md,e.env,t);let n=e.push("image","img",0),i=[["src",c],["alt",""]];n.attrs=i,n.children=t,n.content=r,l&&i.push(["title",l])}return e.pos=o,e.posMax=f,!0}],["autolink",function(e,t){let n=e.pos;if(60!==e.src.charCodeAt(n))return!1;let r=e.pos,i=e.posMax;for(;;){if(++n>=i)return!1;let t=e.src.charCodeAt(n);if(60===t)return!1;if(62===t)break}let o=e.src.slice(r+1,n);if(tr.test(o)){let n=e.md.normalizeLink(o);if(!e.md.validateLink(n))return!1;if(!t){let t=e.push("link_open","a",1);t.attrs=[["href",n]],t.markup="autolink",t.info="auto",e.push("text","",0).content=e.md.normalizeLinkText(o);let r=e.push("link_close","a",-1);r.markup="autolink",r.info="auto"}return e.pos+=o.length+2,!0}if(tn.test(o)){let n=e.md.normalizeLink("mailto:"+o);if(!e.md.validateLink(n))return!1;if(!t){let t=e.push("link_open","a",1);t.attrs=[["href",n]],t.markup="autolink",t.info="auto",e.push("text","",0).content=e.md.normalizeLinkText(o);let r=e.push("link_close","a",-1);r.markup="autolink",r.info="auto"}return e.pos+=o.length+2,!0}return!1}],["html_inline",function(e,t){let n;if(!e.md.options.html)return!1;let r=e.posMax,i=e.pos;
12if(60!==e.src.charCodeAt(i)||i+2>=r)return!1;let o=e.src.charCodeAt(i+1);if(33!==o&&63!==o&&47!==o&&(!((n=32|o)>=97)||!(n<=122)))return!1;let a=e.src.slice(i).match(e2);if(!a)return!1;if(!t){var s,l;let t=e.push("html_inline","",0);t.content=a[0],s=t.content,/^<a[>\s]/i.test(s)&&e.linkLevel++,l=t.content,/^<\/a\s*>/i.test(l)&&e.linkLevel--}return e.pos+=a[0].length,!0}],["entity",function(e,t){let n=e.pos,r=e.posMax;if(38!==e.src.charCodeAt(n)||n+1>=r)return!1;if(35===e.src.charCodeAt(n+1)){let r=e.src.slice(n).match(ti);if(r){if(!t){let t="x"===r[1][0].toLowerCase()?parseInt(r[1].slice(1),16):parseInt(r[1],10),n=e.push("text_special","",0);n.content=eu(t)?ec(t):ec(65533),n.markup=r[0],n.info="entity"}return e.pos+=r[0].length,!0}}else{let r=e.src.slice(n).match(to);if(r){let n=et(r[0]);if(n!==r[0]){if(!t){let t=e.push("text_special","",0);t.content=n,t.markup=r[0],t.info="entity"}return e.pos+=r[0].length,!0}}}return!1}]],tl=[["balance_pairs",function(e){let t=e.tokens_meta,n=e.tokens_meta.length;ta(e.delimiters);for(let e=0;e<n;e++)t[e]&&t[e].delimiters&&ta(t[e].delimiters)}],["strikethrough",function(e){let t=e.tokens_meta,n=e.tokens_meta.length;te(e,e.delimiters);for(let r=0;r<n;r++)t[r]&&t[r].delimiters&&te(e,t[r].delimiters)}],["emphasis",function(e){let t=e.tokens_meta,n=e.tokens_meta.length;tt(e,e.delimiters);for(let r=0;r<n;r++)t[r]&&t[r].delimiters&&tt(e,t[r].delimiters)}],["fragments_join",function(e){let t,n,r=0,i=e.tokens,o=e.tokens.length;for(t=n=0;t<o;t++)i[t].nesting<0&&r--,i[t].level=r,i[t].nesting>0&&r++,"text"===i[t].type&&t+1<o&&"text"===i[t+1].type?i[t+1].content=i[t].content+i[t+1].content:(t!==n&&(i[n]=i[t]),n++);t!==n&&(i.length=n)}]];function tu(){this.ruler=new eN;for(let e=0;e<ts.length;e++)this.ruler.push(ts[e][0],ts[e][1]);this.ruler2=new eN;for(let e=0;e<tl.length;e++)this.ruler2.push(tl[e][0],tl[e][1])}function tc(e){let t=Array.prototype.slice.call(arguments,1);return t.forEach(function(t){t&&Object.keys(t).forEach(function(n){e[n]=t[n]})}),e}function td(e){return Object.prototype.toString.call(e)}function tf(e){return"[object Function]"===td(e)}function th(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}tu.prototype.skipToken=function(e){let t=e.pos,n=this.ruler.getRules(""),r=n.length,i=e.md.options.maxNesting,o=e.cache;if(void 0!==o[t]){e.pos=o[t];return}let a=!1;if(e.level<i){for(let i=0;i<r;i++)if(e.level++,a=n[i](e,!0),e.level--,a){if(t>=e.pos)throw Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;!a&&e.pos++,o[t]=e.pos},tu.prototype.tokenize=function(e){let t=this.ruler.getRules(""),n=t.length,r=e.posMax,i=e.md.options.maxNesting;for(;e.pos<r;){let o=e.pos,a=!1;if(e.level<i){for(let r=0;r<n;r++)if(a=t[r](e,!1)){if(o>=e.pos)throw Error("inline rule didn't increment state.pos");break}}if(a){if(e.pos>=r)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},tu.prototype.parse=function(e,t,n,r){let i=new this.State(e,t,n,r);this.tokenize(i);let o=this.ruler2.getRules(""),a=o.length;for(let e=0;e<a;e++)o[e](i)},tu.prototype.State=e9;let tp={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1},tg={"http:":{validate:function(e,t,n){let r=e.slice(t);return(n.re.http||(n.re.http=RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r))?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){let r=e.slice(t);return(n.re.no_http||(n.re.no_http=RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r))?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){let r=e.slice(t);return(n.re.mailto||(n.re.mailto=RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r))?r.match(n.re.mailto)[0].length:0}}},tm="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function ty(){return function(e,t){t.normalize(e)}}function tb(e){var t;let n,r,i=(t=e.__opts__,t=t||{},(n={}).src_Any=H.source,n.src_Cc=q.source,n.src_Z=G.source,n.src_P=U.source,n.src_ZPCc=[n.src_Z,n.src_P,n.src_Cc].join("|"),n.src_ZCc=[n.src_Z,n.src_Cc].join("|"),n.src_pseudo_letter="(?:(?!"+(r="[>
12<|]")+"|"+n.src_ZPCc+")"+n.src_Any+")",n.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",n.src_auth="(?:(?:(?!"+n.src_ZCc+"|[@/\\[\\]()]).)+@)?",n.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",n.src_host_terminator="(?=$|"+r+"|"+n.src_ZPCc+")(?!"+(t["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+n.src_ZPCc+"))",n.src_path="(?:[/?#](?:(?!"+n.src_ZCc+"|"+r+"|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+n.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+n.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+n.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+n.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+n.src_ZCc+"|[']).)+\\'|\\'(?="+n.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+n.src_ZCc+"|[.]|$)|"+(t["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+n.src_ZCc+"|$)|;(?!"+n.src_ZCc+"|$)|\\!+(?!"+n.src_ZCc+"|[!]|$)|\\?(?!"+n.src_ZCc+"|[?]|$))+|\\/)?",n.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',n.src_xn="xn--[a-z0-9\\-]{1,59}",n.src_domain_root="(?:"+n.src_xn+"|"+n.src_pseudo_letter+"{1,63})",n.src_domain="(?:"+n.src_xn+"|(?:"+n.src_pseudo_letter+")|(?:"+n.src_pseudo_letter+"(?:-|"+n.src_pseudo_letter+"){0,61}"+n.src_pseudo_letter+"))",n.src_host="(?:(?:(?:(?:"+n.src_domain+")\\.)*"+n.src_domain+"))",n.tpl_host_fuzzy="(?:"+n.src_ip4+"|(?:(?:(?:"+n.src_domain+")\\.)+(?:%TLDS%)))",n.tpl_host_no_ip_fuzzy="(?:(?:(?:"+n.src_domain+")\\.)+(?:%TLDS%))",n.src_host_strict=n.src_host+n.src_host_terminator,n.tpl_host_fuzzy_strict=n.tpl_host_fuzzy+n.src_host_terminator,n.src_host_port_strict=n.src_host+n.src_port+n.src_host_terminator,n.tpl_host_port_fuzzy_strict=n.tpl_host_fuzzy+n.src_port+n.src_host_terminator,n.tpl_host_port_no_ip_fuzzy_strict=n.tpl_host_no_ip_fuzzy+n.src_port+n.src_host_terminator,n.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+n.src_ZPCc+"|>|$))",n.tpl_email_fuzzy="(^|"+r+'|"|\\(|'+n.src_ZCc+")("+n.src_email_name+"@"+n.tpl_host_fuzzy_strict+")",n.tpl_link_fuzzy="(^|(?![.:
12/\\-_@])(?:[$+<=>^`||]|"+n.src_ZPCc+"))((?![$+<=>^`||])"+n.tpl_host_port_fuzzy_strict+n.src_path+")",n.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+n.src_ZPCc+"))((?![$+<=>^`||])"+n.tpl_host_port_no_ip_fuzzy_strict+n.src_path+")",e.re=n),o=e.__tlds__.slice();function a(e){return e.replace("%TLDS%",i.src_tlds)}e.onCompile(),e.__tlds_replaced__||o.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),o.push(i.src_xn),i.src_tlds=o.join("|"),i.email_fuzzy=RegExp(a(i.tpl_email_fuzzy),"i"),i.link_fuzzy=RegExp(a(i.tpl_link_fuzzy),"i"),i.link_no_ip_fuzzy=RegExp(a(i.tpl_link_no_ip_fuzzy),"i"),i.host_fuzzy_test=RegExp(a(i.tpl_host_fuzzy_test),"i");let s=[];function l(e,t){throw Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach(function(t){let n=e.__schemas__[t];if(null===n)return;let r={validate:null,link:null};if(e.__compiled__[t]=r,"[object Object]"===td(n)){if("[object RegExp]"===td(n.validate)){var i;i=n.validate,r.validate=function(e,t){let n=e.slice(t);return i.test(n)?n.match(i)[0].length:0}}else tf(n.validate)?r.validate=n.validate:l(t,n);tf(n.normalize)?r.normalize=n.normalize:n.normalize?l(t,n):r.normalize=ty();return}"[object String]"===td(n)?s.push(t):l(t,n)}),s.forEach(function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)}),e.__compiled__[""]={validate:null,normalize:ty()};let u=Object.keys(e.__compiled__).filter(function(t){return t.length>0&&e.__compiled__[t]}).map(th).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+i.src_ZPCc+"))("+u+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+i.src_ZPCc+"))("+u+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),e.__index__=-1,e.__text_cache__=""}function tv(e,t){let n=e.__index__,r=e.__last_index__,i=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=i,this.text=i,this.url=i}function tw(e,t){let n=new tv(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function t_(e,t){if(!(this instanceof t_))return new t_(e,t);!t&&Object.keys(e||{}).reduce(function(e,t){return e||tp.hasOwnProperty(t)},!1)&&(t=e,e={}),this.__opts__=tc({},tp,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=tc({},tg,e),this.__compiled__={},this.__tlds__=tm,this.__tlds_replaced__=!1,this.re={},tb(this)}t_.prototype.add=function(e,t){return this.__schemas__[e]=t,tb(this),this},t_.prototype.set=function(e){return this.__opts__=tc(this.__opts__,e),this},t_.prototype.test=function(e){let t,n,r,i,o,a,s,l;if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;if(this.re.schema_test.test(e)){for((s=this.re.schema_search).lastIndex=0;null!==(t=s.exec(e));)if(i=this.testSchemaAt(e,t[2],s.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+i;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||l<this.__index__)&&null!==(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(o=n.index+n[1].length,(this.__index__<0||o<this.__index__)&&(this.__schema__="",this.__index__=o,this.__last_index__=n.index+n[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==(r=e.match(this.re.email_fuzzy))&&(o=r.index+r[1].length,a=r.index+r[0].length,(this.__index__<0||o<this.__index__||o===this.__index__&&a>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=a)),this.__index__>=0},t_.prototype.pretest=function(e){return this.re.pretest.test(e)},t_.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},t_.prototype.match=function(e){let t=[],n=0;this.__index__>=0&&this.__text_cache__===e&&(t.push(tw(this,n)),n=this.__last_index__);let r=n?e.slice(n):e;for(;this.test(r);)t.push(tw(this,n)),r=r.slice(this.__last_index__),n+=this.__last_index__;return t.length?t:null},t_.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;let t=this.re.schema_at_start.exec(e);if(!t)return null;let n=this.testSchemaAt(e,t[2],t[0].length);return n?(this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+n,tw(this,0)):null},t_.prototype.tlds=function(e,t){return(e=Array.isArray(e)?e:[e],t)?this.__tlds__=this.__tlds__.concat(e).sort().filter(function(e,t,n){return e!==n[t-1]}).reverse():(this.__tlds__=e.slice(),this.__tlds_replaced__=!0),tb(this),this},t_.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},t_.prototype.onCompile=function(){};let tx=/^xn--/,tk=/[^\0-\x7F]/,tE=/[\x2E\u3002\uFF0E\uFF61]/g,tA={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >
12= 0x80 (not a basic code point)","invalid-input":"Invalid input"},tS=Math.floor,tC=String.fromCharCode;function tO(e){throw RangeError(tA[e])}function tT(e,t){let n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+(function(e,t){let n=[],r=e.length;for(;r--;)n[r]=t(e[r]);return n})((e=e.replace(tE,".")).split("."),t).join(".")}let tD=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},tI=function(e,t,n){let r=0;for(e=n?tS(e/700):e>>1,e+=tS(e/t);e>455;r+=36)e=tS(e/35);return tS(r+36*e/(e+38))},tR=function(e){let t=[],n=e.length,r=0,i=128,o=72,a=e.lastIndexOf("-");a<0&&(a=0);for(let n=0;n<a;++n)e.charCodeAt(n)>=128&&tO("not-basic"),t.push(e.charCodeAt(n));for(let l=a>0?a+1:0;l<n;){let a=r;for(let t=1,i=36;;i+=36){var s;l>=n&&tO("invalid-input");let a=(s=e.charCodeAt(l++))>=48&&s<58?26+(s-48):s>=65&&s<91?s-65:s>=97&&s<123?s-97:36;a>=36&&tO("invalid-input"),a>tS((0x7fffffff-r)/t)&&tO("overflow"),r+=a*t;let u=i<=o?1:i>=o+26?26:i-o;if(a<u)break;let c=36-u;t>tS(0x7fffffff/c)&&tO("overflow"),t*=c}let u=t.length+1;o=tI(r-a,u,0==a),tS(r/u)>0x7fffffff-i&&tO("overflow"),i+=tS(r/u),r%=u,t.splice(r++,0,i)}return String.fromCodePoint(...t)},tj=function(e){let t=[],n=(e=function(e){let t=[],n=0,r=e.length;for(;n<r;){let i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){let r=e.charCodeAt(n++);(64512&r)==56320?t.push(((1023&i)<<10)+(1023&r)+65536):(t.push(i),n--)}else t.push(i)}return t}(e)).length,r=128,i=0,o=72;for(let n of e)n<128&&t.push(tC(n));let a=t.length,s=a;
12for(a&&t.push("-");s<n;){let n=0x7fffffff;for(let t of e)t>=r&&t<n&&(n=t);let l=s+1;for(let u of(n-r>tS((0x7fffffff-i)/l)&&tO("overflow"),i+=(n-r)*l,r=n,e))if(u<r&&++i>0x7fffffff&&tO("overflow"),u===r){let e=i;for(let n=36;;n+=36){let r=n<=o?1:n>=o+26?26:n-o;if(e<r)break;let i=e-r,a=36-r;t.push(tC(tD(r+i%a,0))),e=tS(i/a)}t.push(tC(tD(e,0))),o=tI(i,l,s===a),i=0,++s}++i,++r}return t.join("")},tN={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},zero:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},commonmark:{options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}}},tM=/^(vbscript|javascript|file|data):/,tF=/^data:image\/(gif|png|jpeg|webp);/;function t$(e){let t=e.trim().toLowerCase();return!tM.test(t)||tF.test(t)}let tL=["http:","https:","mailto:"];function tP(e){let t=z(e,!0);if(t.hostname&&(!t.protocol||tL.indexOf(t.protocol)>=0))try{var n;n=t.hostname,t.hostname=tT(n,function(e){return tk.test(e)?"xn--"+tj(e):e})}catch(e){}return O(T(t))}function tz(e){let t=z(e,!0);if(t.hostname&&(!t.protocol||tL.indexOf(t.protocol)>=0))try{var n;n=t.hostname,t.hostname=tT(n,function(e){return tx.test(e)?tR(e.slice(4).toLowerCase()):e})}catch(e){}return A(T(t),A.defaultChars+"%")}function tU(e,t){if(!(this instanceof tU))return new tU(e,t);t||ei(e)||(t=e||{},e="default"),this.inline=new tu,this.block=new e6,this.core=new eY,this.renderer=new ej,this.linkify=new t_,this.validateLink=t$,this.normalizeLink=tP,this.normalizeLinkText=tz,this.utils=v,this.helpers=es({},w),this.options={},this.configure(e),t&&this.set(t)}function tB(){let e;return e=(()=>{if(r)return r;r=[];for(let e=0;e<256;++e)r[e]=(e+256).toString(16).slice(1);return r})(),(function(e=16){let t=new Uint8Array(e);return crypto.getRandomValues(t),t})(12).reduce((t,n)=>t+e[n],"").slice(0,12)}tU.prototype.set=function(e){return es(this.options,e),this},tU.prototype.configure=function(e){let t=this;if(ei(e)){let t=e;if(!(e=tN[t]))throw Error('Wrong `markdown-it` preset "'+t+'", check name')}if(!e)throw Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(n){e.components[n].rules&&t[n].ruler.enableOnly(e.components[n].rules),e.components[n].rules2&&t[
12n].ruler2.enableOnly(e.components[n].rules2)}),this},tU.prototype.enable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){n=n.concat(this[t].ruler.enable(e,!0))},this),n=n.concat(this.inline.ruler2.enable(e,!0));let r=e.filter(function(e){return 0>n.indexOf(e)});if(r.length&&!t)throw Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},tU.prototype.disable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){n=n.concat(this[t].ruler.disable(e,!0))},this),n=n.concat(this.inline.ruler2.disable(e,!0));let r=e.filter(function(e){return 0>n.indexOf(e)});if(r.length&&!t)throw Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},tU.prototype.use=function(e){let t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},tU.prototype.parse=function(e,t){if("string"!=typeof e)throw Error("Input data should be a String");let n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},tU.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},tU.prototype.parseInline=function(e,t){let n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},tU.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};let tH=(0,_.Fc)((0,_.Jo)({})),tq=({current:e,next:t})=>(0,x.n2)(e)&&(0,x.n2)(t)?`
13`:(0,x.IG)(e)&&(0,x.IG)(t)&&"blockquote"===e.style&&"blockquote"===t.style?`
14>
15`:`
16
17`;function tV(e){return e.replace(/([[\]\\])/g,"\\$1")}function tG(e){return e.replace(/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,"$1")}let tW={},tY={normal:({children:e})=>e&&""!==e.trim()?e:"",blockquote:({children:e})=>e?e.split(`
18`).map(e=>`> ${e}`).join(`
19`):">",h1:({children:e})=>`# ${e}`,h2:({children:e})=>`## ${e}`,h3:({children:e})=>`### ${e}`,h4:({children:e})=>`#### ${e}`,h5:({children:e})=>`##### ${e}`,h6:({children:e})=>`###### ${e}`},tK={em:({children:e})=>`_${e}_`,strong:({children:e})=>`**${e}**`,code:({children:e})=>`\`${e}\``,underline:({children:e})=>`<u>${e}</u>`,"strike-through":({children:e})=>`~~${e}~~`,link:({children:e,value:t})=>{let n=t?.href||"",r=t?.title||"";if(function(e){let t=(e||"").trim(),n=t.charAt(0);if("#"===n||"/"===n)return!0;let r=t.indexOf(":");if(-1===r||-1!==["http","https","mailto","tel"].indexOf(t.slice(0,r).toLowerCase()))return!0;let i=t.indexOf("?");if(-1!==i&&r>i)return!0;let o=t.indexOf("#");return -1!==o&&r>o}(n)){if(/["'][^"']*[<>]|[<>][^<>]*["']/.test(n)){let t=n.replace(/["<>() ]/g,e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`);return`[${tV(e)}](${t})`}return`[${tV(e)}](${n}${r?` "${r.replace(/([\\"])/g,"\\$1")}"`:""})`}return e}},tZ=({children:e,value:t,listIndex:n})=>{let r=t.listItem||"bullet",i=t.level||1;return"number"===r?`${"   ".repeat(i-1)}${n??1}. ${e}`:`${"   ".repeat(i-1)}- ${e}`},tX=()=>`  
20`,tJ=({value:e,isInline:t})=>{let n=`\`\`\`json
21${JSON.stringify(e,null,2)}
22\`\`\``;return t?`
23${n}
24`:n},tQ=({children:e})=>e,t0=({children:e})=>`- ${e}
25`,t1=({children:e})=>e??"";function t2(e,t={}){var n,r;let i={block:{...tY,...t.block},listItem:t.listItem??tZ,marks:{...tK,...t.marks},types:{...tW,...t.types},hardBreak:t.hardBreak??tX,unknownType:t.unknownType??tJ,unknownBlockStyle:t.unknownBlockStyle??t1,unknownListItem:t.unknownListItem??t0,unknownMark:t.unknownMark??tQ},o=t.blockSpacing??tq,a=(n=i,r=function(e){let t,n=new Map,r=new Map;for(let i=0;i<e.length;i++){let o=e.at(i);if(void 0===o)continue;if(o._key||(o._key=tB()),!(0,_.zS)({schema:tH},o)||void 0===o.listItem||void 0===o.level){n.clear(),t=void 0;continue}if(!t||t.listItem===o.listItem&&t.level<o.level){let e=n.get(o.listItem)??new Map;e.set(o.level,1),n.set(o.listItem,e),r.set(o._key,1),t={listItem:o.listItem,level:o.level};continue}n.forEach((e,t)=>{if(t===o.listItem)return;let n=[];e.forEach((e,t)=>{t>=o.level&&n.push(t)}),n.forEach(t=>{e.delete(t)})});let a=n.get(o.listItem)??new Map,s=a.get(o.level)??0;a.set(o.level,s+1),n.set(o.listItem,a),r.set(o._key,s+1),t={listItem:o.listItem,level:o.level}}return r}(e),function e(t){var i,o,a,s;let{node:l,index:u,isInline:c}=t;return(0,x.n2)(l)?function(t,i){let o=n.listItem,a=("function"==typeof o?o:o[t.listItem])||n.unknownListItem,s=(0,x.Pq)(t).map((t,n)=>e({node:t,isInline:!0,index:n})).join("");if(t.style&&"normal"!==t.style){let{listItem:n,...r}=t;s=(s=e({node:r,index:i,isInline:!1})).replace(/\n+$/,"")}return a({value:t,index:i,listIndex:t._key?r.get(t._key):void 0,isInline:!1,renderNode:e,children:s})}(l,u):(0,x.tO)(l)?function(t){let{markDef:r,markType:i,markKey:o}=t,a=n.marks[i]||n.unknownMark,s=t.children.map((t,n)=>e({node:t,index:n,isInline:!0}));return a({text:(0,x.fg)(t),value:r,markType:i,markKey:o,renderNode:e,children:s.join("")})}(l):(0,x.IG)(l)?function(t,r,i){let{_key:o,...a}=function(e){let{node:t,index:n,isInline:r,renderNode:i}=e,o=(0,x.Pq)(t).map((e,t)=>i({node:e,isInline:!0,index:t,renderNode:i}));return{_key:t._key||tB(),children:o.join(""),index:n,isInline:r,node:t}}({node:t,index:r,isInline:i,renderNode:e}),s=a.node.style||"normal";return(("function"==typeof n.block?n.block:n.block[s])||n.unknownBlockStyle)({...a,value:a.node,renderNode:e})}(l,u,c):(0,x.YA)(l)?(i=l).text===`
26`?n.hardBreak():i.text:(o=l,a=u,s=c,(n.types[o._type]??n.unknownType)({value:o,isInline:s,index:a,renderNode:e}))});return e.map((t,n)=>{let r=a({node:t,index:n,isInline:!1,renderNode:a});if(n===e.length-1)return r;let i=e.at(n+1);if(!i)return r;let s=o({current:t,next:i})??`
27
28`;return`${r}${s}`}).join("")}let t5={name:"normal"},t3={name:"h1"},t4={name:"h2"},t6={name:"h3"},t9={name:"h4"},t7={name:"h5"},t8={name:"h6"},ne={name:"blockquote"},nt={name:"number"},nn={name:"bullet"},nr={name:"strong"},ni={name:"em"},no={name:"code"},na={name:"strike-through"},ns={name:"link",fields:[{name:"href",type:"string"},{name:"title",type:"string"}]},nl={name:"code",fields:[{name:"language",type:"string"},{name:"code",type:"string"}]}
28,nu={name:"image",fields:[{name:"src",type:"string"},{name:"alt",type:"string"},{name:"title",type:"string"}]},nc={name:"horizontal-rule"},nd={name:"html",fields:[{name:"html",type:"string"}]},nf=(0,_.Fc)((0,_.Jo)({styles:[t5,t3,t4,t6,t9,t7,t8,ne],lists:[nt,nn],decorators:[nr,ni,no,na],annotations:[ns],blockObjects:[nl,nc,nu,nd,{name:"table",fields:[{name:"headerRows",type:"number"},{name:"rows",type:"array"}]}],inlineObjects:[nu]}));function nh(e){return({context:t})=>{let n=t.schema.styles.find(t=>t.name===e.name);if(n)return n.name}}function np(e){return({context:t})=>{let n=t.schema.lists.find(t=>t.name===e.name);if(n)return n.name}}function ng(e){return({context:t})=>{let n=t.schema.decorators.find(t=>t.name===e.name);if(n)return n.name}}function nm(e){return({context:t,value:n,isInline:r})=>{let i=(r?t.schema.inlineObjects:t.schema.blockObjects).find(t=>t.name===e.name);if(!i)return;let o=i.fields.reduce((e,t)=>{let r=n[t.name];return void 0!==r&&(e[t.name]=r),e},{});return{_key:t.keyGenerator(),_type:i.name,...o}}}let ny={block:{normal:nh(t5),blockquote:nh(ne),h1:nh(t3),h2:nh(t4),h3:nh(t6),h4:nh(t9),h5:nh(t7),h6:nh(t8)},listItem:{number:np(nt),bullet:np(nn)},marks:{strong:ng(nr),em:ng(ni),code:ng(no),strikeThrough:ng(na),link:({context:e,value:t})=>{let n=e.schema.annotations.find(e=>e.name===ns.name);if(!n)return;let r=n.fields.reduce((e,n)=>{let r=t[n.name];return void 0!==r&&(e[n.name]=r),e},{});return{_key:e.keyGenerator(),_type:n.name,...r}}},types:{code:({context:e,value:t,isInline:n})=>{let r=nm(nl)({context:e,value:t,isInline:n});if(r&&"code"in r)return r},horizontalRule:nm(nc),html:nm(nd),image:({context:e,value:t,isInline:n})=>{let r=nm(nu)({context:e,value:t,isInline:n});if(r&&"src"in r)return r}}};function nb(e,t){for(let n of e.rows)for(let e of n.cells)for(let n of e.value)t.push(n)}function nv(e,t){let n={schema:t?.schema??nf,keyGenerator:t?.keyGenerator??tB,html:{inline:t?.html?.inline??"skip"},marks:{...ny.marks,...t?.marks},block:{...ny.block,...t?.block},listItem:{...ny.listItem,...t?.listItem},types:{...ny.types,...t?.types}},r=tU({html:!0,linkify:!0,typographer:!0}).enable(["strikethrough","table"]).parse(e,{}),i=[],o=null,a=[],s=[],l=[],u=null,c=!1,d=null,f=null,h=!1,p=e=>{g(),o={_type:"block",style:e,children:[],_key:n.keyGenerator(),markDefs:[]},l=[]},g=()=>{o&&(0===o.children.length&&o.children.push({_type:n.schema.span.name,_key:n.keyGenerator(),text:"",marks:[]}),o.markDefs=l,i.push(o),o=null,l=[])},m=e=>{if(0===e.length)return;if(!o){let e=u??n.block.normal({context:{schema:n.schema}});e?p(e):(console.warn('No default style found, using "normal"'),p("normal"))}if(!o)throw Error("Expected current block");let t=o.children.at(-1);(0,_.bl)({schema:n.schema},t)&&t.marks?.every(e=>s.includes(e))&&s.every(e=>t.marks?.includes(e))?t.text+=e:o.children.push({_type:n.schema.span.name,_key:n.keyGenerator(),text:e,marks:[...s]})},y=e=>{if(!o){let e=u??n.block.normal({context:{schema:n.schema}});e?p(e):(console.warn('No default style found, using "normal"'),p("normal"))}if(!o)throw Error("Expected current block");(o.listItem!==e||o.level!==a.length)&&(o.listItem=e,o.level=a.length)};for(let e of r)switch(e.type){case"paragraph_open":{if(c){if(!o){let e=a.at(-1);e&&y(e)}break}let e=u??n.block.normal({context:{schema:n.schema}});if(!e){console.warn('No default style found, using "normal"'),p("normal");break}p(e);break}case"paragraph_close":if(c)break;g();break;case"heading_open":{let t=Number(e?.tag?.slice(1)),r={1:n.block.h1,2:n.block.h2,3:n.block.h3,4:n.block.h4,5:n.block.h5,6:n.block.h6}[t],i=r?.({context:{schema:n.schema}})??n.block.normal({context:{schema:n.schema}});if(!i){console.warn('No heading style found, using "normal"'),p("normal");break}p(i);break}case"heading_close":g();break;case"blockquote_open":g(),u=n.block.blockquote({context:{schema:n.schema}})??n.block.normal({context:{schema:n.schema}})??"normal";break;case"blockquote_close":g(),u=null;break;case"bullet_list_open":{let e=n.listItem.bullet({context:{schema:n.schema}});if(!e){a.push(null);break}a.push(e);break}case"ordered_list_open":{let e=n.listItem.number({context:{schema:n.schema}});if(!e){a.push(null);break}a.push(e);break}case"bullet_list_close":case"ordered_list_close":a.pop();break;case"list_item_open":{let e=a.at(-1);if(void 0===e)throw Error("Expected an open list");if(o&&g(),null===e){let e=u??n.block.normal({context:{schema:n.schema}});e?p(e):(console.warn('No default style found, using "normal"'),p("normal")),c=!0;break}y(e),c=!0;break}case"list_item_close":c=!1,g();break;case"fence":{g();let t=e.info.trim()||void 0,r=e.content.replace(/\n$/,""),o=n.types.code({context:{schema:n.schema,keyGenerator:n.keyGenerator},value:{language:t,code:r},isInline:!1});if(!o){let e=n.block.normal({context:{schema:n.schema}});e?p(e):(console.warn('No default style found, using "normal"'),p("normal")),m(r),g();break}i.push(o);break}case"hr":{g();let e=n.types.horizontalRule({context:{schema:n.schema,keyGenerator:n.keyGenerator},value:{},isInline:!1});if(!e){let e=n.block.normal({context:{schema:n.schema}});e?p(e):(console.warn('No default style found, using "normal"'),p("normal")),m("---"),g();break}i.push(e);break}case"html_block":{g();let t=e.content.trim();if(!t)break;let r=n.types.html({context:{schema:n.schema,keyGenerator:n.keyGenerator},value:{html:t},isInline:!1});if(!r){let e=n.block.normal({context:{schema:n.schema}});e?p(e):(console.warn('No default style found, using "normal"'),p("normal")),m(t),g();break}i.push(r);break}case"code_block":{g();let t=e.content.replace(/\n$/,""),r=n.types.code({context:{schema:n.schema,keyGenerator:n.keyGenerator},value:{language:void 0,code:t},isInline:!1});if(r)i.push(r);else{let e=n.block.normal({context:{schema:n.schema}});e?p(e):(console.warn('No default style found, using "normal"'),p("normal")),m(t),g()}break}case"table_open":g(),d={rows:[],headerRows:0};break;case"table_close":if(!d)break;if(n.types.table){let e=n.types.table({context:{schema:n.schema,keyGenerator:n.keyGenerator},value:{rows:d.rows,headerRows:d.headerRows>0?d.headerRows:void 0},isInline:!1});e?i.push(e):nb(d,i)}else nb(d,i);d=null;break;case"thead_open":h=!0;break;case"thead_close":h=!1;break;
28case"tbody_open":case"tbody_close":break;case"tr_open":f=[];break;case"tr_close":d&&f&&(d.rows.push({_key:n.keyGenerator(),_type:"row",cells:f}),h&&d.headerRows++),f=null;break;case"th_open":case"td_open":{let e=n.block.normal({context:{schema:n.schema}});e?p(e):(console.warn('No default style found, using "normal"'),p("normal"));break}case"th_close":case"td_close":{g();let e=[];if(i.length>0){let t=i.at(-1);t&&"block"===t._type&&e.push(i.pop())}0===e.length&&e.push({_type:"block",style:n.block.normal({context:{schema:n.schema}})||"normal",children:[{_type:n.schema.span.name,_key:n.keyGenerator(),text:"",marks:[]}],_key:n.keyGenerator(),markDefs:[]});let t=e[0];if(1===e.length&&t&&"block"===t._type&&"children"in t&&Array.isArray(t.children)&&1===t.children.length){let r=t.children[0];"object"==typeof r&&null!==r&&"_type"in r&&r._type!==n.schema.span.name&&"image"===r._type&&(e[0]=r)}null!==f&&f.push({_type:"cell",_key:n.keyGenerator(),value:e});break}case"inline":{let t=null!==f;if(e.children?.length===1&&e.children[0]?.type==="image"){let r=e.children[0];if(!r)break;let s=r.attrs?.find(([e])=>"src"===e)?.at(1)||"",u=tG(r.content||""),d=r.attrs?.find(([e])=>"title"===e)?.at(1)||void 0,f=n.types.image({context:{schema:n.schema,keyGenerator:n.keyGenerator},value:{src:s,alt:u,title:d},isInline:!1});if(f){t?o&&"children"in o&&o.children.push(f):(o&&"children"in o&&o.children.length>0?g():(o=null,l=[]),i.push(f));break}let h=n.types.image({context:{schema:n.schema,keyGenerator:n.keyGenerator},value:{src:s,alt:u,title:d},isInline:!0});if(h){if(!o)if(c){let e=a.at(-1);e&&y(e)}else{let e=n.block.normal({context:{schema:n.schema}});e&&p(e)}o&&"children"in o&&o.children.push(h);break}m(`![${u}](${s})`);break}for(let r of e.children??[])switch(r.type){case"text":m(r.content);break;case"softbreak":case"hardbreak":m(`
29`);break;case"code_inline":{let e=n.marks.code({context:{schema:n.schema}});if(!e){m(r.content);break}s.push(e),m(r.content);let t=s.lastIndexOf(e);-1!==t&&s.splice(t,1);break}case"strong_open":{let e=n.marks.strong({context:{schema:n.schema}});if(!e)break;s.push(e);break}case"strong_close":{let e=n.marks.strong({context:{schema:n.schema}});if(!e)break;let t=s.lastIndexOf(e);-1!==t&&s.splice(t,1);break}case"em_open":{let e=n.marks.em({context:{schema:n.schema}});if(!e)break;s.push(e);break}case"em_close":{let e=n.marks.em({context:{schema:n.schema}});if(!e)break;let t=s.lastIndexOf(e);-1!==t&&s.splice(t,1);break}case"s_open":{let e=n.marks.strikeThrough({context:{schema:n.schema}});if(!e)break;s.push(e);break}case"s_close":{let e=n.marks.strikeThrough({context:{schema:n.schema}});if(!e)break;let t=s.lastIndexOf(e);-1!==t&&s.splice(t,1);break}case"link_open":{let e=r.attrs?.find(([e])=>"href"===e)?.at(1);if(!e)break;let t=r.attrs?.find(([e])=>"title"===e)?.at(1),i=n.marks.link({context:{schema:n.schema,keyGenerator:n.keyGenerator},value:{href:e,title:t}});if(!i)break;l.push(i),s.push(i._key);break}
29case"link_close":{let e,t=new Set(l.map(e=>e._key));for(let n of s.reverse())if(t.has(n)){e=s.indexOf(n);break}if(void 0!==e){let t=s.length-1-e;s.splice(t,1)}break}case"image":{let e=r.attrs?.find(([e])=>"src"===e)?.at(1)||"",a=tG(r.content||""),s=n.types.image({context:{schema:n.schema,keyGenerator:n.keyGenerator},value:{src:e,alt:a,title:void 0},isInline:!0});if(s){if(!o){let e=n.block.normal({context:{schema:n.schema}});e?p(e):(console.warn('No default style found, using "normal"'),p("normal"))}if(!o)throw Error("Expected current block after startBlock");o.children.push(s);break}let l=n.types.image({context:{schema:n.schema,keyGenerator:n.keyGenerator},value:{src:e,alt:a,title:void 0},isInline:!1});if(!l){m(`![${a}](${e})`);break}if(t){o&&"children"in o&&o.children.push(l);break}g(),i.push(l);let u=n.block.normal({context:{schema:n.schema}});u&&p(u);break}case"html_inline":"text"===n.html.inline&&m(r.content)}}}return g(),i}},60933:(e,t,n)=>{var r=n(55563);e.exports=function(e){return null==e?"":r(e)}},61010:(e,t,n)=>{"use strict";n.d(t,{_:()=>h});var r=n(27820),i=n(26900);let o="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;var a=n(70850);let s={};var l=n(86476),u=n(44374),c=n(61920),d=n(58022);function f(e,t){if("event"===t||"transaction"===t)return Array.isArray(e)?e[1]:void 0}function h(e,t=function(e){let t=s[e];if(t)return t;let n=a.j[e];if((0,r.a3)(n))return s[e]=n.bind(a.j);let l=a.j.document;if(l&&"function"==typeof l.createElement)try{let t=l.createElement("iframe");t.hidden=!0,l.head.appendChild(t);let r=t.contentWindow;r&&r[e]&&(n=r[e]),l.head.removeChild(t)}catch(t){o&&i.vF.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,t)}return n?s[e]=n.bind(a.j):n}("fetch")){let n=0,p=0;return function(e,t,n=function(e){let t=[];function n(e){return t.splice(t.indexOf(e),1)[0]||Promise.resolve(void 0)}return{$:t,add:function(r){if(!(void 0===e||t.length<e))return(0,l.xg)(new d.U("Not adding Promise because buffer limit was reached."));let i=r();return -1===t.indexOf(i)&&t.push(i),i.then(()=>n(i)).then(null,()=>n(i).then(null,()=>{})),i},drain:function(e){return new l.T2((n,r)=>{let i=t.length;if(!i)return n(!0);let o=setTimeout(()=>{e&&e>0&&n(!1)},e);t.forEach(e=>{(0,l.XW)(e).then(()=>{--i||(clearTimeout(o),n(!0))},r)})})}}}(e.bufferSize||64)){let r={};return{send:function(o){let a=[];if((0,c.yH)(o,(t,n)=>{let i=(0,c.zk)(n);if(function(e,t,n=Date.now()){return(e[t]||e.all||0)>n}(r,i)){let r=f(t,n);e.recordDroppedEvent("ratelimit_backoff",i,r)}else a.push(t)}),0===a.length)return(0,l.XW)({});let s=(0,c.h4)(o[0],a),h=t=>{(0,c.yH)(s,(n,r)=>{let i=f(n,r);e.recordDroppedEvent(t,(0,c.zk)(r),i)})};return n.add(()=>t({body:(0,c.bN)(s)}).then(e=>(void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&u.T&&i.vF.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),r=function(e,{statusCode:t,headers:n},r=Date.now()){let i={...e},o=n&&n["x-sentry-rate-limits"],a=n&&n["retry-after"];if(o)for(let e of o.trim().split(",")){let[t,n,,,o]=e.split(":",5),a=parseInt(t,10),s=(isNaN(a)?60:a)*1e3;if(n)for(let e of n.split(";"))"metric_bucket"===e?(!o||o.split(";").includes("custom"))&&(i[e]=r+s):i[e]=r+s;else i.all=r+s}else a?i.all=r+function(e,t=Date.now()){let n=parseInt(`${e}`,10);if(!isNaN(n))return 1e3*n;let r=Date.parse(`${e}`);return isNaN(r)?6e4:r-t}(a,r):429===t&&(i.all=r+6e4);return i}(r,e),e),e=>{throw h("network_error"),e})).then(e=>e,e=>{if(e instanceof d.U)return u.T&&i.vF.error("Skipped sending event because buffer is full."),h("queue_overflow"),(0,l.XW)({});throw e})},flush:e=>n.drain(e)}}(e,function(r){let i=r.body.length;n+=i,p++;let o={body:r.body,method:"POST",referrerPolicy:"origin",headers:e.headers,keepalive:n<=6e4&&p<15,...e.fetchOptions};if(!t)return s.fetch=void 0,(0,l.xg)("No fetch implementation available");try{return t(e.url,o).then(e=>(n-=i,p--,{statusCode:e.status,headers:{"x-sentry-rate-limits":e.headers.get("X-Sentry-Rate-Limits"),"retry-after":e.headers.get("Retry-After")}}))}catch(e){return s.fetch=void 0,n-=i,p--,(0,l.xg)(e)}})}},61107:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(12016),i=n(33761),o=n(59847);let a=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t};var s=Object.prototype.hasOwnProperty;let l=function(e){if(!(0,i.A)(e))return a(e);var t=(0,o.A)(e),n=[];for(var r in e)"constructor"==r&&(t||!s.call(e,r))||n.push(r);return n};var u=n(19396);let c=function(e){return(0,u.A)(e)?(0,r.A)(e,!0):l(e)}},61638:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},61670:(e,t,n)=>{var r=n(85933),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return i.call(t,e)?t[e]:void 0}},61920:(e,t,n)=>{"use strict";n.d(t,{Cj:()=>g,W3:()=>l,bN:()=>d,bm:()=>f,h4:()=>s,n2:()=>m,yH:()=>u,zk:()=>p});var r=n(29649),i=n(1942),o=n(2159),a=n(7463);function s(e,t=[]){return[e,t]}function l(e,t){let[n,r]=e;return[n,[...r,t]]}function u(e,t){for(let n of e[1]){let e=n[0].type;if(t(n,e))return!0}return!1}function c(e){return a.O.__SENTRY__&&a.O.__SENTRY__.encodePolyfill?a.O.__SENTRY__.encodePolyfill(e):new TextEncoder().encode(e)}function d(e){let[t,n]=e,r=JSON.stringify(t);function o(e){"string"==typeof r?r="string"==typeof e?r+e:[c(r),e]:r.push("string"==typeof e?c(e):e)}for(let e of n){let[t,n]=e;if(o(`
30${JSON.stringify(t)}
31`),"string"==typeof n||n instanceof Uint8Array)o(n);else{let e;try{e=JSON.stringify(n)}catch(t){e=JSON.stringify((0,i.S8)(n))}o(e)}}return"string"==typeof r?r:function(e){let t=new Uint8Array(e.reduce((e,t)=>
31e+t.length,0)),n=0;for(let r of e)t.set(r,n),n+=r.length;return t}(r)}function f(e){let t="string"==typeof e.data?c(e.data):e.data;return[(0,o.Ce)({type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),t]}let h={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",statsd:"metric_bucket",raw_security:"security"};function p(e){return h[e]}function g(e){if(!e||!e.sdk)return;let{name:t,version:n}=e.sdk;return{name:t,version:n}}function m(e,t,n,i){let a=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date().toISOString(),...t&&{sdk:t},...!!n&&i&&{dsn:(0,r.SB)(i)},...a&&{trace:(0,o.Ce)({...a})}}}},62595:(e,t,n)=>{"use strict";n.d(t,{n:()=>a});var r=n(79619),i=n(77973),o=n(38299);function a(e,t){return(0,r.N)(function(n,r){var a=null!=t?t:{},s=a.leading,l=void 0===s||s,u=a.trailing,c=void 0!==u&&u,d=!1,f=null,h=null,p=!1,g=function(){null==h||h.unsubscribe(),h=null,c&&(b(),p&&r.complete())},m=function(){h=null,p&&r.complete()},y=function(t){return h=(0,o.Tg)(e(t)).subscribe((0,i._)(r,g,m))},b=function(){if(d){d=!1;var e=f;f=null,r.next(e),p||y(e)}};n.subscribe((0,i._)(r,function(e){d=!0,f=e,h&&!h.closed||(l?b():y(e))},function(){p=!0,c&&d&&h&&!h.closed||r.complete()}))})}},62803:(e,t,n)=>{var r=n(84214),i=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():i.call(t,n,1),--this.size,!0)}},63053:(e,t,n)=>{"use strict";let r=n(76277);e.exports=(e,t)=>{let n=r(e,null,!0),i=r(t,null,!0),o=n.compare(i);if(0===o)return null;let a=o>0,s=a?n:i,l=a?i:n,u=!!s.prerelease.length;if(l.prerelease.length&&!u){if(!l.patch&&!l.minor)return"major";if(0===l.compareMain(s))return l.minor&&!l.patch?"minor":"patch"}let c=u?"pre":"";return n.major!==i.major?c+"major":n.minor!==i.minor?c+"minor":n.patch!==i.patch?c+"patch":"prerelease"}},63149:(e,t,n)=>{e.exports=n(40491)(function(e,t,n){e[+!n].push(t)},function(){return[[],[]]})},63462:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(42751),i=n(33761),o=n(38374),a=0/0,s=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt;let d=function(e){if("number"==typeof e)return e;if((0,o.A)(e))return a;if((0,i.A)(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=(0,i.A)(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=(0,r.A)(e);var n=l.test(e);return n||u.test(e)?c(e.slice(2),n?2:8):s.test(e)?a:+e}},63749:(e,t,n)=>{"use strict";n.d(t,{c:()=>i});var r=n(92477);function i(e,t){let n=(0,r.a)(e,t?.in);return n.setSeconds(0,0),n}},63844:(e,t,n)=>{"use strict";n.d(t,{S:()=>i});var r=n(77973);function i(e,t,n,i,o){return function(a,s){var l=n,u=t,c=0;a.subscribe((0,r._)(s,function(t){var n=c++;u=l?e(u,t,n):(l=!0,t),i&&s.next(u)},o&&function(){l&&s.next(u),s.complete()}))}}},63993:(e,t,n)=>{"use strict";n.d(t,{$F:()=>l,PF:()=>s,_M:()=>u,oV:()=>a});var r=n(37758),i=n(55876),o=n(66161);let a=e=>{if(!e.context.selection)return;let t=(0,r.Jo)(e),n=(0,r.aR)(e);if(!t||!n)return;let o=(0,i.iL)({context:e.context,selectionPoint:t}),a=(0,i.iL)({context:e.context,selectionPoint:n});return o&&a?{start:o,end:a}:void 0},s=e=>{let t=(0,r.hH)(e),n=(0,r.aR)(e),a=n&&(0,i.wE)(n.path[2])?n.path[2]._key:void 0;if(!t||!a)return[];let s=!1,l=[];for(let n of t.node.children){if(n._key===a){s=!0;continue}if(!(0,o.bl)(e.context,n)&&s){l.push({node:n,path:[...t.path,"children",{_key:n._key}]});break}}return l},l=e=>{let t=(0,r.hH)(e),n=(0,r.Jo)(e),a=n&&(0,i.wE)(n.path[2])?n.path[2]._key:void 0;if(!t||!a)return[];let s=[];for(let n of t.node.children){if(n._key===a)break;(0,o.bl)(e.context,n)||s.push({node:n,path:[...t.path,"children",{_key:n._key}]})}return s},u=e=>{if(!e.context.selection)return"";let t=(0,i.Jo)(e.context.selection),n=(0,r.gU)({...e,context:{...e.context,selection:{anchor:t,focus:t}}});if(!n)return"";let o=(0,i.u3)({context:e.context,block:n});return(0,r.u0)({...e,context:{...e.context,selection:{anchor:o,focus:t}}})}},64030:(e,t,n)=>{"use strict";n.d(t,{lG:()=>f});var r=n(64985);
31function i(e,t,n,i){let o={filename:e,function:"<anonymous>"===t?r.yF:t,in_app:!0};return void 0!==n&&(o.lineno=n),void 0!==i&&(o.colno=i),o}let o=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,a=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,s=/\((\S*)(?::(\d+))(?::(\d+))\)/,l=[30,e=>{let t=o.exec(e);if(t){let[,e,n,o]=t;return i(e,r.yF,+n,+o)}let n=a.exec(e);if(n){if(n[2]&&0===n[2].indexOf("eval")){let e=s.exec(n[2]);e&&(n[2]=e[1],n[3]=e[2],n[4]=e[3])}let[e,t]=h(n[1]||r.yF,n[2]);return i(t,e,n[3]?+n[3]:void 0,n[4]?+n[4]:void 0)}}],u=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,c=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,d=[50,e=>{let t=u.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){let e=c.exec(t[3]);e&&(t[1]=t[1]||"eval",t[3]=e[1],t[4]=e[2],t[5]="")}let e=t[3],n=t[1]||r.yF;return[n,e]=h(n,e),i(e,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}],f=(0,r.gd)(l,d),h=(e,t)=>{let n=-1!==e.indexOf("safari-extension"),i=-1!==e.indexOf("safari-web-extension");return n||i?[-1!==e.indexOf("@")?e.split("@")[0]:r.yF,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]}},64136:(e,t)=>{"use strict";function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance")}()}function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t,n){return t}t.TS=function(e,t,o){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:i;return function e(t,o,a,l){var u=arguments.length>4&&void 0!==arguments[4]?arguments[4]:i,c=Array.isArray(a)?"array":null===a?"null":r(a);return"object"===c?function(t,r,o,a){var l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:i,u=n(s(t,r,o,a),2),c=u[0],d=u[1];return c?d:Object.keys(o).reduce(function(t,n){return e(t,r,o[n],a.concat(l(o[n],n,o)),l)},d)}(t,o,a,l,u):"array"===c?function(t,r,o,a){var l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:i,u=n(s(t,r,o,a),2),c=u[0],d=u[1];return c?d:o.reduce(function(t,n,i){return e(t,r,n,a.concat(l(n,i,o)),l)},d)}(t,o,a,l,u):n(s(t,o,a,l),2)[1]}(o,t,e,[],a)};var o={_:"SKIP_MARKER"};function a(e){return[o,e]}function s(e,t,n,r){var i=t(e,n,r);return i===a?[!0,e]:Array.isArray(i)&&i[0]===o?[!0,i[1]]:[!1,i]}},64725:(e,t,n)=>{"use strict";var r;n.d(t,{c:()=>c});let i={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function o(e){return (t={})=>{let n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}let a={date:o({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:o({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:o({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},s={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function l(e){return(t,n)=>{let r;if("formatting"===(n?.context?String(n.context):"standalone")&&e.formattingValues){let t=e.defaultFormattingWidth||e.defaultWidth,i=n?.width?String(n.width):t;r=e.formattingValues[i]||e.formattingValues[t]}else{let t=e.defaultWidth,i=n?.width?String(n.width):e.defaultWidth;r=e.values[i]||e.values[t]}return r[e.argumentCallback?e.argumentCallback(t):t]}}function u(e){return(t,n={})=>{let r,i=n.width,o=i&&e.matchPatterns[i]||e.matchPatterns[e.defaultMatchWidth],a=t.match(o);if(!a)return null;let s=a[0],l=i&&e.parsePatterns[i]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(l)?function(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}(l,e=>e.test(s)):function(e,t){for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}(l,e=>e.test(s));return r=e.valueCallback?e.valueCallback(u):u,{value:r=n.valueCallback?n.valueCallback(r):r,rest:t.slice(s.length)}}}let c={code:"en-US",formatDistance:(e,t,n)=>{let r,o=i[e];if(r="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",t.toString()),n?.addSuffix)if(n.comparison&&n.comparison>0)return"in "+r;else return r+" ago";return r},formatLong:a,formatRelative:(e,t,n,r)=>s[e],localize:{ordinalNumber:(e,t)=>{let n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:l({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:l({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:l({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:l({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
31ay","Saturday"]},defaultWidth:"wide"}),dayPeriod:l({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(r={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)},(e,t={})=>{let n=e.match(r.matchPattern);if(!n)return null;let i=n[0],o=e.match(r.parsePattern);if(!o)return null;let a=r.valueCallback?r.valueCallback(o[0]):o[0];return{value:a=t.valueCallback?t.valueCallback(a):a,rest:e.slice(i.length)}}),era:u({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:u({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:u({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:u({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:u({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},64764:e=>{var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},64833:(e,t,n)=>{"use strict";let r=n(79177),i=n(3338);e.exports=(e,t,n)=>{let o=null,a=null,s=null;try{s=new i(t,n)}catch(e){return null}return e.forEach(e=>{s.test(e)&&(!o||-1===a.compare(e))&&(a=new r(o=e,n))}),o}},64985:(e,t,n)=>{"use strict";n.d(t,{RV:()=>d,gd:()=>a,qQ:()=>c,vk:()=>s,yF:()=>r});let r="?",i=/\(error: (.*)\)/,o=/captureMessage|captureException/;function a(...e){let t=e.sort((e,t)=>e[0]-t[0]).map(e=>e[1]);return(e,n=0,a=0)=>{let s=[],u=e.split("\n");for(let e=n;e<u.length;e++){let n=u[e];if(n.length>1024)continue;let r=i.test(n)?n.replace(i,"$1"):n;if(!r.match(/\S*Error: /)){for(let e of t){let t=e(r);if(t){s.push(t);break}}if(s.length>=50+a)break}}var c=s.slice(a);if(!c.length)return[];let d=Array.from(c);return/sentryWrapped/.test(l(d).function||"")&&d.pop(),d.reverse(),o.test(l(d).function||"")&&(d.pop(),o.test(l(d).function||"")&&d.pop()),d.slice(0,50).map(e=>({...e,filename:e.filename||l(d).filename,function:e.function||r}))}}function s(e){return Array.isArray(e)?a(...e):e}function l(e){return e[e.length-1]||{}}let u="<anonymous>";function c(e){try{if(!e||"function"!=typeof e)return u;return e.name||u}catch(e){return u}}function d(e){let t=e.exception;if(t){let e=[];
31try{return t.values.forEach(t=>{t.stacktrace.frames&&e.push(...t.stacktrace.frames)}),e}catch(e){}}}},65184:(e,t,n)=>{"use strict";let r=n(34694);e.exports=(e,t,n)=>r(e,t,"<",n)},65329:(e,t,n)=>{var r=n(8515),i=n(81581);e.exports=function(e){return i(e)&&"[object Arguments]"==r(e)}},65482:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},65537:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});let r=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)};var i=Math.max;let o=function(e,t,n){return t=i(void 0===t?e.length-1:t,0),function(){for(var o=arguments,a=-1,s=i(o.length-t,0),l=Array(s);++a<s;)l[a]=o[t+a];a=-1;for(var u=Array(t+1);++a<t;)u[a]=o[a];return u[t]=n(l),r(e,this,u)}}},65538:(e,t,n)=>{"use strict";var r=n(12115),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=r.useState,a=r.useEffect,s=r.useLayoutEffect,l=r.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i(e,n)}catch(e){return!0}}var c="u"<typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=o({inst:{value:n,getSnapshot:t}}),i=r[0].inst,c=r[1];return s(function(){i.value=n,i.getSnapshot=t,u(i)&&c({inst:i})},[e,n,t]),a(function(){return u(i)&&c({inst:i}),e(function(){u(i)&&c({inst:i})})},[e]),l(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:c},65621:(e,t,n)=>{"use strict";n.d(t,{Bh:()=>s,so:()=>o,wm:()=>a});var r=n(66161),i=n(55876);function o(e){return e.children.map(e=>e.text??"").join("")}function a(e,t){if(!(0,r.zS)(e,t))return!1;let n=t.children.every(t=>(0,r.bl)(e,t)),i=o(t);return n&&""===i}function s({context:e,block:t}){let n=(0,i.Jo)(e.selection),o=(0,i.aR)(e.selection);if(!n||!o)return t;let a=(0,i.XE)(n);if(a!==(0,i.XE)(o)||a!==t._key)return t;let s=(0,i.qX)(n),l=(0,i.qX)(o);if(!s||!l)return t;let u=!1,c=[];for(let i of t.children){if(i._key===s){if(u=!0,(0,r.bl)(e,i)){let e=i._key===l?i.text.slice(n.offset,o.offset):i.text.slice(n.offset);c.push({...i,text:e})}else c.push(i);if(s===l)break;continue}if(i._key===l){(0,r.bl)(e,i)?c.push({...i,text:i.text.slice(0,o.offset)}):c.push(i);break}u&&c.push(i)}return{...t,children:c}}},65672:(e,t,n)=>{"use strict";function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}n.d(t,{A:()=>r})},65681:(e,t,n)=>{"use strict";n.d(t,{e:()=>u,r:()=>d});var r=n(95155),i=n(19749),o=n(91896),a=n(12115),s=n(77928),l=n(32079);function u(e){let t,n,a,s=(0,i.c)(16),{cancelButtonIcon:l,cancelButtonText:u,confirmButtonIcon:d,confirmButtonText:f,message:h,onCancel:p,onConfirm:g,open:m,referenceElement:y,tone:b,placement:v,fallbackPlacements:w}=e,_=void 0===b?"critical":b,x=void 0===v?"top":v;s[0]!==w?(t=void 0===w?["left","bottom"]:w,s[0]=w,s[1]=t):t=s[1];let k=t;return m?(s[2]!==l||s[3]!==u||s[4]!==d||s[5]!==f||s[6]!==h||s[7]!==p||s[8]!==g||s[9]!==_?(n=(0,r.jsx)(c,{cancelButtonIcon:l,cancelButtonText:u,confirmButtonIcon:d,confirmButtonText:f,message:h,onCancel:p,onConfirm:g,tone:_}),s[2]=l,s[3]=u,s[4]=d,s[5]=f,s[6]=h,s[7]=p,s[8]=g,s[9]=_,s[10]=n):n=s[10],s[11]!==k||s[12]!==x||s[13]!==y||s[14]!==n?(a=(0,r.jsx)(o.AM,{content:n,constrainSize:!0,fallbackPlacements:k,open:!0,placement:x,portal:!0,preventOverflow:!0,referenceElement:y}),s[11]=k,s[12]=x,s[13]=y,s[14]=n,s[15]=a):a=s[15],a):null}function c(e){let t,n,l,u,c,d,f,h,p,g,m,y=(0,i.c)(29),{cancelButtonIcon:b,cancelButtonText:v,confirmButtonIcon:w,confirmButtonText:_,message:x,onCancel:k,onConfirm:E,tone:A}=e,{t:S}=(0,s.Bd)(),{isTopLayer:C}=(0,o.Z4)(),O=(0,a.useRef)(null);return y[0]!==C||y[1]!==k?(t=e=>{"Escape"===e.key&&C&&k()},y[0]=C,y[1]=k,y[2]=t):t=y[2],(0,o.Pm)(t),y[3]===Symbol.for("react.memo_cache_sentinel")?(n=()=>[O.current],y[3]=n):n=y[3],(0,o.PR)(C&&k,n),y[4]===Symbol.for("react.memo_cache_sentinel")?(l={minWidth:280,maxWidth:350},y[4]=l):l=y[4],y[5]!==x?(u=(0,r.jsx)(o.az,{flex:1,overflow:"auto",padding:4,children:(0,r.jsx)(o.EY,{size:1,children:x})}),y[5]=x,y[6]=u):u=y[6],y[7]===Symbol.for("react.memo_cache_sentinel")?(c={borderTop:"1px solid var(--card-border-color)"},y[7]=c):c=y[7],y[8]!==v||y[9]!==S?(d=v||S("common.dialog.cancel-button.text"),y[8]=v,y[9]=S,y[10]=d):d=y[10],y[11]!==b||y[12]!==k||y[13]!==d?(f=(0,r.jsx)(o.$n,{"data-testid":"confirm-popover-cancel-button",icon:b,onClick:k,mode:"ghost",padding:2,text:d,size:1}),y[11]=b,y[12]=k,y[13]=d,y[14]=f):f=y[14],y[15]!==_||y[16]!==S?(h=_||S("common.dialog.confirm-button.text"),y[15]=_,y[16]=S,y[17]=h):h=y[17],y[18]!==w||y[19]!==E||y[20]!==h||y[21]!==A?(p=(0,r.jsx)(o.$n,{"data-testid":"confirm-popover-confirm-button",icon:w,onClick:E,padding:2,text:h,tone:A,size:1}),y[18]=w,y[19]=E,y[20]=h,y[21]=A,y[22]=p):p=y[22],y[23]!==f||y[24]!==p?(g=(0,r.jsx)(o.az,{paddingX:4,paddingY:3,style:c,children:(0,r.jsxs)(o.xA,{columns:2,gap:2,children:[f,p]})}),y[23]=f,y[24]=p,y[25]=g):g=y[25],y[26]!==g||y[27]!==u?(m=(0,r.jsxs)(o.so,{direction:"column",ref:O,style:l,children:[u,g]}),y[26]=g,y[27]=u,y[28]=m):m=y[28],m}let d=e=>{let t,n=(0,i.c)(8),{tooltipProps:a}=e;n[0]!==e?(t=(0,r.jsx)(o.rX,{...e,fontSize:1,padding:3}),n[0]=e,n[1]=t):t=n[1];let s=t;if(a){let e,t,i=a?.content;return n[2]!==s?(e=(0,r.jsx)("div",{children:s}),n[2]=s,n[3]=e):e=n[3],n[4]!==i||n[5]!==e||n[6]!==a?(t=(0,r.jsx)(l.m_,{content:i,portal:!0,...a,children:e}),n[4]=i,n[5]=e,n[6]=a,n[7]=t):t=n[7],t}return s}}
31,65698:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(){}},65783:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var r=n(95155),i=n(19749),o=n(27948),a=n(49194),s=n(7866),l=n(12115),u=n(83346);function c(e){let t=function e(t){var n;return!!(n=t)&&("object"==typeof n||"function"==typeof n)&&("reference"===t.name||e(t.type))}(e)&&1===(e.to??[]).length?e.to[0].icon:void 0;return e.icon??e.type?.icon??t}function d(e,t){return{query:"change query"===t.type?t.query:e.query,groups:"select group"===t.type?e.groups.map(e=>({...e,selected:t.name===e.name})):e.groups,views:"toggle view"===t.type?e.views.map(e=>({...e,selected:t.name===e.name})):e.views}}let f="all-items",h={gridTemplateColumns:"repeat(auto-fill, minmax(118px, 1fr))",alignItems:"start"};function p(e){let t,n,u,p,b,v,_,k,E,A,S,C,O,T,D,I,R=(0,i.c)(54),j=void 0===e.showIcons||e.showIcons,N=void 0===e.filter||"auto"===e.filter?e.schemaTypes.length>5:e.filter;R[0]!==e.groups||R[1]!==e.labels?(t=e.groups?[{name:f,title:e.labels["insert-menu.filter.all-items"],selected:!0},...e.groups.map(y)]:[],R[0]=e.groups,R[1]=e.labels,R[2]=t):t=R[2],R[3]!==e.views?(n=e.views??[{name:"list"}],R[3]=e.views,R[4]=n):n=R[4],R[5]!==n?(u=n.map(m),R[5]=n,R[6]=u):u=R[6],R[7]!==t||R[8]!==u?(p={query:"",groups:t,views:u},R[7]=t,R[8]=u,R[9]=p):p=R[9];let[M,F]=(0,l.useReducer)(d,p);if(R[10]!==e||R[11]!==N||R[12]!==j||R[13]!==M.groups||R[14]!==M.query||R[15]!==M.views){var $,L,P;let t,n,i,l=($=e.schemaTypes,L=M.query,P=M.groups,$.filter(e=>{var t,n;let r,i;return t=e,(!(r=P.find(e=>e.selected))||r.name===f||r.of?.includes(t.name))&&(n=e,i=L.trim().toLowerCase(),n.title?n.title?.toLowerCase().includes(i):n.name.includes(i))})),u=M.views.find(g),d=N||M.views.length>1,p=M.groups&&M.groups.length>0,m=d||p;_=a.W1,O=0,v=a.so,A="column",S="fill",R[25]!==m?(t=m?{style:{borderBottom:"1px solid var(--card-border-color)"},paddingBottom:1}:{},R[25]=m,R[26]=t):t=R[26],R[27]!==e.labels||R[28]!==N||R[29]!==d||R[30]!==M.query||R[31]!==M.views?(n=d?(0,r.jsxs)(a.so,{flex:"none",align:"center",paddingTop:1,paddingX:1,gap:1,children:[N?(0,r.jsx)(a.az,{flex:1,children:(0,r.jsx)(a.ks,{autoFocus:!0,border:!1,fontSize:1,icon:o.WIv,onChange:e=>{F({type:"change query",query:e.target.value})},placeholder:e.labels["insert-menu.search.placeholder"],value:M.query})}):null,M.views.length>1?(0,r.jsx)(a.az,{flex:"none",children:(0,r.jsx)(w,{views:M.views,onToggle:e=>{F({type:"toggle view",name:e})},labels:e.labels})}):null]}):null,R[27]=e.labels,R[28]=N,R[29]=d,R[30]=M.query,R[31]=M.views,R[32]=n):n=R[32],R[33]!==p||R[34]!==M.groups?(i=p?(0,r.jsx)(a.az,{paddingTop:1,paddingX:1,children:(0,r.jsx)(a.wb,{space:1,children:M.groups.map(e=>(0,r.jsx)(a.oz,{id:`${e.name}-tab`,"aria-controls":`${e.name}-panel`,label:e.title??(0,s.A)(e.name),selected:e.selected,onClick:()=>{F({type:"select group",name:e.name})}},e.name))})}):null,R[33]=p,R[34]=M.groups,R[35]=i):i=R[35],R[36]!==t||R[37]!==n||R[38]!==i?(C=(0,r.jsxs)(a.az,{...t,children:[n,i]}),R[36]=t,R[37]=n,R[38]=i,R[39]=C):C=R[39],b=a.az,k=1,E=0===l.length?(0,r.jsx)(a.az,{padding:2,children:(0,r.jsx)(a.EY,{muted:!0,size:1,children:e.labels["insert-menu.search.no-results"]})}):u?"grid"===u.name?(0,r.jsx)(a.xA,{autoRows:"auto",flex:1,gap:1,style:h,children:l.map(t=>(0,r.jsx)(x,{icon:j?c(t):void 0,onClick:()=>{e.onSelect(t)},previewImageUrl:u.previewImageUrl?.(t.name),schemaType:t},t.name))}):(0,r.jsx)(a.BJ,{flex:1,space:1,children:l.map(t=>(0,r.jsx)(a.Dr,{icon:j?c(t):void 0,onClick:()=>{e.onSelect(t)},text:t.title??(0,s.A)(t.name)},t.name))}):null,R[10]=e,R[11]=N,R[12]=j,R[13]=M.groups,R[14]=M.query,R[15]=M.views,R[16]=b,R[17]=v,R[18]=_,R[19]=k,R[20]=E,R[21]=A,R[22]=S,R[23]=C,R[24]=O}else b=R[16],v=R[17],_=R[18],k=R[19],E=R[20],A=R[21],S=R[22],C=R[23],O=R[24];return R[40]!==b||R[41]!==k||R[42]!==E?(T=(0,r.jsx)(b,{padding:k,children:E}),R[40]=b,R[41]=k,R[42]=E,R[43]=T):T=R[43],R[44]!==v||R[45]!==T||R[46]!==A||R[47]!==S||R[48]!==C?(D=(0,r.jsxs)(v,{direction:A,height:S,children:[C,T]}),R[44]=v,R[45]=T,R[46]=A,R[47]=S,R[48]=C,R[49]=D):D=R[49],R[50]!==_||R[51]!==D||R[52]!==O?(I=(0,r.jsx)(_,{padding:O,children:D}),R[50]=_,R[51]=D,R[52]=O,R[53]=I):I=R[53],I}function g(e){return e.selected}function m(e,t){return{...e,selected:0===t}}function y(e){return{...e,selected:!1}}let b={grid:o.jxC,list:o.r$9},v={grid:"insert-menu.toggle-grid-view.tooltip",list:"insert-menu.toggle-list-view.tooltip"};function w(e){let t,n,o,s,l=(0,i.c)(11),u=e.views.findIndex(_),c=e.views[u+1]??e.views[0],d=e.labels[v[c.name]];l[0]!==d?(t=(0,r.jsx)(a.EY,{size:1,children:d}),l[0]=d,l[1]=t):t=l[1];let f=b[c.name];return l[2]!==c.name||l[3]!==e?(n=()=>{e.onToggle(c.name)},l[2]=c.name,l[3]=e,l[4]=n):n=l[4],l[5]!==f||l[6]!==n?(o=(0,r.jsx)(a.$n,{mode:"bleed",icon:f,onClick:n}),l[5]=f,l[6]=n,l[7]=o):o=l[7],l[8]!==t||l[9]!==o?(s=(0,r.jsx)(a.m_,{content:t,placement:"top",portal:!0,children:o}),l[8]=t,l[9]=o,l[10]=s):s=l[10],s}function _(e){return e.selected}function x(e){let t,n,o,s,c,d,f,h,p,g=(0,i.c)(19),[m,y]=(0,l.useState)(!1),b=e.icon;g[0]===Symbol.for("react.memo_cache_sentinel")?(t={overflow:"hidden"},g[0]=t):t=g[0],g[1]===Symbol.for("react.memo_cache_sentinel")?(n={backgroundColor:"var(--card-muted-bg-color)",paddingBottom:"66.6%",position:"relative"},g[1]=n):n=g[1],g[2]!==b?(o=(0,u.isValidElementType)(b)?(0,r.jsx)(a.so,{align:"center",justify:"center",style:{position:"absolute",top:0,left:0,width:"100%",height:"100%"},children:(0,r.jsx)(a.EY,{size:1,children:(0,r.jsx)(b,{})})}):null,g[2]=b,g[3]=o):o=g[3],g[4]!==m||g[5]!==e.previewImageUrl?(s=!e.previewImageUrl||m?null:(0,r.jsx)("img",{src:e.previewImageUrl,style:{objectFit:"contain",width:"100%",height:"100%",position:"absolute",inset:0},onError:()=>{y(!0)}}),g[4]=m,g[5]=e.previewImageUrl,g[6]=s):s=g[6],g[7]===Symbol.for("react.memo_cache_sentinel")?(c=(0,r.jsx)("div",{style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",boxShadow:"inset 0 0 0 0.5px var(--card-fg-color)",opacity:.1}}),g[7]=c):c=g[7],g[8]!==o||g[9]!==s?(d=(0,r.jsxs)(a.az,{flex:"none",style:n,children:[o,s,c]}
31),g[8]=o,g[9]=s,g[10]=d):d=g[10];let v=e.schemaType.title??e.schemaType.name;return g[11]!==v?(f=(0,r.jsx)(a.az,{flex:"none",paddingX:2,paddingY:1,children:(0,r.jsx)(a.EY,{size:1,weight:"medium",children:v})}),g[11]=v,g[12]=f):f=g[12],g[13]!==d||g[14]!==f?(h=(0,r.jsxs)(a.so,{direction:"column",gap:1,padding:1,children:[d,f]}),g[13]=d,g[14]=f,g[15]=h):h=g[15],g[16]!==e.onClick||g[17]!==h?(p=(0,r.jsx)(a.Dr,{padding:0,radius:2,onClick:e.onClick,style:t,children:h}),g[16]=e.onClick,g[17]=h,g[18]=p):p=g[18],p}},66144:(e,t,n)=>{"use strict";let r=n(79177),i=n(3338),o=n(60209);e.exports=(e,t)=>{e=new i(e,t);let n=new r("0.0.0");if(e.test(n)||(n=new r("0.0.0-0"),e.test(n)))return n;n=null;for(let t=0;t<e.set.length;++t){let i=e.set[t],a=null;i.forEach(e=>{let t=new r(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":(!a||o(t,a))&&(a=t);break;case"<":case"<=":break;default:throw Error(`Unexpected operation: ${e.operator}`)}}),a&&(!n||o(n,a))&&(n=a)}return n&&e.test(n)?n:null}},66161:(e,t,n)=>{"use strict";function r(e){let t=(e.styles??[]).map(e=>({...e,value:e.name})),n=[];if(e.block?.fields)for(let t of e.block.fields){if("_type"===t.name||"_key"===t.name||"children"===t.name||"markDefs"===t.name||"style"===t.name||"listItem"===t.name||"level"===t.name){console.warn(`"${t.name}" is a reserved field name on Portable Text blocks`);continue}n.push(t)}return{block:{name:e.block?.name??"block",...n.length>0?{fields:n}:{}},span:{name:"span"},styles:t.some(e=>"normal"===e.value)?t:[{value:"normal",name:"normal",title:"Normal"},...t],lists:(e.lists??[]).map(e=>({...e,value:e.name})),decorators:(e.decorators??[]).map(e=>({...e,value:e.name})),annotations:(e.annotations??[]).map(e=>({...e,fields:e.fields??[]})),blockObjects:(e.blockObjects??[]).map(e=>({...e,fields:e.fields??[]})),inlineObjects:(e.inlineObjects??[]).map(e=>({...e,fields:e.fields??[]}))}}function i(e){return e}function o(e){var t;return!!(t=e)&&("object"==typeof t||"function"==typeof t)&&"string"==typeof e._type}function a(e,t){return!(!o(t)||t._type!==e.schema.block.name||!Array.isArray(t.children))}function s(e,t){return!(!o(t)||t._type!==e.schema.span.name||"string"!=typeof t.text)}n.d(t,{Fc:()=>r,Jo:()=>i,bl:()=>s,zS:()=>a})},66190:e=>{function t(e,t,n,r){return Math.round(e/n)+" "+r+(t>=1.5*n?"s":"")}
31e.exports=function(e,n){n=n||{};var r,i,o,a,s=typeof e;if("string"===s&&e.length>0){var l=e;if(!((l=String(l)).length>100)){var u=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(l);if(u){var c=parseFloat(u[1]);switch((u[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*c;case"weeks":case"week":case"w":return 6048e5*c;case"days":case"day":case"d":return 864e5*c;case"hours":case"hour":case"hrs":case"hr":case"h":return 36e5*c;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*c;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*c;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:break}}}return}if("number"===s&&isFinite(e)){return n.long?(i=Math.abs(r=e))>=864e5?t(r,i,864e5,"day"):i>=36e5?t(r,i,36e5,"hour"):i>=6e4?t(r,i,6e4,"minute"):i>=1e3?t(r,i,1e3,"second"):r+" ms":(a=Math.abs(o=e))>=864e5?Math.round(o/864e5)+"d":a>=36e5?Math.round(o/36e5)+"h":a>=6e4?Math.round(o/6e4)+"m":a>=1e3?Math.round(o/1e3)+"s":o+"ms"}throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},66215:(e,t,n)=>{"use strict";let r=n(53941);e.exports=(e,t,n)=>r(t,e,n)},66234:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r="object"==typeof global&&global&&global.Object===Object&&global},66485:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(e,t){return e.has(t)}},66567:(e,t,n)=>{"use strict";n.d(t,{B:()=>o});var r=n(79619),i=n(77973);function o(){return(0,r.N)(function(e,t){var n=null;e._refCount++;var r=(0,i._)(t,void 0,void 0,void 0,function(){if(!e||e._refCount<=0||0<--e._refCount){n=null;return}var r=e._connection,i=n;n=null,r&&(!i||r===i)&&r.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}},66692:(e,t,n)=>{var r=n(45732),i=n(91123),o=n(55726);e.exports=function(e){var t=i(e);return 1==t.length&&t[0][2]?o(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},66702:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(35821),i=n(15643);let o=function(e,t){return e&&e.length?(0,i.A)(e,(0,r.A)(t,2)):[]}},67127:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});let r=function(e,t,n,r){var i=-1,o=null==e?0:e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n};var i=n(55168),o=n(33566),a=RegExp("['’]","g");let s=function(e){return function(t){return r((0,o.A)((0,i.A)(t).replace(a,"")),e,"")}}},67151:e=>{"use strict";class t{constructor(){this.max=1e3,this.map=new Map}get(e){let t=this.map.get(e);if(void 0!==t)return this.map.delete(e),this.map.set(e,t),t}delete(e){return this.map.delete(e)}set(e,t){if(!this.delete(e)&&void 0!==t){if(this.map.size>=this.max){let e=this.map.keys().next().value;this.delete(e)}this.map.set(e,t)}return this}}e.exports=t},67231:(e,t,n)=>{e.exports="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g},67242:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(16318);let i=function(e,t){return(0,r.A)(e,t)}},67433:(e,t,n)=>{"use strict";n.d(t,{p:()=>c});var r=n(65132),i=n(53196),o=n(38299),a=n(36171),s=n(77973),l=n(66687),u=n(5661);function c(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=(0,a.ms)(e),c=(0,i.D)(e),d=c.args,f=c.keys,h=new r.c(function(e){var t=d.length;if(!t)return void e.complete();for(var n=Array(t),r=t,i=t,a=function(t){var a=!1;(0,o.Tg)(d[t]).subscribe((0,s._)(e,function(e){!a&&(a=!0,i--),n[t]=e},function(){return r--},void 0,function(){r&&a||(i||e.next(f?(0,u.e)(f,n):n),e.complete())}))},l=0;l<t;l++)a(l)});return n?h.pipe((0,l.I)(n)):h}},67592:(e,t,n)=>{e.exports=n(54727)({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"})},67903:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(95749),i=n(77494);let o=function(e){return(0,i.A)(e)&&"[object Arguments]"==(0,r.A)(e)};var a=Object.prototype,s=a.hasOwnProperty,l=a.propertyIsEnumerable;let u=o(function(){return arguments}())?o:function(e){return(0,i.A)(e)&&s.call(e,"callee")&&!l.call(e,"callee")}}
31,68004:(e,t,n)=>{"use strict";n.d(t,{K_:()=>u,OX:()=>c,SP:()=>o,Sx:()=>p});var r=n(99929);let i=new WeakMap;function o(e){return{config:e,start:(t,n)=>{let{self:r,system:o,emit:a}=n,s={receivers:void 0,dispose:void 0};i.set(r,s),s.dispose=e({input:t.input,system:o,self:r,sendBack:e=>{"stopped"!==r.getSnapshot().status&&r._parent&&o._relay(r,r._parent,e)},receive:e=>{s.receivers??=new Set,s.receivers.add(e)},emit:a})},transition:(e,t,n)=>{let o=i.get(n.self);return t.type===r.X?(e={...e,status:"stopped",error:void 0},i.delete(n.self),o.receivers?.clear(),o.dispose?.()):o.receivers?.forEach(e=>e(t)),e},getInitialSnapshot:(e,t)=>({status:"active",output:void 0,error:void 0,input:t}),getPersistedSnapshot:e=>e,restoreSnapshot:e=>e}}let a="xstate.observable.next",s="xstate.observable.error",l="xstate.observable.complete";function u(e){return{config:e,transition:(e,t)=>{if("active"!==e.status)return e;switch(t.type){case a:return{...e,context:t.data};case s:return{...e,status:"error",error:t.data,input:void 0,_subscription:void 0};case l:return{...e,status:"done",input:void 0,_subscription:void 0};case r.X:return e._subscription.unsubscribe(),{...e,status:"stopped",input:void 0,_subscription:void 0};default:return e}},getInitialSnapshot:(e,t)=>({status:"active",output:void 0,error:void 0,context:void 0,input:t,_subscription:void 0}),start:(t,{self:n,system:r,emit:i})=>{"done"!==t.status&&(t._subscription=e({input:t.input,system:r,self:n,emit:i}).subscribe({next:e=>{r._relay(n,n,{type:a,data:e})},error:e=>{r._relay(n,n,{type:s,data:e})},complete:()=>{r._relay(n,n,{type:l})}}))},getPersistedSnapshot:({_subscription:e,...t})=>t,restoreSnapshot:e=>({...e,_subscription:void 0})}}function c(e){return{config:e,transition:(e,t)=>{if("active"!==e.status)return e;switch(t.type){case s:return{...e,status:"error",error:t.data,input:void 0,_subscription:void 0};case l:return{...e,status:"done",input:void 0,_subscription:void 0};case r.X:return e._subscription.unsubscribe(),{...e,status:"stopped",input:void 0,_subscription:void 0};default:return e}},getInitialSnapshot:(e,t)=>({status:"active",output:void 0,error:void 0,context:void 0,input:t,_subscription:void 0}),start:(t,{self:n,system:r,emit:i})=>{"done"!==t.status&&(t._subscription=e({input:t.input,system:r,self:n,emit:i}).subscribe({next:e=>{n._parent&&r._relay(n,n._parent,e)},error:e=>{r._relay(n,n,{type:s,data:e})},complete:()=>{r._relay(n,n,{type:l})}}))},getPersistedSnapshot:({_subscription:e,...t})=>t,restoreSnapshot:e=>({...e,_subscription:void 0})}}let d="xstate.promise.resolve",f="xstate.promise.reject",h=new WeakMap;function p(e){return{config:e,transition:(e,t,n)=>{if("active"!==e.status)return e;switch(t.type){case d:{let n=t.data;return{...e,status:"done",output:n,input:void 0}}case f:return{...e,status:"error",error:t.data,input:void 0};case r.X:return h.get(n.self)?.abort(),h.delete(n.self),{...e,status:"stopped",input:void 0};default:return e}},start:(t,{self:n,system:r,emit:i})=>{if("active"!==t.status)return;let o=new AbortController;h.set(n,o),Promise.resolve(e({input:t.input,system:r,self:n,signal:o.signal,emit:i})).then(e=>{"active"===n.getSnapshot().status&&(h.delete(n),r._relay(n,n,{type:d,data:e}))},e=>{"active"===n.getSnapshot().status&&(h.delete(n),r._relay(n,n,{type:f,data:e}))})},getInitialSnapshot:(e,t)=>({status:"active",output:void 0,error:void 0,input:t}),getPersistedSnapshot:e=>e,restoreSnapshot:e=>e}}},68409:(e,t,n)=>{e.exports=window.DOMPurify||(window.DOMPurify=n(48125).default||n(48125))},68585:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(54106),i=n(60287);let o=(0,n(6594).A)(function(e,t){return null==e?{}:(0,r.A)(e,t,function(t,n){return(0,i.A)(e,n)})})},68649:(e,t,n)=>{var r=n(73384),i=n(59587);e.exports=function(e,t){var n=i(e,t);return r(n)?n:void 0}},69232:e=>{e.exports=function(e,t){return e.has(t)}},69356:(e,t,n)=>{"use strict";n.d(t,{J:()=>i});var r=n(41964);function i(e,t,n){return(0,r.f)(e,7*t,n)}},69687:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=Function.prototype.toString;let i=function(e){if(null!=e){try{return r.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},69730:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];
31n&&(e=o(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return i.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=o(t,n));return t}(n)))}return e}function o(e,t){return t?e?e+" "+t:e+t:e}e.exports?(i.default=i,e.exports=i):void 0===(n=(function(){return i}).apply(t,[]))||(e.exports=n)}()},70015:(e,t,n)=>{"use strict";n.d(t,{L:()=>l});var r=n(79619),i=n(77973),o=n(10336),a=n(31562),s=n(38299);function l(e){void 0===e&&(e=1/0);var t=e&&"object"==typeof e?e:{count:e},n=t.count,l=void 0===n?1/0:n,u=t.delay,c=t.resetOnSuccess,d=void 0!==c&&c;return l<=0?o.D:(0,r.N)(function(e,t){var n,r=0,o=function(){var c=!1;n=e.subscribe((0,i._)(t,function(e){d&&(r=0),t.next(e)},void 0,function(e){if(r++<l){var d=function(){n?(n.unsubscribe(),n=null,o()):c=!0};if(null!=u){var f="number"==typeof u?(0,a.O)(u):(0,s.Tg)(u(e,r)),h=(0,i._)(t,function(){h.unsubscribe(),d()},function(){t.complete()});f.subscribe(h)}else d()}else t.error(e)})),c&&(n.unsubscribe(),n=null,o())};o()})}},70061:(e,t,n)=>{"use strict";n.d(t,{x:()=>i});var r=n(91993);function i(e,...t){let n=r.w.bind(null,e||t.find(e=>"object"==typeof e));return t.map(n)}},70194:(e,t,n)=>{var r=n(98354),i=n(87481);e.exports=function(e,t){return e&&r(e,t,i)}},70521:(e,t,n)=>{"use strict";n.d(t,{QG:()=>s,xj:()=>E});var r=n(37758),i=n(35653),o=n(95155),a=n(19749);function s(e){return({snapshot:t,event:n})=>{let i=e.decorators({context:{schema:t.context.schema}}),o=t.context.schema.decorators.flatMap(e=>i.includes(e.name)?[]:[e.name]);if(0===o.length)return!0;let a=n.matches.flatMap(e=>(0,r.l$)({...t,context:{...t.context,selection:e.selection}})),s=!1;for(let e of o)if((0,r.Y1)(e)(t)||a.some(t=>t.node.marks?.includes(e))){s=!0;break}return!s}}let l=(0,i.pE)({on:/--/,transform:()=>"—"}),u=(0,i.pE)({on:/\.\.\./,transform:()=>"…"}),c=(0,i.pE)({on:RegExp(`(?:^|(?<=[\\s{[(<'"\\u2018\\u201C]))"`,"g"),transform:()=>"“"}),d=(0,i.pE)({on:/"/g,transform:()=>"”"}),f=(0,i.pE)({on:RegExp(`(?:^|(?<=[\\s{[(<'"\\u2018\\u201C]))'`,"g"),transform:()=>"‘"}),h=(0,i.pE)({on:/'/g,transform:()=>"’"}),p=(0,i.pE)({on:/<-/,transform:()=>"←"}),g=(0,i.pE)({on:/->/,transform:()=>"→"}),m=(0,i.pE)({on:/\(c\)/,transform:()=>"\xa9"}),y=(0,i.pE)({on:/\(sm\)/,transform:()=>"℠"}),b=(0,i.pE)({on:/\(tm\)/,transform:()=>"™"}),v=(0,i.pE)({on:/\(r\)/,transform:()=>"\xae"}),w=(0,i.pE)({on:/(?:^|\s)(1\/2)\s/,transform:()=>"\xbd"}),_=(0,i.pE)({on:/\+\/-/,transform:()=>"\xb1"}),x=(0,i.pE)({on:/!=/,transform:()=>"≠"}),k=[{name:"emDash",rule:l,state:"on"},{name:"ellipsis",rule:u,state:"on"},{name:"openingDoubleQuote",rule:c,state:"on"},{name:"closingDoubleQuote",rule:d,state:"on"},{name:"openingSingleQuote",rule:f,state:"on"},{name:"closingSingleQuote",rule:h,state:"on"},{name:"leftArrow",rule:p,state:"on"},{name:"rightArrow",rule:g,state:"on"},{name:"copyright",rule:m,state:"on"},{name:"trademark",rule:b,state:"on"},{name:"servicemark",rule:y,state:"on"},{name:"registeredTrademark",rule:v,state:"on"},{name:"oneHalf",rule:w,state:"off"},{name:"plusMinus",rule:_,state:"off"},{name:"laquo",rule:(0,i.pE)({on:/<</,transform:()=>"\xab"}),state:"off"},{name:"notEqual",rule:x,state:"off"},{name:"raquo",rule:(0,i.pE)({on:/>>/,transform:()=>"\xbb"}),state:"off"},{name:"multiplication",rule:(0,i.pE)({on:/\d+\s?([*x])\s?\d+/,transform:()=>"\xd7"}),state:"off"},{name:"superscriptTwo",rule:(0,i.pE)({on:/\^2/,transform:()=>"\xb2"}),state:"off"},{name:"superscriptThree",rule:(0,i.pE)({on:/\^3/,transform:()=>"\xb3"}),state:"off"},{name:"oneQuarter",rule:(0,i.pE)({on:/(?:^|\s)(1\/4)\s/,transform:()=>"\xbc"}),state:"off"},{name:"threeQuarters",rule:(0,i.pE)({on:/(?:^|\s)(3\/4)\s/,transform:()=>"\xbe"}),state:"off"}];function E(e){let t,n,r,s,l,u=(0,a.c)(13),{preset:c,enable:d,disable:f,guard:h}=e,p=void 0===c?"default":c;u[0]!==d?(t=void 0===d?[]:d,u[0]=d,u[1]=t):t=u[1];let g=t;u[2]!==f?(n=void 0===f?[]:f,u[2]=f,u[3]=n):n=u[3];let m=n;if(u[4]!==m||u[5]!==g||u[6]!==p){if(r=new Set,"all"===p)for(let e of k)r.add(e.name);else if("default"===p)for(let e of k)"on"===e.state&&r.add(e.name);for(let e of g)r.add(e);for(let e of m)r.delete(e);u[4]=m,u[5]=g,u[6]=p,u[7]=r}else r=u[7];u[8]!==r||u[9]!==h?(s=k.flatMap(e=>r.has(e.name)?[{...e.rule,guard:h??A}
31]:[]),u[8]=r,u[9]=h,u[10]=s):s=u[10];let y=s;return u[11]!==y?(l=(0,o.jsx)(i.wS,{rules:y}),u[11]=y,u[12]=l):l=u[12],l}function A(){return!0}},70638:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(12016),i=n(37846),o=n(19396);let a=function(e){return(0,o.A)(e)?(0,r.A)(e):(0,i.A)(e)}},70678:(e,t,n)=>{"use strict";n.d(t,{NA:()=>ez,Lh:()=>eB,KV:()=>eU});var r={};n.r(r),n.d(r,{boolean:()=>c,booleanish:()=>d,commaOrSpaceSeparated:()=>m,commaSeparated:()=>g,number:()=>h,overloadedBoolean:()=>f,spaceSeparated:()=>p});var i=n(95155);class o{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function a(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new o(n,r,t)}function s(e){return e.toLowerCase()}o.prototype.normal={},o.prototype.property={},o.prototype.space=void 0;class l{constructor(e,t){this.attribute=t,this.property=e}}l.prototype.attribute="",l.prototype.booleanish=!1,l.prototype.boolean=!1,l.prototype.commaOrSpaceSeparated=!1,l.prototype.commaSeparated=!1,l.prototype.defined=!1,l.prototype.mustUseProperty=!1,l.prototype.number=!1,l.prototype.overloadedBoolean=!1,l.prototype.property="",l.prototype.spaceSeparated=!1,l.prototype.space=void 0;let u=0,c=y(),d=y(),f=y(),h=y(),p=y(),g=y(),m=y();function y(){return 2**++u}let b=Object.keys(r);class v extends l{constructor(e,t,n,i){let o=-1;if(super(e,t),function(e,t,n){n&&(e[t]=n)}(this,"space",i),"number"==typeof n)for(;++o<b.length;){const e=b[o];!function(e,t,n){n&&(e[t]=n)}(this,b[o],(n&r[e])===r[e])}}}function w(e){let t={},n={};for(let[r,i]of Object.entries(e.properties)){let o=new v(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),t[r]=o,n[s(r)]=r,n[s(o.attribute)]=r}return new o(t,n,e.space)}v.prototype.defined=!0;let _=w({properties:{ariaActiveDescendant:null,ariaAtomic:d,ariaAutoComplete:null,ariaBusy:d,ariaChecked:d,ariaColCount:h,ariaColIndex:h,ariaColSpan:h,ariaControls:p,ariaCurrent:null,ariaDescribedBy:p,ariaDetails:null,ariaDisabled:d,ariaDropEffect:p,ariaErrorMessage:null,ariaExpanded:d,ariaFlowTo:p,ariaGrabbed:d,ariaHasPopup:null,ariaHidden:d,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:p,ariaLevel:h,ariaLive:null,ariaModal:d,ariaMultiLine:d,ariaMultiSelectable:d,ariaOrientation:null,ariaOwns:p,ariaPlaceholder:null,ariaPosInSet:h,ariaPressed:d,ariaReadOnly:d,ariaRelevant:null,ariaRequired:d,ariaRoleDescription:p,ariaRowCount:h,ariaRowIndex:h,ariaRowSpan:h,ariaSelected:d,ariaSetSize:h,ariaSort:null,ariaValueMax:h,ariaValueMin:h,ariaValueNow:h,ariaValueText:null,role:null},transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function x(e,t){return t in e?e[t]:t}function k(e,t){return x(e,t.toLowerCase())}let E=w({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:g,acceptCharset:p,accessKey:p,action:null,allow:null,allowFullScreen:c,allowPaymentRequest:c,allowUserMedia:c,alt:null,as:null,async:c,autoCapitalize:null,autoComplete:p,autoFocus:c,autoPlay:c,blocking:p,capture:null,charSet:null,checked:c,cite:null,className:p,cols:h,colSpan:null,content:null,contentEditable:d,controls:c,controlsList:p,coords:h|g,crossOrigin:null,data:null,dateTime:null,decoding:null,default:c,defer:c,dir:null,dirName:null,disabled:c,download:f,draggable:d,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:c,formTarget:null,headers:p,height:h,hidden:f,high:h,href:null,hrefLang:null,htmlFor:p,httpEquiv:p,id:null,imageSizes:null,imageSrcSet:null,inert:c,inputMode:null,integrity:null,is:null,isMap:c,itemId:null,itemProp:p,itemRef:p,itemScope:c,itemType:p,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:c,low:h,manifest:null,max:null,maxLength:h,media:null,method:null,min:null,minLength:h,multiple:c,muted:c,name:null,nonce:null,noModule:c,noValidate:c,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:c,optimum:h,pattern:null,ping:p,placeholder:null,playsInl
31ine:c,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:c,referrerPolicy:null,rel:p,required:c,reversed:c,rows:h,rowSpan:h,sandbox:p,scope:null,scoped:c,seamless:c,selected:c,shadowRootClonable:c,shadowRootDelegatesFocus:c,shadowRootMode:null,shape:null,size:h,sizes:null,slot:null,span:h,spellCheck:d,src:null,srcDoc:null,srcLang:null,srcSet:null,start:h,step:null,style:null,tabIndex:h,target:null,title:null,translate:null,type:null,typeMustMatch:c,useMap:null,value:d,width:h,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:p,axis:null,background:null,bgColor:null,border:h,borderColor:null,bottomMargin:h,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:c,declare:c,event:null,face:null,frame:null,frameBorder:null,hSpace:h,leftMargin:h,link:null,longDesc:null,lowSrc:null,marginHeight:h,marginWidth:h,noResize:c,noHref:c,noShade:c,noWrap:c,object:null,profile:null,prompt:null,rev:null,rightMargin:h,rules:null,scheme:null,scrolling:d,standby:null,summary:null,text:null,topMargin:h,valueType:null,version:null,vAlign:null,vLink:null,vSpace:h,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:c,disableRemotePlayback:c,prefix:null,property:null,results:h,security:null,unselectable:null},space:"html",transform:k}),A=w({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav
31-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:m,accentHeight:h,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:h,amplitude:h,arabicForm:null,ascent:h,attributeName:null,attributeType:null,azimuth:h,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:h,by:null,calcMode:null,capHeight:h,className:p,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:h,diffuseConstant:h,direction:null,display:null,dur:null,divisor:h,dominantBaseline:null,download:c,dx:null,dy:null,edgeMode:null,editable:null,elevation:h,enableBackground:null,end:null,event:null,exponent:h,externalResourcesRequired:null,fill:null,fillOpacity:h,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:g,g2:g,glyphName:g,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:h,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:h,horizOriginX:h,horizOriginY:h,id:null,ideographic:h,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:h,k:h,k1:h,k2:h,k3:h,k4:h,kernelMatrix:m,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:h,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:h,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,on
31Zoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:h,overlineThickness:h,paintOrder:null,panose1:null,path:null,pathLength:h,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:p,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:h,pointsAtY:h,pointsAtZ:h,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:m,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:m,rev:m,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:m,requiredFeatures:m,requiredFonts:m,requiredFormats:m,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:h,specularExponent:h,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:h,strikethroughThickness:h,string:null,stroke:null,strokeDashArray:m,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:h,strokeOpacity:h,strokeWidth:null,style:null,surfaceScale:h,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:m,tabIndex:h,tableValues:null,target:null,targetX:h,targetY:h,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:m,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:h,underlineThickness:h,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:h,values:null,vAlphabetic:h,vMathematical:h,vectorEffect:null,vHanging:h,vIdeographic:h,version:null,vertAdvY:h,vertOriginX:h,vertOriginY:h,viewB
31ox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:h,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:x}),S=w({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase()}),C=w({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:k}),O=w({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),T=a([_,E,S,C,O],"html"),D=a([_,A,S,C,O],"svg");function I(e){let t=[],n=String(e||""),r=n.indexOf(","),i=0,o=!1;for(;!o;){-1===r&&(r=n.length,o=!0);let e=n.slice(i,r).trim();(e||!o)&&t.push(e),i=r+1,r=n.indexOf(",",i)}return t}let R=/[#.]/g,j=/[A-Z]/g,N=/-[a-z]/g,M=/^data[-\w.:]+$/i;function F(e){return"-"+e.toLowerCase()}function $(e){return e.charAt(1).toUpperCase()}function L(e){let t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function P(e,t,n){let r=n?function(e){let t=new Map;for(let n of e)t.set(n.toLowerCase(),n);return t}(n):void 0;return function(n,i,...o){let a;if(null==n)a={type:"root",children:[]},o.unshift(i);else{let u=(a=function(e,t){let n,r,i=e||"",o={},a=0;for(;a<i.length;){R.lastIndex=a;let e=R.exec(i),t=i.slice(a,e?e.index:i.length);t&&(n?"#"===n?o.id=t:Array.isArray(o.className)?o.className.push(t):o.className=[t]:r=t,a+=t.length),e&&(n=e[0],a++)}return{type:"element",tagName:r||t||"div",properties:o,children:[]}}(n,t)).tagName.toLowerCase(),c=r?r.get(u):void 0;if(a.tagName=c||u,function(e){if(null===e||"object"!=typeof e||Array.isArray(e))return!0;if("string"!=typeof e.type)return!1;for(let t of Object.keys(e)){let n=e[t];if(n&&"object"==typeof n){if(!Array.isArray(n))return!0;for(let e of n)if("number"!=typeof e&&"string"!=typeof e)return!0}}return!!("children"in e&&Array.isArray(e.children))}(i))o.unshift(i);else for(let[t,n]of Object.entries(i))!function(e,t,n,r){let i,o=function(e,t){let n=s(t),r=t,i=l;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&M.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(N,$);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!N.test(e)){let n=e.replace(j,F);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}i=v}return new i(r,t)}(e,n);if(null!=r){if("number"==typeof r){if(Number.isNaN(r))return;i=r}else i="boolean"==typeof r?r:"string"==typeof r?o.spaceSeparated?L(r):o.commaSeparated?I(r):o.commaOrSpaceSeparated?L(I(r).join(" ")):z(o,o.property,r):Array.isArray(r)?[...r]:"style"===o.property?function(e){let t=[];for(let[n,r]of Object.entries(e))t.push([n,r].join(": "));return t.join("; ")}(r):String(r);if(Array.isArray(i)){let e=[];for(let t of i)e.push(z(o,o.property,t));i=e}"className"===o.property&&Array.isArray(t.className)&&(i=t.className.concat(i)),t[o.property]=i}}(e,a.properties,t,n)}for(let e of o)!function e(t,n){if(null==n);else if("number"==typeof n||"string"==typeof n)t.push({type:"text",value:String(n)});else if(Array.isArray(n))for(let r of n)e(t,r);else if("object"==typeof n&&"type"in n)"root"===n.type?e(t,n.children):t.push(n);else throw Error("Expected node, nodes, or string, got `"+n+"`")}(a.children,e);return"element"===a.type&&"template"===a.tagName&&(a.content={type:"root",children:a.children},a.children=[]),a}}function z(e,t,n){if("string"==typeof n){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(""===n||s(n)===s(t)))return!0}return n}let U=P(T,"div");P(D,"g",["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"]);let B=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslas
31h","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],H={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"};function q(e){let t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}function V(e){let t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}function G(e){let t;return(t="string"==typeof e?e.charCodeAt(0):e)>=97&&t<=122||t>=65&&t<=90||q(e)}let W=document.createElement("i");function Y(e){let t="&"+e+";";W.innerHTML=t;let n=W.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}let K=["","Named character references must be terminated by a semicolon","Numeric character references must be terminated by a semicolon","Named character references cannot be empty","Numeric character references cannot be empty","Named character references must be known","Numeric character references cannot be disallowed","Numeric character references cannot be outside the permissible Unicode range"];var Z=0,X={},J={util:{type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++Z}),e.__id},clone:function e(t,n){var r,i;switch(n=n||{},J.util.type(t)){case"Object":if(n[i=J.util.objId(t)])return n[i];for(var o in r={},n[i]=r,t)t.hasOwnProperty(o)&&(r[o]=e(t[o],n));return r;case"Array":if(n[i=J.util.objId(t)])return n[i];return r=[],n[i]=r,t.forEach(function(t,i){r[i]=e(t,n)}),r;default:return t}}},languages:{plain:X,plaintext:X,text:X,txt:X,extend:function(e,t){var n=J.util.clone(J.languages[e]);for(var r in t)n[r]=t[r];return n},insertBefore:function(e,t,n,r){var i=(r=r||J.languages)[e],o={};for(var a in i)if(i.hasOwnProperty(a)){if(a==t)for(var s in n)n.hasOwnProperty(s)&&(o[s]=n[s]);n.hasOwnProperty(a)||(o[a]=i[a])}var l=r[e];return r[e]=o,J.languages.DFS(J.languages,function(t,n){n===l&&t!=e&&(this[t]=o)}),o},DFS:function e(t,n,r,i){i=i||{};var o=J.util.objId;for(var a in t)if(t.hasOwnProperty(a)){n.call(t,a,t[a],r||a);var s=t[a],l=J.util.type(s);"Object"!==l||i[o(s)]?"Array"!==l||i[o(s)]||(i[o(s)]=!0,e(s,n,a,i)):(i[o(s)]=!0,e(s,n,null,i))}}},plugins:{},highlight:function(e,t,n){var r={code:e,grammar:t,language:n};if(J.hooks.run("before-tokenize",r),!r.grammar)throw Error('The language "'+r.language+'" has no grammar.');return r.tokens=J.tokenize(r.code,r.grammar),J.hooks.run("after-tokenize",r),Q.stringify(J.util.encode(r.tokens),r.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var i=new et;return en(i,i.head,e),function e(t,n,r,i,o,a){for(var s in r)if(r.hasOwnProperty(s)&&r[s]){var l=r[s];l=Array.isArray(l)?l:[l];for(var u=0;u<l.length;++u){if(a&&a.cause==s+","+u)return;var c=l[u],d=c.inside,f=!!c.lookbehind,h=!!c.greedy,p=c.alias;if(h&&!c.pattern.global){var g=c.pattern.toString().match(/[imsuy]*$/)[0];c.pattern=RegExp(c.pattern.source,g+"g")}for(var m=c.pattern||c,y=i.next,b=o;y!==n.tail&&(!a||!(b>=a.reach));b+=y.value.length,y=y.next){var v,w=y.value;if(n.length>t.length)return;if(!(w instanceof Q)){var _=1;if(h){if(!(v=ee(m,b,t,f))||v.index>=t.length)break;var x=v.index,k=v.index+v[0].length,E=b;for(E+=y.value.length;x>=E;)E+=(y=y.next).value.length;if(E-=y.value.length,b=E,y.value instanceof Q)continue;for(var A=y;A!==n.tail&&(E<k||"string"==typeof A.value);A=A.next)_++,E+=A.value.length;_--,w=t.slice(b,E),v.index-=b}else if(!(v=ee(m,0,w,f)))continue;var x=v.index,S=v[0],C=w.slice(0,x),O=w.slice(x+S.length),T=b+w.length;a&&T>a.reach&&(a.reach=T);var D=y.prev;if(C&&(D=en(n,D,C),b+=C.length),function(e,t,n){for(var r=t.next,i=0;i<n&&r!==e.tail;i++)r=r.next;t.next=r,r.prev=t,e.length-=i}(n,D,_),y=en(n,D,new Q(s,d?J.tokenize(S,d):S,p,S)),O&&en(n,y,O),_>1){var I={cause:s+","+u,reach:T};e(t,n,r,y.prev,b,I),a&&I.reach>a.reach&&(a.reach=I.reach)}}}}}}(e,i,t,i.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(i)},hooks:{all:{},add:function(e,t){var n=J.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=J.hooks.all[e];if(n&&n.length)for(var r,i=0;r=n[i++];)r(t)}},Token:Q};function Q(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function ee(e,t,n,r){e.lastIndex=t;var i=e.exec(n);if(i&&r&&i[1]){var o=i[1].length;i.index+=o,i[0]=i[0].slice(o)}return i}function et(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}
31function en(e,t,n){var r=t.next,i={value:n,prev:t,next:r};return t.next=i,r.prev=i,e.length++,i}function er(){}er.prototype=J;let ei=new er;ei.highlight=function(e,t){let n,r;if("string"!=typeof e)throw TypeError("Expected `string` for `value`, got `"+e+"`");if(t&&"object"==typeof t)n=t;else{if("string"!=typeof(r=t))throw TypeError("Expected `string` for `name`, got `"+r+"`");if(Object.hasOwn(ei.languages,r))n=ei.languages[r];else throw Error("Unknown language: `"+r+"` is not registered")}return{type:"root",children:J.highlight.call(ei,e,n,r)}},ei.register=function(e){if("function"!=typeof e||!e.displayName)throw Error("Expected `function` for `syntax`, got `"+e+"`");Object.hasOwn(ei.languages,e.displayName)||e(ei)},ei.alias=function(e,t){let n,r=ei.languages,i={};for(n in"string"==typeof e?t&&(i[e]=t):i=e,i)if(Object.hasOwn(i,n)){let e=i[n],t="string"==typeof e?[e]:e,o=-1;for(;++o<t.length;)r[t[o]]=r[n]}},ei.registered=function(e){if("string"!=typeof e)throw TypeError("Expected `string` for `aliasOrLanguage`, got `"+e+"`");return Object.hasOwn(ei.languages,e)},ei.listLanguages=function(){let e,t=ei.languages,n=[];for(e in t)Object.hasOwn(t,e)&&"object"==typeof t[e]&&n.push(e);return n},ei.util.encode=function(e){return e},ei.Token.stringify=function e(t,n){if("string"==typeof t)return{type:"text",value:t};if(Array.isArray(t)){let r=[],i=-1;for(;++i<t.length;)null!==t[i]&&void 0!==t[i]&&""!==t[i]&&r.push(e(t[i],n));return r}let r={attributes:{},classes:["token",t.type],content:e(t.content,n),language:n,tag:"span",type:t.type};return t.alias&&r.classes.push(..."string"==typeof t.alias?[t.alias]:t.alias),ei.hooks.run("wrap",r),U(r.tag+"."+r.classes.join("."),function(e){let t;for(t in e)Object.hasOwn(e,t)&&(e[t]=function(e,t){let n,r,i,o={},a="string"==typeof o.additional?o.additional.charCodeAt(0):o.additional,s=[],l=0,u=-1,c="";o.position&&("start"in o.position||"indent"in o.position?(r=o.position.indent,n=o.position.start):n=o.position);let d=(n?n.line:0)||1,f=(n?n.column:0)||1,h=m();for(l--;++l<=e.length;)if(10===i&&(f=(r?r[u]:0)||1),38===(i=e.charCodeAt(l))){let t,n=e.charCodeAt(l+1);if(9===n||10===n||12===n||32===n||38===n||60===n||Number.isNaN(n)||a&&n===a){c+=String.fromCharCode(i),f++;continue}let r=l+1,u=r,d=r;if(35===n){d=++u;let n=e.charCodeAt(d);88===n||120===n?(t="hexadecimal",d=++u):t="decimal"}else t="named";let v="",w="",_="",x="named"===t?G:"decimal"===t?q:V;for(d--;++d<=e.length;){let n=e.charCodeAt(d);if(!x(n))break;_+=String.fromCharCode(n),"named"===t&&B.includes(_)&&(v=_,w=Y(_))}let k=59===e.charCodeAt(d);if(k){d++;let e="named"===t&&Y(_);e&&(v=_,w=e)}let E=1+d-r,A="";if(k||!1!==o.nonTerminated)if(_)if("named"===t){if(k&&!w)y(5,1);else if(v!==_&&(E=1+(d=u+v.length)-u,k=!1),!k){let t=v?1:3;if(o.attribute){let n=e.charCodeAt(d);61===n?(y(t,E),w=""):G(n)?w="":y(t,E)}else y(t,E)}A=w}else{var p,g;k||y(2,E);let e=Number.parseInt(_,"hexadecimal"===t?16:10);if((p=e)>=55296&&p<=57343||p>1114111)y(7,E),A=String.fromCharCode(65533);else if(e in H)y(6,E),A=H[e];else{let t="";((g=e)>=1&&g<=8||11===g||g>=13&&g<=31||g>=127&&g<=159||g>=64976&&g<=65007||(65535&g)==65535||(65535&g)==65534)&&y(6,E),e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10|55296),e=56320|1023&e),A=t+String.fromCharCode(e)}}else"named"!==t&&y(4,E);if(A){b(),h=m(),l=d-1,f+=d-r+1,s.push(A);let t=m();t.offset++,o.reference&&o.reference.call(o.referenceContext||void 0,A,{start:h,end:t},e.slice(r-1,d)),h=t}else _=e.slice(r-1,d),c+=_,f+=_.length,l=d-1}else 10===i&&(d++,u++,f=0),Number.isNaN(i)?b():(c+=String.fromCharCode(i),f++);return s.join("");function m(){return{line:d,column:f,offset:l+((n?n.offset:0)||0)}}function y(e,t){let n;o.warning&&(n=m(),n.column+=t,n.offset+=t,o.warning.call(o.warningContext||void 0,K[e],n,e))}function b(){c&&(s.push(c),o.text&&o.text.call(o.textContext||void 0,c,{start:h,end:m()}),c="")}}(e[t]));return e}(r.attributes),r.content)};let eo=function(e){var t,n;if(null==e)return es;if("function"==typeof e)return ea(e);if("object"==typeof e){return Array.isArray(e)?function(e){let t=[],n=-1;for(;++n<e.length;)t[n]=eo(e[n]);return ea(function(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1})}(e):(t=e,ea(function(e){let n;for(n in t)if(e[n]!==t[n])return!1;return!0}))}if("string"==typeof e){return n=e,ea(function(e){return e&&e.type===n})}throw Error("Expected function, string, or object as test")};function ea(e){return function(t,n,r){return!!(function(e){return null!==e&&"object"==typeof e&&"type"in e}(t)&&e.call(this,t,"number"==typeof n?n:void 0,r||void 0))}}function es(){return!0}let el={}.hasOwnProperty,eu=[];function ec(e,t,n,r){let i;"function"==typeof t&&"function"!=typeof n?(r=n,n=t):i=t;let o=eo(i),a=r?-1:1;(function e(i,s,l){let u=i&&"object"==typeof i?i:{};if("string"==typeof u.type){let e="string"==typeof u.tagName?u.tagName:"string"==typeof u.name?u.name:void 0;Object.defineProperty(c,"name",{value:"node ("+i.type+(e?"<"+e+">":"")+")"})}return c;function c(){var u;
31let c,d,f,h=eu;if((!t||o(i,s,l[l.length-1]||void 0))&&!1===(h=Array.isArray(u=n(i,l))?u:"number"==typeof u?[!0,u]:null==u?eu:[u])[0])return h;if("children"in i&&i.children&&i.children&&"skip"!==h[0])for(d=(r?i.children.length:-1)+a,f=l.concat(i);d>-1&&d<i.children.length;){if(!1===(c=e(i.children[d],d,f)())[0])return c;d="number"==typeof c[1]?c[1]:d+a}return h}})(e,void 0,[])()}var ed=n(12115),ef=Object.defineProperty,eh=Object.defineProperties,ep=Object.getOwnPropertyDescriptors,eg=Object.getOwnPropertySymbols,em=Object.prototype.hasOwnProperty,ey=Object.prototype.propertyIsEnumerable,eb=(e,t,n)=>t in e?ef(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ev=(e,t)=>{for(var n in t||(t={}))em.call(t,n)&&eb(e,n,t[n]);if(eg)for(var n of eg(t))ey.call(t,n)&&eb(e,n,t[n]);return e};function ew(e){return"element"===e.type||"text"===e.type}function e_(e,t=1){return e.data&&"number"==typeof e.data.lineStart?e.data.lineStart:t}function ex(e,t=1){return e.data&&"number"==typeof e.data.lineEnd?e.data.lineEnd:t}function ek(e,t,n){return e.data||(e.data={}),e.data.lineStart=t,e.data.lineEnd=n,e}var eE=Object.defineProperty,eA=Object.defineProperties,eS=Object.getOwnPropertyDescriptors,eC=Object.getOwnPropertySymbols,eO=Object.prototype.hasOwnProperty,eT=Object.prototype.propertyIsEnumerable,eD=(e,t,n)=>t in e?eE(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,eI=(e,t)=>{for(var n in t||(t={}))eO.call(t,n)&&eD(e,n,t[n]);if(eC)for(var n of eC(t))eT.call(t,n)&&eD(e,n,t[n]);return e},eR=Object.defineProperty,ej=Object.defineProperties,eN=Object.getOwnPropertyDescriptors,eM=Object.getOwnPropertySymbols,eF=Object.prototype.hasOwnProperty,e$=Object.prototype.propertyIsEnumerable,eL=(e,t,n)=>t in e?eR(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,eP=(e,t)=>{for(var n in t||(t={}))eF.call(t,n)&&eL(e,n,t[n]);if(eM)for(var n of eM(t))e$.call(t,n)&&eL(e,n,t[n]);return e};function ez(e){var t,n;let r,o,a=e.className||"refractor",s=`language-${e.language}`,l={className:s},u=[a,s].filter(Boolean).join(" ");if(e.inline&&(l.style={display:"inline"},l.className=a),e.plainText){let t=(0,i.jsx)("code",ej(eP({},l),eN({children:e.value})));return e.inline?t:(0,i.jsx)("pre",{className:u,children:t})}let c=ei.highlight(e.value,e.language);e.markers&&e.markers.length>0&&(t=c,r=(n={markers:e.markers}).markers.map(e=>"number"==typeof e?{line:e}:e).sort((e,t)=>e.line-t.line),o=function e(t,n={lineNumber:1}){return t.reduce((t,r)=>{if("doctype"===r.type)return t;let i=n.lineNumber;if("text"===r.type){if(-1===r.value.indexOf(`
32`))return ek(r,i,i),t.nodes.push(r),t;let e=r.value.split(`
33`);for(let r=0;r<e.length;r++){let i=0===r?n.lineNumber:++n.lineNumber,o=ek({type:"text",value:r===e.length-1?e[r]:`${e[r]}
34`},i,i);t.nodes.push(o)}return t.lineNumber=n.lineNumber,t}if("element"===r.type&&r.children){let o=e(r.children,n),a=o.nodes.find(ew),s=o.nodes.findLast(ew);return ek(r,a?e_(a,i):i,s?ex(s,i):i),r.children=o.nodes,t.lineNumber=o.lineNumber,t.nodes.push(r),t}return t.nodes.push(r),t},{nodes:[],lineNumber:n.lineNumber})}(t.children).nodes,c=0===r.length||0===o.length?eh(ev({},t),ep({children:o})):function(e,t,n){let r=t.reduce((e,t)=>(function(e,t){var n;let r,i,o,a={type:"root",children:t},s=new WeakMap,l=new WeakMap,u=new WeakMap,c=[];function d(e,t,n){c.push(t),n.forEach(t=>{e.has(t)||(e.set(t,Object.assign({},t,{children:[]})),t!==a&&c.push(t))});let r=n.length;for(;r--;){let i=e.get(n[r]);if(!i||!("children"in i))continue;let o=n[r+1],a=e.get(o)||t;-1===i.children.indexOf(a)&&i.children.push(a)}}ec(a,(t,n)=>{if(!("children"in t||!ew(t))){if(e_(t)<e)return void d(s,t,n);if(e_(t)===e)return void d(l,t,n);ex(t)>e&&c.some(e=>n.includes(e))&&d(u,t,n)}});let f=(r=eo(n=e=>-1===c.indexOf(e)),o=(i=void 0,true),function e(t,n,i){var a;let s,l=[];if(!r(t,n,i))return;if("children"in(a=t)&&void 0!==a.children){let n=-1;for(;++n<t.children.length;){let r=e(t.children[n],n,t);r&&l.push(r)}if(o&&t.children.length>0&&0===l.length)return}let u={};for(s in t)el.call(t,s)&&(u[s]="children"===s?l:t[s]);return u}(a)),h=e=>{let t=e.get(a);return t?(ec(t,(e,t)=>{ew(e)&&"children"in e?ek(e,0,0):t.forEach(t=>{ek(t,Math.max(e_(t),e_(e)),Math.max(ex(t),ex(e)))})}),t.children):[]};return[...h(s),...h(l),...h(u),...f?f.children:[]]})(t.line,e),e),i=[],o=0;for(let e=0;e<t.length;e++){let a=t[e];for(let e=r[o];e&&ex(e)<a.line;e=r[++o])i.push(e);let s=[];for(let e=r[o];e&&ex(e)===a.line;e=r[++o])"doctype"!==e.type&&s.push(e);s.length>0&&i.push(function(e,t,n){let r=t.className||"refractor-marker",i={lineStart:t.line,lineEnd:ex(e[e.length-1]),isMarker:!0};return{type:"element",tagName:"div",data:t.component?eh(ev({},i),ep({component:t.component,markerProperties:n})):i,properties:{className:r},children:e}}(s,a,n))}for(;o<r.length;)i.push(r[o++]);return{type:"root",children:i}}(o,r,n));let d=0===c.children.length?e.value:c.children.map(function e(t){return function(n,r){return function(t,n,r){var i;if("doctype"===t.type)return null;if(!("tagName"in t))return t.value;let o="";"u">typeof t.properties&&(o=Array.isArray(t.properties.className)?t.properties.className.join(" "):`${t.properties.className}`);let a=`fract-${r}-${n}`,s=t.children&&t.children.map(e(r+1));return"object"==typeof(i=t.data)&&null!==i&&"component"in i&&"markerProperties"in i?(0,ed.createElement)(t.data.component,eA(eI(eI({key:a},t.properties),t.data.markerProperties),eS({className:o})),s):(0,ed.createElement)(t.tagName,{key:a,className:o},s)}(n,r,t)}}(0)),f=(0,i.jsx)("code",ej(eP({},l),eN({children:d})));return e.inline?f:(0,i.jsx)("pre",{className:u,children:f})}let eU=e=>ei.register(e),eB=e=>ei.registered(e)},70722:(e,t,n)=>{"use strict";n.d(t,{G:()=>i});var r=n(92477);function i(e){let t=(0,r.a)(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),e-n}},70850:(e,t,n)=>{"use strict";n.d(t,{j:()=>r});let r=n(7463).O}
34,70998:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(78480);let i=function(e,t,n){var i=e.length;return n=void 0===n?i:n,!t&&n>=i?e:(0,r.A)(e,t,n)}},71027:(e,t,n)=>{"use strict";n.d(t,{q:()=>h});var r=n(34090),i=n(98258),o=n(97561),a=n(55633),s=n(33751),l=n(10028),u=n(16975),c=n(8676);let d={current:[],added:[],removed:[]},f=[];function h(e,t=(e,t)=>e===t){return n=>{let h=n.pipe((0,r.u)()),g=h.pipe((0,i.S)((e,n)=>{let r=n.filter(n=>!e.current.find(e=>t(e,n))),i=e.current.filter(e=>!n.find(n=>t(n,e)));return{current:n,added:p(r,t),removed:p(i,t)}},d)).pipe((0,r.u)(),(0,o.p)(e=>e.added.length>0||e.removed.length>0)),m=g.pipe((0,a.Z)(e=>e.removed)),y=g.pipe((0,a.Z)(e=>e.added)),b=h.pipe((0,o.p)(e=>0===e.length),(0,u.T)(()=>f)),v=y.pipe((0,a.Z)(n=>{let i=m.pipe((0,o.p)(e=>t(e,n))).pipe((0,r.u)());return(0,s.h)(i.pipe((0,u.T)(()=>({type:"remove",element:n}))),e(n).pipe((0,l.Q)(i),(0,u.T)(e=>({type:"emit",element:n,projected:e}))))}),(0,c.E)(h),(0,i.S)((e,[n,r])=>r.flatMap(r=>t(r,n.element)?"remove"===n.type?[]:{item:r,emitted:!0,value:n.projected}:e.find(e=>e&&t(e.item,r))),[]),(0,o.p)(e=>e.every(e=>null==e?void 0:e.emitted)),(0,u.T)(e=>e.map(e=>e.value)));return(0,s.h)(b,v)}}function p(e,t){let n=[],r=!1;for(let i of e)n.find(e=>t(e,i))?r=!0:n.push(i);return r?n:e}},71070:(e,t,n)=>{var r=n(92410);e.exports=function(e,t,n,i){return r(e,function(e,r,o){t(i,e,n(e),o)}),i}},71097:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(51603).A.isFinite;let i=function(e){return"number"==typeof e&&r(e)}},71144:(e,t,n)=>{var r=n(27998),i=n(97119),o=n(2952);function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}a.prototype.add=a.prototype.push=i,a.prototype.has=o,e.exports=a},71182:(e,t,n)=>{"use strict";n.d(t,{GR:()=>s,Y4:()=>l,lv:()=>a});var r=n(55876),i=n(66161);function o({context:e,blockOffset:t,direction:n}){return(0,r.m4)({context:e,blockOffset:t,direction:n})||function({context:e,blockOffset:t}){let n;for(let r of e.value)if(r._key===t.path[0]._key){n={path:[{_key:r._key}],offset:t.offset};break}return n}({context:e,blockOffset:t})}function a({context:e,offsets:t,backward:n}){let r=o({context:e,blockOffset:t.anchor,direction:n?"backward":"forward"}),i=o({context:e,blockOffset:t.focus,direction:n?"forward":"backward"});return r&&i?{anchor:r,focus:i,backward:n}:null}function s({context:e,selectionPoint:t}){let n=0,o=(0,r.XE)(t),a=(0,r.qX)(t);if(!(!o||!a)){for(let r of e.value)if(r._key===o&&(0,i.zS)(e,r))for(let o of r.children){if(o._key===a)return{path:[{_key:r._key}],offset:n+t.offset};(0,i.bl)(e,o)&&(n+=o.text.length)}}}function l({context:e,targetBlock:t,incomingBlock:n}){let o=(0,r.rT)({context:e,block:n,options:{normalize:!1,removeUnusedMarkDefs:!0,validateFields:!1}});return o&&(0,i.zS)(e,o)?{...t,children:[...t.children,...o.children],markDefs:[...t.markDefs??[],...o.markDefs??[]]}:t}},71351:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=Math.ceil,i=Math.max;let o=function(e,t,n,o){for(var a=-1,s=i(r((t-e)/(n||1)),0),l=Array(s);s--;)l[o?s:++a]=e,e+=n;return l};var a=n(41418),s=n(60024);let l=function(e,t,n){return n&&"number"!=typeof n&&(0,a.A)(e,t,n)&&(t=n=void 0),e=(0,s.A)(e),void 0===t?(t=e,e=0):t=(0,s.A)(t),n=void 0===n?e<t?1:-1:(0,s.A)(n),o(e,t,n,void 0)}},71365:(e,t,n)=>{"use strict";n.d(t,{A:()=>k});var r,i=n(46710);let o=function(){};function a(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}a.prototype=(0,i.A)(o.prototype),a.prototype.constructor=a;var s=n(6594),l=n(16283),u=l.A&&new l.A,c=n(65698),d=u?function(e){return u.get(e)}:c.A;let f={};var h=Object.prototype.hasOwnProperty;let p=function(e){for(var t=e.name+"",n=f[t],r=h.call(f,t)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==e)return i.name}return t};var g=n(92459);function m(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=0xffffffff,this.__views__=[]}m.prototype=(0,i.A)(o.prototype),m.prototype.constructor=m;var y=n(77494),b=n(41783);let v=function(e){if(e instanceof m)return e.clone();var t=new a(e.__wrapped__,e.__chain__);return t.__actions__=(0,b.A)(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t};var w=Object.prototype.hasOwnProperty;function _(e){if((0,y.A)(e)&&!(0,g.A)(e)&&!(e instanceof m)){if(e instanceof a)return e;if(w.call(e,"__wrapped__"))return v(e)}return new a(e)}_.prototype=o.prototype,_.prototype.constructor=_;let x=function(e){var t=p(e),n=_[t];if("function"!=typeof n||!(t in m.prototype))return!1;if(e===n)return!0;var r=d(n);return!!r&&e===r[0]},k=(0,s.A)(function(e){var t=e.length,n=t,i=a.prototype.thru;for(r&&e.reverse();n--;){var o=e[n];if("function"!=typeof o)throw TypeError("Expected a function");if(i&&!s&&"wrapper"==p(o))var s=new a([],!0)}for(n=s?n:t;++n<t;){var l=p(o=e[n]),u="wrapper"==l?d(o):void 0;s=u&&x(u[0])&&424==u[1]&&!u[4].length&&1==u[9]?s[p(u[0])].apply(s,u[3]):1==o.length&&x(o)?s[l]():s.thru(o)}return function(){var n=arguments,r=n[0];
34if(s&&1==n.length&&(0,g.A)(r))return s.plant(r).value();for(var i=0,o=t?e[i].apply(this,n):r;++i<t;)o=e[i].call(this,o);return o}})},71394:(e,t,n)=>{"use strict";let r;n.d(t,{Ck:()=>G,IN:()=>T,fK:()=>H,rH:()=>z,zB:()=>D});class i{t;o=0;i=[];u(e){if(e.hadRecentInput)return;let t=this.i[0],n=this.i.at(-1);this.o&&t&&n&&e.startTime-n.startTime<1e3&&e.startTime-t.startTime<5e3?(this.o+=e.value,this.i.push(e)):(this.o=e.value,this.i=[e]),this.t?.(e)}}let o=()=>{let e=performance.getEntriesByType("navigation")[0];if(e&&e.responseStart>0&&e.responseStart<performance.now())return e},a=e=>{if("loading"===document.readyState)return"loading";{let t=o();if(t){if(e<t.domInteractive)return"loading";if(0===t.domContentLoadedEventStart||e<t.domContentLoadedEventStart)return"dom-interactive";if(0===t.domComplete||e<t.domComplete)return"dom-content-loaded"}}return"complete"},s=e=>{let t=e.nodeName;return 1===e.nodeType?t.toLowerCase():t.toUpperCase().replace(/^#/,"")},l=e=>{let t="";try{for(;9!==e?.nodeType;){let n=e,r=n.id?"#"+n.id:[s(n),...Array.from(n.classList).sort()].join(".");if(t.length+r.length>99)return t||r;if(t=t?r+">"+t:r,n.id)break;e=n.parentNode}}catch{}return t},u=new WeakMap;function c(e,t){return u.get(e)||u.set(e,new t),u.get(e)}let d=-1,f=e=>{addEventListener("pageshow",t=>{t.persisted&&(d=t.timeStamp,e(t))},!0)},h=(e,t,n,r)=>{let i,o;return a=>{let s;t.value>=0&&(a||r)&&((o=t.value-(i??0))||void 0===i)&&(i=t.value,t.delta=o,s=t.value,t.rating=s>n[1]?"poor":s>n[0]?"needs-improvement":"good",e(t))}},p=e=>{requestAnimationFrame(()=>requestAnimationFrame(()=>e()))},g=()=>{let e=o();return e?.activationStart??0},m=(e,t=-1)=>{let n=o(),r="navigate";return d>=0?r="back-forward-cache":n&&(document.prerendering||g()>0?r="prerender":document.wasDiscarded?r="restore":n.type&&(r=n.type.replace(/_/g,"-"))),{name:e,value:t,rating:"good",delta:0,entries:[],id:`v5-${Date.now()}-${Math.floor(0x82f79cd8fff*Math.random())+1e12}`,navigationType:r}},y=(e,t,n={})=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){let r=new PerformanceObserver(e=>{Promise.resolve().then(()=>{t(e.getEntries())})});return r.observe({type:e,buffered:!0,...n}),r}}catch{}},b=e=>{let t=!1;return()=>{t||(e(),t=!0)}},v=-1,w=new Set,_=()=>"hidden"!==document.visibilityState||document.prerendering?1/0:0,x=e=>{if("hidden"===document.visibilityState){if("visibilitychange"===e.type)for(let e of w)e();isFinite(v)||(v="visibilitychange"===e.type?e.timeStamp:0,removeEventListener("prerenderingchange",x,!0))}},k=()=>{if(v<0){let e=g();v=(document.prerendering?void 0:globalThis.performance.getEntriesByType("visibility-state").filter(t=>"hidden"===t.name&&t.startTime>e)[0]?.startTime)??_(),addEventListener("visibilitychange",x,!0),addEventListener("prerenderingchange",x,!0),f(()=>{setTimeout(()=>{v=_()})})}return{get firstHiddenTime(){return v},onHidden(e){w.add(e)}}},E=e=>{document.prerendering?addEventListener("prerenderingchange",()=>e(),!0):e()},A=[1800,3e3],S=(e,t={})=>{E(()=>{let n=k(),r,i=m("FCP"),o=y("paint",e=>{for(let t of e)"first-contentful-paint"===t.name&&(o.disconnect(),t.startTime<n.firstHiddenTime&&(i.value=Math.max(t.startTime-g(),0),i.entries.push(t),r(!0)))});o&&(r=h(e,i,A,t.reportAllChanges),f(n=>{r=h(e,i=m("FCP"),A,t.reportAllChanges),p(()=>{i.value=performance.now()-n.timeStamp,r(!0)})}))})},C=[.1,.25],O=e=>e.find(e=>1===e.node?.nodeType)||e[0],T=(e,t={})=>{let n=c(t=Object.assign({},t),i),r=new WeakMap;n.t=e=>{if(e?.sources?.length){let n=O(e.sources),i=n?.node;if(i){let e=t.generateTarget?.(i)??l(i);r.set(n,e)}}},((e,t={})=>{let n=k();S(b(()=>{let r,o=m("CLS",0),a=c(t,i),s=e=>{for(let t of e)a.u(t);a.o>o.value&&(o.value=a.o,o.entries=a.i,r())},l=y("layout-shift",s);l&&(r=h(e,o,C,t.reportAllChanges),n.onHidden(()=>{s(l.takeRecords()),r(!0)}),f(()=>{a.o=0,r=h(e,o=m("CLS",0),C,t.reportAllChanges),p(()=>r())}),setTimeout(r))}))})(t=>{e((e=>{let t={};if(e.entries.length){let n=e.entries.reduce((e,t)=>e.value>t.value?e:t);if(n?.sources?.length){let e=O(n.sources);e&&(t={largestShiftTarget:r.get(e),largestShiftTime:n.startTime,largestShiftValue:n.value,largestShiftSource:e,largestShiftEntry:n,loadState:a(n.startTime)})}}return Object.assign(e,{attribution:t})})(t))},t)},D=(e,t={})=>{S(t=>{e((e=>{let t={timeToFirstByte:0,firstByteToFCP:e.value,loadState:a(d)};if(e.entries.length){let n=o(),r=e.entries.at(-1);if(n){let i=n.activationStart||0,o=Math.max(0,n.responseStart-i);t={timeToFirstByte:o,firstByteToFCP:e.value-o,loadState:a(e.entries[0].startTime),navigationEntry:n,fcpEntry:r}}}return Object.assign(e,{attribution:t})})(t))},t)},I=0,R=1/0,j=0,N=e=>{for(let t of e)t.interactionId&&(R=Math.min(R,t.interactionId),I=(j=Math.max(j,t.interactionId))?(j-R)/7+1:0)},M=()=>r?I:performance.interactionCount??0,F=0;class ${l=[];h=new Map;m;p;v(){F=M(),this.l.length=0,this.h.clear()}M(){let e=Math.min(this.l.length-1,Math.floor((M()-F)/50));return this.l[e]}u(e){if(this.m?.(e),!e.interactionId&&"first-input"!==e.entryType)return;let t=this.l.at(-1),n=this.h.get(e.interactionId);if(n||this.l.length<10||e.duration>t.T){if(n?e.duration>n.T?(n.entries=[e],n.T=e.duration):e.duration===n.T&&e.startTime===n.entries[0].startTime&&n.entries.push(e):(n={id:e.interactionId,entries:[e],T:e.duration},this.h.set(n.id,n),this.l.push(n)),this.l.sort((e,t)=>
34t.T-e.T),this.l.length>10)for(let e of this.l.splice(10))this.h.delete(e.id);this.p?.(n)}}}let L=e=>{let t=globalThis.requestIdleCallback||setTimeout;"hidden"===document.visibilityState?e():(addEventListener("visibilitychange",e=b(e),{once:!0,capture:!0}),t(()=>{e(),removeEventListener("visibilitychange",e,{capture:!0})}))},P=[200,500],z=(e,t={})=>{let n=c(t=Object.assign({},t),$),i=[],o=[],s=0,u=new WeakMap,d=new WeakMap,p=!1,g=()=>{p||(L(b),p=!0)},b=()=>{let e=n.l.map(e=>u.get(e.entries[0])),t=o.length-50;o=o.filter((n,r)=>r>=t||e.includes(n));let r=new Set;for(let e of o)for(let t of v(e.startTime,e.processingEnd))r.add(t);let a=i.length-1-50;i=i.filter((e,t)=>e.startTime>s&&t>a||r.has(e)),p=!1};n.m=e=>{let t,n=e.startTime+e.duration;s=Math.max(s,e.processingEnd);for(let r=o.length-1;r>=0;r--){let i=o[r];if(8>=Math.abs(n-i.renderTime)){(t=i).startTime=Math.min(e.startTime,t.startTime),t.processingStart=Math.min(e.processingStart,t.processingStart),t.processingEnd=Math.max(e.processingEnd,t.processingEnd),t.entries.push(e);break}}t||(t={startTime:e.startTime,processingStart:e.processingStart,processingEnd:e.processingEnd,renderTime:n,entries:[e]},o.push(t)),(e.interactionId||"first-input"===e.entryType)&&u.set(e,t),g()},n.p=e=>{if(!d.get(e)){let n=e.entries[0].target;if(n){let r=t.generateTarget?.(n)??l(n);d.set(e,r)}}};let v=(e,t)=>{let n=[];for(let r of i)if(!(r.startTime+r.duration<e)){if(r.startTime>t)break;n.push(r)}return n};y("long-animation-frame",e=>{i=i.concat(e),g()}),((e,t={})=>{if(!globalThis.PerformanceEventTiming||!("interactionId"in PerformanceEventTiming.prototype))return;let n=k();E(()=>{"interactionCount"in performance||r||(r=y("event",N,{type:"event",buffered:!0,durationThreshold:0}));let i,o=m("INP"),a=c(t,$),s=e=>{L(()=>{for(let t of e)a.u(t);let t=a.M();t&&t.T!==o.value&&(o.value=t.T,o.entries=t.entries,i())})},l=y("event",s,{durationThreshold:t.durationThreshold??40});i=h(e,o,P,t.reportAllChanges),l&&(l.observe({type:"first-input",buffered:!0}),n.onHidden(()=>{s(l.takeRecords()),i(!0)}),f(()=>{a.v(),i=h(e,o=m("INP"),P,t.reportAllChanges)}))})})(t=>{let r,i,o,s,l,c,f,h,p;e((r=t.entries[0],i=u.get(r),o=r.processingStart,s=Math.max(r.startTime+r.duration,o),l=Math.min(i.processingEnd,s),c=i.entries.sort((e,t)=>e.processingStart-t.processingStart),f=v(r.startTime,l),h=n.h.get(r.interactionId),(e=>{if(!e.longAnimationFrameEntries?.length)return;let t=e.interactionTime,n=e.inputDelay,r=e.processingDuration,i,o,a=0,s=0,l=0,u=0;for(let l of e.longAnimationFrameEntries)for(let e of(s=s+l.startTime+l.duration-l.styleAndLayoutStart,l.scripts)){let l=e.startTime+e.duration;if(l<t)continue;let c=l-Math.max(t,e.startTime),d=e.duration?c/e.duration*e.forcedStyleAndLayoutDuration:0;a+=c-d,s+=d,c>u&&(o=e.startTime<t+n?"input-delay":e.startTime>=t+n+r?"presentation-delay":"processing-duration",i=e,u=c)}let c=e.longAnimationFrameEntries.at(-1),d=c?c.startTime+c.duration:0;d>=t+n+r&&(l=e.nextPaintTime-d),i&&o&&(e.longestScript={entry:i,subpart:o,intersectingDuration:u}),e.totalScriptDuration=a,e.totalStyleAndLayoutDuration=s,e.totalPaintDuration=l,e.totalUnattributedDuration=e.nextPaintTime-t-a-s-l})(p={interactionTarget:d.get(h),interactionType:r.name.startsWith("key")?"keyboard":"pointer",interactionTime:r.startTime,nextPaintTime:s,processedEventEntries:c,longAnimationFrameEntries:f,inputDelay:o-r.startTime,processingDuration:l-o,presentationDelay:s-l,loadState:a(r.startTime),longestScript:void 0,totalScriptDuration:void 0,totalStyleAndLayoutDuration:void 0,totalPaintDuration:void 0,totalUnattributedDuration:void 0}),Object.assign(t,{attribution:p})))},t)};class U{m;u(e){this.m?.(e)}}let B=[2500,4e3],H=(e,t={})=>{let n=c(t=Object.assign({},t),U),r=new WeakMap;n.m=e=>{let n=e.element;if(n){let i=t.generateTarget?.(n)??l(n);r.set(e,i)}},((e,t={})=>{E(()=>{let n=k(),r,i=m("LCP"),o=c(t,U),a=e=>{for(let a of(t.reportAllChanges||(e=e.slice(-1)),e))o.u(a),a.startTime<n.firstHiddenTime&&(i.value=Math.max(a.startTime-g(),0),i.entries=[a],r())},s=y("largest-contentful-paint",a);if(s){r=h(e,i,B,t.reportAllChanges);let n=b(()=>{a(s.takeRecords()),s.disconnect(),r(!0)}),o=e=>{e.isTrusted&&(L(n),removeEventListener(e.type,o,{capture:!0}))};
34for(let e of["keydown","click","visibilitychange"])addEventListener(e,o,{capture:!0});f(n=>{r=h(e,i=m("LCP"),B,t.reportAllChanges),p(()=>{i.value=performance.now()-n.timeStamp,r(!0)})})}})})(t=>{e((e=>{let t={timeToFirstByte:0,resourceLoadDelay:0,resourceLoadDuration:0,elementRenderDelay:e.value};if(e.entries.length){let n=o();if(n){let i=n.activationStart||0,o=e.entries.at(-1),a=o.url&&performance.getEntriesByType("resource").filter(e=>e.name===o.url)[0],s=Math.max(0,n.responseStart-i),l=Math.max(s,a?(a.requestStart||a.startTime)-i:0),u=Math.min(e.value,Math.max(l,a?a.responseEnd-i:0));t={target:r.get(o),timeToFirstByte:s,resourceLoadDelay:l-s,resourceLoadDuration:u-l,elementRenderDelay:e.value-u,navigationEntry:n,lcpEntry:o},o.url&&(t.url=o.url),a&&(t.lcpResourceEntry=a)}}return Object.assign(e,{attribution:t})})(t))},t)},q=[800,1800],V=e=>{document.prerendering?E(()=>V(e)):"complete"!==document.readyState?addEventListener("load",()=>V(e),!0):setTimeout(e)},G=(e,t={})=>{((e,t={})=>{let n=m("TTFB"),r=h(e,n,q,t.reportAllChanges);V(()=>{let i=o();i&&(n.value=Math.max(i.responseStart-g(),0),n.entries=[i],r(!0),f(()=>{(r=h(e,n=m("TTFB",0),q,t.reportAllChanges))(!0)}))})})(t=>{e((e=>{let t={waitingDuration:0,cacheDuration:0,dnsDuration:0,connectionDuration:0,requestDuration:0};if(e.entries.length){let n=e.entries[0],r=n.activationStart||0,i=Math.max((n.workerStart||n.fetchStart)-r,0),o=Math.max(n.domainLookupStart-r,0),a=Math.max(n.connectStart-r,0),s=Math.max(n.connectEnd-r,0);t={waitingDuration:i,cacheDuration:o-i,dnsDuration:a-o,connectionDuration:s-a,requestDuration:e.value-s,navigationEntry:n}}return Object.assign(e,{attribution:t})})(t))},t)}},71606:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(15595),i=n(30253);let o=function(e,t){t=(0,r.A)(t,e);for(var n=0,o=t.length;null!=e&&n<o;)e=e[(0,i.A)(t[n++])];return n&&n==o?e:void 0}},71672:(e,t,n)=>{"use strict";n.d(t,{j:()=>a});var r=n(91993),i=n(41964),o=n(18276);function a(e,t,n){var a,s,l;let{years:u=0,months:c=0,weeks:d=0,days:f=0,hours:h=0,minutes:p=0,seconds:g=0}=t,m=(a=c+12*u,s=(0,o.P)(e,-a,n),l=f+7*d,(0,i.f)(s,-l,n));return(0,r.w)(n?.in||e,m-1e3*(g+60*(p+60*h)))}},71818:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>e3});var r,i,o,a,s=n(23929),l=n(65672),u=n(12115),c="data-focus-lock",d="data-focus-lock-disabled";function f(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var h="u">typeof window?u.useLayoutEffect:u.useEffect,p=new WeakMap,g={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"},m=n(49303);function y(e){return e}function b(e,t){void 0===t&&(t=y);var n=[],r=!1;return{read:function(){if(r)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var i=t(e,r);return n.push(i),function(){n=n.filter(function(e){return e!==i})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var i=n;n=[],i.forEach(e),t=n}var o=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(o)};a(),n={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),n}}}}}function v(e,t){return void 0===t&&(t=y),b(e,t)}var w=v({},function(e){return{target:e.target,currentTarget:e.currentTarget}}),_=v(),x=v(),k=(r={async:!0,ssr:"u">typeof document},(i=b(null)).options=(0,m.Cl)({async:!0,ssr:!1},r),i),E=(0,u.createContext)(void 0),A=[],S=(0,u.forwardRef)(function(e,t){var n,r,i,o,a,s=(0,u.useState)(),m=s[0],y=s[1],b=(0,u.useRef)(),v=(0,u.useRef)(!1),x=(0,u.useRef)(null),S=(0,u.useState)({})[1],C=e.children,O=e.disabled,T=void 0!==O&&O,D=e.noFocusGuards,I=void 0!==D&&D,R=e.persistentFocus,j=e.crossFrame,N=e.autoFocus,M=(e.allowTextSelection,e.group),F=e.className,$=e.whiteList,L=e.hasPositiveIndices,P=e.shards,z=void 0===P?A:P,U=e.as,B=e.lockProps,H=e.sideCar,q=e.returnFocus,V=void 0!==q&&q,G=e.focusOptions,W=e.onActivation,Y=e.onDeactivation,K=(0,u.useState)({})[0],Z=(0,u.useCallback)(function(e){var t=e.captureFocusRestore;if(!x.current){var n,r=null==(n=document)?void 0:n.activeElement;x.current=r,r!==document.body&&(x.current=t(r))}b.current&&W&&W(b.current),v.current=!0,S()},[W]),X=(0,u.useCallback)(function(){v.current=!1,Y&&Y(b.current),S()},[Y]),J=(0,u.useCallback)(function(e){var t=x.current;if(t){var n=("function"==typeof t?t():t)||document.body,r="function"==typeof V?V(n):V;if(r){var i="object"==typeof r?r:void 0;x.current=null,e?Promise.resolve().then(function(){return n.focus(i)}):n.focus(i)}}},[V]),Q=(0,u.useCallback)(function(e){v.current&&w.useMedium(e)},[]),ee=_.useMedium,et=(0,u.useCallback)(function(e){b.current!==e&&(b.current=e,y(e))},[]),en=(0,l.A)(((a={})[d]=T&&"disabled",a[c]=M,a),void 0===B?{}:B),er=!0!==I,ei=er&&"tail"!==I,eo=(n=[t,et],r=function(e){return n.forEac
34h(function(t){return f(t,e)})},(i=(0,u.useState)(function(){return{value:null,callback:r,facade:{get current(){return i.value},set current(value){var e=i.value;e!==value&&(i.value=value,i.callback(value,e))}}}})[0]).callback=r,o=i.facade,h(function(){var e=p.get(o);if(e){var t=new Set(e),r=new Set(n),i=o.current;t.forEach(function(e){r.has(e)||f(e,null)}),r.forEach(function(e){t.has(e)||f(e,i)})}p.set(o,n)},[n]),o),ea=(0,u.useMemo)(function(){return{observed:b,shards:z,enabled:!T,get active(){return v.current}}},[T,v,z,b]);return u.createElement(u.Fragment,null,er&&[u.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:T?-1:0,style:g}),L?u.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:T?-1:1,style:g}):null],!T&&u.createElement(H,{id:K,sideCar:k,observed:m,disabled:T,persistentFocus:void 0!==R&&R,crossFrame:void 0===j||j,autoFocus:void 0===N||N,whiteList:$,shards:z,onActivation:Z,onDeactivation:X,returnFocus:J,focusOptions:G,noFocusGuards:I}),u.createElement(void 0===U?"div":U,(0,l.A)({ref:eo},en,{className:F,onBlur:ee,onFocus:Q}),u.createElement(E.Provider,{value:ea},C)),ei&&u.createElement("div",{"data-focus-guard":!0,tabIndex:T?-1:0,style:g}))});function C(e,t){return(C=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function O(e){return(O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}S.propTypes={};var T=function(e){for(var t=Array(e.length),n=0;n<e.length;++n)t[n]=e[n];return t},D=function(e){return Array.isArray(e)?e:[e]},I=function(e){return Array.isArray(e)?e[0]:e},R=function(e){if(e.nodeType!==Node.ELEMENT_NODE)return!1;var t=window.getComputedStyle(e,null);return!!t&&!!t.getPropertyValue&&("none"===t.getPropertyValue("display")||"hidden"===t.getPropertyValue("visibility"))},j=function(e){return e.parentNode&&e.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.parentNode.host:e.parentNode},N=function(e){return e===document||e&&e.nodeType===Node.DOCUMENT_NODE},M=function(e,t){var n,r,i=e.get(t);if(void 0!==i)return i;var o=(n=t,r=M.bind(void 0,e),!n||N(n)||!R(n)&&!n.hasAttribute("inert")&&r(j(n)));return e.set(t,o),o},F=function(e,t){var n,r=e.get(t);if(void 0!==r)return r;var i=(n=F.bind(void 0,e),!t||!!N(t)||!!z(t)&&n(j(t)));return e.set(t,i),i},$=function(e){return e.dataset},L=function(e){return"INPUT"===e.tagName},P=function(e){return L(e)&&"radio"===e.type},z=function(e){return![!0,"true",""].includes(e.getAttribute("data-no-autofocus"))},U=function(e){var t;return!!(e&&(null==(t=$(e))?void 0:t.focusGuard))},B=function(e){return!U(e)},H=function(e){return!!e},q=function(e,t){var n=Math.max(0,e.tabIndex),r=Math.max(0,t.tabIndex),i=n-r,o=e.index-t.index;if(i){if(!n)return 1;if(!r)return -1}return i||o},V=function(e,t,n){return T(e).map(function(e,t){var r=e.tabIndex<0&&!e.hasAttribute("tabindex")?0:e.tabIndex;return{node:e,index:t,tabIndex:n&&-1===r?(e.dataset||{}).focusGuard?0:-1:r}}).filter(function(e){return!t||e.tabIndex>=0}).sort(q)},G="button:enabled,select:enabled,textarea:enabled,input:enabled,a[href],area[href],summary,iframe,object,embed,audio[controls],video[controls],[tabindex],[contenteditable],[autofocus]",W="".concat(G,", [data-focus-guard]"),Y=function(e,t){return T((e.shadowRoot||e).children).reduce(function(e,n){return e.concat(n.matches(t?W:G)?[n]:[],Y(n))},[])},K=function(e,t){var n;return e instanceof HTMLIFrameElement&&(null==(n=e.contentDocument)?void 0:n.body)?Z([e.contentDocument.body],t):[e]},Z=function(e,t){return e.reduce(function(e,n){var r,i=Y(n,t),o=(r=[]).concat.apply(r,i.map(function(e){return K(e,t)}));return e.concat(o,n.parentNode?T(n.parentNode.querySelectorAll(G)).filter(function(e){return e===n}):[])},[])},X=function(e,t){return T(e).filter(function(e){return M(t,e)}).filter(function(e){var t;return!((L(t=e)||"BUTTON"===t.tagName)&&("hidden"===t.type||t.disabled))})},J=function(e,t){return void 0===t&&(t=new Map),T(e).filter(function(e){return F(t,e)})},Q=function(e,t,n){return V(X(Z(e,n),t),!0,n)},ee=function(e,t){return V(X(Z(e),t),!1)},et=function(e,t){return e.shadowRoot?et(e.shadowRoot,t):!!(void 0!==Object.getPrototypeOf(e).contains&&Object.getPrototypeOf(e).contains.call(e,t))||T(e.children).some(function(e){var n;if(e instanceof HTMLIFrameElement){var r=null==(n=e.contentDocument)?void 0:n.body;return!!r&&et(r,t)}return et(e,t)})},en=function(e){try{return e()}catch(e){return}},er=function(e){if(void 0===e&&(e=document),e&&e.activeElement){var t=e.activeElement;return t.shadowRoot?er(t.shadowRoot):t instanceof HTMLIFrameElement&&en(function(){return t.contentWindow.document})?er(t.contentWindow.document):t}},ei=function(e){void 0===e&&(e=document);var t=er(e);return!!t&&T(e.querySelectorAll("[".concat("data-no-focus-lock","]"))).some(function(e){return et(e,t)})},eo=function(e){for(var t=new Set,n=e.length,r=0;r<n;r+=1)for(var i=r+1;i<n;i+=1){var o=e[r].compareDocumentPosition(e[i]);(o&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&t.add(i),(o&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(r)}return e.filter(function(e,n){return!t.has(n)})},ea=function(e){return e.parentNode?ea(e.parentNode):e}
34,es=function(e){return D(e).filter(Boolean).reduce(function(e,t){var n=t.getAttribute(c);return e.push.apply(e,n?eo(T(ea(t).querySelectorAll("[".concat(c,'="').concat(n,'"]:not([').concat(d,'="disabled"])')))):[t]),e},[])},el=function(e,t){return void 0===t&&(t=er(I(e).ownerDocument)),!!t&&(!t.dataset||!t.dataset.focusGuard)&&es(e).some(function(e){var n;return et(e,t)||(n=t,!!T(e.querySelectorAll("iframe")).some(function(e){return e===n}))})},eu=function(e,t){e&&("focus"in e&&e.focus(t),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus())},ec=function(e,t){if(P(e)&&e.name)return t.filter(P).filter(function(t){return t.name===e.name}).filter(function(e){return e.checked})[0]||e;return e},ed=function(e){var t=new Set;return e.forEach(function(n){return t.add(ec(n,e))}),e.filter(function(e){return t.has(e)})},ef=function(e){return e[0]&&e.length>1?ec(e[0],e):e[0]},eh=function(e,t){return e.indexOf(ec(t,e))},ep="NEW_FOCUS",eg=function(e,t,n,r,i){var o=e.length,a=e[0],s=e[o-1],l=U(r);if(!(r&&e.indexOf(r)>=0)){var u=void 0!==r?n.indexOf(r):-1,c=i?n.indexOf(i):u,d=i?e.indexOf(i):-1;if(-1===u)return -1!==d?d:ep;if(-1===d)return ep;var f=u-c,h=n.indexOf(a),p=n.indexOf(s),g=ed(n),m=void 0!==r?g.indexOf(r):-1,y=i?g.indexOf(i):m,b=g.filter(function(e){return e.tabIndex>=0}),v=void 0!==r?b.indexOf(r):-1,w=i?b.indexOf(i):v;if(!f&&d>=0||0===t.length)return d;var _=eh(e,t[0]),x=eh(e,t[t.length-1]);if(u<=h&&l&&Math.abs(f)>1)return x;if(u>=p&&l&&Math.abs(f)>1)return _;if(f&&Math.abs(v>=0&&w>=0?w-v:y-m)>1)return d;if(u<=h)return x;if(u>p)return _;if(f)return Math.abs(f)>1?d:(o+d+f)%o}},em=function(e,t,n){var r=J(e.map(function(e){return e.node}).filter(function(e){var t,r=null==(t=$(e))?void 0:t.autofocus;return e.autofocus||void 0!==r&&"false"!==r||n.indexOf(e)>=0}));return r&&r.length?ef(r):ef(J(t))},ey=function(e,t){return void 0===t&&(t=[]),t.push(e),e.parentNode&&ey(e.parentNode.host||e.parentNode,t),t},eb=function(e,t){for(var n=ey(e),r=ey(t),i=0;i<n.length;i+=1){var o=n[i];if(r.indexOf(o)>=0)return o}return!1},ev=function(e,t,n){var r=D(e),i=D(t),o=r[0],a=!1;return i.filter(Boolean).forEach(function(e){a=eb(a||e,e)||a,n.filter(Boolean).forEach(function(e){var t=eb(o,e);t&&(a=!a||et(t,a)?t:eb(t,a))})}),a},ew=function(e,t){return e.reduce(function(e,n){var r,i;return e.concat((r=n,i=t,X(T(r.querySelectorAll("[".concat("data-autofocus-inside","]"))).map(function(e){return Z([e])}).reduce(function(e,t){return e.concat(t)},[]),i)))},[])},e_=function(e,t){var n=new Map;return t.forEach(function(e){return n.set(e.node,e)}),e.map(function(e){return n.get(e)}).filter(H)},ex=function(e,t){var n=er(D(e).length>0?document:I(e).ownerDocument),r=es(e).filter(B),i=ev(n||e,e,r),o=new Map,a=ee(r,o),s=a.filter(function(e){return B(e.node)});if(s[0]){var l=ee([i],o).map(function(e){return e.node}),u=e_(l,s),c=u.map(function(e){return e.node}),d=u.filter(function(e){return e.tabIndex>=0}).map(function(e){return e.node}),f=eg(c,d,l,n,t);if(f===ep){var h=em(a,d,ew(r,o))||em(a,c,ew(r,o));return h?{node:h}:void console.warn("focus-lock: cannot find any node to move focus into")}return void 0===f?f:u[f]}},ek=0,eE=!1,eA=function(e,t,n){void 0===n&&(n={});var r=ex(e,t);if(!eE&&r){if(ek>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),eE=!0,setTimeout(function(){eE=!1},1);return}ek++,eu(r.node,n.focusOptions),ek--}};function eS(e){if(!e)return null;if("u"<typeof WeakRef)return function(){return e||null};var t=e?new WeakRef(e):null;return function(){return(null==t?void 0:t.deref())||null}}var eC=function(e){if(!e)return null;for(var t=[],n=e;n&&n!==document.body;)t.push({current:eS(n),parent:eS(n.parentElement),left:eS(n.previousElementSibling),right:eS(n.nextElementSibling)}),n=n.parentElement;return{element:eS(e),stack:t,ownerDocument:e.ownerDocument}},eO=function(e){if(e)for(var t,n,r,i,o,a=e.stack,s=e.ownerDocument,l=new Map,u=0;u<a.length;u++){var c=a[u],d=null==(t=c.parent)?void 0:t.call(c);if(d&&s.contains(d)){for(var f=null==(n=c.left)?void 0:n.call(c),h=c.current(),p=d.contains(h)?h:void 0,g=null==(r=c.right)?void 0:r.call(c),m=Q([d],l),y=null!=(o=null!=(i=null!=p?p:null==f?void 0:f.nextElementSibling)?i:g)?o:f;y;){for(var b=0;b<m.length;b++){var v=m[b];if(null==y?void 0:y.contains(v.node))return v.node}y=y.nextElementSibling}if(m.length)return m[0].node}}},eT=function(e){var t=eC(e);return function(){return eO(t)}}
34,eD=function(e){var t=es(e).filter(B),n=V(Z([ev(e,e,t)],!0),!0,!0),r=Z(t,!1);return n.map(function(e){var t=e.node;return{node:t,index:e.index,lockItem:r.indexOf(t)>=0,guard:U(t)}})},eI=function(e,t,n){if(!e||!t)return console.error("no element or scope given"),{};var r=D(t);if(r.every(function(t){return!et(t,e)}))return console.error("Active element is not contained in the scope"),{};var i=n?Q(r,new Map):ee(r,new Map),o=i.findIndex(function(t){return t.node===e});if(-1!==o)return{prev:i[o-1],next:i[o+1],first:i[0],last:i[i.length-1]}},eR=function(e,t){var n=t?Q(D(e),new Map):ee(D(e),new Map);return{first:n[0],last:n[n.length-1]}},ej=function(e,t,n){void 0===t&&(t={});var r,i=(r=t,Object.assign({scope:document.body,cycle:!0,onlyTabbable:!0},r)),o=eI(e,i.scope,i.onlyTabbable);if(o){var a=n(o,i.cycle);a&&eu(a.node,i.focusOptions)}},eN=function(e,t,n){var r,i=eR(e,null==(r=t.onlyTabbable)||r)[n];i&&eu(i.node,t.focusOptions)};function eM(e){setTimeout(e,1)}var eF=function(e){return e&&"current"in e?e.current:e},e$=function(){return document&&document.activeElement===document.body},eL=null,eP=null,ez=function(){return null},eU=null,eB=!1,eH=!1,eq=function(e,t){eU={observerNode:e,portaledElement:t}};function eV(e,t,n,r){var i=null,o=e;do{var a=r[o];if(a.guard)a.node.dataset.focusAutoGuard&&(i=a);else if(a.lockItem){if(o!==e)return;i=null}else break}while((o+=n)!==t);i&&(i.node.tabIndex=0)}var eG=function(e){return ee(e,new Map)},eW=function(){var e=!1;if(eL){var t=eL,n=t.observed,r=t.persistentFocus,i=t.autoFocus,o=t.shards,a=t.crossFrame,s=t.focusOptions,l=t.noFocusGuards,u=n||eU&&eU.portaledElement;if(e$()&&eP&&eP!==document.body&&(!document.body.contains(eP)||!eG([(f=eP).parentNode]).some(function(e){return e.node===f}))){var c=ez();c&&c.focus()}var d=document&&document.activeElement;if(u){var f,h=[u].concat(o.map(eF).filter(Boolean));if((!d||(eL.whiteList||function(){return!0})(d))&&(r||function(){if(!(a?!!eB:"meanwhile"===eB)||!l||!eP||eH)return!1;var e=eG(h),t=e.findIndex(function(e){return e.node===eP});return 0===t||t===e.length-1}()||!(e$()||ei())||!eP&&i)&&(u&&!(el(h)||d&&h.some(function(e){return function e(t,n,r){return n&&(n.host===t&&(!n.activeElement||r.contains(n.activeElement))||n.parentNode&&e(t,n.parentNode,r))}(d,e,e)})||eU&&eU.portaledElement===d)&&(document&&!eP&&d&&!i?(d.blur&&d.blur(),document.body.focus()):(e=eA(h,eP,{focusOptions:s}),eU={})),(eP=document&&document.activeElement)!==document.body&&(ez=eT(eP)),eB=!1),document&&d!==document.activeElement&&document.querySelector("[data-focus-auto-guard]")){var p=document&&document.activeElement,g=eD(h),m=g.map(function(e){return e.node}).indexOf(p);m>-1&&(g.filter(function(e){var t=e.guard,n=e.node;return t&&n.dataset.focusAutoGuard}).forEach(function(e){return e.node.removeAttribute("tabIndex")}),eV(m,g.length,1,g),eV(m,-1,-1,g))}}}return e},eY=function(e){eW()&&e&&(e.stopPropagation(),e.preventDefault())},eK=function(){return eM(eW)},eZ=function(){eH=!0},eX=function(){eH=!1,eB="just",eM(function(){eB="meanwhile"})},eJ=function(){document.addEventListener("focusin",eY),document.addEventListener("focusout",eK),window.addEventListener("focus",eZ),window.addEventListener("blur",eX)},eQ=function(){document.removeEventListener("focusin",eY),document.removeEventListener("focusout",eK),window.removeEventListener("focus",eZ),window.removeEventListener("blur",eX)},e0={moveFocusInside:eA,focusInside:el,focusNextElement:function(e,t){void 0===t&&(t={}),ej(e,t,function(e,t){var n=e.next,r=e.first;return n||t&&r})},focusPrevElement:function(e,t){void 0===t&&(t={}),ej(e,t,function(e,t){var n=e.prev,r=e.last;return n||t&&r})},focusFirstElement:function(e,t){void 0===t&&(t={}),eN(e,t,"first")},focusLastElement:function(e,t){void 0===t&&(t={}),eN(e,t,"last")},captureFocusRestore:eT};w.assignSyncMedium(function(e){var t=e.target,n=e.currentTarget;n.contains(t)||eq(n,t)}),_.assignMedium(eK),x.assignMedium(function(e){return e(e0)});let e1=(o=function(e){return e.filter(function(e){return!e.disabled})},a=function(e){var t=e.slice(-1)[0];t&&!eL&&eJ();var n=eL,r=n&&t&&t.id===n.id;eL=t,n&&!r&&(n.onDeactivation(),e.filter(function(e){return e.id===n.id}).length||n.returnFocus(!t)),t?(eP=null,r&&n.observed===t.observed||t.onActivation(e0),eW(!0),eM(eW)):(eQ(),eP=null)},function(e){var t,n,r,i,s,l=[];function c(){a(s=o(l.map(function(e){return e.props})))}var d=function(t){function n(){return t.apply(this,arguments)||this}n.prototype=Object.create(t.prototype),n.prototype.constructor=n,C(n,t),n.peek=function(){return s};var r=n.prototype;return r.componentDidMount=function(){l.push(this),c()},r.componentDidUpdate=function(){c()},r.componentWillUnmount=function(){var e=l.indexOf(this);l.splice(e,1),c()},r.render=function(){return u.createElement(e,this.props)},n}(u.PureComponent);return t=d,n="displayName",r="SideEffect("+(e.displayName||e.name||"Component")+")",(i=function(e,t){if("object"!=O(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=O(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(n,"string"),(n="symbol"==O(i)?i:i+"")in t)?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,d})(function(){return null});var e2=(0,u.forwardRef)(function(e,t){return u.createElement(S,(0,l.A)({sideCar:e1,ref:t},e))}),e5=S.propTypes||{};
34e5.sideCar,(0,s.A)(e5,["sideCar"]),e2.propTypes={};let e3=e2},72015:(e,t,n)=>{"use strict";n.d(t,{c:()=>h});var r=n(99937),i=n(75341),o=n(97908),a=n(79619),s=n(77973),l=n(84474),u=n(80722),c=n(55633),d=n(38299),f=n(31562);function h(e,t){void 0===t&&(t=r.E);var n=(0,f.O)(e,t);return function e(t,n){return n?function(r){return(0,i.x)(n.pipe((0,o.s)(1),(0,a.N)(function(e,t){e.subscribe((0,s._)(t,l.l))})),r.pipe(e(t)))}:(0,c.Z)(function(e,n){return(0,d.Tg)(t(e,n)).pipe((0,o.s)(1),(0,u.u)(e))})}(function(){return n})}},72157:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(95749),i=n(24949),o=n(77494),a=Object.prototype,s=Function.prototype.toString,l=a.hasOwnProperty,u=s.call(Object);let c=function(e){if(!(0,o.A)(e)||"[object Object]"!=(0,r.A)(e))return!1;var t=(0,i.A)(e);if(null===t)return!0;var n=l.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&s.call(n)==u}},72254:(e,t,n)=>{"use strict";n.d(t,{o:()=>s});var r=n(91993),i=n(83475),o=n(70061),a=n(25037);function s(e,t){return function(e,t,n){let[r,i]=(0,o.x)(n?.in,e,t);return+(0,a.k)(r,n)==+(0,a.k)(i,n)}((0,r.w)(t?.in||e,e),(0,i.A)(t?.in||e),{...void 0,weekStartsOn:1})}},72344:(e,t,n)=>{var r=n(16950),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=o.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var i=a.call(e);return r&&(t?e[s]=n:delete e[s]),i}},72480:(e,t,n)=>{"use strict";let r=n(79177);e.exports=(e,t,n)=>{let i=new r(e,n),o=new r(t,n);return i.compare(o)||i.compareBuild(o)}},72521:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(5452),i=n(92459);let o=function(e,t,n){var o=t(e);return(0,i.A)(e)?o:(0,r.A)(o,n(e))}},72568:(e,t,n)=>{"use strict";n.d(t,{h:()=>a});var r=n(91993),i=n(19279),o=n(92477);function a(e,t,n){let a=(0,o.a)(e,n?.in);return isNaN(+a)?(0,r.w)(n?.in||e,NaN):(null!=t.year&&a.setFullYear(t.year),null!=t.month&&(a=(0,i.Z)(a,t.month)),null!=t.date&&a.setDate(t.date),null!=t.hours&&a.setHours(t.hours),null!=t.minutes&&a.setMinutes(t.minutes),null!=t.seconds&&a.setSeconds(t.seconds),null!=t.milliseconds&&a.setMilliseconds(t.milliseconds),a)}},72587:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},73154:(e,t,n)=>{"use strict";let r=n(3338);e.exports=(e,t)=>new r(e,t).set.map(e=>e.map(e=>e.value).join(" ").trim().split(" "))},73244:(e,t,n)=>{"use strict";n.d(t,{BB:()=>f,q:()=>l,tz:()=>h}),Symbol.for("constructDateFrom");let r={},i={};function o(e,t){try{let n=(r[e]||=new Intl.DateTimeFormat("en-US",{timeZone:e,timeZoneName:"longOffset"}).format)(t).split("GMT")[1];if(n in i)return i[n];return s(n,n.split(":"))}catch{if(e in i)return i[e];let t=e?.match(a);if(t)return s(e,t.slice(1));return NaN}}let a=/([+-]\d\d):?(\d\d)?/;function s(e,t){let n=+(t[0]||0),r=+(t[1]||0),o=(t[2]||0)/60;return i[e]=60*n+r>0?60*n+r+o:60*n-r-o}class l extends Date{constructor(...e){super(),e.length>1&&"string"==typeof e[e.length-1]&&(this.timeZone=e.pop()),this.internal=new Date,isNaN(o(this.timeZone,this))?this.setTime(NaN):e.length?"number"==typeof e[0]&&(1===e.length||2===e.length&&"number"!=typeof e[1])?this.setTime(e[0]):"string"==typeof e[0]?this.setTime(+new Date(e[0])):e[0]instanceof Date?this.setTime(+e[0]):(this.setTime(+new Date(...e)),d(this,NaN),c(this)):this.setTime(Date.now())}static tz(e,...t){return t.length?new l(...t,e):new l(Date.now(),e)}withTimeZone(e){return new l(+this,e)}getTimezoneOffset(){let e=-o(this.timeZone,this);return e>0?Math.floor(e):Math.ceil(e)}setTime(e){return Date.prototype.setTime.apply(this,arguments),c(this),+this}[Symbol.for("constructDateFrom")](e){return new l(+new Date(e),this.timeZone)}}let u=/^(get|set)(?!UTC)/;function c(e){e.internal.setTime(+e),e.internal.setUTCSeconds(e.internal.getUTCSeconds()-Math.round(-(60*o(e.timeZone,e))))}function d(e){let t=o(e.timeZone,e),n=t>0?Math.floor(t):Math.ceil(t),r=new Date(+e);r.setUTCHours(r.getUTCHours()-1);let i=-new Date(+e).getTimezoneOffset(),a=i- -new Date(+r).getTimezoneOffset(),s=Date.prototype.getHours.apply(e)!==e.internal.getUTCHours();a&&s&&e.internal.setUTCMinutes(e.internal.getUTCMinutes()+a);let l=i-n;l&&Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+l);let u=new Date(+e);u.setUTCSeconds(0);let c=i>0?u.getSeconds():(u.getSeconds()-60)%60,d=Math.round(-(60*o(e.timeZone,e)))%60;(d||c)&&(e.internal.setUTCSeconds(e.internal.getUTCSeconds()+d),Date.prototype.setUTCSeconds.call(e,Date.prototype.getUTCSeconds.call(e)+d+c));let f=o(e.timeZone,e),h=f>0?Math.floor(f):Math.ceil(f),p=-new Date(+e).getTimezoneOffset()-h-l;if(h!==n&&p){Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+p);let t=o(e.timeZone,e),n=h-(t>0?Math.floor(t):Math.ceil(t));n&&(e.internal.setUTCMinutes(e.internal.getUTCMinutes()+n),Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+n))}}
34Object.getOwnPropertyNames(Date.prototype).forEach(e=>{if(!u.test(e))return;let t=e.replace(u,"$1UTC");l.prototype[t]&&(e.startsWith("get")?l.prototype[e]=function(){return this.internal[t]()}:(l.prototype[e]=function(){var e;return Date.prototype[t].apply(this.internal,arguments),e=this,Date.prototype.setFullYear.call(e,e.internal.getUTCFullYear(),e.internal.getUTCMonth(),e.internal.getUTCDate()),Date.prototype.setHours.call(e,e.internal.getUTCHours(),e.internal.getUTCMinutes(),e.internal.getUTCSeconds(),e.internal.getUTCMilliseconds()),d(e),+this},l.prototype[t]=function(){return Date.prototype[t].apply(this,arguments),c(this),+this}))});class f extends l{static tz(e,...t){return t.length?new f(...t,e):new f(Date.now(),e)}toISOString(){let[e,t,n]=this.tzComponents(),r=`${e}${t}:${n}`;return this.internal.toISOString().slice(0,-1)+r}toString(){return`${this.toDateString()} ${this.toTimeString()}`}toDateString(){let[e,t,n,r]=this.internal.toUTCString().split(" ");return`${e?.slice(0,-1)} ${n} ${t} ${r}`}toTimeString(){let e=this.internal.toUTCString().split(" ")[4],[t,n,r]=this.tzComponents();return`${e} GMT${t}${n}${r} (${function(e,t,n="long"){return new Intl.DateTimeFormat("en-US",{hour:"numeric",timeZone:e,timeZoneName:n}).format(t).split(/\s/g).slice(2).join(" ")}(this.timeZone,this)})`}toLocaleString(e,t){return Date.prototype.toLocaleString.call(this,e,{...t,timeZone:t?.timeZone||this.timeZone})}toLocaleDateString(e,t){return Date.prototype.toLocaleDateString.call(this,e,{...t,timeZone:t?.timeZone||this.timeZone})}toLocaleTimeString(e,t){return Date.prototype.toLocaleTimeString.call(this,e,{...t,timeZone:t?.timeZone||this.timeZone})}tzComponents(){let e=this.getTimezoneOffset(),t=String(Math.floor(Math.abs(e)/60)).padStart(2,"0"),n=String(Math.abs(e)%60).padStart(2,"0");return[e>0?"-":"+",t,n]}withTimeZone(e){return new f(+this,e)}[Symbol.for("constructDateFrom")](e){return new f(+new Date(e),this.timeZone)}}let h=e=>t=>f.tz(e,+new Date(t))},73384:(e,t,n)=>{var r=n(56733),i=n(80519),o=n(18610),a=n(61638),s=/^\[object .+?Constructor\]$/,l=Object.prototype,u=Function.prototype.toString,c=l.hasOwnProperty,d=RegExp("^"+u.call(c).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||i(e))&&(r(e)?d:s).test(a(e))}},73441:(e,t,n)=>{var r=n(32538),i=n(14335),o=n(17650),a=n(88910),s=n(30989),l=n(97154);e.exports=function(e,t,n){t=r(t,e);for(var u=-1,c=t.length,d=!1;++u<c;){var f=l(t[u]);if(!(d=null!=e&&n(e,f)))break;e=e[f]}return d||++u!=c?d:!!(c=null==e?0:e.length)&&s(c)&&a(f,c)&&(o(e)||i(e))}},73750:(e,t,n)=>{e.exports=n(50994)["__core-js_shared__"]},74317:(e,t,n)=>{"use strict";var r=n(87358);e.exports="object"==typeof r&&r.env&&r.env.NODE_DEBUG&&/\bsemver\b/i.test(r.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{}},74444:(e,t,n)=>{"use strict";function r(e,t,n){return Math.min(Math.max(e,n),t)}n.d(t,{Uv:()=>v,W0:()=>_,a:()=>w,e$:()=>m});class i extends Error{constructor(e){super(`Failed to parse color: "${e}"`)}}function o(e){if("string"!=typeof e)throw new i(e);if("transparent"===e.trim().toLowerCase())return[0,0,0,0];let t=e.trim();t=h.test(e)?function(e){let t=s[function(e){let t=5381,n=e.length;for(;n;)t=33*t^e.charCodeAt(--n);return(t>>>0)%2341}(e.toLowerCase().trim())];if(!t)throw new i(e);return`#${t}`}(e):e;let n=u.exec(t);if(n){let e=Array.from(n).slice(1);return[...e.slice(0,3).map(e=>parseInt(l(e,2),16)),parseInt(l(e[3]||"f",2),16)/255]}let o=c.exec(t);if(o){let e=Array.from(o).slice(1);return[...e.slice(0,3).map(e=>parseInt(e,16)),parseInt(e[3]||"ff",16)/255]}let a=d.exec(t);if(a){let e=Array.from(a).slice(1);return[...e.slice(0,3).map(e=>parseInt(e,10)),parseFloat(e[3]||"1")]}let p=f.exec(t);if(p){let[t,n,o,a]=Array.from(p).slice(1).map(parseFloat);if(r(0,100,n)!==n||r(0,100,o)!==o)throw new i(e);return[...g(t,n,o),Number.isNaN(a)?1:a]}throw new i(e)}let a=e=>parseInt(e.replace(/_/g,""),36),s="1q29ehhb 1n09sgk7 1kl1ekf_ _yl4zsno 16z9eiv3 1p29lhp8 _bd9zg04 17u0____ _iw9zhe5 _to73___ _r45e31e _7l6g016 _jh8ouiv _zn3qba8 1jy4zshs 11u87k0u 1ro9yvyo 1aj3xael 1gz9zjz0 _3w8l4xo 1bf1ekf_ _ke3v___ _4rrkb__ 13j776yz _646mbhl _nrjr4__ _le6mbhl 1n37ehkb _m75f91n _qj3bzfz 1939yygw 11i5z6x8 _1k5f8xs 1509441m 15t5lwgf _ae2th1n _tg1ugcv 1lp1ugcv 16e14up_ _h55rw7n _ny9yavn _7a11xb_ 1ih442g9 _pv442g9 1mv16xof 14e6y7tu 1oo9zkds 17d1cisi _4v9y70f _y98m8kc 1019pq0v 12o9zda8 _348j4f4 1et50i2o _8epa8__ _ts6senj 1o350i2o 1mi9eiuo 1259yrp0 1ln80gnw _632xcoy 1cn9zldc _f29edu4 1n490c8q _9f9ziet 1b94vk74 _m49zkct 1kz6s73a 1eu9dtog _q58s1rz 1dy9sjiq __u89jo3 _aj5nkwg _ld89jo3 13h9z6wx _qa9z2ii _l119xgq _bs5arju 1hj4nwk9 1qt4nwk9 1ge6wau6 14j9zlcw 11p1edc_ _ms1zcxe _439shk6 _jt9y70f _754zsow 1la40eju _oq5p___ _x279qkz 1fa5r3rv _yd2d9ip _424tcku _8y1di2_ _zi2uabw _yy7rn9h 12yz980_ __39ljp6 1b59zg0x _n39zfzp 1fy9zest _b33k___ _hp9wq92 1il50hz4 _io472ub _lj9z3eo 19z9ykg0 _8t8iu3a 12b9bl4a 1ak5yw0o _896v4ku _tb8k8lv _s59zi6t _c09ze0p 1lg80oqn 1id9z8wb _238nba5 1kq6wgdi _154zssg _tn3zk49 _da9y6tc 1sg7cv4f _r12jvtt 1gq5fmkz 1cs9rvci _lp9jn1c _xw1tdnb 13f9zje6 16f6973h _vo7ir40 _bt5arjf _rc45e4t _hr4e100 10v4e100 _hc9zke2 _w91egv_ _sj2r1kk 13c87yx8 _vqpds__ _ni8ggk8 _tj9yqfb 1ia2j4r4 _7x9b10u 1fc9ld4j 1eq9zldr _5j9lhpx _ez9zl6o _md61fzm".split(" ").reduce((e,t)=>
34{let n=a(t.substring(0,3)),r=a(t.substring(3)).toString(16),i="";for(let e=0;e<6-r.length;e++)i+="0";return e[n]=`${i}${r}`,e},{}),l=(e,t)=>Array.from(Array(t)).map(()=>e).join(""),u=RegExp(`^#${l("([a-f0-9])",3)}([a-f0-9])?$`,"i"),c=RegExp(`^#${l("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),d=RegExp(`^rgba?\\(\\s*(\\d+)\\s*${l(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),f=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,h=/^[a-z]+$/i,p=e=>Math.round(255*e),g=(e,t,n)=>{let r=n/100;if(0===t)return[r,r,r].map(p);let i=(e%360+360)%360/60,o=t/100*(1-Math.abs(2*r-1)),a=o*(1-Math.abs(i%2-1)),s=0,l=0,u=0;i>=0&&i<1?(s=o,l=a):i>=1&&i<2?(s=a,l=o):i>=2&&i<3?(l=o,u=a):i>=3&&i<4?(l=a,u=o):i>=4&&i<5?(s=a,u=o):i>=5&&i<6&&(s=o,u=a);let c=r-o/2;return[s+c,l+c,u+c].map(p)};function m(e,t){var n;let[i,a,s,l]=function(e){let[t,n,r,i]=o(e).map((e,t)=>3===t?e:e/255),a=Math.max(t,n,r),s=Math.min(t,n,r),l=(a+s)/2;if(a===s)return[0,0,l,i];let u=a-s;return[60*(t===a?(n-r)/u+6*(n<r):n===a?(r-t)/u+2:(t-n)/u+4),l>.5?u/(2-a-s):u/(a+s),l,i]}(e);return n=s-t,`hsla(${(i%360).toFixed()}, ${r(0,100,100*a).toFixed()}%, ${r(0,100,100*n).toFixed()}%, ${parseFloat(r(0,1,l).toFixed(3))})`}function y(e){if("transparent"===e)return 0;function t(e){let t=e/255;return t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}let[n,r,i]=o(e);return .2126*t(n)+.7152*t(r)+.0722*t(i)}let b={decorative:1.5,readable:3,aa:4.5,aaa:7};function v(e,t="aa",n="#fff"){let r,i;return r=y(e),(r>(i=y(n))?(r+.05)/(i+.05):(i+.05)/(r+.05))<b[t]}function w(e,t){return m(e,-t)}function _(e){return y(e)>.179?"#000":"#fff"}},74548:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var r,i=n(4986),o=n(51603).A["__core-js_shared__"],a=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",s=n(33761),l=n(69687),u=/^\[object .+?Constructor\]$/,c=Object.prototype,d=Function.prototype.toString,f=c.hasOwnProperty,h=RegExp("^"+d.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");let p=function(e){return!!(0,s.A)(e)&&(!a||!(a in e))&&((0,i.A)(e)?h:u).test((0,l.A)(e))},g=function(e,t){var n=null==e?void 0:e[t];return p(n)?n:void 0}},74628:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(99937),i=n(79619),o=n(38299),a=n(77973),s=n(31562);function l(e,t){var n;return void 0===t&&(t=r.E),n=function(){return(0,s.O)(e,t)},(0,i.N)(function(e,t){var r=!1,i=null,s=null,l=!1,u=function(){if(null==s||s.unsubscribe(),s=null,r){r=!1;var e=i;i=null,t.next(e)}l&&t.complete()},c=function(){s=null,l&&t.complete()};e.subscribe((0,a._)(t,function(e){r=!0,i=e,s||(0,o.Tg)(n(e)).subscribe(s=(0,a._)(t,u,c))},function(){l=!0,r&&s&&!s.closed||t.complete()}))})}},74738:(e,t,n)=>{"use strict";n.d(t,{T:()=>r});let r="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},74842:(e,t,n)=>{"use strict";let r=n(72480);e.exports=(e,t)=>e.sort((e,n)=>r(e,n,t))},75400:(e,t,n)=>{"use strict";n.d(t,{A:()=>y});var r=n(12602),i=n(12368),o=n(15595),a=n(65482),s=n(71606),l=n(78480),u=n(30253),c=Object.prototype.hasOwnProperty;let d=function(e,t){t=(0,o.A)(t,e);var n,r=-1,i=t.length;if(!i)return!0;for(var d=null==e||"object"!=typeof e&&"function"!=typeof e;++r<i;){var f=t[r];if("string"==typeof f){if("__proto__"===f&&!c.call(e,"__proto__"))return!1;if("constructor"===f&&r+1<i&&"string"==typeof t[r+1]&&"prototype"===t[r+1]){if(d&&0===r)continue;return!1}}}var h=(n=t).length<2?e:(0,s.A)(e,(0,l.A)(n,0,-1));return null==h||delete h[(0,u.A)((0,a.A)(t))]};var f=n(3437),h=n(72157);let p=function(e){return(0,h.A)(e)?void 0:e};var g=n(6594),m=n(60423);let y=(0,g.A)(function(e,t){var n={};if(null==e)return n;var a=!1;t=(0,r.A)(t,function(t){return t=(0,o.A)(t,e),a||(a=t.length>1),t}),(0,f.A)(e,(0,m.A)(e),n),a&&(n=(0,i.A)(n,7,p));for(var s=t.length;s--;)d(n,t[s]);return n})},75575:(e,t,n)=>{var r=n(50994);e.exports=function(){return r.Date.now()}},75600:(e,t,n)=>{"use strict";n.d(t,{t:()=>o});var r=n(14283),i=function(e){return e};function o(e){void 0===e&&(e=i);var t=new r.B;return[t.pipe(e),function(e){return t.next(e)}]}},75694:(e,t,n)=>{var r=n(39647).ExifReader;e.exports=function(e){var t=new r;t.load(e);var n=t.getAllTags(),i={};for(var o in n)i[o.replace(/([A-Z][a-z])|([a-z][A-Z])|([A-Z])/g,function(e){return 1==e.length?e.toLowerCase():e[0]==e[0].toUpperCase()?" "+e.toLowerCase():e[0]+" "+e[1].toLowerCase()}).replace(/^\s+|\s+$/g,"")]=n[o].description;return i}},75763:(e,t,n)=>{e.exports=n(50994).Uint8Array},75871:(e,t)=>{"use strict";function n(e){return e}t.L8=void 0,t.L8=function(e){return e?function(t){return e(t),t}:n}},75877:(e,t,n)=>{"use strict";n.d(t,{U:()=>d});var r=n(19749),i=n(44416),o=n(21728),a=n(37758),s=n(66161),l=n(71182),u=n(12115);let c=[(0,o.Ke)({on:"insert.break",guard:({snapshot:e})=>!!(e.context.selection&&a.gR(e))&&{selection:e.context.selection},actions:[(e,{selection:t})=>[(0,o.xl)({type:"delete",at:t})]]}),(0,o.Ke)({on:"insert.break",actions:[]}),(0,o.Ke)({on:"insert.block",guard:({event:e})=>"before"===e.placement||"after"===e.placement,actions:[]}),(0,o.Ke)({on:"insert.block",guard:({snapshot:e,event:t})=>!!a.hH(e)&&!!s.zS(e.context,t.block)&&("auto"!==t.placement||"end"!==t.select),actions:[({event:e})=>[(0,o.xl)({type:"insert.block",block:e.block,placement:"auto",select:"end"})]]}),(0,o.Ke)({on:"insert.block",guard:({snapshot:e,event:t})=>!a.hH(e)||!s.zS(e.context,t.block),actions:[]}),(0,o.Ke)({on:"insert.blocks",guard:({snapshot:e,event:t})=>{let n=t.blocks.filter(t=>s.zS(e.context,t));return 0!==n.length&&n.reduce((t,n)=>l.Y4({context:e.context,targetBlock:t,incomingBlock:n}))},actions:[(e,t)=>[(0,o.xl)({type:"insert.block",block:t,placement:"auto"})]]}),(0,o.Ke)({on:"insert.blocks",actions:[]})];function d(){let e,t,n=(0,r.c)(3),o=(0,i.h)();return n[0]!==o?(e=()=>{let e=c.map(e=>o.registerBehavior({behavior:e}));return()=>{for(let t of e)t()}},t=[o],n[0]=o,n[1]=e,n[2]=t):(e=n[1],t=n[2]),(0,u.useEffect)(e,t),null}}
34,76249:(e,t,n)=>{"use strict";n.d(t,{U:()=>r});let r="production"},76277:(e,t,n)=>{"use strict";let r=n(79177);e.exports=(e,t,n=!1)=>{if(e instanceof r)return e;try{return new r(e,t)}catch(e){if(!n)return null;throw e}}},76498:(e,t,n)=>{"use strict";n.d(t,{JW:()=>k,me:()=>ev,sR:()=>e_});var r=n(46983);let i={sizes:[{distance:-4,size:19},{distance:-4,size:25},{distance:-8,size:33},{distance:-12,size:49}],focusRing:{offset:1,width:1}},o={textWeight:"medium",border:{width:1},focusRing:{offset:-1,width:1}},a={border:{width:1},focusRing:{offset:-1,width:1},shadow:{outline:.5}},s=[320,640,960,1280,1600,1920],l=[360,600,900,1200,1800,2400],u={dialog:{zOffset:600},popover:{zOffset:400},tooltip:{zOffset:200}},c=[0,1,3,6,9,12,21],d=[null,{umbra:[0,0,0,0],penumbra:[0,0,0,0],ambient:[0,0,0,0]},{umbra:[0,3,5,-2],penumbra:[0,6,10,0],ambient:[0,1,18,1]},{umbra:[0,7,8,-4],penumbra:[0,12,17,2],ambient:[0,5,22,4]},{umbra:[0,9,11,-5],penumbra:[0,18,28,2],ambient:[0,7,34,6]},{umbra:[0,11,15,-7],penumbra:[0,24,38,3],ambient:[0,9,46,8]}],f=[0,4,8,12,20,32,52,84,136,220],h={border:{width:1},checkbox:{size:17,focusRing:{offset:-1,width:1}},radio:{size:17,markSize:9,focusRing:{offset:-1,width:1}},switch:{width:25,height:17,padding:5,transitionDurationMs:150,transitionTimingFunction:"ease-out",focusRing:{offset:1,width:1}},select:{focusRing:{offset:-1,width:1}},text:{focusRing:{offset:-1,width:1}}},p={button:{root:{transition:"background-color 100ms,border-color 100ms,color 100ms"}}},g={code:{family:"ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace",weights:{regular:400,medium:500,semibold:600,bold:700},sizes:[{ascenderHeight:4,descenderHeight:4,fontSize:10,iconSize:17,lineHeight:15,letterSpacing:0},{ascenderHeight:5,descenderHeight:5,fontSize:13,iconSize:21,lineHeight:19,letterSpacing:0},{ascenderHeight:6,descenderHeight:6,fontSize:16,iconSize:25,lineHeight:23,letterSpacing:0},{ascenderHeight:7,descenderHeight:7,fontSize:19,iconSize:29,lineHeight:27,letterSpacing:0},{ascenderHeight:8,descenderHeight:8,fontSize:22,iconSize:33,lineHeight:31,letterSpacing:0}]},heading:{family:'Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Liberation Sans", Helvetica, Arial, system-ui, sans-serif',weights:{regular:700,medium:800,semibold:900,bold:900},sizes:[{ascenderHeight:5,descenderHeight:5,fontSize:13,iconSize:17,lineHeight:19,letterSpacing:0},{ascenderHeight:6,descenderHeight:6,fontSize:16,iconSize:25,lineHeight:23,letterSpacing:0},{ascenderHeight:7,descenderHeight:7,fontSize:21,iconSize:33,lineHeight:29,letterSpacing:0},{ascenderHeight:8,descenderHeight:8,fontSize:27,iconSize:41,lineHeight:35,letterSpacing:0},{ascenderHeight:9.5,descenderHeight:8.5,fontSize:33,iconSize:49,lineHeight:41,letterSpacing:0},{ascenderHeight:10.5,descenderHeight:9.5,fontSize:38,iconSize:53,lineHeight:47,letterSpacing:0}]},label:{family:'Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Liberation Sans", system-ui, sans-serif',weights:{regular:600,medium:700,semibold:800,bold:900},sizes:[{ascenderHeight:2,descenderHeight:2,fontSize:8.1,iconSize:13,lineHeight:10,letterSpacing:.5},{ascenderHeight:2,descenderHeight:2,fontSize:9.5,iconSize:15,lineHeight:11,letterSpacing:.5},{ascenderHeight:2,descenderHeight:2,fontSize:10.8,iconSize:17,lineHeight:12,letterSpacing:.5},{ascenderHeight:2,descenderHeight:2,fontSize:12.25,iconSize:19,lineHeight:13,letterSpacing:.5},{ascenderHeight:2,descenderHeight:2,fontSize:13.6,iconSize:21,lineHeight:14,letterSpacing:.5},{ascenderHeight:2,descenderHeight:2,fontSize:15,iconSize:23,lineHeight:15,letterSpacing:.5}]},text:{family:'Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Liberation Sans", Helvetica, Arial, system-ui, sans-serif',weights:{regular:400,medium:500,semibold:600,bold:700},sizes:[{ascenderHeight:4,descenderHeight:4,fontSize:10,iconSize:17,lineHeight:15,letterSpacing:0},{ascenderHeight:5,descenderHeight:5,fontSize:13,iconSize:21,lineHeight:19,letterSpacing:0},{ascenderHeight:6,descenderHeight:6,fontSize:15,iconSize:25,lineHeight:23,letterSpacing:0},{ascenderHeight:7,descenderHeight:7,fontSize:18,iconSize:29,lineHeight:27,letterSpacing:0}
34,{ascenderHeight:8,descenderHeight:8,fontSize:21,iconSize:33,lineHeight:31,letterSpacing:0}]}},m=new WeakMap;function y(e){let t=m.get(e);if(t)return t;let n=v(e,e.card.enabled),r={_blend:e._blend||(e.dark?"screen":"multiply"),_dark:e.dark,accent:n.accent,avatar:n.avatar,backdrop:e.base.shadow.ambient,badge:n.badge,bg:e.base.bg,border:e.base.border,button:{default:b(e,e.button.default),ghost:b(e,e.button.ghost),bleed:b(e,e.button.bleed)},code:n.code,fg:e.base.fg,focusRing:e.base.focusRing,icon:n.muted.fg,input:{default:w(e.input.default),invalid:w(e.input.invalid)},kbd:n.kbd,link:n.link,muted:{...n.muted,bg:e.selectable?.default.enabled.bg2||e.base.bg},selectable:b(e,e.selectable||e.muted),shadow:e.base.shadow,skeleton:{from:e.skeleton?.from||e.base.border,to:e.skeleton?.to||e.base.border},syntax:e.syntax};return m.set(e,r),r}function b(e,t){return{default:{enabled:v(e,t.default.enabled),hovered:v(e,t.default.hovered),pressed:v(e,t.default.pressed),selected:v(e,t.default.selected),disabled:v(e,t.default.disabled)},neutral:{enabled:v(e,t.default.enabled),hovered:v(e,t.default.hovered),pressed:v(e,t.default.pressed),selected:v(e,t.default.selected),disabled:v(e,t.default.disabled)},primary:{enabled:v(e,t.primary.enabled),hovered:v(e,t.primary.hovered),pressed:v(e,t.primary.pressed),selected:v(e,t.primary.selected),disabled:v(e,t.primary.disabled)},suggest:{enabled:v(e,t.primary.enabled),hovered:v(e,t.primary.hovered),pressed:v(e,t.primary.pressed),selected:v(e,t.primary.selected),disabled:v(e,t.primary.disabled)},positive:{enabled:v(e,t.positive.enabled),hovered:v(e,t.positive.hovered),pressed:v(e,t.positive.pressed),selected:v(e,t.positive.selected),disabled:v(e,t.positive.disabled)},caution:{enabled:v(e,t.caution.enabled),hovered:v(e,t.caution.hovered),pressed:v(e,t.caution.pressed),selected:v(e,t.caution.selected),disabled:v(e,t.caution.disabled)},critical:{enabled:v(e,t.critical.enabled),hovered:v(e,t.critical.hovered),pressed:v(e,t.critical.pressed),selected:v(e,t.critical.selected),disabled:v(e,t.critical.disabled)}}}function v(e,t){return{...t,avatar:{gray:{bg:e.spot.gray,fg:e.base.bg},blue:{bg:e.spot.blue,fg:e.base.bg},purple:{bg:e.spot.purple,fg:e.base.bg},magenta:{bg:e.spot.magenta,fg:e.base.bg},red:{bg:e.spot.red,fg:e.base.bg},orange:{bg:e.spot.orange,fg:e.base.bg},yellow:{bg:e.spot.yellow,fg:e.base.bg},green:{bg:e.spot.green,fg:e.base.bg},cyan:{bg:e.spot.cyan,fg:e.base.bg}},badge:{default:{bg:e.muted.default.enabled.bg,fg:e.muted.default.enabled.fg,dot:e.muted.default.enabled.muted.fg,icon:e.muted.default.enabled.muted.fg},neutral:{bg:e.muted.transparent.enabled.bg,fg:e.muted.transparent.enabled.fg,dot:e.muted.transparent.enabled.muted.fg,icon:e.muted.transparent.enabled.muted.fg},primary:{bg:e.muted.primary.enabled.bg,fg:e.muted.primary.enabled.fg,dot:e.muted.primary.enabled.muted.fg,icon:e.muted.primary.enabled.muted.fg},suggest:{bg:e.muted.primary.enabled.bg,fg:e.muted.primary.enabled.fg,dot:e.muted.primary.enabled.muted.fg,icon:e.muted.primary.enabled.muted.fg},positive:{bg:e.muted.positive.enabled.bg,fg:e.muted.positive.enabled.fg,dot:e.muted.positive.enabled.muted.fg,icon:e.muted.positive.enabled.muted.fg},caution:{bg:e.muted.caution.enabled.bg,fg:e.muted.caution.enabled.fg,dot:e.muted.caution.enabled.muted.fg,icon:e.muted.caution.enabled.muted.fg},critical:{bg:e.muted.critical.enabled.bg,fg:e.muted.critical.enabled.fg,dot:e.muted.critical.enabled.muted.fg,icon:e.muted.critical.enabled.muted.fg}},kbd:{bg:e.muted.default.enabled.bg,fg:e.muted.default.enabled.fg,border:e.muted.default.enabled.border},muted:{...e.muted.default.enabled.muted,bg:t.bg2||t.bg},skeleton:{from:t.skeleton?.from||t.border,to:t.skeleton?.to||t.border}}}function w(e){return{enabled:_(e.enabled),disabled:_(e.disabled),readOnly:_(e.readOnly),hovered:_(e.hovered)}}function _(e){return{bg:e.bg,border:e.border,fg:e.fg,muted:{bg:e.bg2},placeholder:e.placeholder}}let x=new WeakMap;function k(e){if(e.sanity.v2?._resolved)return e.sanity.v2;let t=x.get(e);if(t)return t;let n={_version:2,_resolved:!0,avatar:{...i,...e.sanity.avatar},button:{...o,...e.sanity.button},card:a,color:y(e.sanity.color),container:e.sanity.container,font:e.sanity.fonts,input:{...h,...e.sanity.input,checkbox:{...h.checkbox,...e.sanity.input.checkbox},radio:{...h.radio,...e.sanity.input.radio},switch:{...h.switch,...e.sanity.input.switch}},layer:e.sanity.layer??u,media:e.sanity.media,radius:e.sanity.radius,shadow:e.sanity.shadows,space:e.sanity.space,style:e.sanity.styles};return x.set(e,n),n}function E(e){return 2===e._version}let A=new WeakMap,S=new WeakMap;function C(e){let t=S.get(e);if(t)return t;
34let{avatar:n,button:r,color:i,container:o,font:a,input:s,media:l,radius:u,shadow:c,space:d,style:f}=e;return{_version:0,avatar:n,button:r,container:o,color:{light:{transparent:O(i.light.transparent),default:O(i.light.default),primary:O(i.light.primary),positive:O(i.light.positive),caution:O(i.light.caution),critical:O(i.light.critical)},dark:{transparent:O(i.dark.transparent),default:O(i.dark.default),primary:O(i.dark.primary),positive:O(i.dark.positive),caution:O(i.dark.caution),critical:O(i.dark.critical)}},focusRing:s.text.focusRing,fonts:a,input:s,media:l,radius:u,shadows:c,space:d,styles:f,v2:e}}function O(e){return{base:{bg:e.bg,fg:e.fg,border:e.border,focusRing:e.focusRing,shadow:e.shadow},button:e.button,card:e.selectable.default,dark:e._dark,input:{default:T(e.input.default),invalid:T(e.input.invalid)},muted:{...e.button.ghost,transparent:e.button.ghost.default},solid:{...e.button.default,transparent:e.button.default.default},selectable:e.selectable,spot:{gray:e.avatar.gray.bg,blue:e.avatar.blue.bg,purple:e.avatar.purple.bg,magenta:e.avatar.magenta.bg,red:e.avatar.red.bg,orange:e.avatar.orange.bg,yellow:e.avatar.yellow.bg,green:e.avatar.green.bg,cyan:e.avatar.cyan.bg},syntax:e.syntax}}function T(e){return{enabled:D(e.enabled),disabled:D(e.disabled),readOnly:D(e.readOnly),hovered:D(e.hovered)}}function D(e){return{bg:e.bg,bg2:e.muted.bg,border:e.border,fg:e.fg,placeholder:e.placeholder}}let I=["multiply","screen"],R=["transparent","default","neutral","primary","suggest","positive","caution","critical"],j=["default","neutral","primary","suggest","positive","caution","critical"],N=["enabled","hovered","pressed","selected","disabled"],M=["default","ghost","bleed"],F=["default","invali
34d"],$=["enabled","hovered","readOnly","disabled"];function L(e){return r.V0.includes(e)}function P(e){return/^\d+%$/.test(e)}function z(e){var t;let n=e.split("/"),i=n.shift()||"",[o,a]=i.split(" ");if(L(o)){let e=n.shift()||"";return P(a)?{type:"color",tint:o,mix:Number(a.slice(0,-1))/100}:U(e)?{type:"color",tint:o,opacity:Number(e)}:{type:"color",tint:o}}if("black"===(t=o)||"white"===t){let e=n.shift()||"";return P(a)?{type:"color",key:o,mix:Number(a.slice(0,-1))/100}:U(e)?{type:"color",key:o,opacity:Number(e)}:{type:"color",key:o}}if(r.Cv.includes(o)){let[e,t]=(i=n.shift()||"").split(" ");if(L(e)){let r=n.shift()||"";return P(t)?{type:"color",hue:o,tint:e,mix:Number(t.slice(0,-1))/100}:U(r)?{type:"color",hue:o,tint:e,opacity:Number(r)}:{type:"color",hue:o,tint:e}}return{type:"hue",value:o}}if(I.includes(o))return{type:"blendMode",value:o}}function U(e){return"0"===e||/^0\.[0-9]+$/.test(e)||"1"===e}[...r.Cv],[...R],[...j],[...N],[...F],[...$];let B=["500","500"];function H(e,t=B){var n;let r,{hue:i,scheme:o}=e,a=z(t[+("light"!==o)]);if(!a||"color"!==a.type)throw Error(`Invalid color token: ${t[0]}`);return n={...a,hue:a.hue||i},r="",r="black"===n.key||"white"===n.key?n.key:`${n.hue}/${n.tint}`,void 0!==n.mix?`${r} ${100*n.mix}%`:(void 0!==n.opacity&&(r+=`/${n.opacity}`),r)}let q={base:{"*":{_blend:["multiply","screen"],accent:{fg:["purple/600","purple/400"]},avatar:{"*":{_blend:["screen","multiply"],bg:["500","400"],fg:["white","black"]}},backdrop:["gray/200/0.5","black/0.5"],badge:{"*":{bg:["100","900"],fg:["600","400"],icon:["500","500"],dot:["500","500"]},positive:{bg:["200 50%","900"],fg:["600","500"]},caution:{bg:["200 50%","900"],fg:["600","500"]}},bg:["50","950"],border:["200","800"],code:{bg:["50","950"],fg:["600","400"]},fg:["800","200"],focusRing:["blue/500","blue/500"],icon:["600","400"],kbd:{bg:["white","black"],fg:["600","400"],border:["200","800"]},link:{fg:["blue/600","blue/300"]},muted:{bg:["50","950"],fg:["700 75%","300 75%"]},shadow:{outline:["500/0.3","500/0.4"],umbra:["gray/500/0.1","black/0.2"],penumbra:["gray/500/0.07","black/0.14"],ambient:["gray/500/0.06","black/0.12"]},skeleton:{from:["100","900"],to:["100 50%","900 50%"]}},transparent:{bg:["50","black"]},default:{bg:["white","950"],fg:["800","200"],muted:{fg:["600","400"]}},primary:{_hue:"blue"},suggest:{_hue:"purple"},positive:{_hue:"green",shadow:{outline:["500/0.4","500/0.4"]}},caution:{_hue:"yellow",shadow:{outline:["600/0.3","500/0.4"]}},critical:{_hue:"red"}},button:{default:{"*":{"*":{_blend:["screen","multiply"],accent:{fg:["purple/300","purple/700"]},avatar:{"*":{_blend:["screen","multiply"],bg:["500","400"],fg:["white","black"]}},badge:{"*":{bg:["900","100"],fg:["400","600"],dot:["500","500"],icon:["500","500"]}},bg:["500","400"],border:["500/0","400/0"],code:{bg:["500 20%","400 20%"],fg:["200","600"]},fg:["white","black"],icon:["100 70%","900 70%"],kbd:{bg:["black","white"],fg:["200","600"],border:["800","200"]},link:{fg:["blue/200","blue/600"]},muted:{bg:["950","50"],fg:["100 70%","900 70%"]},skeleton:{from:["900","100"],to:["900 50%","100 50%"]}},hovered:{bg:["600","300"],border:["700/0","300/0"]},pressed:{bg:["700","300"]},selected:{bg:["700","300"]},disabled:{_hue:"gray",accent:{fg:["100 70%","900 70%"]},avatar:{"*":{_blend:["screen","multiply"],bg:["gray/500","gray/400"],fg:["white","black"]}},badge:{"*":{bg:["gray/700","gray/300"],fg:["white","black"],dot:["white","black"],icon:["white","black"]}},bg:["300","600"],code:{bg:["950","50"],fg:["300","600"]},fg:["300","600"],muted:{bg:["950","50"],fg:["300","600"]},kbd:{bg:["black","white"],fg:["white","black"],border:["700","300"]},link:{fg:["100 70%","900 70%"]}}},default:{"*":{avatar:{"*":{_blend:["screen","multiply"],bg:["500","400"],fg:["white","black"]}},bg:["800","200"],muted:{bg:["950","50"],fg:["400","600"]}},hovered:{bg:["900","100"]},pressed:{bg:["black","white"]},selected:{bg:["black","white"]}}},ghost:{"*":{"*":{_blend:["multiply","screen"],accent:{fg:["purple/700 60%","purple/300 70%"]},avatar:{"*":{_blend:["screen","multiply"],bg:["500","400"],fg:["white","black"]}},badge:{"*":{bg:["100","900"],fg:["600","400"],dot:["500","500"],icon:["500","500"]}},bg:["50","950"],border:["100","900"],code:{bg:["500 10%","400 10%"],fg:["700 60%","400 60%"]},fg:["600","400"],icon:["700 60%","300 60%"],kbd:{bg:["white","black"],fg:["600","400"],border:["200","800"]},link:{fg:["blue/700 60%","blue/300 60%"]},muted:{bg:["100","950"],fg:["700 60%","300 60%"]},skeleton:{from:["100","900"],to:["100 50%","900 50%"]}},hovered:{bg:["100","900"],fg:["700","300"]},pressed:{bg:["200","800"],fg:["800","200"]},selected:{bg:["200","800"],fg:["800","200"]},disabled:{_hue:"gray",accent:{fg:["200","800"]},avatar:{"*":{_blend:["screen","multiply"],bg:["gray/100","gray/900"],fg:["white","black"]}}
34,badge:{"*":{_hue:"gray",bg:["50","950"],fg:["gray/200","gray/800"],dot:["gray/200","gray/800"],icon:["gray/200","gray/800"]}},border:["100","900"],code:{bg:["50","950"],fg:["200","800"]},fg:["400","600"],icon:["300","700"],muted:{fg:["300","700"]},kbd:{bg:["white","black"],fg:["200","800"],border:["100","900"]},link:{fg:["200","800"]}}},positive:{"*":{border:["600 20%","800"]}},caution:{"*":{border:["600 20%","800"]}}},bleed:{"*":{"*":{_blend:["multiply","screen"],accent:{fg:["purple/700 70%","purple/300 70%"]},avatar:{"*":{_blend:["screen","multiply"],bg:["500","400"],fg:["white","black"]}},badge:{"*":{bg:["100","900"],fg:["600","400"],dot:["500","500"],icon:["500","500"]}},bg:["white","black"],border:["white/0","black/0"],code:{bg:["50","950"],fg:["700 75%","300 75%"]},fg:["700","300"],icon:["700 75%","300 75%"],kbd:{bg:["white","black"],fg:["700","300"],border:["200","800"]},link:{fg:["blue/700 70%","blue/300 70%"]},muted:{bg:["100","950"],fg:["700 75%","300 75%"]},skeleton:{from:["100","900"],to:["100 50%","900 50%"]}},hovered:{bg:["50","900"],fg:["800","200"],icon:["800 70%","300 70%"]},pressed:{bg:["100","800"],fg:["800","200"],icon:["800 70%","200 70%"]},selected:{bg:["100","900"],fg:["800","200"],icon:["800 60%","200 60%"]},disabled:{_hue:"gray",accent:{fg:["200","800"]},avatar:{"*":{_blend:["screen","multiply"],bg:["gray/100","gray/900"],fg:["white","black"]}},badge:{"*":{_hue:"gray",bg:["50","950"],fg:["gray/200","gray/800"],dot:["gray/200","gray/800"],icon:["gray/200","gray/800"]}},code:{bg:["50","950"],fg:["200","800"]},fg:["400","600"],icon:["300","700"],muted:{fg:["400","600"]},kbd:{bg:["white","black"],fg:["200","800"],border:["100","900"]},link:{fg:["200","800"]}}}}},input:{"*":{"*":{_blend:["multiply","screen"],bg:["white","black"],border:["200","700"],fg:["black","200"],muted:{bg:["50","950"]},placeholder:["400","600"]},hovered:{border:["300","700"]},readOnly:{bg:["50","950"],border:["200","800"],fg:["800","200"]},disabled:{bg:["50","950"],fg:["400","600"],border:["100","900"],placeholder:["200","800 50%"]}},invalid:{"*":{_hue:"red",bg:["100","950"]}}},selectable:{"*":{"*":{_blend:["multiply","screen"],accent:{fg:["purple/700 70%","purple/300 70%"]},avatar:{"*":{_blend:["screen","multiply"],bg:["500","400"],fg:["white","black"]}},badge:{"*":{bg:["100","900"],fg:["600","400"],dot:["500","500"],icon:["500","500"]}},bg:["white","black"],border:["200","800"],code:{bg:["50","950"],fg:["600","400"]},fg:["700","300"],icon:["700 75%","300 75%"],kbd:{bg:["white","black"],fg:["600","400"],border:["200","800"]},link:{fg:["blue/700 70%","blue/300 70%"]},muted:{bg:["50","950"],fg:["700 75%","300 75%"]},skeleton:{from:["100","900"],to:["100 50%","900 50%"]}},hovered:{bg:["50","950"]},pressed:{bg:["100","900"]},selected:{_blend:["screen","multiply"],accent:{fg:["purple/300","purple/700"]},avatar:{"*":{_blend:["multiply","screen"],bg:["white","black"],fg:["black","white"]}},badge:{"*":{bg:["900","100"],fg:["400","600"],dot:["500","500"],icon:["500","500"]}},bg:["500","400"],border:["500 20%","400 20%"],code:{bg:["500 20%","400 20%"],fg:["200","600"]},fg:["white","black"],icon:["100 70%","900 70%"],kbd:{bg:["black","white"],fg:["200","600"],border:["800","200"]},link:{fg:["blue/200","blue/600"]},muted:{bg:["500 10%","400 10%"],fg:["100 70%","900 70%"]},skeleton:{from:["900","100"],to:["900 50%","100 50%"]}},disabled:{_hue:"gray",accent:{fg:["200","800"]},avatar:{"*":{_blend:["screen","multiply"],bg:["gray/100","gray/900"],fg:["white","black"]}},badge:{"*":{_hue:"gray",bg:["50","950"],fg:["gray/200","gray/800"],dot:["gray/200","gray/800"],icon:["gray/200","gray/800"]}},border:["100","900"],code:{bg:["50","950"],fg:["200","800"]},fg:["200","800"],icon:["200","800"],kbd:{bg:["white","black"],fg:["200","800"],border:["100","900"]},link:{fg:["200","800"]},muted:{bg:["50 50%","950 50%"],fg:["200","800"]}}},default:{selected:{_hue:"blue"}},critical:{disabled:{bg:["50 50%","950 50%"]}}},syntax:{atrule:["purple/600","purple/400"],attrName:["green/600","green/400"],attrValue:["yellow/600","yellow/400"],attribute:["yellow/600","yellow/400"],boolean:["purple/600","purple/400"],builtin:["purple/600","purple/400"],c
34data:["yellow/600","yellow/400"],char:["yellow/600","yellow/400"],class:["orange/600","orange/400"],className:["cyan/600","cyan/400"],comment:["gray/400","gray/600"],constant:["purple/600","purple/400"],deleted:["red/600","red/400"],entity:["red/600","red/400"],function:["green/600","green/400"],hexcode:["blue/600","blue/400"],id:["purple/600","purple/400"],important:["purple/600","purple/400"],inserted:["yellow/600","yellow/400"],keyword:["magenta/600","magenta/400"],number:["purple/600","purple/400"],operator:["magenta/600","magenta/400"],property:["blue/600","blue/400"],pseudoClass:["yellow/600","yellow/400"],pseudoElement:["yellow/600","yellow/400"],punctuation:["gray/600","gray/400"],regex:["blue/600","blue/400"],selector:["red/600","red/400"],string:["yellow/600","yellow/400"],symbol:["purple/600","purple/400"],tag:["red/600","red/400"],unit:["orange/600","orange/400"],url:["red/600","red/400"],variable:["red/600","red/400"]}};function V(e){return!!(e&&"object"==typeof e&&!Array.isArray(e))}function G(...e){let t=e.filter(Boolean);return 0===t.length?{}:t.reduce(W,{})}function W(e,t){for(let n of Object.keys(t)){let r=e[n],i=t[n];V(r)&&V(i)?e[n]=G(r,i):e[n]=i}return e}function Y(e,t){let{scheme:n}=e,r={};for(let e of R)r[e]=function(e,t){let{scheme:n,tone:r}=e,i=t?.color?.base?.[r],o={hue:i?._hue||"gray",scheme:n};return{_blend:(i?._blend||["multiply","screen"])[+("light"!==n)],_dark:"dark"===n,accent:{fg:H(o,i?.accent?.fg)},avatar:K({scheme:n},i),backdrop:H(o,i?.backdrop),badge:X(i?.badge,{scheme:n},t),bg:H(o,i?.bg),border:H(o,i?.border),button:function(e,t){let{scheme:n,tone:r}=e,i={};for(let e of M)i[e]=function(e,t){let{cardTone:n,mode:r,scheme:i}=e,o={};for(let e of j)o[e]=function(e,t){let{cardTone:n,mode:r,scheme:i,tone:o}=e,a={};for(let e of N)a[e]=function(e,t){let{cardTone:n,mode:r,tone:i,scheme:o,state:a}=e,s=t?.color?.base?.[n],l=t?.color?.button?.[r]?.[i]?.[a],u=l?._hue||s?._hue||"gray",c=l?._blend||["screen","multiply"],d={hue:u,scheme:o};return{_blend:c[+("light"!==o)],accent:{fg:H(d,l?.accent?.fg)},avatar:K({scheme:o},l),badge:X(l?.badge,{scheme:o},t),bg:H(d,l?.bg),border:H(d,l?.border),code:{bg:H(d,l?.code?.bg),fg:H(d,l?.code?.fg)},fg:H(d,l?.fg),icon:H(d,l?.icon),muted:{bg:H(d,l?.muted?.bg),fg:H(d,l?.muted?.fg)},kbd:{bg:H(d,l?.kbd?.bg),fg:H(d,l?.kbd?.fg),border:H(d,l?.kbd?.border)},link:{fg:H(d,l?.link?.fg)},skeleton:{from:H(d,l?.skeleton?.from),to:H(d,l?.skeleton?.to)}}}({cardTone:n,mode:r,tone:o,scheme:i,state:e},t);return a}({cardTone:n,mode:r,scheme:i,tone:e},t);return o}({cardTone:r,scheme:n,mode:e},t);return i}({scheme:n,tone:r},t),code:{bg:H(o,i?.code?.bg),fg:H(o,i?.code?.fg)},fg:H(o,i?.fg),focusRing:H(o,i?.focusRing),icon:H(o,i?.icon),input:function(e,t){let{scheme:n,tone:r}=e;return{default:J({mode:"default",scheme:n,tone:r},t),invalid:J({mode:"invalid",scheme:n,tone:r},t)}}({scheme:n,tone:r},t),kbd:{bg:H(o,i?.kbd?.bg),fg:H(o,i?.kbd?.fg),border:H(o,i?.kbd?.border)},link:{fg:H(o,i?.link?.fg)},muted:{bg:H(o,i?.muted?.bg),fg:H(o,i?.muted?.fg)},selectable:function(e,t){let{scheme:n,tone:r}=e,i={};for(let e of j)i[e]=function(e,t){let{cardTone:n,scheme:r,tone:i}=e,o={};for(let e of N)o[e]=function(e,t){let{cardTone:n,scheme:r,state:i,tone:o}=e,a=t?.color?.base?.[n],s=t?.color?.selectable?.[o]?.[i],l=s?._hue||a?._hue||"gray",u=s?._blend||["screen","multiply"],c={hue:l,scheme:r};return{_blend:u[+("light"!==r)],accent:{fg:H(c,s?.accent?.fg)},avatar:K({scheme:r},s),badge:X(s?.badge,{scheme:r},t),bg:H(c,s?.bg),border:H(c,s?.border),code:{bg:H(c,s?.code?.bg),fg:H(c,s?.code?.fg)},fg:H(c,s?.fg),icon:H(c,s?.icon),muted:{bg:H(c,s?.muted?.bg),fg:H(c,s?.muted?.fg)},kbd:{bg:H(c,s?.kbd?.bg),fg:H(c,s?.kbd?.fg),border:H(c,s?.kbd?.border)},link:{fg:H(c,s?.link?.fg)},skeleton:{from:H(c,s?.skeleton?.from),to:H(c,s?.skeleton?.to)}}}({cardTone:n,tone:i,scheme:r,state:e},t);return o}({cardTone:r,scheme:n,tone:e},t);return i}({scheme:n,tone:r},t),shadow:function(e,t){let{scheme:n,tone:r}=e,i=t?.color?.base?.[r],o={hue:i?._hue||"gray",scheme:n};return{outline:H(o,i?.shadow?.outline),umbra:H(o,i?.shadow?.umbra),penumbra:H(o,i?.shadow?.penumbra),ambient:H(o,i?.shadow?.ambient)}}
34({scheme:n,tone:r},t),skeleton:{from:H(o,i?.skeleton?.from),to:H(o,i?.skeleton?.to)},syntax:function(e,t){let{scheme:n}=e,r=t?.color?.syntax,i={hue:"gray",scheme:n};return{atrule:H(i,r?.atrule),attrName:H(i,r?.attrName),attrValue:H(i,r?.attrValue),attribute:H(i,r?.attribute),boolean:H(i,r?.boolean),builtin:H(i,r?.builtin),cdata:H(i,r?.cdata),char:H(i,r?.char),class:H(i,r?.class),className:H(i,r?.className),comment:H(i,r?.comment),constant:H(i,r?.constant),deleted:H(i,r?.deleted),doctype:H(i,r?.doctype),entity:H(i,r?.entity),function:H(i,r?.function),hexcode:H(i,r?.hexcode),id:H(i,r?.id),important:H(i,r?.important),inserted:H(i,r?.inserted),keyword:H(i,r?.keyword),number:H(i,r?.number),operator:H(i,r?.operator),prolog:H(i,r?.prolog),property:H(i,r?.property),pseudoClass:H(i,r?.pseudoClass),pseudoElement:H(i,r?.pseudoElement),punctuation:H(i,r?.punctuation),regex:H(i,r?.regex),selector:H(i,r?.selector),string:H(i,r?.string),symbol:H(i,r?.symbol),tag:H(i,r?.tag),unit:H(i,r?.unit),url:H(i,r?.url),variable:H(i,r?.variable)}}({scheme:n},t)}}({scheme:n,tone:e},t);return r}function K(e,t){let{scheme:n}=e;return{gray:Z({color:"gray",scheme:n},t),blue:Z({color:"blue",scheme:n},t),purple:Z({color:"purple",scheme:n},t),magenta:Z({color:"magenta",scheme:n},t),red:Z({color:"red",scheme:n},t),orange:Z({color:"orange",scheme:n},t),yellow:Z({color:"yellow",scheme:n},t),green:Z({color:"green",scheme:n},t),cyan:Z({color:"cyan",scheme:n},t)}}function Z(e,t){let{color:n,scheme:r}=e,i=t?.avatar?.[n],o={hue:i?._hue||"gray",scheme:r};return{_blend:(i?._blend||["screen","multiply"])[+("light"!==r)],bg:H(o,i?.bg),fg:H(o,i?.fg)}}function X(e,t,n){let{scheme:r}=t,i={};for(let t of j)i[t]=function(e,t,n){let{scheme:r,tone:i}=t,o=e?.[i],a={hue:o?._hue||n?.color?.base?.[i]?._hue||"gray",scheme:r};return{bg:H(a,o?.bg),fg:H(a,o?.fg),dot:H(a,o?.dot),icon:H(a,o?.icon)}}(e,{scheme:r,tone:t},n);return i}function J(e,t){let{mode:n,scheme:r,tone:i}=e;return{enabled:Q({mode:n,scheme:r,state:"enabled",cardTone:i},t),hovered:Q({mode:n,scheme:r,state:"hovered",cardTone:i},t),readOnly:Q({mode:n,scheme:r,state:"readOnly",cardTone:i},t),disabled:Q({mode:n,scheme:r,state:"disabled",cardTone:i},t)}}function Q(e,t){let{cardTone:n,mode:r,scheme:i,state:o}=e,a=t?.color?.base?.[n],s=t?.color?.input?.[r]?.[o],l=s?._hue||a?._hue||"gray",u=s?._blend||["screen","multiply"],c={hue:l,scheme:i};return{_blend:u[+("light"!==i)],bg:H(c,s?.bg),border:H(c,s?.border),fg:H(c,s?.fg),muted:{bg:H(c,s?.muted?.bg)},placeholder:H(c,s?.placeholder)}}let ee=r.yW;function et(e,t=0,n=1){return Math.min(n,Math.max(t,e))}function en(e,t,n,r,i){var o;return n*(1-(o=et((i-e)/(t-e))))+r*o}function er(e){return Math.round(e)}function ei(e){if(4===e.length){let t=e.slice(1,2),n=e.slice(2,3),r=e.slice(3,4);return{r:parseInt(t+t,16),g:parseInt(n+n,16),b:parseInt(r+r,16)}}return{r:parseInt(e.slice(1,3),16),g:parseInt(e.slice(3,5),16),b:parseInt(e.slice(5,7),16)}}function eo(e){let t=er(et(Math.round(e.r),0,255)),n=er(et(Math.round(e.g),0,255)),r=er(et(Math.round(e.b),0,255));return"a"in e?`rgba(${t},${n},${r},${e.a})`:"#"+(0x1000000+(t<<16)+(n<<8)+r).toString(16).slice(1)}let ea=/hsl\(\s*(\d+)\s*,\s*((\d+(?:\.\d+)?)%)\s*,\s*((\d+(?:\.\d+)?)%)\s*\)/i;function es(e){var t;if(!e)return{r:0,g:0,b:0};if("string"!=typeof e)throw Error("parseColor: expected a string");if("#"===e[0]&&(4===e.length||7===e.length)&&function(e){for(let t of e)if(-1==="0123456789ABCDEFabcdef".indexOf(t))return!1;return!0}(e.slice(1)))return ei(e);if(e.startsWith("hsl(")){let n,r,i,o,a,s,l,u;return n=(t=function(e){let t=ea.exec(e);if(!t)throw Error(`parseHsl: string is not a HSL color: "${e}"`);return{h:parseInt(t[1]),s:parseFloat(t[3]),l:parseFloat(t[5])}}(e)).s/100,o=(i=(1-Math.abs(2*(r=t.l/100)-1))*n)*(1-Math.abs(t.h/60%2-1)),a=r-i/2,s=0,l=0,u=0,0<=t.h&&t.h<60?(s=i,l=o,u=0):60<=t.h&&t.h<120?(s=o,l=i,u=0):120<=t.h&&t.h<180?(s=0,l=i,u=o):180<=t.h&&t.h<240?(s=0,l=o,u=i):240<=t.h&&t.h<300?(s=o,l=0,u=i):300<=t.h&&t.h<360&&(s=i,l=0,u=o),{r:Math.round((s+a)*255),g:Math.round((l+a)*255),b:Math.round((u+a)*255)}}if(e.startsWith("rgba(")){let t;return{r:parseInt((t=e.replace(/rgba\(|\)/g,"").split(","))[0]),g:parseInt(t[1]),b:parseInt(t[2]),a:parseFloat(t[3])}}throw Error(`parseColor: unexpected color format: "${e}"`)}let el=[0,255];function eu(e,t){var n,r,i,o,a,s,l,u,c;let d,{bg:f,blendMode:h,colorPalette:p}=t;if("white"===f)throw Error("Cannot blend with white background");let g=z(e);
34if(!g||"color"!==g.type)throw Error(`Invalid color token value: ${e}`);let m="";if("black"===g.key&&(m=ec(p.black)),"white"===g.key&&(m=ec(p.white)),g.hue&&g.tint&&(m=ec(p[g.hue][g.tint])),!m)throw Error(`Invalid color token value: ${e}`);let y=m,b={blendMode:h,bg:f,black:ec(p.black),white:ec(p.white)};try{if(m=function(e,t){var n,r,i,o,a,s;let{blendMode:l}=t,u=es(e),c=es(t.black),d=es(t.white),f=t.bg?es(t.bg):"multiply"===l?d:c,h={r:[c.r,d.r],g:[c.g,d.g],b:[c.b,d.b]},p={r:et(en(...h.r,...el,f.r),...el),g:et(en(...h.g,...el,f.g),...el),b:et(en(...h.b,...el,f.b),...el)},g={r:et(en(...h.r,...el,u.r),...el),g:et(en(...h.g,...el,u.g),...el),b:et(en(...h.b,...el,u.b),...el)},m="multiply"===l?{r:255*(p.r/255*(g.r/255)),g:255*(p.g/255*(g.g/255)),b:255*(p.b/255*(g.b/255))}:{r:255*((n=p.r/255)+(r=g.r/255)-n*r),g:255*((i=p.g/255)+(o=g.g/255)-i*o),b:255*((a=p.b/255)+(s=g.b/255)-a*s)};return eo({r:et(en(...el,...h.r,m.r),...h.r),g:et(en(...el,...h.g,m.g),...h.g),b:et(en(...el,...h.b,m.b),...h.b)})}(m,b),f&&void 0!==g.mix){let e=ei(f),t=ei(m);m=eo((n=g.mix,{r:(r=e.r,i=t.r,r+(i-r)*n),g:(o=e.g,a=t.g,o+(a-o)*n),b:(s=e.b,l=t.b,s+(l-s)*n)}))}}catch(e){throw console.warn("could not blend",m,b),e}return"#aN"===m&&(console.warn(`invalid color token value: ${e}`),m=y),void 0!==g.opacity&&(u=m,c=g.opacity,d=es(u),m=`rgba(${d.r},${d.g},${d.b},${c})`),m}function ec(e){return"string"==typeof e?e:e.hex}function ed(e,t){let n=Object.entries(t),[,r]=n.find(([e])=>"transparent"===e),[,i]=n.find(([e])=>"default"===e),o=ef(r,{colorPalette:e}),a=ef(i,{colorPalette:e}),s=a.bg;if("white"===s)throw Error("Cannot blend with white background");return Object.fromEntries([["transparent",o],["default",a],...n.filter(([e])=>"default"!==e&&"transparent"!==e).map(([t,n])=>[t,ef(n,{bg:s,colorPalette:e})])])}function ef(e,t){var n,r,i,o;let{colorPalette:a,bg:s}=t,l=e._blend||"multiply",u=eu(e.bg,{colorPalette:a,bg:s,blendMode:l}),c={colorPalette:a,bg:u,blendMode:l},d=(n=e.button,r={baseBg:u,blendMode:l,colorPalette:a},{default:eg(n.default,r),ghost:eg(n.ghost,r),bleed:eg(n.bleed,r)}),f=function(e,t){let n={};for(let o of j){var r,i;n[o]=(r=e[o],i=t,{enabled:em(r.enabled,i),hovered:em(r.hovered,i),pressed:em(r.pressed,i),selected:em(r.selected,i),disabled:em(r.disabled,i)})}return n}(e.selectable,{colorPalette:a,baseBg:u,blendMode:l}),h={outline:eu(e.shadow.outline,c),umbra:eu(e.shadow.umbra,{...c,bg:void 0,colorPalette:{...a,black:"#000000"}}),penumbra:eu(e.shadow.penumbra,{...c,bg:void 0,colorPalette:{...a,black:"#000000"}}),ambient:eu(e.shadow.ambient,{...c,bg:void 0,colorPalette:{...a,black:"#000000"}})};return{_blend:l,_dark:e._dark,accent:{fg:eu(e.accent.fg,c)},avatar:eh(e.avatar,{baseBg:u,colorPalette:a,blendMode:l}),backdrop:eu(e.backdrop,c),badge:ep(e.badge,{baseBg:u,colorPalette:a,blendMode:l}),bg:u,border:eu(e.border,c),button:d,code:{bg:eu(e.code.bg,c),fg:eu(e.code.fg,c)},fg:eu(e.fg,c),focusRing:eu(e.focusRing,c),icon:eu(e.icon,c),input:(i=e.input,o={baseBg:u,colorPalette:a,blendMode:l},{default:ey(i.default,o),invalid:ey(i.invalid,o)}),kbd:function(e,t){let{baseBg:n,blendMode:r,colorPalette:i}=t,o=eu(e.bg,{bg:n,blendMode:r,colorPalette:i}),a={bg:o,blendMode:r,colorPalette:i};return{bg:o,fg:eu(e.fg,a),border:eu(e.border,a)}}(e.kbd,{baseBg:u,colorPalette:a,blendMode:l}),link:{fg:eu(e.link.fg,c)},muted:{bg:eu(e.muted.bg,c),fg:eu(e.muted.fg,c)},shadow:h,skeleton:{from:eu(e.skeleton.from,c),to:eu(e.skeleton.to,c)},syntax:function(e,t){let{colorPalette:n,baseBg:r,blendMode:i}=t,o={colorPalette:n,bg:r,blendMode:i};return{atrule:eu(e.atrule,o),attrName:eu(e.attrName,o),attrValue:eu(e.attrValue,o),attribute:eu(e.attribute,o),boolean:eu(e.boolean,o),builtin:eu(e.builtin,o),cdata:eu(e.cdata,o),char:eu(e.char,o),class:eu(e.class,o),className:eu(e.className,o),comment:eu(e.comment,o),constant:eu(e.constant,o),deleted:eu(e.deleted,o),doctype:eu(e.doctype,o),entity:eu(e.entity,o),function:eu(e.function,o),hexcode:eu(e.hexcode,o),id:eu(e.id,o),important:eu(e.important,o),inserted:eu(e.inserted,o),keyword:eu(e.keyword,o),number:eu(e.number,o),operator:eu(e.operator,o),prolog:eu(e.prolog,o),property:eu(e.property,o),pseudoClass:eu(e.pseudoClass,o),pseudoElement:eu(e.pseudoElement,o),punctuation:eu(e.punctuation,o),regex:eu(e.regex,o),selector:eu(e.selector,o),string:eu(e.string,o),symbol:eu(e.symbol,o),tag:eu(e.tag,o),unit:eu(e.unit,o),url:eu
34(e.url,o),variable:eu(e.variable,o)}}(e.syntax,{baseBg:u,colorPalette:a,blendMode:l}),selectable:f}}function eh(e,t){let n={};for(let i of r.Cv)n[i]=function(e,t){let{baseBg:n,blendMode:r,colorPalette:i}=t,o=e._blend||"multiply",a=eu(e.bg,{bg:n,blendMode:r,colorPalette:i});return{_blend:o,bg:a,fg:eu(e.fg,{bg:a,blendMode:o,colorPalette:i})}}(e[i],t);return n}function ep(e,t){let n={};for(let r of j)n[r]=function(e,t){let{baseBg:n,blendMode:r,colorPalette:i}=t,o=eu(e.bg,{bg:n,blendMode:r,colorPalette:i}),a={bg:o,blendMode:r,colorPalette:i};return{bg:o,dot:eu(e.dot,a),fg:eu(e.fg,a),icon:eu(e.icon,a)}}(e[r],t);return n}function eg(e,t){let n={};for(let o of j){var r,i;n[o]=(r=e[o],i=t,{enabled:em(r.enabled,i),hovered:em(r.hovered,i),pressed:em(r.pressed,i),selected:em(r.selected,i),disabled:em(r.disabled,i)})}return n}function em(e,t){let{baseBg:n,blendMode:r,colorPalette:i}=t,o=e._blend||"multiply",a=eu(e.bg,{bg:n,blendMode:r,colorPalette:i}),s={bg:a,blendMode:o,colorPalette:i};return{_blend:o,accent:{fg:eu(e.accent.fg,s)},avatar:eh(e.avatar,{baseBg:a,colorPalette:i,blendMode:o}),badge:ep(e.badge,{baseBg:a,colorPalette:i,blendMode:o}),bg:a,border:eu(e.border,s),code:{bg:eu(e.code.bg,s),fg:eu(e.code.fg,s)},fg:eu(e.fg,s),icon:eu(e.icon,s),link:{fg:eu(e.link.fg,s)},muted:{bg:eu(e.muted.bg,s),fg:eu(e.muted.fg,s)},kbd:{bg:eu(e.kbd.bg,s),fg:eu(e.kbd.fg,s),border:eu(e.kbd.border,s)},skeleton:{from:eu(e.skeleton?.from,s),to:eu(e.skeleton?.to,s)}}}function ey(e,t){return{enabled:eb(e.enabled,t),hovered:eb(e.hovered,t),readOnly:eb(e.readOnly,t),disabled:eb(e.disabled,t)}}function eb(e,t){let{baseBg:n,blendMode:r,colorPalette:i}=t,o=e._blend||"multiply",a=eu(e.bg,{colorPalette:i,bg:n,blendMode:r}),s={colorPalette:i,bg:a,blendMode:o};return{_blend:o,bg:a,border:eu(e.border,s),fg:eu(e.fg,s),muted:{bg:eu(e.muted.bg,s)},placeholder:eu(e.placeholder,s)}}function ev(e){var t;let n,m,y,b=(t=e,{light:Y({scheme:"light"},m={color:{base:function(e){let t={};for(let n of R)t[n]=function(e,t){let n=G(e?.base?.["*"],e?.base?.[t]),i=n._hue||e?.base?.[t]?._hue||"gray";return{...n,_hue:i,avatar:r.Cv.reduce((e,t)=>({...e,[t]:G({_hue:t},n.avatar?.["*"],n.avatar?.[t])}),{}),badge:j.reduce((t,r)=>({...t,[r]:{_hue:e?.base?.[r]?._hue||i,...n.badge?.["*"],...n.badge?.[r]}}),{})}}(e,n);return t}(n=G(q,t?.color)),button:function(e){let t={};for(let n of M)t[n]=function(e,t){let n={};for(let i of j)n[i]=function(e,t,n){let i={};for(let o of N)i[o]=function(e,t,n,i){let o=G(e?.button?.[n]?.["*"]?.["*"],e?.button?.[n]?.[t]?.["*"],e?.button?.[n]?.["*"]?.[i],e?.button?.[n]?.[t]?.[i]),a=o._hue||e?.base?.[t]?._hue;return{...o,_hue:a,avatar:r.Cv.reduce((e,t)=>({...e,[t]:G({_hue:t},o.avatar?.["*"],o.avatar?.[t])}),{}),badge:j.reduce((t,n)=>({...t,[n]:{_hue:e?.base?.[n]?._hue||a,...o.badge?.["*"],...o.badge?.[n]}}),{})}}(e,n,t,o);return i}(e,t,i);return n}(e,n);return t}(n),input:function(e){let t={};for(let n of F)t[n]=function(e,t){let n={};for(let r of $)n[r]=function(e,t,n){let r=G(e?.input?.["*"]?.["*"],e?.
34input?.[t]?.["*"],e?.input?.["*"]?.[n],e?.input?.[t]?.[n]),i=r._hue||e?.input?.[t]?._hue;return{...r,_hue:i}}(e,t,r);return n}(e,n);return t}(n),selectable:function(e){let t={};for(let n of j)t[n]=function(e,t){let n={_hue:e?.selectable?.[t]?._hue||e?.base?.[t]?._hue};for(let i of N)n[i]=function(e,t,n){let i=G(e?.selectable?.["*"]?.["*"],e?.selectable?.[t]?.["*"],e?.selectable?.["*"]?.[n],e?.selectable?.[t]?.[n]),o=i._hue||e?.base?.[t]?._hue;return{...i,_hue:o,avatar:r.Cv.reduce((e,t)=>({...e,[t]:G({_hue:t},i.avatar?.["*"],i.avatar?.[t])}),{}),badge:j.reduce((t,n)=>({...t,[n]:{_hue:e?.base?.[n]?._hue||o,...i.badge?.["*"],...i.badge?.[n]}}),{})}}(e,t,i);return n}(e,n);return t}(n),syntax:n.syntax}}),dark:Y({scheme:"dark"},m)});return C({_version:2,avatar:e?.avatar??i,button:e?.button??o,card:e?.card??a,color:{light:ed(y=e?.palette??ee,b.light),dark:ed(y,b.dark)},container:e?.container??s,font:e?.font??g,input:e?.input??h,layer:e?.layer??u,media:e?.media??l,radius:e?.radius??c,shadow:e?.shadow??d,space:e?.space??f,style:e?.style??p})}let ew=new Map;function e_(e,t,n){var r,s,l,c,d;let f,p=function(e,t,n){let r=ew.get(t);if(!r)return;let i=r.get(n);if(i)return i.get(e)}(e,t,n);if(p)return p;let g=E(e)?C(e):e,m=E(e)?e:function(e){if(e.v2)return e.v2;let t=A.get(e);if(t)return t;let{avatar:n,button:r,color:s,container:l,fonts:c,input:d,layer:f,media:p,radius:g,shadows:m,space:b,styles:v}=e,w={_version:2,avatar:{...i,...n},button:{...o,...r},card:a,color:{light:{transparent:y(s.light.transparent),default:y(s.light.default),neutral:y(s.light.transparent),primary:y(s.light.primary),suggest:y(s.light.primary),positive:y(s.light.positive),caution:y(s.light.caution),critical:y(s.light.critical)},dark:{transparent:y(s.dark.transparent),default:y(s.dark.default),neutral:y(s.dark.transparent),primary:y(s.dark.primary),suggest:y(s.dark.primary),positive:y(s.dark.positive),caution:y(s.dark.caution),critical:y(s.dark.critical)}},container:l,font:c,input:{...h,...d,checkbox:{...h.checkbox,...d.checkbox},radio:{...h.radio,...d.radio},switch:{...h.switch,...d.switch}},layer:f??u,media:p,radius:g,shadow:m,space:b,style:v};return A.set(e,w),w}(e),b=g.color[t]||g.color.light,v=b[n]||b.default,w=g.layer||u,_=m.color[t]||m.color.light,x="neutral"in(r=_[n]||_.default).badge?r:{...r,badge:{...r.badge,neutral:r.badge.default,suggest:r.badge.primary},button:{bleed:{...r.button.bleed,neutral:r.button.bleed.default,suggest:r.button.bleed.primary},default:{...r.button.default,neutral:r.button.default.default,suggest:r.button.default.primary},ghost:{...r.button.ghost,neutral:r.button.ghost.default,suggest:r.button.ghost.primary}},selectable:{...r.selectable,neutral:r.selectable.default,suggest:r.selectable.primary}},k=m.layer||u,S={sanity:{...g,color:v,layer:w,v2:{...m,_resolved:!0,color:x,layer:k}}};return s=e,l=t,c=n,d=S,ew.has(l)||ew.set(l,new Map),(f=ew.get(l)).has(c)||f.set(c,new WeakMap),f.get(c).set(s,d),S}},76537:(e,t,n)=>{var r=n(29822),i=n(18610);e.exports=function(e,t,n){var o=!0,a=!0;if("function"!=typeof e)throw TypeError("Expected a function");return i(n)&&(o="leading"in n?!!n.leading:o,a="trailing"in n?!!n.trailing:a),r(e,t,{leading:o,maxWait:t,trailing:a})}},76922:(e,t,n)=>{e.exports=n(68649)(n(50994),"Set")},77408:(e,t,n)=>{"use strict";n.d(t,{w:()=>d});var r=n(49303),i=n(90240),o=n(79619),a=n(77973),s=n(71361),l=n(99937),u=n(36171),c=n(15940);function d(e){for(var t,n,d=[],f=1;f<arguments.length;f++)d[f-1]=arguments[f];var h=null!=(t=(0,u.lI)(d))?t:l.E,p=null!=(n=d[0])?n:null,g=d[1]||1/0;return(0,o.N)(function(t,n){var o=[],l=!1,u=function(e){var t=e.buffer;e.subs.unsubscribe(),(0,s.o)(o,e),n.next(t),l&&d()},d=function(){if(o){var t=new i.yU;n.add(t);var r={buffer:[],subs:t};o.push(r),(0,c.N)(t,h,function(){return u(r)},e)}};null!==p&&p>=0?(0,c.N)(n,h,d,p,!0):l=!0,d();var f=(0,a._)(n,function(e){var t,n,i=o.slice();try{for(var a=(0,r.Ju)(i),s=a.next();!s.done;s=a.next()){var l=s.value,c=l.buffer;c.push(e),g<=c.length&&u(l)}}catch(e){t={error:e}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}},function(){for(;null==o?void 0:o.length;)n.next(o.shift().buffer);null==f||f.unsubscribe(),n.complete(),n.unsubscribe()},void 0,function(){return o=null});t.subscribe(f)})}},77494:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(e){return null!=e&&"object"==typeof e}},77606:(e,t,n)=>{"use strict";n.d(t,{A:()=>
34o});var r=n(36958),i=n(33761);let o=function(e,t,n){var o=!0,a=!0;if("function"!=typeof e)throw TypeError("Expected a function");return(0,i.A)(n)&&(o="leading"in n?!!n.leading:o,a="trailing"in n?!!n.trailing:a),(0,r.A)(e,t,{leading:o,maxWait:t,trailing:a})}},77650:(e,t,n)=>{"use strict";let r=n(79177);e.exports=(e,t,n,i,o)=>{"string"==typeof n&&(o=i,i=n,n=void 0);try{return new r(e instanceof r?e.version:e,n).inc(t,i,o).version}catch(e){return null}}},77845:(e,t,n)=>{var r=n(20905),i=n(35799),o=n(92116),a=n(84441),s=n(54255),l=n(55726),u=n(97154);e.exports=function(e,t){return a(e)&&s(t)?l(u(e),t):function(n){var a=i(n,e);return void 0===a&&a===t?o(n,e):r(t,a,3)}}},77928:(e,t,n)=>{"use strict";let r;n.d(t,{xC:()=>v,r9:()=>g,Bd:()=>b});var i=n(12115);n(5504),Object.create(null);let o={},a=(e,t,n,r)=>{c(n)&&o[n]||(c(n)&&(o[n]=new Date),((e,t,n,r)=>{let i=[n,{code:t,...r||{}}];if(e?.services?.logger?.forward)return e.services.logger.forward(i,"warn","react-i18next::",!0);c(i[0])&&(i[0]=`react-i18next:: ${i[0]}`),e?.services?.logger?.warn?e.services.logger.warn(...i):console?.warn&&console.warn(...i)})(e,t,n,r))},s=(e,t)=>()=>{if(e.isInitialized)t();else{let n=()=>{setTimeout(()=>{e.off("initialized",n)},0),t()};e.on("initialized",n)}},l=(e,t,n)=>{e.loadNamespaces(t,s(e,n))},u=(e,t,n,r)=>{if(c(n)&&(n=[n]),e.options.preload&&e.options.preload.indexOf(t)>-1)return l(e,n,r);n.forEach(t=>{0>e.options.ns.indexOf(t)&&e.options.ns.push(t)}),e.loadLanguages(t,s(e,r))},c=e=>"string"==typeof e,d=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,f={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"\xa9","&#169;":"\xa9","&reg;":"\xae","&#174;":"\xae","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},h=e=>f[e],p={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:e=>e.replace(d,h)},g={type:"3rdParty",init(e){((e={})=>{p={...p,...e}})(e.options.react),r=e}},m=(0,i.createContext)();class y{constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach(e=>{this.usedNamespaces[e]||(this.usedNamespaces[e]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}let b=(e,t={})=>{var n,o,s,d;let f,{i18n:h}=t,{i18n:g,defaultNS:b}=(0,i.useContext)(m)||{},v=h||g||r;if(v&&!v.reportNamespaces&&(v.reportNamespaces=new y),!v){a(v,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");let e=(e,t)=>c(t)?t:"object"==typeof t&&null!==t&&c(t.defaultValue)?t.defaultValue:Array.isArray(e)?e[e.length-1]:e,t=[e,{},!1];return t.t=e,t.i18n={},t.ready=!1,t}v.options.react?.wait&&a(v,"DEPRECATED_OPTION","useTranslation: It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");let w={...p,...v.options.react,...t},{useSuspense:_,keyPrefix:x}=w,k=e||b||v.options?.defaultNS;k=c(k)?[k]:k||["translation"],v.reportNamespaces.addUsedNamespaces?.(k);let E=(v.isInitialized||v.initializedStoreOnce)&&k.every(e=>((e,t,n={})=>t.languages&&t.languages.length?t.hasLoadedNamespace(e,{lng:n.lng,precheck:(t,r)=>{if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!r(t.isLanguageChangingTo,e))return!1}}):(a(t,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:t.languages}),!0))(e,v,w)),A=(n=t.lng||null,o="fallback"===w.nsMode?k:k[0],(0,i.useCallback)(v.getFixedT(n,o,x),[v,n,o,x])),S=()=>A,C=()=>{let e,n;return e=t.lng||null,n="fallback"===w.nsMode?k:k[0],v.getFixedT(e,n,x)},[O,T]=(0,i.useState)(S),D=k.join();t.lng&&(D=`${t.lng}${D}`);let I=(s=D,f=(0,i.useRef)(),(0,i.useEffect)(()=>{f.current=d?f.current:s},[s,d]),f.current),R=(0,i.useRef)(!0);(0,i.useEffect)(()=>{let{bindI18n:e,bindI18nStore:n}=w;R.current=!0,E||_||(t.lng?u(v,t.lng,k,()=>{R.current&&T(C)}):l(v,k,()=>{R.current&&T(C)})),E&&I&&I!==D&&R.current&&T(C);let r=()=>{R.current&&T(C)};return e&&v?.on(e,r),n&&v?.store.on(n,r),()=>
34{R.current=!1,v&&e&&e?.split(" ").forEach(e=>v.off(e,r)),n&&v&&n.split(" ").forEach(e=>v.store.off(e,r))}},[v,D]),(0,i.useEffect)(()=>{R.current&&E&&T(S)},[v,x,E]);let j=[O,v,E];if(j.t=O,j.i18n=v,j.ready=E,E||!E&&!_)return j;throw new Promise(e=>{t.lng?u(v,t.lng,k,()=>e()):l(v,k,()=>e())})};function v({i18n:e,defaultNS:t,children:n}){let r=(0,i.useMemo)(()=>({i18n:e,defaultNS:t}),[e,t]);return(0,i.createElement)(m.Provider,{value:r},n)}},77989:(e,t,n)=>{"use strict";n.d(t,{Cg:()=>o,F6:()=>u,Nw:()=>l,_P:()=>c,_m:()=>s,my:()=>r,s0:()=>a,w4:()=>i});let r=6048e5,i=864e5,o=6e4,a=36e5,s=1e3,l=43200,u=1440,c=Symbol.for("constructDateFrom")},78062:(e,t,n)=>{"use strict";n.d(t,{c:()=>a});var r=n(99937),i=n(62595),o=n(31562);function a(e,t,n){void 0===t&&(t=r.E);var a=(0,o.O)(e,t);return(0,i.n)(function(){return a},n)}},78261:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(74548),i=n(51603);let o=(0,r.A)(i.A,"Set")},78440:(e,t,n)=>{var r=n(71144),i=n(21991),o=n(69232);e.exports=function(e,t,n,a,s,l){var u=1&n,c=e.length,d=t.length;if(c!=d&&!(u&&d>c))return!1;var f=l.get(e),h=l.get(t);if(f&&h)return f==t&&h==e;var p=-1,g=!0,m=2&n?new r:void 0;for(l.set(e,t),l.set(t,e);++p<c;){var y=e[p],b=t[p];if(a)var v=u?a(b,y,p,t,e,l):a(y,b,p,e,t,l);if(void 0!==v){if(v)continue;g=!1;break}if(m){if(!i(t,function(e,t){if(!o(m,t)&&(y===e||s(y,e,n,a,l)))return m.push(t)})){g=!1;break}}else if(!(y===b||s(y,b,n,a,l))){g=!1;break}}return l.delete(e),l.delete(t),g}},78480:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(i);++r<i;)o[r]=e[r+t];return o}},78823:e=>{e.exports=function(e){return e}},78940:(e,t,n)=>{"use strict";n.d(t,{X:()=>i});var r=n(92477);function i(e,t,n){let i=(0,r.a)(e,n?.in);return i.setDate(t),i}},79044:(e,t,n)=>{"use strict";let r=n(76277);e.exports=(e,t)=>{let n=r(e,t);return n&&n.prerelease.length?n.prerelease:null}},79160:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},79177:(e,t,n)=>{"use strict";let r=n(74317),{MAX_LENGTH:i,MAX_SAFE_INTEGER:o}=n(18559),{safeRe:a,t:s}=n(83899),l=n(97230),{compareIdentifiers:u}=n(5942);class c{constructor(e,t){if(t=l(t),e instanceof c)if(!!t.loose===e.loose&&!!t.includePrerelease===e.includePrerelease)return e;else e=e.version;else if("string"!=typeof e)throw TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>i)throw TypeError(`version is longer than ${i} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const n=e.trim().match(t.loose?a[s.LOOSE]:a[s.FULL]);if(!n)throw TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>o||this.major<0)throw TypeError("Invalid major version");if(this.minor>o||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>o||this.patch<0)throw TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(e=>{if(/^[0-9]+$/.test(e)){let t=+e;if(t>=0&&t<o)return t}return e}):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(r("SemVer.compare",this.version,this.options,e),!(e instanceof c)){if("string"==typeof e&&e===this.version)return 0;e=new c(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return(e instanceof c||(e=new c(e,this.options)),this.major<e.major)?-1:this.major>e.major?1:this.minor<e.minor?-1:this.minor>e.minor?1:this.patch<e.patch?-1:+(this.patch>e.patch)}comparePre(e){if(e instanceof c||(e=new c(e,this.options)),this.prerelease.length&&!e.prerelease.length)return -1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{let n=this.prerelease[t],i=e.prerelease[t];if(r("prerelease compare",t,n,i),void 0===n&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===n)return -1;else if(n===i)continue;else return u(n,i)}while(++t)}compareBuild(e){e instanceof c||(e=new c(e,this.options));let t=0;do{let n=this.build[t],i=e.build[t];if(r("build compare",t,n,i),void 0===n&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===n)return -1;else if(n===i)continue;else return u(n,i)}while(++t)}inc(e,t,n){if(e.startsWith("pre")){if(!t&&!1===n)throw Error("invalid increment argument: identifier is empty");if(t){let e=`-${t}`.match(this.options.loose?a[s.PRERELEASELOOSE]:a[s.PRERELEASE]);if(!e||e[1]!==t)throw Error(`invalid identifier: ${t}`)}}switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t,n);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t,n);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t,n),this.inc("pre",t,n);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t,n),this.inc("pre",t,n);break;case"release":if(0===this.prerelease.length)throw Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":(0!==this.minor||0!==this.patch||0===this.prerelease.length)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(0!==this.patch||0===this.prerelease.length)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":{let e=+!!Number(n);if(0===this.prerelease.length)this.prerelease=[e];else{let r=this.prerelease.length;for(;--r>=0;)"number"==typeof this.prerelease[r]&&(this.prerelease[r]++,r=-2);
34if(-1===r){if(t===this.prerelease.join(".")&&!1===n)throw Error("invalid increment argument: identifier already exists");this.prerelease.push(e)}}if(t){let r=[t,e];!1===n&&(r=[t]),0===u(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=r):this.prerelease=r}break}default:throw Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}e.exports=c},79218:(e,t,n)=>{"use strict";let r=n(25092),i=n(35858),o=n(60209),a=n(93916),s=n(85990),l=n(23973);e.exports=(e,t,n,u)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e===n;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e!==n;case"":case"=":case"==":return r(e,n,u);case"!=":return i(e,n,u);case">":return o(e,n,u);case">=":return a(e,n,u);case"<":return s(e,n,u);case"<=":return l(e,n,u);default:throw TypeError(`Invalid operator: ${t}`)}}},79276:(e,t,n)=>{"use strict";n.d(t,{R:()=>i});var r=n(92477);function i(e){return+(0,r.a)(e)<Date.now()}},79305:(e,t,n)=>{"use strict";n.d(t,{p:()=>u});var r=n(33860),i=n(88925);function o(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,..."AggregateError"===e.type&&{is_exception_group:!0},exception_id:t}}function a(e,t,n,r){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:r}}var s=n(90474),l=n(9542);let u=(0,s._C)((e={})=>{let t=e.limit||5,n=e.key||"cause";return{name:"LinkedErrors",preprocessEvent(e,s,u){let c=u.getOptions();!function(e,t,n=250,s,l,u,c){var d,f;if(!u.exception||!u.exception.values||!c||!(0,r.tH)(c.originalException,Error))return;let h=u.exception.values.length>0?u.exception.values[u.exception.values.length-1]:void 0;h&&(u.exception.values=(d=function e(t,n,i,s,l,u,c,d){if(u.length>=i+1)return u;let f=[...u];if((0,r.tH)(s[l],Error)){o(c,d);let r=t(n,s[l]),u=f.length;a(r,l,u,d),f=e(t,n,i,s[l],l,[r,...f],r,u)}return Array.isArray(s.errors)&&s.errors.forEach((s,u)=>{if((0,r.tH)(s,Error)){o(c,d);let r=t(n,s),h=f.length;a(r,`errors[${u}]`,h,d),f=e(t,n,i,s,l,[r,...f],r,h)}}),f}(e,t,l,c.originalException,s,u.exception.values,h,0),f=n,d.map(e=>(e.value&&(e.value=(0,i.xv)(e.value,f)),e))))}(l.K8,c.stackParser,c.maxValueLength,n,t,e,s)}}})},79382:(e,t,n)=>{"use strict";let r;n.d(t,{UL:()=>z,jN:()=>es,Uh:()=>ed,Yh:()=>ea,hF:()=>er,i6:()=>eQ});let i=[0x428a2f98,0x71374491,-0x4a3f0431,-0x164a245b,0x3956c25b,0x59f111f1,-0x6dc07d5c,-0x54e3a12b,-0x27f85568,0x12835b01,0x243185be,0x550c7dc3,0x72be5d74,-0x7f214e02,-0x6423f959,-0x3e640e8c,-0x1b64963f,-0x1041b87a,0xfc19dc6,0x240ca1cc,0x2de92c6f,0x4a7484aa,0x5cb0a9dc,0x76f988da,-0x67c1aeae,-0x57ce3993,-0x4ffcd838,-0x40a68039,-0x391ff40d,-0x2a586eb9,0x6ca6351,0x14292967,0x27b70a85,0x2e1b2138,0x4d2c6dfc,0x53380d13,0x650a7354,0x766a0abb,-0x7e3d36d2,-0x6d8dd37b,-0x5d40175f,-0x57e599b5,-0x3db47490,-0x3893ae5d,-0x2e6d17e7,-0x2966f9dc,-0xbf1ca7b,0x106aa070,0x19a4c116,0x1e376c08,0x2748774c,0x34b0bcb5,0x391c0cb3,0x4ed8aa4a,0x5b9cca4f,0x682e6ff3,0x748f82ee,0x78a5636f,-0x7b3787ec,-0x7338fdf8,-0x6f410006,-0x5baf9315,-0x41065c09,-0x398e870e];class o{constructor(){this.A=0x6a09e667,this.B=-0x4498517b,this.C=0x3c6ef372,this.D=-0x5ab00ac6,this.E=0x510e527f,this.F=-0x64fa9774,this.G=0x1f83d9ab,this.H=0x5be0cd19,this._size=0,this._sp=0,(!r||s>=8e3)&&(r=new ArrayBuffer(8e3),s=0),this._byte=new Uint8Array(r,s,80),this._word=new Int32Array(r,s,20),s+=80}update(e){if("string"==typeof e)return this._utf8(e);if(null==e)throw TypeError("Invalid type: "+typeof e);let t=e.byteOffset,n=e.byteLength,r=n/64|0,i=0;if(r&&!(3&t)&&!(this._size%64)){let n=new Int32Array(e.buffer,t,16*r);for(;r--;)this._int32(n,i>>2),i+=64;this._size+=i}if(1!==e.BYTES_PER_ELEMENT&&e.buffer){let r=new Uint8Array(e.buffer,t+i,n-i);return this._uint8(r)}return i===n?this:this._uint8(e,i)}_uint8(e,t){let{_byte:n,_word:r}=this,i=e.length;for(t|=0;t<i;){let o=this._size%64,a=o;for(;t<i&&a<64;)n[a++]=e[t++];a>=64&&this._int32(r),this._size+=a-o}return this}_utf8(e){let{_byte:t,_word:n}=this,r=e.length,i=this._sp;for(let o=0;o<r;){let a=this._size%64,s=a;for(;o<r&&s<64;){let n=0|e.charCodeAt(o++);n<128?t[s++]=n:n<2048?(t[s++]=192|n>>>6,t[s++]=128|63&n):n<55296||n>57343?(t[s++]=224|n>>>12,t[s++]=128|n>>>6&63,t[s++]=128|63&n):i?(n=((1023&i)<<10)+(1023&n)+65536,t[s++]=240|n>>>18,t[s++]=128|n>>>12&63,t[s++]=128|n>>>6&63,t[s++]=128|63&n,i=0):i=n}s>=64&&(this._int32(n),n[0]=n[16]),this._size+=s-a}return this._sp=i,this}_int32(e,t){let{A:n,B:r,C:o,D:s,E:l,F:m,G:y,H:b}=this,v=0;for(t|=0;v<16;)a[v++]=u(e[t++]);for(v=16;v<64;v++)a[v]=g(a[v-2])+a[v-7]+p(a[v-15])+a[v-16]|0;for(v=0;v<64;v++){let e=b+h(l)+c(l,m,y)+i[v]+a[v]|0,t=f(n)+d(n,r,o)|0;b=y,y=m,m=l,l=s+e|0,s=o,o=r,r=n,n=e+t|0}this.A=n+this.A|0,this.B=r+this.B|0,this.C=o+this.C|0,this.D=s+this.D|0,this.E=l+this.E|0,this.F=m+this.F|0,this.G=y+this.G|0,this.H=b+this.H|0}digest(e){let{_byte:t,_word:n}=this,r=this._size%64|0;for(t[r++]=128;3&r;)t[r++]=0;if((r>>=2)>14){for(;r<16;)n[r++]=0;r=0,this._int32(n)}for(;r<16;)n[r++]=0;let i=8*this._size,o=i>>>0,a=(i-o)/0x100000000;return a&&(n[14]=u(a)),o&&(n[15]=u(o)),this._int32(n),"hex"===e?this._hex():this._bin()}_hex(){let{A:e,B:t,C:n,D:r,E:i,F:o,G:a,H:s}=this;return l(e)+l(t)+l(n)+l(r)+l(i)+l(o)+l(a)+l(s)}
34_bin(){let{A:e,B:t,C:n,D:r,E:i,F:o,G:a,H:s,_byte:l,_word:c}=this;return c[0]=u(e),c[1]=u(t),c[2]=u(n),c[3]=u(r),c[4]=u(i),c[5]=u(o),c[6]=u(a),c[7]=u(s),l.slice(0,32)}}let a=new Int32Array(64),s=0,l=e=>(e+0x100000000).toString(16).substr(-8),u=254===new Uint8Array(new Uint16Array([65279]).buffer)[0]?e=>e:e=>e<<24&0xff000000|e<<8&0xff0000|e>>8&65280|e>>24&255,c=(e,t,n)=>n^e&(t^n),d=(e,t,n)=>e&t|n&(e|t),f=e=>(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10),h=e=>(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7),p=e=>(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3,g=e=>(e>>>17|e<<15)^(e>>>19|e<<13)^e>>>10;function m(e,t){for(let n=0;n<e.length;n++){if(e[n]<t[n])return -1;if(e[n]>t[n])return 1}return 0}function y(e){for(let t=0;t<e.length;t++)if(0!=e[t])return!1;return!0}class b{hash=new o;buffer=new ArrayBuffer(4);rewriteMap;uint8=new Uint8Array(this.buffer);uint8_byte=new Uint8Array(this.buffer,0,1);int32=new Int32Array(this.buffer);constructor(e){this.rewriteMap=e}encodeByte(e){this.uint8_byte[0]=e,this.hash.update(this.uint8_byte)}encodeString(e){this.hash.update(e,"utf8")}encodeInt32(e){if(this.int32[0]=e,this.int32[0]!==e)throw Error("Only 32-bit numbers can be encoded as descriptors");this.hash.update(this.uint8)}encodeValue(e){let t=this.rewriteMap.get(e);if(t){let n=this.encodeValue(t);return n!==t&&this.rewriteMap.set(e,n),n}if(null===e)return this.encodeByte(110),e;if(!0===e)return this.encodeByte(116),e;if(!1===e)return this.encodeByte(102),e;if("string"==typeof e)return this.encodeByte(115),this.encodeString(e),e;if(Array.isArray(e)){let t;this.encodeByte(97);let n=0;for(let r of e){let i=this.encodeValue(r);t?t.push(i):i!==r&&(t=e.slice(0,n)).push(i),n++}return this.encodeByte(65),t||e}{let t=[],n,r=0,i=Object.entries(e);for(let[e,o]of i){if(void 0===o){r++;continue}let a=new b(this.rewriteMap);a.encodeString(e);let s=a.encodeValue(o);if(t.push(a.getDigest()),n)n[e]=s;else if(s!==o){for(let[e,t]of(n={},i.slice(0,r)))n[e]=t;n[e]=s}r++}for(let e of(t.sort((e,t)=>m(e,t)),this.encodeByte(111),t))this.hash.update(e);return this.encodeByte(79),n||e}}encodeObjectWithType(e,t){let n={type:e},r=[];for(let[e,i]of Object.entries(t)){if(void 0===i)continue;let t=new b(this.rewriteMap);t.encodeString(e),n[e]=t.encodeValue(i),r.push(t.getDigest())}let i=new b(this.rewriteMap);for(let t of(i.encodeString("type"),i.encodeValue(e),r.push(i.getDigest()),r.sort((e,t)=>m(e,t)),this.encodeByte(111),r))this.hash.update(t);return this.encodeByte(79),n}getDigest(){return this.hash.digest()}}let v=new Map;function w(e,t,n){let r=new b(n?.rewriteMap||v),i=r.encodeObjectWithType(e,t),o=r.getDigest();return n?.withDigest&&n.withDigest(o),{id:function(e,t=""){let n=t;for(let t=0;t<e.length;t++)n+=String.fromCharCode(e[t]);return"u"+globalThis.btoa(n).replaceAll("+","-").replaceAll("/","_").replaceAll("=","")}(o,"\x12 "),...i}}class _{arr;byteSize;numBuckets;constructor(e,t){if(t>=31)throw Error("numBuckets must be less than 31");this.byteSize=e,this.numBuckets=t,this.arr=new Uint8Array(this.byteSize*this.numBuckets)}toggle(e,t){for(let n=0;n<3;n++){let r=e[n]%this.numBuckets;t&&t(r);let i=r*this.byteSize;for(let t=0;t<this.byteSize;t++)this.arr[i+t]^=e[t]}}toggleAll(e){for(let t=0;t<this.arr.length;t++)this.arr[t]^=e.arr[t]}copy(){let e=new _(this.byteSize,this.numBuckets);for(let t=0;t<this.arr.length;t++)e.arr[t]=this.arr[t];return e}decode(){let e=2*this.numBuckets,t=new x(this.byteSize,e),n=new k(this.numBuckets),r=0;for(;!n.isEmpty();){let i=n.pop();if(this.looksPure(i)){if(r>=e)return null;let o=i*this.byteSize,a=this.arr.slice(o,o+this.byteSize);t.toggle(a),this.toggle(a,e=>{e!==i&&n.set(e)}),r++}}return y(this.arr)?t:null}looksPure(e){let t=e*this.byteSize,n=this.arr.subarray(t,t+this.byteSize);if(y(n))return!1;let r=0;for(let t=0;t<3;t++)n[t]%this.numBuckets===e&&r++;return r%2==1}}class x{arr;byteSize;length;capacity;constructor(e,t){this.arr=new Uint8Array(e*t),this.byteSize=e,this.length=0,this.capacity=t}toggle(e){for(let t=0;t<this.length;t++){let n=t*this.byteSize,r=this.arr.subarray(n,n+this.byteSize);if(function(e,t){for(let n=0;n<e.length;n++)if(e[n]!=t[n])return!1;return!0}(e,r)){if(t!=this.length-1){let e=(this.length-1)*this.byteSize;
34for(let t=0;t<this.byteSize;t++)r[t]=this.arr[e+t]}this.length--;return}}if(this.length===this.capacity)throw Error("BufferSet is full");let t=this.length*this.byteSize;for(let n=0;n<this.byteSize;n++)this.arr[t+n]=e[n];this.length++}forEach(e){for(let t=0;t<this.length;t++){let n=t*this.byteSize;e(this.arr.subarray(n,n+this.byteSize))}}toJSON(){let e=[];return this.forEach(t=>{e.push(Array.from(t))}),e.sort((e,t)=>m(e,t)),e}}class k{bitset;queue;constructor(e){this.bitset=(1<<e)-1,this.queue=Array.from({length:e},(e,t)=>t)}set(e){let t=1<<e;this.bitset&t||(this.queue.push(e),this.bitset|=t)}isEmpty(){return 0===this.bitset}pop(){let e=this.queue.shift();return this.bitset&=~(1<<e),e}}class E{objectValues={};setValues={};keys=[];sketch=new _(32,8);rewriteMap;constructor({rewriteMap:e}={}){this.rewriteMap=e}addObject(e,t){let n=w(e,t,{withDigest:e=>{this.sketch.toggle(e)},rewriteMap:this.rewriteMap});this.objectValues[n.id]=n,this.keys.push(n.id)}addSet(e){this.setValues[e.set.id]=e,this.sketch.toggle(e.digest),this.keys.push(e.set.id)}build(e){let t;return this.keys.sort(),{set:w(e,{keys:this.keys},{withDigest:e=>{t=e}}),digest:t,objectValues:this.objectValues,setValues:this.setValues,sketch:this.sketch}}}var A=n(33761),S=n(67242),C=n(99181),O=n(11812),T=n(16926),D=n(57755),I=n(1060),R=n(75400),j=n(72157),N=n(26847),M=n(58224),F=n(36776),$=n(26456);class L{#g=[];#m;constructor(e){this.#m=performance.now(),this.#g=e}async map(e,t){let n=[];for(let r of e){let e=this._tryPause();e&&await e,n.push(t(r))}return n}async forEach(e,t){for(let n of e){let e=this._tryPause();e&&await e,t(n)}}async forEachIter(e,t){for(let n of e){let e=this._tryPause();e&&await e,t(n)}}end(){this.#g.push(performance.now()-this.#m)}_tryPause(){let e=performance.now()-this.#m;if(!(e<8.333333333333334))return this.#g.push(e),new Promise(e=>{let t=()=>{this.#m=performance.now(),e()};"function"==typeof requestIdleCallback?requestIdleCallback(t,{timeout:1}):"function"==typeof requestAnimationFrame?requestAnimationFrame(t):setTimeout(t,0)})}}let P={map:async(e,t)=>e.map(t),forEach:async(e,t)=>e.forEach(t),async forEachIter(e,t){for(let n of e)t(n)}};class z{cache=new WeakMap;async get(e,t){let n,r=this.cache.get(e);if(r)return r;let i=t?.scheduler||(t?.pauseDurations?n=new L(t.pauseDurations):P),o={fields:new Map,duplicateFields:new Map,arrayElements:new Map,duplicateArrayElements:new Map},a=await i.map(e.getLocalTypeNames(),t=>{let n=function e(t,n,r){var i;let o,a,s,l,u,c,d=(Array.isArray((u=N.kH in t?t[N.kH]:t).fields)&&(o=u.fields.map(t=>{var i;let o=`${n}.${t.name}`,a=r.fields.get(t);if(a){let e=r.duplicateFields.get(a);return(!e||en(o,e))&&r.duplicateFields.set(a,o),a}let{name:s,group:l,fieldset:u,type:c}
34=t,d={name:s,typeDef:e(c,o,r),groups:"string"==typeof(i=l)?[i]:Array.isArray(i)?i.filter(e=>"string"==typeof e):void 0,fieldset:u};return r.fields.set(t,d),d})),Array.isArray(u.fieldsets)&&(a=q("name",u.fieldsets.map(({name:e,title:t,description:n,group:r,hidden:i,readOnly:o,options:a})=>({name:e,title:U(t),description:U(n),group:U(r),hidden:H(i),readOnly:H(o),options:Z(a)})))),Array.isArray(u.groups)&&(s=q("name",u.groups.map(({name:e,title:t,hidden:n,default:r,i18n:i})=>({name:e,title:U(t),hidden:H(n),default:B(r),i18n:ee(i)})))),c=u.deprecated?.reason,Array.isArray(u.orderings)&&(l=u.orderings.map(et).filter(e=>void 0!==e)),{title:U(u.title),description:function(e){if("string"==typeof e)return e;if((0,A.A)(e)&&"$$typeof"in e&&"type"in e&&"props"in e){let{type:t,props:n}=e,r="function"==typeof t?t.name:t;return"string"!=typeof r?void 0:{__type:"jsx",type:r,props:Z(n)}}}(u.description),readOnly:H(u.readOnly),hidden:H(u.hidden),liveEdit:B(u.liveEdit),options:Z(u.options),initialValue:Z(u.initialValue),deprecated:"string"==typeof c?{reason:c}:void 0,placeholder:U(u.placeholder),rows:"number"==typeof(i=u.rows)?i.toString():void 0,fields:o,fieldsets:a,groups:s,validation:function(e){if(!(0,A.A)(e)||!("type"in e))return;let t=[];switch("options"in e&&(0,A.A)(e.options)&&"list"in e.options&&Array.isArray(e.options.list)&&t.push({type:"enum",values:e.options.list.map(t=>{var n,r;return Z((n=t,"object"===(r=e).jsonType&&function e(t){return!!t&&"object"==typeof t&&("fields"in t?!!Array.isArray(t.fields)&&t.fields.some(e=>"value"===e.name):"type"in t&&!!t.type&&e(t.type))}(r)?n:(0,A.A)(n)&&"value"in n&&n.value?n.value:n))}).filter(e=>void 0!==e)}),e.type){case"url":t.push({type:"uri",allowRelative:!1});break;case"slug":t.push({type:"custom"});break;case"reference":t.push({type:"reference"});break;case"email":t.push({type:"email"})}if(!("validation"in e)||!e.validation)return t.length>0?[{level:"error",rules:t}]:void 0;let n=[];for(let r of Array.isArray(e.validation)?e.validation:[e.validation]){let e=function e(t){if(t){if("function"==typeof t)try{let n=t(new N.jO);if(X(n))return e(n);throw Error("failed to convert to plain rule")}catch{return{level:"error",rules:[{type:"custom",name:"function"}]}}if(X(t)){let n=t._level||"error",r=function(e){if("string"==typeof e)return e;if(!(0,A.A)(e)||Array.isArray(e))return;let t={};for(let[n,r]of Object.entries(e))"string"!=typeof n||"string"!=typeof r||(t[n]=r);return Object.keys(t).length>0?t:void 0}(t._message),i=[];for(let n of t._rules||[]){let r=function(t,n){if(!(0,A.A)(t)||!("flag"in t))return;let r="constraint"in t?t.constraint:void 0;switch(t.flag){case"integer":return{type:"integer"};case"email":return{type:"email"};case"unique":return{type:"uniqueItems"};case"reference":return{type:"reference"};case"assetRequired":return{type:"assetRequired"};case"stringCasing":return"uppercase"===r?{type:"uppercase"}:"lowercase"===r?{type:"lowercase"}:void 0;case"all":if(Array.isArray(r)){let t=r.map(t=>e(t)).filter(e=>void 0!==e);if(t.length>0)return{type:"allOf",children:t}}return;case"either":if(Array.isArray(r)){let t=r.map(t=>e(t)).filter(e=>void 0!==e);if(t.length>0)return{type:"anyOf",children:t}}return;case"valid":return Array.isArray(r)?{type:"enum",values:r.map(e=>Z(e)).filter(e=>void 0!==e)}:void 0;case"min":return{type:"minimum",value:J(r)};case"max":return{type:"maximum",value:J(r)};case"length":return{type:"length",value:J(r)};case"precision":return{type:"precision",value:J(r)};case"lessThan":return{type:"exclusiveMaximum",value:J(r)};case"greaterThan":return{type:"exclusiveMinimum",value:J(r)};case"regex":if((0,A.A)(r)&&"pattern"in r){let{pattern:e}=r,t="invert"in r?Q(r.invert):void 0;if(e instanceof RegExp)return{type:"regex",pattern:e.source,...t&&{invert:!0}}}return;case"uri":{let e=(0,A.A)(r)&&"options"in r&&(0,A.A)(r.options)&&"allowRelative"in r.options?Q(r.options.allowRelative):void 0;return{type:"uri",...void 0!==e&&{allowRelative:e}}}case"custom":return{type:"custom",...n&&{optional:n}};case"media":return{type:"custom",name:"media"};case"type":default:return;case"presence":return"required"===r?{type:"required"}:void 0}}(n,"optional"===t._required||void 0);void 0!==r&&(i.some(e=>(0,S.A)(e,r))||i.push(r))}return 0===i.length?void 0:{level:n,rules:i,...r&&{message:r}}}}}(r);if(void 0===e)continue;let i=t.filter(t=>!e.rules.some(e=>(0,S.A)(e,t)));i.length>0&&e.rules.unshift(...i),n.some(t=>(0,S.A)(t,e))||n.push(e)}return n.length>0?n:void 0}(u),orderings:l});if(!t.type)return{extends:null,jsonType:t.jsonType,...d};switch(t.type.name){case"array":return{extends:"array",of:t.of.map((t,i)=>{let o=`${n}.${t.name}`,a=r.arrayElements.get(t);if(a){let e=r.duplicateArrayElements.get(a);return(!e||en(o,e))&&r.duplicateArrayElements.set(a,o),a}let s={name:t.name,typeDef:e(t,`${n}.${t.name}`,r)};return r.arrayElements.set(t,s),s}),...d};case"reference":case"globalDocumentReference":case"crossDatasetReference":return{extends:t.type.name,to:q("name",t.to.map(e=>({name:e.name||e.type?.name||e.type}))),...d};default:return{extends:t.type.name,...d}}}(e.get(t),t,o);return{name:t,typeDef:n}}),s=new Map;for(let[e,t]of o.duplicateFields.entries())s.set(e,{__type:"hoisted",key:t});for(let[e,t]of o.duplicateArrayElements.entries())s.set(e,{__type:"hoisted",key:t});let l=new E({rewriteMap:s});
34return await i.forEachIter(o.duplicateFields.entries(),([e,t])=>{l.addObject("sanity.schema.hoisted",{key:t,value:{...e}})}),await i.forEachIter(o.duplicateArrayElements.entries(),([e,t])=>{l.addObject("sanity.schema.hoisted",{key:t,value:{...e}})}),await i.forEach(a,e=>{l.addObject("sanity.schema.namedType",e)}),e.parent&&l.addSet(await this.get(e.parent,{scheduler:i})),r=l.build("sanity.schema.registry"),this.cache.set(e,r),n&&n.end(),r}}function U(e){return"string"==typeof e?e:void 0}function B(e){return!0===e||void 0}function H(e){return"function"==typeof e?V:B(e)}function q(e,t){return t.filter(t=>"string"==typeof t[e])}let V={__type:"function"},G={__type:"unknown"},W={__type:"undefined"},Y={__type:"cyclic"},K={__type:"maxDepth"};function Z(e,t=new Set,n=5){if(0===n)return K;if("string"==typeof e||"boolean"==typeof e||null==e)return e;if("number"==typeof e)return{__type:"number",value:e.toString()};if("function"==typeof e)return V;if(t.has(e))return Y;if(t.add(e),(0,A.A)(e)){if(Array.isArray(e))return e.map(e=>{let r=Z(e,t,n-1);return void 0===r?W:r});if("$$typeof"in e&&"type"in e&&"props"in e){let{type:r,props:i}=e,o="function"==typeof r?r.name:r;return"string"!=typeof o?void 0:{__type:"jsx",type:o,props:Z(i,t,n-1)}}let r=!1,i={};for(let[o,a]of Object.entries(e))"__type"===o&&(r=!0),i[o]=Z(a,t,n-1);return r?{__type:"object",value:i}:i}return G}function X(e){return(0,A.A)(e)&&"_rules"in e}function J(e){return(0,A.A)(e)&&"type"in e&&"path"in e&&e.type&&e.path?{type:"fieldReference",path:Array.isArray(e.path)?e.path:[e.path]}:String(e)}function Q(e){if("boolean"==typeof e)return e}function ee(e){if(!(0,A.A)(e)||Array.isArray(e))return;let t={};for(let n of Object.entries(e))if(function(e){let[t,n]=e;return"string"==typeof t&&!!n&&"object"==typeof n&&"key"in n&&"ns"in n&&"string"==typeof n.key&&"string"==typeof n.ns}(n)){let[e,r]=n;t[e]={ns:r.ns,key:r.key}}return Object.keys(t).length>0?t:void 0}function et(e){if(!(0,A.A)(e)||Array.isArray(e))return;let t="name"in e&&"string"==typeof e.name?e.name:void 0;if(void 0===t)return;let n="title"in e&&"string"==typeof e.title?e.title:t,r="by"in e&&Array.isArray(e.by)?e.by:[],i=[];for(let e of r){let t=function(e){if(!(0,A.A)(e)||Array.isArray(e))return;let t="field"in e&&"string"==typeof e.field?e.field:void 0,n="direction"in e&&("asc"===e.direction||"desc"===e.direction)?e.direction:void 0;if(!(!t||!n))return{field:t,direction:n}}(e);t&&i.push(t)}if(0===i.length)return;let o="i18n"in e?ee(e.i18n):void 0;return{name:t,title:n,by:i,...o&&{i18n:o}}}function en(e,t){return e.length<t.length||e.length===t.length&&e<t}function er(e,t){let n=e.set.id;if(!t)return{id:n};if("complete"===t.type)return null;let r=[];for(let n of t.missingIds){let t=function e(t,n){if(t.set.id===n)return t.set;let r=t.objectValues[n];if(r)return r;for(let r of Object.values(t.setValues)){let t=e(r,n);if(t)return t}return null}(e,n);if(!t)throw Error("Synchronization server is requested an unknonwn descriptor");r.push(t)}return{id:n,descriptors:r}}let ei="__experimental_actions",eo=["create","update","delete","publish"],ea=(e,t)=>((e,t)=>{if(!Array.isArray(t))throw Error(`The value of <type>.${ei} should be an array with any of the actions ${eo.join(", ")}`);let n=(0,C.A)(t,eo);if(n.length>0)throw Error(`Invalid action${n.length>1?"s":""} configured for schema type "${e}": ${n.join(", ")}. Valid actions are: ${eo.join(", ")}`);return t})(e.name,ei in e?e[ei]:eo).includes(t),es=[{name:"sanity.assetSourceData",title:"Asset Source Data",type:"object",fields:[{name:"name",title:"Source name",description:"A canonical name for the source this asset is originating from",type:"string"},{name:"id",title:"Asset Source ID",description:"The unique ID for the asset within the originating source so you can programatically find back to it",type:"string"},{name:"url",title:"Asset information URL",description:"A URL to find more information about this asset in the originating source",type:"string"}]},{title:"Slug",name:"slug",type:"object",fields:[{name:"current",title:"Current slug",type:"string",validation:e=>e.required()},{name:"source",title:"Source field",type:"string",hidden:!0}]},{title:"Geographical Point",name:"geopoint",type:"object",fields:[{name:"lat",type:"number",title:"Latitude"},{name:"lng",type:"number",title:"Longitude"},{name:"alt",type:"number",title:"Altitude"}]},{name:"sanity.imageAsset",title:"Image",type:"document",fieldsets:[{name:"system",title:"System fields",description:"These fields are managed by the system and not editable"}],fields:[{name:"originalFilename",type:"string",title:"Original file name",readOnly:!0},{name:"label",type:"string",title:"Label"},{name:"title",type:"string",title:"Title"},{name:"description",type:"string",title:"Description"},{name:"altText",type:"string",title:"Alternative text"},{name:"sha1hash",type:"string",title:"SHA1 hash",readOnly:!0,fieldset:"system"},{name:"extension",type:"string",readOnly:!0,title:"File extension",fieldset:"system"},{name:"mimeType",type:"string",readOnly:!0,title:"Mime type",fieldset:"system"},{name:"size",type:"number",title:"File size in bytes",readOnly:!0,fieldset:"system"},{name:"assetId",type:"string",title:"Asset ID",readOnly:!0,fieldset:"system"},{name:"uploadId",type:"string",readOnly:!0,hidden:!0,fieldset:"system"},{name:"path",type:"string",title:"Path",readOnly:!0,fieldset:"system"},{name:"url",type:"string",title:"Url",readOnly:!0,fieldset:"system"},{name:"metadata",type:"sanity.imageMetadata",title:"Metadata"},{name:"source",type:"sanity.assetSourceData",title:"Source",readOnly:!0,fieldset:"system"}],preview:{select:{id:"_id",title:"originalFilename",mimeType:"mimeType",size:"size",media:"media"},prepare:e=>({title:e.title||"string"==typeof e.path&&e.path.split("/").slice(-1)[0],media:{asset:{_ref:e.id},...e.media?{media:e.media}:{}},subtitle:`${e.mimeType} (${(Number(e.size)/1024/1024).toFixed(2)} MB)`})},orderings:[{title:"File size",name:"fileSizeDesc",by:[{field:"size",direction:"desc"}]}]},{name:"sanity.fileAsset",title:"File",type:"document",fieldsets:[{name:"system",title:"System fields",description:"These fields are managed by the system and not editable"}],fields:[{name:"originalFilename",type:"string",title:"Original file name",readOnly:!0},{name:"label",type:"string",title:"Label"},{name:"title",type:"string",title:"Title"},{name:"description",type:"string",title:"Description"},{name:"altText",type:"string",title:"Alternative text"},{name:"sha1hash",type:"string",title:"SHA1 hash",readOnly:!0,fieldset:"system"},{name:"extension",type:"string",title:"File extension",readOnly:!0,fieldset:"system"},{name:"mimeType",type:"string",title:"Mime type",readOnly:!0,fieldset:"system"},{name:"size",type:"number",title:"File size in bytes",readOnly:!0,fieldset:"system"},{name:"assetId",type:"string",title:"Asset ID",readOnly:!0,fieldset:"system"},{name:"uploadId",type:"string",readOnly:!0,hidden:!0,fieldset:"system"},{name:"path",type:"string",title:"Path",readOnly:!0,fieldset:"system"},{name:"url",type:"string",title:"Url",readOnly:!0,fieldset:"system"},{name:"source",type:"sanity.assetSourceData",title:"Source",readOnly:!0,fieldset:"system"}],preview:{select:{title:"originalFilename",path:"path",mimeType:"mimeType",size:"size"},prepare:e=>({title:e.title||e.path.split("/").slice(-1)[0],subtitle:`${e.mimeType} (${(e.size/1024/1024).toFixed(2)} MB)`})},orderings:[{title:"File size",name:"fileSizeDesc",by:[{field:"size",direction:"desc"}]}]},{name:"sanity.imageCrop",title:"Image crop",type:"object",fields:[{name:"top",type:"number",validation:e=>e.required()},{name:"bottom",type:"number",validation:e=>e.required()},{name:"left",type:"number",validation:e=>e.required()},{name:"right",type:"number",validation:e=>e.required()}]},{name:"sanity.imageHotspot",title:"Image hotspot",type:"object",fields:[{name:"x",type:"number",validation:e=>e.required()},{name:"y",type:"number",validation:e=>e.required()},{name:"height",type:"number",validation:e=>e.required()},{name:"width",type:"number",validation:e=>e.required()}]},{name:"sanity.imageMetadata",title:"Image metadata",type:"object",fieldsets:[{name:"extra",title:"Extra metadata…",options:{collapsable:!0}}],fields:[{name:"location",type:"geopoint"},{name:"dimensions",title:"Dimensions",type:"sanity.imageDimensions",fieldset:"extra"},{name:"palette",type:"sanity.imagePalette",title:"Palette",fieldset:"extra"},{name:"lqip",title:"LQIP (Low-Quality Image Placeholder)",type:"string",readOnly:!0}
34,{name:"blurHash",title:"BlurHash",type:"string",readOnly:!0},{name:"thumbHash",title:"ThumbHash",type:"string",readOnly:!0},{name:"hasAlpha",title:"Has alpha channel",type:"boolean",readOnly:!0},{name:"isOpaque",title:"Is opaque",type:"boolean",readOnly:!0}]},{name:"sanity.imageDimensions",type:"object",title:"Image dimensions",fields:[{name:"height",type:"number",title:"Height",readOnly:!0,validation:e=>e.required()},{name:"width",type:"number",title:"Width",readOnly:!0,validation:e=>e.required()},{name:"aspectRatio",type:"number",title:"Aspect ratio",readOnly:!0,validation:e=>e.required()}]},{name:"sanity.imagePalette",title:"Image palette",type:"object",fields:[{name:"darkMuted",type:"sanity.imagePaletteSwatch",title:"Dark Muted"},{name:"lightVibrant",type:"sanity.imagePaletteSwatch",title:"Light Vibrant"},{name:"darkVibrant",type:"sanity.imagePaletteSwatch",title:"Dark Vibrant"},{name:"vibrant",type:"sanity.imagePaletteSwatch",title:"Vibrant"},{name:"dominant",type:"sanity.imagePaletteSwatch",title:"Dominant"},{name:"lightMuted",type:"sanity.imagePaletteSwatch",title:"Light Muted"},{name:"muted",type:"sanity.imagePaletteSwatch",title:"Muted"}]},{name:"sanity.imagePaletteSwatch",title:"Image palette swatch",type:"object",fields:[{name:"background",type:"string",title:"Background",readOnly:!0},{name:"foreground",type:"string",title:"Foreground",readOnly:!0},{name:"population",type:"number",title:"Population",readOnly:!0},{name:"title",type:"string",title:"String",readOnly:!0}]}],el={TYPE_INVALID:"schema-type-invalid",TYPE_IS_ESM_MODULE:"schema-type-is-esm-module",TYPE_NAME_RESERVED:"schema-type-name-reserved",TYPE_MISSING_NAME:"schema-type-missing-name-or-type",TYPE_MISSING_TYPE:"schema-type-missing-name-or-type",TYPE_TITLE_RECOMMENDED:"schema-type-title-is-recommended",TYPE_TITLE_INVALID:"schema-type-title-is-recommended",OBJECT_FIELDS_INVALID:"schema-object-fields-invalid",OBJECT_FIELD_NOT_UNIQUE:"schema-object-fields-invalid",OBJECT_FIELD_NAME_INVALID:"schema-object-fields-invalid",OBJECT_FIELD_DEFINITION_INVALID_TYPE:"schema-object-fields-invalid",ARRAY_PREDEFINED_CHOICES_INVALID:"schema-predefined-choices-invalid",ARRAY_OF_ARRAY:"schema-array-of-array",ARRAY_OF_INVALID:"schema-array-of-invalid",ARRAY_OF_NOT_UNIQUE:"schema-array-of-invalid",ARRAY_OF_DUPLICATE_PRIMITIVE_JSON_TYPE:"schema-array-of-duplicate-primitive-json-type",ARRAY_OF_TYPE_GLOBAL_TYPE_CONFLICT:"schema-array-of-type-global-type-conflict",ARRAY_OF_TYPE_BUILTIN_TYPE_CONFLICT:"schema-array-of-type-builtin-type-conflict",REFERENCE_TO_INVALID:"schema-reference-to-invalid",REFERENCE_TO_NOT_UNIQUE:"schema-reference-to-invalid",REFERENCE_INVALID_OPTIONS:"schema-reference-invalid-options",REFERENCE_INVALID_OPTIONS_LOCATION:"schema-reference-options-nesting",REFERENCE_INVALID_FILTER_PARAMS_COMBINATION:"schema-reference-filter-params-combination",SLUG_SLUGIFY_FN_RENAMED:"slug-slugifyfn-renamed",ASSET_METADATA_FIELD_INVALID:"asset-metadata-field-invalid",CROSS_DATASET_REFERENCE_INVALID:"cross-dataset-reference-invalid",GLOBAL_DOCUMENT_REFERENCE_INVALID:"global-document-reference-invalid",DEPRECATED_BLOCKEDITOR_KEY:"schema-deprecated-blockeditor-key",STANDALONE_BLOCK_TYPE:"schema-standalone-block-type",FIELD_TYPE_IS_DOCUMENT:"schema-field-type-is-document"};function eu(e,t,n){if(n&&!Object.keys(el).some(e=>el[e]===n))throw Error(`Used the unknown helpId "${n}", please add it to the array in createValidationResult.js`);return{severity:e,message:t,helpId:n}}let ec=(e,t)=>eu("warning",e,t);function ed(e){return(0,O.A)(e.map(e=>ew(e))).filter(e=>e.problems.length>0)}function ef(e,t=t=>(0,T.A)(t,e)){return function(n,r){let i,o=[...r,{kind:"type",type:n.type,name:n.name}],a=t(n)||[],s=Array.isArray(a)?a.map(t=>ew(t,[...o,{kind:"property",name:e}])):[[{path:o,problems:[eu("error",`Member declaration (${e}) is not an array`,i)]}]];return[{path:o,problems:n._problems||[]},...(0,O.A)(s)]}}let eh=ef("fields"),ep=ef("fields"),eg=ef("fields"),em=ef("of"),ey=ef("to",e=>{let t;return"to"in e?Array.isArray(t=e.to)?t:typeof t>"u"&&[]||[t]:[]}),eb=ef("marks.annotations"),ev=ef("of");function ew(e,t=[]){switch(e.type){case"object":case"document":return eh(e,t);case"array":return em(e,t);case"reference":return ey(e,t);case"block":return[...eb(e,t),...ev(e,t)];case"image":return ep(e,t);case"file":return eg(e,t);default:return function(e,t=[]){return[{path:[...t,{kind:"type",type:e.type,name:e.name}],problems:e._problems||[]}]}(e,t)}}function e_(e,t=e=>e){let n=e.reduce((e,n)=>{let r=t(n);return e[r]||(e[r]=[]),e[r].push(n),e},{});return Object.keys(n).map(e=>n[e].length>
341?n[e]:null).filter(Boolean)}let ex={name:"type",type:null},ek=["any","time","date"],eE=[{name:"array",jsonType:"array",type:"type"},{name:"block",jsonType:"object",type:"type"},{name:"boolean",jsonType:"boolean",type:"type"},{name:"datetime",jsonType:"string",type:"type"},{name:"date",jsonType:"string",type:"type"},{name:"document",jsonType:"object",type:"type"},{name:"email",jsonType:"string",type:"type"},{name:"file",jsonType:"object",type:"type"},{name:"geopoint",jsonType:"object",type:"type"},{name:"image",jsonType:"object",type:"type"},{name:"number",jsonType:"number",type:"type"},{name:"object",jsonType:"object",type:"type"},{name:"reference",jsonType:"object",type:"type"},{name:"crossDatasetReference",jsonType:"object",type:"type"},{name:"globalDocumentReference",jsonType:"object",type:"type"},{name:"slug",jsonType:"object",type:"type"},{name:"span",jsonType:"object",type:"type"},{name:"string",jsonType:"string",type:"type"},{name:"telephone",jsonType:"string",type:"type"},{name:"text",jsonType:"string",type:"type"},{name:"url",jsonType:"string",type:"type"}],eA=eE.map(e=>e.name);function eS(e){return"string"===e||"number"===e||"boolean"===e}function eC(e){return`"${e}"`}function eO(e,t="s"){return 1===e.length?"":t}function eT(e){return Array.isArray(e)?`array with ${e.length} entries`:"object"==typeof e&&null!==e?`object with keys ${M(Object.keys(e).map(eC))}`:eC(e)}let eD=e=>Array.isArray(e)?"array":typeof e,eI=e=>`"${e}"`,eR=["components","lists","marks","name","of","options","styles","title","type","validation"],ej=["decorators","annotations"],eN=["blockEditor","title","value","icon","component"],eM=["blockEditor","title","value","icon","component","i18nTitleKey"],eF=["title","value","icon","component"],e$=["file","image","object","reference","crossDatasetReference","globalDocumentReference"],eL=e=>`"${e}"`;var eP=(e,t)=>{let n;return{...e,_problems:[...function(e,t){let n=t.getTypeNames();if(!e)return[eu("error","Type is missing a type.",el.TYPE_MISSING_TYPE)];if("string"!=typeof e)return[eu("error",'Type has an invalid "type"-property - should be a string.',el.TYPE_MISSING_TYPE)];if(!n.includes(e)){let t=n.map(t=>[F(e,t),t]).filter(([e])=>e<3).map(([e,t])=>t),r=t.length>0?` Did you mean ${M(t.map(eL),{conjunction:"or"})}?`:"";return[eu("error",`Unknown type: ${e}.${r}`,void 0)]}return[]}(e.type,t),...function(e,t){let n;if(!("fields"in e))return[];let r=e;for(;r&&!r.jsonType;)r=t.getType(r.type);return r&&"object"!==r.jsonType?[eu("error",'Type has propery "fields", but is not an object/document type.',n)]:[]}(e,t),...(n=[],e?.inputComponent&&n.push(ec('The "inputComponent" property is deprecated. Use "components.input" instead.')),e?.preview?.component&&n.push(ec('The "preview.component" property is deprecated. Use "components.preview" instead.')),e?.diffComponent&&n.push(ec('The "diffComponent" property is deprecated. Use "components.diff" instead.')),e?.options?.editModal&&n.push(ec('The "options.editModal" property is deprecated. Use "options.modal" instead.')),e?.options?.isHighlighted&&n.push(ec('The "options.isHighlighted" property is deprecated. You can put fields behind a collapsed fieldset if you want to hide them from plain sight.')),n)].filter(Boolean)}};let ez=/^[a-z0-9~][-_a-z0-9]+$/,eU=/^Symbol\(react\..+\)$/;function eB(e){return"function"==typeof e||"symbol"==typeof e?.$$typeof&&eU.test(String(e?.$$typeof))}function eH(e){let t="components"in e&&e.components;if(!t)return[];let n=[];return t.input&&!eB(t.input)&&n.push(ec(`The \`components.input\` property is set but does not appear to be a valid React component (expected a function, but saw ${$(t.input)}). If you have imported a custom input component, please verify that you have imported the correct named/default export.`)),t.field&&!eB(t.field)&&n.push(ec(`The \`components.field\` property is set but does not appear to be a valid React component (expected a function, but saw ${$(t.field)}). If you have imported a custom field component, please verify that you have imported the correct named/default export.`)),t.item&&!eB(t.item)&&n.push(ec(`The \`components.item\` property is set but does not appear to be a valid React component (expected a function, but saw ${$(t.item)}). If you have imported a custom item component, please verify that you have imported the correct named/default export.`)),t.preview&&!eB(t.preview)&&n.push(ec(`The \`components.preview\` property is set but does not appear to be a valid React component (expected a function, but saw ${$(t.preview)}). If you have imported a custom preview component, please verify that you have imported the correct named/default export.`)),n}let eq=/^[A-Za-z]+[0-9A-Za-z_]*$/,eV=/^[A-Za-z_]+[0-9A-Za-z_]*$/;function eG(e,t){var n;if(!(0,j.A)(e))return[eu("error",`Incorrect type for field definition - should be an object, saw ${$(e)}
34`,el.OBJECT_FIELD_DEFINITION_INVALID_TYPE)];let r=[];return r.push(..."name"in e?"string"!=typeof(n=e.name)?[eu("error",`Field names must be strings. Saw "${$(n)}"`,el.OBJECT_FIELD_NAME_INVALID)]:n.startsWith("_")?[eu("error",`Invalid field name "${n}". Field names cannot start with underscores "_" as it's reserved for system fields.`,el.OBJECT_FIELD_NAME_INVALID)]:eq.test(n)?eV.test(n)?[]:[ec("Thats an interesting field name for sure! But it is... how to put it... a bit... unconventional? It may be wise to keep special characters out of field names for easier access later on."),el.OBJECT_FIELD_NAME_INVALID]:[eu("error",`Invalid field name: "${n}". Fields can only contain characters from A-Z, numbers and underscores and should not start with a number (must pass the regular expression ${String(eq)}).`,el.OBJECT_FIELD_NAME_INVALID)]:[eu("error","Missing field name",el.OBJECT_FIELD_NAME_INVALID)]),r.push(...eH(e)),e.type&&"string"==typeof e.type&&t.getType(e.type)?.type==="document"&&r.push(ec(`The type "${e.type}" is a document type and should not be used as a field type directly. Use a "reference" if you want to create a link to the document, or use "object" if you want to embed fields inline.`,el.FIELD_TYPE_IS_DOCUMENT)),r}function eW(e,t={allowEmpty:!1}){let n,r=[];if(!Array.isArray(e))return[eu("error",`The "fields" property must be an array of fields. Instead saw "${typeof e}"`,el.OBJECT_FIELDS_INVALID)];(n={},e.filter(e=>"string"==typeof e.name).forEach(e=>{n[e.name]||(n[e.name]=[]),n[e.name].push(e)}),Object.keys(n).map(e=>n[e].length>1?n[e]:null).filter(Boolean)).forEach(e=>{r.push(eu("error",`Found ${e.length} fields with name "${e[0].name}" in object`,el.OBJECT_FIELD_NOT_UNIQUE))}),0!==e.length||t.allowEmpty||r.push(eu("error","Object should have at least one field",el.OBJECT_FIELDS_INVALID));let i=e.filter(e=>"block"===e.type).map(e=>`"${e.name}"`);if(i.length>0){let e=i.join(", ");r.push(eu("error",`Invalid standalone block field(s) ${e}. Block content must be defined as an array of blocks`,el.STANDALONE_BLOCK_TYPE))}return r}var eY=(e,t)=>{let n,r=eW(e.fields),i=e.preview;if(i){var o;let t,n,a,s=(o=e.preview,(0,j.A)(o)?"u">typeof o.prepare&&"function"!=typeof o.prepare?[eu("error",`The "preview.prepare" property must be a function, instead saw "${typeof o.prepare}"`,t)]:o.select?(0,j.A)(o.select)?Object.keys(o.select).reduce((e,t)=>{let n;return"string"==typeof o.select[t]?e:e.concat(eu("error",`The key "${t}" of "preview.select" must be a string, instead saw "${typeof o.select[t]}"`,n))},[]):[eu("error",`The "preview.select" property must be an object, instead saw "${typeof o.prepare}"`,n)]:[]:[eu("error",`The "preview" property must be an object, instead saw "${typeof o}"`,a)]);r=r.concat(s),i=s.some(e=>"error"===e.severity)?{}:i}return"document"!==e.type&&"object"!==e.type&&"u">typeof e.initialValue&&r.push(eu("error",'The "initialValue" property is currently only supported for document & object types.',n)),{...e,preview:i,fields:(Array.isArray(e.fields)?e.fields:[]).map((e,n)=>{let{name:r,...i}=e,{_problems:o,...a}=t.visit(i,n);return{name:r,...a,_problems:eG(e,t).concat(o||[])}}),_problems:r}};let eK=["dimensions","hasAlpha","isOpaque"];var eZ=(e,t)=>{var n;let r,i=!!e.name;if(!i&&1===Object.keys(e).length)return{...e,_problems:[eu("error","Invalid/undefined type declaration, check declaration or the import/export of the schema type.",el.TYPE_INVALID)]};let o=[];return!(n=e).name&&n.default&&(n.default.name||n.default.title)?o.push(eu("error","Type appears to be an ES6 module imported through CommonJS require - use an import statement or access the `.default` property",el.TYPE_IS_ESM_MODULE)):i?t.isReserved(e.name)&&o.push(eu("error",`Invalid type name: "${e.name}" is a reserved name.`,el.TYPE_NAME_RESERVED)):o.push(eu("error","Missing type name",el.TYPE_MISSING_NAME)),t.isDuplicate(e.name)&&o.push(eu("error",`Invalid type name: A type with name "${e.name}" is already defined in the schema.`,r)),o.push(...eH(e)),"title"in e&&"string"!=typeof e.title&&o.push(ec("Type title is not a string.",el.TYPE_TITLE_INVALID)),{...e,_problems:o}};let eX={array:(e,t)=>{let n=Array.isArray(e.of);if(n){let n=e.of.reduce((e,n,r)=>{if("string"==typeof n.name&&n.name!==n.type&&eA.includes(n.name))return e.concat(eu("error",`Found array member declaration with the same type name as a built-in type ("${n.name}"). Array members can not be given the same name as a built-in type.`,el.ARRAY_OF_TYPE_BUILTIN_TYPE_CONFLICT));if("object"===n.type&&n.name&&t.getType(n.name))return e.concat(ec(`Found array member declaration with the same name as the global schema type "${n.name}". It's recommended to use a unique name to avoid possibly incompatible data types that shares the same name.`,el.ARRAY_OF_TYPE_GLOBAL_TYPE_CONFLICT));if("array"===n.type)return e.concat(eu("error",'Found array member declaration of type "array" - multidimensional arrays are not currently supported by Sanity',el.ARRAY_OF_ARRAY));if(n)return e;let i=`Found ${null===n?"null":typeof n}, expected member declaration`;return e.concat(eu("error",`Found invalid type member declaration in array at index ${r}: ${i}`,el.ARRAY_OF_INVALID))},[]);if(n.length>0)return{...e,of:[],_problems:n}}let r=(0,O.A)([n?e_(e.of,e=>`${e.name};${e.type}`).map(e=>
34eu("error",`Found ${e.length} members with same type, but not unique names "${e[0].type}" in array. This makes it impossible to tell their values apart and you should consider naming them`,el.ARRAY_OF_NOT_UNIQUE)):eu("error",'The array type is missing or having an invalid value for the required "of" property',el.ARRAY_OF_INVALID)]),i=n?e.of:[],o=i.some(e=>"object"===e.type&&typeof e.name>"u");i.some(e=>"block"===e.type)&&o&&r.push(eu("error","The array type's 'of' property can't have an object type without a 'name' property as member, when the 'block' type is also a member of that array.",el.ARRAY_OF_INVALID));let[a,s]=(0,I.A)(i,e=>eS(e.type)||eS(t.getType(e.type)?.jsonType)),l=a.length>0&&s.length>0;if(l){let e=a.map(e=>e.type),t=s.map(e=>e.type);r.push(eu("error",`The array type's 'of' property can't have both object types and primitive types (found primitive type ${eO(e)} ${M(e.map(eC))} and object type${eO(t)} ${M(t.map(eC))})`,el.ARRAY_OF_INVALID))}if(a.length>1){let e=new Map;for(let n of a){let r=function e(t,n){if("jsonType"in t)return t.jsonType;let r=n.getType(t.type);if(r)return e(r,n)}(n,t);if(r&&eS(r)){let t=e.get(r)||[];t.push(n),e.set(r,t)}}for(let[t,n]of e)if(n.length>1){let e=n.map(e=>e.name||e.type);r.push(ec(`Array cannot contain multiple members with JSON type "${t}" (${M(e.map(eC))}) as there is no way to distinguish between them`,el.ARRAY_OF_DUPLICATE_PRIMITIVE_JSON_TYPE))}}let u=e?.options?.list;return!l&&Array.isArray(u)&&(a.length>0?u.forEach(e=>{let n=e?.value??e;if(!a.some(e=>typeof n===t.getType(e.type).jsonType)){let e=M(a.map(e=>e.name||e.type),{conjunction:"or"});r.push(eu("error",`An invalid entry found in options.list: ${eT(n)}. Must be either a value of type ${e}, or an object with {title: string, value: ${e}}`,el.ARRAY_PREDEFINED_CHOICES_INVALID))}}):u.forEach(e=>{let t=e._type||"object";s.some(e=>("string"==typeof e.name?e.name:e.type)===t)||r.push(eu("error",`An invalid entry found in options.list: ${eT(e)}. Must be an object with "_type" set to ${M(s.map(e=>e.name||e.type).map(e=>"object"===e?"undefined":eC(e)),{conjunction:"or"})}`,el.ARRAY_PREDEFINED_CHOICES_INVALID))})),e?.options?.list&&e?.options?.layout==="tags"&&r.push(ec("Found array member declaration with both tags layout and a list of predefined values. If you want to display a list of predefined values, remove the tags layout from `options`.")),{...e,of:i.map((e,n)=>{let r=t.visit(e,n);return e.type&&"string"==typeof e.type&&t.getType(e.type)?.type==="document"?{...r,_problems:[...r._problems||[],ec(`The type "${e.type}" is a document type and should not be used as a field type directly. Use a "reference" if you want to create a link to the document, or use "object" if you want to embed fields inline.`,el.FIELD_TYPE_IS_DOCUMENT)]}:r}),_problems:r}},object:eY,slug:(e,t)=>{let n=[];return e.options&&e.options.slugifyFn&&(n.push(ec('Heads up! The "slugifyFn" option has been renamed to "slugify".',el.SLUG_SLUGIFY_FN_RENAMED)),e.options.slugify=e.options.slugifyFn),{...e,_problems:n}},file:(e,t)=>{let n,r=[],i=e.fields;i&&r.push(...eW(i,{allowEmpty:!0}));let o=Array.isArray(i)?i?.filter(e=>"asset"===e.name):[];return e.options&&"u">typeof e.options.metadata&&!Array.isArray(e.options.metadata)?r.push(eu("error","Invalid type for file `metadata` field - must be an array of strings",el.ASSET_METADATA_FIELD_INVALID)):o.length>0&&r.push(eu("error","The name `asset` is not a valid field name for type `file`.",n)),{...e,fields:(Array.isArray(i)?i:[]).map((e,n)=>{let{name:r,...i}=e,{_problems:o,...a}=t.visit(i,n);return{name:r,...a,_problems:eG(e,t).concat(o||[])}}),_problems:r}},image:(e,t)=>{let n,r=[],i=e.fields;i&&r.push(...eW(i,{allowEmpty:!0}));let o=e.options,a=o?.metadata,s=Array.isArray(a)?a.filter(e=>eK.includes(e)):[],l=["asset","hotspot","crop"],u=Array.isArray(i)?i?.filter(e=>l.includes(e.name)):[];return"u">typeof a&&!Array.isArray(a)?r.push(eu("error","Invalid type for image `metadata` field - must be an array of strings",el.ASSET_METADATA_FIELD_INVALID)):s.length>0?(r.push(ec(`Image \`metadata\` field contains superfluous properties (they are always included): ${s.join(", ")}`)),o={...o,metadata:a.filter(e=>!eK.includes(e))}):u.length>0&&r.push(eu("error",`The names \`${l.join("`, `")}\` are invalid field names for type \`image\`.`,n)),{...e,options:o,fields:(Array.isArray(i)?i:[]).map((e,n)=>{let{name:r,...i}=e,{_problems:o,...a}=t.visit(i,n);return{name:r,...a,_problems:eG(e,t).concat(o||[])}}),_problems:r}},block:function(e,t){var n,r,i,o,a,s;let l,u,c,d=[],f=e.styles,h=e.lists,p=e.marks,g=e.of,m=Object.keys(e).filter(e=>!eR.includes(e)&&!e.startsWith("_"));return m.length>0&&d.push(eu("error",`Found unknown properties for block declaration: ${M(m.map(eI))}`,c)),p&&(p=function(e,t,n){var r,i,o,a,s,l;let u,c,d,f=e.decorators,h=e.annotations;if(!(0,j.A)(e)){let t;return n.push(eu("error",`"marks" declaration should be an object, got ${eD(e)}`,t)),n}let p=Object.keys(e).filter(e=>!ej.includes(e)&&!e.startsWith("_"));return p.length>0&&n.push(eu("error",`Found unknown properties for block declaration: ${M(p.map(eI))}`,u)),f&&!Array.isArray(f)?n.push(eu("error",`"marks.decorators" declaration should be an array, got ${eD(f)}`,c)):f&&(f.filter(e=>
34!!e.blockEditor).forEach(e=>{e.icon=e.blockEditor.icon,e.component=e.blockEditor.render}),r=f,i=0,o=n,r.forEach((e,t)=>{let n,r,i;if(!(0,j.A)(e)){let t;return void o.push(eu("error",`Annotation must be an object, got ${eD(e)}`,t))}let a=e.value||`#${t}`,s=Object.keys(e).filter(e=>!eM.includes(e)&&!e.startsWith("_"));s.length>0&&o.push(eu("error",`Found unknown properties for decorator ${a}: ${M(s.map(eI))}`,n)),e.value?"string"!=typeof e.value?o.push(eu("error",`Decorator #${t} has an invalid "value" property, expected string, got ${eD(e.value)}`,r)):e.title||o.push(ec(`Decorator ${a} is missing recommended "title" property`)):o.push(eu("error",`Decorator #${t} is missing required "value" property`,i)),"u">typeof e.blockEditor&&(o.push(ec(`Decorator "${a}" has deprecated key "blockEditor", please refer to the documentation on how to configure the block type for version 3.`,el.DEPRECATED_BLOCKEDITOR_KEY)),e.icon=e.icon||e.blockEditor.icon,e.component=e.component||e.blockEditor.render)}),f=r),h&&!Array.isArray(h)?n.push(eu("error",`"marks.annotations" declaration should be an array, got ${eD(h)}`,d)):h&&(a=h,s=t,l=n,h=a.map(e=>{let t;if(!(0,j.A)(e)){let t;return{...e,_problems:[eu("error",`Annotation must be an object, got ${eD(e)}`,t)]}}let{_problems:n}=s.visit(e,s),r=e.type&&s.getType(e.type);return r&&("jsonType"in r||"type"in r)&&!function e(t,n,r){if("jsonType"in t)return t.jsonType===n;let i=r.getType(t.type);if(!i)throw Error(`Could not resolve jsonType of ${t.name}. No parent type found`);return e(i,n,r)}(r,"object",s)&&n.push(eu("error",`Annotation cannot have type "${e.type}" - annotation types must inherit from object`,t)),"u">typeof e.blockEditor&&(l.push(ec('Annotation has deprecated key "blockEditor", please refer to the documentation on how to configure the block type for version 3.',el.DEPRECATED_BLOCKEDITOR_KEY)),e.icon=e.icon||e.blockEditor.icon,e.blockEditor?.render&&!e.components?.annotation&&(e.components=e.components||{},e.components.annotation=e.components.annotation||e.blockEditor.render)),{...e,_problems:n}})),{...e,decorators:f,annotations:h}}(e.marks,t,d)),f&&(n=f,r=0,i=d,f=Array.isArray(n)?(n.forEach((e,t)=>{let n,r,o;if(!(0,j.A)(e)){let t;return void i.push(eu("error",`Style must be an object, got ${eD(e)}`,t))}let a=e.value||`#${t}`,s=Object.keys(e).filter(e=>!eN.includes(e)&&!e.startsWith("_"));s.length>0&&i.push(eu("error",`Found unknown properties for style ${a}: ${M(s.map(eI))}`,n)),e.value?"string"!=typeof e.value?i.push(eu("error",`Style #${t} has an invalid "value" property, expected string, got ${eD(e.value)}`,r)):e.title||i.push(ec(`Style ${a} is missing recommended "title" property`)):i.push(eu("error",`Style #${t} is missing required "value" property`,o)),"u">typeof e.blockEditor&&(i.push(ec('Style has deprecated key "blockEditor", please refer to the documentation on how to configure the block type for version 3.',el.DEPRECATED_BLOCKEDITOR_KEY)),e.component=e.component||e.blockEditor.render)}),n):(i.push(eu("error",`"styles" declaration should be an array, got ${eD(n)}`,l)),i)),h&&(o=h,a=0,s=d,h=Array.isArray(o)?(o.forEach((e,t)=>{let n,r,i;if(!(0,j.A)(e)){let t;return void s.push(eu("error",`List must be an object, got ${eD(e)}`,t))}let o=e.value||`#${t}`,a=Object.keys(e).filter(e=>!eF.includes(e)&&!e.startsWith("_"));a.length>0&&s.push(eu("error",`Found unknown properties for list ${o}: ${M(a.map(eI))}`,n)),e.value?"string"!=typeof e.value?s.push(eu("error",`List type #${t} has an invalid "value" property, expected string, got ${eD(e.value)}`,r)):e.title||s.push(ec(`List type ${o} is missing recommended "title" property`)):s.push(eu("error",`List #${t} is missing required "value" property`,i))}),o):(s.push(eu("error",`"lists" declaration should be an array, got ${eD(o)}`,u)),s)),g&&(g=function(e,t,n){if(!Array.isArray(e)){let t;return void n.push(eu("error",`"of" declaration should be an array, got ${eD(e)}`,t))}return e.map(e=>{let{_problems:n}=t.visit(e,t);if("object"===e.type&&e.name&&t.getType(e.name))return{...e,_problems:[ec(`Found array member declaration with the same name as the global schema type "${e.name}". It's recommended to use a unique name to avoid possibly incompatible data types that shares the same name.`,el.ARRAY_OF_TYPE_GLOBAL_TYPE_CONFLICT)]};let r=e;for(;r&&!r.jsonType;)r=t.getType(r.type);let i=eA.filter(e=>!e$.includes(e));return r&&"object"!==r.jsonType||i.some(t=>t===e.type)?{...e,_problems:[eu("error",`Block member types must be a supported object-like type. The following built-in types are supported: '${e$.join("', '")}'. You can also use shorthands for previously defined object types like {type: 'myObjectType'}`,el.ARRAY_OF_TYPE_BUILTIN_TYPE_CONFLICT)]}:{...e,_problems:n}})}
34(g,t,d)),{...(0,R.A)(e,m),marks:p,styles:f,name:e.name||e.type,of:g,_problems:d}},document:(e,t)=>{let n,r,i=eY(e,t),{initialValue:o,initialValues:a}=i;return"u">typeof o&&!(0,j.A)(o)&&"function"!=typeof o&&i._problems.push(eu("error",'The "initialValue" property must be either a plain object or a function',n)),"u">typeof a&&i._problems.push(eu("error",'Found property "initialValues" - did you mean "initialValue"?',r)),i},reference:(e,t)=>{let n=Array.isArray(e.to)||(0,j.A)(e.to),r=Array.isArray(e.to)?e.to:e.to?[e.to]:e.to,i=(0,O.A)([n?e_(r,e=>`${e.name};${e.type}`).map(e=>eu("error",`Found ${e.length} members with same type, but not unique names "${e[0].type}" in reference. This makes it impossible to tell their values apart and you should consider naming them`,el.REFERENCE_TO_INVALID)):eu("error",'The reference type is missing or having an invalid value for the required "to" property. It should be an array of accepted types.',el.REFERENCE_TO_INVALID)]);return n&&0===r.length&&i.push(eu("error",'The reference type should define at least one accepted type. Please check the "to" property.',el.REFERENCE_TO_INVALID)),i.push(...function(e){let t,n,{options:r}=e,i=[];return i.push(...["filter","filterParams"].filter(t=>t in e).map(e=>eu("error",`\`${e}\` is not allowed on a reference type definition - did you mean \`options.${e}\`?`,el.REFERENCE_INVALID_OPTIONS_LOCATION))),r?(0,j.A)(r)?"function"==typeof r.filter&&"u">typeof r.filterParams?i.concat(eu("error","`filterParams` cannot be used if `filter` is a function. Either statically define `filter` as a string, or return `params` from the `filter`-function.",el.REFERENCE_INVALID_FILTER_PARAMS_COMBINATION)):"function"!=typeof r.filter&&(r.filter||r.filterParams)?"string"!=typeof r.filter?i.concat(eu("error",`If set, \`filter\` must be a string. Got ${typeof r.filter}`,t)):"u">typeof r.filterParams&&!(0,j.A)(r.filterParams)?i.concat(eu("error","If set, `filterParams` must be an object.",n)):r.filterParams?i.concat(Object.keys(r.filterParams).filter(e=>e.startsWith("__")||e.startsWith("$")).map(e=>eu("error",`Filter parameter cannot be prefixed with "$" or "__". Got ${e}".`,void 0))):i:i:i.concat(eu("error","The reference type expects `options` to be an object",el.REFERENCE_INVALID_OPTIONS)):i}(e)),{...e,to:(n?r:[]).map(t.visit),_problems:i}},crossDatasetReference:(e,t)=>{var n;let r=Array.isArray(e.to)||(0,j.A)(e.to),i=Array.isArray(e.to)?e.to:e.to?[e.to]:e.to,o=(0,O.A)([r?e_(i,e=>`${e.name};${e.type}`).map(e=>eu("error",`Found ${e.length} members with same type, but not unique names "${e[0].type}" in reference. This makes it impossible to tell their values apart and you should consider naming them`,el.CROSS_DATASET_REFERENCE_INVALID)):eu("error",'The cross dataset reference type is missing or having an invalid value for the required "to" property. It should be an array of accepted types.',el.CROSS_DATASET_REFERENCE_INVALID)]);if(r&&0===i.length&&o.push(eu("error",'The cross dataset reference type should define at least one referenced type. Please check the "to" property.',el.CROSS_DATASET_REFERENCE_INVALID)),i.forEach((e,t)=>{e.type||o.push(eu("error",`The referenced type at index ${t} must be named. Specify the name of the type you want to create references to.`,el.CROSS_DATASET_REFERENCE_INVALID)),(0,j.A)(e.preview)||o.push(eu("error",`Missing required preview config for the referenced type "${e.type||"<unknown type>"}"`,el.CROSS_DATASET_REFERENCE_INVALID))}),"string"==typeof e.dataset){let t=(n=e.dataset).length>=2&&n.toLowerCase()===n&&ez.test(n)||`The provided dataset "${n}" doesn't look like a valid dataset. Dataset names must be more than 2 characters, can only contain lowercase characters, numbers, underscores and dashes and can not start with a dash or an underscore`;!0!==t&&o.push(eu("error",t,el.CROSS_DATASET_REFERENCE_INVALID))}else o.push(eu("error","A cross dataset reference must specify a `dataset`",el.CROSS_DATASET_REFERENCE_INVALID));return e.studioUrl&&"function"!=typeof e.studioUrl&&o.push(eu("error",'The "studioUrl" property on a cross dataset reference must be a function taking "{id, type}" as argument and returning a studio url.',el.CROSS_DATASET_REFERENCE_INVALID)),o.push(...function(e){let t,n,{options:r}=e,i=[];return i.push(...["filter","filterParams"].filter(t=>t in e).map(e=>
34eu("error",`\`${e}\` is not allowed on a reference type definition - did you mean \`options.${e}\`?`,el.REFERENCE_INVALID_OPTIONS_LOCATION))),r?(0,j.A)(r)?"function"==typeof r.filter&&"u">typeof r.filterParams?i.concat(eu("error","`filterParams` cannot be used if `filter` is a function. Either statically define `filter` as a string, or return `params` from the `filter`-function.",el.REFERENCE_INVALID_FILTER_PARAMS_COMBINATION)):"function"!=typeof r.filter&&(r.filter||r.filterParams)?"string"!=typeof r.filter?i.concat(eu("error",`If set, \`filter\` must be a string. Got ${typeof r.filter}`,t)):"u">typeof r.filterParams&&!(0,j.A)(r.filterParams)?i.concat(eu("error","If set, `filterParams` must be an object.",n)):r.filterParams?i.concat(Object.keys(r.filterParams).filter(e=>e.startsWith("__")||e.startsWith("$")).map(e=>eu("error",`Filter parameter cannot be prefixed with "$" or "__". Got ${e}".`,void 0))):i:i:i.concat(eu("error","The reference type expects `options` to be an object",el.REFERENCE_INVALID_OPTIONS)):i}(e)),{...e,_problems:o}},globalDocumentReference:(e,t)=>{var n,r,i;let o=Array.isArray(e.to)||(0,j.A)(e.to),a=Array.isArray(e.to)?e.to:e.to?[e.to]:[],s=(0,O.A)([o?e_(a,e=>`${e.name};${e.type}`).map(e=>eu("error",`Found ${e.length} members with same type, but not unique names "${e[0].type}" in reference. This makes it impossible to tell their values apart and you should consider naming them`,el.GLOBAL_DOCUMENT_REFERENCE_INVALID)):eu("error",'The global document reference type is missing or having an invalid value for the required "to" property. It should be an array of accepted types.',el.GLOBAL_DOCUMENT_REFERENCE_INVALID)]);if(o&&0===a.length&&s.push(eu("error",'The global document reference type should define at least one referenced type. Please check the "to" property.',el.GLOBAL_DOCUMENT_REFERENCE_INVALID)),a.forEach((e,t)=>{e.type||s.push(eu("error",`The referenced type at index ${t} must be named. Specify the name of the type you want to create references to.`,el.GLOBAL_DOCUMENT_REFERENCE_INVALID)),(0,j.A)(e.preview)||s.push(eu("error",`Missing required preview config for the referenced type "${e.type||"<unknown type>"}"`,el.GLOBAL_DOCUMENT_REFERENCE_INVALID))}),"string"==typeof e.resourceType){let t=(n=e.resourceType)?"media-library"==n||"dataset"==n||'The resource type must be either "media-library" or "dataset"':"The resource type must be a non-empty string";!0!==t&&s.push(eu("error",t,el.GLOBAL_DOCUMENT_REFERENCE_INVALID))}else s.push(eu("error","A global document reference must specify a `resourceType`",el.GLOBAL_DOCUMENT_REFERENCE_INVALID));if("string"==typeof e.resourceId){let t=(r=e.resourceType,(i=e.resourceId)?"dataset"===r?2===i.split(".").length||'The resource ID for a dataset reference must be on the form "<projectId>.<datasetName>"':"media-library"===r||`Cannot validate resource ID for resource type: ${r}`:"The resource ID must be a non-empty string");!0!==t&&s.push(eu("error",t,el.GLOBAL_DOCUMENT_REFERENCE_INVALID))}else s.push(eu("error","A global document reference must specify a `resourceId`",el.GLOBAL_DOCUMENT_REFERENCE_INVALID));return e.studioUrl&&"function"!=typeof e.studioUrl&&"string"!=typeof e.studioUrl&&s.push(eu("error",'The "studioUrl" property on a global document reference must either be a function taking "{id, type}" as argument and returning a studio url, or a string being the base url pointing to a studio.',el.GLOBAL_DOCUMENT_REFERENCE_INVALID)),s.push(...function(e){let t,n,{options:r}=e,i=[];return i.push(...["filter","filterParams"].filter(t=>t in e).map(e=>eu("error",`\`${e}\` is not allowed on a reference type definition - did you mean \`options.${e}\`?`,el.REFERENCE_INVALID_OPTIONS_LOCATION))),r?(0,j.A)(r)?"function"==typeof r.filter&&"u">typeof r.filterParams?i.concat(eu("error","`filterParams` cannot be used if `filter` is a function. Either statically define `filter` as a string, or return `params` from the `filter`-function.",el.REFERENCE_INVALID_FILTER_PARAMS_COMBINATION)):"function"!=typeof r.filter&&(r.filter||r.filterParams)?"string"!=typeof r.filter?i.concat(eu("error",`If set, \`filter\` must be a string. Got ${typeof r.filter}`,t)):"u">typeof r.filterParams&&!(0,j.A)(r.filterParams)?i.concat(eu("error","If set, `filterParams` must be an object.",n)):r.filterParams?i.concat(Object.keys(r.filterParams).filter(e=>e.startsWith("__")||e.startsWith("$")).map(e=>
34eu("error",`Filter parameter cannot be prefixed with "$" or "__". Got ${e}".`,void 0))):i:i:i.concat(eu("error","The reference type expects `options` to be an object",el.REFERENCE_INVALID_OPTIONS)):i}(e)),{...e,_problems:s}}};function eJ(...e){return(t,n)=>e.reduce((e,t)=>{let r=t(e,n);return{...r,_problems:e._problems.concat(r._problems)}},{_problems:[],...t})}function eQ(e,{transformTypeVisitors:t=e=>e,transformCommonVisitors:n=e=>e}={}){return function(e=[],t=[],n=e=>e){let r=Object.create(null),i=Object.create(null),o=t.map(e=>e.name),a=ek.concat(o),s=e.map(e=>e&&e.name).filter(Boolean);function l(e){return"type"===e?ex:r[e]||i[e]||null}t.forEach(e=>{r[e.name]=e}),e.forEach((e,t)=>{i[e&&e.name||`__unnamed_${t}`]={}});let u=(0,D.A)((0,O.A)(e_(s)));function c(e){return u.includes(e)}function d(){return s.concat(o)}function f(e){return"type"===e||a.includes(e)}let h=e=>(t,r)=>n(t,{visit:h(!1),isRoot:e,getType:l,getTypeNames:d,isReserved:f,isDuplicate:c,index:r});return t.forEach(e=>{Object.assign(r[e.name],h(e))}),e.forEach((e,t)=>{Object.assign(i[e&&e.name||`__unnamed_${t}`],h(!0)(e,t))}),{get(e){let t=i[e]||r[e];if(t)return t;throw Error(`No such type: ${e}`)},has:e=>e in i||e in r,getTypeNames:()=>Object.keys(i),getTypes(){return this.getTypeNames().map(this.get)},toJSON(){return this.getTypes()}}}(e,eE,(e,r)=>{let i=e&&e.type&&t(eX)[e.type]||(e=>({name:`<unnamed_type_@_index_${r.index}>`,...e,_problems:[]})),o=n([eP]);return r.isRoot?eJ(eZ,...o,i)(e,r):eJ(...o,i)(e,r)})}N.Sj.compile({name:"studio",types:es})},79773:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},79800:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(e){return e}},79931:(e,t,n)=>{"use strict";n.d(t,{R:()=>function e(t,n,p,g){if((0,l.T)(p)&&(g=p,p=void 0),g)return e(t,n,p).pipe((0,u.I)(g));var m,y,b,v=(0,r.zs)((m=t,(0,l.T)(m.addEventListener)&&(0,l.T)(m.removeEventListener))?d.map(function(e){return function(r){return t[e](n,r,p)}}):(y=t,(0,l.T)(y.addListener)&&(0,l.T)(y.removeListener))?c.map(h(t,n)):(b=t,(0,l.T)(b.on)&&(0,l.T)(b.off))?f.map(h(t,n)):[],2),w=v[0],_=v[1];if(!w&&(0,s.X)(t))return(0,a.Z)(function(t){return e(t,n,p)})((0,i.Tg)(t));if(!w)throw TypeError("Invalid event target");return new o.c(function(e){var t=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.next(1<t.length?t:t[0])};return w(t),function(){return _(t)}})}});var r=n(49303),i=n(38299),o=n(65132),a=n(55633),s=n(32812),l=n(70418),u=n(66687),c=["addListener","removeListener"],d=["addEventListener","removeEventListener"],f=["on","off"];function h(e,t){return function(n){return function(r){return e[n](t,r)}}}},79983:(e,t,n)=>{"use strict";n.d(t,{y:()=>S});var r=n(25698),i=n(44374),o=n(29649),a=n(61920),s=n(90474),l=n(92976),u=n(15287),c=n(15333),d=n(58022),f=n(33860),h=n(26900),p=n(87192),g=n(86476),m=n(18485),y=n(42327);let b="Not capturing exception because it's already been captured.";class v{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],e.dsn?this._dsn=(0,o.AD)(e.dsn):i.T&&h.vF.warn("No DSN provided, client will not send events."),this._dsn){const t=function(e,t,n){let r,i,o;return t||`${r=e.protocol?`${e.protocol}:`:"",i=e.port?`:${e.port}`:"",`${r}//${e.host}${i}${e.path?`/${e.path}`:""}/api/`}${e.projectId}/envelope/?${o={sentry_version:"7"},e.publicKey&&(o.sentry_key=e.publicKey),n&&(o.sentry_client=`${n.name}/${n.version}`),new URLSearchParams(o).toString()}`}(this._dsn,e.tunnel,e._metadata?e._metadata.sdk:void 0);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:t})}const t=["enableTracing","tracesSampleRate","tracesSampler"].find(t=>t in e&&void 0==e[t]);t&&(0,h.pq)(()=>{console.warn(`[Sentry] Deprecation warning: \`${t}\` is set to undefined, which leads to tracing being enabled. In v9, a value of \`undefined\` will result in tracing being disabled.`)})}captureException(e,t,n){let r=(0,p.eJ)();if((0,p.GR)(e))return i.T&&h.vF.log(b),r;let o={event_id:r,...t};return this._process(this.eventFromException(e,o).then(e=>this._captureEvent(e,o,n))),o.event_id}captureMessage(e,t,n,r){let i={event_id:(0,p.eJ)(),...n},o=(0,f.NF)(e)?e:String(e),a=(0,f.sO)(e)?this.eventFromMessage(o,t,i):this.eventFromException(e,i);return this._process(a.then(e=>this._captureEvent(e,i,r))),i.event_id}captureEvent(e,t,n){let r=(0,p.eJ)();if(t&&t.originalException&&(0,p.GR)(t.originalException))return i.T&&h.vF.log(b),r;let o={event_id:r,...t},a=(e.sdkProcessingMetadata||{}).capturedSpanScope;return this._process(this._captureEvent(e,o,a||n)),o.event_id}captureSession(e){"string"!=typeof e.release?i.T&&h.vF.warn("Discarded session because of missing or non-string release"):(this.sendSession(e),(0,l.qO)(e,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(e){let t=this._transport;
34return t?(this.emit("flush"),this._isClientDoneProcessing(e).then(n=>t.flush(e).then(e=>n&&e))):(0,g.XW)(!0)}close(e){return this.flush(e).then(e=>(this.getOptions().enabled=!1,this.emit("close"),e))}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}init(){(this._isEnabled()||this._options.integrations.some(({name:e})=>e.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(e){return this._integrations[e]}addIntegration(e){let t=this._integrations[e.name];(0,s.qm)(this,e,this._integrations),t||(0,s.lc)(this,[e])}sendEvent(e,t={}){var n,r,i,o;let s,l,u,c;this.emit("beforeSendEvent",e,t);let d=(n=this._dsn,r=this._options._metadata,i=this._options.tunnel,s=(0,a.Cj)(r),l=e.type&&"replay_event"!==e.type?e.type:"event",(o=r&&r.sdk)&&(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||o.name,e.sdk.version=e.sdk.version||o.version,e.sdk.integrations=[...e.sdk.integrations||[],...o.integrations||[]],e.sdk.packages=[...e.sdk.packages||[],...o.packages||[]]),u=(0,a.n2)(e,s,i,n),delete e.sdkProcessingMetadata,c=[{type:l},e],(0,a.h4)(u,[c]));for(let e of t.attachments||[])d=(0,a.W3)(d,(0,a.bm)(e));let f=this.sendEnvelope(d);f&&f.then(t=>this.emit("afterSendEvent",e,t),null)}sendSession(e){var t,n,r;let i,s,l,u=(t=this._dsn,n=this._options._metadata,r=this._options.tunnel,i=(0,a.Cj)(n),s={sent_at:new Date().toISOString(),...i&&{sdk:i},...!!r&&t&&{dsn:(0,o.SB)(t)}},l="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()],(0,a.h4)(s,[l]));this.sendEnvelope(u)}recordDroppedEvent(e,t,n){if(this._options.sendClientReports){let r="number"==typeof n?n:1,o=`${e}:${t}`;i.T&&h.vF.log(`Recording outcome: "${o}"${r>1?` (${r} times)`:""}`),this._outcomes[o]=(this._outcomes[o]||0)+r}}on(e,t){let n=this._hooks[e]=this._hooks[e]||[];return n.push(t),()=>{let e=n.indexOf(t);e>-1&&n.splice(e,1)}}emit(e,...t){let n=this._hooks[e];n&&n.forEach(e=>e(...t))}sendEnvelope(e){return(this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport)?this._transport.send(e).then(null,e=>(i.T&&h.vF.error("Error while sending envelope:",e),e)):(i.T&&h.vF.error("Transport disabled"),(0,g.XW)({}))}_setupIntegrations(){let{integrations:e}=this._options;this._integrations=(0,s.P$)(this,e),(0,s.lc)(this,e)}_updateSessionFromEvent(e,t){let n="fatal"===t.level,r=!1,i=t.exception&&t.exception.values;if(i)for(let e of(r=!0,i)){let t=e.mechanism;if(t&&!1===t.handled){n=!0;break}}let o="ok"===e.status;(o&&0===e.errors||o&&n)&&((0,l.qO)(e,{...n&&{status:"crashed"},errors:e.errors||Number(r||n)}),this.captureSession(e))}_isClientDoneProcessing(e){return new g.T2(t=>{let n=0,r=setInterval(()=>{0==this._numProcessing?(clearInterval(r),t(!0)):(n+=1,e&&n>=e&&(clearInterval(r),t(!1)))},1)})}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,t,n=(0,r.o5)(),i=(0,r.rm)()){let o=this.getOptions(),a=Object.keys(this._integrations);return!t.integrations&&a.length>0&&(t.integrations=a),this.emit("preprocessEvent",e,t),e.type||i.setLastEventId(e.event_id||t.event_id),(0,m.mG)(o,e,t,n,this,i).then(e=>(null===e||(e.contexts={trace:(0,r.vn)(n),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:(0,u.ao)(this,n),...e.sdkProcessingMetadata}),e))}_captureEvent(e,t={},n){return this._processEvent(e,t,n).then(e=>e.event_id,e=>{i.T&&(e instanceof d.U&&"log"===e.logLevel?h.vF.log(e.message):h.vF.warn(e))})}_processEvent(e,t,n){let r=this.getOptions(),{sampleRate:o}=r,a=_(e),s=w(e),l=e.type||"error",u=`before send for type \`${l}\``,c=void 0===o?void 0:function(e){if("boolean"==typeof e)return Number(e);let t="string"==typeof e?parseFloat(e):e;if("number"!=typeof t||isNaN(t)||t<0||t>1){i.T&&h.vF.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(e)} of type ${JSON.stringify(typeof e)}.`);return}return t}(o);if(s&&"number"==typeof c&&Math.random()>c)return this.recordDroppedEvent("sample_rate","error",e),(0,g.xg)(new d.U(`Discarding event because it's not included in the random sample (sampling rate = ${o})`,"log"));let p="replay_event"===l?"replay":l,m=(e.sdkProcessingMetadata||{}).capturedSpanIsolationScope;return this._prepareEvent(e,t,n,m).then(n=>{if(null===n)throw this.recordDroppedEvent("event_processor",p,e),new d.U("An event processor returned `null`, will not send event.","log");return t.data&&!0===t.data.__sentry__?n:function(e,t){let n=`${t} must return \`null\` or a valid event.`;if((0,f.Qg)(e))return e.then(e=>{if(!(0,f.Qd)(e)&&null!==e)throw new d.U(n);return e},e=>{throw new d.U(`${t} rejected with ${e}`)});if(!(0,f.Qd)(e)&&null!==e)throw new d.U(n);return e}(function(e,t,n,r){let{beforeSend:i,beforeSendTransaction:o,beforeSendSpan:a}=t;if(w(n)&&i)return i(n,r);if(_(n)){if(n.spans&&a){let t=[];for(let r of n.spans){let n=a(r);n?t.push(n):((0,y.xl)(),e.recordDroppedEvent("before_send","span"))}n.spans=t}if(o){if(n.spans){let e=n.spans.length;n.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:e}}return o(n,r)}}return n}(this,r,n,t),u)}).then(r=>{if(null===r){if(this.recordDroppedEvent("before_send",p,e),a){let t=1+(e.spans||[]).length;this.recordDroppedEvent("before_send","span",t)}throw new d.U(`${u} returned \`null\`, will not send event.`,"log")}let i=n&&n.getSession();if(!a&&i&&this._updateSessionFromEvent(i,r),a){let e=(r.sdkProcessingMetadata&&r.sdkProcessingMetadata.spanCountBeforeProcessing||0)-(r.spans?r.spans.length:0);e>0&&this.recordDroppedEvent("before_send","span",e)}let o=r.transaction_info;return a&&o&&r.transaction!==e.transaction&&(r.transaction_info={...o,source:"custom"}),this.sendEvent(r,t),r}).then(null,e=>{if(e instanceof d.U)throw e;throw this.captureException(e,{data:{__sentry__:!0},originalException:e}),new d.U(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
35Reason: ${e}`)})}_process(e){this._numProcessing++,e.then(e=>(this._numProcessing--,e),e=>(this._numProcessing--,e))}_clearOutcomes(){let e=this._outcomes;return this._outcomes={},Object.entries(e).map(([e,t])=>{let[n,r]=e.split(":");return{reason:n,category:r,quantity:t}})}_flushOutcomes(){var e;let t;i.T&&h.vF.log("Flushing outcomes...");let n=this._clearOutcomes();if(0===n.length){i.T&&h.vF.log("No outcomes to send");return}if(!this._dsn){i.T&&h.vF.log("No dsn provided, will not send outcomes");return}i.T&&h.vF.log("Sending outcomes:",n);let r=(e=this._options.tunnel&&(0,o.SB)(this._dsn),t=[{type:"client_report"},{timestamp:(0,c.lu)(),discarded_events:n}],(0,a.h4)(e?{dsn:e}:{},[t]));this.sendEnvelope(r)}}function w(e){return void 0===e.type}function _(e){return"transaction"===e.type}var x=n(40731),k=n(47141),E=n(9542),A=n(41974);class S extends v{constructor(e){const t={parentSpanIsAlwaysRootSpan:!0,...e},n=A.jf.SENTRY_SDK_SOURCE||"npm";(0,x.K)(t,"browser",["browser"],n),super(t),t.sendClientReports&&A.jf.document&&A.jf.document.addEventListener("visibilitychange",()=>{"hidden"===A.jf.document.visibilityState&&this._flushOutcomes()})}eventFromException(e,t){return(0,E.u)(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t="info",n){return(0,E.qv)(this._options.stackParser,e,t,n,this._options.attachStacktrace)}captureUserFeedback(e){if(!this._isEnabled()){k.T&&h.vF.warn("SDK not enabled, will not capture user feedback.");return}let t=function(e,{metadata:t,tunnel:n,dsn:r}){let i={event_id:e.event_id,sent_at:new Date().toISOString(),...t&&t.sdk&&{sdk:{name:t.sdk.name,version:t.sdk.version}},...!!n&&!!r&&{dsn:(0,o.SB)(r)}},s=[{type:"user_report"},e];return(0,a.h4)(i,[s])}(e,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this.sendEnvelope(t)}_prepareEvent(e,t,n){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,n)}}},80519:(e,t,n)=>{var r,i=n(73750),o=(r=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(sr
35c)_1."+r:"";e.exports=function(e){return!!o&&o in e}},80585:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}},80604:function(e,t,n){var r=n(87358);(function(){var t,n,i,o;"u">typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:null!=r&&r.hrtime?(e.exports=function(){return(t()-o)/1e6},n=r.hrtime,o=(t=function(){var e;return 1e9*(e=n())[0]+e[1]})()-1e9*r.uptime()):Date.now?(e.exports=function(){return Date.now()-i},i=Date.now()):(e.exports=function(){return new Date().getTime()-i},i=new Date().getTime())}).call(this)},80722:(e,t,n)=>{"use strict";n.d(t,{u:()=>i});var r=n(16975);function i(e){return(0,r.T)(function(){return e})}},80825:(e,t,n)=>{"use strict";n.d(t,{ZC:()=>f,iD:()=>h,qm:()=>p,E6:()=>g,Yi:()=>m,VN:()=>b,_x:()=>y,RU:()=>v,fG:()=>w,ZU:()=>_,ki:()=>x,eP:()=>k,pn:()=>E,io:()=>A,lG:()=>S,AR:()=>C,F8:()=>O,Uc:()=>T,CZ:()=>D,DR:()=>I,Nj:()=>R,Pq:()=>j,HU:()=>N,YI:()=>M,k5:()=>F,Bk:()=>$,Fi:()=>L,YW:()=>P,pz:()=>z,Pc:()=>U,vV:()=>B,NU:()=>H,q4:()=>q,xh:()=>V,xP:()=>G,sj:()=>W,qL:()=>Y,RA:()=>K,pd:()=>Z,EM:()=>X,HP:()=>J,U6:()=>Q,dv:()=>ee,BY:()=>et,qT:()=>en,Eb:()=>er,OD:()=>ei,_U:()=>eo,l4:()=>es,A3:()=>el,ht:()=>eu,rf:()=>ec,u2:()=>ed,UN:()=>ef,tt:()=>eh,rr:()=>eg,ov:()=>ep,SM:()=>em,Af:()=>ey,D6:()=>eb,iY:()=>ev,Tf:()=>ew,ix:()=>e_,En:()=>ex,cr:()=>ek,DA:()=>eE,Re:()=>eA,JQ:()=>eS,Pn:()=>eO,DU:()=>eT,N8:()=>eD,Q$:()=>eI,HJ:()=>eR,zA:()=>ej,Nv:()=>eN,iS:()=>eM,Zk:()=>e$,Ng:()=>eF,qI:()=>eL,z_:()=>eP,o7:()=>ez,NI:()=>eU,Ni:()=>eB,oo:()=>eH,OP:()=>eq,KH:()=>eV,lH:()=>eG,DI:()=>eW,Zb:()=>eY,Gt:()=>eC,sF:()=>eK,JW:()=>eZ,S$:()=>eX,b_:()=>eJ,b1:()=>eQ,vu:()=>e0,dY:()=>e1,hK:()=>e2,zp:()=>e5,WB:()=>e3,SR:()=>e4});var r=n(12115),i=n(50286);let o="https://www.sanity.io/help/missing-context-error";function a(e,t){let n=Symbol.for(e);if(typeof document>"u"||"u">typeof window&&"u">typeof window.navigator&&window.navigator.userAgent.includes("jsdom")){let n=(0,r.createContext)(t);return n.displayName=e,n}if(l[n]){if(l[n].version!==i.s)throw TypeError(`Duplicate instances of context "${e}" with incompatible versions detected: Expected ${i.s} but got ${l[n].version}.
36
37For more information, please visit ${o}`);s.has(i.s)||(console.warn(`Duplicate instances of context "${e}" detected. This is likely a mistake and may cause unexpected behavior.
38
39For more information, please visit ${o}`),s.add(i.s))}else l[n]={context:(0,r.createContext)(t),version:i.s};return l[n].context}let s=new Set,l=function(){if("u">typeof globalThis)return globalThis;if("u">typeof window)return window;if("u">typeof self)return self;if("u">typeof global)return global;throw Error("sanity: could not locate global scope")}();var u=n(50633),c=n(95155),d=n(19749);let f=a("sanity/_singletons/context/active-workspace-matcher",null),h=a("sanity/_singletons/context/addon-dataset",null),p=a("sanity/_singletons/context/app-id-cache",null),g=a("sanity/_singletons/context/asset-limit-upsell",null),m=a("sanity/_singletons/context/calendar",void 0),y=a("sanity/_singletons/context/change-indicator-tracker-store",null),b=a("sanity/_singletons/context/change-indicator-tracker-get-snapshot",null),v=a("sanity/_singletons/context/color-scheme-set-value",null),w=a("sanity/_singletons/context/color-scheme-value",null),_=a("sanity/_singletons/context/comment-input",null),x=a("sanity/_singletons/context/comments-authoring-path",null),k=a("sanity/_singletons/context/comments",null),E=a("sanity/_singletons/context/comments-enabled",{enabled:!1,mode:null}),A=a("sanity/_singletons/context/comments-intent",void 0),S=a("sanity/_singletons/context/comments-onboarding",null),C=a("sanity/_singletons/context/comments-selected-path",null),O=a("sanity/_singletons/context/comments-upsell",null),T=a("sanity/_singletons/context/copy-paste",null),D=a("sanity/_singletons/context/dialog-stack",null),I=a("sanity/_singletons/context/diff",{path:[]}),R=a("sanity/_singletons/context/document-action-props",void 0),j=a("sanity/_singletons/context/actions-state",null),N=a("sanity/_singletons/context/document-change",null),M=a("sanity/_singletons/context/document-field-actions",null),F=a("sanity/_singletons/context/document-id",null),$=a("sanity/_singletons/context/document-limit-upsell",null),L=a("sanity/_singletons/context/document-pane",null),P=a("sanity/_singletons/context/document-sheet-list",void 0),z=a("sanity/_singletons/context/enhanced-object-dialog-enabled",{enabled:!1,legacyEditing:!1}),U=a("sanity/_singletons/context/events",null),B=a("sanity/_singletons/context/field-actions",{actions:[],focused:!1,hovered:!1,__internal_slot:void 0,__internal_comments:void 0,onMouseEnter:()=>{},onMouseLeave:()=>{}}),H=a("sanity/_singletons/context/form-builder",null),q=a("sanity/_singletons/context/form-callbacks",null),V=a("sanity/_singletons/context/form-field-presence",[]),G=a("sanity/_singletons/context/form-value",null),W=a("sanity/_singletons/context/free-trial",void 0),Y=a("sanity/_singletons/context/fullscreen-pte",{getFullscreenPath:()=>{},setFullscreenPath:()=>{},hasAnyFullscreen:()=>!1,allFullscreenPaths:[]}),K=a("sanity/_singletons/context/get-form-value",null),Z=a("sanity/_singletons/context/hovered-field",{store:{subscribe:()=>()=>{},getSnapshot:()=>[]},onMouseEnter:()=>{},onMouseLeave:()=>{}}),X=a("sanity/_singletons/context/is-last-pane",!1),J=a("sanity/_singletons/context/live-user-application",{userApplication:void 0,isLoading:!0}),Q=a("sanity/_singletons/context/locale",void 0),ee=a("sanity/_singletons/context/media-library",null),et=a("sanity/_singletons/context/mention-user",null),en=a("sanity/_singletons/context/navbar",{onSearchFullscreenOpenChange:()=>"",onSearchOpenChange:()=>"",searchFullscreenOpen:!1,searchFullscreenPortalEl:null,searchOpen:!1}),er=a("sanity/_singletons/context/package-version-info",{isAutoUpdating:!1,checkForUpdates:()=>{},get currentVersion(){throw Error("PackageVersionInfoContext not provided")},versionCheckStatus:{lastCheckedAt:null,checking:!1}}),ei=a("sanity/_singletons/context/pane",null),eo=a("sanity/_singletons/context/pane-layout",null);function ea(){throw Error("Pane is missing router context")}let es=a("sanity/_singletons/context/pane-router",{index:0,groupIndex:0,siblingIndex:0,payload:void 0,params:{},hasGroupSiblings:!1,groupLength:0,routerPanesState:[],BackLink:()=>ea(),ChildLink:()=>ea(),ReferenceChildLink:()=>ea(),handleEditReference:()=>ea(),ParameterizedLink:()=>ea(),replaceCurrent:()=>ea(),closeCurrentAndAfter:()=>ea(),closeCurrent:()=>ea(),duplicateCurrent:()=>
39ea(),setView:()=>ea(),setParams:()=>ea(),setPayload:()=>ea(),navigateIntent:()=>ea(),createPathWithParams:()=>ea()}),el=a("sanity/_singletons/context/perspective-context",null),eu=a("sanity/_singletons/context/portable-text-markers",[]),ec=a("sanity/_singletons/context/portable-text-member-item-element-refs",new u.t({})),ed=a("sanity/_singletons/context/portable-text-member-items",[]),ef=a("sanity/_singletons/context/portable-text-member-schema-types",null),eh=a("sanity/_singletons/context/presence",[]),ep=a("sanity/_singletons/context/presence-tracker-store",null),eg=a("sanity/_singletons/context/presence-tracker-get-snapshot",null),em=a("sanity/_singletons/context/presentation",null),ey=a("sanity/_singletons/context/presentation/displayed-document",null),eb=a("sanity/_singletons/context/presentation/document",null),ev=a("sanity/_singletons/context/presentation/navigate",null),ew=a("sanity/_singletons/context/presentation/panels",null),e_=a("sanity/_singletons/context/presentation/params",null),ex=a("sanity/_singletons/context/presentation/shared-state",null),ek=a("sanity/_singletons/context/preview-card",{selected:!1}),eE=a("sanity/_singletons/context/reference-input-options",{}),eA=a("sanity/_singletons/context/reference-item-ref",null),eS=a("sanity/_singletons/context/releases-metadata",null),eC=a("sanity/_singletons/context/releases-table",null),eO=a("sanity/_singletons/context/releases-upsell",null),eT=a("sanity/_singletons/context/resolved-panes",null);function eD(e){let t,n=(0,d.c)(3),{children:r,value:i}=e;return n[0]!==r||n[1]!==i?(t=(0,c.jsx)(eT.Provider,{value:i,children:r}),n[0]=r,n[1]=i,n[2]=t):t=n[2],t}let eI=a("sanity/_singletons/context/resource-cache",null),eR=a("sanity/_singletons/context/review-changes",{onOpenReviewChanges:()=>{},onSetFocus:()=>{},isReviewChangesOpen:!1,isInteractive:!0}),ej=a("sanity/_singletons/context/router",null),eN=a("sanity/_singletons/context/router-history",null),eM=a("sanity/_singletons/context/start-in-create-enabled",{startInCreateEnabled:!1}),eF=a("sanity/_singletons/context/scheduled-publishing-enabled",{enabled:!1,mode:null,hasUsedScheduledPublishing:{used:!1,loading:!1}}),e$=a("sanity/_singletons/context/schedule-publish-upsell",{upsellData:null,handleOpenDialog:()=>null,handleClose:()=>null,upsellDialogOpen:!1,telemetryLogs:{dialogSecondaryClicked:()=>null,dialogPrimaryClicked:()=>null,panelViewed:()=>null,panelDismissed:()=>null,panelPrimaryClicked:()=>null,panelSecondaryClicked:()=>null}}),eL=a("sanity/_singletons/context/schedules",void 0),eP=a("sanity/_singletons/context/scroll",null),ez=a("sanity/_singletons/context/search",void 0),eU=a("sanity/_singletons/context/selected-annotations",null),eB=a("sanity/_singletons/context/single-doc-release-context",null),eH=a("sanity/_singletons/context/single-doc-release-enabled",{enabled:!1,mode:null}),eq=a("sanity/_singletons/context/single-doc-release-upsell",{upsellData:null,handleOpenDialog:()=>null,handleClose:()=>null,upsellDialogOpen:!1,telemetryLogs:{dialogSecondaryClicked:()=>null,dialogPrimaryClicked:()=>null,panelViewed:()=>null,panelDismissed:()=>null,panelPrimaryClicked:()=>null,panelSecondaryClicked:()=>null}}),eV=a("sanity/_singletons/context/sortable-item-id",null),eG=a("sanity/_singletons/context/source",null),eW=a("sanity/_singletons/context/structure-tool",null),eY=a("sanity/_singletons/context/studioAnnouncements",void 0),eK=a("sanity/_singletons/context/tasks",null),eZ=a("sanity/_singletons/context/tasks-enabled",{enabled:!1,mode:null}),eX=a("sanity/_singletons/context/tasks-navigation",null),eJ=a("sanity/_singletons/context/tasks-upsell",null),eQ=a("sanity/_singletons/context/user-application-cache",null),e0=a("sanity/_singletons/context/user-color-manager",null),e1=a("sanity/_singletons/context/validation",[]),e2=a("sanity/_singletons/context/virtualizer-scroll-instance",null),e5=a("sanity/_singletons/context/workspace",null),e3=a("sanity/_singletons/context/workspaces",null),e4=a("sanity/_singletons/context/z-index",{navbar:200,navbarPopover:5e5,navbarDialog:500001,pane:100,paneHeader:[110,15e3],paneFooter:[120,2e4],paneResizer:[130,25e3],paneDialog:[140,5e3],popover:200,modal:200,movingItem:1e4,drawershade:1e6,drawer:1000001,fullscreen:12e5,toast:[100,11e3],portal:200,dropdown:200,navbarFixed:1010,fullscreenEdit:1050,popoverBackgroun
39d:1060,tooltip:200,modalBackground:2e3,spinner:3e3})},81019:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(95749),i=n(52766),o=n(77494),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1;var s=n(32521),l=n(21719),u=l.A&&l.A.isTypedArray;let c=u?(0,s.A)(u):function(e){return(0,o.A)(e)&&(0,i.A)(e.length)&&!!a[(0,r.A)(e)]}},81137:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(35063);let i=function(e){return e!=e},o=function(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return -1},a=function(e,t,n){return t==t?o(e,t,n):(0,r.A)(e,i,n)}},81420:(e,t,n)=>{"use strict";n.d(t,{l$:()=>en,$x:()=>et});var r=n(91420),i=n(66161);let o=Object.prototype.toString;function a(e){switch(o.call(e)){case"[object Function]":return"function";case"[object Date]":return"date";case"[object RegExp]":return"regexp";case"[object Arguments]":return"arguments";case"[object Array]":return"array";case"[object String]":return"string"}return null===e?"null":void 0===e?"undefined":e&&"object"==typeof e&&"nodeType"in e&&1===e.nodeType?"element":e===Object(e)?"object":typeof e}function s(e,t){if(!e||!t)return e===t;if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}let l=["pre","textarea","code"],u="normal",c=Object.freeze({_type:"block",markDefs:[],style:u}),d=Object.freeze({_type:"span",marks:[]}),f={p:c,blockquote:{...c,style:"blockquote"}},h={span:{object:"text"}},p={ol:{object:null},ul:{object:null}},g={h1:{...c,style:"h1"},h2:{...c,style:"h2"},h3:{...c,style:"h3"},h4:{...c,style:"h4"},h5:{...c,style:"h5"},h6:{...c,style:"h6"}},m={br:{...c,style:u}},y={b:"strong",strong:"strong",i:"em",em:"em",u:"underline",s:"strike-through",strike:"strike-through",del:"strike-through",code:"code",sup:"sup",sub:"sub",ins:"ins",mark:"mark",small:"small"},b={li:{...c,style:u,level:1,listItem:"bullet"}};function v(e){if(e&&"tagName"in e)return e.tagName.toLowerCase()}function w(e){return"span"===e._type}function _(e){return"block"===e._type}function x(e){return"__decorator"===e._type}function k(e){return"__annotation"===e._type}function E(e){return 1===e.nodeType}[...new Set(Object.values({...f,...h,...p,...b,...g,...m}).filter(e=>"style"in e).map(e=>e.style))],[...new Set(Object.values(y))];var A={0:8203,1:8204,2:8205,3:8290,4:8291,5:8288,6:65279,7:8289,8:119155,9:119156,a:119157,b:119158,c:119159,d:119160,e:119161,f:119162},S={0:8203,1:8204,2:8205,3:65279},C={0:String.fromCodePoint(S[0]),1:String.fromCodePoint(S[1]),2:String.fromCodePoint(S[2]),3:String.fromCodePoint(S[3])};[,,,,].fill(String.fromCodePoint(S[0])).join(""),Object.fromEntries(Object.entries(C).map(e=>[e[1],+e[0]])),Object.fromEntries(Object.entries(A).map(e=>e.reverse()));var O=`${Object.values(A).map(e=>`\\u{${e.toString(16)}}`).join("")}`,T=RegExp(`[${O}]{4,}`,"gu");function D(){return(function(e=16){let t=new Uint8Array(e);return crypto.getRandomValues(t),t})(12).reduce((e,t)=>e+I[t],"").slice(0,12)}let I=[];for(let e=0;e<256;++e)I[e]=(e+256).toString(16).slice(1);function R(e){return!!E(e)&&"span"===v(e)&&e.classList.contains("NormalTextRun")}function j(e){return!!E(e)&&"span"===v(e)&&e.classList.contains("TextRun")&&!e.classList.contains("NormalTextRun")&&!e.classList.contains("EOP")}function N(e){let t=e.getAttribute("style")??"";return e.classList.contains("MacChromeBold")||/font-weight\s*:\s*bold/.test(t)}function M(e){let t=e.getAttribute("style")??"";return/font-style\s*:\s*italic/.test(t)}function F(e){let t=e.getAttribute("style")??"";return e.classList.contains("Underlined")||/text-decoration\s*:\s*underline/.test(t)}function $(e){let t=e.getAttribute("style")??"";return e.classList.contains("Strikethrough")||/text-decoration\s*:\s
39*line-through/.test(t)}function L(e){return N(e)||M(e)||F(e)||$(e)}function P(e){let t=e.getAttribute("data-ccp-parastyle");if(t)return t;if("span"===v(e)&&e.classList.contains("TextRun")){let t=Array.from(e.querySelectorAll(".NormalTextRun"));if(t.length>0){let e=t[0].getAttribute("data-ccp-parastyle");if(e&&t.every(t=>t.getAttribute("data-ccp-parastyle")===e))return e}}}let z=["/html/text()","/html/head/text()","/html/body/text()","/html/body/ul/text()","/html/body/ol/text()","//comment()","//style","//xml","//script","//meta","//link"],U=["body","table","tbody","thead","tfoot","tr","ul","ol"],B=/(class="?Mso|style=(?:"|')[^"]*?\bmso-|w:WordDocument|<o:\w+>|<\/font>)/,H=["//o:p","//span[@style='mso-list:Ignore']","//span[@style='mso-list: Ignore']"],q=["//p[@class='MsoTocHeading']","//p[@class='MsoTitle']","//p[@class='MsoToaHeading']","//p[@class='MsoSubtitle']","//span[@class='MsoSubtleEmphasis']","//span[@class='MsoIntenseEmphasis']"],V={MsoTocHeading:["h3"],MsoTitle:["h1"],MsoToaHeading:["h2"],MsoSubtitle:["h5"],MsoSubtleEmphasis:["span","em"],MsoIntenseEmphasis:["span","em","strong"]},G=[function(e,t){return function e(t){if(3!==t.nodeType||l.includes(t.parentElement?.tagName.toLowerCase()||""))for(let n=t.childNodes.length-1;n>=0;n--)e(t.childNodes[n]);else{let e=t.textContent?.replace(/\s\s+/g," ").replace(/[\r\n]+/g," ")||"",n=t.parentElement?.tagName.toLowerCase();n&&U.includes(n)&&""===e.trim()?t.parentNode?.removeChild(t):t.textContent=e}}(t.body),t},function(e,t){if(e.match(/<!-- notionvc:.*?-->/g)){let e=t.evaluate("//*",t,null,6,null);for(let t=e.snapshotLength-1;t>=0;t--)e.snapshotItem(t)?.setAttribute("data-is-notion","true")}return t},function(e,t){if(!B.test(e))return t;let n=t.evaluate(H.join("|"),t,e=>"o"===e?"urn:schemas-microsoft-com:office:office":null,6,null);for(let e=n.snapshotLength-1;e>=0;e--){let t=n.snapshotItem(e);t?.parentNode&&t.parentNode.removeChild(t)}let r=t.evaluate(q.join("|"),t,null,6,null);for(let e=r.snapshotLength-1;e>=0;e--){let n=r.snapshotItem(e),i=V[n.className],o=t.createTextNode(n.textContent||"");if(!i)continue;let a=t.createElement(i[0]),s=a,l=a;i.slice(1).forEach(e=>{l=t.createElement(e),s.appendChild(l),s=l}),l.appendChild(o),n?.parentNode?.replaceChild(a,n)}return t},function(e,t){if(!(/class="(?:TextRun|NormalTextRun)[^"]*SCXW\d+[^"]*BCX\d+/.test(e)||/class="EOP[^"]*SCXW\d+/.test(e)))return t;for(let e of Array.from(t.querySelectorAll('p.Paragraph[role="heading"]'))){let n=e.getAttribute("aria-level");if(n){let r=t.createElement("word-online-block");r.setAttribute("data-parastyle",`heading ${n}`);let i=e.parentNode;if(i){for(i.insertBefore(r,e);e.firstChild;)r.appendChild(e.firstChild);i.removeChild(e)}}}let n=t.body.firstChild;for(;n;){let e=n.nextSibling;if(!E(n)||!v(n)?.includes("span")){n=e;continue}let r=P(n);if(!r){n=e;continue}let i=[n],o=e;for(;o&&!(!E(o)||P(o)!==r);)i.push(o),o=o.nextSibling;let a=t.createElement("word-online-block");for(let e of(a.setAttribute("data-parastyle",r),t.body.insertBefore(a,n),i))a.appendChild(e);n=o}for(let e of Array.from(t.body.querySelectorAll("span")).filter(j))for(let n of Array.from(e.childNodes).filter(R)){let r=!0;for(;r;){let i=Array.from(n.childNodes),o=i.findIndex(e=>E(e)&&"span"===v(e)&&""===e.textContent.trim());if(-1===o){r=!1;break}let a=i.at(o);if(!a){r=!1;break}let s=a.textContent?.replace(/\u00a0/g," ")??"",l=!i.slice(0,o).some(e=>3===e.nodeType);if(n.removeChild(a),l){let e=Array.from(n.childNodes).find(e=>3===e.nodeType);if(e)e.textContent=s+(e.textContent||"");else{let e=t.createTextNode(s);n.insertBefore(e,n.firstChild)}}else{let r=e.nextSibling,i=L(e);if(r&&E(r)&&j(r)){let e=L(r);if(i&&!e){let e=Array.from(r.childNodes).find(R);if(e&&E(e)){let n=e.firstChild;if(n&&3===n.nodeType)n.textContent=s+(n.textContent??"");else{let n=t.createTextNode(s);e.insertBefore(n,e.firstChild)}}}else{let e=Array.from(n.childNodes).find(e=>3===e.nodeType);if(e)e.textContent=(e.textContent??"")+s;else{let e=t.createTextNode(s);n.appendChild(e)}}}else{let e=Array.from(n.childNodes).find(e=>3===e.nodeType);if(e)e.textContent=(e.textContent??"")+s;else{let e=t.createTextNode(s);n.appendChild(e)}}}}}return t},function(e,t){let n=t.evaluate('//*[@id and contains(@id, "docs-internal-guid")]',t,null,5,null).iterateNext();if(n){let e="b"===v(n);e||(n=t.body);let r=t.evaluate("//*",t,null,6,null);for(let i=r.snapshotLength-1;i>=0;i--){let o=r.snapshotItem(i);o?.setAttribute("data-is-google-docs","true"),o?.parentElement!==n&&(e||o.parentElement!==t.body)||(o?.setAttribute("data-is-root-node","true"),v(o)),"li"===v(o)&&o.firstChild&&"img"===v(o?.firstChild)&&o.removeChild(o.firstChild)}return e&&t.body.firstElementChild?.replaceWith(...Array.from(n.childNodes)),t}return t},function(e,t){let n=t.evaluate("/html/body/text()",t,null,6,null);for(let e=n.snapshotLength-1;e>=0;e--){let r=n.snapshotItem(e),i=r.textContent||"";if(i.replace(/[^\S\n]+$/g,"")){let e=t.createElement("span");e.appendChild(t.createTextNode(i)),r.parentNode?.replaceChild(e,r)}else r.parentNode?.removeChild(r)}let r=t.evaluate(z.join("|"),t,null,6,null);for(let e=r.snapshotLength-1;e>=0;e--){let t=r.snapshotItem(e);t&&t.parentNode?.removeChild(t)}return t}];function W(e,t){let n={"heading 1":"h1","heading 2":"h2","heading 3":"h3","heading 4":"h4","heading 5":"h5","heading 6":"h6",Quote:"blockquote"}[t]??"normal";return e.styles.find(e=>e.name===n)?.name}let Y=Object.keys(p);function K(e){return E(e)&&!!e.getAttribute("data-is-google-docs")}let Z={...f,...g},X={deserialize:e=>{var t;return"#text"===e.nodeName&&(3===(t=e).nodeType&&" "===(t.textContent||"").replace(/[\r\n]/g," ").replace(/\s\s+/g," ")&&t.nextSibling&&3!==t.nextSibling.nodeType&&t.previousSibling&&3!==t.previousSibling.nodeType||" "!==t.textContent)&&"body"!==v(t.parentNode)?{...d,marks:[],text:(e.textContent??"").replace(/\s\s+/g," ")}:void 0}};function J(e,t){return!(!(0,i.zS)(e,t)||t.children.some(t=>!(0,i.bl)(e,t)||""!==t.text.trim()))}function Q(e){return["\xa0"," "].includes(e)}class ee{keyGenerator;schema;rules;parseHtml;whitespaceMode;_markDefs=[];constructor(e,t={}){const{rules:n=[],unstable_whitespaceOnPasteMode:r="preserve"}=t,i=function(e,t){return[{deserialize(e,t){let n=v(e);if(("p"===n||g[n||""])&&function(e){if(!E(e))return!1;if(e.className&&("MsoListParagraphCxSpFirst"===e.className||"MsoListParagraphCxSpMiddle"===e.className||"MsoListParagraphCxSpLast"===e.className))return!0;let t=e.getAttribute("style");return!!(t&&/mso-list:\s*l\d+\s+level\d+\s+lfo\d+/.test(t))}(e)){let n=function(e){let t=v(e);if(t&&g[t])return g[t]?.style}(e);return{...c,listItem:function(e){let t=E(e)&&e.getAttribute("style");if(t&&t.match(/lfo\d+/))return t.match("lfo1")?"number":"bullet"}(e),level:function(e){let t=E(e)&&e.getAttribute("style");if(!t)return;let n=t.match(/level\d+/);if(!n)return;let[r]=n[0].match(/\d/)||[];return(r?Number.parseInt(r,10):1)||1}(e),style:n||u,children:t(e.childNodes)}}}},{deserialize(n){if(!E(n)||"img"!==v(n))return;let r=n.className,i="";if("string"==typeof r?i=r:r&&"object"==typeof r&&(i=r.baseVal||""),!i.includes("WACImage"))return;let o=n.getAttribute("src")??void 0,a=n.getAttribute("alt")??void 0,s=Object.fromEntries(Array.from(n.attributes).map(e=>[e.name,e.value])),l=t.matchers?.image?.({context:{schema:e,keyGenerator:t.keyGenerator??D},props:{...s,...o?{src:o}:{},...a?{alt:a}:{}}});if(l)return{_type:"__block",block:l}}},{deserialize(n){if(!E(n))return;let r=n.className,i="";if("string"==typeof r?i=r:r&&"object"==typeof r&&(i=r.baseVal||""),!i.includes("WACImageContainer"))return;let o=n.querySelector("img");if(!o)return;let a=o.getAttribute("src")??void 0,s=o.getAttribute("alt")??void 0,l=Object.fromEntries(Array.from(o.attributes).map(e=>[e.name,e.value])),u=null!==n.closest("li");if(null===n.closest("p")||u){let n=t.matchers?.inlineImage?.({context:{schema:e,keyGenerator:t.keyGenerator??D},props:{...l,...a?{src:a}:{},...s?{alt:s}:{}}});if(n)return n}let c=t.matchers?.image?.({context:{schema:e,keyGenerator:t.keyGenerator??D},props:{...l,...a?{src:a}:{},...s?{alt:s}:{}}});if(c)return{_type:"__block",block:c}}},{deserialize(t,n){if(!E(t)||"li"!==v(t))return;let r=t.getAttribute("data-aria-level");if(!r)return;let i="ol"===v(t.parentNode)?"number":"bullet",o=t.childNodes,a="normal";if(1===t.childNodes.length&&t.firstChild&&E(t.firstChild)){let n=v(t.firstChild);if(n&&(f[n]||g[n]||"word-online-block"===n)){if("word-online-block"===n){let n=t.firstChild.getAttribute("data-parastyle"),r=n?W(e,n):void 0;r&&(a=r)}
39o=t.firstChild.childNodes}}let s=n(o),l=Array.isArray(s)?s:[s].filter(Boolean);for(;l.length>0;){let e=l[l.length-1];if(e&&"object"==typeof e&&"text"in e){let t=e.text.trimEnd();if(""===t)l=l.slice(0,-1);else if(t!==e.text){e.text=t;break}else break}else break}return{_type:e.block.name,children:l,markDefs:[],style:a,listItem:i,level:parseInt(r,10)}}},{deserialize(t,n){if(!E(t))return;let r=t.getAttribute("data-parastyle"),i=r?W(e,r):void 0;if(!i)return;let o=n(t.childNodes);return{_type:e.block.name,style:i,markDefs:[],children:Array.isArray(o)?o:o?[o]:[]}}},{deserialize(e){if(E(e)&&"span"===v(e)&&e.classList.contains("TextRun")&&!e.classList.contains("EOP")){if(!E(e)||!e.textContent)return;let t=Array.from(e.childNodes).filter(e=>R(e)||!!E(e)&&"span"===v(e)&&e.classList.contains("FindHit")).map(e=>E(e)?e.textContent??"":"").join("");if(!t)return;let n={...d,marks:[],text:t};if(N(e)&&n.marks.push("strong"),!M(e)||function(e){let t=e;for(;t;){if(E(t)&&"word-online-block"===v(t)&&/^heading \d$/.test(t.getAttribute("data-parastyle")??""))return!0;t=t.parentNode}return!1}(e)||function(e){let t=e;for(;t;){if(E(t)&&"word-online-block"===v(t)&&"Quote"===t.getAttribute("data-parastyle"))return!0;t=t.parentNode}return!1}(e)||n.marks.push("em"),F(e))if(E(e)&&e.parentElement&&"a"===v(e.parentElement)){let t=e.parentElement;if(t){let e=t.previousSibling,r=t.nextSibling,i=e&&E(e)&&F(e),o=r&&E(r)&&F(r);(i||o)&&n.marks.push("underline")}}else n.marks.push("underline");return $(e)&&n.marks.push("strike-through"),n}}},{deserialize(e){var t;if(E(e)&&"span"===v(e)&&E(t=e)&&t.getAttribute("data-is-notion")){let t,n,r,i={...d,marks:[],text:e.textContent};return t=E(e)&&e.getAttribute("style"),(/font-weight:700/.test(t||"")||/font-weight:600/.test(t||""))&&i.marks.push("strong"),n=E(e)&&e.getAttribute("style"),/text-decoration:underline/.test(n||"")&&i.marks.push("underline"),r=E(e)&&e.getAttribute("style"),/font-style:italic/.test(r||"")&&i.marks.push("em"),i}}},{deserialize(e,t){if(E(e)&&"span"===v(e)&&K(e)){let n,r,i;if(!e.textContent)return e.previousSibling||e.nextSibling||e.setAttribute("data-lonely-child","true"),t(e.childNodes);let o={...d,marks:[],text:e.textContent};return n=E(e)&&e.getAttribute("style"),/font-weight\s*:\s*700/.test(n||"")&&o.marks.push("strong"),function(e){if(!E(e)||"a"===v(e.parentNode))return!1;let t=E(e)&&e.getAttribute("style");return/text-decoration\s*:\s*underline/.test(t||"")}(e)&&o.marks.push("underline"),r=E(e)&&e.getAttribute("style"),/text-decoration\s*:\s*(?:.*line-through.*;)/.test(r||"")&&o.marks.push("strike-through"),i=E(e)&&e.getAttribute("style"),/font-style\s*:\s*italic/.test(i||"")&&o.marks.push("em"),o}}},{deserialize(t,n){if("li"===v(t)&&K(t)){let r,i;return{...c,listItem:function(e){let t=v(e.parentNode);if(!(t&&!Y.includes(t)))return"ul"===v(e.parentNode)?"bullet":"number"}(t),level:function(e){let t=0;if("li"===v(e)){let n=e.parentNode;for(;n;){let e=v(n);e&&Y.includes(e)&&t++,n=n.parentNode}}else t=1;return t}(t),style:(i=(r=v(t.firstChild))&&Z[r])&&e.styles.some(e=>e.name===i.style)?i.style:u,children:n(t.firstChild?.childNodes||[])}}}},{deserialize(e){var t;if("br"===v(e)&&K(e)&&E(e)&&e.classList.contains("apple-interchange-newline")||"br"===v(e)&&K(e)&&E(e)&&e?.parentNode?.textContent===""||"br"===v(e)&&K(e)&&E(e)&&E(t=e)&&t.getAttribute("data-is-root-node"))return{...d,text:""}}},X,{deserialize(t){if("pre"!==v(t))return;let n=e.styles.some(e=>"code"===e.name);return{_type:"block",style:"normal",markDefs:[],children:[{...d,marks:n?["code"]:[],text:t.textContent||""}]}}},{deserialize(e,t){if("blockquote"!==v(e))return;let n={...f,...g};delete n.blockquote;let r=Object.keys(n),i=[];return e.childNodes.forEach((t,n)=>{if(e.ownerDocument)if(1===t.nodeType&&r.includes(t.localName.toLowerCase())){let r=e.ownerDocument.createElement("span"),o=i[i.length-1];o&&3===o.nodeType&&o.textContent?.trim()&&r.appendChild(e.ownerDocument.createTextNode("\r")),t.childNodes.forEach(e=>{r.appendChild(e.cloneNode(!0))}),n!==e.childNodes.length&&r.appendChild(e.ownerDocument.createTextNode("\r")),i.push(r)}else i.push(t)}),{_type:"block",style:"blockquote",markDefs:[],children:t(i)}}},{deserialize(t,n){let r={...f,...g},i=v(t),o=i?r[i]:void 0;if(!o)return;if(t.parentNode&&"li"===v(t.parentNode))return n(t.childNodes);let a=o.style;return e.styles.some(e=>
39e.name===a)||(o=c),{...o,children:n(t.childNodes)}}},{deserialize(e,t){let n=v(e);if(!(!n||!(n in h)))return t(e.childNodes)}},{deserialize(e,t){if("div"===v(e))return t(e.childNodes)}},{deserialize(e,t){let n=v(e);if(!(!n||!(n in p)))return t(e.childNodes)}},{deserialize(e){if("br"===v(e))return{...d,text:`
40`}}},{deserialize(t,n,r){let i=v(t),o=i?b[i]:void 0,a=v(t.parentNode)||"";if(!o||!t.parentNode||!p[a])return;let s="ul"===a&&e.lists.some(e=>"bullet"===e.name)?"bullet":"ol"===a&&e.lists.some(e=>"number"===e.name)?"number":void 0;return s?(o.listItem=s,{...o,children:n(t.childNodes)}):r({_type:"block",children:n(t.childNodes)})}},{deserialize(t,n){let r=y[v(t)||""];if(!(!r||!e.decorators.some(e=>e.name===r)))return{_type:"__decorator",name:r,children:n(t.childNodes)}}},{deserialize(n,r){if("a"!==v(n))return;let i=e.annotations.some(e=>"link"===e.name),o=E(n)&&n.getAttribute("href");return o?i?{_type:"__annotation",markDef:{_key:t.keyGenerator?t.keyGenerator():D(),_type:"link",href:o},children:r(n.childNodes)}:n.appendChild(n.ownerDocument.createTextNode(` (${o})`))&&r(n.childNodes):r(n.childNodes)}},{deserialize(e,t){if(E(e)&&("td"===v(e)||"th"===v(e)))return{...c,children:t(e.childNodes)}}},{deserialize(n){if(E(n)&&"img"===v(n)){let r=n.getAttribute("src")??void 0,i=n.getAttribute("alt")??void 0,o=Object.fromEntries(Array.from(n.attributes).map(e=>[e.name,e.value])),a=n?.parentElement?.parentElement?.getAttribute("data-lonely-child"),s=null!==n.closest("li");if(a&&!s){let n=t.matchers?.image?.({context:{schema:e,keyGenerator:t.keyGenerator??D},props:{...o,...r?{src:r}:{},...i?{alt:i}:{}}});if(n)return{_type:"__block",block:n}}let l=t.matchers?.inlineImage?.({context:{schema:e,keyGenerator:t.keyGenerator??D},props:{...o,...r?{src:r}:{},...i?{alt:i}:{}}});if(l)return l;let u=t.matchers?.image?.({context:{schema:e,keyGenerator:t.keyGenerator??D},props:{...o,...r?{src:r}:{},...i?{alt:i}:{}}});if(u)return{_type:"__block",block:u}}}}]}(e,{keyGenerator:t.keyGenerator,matchers:t.matchers});this.schema=e,this.keyGenerator=t.keyGenerator??D,this.rules=[...n,...i],this.whitespaceMode=r;const o=t.parseHtml||function(){if("undefined"===a(DOMParser))throw Error("The native `DOMParser` global which the `Html` deserializer uses by default is not present in this environment. You must supply the `options.parseHtml` function instead.");return e=>new DOMParser().parseFromString(e,"text/html")}();this.parseHtml=e=>{var t,n;let r=e&&JSON.parse({cleaned:(t=JSON.stringify(e)).replace(T,""),encoded:(null==(n=t.match(T))?void 0:n[0])||""}.cleaned),i=o(r);for(let e of G)e(r,i);return i.body}}deserialize=e=>{var t;this._markDefs=[];let{parseHtml:n}=this,r=Array.from(n(e).childNodes),o=function(e,t,n){let r=[],o=0;for(let a of n){let n=(0,i.zS)(e,a)?function(e){let t=0;for(let n of e.children){if(!w(n)){t++;continue}let r=function(e,t){let n=e.children[t+1];return n&&"span"===n._type?n:null}(e,t),i=function(e,t){let n=e.children[t-1];return n&&"span"===n._type?n:null}(e,t);0===t&&(n.text=n.text.replace(/^[^\S\n]+/g,"")),t===e.children.length-1&&(n.text=n.text.replace(/[^\S\n]+$/g,"")),/\s/.test(n.text.slice(Math.max(0,n.text.length-1)))&&r&&w(r)&&/\s/.test(r.text.slice(0,1))&&(n.text=n.text.replace(/[^\S\n]+$/g,"")),/\s/.test(n.text.slice(0,1))&&i&&w(i)&&/\s/.test(i.text.slice(Math.max(0,i.text.length-1)))&&(n.text=n.text.replace(/^[^\S\n]+/g,"")),n.text||e.children.splice(t,1),i&&Array.isArray(i.marks)&&s(i.marks,n.marks)&&Q(n.text)?(i.text+=" ",e.children.splice(t,1)):r&&Array.isArray(r.marks)&&s(r.marks,n.marks)&&Q(n.text)&&(r.text=` ${r.text}`,e.children.splice(t,1)),t++}return e}(a):a;if("preserve"===t){r.push(n);continue}if("remove"===t){if(J(e,n))continue;r.push(n);continue}if("normalize"===t){if(J(e,n)){1==++o&&r.push(n);continue}r.push(n),o=0}}return r}({schema:this.schema},this.whitespaceMode,function e(t,n){return n.flatMap(n=>{var r,o,a,s;if("__block"===(r=n)._type&&(a=o=r.block)&&("object"==typeof a||"function"==typeof a)&&"string"==typeof o._type)return e(t,[n.block]);if((0,i.zS)(t,n)){let r=n.children.some(e=>t.schema.blockObjects.some(t=>t.name===e._type)),o=n.children.some(e=>"__block"===e._type||"block"===e._type);if(r||o){let r=(s=t,n.children.reduce((e,t)=>
40{let n=s.schema.inlineObjects.some(e=>e.name===t._type),r=s.schema.blockObjects.some(e=>e.name===t._type),o=e.pop();return(0,i.bl)(s,t)||n||!r?"__block"===t._type?[...e,...o?[o]:[],{type:"block object",block:t.block}]:"block"===t._type?[...e,...o?[o]:[],{type:"block",block:t}]:o&&"children"===o.type?[...e,{type:"children",children:[...o.children,t]}]:[...e,...o?[o]:[],{type:"children",children:[t]}]:[...e,...o?[o]:[],{type:"block object",block:t}]},[]));return 1===r.length&&"children"===r[0].type&&function e(t,n){if(t===n||Object.is(t,n))return!0;if("object"!=typeof t||"object"!=typeof n||null===t||null===n||Object.getPrototypeOf(t)!==Object.getPrototypeOf(n))return!1;if(Array.isArray(t)){var r=t,i=n;if(r.length!==i.length)return!1;for(let[t,n]of r.entries())if(!e(n,i[t]))return!1;return!0}if(t instanceof Map){var o=t,a=n;if(o.size!==a.size)return!1;for(let[t,n]of o.entries())if(!a.has(t)||!e(n,a.get(t)))return!1;return!0}if(t instanceof Set){var s=t,l=n;if(s.size!==l.size)return!1;let r=[...l];for(let t of s){let n=!1;for(let[i,o]of r.entries())if(e(t,o)){n=!0,r.splice(i,1);break}if(!n)return!1}return!0}if(t instanceof Date)return t.getTime()===n.getTime();if(t instanceof RegExp)return t.toString()===n.toString();if(Object.keys(t).length!==Object.keys(n).length)return!1;for(let[r,i]of Object.entries(t))if(!(r in n)||!e(i,n[r]))return!1;return!0}(r[0].children,n.children)?[n]:r.flatMap(r=>"block object"===r.type?[r.block]:"block"===r.type?e(t,[r.block]):r.children.length>0?r.children.every(e=>(0,i.bl)(t,e)&&""===e.text.trim())?[]:e(t,[{...n,children:r.children}]):[])}}return[n]})}({schema:this.schema},(t=this.schema,this.deserializeElements(r).reduce((e,n,r,o)=>{if("block"===n._type)return e.push(n),e;if("__block"===n._type)return e.push(n.block),e;let a=e[e.length-1];if(r>0&&!(0,i.zS)({schema:t},o[r-1])&&(0,i.zS)({schema:t},a))return a.children.push(n),e;let s={...c,children:[n]};return e.push(s),e},[]))));return this._markDefs.length>0&&o.filter(e=>(0,i.zS)({schema:this.schema},e)).forEach(e=>{e.markDefs=e.markDefs||[],e.markDefs=e.markDefs.concat(this._markDefs.filter(t=>e.children.flatMap(e=>e.marks||[]).includes(t._key)))}),o.map(e=>("block"===e._type&&(e._type=this.schema.block.name),e))};deserializeElements=(e=[])=>{let t=[];return e.forEach(e=>{t=t.concat(this.deserializeElement(e))}),t};deserializeElement=e=>{let t,n=e=>"[object NodeList]"===Object.prototype.toString.call(e)?this.deserializeElements(Array.from(e)):Array.isArray(e)?this.deserializeElements(e):e?this.deserializeElement(e):void 0,r=e=>({_type:"__block",block:e});for(let i=0;i<this.rules.length;i++){let o=this.rules[i];if(!o.deserialize)continue;let s=o.deserialize(e,n,r),l=a(s);if("array"!==l&&"object"!==l&&"null"!==l&&"undefined"!==l)throw Error(`A rule returned an invalid deserialized representation: "${t}".`);if(void 0!==s){if(null===s)throw Error("Deserializer rule returned `null`");if(t=Array.isArray(s)?s:x(s)?this.deserializeDecorator(s):k(s)?this.deserializeAnnotation(s):s,s&&!Array.isArray(s)&&_(s)&&"listItem"in s){let t=e.parentNode?.parentNode;for(;t&&"li"===v(t);)t=t.parentNode?.parentNode,s.level=s.level?s.level+1:1}s&&!Array.isArray(s)&&_(s)&&"blockquote"===s.style&&s.children.forEach((e,t)=>{w(e)&&"\r"===e.text&&(e.text=`
41`,(0===t||t===s.children.length-1)&&s.children.splice(t,1))});break}}return t||n(e.childNodes)||[]};deserializeDecorator=e=>{let{name:t}=e,n=e=>x(e)?this.deserializeDecorator(e):(w(e)?(e.marks=e.marks||[],e.text.trim()&&e.marks.unshift(t)):"children"in e&&Array.isArray(e.children)&&(e.children=e.children.map(n)),e);return e.children.reduce((e,t)=>{let r=n(t);return Array.isArray(r)?e.concat(r):(e.push(r),e)},[])};deserializeAnnotation=e=>{let{markDef:t}=e;this._markDefs.push(t);let n=e=>k(e)?this.deserializeAnnotation(e):(w(e)?(e.marks=e.marks||[],e.text.trim()&&e.marks.unshift(t._key)):"children"in e&&Array.isArray(e.children)&&(e.children=e.children.map(n)),e);return e.children.reduce((e,t)=>{let r=n(t);return Array.isArray(r)?e.concat(r):(e.push(r),e)},[])}}function et(e,t={}){let n={block:{name:t.blockTypeName||"block"},span:{name:"span"},styles:[],lists:[],decorators:[],annotations:[],blockObjects:[],inlineObjects:[]};if(e._type!==(t.blockTypeName||"block"))return"_key"in e?e:{...e,_key:t.keyGenerator?t.keyGenerator():D()};let r={_key:t.keyGenerator?t.keyGenerator():D(),children:[],markDefs:[],...e},o=r.children[r.children.length-1];if(!o)return r.children=[{_type:"span",_key:t.keyGenerator?t.keyGenerator():D(),text:"",marks:[]}],r;let a=[],l=!!(t.allowedDecorators&&Array.isArray(t.allowedDecorators))&&t.allowedDecorators;return r.children=r.children.reduce((e,t)=>
41{let a=e[e.length-1];return a&&(0,i.bl)({schema:n},t)&&(0,i.bl)({schema:n},a)&&s(a.marks,t.marks)?o&&o===t&&""===t.text&&r.children.length>1||(a.text+=t.text):e.push(t),e},[]).map(e=>{if(!e)throw Error("missing child");return e._key=t.keyGenerator?t.keyGenerator():D(),(0,i.bl)({schema:n},e)&&(e.marks?l&&(e.marks=e.marks.filter(e=>{let t=l.includes(e),n=r.markDefs?.some(t=>t._key===e);return t||n})):e.marks=[],a.push(...e.marks)),e}),r.markDefs=(r.markDefs||[]).filter(e=>a.includes(e._key)),r}function en(e,t,n={}){return new ee(t.hasOwnProperty("jsonType")?(0,r.Wz)(t):t,n).deserialize(e).map(e=>et(e,{keyGenerator:n.keyGenerator}))}},81531:(e,t,n)=>{"use strict";n.d(t,{Un:()=>l,cd:()=>a});var r=n(19749),i=n(12115),o=n(44416);function a(e){let t,n,a=(0,r.c)(4),l=(0,o.h)();return a[0]!==l||a[1]!==e.behaviors?(t=()=>{let t=e.behaviors.map(e=>l.registerBehavior({behavior:e}));return()=>{t.forEach(s)}},n=[l,e.behaviors],a[0]=l,a[1]=e.behaviors,a[2]=t,a[3]=n):(t=a[2],n=a[3]),(0,i.useEffect)(t,n),null}function s(e){e()}function l(e){let t,n,a=(0,r.c)(4),s=(0,o.h)();return a[0]!==s||a[1]!==e.on?(t=()=>{let t=s.on("*",e.on);return()=>{t.unsubscribe()}},n=[s,e.on],a[0]=s,a[1]=e.on,a[2]=t,a[3]=n):(t=a[2],n=a[3]),(0,i.useEffect)(t,n),null}i.forwardRef((e,t)=>{let n,a,s=(0,r.c)(2),l=(0,o.h)(),u=i.useRef(l);return s[0]===Symbol.for("react.memo_cache_sentinel")?(n=()=>u.current,a=[],s[0]=n,s[1]=a):(n=s[0],a=s[1]),i.useImperativeHandle(t,n,a),null}).displayName="EditorRefPlugin"},81581:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},82580:(e,t,n)=>{"use strict";let r;n.d(t,{Z:()=>l});var i=n(25698),o=n(90474),a=n(2159);let s=new WeakMap,l=(0,o._C)(()=>({name:"FunctionToString",setupOnce(){r=Function.prototype.toString;try{Function.prototype.toString=function(...e){let t=(0,a.sp)(this),n=s.has((0,i.KU)())&&void 0!==t?t:this;return r.apply(n,e)}}catch(e){}},setup(e){s.set(e,!0)}}))},82702:(e,t,n)=>{"use strict";n.d(t,{R:()=>i});var r=n(31385);function i(e){return(0,r.o)(Date.now(),e)}},82763:(e,t,n)=>{"use strict";n.d(t,{$:()=>u});var r=n(49303),i=n(79619),o=n(46934),a=n(36171),s=n(97993);function l(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=(0,a.lI)(e);return(0,i.N)(function(t,i){(0,o.K)()((0,s.H)((0,r.fX)([t],(0,r.zs)(e)),n)).subscribe(i)})}function u(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return l.apply(void 0,(0,r.fX)([],(0,r.zs)(e)))}},82899:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(35063),i=n(35821),o=n(60024);let a=function(e){var t=(0,o.A)(e),n=t%1;return t==t?n?t-n:t:0};var s=Math.max;let l=function(e,t,n){var o=null==e?0:e.length;if(!o)return -1;var l=null==n?0:a(n);return l<0&&(l=s(o+l,0)),(0,r.A)(e,(0,i.A)(t,3),l)}},83071:(e,t,n)=>{"use strict";n.d(t,{Sj:()=>r});let r=n(26847).Sj},83290:(e,t,n)=>{e=n.nmd(e);var r=n(67231),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i&&r.process,s=function(){try{var e=o&&o.require&&o.require("util").types;if(e)return e;return a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s},83320:(e,t,n)=>{var r=n(84214);e.exports=function(e){return r(this.__data__,e)>-1}},83346:(e,t)=>{"use strict";var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),p=Symbol.for("react.view_transition"),g=Symbol.for("react.client.reference");function m(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case i:case a:case o:case c:case d:case p:return e;default:switch(e=e&&e.$$typeof){case l:case u:case h:case f:case s:return e;default:return t}}case r:return t}}}t.ContextConsumer=s,t.ContextProvider=l,t.Element=n,t.ForwardRef=u,t.Fragment=i,t.Lazy=h,t.Memo=f,t.Portal=r,t.Profiler=a,t.StrictMode=o,t.Suspense=c,t.SuspenseList=d,t.isContextConsumer=function(e){return m(e)===s},t.isContextProvider=function(e){return m(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return m(e)===u},t.isFragment=function(e){return m(e)===i},t.isLazy=function(e){return m(e)===h},t.isMemo=function(e){return m(e)===f},t.isPortal=function(e){return m(e)===r},t.isProfiler=function(e){return m(e)===a},t.isStrictMode=function(e){return m(e)===o},t.isSuspense=function(e){return m(e)===c},t.isSuspenseList=function(e){return m(e)===d},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===a||e===o||e===c||e===d||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===f||e.$$typeof===l||e.$$typeof===s||e.$$typeof===u||e.$$typeof===g||void 0!==e.getModuleId)||!1},t.typeOf=m},83475:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(91993);function i(e){return(0,r.w)(e,Date.now())}}
41,83652:(e,t,n)=>{var r=n(5354),i=n(5772),o=n(84441),a=n(97154);e.exports=function(e){return o(e)?r(a(e)):i(e)}},83727:(e,t,n)=>{var r=n(8381),i=n(78440),o=n(37253),a=n(60462),s=n(37462),l=n(17650),u=n(46583),c=n(32516),d="[object Arguments]",f="[object Array]",h="[object Object]",p=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,g,m,y){var b=l(e),v=l(t),w=b?f:s(e),_=v?f:s(t);w=w==d?h:w,_=_==d?h:_;var x=w==h,k=_==h,E=w==_;if(E&&u(e)){if(!u(t))return!1;b=!0,x=!1}if(E&&!x)return y||(y=new r),b||c(e)?i(e,t,n,g,m,y):o(e,t,w,n,g,m,y);if(!(1&n)){var A=x&&p.call(e,"__wrapped__"),S=k&&p.call(t,"__wrapped__");if(A||S){var C=A?e.value():e,O=S?t.value():t;return y||(y=new r),m(C,O,n,g,y)}}return!!E&&(y||(y=new r),a(e,t,n,g,m,y))}},83779:(e,t,n)=>{"use strict";let r=n(79177);e.exports=(e,t)=>new r(e,t).minor},83826:(e,t,n)=>{var r=n(54104),i=n(96692),o=n(27998);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!i||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new o(a)}return n.set(e,t),this.size=n.size,this}},83899:(e,t,n)=>{"use strict";let{MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:i,MAX_LENGTH:o}=n(18559),a=n(74317),s=(t=e.exports={}).re=[],l=t.safeRe=[],u=t.src=[],c=t.safeSrc=[],d=t.t={},f=0,h="[a-zA-Z0-9-]",p=[["\\s",1],["\\d",o],[h,i]],g=(e,t,n)=>{let r=(e=>{for(let[t,n]of p)e=e.split(`${t}*`).join(`${t}{0,${n}}`).split(`${t}+`).join(`${t}{1,${n}}`);return e})(t),i=f++;a(e,i,t),d[e]=i,u[i]=t,c[i]=r,s[i]=new RegExp(t,n?"g":void 0),l[i]=new RegExp(r,n?"g":void 0)};g("NUMERICIDENTIFIER","0|[1-9]\\d*"),g("NUMERICIDENTIFIERLOOSE","\\d+"),g("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${h}*`),g("MAINVERSION",`(${u[d.NUMERICIDENTIFIER]})\\.(${u[d.NUMERICIDENTIFIER]})\\.(${u[d.NUMERICIDENTIFIER]})`),g("MAINVERSIONLOOSE",`(${u[d.NUMERICIDENTIFIERLOOSE]})\\.(${u[d.NUMERICIDENTIFIERLOOSE]})\\.(${u[d.NUMERICIDENTIFIERLOOSE]})`),g("PRERELEASEIDENTIFIER",`(?:${u[d.NONNUMERICIDENTIFIER]}|${u[d.NUMERICIDENTIFIER]})`),g("PRERELEASEIDENTIFIERLOOSE",`(?:${u[d.NONNUMERICIDENTIFIER]}|${u[d.NUMERICIDENTIFIERLOOSE]})`),g("PRERELEASE",`(?:-(${u[d.PRERELEASEIDENTIFIER]}(?:\\.${u[d.PRERELEASEIDENTIFIER]})*))`),g("PRERELEASELOOSE",`(?:-?(${u[d.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${u[d.PRERELEASEIDENTIFIERLOOSE]})*))`),g("BUILDIDENTIFIER",`${h}+`),g("BUILD",`(?:\\+(${u[d.BUILDIDENTIFIER]}(?:\\.${u[d.BUILDIDENTIFIER]})*))`),g("FULLPLAIN",`v?${u[d.MAINVERSION]}${u[d.PRERELEASE]}?${u[d.BUILD]}?`),g("FULL",`^${u[d.FULLPLAIN]}$`),g("LOOSEPLAIN",`[v=\\s]*${u[d.MAINVERSIONLOOSE]}${u[d.PRERELEASELOOSE]}?${u[d.BUILD]}?`),g("LOOSE",`^${u[d.LOOSEPLAIN]}$`),g("GTLT","((?:<|>)?=?)"),g("XRANGEIDENTIFIERLOOSE",`${u[d.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),g("XRANGEIDENTIFIER",`${u[d.NUMERICIDENTIFIER]}|x|X|\\*`),g("XRANGEPLAIN",`[v=\\s]*(${u[d.XRANGEIDENTIFIER]})(?:\\.(${u[d.XRANGEIDENTIFIER]})(?:\\.(${u[d.XRANGEIDENTIFIER]})(?:${u[d.PRERELEASE]})?${u[d.BUILD]}?)?)?`),g("XRANGEPLAINLOOSE",`[v=\\s]*(${u[d.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[d.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[d.XRANGEIDENTIFIERLOOSE]})(?:${u[d.PRERELEASELOOSE]})?${u[d.BUILD]}?)?)?`),g("XRANGE",`^${u[d.GTLT]}\\s*${u[d.XRANGEPLAIN]}$`),g("XRANGELOOSE",`^${u[d.GTLT]}\\s*${u[d.XRANGEPLAINLOOSE]}$`),g("COERCEPLAIN",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?`),g("COERCE",`${u[d.COERCEPLAIN]}(?:$|[^\\d])`),g("COERCEFULL",u[d.COERCEPLAIN]+`(?:${u[d.PRERELEASE]})?`+`(?:${u[d.BUILD]})?`+"(?:$|[^\\d])"),g("COERCERTL",u[d.COERCE],!0),g("COERCERTLFULL",u[d.COERCEFULL],!0),g("LONETILDE","(?:~>?)"),g("TILDETRIM",`(\\s*)${u[d.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",g("TILDE",`^${u[d.LONETILDE]}${u[d.XRANGEPLAIN]}$`),g("TILDELOOSE",`^${u[d.LONETILDE]}${u[d.XRANGEPLAINLOOSE]}$`),g("LONECARET","(?:\\^)"),g("CARETTRIM",`(\\s*)${u[d.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",g("CARET",`^${u[d.LONECARET]}${u[d.XRANGEPLAIN]}$`),g("CARETLOOSE",`^${u[d.LONECARET]}${u[d.XRANGEPLAINLOOSE]}$`),g("COMPARATORLOOSE",`^${u[d.GTLT]}\\s*(${u[d.LOOSEPLAIN]})$|^$`),g("COMPARATOR",`^${u[d.GTLT]}\\s*(${u[d.FULLPLAIN]})$|^$`),g("COMPARATORTRIM",`(\\s*)${u[d.GTLT]}\\s*(${u[d.LOOSEPLAIN]}|${u[d.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",g("HYPHENRANGE",`^\\s*(${u[d.XRANGEPLAIN]})\\s+-\\s+(${u[d.XRANGEPLAIN]})\\s*$`),g("HYPHENRANGELOOSE",`^\\s*(${u[d.XRANGEPLAINLOOSE]}
41)\\s+-\\s+(${u[d.XRANGEPLAINLOOSE]})\\s*$`),g("STAR","(<|>)?=?\\s*\\*"),g("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),g("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},84214:(e,t,n)=>{var r=n(72587);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return -1}},84433:(e,t,n)=>{"use strict";n.d(t,{O:()=>o});var r=n(92162),i=n(38454);function o(e,t,n){let o=(0,i.b)(e,t)/1e3;return(0,r.u)(n?.roundingMethod)(o)}},84441:(e,t,n)=>{var r=n(17650),i=n(90837),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!!("number"==n||"symbol"==n||"boolean"==n||null==e||i(e))||a.test(e)||!o.test(e)||null!=t&&e in Object(t)}},84705:(e,t,n)=>{"use strict";let r=n(3338);e.exports=(e,t,n)=>(e=new r(e,n),t=new r(t,n),e.intersects(t,n))},84911:(e,t,n)=>{"use strict";n.d(t,{j:()=>o});var r=n(97561),i=n(38299);function o(e,t,n){return[(0,r.p)(t,n)((0,i.Tg)(e)),(0,r.p)(function(e,r){return!t.call(n,e,r)})((0,i.Tg)(e))]}},85467:(e,t,n)=>{"use strict";let r,i,o;var a,s,l=Object.create,u=Object.defineProperty,c=Object.getOwnPropertyDescriptor,d=Object.getOwnPropertyNames,f=Object.getPrototypeOf,h=Object.prototype.hasOwnProperty,p=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of d(t))h.call(e,i)||i===n||u(e,i,{get:()=>t[i],enumerable:!(r=c(t,i))||r.enumerable});return e},g={},m={$dispatcherGuard:()=>T,$makeReadOnly:()=>I,$reset:()=>D,$structuralCheck:()=>F,c:()=>E,clearRenderCounterRegistry:()=>j,renderCounterRegistry:()=>R,useRenderCounter:()=>N};for(var y in m)u(g,y,{get:m[y],enumerable:!0});e.exports=p(u({},"__esModule",{value:!0}),g);var b=(o=null!=(r=n(12115))?l(f(r)):{},p(!i&&r&&r.__esModule?o:u(o,"default",{value:r,enumerable:!0}),r)),{useRef:v,useEffect:w,isValidElement:_}=b,x=null!=(a=b.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE)?a:b.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,k=Symbol.for("react.memo_cache_sentinel"),E="function"==typeof(null==(s=b.__COMPILER_RUNTIME)?void 0:s.c)?b.__COMPILER_RUNTIME.c:function(e){return b.useMemo(()=>{let t=Array(e);for(let n=0;n<e;n++)t[n]=k;return t[k]=!0,t},[])},A={};["readContext","useCallback","useContext","useEffect","useImperativeHandle","useInsertionEffect","useLayoutEffect","useMemo","useReducer","useRef","useState","useDebugValue","useDeferredValue","useTransition","useMutableSource","useSyncExternalStore","useId","unstable_isNewReconciler","getCacheSignal","getCacheForType","useCacheRefresh"].forEach(e=>{A[e]=()=>{throw Error(`[React] Unexpected React hook call (${e}) from a React compiled function. Check that all hooks are called directly and named according to convention ('use[A-Z]') `)}});var S=null;function C(e){return x.ReactCurrentDispatcher.current=e,x.ReactCurrentDispatcher.current}A.useMemoCache=e=>{if(null!=S)return S.useMemoCache(e);throw Error("React Compiler internal invariant violation: unexpected null dispatcher")};var O=[];function T(e){let t=x.ReactCurrentDispatcher.current;if(0===e){if(O.push(t),1===O.length&&(S=t),t===A)throw Error("[React] Unexpected call to custom hook or component from a React compiled function. Check that (1) all hooks are called directly and named according to convention ('use[A-Z]') and (2) components are returned as JSX instead of being directly invoked.");C(A)}else if(1===e){let e=O.pop();if(null==e)throw Error("React Compiler internal error: unexpected null in guard stack");0===O.length&&(S=null),C(e)}else if(2===e)O.push(t),C(S);else if(3===e){let e=O.pop();if(null==e)throw Error("React Compiler internal error: unexpected null in guard stack");C(e)}else throw Error("React Compiler internal error: unreachable block"+e)}function D(e){for(let t=0;t<e.length;t++)e[t]=k}function I(){throw Error("TODO: implement $makeReadOnly in react-compiler-runtime")}var R=new Map;function j(){for(let e of R.values())e.forEach(e=>{e.count=0})}function N(e){let t=v(null);null!=t.current&&(t.current.count+=1),w(()=>{if(null==t.current){let n,r={count:0};null==(n=R.get(e))&&(n=new Set,R.set(e,n)),n.add(r),t.current=r}return()=>{var n;let r;null!==t.current&&(n=t.current,null!=(r=R.get(e))&&r.delete(n))}})}var M=new Set;function F(e,t,n,r,i,o){function a(e,t,a,s){let l=`${r}:${o} [${i}] ${n}${a} changed from ${e} to ${t} at depth ${s}`;M.has(l)||(M.add(l),console.error(l))}!function e(t,n,r,i){if(!(i>2)){if(t!==n)if(typeof t!=typeof n)a(`type ${typeof t}`,`type ${typeof n}`,r,i);else if("object"==typeof t){let o=Array.isArray(t),s=Array.isArray(n);if(null===t&&null!==n)a("null",`type ${typeof n}`,r,i);else if(null===n)a(`type ${typeof t}`,"null",r,i);else if(t instanceof Map)if(n instanceof Map)if(t.size!==n.size)a(`Map instance with size ${t.size}`,`Map instance with size ${n.size}
41`,r,i);else for(let[o,s]of t)n.has(o)?e(s,n.get(o),`${r}.get(${o})`,i+1):a(`Map instance with key ${o}`,`Map instance without key ${o}`,r,i);else a("Map instance","other value",r,i);else if(n instanceof Map)a("other value","Map instance",r,i);else if(t instanceof Set)if(n instanceof Set)if(t.size!==n.size)a(`Set instance with size ${t.size}`,`Set instance with size ${n.size}`,r,i);else for(let e of n)t.has(e)||a(`Set instance without element ${e}`,`Set instance with element ${e}`,r,i);else a("Set instance","other value",r,i);else if(n instanceof Set)a("other value","Set instance",r,i);else if(o||s)if(o!==s)a(`type ${o?"array":"object"}`,`type ${s?"array":"object"}`,r,i);else if(t.length!==n.length)a(`array with length ${t.length}`,`array with length ${n.length}`,r,i);else for(let o=0;o<t.length;o++)e(t[o],n[o],`${r}[${o}]`,i+1);else if(_(t)||_(n))_(t)!==_(n)?a(`type ${_(t)?"React element":"object"}`,`type ${_(n)?"React element":"object"}`,r,i):t.type!==n.type?a(`React element of type ${t.type}`,`React element of type ${n.type}`,r,i):e(t.props,n.props,`[props of ${r}]`,i+1);else{for(let e in n)e in t||a(`object without key ${e}`,`object with key ${e}`,r,i);for(let o in t)o in n?e(t[o],n[o],`${r}.${o}`,i+1):a(`object with key ${o}`,`object without key ${o}`,r,i)}}else{if("function"==typeof t)return;isNaN(t)||isNaN(n)?isNaN(t)!==isNaN(n)&&a(`${isNaN(t)?"NaN":"non-NaN value"}`,`${isNaN(n)?"NaN":"non-NaN value"}`,r,i):t!==n&&a(t,n,r,i)}}}(e,t,"",0)}},85827:(e,t,n)=>{"use strict";let r=n(79177),i=n(3338);e.exports=(e,t,n)=>{let o=null,a=null,s=null;try{s=new i(t,n)}catch(e){return null}return e.forEach(e=>{s.test(e)&&(!o||1===a.compare(e))&&(a=new r(o=e,n))}),o}},85933:(e,t,n)=>{e.exports=n(68649)(Object,"create")},85990:(e,t,n)=>{"use strict";let r=n(53941);e.exports=(e,t,n)=>0>r(e,t,n)},86476:(e,t,n)=>{"use strict";n.d(t,{T2:()=>l,XW:()=>a,xg:()=>s});var r,i,o=n(33860);function a(e){return new l(t=>{t(e)})}function s(e){return new l((t,n)=>{n(e)})}(r=i||(i={}))[r.PENDING=0]="PENDING",r[r.RESOLVED=1]="RESOLVED",r[r.REJECTED=2]="REJECTED";class l{constructor(e){l.prototype.__init.call(this),l.prototype.__init2.call(this),l.prototype.__init3.call(this),l.prototype.__init4.call(this),this._state=i.PENDING,this._handlers=[];try{e(this._resolve,this._reject)}catch(e){this._reject(e)}}then(e,t){return new l((n,r)=>{this._handlers.push([!1,t=>{if(e)try{n(e(t))}catch(e){r(e)}else n(t)},e=>{if(t)try{n(t(e))}catch(e){r(e)}else r(e)}]),this._executeHandlers()})}catch(e){return this.then(e=>e,e)}finally(e){return new l((t,n)=>{let r,i;return this.then(t=>{i=!1,r=t,e&&e()},t=>{i=!0,r=t,e&&e()}).then(()=>{i?n(r):t(r)})})}__init(){this._resolve=e=>{this._setResult(i.RESOLVED,e)}}__init2(){this._reject=e=>{this._setResult(i.REJECTED,e)}}__init3(){this._setResult=(e,t)=>{if(this._state===i.PENDING){if((0,o.Qg)(t))return void t.then(this._resolve,this._reject);this._state=e,this._value=t,this._executeHandlers()}}}__init4(){this._executeHandlers=()=>{if(this._state===i.PENDING)return;let e=this._handlers.slice();this._handlers=[],e.forEach(e=>{e[0]||(this._state===i.RESOLVED&&e[1](this._value),this._state===i.REJECTED&&e[2](this._value),e[0]=!0)})}}}},86594:(e,t,n)=>{var r=n(85933),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:i.call(t,e)}},86808:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(70998),i=n(55756),o=n(88796),a=n(24286);let s=function(e){e=(0,a.A)(e);var t=(0,i.A)(e)?(0,o.A)(e):void 0,n=t?t[0]:e.charAt(0),s=t?(0,r.A)(t,1).join(""):e.slice(1);return n.toUpperCase()+s}},86953:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(59233);function i(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r.A;++t<n;)this.add(e[t])}i.prototype.add=i.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},i.prototype.has=function(e){return this.__data__.has(e)};let o=i},87040:(e,t,n)=>{"use strict";e.exports=n(83346)},87192:(e,t,n)=>{"use strict";n.d(t,{$X:()=>s,GR:()=>c,M6:()=>u,eJ:()=>o,gO:()=>l});var r=n(2159),i=n(7463);function o(){let e=i.O,t=e.crypto||e.msCrypto,n=()=>
4116*Math.random();try{if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");t&&t.getRandomValues&&(n=()=>{let e=new Uint8Array(1);return t.getRandomValues(e),e[0]})}catch(e){}return"10000000100040008000100000000000".replace(/[018]/g,e=>(e^(15&n())>>e/4).toString(16))}function a(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function s(e){let{message:t,event_id:n}=e;if(t)return t;let r=a(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function l(e,t,n){let r=e.exception=e.exception||{},i=r.values=r.values||[],o=i[0]=i[0]||{};o.value||(o.value=t||""),o.type||(o.type=n||"Error")}function u(e,t){let n=a(e);if(!n)return;let r=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...r,...t},t&&"data"in t){let e={...r&&r.data,...t.data};n.mechanism.data=e}}function c(e){if(function(e){try{return e.__sentry_captured__}catch(e){}}(e))return!0;try{(0,r.my)(e,"__sentry_captured__",!0)}catch(e){}return!1}},87256:(e,t,n)=>{"use strict";n.d(t,{JR:()=>A,_G:()=>f,gB:()=>g,gl:()=>x,m$:()=>u});var r=n(12115),i=n(44923),o=n(39768);function a(e,t,n){let r=e.slice();return r.splice(n<0?r.length+n:n,0,r.splice(t,1)[0]),r}function s(e){return null!==e&&e>=0}let l={scaleX:1,scaleY:1},u=e=>{var t,n,r,i;let o,a,s,{rects:u,activeNodeRect:c,activeIndex:d,overIndex:f,index:h}=e,p=null!=(t=u[d])?t:c;if(!p)return null;let g=(n=u,r=h,i=d,o=n[r],a=n[r-1],s=n[r+1],o&&(a||s)?i<r?a?o.left-(a.left+a.width):s.left-(o.left+o.width):s?s.left-(o.left+o.width):o.left-(a.left+a.width):0);if(h===d){let e=u[f];return e?{x:d<f?e.left+e.width-(p.left+p.width):e.left-p.left,y:0,...l}:null}return h>d&&h<=f?{x:-p.width-g,y:0,...l}:h<d&&h>=f?{x:p.width+g,y:0,...l}:{x:0,y:0,...l}},c=e=>{let{rects:t,activeIndex:n,overIndex:r,index:i}=e,o=a(t,r,n),s=t[i],l=o[i];return l&&s?{x:l.left-s.left,y:l.top-s.top,scaleX:l.width/s.width,scaleY:l.height/s.height}:null},d={scaleX:1,scaleY:1},f=e=>{var t,n,r,i;let o,a,s,{activeIndex:l,activeNodeRect:u,index:c,rects:f,overIndex:h}=e,p=null!=(t=f[l])?t:u;if(!p)return null;if(c===l){let e=f[h];return e?{x:0,y:l<h?e.top+e.height-(p.top+p.height):e.top-p.top,...d}:null}let g=(n=f,r=c,i=l,o=n[r],a=n[r-1],s=n[r+1],o?i<r?a?o.top-(a.top+a.height):s?s.top-(o.top+o.height):0:s?s.top-(o.top+o.height):a?o.top-(a.top+a.height):0:0);return c>l&&c<=h?{x:0,y:-p.height-g,...d}:c<l&&c>=h?{x:0,y:p.height+g,...d}:{x:0,y:0,...d}},h="Sortable",p=r.createContext({activeIndex:-1,containerId:h,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:c,disabled:{draggable:!1,droppable:!1}});function g(e){let{children:t,id:n,items:a,strategy:s=c,disabled:l=!1}=e,{active:u,dragOverlay:d,droppableRects:f,over:g,measureDroppableContainers:m}=(0,i.fF)(),y=(0,o.YG)(h,n),b=null!==d.rect,v=(0,r.useMemo)(()=>a.map(e=>"object"==typeof e&&"id"in e?e.id:e),[a]),w=null!=u,_=u?v.indexOf(u.id):-1,x=g?v.indexOf(g.id):-1,k=(0,r.useRef)(v),E=!function(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(v,k.current),A=-1!==x&&-1===_||E,S="boolean"==typeof l?{draggable:l,droppable:l}:l;(0,o.Es)(()=>{E&&w&&m(v)},[E,v,w,m]),(0,r.useEffect)(()=>{k.current=v},[v]);let C=(0,r.useMemo)(()=>({activeIndex:_,containerId:y,disabled:S,disableTransforms:A,items:v,overIndex:x,useDragOverlay:b,sortedRects:v.reduce((e,t,n)=>{let r=f.get(t);return r&&(e[n]=r),e},Array(v.length)),strategy:s}),[_,y,S.draggable,S.droppable,A,v,x,f,b,s]);return r.createElement(p.Provider,{value:C},t)}let m=e=>{let{id:t,items:n,activeIndex:r,overIndex:i}=e;return a(n,r,i).indexOf(t)},y=e=>{let{containerId:t,isSorting:n,wasDragging:r,index:i,items:o,newIndex:a,previousItems:s,previousContainerId:l,transition:u}=e;return!!u&&!!r&&(s===o||i!==a)&&(!!n||a!==i&&t===l)},b={duration:200,easing:"ease"},v="transform",w=o.Ks.Transition.toString({property:v,duration:0,easing:"linear"}),_={roleDescription:"sortable"};function x(e){var t,n,a,l;let{animateLayoutChanges:u=y,attributes:c,disabled:d,data:f,getNewIndex:h=m,id:g,strategy:x,resizeObserverConfig:k,transition:E=b}=e,{items:A,containerId:S,activeIndex:C,disabled:O,disableTransforms:T,sortedRects:D,overIndex:I,useDragOverlay:R,strategy:j}=(0,r.useContext)(p),N=(t=d,n=O,"boolean"==typeof t?{draggable:t,droppable:!1}:{draggable:null!=(a=null==t?void 0:t.draggable)?a:n.draggable,droppable:null!=(l=null==t?void 0:t.droppable)?l:n.droppable}),M=A.indexOf(g),F=(0,r.useMemo)(()=>({sortable:{containerId:S,index:M,items:A},...f}),[S,f,M,A]),$=(0,r.useMemo)(()=>A.slice(A.indexOf(g)),[A,g]),{rect:L,node:P,isOver:z,setNodeRef:U}=(0,i.zM)({id:g,data:F,disabled:N.droppable,resizeObserverConfig:{updateMeasurementsFor:$,...k}}),{active:B,activatorEvent:H,activeNodeRect:q,attributes:V,setNodeRef:G,listeners:W,isDragging:Y,over:K,setActivatorNodeRef:Z,transform:X}=(0,i.PM)({id:g,data:F,attributes:{..._,...c},disabled:N.draggable}),J=(0,o.jn)(U,G),Q=!!B,ee=Q&&!T&&s(C)&&s(I),et=!R&&Y,en=et&&ee?X:null,er=ee?null!=en?en:(null!=x?x:j)({rects:D,activeNodeRect:q,activeIndex:C,overIndex:I,index:M}):null,ei=s(C)&&s(I)?h({id:g,items:A,activeIndex:C,overIndex:I}):M,eo=null==B?void 0:B.id,ea=(0,r.useRef)({activeId:eo,items:A,newIndex:ei,containerId:S}),es=A!==ea.current.items,el=u({active:B,containerId:S,isDragging:Y,isSorting:Q,id:g,index:M,items:A,newIndex:ea.current.newIndex,previousItems:ea.current.items,previousContainerId:ea.current.containerId,transition:E,wasDragging:null!=ea.current.activeId}),eu=function(e){let{disabled:t,index:n,node:a,rect:s}=e,[l,u]=(0,r.useState)(null),c=(0,r.useRef)(n);return(0,o.Es)(()=>
41{if(!t&&n!==c.current&&a.current){let e=s.current;if(e){let t=(0,i.Sj)(a.current,{ignoreTransform:!0}),n={x:e.left-t.left,y:e.top-t.top,scaleX:e.width/t.width,scaleY:e.height/t.height};(n.x||n.y)&&u(n)}}n!==c.current&&(c.current=n)},[t,n,a,s]),(0,r.useEffect)(()=>{l&&u(null)},[l]),l}({disabled:!el,index:M,node:P,rect:L});return(0,r.useEffect)(()=>{Q&&ea.current.newIndex!==ei&&(ea.current.newIndex=ei),S!==ea.current.containerId&&(ea.current.containerId=S),A!==ea.current.items&&(ea.current.items=A)},[Q,ei,S,A]),(0,r.useEffect)(()=>{if(eo===ea.current.activeId)return;if(eo&&!ea.current.activeId){ea.current.activeId=eo;return}let e=setTimeout(()=>{ea.current.activeId=eo},50);return()=>clearTimeout(e)},[eo]),{active:B,activeIndex:C,attributes:V,data:F,rect:L,index:M,newIndex:ei,items:A,isOver:z,isSorting:Q,isDragging:Y,listeners:W,node:P,overIndex:I,over:K,setNodeRef:J,setActivatorNodeRef:Z,setDroppableNodeRef:U,setDraggableNodeRef:G,transform:null!=eu?eu:er,transition:eu||es&&ea.current.newIndex===M?w:(!et||(0,o.kx)(H))&&E&&(Q||el)?o.Ks.Transition.toString({...E,property:v}):void 0}}function k(e){if(!e)return!1;let t=e.data.current;return!!t&&"sortable"in t&&"object"==typeof t.sortable&&"containerId"in t.sortable&&"items"in t.sortable&&"index"in t.sortable}let E=[i.vL.Down,i.vL.Right,i.vL.Up,i.vL.Left],A=(e,t)=>{let{context:{active:n,collisionRect:r,droppableRects:a,droppableContainers:s,over:l,scrollableAncestors:u}}=t;if(E.includes(e.code)){if(e.preventDefault(),!n||!r)return;let t=[];s.getEnabled().forEach(n=>{if(!n||null!=n&&n.disabled)return;let o=a.get(n.id);
41if(o)switch(e.code){case i.vL.Down:r.top<o.top&&t.push(n);break;case i.vL.Up:r.top>o.top&&t.push(n);break;case i.vL.Left:r.left>o.left&&t.push(n);break;case i.vL.Right:r.left<o.left&&t.push(n)}});let f=(0,i.y$)({active:n,collisionRect:r,droppableRects:a,droppableContainers:t,pointerCoordinates:null}),h=(0,i.Vy)(f,"id");if(h===(null==l?void 0:l.id)&&f.length>1&&(h=f[1].id),null!=h){let e=s.get(n.id),t=s.get(h),l=t?a.get(t.id):null,f=null==t?void 0:t.node.current;if(f&&l&&e&&t){var c,d;let n=(0,i.sl)(f).some((e,t)=>u[t]!==e),a=S(e,t),s=(c=e,d=t,!!k(c)&&!!k(d)&&!!S(c,d)&&c.data.current.sortable.index<d.data.current.sortable.index),h=n||!a?{x:0,y:0}:{x:s?r.width-l.width:0,y:s?r.height-l.height:0},p={x:l.left,y:l.top};return h.x&&h.y?p:(0,o.Re)(p,h)}}}};function S(e,t){return!!k(e)&&!!k(t)&&e.data.current.sortable.containerId===t.data.current.sortable.containerId}},87263:(e,t,n)=>{"use strict";let r=n(79177);e.exports=(e,t)=>new r(e,t).major},87481:(e,t,n)=>{var r=n(18536),i=n(35891),o=n(24973);e.exports=function(e){return o(e)?r(e):i(e)}},87678:(e,t,n)=>{"use strict";function r(e){let[t,n]=e;return[t,n]}function i(e,t){let n=e,r=t,i=n.length,o=r.length;if(0===i||0===o)return 0;i>o?n=n.substring(i-o):i<o&&(r=r.substring(0,i));let a=Math.min(i,o);if(n===r)return a;let s=0,l=1;for(let e=0;-1!==e;){let t=n.substring(a-l);if(-1===(e=r.indexOf(t)))break;l+=e,(0===e||n.substring(a-l)===r.substring(0,l))&&(s=l,l++)}return s}function o(e,t){if(!e||!t||e[0]!==t[0])return 0;let n=0,r=Math.min(e.length,t.length),i=r,o=0;for(;n<i;)e.substring(o,i)===t.substring(o,i)?o=n=i:r=i,i=Math.floor((r-n)/2+n);return i}function a(e,t){if(!e||!t||e[e.length-1]!==t[t.length-1])return 0;let n=0,r=Math.min(e.length,t.length),i=r,o=0;for(;n<i;)e.substring(e.length-i,e.length-o)===t.substring(t.length-i,t.length-o)?o=n=i:r=i,i=Math.floor((r-n)/2+n);return i}function s(e){let t=e.charCodeAt(0);return t>=56320&&t<=57343}function l(e,t,n,r,i){let o=e.substring(0,n),a=t.substring(0,r),s=e.substring(n),l=t.substring(r),u=v(o,a,{checkLines:!1,deadline:i}),c=v(s,l,{checkLines:!1,deadline:i});return u.concat(c)}function u(e,t,n){let r=e.slice(n,n+Math.floor(e.length/4)),i=-1,s="",l,u,c,d;for(;-1!==(i=t.indexOf(r,i+1));){let r=o(e.slice(n),t.slice(i)),f=a(e.slice(0,n),t.slice(0,i));s.length<f+r&&(s=t.slice(i-f,i)+t.slice(i,i+r),l=e.slice(0,n-f),u=e.slice(n+r),c=t.slice(0,i-f),d=t.slice(i+r))}return 2*s.length>=e.length?[l||"",u||"",c||"",d||"",s||""]:null}n.d(t,{$i:()=>G,Cm:()=>g,Ug:()=>m,Vx:()=>k,iU:()=>b,iz:()=>eo,jW:()=>et,lw:()=>y,sw:()=>I,w1:()=>es});var c=Object.defineProperty,d=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,p=(e,t,n)=>t in e?c(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;let g=-1,m=1,y=0;function b(e,t,n){if(null===e||null===t)throw Error("Null input. (diff)");let r=v(e,t,function(e){let t;var n,r={checkLines:!0,deadline:(n=e.timeout||1,t=1,"u">typeof n&&(t=n<=0?Number.MAX_VALUE:n),Date.now()+1e3*t)},i=e;for(var o in i||(i={}))f.call(i,o)&&p(r,o,i[o]);if(d)for(var o of d(i))h.call(i,o)&&p(r,o,i[o]);return r}(n||{}));return function(e){for(let t=0;t<e.length;t++){let[n,r]=e[t];if(0===r.length)continue;let i=r[0];(function(e){let t=e.charCodeAt(0);return t>=55296&&t<=56319})(r[r.length-1])&&n===y&&x(e,t,1),s(i)&&n===y&&x(e,t,-1)}for(let t=0;t<e.length;t++)0===e[t][1].length&&e.splice(t,1)}(r),r}function v(e,t,n){let r=e,i=t;if(r===i)return r?[[y,r]]:[];let s=o(r,i),c=r.substring(0,s);s=a(r=r.substring(s),i=i.substring(s));let d=r.substring(r.length-s),f=function(e,t,n){let r;if(!e)return[[m,t]];if(!t)return[[g,e]];let i=e.length>t.length?e:t,o=e.length>t.length?t:e,a=i.indexOf(o);if(-1!==a)return r=[[m,i.substring(0,a)],[y,o],[m,i.substring(a+o.length)]],e.length>t.length&&(r[0][0]=g,r[2][0]=g),r;if(1===o.length)return[[g,e],[m,t]];let s=function(e,t,n=1){let r,i,o,a,s;if(n<=0)return null;let l=e.length>t.length?e:t,c=e.length>t.length?t:e;if(l.length<4||2*c.length<l.length)return null;let d=u(l,c,Math.ceil(l.length/4)),f=u(l,c,Math.ceil(l.length/2));if(d&&f)r=d[4].length>f[4].length?d:f;else{if(!d&&!f)return null;f?d||(r=f):r=d}if(!r)throw Error("Unable to find a half match.");return e.length>t.length?(i=r[0],o=r[1],a=r[2],s=r[3]):(a=r[0],s=r[1],i=r[2],o=r[3]),[i,o,a,s,r[4]]}(e,t);if(s){let e=s[0],t=s[1],r=s[2],i=s[3],o=s[4],a=v(e,r,n),l=v(t,i,n);return a.concat([[y,o]],l)}return n.checkLines&&e.length>100&&t.length>100?function(e,t,n){let r=e,i=t,o=function(e,t){let n=[],r={};function i(e){let t="",i=0,a=-1,s=n.length;for(;a<e.length-1;){-1===(a=e.indexOf(`
42`,i))&&(a=e.length-1);let l=e.slice(i,a+1);(r.hasOwnProperty?r.hasOwnProperty(l):void 0!==r[l])?t+=String.fromCharCode(r[l]):(s===o&&(l=e.slice(i),a=e.length),t+=String.fromCharCode(s),r[l]=s,n[s++]=l),i=a+1}return t}n[0]="";let o=4e4,a=i(e);return o=65535,{chars1:a,chars2:i(t),lineArray:n}}(r,i);r=o.chars1,i=o.chars2;let a=o.lineArray,s=v(r,i,{checkLines:!1,deadline:n.deadline});(function(e,t){for(let n=0;n<e.length;n++){let r=e[n][1],i=[];for(let e=0;e<r.length;e++)i[e]=t[r.charCodeAt(e)];e[n][1]=i.join("")}})(s,a),(s=k(s)).push([y,""]);let l=0,u=0,c=0,d="",f="";for(;l<s.length;){switch(s[l][0]){case m:c++,f+=s[l][1];break;case g:u++,d+=s[l][1];break;case y:if(u>=1&&c>=1){s.splice(l-u-c,u+c),l=l-u-c;let e=v(d,f,{checkLines:!1,deadline:n.deadline});for(let t=e.length-1;t>=0;t--)s.splice(l,0,e[t]);l+=e.length}c=0,u=0,d="",f="";break;default:throw Error("Unknown diff operation.")}l++}return s.pop(),s}(e,t,n):function(e,t,n){let r=e.length,i=t.length,o=Math.ceil((r+i)/2),a=2*o,s=Array(a),u=Array(a);for(let e=0;e<a;e++)s[e]=-1,u[e]=-1;s[o+1]=0,u[o+1]=0;let c=r-i,d=c%2!=0,f=0,h=0,p=0,y=0;for(let g=0;g<o&&!(Date.now()>n);g++){for(let p=-g+f;p<=g-h;p+=2){let m,y=o+p,b=(m=p===-g||p!==g&&s[y-1]<s[y+1]?s[y+1]:s[y-1]+1)-p;for(;m<r&&b<i&&e.charAt(m)===t.charAt(b);)m++,b++;if(s[y]=m,m>r)h+=2;else if(b>i)f+=2;else if(d){let i=o+c-p;if(i>=0&&i<a&&-1!==u[i]&&m>=r-u[i])return l(e,t,m,b,n)}}for(let f=-g+p;f<=g-y;f+=2){let h,m=o+f,b=(h=f===-g||f!==g&&u[m-1]<u[m+1]?u[m+1]:u[m-1]+1)-f;for(;h<r&&b<i&&e.charAt(r-h-1)===t.charAt(i-b-1);)h++,b++;if(u[m]=h,h>r)y+=2;else if(b>i)p+=2;else if(!d){let i=o+c-f;if(i>=0&&i<a&&-1!==s[i]){let a=s[i],u=o+a-i;if(a>=(h=r-h))return l(e,t,a,u,n)}}}}return[[g,e],[m,t]]}(e,t,n.deadline)}(r=r.substring(0,r.length-s),i=i.substring(0,i.length-s),n);return c&&f.unshift([y,c]),d&&f.push([y,d]),f=D(f)}function w(e,t,n){return 1===n?e+t:t+e}function _(e,t){return 1===t?[e.substring(0,e.length-1),e[e.length-1]]:[e.substring(1),e[0]]}function x(e,t,n){var r,i;let o=1===n?-1:1,a=null,s=null,l=t+n;for(;l>=0&&l<e.length&&(null===a||null===s);l+=n){let[r,i]=e[l];if(0!==i.length){if(r===m){null===a&&(a=l);continue}else if(r===g){null===s&&(s=l);continue}else if(r===y){if(null===a&&null===s){let[r,i]=_(e[t][1],n);e[t][1]=r,e[l][1]=w(e[l][1],i,o);return}break}}}if(null!==a&&null!==s&&(r=a,i=s,1===n?e[r][1][e[r][1].length-1]===e[i][1][e[i][1].length-1]:e[r][1][0]===e[i][1][0])){let[r,i]=_(e[a][1],o),[l]=_(e[s][1],o);e[a][1]=r,e[s][1]=l,e[t][1]=w(e[t][1],i,n);return}let[u,c]=_(e[t][1],n);e[t][1]=u,null===a?(e.splice(l,0,[m,c]),null!==s&&s>=l&&s++):e[a][1]=w(e[a][1],c,o),null===s?e.splice(l,0,[g,c]):e[s][1]=w(e[s][1],c,o)}function k(e){let t=e.map(e=>r(e)),n=!1,o=[],a=0,s=null,l=0,u=0,c=0,d=0,f=0;for(;l<t.length;)t[l][0]===y?(o[a++]=l,u=d,c=f,d=0,f=0,s=t[l][1]):(t[l][0]===m?d+=t[l][1].length:f+=t[l][1].length,s&&s.length<=Math.max(u,c)&&s.length<=Math.max(d,f)&&(t.splice(o[a-1],0,[g,s]),t[o[a-1]+1][0]=m,a--,l=--a>0?o[a-1]:-1,u=0,c=0,d=0,f=0,s=null,n=!0)),l++;for(n&&(t=D(t)),t=T(t),l=1;l<t.length;){if(t[l-1][0]===g&&t[l][0]===m){let e=t[l-1][1],n=t[l][1],r=i(e,n),o=i(n,e);r>=o?(r>=e.length/2||r>=n.length/2)&&(t.splice(l,0,[y,n.substring(0,r)]),t[l-1][1]=e.substring(0,e.length-r),t[l+1][1]=n.substring(r),l++):(o>=e.length/2||o>=n.length/2)&&(t.splice(l,0,[y,e.substring(0,o)]),t[l-1][0]=m,t[l-1][1]=n.substring(0,n.length-o),t[l+1][0]=g,t[l+1][1]=e.substring(o),l++),l++}l++}return t}let E=/[^a-zA-Z0-9]/,A=/\s/,S=/[\r\n]/,C=/\n\r?\n$/,O=/^\r?\n\r?\n/;function T(e){let t=e.map(e=>r(e));function n(e,t){if(!e||!t)return 6;let n=e.charAt(e.length-1),r=t.charAt(0),i=n.match(E),o=r.match(E),a=i&&n.match(A),s=o&&r.match(A),l=a&&n.match(S),u=s&&r.match(S),c=l&&e.match(C),d=u&&t.match(O);return c||d?5:l||u?4:i&&!a&&s?3:a||s?2:i||o?1:0}let i=1;for(;i<t.length-1;){if(t[i-1][0]===y&&t[i+1][0]===y){let e=t[i-1][1],r=t[i][1],o=t[i+1][1],s=a(e,r);if(s){let t=r.substring(r.length-s);e=e.substring(0,e.length-s),r=t+r.substring(0,r.length-s),o=t+o}let l=e,u=r,c=o,d=n(e,r)+n(r,o);for(;r.charAt(0)===o.charAt(0);){e+=r.charAt(0),r=r.substring(1)+o.charAt(0),o=o.substring(1);let t=n(e,r)+n(r,o);t>=d&&(d=t,l=e,u=r,c=o)}t[i-1][1]!==l&&(l?t[i-1][1]=l:(t.splice(i-1,1),i--),t[i][1]=u,c?t[i+1][1]=c:(t.splice(i+1,1),i--))}i++}return t}function D(e){let t=e.map(e=>r(e));t.push([y,""]);let n=0,i=0,s=0,l="",u="",c;for(;n<t.length;)switch(t[n][0]){case m:s++,u+=t[n][1],n++;break;case g:i++,l+=t[n][1],n++;break;case y:i+s>1?(0!==i&&0!==s&&(0!==(c=o(u,l))&&(n-i-s>0&&t[n-i-s-1][0]===y?t[n-i-s-1][1]+=u.substring(0,c):(t.splice(0,0,[y,u.substring(0,c)]),n++),u=u.substring(c),l=l.substring(c)),0!==(c=a(u,l))&&(t[n][1]=u.substring(u.length-c)+t[n][1],u=u.substring(0,u.length-c),l=l.substring(0,l.length-c))),n-=i+s,t.splice(n,i+s),l.length&&(t.splice(n,0,[g,l]),n++),u.length&&(t.splice(n,0,[m,u]),n++),n++):0!==n&&t[n-1][0]===y?(t[n-1][1]+=t[n][1],t.splice(n,1)):n++,s=0,i=0,l="",u="";break;default:throw Error("Unknown diff operation")}""===t[t.length-1][1]&&t.pop();let d=!1;for(n=1;n<t.length-1;)t[n-1][0]===y&&t[n+1][0]===y&&(t[n][1].substring(t[n][1].length-t[n-1][1].length)===t[n-1][1]?(t[n][1]=t[n-1][1]+t[n][1].substring(0,t[n][1].length-t[n-1][1].length),t[n+1][1]=t[n-1][1]+t[n+1][1],t.splice(n-1,1),d=!0):t[n][1].substring(0,t[n+1][1].length)===t[n+1][1]&&(t[n-1][1]+=t[n+1][1],t[n][1]=t[n][1].substring(t[n+1][1].length)+t[n+1][1],t.splice(n+1,1),d=!0)),n++;return d&&(t=D(t)),t}function I(e,t=4){let n=e.map(e=>r(e)),i=!1,o=[],a=0,s=null,l=0,u=!1,c=!1,d=!1,f=!1;for(;l<n.length;)n[l][0]===y?(n[l][1].length<t&&(d||f)?(o[a++]=l,u=d,c=f,s=n[l][1]):(a=0,s=null),d=!1,f=!1):(n[l][0]===g?f=!0:d=!0,s&&(u&&c&&d&&f||s.length<t/2&&3===function(...e){return e.reduce((e,t)=>
42e+ +!!t,0)}(u,c,d,f))&&(n.splice(o[a-1],0,[g,s]),n[o[a-1]+1][0]=m,a--,s=null,u&&c?(d=!0,f=!0,a=0):(l=--a>0?o[a-1]:-1,d=!1,f=!1),i=!0)),l++;return i&&(n=D(n)),n}var R=Object.defineProperty,j=Object.getOwnPropertySymbols,N=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,F=(e,t,n)=>t in e?R(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,$=(e,t)=>{for(var n in t||(t={}))N.call(t,n)&&F(e,n,t[n]);if(j)for(var n of j(t))M.call(t,n)&&F(e,n,t[n]);return e};let L={threshold:.5,distance:1e3};function P(e,t,n,r={}){if(null===e||null===t||null===n)throw Error("Null input. (match())");let i=Math.max(0,Math.min(n,e.length));return e===t?0:e.length?e.substring(i,i+t.length)===t?i:function(e,t,n,r={}){if(t.length>32)throw Error("Pattern too long for this browser.");let i=$($({},L),r),o=function(e){let t={};for(let n=0;n<e.length;n++)t[e.charAt(n)]=0;for(let n=0;n<e.length;n++)t[e.charAt(n)]|=1<<e.length-n-1;return t}(t);function a(e,r){let o=e/t.length,a=Math.abs(n-r);return i.distance?o+a/i.distance:a?1:o}let s=i.threshold,l=e.indexOf(t,n);-1!==l&&(s=Math.min(a(0,l),s),-1!==(l=e.lastIndexOf(t,n+t.length))&&(s=Math.min(a(0,l),s)));let u=1<<t.length-1;l=-1;let c,d,f=t.length+e.length,h=[];for(let r=0;r<t.length;r++){for(c=0,d=f;c<d;)a(r,n+d)<=s?c=d:f=d,d=Math.floor((f-c)/2+c);f=d;let i=Math.max(1,n-d+1),p=Math.min(n+d,e.length)+t.length,g=Array(p+2);g[p+1]=(1<<r)-1;for(let t=p;t>=i;t--){let c=o[e.charAt(t-1)];if(0===r?g[t]=(g[t+1]<<1|1)&c:g[t]=(g[t+1]<<1|1)&c|((h[t+1]|h[t])<<1|1)|h[t+1],g[t]&u){let e=a(r,t-1);if(e<=s)if(s=e,(l=t-1)>n)i=Math.max(1,2*n-l);else break}}if(a(r+1,n)>s)break;h=g}return l}(e,t,i,r):-1}function z(e){let t=[];for(let n=0;n<e.length;n++)e[n][0]!==m&&(t[n]=e[n][1]);return t.join("")}function U(e){let t=[];for(let n=0;n<e.length;n++)e[n][0]!==g&&(t[n]=e[n][1]);return t.join("")}function B(e,t){let n=0,r=0,i=0,o=0,a;for(a=0;a<e.length&&(e[a][0]!==m&&(n+=e[a][1].length),e[a][0]!==g&&(r+=e[a][1].length),!(n>t));a++)i=n,o=r;return e.length!==a&&e[a][0]===g?o:o+(t-i)}function H(e){let t=0;for(let n=0;n<e.length;n++){let r=e.codePointAt(n);if(typeof r>"u")throw Error("Failed to get codepoint");t+=q(r)}return t}function q(e){return e<=127?1:e<=2047?2:e<=65535?3:4}function V(e,t){return{diffs:[],start1:e,start2:t,utf8Start1:e,utf8Start2:t,length1:0,length2:0,utf8Length1:0,utf8Length2:0}}function G(e,t,n={}){if("string"==typeof e)throw Error("Patches must be an array - pass the patch to `parsePatch()` first");let i=t;if(0===e.length)return[i,[]];let o=function(e,t,n={}){let i=0,o=0;function a(e){for(;i<e;){let e=t.codePointAt(o);if(typeof e>"u")return o;i+=q(e),e>65535?o+=2:o+=1}if(!n.allowExceedingIndices&&i!==e)throw Error("Failed to determine byte offset");return o}let s=[];for(let t of e)s.push({diffs:t.diffs.map(e=>r(e)),start1:a(t.start1),start2:a(t.start2),utf8Start1:t.utf8Start1,utf8Start2:t.utf8Start2,length1:t.length1,length2:t.length2,utf8Length1:t.utf8Length1,utf8Length2:t.utf8Length2});return s}(e,i,{allowExceedingIndices:n.allowExceedingIndices}),a=n.margin||4,s=n.deleteThreshold||.4,l=function(e,t=4){let n="";for(let e=1;e<=t;e++)n+=String.fromCharCode(e);for(let n of e)n.start1+=t,n.start2+=t,n.utf8Start1+=t,n.utf8Start2+=t;let r=e[0],i=r.diffs;if(0===i.length||i[0][0]!==y)i.unshift([y,n]),r.start1-=t,r.start2-=t,r.utf8Start1-=t,r.utf8Start2-=t,r.length1+=t,r.length2+=t,r.utf8Length1+=t,r.utf8Length2+=t;else if(t>i[0][1].length){let e=i[0][1].length,o=t-e;i[0][1]=n.substring(e)+i[0][1],r.start1-=o,r.start2-=o,r.utf8Start1-=o,r.utf8Start2-=o,r.length1+=o,r.length2+=o,r.utf8Length1+=o,r.utf8Length2+=o}if(0===(i=(r=e[e.length-1]).diffs).length||i[i.length-1][0]!==y)i.push([y,n]),r.length1+=t,r.length2+=t,r.utf8Length1+=t,r.utf8Length2+=t;else if(t>i[i.length-1][1].length){let e=t-i[i.length-1][1].length;i[i.length-1][1]+=n.substring(0,e),r.length1+=e,r.length2+=e,r.utf8Length1+=e,r.utf8Length2+=e}return n}(o,a);i=l+i+l,function(e,t=4){for(let n=0;n<e.length;n++){if(e[n].length1<=32)continue;let r=e[n];e.splice(n--,1);let i=r.start1,o=r.start2,a="";for(;0!==r.diffs.length;){let s=V(i-a.length,o-a.length),l=!0;if(""!==a){let e=H(a);s.length1=a.length,s.utf8Length1=e,s.length2=a.length,s.utf8Length2=e,s.diffs.push([y,a])}for(;0!==r.diffs.length&&s.length1<32-t;){let e=r.diffs[0][0],n=r.diffs[0][1],a=H(n);if(e===m){s.length2+=n.length,s.utf8Length2+=a,o+=n.length;let e=r.diffs.shift();e&&s.diffs.push(e),l=!1}else e===g&&1===s.diffs.length&&s.diffs[0][0]===y&&n.length>64?(s.length1+=n.length,s.utf8Length1+=a,i+=n.length,l=!1,s.diffs.push([e,n]),r.diffs.shift()):(a=H(n=n.substring(0,32-s.length1-t)),s.length1+=n.length,s.utf8Length1+=a,i+=n.length,e===y?(s.length2+=n.length,s.utf8Length2+=a,o+=n.length):l=!1,s.diffs.push([e,n]),n===r.diffs[0][1]?r.diffs.shift():r.diffs[0][1]=r.diffs[0][1].substring(n.length))}a=(a=U(s.diffs)).substring(a.length-t);let u=z(r.diffs).substring(0,t),c=H(u);""!==u&&(s.length1+=u.length,s.length2+=u.length,s.utf8Length1+=c,s.utf8Length2+=c,0!==s.diffs.length&&s.diffs[s.diffs.length-1][0]===y?s.diffs[s.diffs.length-1][1]+=u:s.diffs.push([y,u])),l||e.splice(++n,0,s)}}}(o,a);let u=0,c=[];for(let e=0;e<o.length;
42e++){let t=o[e].start2+u,n=z(o[e].diffs),r,a=-1;if(n.length>32?-1!==(r=P(i,n.substring(0,32),t))&&(-1===(a=P(i,n.substring(n.length-32),t+n.length-32))||r>=a)&&(r=-1):r=P(i,n,t),-1===r)c[e]=!1,u-=o[e].length2-o[e].length1;else{let l;if(c[e]=!0,u=r-t,l=-1===a?i.substring(r,r+n.length):i.substring(r,a+32),n===l)i=i.substring(0,r)+U(o[e].diffs)+i.substring(r+n.length);else{let t=b(n,l,{checkLines:!1});if(n.length>32&&function(e){let t=0,n=0,r=0;for(let i=0;i<e.length;i++){let o=e[i][0],a=e[i][1];switch(o){case m:n+=a.length;break;case g:r+=a.length;break;case y:t+=Math.max(n,r),n=0,r=0;break;default:throw Error("Unknown diff operation.")}}return t+Math.max(n,r)}(t)/n.length>s)c[e]=!1;else{t=T(t);let n=0,a=0;for(let s=0;s<o[e].diffs.length;s++){let l=o[e].diffs[s];l[0]!==y&&(a=B(t,n)),l[0]===m?i=i.substring(0,r+a)+l[1]+i.substring(r+a):l[0]===g&&(i=i.substring(0,r+a)+i.substring(r+B(t,n+l[1].length))),l[0]!==g&&(n+=l[1].length)}}}}}return[i=i.substring(l.length,i.length-l.length),c]}var W=Object.defineProperty,Y=Object.getOwnPropertySymbols,K=Object.prototype.hasOwnProperty,Z=Object.prototype.propertyIsEnumerable,X=(e,t,n)=>t in e?W(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,J=(e,t)=>{for(var n in t||(t={}))K.call(t,n)&&X(e,n,t[n]);if(Y)for(var n of Y(t))Z.call(t,n)&&X(e,n,t[n]);return e};let Q={margin:4};function ee(e={}){return J(J({},Q),e)}function et(e,t,n){if("string"==typeof e&&"string"==typeof t){let r=b(e,t,{checkLines:!0});return r.length>2&&(r=I(r=k(r))),en(e,r,ee(n))}if(e&&Array.isArray(e)&&typeof t>"u")return en(z(e),e,ee(n));if("string"==typeof e&&t&&Array.isArray(t))return en(e,t,ee(n));throw Error("Unknown call format to make()")}function en(e,t,n){if(0===t.length)return[];let r=[],i=V(0,0),o=0,a=0,s=0,l=0,u=0,c=e,d=e;for(let e=0;e<t.length;e++){let f=t[e],[h,p]=f,b=p.length,v=H(p);switch(!o&&h!==y&&(i.start1=a,i.start2=s,i.utf8Start1=l,i.utf8Start2=u),h){case m:i.diffs[o++]=f,i.length2+=b,i.utf8Length2+=v,d=d.substring(0,s)+p+d.substring(s);break;case g:i.length1+=b,i.utf8Length1+=v,i.diffs[o++]=f,d=d.substring(0,s)+d.substring(s+b);break;case y:b<=2*n.margin&&o&&t.length!==e+1?(i.diffs[o++]=f,i.length1+=b,i.length2+=b,i.utf8Length1+=v,i.utf8Length2+=v):b>=2*n.margin&&o&&(er(i,c,n),r.push(i),i=V(-1,-1),o=0,c=d,a=s,l=u);break;default:throw Error("Unknown diff type")}h!==m&&(a+=b,l+=v),h!==g&&(s+=b,u+=v)}return o&&(er(i,c,n),r.push(i)),r}function er(e,t,n){if(0===t.length)return;let r=t.substring(e.start2,e.start2+e.length1),i=0;for(;t.indexOf(r)!==t.lastIndexOf(r)&&r.length<32-n.margin-n.margin;)i+=n.margin,r=t.substring(e.start2-i,e.start2+e.length1+i);i+=n.margin;let o=e.start2-i;o>=1&&s(t[o])&&o--;let a=t.substring(o,e.start2);a&&e.diffs.unshift([y,a]);let l=a.length,u=H(a),c=e.start2+e.length1+i;c<t.length&&s(t[c])&&c++;let d=t.substring(e.start2+e.length1,c);d&&e.diffs.push([y,d]);let f=d.length,h=H(d);e.start1-=l,e.start2-=l,e.utf8Start1-=u,e.utf8Start2-=u,e.length1+=l+f,e.length2+=l+f,e.utf8Length1+=u+h,e.utf8Length2+=u+h}let ei=/^@@ -(\d+),?(\d*) \+(\d+),?(\d*) @@$/;function eo(e){if(!e)return[];let t=[],n=e.split(`
43`),r=0;for(;r<n.length;){let e=n[r].match(ei);if(!e)throw Error(`Invalid patch string: ${n[r]}`);let i=V(ea(e[1]),ea(e[3]));for(t.push(i),""===e[2]?(i.start1--,i.utf8Start1--,i.length1=1,i.utf8Length1=1):"0"===e[2]?(i.length1=0,i.utf8Length1=0):(i.start1--,i.utf8Start1--,i.utf8Length1=ea(e[2]),i.length1=i.utf8Length1),""===e[4]?(i.start2--,i.utf8Start2--,i.length2=1,i.utf8Length2=1):"0"===e[4]?(i.length2=0,i.utf8Length2=0):(i.start2--,i.utf8Start2--,i.utf8Length2=ea(e[4]),i.length2=i.utf8Length2),r++;r<n.length;){let e,t=n[r],o=t.charAt(0);if("@"===o)break;if(""===o){r++;continue}try{e=decodeURI(t.slice(1))}catch(e){throw Error(`Illegal escape in parse: ${t}`)}let a=H(e)-e.length;if("-"===o)i.diffs.push([g,e]),i.length1-=a;else if("+"===o)i.diffs.push([m,e]),i.length2-=a;else if(" "===o)i.diffs.push([y,e]),i.length1-=a,i.length2-=a;else throw Error(`Invalid patch mode "${o}" in: ${e}`);r++}}return t}function ea(e){return parseInt(e,10)}function es(e){return e.map(el).join("")}function el(e){let t,n,r,{utf8Length1:i,utf8Length2:o,utf8Start1:a,utf8Start2:s,diffs:l}=e;t=0===i?`${a},0`:1===i?`${a+1}`:`${a+1},${i}`,n=0===o?`${s},0`:1===o?`${s+1}`:`${s+1},${o}`;let u=[`@@ -${t} +${n} @@
44`];for(let e=0;e<l.length;e++){switch(l[e][0]){case m:r="+";break;case g:r="-";break;case y:r=" ";break;default:throw Error("Unknown patch operation.")}u[e+1]=`${r+encodeURI(l[e][1])}
45`}return u.join("").replace(/%20/g," ")}}
45,87812:(e,t,n)=>{"use strict";n.d(t,{$N:()=>a,Hd:()=>o,xE:()=>s});var r=n(33860);let i=n(7463).O;function o(e,t={}){if(!e)return"<unknown>";try{let n,o=e,a=[],s=0,l=0,u=Array.isArray(t)?t:t.keyAttrs,c=!Array.isArray(t)&&t.maxStringLength||80;for(;o&&s++<5&&(n=function(e,t){let n=[];if(!e||!e.tagName)return"";if(i.HTMLElement&&e instanceof HTMLElement&&e.dataset){if(e.dataset.sentryComponent)return e.dataset.sentryComponent;if(e.dataset.sentryElement)return e.dataset.sentryElement}n.push(e.tagName.toLowerCase());let o=t&&t.length?t.filter(t=>e.getAttribute(t)).map(t=>[t,e.getAttribute(t)]):null;if(o&&o.length)o.forEach(e=>{n.push(`[${e[0]}="${e[1]}"]`)});else{e.id&&n.push(`#${e.id}`);let t=e.className;if(t&&(0,r.Kg)(t))for(let e of t.split(/\s+/))n.push(`.${e}`)}for(let t of["aria-label","type","name","title","alt"]){let r=e.getAttribute(t);r&&n.push(`[${t}="${r}"]`)}return n.join("")}(o,u),"html"!==n&&(!(s>1)||!(l+3*a.length+n.length>=c)));)a.push(n),l+=n.length,o=o.parentNode;return a.reverse().join(" > ")}catch(e){return"<unknown>"}}function a(){try{return i.document.location.href}catch(e){return""}}function s(e){if(!i.HTMLElement)return null;let t=e;for(let e=0;e<5&&t;e++){if(t instanceof HTMLElement){if(t.dataset.sentryComponent)return t.dataset.sentryComponent;if(t.dataset.sentryElement)return t.dataset.sentryElement}t=t.parentNode}return null}},87953:(e,t,n)=>{"use strict";n.d(t,{J:()=>a});var r=n(12115);let i=r.createContext(!0);function o(){throw Error("A function wrapped in useEffectEvent can't be called during rendering.")}function a(e){let t=r.useRef(o);return r.useInsertionEffect(()=>{t.current=e},[e]),(...e)=>((()=>{try{return r.use(i)}catch{return!1}})()&&o(),(0,t.current)(...e))}},88010:(e,t,n)=>{let r;var i=n(87358);t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;let n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,i=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(r++,"%c"===e&&(i=r))}),t.splice(i,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch(e){}return!e&&void 0!==i&&"env"in i&&(e=i.env.DEBUG),e},t.useColors=function(){let e;return"u">typeof window&&!!window.process&&("renderer"===window.process.type||!!window.process.__nwjs)||!("u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("u">typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"u">typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"u">typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),r=!1,t.destroy=()=>{r||(r=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))},t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(47567)(t);let{formatters:o}=e.exports;o.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},88586:(e,t,n)=>{"use strict";n.d(t,{rC:()=>D,GH:()=>T,g_:()=>I});var r,i="0123456789abcdefghjkmnpqrstvwxyz",o=new Uint8Array([255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,1,2,3,4,5,6,7,8,9,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,10,11,12,13,14,15,16,17,255,18,19,255,20,21,255,22,23,24,25,26,255,27,28,29,30,31,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255]);function a(e){let t=Array(26).fill("");
45if(16!==e.length)throw Error("Invalid length");return t[0]=i[(224&e[0])>>5],t[1]=i[31&e[0]],t[2]=i[(248&e[1])>>3],t[3]=i[(7&e[1])<<2|(192&e[2])>>6],t[4]=i[(62&e[2])>>1],t[5]=i[(1&e[2])<<4|(240&e[3])>>4],t[6]=i[(15&e[3])<<1|(128&e[4])>>7],t[7]=i[(124&e[4])>>2],t[8]=i[(3&e[4])<<3|(224&e[5])>>5],t[9]=i[31&e[5]],t[10]=i[(248&e[6])>>3],t[11]=i[(7&e[6])<<2|(192&e[7])>>6],t[12]=i[(62&e[7])>>1],t[13]=i[(1&e[7])<<4|(240&e[8])>>4],t[14]=i[(15&e[8])<<1|(128&e[9])>>7],t[15]=i[(124&e[9])>>2],t[16]=i[(3&e[9])<<3|(224&e[10])>>5],t[17]=i[31&e[10]],t[18]=i[(248&e[11])>>3],t[19]=i[(7&e[11])<<2|(192&e[12])>>6],t[20]=i[(62&e[12])>>1],t[21]=i[(1&e[12])<<4|(240&e[13])>>4],t[22]=i[(15&e[13])<<1|(128&e[14])>>7],t[23]=i[(124&e[14])>>2],t[24]=i[(3&e[14])<<3|(224&e[15])>>5],t[25]=i[31&e[15]],t.join("")}function s(e){if(26!==e.length)throw Error("Invalid length");let t=new TextEncoder().encode(e);if(255===o[t[0]]||255===o[t[1]]||255===o[t[2]]||255===o[t[3]]||255===o[t[4]]||255===o[t[5]]||255===o[t[6]]||255===o[t[7]]||255===o[t[8]]||255===o[t[9]]||255===o[t[10]]||255===o[t[11]]||255===o[t[12]]||255===o[t[13]]||255===o[t[14]]||255===o[t[15]]||255===o[t[16]]||255===o[t[17]]||255===o[t[18]]||255===o[t[19]]||255===o[t[20]]||255===o[t[21]]||255===o[t[22]]||255===o[t[23]]||255===o[t[24]]||255===o[t[25]])throw Error("Invalid base32 character");let n=new Uint8Array(16);return n[0]=o[t[0]]<<5|o[t[1]],n[1]=o[t[2]]<<3|o[t[3]]>>2,n[2]=(3&o[t[3]])<<6|o[t[4]]<<1|o[t[5]]>>4,n[3]=(15&o[t[5]])<<4|o[t[6]]>>1,n[4]=(1&o[t[6]])<<7|o[t[7]]<<2|o[t[8]]>>3,n[5]=(7&o[t[8]])<<5|o[t[9]],n[6]=o[t[10]]<<3|o[t[11]]>>2,n[7]=(3&o[t[11]])<<6|o[t[12]]<<1|o[t[13]]>>4,n[8]=(15&o[t[13]])<<4|o[t[14]]>>1,n[9]=(1&o[t[14]])<<7|o[t[15]]<<2|o[t[16]]>>3,n[10]=(7&o[t[16]])<<5|o[t[17]],n[11]=o[t[18]]<<3|o[t[19]]>>2,n[12]=(3&o[t[19]])<<6|o[t[20]]<<1|o[t[21]]>>4,n[13]=(15&o[t[21]])<<4|o[t[22]]>>1,n[14]=(1&o[t[22]])<<7|o[t[23]]<<2|o[t[24]]>>3,n[15]=(7&o[t[24]])<<5|o[t[25]],n}var l=Math.pow,u="0123456789abcdef",c=class{constructor(e){if(this.bytes=e,16!==e.length)throw TypeError("not 128-bit length")}static fromFieldsV7(e,t,n,r){if(!Number.isInteger(e)||!Number.isInteger(t)||!Number.isInteger(n)||!Number.isInteger(r)||e<0||t<0||n<0||r<0||e>0xffffffffffff||t>4095||n>0x3fffffff||r>0xffffffff)throw RangeError("invalid field value");let i=new Uint8Array(16);return i[0]=e/l(2,40),i[1]=e/l(2,32),i[2]=e/l(2,24),i[3]=e/l(2,16),i[4]=e/l(2,8),i[5]=e,i[6]=112|t>>>8,i[7]=t,i[8]=128|n>>>24,i[9]=n>>>16,i[10]=n>>>8,i[11]=n,i[12]=r>>>24,i[13]=r>>>16,i[14]=r>>>8,i[15]=r,new c(i)}toString(){let e="";for(let t=0;t<this.bytes.length;t++)e+=u.charAt(this.bytes[t]>>>4),e+=u.charAt(15&this.bytes[t]),(3===t||5===t||7===t||9===t)&&(e+="-");return e}clone(){return new c(this.bytes.slice(0))}equals(e){return 0===this.compareTo(e)}compareTo(e){for(let t=0;t<16;t++){let n=this.bytes[t]-e.bytes[t];if(0!==n)return Math.sign(n)}return 0}},d=class{constructor(){this.timestamp=0,this.counter=0,this.random=new h}generate(){let e=this.generateOrAbort();return void 0!==e?e:(this.timestamp=0,this.generateOrAbort())}generateOrAbort(){let e=Date.now();if(e>this.timestamp)this.timestamp=e,this.resetCounter();else{if(!(e+1e4>this.timestamp))return;this.counter++,this.counter>0x3ffffffffff&&(this.timestamp++,this.resetCounter())}return c.fromFieldsV7(this.timestamp,Math.trunc(this.counter/l(2,30)),this.counter&l(2,30)-1,this.random.nextUint32())}resetCounter(){this.counter=1024*this.random.nextUint32()+(1023&this.random.nextUint32())}},f=e=>{if("u">typeof UUIDV7_DENY_WEAK_RNG&&UUIDV7_DENY_WEAK_RNG)throw Error("no cryptographically strong RNG available");for(let t=0;t<e.length;t++)e[t]=65536*Math.trunc(65536*Math.random())+Math.trunc(65536*Math.random());return e};"u">typeof crypto&&crypto.getRandomValues&&(f=e=>crypto.getRandomValues(e));var h=class{constructor(){this.buffer=new Uint32Array(8),this.cursor=99}nextUint32(){return this.cursor>=this.buffer.length&&(f(this.buffer),this.cursor=0),this.buffer[this.cursor++]}},p=class{constructor(e,t=""){if(this.prefix=e,this.suffix=t,!function(e){let t,n,r;if(e.length>63)return!1;for(n=0,r=e.length;n<r;n+=1)if(!((t=e.charCodeAt(n))>96&&t<123))return!1;return!0}(e))throw Error("Invalid prefix. Must be at most 63 ascii letters [a-z]");if(this.prefix=e,t)this.suffix=t;else{const e=(r||(r=new d)).generate();this.suffix=a(e.bytes)}if(26!==this.suffix.length)throw Error(`Invalid length. Suffix should have 26 characters, got ${t.length}`);if(this.suffix[0]>"7")throw Error("Invalid suffix. First character must be in the range [0-7]");
45s(this.suffix)}getType(){return this.prefix}getSuffix(){return this.suffix}asType(e){if(this.prefix!==e)throw Error(`Cannot convert TypeID of type ${this.prefix} to type ${e}`);return this}toUUIDBytes(){return s(this.suffix)}toUUID(){return new c(this.toUUIDBytes()).toString()}toString(){return""===this.prefix?this.suffix:`${this.prefix}_${this.suffix}`}static fromString(e){let t=e.split("_");if(1===t.length)return new p("",t[0]);if(2===t.length){if(""===t[0])throw Error(`Invalid TypeID. Prefix cannot be empty when there's a separator: ${e}`);return new p(t[0],t[1])}throw Error(`Invalid TypeID string: ${e}`)}static fromUUIDBytes(e,t){return new p(e,a(t))}static fromUUID(e,t){let n,r;return new p(e,a(((r=new Uint8Array(16))[0]=(n=parseInt(t.slice(0,8),16))>>>24,r[1]=n>>>16&255,r[2]=n>>>8&255,r[3]=255&n,r[4]=(n=parseInt(t.slice(9,13),16))>>>8,r[5]=255&n,r[6]=(n=parseInt(t.slice(14,18),16))>>>8,r[7]=255&n,r[8]=(n=parseInt(t.slice(19,23),16))>>>8,r[9]=255&n,r[10]=(n=parseInt(t.slice(24,36),16))/0x10000000000&255,r[11]=n/0x100000000&255,r[12]=n>>>24&255,r[13]=n>>>16&255,r[14]=n>>>8&255,r[15]=255&n,r)))}};function g(e="",t=""){return new p(e,t)}var m=n(14283),y=n(65132),b=n(99506),v=n(36569),w=n(18212),_=n(55633),x=n(97993),k=n(11096),E=n(34920),A=n(16975),S=n(62595),C=n(98063),O=n(45426);function T(){return g("session").toString()}function D(e,t){var n;let r=function(e){let t=new m.B,n=new WeakMap;function r(n,r,i,o,a){t.next({sessionId:e,type:n,traceId:r,name:i.name,version:i.version,data:o,context:a,createdAt:new Date().toISOString()})}function i(n,r,i){t.next({sessionId:e,type:n,version:r.version,name:r.name,data:i,createdAt:new Date().toISOString()})}function o(e,t){if("number"==typeof e.maxSampleRate&&e.maxSampleRate>0){let r=n.get(e),o=new Date;(!r||o.getTime()-r.getTime()>e.maxSampleRate)&&(n.set(e,o),i("log",e,t))}else i("log",e,t)}return{events$:t.asObservable(),logger:{updateUserProperties(n){t.next({sessionId:e,type:"userProperties",properties:n,createdAt:new Date().toISOString()})},trace:(n,i)=>(function n(i,a,s){return{start(){r("trace.start",i,a,void 0,s)},newContext:e=>({trace:t=>n("".concat(i,".").concat(e),t,s),updateUserProperties(){},log:o}),log(e){r("trace.log",i,a,e,s)},complete(){r("trace.complete",i,a,void 0,s)},error(n){t.next({sessionId:e,type:"trace.error",traceId:i,name:a.name,version:a.version,data:{message:function(e){let t=e.indexOf("\n"),n=-1===t?1024:Math.min(t,1024),[r,i]=n<1?[e,""]:[e.substring(0,n),e.substring(n)];return r+(i?"… (+".concat(i.length,")"):"")}(n.message)},context:s,createdAt:new Date().toISOString()})},await(e,t){return this.start(),e.then(e=>(this.log(t||e),this.complete(),e),e=>{throw this.error(e),e}),e}}})(g("trace").toString(),n,i),log:o}}}(e),i=[];function o(){let e=i.slice();return i.length=0,e}function a(){let e=o();return 0===e.length?b.w:(0,v.z)([(0,w.of)(e),t.resolveConsent().catch(e=>({status:"undetermined"}))]).pipe((0,_.Z)(e=>{let[n,r]=e;return 0===n.length||"granted"!==r.status?b.w:(0,x.H)(t.sendEvents(n)).pipe((0,k.W)(e=>(i.unshift(...n),b.w)))}))}let s=null!=(n=t.flushInterval)?n:3e4;function l(){return(0,O.s)(a(),{defaultValue:void 0}).then(()=>{})}let u=r.events$.pipe((0,E.M)(e=>i.push(e)),(0,A.T)(()=>{}),(0,S.n)(()=>new y.c(e=>{let t=setTimeout(()=>{e.next(),e.complete()},s);return"function"==typeof t.unref&&t.unref(),()=>clearTimeout(t)}),{leading:!1,trailing:!0}),(0,C.H)(()=>a())).subscribe();function c(){return l().then(()=>{},()=>{}).finally(()=>{u.unsubscribe()})}return{end:c,endWithBeacon:function(){if(!t.sendBeacon)return c(),!0;let e=o();return u.unsubscribe(),!(e.length>0)||t.sendBeacon(e)},flush:l,logger:r.logger}}function I(e){return{type:"log",name:e.name,version:e.version,description:e.description,maxSampleRate:e.maxSampleRate,schema:void 0}}n(53362)},88615:(e,t,n)=>{"use strict";n.d(t,{N:()=>u});var r=n(77989),i=n(25037),o=n(46776),a=n(91993),s=n(37305),l=n(92477);function u(e,t){let n,u,c,d,f=(0,l.a)(e,t?.in);return Math.round(((0,i.k)(f,t)-(n=(0,o.q)(),u=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,c=(0,s.h)(f,t),(d=(0,a.w)(t?.in||f,0)).setFullYear(c,0,u),d.setHours(0,0,0,0),(0,i.k)(d,t)))/r.my)+1}},88691:e=>{e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},88796:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(55756),i="\\ud800-\\udfff",o="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",a="\\ud83c[\\udffb-\\udfff]",s="[^"+i+"]",l="(?:\\ud83c[\\udde6-\\uddff]){2}",u="[\\ud800-\\udbff][\\udc00-\\udfff]",c="(?:"+o+"|"+a+")?",d="[\\ufe0e\\ufe0f]?",f="(?:\\u200d(?:"+[s,l,u].join("|")+")"+d+c+")*",h=RegExp(a+"(?="+a+")|"+("(?:"+[s+o+"?",o,l,u,"["+i+"]"].join("|"))+")"+(d+c+f),"g");let p=function(e){return(0,r.A)(e)?e.match(h)||[]:e.split("")}}
45,88829:(e,t,n)=>{"use strict";n.d(t,{D2:()=>v,EN:()=>w,GP:()=>x,t$:()=>E,qg:()=>k,WI:()=>u});var r=n(73244);class i extends Date{constructor(){super(),this.setTime(0==arguments.length?Date.now():1==arguments.length?"string"==typeof arguments[0]?+new Date(arguments[0]):arguments[0]:Date.UTC(...arguments))}getTimezoneOffset(){return 0}}let o=/^(get|set)(?!UTC)/;Object.getOwnPropertyNames(Date.prototype).forEach(e=>{if(o.test(e)){let t=Date.prototype[e.replace(o,"$1UTC")];t&&(i.prototype[e]=t)}}),new Intl.DateTimeFormat("en-US",{weekday:"short",timeZone:"UTC"}),new Intl.DateTimeFormat("en-US",{month:"short",day:"numeric",timeZone:"UTC"}),new Intl.DateTimeFormat("en-GB",{hour12:!1,hour:"numeric",minute:"numeric",second:"numeric",timeZone:"UTC"});var a=n(93930),s=n(55410),l=n(26612);let u=e=>e.replace(/@posix$/,"");function c(e,t="long",n="en-US"){let r=u(n);return new Intl.DateTimeFormat(r,{month:t}).format(e)}function d(e,t="long",n="en-US"){let r=u(n);return new Intl.DateTimeFormat(r,{weekday:t}).format(e)}function f(e,t,n="en-US"){let r=u(n);return new Intl.DateTimeFormat(r,t).format(e)}function h(e,t){return String(e).padStart(t,"0")}function p(e){let t=e%10,n=e%100;return 1===t&&11!==n?`${e}st`:2===t&&12!==n?`${e}nd`:3===t&&13!==n?`${e}rd`:`${e}th`}function g(e){let t=e.getDay();return 0===t?7:t}function m(e){let t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate())),n=g(t);return t.setUTCDate(t.getUTCDate()-n+4),t.getUTCFullYear()}function y(e){let t=new Date(Date.UTC(e.getFullYear(),0,1));return Math.floor((e.valueOf()-t.valueOf()+(t.getTimezoneOffset()-e.getTimezoneOffset())*6e4)/864e5)+1}function b(e){let t=new Intl.DateTimeFormat(u("en-US"),{timeZoneName:"short"}).formatToParts(e).find(e=>"timeZoneName"===e.type);return t?t.value:""}let v="YYYY-MM-DD",w="HH:mm",_=Intl.DateTimeFormat().resolvedOptions().timeZone;function x(e,t,n={useUTC:!1,timeZone:void 0}){let{useUTC:o,timeZone:s}=n;return function(e,t){let n,r,i,o=[],s=t.replace(/\[([^\]]+)\]/g,(e,t)=>(o.push(t),"")),l=e.getFullYear(),u=e.getMonth(),v=e.getDate(),w=e.getDay(),_=e.getHours(),x=e.getMinutes(),k=e.getSeconds(),E=(r=g(n=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate()))),n.setUTCDate(n.getUTCDate()-r+4),i=new Date(Date.UTC(n.getUTCFullYear(),0,1)),Math.ceil(((n.valueOf()-i.valueOf())/864e5+1)/7)),A=m(e),S=m(e),C=e.getTime(),O=Math.floor(C/1e3),T=[{key:"YYYY",getValue:()=>String(l)},{key:"YY",getValue:()=>String(l).slice(-2)},{key:"Y",getValue:()=>String(l)},{key:"YYYYY",getValue:()=>h(l,5)},{key:"GGGG",getValue:()=>String(A)},{key:"GG",getValue:()=>String(A).slice(-2)},{key:"gggg",getValue:()=>String(S)},{key:"gg",getValue:()=>String(S).slice(-2)},{key:"Q",getValue:()=>String(Math.floor(u/3)+1)},{key:"Qo",getValue:()=>p(Math.floor(u/3)+1)},{key:"MMMM",getValue:()=>c(e,"long")},{key:"MMM",getValue:()=>c(e,"short")},{key:"MM",getValue:()=>h(u+1,2)},{key:"M",getValue:()=>String(u+1)},{key:"Mo",getValue:()=>p(u+1)},{key:"DD",getValue:()=>h(v,2)},{key:"D",getValue:()=>String(v)},{key:"Do",getValue:()=>p(v)},{key:"dddd",getValue:()=>d(e,"long")},{key:"ddd",getValue:()=>d(e,"short")},{key:"dd",getValue:()=>d(e,"short").slice(0,2)},{key:"d",getValue:()=>String(w)},{key:"do",getValue:()=>p(w+1)},{key:"DDDD",getValue:()=>h(y(e),3)},{key:"DDD",getValue:()=>String(y(e))},{key:"DDDo",getValue:()=>p(y(e))},{key:"E",getValue:()=>String(g(e))},{key:"w",getValue:()=>h(E,2)},{key:"wo",getValue:()=>p(E)},{key:"ww",getValue:()=>h(E,2)},{key:"WW",getValue:()=>h(E,2)},{key:"W",getValue:()=>String(E)},{key:"Wo",getValue:()=>p(E)},{key:"HH",getValue:()=>h(_,2)},{key:"H",getValue:()=>String(_)},{key:"hh",getValue:()=>h((_+11)%12+1,2)},{key:"h",getValue:()=>String((_+11)%12+1)},{key:"k",getValue:()=>String(_||24)},{key:"kk",getValue:()=>h(_||24,2)},{key:"mm",getValue:()=>h(x,2)},{key:"m",getValue:()=>String(x)},{key:"ss",getValue:()=>h(k,2)},{key:"s",getValue:()=>String(k)},{key:"A",getValue:()=>_<12?"AM":"PM"},{key:"a",getValue:()=>_<12?"am":"pm"},{key:"X",getValue:()=>String(O)},{key:"x",getValue:()=>String(C)},{key:"N",getValue:()=>l<0?"BC":"AD"},{key:"NN",getValue:()=>l<0?"BC":"AD"},{key:"NNN",getValue:()=>l<0?"BC":"AD"},{key:"NNNN",getValue:()=>l<0?"Before Christ":"Anno Domini"},{key:"NNNNN",getValue:()=>l<0?"BC":"AD"},{key:"z",getValue:()=>b(e)},{key:"zz",getValue:()=>b(e)},{key:"Z",getValue:()=>(0,a.GP)(e,"xxx")},{key:"ZZ",getValue:()=>(0,a.GP)(e,"xx")},{key:"LTS",getValue:()=>f(e,{timeStyle:"medium"})},{key:"LT",getValue:()=>f(e,{timeStyle:"short"})},{key:"LLLL",getValue:()=>f(e,{weekday:"long",year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric"})},{key:"LLL",getValue:()=>f(e,{year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric"})},{key:"LL",getValue:()=>f(e,{year:"numeric",month:"long",day:"numeric"})},{key:"L",getValue:()=>f(e,{year:"numeric",month:"2-digit",day:"2-digit"})},{key:"llll",getValue:()=>f(e,{weekday:"short",year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"})},{key:"lll",getValue:()=>f(e,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"})},{key:"ll",getValue:()=>f(e,{year:"numeric",month:"short",day:"numeric"})},{key:"l",getValue:()=>f(e,{year:"numeric",month:"numeric",day:"numeric"})}];T.sort((e,t)=>
45t.key.length-e.key.length);let D=RegExp("(?<!LT)S{1,4}","g"),I=s.replace(D,t=>{var n;let r;return n=t.length,r=h(e.getMilliseconds(),3),1===n?r.slice(0,1):2===n?r.slice(0,2):3===n?r:`${r}0`});for(let{key:e,getValue:t}of T){let n=e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),r=RegExp(`(^|[^A-Z0-9a-z])(${n})(?![A-Z0-9a-z])`,"g");if(I.match(r)){let e=t();I=I.replace(r,`$1${e}`)}}return I.replace(RegExp("","g"),()=>o.shift()||"")}(o?new i(e):s?new r.q(e,s||_):new Date(e),t)}function k(e,t,n){let i,o=t?Object.keys(i={YYYY:"yyyy",YY:"yy",MMMM:"MMMM",MMM:"MMM",MM:"MM",M:"M",DD:"dd",D:"d",dddd:"EEEE",ddd:"EEE",HH:"HH",H:"H",hh:"hh",h:"h",mm:"mm",m:"m",ss:"ss",s:"s",A:"a",a:"a"}).reduce((e,t)=>e.replace(RegExp(t,"g"),i[t]),t):void 0,a=o?(0,s.qg)(e,o,new Date):(0,l.H)(e);if(a&&!isNaN(a.getTime())){let e=a;return n&&E(n)&&t?e=new r.q(a.getFullYear(),a.getMonth(),a.getDate(),a.getHours(),a.getMinutes(),a.getSeconds(),a.getMilliseconds(),n):n&&E(n)&&(e=new r.q(a,n)),{isValid:!0,date:e}}return{isValid:!1,error:`Invalid date. Must be on the format "${t}"`}}function E(e){return Intl.supportedValuesOf("timeZone").includes(e)}},88910:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?0x1fffffffffffff:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},88925:(e,t,n)=>{"use strict";n.d(t,{Xr:()=>a,gt:()=>o,xv:()=>i});var r=n(33860);function i(e,t=0){return"string"!=typeof e||0===t||e.length<=t?e:`${e.slice(0,t)}...`}function o(e,t){if(!Array.isArray(e))return"";let n=[];for(let t=0;t<e.length;t++){let i=e[t];try{(0,r.L2)(i)?n.push("[VueViewModel]"):n.push(String(i))}catch(e){n.push("[value cannot be serialized]")}}return n.join(t)}function a(e,t=[],n=!1){return t.some(t=>(function(e,t,n=!1){return!!(0,r.Kg)(e)&&((0,r.gd)(t)?t.test(e):!!(0,r.Kg)(t)&&(n?e===t:e.includes(t)))})(e,t,n))}},89043:(e,t,n)=>{"use strict";var r=n(12115),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=r.useSyncExternalStore,a=r.useRef,s=r.useEffect,l=r.useMemo,u=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,c){var d=a(null);if(null===d.current){var f={hasValue:!1,value:null};d.current=f}else f=d.current;var h=o(e,(d=l(function(){function e(e){if(!s){if(s=!0,o=e,e=r(e),void 0!==c&&f.hasValue){var t=f.value;if(c(t,e))return a=t}return a=e}if(t=a,i(o,e))return t;var n=r(e);return void 0!==c&&c(t,n)?(o=e,t):(o=e,a=n)}var o,a,s=!1,l=void 0===n?null:n;return[function(){return e(t())},null===l?void 0:function(){return e(l())}]},[t,n,r,c]))[0],d[1]);return s(function(){f.hasValue=!0,f.value=h},[h]),u(h),h}},89229:(e,t,n)=>{"use strict";n.d(t,{L:()=>a});var r=n(91993),i=n(92477),o=n(77989);function a(e,t,n){var a;return a=t*o.s0,(0,r.w)(n?.in||e,+(0,i.a)(e)+a)}},89237:(e,t,n)=>{"use strict";n.d(t,{X:()=>h,r:()=>d});let r=["Value","Copy","Blank","ReturnIntoArray","ReturnIntoObject","ReturnIntoObjectSameKey","PushField","PushElement","PushParent","Pop","PushFieldCopy","PushFieldBlank","PushElementCopy","PushElementBlank","ReturnIntoObjectPop","ReturnIntoObjectSameKeyPop","ReturnIntoArrayPop","ObjectSetFieldValue","ObjectCopyField","ObjectDeleteField","ArrayAppendValue","ArrayAppendSlice","StringAppendString","StringAppendSlice"];class i{model;root;patch;i;inputStack;outputStack;constructor(e,t,n){this.model=e,this.root=t,this.patch=n,this.i=0,this.inputStack=[],this.outputStack=[]}read(){return this.patch[this.i++]}process(){for(this.inputStack.push({value:this.root}),this.outputStack.push({value:this.root});this.i<this.patch.length;){let e=this.read(),t=r[e];if(!t)throw Error(`Unknown opcode: ${e}`);this[`process${t}`].apply(this)}let e=this.outputStack.pop();return this.finalizeOutput(e)}inputEntry(){return this.inputStack[this.inputStack.length-1]}inputKey(e,t){return e.keys||(e.keys=this.model.objectGetKeys(e.value).sort()),e.keys[t]}outputEntry(){return this.outputStack[this.outputStack.length-1]}outputArray(){let e=this.outputEntry();return e.writeValue||(e.writeValue=this.model.copyArray(e.value)),e.writeValue}outputObject(){let e=this.outputEntry();return e.writeValue||(e.writeValue=this.model.copyObject(e.value)),e.writeValue}outputString(){let e=this.outputEntry();return e.writeValue||(e.writeValue=this.model.copyString(e.value)),e.writeValue}finalizeOutput(e){return e.writeValue?this.model.finalize(e.writeValue):e.value}processValue(){let e=this.model.wrap(this.read());this.outputStack.push({value:e})}processCopy(){let e=this.inputEntry();this.outputStack.push({value:e.value})}processBlank(){this.outputStack.push({value:null})}processReturnIntoArray(){let e=this.outputStack.pop(),t=this.finalizeOutput(e),n=this.outputArray();this.model.arrayAppendValue(n,t)}processReturnIntoObject(){let e=this.read(),t=this.outputStack.pop(),n=this.finalizeOutput(t);n=this.model.markChanged(n);let r=this.outputObject();this.model.objectSetField(r,e,n)}processReturnIntoObjectSameKey(){let e=this.inputEntry(),t=this.outputStack.pop(),n=this.finalizeOutput(t),r=this.outputObject();this.model.objectSetField(r,e.key,n)}processPushField(){let e=this.read(),t=this.inputEntry(),n=this.inputKey(t,e),r=this.model.objectGetField(t.value,n);this.inputStack.push({value:r,key:n})}processPushElement(){let e=this.read(),t=this.inputEntry(),n=this.model.arrayGetElement(t.value,e);this.inputStack.push({value:n})}processPop(){this.inputStack.pop()}processPushFieldCopy(){this.processPushField(),this.processCopy()}processPushFieldBlank(){this.processPushField(),this.processBlank()}processPushElementCopy(){this.processPushElement(),this.processCopy()}processPushElementBlank(){this.processPushElement(),this.processBlank()}processReturnIntoObjectPop(){this.processReturnIntoObject(),this.processPop()}processReturnIntoObjectSameKeyPop(){this.processReturnIntoObjectSameKey(),this.processPop()}processReturnIntoArrayPop(){this.processReturnIntoArray(),this.processPop()}processObjectSetFieldValue(){this.processValue(),this.processReturnIntoObject()}processObjectCopyField(){this.processPushField(),this.processCopy(),this.processReturnIntoObjectSameKey(),this.processPop()}processObjectDeleteField(){let e=this.read(),t=this.inputEntry(),n=this.inputKey(t,e),r=this.outputObject();this.model.objectDeleteField(r,n)}processArrayAppendValue(){let e=this.model.wrap(this.read()),t=this.outputArray();this.model.arrayAppendValue(t,e)}processArrayAppendSlice(){let e=this.read(),t=this.read(),n=this.outputArray(),r=this.inputEntry().value;this.model.arrayAppendSlice(n,r,e,t)}processStringAppendString(){let e=this.model.wrap(this.read()),t=this.outputString();this.model.stringAppendValue(t,e)}processStringAppendSlice(){let e=this.read(),t=this.read(),n=this.outputString(),r=this.inputEntry().value;this.model.stringAppendSlice(n,r,e,t)}}function o(e){return e>>16?4:e>>11?3:e>>7?2:1}function a(e){let t=0;for(let n=0;n<e.length;n++){let r=o(e.codePointAt(n));4==r&&n++,t+=r}return t}function s(e,t,n=0){let r=n,i=0;for(i=n;r<t;
45i++){let t=o(e.codePointAt(i));4===t&&i++,r+=t}return i}class l{meta;constructor(e){this.meta=e}wrap(e){return this.wrapWithMeta(e,this.meta,this.meta)}wrapWithMeta(e,t,n=this.meta){return{data:e,startMeta:t,endMeta:n}}asObject(e){if(!e.content){let t={};for(let[n,r]of Object.entries(e.data))t[n]=this.wrapWithMeta(r,e.startMeta);e.content={type:"object",fields:t}}return e.content}asArray(e){if(!e.content){let t=e.data.map(t=>this.wrapWithMeta(t,e.startMeta)),n=t.map(()=>this.meta);e.content={type:"array",elements:t,metas:n}}return e.content}asString(e){if(!e.content){let t=e.data,n={value:t,utf8size:a(t),uses:[],startMeta:e.startMeta,endMeta:e.endMeta};e.content=this.stringFromParts([n])}return e.content}stringFromParts(e){let t={type:"string",parts:e};for(let n of e)n.uses.push(t);return t}objectGetKeys(e){return e.content?Object.keys(e.content.fields):Object.keys(e.data)}objectGetField(e,t){return this.asObject(e).fields[t]}arrayGetElement(e,t){return this.asArray(e).elements[t]}finalize(e){return this.updateEndMeta(e),{content:e,startMeta:this.meta,endMeta:this.meta}}markChanged(e){return this.wrap(u(e))}updateEndMeta(e){if("string"==e.type)for(let t of e.parts)t.endMeta=this.meta;else if("array"===e.type)for(let t of e.elements)t.content&&t.endMeta!==this.meta&&this.updateEndMeta(t.content),t.endMeta=this.meta;else for(let t of Object.values(e.fields))t.content&&t.endMeta!==this.meta&&this.updateEndMeta(t.content),t.endMeta=this.meta}copyString(e){if(!e)return{type:"string",parts:[]};{let t=this.asString(e);return this.stringFromParts(t.parts.slice())}}copyObject(e){let t={type:"object",fields:{}};if(e){let n=this.asObject(e);Object.assign(t.fields,n.fields)}return t}copyArray(e){let t=e?this.asArray(e):null;return{type:"array",elements:t?t.elements:[],metas:t?t.metas:[]}}objectSetField(e,t,n){e.fields[t]=n}objectDeleteField(e,t){delete e.fields[t]}arrayAppendValue(e,t){e.elements.push(t),e.metas.push(this.meta)}arrayAppendSlice(e,t,n,r){let i=this.asArray(t),o=i.elements.length===n;if(e.elements.push(...i.elements.slice(n,r)),o)e.metas.push(...i.metas.slice(n,r));else for(let t=n;t<r;t++)e.metas.push(this.meta)}stringAppendValue(e,t){for(let n of this.asString(t).parts)this.stringAppendPart(e,n)}stringAppendPart(e,t){e.parts.push(t),t.uses.push(e)}resolveStringPart(e,t,n){if(0===n)return t;for(let r=t;r<e.parts.length;r++){let t=e.parts[r];if(n===t.utf8size)return r+1;if(n<t.utf8size)return this.splitString(t,n),r+1;n-=t.utf8size}throw Error("splitting string out of bounds")}splitString(e,t){let n,r=t,i=e.utf8size-r;if(e.utf8size!==e.value.length){let n=0;for(t=0;n<r;t++){let r=o(e.value.codePointAt(t));4===r&&t++,n+=r}}n=e.value.slice(0,t);let a={value:e.value.slice(t),utf8size:i,uses:e.uses.slice(),startMeta:e.startMeta,endMeta:e.endMeta};for(let t of(e.value=n,e.utf8size=r,e.uses)){let n=t.parts.indexOf(e);if(-1===n)throw Error("bug: mismatch between string parts and use.");t.parts.splice(n+1,0,a)}}stringAppendSlice(e,t,n,r){let i=this.asString(t),o=this.resolveStringPart(i,0,n),a=this.resolveStringPart(i,o,r-n);for(let t=o;t<a;t++){let n=i.parts[t];this.stringAppendPart(e,n)}}}function u(e){if("u">typeof e.data)return e.data;let t,n=e.content;switch(n.type){case"string":t=n.parts.map(e=>e.value).join("");break;case"array":t=n.elements.map(e=>u(e));break;case"object":for(let[e,r]of(t={},Object.entries(n.fields)))t[e]=u(r)}return e.data=t,t}function c(e){return e.content?e.content.type:Array.isArray(e.data)?"array":null===e.data?"null":typeof e.data}var d=Object.freeze({__proto__:null,applyPatch:function(e,t,n){return new i(new l(n),e,t).process()},getType:c,rebaseValue:function e(t,n){let r=c(t);if(r!==c(n))return n;let i=new l(t.endMeta),s=new l(n.endMeta);switch(r){case"object":{let r=i.asObject(t),o=s.asObject(n),a=0,l=Object.keys(r.fields).length,u=Object.keys(o.fields).length;for(let[t,n]of Object.entries(o.fields)){let i=r.fields[t];i&&(o.fields[t]=e(i,n),o.fields[t]===i&&a++)}return l===u&&l===a?t:n}case"array":{let r=i.asArray(t),o=s.asArray(n);if(r.elements.length!==o.elements.length)break;let a=0;for(let t=0;t<o.elements.length;t++)o.elements[t]=e(r.elements[t],o.elements[t]),o.elements[t]!==r.elements[t]&&a++;return 0===a?t:n}case"null":case"boolean":case"number":if(u(t)===u(n))return t;break;case"string":{let e=u(t),r=u(n);if(e===r)return t;let i=s.copyString(null),l=function(e,t){let n=Math.min(e.length,t.length),r=0;for(let i=0;i<n;){let n=e.codePointAt(i);if(n!==t.codePointAt(i))break;let a=o(n);r+=a,i+=4===a?2:1}return r}(e,r),c=function(e,t,n=0){let r=Math.min(e.length,t.length)-n,i=0;for(let n=0;n<r;){let r=e.codePointAt(e.length-1-n);if(r!==t.codePointAt(t.length-1-n))break;let a=o(r);i+=a,n+=4===a?2:1}return i}(e,r,l),d=a(r),f=a(e);0<l&&s.stringAppendSlice(i,t,0,l),l<d-c&&s.stringAppendSlice(i,n,l,d-c),f-c<f&&s.stringAppendSlice(i,t,f-c,f);let h=s.finalize(i);if(u(h)!==r)throw Error("incorrect string rebase");return h}}return n},unwrap:u,wrap:function(e,t){return{data:e,startMeta:t,endMeta:t}}});class f{wrap(e){return e}finalize(e){return Array.isArray(e)?e:e.data}markChanged(e){return e}objectGetKeys(e){return Object.keys(e)}
45objectGetField(e,t){return e[t]}arrayGetElement(e,t){return e[t]}copyObject(e){let t={type:"object",data:{}};if(null!==e)for(let[n,r]of Object.entries(e))t.data[n]=r;return t}copyArray(e){return null===e?[]:e.slice()}copyString(e){return{type:"string",data:null===e?"":e}}objectSetField(e,t,n){e.data[t]=n}objectDeleteField(e,t){delete e.data[t]}arrayAppendValue(e,t){e.push(t)}arrayAppendSlice(e,t,n,r){e.push(...t.slice(n,r))}stringAppendSlice(e,t,n,r){let i=s(t,n),o=s(t,r,i);e.data+=t.slice(i,o)}stringAppendValue(e,t){e.data+=t}}function h(e,t){return new i(new f,e,t).process()}},89722:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}},89794:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});let r=function(e,t,n){for(var r=-1,i=Object(e),o=n(e),a=o.length;a--;){var s=o[++r];if(!1===t(i[s],s,i))break}return e};var i,o=n(70638),a=n(19396);let s=(i=function(e,t){return e&&r(e,t,o.A)},function(e,t){if(null==e)return e;if(!(0,a.A)(e))return i(e,t);for(var n=e.length,r=-1,o=Object(e);++r<n&&!1!==t(o[r],r,o););return e})},90377:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(74548);let i=function(){try{var e=(0,r.A)(Object,"defineProperty");return e({},"",{}),e}catch(e){}}()},90474:(e,t,n)=>{"use strict";n.d(t,{P$:()=>s,_C:()=>c,lc:()=>l,mH:()=>a,qm:()=>u});var r=n(44374),i=n(26900);let o=[];function a(e){let t,n,r=e.defaultIntegrations||[],i=e.integrations;if(r.forEach(e=>{e.isDefaultInstance=!0}),Array.isArray(i))t=[...r,...i];else if("function"==typeof i){let e=i(r);t=Array.isArray(e)?e:[e]}else t=r;let o=(n={},t.forEach(e=>{let{name:t}=e,r=n[t];r&&!r.isDefaultInstance&&e.isDefaultInstance||(n[t]=e)}),Object.values(n)),a=o.findIndex(e=>"Debug"===e.name);if(a>-1){let[e]=o.splice(a,1);o.push(e)}return o}function s(e,t){let n={};return t.forEach(t=>{t&&u(e,t,n)}),n}function l(e,t){for(let n of t)n&&n.afterAllSetup&&n.afterAllSetup(e)}function u(e,t,n){if(n[t.name]){r.T&&i.vF.log(`Integration skipped because it was already installed: ${t.name}`);return}if(n[t.name]=t,-1===o.indexOf(t.name)&&"function"==typeof t.setupOnce&&(t.setupOnce(),o.push(t.name)),t.setup&&"function"==typeof t.setup&&t.setup(e),"function"==typeof t.preprocessEvent){let n=t.preprocessEvent.bind(t);e.on("preprocessEvent",(t,r)=>n(t,r,e))}if("function"==typeof t.processEvent){let n=t.processEvent.bind(t),r=Object.assign((t,r)=>n(t,r,e),{id:t.name});e.addEventProcessor(r)}r.T&&i.vF.log(`Integration installed: ${t.name}`)}function c(e){return e}},90756:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(90377);let i=function(e,t,n){"__proto__"==t&&r.A?(0,r.A)(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},90837:(e,t,n)=>{var r=n(8515),i=n(81581);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==r(e)}},91123:(e,t,n)=>{var r=n(54255),i=n(87481);e.exports=function(e){for(var t=i(e),n=t.length;n--;){var o=t[n],a=e[o];t[n]=[o,a,r(a)]}return t}},91359:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(){return[]}},91420:(e,t,n)=>{"use strict";let r;n.d(t,{LI:()=>l,P$:()=>p,Wz:()=>u,rV:()=>s});var i=n(83071),o=n(79382),a=n(13638);function s(e){if(!e)throw Error("Parameter 'portabletextType' missing (required)");let t=e.of?.find(function e(t){return t.type?e(t.type):"block"===t.name?t:null});if(!t)throw Error("Block type is not defined in this schema (required)");let n=t.fields?.find(e=>"children"===e.name);if(!n)throw Error("Children field for block type found in schema (required)");let r=n.type.of;if(!r)throw Error("Valid types for block children not found in schema (required)");let i=r.find(e=>"span"===e.name);if(!i)throw Error("Span type not found in schema (required)");let o=r.filter(e=>"span"!==e.name)||[],a=e.of?.filter(e=>e.name!==t.name)||[];return{styles:function(e){let t=e.fields?.find(e=>"style"===e.name);if(!t)throw Error("A field with name 'style' is not defined in the block type (required).");let n=t.type.options?.list&&t.type.options.list?.filter(e=>e.value);if(!n||0===n.length)throw Error("The style fields need at least one style defined. I.e: {title: 'Normal', value: 'normal'}.");return n}(t),decorators:i.decorators,lists:function(e){let t=e.fields?.find(e=>"listItem"===e.name);if(!t)throw Error("A field with name 'listItem' is not defined in the block type (required).");let n=t.type.options?.list&&t.type.options.list.filter(e=>e.value);if(!n)throw Error("The list field need at least to be an empty array");return n}(t),block:t,span:i,portableText:e,inlineObjects:o,blockObjects:a,annotations:i.annotations}}function l(e){return{annotations:e.annotations.map(e=>({name:e.name,fields:e.fields.map(e=>({name:e.name,type:e.type.jsonType,title:e.type.title})),title:e.title})),block:{name:e.block.name},blockObjects:e.blockObjects.map(e=>({name:e.name,fields:e.fields.map(e=>({name:e.name,type:e.type.jsonType,title:e.type.title})),title:e.title})),decorators:e.decorators.map(e=>({name:e.value,title:e.title,value:e.value})),inlineObjects:e.inlineObjects.map(e=>({name:e.name,fields:e.fields.map(e=>({name:e.name,type:e.type.jsonType,title:e.type.title})),title:e.title})),span:{name:e.span.name},styles:e.styles.map(e=>({name:e.value,title:e.title,value:e.value})),lists:e.lists.map(e=>({name:e.value,title:e.title,value:e.value}))}}function u(e){var t;return l(s(e.hasOwnProperty("jsonType")?e:(t=e,i.Sj.compile({name:"blockTypeSchema",types:[t,...o.jN]}).get(t.name))))}let c=()=>{var e;let t;return e=12,t=(()=>
45{if(r)return r;r=[];for(let e=0;e<256;++e)r[e]=(e+256).toString(16).slice(1);return r})(),(function(e=16){let t=new Uint8Array(e);return crypto.getRandomValues(t),t})(12).reduce((e,n)=>e+t[n],"").slice(0,12)};function d(e){return e.replace(/([a-z])([A-Z])/g,"$1 $2").replace(/[_-]+/g," ").trim().split(/\s+/).filter(Boolean).map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(" ")}let f={image:"Image",url:"URL"},h=new Set(["image","url"]);function p(e){let t=e?.blockObjects??[],n=e?.inlineObjects??[],r=new Set(t.map(e=>e.name)),o=new Set(n.map(e=>e.name)),l={},u={},p={},g={};for(let e of r)if(h.has(e)||o.has(e)){let t=`tmp-${c()}-${e}`;l[e]=t,p[t]=e}for(let e of o)if(h.has(e)||r.has(e)){let t=`tmp-${c()}-${e}`;u[e]=t,g[t]=e}let m=t.map(e=>(0,a.U8)({type:"object",name:l[e.name]??e.name,title:void 0===e.title?f[e.name]:e.title,fields:e.fields?.map(e=>({name:e.name,type:e.type,title:e.title??d(e.name)}))??[]})),y=n.map(e=>(0,a.U8)({type:"object",name:u[e.name]??e.name,title:void 0===e.title?f[e.name]:e.title,fields:e.fields?.map(e=>({name:e.name,type:e.type,title:e.title??d(e.name)}))??[]})),b=(0,a.MI)({type:"array",name:"portable-text",of:[...m.map(e=>({type:e.name})),{type:"block",name:"block",of:y.map(e=>({type:e.name})),marks:{decorators:e?.decorators?.map(e=>({title:e.title??d(e.name),value:e.name}))??[],annotations:e?.annotations?.map(e=>({name:e.name,type:"object",title:e.title,fields:e.fields?.map(e=>({name:e.name,title:e.title??d(e.name),type:e.type}))??[]}))??[]},lists:e?.lists?.map(e=>({value:e.name,title:e.title??d(e.name)}))??[],styles:e?.styles?.map(e=>({value:e.name,title:e.title??d(e.name)}))??[]}]}),v=s(i.Sj.compile({types:[b,...m,...y]}).get("portable-text"));return{...v,portableText:{...v.portableText,of:v.portableText.of.map(e=>{if(!(0,a.$d)(e))return e;let t=p[e.name];for(let n of(e.name=t??e.name,e.fields))if(!("children"!==n.name||!(0,a.zR)(n.type)))for(let e of n.type.of){let t=g[e.name];t&&(e.name=t)}return e})},blockObjects:v.blockObjects.map(e=>void 0!==p[e.name]?{...e,name:p[e.name],type:{...e.type,name:p[e.name]}}:e),inlineObjects:v.inlineObjects.map(e=>void 0!==g[e.name]?{...e,name:g[e.name]}:e)}}}
45,91912:(e,t,n)=>{"use strict";n.d(t,{D:()=>u});var r=n(44374),i=n(90474),o=n(26900),a=n(87192),s=n(88925);let l=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,"undefined is not an object (evaluating 'a.L')",'can\'t redefine non-configurable property "solana"',"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)","Can't find variable: _AutofillCallbackHandler",/^Non-Error promise rejection captured with value: Object Not Found Matching Id:\d+, MethodName:simulateEvent, ParamCount:\d+$/],u=(0,i._C)((e={})=>({name:"InboundFilters",processEvent:(t,n,i)=>{var u,d,f,h,p;return(u=t,(d=function(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:l],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]],ignoreInternal:void 0===e.ignoreInternal||e.ignoreInternal}}(e,i.getOptions())).ignoreInternal&&function(e){try{return"SentryError"===e.exception.values[0].type}catch(e){}return!1}(u)?(r.T&&o.vF.warn(`Event dropped due to being internal Sentry Error.
46Event: ${(0,a.$X)(u)}`),0):(f=u,h=d.ignoreErrors,!f.type&&h&&h.length&&(function(e){let t,n=[];e.message&&n.push(e.message);try{t=e.exception.values[e.exception.values.length-1]}catch(e){}return t&&t.value&&(n.push(t.value),t.type&&n.push(`${t.type}: ${t.value}`)),n})(f).some(e=>(0,s.Xr)(e,h)))?(r.T&&o.vF.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
47Event: ${(0,a.$X)(u)}`),0):(p=u).type||!p.exception||!p.exception.values||0===p.exception.values.length||p.message||p.exception.values.some(e=>e.stacktrace||e.type&&"Error"!==e.type||e.value)?!function(e,t){if("transaction"!==e.type||!t||!t.length)return!1;let n=e.transaction;return!!n&&(0,s.Xr)(n,t)}(u,d.ignoreTransactions)?!function(e,t){if(!t||!t.length)return!1;let n=c(e);return!!n&&(0,s.Xr)(n,t)}(u,d.denyUrls)?function(e,t){if(!t||!t.length)return!0;let n=c(e);return!n||(0,s.Xr)(n,t)}(u,d.allowUrls)||(r.T&&o.vF.warn(`Event dropped due to not being matched by \`allowUrls\` option.
48Event: ${(0,a.$X)(u)}.
49Url: ${c(u)}`),0):(r.T&&o.vF.warn(`Event dropped due to being matched by \`denyUrls\` option.
50Event: ${(0,a.$X)(u)}.
51Url: ${c(u)}`),0):(r.T&&o.vF.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
52Event: ${(0,a.$X)(u)}`),0):(r.T&&o.vF.warn(`Event dropped due to not having an error message, error type or stacktrace.
53Event: ${(0,a.$X)(u)}`),0))?t:null}}));function c(e){try{let t;try{t=e.exception.values[0].stacktrace.frames}catch(e){}return t?function(e=[]){for(let t=e.length-1;t>=0;t--){let n=e[t];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(t):null}catch(t){return r.T&&o.vF.error(`Cannot extract url for event ${(0,a.$X)(e)}`),null}}},91993:(e,t,n)=>{"use strict";n.d(t,{w:()=>i});var r=n(77989);function i(e,t){return"function"==typeof e?e(t):e&&"object"==typeof e&&r._P in e?e[r._P](t):e instanceof Date?new e.constructor(t):new Date(t)}},92116:(e,t,n)=>{var r=n(48714),i=n(73441);e.exports=function(e,t){return null!=e&&i(e,t,r)}},92162:(e,t,n)=>{"use strict";function r(e){return t=>{let n=(e?Math[e]:Math.trunc)(t);return 0===n?0:n}}n.d(t,{u:()=>r})},92205:(e,t)=>{"use strict";for(var n="u">typeof window&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),r={alt:"altKey",control:"ctrlKey",meta:"metaKey",shift:"shiftKey"},i={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:n?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},o={backspace:8,tab:9,enter:13,shift:16,control:17,alt:18,pause:19,capslock:20,escape:27," ":32,pageup:33,pagedown:34,end:35,home:36,arrowleft:37,arrowup:38,arrowright:39,arrowdown:40,insert:45,delete:46,meta:91,numlock:144,scrolllock:145,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},a=1;a<20;a++)o["f"+a]=111+a;function s(e){return i[e=e.toLowerCase()]||e}t.v_=function(e,t,n){!t||"byKey"in t||(n=t,t=null),Array.isArray(e)||(e=[e]);var a=e.map(function(e){return function(e,t){var n=t&&t.byKey,a={},l=(e=e.replace("++","+add")).split("+"),u=l.length;for(var c in r)a[r[c]]=!1;var d=!0,f=!1,h=void 0;try{for(var p,g=l[Symbol.iterator]();!(d=(p=g.next()).done);d=!0){var m=p.value,y=m.endsWith("?")&&m.length>1;y&&(m=m.slice(0,-1));var b=s(m),v=r[b];if(m.length>1&&!v&&!i[m]&&!o[b])throw TypeError('Unknown modifier: "'+m+'"');1!==u&&v||(n?a.key=b:a.which=function(e){return o[e=s(e)]||e.toUpperCase().charCo
53deAt(0)}(m)),v&&(a[v]=!y||null)}}catch(e){f=!0,h=e}finally{try{!d&&g.return&&g.return()}finally{if(f)throw h}}return a}(e,t)}),l=function(e){return a.some(function(t){return function(e,t){for(var n in e){var r=e[n],i=void 0;if(null!=r&&(null!=(i="key"===n&&null!=t.key?t.key.toLowerCase():"which"===n?91===r&&93===t.which?91:t.which:t[n])||!1!==r)&&i!==r)return!1}return!0}(t,e)})};return null==n?l:l(n)}},92410:(e,t,n)=>{var r=n(70194);e.exports=n(19198)(r)},92459:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=Array.isArray},92477:(e,t,n)=>{"use strict";n.d(t,{a:()=>i});var r=n(91993);function i(e,t){return(0,r.w)(t||e,e)}},92922:(e,t,n)=>{"use strict";n.d(t,{D:()=>i});var r=n(92477);function i(e,t){let n=(0,r.a)(e,t?.in);return n.setHours(23,59,59,999),n}},92976:(e,t,n)=>{"use strict";n.d(t,{Vu:()=>l,fj:()=>a,qO:()=>s});var r=n(2159),i=n(15333),o=n(87192);function a(e){let t=(0,i.zf)(),n={sid:(0,o.eJ)(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>{var e;return e=n,(0,r.Ce)({sid:`${e.sid}`,init:e.init,started:new Date(1e3*e.started).toISOString(),timestamp:new Date(1e3*e.timestamp).toISOString(),status:e.status,errors:e.errors,did:"number"==typeof e.did||"string"==typeof e.did?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}};return e&&s(n,e),n}function s(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),e.did||t.did||(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||(0,i.zf)(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:(0,o.eJ)()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),"number"==typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"==typeof t.duration)e.duration=t.duration;else{let t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"==typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}function l(e,t){let n={};t?n={status:t}:"ok"===e.status&&(n={status:"exited"}),s(e,n)}},93032:(e,t,n)=>{"use strict";n.d(t,{p:()=>a});var r=n(91993),i=n(31166),o=n(92477);function a(e,t){let n=(0,o.a)(e,t?.in),a=n.getFullYear(),s=(0,r.w)(n,0);s.setFullYear(a+1,0,4),s.setHours(0,0,0,0);let l=(0,i.b)(s),u=(0,r.w)(n,0);u.setFullYear(a,0,4),u.setHours(0,0,0,0);let c=(0,i.b)(u);return n.getTime()>=l.getTime()?a+1:n.getTime()>=c.getTime()?a:a-1}},93119:(e,t,n)=>{"use strict";function r(e){e.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},e.languages.webmanifest=e.languages.json}n.d(t,{A:()=>r}),r.displayName="json",r.aliases=["webmanifest"]},93148:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r,i,o=n(90377),a=n(79800),s=o.A?function(e,t){return(0,o.A)(e,"toString",{configurable:!0,enumerable:!1,value:function(){return t},writable:!0})}:a.A,l=Date.now;let u=(r=0,i=0,function(){var e=l(),t=16-(e-i);if(i=e,t>0){if(++r>=800)return arguments[0]}else r=0;return s.apply(void 0,arguments)})},93301:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(86953),i=n(60577),o=n(57641),a=n(12602),s=n(32521),l=n(66485);let u=function(e,t,n,u){var c=-1,d=i.A,f=!0,h=e.length,p=[],g=t.length;if(!h)return p;n&&(t=(0,a.A)(t,(0,s.A)(n))),u?(d=o.A,f=!1):t.length>=200&&(d=l.A,f=!1,t=new r.A(t));t:for(;++c<h;){var m=e[c],y=null==n?m:n(m);if(m=u||0!==m?m:0,f&&y==y){for(var b=g;b--;)if(t[b]===y)continue t;p.push(m)}else d(t,y,u)||p.push(m)}return p}},93746:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(10954);let i=function(e,t,n){return null==e?e:(0,r.A)(e,t,n)}},93881:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}},93916:(e,t,n)=>{"use strict";let r=n(53941);e.exports=(e,t,n)=>r(e,t,n)>=0},93930:(e,t,n)=>{"use strict";n.d(t,{GP:()=>A});var r=n(64725),i=n(46776),o=n(27793),a=n(92477),s=n(47665),l=n(93032),u=n(88615),c=n(37305);function d(e,t){let n=Math.abs(e).toString().padStart(t,"0");return(e<0?"-":"")+n}let f={y(e,t){let n=e.getFullYear(),r=n>0?n:1-n;return d("yy"===t?r%100:r,t.length)},M(e,t){let n=e.getMonth();return"M"===t?String(n+1):d(n+1,2)},d:(e,t)=>d(e.getDate(),t.length),a(e,t){let n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];
53default:return"am"===n?"a.m.":"p.m."}},h:(e,t)=>d(e.getHours()%12||12,t.length),H:(e,t)=>d(e.getHours(),t.length),m:(e,t)=>d(e.getMinutes(),t.length),s:(e,t)=>d(e.getSeconds(),t.length),S(e,t){let n=t.length;return d(Math.trunc(e.getMilliseconds()*Math.pow(10,n-3)),t.length)}},h={G:function(e,t,n){let r=+(e.getFullYear()>0);switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){let t=e.getFullYear();return n.ordinalNumber(t>0?t:1-t,{unit:"year"})}return f.y(e,t)},Y:function(e,t,n,r){let i=(0,c.h)(e,r),o=i>0?i:1-i;return"YY"===t?d(o%100,2):"Yo"===t?n.ordinalNumber(o,{unit:"year"}):d(o,t.length)},R:function(e,t){return d((0,l.p)(e),t.length)},u:function(e,t){return d(e.getFullYear(),t.length)},Q:function(e,t,n){let r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return d(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){let r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return d(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){let r=e.getMonth();switch(t){case"M":case"MM":return f.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){let r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return d(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){let i=(0,u.N)(e,r);return"wo"===t?n.ordinalNumber(i,{unit:"week"}):d(i,t.length)},I:function(e,t,n){let r=(0,s.s)(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):d(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getDate(),{unit:"date"}):f.d(e,t)},D:function(e,t,n){let r,i,s=(r=(0,a.a)(e,void 0),(0,o.m)(r,((i=(0,a.a)(r,void 0)).setFullYear(i.getFullYear(),0,1),i.setHours(0,0,0,0),i))+1);return"Do"===t?n.ordinalNumber(s,{unit:"dayOfYear"}):d(s,t.length)},E:function(e,t,n){let r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){let i=e.getDay(),o=(i-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return d(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){let i=e.getDay(),o=(i-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return d(o,t.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,n){let r=e.getDay(),i=0===r?7:r;switch(t){case"i":return String(i);case"ii":return d(i,t.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){let r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){let r,i=e.getHours();switch(r=12===i?"noon":0===i?"midnight":i/12>
53=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){let r,i=e.getHours();switch(r=i>=17?"evening":i>=12?"afternoon":i>=4?"morning":"night",t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),n.ordinalNumber(t,{unit:"hour"})}return f.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getHours(),{unit:"hour"}):f.H(e,t)},K:function(e,t,n){let r=e.getHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):d(r,t.length)},k:function(e,t,n){let r=e.getHours();return(0===r&&(r=24),"ko"===t)?n.ordinalNumber(r,{unit:"hour"}):d(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):f.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getSeconds(),{unit:"second"}):f.s(e,t)},S:function(e,t){return f.S(e,t)},X:function(e,t,n){let r=e.getTimezoneOffset();if(0===r)return"Z";switch(t){case"X":return g(r);case"XXXX":case"XX":return m(r);default:return m(r,":")}},x:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case"x":return g(r);case"xxxx":case"xx":return m(r);default:return m(r,":")}},O:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+p(r,":");default:return"GMT"+m(r,":")}},z:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+p(r,":");default:return"GMT"+m(r,":")}},t:function(e,t,n){return d(Math.trunc(e/1e3),t.length)},T:function(e,t,n){return d(+e,t.length)}};function p(e,t=""){let n=e>0?"-":"+",r=Math.abs(e),i=Math.trunc(r/60),o=r%60;return 0===o?n+String(i):n+String(i)+t+d(o,2)}function g(e,t){return e%60==0?(e>0?"-":"+")+d(Math.abs(e)/60,2):m(e,t)}function m(e,t=""){let n=Math.abs(e);return(e>0?"-":"+")+d(Math.trunc(n/60),2)+t+d(n%60,2)}var y=n(11554),b=n(16591),v=n(24639);let w=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,_=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,x=/^'([^]*?)'?$/,k=/''/g,E=/[a-zA-Z]/;function A(e,t,n){let o=(0,i.q)(),s=n?.locale??o.locale??r.c,l=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??o.firstWeekContainsDate??o.locale?.options?.firstWeekContainsDate??1,u=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??o.weekStartsOn??o.locale?.options?.weekStartsOn??0,c=(0,a.a)(e,n?.in);if(!(0,v.f)(c))throw RangeError("Invalid time value");let d=t.match(_).map(e=>{let t=e[0];return"p"===t||"P"===t?(0,y.m[t])(e,s.formatLong):e}).join("").match(w).map(e=>{if("''"===e)return{isToken:!1,value:"'"};let t=e[0];if("'"===t){var n;let t;return{isToken:!1,value:(t=(n=e).match(x))?t[1].replace(k,"'"):n}}if(h[t])return{isToken:!0,value:e};if(t.match(E))throw RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}});s.localize.preprocessor&&(d=s.localize.preprocessor(c,d));let f={firstWeekContainsDate:l,weekStartsOn:u,locale:s};return d.map(r=>{if(!r.isToken)return r.value;let i=r.value;return(!n?.useAdditionalWeekYearTokens&&(0,b.xM)(i)||!n?.useAdditionalDayOfYearTokens&&(0,b.ef)(i))&&(0,b.Ss)(i,t,String(e)),(0,h[i[0]])(c,i,s.localize,f)}).join("")}},94123:(e,t,n)=>{"use strict";n.d(t,{F:()=>a});var r=n(10336),i=n(79619),o=n(77973);function a(e,t){return void 0===t&&(t=r.D),e=null!=e?e:s,(0,i.N)(function(n,r){var i,a=!0;n.subscribe((0,o._)(r,function(n){var o=t(n);(a||!e(i,o))&&(a=!1,i=o,r.next(n))}))})}function s(e,t){return e===t}},94577:(e,t,n)=>{"use strict";e.exports=n(99617)},94724:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(24286);let i=function(e){return(0,r.A)(e).toLowerCase()}},94752:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(24286),i=0;let o=function(e){var t=++i;return(0,r.A)(e)+t}}
53,94838:(e,t,n)=>{"use strict";n.d(t,{U:()=>i});var r=n(43897);function i(e){return(0,r.T)(function(t,n,r){return!e||e(n,r)?t+1:t},0)}},94843:(e,t,n)=>{"use strict";let r=n(3338);e.exports=(e,t,n)=>{try{t=new r(t,n)}catch(e){return!1}return t.test(e)}},95023:(e,t,n)=>{"use strict";n.d(t,{AS:()=>u,aj:()=>c,s5:()=>l});var r=n(74738),i=n(26900),o=n(64985);let a={},s={};function l(e,t){a[e]=a[e]||[],a[e].push(t)}function u(e,t){if(!s[e]){s[e]=!0;try{t()}catch(t){r.T&&i.vF.error(`Error while instrumenting ${e}`,t)}}}function c(e,t){let n=e&&a[e];if(n)for(let a of n)try{a(t)}catch(t){r.T&&i.vF.error(`Error while triggering instrumentation handler.
54Type: ${e}
55Name: ${(0,o.qQ)(a)}
56Error:`,t)}}},95749:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(29703),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=r.A?r.A.toStringTag:void 0;let l=function(e){var t=o.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var i=a.call(e);return r&&(t?e[s]=n:delete e[s]),i};var u=Object.prototype.toString,c=r.A?r.A.toStringTag:void 0;let d=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":c&&c in Object(e)?l(e):u.call(e)}},96035:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(e){for(var t=-1,n=null==e?0:e.length,r=0,i=[];++t<n;){var o=e[t];o&&(i[r++]=o)}return i}},96063:(e,t,n)=>{"use strict";n.d(t,{DN:()=>J,GD:()=>Z,N_:()=>_,RZ:()=>w,VK:()=>H,cQ:()=>v,fA:()=>j,ks:()=>ee,nk:()=>N,pg:()=>V,rd:()=>y,s8:()=>Q,wE:()=>$});var r,i=n(95155),o=n(19749),a=n(12115),s=n(80825),l=n(72157),u=n(42202),c=n(99181),d=n(68585),f=n(38056),h=n(12275),p=n(1060),g=n(79800),m=n(88010);function y(){let e=(0,a.useContext)(s.zA);if(!e)throw Error("Router: missing context value");return e}function b(e){let t,n,r=(0,o.c)(8),{onClick:i,href:a,target:s,replace:l}=e,u=void 0!==l&&l,{navigateUrl:c}=y();r[0]!==a||r[1]!==c||r[2]!==i||r[3]!==u||r[4]!==s?(t=e=>{e.isDefaultPrevented()||a&&(i&&i(e),!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||0!==e.button)&&(s||(e.preventDefault(),c({path:a,replace:u}))))},r[0]=a,r[1]=c,r[2]=i,r[3]=u,r[4]=s,r[5]=t):t=r[5];let d=t;return r[6]!==d?(n={onClick:d},r[6]=d,r[7]=n):n=r[7],n}function v(e){let t,n,r,i=(0,o.c)(13),{intent:a,onClick:s,params:l,replace:u,target:c,searchParams:d}=e,{resolveIntentLink:f}=y();i[0]!==a||i[1]!==l||i[2]!==f||i[3]!==d?(t=f(a,l,d),i[0]=a,i[1]=l,i[2]=f,i[3]=d,i[4]=t):t=i[4];let h=t;i[5]!==h||i[6]!==s||i[7]!==u||i[8]!==c?(n={href:h,onClick:s,replace:u,target:c},i[5]=h,i[6]=s,i[7]=u,i[8]=c,i[9]=n):n=i[9];let{onClick:p}=b(n);return i[10]!==h||i[11]!==p?(r={onClick:p,href:h},i[10]=h,i[11]=p,i[12]=r):r=i[12],r}let w=(0,a.forwardRef)(function(e,t){let n,r,a,s,l,u,c,d=(0,o.c)(18);d[0]!==e?({intent:n,params:r,target:l,searchParams:s,...a}=e,d[0]=e,d[1]=n,d[2]=r,d[3]=a,d[4]=s,d[5]=l):(n=d[1],r=d[2],a=d[3],s=d[4],l=d[5]),d[6]!==n||d[7]!==r||d[8]!==e.onClick||d[9]!==s||d[10]!==l?(u={intent:n,params:r,target:l,onClick:e.onClick,searchParams:s},d[6]=n,d[7]=r,d[8]=e.onClick,d[9]=s,d[10]=l,d[11]=u):u=d[11];let{onClick:f,href:h}=v(u);return d[12]!==h||d[13]!==f||d[14]!==t||d[15]!==a||d[16]!==l?(c=(0,i.jsx)("a",{...a,href:h,onClick:f,ref:t,target:l}),d[12]=h,d[13]=f,d[14]=t,d[15]=a,d[16]=l,d[17]=c):c=d[17],c}),_=(0,a.forwardRef)(function(e,t){let n,r,a,s,l,u,c,d=(0,o.c)(17);d[0]!==e?({onClick:r,href:n,target:l,replace:a,...s}=e,d[0]=e,d[1]=n,d[2]=r,d[3]=a,d[4]=s,d[5]=l):(n=d[1],r=d[2],a=d[3],s=d[4],l=d[5]),d[6]!==n||d[7]!==r||d[8]!==a||d[9]!==l?(u={onClick:r,href:n,target:l,replace:a},d[6]=n,d[7]=r,d[8]=a,d[9]=l,d[10]=u):u=d[10];let{onClick:f}=b(u);return d[11]!==n||d[12]!==f||d[13]!==t||d[14]!==s||d[15]!==l?(c=(0,i.jsx)("a",{...s,onClick:f,href:n,target:l,ref:t}),d[11]=n,d[12]=f,d[13]=t,d[14]=s,d[15]=l,d[16]=c):c=d[16],c}),x=/^[a-zA-Z0-9_-]+$/;function k(e){if(!e)return null;if(e.startsWith(":")){let t=e.slice(1);if(!x.test(t)){let t=e.includes("*")?" Splats are not supported. Consider using child routes instead":"";console.error(Error(`Warning: Param segments "${e}" includes invalid characters.${t}`))}return{type:"param",name:t}}return{type:"dir",name:e}}function E(e){return Array.isArray(e)?e:e?[e]:[]}function A(e,t,n){return{type:"error",node:e,missingKeys:t,unmappableStateKeys:n}}function S(e,t,n,r){return{type:"ok",node:e,matchedState:t,searchParams:n,child:r}}function C(e,t){let n=[...String(e)],r="";for(let e=0;e<n.length;e++){let i=n[e];t.includes(i)?r+=i:r+=encodeURIComponent(i)}return r}let O=m("state-router");function T(e){return`[${e}]`}function D(e){return`"${e}"`}function I(e){return String.fromCharCode(parseInt(e.slice(1),16))}function R(e){return`%${`00${e.charCodeAt(0).toString(16)}`.slice(-2)}`}function j(e=""){let t=decodeURIComponent(e);
56if(!t)return{};try{var n;return JSON.parse((n=t.replace(/-/g,"+").replace(/_/g,"/"),decodeURIComponent(Array.from(atob(n),R).join(""))))}catch{}try{return JSON.parse(atob(t))}catch{}try{return JSON.parse(t)}catch{console.warn("Failed to parse JSON parameters")}return{}}function N(e){return e?btoa(encodeURIComponent(JSON.stringify(e)).replace(/%[0-9A-F]{2}/g,I)).replace(/\//g,"_").replace(/\+/g,"-").replace(/[=]+$/,""):""}function M(e){return e.split(";").reduce((e,t)=>{let[n,r]=t.split("=");return e[decodeURIComponent(n)]=decodeURIComponent(r),e},{})}function F(e){return Object.entries(e).filter(([,e])=>null!=e).map(([e,t])=>`${encodeURIComponent(e)}=${encodeURIComponent(t)}`).join(";")}let $={create:(e,t,n)=>B(P(e,t,n)),intents:e=>{let t=(function(...e){return e.reduce((e,t)=>e.concat(t.split("/")),[]).filter(Boolean)})(e).join("/");return $.create(`${t}/:intent`,[$.create(":params",{transform:{params:{toState:M,toPath:F}}},[$.create(":payload",{transform:{payload:{toState:j,toPath:N}}})])])},scope:(e,t,n,r)=>B({...P(t,n,r),scope:e})};function L(e){return Array.isArray(e)||"function"==typeof e?e:e?[e]:[]}function P(e,t,n){return"object"==typeof e?e:Array.isArray(t)||"function"==typeof t||t&&"_isRoute"in t?{path:e,children:L(t)}:n?{path:e,...t,children:L(n)}:{path:e,...t}}let z={};function U(e){return e.split("/").every(e=>!e)}function B(e){let{path:t,scope:n,transform:r,children:i,__unsafe_disableScopedSearchParams:o}=e;if(!t)throw TypeError("Missing path");return{_isRoute:!0,scope:n,__unsafe_disableScopedSearchParams:o,route:function(e){let[t]=e.split("?");return{raw:e,segments:t.split("/").map(k).filter(Boolean)}}(t),children:i||[],transform:r,encode(e){return function(e,t){O("Resolving path from state %o",t);let n=function e(t,n){if(!n)return S(t,{},[]);let{_searchParams:r=[],...i}=(t.scope?n[t.scope]:n)||{},o=t.route.segments.filter(e=>"param"===e.type).map(e=>e.name),a=(0,l.A)(i)?Object.keys(i):[],s=(0,u.A)(a,o),f=(0,c.A)(o,s),h=(0,c.A)(a,s);if(f.length>0)return A(t,f,[]);let p=r.map(([e,t])=>[[e],t]),g=(0,d.A)(i,s);if(0===h.length)return S(t,g,p);let m=E(("function"==typeof t.children?t.children((0,l.A)(i)?i:{}):t.children)||[]);if(h.length>0&&0===m.length)return A(t,[],h);let y=(0,d.A)(i,h),b=m.map(t=>e(t,y)).find(e=>"ok"===e.type);return b?S(t,g,p,b):A(t,[],h)}(e,t);if("error"===n.type){let e=n.unmappableStateKeys;if(e.length>0)throw Error(`Unable to find matching route for state. Could not map the following state key${1==e.length?"":"s"} to a valid url: ${e.map(D).join(", ")}`);let t=n.missingKeys;throw Error(`Unable to find matching route for state. State object is missing the following key${1==t.length?"":"s"} defined in route: ${t.map(D).join(", ")}`)}let{path:r,searchParams:i}=function e(t){var n,r;let i,o=t.matchedState,a=t.node.route.segments.map(e=>{if("dir"===e.type)return e.name;let n=t.node.transform&&t.node.transform[e.name];return n?n.toPath(o[e.name]):o[e.name]}),s=t.child?e(t.child):void 0,l=s?.searchParams?[...t.searchParams,...s.searchParams]:t.searchParams;return{searchParams:(n=t.node,r=l,(i=n.scope)&&!n.__unsafe_disableScopedSearchParams?r.map(([e,t])=>[[i,...e],t]):r),path:[...a||[],...s?.path||[]]}}(n),o=i.length>0?i.flatMap(([e,t])=>void 0===t?[]:[C(function(e){let[t,...n]=e;return n.length>0?[t,...n.map(T)].join(""):t}(e),"[]"),C(t,"/")].join("=")).join("&"):"";return`/${r.join("/")}${o?`?${o}`:""}`}(this,e)},decode(e){return function(e,t){O("resolving state from path %s",t);let[n,r]=t.split("?"),i=function e(t,n,r){var i,o;let a=n.split("/").filter(Boolean),s=t.route.segments.length;if(a.length<s)return null;let l={};if(!t.route.segments.every((e,n)=>{if("dir"===e.type)return e.name===a[n];let r=t.transform&&t.transform[e.name];return l[e.name]=r?r.toState(a[n]):a[n],!0}))return null;let u=a.slice(s),c=null,d="function"==typeof t.children?E(t.children(l)):t.children,f=(i=t.scope,o=r,i?o.map(([e,t])=>[e[0]===i?e.slice(1):e,t]):o);if(d.some(t=>{if(t){let n=t.scope?f.filter(([e])=>t.scope===e[0]):f;return c=e(t,u.join("/"),n)}}),u.length>0&&!c)return null;let h=f.flatMap(([e,t])=>1===e.length?[[e[0],t]]:[]),p={...l,...null===c?{}:c,...h.length>0?{_searchParams:h}:{}};return t.scope?{[t.scope]:p}:p}(e,n,Array.from(new URLSearchParams(r).entries()).map(([e,t])=>[function(e){let t=[],n=0,r=0;for(;n<e.length;){let i=e.indexOf("[",n);if(-1===i){t.push(e.slice(n,e.length));break}if(1===r)throw Error("Nested brackets not supported");r=1,i>n&&(t.push(e.slice(n,i)),n=i);let o=e.indexOf("]",i);if(-1===o){if(1===r)throw Error("Unclosed bracket");break}
56r=0,t.push(e.slice(n+1,o)),n=o+1}return t}(e),t]));return O("resolved: %o",i||null),i||null}(this,e)},isRoot:U,isNotFound(e){return null===this.decode(e)},getBasePath(){return this.encode(z)},getRedirectBase(e){if(U(e)){let t=this.getBasePath();if(e!==t)return t}return null}}}let H=["perspective","excludedPerspectives","displayInlineChanges"],q=e=>{if("object"!=typeof e||null===e||Array.isArray(e)||!("replace"in e||"stickyParams"in e||"state"in e))return!1;if("state"in e){let{state:t}=e;return null==t||"object"==typeof t}return!0};function V(e){let t,n,r,a,l,u,c,d,g,m=(0,o.c)(44),{onNavigate:y,router:b,state:v}=e;m[0]!==b||m[1]!==v._searchParams?(t=(e,t,n)=>{let[r,i]=Array.isArray(t)?t:[t];return b.encode({intent:e,params:r,payload:i,_searchParams:(0,f.A)({...(0,h.A)((v._searchParams??[]).filter(Y)),...(0,h.A)(n??[])})})},m[0]=b,m[1]=v._searchParams,m[2]=t):t=m[2];let w=t;m[3]!==b||m[4]!==v._searchParams?(n=e=>{let t=v._searchParams||[],n=e?._searchParams||[],r=H.reduce((e,r)=>{var i,o,a;let s;return i=e,o=r,a=K(n,r)??K(t,r),s=i.filter(([e])=>e!==o),void 0===a||""==a?s:[...s,[o,a]]},n||[]);return b.encode({...e,_searchParams:r})},m[3]=b,m[4]=v._searchParams,m[5]=n):n=m[5];let _=n;m[6]!==y||m[7]!==_||m[8]!==v?(r=(e,t)=>{let n=q(e)&&!t?e:t||{},r=q(e)?(a=e,s=v,(q(a)?null===a.state?{}:a.state??s:null)??v):e,i=v._searchParams||[],o=n.stickyParams??Object.fromEntries(i.filter(W));var a,s,l,u,c=o;if(Object.keys(c).some(e=>!H.includes(e)))throw Error("One or more parameters are not sticky");let d=(l=r._searchParams||[],(u=o)?[...l.filter(([e])=>!Object.hasOwn(u,e)),...Object.entries(u).filter(e=>void 0!==e[1]).map(e=>[e[0],null===e[1]?"":e[1]])]:l);y({path:_({...r,_searchParams:d}),replace:n.replace})},m[6]=y,m[7]=_,m[8]=v,m[9]=r):r=m[9];let x=r;m[10]!==x?(a=(e,t)=>x({stickyParams:e,...void 0===t?{}:t,state:void 0}),m[10]=x,m[11]=a):a=m[11];let k=a;m[12]!==y||m[13]!==w?(l=(e,t,n)=>{y({path:w(e,t),replace:(void 0===n?{}:n).replace})},m[12]=y,m[13]=w,m[14]=l):l=m[14];let E=l;n:{let e,t,n,r,i;if(!v._searchParams){let e;m[15]!==v?(e=[v,null],m[15]=v,m[16]=e):e=m[16],u=e;break n}m[17]!==v?({_searchParams:e,...t}=v,m[17]=v,m[18]=e,m[19]=t):(e=m[18],t=m[19]),m[20]!==e?(n=(0,p.A)(e,G),m[20]=e,m[21]=n):n=m[21];let[o,a]=n;if(0===o.length){let e;m[22]!==v?(e=[v,null],m[22]=v,m[23]=e):e=m[23],u=e;break n}m[24]!==t||m[25]!==a?(r={...t,_searchParams:a},m[24]=t,m[25]=a,m[26]=r):r=m[26],m[27]!==o||m[28]!==r?(i=[r,o],m[27]=o,m[28]=r,m[29]=i):i=m[29],u=i}let[A,S]=u;m[30]!==S?(c=Object.fromEntries(S||[]),m[30]=S,m[31]=c):c=m[31];let C=c;m[32]!==k||m[33]!==x||m[34]!==E||m[35]!==y||m[36]!==w||m[37]!==_||m[38]!==A||m[39]!==C?(d={navigate:x,navigateIntent:E,navigateStickyParams:k,navigateUrl:y,resolveIntentLink:w,resolvePathFromState:_,state:A,stickyParams:C},m[32]=k,m[33]=x,m[34]=E,m[35]=y,m[36]=w,m[37]=_,m[38]=A,m[39]=C,m[40]=d):d=m[40];let O=d;return m[41]!==e.children||m[42]!==O?(g=(0,i.jsx)(s.zA.Provider,{value:O,children:e.children}),m[41]=e.children,m[42]=O,m[43]=g):g=m[43],g}function G(e){let[t]=e;return H.includes(t)}function W(e){let[t]=e;return H.includes(t)}function Y(e){let[t]=e;return H.includes(t)}function K(e,t){let n=e.find(([e])=>e===t);return n?n[1]:void 0}let Z=function(e){let t,n,r,l,u,c,d,f,h=(0,o.c)(24),{children:p,scope:g,__unsafe_disableScopedSearchParams:m}=e,b=y(),{resolvePathFromState:v,navigate:w}=b,_=(0,a.useRef)(b.state);h[0]!==b.state?(t=()=>{_.current=b.state},n=[b.state],h[0]=b.state,h[1]=t,h[2]=n):(t=h[1],n=h[2]),(0,a.useEffect)(t,n),h[3]!==m||h[4]!==g?(r=e=>{var t;if(null===e)return null;let{_searchParams:n,...r}=e||{},i=(t=_.current,r&&{...t,[g]:r});return m?i._searchParams=n:i[g]._searchParams=n,i},h[3]=m,h[4]=g,h[5]=r):r=h[5];let x=r;h[6]!==v||h[7]!==x?(l=e=>v(x(e)),h[6]=v,h[7]=x,h[8]=l):l=h[8];let k=l;h[9]!==w||h[10]!==x?(u=(e,t)=>{if(q(e)&&!t){let{state:t}=e;if(t){let n=x(t);return w(null===n?{}:n,e)}return w(e)}let n=q(e)?x(null):x(e);return w(null===n?{}:n,t||{})},h[9]=w,h[10]=x,h[11]=u):u=h[11];let E=u,A=b.state;h[12]!==m||h[13]!==A||h[14]!==g?(c="object"==typeof A[g]?{...A[g]}:{},m&&(c._searchParams=A._searchParams),h[12]=m,h[13]=A,h[14]=g,h[15]=c):c=h[15],h[16]!==c||h[17]!==E||h[18]!==b||h[19]!==k?(d={...b,navigate:E,resolvePathFromState:k,state:c},h[16]=c,h[17]=E,h[18]=b,h[19]=k,h[20]=d):d=h[20];let S=d;return h[21]!==S||h[22]!==p?(f=(0,i.jsx)(s.zA.Provider,{value:S,children:p}),h[21]=S,h[22]=p,h[23]=f):f=h[23],f};Z.displayName="RouteScope";let X={};function J(e){let t,n,r,i=(0,o.c)(11),{onClick:a,replace:s,state:l,target:u,toIndex:c}=e,d=void 0!==c&&c;if(l&&d)throw Error("Passing both `state` and `toIndex={true}
56` as props to StateLink is invalid");l||d||console.error(Error("No state passed to StateLink. If you want to link to an empty state, its better to use the the `toIndex` property"));let{resolvePathFromState:f}=y(),h=d?X:l||X;i[0]!==f||i[1]!==h?(t=f(h),i[0]=f,i[1]=h,i[2]=t):t=i[2];let p=t;i[3]!==p||i[4]!==a||i[5]!==s||i[6]!==u?(n={href:p,onClick:a,replace:s,target:u},i[3]=p,i[4]=a,i[5]=s,i[6]=u,i[7]=n):n=i[7];let{onClick:g}=b(n);return i[8]!==p||i[9]!==g?(r={onClick:g,href:p},i[8]=p,i[9]=g,i[10]=r):r=i[10],r}let Q=(0,a.forwardRef)(function(e,t){let n,r,a,s,l,u,c,d,f=(0,o.c)(18);f[0]!==e?({onClick:n,replace:r,state:s,target:u,toIndex:l,...a}=e,f[0]=e,f[1]=n,f[2]=r,f[3]=a,f[4]=s,f[5]=l,f[6]=u):(n=f[1],r=f[2],a=f[3],s=f[4],l=f[5],u=f[6]);let h=void 0!==l&&l;f[7]!==n||f[8]!==r||f[9]!==s||f[10]!==u||f[11]!==h?(c={onClick:n,replace:r,state:s,target:u,toIndex:h},f[7]=n,f[8]=r,f[9]=s,f[10]=u,f[11]=h,f[12]=c):c=f[12];let{onClick:p,href:g}=J(c);return f[13]!==g||f[14]!==p||f[15]!==t||f[16]!==a?(d=(0,i.jsx)("a",{...a,href:g,onClick:p,ref:t}),f[13]=g,f[14]=p,f[15]=t,f[16]=a,f[17]=d):d=f[17],d});function ee(e){let t,n=(0,o.c)(3),r=void 0===e?g.A:e,{state:i}=y();return n[0]!==r||n[1]!==i?(t=r(i),n[0]=r,n[1]=i,n[2]=t):t=n[2],t}r=e=>e.children(e.router),r.displayName||r.name},96350:e=>{e.exports=function(e){return this.__data__.get(e)}},96431:(e,t,n)=>{"use strict";function r(e){return`https://www.sanity.io/docs/help/${e}`}n.d(t,{i:()=>r})},96692:(e,t,n)=>{e.exports=n(68649)(n(50994),"Map")},96901:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(5452),i=n(29703),o=n(67903),a=n(92459),s=i.A?i.A.isConcatSpreadable:void 0;let l=function(e){return(0,a.A)(e)||(0,o.A)(e)||!!(s&&e&&e[s])},u=function e(t,n,i,o,a){var s=-1,u=t.length;for(i||(i=l),a||(a=[]);++s<u;){var c=t[s];n>0&&i(c)?n>1?e(c,n-1,i,o,a):(0,r.A)(a,c):o||(a[a.length]=c)}return a}},97119:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},97134:(e,t,n)=>{"use strict";n.d(t,{d:()=>i});var r=n(92477);function i(e,t){return+(0,r.a)(e)>+(0,r.a)(t)}},97154:(e,t,n)=>{var r=n(90837),i=1/0;e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-i?"-0":t}},97230:e=>{"use strict";let t=Object.freeze({loose:!0}),n=Object.freeze({});e.exports=e=>e?"object"!=typeof e?t:e:n},97249:(e,t,n)=>{for(var r=n(80604),i="u"<typeof window?n.g:window,o=["moz","webkit"],a="AnimationFrame",s=i["request"+a],l=i["cancel"+a]||i["cancelRequest"+a],u=0;!s&&u<o.length;u++)s=i[o[u]+"Request"+a],l=i[o[u]+"Cancel"+a]||i[o[u]+"CancelRequest"+a];if(!s||!l){var c=0,d=0,f=[],h=1e3/60;s=function(e){if(0===f.length){var t=r(),n=Math.max(0,h-(t-c));c=n+t,setTimeout(function(){var e=f.slice(0);f.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(c)}catch(e){setTimeout(function(){throw e},0)}},Math.round(n))}return f.push({handle:++d,callback:e,cancelled:!1}),d},l=function(e){for(var t=0;t<f.length;t++)f[t].handle===e&&(f[t].cancelled=!0)}}e.exports=function(e){return s.call(i,e)},e.exports.cancel=function(){l.apply(i,arguments)},e.exports.polyfill=function(e){e||(e=i),e.requestAnimationFrame=s,e.cancelAnimationFrame=l}},97366:(e,t,n)=>{"use strict";n.d(t,{J:()=>i,m:()=>o});var r=n(12115);function i(e){let t=o(e),[n,i]=(0,r.useState)(t),{defaultDpr:a,maxDpr:s,round:l}=e||{};return(0,r.useEffect)(()=>{if(!("u">typeof window&&"matchMedia"in window))return;let e=()=>i(o({defaultDpr:a,maxDpr:s,round:l})),t=window.matchMedia(`screen and (resolution: ${n}dppx)`);return t.addEventListener?t.addEventListener("change",e):t.addListener(e),()=>{t.removeEventListener?t.removeEventListener("change",e):t.removeListener(e)}},[n,a,s,l]),n}function o(e){let{defaultDpr:t=1,maxDpr:n=3,round:r=!0}=e||{},i="u">typeof window&&"number"==typeof window.devicePixelRatio?window.devicePixelRatio:t;return Math.min(Math.max(1,r?Math.floor(i):i),n)}},97465:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(96901),i=n(26652),o=n(15643),a=n(41299);let s=(0,i.A)(function(e){return(0,o.A)((0,r.A)(e,1,a.A,!0))})},97639:(e,t,n)=>{"use strict";n.d(t,{$:()=>u});var r=n(22227),i=n(97561),o=n(97908),a=n(17032),s=n(13355),l=n(10336);function u(e,t){var n=arguments.length>=2;return function(u){return u.pipe(e?(0,i.p)(function(t,n){return e(t,n,u)}):l.D,(0,o.s)(1),n?(0,a.U)(t):(0,s.v)(function(){return new r.G}))}}}
56,97712:(e,t,n)=>{"use strict";n.d(t,{Xg:()=>Q,sM:()=>Y,jN:()=>b,ZS:()=>F});var r=n(11812),i=n(96035),o=n(16897);let a=function(e,t){return e<t};var s=n(79800),l=n(9670),u=n(67242),c=n(88010),d=n(87678),f=n(16142);let h=c("mutator-document");class p{_value;path;constructor(e,t){this._value=e,this.path=t||[]}containerType(){return Array.isArray(this._value)?"array":null!==this._value&&"object"==typeof this._value?"object":"primitive"}valueType(){return null===this._value?"null":Array.isArray(this._value)?"array":typeof this._value}get(){return this._value}length(){if(!Array.isArray(this._value))throw Error("Won't return length of non-indexable _value");return this._value.length}getIndex(e){return!!Array.isArray(this._value)&&(e>=this.length()?null:new p(this._value[e],this.path.concat(e)))}hasAttribute(e){return!!g(this._value)&&this._value.hasOwnProperty(e)}attributeKeys(){return g(this._value)?Object.keys(this._value):[]}getAttribute(e){if(!g(this._value))throw Error("getAttribute only applies to plain objects");return this.hasAttribute(e)?new p(this._value[e],this.path.concat(e)):null}set(e){return e===this._value?this:new p(e,this.path)}setIndex(e,t){if(!Array.isArray(this._value))throw Error("setIndex only applies to arrays");if(Object.is(t,this._value[e]))return this;let n=this._value.slice();return n[e]=t,new p(n,this.path)}setIndexAccessor(e,t){return this.setIndex(e,t.get())}unsetIndices(e){if(!Array.isArray(this._value))throw Error("unsetIndices only applies to arrays");let t=this._value.length,n=[];for(let r=0;r<t;r++)-1===e.indexOf(r)&&n.push(this._value[r]);return new p(n,this.path)}insertItemsAt(e,t){if(!Array.isArray(this._value))throw Error("insertItemsAt only applies to arrays");return new p(0===this._value.length&&0===e?t:this._value.slice(0,e).concat(t).concat(this._value.slice(e)),this.path)}setAttribute(e,t){if(!g(this._value))throw Error("Unable to set attribute of non-object container");return Object.is(t,this._value[e])?this:new p(Object.assign({},this._value,{[e]:t}),this.path)}setAttributeAccessor(e,t){return this.setAttribute(e,t.get())}unsetAttribute(e){if(!g(this._value))throw Error("Unable to unset attribute of non-object container");let t=Object.assign({},this._value);return delete t[e],new p(t,this.path)}}function g(e){return null!==e&&"object"==typeof e}function m(e){return null!==e&&"object"==typeof e}let y=/^[a-z_$]+/;function b(e){let t="";return e.forEach((e,n)=>{var r,i;t+=(r=e,i=0===n,"number"==typeof r?`[${r}]`:m(r)?Object.keys(r).map(e=>!function(e){switch(typeof e){case"number":case"string":case"boolean":return!0;default:return!1}}(r[e])?"":`[${e}=="${r[e]}"]`).join(""):"string"==typeof r&&y.test(r)?i?r:`.${r}`:`['${r}']`)}),t}function v(e){if("path"!==e.type)return[e,null];let t=e.nodes;return 0===t.length?[null,null]:1===t.length?[t[0],null]:[t[0],{type:"path",nodes:t.slice(1)}]}let w=/[0-9]/,_=/^[a-zA-Z0-9_]$/,x=/^[a-zA-Z_]$/,k={operator:["..",".",",",":","?"],comparator:[">=","<=","<",">","==","!="],keyword:["$","@"],boolean:["true","false"],paren:["[","]"]},E=Object.keys(k);class A{source;i;length;tokenizers;constructor(e){this.source=e,this.length=e.length,this.i=0,this.tokenizers=[this.tokenizeSymbol,this.tokenizeIdentifier,this.tokenizeNumber,this.tokenizeQuoted].map(e=>e.bind(this))}tokenize(){let e=[];for(;!this.EOF();){this.chompWhitespace();let t=null;if(!this.tokenizers.some(e=>!!(t=e()))||!t)throw Error(`Invalid tokens in jsonpath '${this.source}' @ ${this.i}`);e.push(t)}return e}takeWhile(e){let t=this.i,n="";for(;!this.EOF();){let t=e(this.source[this.i]);if(null===t)break;n+=t,this.i++}return this.i===t?null:n}EOF(){return this.i>=this.length}peek(){return this.EOF()?null:this.source[this.i]}consume(e){if(this.i+e.length>this.length)throw Error(`Expected ${e} at end of jsonpath`);if(e===this.source.slice(this.i,this.i+e.length))this.i+=e.length;else throw Error(`Expected "${e}", but source contained "${this.source.slice()}`)}tryConsume(e){if(this.i+e.length>this.length)return null;if(e===this.source.slice(this.i,this.i+e.length)){if(e[0].match(_)&&this.length>this.i+e.length){let t=this.source[this.i+e.length];if(t&&t.match(_))return null}return this.i+=e.length,e}return null}
56chompWhitespace(){this.takeWhile(e=>" "===e?"":null)}tokenizeQuoted(){let e=this.peek();if("'"===e||'"'===e){this.consume(e);let t=!1,n=this.takeWhile(n=>t?(t=!1,n):"\\"===n?(t=!0,""):n!=e?n:null);return this.consume(e),{type:"quoted",value:n,quote:'"'===e?"double":"single"}}return null}tokenizeIdentifier(){let e=!0,t=this.takeWhile(t=>e?(e=!1,t.match(x)?t:null):t.match(_)?t:null);return null!==t?{type:"identifier",name:t}:null}tokenizeNumber(){let e=this.i,t=!1,n=!1,r=!1;"-"===this.peek()&&(r=!0,this.consume("-"));let i=this.takeWhile(e=>"."===e&&!t&&n?(t=!0,e):(n=!0,e.match(w)?e:null));return null!==i?{type:"number",value:r?-Number(i):+i,raw:r?`-${i}`:i}:(this.i=e,null)}tokenizeSymbol(){for(let e of E){let t=k[e].find(e=>this.tryConsume(e));if(t)return{type:e,symbol:t}}return null}}class S{tokens;length;i;constructor(e){this.tokens=function(e){return new A(e).tokenize()}(e),this.length=this.tokens.length,this.i=0}parse(){return this.parsePath()}EOF(){return this.i>=this.length}peek(){return this.EOF()?null:this.tokens[this.i]}consume(){let e=this.peek();return this.i+=1,e}probe(e){let t=this.peek();return t&&Object.keys(e).every(n=>n in t&&e[n]===t[n])?t:null}match(e){return this.probe(e)?this.consume():null}parseAttribute(){let e=this.match({type:"identifier"});if(e&&"identifier"===e.type)return{type:"attribute",name:e.name};let t=this.match({type:"quoted",quote:"single"});return t&&"quoted"===t.type?{type:"attribute",name:t.value||""}:null}parseAlias(){return this.match({type:"keyword",symbol:"@"})||this.match({type:"keyword",symbol:"$"})?{type:"alias",target:"self"}:null}parseNumber(){let e=this.match({type:"number"});return e&&"number"===e.type?{type:"number",value:e.value}:null}parseNumberValue(){let e=this.parseNumber();return e?e.value:null}parseSliceSelector(){let e=this.i,t=this.parseNumberValue();if(!this.match({type:"operator",symbol:":"}))return null===t?(this.i=e,null):{type:"index",value:t};let n={type:"range",start:t,end:this.parseNumberValue()};return this.match({type:"operator",symbol:":"})&&(n.step=this.parseNumberValue()),null===n.start&&null===n.end?(this.i=e,null):n}parseValueReference(){return this.parseAttribute()||this.parseSliceSelector()}parseLiteralValue(){let e=this.match({type:"quoted",quote:"double"});if(e&&"quoted"===e.type)return{type:"string",value:e.value||""};let t=this.match({type:"boolean"});return t&&"boolean"===t.type?{type:"boolean",value:"true"===t.symbol}:this.parseNumber()}parseFilterExpression(){let e=this.i,t=this.parseAttribute()||this.parseAlias();if(!t)return null;if(this.match({type:"operator",symbol:"?"}))return{type:"constraint",operator:"?",lhs:t};let n=this.match({type:"comparator"});if(!n||"comparator"!==n.type)return this.i=e,null;let r=this.parseLiteralValue();if(!r)throw Error(`Operator ${n.symbol} needs a literal value at the right hand side`);return{type:"constraint",operator:n.symbol,lhs:t,rhs:r}}parseExpression(){return this.parseFilterExpression()||this.parseValueReference()}parseUnion(){if(!this.match({type:"paren",symbol:"["}))return null;let e=[],t=this.parseFilterExpression()||this.parsePath()||this.parseValueReference();for(;t&&(e.push(t),!this.match({type:"paren",symbol:"]"}));){if(!this.match({type:"operator",symbol:","}))throw Error("Expected ]");if(!(t=this.parseFilterExpression()||this.parsePath()||this.parseValueReference()))throw Error("Expected expression following ','")}return{type:"union",nodes:e}}parseRecursive(){if(!this.match({type:"operator",symbol:".."}))return null;let e=this.parsePath();if(!e)throw Error("Expected path following '..' operator");return{type:"recursive",term:e}}parsePath(){let e=[],t=this.parseAttribute()||this.parseUnion()||this.parseRecursive();if(!t)return null;for(e.push(t);!this.EOF();)if(this.match({type:"operator",symbol:"."})){let t=this.parseAttribute();if(!t)throw Error("Expected attribute name following '.");e.push(t);continue}else if(this.probe({type:"paren",symbol:"["})){let t=this.parseUnion();if(!t)throw Error("Expected union following '['");e.push(t)}else{let t=this.parseRecursive();t&&e.push(t);break}return 1===e.length?e[0]:{type:"path",nodes:e}}}function C(e){let t=new S(e).parse();if(!t)throw Error(`Failed to parse JSON path "${e}"`);return t}function O(e,t){switch(e.type){case"attribute":return e.name;case"alias":return"self"===e.target?"@":"$";case"number":return`${e.value}`;case"range":{let n=[];return t||n.push("["),e.start&&n.push(`${e.start}`),n.push(":"),e.end&&n.push(`${e.end}`),e.step&&n.push(`:${e.step}`),t||n.push("]"),n.join("")}case"index":return t?`${e.value}
56`:`[${e.value}]`;case"constraint":{let n=e.rhs?` ${O(e.rhs,!1)}`:"",r=`${O(e.lhs,!1)} ${e.operator}${n}`;return t?r:`[${r}]`}case"string":return JSON.stringify(e.value);case"path":{let t=[],n=e.nodes.slice();for(;n.length>0;){let e=n.shift();e&&t.push(O(e,!1));let r=n[0];r&&"["!==O(r,!1)[0]&&t.push(".")}return t.join("")}case"union":return`[${e.nodes.map(e=>O(e,!0)).join(",")}]`;default:throw Error(`Unknown node type ${e.type}`);case"recursive":return`..${O(e.term,!1)}`}}class T{expr;constructor(e){if(!e)throw Error("Attempted to create Expression from null-value");if("expr"in e?this.expr=e.expr:this.expr=e,!("type"in this.expr))throw Error("Attempt to create Expression for expression with no type")}isPath(){return"path"===this.expr.type}isUnion(){return"union"===this.expr.type}isCollection(){return this.isPath()||this.isUnion()}isConstraint(){return"constraint"===this.expr.type}isRecursive(){return"recursive"===this.expr.type}isExistenceConstraint(){return"constraint"===this.expr.type&&"?"===this.expr.operator}isIndex(){return"index"===this.expr.type}isRange(){return"range"===this.expr.type}expandRange(e){let t="start"in this.expr&&this.expr.start||0;t=I(t,e);let n="end"in this.expr&&this.expr.end||(()=>{if(!e)throw Error("expandRange() required a probe that was not passed");return e.length()})();return{start:t,end:n=I(n,e),step:"step"in this.expr&&this.expr.step||1}}isAttributeReference(){return"attribute"===this.expr.type}isIndexReference(){return this.isIndex()||this.isRange()}name(){return"name"in this.expr?this.expr.name:""}isSelfReference(){return"alias"===this.expr.type&&"self"===this.expr.target}constraintTargetIsSelf(){return"constraint"===this.expr.type&&"alias"===this.expr.lhs.type&&"self"===this.expr.lhs.target}constraintTargetIsAttribute(){return"constraint"===this.expr.type&&"attribute"===this.expr.lhs.type}testConstraint(e){let t=this.expr;if("constraint"===t.type&&"alias"===t.lhs.type&&"self"===t.lhs.target){if("primitive"!==e.containerType())return!1;if("constraint"===t.type&&"?"===t.operator)return!0;let n=e.get(),r=t.rhs&&"value"in t.rhs?t.rhs.value:void 0;return D(n,t.operator,r)}if("constraint"!==t.type)return!1;let n=t.lhs;if(!n)throw Error("No LHS of expression");if("attribute"!==n.type)throw Error(`Constraint target ${n.type} not supported`);if("object"!==e.containerType())return!1;let r=e.getAttribute(n.name);if(null==r||"primitive"!==r.containerType())return!1;if(this.isExistenceConstraint())return!0;let i=t.rhs&&"value"in t.rhs?t.rhs.value:void 0;return D(r.get(),t.operator,i)}pathNodes(){return"path"===this.expr.type?this.expr.nodes:[this.expr]}prepend(e){return e?new T({type:"path",nodes:e.pathNodes().concat(this.pathNodes())}):this}concat(e){return e?e.prepend(this):this}descend(){return(function(e){var t,n;let[r,i]=v(e);if(!r)throw Error("Head cannot be null");return t=r,n=i,"union"!==t.type?[[t,n]]:t.nodes.map(e=>{if("path"===e.type){let[t,r]=v(e);return[t,function(e,t){if(!e&&!t)return null;let n=e?e.nodes:[],r=t?t.nodes:[];return{type:"path",nodes:n.concat(r)}}(r,n)]}return[e,n]})})(this.expr).map(e=>{let[t,n]=e;return{head:t?new T(t):null,tail:n?new T(n):null}})}unwrapRecursive(){if("recursive"!==this.expr.type)throw Error(`Attempt to unwrap recursive on type ${this.expr.type}`);return new T(this.expr.term)}toIndicies(e){if("index"!==this.expr.type&&"range"!==this.expr.type)throw Error("Node cannot be converted to indexes");if("index"===this.expr.type)return[I(this.expr.value,e)];let t=[],n=this.expandRange(e),{start:r,end:i}=n;n.step<0&&([r,i]=[i,r]);for(let e=r;e<i;e++)t.push(e);return t}toFieldReferences(){if(this.isIndexReference())return this.toIndicies();if("attribute"===this.expr.type)return[this.expr.name];throw Error(`Can't convert ${this.expr.type} to field references`)}toString(){return O(this.expr,!1)}static fromPath(e){let t=C(e);if(!t)throw Error(`Failed to parse path "${e}"`);return new T(t)}static attributeReference(e){return new T({type:"attribute",name:e})}static indexReference(e){return new T({type:"index",value:e})}}function D(e,t,n){switch(t){case">":return e>n;case">=":return e>=n;case"<":return e<n;case"<=":return e<=n;case"==":return e===n;case"!=":return e!==n;default:throw Error(`Unsupported binary operator ${t}`)}}function I(e,t){if(e>=0)return e;if(!t)throw Error("interpretNegativeIndex() must have a probe when < 0");return e+t.length()}class R{head;tail;constructor(e,t){this.head=e,this.tail=t}iterate(e){let t=[this];if(this.head&&this.head.isConstraint()){let n=!0;for(;n;)n=(t=(0,r.A)(t.map(t=>t.iterateConstraints(e)))).some(e=>e.head&&e.head.isConstraint())}return t}isRecursive(){return!!(this.head&&this.head.isRecursive())}hasArrived(){return null===this.head&&null===this.tail}extractRecursives(){return this.head&&this.head.isRecursive()?new R(null,this.head.unwrapRecursive().concat(this.tail)).descend():[]}iterateConstraints(e){let t=this.head;if(null===t||!t.isConstraint())return[this];let n=[];if("primitive"===e.containerType()&&t.constraintTargetIsSelf())return t.testConstraint(e)&&n.push(...this.descend()),n;if("array"===e.containerType()){let r=e.length();for(let i=0;i<r;i++){let r=e.getIndex(i);r&&t.testConstraint(r)&&n.push(new R(new T({type:"index",value:i}),this.tail))}return n}return"object"===e.containerType()?t.constraintTargetIsSelf()?[]:t.testConstraint(e)?this.descend():n:n}
56descend(){return this.tail?this.tail.descend().map(e=>new R(e.head,e.tail)):[new R(null,null)]}toString(){let e=["<"];return this.head&&e.push(this.head.toString()),e.push("|"),this.tail&&e.push(this.tail.toString()),e.push(">"),e.join("")}}class j{active;recursives;payload;constructor(e,t){this.active=e||[],t?(this.recursives=t.recursives,this.payload=t.payload):this.recursives=[],this.extractRecursives()}setPayload(e){return this.payload=e,this}extractRecursives(){this.active=this.active.filter(e=>!e.isRecursive()||(this.recursives.push(...e.extractRecursives()),!1))}activeRecursives(e){return this.recursives.filter(t=>{let n=t.head;return!!n&&(!!(n.isConstraint()||"array"===e.containerType()&&n.isIndexReference())||"object"===e.containerType()&&n.isAttributeReference()&&e.hasAttribute(n.name()))})}match(e){return this.iterate(e).extractMatches(e)}iterate(e){let t=[];return this.active.concat(this.activeRecursives(e)).forEach(n=>{t.push(...n.iterate(e))}),new j(t,this)}isDestination(){return this.active.some(e=>e.hasArrived())}hasRecursives(){return this.recursives.length>0}extractMatches(e){let t=[],n=[];if(this.active.forEach(r=>{if(r.hasArrived())return void n.push(new T({type:"alias",target:"self"}));let i=r.head;if(i&&!("array"===e.containerType()&&!i.isIndexReference())&&!("object"===e.containerType()&&!i.isAttributeReference()))if(r.tail){let e=new j(r.descend(),this);i.toFieldReferences().forEach(()=>{t.push({target:i,matcher:e})})}else n.push(i)}),this.hasRecursives()){let n=new j([],this);if("array"===e.containerType()){let r=e.length();for(let e=0;e<r;e++)t.push({target:T.indexReference(e),matcher:n})}else"object"===e.containerType()&&e.attributeKeys().forEach(e=>{t.push({target:T.attributeReference(e),matcher:n})})}return n.length>0?{leads:t,delivery:{targets:n,payload:this.payload}}:{leads:t}}static fromPath(e){let t=C(e);if(!t)throw Error(`Failed to parse path from "${e}"`);return new j(new R(null,new T(t)).descend())}}class N{_value;path;constructor(e,t){this._value=e,this.path=t||[]}containerType(){return Array.isArray(this._value)?"array":null!==this._value&&"object"==typeof this._value?"object":"primitive"}length(){if(!Array.isArray(this._value))throw Error("Won't return length of non-indexable _value");return this._value.length}getIndex(e){return!!Array.isArray(this._value)&&(e>=this.length()?null:new N(this._value[e],this.path.concat(e)))}hasAttribute(e){return!!m(this._value)&&this._value.hasOwnProperty(e)}attributeKeys(){return m(this._value)?Object.keys(this._value):[]}getAttribute(e){if(!m(this._value))throw Error("getAttribute only applies to plain objects");return this.hasAttribute(e)?new N(this._value[e],this.path.concat(e)):null}get(){return this._value}}function M(e,t){let n=[];if(e.isIndexReference())e.toIndicies(t).forEach(e=>{n.push(t.getIndex(e))});else if(e.isAttributeReference())n.push(t.getAttribute(e.name()));else if(e.isSelfReference())n.push(t);else throw Error(`Unable to derive accessor for target ${e.toString()}`);return(0,i.A)(n)}function F(e,t){let n;return(n=[],function e(t,n){let{leads:r,delivery:i}=t.match(n);r.forEach(t=>{M(t.target,n).forEach(n=>{e(t.matcher,n)})}),i&&i.targets.forEach(e=>{"function"==typeof i.payload&&i.payload(M(e,n))})}(j.fromPath(e).setPayload(function(e){n.push(...e)}),new N(t)),n).map(e=>({path:e.path,value:e.get()}))}function $(e,t){if("string"!=typeof t)return t;let[n]=(0,d.$i)(e,t,{allowExceedingIndices:!0});return n}class L{path;dmpPatch;id;constructor(e,t,n){this.id=e,this.path=t,this.dmpPatch=(0,d.iz)(n)}apply(e,t){let n=t;if("primitive"===n.containerType())return n;for(let r of e){if(r.isIndexReference()){for(let e of r.toIndicies(t)){let t=n.getIndex(e);if(!t)continue;let r=t.get(),i=$(this.dmpPatch,r);n=n.setIndex(e,i)}continue}if(r.isAttributeReference()&&n.hasAttribute(r.name())){let e=n.getAttribute(r.name());if(!e)continue;let t=e.get(),i=$(this.dmpPatch,t);n=n.setAttribute(r.name(),i);continue}throw Error(`Unable to apply diffMatchPatch to target ${r.toString()}`)}return n}}function P(e,t){return"number"==typeof e&&Number.isFinite(e)?e+t:e}class z{path;value;id;constructor(e,t,n){this.path=t,this.value=n,this.id=e}apply(e,t){let n=t;if("primitive"===n.containerType())return n;for(let r of e){if(r.isIndexReference()){for(let e of r.toIndicies(t)){let t=n.getIndex(e);if(!t)continue;let r=t.get();n=n.setIndex(e,P(r,this.value))}continue}if(r.isAttributeReference()){let e=n.getAttribute(r.name());if(!e)continue;let t=e.get();n=n.setAttribute(r.name(),P(t,this.value));continue}throw Error(`Unable to apply to target ${r.toString()}`)}return n}}function U(e,t){let n=[];
56return e.forEach(e=>{e.isIndexReference()&&n.push(...e.toIndicies(t))}),n.sort((e,t)=>e-t)}class B{location;path;items;id;constructor(e,t,n,r){this.id=e,this.location=t,this.path=n,this.items=r}apply(e,t){var n,r,i,u;let c=t;if("array"!==t.containerType()){let e=t.valueType();throw Error(`Attempt to apply insert patch to value of type "${e}" at path "${t.path.join(" → ")}"`)}switch(this.location){case"before":{let i,l=(i=((r=U(n=e,t))&&r.length?(0,o.A)(r,s.A,a):void 0)||0,n.forEach(e=>{if(e.isRange()){let{start:t}=e.expandRange();t<i&&(i=t)}}),i);c=c.insertItemsAt(l,this.items);break}case"after":{let n,r=(i=e,u=t,n=(0,l.A)(U(i,u))||0,i.forEach(e=>{if(e.isRange()){let{end:t}=e.expandRange();t>n&&(n=t)}}),n);c=c.insertItemsAt(r+1,this.items);break}case"replace":{let n=U(e,t);c=(c=c.unsetIndices(n)).insertItemsAt(n[0],this.items);break}default:throw Error(`Unsupported location atm: ${this.location}`)}return c}}class H{id;path;value;constructor(e,t,n){this.id=e,this.path=t,this.value=n}apply(e,t){let n=t;return e.forEach(e=>{if(!e.isIndexReference())if(e.isAttributeReference())"primitive"===n.containerType()?n=n.set({[e.name()]:this.value}):n.hasAttribute(e.name())||(n=t.setAttribute(e.name(),this.value));else throw Error(`Unable to apply to target ${e.toString()}`)}),n}}class q{id;path;value;constructor(e,t,n){this.id=e,this.path=t,this.value=n}apply(e,t){let n=t;return e.forEach(e=>{if(e.isSelfReference())n=n.set(this.value);else if(e.isIndexReference())e.toIndicies(t).forEach(e=>{n=n.setIndex(e,this.value)});else if(e.isAttributeReference())n="primitive"===n.containerType()?n.set({[e.name()]:this.value}):n.setAttribute(e.name(),this.value);else throw Error(`Unable to apply to target ${e.toString()}`)}),n}}class V{id;path;value;constructor(e,t){this.id=e,this.path=t}apply(e,t){let n=t;switch(t.containerType()){case"array":n=n.unsetIndices(U(e,t));break;case"object":e.forEach(e=>{n=n.unsetAttribute(e.name())});break;default:throw Error("Target value is neither indexable or an object. This error should potentially just be silently ignored?")}return n}}class G{patches;constructor(e){this.patches=function e(t){let n=[];if(Array.isArray(t))return t.reduce((t,n)=>t.concat(e(n)),n);
56let{set:r,setIfMissing:i,unset:o,diffMatchPatch:a,inc:s,dec:l,insert:u}=t;if(i&&Object.keys(i).forEach(e=>{n.push(new H(t.id,e,i[e]))}),r&&Object.keys(r).forEach(e=>{n.push(new q(t.id,e,r[e]))}),o&&o.forEach(e=>{n.push(new V(t.id,e))}),a&&Object.keys(a).forEach(e=>{n.push(new L(t.id,e,a[e]))}),s&&Object.keys(s).forEach(e=>{n.push(new z(t.id,e,s[e]))}),l&&Object.keys(l).forEach(e=>{n.push(new z(t.id,e,-l[e]))}),u){let e,r;if("before"in u)e="before",r=u.before;else if("after"in u)e="after",r=u.after;else if("replace"in u)e="replace",r=u.replace;else throw Error("Invalid insert patch");n.push(new B(t.id,e,r,u.items))}return n}(e)}apply(e){let t=new p(e);return this.applyViaAccessor(t).get()}applyViaAccessor(e){let t=e,n=e.getAttribute("_id");if(!n)throw Error("Cannot apply patch to document with no _id");let r=n.get();for(let e of this.patches)e.id===r&&(t=function e(t,n){var r;let i=t.payload instanceof q||t.payload instanceof H,o=n,{leads:a,delivery:s}=t.match(n);return a.forEach(t=>{if(t.target.isIndexReference())t.target.toIndicies().forEach(n=>{let r=o.getIndex(n);if(!r)throw Error("Index out of bounds");o=o.setIndexAccessor(n,e(t.matcher,r))});else if(t.target.isAttributeReference()){i&&"primitive"===o.containerType()&&(o=o.set({}));let n=o.getAttribute(t.target.name());if(!n&&i&&(n=(o=o.setAttribute(t.target.name(),{})).getAttribute(t.target.name())),!n)return;let r=e(t.matcher,n);n!==r&&(o=o.setAttributeAccessor(t.target.name(),r))}else throw Error(`Unable to handle target ${t.target.toString()}`)}),s&&(r=s.payload)&&"object"==typeof r&&null!==r&&"apply"in r&&"function"==typeof r.apply&&(o=s.payload.apply(s.targets,o)),o}(j.fromPath(e.path).setPayload(e),t));return t}}let W=f.A;class Y{params;compiled;_appliesToMissingDocument;constructor(e){this.params=e}get transactionId(){return this.params.transactionId}get transition(){return this.params.transition}get identity(){return this.params.identity}get previousRev(){return this.params.previousRev}get resultRev(){return this.params.resultRev}get mutations(){return this.params.mutations}get timestamp(){if("string"==typeof this.params.timestamp)return new Date(this.params.timestamp)}get effects(){return this.params.effects}assignRandomTransactionId(){this.params.transactionId=W(),this.params.resultRev=this.params.transactionId}appliesToMissingDocument(){if("u">typeof this._appliesToMissingDocument)return this._appliesToMissingDocument;let e=this.mutations[0];return e?this._appliesToMissingDocument=!!(e.create||e.createIfNotExists||e.createOrReplace):this._appliesToMissingDocument=!0,this._appliesToMissingDocument}compile(){let e=[],t=e=>e?._createdAt||this.params.timestamp||new Date().toISOString();this.mutations.forEach(n=>{if(n.create){let r=n.create||{};e.push(e=>e||Object.assign(r,{_createdAt:t(r)}));return}if(n.createIfNotExists){let r=n.createIfNotExists||{};e.push(e=>null===e?Object.assign(r,{_createdAt:t(r)}):e);return}if(n.createOrReplace){let r=n.createOrReplace||{};e.push(()=>Object.assign(r,{_createdAt:t(r)}));return}if(n.delete)return void e.push(()=>null);if(n.patch){if("query"in n.patch)return;let t=new G(n.patch);e.push(e=>t.apply(e));return}throw Error(`Unsupported mutation ${JSON.stringify(n,null,2)}`)}),"string"==typeof this.params.timestamp&&e.push(e=>e?Object.assign(e,{_updatedAt:this.params.timestamp}):null);let n=this.previousRev,r=this.resultRev||this.transactionId;this.compiled=t=>{if(n&&t&&n!==t._rev)throw Error(`Previous revision for this mutation was ${n}, but the document revision is ${t._rev}`);let i=t;for(let t of e)i=t(i);return i&&r&&(i===t&&(i=Object.assign({},t)),i._rev=r),i}}apply(e){h("Applying mutation %O to document %O",this.mutations,e),this.compiled||this.compile();let t=this.compiled(e);return h("  => %O",t),t}static applyAll(e,t){return t.reduce((e,t)=>t.apply(e),e)}static squash(e,t){return new Y({mutations:t.reduce((e,t)=>e.concat(...t.mutations),[])})}}class K{incoming=[];submitted=[];pending=[];HEAD;EDGE;onRebase;onMutation;onConsistencyChanged;onRemoteMutation;inconsistentAt=null;lastStagedAt=null;constructor(e){this.reset(e),this.HEAD=e,this.EDGE=e}reset(e){this.incoming=[],this.submitted=[],this.pending=[],this.inconsistentAt=null,this.HEAD=e,this.EDGE=e,this.considerIncoming(),this.updateConsistencyFlag()}arrive(e){this.incoming.push(e),this.considerIncoming(),this.updateConsistencyFlag()}stage(e,t){if(!e.transactionId)throw Error("Mutations _must_ have transactionId when submitted");this.lastStagedAt=new Date,h("Staging mutation %s (pushed to pending)",e.transactionId),this.pending.push(e),this.EDGE=e.apply(this.EDGE),this.onMutation&&!t&&this.onMutation({mutation:e,document:this.EDGE,remote:!1});let n=e.transactionId;return this.updateConsistencyFlag(),{success:()=>{this.pendingSuccessfullySubmitted(n),this.updateConsistencyFlag()},failure:()=>{this.pendingFailed(n),this.updateConsistencyFlag()}}}isConsistent(){return!this.inconsistentAt}considerIncoming(){let e=!1,t,n=[];if(this.HEAD&&this.HEAD._updatedAt){let e=new Date(this.HEAD._updatedAt);this.incoming.find(t=>t.timestamp&&t.timestamp<e)&&(this.incoming=this.incoming.filter(t=>t.timestamp&&t.timestamp<e))}let r=0;do{if(this.HEAD){let e=this.HEAD;t=e._rev?this.incoming.find(t=>t.previousRev===e._rev):void 0}else t=this.incoming.find(e=>e.appliesToMissingDocument());if(t){let i=this.applyIncoming(t);if((e=e||i)&&n.push(t),r++>10)throw Error(`Mutator stuck flushing incoming mutations. Probably stuck here: ${JSON.stringify(t)}`)}}while(t);this.incoming.length>0&&h.enabled&&h("Unable to apply mutations %s",this.incoming.map(e=>e.transactionId).join(", ")),e&&this.rebase(n)}updateConsistencyFlag(){let e=this.isConsistent(),t=0===this.pending.length&&0===this.submitted.length&&0===this.incoming.length;t?this.inconsistentAt=null:this.inconsistentAt||(this.inconsistentAt=new Date),e!=t&&this.onConsistencyChanged&&(h(t?"Buffered document is inconsistent":"Buffered document is consistent"),this.onConsistencyChanged(t))}applyIncoming(e){if(!e)return!1;if(!e.transactionId)throw Error("Received incoming mutation without a transaction ID");if(h("Applying mutation %s -> %s to rev %s",e.previousRev,e.resultRev,this.HEAD&&this.HEAD._rev),this.HEAD=e.apply(this.HEAD),this.onRemoteMutation&&this.onRemoteMutation(e),this.incoming=this.incoming.filter(t=>t.transactionId!==e.transactionId),this.hasUnresolvedMutations()){let t=this.consumeUnresolved(e.transactionId);return h.enabled&&(h(`Incoming mutation ${e.transactionId} appeared while there were pending or submitted local mutations`),h(`Submitted txnIds: ${this.submitted.map(e=>e.transactionId).join(", ")}`),h(`Pending txnIds: ${this.pending.map(e=>e.transactionId).join(", ")}`),h("needRebase === %s",t)),t}return h("Remote mutation %s arrived w/o any pending or submitted local mutations",e.transactionId),this.EDGE=this.HEAD,this.onMutation&&this.onMutation({mutation:e,document:this.EDGE,remote:!0}),!1}hasUnresolvedMutations(){return this.submitted.length>0||this.pending.length>0}consumeUnresolved(e){if(0===this.submitted.length&&0===this.pending.length)return!1;if(0!==this.submitted.length){if(this.submitted[0].transactionId===e)return h("Remote mutation %s matches upcoming submitted mutation, consumed from 'submitted' buffer",e),this.submitted.shift(),!1}else if(this.pending.length>0&&this.pending[0].transactionId===e)return h("Remote mutation %s matches upcoming pending mutation, consumed from 'pending' buffer",e),this.pending.shift(),!1;return h("The mutation was not the upcoming mutation, scrubbing. Pending: %d, Submitted: %d",this.pending.length,this.submitted.length),this.submitted=this.submitted.filter(t=>t.transactionId!==e),this.pending=this.pending.filter(t=>t.transactionId!==e),h("After scrubbing: Pending: %d, Submitted: %d",this.pending.length,this.submitted.length),!0}pendingSuccessfullySubmitted(e){let t;if(0===this.pending.length)return;let n=this.pending[0];if(n.transactionId===e){this.pending.shift(),this.submitted.push(n);return}let r=[];this.pending.forEach(n=>{if(n.transactionId===e){t=n;return}r.push(n)}),t&&this.submitted.push(t),this.pending=r,this.rebase([])}pendingFailed(e){this.pending=this.pending.filter(t=>t.transactionId!==e),this.rebase([])}rebase(e){let t=this.EDGE;this.EDGE=Y.applyAll(this.HEAD,this.submitted.concat(this.pending)),null!==t&&null!==this.EDGE&&(t._rev=this.EDGE._rev),!(0,u.A)(this.EDGE,t)&&this.onRebase&&this.onRebase(this.EDGE,e,this.pending)}}class Z{BASIS;PRESTAGE;setOperations;documentPresent;out=[];staged;constructor(e){e?h("Reset mutation buffer to rev %s",e._rev):h("Reset mutation buffer state to document being deleted"),this.staged=[],this.setOperations={},this.documentPresent=!1,this.BASIS=e,this.PRESTAGE=e}
56add(e){e.mutations.forEach(e=>this.addOperation(e))}hasChanges(){return this.out.length>0||Object.keys(this.setOperations).length>0}purge(e){this.stashStagedOperations();let t=null;return this.out.length>0&&(h("Purged mutation buffer"),t=new Y({mutations:this.out,resultRev:e,transactionId:e})),this.out=[],this.documentPresent=!1,t}addOperation(e){if(e.patch&&e.patch.set&&"id"in e.patch&&e.patch.id===this.PRESTAGE?._id&&2===Object.keys(e.patch).length){let t=e.patch.set,n={};for(let e of Object.keys(t))t.hasOwnProperty(e)&&(this.optimiseSetOperation(e,t[e])||(n[e]=t[e]));Object.keys(n).length>0&&(h("Unoptimizable set-operation detected, purging optimization buffer"),this.staged.push({patch:{id:this.PRESTAGE._id,set:n}}),this.stashStagedOperations());return}if(e.createIfNotExists&&this.PRESTAGE&&e.createIfNotExists._id===this.PRESTAGE._id){this.documentPresent||(this.staged.push(e),this.documentPresent=!0,this.stashStagedOperations());return}h("Unoptimizable mutation detected, purging optimization buffer"),this.staged.push(e),this.stashStagedOperations()}optimiseSetOperation(e,t){if("object"==typeof t)return!1;let n=F(e,this.PRESTAGE);if(1!==n.length)return!1;let r=n[0];if("object"==typeof r.value||!this.PRESTAGE)return!1;let i=null;if(r.value===t)i=null;else if("string"==typeof r.value&&"string"==typeof t)try{let n=(0,d.w1)((0,d.jW)(r.value,t));i={patch:{id:this.PRESTAGE._id,diffMatchPatch:{[e]:n}}}}catch{return!1}else i={patch:{id:this.PRESTAGE._id,set:{[e]:t}}};let o=b(r.path);return i?this.setOperations[o]=i:delete this.setOperations[o],!0}stashStagedOperations(){let e=[];Object.keys(this.setOperations).forEach(t=>{let n=this.setOperations[t];n&&e.push(n)}),e.push(...this.staged),e.length>0&&(this.PRESTAGE=new Y({mutations:e}).apply(this.PRESTAGE),this.staged=[],this.setOperations={}),this.out.push(...e)}rebase(e){return this.stashStagedOperations(),null===e?(this.out=[],this.BASIS=e,this.PRESTAGE=e,this.documentPresent=!1):(this.BASIS=e,this.out?this.PRESTAGE=new Y({mutations:this.out}).apply(this.BASIS):this.PRESTAGE=this.BASIS),this.PRESTAGE}}class X{mutations;tries;resolve;reject;
56constructor(e,{resolve:t,reject:n}){this.mutations=e,this.tries=0,this.resolve=t,this.reject=n}apply(e){return Y.applyAll(e,this.mutations)}squash(e){let t=Y.squash(e,this.mutations);return t.assignRandomTransactionId(),t}}let J=(e,t)=>e.concat(t.mutations);class Q{mutations;document;LOCAL;commits;buffer;onMutation;onRemoteMutation;onRebase;onDelete;onConsistencyChanged;commitHandler;committerRunning=!1;constructor(e){this.buffer=new Z(e),this.document=new K(e),this.document.onMutation=e=>this.handleDocMutation(e),this.document.onRemoteMutation=e=>this.onRemoteMutation&&this.onRemoteMutation(e),this.document.onRebase=(e,t,n)=>this.handleDocRebase(e,t,n),this.document.onConsistencyChanged=e=>this.handleDocConsistencyChanged(e),this.LOCAL=e,this.mutations=[],this.commits=[]}reset(e){e?h("Document state reset to revision %s",e._rev):h("Document state reset to being deleted"),this.document.reset(e),this.rebase([],[]),this.handleDocConsistencyChanged(this.document.isConsistent())}add(e){this.onConsistencyChanged&&this.onConsistencyChanged(!1),h("Staged local mutation"),this.buffer.add(e);let t=this.LOCAL;this.LOCAL=e.apply(this.LOCAL),this.onMutation&&t!==this.LOCAL&&(h("onMutation fired"),this.onMutation({mutation:e,document:this.LOCAL,remote:!1}),null===this.LOCAL&&this.onDelete&&this.onDelete(this.LOCAL))}arrive(e){if(h("Remote mutation arrived %s -> %s",e.previousRev,e.resultRev),e.previousRev===e.resultRev)throw Error(`Mutation ${e.transactionId} has previousRev === resultRev (${e.previousRev})`);return this.document.arrive(e)}commit(){return new Promise((e,t)=>{if(!this.buffer.hasChanges())return void e();h("Committing local changes");let n=this.buffer.purge();this.commits.push(new X(n?[n]:[],{resolve:e,reject:t})),this.buffer=new Z(this.LOCAL),this.performCommits()})}performCommits(){if(!this.commitHandler)throw Error("No commitHandler configured for this BufferedDocument");this.committerRunning||this._cycleCommitter()}_cycleCommitter(){let e=this.commits.shift();if(!e){this.committerRunning=!1;return}this.committerRunning=!0;let t=e.squash(this.LOCAL),n=this.document.stage(t,!0),r=()=>{h("Commit succeeded"),n.success(),e.resolve(),this._cycleCommitter()},i=()=>{h("Commit failed"),e.tries+=1,null!==this.LOCAL&&this.commits.unshift(e),n.failure(),e.tries<200&&setTimeout(()=>this._cycleCommitter(),Math.min(1e3*e.tries,6e4))},o=e=>{this.commits.forEach(t=>t.reject(e)),this.commits=[],this.reset(this.document.HEAD),this.buffer=new Z(this.LOCAL),this.committerRunning=!1};h("Posting commit"),this.commitHandler&&this.commitHandler({mutation:t,success:r,failure:i,cancel:o})}handleDocRebase(e,t,n){this.rebase(t,n)}handleDocumentDeleted(){h("Document deleted"),null!==this.LOCAL&&this.onDelete&&this.onDelete(this.LOCAL),this.commits=[],this.mutations=[]}handleDocMutation(e){if(0===this.commits.length&&!this.buffer.hasChanges()){h("Document mutated from remote with no local changes"),this.LOCAL=this.document.EDGE,this.buffer=new Z(this.LOCAL),this.onMutation&&this.onMutation(e);return}h("Document mutated from remote with local changes"),null===this.document.EDGE&&this.handleDocumentDeleted(),this.rebase([e.mutation],[])}rebase(e,t){h("Rebasing document"),null===this.document.EDGE&&this.handleDocumentDeleted();let n=this.LOCAL;this.LOCAL=this.commits.reduce((e,t)=>t.apply(e),this.document.EDGE),this.LOCAL=this.buffer.rebase(this.LOCAL),null!==n&&null!==this.LOCAL&&(n._rev=this.LOCAL._rev),!(0,u.A)(this.LOCAL,n)&&this.onRebase&&this.onRebase(this.LOCAL,e.reduce(J,[]),t.reduce(J,[]))}handleDocConsistencyChanged(e){if(!this.onConsistencyChanged)return;let t=this.commits.length>0||this.buffer.hasChanges();e&&!t&&this.onConsistencyChanged(!0),e||this.onConsistencyChanged(!1)}}},97822:(e,t,n)=>{"use strict";function r(e){e.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}function i(e){e.register(r),e.languages.javascript=e.languages.extend("clike",{"class-name":[e.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source)+"|"+/(?:\d+(?:_\d+)*(?
56:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),e.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,e.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:e.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:e.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:e.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:e.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),e.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:e.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),e.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),e.languages.markup&&(e.languages.markup.tag.addInlined("script","javascript"),e.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),e.languages.js=e.languages.javascript}n.d(t,{A:()=>i}),r.displayName="clike",r.aliases=[],i.displayName="javascript",i.aliases=["js"]},97908:(e,t,n)=>{"use strict";n.d(t,{s:()=>a});var r=n(99506),i=n(79619),o=n(77973);function a(e){return e<=0?function(){return r.w}:(0,i.N)(function(t,n){var r=0;t.subscribe((0,o._)(n,function(t){++r<=e&&(n.next(t),e<=r&&n.complete())}))})}},97931:(e,t,n)=>{"use strict";n.d(t,{$U:()=>h,Jt:()=>u,Mr:()=>m,Y7:()=>v,dI:()=>b,n4:()=>f,nX:()=>s,om:()=>y,p0:()=>d,sH:()=>w,w1:()=>g});var r=n(13638);let i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/_key\s*==\s*['"](.*)['"]/,a=[],s="$",l=["true","false","null"];function u(e,t,n){let i="string"==typeof t?w(t):t;if(!Array.isArray(i))throw Error("Path must be an array or a string");let o=e;for(let e=0;e<i.length;e++){let t=i[e];if((0,r.wr)(t)){if(!Array.isArray(o))return n;o=o[t]}if((0,r.tA)(t)){if(!Array.isArray(o))return n;o=o.find(e=>e._key===t._key)}if("string"==typeof t&&(o="object"==typeof o&&null!==o?o[t]:void 0),typeof o>"u")return n}return o}let c=new Map;function d(e){if(0===e.length)return a;let t=b(e);return c.has(t)?c.get(t):(c.set(t,e),Object.freeze(e),e)}function f(e,t){return e.length===t.length&&e.every((e,n)=>p(e,t[n]))}function h(e,t){let n=Math.min(e.length,t.length);for(let r=0;r<n;r++)if(!p(e[r],t[r]))return r;return n}function p(e,t){return(0,r.tA)(e)&&(0,r.tA)(t)?e._key===t._key:(0,r.wr)(e)?Number(e)===Number(t):(0,r.Z9)(e)&&(0,r.Z9)(t)?e[0]===t[0]&&e[1]===t[1]:e===t}function g(e,t){return e.every((e,n)=>p(e,t[n]))}function m(e,t){if(0===e.length||0===t.length)return t;let[n,...r]=e,[i,...o]=t;return p(n,i)?d(m(r,o)):t}function y(e,t){return g(e,t)?m(e,t):a}function b(e){if(!Array.isArray(e))throw Error("Path is not an array");
56return e.reduce((e,t,n)=>{if("number"==typeof t)return`${e}[${t}]`;if("string"==typeof t)return 0===n?t:l.includes(t)?`${e}["${t}"]`:`${e}.${t}`;if((0,r.tA)(t)&&t._key)return`${e}[_key=="${t._key}"]`;if(Array.isArray(t)){let[n,r]=t;return`${e}[${n}:${r}]`}throw Error(`Unsupported path segment \`${JSON.stringify(t)}\``)},"")}function v(e,t){if(!Array.isArray(t))throw Error("Path is not an array");return d(function e(t,n){if(0===n.length)return n;let[r,...i]=n;if("number"==typeof r){if(!Array.isArray(t)||!(r in t))return[];let n=t[r];return["string"==typeof n?._key?{_key:n._key}:r,...e(n,i)]}let o=u(t,[r]);return[r,...e(o,i)]}(e,t))}function w(e){if("string"!=typeof e)throw Error("Path is not a string");let t=e.match(i);if(!t)throw Error("Invalid path string");return t.map(_)}function _(e){return(0,r.wr)(e)?Number(e.replace(/[^\d]/g,"")):(0,r.tA)(e)?{_key:e.match(o)[1]}:(0,r.Z9)(e)?function(e){let[t,n]=e.split(":").map(e=>""===e?e:Number(e));return[t,n]}(e):e}},97973:(e,t,n)=>{"use strict";n.d(t,{Wm:()=>l,Yr:()=>c,hZ:()=>d,jo:()=>u,wC:()=>f,yl:()=>s});var r=n(87678);let i="before",o="after";function a(...e){return e.reduce((e,t)=>e.concat(t),[])}function s(e,t){return t.reduce(function e(t,n){var s;return Array.isArray(t)?function(t,n){let r=t.slice();if(0===n.path.length){if("setIfMissing"===n.type){if(!Array.isArray(n.value))throw Error("Cannot set value of an array to a non-array");return void 0===t?n.value:t}if("set"===n.type){if(!Array.isArray(n.value))throw Error("Cannot set value of an array to a non-array");return n.value}if("unset"===n.type)return;throw Error(`Invalid array operation: ${n.type}`)}let[s,...l]=n.path,u=function(e,t){if("number"==typeof t)return t;if("object"==typeof t&&null!==t&&"_key"in t){let n=e.findIndex(e=>e._key===t._key);return -1!==n&&n}return!1}(t,s);if(!1===u)return r;if(0===l.length){if("insert"===n.type){let{position:e,items:r}=n;return function(e,t,n,...r){if(t!==i&&t!==o)throw Error(`Invalid position "${t}", must be either ${i} or ${o}`);let s=a(...r);if(0===e.length)return s;let l=e.length,u=Math.abs((l+n)%l)%l,c=e.slice();return c.splice("after"===t?u+1:u,0,...a(s)),c}(t,e,u,r)}else if("unset"===n.type){if("number"!=typeof u)throw Error(`Expected array index to be a number, instead got "${u}"`);return r.splice(u,1),r}}return r[u]=e(r[u],{...n,path:l}),r}(t,n):"string"==typeof t?function(e,t){if(t.path.length>0)throw Error(`Cannot apply deep operations on string values. Received patch with type "${t.type}" and path "${t.path.join(".")} that targeted the value "${JSON.stringify(e)}"`);if("diffMatchPatch"===t.type){let[n]=(0,r.$i)((0,r.iz)(t.value),e,{allowExceedingIndices:!0});return n}if("setIfMissing"===t.type)return void 0===e?t.value:e;if("set"===t.type)return t.value;if("unset"!==t.type)throw Error(`Received patch of unsupported type: "${JSON.stringify(t.type)}" for string. This is most likely a bug.`)}(t,n):"object"!=typeof(s=t)||null===s||Array.isArray(s)?"number"==typeof t?function(e,t){if(t.path.length>0)throw Error(`Cannot apply deep operations on primitive values. Received patch with type "${t.type}" and path "${t.path.map(e=>JSON.stringify(e)).join(".")} that targeted the value "${JSON.stringify(e)}"`);if("set"===t.type)return t.value;if("setIfMissing"===t.type)return void 0===e?t.value:e;if("unset"!==t.type){if("inc"===t.type){if("number"!=typeof t.value)throw Error("Cannot increment with a non-number");return e+t.value}if("dec"===t.type){if("number"!=typeof t.value)throw Error("Cannot decrement with a non-number");return e-t.value}throw Error(`Received patch of unsupported type: "${JSON.stringify(t.type)}" for number. This is most likely a bug.`)}}(t,n):function(e,t){if(t.path.length>0)throw Error(`Cannot apply deep operations on primitive values. Received patch with type "${t.type}" and path "${t.path.map(e=>JSON.stringify(e)).join(".")} that targeted the value "${JSON.stringify(e)}"`);if("set"===t.type)return t.value;if("setIfMissing"===t.type)return void 0===e?t.value:e;if("unset"!==t.type)throw Error(`Received patch of unsupported type: "${JSON.stringify(t.type)}" for primitives. This is most likely a bug.`)}(t,n):function(t,n){let r={...t};if(0===n.path.length){if("set"===n.type){if("object"==typeof n.value&&null!==n.value&&!Array.isArray(n.value))return n.value;throw Error("Cannot set value of an object to a non-object")}if("setIfMissing"===n.type){if("object"==typeof n.value&&null!==n.value&&!Array.isArray(n.value))return t;throw Error("Cannot setIfMissing value of an object to a non-object")}if("unset"===n.type)return;throw Error(`Invalid object operation: ${n.type}`)}let[i,...o]=n.path;if("string"!=typeof i)throw Error(`Expected field name to be a string, instead got: ${i}`);if(0===o.length&&"unset"===n.type){let{[i]:e,...t}=r;return t}return(i in r||!(o.length>0))&&(r[i]=e(r[i],{...n,path:o})),r}(t,n)},e)}function l(e,t=[]){return{type:"setIfMissing",path:t,value:e}}function u(e,t,n=[]){let i=(0,r.jW)(e,t);return{type:"diffMatchPatch",path:n,value:(0,r.w1)(i)}}function c(e,t,n=[]){return{type:"insert",path:n,position:t,items:e}}function d(e,t=[]){return{type:"set",path:t,value:e}}function f(e=[]){return{type:"unset",path:e}}},98063:(e,t,n)=>{"use strict";n.d(t,{H:()=>o});var r=n(55633),i=n(70418);function o(e,t){return(0,i.T)(t)?(0,r.Z)(e,t,1):(0,r.Z)(e,1)}},98147:(e,t,n)=>{var r=n(54104);e.exports=function(){this.__data__=new r,this.size=0}}
56,98199:(e,t,n)=>{"use strict";n.d(t,{BI:()=>$,Co:()=>K,EA:()=>en,IU:()=>Z,KC:()=>y,Ki:()=>m,Kp:()=>eo,X:()=>h,dj:()=>eI,jT:()=>R,lG:()=>Y,r5:()=>ei,s5:()=>g,sQ:()=>b,tE:()=>eT,tH:()=>v});var r=n(91896),i=n(95155),o=n(85467),a=n(27948),s=n(12115),l=n(36422),u=n(52308),c=n(1018),d=n(80642);function f(e){let t=requestAnimationFrame(e);return()=>{cancelAnimationFrame(t)}}function h(e){let t=null,n=f(()=>{t=f(e)});return()=>{t&&t(),n()}}function p(e){if(!(e.tabIndex>0||0===e.tabIndex&&null!==e.getAttribute("tabIndex")||((0,r.nY)(e)?!!e.href&&"ignore"!==e.rel:(0,r.A3)(e)?"hidden"!==e.type&&"file"!==e.type&&!e.disabled:!!((0,r.WE)(e)||(0,r.q4)(e)||(0,r.QY)(e))&&!e.disabled)))return!1;try{e.focus()}catch{}return document.activeElement===e}function g(e){for(let t=0;t<e.childNodes.length;t++){let n=e.childNodes[t];if((0,r.sb)(n)&&(p(n)||g(n)))return!0}return!1}function m(e){for(let t=e.childNodes.length-1;t>=0;t--){let n=e.childNodes[t];if((0,r.sb)(n)&&(p(n)||m(n)))return!0}return!1}function y(e,t){let n,i=(0,o.c)(3);return i[0]!==t||i[1]!==e?(n=(0,r.GB)(e,t),i[0]=t,i[1]=e,i[2]=n):n=i[2],n}function b(e){return(0,r.cF)(e)?._contentRect||null}class v extends s.Component{state={error:null};static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e,t){this.props.onCatch({error:e,info:t})}render(){let{error:e}=this.state;if(e){let t="string"==typeof e?.message?e.message:"Error";return(0,i.jsx)(r.Cy,{children:t})}return this.props.children}}let w=l.I4.div.withConfig({displayName:"StyledAutocomplete",componentId:"sc-1igauft-0"})`line-height:0;`,_=(0,l.I4)(r.az).withConfig({displayName:"ListBox",componentId:"sc-1igauft-1"})`& > ul{list-style:none;padding:0;margin:0;}`,x=(0,l.i7)`
57  from {
58    transform: rotate(0deg);
59  }
60
61  to {
62    transform: rotate(360deg);
63  }
64`,k=(0,l.I4)(a.Nl1).withConfig({displayName:"AnimatedSpinnerIcon",componentId:"sc-1igauft-2"})`animation:${x} 500ms linear infinite;`;function E(e){let t,n,a,s=(0,o.c)(11),{children:l,id:u,onSelect:c,selected:d,value:f}=e;s[0]!==c||s[1]!==f?(t=()=>{setTimeout(()=>{c(f)},0)},s[0]=c,s[1]=f,s[2]=t):t=s[2];let h=t;s[3]!==h?(n=e=>{"Enter"!==e.key||(0,r.zd)(e.currentTarget)||h()},s[3]=h,s[4]=n):n=s[4];let p=n;return s[5]!==l||s[6]!==h||s[7]!==p||s[8]!==u||s[9]!==d?(a=(0,i.jsx)("li",{"aria-selected":d,"data-ui":"AutocompleteOption",id:u,role:"option",onClick:h,onKeyDown:p,children:l}),s[5]=l,s[6]=h,s[7]=p,s[8]=u,s[9]=d,s[10]=a):a=s[10],a}function A(e,t){return"input/change"===t.type?{...e,activeValue:null,focused:!0,query:t.query}:"input/focus"===t.type?{...e,focused:!0}:"root/blur"===t.type?{...e,focused:!1,query:null}:"root/clear"===t.type?{...e,activeValue:null,query:null,value:null}:"root/escape"===t.type?{...e,focused:!1,query:null}:"root/open"===t.type?{...e,query:e.query||t.query}:"root/setActiveValue"===t.type?{...e,activeValue:t.value,listFocused:t.listFocused||e.listFocused}:"root/setListFocused"===t.type?{...e,listFocused:t.listFocused}:"value/change"===t.type?{...e,activeValue:t.value,query:null,value:t.value}:e}let S=["Control","Shift","Alt","Enter","Home","End","PageUp","PageDown","Meta","Tab","CapsLock"],C=["bottom-start","top-start"],O=(e,t)=>t?t.value:e,T=(e,t)=>t.value.toLowerCase().indexOf(e.toLowerCase())>-1,D=(0,s.forwardRef)(function(e,t){let n,l,u,c,d,h,p,m,y,b,v,x,D,R,M,F,$,L,P,z,U,B,H,q,V,G,W,Y,K,Z,X,J,Q,ee,et,en,er,ei,eo,ea,es,el,eu,ec,ed,ef,eh,ep,eg,em,ey,eb,ev,ew,e_,ex,ek,eE,eA,eS,eC,eO,eT,eD,eI=(0,o.c)(181);eI[0]!==e?({border:B,customValidity:n,disabled:l,filterOption:u,fontSize:H,icon:c,id:d,listBox:q,loading:h,onBlur:p,onChange:m,onFocus:y,onQueryChange:b,onSelect:v,openButton:x,openOnFocus:D,options:R,padding:V,popover:G,prefix:M,radius:W,readOnly:F,relatedElements:$,renderOption:L,renderPopover:P,renderValue:Y,suffix:U,value:K,...z}=e,eI[0]=e,eI[1]=n,eI[2]=l,eI[3]=u,eI[4]=c,eI[5]=d,eI[6]=h,eI[7]=p,eI[8]=m,eI[9]=y,eI[10]=b,eI[11]=v,eI[12]=x,eI[13]=D,eI[14]=R,eI[15]=M,eI[16]=F,eI[17]=$,eI[18]=L,eI[19]=P,eI[20]=z,eI[21]=U,eI[22]=B,eI[23]=H,eI[24]=q,eI[25]=V,eI[26]=G,eI[27]=W,eI[28]=Y,eI[29]=K):(n=eI[1],l=eI[2],u=eI[3],c=eI[4],d=eI[5],h=eI[6],p=eI[7],m=eI[8],y=eI[9],b=eI[10],v=eI[11],x=eI[12],D=eI[13],R=eI[14],M=eI[15],F=eI[16],$=eI[17],L=eI[18],P=eI[19],z=eI[20],U=eI[21],B=eI[22],H=eI[23],q=eI[24],V=eI[25],G=eI[26],W=eI[27],Y=eI[28],K=eI[29]);let eR=void 0===B||B,ej=void 0===H?2:H,eN=void 0===q?r.sU:q,eM=void 0===V?3:V,eF=void 0===G?r.sU:G,e$=void 0===W?2:W,eL=void 0===Y?O:Y,eP=K||null,ez=K||null;
64eI[30]!==eP||eI[31]!==ez?(Z={activeValue:eP,focused:!1,listFocused:!1,query:null,value:ez},eI[30]=eP,eI[31]=ez,eI[32]=Z):Z=eI[32];let[eU,eB]=(0,s.useReducer)(A,Z),{activeValue:eH,focused:eq,listFocused:eV,query:eG,value:eW}=eU;eI[33]!==ej||eI[34]!==eM?(X=e=>{let{value:t}=e;return(0,i.jsx)(r.Zp,{"data-as":"button",padding:eM,radius:2,tone:"inherit",children:(0,i.jsx)(r.EY,{size:ej,textOverflow:"ellipsis",children:t})})},eI[33]=ej,eI[34]=eM,eI[35]=X):X=eI[35];let eY="function"==typeof L?L:X,eK="function"==typeof u?u:T,eZ=(0,s.useRef)(null),eX=(0,s.useRef)(null),eJ=(0,s.useRef)(null),eQ=(0,s.useRef)(null),[e0,e1]=(0,s.useState)(null);eI[36]===Symbol.for("react.memo_cache_sentinel")?(J=e=>{(0,s.startTransition)(()=>e1(e))},eI[36]=J):J=eI[36];let e2=J,e5=(0,s.useRef)(!1),e3=(0,s.useRef)(eW),e4=(0,s.useRef)(K),e6=(0,s.useRef)(!1);eI[37]!==e0?(Q=()=>e0,ee=[e0],eI[37]=e0,eI[38]=Q,eI[39]=ee):(Q=eI[38],ee=eI[39]),(0,s.useImperativeHandle)(eJ,Q,ee),eI[40]!==e0?(et=()=>e0,en=[e0],eI[40]=e0,eI[41]=et,eI[42]=en):(et=eI[41],en=eI[42]),(0,s.useImperativeHandle)(t,et,en);let e9=`${d}-listbox`,e7=Array.isArray(R)?R:r.Ml,e8=(0,r.GB)(eM);eI[43]!==e7||eI[44]!==eW?(er=null!==eW?e7.find(e=>e.value===eW):void 0,eI[43]=e7,eI[44]=eW,eI[45]=er):er=eI[45];let te=er;if(eI[46]!==eK||eI[47]!==e7||eI[48]!==eG){let e;eI[50]!==eK||eI[51]!==eG?(e=e=>!eG||eK(eG,e),eI[50]=eK,eI[51]=eG,eI[52]=e):e=eI[52],ei=e7.filter(e),eI[46]=eK,eI[47]=e7,eI[48]=eG,eI[49]=ei}else ei=eI[49];let tt=ei,tn=tt.length,tr=eH?`${d}-option-${eH}`:void 0,ti=null!==eG&&h||eq&&null!==eG;eI[53]!==p||eI[54]!==b||eI[55]!==$?(eo=e=>{setTimeout(()=>{if(e6.current)return;let t=($||[]).concat(eZ.current?[eZ.current]:[],eX.current?[eX.current]:[]),n=!1;if(document.activeElement){for(let e of t)if(e===document.activeElement||e.contains(document.activeElement)){n=!0;break}}!1===n&&(eB({type:"root/blur"}),e6.current=!1,b&&b(null),p&&p(e))},0)},eI[53]=p,eI[54]=b,eI[55]=$,eI[56]=eo):eo=eI[56];let to=eo;eI[57]===Symbol.for("react.memo_cache_sentinel")?(ea=e=>{let t=eQ.current,n=e.target instanceof HTMLElement?e.target:null,r=t?.contains(n)||!1;r!==e5.current&&(e5.current=r,eB({type:"root/setListFocused",listFocused:r}))},eI[57]=ea):ea=eI[57];let ta=ea;eI[58]!==m||eI[59]!==b||eI[60]!==v?(es=e=>{eB({type:"value/change",value:e}),e6.current=!1,v&&v(e),e3.current=e,m&&m(e),b&&b(null),eJ.current?.focus()},eI[58]=m,eI[59]=b,eI[60]=v,eI[61]=es):es=eI[61];let ts=es;eI[62]!==eH||eI[63]!==tt||eI[64]!==tn||eI[65]!==b?(el=e=>{if("ArrowDown"===e.key){if(e.preventDefault(),!tn)return;let t=tt.find(e=>e.value===eH),n=t?tt.indexOf(t):-1,r=tt[(n+1)%tn];r&&eB({type:"root/setActiveValue",value:r.value,listFocused:!0});return}if("ArrowUp"===e.key){if(e.preventDefault(),!tn)return;let t=tt.find(e=>e.value===eH),n=t?tt.indexOf(t):-1,r=tt[-1===n?tn-1:(tn+n-1)%tn];r&&eB({type:"root/setActiveValue",value:r.value,listFocused:!0});return}if("Escape"===e.key){eB({type:"root/escape"}),e6.current=!1,b&&b(null),eJ.current?.focus();return}let t=e.target,n=eQ.current;if((n===t||n?.contains(t))&&!S.includes(e.key))return void eJ.current?.focus()},eI[62]=eH,eI[63]=tt,eI[64]=tn,eI[65]=b,eI[66]=el):el=eI[66];let tl=el;eI[67]!==b?(eu=e=>{let t=e.currentTarget.value;eB({type:"input/change",query:t}),b&&b(t)},eI[67]=b,eI[68]=eu):eu=eI[68];let tu=eu;eI[69]!==te||eI[70]!==eL||eI[71]!==eW?(ec=()=>{eB({type:"root/open",query:eW?eL(eW,te):""})},eI[69]=te,eI[70]=eL,eI[71]=eW,eI[72]=ec):ec=eI[72];let tc=ec;eI[73]!==tc||eI[74]!==eq||eI[75]!==y||eI[76]!==D?(ed=e=>{eq||(eB({type:"input/focus"}),y&&y(e),D&&tc())},eI[73]=tc,eI[74]=eq,eI[75]=y,eI[76]=D,eI[77]=ed):ed=eI[77];let td=ed;eI[78]===Symbol.for("react.memo_cache_sentinel")?(ef=()=>{e6.current=!0},eI[78]=ef):ef=eI[78];let tf=ef;eI[79]===Symbol.for("react.memo_cache_sentinel")?(eh=()=>{e6.current=!1},eI[79]=eh):eh=eI[79];let th=eh;eI[80]!==m||eI[81]!==b?(ep=()=>{eB({type:"root/clear"}),e3.current="",m&&m(""),b&&b(null),eJ.current?.focus()},eI[80]=m,eI[81]=b,eI[82]=ep):ep=eI[82];let tp=ep;eI[83]===Symbol.for("react.memo_cache_sentinel")?(eg=()=>{eB({type:"input/focus"})},eI[83]=eg):eg=eI[83];let tg=eg;eI[84]!==K?(em=()=>{if(K!==e4.current){e4.current=K,void 0!==K&&(eB({type:"value/change",value:K}),e3.current=K);return}K!==e3.current&&(e3.current=K||null,eB({type:"value/change",value:K||null}))},ey=[K],eI[84]=K,eI[85]=em,eI[86]=ey):(em=eI[85],ey=eI[86]),(0,s.useEffect)(em,ey),eI[87]!==eq?(eb=()=>{!eq&&e3.current&&eB({type:"root/setActiveValue",value:e3.current})},ev=[eq],eI[87]=eq,eI[88]=eb,eI[89]=ev):(eb=eI[88],ev=eI[89]),(0,s.useEffect)(eb,ev),eI[90]!==eH||eI[91]!==tt?(ew=()=>{let e=eQ.current;if(!e)return;let t=tt.find(e=>e.value===eH);if(t){let n=tt.indexOf(t),r=e.childNodes[n];if(r){if(document.activeElement&&r.contains(document.activeElement))return;g(r)}}},e_=[eH,tt],eI[90]=eH,eI[91]=tt,eI[92]=ew,eI[93]=e_):(ew=eI[92],e_=eI[93]),(0,s.useEffect)(ew,e_);n:{if(!h&&!l&&eW){let e;eI[94]===Symbol.for("react.memo_cache_sentinel")?(e={"aria-label":"Clear",onFocus:tg},eI[94]=e):e=eI[94],ex=e;break n}ex=void 0}let tm=ex,ty=e8.map(j),tb=e8.map(N),tv="object"==typeof x?x:r.sU;eI[95]!==tc||eI[96]!==tv?(ek=e=>{tc(),tv.onClick&&tv.onClick(e),f(()=>eJ.current?.focus())},eI[95]=tc,eI[96]=tv,eI[97]=ek):ek=eI[97];let tw=ek;eI[98]!==l||eI[99]!==ti||eI[100]!==ej||eI[101]!==tw||eI[102]!==x||eI[103]!==ty||eI[104]!==tb||eI[105]!==tv||eI[106]!==F?(eE=l||F||!x?void 0:(0,i.jsx)(r.az,{"aria-hidden":ti,padding:ty,children:(0,i.jsx)(r.$n,{"aria-label":"Open",disabled:ti,fontSize:ej,icon:a.D3D,mode:"bleed",padding:tb,...tv,onClick:tw})}),eI[98]=l,eI[99]=ti,eI[100]=ej,eI[101]=tw,eI[102]=x,eI[103]=ty,eI[104]=tb,eI[105]=tv,eI[106]=F,eI[107]=eE):eE=eI[107];let t_=eE;r:{if(null===eG){if(null!==eW){let e;eI[108]!==te||eI[109]!==eL||eI[110]!==eW?(e=eL(eW,te),eI[108]=te,eI[109]=eL,eI[110]=eW,eI[111]=e):e
64=eI[111],eA=e;break r}eA="";break r}eA=eG}let tx=eA;eI[112]!==eV?(eS=e=>{"Tab"===e.key&&eV&&eJ.current?.focus()},eI[112]=eV,eI[113]=eS):eS=eI[113];let tk=eS;i:{let e,t,n;if(0===tt.length){eC=null;break i}if(eI[114]!==eH||eI[115]!==te||eI[116]!==tt||eI[117]!==ts||eI[118]!==d||eI[119]!==eV||eI[120]!==h||eI[121]!==eY){let t;eI[123]!==eH||eI[124]!==te||eI[125]!==ts||eI[126]!==d||eI[127]!==eV||eI[128]!==h||eI[129]!==eY?(t=e=>{let t=null!==eH?e.value===eH:te===e;return(0,i.jsx)(E,{id:`${d}-option-${e.value}`,onSelect:ts,selected:t,value:e.value,children:(0,s.cloneElement)(eY(e),{disabled:h,selected:t,tabIndex:eV&&t?0:-1})},e.value)},eI[123]=eH,eI[124]=te,eI[125]=ts,eI[126]=d,eI[127]=eV,eI[128]=h,eI[129]=eY,eI[130]=t):t=eI[130],e=tt.map(t),eI[114]=eH,eI[115]=te,eI[116]=tt,eI[117]=ts,eI[118]=d,eI[119]=eV,eI[120]=h,eI[121]=eY,eI[122]=e}else e=eI[122];eI[131]!==e9||eI[132]!==e?(t=(0,i.jsx)(r.BJ,{as:"ul","aria-multiselectable":!1,"data-ui":"AutoComplete__resultsList",id:e9,ref:eQ,role:"listbox",space:1,children:e}),eI[131]=e9,eI[132]=e,eI[133]=t):t=eI[133],eI[134]!==tk||eI[135]!==eN||eI[136]!==t?(n=(0,i.jsx)(_,{"data-ui":"AutoComplete__results",onKeyDown:tk,padding:1,...eN,tabIndex:-1,children:t}),eI[134]=tk,eI[135]=eN,eI[136]=t,eI[137]=n):n=eI[137],eC=n}let tE=eC;o:{let e;if(P){let e,t=!ti;eI[138]!==tE||eI[139]!==tf||eI[140]!==th||eI[141]!==e0||eI[142]!==P||eI[143]!==t?(e=(0,i.jsx)(I,{content:tE,hidden:t,inputElement:e0,onMouseEnter:tf,onMouseLeave:th,resultsPopoverElementRef:eX,renderPopover:P}),eI[138]=tE,eI[139]=tf,eI[140]=th,eI[141]=e0,eI[142]=P,eI[143]=t,eI[144]=e):e=eI[144],eO=e;break o}if(0===tn){eO=null;break o}eI[145]!==tE||eI[146]!==ti||eI[147]!==tf||eI[148]!==th||eI[149]!==e0||eI[150]!==eF||eI[151]!==e$?(e=(0,i.jsx)(r.AM,{arrow:!1,constrainSize:!0,content:tE,fallbackPlacements:C,matchReferenceWidth:!0,onMouseEnter:tf,onMouseLeave:th,open:ti,overflow:"auto",placement:"bottom-start",portal:!0,radius:e$,ref:eX,referenceElement:e0,...eF}),eI[145]=tE,eI[146]=ti,eI[147]=tf,eI[148]=th,eI[149]=e0,eI[150]=eF,eI[151]=e$,eI[152]=e):e=eI[152],eO=e}let tA=eO,tS=h&&k,tC=U||t_;return eI[153]!==tr||eI[154]!==eR||eI[155]!==tm||eI[156]!==n||eI[157]!==l||eI[158]!==ti||eI[159]!==ej||eI[160]!==tp||eI[161]!==tu||eI[162]!==td||eI[163]!==c||eI[164]!==d||eI[165]!==tx||eI[166]!==e9||eI[167]!==e8||eI[168]!==M||eI[169]!==e$||eI[170]!==F||eI[171]!==z||eI[172]!==tS||eI[173]!==tC?(eT=(0,i.jsx)(r.ks,{...z,"aria-activedescendant":tr,"aria-autocomplete":"list","aria-expanded":ti,"aria-owns":e9,autoCapitalize:"off",autoComplete:"off",autoCorrect:"off",border:eR,clearButton:tm,customValidity:n,disabled:l,fontSize:ej,icon:c,iconRight:tS,id:d,inputMode:"search",onChange:tu,onClear:tp,onFocus:td,padding:e8,prefix:M,radius:e$,readOnly:F,ref:e2,role:"combobox",spellCheck:!1,suffix:tC,value:tx}),eI[153]=tr,eI[154]=eR,eI[155]=tm,eI[156]=n,eI[157]=l,eI[158]=ti,eI[159]=ej,eI[160]=tp,eI[161]=tu,eI[162]=td,eI[163]=c,eI[164]=d,eI[165]=tx,eI[166]=e9,eI[167]=e8,eI[168]=M,eI[169]=e$,eI[170]=F,eI[171]=z,eI[172]=tS,eI[173]=tC,eI[174]=eT):eT=eI[174],eI[175]!==to||eI[176]!==ta||eI[177]!==tl||eI[178]!==tA||eI[179]!==eT?(eD=(0,i.jsxs)(w,{"data-ui":"Autocomplete",onBlur:to,onFocus:ta,onKeyDown:tl,ref:eZ,children:[eT,tA]}),eI[175]=to,eI[176]=ta,eI[177]=tl,eI[178]=tA,eI[179]=eT,eI[180]=eD):eD=eI[180],eD});function I({renderPopover:e,content:t,hidden:n,inputElement:r,onMouseEnter:i,onMouseLeave:o,resultsPopoverElementRef:a}){return e({content:t,hidden:n,inputElement:r,onMouseEnter:i,onMouseLeave:o},a)}D.displayName="ForwardRef(Autocomplete)";let R=D;function j(e){return 0===e?0:1===e||2===e?1:e-2}function N(e){return Math.max(e-1,0)}let M=l.I4.ol.withConfig({displayName:"StyledBreadcrumbs",componentId:"sc-1es8h8q-0"})`margin:0;padding:0;display:flex;list-style:none;align-items:center;white-space:nowrap;line-height:0;`,F=(0,l.I4)(r.$n).withConfig({displayName:"ExpandButton",componentId:"sc-1es8h8q-1"})`appearance:none;margin:-4px;`,$=(0,s.forwardRef)(function(e,t){let n,a,l,u,c,d,f,h,p,g,m,y,b,v=(0,o.c)(29);v[0]!==e?({children:n,maxLength:a,separator:u,space:c,...l}=e,v[0]=e,v[1]=n,v[2]=a,v[3]=l,v[4]=u,v[5]=c):(n=v[1],a=v[2],l=v[3],u=v[4],c=v[5]);let w=void 0===c?2:c;v[6]!==w?(d=(0,r.GB)(w),v[6]=w,v[7]=d):d=v[7];
64let _=d,[x,k]=(0,s.useState)(!1),E=(0,s.useRef)(null),A=(0,s.useRef)(null);v[8]===Symbol.for("react.memo_cache_sentinel")?(f=()=>k(!1),v[8]=f):f=v[8];let S=f;v[9]===Symbol.for("react.memo_cache_sentinel")?(h=()=>k(!0),v[9]=h):h=v[9];let C=h;v[10]===Symbol.for("react.memo_cache_sentinel")?(p=()=>[E.current,A.current],v[10]=p):p=v[10],(0,r.PR)(S,p),v[11]!==n?(g=s.Children.toArray(n).filter(s.isValidElement),v[11]=n,v[12]=g):g=v[12];let O=g;v[13]!==a||v[14]!==x||v[15]!==O||v[16]!==_?(m={collapse:S,expand:C,expandElementRef:E,maxLength:a,open:x,popoverElementRef:A,rawItems:O,space:_},v[13]=a,v[14]=x,v[15]=O,v[16]=_,v[17]=m):m=v[17];let T=function(e){let t=(0,o.c)(28),{collapse:n,expand:a,expandElementRef:s,maxLength:l,open:u,popoverElementRef:c,rawItems:d,space:f}=e,h=d.length;if(l&&h>l){let e,o=Math.ceil(l/2),p=Math.floor(l/2);if(t[0]!==p||t[1]!==o||t[2]!==n||t[3]!==a||t[4]!==s||t[5]!==h||t[6]!==u||t[7]!==c||t[8]!==d||t[9]!==f){let l,g,m,y,b=d.slice(0,o-1);t[11]!==p||t[12]!==o||t[13]!==h||t[14]!==d?(l=d.slice(o-1,h-p),t[11]=p,t[12]=o,t[13]=h,t[14]=d,t[15]=l):l=t[15],t[16]!==f||t[17]!==l?(g=(0,i.jsx)(r.BJ,{as:"ol",overflow:"auto",padding:f,space:f,children:l}),t[16]=f,t[17]=l,t[18]=g):g=t[18];let v=u?n:a;t[19]!==s||t[20]!==u||t[21]!==v?(m=(0,i.jsx)(F,{fontSize:1,mode:"bleed",onClick:v,padding:1,ref:s,selected:u,text:"…"}),t[19]=s,t[20]=u,t[21]=v,t[22]=m):m=t[22],t[23]!==u||t[24]!==c||t[25]!==g||t[26]!==m?(y=(0,i.jsx)(r.AM,{constrainSize:!0,content:g,open:u,placement:"top",portal:!0,ref:c,children:m},"button"),t[23]=u,t[24]=c,t[25]=g,t[26]=m,t[27]=y):y=t[27],e=[...b,y,...d.slice(h-p)],t[0]=p,t[1]=o,t[2]=n,t[3]=a,t[4]=s,t[5]=h,t[6]=u,t[7]=c,t[8]=d,t[9]=f,t[10]=e}else e=t[10];return e}return d}(m);if(v[18]!==T||v[19]!==u||v[20]!==_){let e;v[22]!==u||v[23]!==_?(e=(e,t)=>(0,i.jsxs)(s.Fragment,{children:[t>0&&(0,i.jsx)(r.az,{"aria-hidden":!0,as:"li",paddingX:_,children:u||(0,i.jsx)(r.EY,{muted:!0,children:"/"})}),(0,i.jsx)(r.az,{as:"li",children:e})]},t),v[22]=u,v[23]=_,v[24]=e):e=v[24],y=T.map(e),v[18]=T,v[19]=u,v[20]=_,v[21]=y}else y=v[21];return v[25]!==t||v[26]!==l||v[27]!==y?(b=(0,i.jsx)(M,{"data-ui":"Breadcrumbs",...l,ref:t,children:y}),v[25]=t,v[26]=l,v[27]=y,v[28]=b):b=v[28],b});$.displayName="ForwardRef(Breadcrumbs)";let L=(0,r.bz)("@sanity/ui/context/dialog",{version:0});function P(e,t,n){return!e||!t||(0,r.Q3)(e,n)||(0,r.Q3)(t,n)}let z=(0,l.I4)(r.Wd).withConfig({displayName:"StyledDialog",componentId:"sc-4n4xb3-0"})(r.l_,function({theme:e}){let{color:t}=(0,u.JW)(e);return{"&:not([hidden])":{display:"flex"},top:0,left:0,right:0,bottom:0,alignItems:"center",justifyContent:"center",outline:"none",background:t.backdrop}},function(e){let{media:t}=(0,u.JW)(e.theme);return(0,r.U1)(t,e.$position,e=>({"&&":{position:e}}))},function(e){return e.$animate?(0,l.AH)`
65    @keyframes zoomIn {
66      from {
67        opacity: 0;
68        transform: scale(0.95);
69      }
70      to {
71        opacity: 1;
72        transform: scale(1);
73      }
74    }
75    @keyframes fadeIn {
76      from {
77        opacity: 0;
78      }
79      to {
80        opacity: 1;
81      }
82    }
83
84    animation: fadeIn 200ms ease-out;
85    // Animates the dialog card.
86    & > [data-ui='DialogCard'] {
87      animation: zoomIn 200ms ease-out;
88    }
89  `:(0,l.AH)``}),U=(0,l.I4)(r.mc).withConfig({displayName:"DialogContainer",componentId:"sc-4n4xb3-1"})`&:not([hidden]){display:flex;}width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center;`,B=(0,l.I4)(r.Zp).withConfig({displayName:"DialogCardRoot",componentId:"sc-4n4xb3-2"})`&:not([hidden]){display:flex;}width:100%;min-height:0;max-height:100%;overflow:hidden;overflow:clip;`,H=(0,l.I4)(r.so).withConfig({displayName:"DialogLayout",componentId:"sc-4n4xb3-3"})`flex:1;min-height:0;width:100%;`,q=(0,l.I4)(r.az).withConfig({displayName:"DialogHeader",componentId:"sc-4n4xb3-4"})`position:relative;z-index:2;`,V=(0,l.I4)(r.az).withConfig({displayName:"DialogContent",componentId:"sc-4n4xb3-5"})`position:relative;z-index:1;overflow:auto;outline:none;`,G=(0,l.I4)(r.az).withConfig({displayName:"DialogFooter",componentId:"sc-4n4xb3-6"})`position:relative;z-index:3;`,W=(0,s.forwardRef)(function(e,t){let n,l,u,c,d,f,h,p,m,y,b,v,w,_,x,k,E=(0,o.c)(44),{__unstable_autoFocus:A,__unstable_hideCloseButton:S,children:C,contentRef:O,footer
89:T,header:D,id:I,onClickOutside:R,onClose:j,portal:N,radius:M,scheme:F,shadow:$,width:L}=e,z=(0,r.WP)(),W=N?z.elements?.[N]||null:z.element,Y=(0,r.$w)().element;E[0]!==M?(n=(0,r.GB)(M),E[0]=M,E[1]=n):n=E[1];let K=n;E[2]!==$?(l=(0,r.GB)($),E[2]=$,E[3]=l):l=E[3];let Z=l;E[4]!==L?(u=(0,r.GB)(L),E[4]=L,E[5]=u):u=E[5];let X=u,J=(0,s.useRef)(null),Q=(0,s.useRef)(null),{isTopLayer:ee}=(0,r.Z4)(),et=`${I}_label`,en=!!j&&!1===S,er=!!D||en;return E[6]===Symbol.for("react.memo_cache_sentinel")?(c=()=>J.current,E[6]=c):c=E[6],(0,s.useImperativeHandle)(t,c),E[7]===Symbol.for("react.memo_cache_sentinel")?(d=()=>Q.current,E[7]=d):d=E[7],(0,s.useImperativeHandle)(O,d),E[8]!==A?(f=()=>{A&&J.current&&g(J.current)},h=[A,J],E[8]=A,E[9]=f,E[10]=h):(f=E[9],h=E[10]),(0,s.useEffect)(f,h),E[11]!==Y||E[12]!==ee||E[13]!==j||E[14]!==W?(p=e=>{if(!ee||!j)return;let t=document.activeElement;t&&!P(Y,W,t)||"Escape"===e.key&&(e.preventDefault(),e.stopPropagation(),j())},E[11]=Y,E[12]=ee,E[13]=j,E[14]=W,E[15]=p):p=E[15],(0,r.Pm)(p),E[16]!==Y||E[17]!==ee||E[18]!==R||E[19]!==W?(m=ee&&R&&(e=>{let t=e.target;t&&!P(Y,W,t)||R()}),E[16]=Y,E[17]=ee,E[18]=R,E[19]=W,E[20]=m):m=E[20],E[21]===Symbol.for("react.memo_cache_sentinel")?(y=()=>[J.current],E[21]=y):y=E[21],(0,r.PR)(m,y),E[22]!==D||E[23]!==et||E[24]!==j||E[25]!==en||E[26]!==er?(b=er&&(0,i.jsx)(q,{children:(0,i.jsxs)(r.so,{align:"flex-start",padding:3,children:[(0,i.jsx)(r.az,{flex:1,padding:2,children:D&&(0,i.jsx)(r.EY,{id:et,size:1,weight:"semibold",children:D})}),en&&(0,i.jsx)(r.az,{flex:"none",children:(0,i.jsx)(r.$n,{"aria-label":"Close dialog",disabled:!j,icon:a.USm,mode:"bleed",onClick:j,padding:2})})]})}),E[22]=D,E[23]=et,E[24]=j,E[25]=en,E[26]=er,E[27]=b):b=E[27],E[28]!==C?(v=(0,i.jsx)(V,{flex:1,ref:Q,tabIndex:-1,children:C}),E[28]=C,E[29]=v):v=E[29],E[30]!==T?(w=T&&(0,i.jsx)(G,{children:T}),E[30]=T,E[31]=w):w=E[31],E[32]!==b||E[33]!==v||E[34]!==w?(_=(0,i.jsxs)(H,{direction:"column",children:[b,v,w]}),E[32]=b,E[33]=v,E[34]=w,E[35]=_):_=E[35],E[36]!==K||E[37]!==F||E[38]!==Z||E[39]!==_?(x=(0,i.jsx)(B,{radius:K,ref:J,scheme:F,shadow:Z,children:_}),E[36]=K,E[37]=F,E[38]=Z,E[39]=_,E[40]=x):x=E[40],E[41]!==x||E[42]!==X?(k=(0,i.jsx)(U,{"data-ui":"DialogCard",width:X,children:x}),E[41]=x,E[42]=X,E[43]=k):k=E[43],k});W.displayName="ForwardRef(DialogCard)";let Y=(0,s.forwardRef)(function(e,t){let n,a,l,u,c,d,f,h,p,y,b,v,w,_,x,k,E,A,S,C,O,T,D,I,R,j,N,M,F,$,U,B,H,q=(0,o.c)(70),V=(0,s.useContext)(L),{layer:G}=(0,r.M4)();q[0]!==e?({__unstable_autoFocus:x,__unstable_hideCloseButton:k,cardRadius:E,cardShadow:A,children:l,contentRef:u,footer:c,header:d,id:f,onActivate:h,onClickOutside:p,onClose:y,onFocus:b,padding:S,portal:v,position:n,scheme:_,width:C,zOffset:a,animate:O,...w}=e,q[0]=e,q[1]=n,q[2]=a,q[3]=l,q[4]=u,q[5]=c,q[6]=d,q[7]=f,q[8]=h,q[9]=p,q[10]=y,q[11]=b,q[12]=v,q[13]=w,q[14]=_,q[15]=x,q[16]=k,q[17]=E,q[18]=A,q[19]=S,q[20]=C,q[21]=O):(n=q[1],a=q[2],l=q[3],u=q[4],c=q[5],d=q[6],f=q[7],h=q[8],p=q[9],y=q[10],b=q[11],v=q[12],w=q[13],_=q[14],x=q[15],k=q[16],E=q[17],A=q[18],S=q[19],C=q[20],O=q[21]);let Y=void 0===x||x,K=void 0!==k&&k,Z=void 0===E?4:E,X=void 0===A?3:A,J=void 0===S?3:S,Q=void 0===C?0:C,ee=void 0!==O&&O,et=n??(V.position||"fixed"),en=a??(V.zOffset||G.dialog.zOffset),er=!(0,r.jt)()&&ee,ei=(0,r.WP)(),eo=v?ei.elements?.[v]||null:ei.element,ea=(0,r.$w)().element;q[22]!==Z?(T=(0,r.GB)(Z),q[22]=Z,q[23]=T):T=q[23];let es=T;q[24]!==J?(D=(0,r.GB)(J),q[24]=J,q[25]=D):D=q[25];let el=D;q[26]!==et?(I=(0,r.GB)(et),q[26]=et,q[27]=I):I=q[27];let eu=I;q[28]!==Q?(R=(0,r.GB)(Q),q[28]=Q,q[29]=R):R=q[29];let ec=R;q[30]!==en?(j=(0,r.GB)(en),q[30]=en,q[31]=j):j=q[31];let ed=j,ef=(0,s.useRef)(null),eh=(0,s.useRef)(null),ep=(0,s.useRef)(null),eg=(0,s.useRef)(null);q[32]!==b?(N=e=>{b?.(e);let t=e.target,n=ep.current;n&&t===ef.current?m(n):n&&t===eh.current?g(n):(0,r.sb)(e.target)&&(eg.current=e.target)},q[32]=b,q[33]=N):N=q[33];let em=N,ey=`${f}_label`,eb=(0,s.useRef)(void 0);q[34]!==ea||q[35]!==eo?(M=()=>{eb.current&&clearTimeout(eb.current),eb.current=setTimeout(()=>{let e=document.activeElement;if(e&&!P(ea,eo,e)){let e=eg.current;if(!e||!document.body.contains(e)){let e=ep.current;e&&g(e);return}
89e.focus()}},0)},q[34]=ea,q[35]=eo,q[36]=M):M=q[36];let ev=M;return q[37]===Symbol.for("react.memo_cache_sentinel")?(F=(0,i.jsx)("div",{ref:ef,tabIndex:0}),q[37]=F):F=q[37],q[38]!==Y||q[39]!==es||q[40]!==X||q[41]!==l||q[42]!==u||q[43]!==c||q[44]!==d||q[45]!==K||q[46]!==f||q[47]!==p||q[48]!==y||q[49]!==v||q[50]!==_||q[51]!==ec?($=(0,i.jsx)(W,{__unstable_autoFocus:Y,__unstable_hideCloseButton:K,contentRef:u,footer:c,header:d,id:f,onClickOutside:p,onClose:y,portal:v,radius:es,ref:ep,scheme:_,shadow:X,width:ec,children:l}),q[38]=Y,q[39]=es,q[40]=X,q[41]=l,q[42]=u,q[43]=c,q[44]=d,q[45]=K,q[46]=f,q[47]=p,q[48]=y,q[49]=v,q[50]=_,q[51]=ec,q[52]=$):$=q[52],q[53]===Symbol.for("react.memo_cache_sentinel")?(U=(0,i.jsx)("div",{ref:eh,tabIndex:0}),q[53]=U):U=q[53],q[54]!==er||q[55]!==em||q[56]!==ev||q[57]!==f||q[58]!==ey||q[59]!==h||q[60]!==el||q[61]!==eu||q[62]!==t||q[63]!==w||q[64]!==$||q[65]!==ed?(B=(0,i.jsxs)(z,{...w,$animate:er,$padding:el,$position:eu,"aria-labelledby":ey,"aria-modal":!0,"data-ui":"Dialog",id:f,onActivate:h,onClick:ev,onFocus:em,ref:t,role:"dialog",zOffset:ed,children:[F,$,U]}),q[54]=er,q[55]=em,q[56]=ev,q[57]=f,q[58]=ey,q[59]=h,q[60]=el,q[61]=eu,q[62]=t,q[63]=w,q[64]=$,q[65]=ed,q[66]=B):B=q[66],q[67]!==v||q[68]!==B?(H=(0,i.jsx)(r.ZL,{__unstable_name:v,children:B}),q[67]=v,q[68]=B,q[69]=H):H=q[69],H});function K(e){let t,n,r=(0,o.c)(6),{children:a,position:s,zOffset:l}=e;r[0]!==s||r[1]!==l?(t={version:0,position:s,zOffset:l},r[0]=s,r[1]=l,r[2]=t):t=r[2];let u=t;return r[3]!==a||r[4]!==u?(n=(0,i.jsx)(L.Provider,{value:u,children:a}),r[3]=a,r[4]=u,r[5]=n):n=r[5],n}Y.displayName="ForwardRef(Dialog)",K.displayName="DialogProvider";let Z=(0,s.forwardRef)(function(e,t){let n,a,l,u,c,d,f,h,p,g,m,y,b,v,w,_,x,k,E,A,S,C,O,T=(0,o.c)(62),{__unstable_disableRestoreFocusOnClose:D,boundaryElement:I,button:R,id:j,menu:N,onClose:M,onOpen:F,placement:$,popoverScheme:L,portal:P,popover:z,popoverRadius:U,preventOverflow:B}=e,H=void 0!==D&&D,q=void 0===P||P,[V,G]=(0,s.useState)(!1),[W,Y]=(0,s.useState)(null),[K,Z]=(0,s.use
89State)(null);T[0]===Symbol.for("react.memo_cache_sentinel")?(n=[],T[0]=n):n=T[0];let[J,Q]=(0,s.useState)(n),ee=(0,s.useRef)(V);T[1]!==F||T[2]!==V?(a=()=>{F&&V&&!ee.current&&F()},l=[F,V],T[1]=F,T[2]=V,T[3]=a,T[4]=l):(a=T[3],l=T[4]),(0,s.useEffect)(a,l),T[5]!==M||T[6]!==V?(u=()=>{M&&!V&&ee.current&&M()},c=[M,V],T[5]=M,T[6]=V,T[7]=u,T[8]=c):(u=T[7],c=T[8]),(0,s.useEffect)(u,c),T[9]!==V?(d=()=>{ee.current=V},f=[V],T[9]=V,T[10]=d,T[11]=f):(d=T[10],f=T[11]),(0,s.useEffect)(d,f),T[12]===Symbol.for("react.memo_cache_sentinel")?(h=()=>{G(X),Y(null)},T[12]=h):h=T[12];let et=h;T[13]!==V?(p=e=>{V&&e.preventDefault()},T[13]=V,T[14]=p):p=T[14];let en=p;T[15]===Symbol.for("react.memo_cache_sentinel")?(g=e=>{if("ArrowDown"===e.key||"Enter"===e.key||" "===e.key){e.preventDefault(),G(!0),Y("first");return}if("ArrowUp"===e.key){e.preventDefault(),G(!0),Y("last");return}},T[15]=g):g=T[15];let er=g;T[16]!==K||T[17]!==J?(m=e=>{let t=e.target;if(t instanceof Node&&!(K&&(t===K||K.contains(t)))){for(let e of J)if(t===e||e.contains(t))return;G(!1)}},T[16]=K,T[17]=J,T[18]=m):m=T[18];let ei=m;T[19]!==K||T[20]!==H?(y=()=>{G(!1),!H&&K&&K.focus()},T[19]=K,T[20]=H,T[21]=y):y=T[21];let eo=y;T[22]!==J?(b=e=>{let t=e.relatedTarget;if(t instanceof Node){for(let e of J)if(e===t||e.contains(t))return;G(!1)}},T[22]=J,T[23]=b):b=T[23];let ea=b;T[24]!==K||T[25]!==H?(v=()=>{G(!1),!H&&K&&K.focus()},T[24]=K,T[25]=H,T[26]=v):v=T[26];let es=v;T[27]===Symbol.for("react.memo_cache_sentinel")?(w=e=>(Q(t=>t.concat([e])),()=>Q(t=>t.filter(t=>t!==e))),T[27]=w):w=T[27];let el=w;T[28]!==K||T[29]!==ea||T[30]!==es||T[31]!==ei||T[32]!==eo||T[33]!==j||T[34]!==N||T[35]!==W?(_=N&&(0,s.cloneElement)(N,{"aria-labelledby":j,onBlurCapture:ea,onClickOutside:ei,onEscape:eo,onItemClick:es,originElement:K,registerElement:el,shouldFocus:W}),T[28]=K,T[29]=ea,T[30]=es,T[31]=ei,T[32]=eo,T[33]=j,T[34]=N,T[35]=W,T[36]=_):_=T[36];let eu=_;T[37]!==R||T[38]!==en||T[39]!==j||T[40]!==V?(x=R&&(0,s.cloneElement)(R,{"data-ui":"MenuButton",id:j,onClick:et,onKeyDown:er,onMouseDown:en,"aria-haspopup":!0,"aria-expanded":V,ref:Z,selected:R.props.selected??V}),T[37]=R,T[38]=en,T[39]=j,T[40]=V,T[41]=x):x=T[41];let ec=x;T[42]!==K?(k=()=>K,E=[K],T[42]=K,T[43]=k,T[44]=E):(k=T[43],E=T[44]),(0,s.useImperativeHandle)(t,k,E),T[45]!==z?(A=z||{},T[45]=z,T[46]=A):A=T[46],T[47]!==I||T[48]!==$||T[49]!==U||T[50]!==L||T[51]!==q||T[52]!==B||T[53]!==A?(S={boundaryElement:I,overflow:"auto",placement:$,portal:q,preventOverflow:B,radius:U,scheme:L,...A},T[47]=I,T[48]=$,T[49]=U,T[50]=L,T[51]=q,T[52]=B,T[53]=A,T[54]=S):S=T[54];let ed=S;return T[55]!==ec?(C=ec||(0,i.jsx)(i.Fragment,{}),T[55]=ec,T[56]=C):C=T[56],T[57]!==eu||T[58]!==V||T[59]!==ed||T[60]!==C?(O=(0,i.jsx)(r.AM,{"data-ui":"MenuButton__popover",...ed,content:eu,open:V,children:C}),T[57]=eu,T[58]=V,T[59]=ed,T[60]=C,T[61]=O):O=T[61],O});function X(e){return!e}Z.displayName="ForwardRef(MenuButton)";let J=(0,l.i7)`
90  0% {
91    background-position: 100%;
92  }
93  100% {
94    background-position: -100%;
95  }
96`,Q=(0,l.AH)`
97  background-image: linear-gradient(
98    to right,
99    var(--card-skeleton-color-from),
100    var(--card-skeleton-color-to),
101    var(--card-skeleton-color-from),
102    var(--card-skeleton-color-from),
103    var(--card-skeleton-color-from)
104  );
105  background-position: 100%;
106  background-size: 200% 100%;
107  background-attachment: fixed;
108  animation-name: ${J};
109  animation-timing-function: ease-in-out;
110  animation-iteration-count: infinite;
111  animation-duration: 2000ms;
112`,ee=(0,l.AH)`
113  opacity: ${({$visible:e})=>+!!e};
114  transition: opacity 200ms ease-in;
115
116  @media screen and (prefers-reduced-motion: no-preference) {
117    ${({$animated:e})=>e?Q:(0,l.AH)`
118            background-color: var(--card-skeleton-color-from);
119          `}
120  }
121
122  @media screen and (prefers-reduced-motion: reduce) {
123    background-color: var(--card-skeleton-color-from);
124  }
125`,et=(0,l.I4)(r.az).withConfig({displayName:"StyledSkeleton",componentId:"sc-ebtpni-0"})(r.gK,ee),en=(0,s.forwardRef)(function(e,t){let n,a,l,u,c,d,f,h,p=(0,o.c)(16);p[0]!==e?({animated:u,delay:n,radius:a,...l}=e,p[0]=e,p[1]=n,p[2]=a,p[3]=l,p[4]=u):(n=p[1],a=p[2],l=p[3],u=p[4]);
125let g=void 0!==u&&u,[m,y]=(0,s.useState)(!n);p[5]!==n?(c=()=>{if(!n)return;let e=setTimeout(()=>{y(!0)},n);return()=>{clearTimeout(e)}},d=[n],p[5]=n,p[6]=c,p[7]=d):(c=p[6],d=p[7]),(0,s.useEffect)(c,d),p[8]!==a?(f=(0,r.GB)(a),p[8]=a,p[9]=f):f=p[9];let b=!n||m;return p[10]!==g||p[11]!==t||p[12]!==l||p[13]!==f||p[14]!==b?(h=(0,i.jsx)(et,{...l,$animated:g,$radius:f,$visible:b,ref:t}),p[10]=g,p[11]=t,p[12]=l,p[13]=f,p[14]=b,p[15]=h):h=p[15],h});en.displayName="ForwardRef(Skeleton)";let er=(0,l.I4)(en).withConfig({displayName:"StyledSkeleton",componentId:"sc-2p7a1v-0"})(e=>{let{$size:t,$style:n}=e,{font:i,media:o}=(0,u.JW)(e.theme),a=i[n];return(0,r.U1)(o,t,e=>{let t=a.sizes[e];return{height:t.lineHeight-t.ascenderHeight-t.descenderHeight}})}),ei=(0,s.forwardRef)(function(e,t){let n,a,s,l,u=(0,o.c)(9);u[0]!==e?({size:a,...n}=e,u[0]=e,u[1]=n,u[2]=a):(n=u[1],a=u[2]);let c=void 0===a?2:a;u[3]!==c?(s=(0,r.GB)(c),u[3]=c,u[4]=s):s=u[4];let d=s;return u[5]!==d||u[6]!==t||u[7]!==n?(l=(0,i.jsx)(er,{...n,$size:d,ref:t,$style:"text"}),u[5]=d,u[6]=t,u[7]=n,u[8]=l):l=u[8],l});ei.displayName="ForwardRef(TextSkeleton)",(0,s.forwardRef)(function(e,t){let n,a,s,l,u=(0,o.c)(9);u[0]!==e?({size:a,...n}=e,u[0]=e,u[1]=n,u[2]=a):(n=u[1],a=u[2]);let c=void 0===a?2:a;u[3]!==c?(s=(0,r.GB)(c),u[3]=c,u[4]=s):s=u[4];let d=s;return u[5]!==d||u[6]!==t||u[7]!==n?(l=(0,i.jsx)(er,{...n,$size:d,ref:t,$style:"label"}),u[5]=d,u[6]=t,u[7]=n,u[8]=l):l=u[8],l}).displayName="ForwardRef(LabelSkeleton)",(0,s.forwardRef)(function(e,t){let n,a,s,l,u=(0,o.c)(9);u[0]!==e?({size:a,...n}=e,u[0]=e,u[1]=n,u[2]=a):(n=u[1],a=u[2]);let c=void 0===a?2:a;u[3]!==c?(s=(0,r.GB)(c),u[3]=c,u[4]=s):s=u[4];let d=s;return u[5]!==d||u[6]!==t||u[7]!==n?(l=(0,i.jsx)(er,{...n,$size:d,ref:t,$style:"heading"}),u[5]=d,u[6]=t,u[7]=n,u[8]=l):l=u[8],l}).displayName="ForwardRef(HeadingSkeleton)",(0,s.forwardRef)(function(e,t){let n,a,s,l,u=(0,o.c)(9);u[0]!==e?({size:a,...n}=e,u[0]=e,u[1]=n,u[2]=a):(n=u[1],a=u[2]);let c=void 0===a?2:a;u[3]!==c?(s=(0,r.GB)(c),u[3]=c,u[4]=s):s=u[4];let d=s;return u[5]!==d||u[6]!==t||u[7]!==n?(l=(0,i.jsx)(er,{...n,$size:d,ref:t,$style:"code"}),u[5]=d,u[6]=t,u[7]=n,u[8]=l):l=u[8],l}).displayName="ForwardRef(CodeSkeleton)";let eo=(0,s.forwardRef)(function(e,t){let n,a,s,l=(0,o.c)(9);l[0]!==e?({flex:n,...a}=e,l[0]=e,l[1]=n,l[2]=a):(n=l[1],a=l[2]);let u=void 0===e.tabIndex?0:e.tabIndex;return l[3]!==n||l[4]!==e.children||l[5]!==t||l[6]!==a||l[7]!==u?(s=(0,i.jsx)(r.az,{"data-ui":"TabPanel",...a,flex:n,ref:t,role:"tabpanel",tabIndex:u,children:e.children}),l[3]=n,l[4]=e.children,l[5]=t,l[6]=a,l[7]=u,l[8]=s):s=l[8],s});eo.displayName="ForwardRef(TabPanel)";let ea={error:"critical",warning:"caution",success:"positive",info:"neutral"},es={error:"critical",warning:"caution",success:"positive",info:"neutral"},el=(0,l.I4)(r.so).withConfig({displayName:"TextBox",componentId:"sc-1rr7rxo-0"})`overflow-x:auto;`,eu=(0,l.I4)(r.Zp).withConfig({displayName:"StyledToast",componentId:"sc-1rr7rxo-1"})`pointer-events:all;width:100%;position:relative;overflow:hidden;overflow:clip;&[data-has-duration]{padding-bottom:calc(${2}px / 2);}`,ec=l.I4.div.withConfig({displayName:"LoadingBar",componentId:"sc-1rr7rxo-2"})`display:flex;position:absolute;bottom:0px;top:0px;left:0px;right:0px;pointer-events:none;z-index:-1;overflow:hidden;overflow:clip;background:transparent;align-items:flex-end;will-change:opacity;`,ed=(0,l.I4)(r.Zp).withConfig({displayName:"LoadingBarMask",componentId:"sc-1rr7rxo-3"})`position:absolute;top:0;left:-${2}px;right:-${2}px;bottom:${2}px;z-index:1;`,ef=(0,l.I4)(r.Zp).withConfig({displayName:"LoadingBarProgress",componentId:"sc-1rr7rxo-4"})`display:block;height:100%;width:100%;transform-origin:0% 50%;background-color:${e=>{let{color:t}=(0,u.JW)(e.theme);return t.button.default[e.tone].enabled.bg}};`,eh={error:"alert",warning:"alert",success:"alert",info:"alert"};function ep(e){let t,n,s,l,u,c,d,f,h,p,g,m,y,b,v,w,_,x,k,E,A=(0,o.c)(50);A[0]!==e?({closable:t,description:n,duration:s,onClose:l,radius:d,title:f,status:c,updatedAt:h,...u}=e,A[0]=e,A[1]=t,A[2]=n,A[3]=s,A[4]=l,A[5]=u,A[6]=c,A[7]=d,A[8]=f,A[9]=h):(t=A[1],n=A[2],s=A[3],l=A[4],u=A[5],c=A[6],d=A[7],f=A[8],h=A[9]);let S=void 0===d?3:d,C=c?ea[c]:"default",O=c?es[c]:"default",T=c?eh[c]:"status",D=.26*!(0,r.jt)();A[10]!==D?(p=D?{type:"spring",visualDuration:D,bounce:.25}:{duration:0}
125,A[10]=D,A[11]=p):p=A[11];let I=p,R=s&&isFinite(s)&&s<20736e5;A[12]===Symbol.for("react.memo_cache_sentinel")?(g=["hidden","initial"],A[12]=g):g=A[12];let j=g;A[13]===Symbol.for("react.memo_cache_sentinel")?(m=["visible","slideIn"],A[13]=m):m=A[13];let N=m;A[14]===Symbol.for("react.memo_cache_sentinel")?(y=["hidden","slideOut"],A[14]=y):y=A[14];let M=y,F=R?"":void 0;return A[15]!==f?(b=f&&(0,i.jsx)(r.EY,{size:1,weight:"medium",children:f}),A[15]=f,A[16]=b):b=A[16],A[17]!==n||A[18]!==I?(v=n&&(0,i.jsx)(ev,{muted:!0,size:1,variants:em,transition:I,children:n}),A[17]=n,A[18]=I,A[19]=v):v=A[19],A[20]!==b||A[21]!==v?(w=(0,i.jsx)(el,{flex:1,padding:3,children:(0,i.jsxs)(r.BJ,{space:3,children:[b,v]})}),A[20]=b,A[21]=v,A[22]=w):w=A[22],A[23]!==O||A[24]!==t||A[25]!==l?(_=t&&(0,i.jsx)(r.az,{padding:1,children:(0,i.jsx)(r.$n,{as:"button",icon:a.USm,mode:"bleed",padding:2,tone:O,onClick:l,style:{verticalAlign:"top"}})}),A[23]=O,A[24]=t,A[25]=l,A[26]=_):_=A[26],A[27]!==w||A[28]!==_||A[29]!==I?(x=(0,i.jsxs)(eb,{align:"flex-start",variants:em,transition:I,children:[w,_]}),A[27]=w,A[28]=_,A[29]=I,A[30]=x):x=A[30],A[31]!==C||A[32]!==s||A[33]!==R||A[34]!==l||A[35]!==S||A[36]!==I||A[37]!==h||A[38]!==D?(k=R&&(0,i.jsxs)(ew,{variants:em,transition:I,children:[(0,i.jsx)(ed,{tone:C,radius:S}),(0,i.jsx)(e_,{tone:C,initial:{scaleX:0},animate:{scaleX:1},transition:{delay:D,duration:s/1e3,ease:"linear"},onAnimationComplete:l},`progress-${h}`)]}),A[31]=C,A[32]=s,A[33]=R,A[34]=l,A[35]=S,A[36]=I,A[37]=h,A[38]=D,A[39]=k):k=A[39],A[40]!==C||A[41]!==S||A[42]!==u||A[43]!==T||A[44]!==x||A[45]!==k||A[46]!==F||A[47]!==I||A[48]!==D?(E=(0,i.jsxs)(ey,{"data-ui":"Toast",role:T,...u,"data-has-duration":F,custom:D,radius:S,shadow:2,tone:C,forwardedAs:"li",layout:"position",variants:eg,initial:j,animate:N,exit:M,transition:I,children:[x,k]}),A[40]=C,A[41]=S,A[42]=u,A[43]=T,A[44]=x,A[45]=k,A[46]=F,A[47]=I,A[48]=D,A[49]=E):E=A[49],E}ep.displayName="Toast";let eg={initial:{y:32,scale:.5,zIndex:1},hidden:{opacity:0},visible:e=>e?{opacity:1,transition:{when:"beforeChildren",staggerChildren:e/3,duration:e/3}}:{opacity:1},slideIn:{y:0,scale:1},slideOut:{zIndex:0,scale:.75}},em={initial:{willChange:"transform"},hidden:{opacity:0},visible:{opacity:1}},ey=c.P.create(eu),eb=c.P.create(r.so),ev=c.P.create(r.EY),ew=c.P.create(ec),e_=c.P.create(ef);function ex(){return!1}function ek(){return!0}let eE=()=>()=>{},eA=(0,r.bz)("@sanity/ui/context/toast",null);function eS(e){let t,n,a=(0,o.c)(9),{children:s,padding:l,paddingX:u,paddingY:c,gap:d}=e,f=void 0===l?4:l,h=void 0===d?3:d,{zIndex:p}=(0,r.Z4)();return a[0]!==p?(t={zIndex:p},a[0]=p,a[1]=t):t=a[1],a[2]!==s||a[3]!==h||a[4]!==f||a[5]!==u||a[6]!==c||a[7]!==t?(n=(0,i.jsx)(eC,{forwardedAs:"ul","data-ui":"ToastProvider",padding:f,paddingX:u,paddingY:c,gap:h,columns:1,style:t,children:s}),a[2]=s,a[3]=h,a[4]=f,a[5]=u,a[6]=c,a[7]=t,a[8]=n):n=a[8],n}eS.displayName="ToastLayer";let eC=(0,l.I4)(r.xA).withConfig({displayName:"StyledLayer",componentId:"sc-1tbwn58-0"})`box-sizing:border-box;position:fixed;right:0;bottom:0;list-style:none;pointer-events:none;max-width:420px;width:100%;`,eO=0;function eT(e){let t,n,a,l,u=(0,o.c)(13),{children:c,padding:f,paddingX:h,paddingY:p,gap:g,zOffset:m}=e,y=void 0===m?1:m;u[0]===Symbol.for("react.memo_cache_sentinel")?(t=[],u[0]=t):t=u[0];let[b,v]=(0,s.useState)(t),w=(0,s.useSyncExternalStore)(eE,ek,ex);u[1]===Symbol.for("react.memo_cache_sentinel")?(n={version:0,push:e=>{let t=e.id||String(eO++),n=e.duration||5e3;return(0,s.startTransition)(()=>{v(r=>.01===n?r.filter(e=>e.id!==t):[...r.filter(e=>e.id!==t),{dismiss:()=>(0,s.startTransition)(()=>v(e=>e.filter(e=>e.id!==t))),id:t,updatedAt:Date.now(),params:{...e,duration:n}}])}),t}},u[1]=n):n=u[1];let _=n;return u[2]!==g||u[3]!==w||u[4]!==f||u[5]!==h||u[6]!==p||u[7]!==b||u[8]!==y?(a=w&&(0,i.jsx)(r.XS,{zOffset:y,children:(0,i.jsx)(eS,{padding:f,paddingX:h,paddingY:p,gap:g,children:(0,i.jsx)(d.N,{initial:!1,mode:"popLayout",children:b.map(eD)})})}),u[2]=g,u[3]=w,u[4]=f,u[5]=h,u[6]=p,u[7]=b,u[8]=y,u[9]=a):a=u[9],u[10]!==c||u[11]!==a?(l=(0,i.jsxs)(eA.Provider,{value:_,children:[c,a]}),u[10]=c,u[11]=a,u[12]=l):l=u[12],l}function eD(e){let{dismiss:t,id:n,params:r,updatedAt:o}=e;
125return(0,i.jsx)(ep,{closable:r.closable,description:r.description,onClose:t,status:r.status,title:r.title,duration:r.duration,updatedAt:o},n)}function eI(){let e=(0,s.useContext)(eA);if(!e)throw Error("useToast(): missing context value");if(!(0,r.u4)(e)||0!==e.version)throw Error("useToast(): the context value is not compatible");return e}function eR(e){if("treeitem"===e.getAttribute("role")&&e.focus(),"none"===e.getAttribute("role")){let t=e.firstChild;t&&t instanceof HTMLElement&&t.focus()}}eT.displayName="ToastProvider";let ej=(0,r.bz)("@sanity/ui/context/tree",null);(0,s.forwardRef)(function(e,t){let n,a,l,u,c,d,f,h,p,g,m,y,b,v,w,_,x,k,E,A,S,C=(0,o.c)(37);C[0]!==e?({children:n,space:u,onFocus:a,...l}=e,C[0]=e,C[1]=n,C[2]=a,C[3]=l,C[4]=u):(n=C[1],a=C[2],l=C[3],u=C[4]);let O=void 0===u?1:u,T=(0,s.useRef)(null),[D,I]=(0,s.useState)(null),R=(0,s.useRef)(D);C[5]===Symbol.for("react.memo_cache_sentinel")?(c=[],C[5]=c):c=C[5];let j=c;C[6]===Symbol.for("react.memo_cache_sentinel")?(d=[],C[6]=d):d=C[6];let[N,M]=(0,s.useState)(d);C[7]===Symbol.for("react.memo_cache_sentinel")?(f={},C[7]=f):f=C[7];let[F,$]=(0,s.useState)(f),L=(0,s.useRef)(F);C[8]===Symbol.for("react.memo_cache_sentinel")?(h=()=>T.current,C[8]=h):h=C[8],(0,s.useImperativeHandle)(t,h),C[9]!==D?(p=()=>{R.current=D},g=[D],C[9]=D,C[10]=p,C[11]=g):(p=C[10],g=C[11]),(0,s.useEffect)(p,g),C[12]!==F?(m=()=>{L.current=F},y=[F],C[12]=F,C[13]=m,C[14]=y):(m=C[13],y=C[14]),(0,s.useEffect)(m,y),C[15]===Symbol.for("react.memo_cache_sentinel")?(b=(e,t,n,r)=>($(r=>({...r,[t]:{element:e,expanded:n}})),r&&I(e),()=>{$(e=>{let n={...e};return delete n[t],n})}),C[15]=b):b=C[15];let P=b;C[16]===Symbol.for("react.memo_cache_sentinel")?(v=(e,t)=>{$(n=>{let r=n[e];return r?{...n,[e]:{...r,expanded:t}}:n})},C[16]=v):v=C[16];let z=v,U=D||N[0]||null;C[17]!==O||C[18]!==F||C[19]!==U?(w={version:0,focusedElement:U,level:0,path:j,registerItem:P,setExpanded:z,setFocusedElement:I,space:O,state:F},C[17]=O,C[18]=F,C[19]=U,C[20]=w):w=C[20];let B=w;C[21]!==N?(_=e=>{if(R.current){if("ArrowDown"===e.key){e.preventDefault();let t=function(e,t,n){let r=t.indexOf(n),i=t.slice(r),o=t.length;for(let t=1;t<o;t+=1){if(!i[t])continue;let n=i[t].getAttribute("data-tree-key");if(!n)continue;let r=n.split("/");r.pop();let o=[],a=!0;for(let t=0;t<r.length;t+=1){o.push(r[t]);let n=o.join("/");if(!e[n]?.expanded){a=!1;break}}if(a)return i[t]}return null}(L.current,N,R.current);t&&(eR(t),I(t));return}if("ArrowUp"===e.key){e.preventDefault();let t=function(e,t,n){let r=t.indexOf(n),i=t.slice(0,r),o=i.length;for(let t=o-1;t>=0;t-=1){let n=i[t].getAttribute("data-tree-key");if(!n)continue;let r=n.split("/");r.pop();let o=[],a=!0;for(let t=0;t<r.length;t+=1){o.push(r[t]);let n=o.join("/");if(!e[n]?.expanded){a=!1;break}}if(a)return i[t]}return null}(L.current,N,R.current);t&&(eR(t),I(t));return}if("ArrowLeft"===e.key){e.preventDefault();let t=R.current.getAttribute("data-tree-key");if(!t)return;let n=L.current[t];if(!n)return;if(n.expanded)$(e=>{let n=e[t];return n?{...e,[t]:{...n,expanded:!1}}:e});else{let e=t.split("/");e.pop();let n=e.join("/"),r=n&&L.current[n];r&&(r.element.focus(),I(r.element))}return}if("ArrowRight"===e.key){e.preventDefault();let t=R.current.getAttribute("data-tree-key");if(!t)return;L.current[t]?.expanded||$(e=>{let n=e[t];return n?{...e,[t]:{...n,expanded:!0}}:e});return}}},C[21]=N,C[22]=_):_=C[22];let H=_;C[23]!==a?(x=e=>{I(e.target),a?.(e)},C[23]=a,C[24]=x):x=C[24];let q=x;return C[25]===Symbol.for("react.memo_cache_sentinel")?(k=()=>{T.current&&M(Array.from(T.current.querySelectorAll('[data-ui="TreeItem"]')))},C[25]=k):k=C[25],C[26]!==n?(E=[n],C[26]=n,C[27]=E):E=C[27],(0,s.useEffect)(k,E),C[28]!==n||C[29]!==q||C[30]!==H||C[31]!==l||C[32]!==O?(A=(0,i.jsx)(r.BJ,{as:"ul","data-ui":"Tree",...l,onFocus:q,onKeyDown:H,ref:T,role:"tree",space:O,children:n}),C[28]=n,C[29]=q,C[30]=H,C[31]=l,C[32]=O,C[33]=A):A=C[33],C[34]!==B||C[35]!==A?(S=(0,i.jsx)(ej.Provider,{value:B,children:A}),C[34]=B,C[35]=A,C[36]=S):S=C[36],S}).displayName="ForwardRef(Tree)";(0,l.I4)(r.az).attrs({forwardedAs:"a"}).withConfig({displayName:"TreeItemBox",componentId:"sc-iiskig-1"})(function(e){let{$level:t}=e,{space:n}=(0,u.JW)(e.theme);return(0,l.AH)`
126    padding-left: ${(0,r.D0)(n[2]*t)};
127
128    &[data-as='a'] {
129      text-decoration: none;
130    }
131  `}),(0,l.I4)(r.EY).withConfig({displayName:"ToggleArrowText",componentId:"sc-iiskig-2"})`& > svg{transition:transform 100ms;}`},98207:(e,t,n)=>{var r=n(27998);function i(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw TypeError("Expected a function");var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(i.Cache||r),n}i.Cache=r,e.exports=i},98258:(e,t,n)=>{"use strict";n.d(t,{S:()=>o});var r=n(79619),i=n(63844);function o(e,t){return(0,r.N)((0,i.S)(e,t,arguments.length>=2,!0))}}
131,98354:(e,t,n)=>{e.exports=n(98870)()},98367:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(95749),i=n(92459),o=n(77494);let a=function(e){return"string"==typeof e||!(0,i.A)(e)&&(0,o.A)(e)&&"[object String]"==(0,r.A)(e)}},98813:(e,t,n)=>{"use strict";let r,i,o;n.d(t,{F:()=>R});var a=n(95023),s=n(2159),l=n(87192),u=n(70850);function c(){if(!u.j.document)return;let e=a.aj.bind(null,"dom"),t=d(e,!0);u.j.document.addEventListener("click",t,!1),u.j.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(t=>{let n=u.j[t],r=n&&n.prototype;r&&r.hasOwnProperty&&r.hasOwnProperty("addEventListener")&&((0,s.GS)(r,"addEventListener",function(t){return function(n,r,i){if("click"===n||"keypress"==n)try{let r=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},o=r[n]=r[n]||{refCount:0};if(!o.handler){let r=d(e);o.handler=r,t.call(this,n,r,i)}o.refCount++}catch(e){}return t.call(this,n,r,i)}}),(0,s.GS)(r,"removeEventListener",function(e){return function(t,n,r){if("click"===t||"keypress"==t)try{let n=this.__sentry_instrumentation_handlers__||{},i=n[t];i&&(i.refCount--,i.refCount<=0&&(e.call(this,t,i.handler,r),i.handler=void 0,delete n[t]),0===Object.keys(n).length&&delete this.__sentry_instrumentation_handlers__)}catch(e){}return e.call(this,t,n,r)}}))})}function d(e,t=!1){return n=>{var a;if(!n||n._sentryCaptured)return;let c=function(e){try{return e.target}catch(e){return null}}(n);if(a=n.type,"keypress"===a&&(!c||!c.tagName||"INPUT"!==c.tagName&&"TEXTAREA"!==c.tagName&&!c.isContentEditable&&1))return;(0,s.my)(n,"_sentryCaptured",!0),c&&!c._sentryId&&(0,s.my)(c,"_sentryId",(0,l.eJ)());let d="keypress"===n.type?"input":n.type;!function(e){if(e.type!==i)return!1;try{if(!e.target||e.target._sentryId!==o)return!1}catch(e){}return!0}(n)&&(e({event:n,name:d,global:t}),i=n.type,o=c?c._sentryId:void 0),clearTimeout(r),r=u.j.setTimeout(()=>{o=void 0,i=void 0},1e3)}}var f=n(15333),h=n(33860);let p="__sentry_xhr_v3__";function g(){if(!u.j.XMLHttpRequest)return;let e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(e,t,n){let r=Error(),i=1e3*(0,f.zf)(),o=(0,h.Kg)(n[0])?n[0].toUpperCase():void 0,s=function(e){if((0,h.Kg)(e))return e;try{return e.toString()}catch(e){}}(n[1]);if(!o||!s)return e.apply(t,n);t[p]={method:o,url:s,request_headers:{}},"POST"===o&&s.match(/sentry_key/)&&(t.__sentry_own_request__=!0);let l=()=>{let e=t[p];if(e&&4===t.readyState){try{e.status_code=t.status}catch(e){}let n={endTimestamp:1e3*(0,f.zf)(),startTimestamp:i,xhr:t,virtualError:r};(0,a.aj)("xhr",n)}};return"onreadystatechange"in t&&"function"==typeof t.onreadystatechange?t.onreadystatechange=new Proxy(t.onreadystatechange,{apply:(e,t,n)=>(l(),e.apply(t,n))}):t.addEventListener("readystatechange",l),t.setRequestHeader=new Proxy(t.setRequestHeader,{apply(e,t,n){let[r,i]=n,o=t[p];return o&&(0,h.Kg)(r)&&(0,h.Kg)(i)&&(o.request_headers[r.toLowerCase()]=i),e.apply(t,n)}}),e.apply(t,n)}}),e.send=new Proxy(e.send,{apply(e,t,n){let r=t[p];if(!r)return e.apply(t,n);void 0!==n[0]&&(r.body=n[0]);let i={startTimestamp:1e3*(0,f.zf)(),xhr:t};return(0,a.aj)("xhr",i),e.apply(t,n)}})}var m=n(39263),y=n(26900),b=n(7463);function v(){"console"in b.O&&y.Ow.forEach(function(e){e in b.O.console&&(0,s.GS)(b.O.console,e,function(t){return y.Z9[e]=t,function(...t){(0,a.aj)("console",{args:t,level:e});let n=y.Z9[e];n&&n.apply(b.O.console,t)}})})}var w=n(27820);function _(e,t){return!!e&&"object"==typeof e&&!!e[t]}function x(e){return"string"==typeof e?e:e?_(e,"url")?e.url:e.toString?e.toString():"":""}var k=n(90474),E=n(25698);function A(e,t){let n=(0,E.KU)(),r=(0,E.rm)();if(!n)return;let{beforeBreadcrumb:i=null,maxBreadcrumbs:o=100}=n.getOptions();if(o<=0)return;let a={timestamp:(0,f.lu)(),...e},s=i?(0,y.pq)(()=>i(a,t)):a;null!==s&&(n.emit&&n.emit("beforeAddBreadcrumb",s,t),r.addBreadcrumb(s,o))}var S=n(87812),C=n(88925);function O(e){if(void 0!==e)return e>=400&&e<500?"warning":e>=500?"error":void 0}function T(e){if(!e)return{};let t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};let n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}var D=n(47141),I=n(41974);let R=(0,k._C)((e={})=>{let t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:"Breadcrumbs",setup(e){var n,r,i,o,u,d,k;t.console&&(n=e,(0,a.s5)("console",function(e){var t;if((0,E.KU)()!==n)return;let r={category:"console",data:{arguments:e.args,logger:"console"},level:"warn"===(t=e.level)?"warning":["fatal","error","warning","log","info","debug"].includes(t)?t:"log",message:(0,C.gt)(e.args," ")};if("assert"===e.level)if(!1!==e.args[0])return;else r.message=`Assertion failed: ${(0,C.gt)(e.args.slice(1)," ")||"console.assert"}`,r.data.arguments=e.args.slice(1);A(r,{input:e.args,level:e.level})}),(0,a.AS)("console",v)),t.dom&&(r=e,i=t.dom,(0,a.s5)("dom",function(e){let t,n;if((0,E.KU)()!==r)return;let o="object"==typeof i?i.serializeAttribute:void 0,a="object"==typeof i&&"number"==typeof i.maxStringLength?i.maxStringLength:void 0;a&&a>1024&&(D.T&&y.vF.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${a} was configured. Sentry will use 1024 instead.`),a=1024),"string"==typeof o&&(o=[o]);try{var s;let r=e.event,i=(s=r)&&s.target?r.target:r;t=(0,S.Hd)(i,{keyAttrs:o,maxStringLength:a}),n=(0,S.xE)(i)}catch(e){t="<unknown>"}if(0===t.length)return;let l={category:`ui.${e.name}`,message:t};n&&(l.data={"ui.component_name":n}),A(l,{event:e.event,name:e.name,global:e.global})}),(0,a.AS)("dom",c)),t.xhr&&(o=e,(0,a.s5)("xhr",function(e){if((0,E.KU)()!==o)return;let{startTimestamp:t,endTimestamp:n}=e,r=e.xhr[p];if(!t||!n||!r)return;let{method:i,url:a,status_code:s,body:l}=r,u={xhr:e.xhr,input:l,startTimestamp:t,endTimestamp:n};A({category:"xhr",data:{method:i,url:a,status_code:s},type:"http",level:O(s)},u)}),(0,a.AS)("xhr",g)),t.fetch&&(u=e,(0,a.s5)("fetch",function(e){if((0,E.KU)()!==u)return;let{startTimestamp:t,endTimestamp:n}=e;
131if(n&&(!e.fetchData.url.match(/sentry_key/)||"POST"!==e.fetchData.method))if(e.error)A({category:"fetch",data:e.fetchData,level:"error",type:"http"},{data:e.error,input:e.args,startTimestamp:t,endTimestamp:n});else{let r=e.response,i={...e.fetchData,status_code:r&&r.status},o={input:e.args,response:r,startTimestamp:t,endTimestamp:n},a=O(i.status_code);A({category:"fetch",data:i,type:"http",level:a},o)}}),(0,a.AS)("fetch",()=>(function(e,t=!1){(!t||(0,w.m7)())&&(0,s.GS)(b.O,"fetch",function(t){return function(...n){let r=Error(),{method:i,url:o}=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){let[t,n]=e;return{url:x(t),method:_(n,"method")?String(n.method).toUpperCase():"GET"}}let t=e[0];return{url:x(t),method:_(t,"method")?String(t.method).toUpperCase():"GET"}}(n),l={args:n,fetchData:{method:i,url:o},startTimestamp:1e3*(0,f.zf)(),virtualError:r};return e||(0,a.aj)("fetch",{...l}),t.apply(b.O,n).then(async t=>(e?e(t):(0,a.aj)("fetch",{...l,endTimestamp:1e3*(0,f.zf)(),response:t}),t),e=>{throw(0,a.aj)("fetch",{...l,endTimestamp:1e3*(0,f.zf)(),error:e}),(0,h.bJ)(e)&&void 0===e.stack&&(e.stack=r.stack,(0,s.my)(e,"framesToPop",1)),e})}})})(void 0,void 0))),t.history&&(0,m._)((d=e,function(e){if((0,E.KU)()!==d)return;let t=e.from,n=e.to,r=T(I.jf.location.href),i=t?T(t):void 0,o=T(n);i&&i.path||(i=r),r.protocol===o.protocol&&r.host===o.host&&(n=o.relative),r.protocol===i.protocol&&r.host===i.host&&(t=i.relative),A({category:"navigation",data:{from:t,to:n}})})),t.sentry&&e.on("beforeSendEvent",(k=e,function(e){(0,E.KU)()===k&&A({category:`sentry.${"transaction"===e.type?"transaction":"event"}`,event_id:e.event_id,level:e.level,message:(0,l.$X)(e)},{event:e})}))}}})},98870:e=>{e.exports=function(e){return function(t,n,r){for(var i=-1,o=Object(t),a=r(t),s=a.length;s--;){var l=a[e?s:++i];if(!1===n(o[l],l,o))break}return t}}},98876:(e,t,n)=>{"use strict";n.d(t,{L:()=>v});var r=n(90474),i=n(7463),o=n(95023);let a=null;function s(){a=i.O.onerror,i.O.onerror=function(e,t,n,r,i){return(0,o.aj)("error",{column:r,error:i,line:n,msg:e,url:t}),!!a&&a.apply(this,arguments)},i.O.onerror.__SENTRY_INSTRUMENTED__=!0}var l=n(25698),u=n(21123);let c=null;function d(){c=i.O.onunhandledrejection,i.O.onunhandledrejection=function(e){return(0,o.aj)("unhandledrejection",e),!c||c.apply(this,arguments)},i.O.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}var f=n(33860),h=n(87812),p=n(64985),g=n(26900),m=n(47141),y=n(9542),b=n(41974);let v=(0,r._C)((e={})=>{let t={onerror:!0,onunhandledrejection:!0,...e};return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(e){t.onerror&&(function(e){(0,o.s5)("error",t=>{var n,r,i,o;let a,s,c,d,g,m,{stackParser:v,attachStacktrace:w}=_();if((0,l.KU)()!==e||(0,b.jN)())return;let{msg:x,url:k,line:E,column:A,error:S}=t,C=(n=(0,y.H7)(v,S||x,void 0,w,!1),r=k,i=E,o=A,g=(d=(c=(s=(a=n.exception=n.exception||{}).values=a.values||[])[0]=s[0]||{}).stacktrace=c.stacktrace||{}).frames=d.frames||[],m=(0,f.Kg)(r)&&r.length>0?r:(0,h.$N)(),0===g.length&&g.push({colno:o,filename:m,function:p.yF,in_app:!0,lineno:i}),n);C.level="error",(0,u.r)(C,{originalException:S,mechanism:{handled:!1,type:"onerror"}})}),(0,o.AS)("error",s)}(e),w("onerror")),t.onunhandledrejection&&(function(e){(0,o.s5)("unhandledrejection",t=>{var n;let{stackParser:r,attachStacktrace:i}=_();if((0,l.KU)()!==e||(0,b.jN)())return;let o=function(e){if((0,f.sO)(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch(e){}return e}(t),a=(0,f.sO)(o)?(n=o,{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(n)}`}]}}):(0,y.H7)(r,o,void 0,i,!0);a.level="error",(0,u.r)(a,{originalException:o,mechanism:{handled:!1,type:"onunhandledrejection"}})}),(0,o.AS)("unhandledrejection",d)}(e),w("onunhandledrejection"))}}});function w(e){m.T&&g.vF.log(`Global Handler attached: ${e}`)}function _(){let e=(0,l.KU)();return e&&e.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}},98944:(e,t,n)=>{"use strict";let r=n(79177);e.exports=(e,t)=>new r(e,t).patch},99181:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(93301),i=n(96901),o=n(26652),a=n(41299);let s=(0,o.A)(function(e,t){return(0,a.A)(e)?(0,r.A)(e,(0,i.A)(t,1,a.A,!0)):[]})},99570:e=>{e.exports=function(e){return function(t){return e(t)}}},99617:(e,t,n)=>{"use strict";var r=n(12115),i=n(8039),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=i.useSyncExternalStore,s=r.useRef,l=r.useEffect,u=r.useMemo,c=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var d=s(null);if(null===d.current){var f={hasValue:!1,value:null};d.current=f}else f=d.current;var h=a(e,(d=u(function(){function e(e){if(!l){if(l=!0,a=e,e=r(e),void 0!==i&&f.hasValue){var t=f.value;if(i(t,e))return s=t}return s=e}if(t=s,o(a,e))return t;var n=r(e);return void 0!==i&&i(t,n)?(a=e,t):(a=e,s=n)}var a,s,l=!1,u=void 0===n?null:n;return[function(){return e(t())},null===u?void 0:function(){return e(u())}]},[t,n,r,i]))[0],d[1]);return l(function(){f.hasValue=!0,f.value=h},[h]),c(h),h}}
131,99929:(e,t,n)=>{"use strict";var r;n.d(t,{$:()=>D,B:()=>_,C:()=>eo,D:()=>Y,E:()=>E,F:()=>ei,G:()=>el,H:()=>er,I:()=>es,J:()=>eT,K:()=>J,L:()=>eM,M:()=>et,N:()=>a,O:()=>function e(t,n,r,i){if("string"==typeof n){let e;return(e=eh(t,n).next(r,i))&&e.length?e:t.next(r,i)}if(1===Object.keys(n).length){let o,a;return(a=e(eh(t,(o=Object.keys(n))[0]),n[o[0]],r,i))&&a.length?a:t.next(r,i)}let o=[];for(let a of Object.keys(n)){let s=n[a];if(!s)continue;let l=e(eh(t,a),s,r,i);l&&o.push(...l)}return o.length?o:t.next(r,i)},P:()=>eA,Q:()=>g,R:()=>en,S:()=>o,T:()=>ep,U:()=>e$,V:()=>A,W:()=>l,X:()=>u,Y:()=>d,Z:()=>I,_:()=>eF,a:()=>$,b:()=>z,c:()=>N,d:()=>eS,e:()=>f,i:()=>e_,j:()=>W,m:()=>S,n:()=>V,p:()=>eg,r:()=>ez,s:()=>H,t:()=>b,w:()=>k,y:()=>y,z:()=>ea});class i{constructor(e){this._process=e,this._active=!1,this._current=null,this._last=null}start(){this._active=!0,this.flush()}clear(){this._current&&(this._current.next=null,this._last=this._current)}enqueue(e){let t={value:e,next:null};if(this._current){this._last.next=t,this._last=t;return}this._current=t,this._last=t,this._active&&this.flush()}flush(){for(;this._current;){let e=this._current;this._process(e.value),this._current=e.next}this._last=null}}let o=".",a="",s="xstate.init",l="xstate.error",u="xstate.stop";function c(e,t){return{type:`xstate.done.state.${e}`,output:t}}function d(e,t){return{type:`xstate.error.actor.${e}`,error:t,actorId:e}}function f(e){return{type:s,input:e}}function h(e){setTimeout(()=>{throw e})}let p="function"==typeof Symbol&&Symbol.observable||"@@observable";function g(e){if(w(e))return e;let t=[],n="";for(let r=0;r<e.length;r++){switch(e.charCodeAt(r)){case 92:n+=e[r+1],r++;continue;case 46:t.push(n),n="";continue}n+=e[r]}return t.push(n),t}function m(e){var t;return(t=e)&&"object"==typeof t&&"machine"in t&&"value"in t?e.value:"string"!=typeof e?e:function(e){if(1===e.length)return e[0];let t={},n=t;for(let t=0;t<e.length-1;t++)if(t===e.length-2)n[e[t]]=e[t+1];else{let r=n;n={},r[e[t]]=n}return t}(g(e))}function y(e,t){let n={},r=Object.keys(e);for(let i=0;i<r.length;i++){let o=r[i];n[o]=t(e[o],o,e,i)}return n}function b(e){var t;return void 0===e?[]:w(t=e)?t:[t]}function v(e,t,n,r){return"function"==typeof e?e({context:t,event:n,self:r}):e}function w(e){return Array.isArray(e)}function _(e){var t;return(w(t=e)?t:[t]).map(e=>void 0===e||"string"==typeof e?{target:e}:e)}function x(e){if(void 0!==e&&""!==e)return b(e)}function k(e,t,n){let r="object"==typeof e,i=r?e:void 0;return{next:(r?e.next:e)?.bind(i),error:(r?e.error:t)?.bind(i),complete:(r?e.complete:n)?.bind(i)}}function E(e,t){return`${t}.${e}`}function A(e,t){let n=t.match(/^xstate\.invoke\.(\d+)\.(.*)/);if(!n)return e.implementations.actors[t];let[,r,i]=n,o=e.getStateNodeById(i).config.invoke;return(Array.isArray(o)?o[r]:o).src}function S(e,t){if(t===e||"*"===t)return!0;if(!t.endsWith(".*"))return!1;let n=t.split("."),r=e.split(".");for(let e=0;e<n.length;e++){let t=n[e],i=r[e];if("*"===t)return e===n.length-1;if(t!==i)return!1}return!0}function C(e,t){return`${e.sessionId}.${t}`}let O=0,T=!1,D=1,I=((r={})[r.NotStarted=0]="NotStarted",r[r.Running=1]="Running",r[r.Stopped=2]="Stopped",r),R={clock:{setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e)},logger:console.log.bind(console),devTools:!1};
131class j{constructor(e,t){this.logic=e,this._snapshot=void 0,this.clock=void 0,this.options=void 0,this.id=void 0,this.mailbox=new i(this._process.bind(this)),this.observers=new Set,this.eventListeners=new Map,this.logger=void 0,this._processingStatus=I.NotStarted,this._parent=void 0,this._syncSnapshot=void 0,this.ref=void 0,this._actorScope=void 0,this.systemId=void 0,this.sessionId=void 0,this.system=void 0,this._doneEvent=void 0,this.src=void 0,this._deferred=[];const n={...R,...t},{clock:r,logger:o,parent:a,syncSnapshot:s,id:l,systemId:u,inspect:c}=n;this.system=a?a.system:function(e,t){let n=new Map,r=new Map,i=new WeakMap,o=new Set,a={},{clock:s,logger:l}=t,u={schedule:(e,t,n,r,i=Math.random().toString(36).slice(2))=>{let o={source:e,target:t,event:n,delay:r,id:i,startedAt:Date.now()},l=C(e,i);c._snapshot._scheduledEvents[l]=o;let u=s.setTimeout(()=>{delete a[l],delete c._snapshot._scheduledEvents[l],c._relay(e,t,n)},r);a[l]=u},cancel:(e,t)=>{let n=C(e,t),r=a[n];delete a[n],delete c._snapshot._scheduledEvents[n],void 0!==r&&s.clearTimeout(r)},cancelAll:e=>{for(let t in c._snapshot._scheduledEvents){let n=c._snapshot._scheduledEvents[t];n.source===e&&u.cancel(e,n.id)}}},c={_snapshot:{_scheduledEvents:(t?.snapshot&&t.snapshot.scheduler)??{}},_bookId:()=>`x:${O++}`,_register:(e,t)=>(n.set(e,t),e),_unregister:e=>{n.delete(e.sessionId);let t=i.get(e);void 0!==t&&(r.delete(t),i.delete(e))},get:e=>r.get(e),getAll:()=>Object.fromEntries(r.entries()),_set:(e,t)=>{let n=r.get(e);if(n&&n!==t)throw Error(`Actor with system ID '${e}' already exists.`);r.set(e,t),i.set(t,e)},inspect:e=>{let t=k(e);return o.add(t),{unsubscribe(){o.delete(t)}}},_sendInspectionEvent:t=>{if(!o.size)return;let n={...t,rootId:e.sessionId};o.forEach(e=>e.next?.(n))},_relay:(e,t,n)=>{c._sendInspectionEvent({type:"@xstate.event",sourceRef:e,actorRef:t,event:n}),t._send(n)},scheduler:u,getSnapshot:()=>({_scheduledEvents:{...c._snapshot._scheduledEvents}}),start:()=>{let e=c._snapshot._scheduledEvents;for(let t in c._snapshot._scheduledEvents={},e){let{source:n,target:r,event:i,delay:o,id:a}=e[t];u.schedule(n,r,i,o,a)}},_clock:s,_logger:l};return c}(this,{clock:r,logger:o}),c&&!a&&this.system.inspect(k(c)),this.sessionId=this.system._bookId(),this.id=l??this.sessionId,this.logger=t?.logger??this.system._logger,this.clock=t?.clock??this.system._clock,this._parent=a,this._syncSnapshot=s,this.options=n,this.src=n.src??e,this.ref=this,this._actorScope={self:this,id:this.id,sessionId:this.sessionId,logger:this.logger,defer:e=>{this._deferred.push(e)},system:this.system,stopChild:e=>{if(e._parent!==this)throw Error(`Cannot stop child actor ${e.id} of ${this.id} because it is not a child`);e._stop()},emit:e=>{let t=this.eventListeners.get(e.type),n=this.eventListeners.get("*");if(t||n)for(let r of[...t?t.values():[],...n?n.values():[]])try{r(e)}catch(e){h(e)}},actionExecutor:e=>{let t=()=>{if(this._actorScope.system._sendInspectionEvent({type:"@xstate.action",actorRef:this,action:{type:e.type,params:e.params}}),!e.exec)return;let t=T;try{T=!0,e.exec(e.info,e.params)}finally{T=t}};this._processingStatus===I.Running?t():this._deferred.push(t)}},this.send=this.send.bind(this),this.system._sendInspectionEvent({type:"@xstate.actor",actorRef:this}),u&&(this.systemId=u,this.system._set(u,this)),this._initState(t?.snapshot??t?.state),u&&"active"!==this._snapshot.status&&this.system._unregister(this)}_initState(e){try{this._snapshot=e?this.logic.restoreSnapshot?this.logic.restoreSnapshot(e,this._actorScope):e:this.logic.getInitialSnapshot(this._actorScope,this.options?.input)}catch(e){this._snapshot={status:"error",output:void 0,error:e}}}update(e,t){let n;for(this._snapshot=e;n=this._deferred.shift();)try{n()}catch(t){this._deferred.length=0,this._snapshot={...e,status:"error",error:t}}switch(this._snapshot.status){case"active":for(let t of this.observers)try{t.next?.(e)}catch(e){h(e)}break;case"done":var r;for(let t of this.observers)try{t.next?.(e)}catch(e){h(e)}this._stopProcedure(),this._complete(),this._doneEvent=(r=this.id,{type:`xstate.done.actor.${r}`,output:this._snapshot.output,actorId:r}),this._parent&&this.system._relay(this,this._parent,this._doneEvent);break;case"error":this._error(this._snapshot.error)}this.system._sendInspectionEvent({type:"@xstate.snapshot",actorRef:this,event:t,snapshot:e})}subscribe(e,t,n){let r=k(e,t,n);if(this._processingStatus!==I.Stopped)this.observers.add(r);else switch(this._snapshot.status){case"done":try{r.complete?.()}catch(e){h(e)}break;case"error":{let e=this._snapshot.error;if(r.error)try{r.error(e)}catch(e){h(e)}else h(e)}}return{unsubscribe:()=>{this.observers.delete(r)}}}on(e,t){let n=this.eventListeners.get(e);n||(n=new Set,this.eventListeners.set(e,n));let r=t.bind(void 0);return n.add(r),{unsubscribe:()=>{n.delete(r)}}}
131start(){if(this._processingStatus===I.Running)return this;this._syncSnapshot&&this.subscribe({next:e=>{"active"===e.status&&this.system._relay(this,this._parent,{type:`xstate.snapshot.${this.id}`,snapshot:e})},error:()=>{}}),this.system._register(this.sessionId,this),this.systemId&&this.system._set(this.systemId,this),this._processingStatus=I.Running;let e=f(this.options.input);switch(this.system._sendInspectionEvent({type:"@xstate.event",sourceRef:this._parent,actorRef:this,event:e}),this._snapshot.status){case"done":return this.update(this._snapshot,e),this;case"error":return this._error(this._snapshot.error),this}if(this._parent||this.system.start(),this.logic.start)try{this.logic.start(this._snapshot,this._actorScope)}catch(e){return this._snapshot={...this._snapshot,status:"error",error:e},this._error(e),this}return this.update(this._snapshot,e),this.options.devTools&&this.attachDevTools(),this.mailbox.start(),this}_process(e){let t,n;try{t=this.logic.transition(this._snapshot,e,this._actorScope)}catch(e){n={err:e}}if(n){let{err:e}=n;this._snapshot={...this._snapshot,status:"error",error:e},this._error(e);return}this.update(t,e),e.type===u&&(this._stopProcedure(),this._complete())}_stop(){return this._processingStatus===I.Stopped||((this.mailbox.clear(),this._processingStatus===I.NotStarted)?this._processingStatus=I.Stopped:this.mailbox.enqueue({type:u})),this}stop(){if(this._parent)throw Error("A non-root actor cannot be stopped directly.");return this._stop()}_complete(){for(let e of this.observers)try{e.complete?.()}catch(e){h(e)}this.observers.clear(),this.eventListeners.clear()}_reportError(e){if(!this.observers.size){this._parent||h(e),this.eventListeners.clear();return}let t=!1;for(let n of this.observers){let r=n.error;t||=!r;try{r?.(e)}catch(e){h(e)}}this.observers.clear(),this.eventListeners.clear(),t&&h(e)}_error(e){this._stopProcedure(),this._reportError(e),this._parent&&this.system._relay(this,this._parent,d(this.id,e))}_stopProcedure(){return this._processingStatus!==I.Running||(this.system.scheduler.cancelAll(this),this.mailbox.clear(),this.mailbox=new i(this._process.bind(this)),this._processingStatus=I.Stopped,this.system._unregister(this)),this}_send(e){this._processingStatus!==I.Stopped&&this.mailbox.enqueue(e)}send(e){this.system._relay(void 0,this,e)}attachDevTools(){let{devTools:e}=this.options;e&&("function"==typeof e?e:e=>{if("u"<typeof window)return;let t=function(){let e="u">typeof globalThis?globalThis:"u">typeof self?self:"u">typeof window?window:void 0!==n.g?n.g:void 0;if(e.__xstate__)return e.__xstate__}();t&&t.register(e)})(this)}toJSON(){return{xstate$$type:D,id:this.id}}getPersistedSnapshot(e){return this.logic.getPersistedSnapshot(this._snapshot,e)}[p](){return this}getSnapshot(){return this._snapshot}}function N(e,...[t]){return new j(e,t)}function M(e,t,n,r,{sendId:i}){return[t,{sendId:"function"==typeof i?i(n,r):i},void 0]}function F(e,t){e.defer(()=>{e.system.scheduler.cancel(e.self,t.sendId)})}function $(e){function t(e,t){}return t.type="xstate.cancel",t.sendId=e,t.resolve=M,t.execute=F,t}function L(e,t,n,r,{id:i,systemId:o,src:a,input:s,syncSnapshot:l}){let u,c,d="string"==typeof a?A(t.machine,a):a,f="function"==typeof i?i(n):i;return d&&(c="function"==typeof s?s({context:t.context,event:n.event,self:e.self}):s,u=N(d,{id:f,src:a,parent:e.self,syncSnapshot:l,systemId:o,input:c})),[eF(t,{children:{...t.children,[f]:u}}),{id:i,systemId:o,actorRef:u,src:a,input:c},void 0]}function P(e,{actorRef:t}){t&&e.defer(()=>{t._processingStatus!==I.Stopped&&t.start()})}function z(...[e,{id:t,systemId:n,input:r,syncSnapshot:i=!1}={}]){function o(e,t){}return o.type="xstate.spawnChild",o.id=t,o.systemId=n,o.src=e,o.input=r,o.syncSnapshot=i,o.resolve=L,o.execute=P,o}function U(e,t,n,r,{actorRef:i}){let o="function"==typeof i?i(n,r):i,a="string"==typeof o?t.children[o]:o,s=t.children;return a&&(s={...s},delete s[a.id]),[eF(t,{children:s}),a,void 0]}function B(e,t){if(t){if(!function e(t,n){let r=n.getSnapshot();if(r&&"children"in r)for(let n of Object.values(r.children))e(t,n);t.system._unregister(n)}(e,t),t._processingStatus!==I.Running)return void e.stopChild(t);e.defer(()=>{e.stopChild(t)})}}function H(e){function t(e,t){}return t.type="xstate.stopChild",t.actorRef=e,t.resolve=U,t.execute=B,t}function q(e,{context:t,event:n},{guards:r}){return!Y(r[0],t,n,e)}function V(e){function t(e,t){return!1}return t.check=q,t.guards=[e],t}function G(e,{context:t,event:n},{guards:r}){return r.every(r=>Y(r,t,n,e))}function W(e){function t(e,t){return!1}return t.check=G,t.guards=e,t}function Y(e,t,n,r){let{machine:i}=r,o="function"==typeof e,a=o?e:i.implementations.guards["string"==typeof e?e:e.type];if(!o&&!a)throw Error(`Guard '${"string"==typeof e?e:e.type}' is not implemented.'.`);if("function"!=typeof a)return Y(a,t,n,r);let s={context:t,event:n},l=o||"string"==typeof e?void 0:"params"in e?"function"==typeof e.params?e.params({context:t,event:n}):e.params:void 0;return"check"in a?a.check(r,s,a):a(s,l)}function K(e){return"atomic"===e.type||"final"===e.type}function Z(e){return Object.values(e.states).filter(e=>"history"!==e.type)}function X(e,t){let n=[];if(t===e)return n;let r=e.parent;for(;r&&r!==t;)n.push(r),r=r.parent;return n}function J(e){let t=new Set(e),n=Q(t);for(let e of t)if("compound"!==e.type||n.get(e)&&n.get(e).length){if("parallel"===e.type){for(let n of Z(e))if("history"!==n.type&&!t.has(n))for(let e of ed(n))t.add(e)}}
131else ed(e).forEach(e=>t.add(e));for(let e of t){let n=e.parent;for(;n;)t.add(n),n=n.parent}return t}function Q(e){let t=new Map;for(let n of e)t.has(n)||t.set(n,[]),n.parent&&(t.has(n.parent)||t.set(n.parent,[]),t.get(n.parent).push(n));return t}function ee(e,t){return function e(t,n){let r=n.get(t);if(!r)return{};if("compound"===t.type){let e=r[0];if(!e)return{};if(K(e))return e.key}let i={};for(let t of r)i[t.key]=e(t,n);return i}(e,Q(J(t)))}function et(e,t){return"compound"===t.type?Z(t).some(t=>"final"===t.type&&e.has(t)):"parallel"===t.type?Z(t).every(t=>et(e,t)):"final"===t.type}let en=e=>"#"===e[0];function er(e,t){return e.transitions.get(t)||[...e.transitions.keys()].filter(e=>S(t,e)).sort((e,t)=>t.length-e.length).flatMap(t=>e.transitions.get(t))}function ei(e){let t=e.config.after;return t?Object.keys(t).flatMap(n=>{var r;let i,o,a=t[n],s=Number.isNaN(+n)?n:+n,l=(r=e.id,o=(i={type:`xstate.after.${s}.${r}`}).type,e.entry.push(ez(i,{id:o,delay:s})),e.exit.push($(o)),o);return b("string"==typeof a?{target:a}:a).map(e=>({...e,event:l,delay:s}))}).map(t=>{let{delay:n}=t;return{...eo(e,t.event,t),delay:n}}):[]}function eo(e,t,n){let r=x(n.target),i=n.reenter??!1,a=function(e,t){if(void 0!==t)return t.map(t=>{if("string"!=typeof t)return t;if(en(t))return e.machine.getStateNodeById(t);let n=t[0]===o;if(n&&!e.parent)return ep(e,t.slice(1));let r=n?e.key+t:t;if(e.parent)try{return ep(e.parent,r)}catch(t){throw Error(`Invalid transition definition for state node '${e.id}':
132${t.message}`)}throw Error(`Invalid target: "${t}" is not a valid target from the root node. Did you mean ".${t}"?`)})}(e,r),s={...n,actions:b(n.actions),guard:n.guard,target:a,source:e,reenter
132:i,eventType:t,toJSON:()=>({...s,source:`#${e.id}`,target:a?a.map(e=>`#${e.id}`):void 0})};return s}function ea(e){let t=new Map;if(e.config.on)for(let n of Object.keys(e.config.on)){if(n===a)throw Error('Null events ("") cannot be specified as a transition key. Use `always: { ... }` instead.');let r=e.config.on[n];t.set(n,_(r).map(t=>eo(e,n,t)))}if(e.config.onDone){let n=`xstate.done.state.${e.id}`;t.set(n,_(e.config.onDone).map(t=>eo(e,n,t)))}for(let n of e.invoke){if(n.onDone){let r=`xstate.done.actor.${n.id}`;t.set(r,_(n.onDone).map(t=>eo(e,r,t)))}if(n.onError){let r=`xstate.error.actor.${n.id}`;t.set(r,_(n.onError).map(t=>eo(e,r,t)))}if(n.onSnapshot){let r=`xstate.snapshot.${n.id}`;t.set(r,_(n.onSnapshot).map(t=>eo(e,r,t)))}}for(let n of e.after){let e=t.get(n.eventType);e||(e=[],t.set(n.eventType,e)),e.push(n)}return t}function es(e){let t=[],n=r=>{Object.values(r).forEach(r=>{if(r.config.route&&r.config.id){let n=r.config.id,i=r.config.route.guard,o={...r.config.route,guard:(e,t)=>e.event.to===`#${n}`&&(!i||"function"!=typeof i||i(e,t)),target:`#${n}`};t.push(eo(e,"xstate.route",o))}r.states&&n(r.states)})};n(e.states),t.length>0&&e.transitions.set("xstate.route",t)}function el(e,t){let n="string"==typeof t?e.states[t]:t?e.states[t.target]:void 0;if(!n&&t)throw Error(`Initial state node "${t}" not found on parent state node #${e.id}`);let r={source:e,actions:t&&"string"!=typeof t?b(t.actions):[],eventType:null,reenter:!1,target:n?[n]:[],toJSON:()=>({...r,source:`#${e.id}`,target:n?[`#${n.id}`]:[]})};return r}function eu(e){let t=x(e.config.target);return t?{target:t.map(t=>"string"==typeof t?ep(e.parent,t):t)}:e.parent.initial}function ec(e){return"history"===e.type}function ed(e){let t=ef(e);for(let n of t)for(let r of X(n,e))t.add(r);return t}function ef(e){let t=new Set;return!function e(n){if(!t.has(n)){if(t.add(n),"compound"===n.type)e(n.initial.target[0]);else if("parallel"===n.type)for(let t of Z(n))e(t)}}(e),t}function eh(e,t){if(en(t))return e.machine.getStateNodeById(t);if(!e.states)throw Error(`Unable to retrieve child state '${t}' from '${e.id}'; no child states exist.`);let n=e.states[t];if(!n)throw Error(`Child state '${t}' does not exist on '${e.id}'`);return n}function ep(e,t){if("string"==typeof t&&en(t))try{return e.machine.getStateNodeById(t)}catch{}let n=g(t).slice(),r=e;for(;n.length;){let e=n.shift();if(!e.length)break;r=eh(r,e)}return r}function eg(e,t){if("string"==typeof t){let n=e.states[t];if(!n)throw Error(`State '${t}' does not exist on '${e.id}'`);return[e,n]}let n=Object.keys(t),r=n.map(t=>eh(e,t)).filter(Boolean);return[e.machine.root,e].concat(r,n.reduce((n,r)=>{let i=eh(e,r);if(!i)return n;let o=eg(i,t[r]);return n.concat(o)},[]))}function em(e,t){let n=e;for(;n.parent&&n.parent!==t;)n=n.parent;return n.parent===t}function ey(e,t,n){let r=new Set;for(let i of e){let e=!1,o=new Set;for(let a of r)if(function(e,t){let n=new Set(e),r=new Set(t);for(let e of n)if(r.has(e))return!0;for(let e of r)if(n.has(e))return!0;return!1}(ew([i],t,n),ew([a],t,n)))if(em(i.source,a.source))o.add(a);else{e=!0;break}if(!e){for(let e of o)r.delete(e);r.add(i)}}return Array.from(r)}function eb(e,t){if(!e.target)return[];let n=new Set;for(let r of e.target)if(ec(r))if(t[r.id])for(let e of t[r.id])n.add(e);else for(let e of eb(eu(r),t))n.add(e);else n.add(r);return[...n]}function ev(e,t){let n=eb(e,t);if(!n)return;if(!e.reenter&&n.every(t=>t===e.source||em(t,e.source)))return e.source;let r=function(e){let[t,...n]=e;for(let e of X(t,void 0))if(n.every(t=>em(t,e)))return e}(n.concat(e.source));return r||(e.reenter?void 0:e.source.machine.root)}function ew(e,t,n){let r=new Set;for(let i of e)if(i.target?.length){let e=ev(i,n);for(let n of(i.reenter&&i.source===e&&r.add(e),t))em(n,e)&&r.add(n)}return[...r]}function e_(e,t,n,r,i){return ex([{target:[...ef(e)],source:e,reenter
132:!0,actions:[],eventType:null,toJSON:null}],t,n,r,!0,i)}function ex(e,t,n,r,i,o){let a=[];if(!e.length)return[t,a];let s=n.actionExecutor;n.actionExecutor=e=>{a.push(e),s(e)};try{let s=new Set(t._nodes),l=t.historyValue,u=ey(e,s,l),d=t;i||([d,l]=function(e,t,n,r,i,o,a,s){let l,u=e,c=ew(r,i,o);for(let e of(c.sort((e,t)=>t.order-e.order),c))for(let t of function(e){return Object.keys(e.states).map(t=>e.states[t]).filter(e=>"history"===e.type)}(e)){let n;n="deep"===t.history?t=>K(t)&&em(t,e):t=>t.parent===e,(l??={...o})[t.id]=Array.from(i).filter(n)}for(let e of c)u=eA(u,t,n,[...e.exit,...e.invoke.map(e=>H(e.id))],a,void 0),i.delete(e);return[u,l||o]}(d,r,n,u,s,l,o,n.actionExecutor)),d=eA(d,r,n,u.flatMap(e=>e.actions),o,void 0),d=function(e,t,n,r,i,o,a,s){let l=e,u=new Set,d=new Set;(function(e,t,n,r){for(let i of e){let e=ev(i,t);for(let o of i.target||[])!ec(o)&&(i.source!==o||i.source!==e||i.reenter)&&(r.add(o),n.add(o)),ek(o,t,n,r);for(let o of eb(i,t)){let a=X(o,e);e?.type==="parallel"&&a.push(e),eE(r,t,n,a,!i.source.parent&&i.reenter?void 0:e)}}})(r,a,d,u),s&&d.add(e.machine.root);let f=new Set;for(let e of[...u].sort((e,t)=>e.order-t.order)){i.add(e);let r=[];for(let t of(r.push(...e.entry),e.invoke))r.push(z(t.src,{...t,syncSnapshot:!!t.onSnapshot}));if(d.has(e)){let t=e.initial.actions;r.push(...t)}if(l=eA(l,t,n,r,o,e.invoke.map(e=>e.id)),"final"===e.type){let r=e.parent,a=r?.type==="parallel"?r:r?.parent,s=a||e;for(r?.type==="compound"&&o.push(c(r.id,void 0!==e.output?v(e.output,l.context,t,n.self):void 0));a?.type==="parallel"&&!f.has(a)&&et(i,a);)f.add(a),o.push(c(a.id)),s=a,a=a.parent;if(a)continue;l=eF(l,{status:"done",output:function(e,t,n,r,i){if(void 0===r.output)return;let o=c(i.id,void 0!==i.output&&i.parent?v(i.output,e.context,t,n.self):void 0);return v(r.output,e.context,o,n.self)}(l,t,n,l.machine.root,s)})}}return l}(d,r,n,u,s,o,l,i);let f=[...s];"done"===d.status&&(d=eA(d,r,n,f.sort((e,t)=>t.order-e.order).flatMap(e=>e.exit),o,void 0));try{if(l===t.historyValue&&function(e,t){if(e.length!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;return!0}(t._nodes,s))return[d,a];return[eF(d,{_nodes:f,historyValue:l}),a]}catch(e){throw e}}finally{n.actionExecutor=s}}function ek(e,t,n,r){var i,o,a,s;if(ec(e))if(t[e.id]){let a=t[e.id];for(let e of a)r.add(e),ek(e,t,n,r);for(let s of a){i=s,o=e.parent,eE(r,t,n,X(i,o))}}else{let i=eu(e);for(let o of i.target)r.add(o),i===e.parent?.initial&&n.add(e.parent),ek(o,t,n,r);for(let o of i.target){a=o,s=e.parent,eE(r,t,n,X(a,s))}}else if("compound"===e.type){let[i]=e.initial.target;ec(i)||(r.add(i),n.add(i)),ek(i,t,n,r),eE(r,t,n,X(i,e))}else if("parallel"===e.type)for(let i of Z(e).filter(e=>!ec(e)))[...r].some(e=>em(e,i))||(ec(i)||(r.add(i),n.add(i)),ek(i,t,n,r))}function eE(e,t,n,r,i){for(let o of r)if((!i||em(o,i))&&e.add(o),"parallel"===o.type)for(let r of Z(o).filter(e=>!ec(e)))[...e].some(e=>em(e,r))||(e.add(r),ek(r,t,n,e))}function eA(e,t,n,r,i,o){let a=o?[]:void 0,s=function e(t,n,r,i,o,a){let{machine:s}=t,l=t;for(let t of i){var u;let i="function"==typeof t,c=i?t:(u="string"==typeof t?t:t.type,s.implementations.actions[u]),d={context:l.context,event:n,self:r.self,system:r.system},f=i||"string"==typeof t?void 0:"params"in t?"function"==typeof t.params?t.params({context:l.context,event:n}):t.params:void 0;if(!c||!("resolve"in c)){r.actionExecutor({type:"string"==typeof t?t:"object"==typeof t?t.type:t.name||"(anonymous)",info:d,params:f,exec:c});continue}let[h,p,g]=c.resolve(r,l,d,f,c,o);l=h,"retryResolve"in c&&a?.push([c,p]),"execute"in c&&r.actionExecutor({type:c.type,info:d,params:p,exec:c.execute.bind(null,r,p)}),g&&(l=e(l,n,r,g,o,a))}return l}(e,t,n,r,{internalQueue:i,deferredActorIds:o},a);return a?.forEach(([e,t])=>{e.retryResolve(n,s,t)}),s}function eS(e,t,n,r){let i=e,o=[];function a(e,t,r){n.system._sendInspectionEvent({type:"@xstate.microstep",actorRef:n.self,event:t,snapshot:e[0],_transitions:r}),o.push(e)}if(t.type===u)return a([i=eF(eC(i,t,n),{status:"stopped"}),[]],t,[]),{snapshot:i,microsteps:o};let l=t;if(l.type!==s){let t=l,s=t.type.startsWith("xstate.error.actor"),u=eO(t,i);if(s&&!u.length)return a([i=eF(e,{status:"error",error:t.error}),[]],t,[]),{snapshot:i,microsteps:o};let c=ex(u,e,n,l,!1,r);i=c[0],a(c,t,u)}let c=!0;for(;"active"===i.status;){let e=c?function(e,t){let n=new Set;for(let r of e._nodes.filter(K))a:for(let i of[r].concat(X(r,void 0)))if(i.always){for(let r of i.always)if(void 0===r.guard||Y(r.guard,e.context,t,e)){n.add(r);break a}}return ey(Array.from(n),new Set(e._nodes),e.historyValue)}
132(i,l):[],t=e.length?i:void 0;if(!e.length){if(!r.length)break;e=eO(l=r.shift(),i)}let o=ex(e,i,n,l,!1,r);c=(i=o[0])!==t,a(o,l,e)}return"active"!==i.status&&eC(i,l,n),{snapshot:i,microsteps:o}}function eC(e,t,n){return eA(e,t,n,Object.values(e.children).map(e=>H(e)),[],void 0)}function eO(e,t){return t.machine.getTransitionData(t,e)}function eT(e,t){let n=J(eg(e,t));return ee(e,[...n])}let eD=function(e){return function e(t,n){let r=m(t),i=m(n);return"string"==typeof i?"string"==typeof r&&i===r:"string"==typeof r?r in i:Object.keys(r).every(t=>t in i&&e(r[t],i[t]))}(e,this.value)},eI=function(e){return this.tags.has(e)},eR=function(e){let t=this.machine.getTransitionData(this,e);return!!t?.length&&t.some(e=>void 0!==e.target||e.actions.length)},ej=function(){let{_nodes:e,tags:t,machine:n,getMeta:r,toJSON:i,can:o,hasTag:a,matches:s,...l}=this;return{...l,tags:Array.from(t)}},eN=function(){return this._nodes.reduce((e,t)=>(void 0!==t.meta&&(e[t.id]=t.meta),e),{})};function eM(e,t){return{status:e.status,output:e.output,error:e.error,machine:t,context:e.context,_nodes:e._nodes,value:ee(t.root,e._nodes),tags:new Set(e._nodes.flatMap(e=>e.tags)),children:e.children,historyValue:e.historyValue||{},matches:eD,hasTag:eI,can:eR,getMeta:eN,toJSON:ej}}function eF(e,t={}){return eM({...e,...t},e.machine)}function e$(e,t){let{_nodes:n,tags:r,machine:i,children:o,context:a,can:s,hasTag:l,matches:u,getMeta:c,toJSON:d,...f}=e,h={};for(let e in o){let n=o[e];h[e]={snapshot:n.getPersistedSnapshot(t),src:n.src,systemId:n.systemId,syncSnapshot:n._syncSnapshot}}return{...f,context:function e(t){let n;for(let r in t){let i=t[r];if(i&&"object"==typeof i)if("sessionId"in i&&"send"in i&&"ref"in i)(n??=Array.isArray(t)?t.slice():{...t})[r]={xstate$$type:D,id:i.id};else{let o=e(i);o!==i&&((n??=Array.isArray(t)?t.slice():{...t})[r]=o)}}return n??t}(a),children:h,historyValue:function(e){if("object"!=typeof e||null===e)return{};let t={};for(let n in e){let r=e[n];Array.isArray(r)&&(t[n]=r.map(e=>({id:e.id})))}return t}(f.historyValue)}}function eL(e,t,n,r,{event:i,id:o,delay:a},{internalQueue:s}){let l,u=t.machine.implementations.delays;if("string"==typeof i)throw Error(`Only event objects may be used with raise; use raise({ type: "${i}" }) instead`);let c="function"==typeof i?i(n,r):i;if("string"==typeof a){let e=u&&u[a];l="function"==typeof e?e(n,r):e}else l="function"==typeof a?a(n,r):a;return"number"!=typeof l&&s.push(c),[t,{event:c,id:o,delay:l},void 0]}function eP(e,t){let{event:n,delay:r,id:i}=t;if("number"==typeof r)return void e.defer(()=>{let t=e.self;e.system.scheduler.schedule(t,t,n,r,i)})}function ez(e,t){function n(e,t){}return n.type="xstate.raise",n.event=e,n.id=t?.id,n.delay=t?.delay,n.resolve=eL,n.execute=eP,n}}}]);

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