@vendure/graphiql-plugin 3.3.8-master-202507220240 → 3.3.8-master-202507231129
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/graphiql/assets/{SchemaReference-CpyWtf-y.js → SchemaReference-CvpLgB2d.js} +2 -2
- package/dist/graphiql/assets/{SchemaReference-CpyWtf-y.js.map → SchemaReference-CvpLgB2d.js.map} +1 -1
- package/dist/graphiql/assets/{brace-fold-DRY9I3kG.js → brace-fold-CbvXwIyh.js} +2 -2
- package/dist/graphiql/assets/{brace-fold-DRY9I3kG.js.map → brace-fold-CbvXwIyh.js.map} +1 -1
- package/dist/graphiql/assets/{closebrackets-3DDxSZfS.js → closebrackets-D9IC1c35.js} +2 -2
- package/dist/graphiql/assets/{closebrackets-3DDxSZfS.js.map → closebrackets-D9IC1c35.js.map} +1 -1
- package/dist/graphiql/assets/{codemirror-Tc_3P_x1.js → codemirror-s7RqOvtc.js} +2 -2
- package/dist/graphiql/assets/codemirror-s7RqOvtc.js.map +1 -0
- package/dist/graphiql/assets/{comment-Dr85-_os.js → comment-hYnnSLkz.js} +2 -2
- package/dist/graphiql/assets/{comment-Dr85-_os.js.map → comment-hYnnSLkz.js.map} +1 -1
- package/dist/graphiql/assets/{dialog-CLvGWxga.js → dialog-74yvRjdg.js} +2 -2
- package/dist/graphiql/assets/dialog-74yvRjdg.js.map +1 -0
- package/dist/graphiql/assets/{foldgutter-Bd70Ylmw.js → foldgutter-CNvWBdVI.js} +2 -2
- package/dist/graphiql/assets/{foldgutter-Bd70Ylmw.js.map → foldgutter-CNvWBdVI.js.map} +1 -1
- package/dist/graphiql/assets/{hint-CTaCIspx.js → hint-D4-TGuu2.js} +2 -2
- package/dist/graphiql/assets/{hint-CTaCIspx.js.map → hint-D4-TGuu2.js.map} +1 -1
- package/dist/graphiql/assets/{hint-BU3hYq97.js → hint-tBpO-B8y.js} +2 -2
- package/dist/graphiql/assets/{hint-BU3hYq97.js.map → hint-tBpO-B8y.js.map} +1 -1
- package/dist/graphiql/assets/{index-B8bgcTYt.js → index-IiLbhMF9.js} +45 -45
- package/dist/graphiql/assets/index-IiLbhMF9.js.map +1 -0
- package/dist/graphiql/assets/{info-BjeMnYnE.js → info-D0V7Zrnm.js} +2 -2
- package/dist/graphiql/assets/{info-BjeMnYnE.js.map → info-D0V7Zrnm.js.map} +1 -1
- package/dist/graphiql/assets/{info-addon-CT8vWPfp.js → info-addon-BjO9oTYK.js} +2 -2
- package/dist/graphiql/assets/{info-addon-CT8vWPfp.js.map → info-addon-BjO9oTYK.js.map} +1 -1
- package/dist/graphiql/assets/{javascript-DOLBPx81.js → javascript-C1fmnkCb.js} +2 -2
- package/dist/graphiql/assets/{javascript-DOLBPx81.js.map → javascript-C1fmnkCb.js.map} +1 -1
- package/dist/graphiql/assets/{jump-Dl0QwazW.js → jump-CMl3nz-1.js} +2 -2
- package/dist/graphiql/assets/{jump-Dl0QwazW.js.map → jump-CMl3nz-1.js.map} +1 -1
- package/dist/graphiql/assets/{jump-to-line-C2CXtcBk.js → jump-to-line-Hq5vq2W4.js} +2 -2
- package/dist/graphiql/assets/{jump-to-line-C2CXtcBk.js.map → jump-to-line-Hq5vq2W4.js.map} +1 -1
- package/dist/graphiql/assets/{lint-ChBsGYZa.js → lint-B2CUTgTB.js} +2 -2
- package/dist/graphiql/assets/{lint-ChBsGYZa.js.map → lint-B2CUTgTB.js.map} +1 -1
- package/dist/graphiql/assets/{lint-CzSZJYWf.js → lint-B6DlOY4R.js} +2 -2
- package/dist/graphiql/assets/{lint-CzSZJYWf.js.map → lint-B6DlOY4R.js.map} +1 -1
- package/dist/graphiql/assets/{lint-B407pjh7.js → lint-C6rDu9yg.js} +2 -2
- package/dist/graphiql/assets/{lint-B407pjh7.js.map → lint-C6rDu9yg.js.map} +1 -1
- package/dist/graphiql/assets/{matchbrackets-CznKsy27.js → matchbrackets-DcI6Xjhe.js} +2 -2
- package/dist/graphiql/assets/matchbrackets-DcI6Xjhe.js.map +1 -0
- package/dist/graphiql/assets/{mode-CP0uw3Jl.js → mode-C2URUmUb.js} +2 -2
- package/dist/graphiql/assets/{mode-CP0uw3Jl.js.map → mode-C2URUmUb.js.map} +1 -1
- package/dist/graphiql/assets/{mode-CJNOcLCn.js → mode-CJXCb3SU.js} +2 -2
- package/dist/graphiql/assets/{mode-CJNOcLCn.js.map → mode-CJXCb3SU.js.map} +1 -1
- package/dist/graphiql/assets/{mode-2uvQFyqG.js → mode-DtlwYZcH.js} +2 -2
- package/dist/graphiql/assets/{mode-2uvQFyqG.js.map → mode-DtlwYZcH.js.map} +1 -1
- package/dist/graphiql/assets/{search-Crevdced.js → search-BzUGWzlS.js} +2 -2
- package/dist/graphiql/assets/{search-Crevdced.js.map → search-BzUGWzlS.js.map} +1 -1
- package/dist/graphiql/assets/{searchcursor-_ZFWpA3w.js → searchcursor-CHMRisY0.js} +2 -2
- package/dist/graphiql/assets/searchcursor-CHMRisY0.js.map +1 -0
- package/dist/graphiql/assets/{show-hint-3AOGYrK9.js → show-hint-CD13Xkku.js} +2 -2
- package/dist/graphiql/assets/{show-hint-3AOGYrK9.js.map → show-hint-CD13Xkku.js.map} +1 -1
- package/dist/graphiql/assets/{sublime-BPaNuiRD.js → sublime-2ochNaKe.js} +2 -2
- package/dist/graphiql/assets/{sublime-BPaNuiRD.js.map → sublime-2ochNaKe.js.map} +1 -1
- package/dist/graphiql/index.html +1 -1
- package/package.json +4 -4
- package/dist/graphiql/assets/codemirror-Tc_3P_x1.js.map +0 -1
- package/dist/graphiql/assets/dialog-CLvGWxga.js.map +0 -1
- package/dist/graphiql/assets/index-B8bgcTYt.js.map +0 -1
- package/dist/graphiql/assets/matchbrackets-CznKsy27.js.map +0 -1
- package/dist/graphiql/assets/searchcursor-_ZFWpA3w.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/codemirror-
|
|
2
|
-
function ew(e,t){for(var n=0;n<t.length;n++){const i=t[n];if(typeof i!="string"&&!Array.isArray(i)){for(const r in i)if(r!=="default"&&!(r in e)){const o=Object.getOwnPropertyDescriptor(i,r);o&&Object.defineProperty(e,r,o.get?o:{enumerable:!0,get:()=>i[r]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))i(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&i(a)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function i(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();function Wo(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/codemirror-s7RqOvtc.js","assets/codemirror-HbUmq4EM.js","assets/show-hint-CD13Xkku.js","assets/matchbrackets-DcI6Xjhe.js","assets/matchbrackets-D7CjVzEn.js","assets/closebrackets-D9IC1c35.js","assets/brace-fold-CbvXwIyh.js","assets/foldgutter-CNvWBdVI.js","assets/lint-B2CUTgTB.js","assets/searchcursor-CHMRisY0.js","assets/searchcursor-DThQw5sX.js","assets/jump-to-line-Hq5vq2W4.js","assets/dialog-BwC5n760.js","assets/dialog-74yvRjdg.js","assets/sublime-2ochNaKe.js","assets/javascript-C1fmnkCb.js","assets/comment-hYnnSLkz.js","assets/search-BzUGWzlS.js","assets/hint-tBpO-B8y.js","assets/Range-CZNrBk8u.js","assets/lint-C6rDu9yg.js","assets/info-D0V7Zrnm.js","assets/SchemaReference-CvpLgB2d.js","assets/forEachState-C8esYVuF.js","assets/info-addon-BjO9oTYK.js","assets/jump-CMl3nz-1.js","assets/mode-C2URUmUb.js","assets/mode-indent-Dvf_-b54.js","assets/hint-D4-TGuu2.js","assets/lint-B6DlOY4R.js","assets/mode-DtlwYZcH.js","assets/mode-CJXCb3SU.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
function ew(e,t){for(var n=0;n<t.length;n++){const i=t[n];if(typeof i!="string"&&!Array.isArray(i)){for(const r in i)if(r!=="default"&&!(r in e)){const o=Object.getOwnPropertyDescriptor(i,r);o&&Object.defineProperty(e,r,o.get?o:{enumerable:!0,get:()=>i[r]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))i(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&i(a)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function i(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();function Wo(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var n1={exports:{}},Ll={};/**
|
|
3
3
|
* @license React
|
|
4
4
|
* react-jsx-runtime.production.js
|
|
5
5
|
*
|
|
@@ -7,7 +7,7 @@ function ew(e,t){for(var n=0;n<t.length;n++){const i=t[n];if(typeof i!="string"&
|
|
|
7
7
|
*
|
|
8
8
|
* This source code is licensed under the MIT license found in the
|
|
9
9
|
* LICENSE file in the root directory of this source tree.
|
|
10
|
-
*/var Y3;function tw(){if(Y3)return Ll;Y3=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(i,r,o){var a=null;if(o!==void 0&&(a=""+o),r.key!==void 0&&(a=""+r.key),"key"in r){o={};for(var c in r)c!=="key"&&(o[c]=r[c])}else o=r;return r=o.ref,{$$typeof:e,type:i,key:a,ref:r!==void 0?r:null,props:o}}return Ll.Fragment=t,Ll.jsx=n,Ll.jsxs=n,Ll}var Q3;function nw(){return Q3||(Q3=1,
|
|
10
|
+
*/var Y3;function tw(){if(Y3)return Ll;Y3=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(i,r,o){var a=null;if(o!==void 0&&(a=""+o),r.key!==void 0&&(a=""+r.key),"key"in r){o={};for(var c in r)c!=="key"&&(o[c]=r[c])}else o=r;return r=o.ref,{$$typeof:e,type:i,key:a,ref:r!==void 0?r:null,props:o}}return Ll.Fragment=t,Ll.jsx=n,Ll.jsxs=n,Ll}var Q3;function nw(){return Q3||(Q3=1,n1.exports=tw()),n1.exports}var _=nw(),i1={exports:{}},Me={};/**
|
|
11
11
|
* @license React
|
|
12
12
|
* react.production.js
|
|
13
13
|
*
|
|
@@ -15,7 +15,7 @@ function ew(e,t){for(var n=0;n<t.length;n++){const i=t[n];if(typeof i!="string"&
|
|
|
15
15
|
*
|
|
16
16
|
* This source code is licensed under the MIT license found in the
|
|
17
17
|
* LICENSE file in the root directory of this source tree.
|
|
18
|
-
*/var X3;function iw(){if(X3)return Me;X3=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),r=Symbol.for("react.profiler"),o=Symbol.for("react.consumer"),a=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),g=Symbol.iterator;function y(M){return M===null||typeof M!="object"?null:(M=g&&M[g]||M["@@iterator"],typeof M=="function"?M:null)}var v={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},E=Object.assign,T={};function S(M,q,ie){this.props=M,this.context=q,this.refs=T,this.updater=ie||v}S.prototype.isReactComponent={},S.prototype.setState=function(M,q){if(typeof M!="object"&&typeof M!="function"&&M!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,M,q,"setState")},S.prototype.forceUpdate=function(M){this.updater.enqueueForceUpdate(this,M,"forceUpdate")};function A(){}A.prototype=S.prototype;function D(M,q,ie){this.props=M,this.context=q,this.refs=T,this.updater=ie||v}var C=D.prototype=new A;C.constructor=D,E(C,S.prototype),C.isPureReactComponent=!0;var N=Array.isArray,O={H:null,A:null,T:null,S:null,V:null},k=Object.prototype.hasOwnProperty;function I(M,q,ie,ne,Y,pe){return ie=pe.ref,{$$typeof:e,type:M,key:q,ref:ie!==void 0?ie:null,props:pe}}function P(M,q){return I(M.type,q,void 0,void 0,void 0,M.props)}function L(M){return typeof M=="object"&&M!==null&&M.$$typeof===e}function B(M){var q={"=":"=0",":":"=2"};return"$"+M.replace(/[=:]/g,function(ie){return q[ie]})}var z=/\/+/g;function te(M,q){return typeof M=="object"&&M!==null&&M.key!=null?B(""+M.key):q.toString(36)}function re(){}function fe(M){switch(M.status){case"fulfilled":return M.value;case"rejected":throw M.reason;default:switch(typeof M.status=="string"?M.then(re,re):(M.status="pending",M.then(function(q){M.status==="pending"&&(M.status="fulfilled",M.value=q)},function(q){M.status==="pending"&&(M.status="rejected",M.reason=q)})),M.status){case"fulfilled":return M.value;case"rejected":throw M.reason}}throw M}function X(M,q,ie,ne,Y){var pe=typeof M;(pe==="undefined"||pe==="boolean")&&(M=null);var oe=!1;if(M===null)oe=!0;else switch(pe){case"bigint":case"string":case"number":oe=!0;break;case"object":switch(M.$$typeof){case e:case t:oe=!0;break;case p:return oe=M._init,X(oe(M._payload),q,ie,ne,Y)}}if(oe)return Y=Y(M),oe=ne===""?"."+te(M,0):ne,N(Y)?(ie="",oe!=null&&(ie=oe.replace(z,"$&/")+"/"),X(Y,q,ie,"",function(me){return me})):Y!=null&&(L(Y)&&(Y=P(Y,ie+(Y.key==null||M&&M.key===Y.key?"":(""+Y.key).replace(z,"$&/")+"/")+oe)),q.push(Y)),1;oe=0;var le=ne===""?".":ne+":";if(N(M))for(var ue=0;ue<M.length;ue++)ne=M[ue],pe=le+te(ne,ue),oe+=X(ne,q,ie,pe,Y);else if(ue=y(M),typeof ue=="function")for(M=ue.call(M),ue=0;!(ne=M.next()).done;)ne=ne.value,pe=le+te(ne,ue++),oe+=X(ne,q,ie,pe,Y);else if(pe==="object"){if(typeof M.then=="function")return X(fe(M),q,ie,ne,Y);throw q=String(M),Error("Objects are not valid as a React child (found: "+(q==="[object Object]"?"object with keys {"+Object.keys(M).join(", ")+"}":q)+"). If you meant to render a collection of children, use an array instead.")}return oe}function F(M,q,ie){if(M==null)return M;var ne=[],Y=0;return X(M,ne,"","",function(pe){return q.call(ie,pe,Y++)}),ne}function H(M){if(M._status===-1){var q=M._result;q=q(),q.then(function(ie){(M._status===0||M._status===-1)&&(M._status=1,M._result=ie)},function(ie){(M._status===0||M._status===-1)&&(M._status=2,M._result=ie)}),M._status===-1&&(M._status=0,M._result=q)}if(M._status===1)return M._result.default;throw M._result}var $=typeof reportError=="function"?reportError:function(M){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var q=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof M=="object"&&M!==null&&typeof M.message=="string"?String(M.message):String(M),error:M});if(!window.dispatchEvent(q))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",M);return}console.error(M)};function V(){}return Me.Children={map:F,forEach:function(M,q,ie){F(M,function(){q.apply(this,arguments)},ie)},count:function(M){var q=0;return F(M,function(){q++}),q},toArray:function(M){return F(M,function(q){return q})||[]},only:function(M){if(!L(M))throw Error("React.Children.only expected to receive a single React element child.");return M}},Me.Component=S,Me.Fragment=n,Me.Profiler=r,Me.PureComponent=D,Me.StrictMode=i,Me.Suspense=f,Me.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=O,Me.__COMPILER_RUNTIME={__proto__:null,c:function(M){return O.H.useMemoCache(M)}},Me.cache=function(M){return function(){return M.apply(null,arguments)}},Me.cloneElement=function(M,q,ie){if(M==null)throw Error("The argument must be a React element, but you passed "+M+".");var ne=E({},M.props),Y=M.key,pe=void 0;if(q!=null)for(oe in q.ref!==void 0&&(pe=void 0),q.key!==void 0&&(Y=""+q.key),q)!k.call(q,oe)||oe==="key"||oe==="__self"||oe==="__source"||oe==="ref"&&q.ref===void 0||(ne[oe]=q[oe]);var oe=arguments.length-2;if(oe===1)ne.children=ie;else if(1<oe){for(var le=Array(oe),ue=0;ue<oe;ue++)le[ue]=arguments[ue+2];ne.children=le}return I(M.type,Y,void 0,void 0,pe,ne)},Me.createContext=function(M){return M={$$typeof:a,_currentValue:M,_currentValue2:M,_threadCount:0,Provider:null,Consumer:null},M.Provider=M,M.Consumer={$$typeof:o,_context:M},M},Me.createElement=function(M,q,ie){var ne,Y={},pe=null;if(q!=null)for(ne in q.key!==void 0&&(pe=""+q.key),q)k.call(q,ne)&&ne!=="key"&&ne!=="__self"&&ne!=="__source"&&(Y[ne]=q[ne]);var oe=arguments.length-2;if(oe===1)Y.children=ie;else if(1<oe){for(var le=Array(oe),ue=0;ue<oe;ue++)le[ue]=arguments[ue+2];Y.children=le}if(M&&M.defaultProps)for(ne in oe=M.defaultProps,oe)Y[ne]===void 0&&(Y[ne]=oe[ne]);return I(M,pe,void 0,void 0,null,Y)},Me.createRef=function(){return{current:null}},Me.forwardRef=function(M){return{$$typeof:c,render:M}},Me.isValidElement=L,Me.lazy=function(M){return{$$typeof:p,_payload:{_status:-1,_result:M},_init:H}},Me.memo=function(M,q){return{$$typeof:h,type:M,compare:q===void 0?null:q}},Me.startTransition=function(M){var q=O.T,ie={};O.T=ie;try{var ne=M(),Y=O.S;Y!==null&&Y(ie,ne),typeof ne=="object"&&ne!==null&&typeof ne.then=="function"&&ne.then(V,$)}catch(pe){$(pe)}finally{O.T=q}},Me.unstable_useCacheRefresh=function(){return O.H.useCacheRefresh()},Me.use=function(M){return O.H.use(M)},Me.useActionState=function(M,q,ie){return O.H.useActionState(M,q,ie)},Me.useCallback=function(M,q){return O.H.useCallback(M,q)},Me.useContext=function(M){return O.H.useContext(M)},Me.useDebugValue=function(){},Me.useDeferredValue=function(M,q){return O.H.useDeferredValue(M,q)},Me.useEffect=function(M,q,ie){var ne=O.H;if(typeof ie=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return ne.useEffect(M,q)},Me.useId=function(){return O.H.useId()},Me.useImperativeHandle=function(M,q,ie){return O.H.useImperativeHandle(M,q,ie)},Me.useInsertionEffect=function(M,q){return O.H.useInsertionEffect(M,q)},Me.useLayoutEffect=function(M,q){return O.H.useLayoutEffect(M,q)},Me.useMemo=function(M,q){return O.H.useMemo(M,q)},Me.useOptimistic=function(M,q){return O.H.useOptimistic(M,q)},Me.useReducer=function(M,q,ie){return O.H.useReducer(M,q,ie)},Me.useRef=function(M){return O.H.useRef(M)},Me.useState=function(M){return O.H.useState(M)},Me.useSyncExternalStore=function(M,q,ie){return O.H.useSyncExternalStore(M,q,ie)},Me.useTransition=function(){return O.H.useTransition()},Me.version="19.1.0",Me}var Z3;function Lc(){return Z3||(Z3=1,
|
|
18
|
+
*/var X3;function iw(){if(X3)return Me;X3=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),r=Symbol.for("react.profiler"),o=Symbol.for("react.consumer"),a=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),g=Symbol.iterator;function y(M){return M===null||typeof M!="object"?null:(M=g&&M[g]||M["@@iterator"],typeof M=="function"?M:null)}var v={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},E=Object.assign,T={};function S(M,q,ie){this.props=M,this.context=q,this.refs=T,this.updater=ie||v}S.prototype.isReactComponent={},S.prototype.setState=function(M,q){if(typeof M!="object"&&typeof M!="function"&&M!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,M,q,"setState")},S.prototype.forceUpdate=function(M){this.updater.enqueueForceUpdate(this,M,"forceUpdate")};function A(){}A.prototype=S.prototype;function D(M,q,ie){this.props=M,this.context=q,this.refs=T,this.updater=ie||v}var C=D.prototype=new A;C.constructor=D,E(C,S.prototype),C.isPureReactComponent=!0;var N=Array.isArray,O={H:null,A:null,T:null,S:null,V:null},k=Object.prototype.hasOwnProperty;function I(M,q,ie,ne,Y,pe){return ie=pe.ref,{$$typeof:e,type:M,key:q,ref:ie!==void 0?ie:null,props:pe}}function P(M,q){return I(M.type,q,void 0,void 0,void 0,M.props)}function L(M){return typeof M=="object"&&M!==null&&M.$$typeof===e}function B(M){var q={"=":"=0",":":"=2"};return"$"+M.replace(/[=:]/g,function(ie){return q[ie]})}var z=/\/+/g;function te(M,q){return typeof M=="object"&&M!==null&&M.key!=null?B(""+M.key):q.toString(36)}function re(){}function fe(M){switch(M.status){case"fulfilled":return M.value;case"rejected":throw M.reason;default:switch(typeof M.status=="string"?M.then(re,re):(M.status="pending",M.then(function(q){M.status==="pending"&&(M.status="fulfilled",M.value=q)},function(q){M.status==="pending"&&(M.status="rejected",M.reason=q)})),M.status){case"fulfilled":return M.value;case"rejected":throw M.reason}}throw M}function X(M,q,ie,ne,Y){var pe=typeof M;(pe==="undefined"||pe==="boolean")&&(M=null);var oe=!1;if(M===null)oe=!0;else switch(pe){case"bigint":case"string":case"number":oe=!0;break;case"object":switch(M.$$typeof){case e:case t:oe=!0;break;case p:return oe=M._init,X(oe(M._payload),q,ie,ne,Y)}}if(oe)return Y=Y(M),oe=ne===""?"."+te(M,0):ne,N(Y)?(ie="",oe!=null&&(ie=oe.replace(z,"$&/")+"/"),X(Y,q,ie,"",function(me){return me})):Y!=null&&(L(Y)&&(Y=P(Y,ie+(Y.key==null||M&&M.key===Y.key?"":(""+Y.key).replace(z,"$&/")+"/")+oe)),q.push(Y)),1;oe=0;var le=ne===""?".":ne+":";if(N(M))for(var ue=0;ue<M.length;ue++)ne=M[ue],pe=le+te(ne,ue),oe+=X(ne,q,ie,pe,Y);else if(ue=y(M),typeof ue=="function")for(M=ue.call(M),ue=0;!(ne=M.next()).done;)ne=ne.value,pe=le+te(ne,ue++),oe+=X(ne,q,ie,pe,Y);else if(pe==="object"){if(typeof M.then=="function")return X(fe(M),q,ie,ne,Y);throw q=String(M),Error("Objects are not valid as a React child (found: "+(q==="[object Object]"?"object with keys {"+Object.keys(M).join(", ")+"}":q)+"). If you meant to render a collection of children, use an array instead.")}return oe}function F(M,q,ie){if(M==null)return M;var ne=[],Y=0;return X(M,ne,"","",function(pe){return q.call(ie,pe,Y++)}),ne}function H(M){if(M._status===-1){var q=M._result;q=q(),q.then(function(ie){(M._status===0||M._status===-1)&&(M._status=1,M._result=ie)},function(ie){(M._status===0||M._status===-1)&&(M._status=2,M._result=ie)}),M._status===-1&&(M._status=0,M._result=q)}if(M._status===1)return M._result.default;throw M._result}var $=typeof reportError=="function"?reportError:function(M){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var q=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof M=="object"&&M!==null&&typeof M.message=="string"?String(M.message):String(M),error:M});if(!window.dispatchEvent(q))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",M);return}console.error(M)};function V(){}return Me.Children={map:F,forEach:function(M,q,ie){F(M,function(){q.apply(this,arguments)},ie)},count:function(M){var q=0;return F(M,function(){q++}),q},toArray:function(M){return F(M,function(q){return q})||[]},only:function(M){if(!L(M))throw Error("React.Children.only expected to receive a single React element child.");return M}},Me.Component=S,Me.Fragment=n,Me.Profiler=r,Me.PureComponent=D,Me.StrictMode=i,Me.Suspense=f,Me.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=O,Me.__COMPILER_RUNTIME={__proto__:null,c:function(M){return O.H.useMemoCache(M)}},Me.cache=function(M){return function(){return M.apply(null,arguments)}},Me.cloneElement=function(M,q,ie){if(M==null)throw Error("The argument must be a React element, but you passed "+M+".");var ne=E({},M.props),Y=M.key,pe=void 0;if(q!=null)for(oe in q.ref!==void 0&&(pe=void 0),q.key!==void 0&&(Y=""+q.key),q)!k.call(q,oe)||oe==="key"||oe==="__self"||oe==="__source"||oe==="ref"&&q.ref===void 0||(ne[oe]=q[oe]);var oe=arguments.length-2;if(oe===1)ne.children=ie;else if(1<oe){for(var le=Array(oe),ue=0;ue<oe;ue++)le[ue]=arguments[ue+2];ne.children=le}return I(M.type,Y,void 0,void 0,pe,ne)},Me.createContext=function(M){return M={$$typeof:a,_currentValue:M,_currentValue2:M,_threadCount:0,Provider:null,Consumer:null},M.Provider=M,M.Consumer={$$typeof:o,_context:M},M},Me.createElement=function(M,q,ie){var ne,Y={},pe=null;if(q!=null)for(ne in q.key!==void 0&&(pe=""+q.key),q)k.call(q,ne)&&ne!=="key"&&ne!=="__self"&&ne!=="__source"&&(Y[ne]=q[ne]);var oe=arguments.length-2;if(oe===1)Y.children=ie;else if(1<oe){for(var le=Array(oe),ue=0;ue<oe;ue++)le[ue]=arguments[ue+2];Y.children=le}if(M&&M.defaultProps)for(ne in oe=M.defaultProps,oe)Y[ne]===void 0&&(Y[ne]=oe[ne]);return I(M,pe,void 0,void 0,null,Y)},Me.createRef=function(){return{current:null}},Me.forwardRef=function(M){return{$$typeof:c,render:M}},Me.isValidElement=L,Me.lazy=function(M){return{$$typeof:p,_payload:{_status:-1,_result:M},_init:H}},Me.memo=function(M,q){return{$$typeof:h,type:M,compare:q===void 0?null:q}},Me.startTransition=function(M){var q=O.T,ie={};O.T=ie;try{var ne=M(),Y=O.S;Y!==null&&Y(ie,ne),typeof ne=="object"&&ne!==null&&typeof ne.then=="function"&&ne.then(V,$)}catch(pe){$(pe)}finally{O.T=q}},Me.unstable_useCacheRefresh=function(){return O.H.useCacheRefresh()},Me.use=function(M){return O.H.use(M)},Me.useActionState=function(M,q,ie){return O.H.useActionState(M,q,ie)},Me.useCallback=function(M,q){return O.H.useCallback(M,q)},Me.useContext=function(M){return O.H.useContext(M)},Me.useDebugValue=function(){},Me.useDeferredValue=function(M,q){return O.H.useDeferredValue(M,q)},Me.useEffect=function(M,q,ie){var ne=O.H;if(typeof ie=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return ne.useEffect(M,q)},Me.useId=function(){return O.H.useId()},Me.useImperativeHandle=function(M,q,ie){return O.H.useImperativeHandle(M,q,ie)},Me.useInsertionEffect=function(M,q){return O.H.useInsertionEffect(M,q)},Me.useLayoutEffect=function(M,q){return O.H.useLayoutEffect(M,q)},Me.useMemo=function(M,q){return O.H.useMemo(M,q)},Me.useOptimistic=function(M,q){return O.H.useOptimistic(M,q)},Me.useReducer=function(M,q,ie){return O.H.useReducer(M,q,ie)},Me.useRef=function(M){return O.H.useRef(M)},Me.useState=function(M){return O.H.useState(M)},Me.useSyncExternalStore=function(M,q,ie){return O.H.useSyncExternalStore(M,q,ie)},Me.useTransition=function(){return O.H.useTransition()},Me.version="19.1.0",Me}var Z3;function Lc(){return Z3||(Z3=1,i1.exports=iw()),i1.exports}var x=Lc();const ke=Wo(x),uc=ew({__proto__:null,default:ke},[x]);var r1={exports:{}},Il={},u1={exports:{}},o1={};/**
|
|
19
19
|
* @license React
|
|
20
20
|
* scheduler.production.js
|
|
21
21
|
*
|
|
@@ -23,7 +23,7 @@ function ew(e,t){for(var n=0;n<t.length;n++){const i=t[n];if(typeof i!="string"&
|
|
|
23
23
|
*
|
|
24
24
|
* This source code is licensed under the MIT license found in the
|
|
25
25
|
* LICENSE file in the root directory of this source tree.
|
|
26
|
-
*/var W3;function rw(){return W3||(W3=1,function(e){function t(F,H){var $=F.length;F.push(H);e:for(;0<$;){var V=$-1>>>1,M=F[V];if(0<r(M,H))F[V]=H,F[$]=M,$=V;else break e}}function n(F){return F.length===0?null:F[0]}function i(F){if(F.length===0)return null;var H=F[0],$=F.pop();if($!==H){F[0]=$;e:for(var V=0,M=F.length,q=M>>>1;V<q;){var ie=2*(V+1)-1,ne=F[ie],Y=ie+1,pe=F[Y];if(0>r(ne,$))Y<M&&0>r(pe,ne)?(F[V]=pe,F[Y]=$,V=Y):(F[V]=ne,F[ie]=$,V=ie);else if(Y<M&&0>r(pe,$))F[V]=pe,F[Y]=$,V=Y;else break e}}return H}function r(F,H){var $=F.sortIndex-H.sortIndex;return $!==0?$:F.id-H.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var a=Date,c=a.now();e.unstable_now=function(){return a.now()-c}}var f=[],h=[],p=1,g=null,y=3,v=!1,E=!1,T=!1,S=!1,A=typeof setTimeout=="function"?setTimeout:null,D=typeof clearTimeout=="function"?clearTimeout:null,C=typeof setImmediate<"u"?setImmediate:null;function N(F){for(var H=n(h);H!==null;){if(H.callback===null)i(h);else if(H.startTime<=F)i(h),H.sortIndex=H.expirationTime,t(f,H);else break;H=n(h)}}function O(F){if(T=!1,N(F),!E)if(n(f)!==null)E=!0,k||(k=!0,te());else{var H=n(h);H!==null&&X(O,H.startTime-F)}}var k=!1,I=-1,P=5,L=-1;function B(){return S?!0:!(e.unstable_now()-L<P)}function z(){if(S=!1,k){var F=e.unstable_now();L=F;var H=!0;try{e:{E=!1,T&&(T=!1,D(I),I=-1),v=!0;var $=y;try{t:{for(N(F),g=n(f);g!==null&&!(g.expirationTime>F&&B());){var V=g.callback;if(typeof V=="function"){g.callback=null,y=g.priorityLevel;var M=V(g.expirationTime<=F);if(F=e.unstable_now(),typeof M=="function"){g.callback=M,N(F),H=!0;break t}g===n(f)&&i(f),N(F)}else i(f);g=n(f)}if(g!==null)H=!0;else{var q=n(h);q!==null&&X(O,q.startTime-F),H=!1}}break e}finally{g=null,y=$,v=!1}H=void 0}}finally{H?te():k=!1}}}var te;if(typeof C=="function")te=function(){C(z)};else if(typeof MessageChannel<"u"){var re=new MessageChannel,fe=re.port2;re.port1.onmessage=z,te=function(){fe.postMessage(null)}}else te=function(){A(z,0)};function X(F,H){I=A(function(){F(e.unstable_now())},H)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(F){F.callback=null},e.unstable_forceFrameRate=function(F){0>F||125<F?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):P=0<F?Math.floor(1e3/F):5},e.unstable_getCurrentPriorityLevel=function(){return y},e.unstable_next=function(F){switch(y){case 1:case 2:case 3:var H=3;break;default:H=y}var $=y;y=H;try{return F()}finally{y=$}},e.unstable_requestPaint=function(){S=!0},e.unstable_runWithPriority=function(F,H){switch(F){case 1:case 2:case 3:case 4:case 5:break;default:F=3}var $=y;y=F;try{return H()}finally{y=$}},e.unstable_scheduleCallback=function(F,H,$){var V=e.unstable_now();switch(typeof $=="object"&&$!==null?($=$.delay,$=typeof $=="number"&&0<$?V+$:V):$=V,F){case 1:var M=-1;break;case 2:M=250;break;case 5:M=1073741823;break;case 4:M=1e4;break;default:M=5e3}return M=$+M,F={id:p++,callback:H,priorityLevel:F,startTime:$,expirationTime:M,sortIndex:-1},$>V?(F.sortIndex=$,t(h,F),n(f)===null&&F===n(h)&&(T?(D(I),I=-1):T=!0,X(O,$-V))):(F.sortIndex=M,t(f,F),E||v||(E=!0,k||(k=!0,te()))),F},e.unstable_shouldYield=B,e.unstable_wrapCallback=function(F){var H=y;return function(){var $=y;y=H;try{return F.apply(this,arguments)}finally{y=$}}}}(
|
|
26
|
+
*/var W3;function rw(){return W3||(W3=1,function(e){function t(F,H){var $=F.length;F.push(H);e:for(;0<$;){var V=$-1>>>1,M=F[V];if(0<r(M,H))F[V]=H,F[$]=M,$=V;else break e}}function n(F){return F.length===0?null:F[0]}function i(F){if(F.length===0)return null;var H=F[0],$=F.pop();if($!==H){F[0]=$;e:for(var V=0,M=F.length,q=M>>>1;V<q;){var ie=2*(V+1)-1,ne=F[ie],Y=ie+1,pe=F[Y];if(0>r(ne,$))Y<M&&0>r(pe,ne)?(F[V]=pe,F[Y]=$,V=Y):(F[V]=ne,F[ie]=$,V=ie);else if(Y<M&&0>r(pe,$))F[V]=pe,F[Y]=$,V=Y;else break e}}return H}function r(F,H){var $=F.sortIndex-H.sortIndex;return $!==0?$:F.id-H.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var a=Date,c=a.now();e.unstable_now=function(){return a.now()-c}}var f=[],h=[],p=1,g=null,y=3,v=!1,E=!1,T=!1,S=!1,A=typeof setTimeout=="function"?setTimeout:null,D=typeof clearTimeout=="function"?clearTimeout:null,C=typeof setImmediate<"u"?setImmediate:null;function N(F){for(var H=n(h);H!==null;){if(H.callback===null)i(h);else if(H.startTime<=F)i(h),H.sortIndex=H.expirationTime,t(f,H);else break;H=n(h)}}function O(F){if(T=!1,N(F),!E)if(n(f)!==null)E=!0,k||(k=!0,te());else{var H=n(h);H!==null&&X(O,H.startTime-F)}}var k=!1,I=-1,P=5,L=-1;function B(){return S?!0:!(e.unstable_now()-L<P)}function z(){if(S=!1,k){var F=e.unstable_now();L=F;var H=!0;try{e:{E=!1,T&&(T=!1,D(I),I=-1),v=!0;var $=y;try{t:{for(N(F),g=n(f);g!==null&&!(g.expirationTime>F&&B());){var V=g.callback;if(typeof V=="function"){g.callback=null,y=g.priorityLevel;var M=V(g.expirationTime<=F);if(F=e.unstable_now(),typeof M=="function"){g.callback=M,N(F),H=!0;break t}g===n(f)&&i(f),N(F)}else i(f);g=n(f)}if(g!==null)H=!0;else{var q=n(h);q!==null&&X(O,q.startTime-F),H=!1}}break e}finally{g=null,y=$,v=!1}H=void 0}}finally{H?te():k=!1}}}var te;if(typeof C=="function")te=function(){C(z)};else if(typeof MessageChannel<"u"){var re=new MessageChannel,fe=re.port2;re.port1.onmessage=z,te=function(){fe.postMessage(null)}}else te=function(){A(z,0)};function X(F,H){I=A(function(){F(e.unstable_now())},H)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(F){F.callback=null},e.unstable_forceFrameRate=function(F){0>F||125<F?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):P=0<F?Math.floor(1e3/F):5},e.unstable_getCurrentPriorityLevel=function(){return y},e.unstable_next=function(F){switch(y){case 1:case 2:case 3:var H=3;break;default:H=y}var $=y;y=H;try{return F()}finally{y=$}},e.unstable_requestPaint=function(){S=!0},e.unstable_runWithPriority=function(F,H){switch(F){case 1:case 2:case 3:case 4:case 5:break;default:F=3}var $=y;y=F;try{return H()}finally{y=$}},e.unstable_scheduleCallback=function(F,H,$){var V=e.unstable_now();switch(typeof $=="object"&&$!==null?($=$.delay,$=typeof $=="number"&&0<$?V+$:V):$=V,F){case 1:var M=-1;break;case 2:M=250;break;case 5:M=1073741823;break;case 4:M=1e4;break;default:M=5e3}return M=$+M,F={id:p++,callback:H,priorityLevel:F,startTime:$,expirationTime:M,sortIndex:-1},$>V?(F.sortIndex=$,t(h,F),n(f)===null&&F===n(h)&&(T?(D(I),I=-1):T=!0,X(O,$-V))):(F.sortIndex=M,t(f,F),E||v||(E=!0,k||(k=!0,te()))),F},e.unstable_shouldYield=B,e.unstable_wrapCallback=function(F){var H=y;return function(){var $=y;y=H;try{return F.apply(this,arguments)}finally{y=$}}}}(o1)),o1}var K3;function uw(){return K3||(K3=1,u1.exports=rw()),u1.exports}var s1={exports:{}},Tn={};/**
|
|
27
27
|
* @license React
|
|
28
28
|
* react-dom.production.js
|
|
29
29
|
*
|
|
@@ -31,7 +31,7 @@ function ew(e,t){for(var n=0;n<t.length;n++){const i=t[n];if(typeof i!="string"&
|
|
|
31
31
|
*
|
|
32
32
|
* This source code is licensed under the MIT license found in the
|
|
33
33
|
* LICENSE file in the root directory of this source tree.
|
|
34
|
-
*/var J3;function ow(){if(J3)return Tn;J3=1;var e=Lc();function t(f){var h="https://react.dev/errors/"+f;if(1<arguments.length){h+="?args[]="+encodeURIComponent(arguments[1]);for(var p=2;p<arguments.length;p++)h+="&args[]="+encodeURIComponent(arguments[p])}return"Minified React error #"+f+"; visit "+h+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function n(){}var i={d:{f:n,r:function(){throw Error(t(522))},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},r=Symbol.for("react.portal");function o(f,h,p){var g=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:r,key:g==null?null:""+g,children:f,containerInfo:h,implementation:p}}var a=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function c(f,h){if(f==="font")return"";if(typeof h=="string")return h==="use-credentials"?h:""}return Tn.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,Tn.createPortal=function(f,h){var p=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!h||h.nodeType!==1&&h.nodeType!==9&&h.nodeType!==11)throw Error(t(299));return o(f,h,null,p)},Tn.flushSync=function(f){var h=a.T,p=i.p;try{if(a.T=null,i.p=2,f)return f()}finally{a.T=h,i.p=p,i.d.f()}},Tn.preconnect=function(f,h){typeof f=="string"&&(h?(h=h.crossOrigin,h=typeof h=="string"?h==="use-credentials"?h:"":void 0):h=null,i.d.C(f,h))},Tn.prefetchDNS=function(f){typeof f=="string"&&i.d.D(f)},Tn.preinit=function(f,h){if(typeof f=="string"&&h&&typeof h.as=="string"){var p=h.as,g=c(p,h.crossOrigin),y=typeof h.integrity=="string"?h.integrity:void 0,v=typeof h.fetchPriority=="string"?h.fetchPriority:void 0;p==="style"?i.d.S(f,typeof h.precedence=="string"?h.precedence:void 0,{crossOrigin:g,integrity:y,fetchPriority:v}):p==="script"&&i.d.X(f,{crossOrigin:g,integrity:y,fetchPriority:v,nonce:typeof h.nonce=="string"?h.nonce:void 0})}},Tn.preinitModule=function(f,h){if(typeof f=="string")if(typeof h=="object"&&h!==null){if(h.as==null||h.as==="script"){var p=c(h.as,h.crossOrigin);i.d.M(f,{crossOrigin:p,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0})}}else h==null&&i.d.M(f)},Tn.preload=function(f,h){if(typeof f=="string"&&typeof h=="object"&&h!==null&&typeof h.as=="string"){var p=h.as,g=c(p,h.crossOrigin);i.d.L(f,p,{crossOrigin:g,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0,type:typeof h.type=="string"?h.type:void 0,fetchPriority:typeof h.fetchPriority=="string"?h.fetchPriority:void 0,referrerPolicy:typeof h.referrerPolicy=="string"?h.referrerPolicy:void 0,imageSrcSet:typeof h.imageSrcSet=="string"?h.imageSrcSet:void 0,imageSizes:typeof h.imageSizes=="string"?h.imageSizes:void 0,media:typeof h.media=="string"?h.media:void 0})}},Tn.preloadModule=function(f,h){if(typeof f=="string")if(h){var p=c(h.as,h.crossOrigin);i.d.m(f,{as:typeof h.as=="string"&&h.as!=="script"?h.as:void 0,crossOrigin:p,integrity:typeof h.integrity=="string"?h.integrity:void 0})}else i.d.m(f)},Tn.requestFormReset=function(f){i.d.r(f)},Tn.unstable_batchedUpdates=function(f,h){return f(h)},Tn.useFormState=function(f,h,p){return a.H.useFormState(f,h,p)},Tn.useFormStatus=function(){return a.H.useHostTransitionStatus()},Tn.version="19.1.0",Tn}var ex;function x5(){if(ex)return
|
|
34
|
+
*/var J3;function ow(){if(J3)return Tn;J3=1;var e=Lc();function t(f){var h="https://react.dev/errors/"+f;if(1<arguments.length){h+="?args[]="+encodeURIComponent(arguments[1]);for(var p=2;p<arguments.length;p++)h+="&args[]="+encodeURIComponent(arguments[p])}return"Minified React error #"+f+"; visit "+h+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function n(){}var i={d:{f:n,r:function(){throw Error(t(522))},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},r=Symbol.for("react.portal");function o(f,h,p){var g=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:r,key:g==null?null:""+g,children:f,containerInfo:h,implementation:p}}var a=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function c(f,h){if(f==="font")return"";if(typeof h=="string")return h==="use-credentials"?h:""}return Tn.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,Tn.createPortal=function(f,h){var p=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!h||h.nodeType!==1&&h.nodeType!==9&&h.nodeType!==11)throw Error(t(299));return o(f,h,null,p)},Tn.flushSync=function(f){var h=a.T,p=i.p;try{if(a.T=null,i.p=2,f)return f()}finally{a.T=h,i.p=p,i.d.f()}},Tn.preconnect=function(f,h){typeof f=="string"&&(h?(h=h.crossOrigin,h=typeof h=="string"?h==="use-credentials"?h:"":void 0):h=null,i.d.C(f,h))},Tn.prefetchDNS=function(f){typeof f=="string"&&i.d.D(f)},Tn.preinit=function(f,h){if(typeof f=="string"&&h&&typeof h.as=="string"){var p=h.as,g=c(p,h.crossOrigin),y=typeof h.integrity=="string"?h.integrity:void 0,v=typeof h.fetchPriority=="string"?h.fetchPriority:void 0;p==="style"?i.d.S(f,typeof h.precedence=="string"?h.precedence:void 0,{crossOrigin:g,integrity:y,fetchPriority:v}):p==="script"&&i.d.X(f,{crossOrigin:g,integrity:y,fetchPriority:v,nonce:typeof h.nonce=="string"?h.nonce:void 0})}},Tn.preinitModule=function(f,h){if(typeof f=="string")if(typeof h=="object"&&h!==null){if(h.as==null||h.as==="script"){var p=c(h.as,h.crossOrigin);i.d.M(f,{crossOrigin:p,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0})}}else h==null&&i.d.M(f)},Tn.preload=function(f,h){if(typeof f=="string"&&typeof h=="object"&&h!==null&&typeof h.as=="string"){var p=h.as,g=c(p,h.crossOrigin);i.d.L(f,p,{crossOrigin:g,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0,type:typeof h.type=="string"?h.type:void 0,fetchPriority:typeof h.fetchPriority=="string"?h.fetchPriority:void 0,referrerPolicy:typeof h.referrerPolicy=="string"?h.referrerPolicy:void 0,imageSrcSet:typeof h.imageSrcSet=="string"?h.imageSrcSet:void 0,imageSizes:typeof h.imageSizes=="string"?h.imageSizes:void 0,media:typeof h.media=="string"?h.media:void 0})}},Tn.preloadModule=function(f,h){if(typeof f=="string")if(h){var p=c(h.as,h.crossOrigin);i.d.m(f,{as:typeof h.as=="string"&&h.as!=="script"?h.as:void 0,crossOrigin:p,integrity:typeof h.integrity=="string"?h.integrity:void 0})}else i.d.m(f)},Tn.requestFormReset=function(f){i.d.r(f)},Tn.unstable_batchedUpdates=function(f,h){return f(h)},Tn.useFormState=function(f,h,p){return a.H.useFormState(f,h,p)},Tn.useFormStatus=function(){return a.H.useHostTransitionStatus()},Tn.version="19.1.0",Tn}var ex;function x5(){if(ex)return s1.exports;ex=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),s1.exports=ow(),s1.exports}/**
|
|
35
35
|
* @license React
|
|
36
36
|
* react-dom-client.production.js
|
|
37
37
|
*
|
|
@@ -39,23 +39,23 @@ function ew(e,t){for(var n=0;n<t.length;n++){const i=t[n];if(typeof i!="string"&
|
|
|
39
39
|
*
|
|
40
40
|
* This source code is licensed under the MIT license found in the
|
|
41
41
|
* LICENSE file in the root directory of this source tree.
|
|
42
|
-
*/var tx;function sw(){if(tx)return Il;tx=1;var e=uw(),t=Lc(),n=x5();function i(u){var s="https://react.dev/errors/"+u;if(1<arguments.length){s+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)s+="&args[]="+encodeURIComponent(arguments[l])}return"Minified React error #"+u+"; visit "+s+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(u){return!(!u||u.nodeType!==1&&u.nodeType!==9&&u.nodeType!==11)}function o(u){var s=u,l=u;if(u.alternate)for(;s.return;)s=s.return;else{u=s;do s=u,(s.flags&4098)!==0&&(l=s.return),u=s.return;while(u)}return s.tag===3?l:null}function a(u){if(u.tag===13){var s=u.memoizedState;if(s===null&&(u=u.alternate,u!==null&&(s=u.memoizedState)),s!==null)return s.dehydrated}return null}function c(u){if(o(u)!==u)throw Error(i(188))}function f(u){var s=u.alternate;if(!s){if(s=o(u),s===null)throw Error(i(188));return s!==u?null:u}for(var l=u,d=s;;){var m=l.return;if(m===null)break;var b=m.alternate;if(b===null){if(d=m.return,d!==null){l=d;continue}break}if(m.child===b.child){for(b=m.child;b;){if(b===l)return c(m),u;if(b===d)return c(m),s;b=b.sibling}throw Error(i(188))}if(l.return!==d.return)l=m,d=b;else{for(var w=!1,R=m.child;R;){if(R===l){w=!0,l=m,d=b;break}if(R===d){w=!0,d=m,l=b;break}R=R.sibling}if(!w){for(R=b.child;R;){if(R===l){w=!0,l=b,d=m;break}if(R===d){w=!0,d=b,l=m;break}R=R.sibling}if(!w)throw Error(i(189))}}if(l.alternate!==d)throw Error(i(190))}if(l.tag!==3)throw Error(i(188));return l.stateNode.current===l?u:s}function h(u){var s=u.tag;if(s===5||s===26||s===27||s===6)return u;for(u=u.child;u!==null;){if(s=h(u),s!==null)return s;u=u.sibling}return null}var p=Object.assign,g=Symbol.for("react.element"),y=Symbol.for("react.transitional.element"),v=Symbol.for("react.portal"),E=Symbol.for("react.fragment"),T=Symbol.for("react.strict_mode"),S=Symbol.for("react.profiler"),A=Symbol.for("react.provider"),D=Symbol.for("react.consumer"),C=Symbol.for("react.context"),N=Symbol.for("react.forward_ref"),O=Symbol.for("react.suspense"),k=Symbol.for("react.suspense_list"),I=Symbol.for("react.memo"),P=Symbol.for("react.lazy"),L=Symbol.for("react.activity"),B=Symbol.for("react.memo_cache_sentinel"),z=Symbol.iterator;function te(u){return u===null||typeof u!="object"?null:(u=z&&u[z]||u["@@iterator"],typeof u=="function"?u:null)}var re=Symbol.for("react.client.reference");function fe(u){if(u==null)return null;if(typeof u=="function")return u.$$typeof===re?null:u.displayName||u.name||null;if(typeof u=="string")return u;switch(u){case E:return"Fragment";case S:return"Profiler";case T:return"StrictMode";case O:return"Suspense";case k:return"SuspenseList";case L:return"Activity"}if(typeof u=="object")switch(u.$$typeof){case v:return"Portal";case C:return(u.displayName||"Context")+".Provider";case D:return(u._context.displayName||"Context")+".Consumer";case N:var s=u.render;return u=u.displayName,u||(u=s.displayName||s.name||"",u=u!==""?"ForwardRef("+u+")":"ForwardRef"),u;case I:return s=u.displayName||null,s!==null?s:fe(u.type)||"Memo";case P:s=u._payload,u=u._init;try{return fe(u(s))}catch{}}return null}var X=Array.isArray,F=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,H=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,$={pending:!1,data:null,method:null,action:null},V=[],M=-1;function q(u){return{current:u}}function ie(u){0>M||(u.current=V[M],V[M]=null,M--)}function ne(u,s){M++,V[M]=u.current,u.current=s}var Y=q(null),pe=q(null),oe=q(null),le=q(null);function ue(u,s){switch(ne(oe,s),ne(pe,u),ne(Y,null),s.nodeType){case 9:case 11:u=(u=s.documentElement)&&(u=u.namespaceURI)?E3(u):0;break;default:if(u=s.tagName,s=s.namespaceURI)s=E3(s),u=T3(s,u);else switch(u){case"svg":u=1;break;case"math":u=2;break;default:u=0}}ie(Y),ne(Y,u)}function me(){ie(Y),ie(pe),ie(oe)}function ve(u){u.memoizedState!==null&&ne(le,u);var s=Y.current,l=T3(s,u.type);s!==l&&(ne(pe,u),ne(Y,l))}function He(u){pe.current===u&&(ie(Y),ie(pe)),le.current===u&&(ie(le),Nl._currentValue=$)}var lt=Object.prototype.hasOwnProperty,Te=e.unstable_scheduleCallback,At=e.unstable_cancelCallback,In=e.unstable_shouldYield,cn=e.unstable_requestPaint,nt=e.unstable_now,De=e.unstable_getCurrentPriorityLevel,qe=e.unstable_ImmediatePriority,Ne=e.unstable_UserBlockingPriority,ct=e.unstable_NormalPriority,ut=e.unstable_LowPriority,Ye=e.unstable_IdlePriority,fn=e.log,Qe=e.unstable_setDisableYieldValue,$t=null,kt=null;function Fn(u){if(typeof fn=="function"&&Qe(u),kt&&typeof kt.setStrictMode=="function")try{kt.setStrictMode($t,u)}catch{}}var Ut=Math.clz32?Math.clz32:ss,bu=Math.log,th=Math.LN2;function ss(u){return u>>>=0,u===0?32:31-(bu(u)/th|0)|0}var xu=256,Mi=4194304;function jn(u){var s=u&42;if(s!==0)return s;switch(u&-u){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return u&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return u&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return u}}function ki(u,s,l){var d=u.pendingLanes;if(d===0)return 0;var m=0,b=u.suspendedLanes,w=u.pingedLanes;u=u.warmLanes;var R=d&134217727;return R!==0?(d=R&~b,d!==0?m=jn(d):(w&=R,w!==0?m=jn(w):l||(l=R&~u,l!==0&&(m=jn(l))))):(R=d&~b,R!==0?m=jn(R):w!==0?m=jn(w):l||(l=d&~u,l!==0&&(m=jn(l)))),m===0?0:s!==0&&s!==m&&(s&b)===0&&(b=m&-m,l=s&-s,b>=l||b===32&&(l&4194048)!==0)?s:m}function tr(u,s){return(u.pendingLanes&~(u.suspendedLanes&~u.pingedLanes)&s)===0}function as(u,s){switch(u){case 1:case 2:case 4:case 8:case 64:return s+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return s+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function kr(){var u=xu;return xu<<=1,(xu&4194048)===0&&(xu=256),u}function fo(){var u=Mi;return Mi<<=1,(Mi&62914560)===0&&(Mi=4194304),u}function nr(u){for(var s=[],l=0;31>l;l++)s.push(u);return s}function di(u,s){u.pendingLanes|=s,s!==268435456&&(u.suspendedLanes=0,u.pingedLanes=0,u.warmLanes=0)}function Eu(u,s,l,d,m,b){var w=u.pendingLanes;u.pendingLanes=l,u.suspendedLanes=0,u.pingedLanes=0,u.warmLanes=0,u.expiredLanes&=l,u.entangledLanes&=l,u.errorRecoveryDisabledLanes&=l,u.shellSuspendCounter=0;var R=u.entanglements,j=u.expirationTimes,Z=u.hiddenUpdates;for(l=w&~l;0<l;){var se=31-Ut(l),de=1<<se;R[se]=0,j[se]=-1;var J=Z[se];if(J!==null)for(Z[se]=null,se=0;se<J.length;se++){var ee=J[se];ee!==null&&(ee.lane&=-536870913)}l&=~de}d!==0&&Lr(u,d,0),b!==0&&m===0&&u.tag!==0&&(u.suspendedLanes|=b&~(w&~s))}function Lr(u,s,l){u.pendingLanes|=s,u.suspendedLanes&=~s;var d=31-Ut(s);u.entangledLanes|=s,u.entanglements[d]=u.entanglements[d]|1073741824|l&4194090}function uf(u,s){var l=u.entangledLanes|=s;for(u=u.entanglements;l;){var d=31-Ut(l),m=1<<d;m&s|u[d]&s&&(u[d]|=s),l&=~m}}function Fa(u){switch(u){case 2:u=1;break;case 8:u=4;break;case 32:u=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:u=128;break;case 268435456:u=134217728;break;default:u=0}return u}function ir(u){return u&=-u,2<u?8<u?(u&134217727)!==0?32:268435456:8:2}function Ir(){var u=H.p;return u!==0?u:(u=window.event,u===void 0?32:$3(u.type))}function ls(u,s){var l=H.p;try{return H.p=u,s()}finally{H.p=l}}var Cn=Math.random().toString(36).slice(2),_t="__reactFiber$"+Cn,Jt="__reactProps$"+Cn,Tu="__reactContainer$"+Cn,rr="__reactEvents$"+Cn,cs="__reactListeners$"+Cn,Su="__reactHandles$"+Cn,Fr="__reactResources$"+Cn,hi="__reactMarker$"+Cn;function ja(u){delete u[_t],delete u[Jt],delete u[rr],delete u[cs],delete u[Su]}function ur(u){var s=u[_t];if(s)return s;for(var l=u.parentNode;l;){if(s=l[Tu]||l[_t]){if(l=s.alternate,s.child!==null||l!==null&&l.child!==null)for(u=A3(u);u!==null;){if(l=u[_t])return l;u=A3(u)}return s}u=l,l=u.parentNode}return null}function Yn(u){if(u=u[_t]||u[Tu]){var s=u.tag;if(s===5||s===6||s===13||s===26||s===27||s===3)return u}return null}function pi(u){var s=u.tag;if(s===5||s===26||s===27||s===6)return u.stateNode;throw Error(i(33))}function Qn(u){var s=u[Fr];return s||(s=u[Fr]={hoistableStyles:new Map,hoistableScripts:new Map}),s}function wt(u){u[hi]=!0}var fs=new Set,jr={};function Pn(u,s){Xn(u,s),Xn(u+"Capture",s)}function Xn(u,s){for(jr[u]=s,u=0;u<s.length;u++)fs.add(s[u])}var _u=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Pr={},ds={};function Pa(u){return lt.call(ds,u)?!0:lt.call(Pr,u)?!1:_u.test(u)?ds[u]=!0:(Pr[u]=!0,!1)}function Li(u,s,l){if(Pa(s))if(l===null)u.removeAttribute(s);else{switch(typeof l){case"undefined":case"function":case"symbol":u.removeAttribute(s);return;case"boolean":var d=s.toLowerCase().slice(0,5);if(d!=="data-"&&d!=="aria-"){u.removeAttribute(s);return}}u.setAttribute(s,""+l)}}function Ii(u,s,l){if(l===null)u.removeAttribute(s);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":u.removeAttribute(s);return}u.setAttribute(s,""+l)}}function xn(u,s,l,d){if(d===null)u.removeAttribute(l);else{switch(typeof d){case"undefined":case"function":case"symbol":case"boolean":u.removeAttribute(l);return}u.setAttributeNS(s,l,""+d)}}var or,Vr;function Zn(u){if(or===void 0)try{throw Error()}catch(l){var s=l.stack.trim().match(/\n( *(at )?)/);or=s&&s[1]||"",Vr=-1<l.stack.indexOf(`
|
|
42
|
+
*/var tx;function sw(){if(tx)return Il;tx=1;var e=uw(),t=Lc(),n=x5();function i(u){var s="https://react.dev/errors/"+u;if(1<arguments.length){s+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)s+="&args[]="+encodeURIComponent(arguments[l])}return"Minified React error #"+u+"; visit "+s+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(u){return!(!u||u.nodeType!==1&&u.nodeType!==9&&u.nodeType!==11)}function o(u){var s=u,l=u;if(u.alternate)for(;s.return;)s=s.return;else{u=s;do s=u,(s.flags&4098)!==0&&(l=s.return),u=s.return;while(u)}return s.tag===3?l:null}function a(u){if(u.tag===13){var s=u.memoizedState;if(s===null&&(u=u.alternate,u!==null&&(s=u.memoizedState)),s!==null)return s.dehydrated}return null}function c(u){if(o(u)!==u)throw Error(i(188))}function f(u){var s=u.alternate;if(!s){if(s=o(u),s===null)throw Error(i(188));return s!==u?null:u}for(var l=u,d=s;;){var m=l.return;if(m===null)break;var b=m.alternate;if(b===null){if(d=m.return,d!==null){l=d;continue}break}if(m.child===b.child){for(b=m.child;b;){if(b===l)return c(m),u;if(b===d)return c(m),s;b=b.sibling}throw Error(i(188))}if(l.return!==d.return)l=m,d=b;else{for(var w=!1,R=m.child;R;){if(R===l){w=!0,l=m,d=b;break}if(R===d){w=!0,d=m,l=b;break}R=R.sibling}if(!w){for(R=b.child;R;){if(R===l){w=!0,l=b,d=m;break}if(R===d){w=!0,d=b,l=m;break}R=R.sibling}if(!w)throw Error(i(189))}}if(l.alternate!==d)throw Error(i(190))}if(l.tag!==3)throw Error(i(188));return l.stateNode.current===l?u:s}function h(u){var s=u.tag;if(s===5||s===26||s===27||s===6)return u;for(u=u.child;u!==null;){if(s=h(u),s!==null)return s;u=u.sibling}return null}var p=Object.assign,g=Symbol.for("react.element"),y=Symbol.for("react.transitional.element"),v=Symbol.for("react.portal"),E=Symbol.for("react.fragment"),T=Symbol.for("react.strict_mode"),S=Symbol.for("react.profiler"),A=Symbol.for("react.provider"),D=Symbol.for("react.consumer"),C=Symbol.for("react.context"),N=Symbol.for("react.forward_ref"),O=Symbol.for("react.suspense"),k=Symbol.for("react.suspense_list"),I=Symbol.for("react.memo"),P=Symbol.for("react.lazy"),L=Symbol.for("react.activity"),B=Symbol.for("react.memo_cache_sentinel"),z=Symbol.iterator;function te(u){return u===null||typeof u!="object"?null:(u=z&&u[z]||u["@@iterator"],typeof u=="function"?u:null)}var re=Symbol.for("react.client.reference");function fe(u){if(u==null)return null;if(typeof u=="function")return u.$$typeof===re?null:u.displayName||u.name||null;if(typeof u=="string")return u;switch(u){case E:return"Fragment";case S:return"Profiler";case T:return"StrictMode";case O:return"Suspense";case k:return"SuspenseList";case L:return"Activity"}if(typeof u=="object")switch(u.$$typeof){case v:return"Portal";case C:return(u.displayName||"Context")+".Provider";case D:return(u._context.displayName||"Context")+".Consumer";case N:var s=u.render;return u=u.displayName,u||(u=s.displayName||s.name||"",u=u!==""?"ForwardRef("+u+")":"ForwardRef"),u;case I:return s=u.displayName||null,s!==null?s:fe(u.type)||"Memo";case P:s=u._payload,u=u._init;try{return fe(u(s))}catch{}}return null}var X=Array.isArray,F=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,H=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,$={pending:!1,data:null,method:null,action:null},V=[],M=-1;function q(u){return{current:u}}function ie(u){0>M||(u.current=V[M],V[M]=null,M--)}function ne(u,s){M++,V[M]=u.current,u.current=s}var Y=q(null),pe=q(null),oe=q(null),le=q(null);function ue(u,s){switch(ne(oe,s),ne(pe,u),ne(Y,null),s.nodeType){case 9:case 11:u=(u=s.documentElement)&&(u=u.namespaceURI)?E3(u):0;break;default:if(u=s.tagName,s=s.namespaceURI)s=E3(s),u=T3(s,u);else switch(u){case"svg":u=1;break;case"math":u=2;break;default:u=0}}ie(Y),ne(Y,u)}function me(){ie(Y),ie(pe),ie(oe)}function ve(u){u.memoizedState!==null&&ne(le,u);var s=Y.current,l=T3(s,u.type);s!==l&&(ne(pe,u),ne(Y,l))}function He(u){pe.current===u&&(ie(Y),ie(pe)),le.current===u&&(ie(le),Nl._currentValue=$)}var lt=Object.prototype.hasOwnProperty,Te=e.unstable_scheduleCallback,At=e.unstable_cancelCallback,In=e.unstable_shouldYield,cn=e.unstable_requestPaint,nt=e.unstable_now,De=e.unstable_getCurrentPriorityLevel,qe=e.unstable_ImmediatePriority,Ne=e.unstable_UserBlockingPriority,ct=e.unstable_NormalPriority,ut=e.unstable_LowPriority,Ye=e.unstable_IdlePriority,fn=e.log,Qe=e.unstable_setDisableYieldValue,$t=null,kt=null;function Fn(u){if(typeof fn=="function"&&Qe(u),kt&&typeof kt.setStrictMode=="function")try{kt.setStrictMode($t,u)}catch{}}var Ut=Math.clz32?Math.clz32:ss,bu=Math.log,nh=Math.LN2;function ss(u){return u>>>=0,u===0?32:31-(bu(u)/nh|0)|0}var xu=256,Mi=4194304;function jn(u){var s=u&42;if(s!==0)return s;switch(u&-u){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return u&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return u&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return u}}function ki(u,s,l){var d=u.pendingLanes;if(d===0)return 0;var m=0,b=u.suspendedLanes,w=u.pingedLanes;u=u.warmLanes;var R=d&134217727;return R!==0?(d=R&~b,d!==0?m=jn(d):(w&=R,w!==0?m=jn(w):l||(l=R&~u,l!==0&&(m=jn(l))))):(R=d&~b,R!==0?m=jn(R):w!==0?m=jn(w):l||(l=d&~u,l!==0&&(m=jn(l)))),m===0?0:s!==0&&s!==m&&(s&b)===0&&(b=m&-m,l=s&-s,b>=l||b===32&&(l&4194048)!==0)?s:m}function tr(u,s){return(u.pendingLanes&~(u.suspendedLanes&~u.pingedLanes)&s)===0}function as(u,s){switch(u){case 1:case 2:case 4:case 8:case 64:return s+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return s+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function kr(){var u=xu;return xu<<=1,(xu&4194048)===0&&(xu=256),u}function fo(){var u=Mi;return Mi<<=1,(Mi&62914560)===0&&(Mi=4194304),u}function nr(u){for(var s=[],l=0;31>l;l++)s.push(u);return s}function di(u,s){u.pendingLanes|=s,s!==268435456&&(u.suspendedLanes=0,u.pingedLanes=0,u.warmLanes=0)}function Eu(u,s,l,d,m,b){var w=u.pendingLanes;u.pendingLanes=l,u.suspendedLanes=0,u.pingedLanes=0,u.warmLanes=0,u.expiredLanes&=l,u.entangledLanes&=l,u.errorRecoveryDisabledLanes&=l,u.shellSuspendCounter=0;var R=u.entanglements,j=u.expirationTimes,Z=u.hiddenUpdates;for(l=w&~l;0<l;){var se=31-Ut(l),de=1<<se;R[se]=0,j[se]=-1;var J=Z[se];if(J!==null)for(Z[se]=null,se=0;se<J.length;se++){var ee=J[se];ee!==null&&(ee.lane&=-536870913)}l&=~de}d!==0&&Lr(u,d,0),b!==0&&m===0&&u.tag!==0&&(u.suspendedLanes|=b&~(w&~s))}function Lr(u,s,l){u.pendingLanes|=s,u.suspendedLanes&=~s;var d=31-Ut(s);u.entangledLanes|=s,u.entanglements[d]=u.entanglements[d]|1073741824|l&4194090}function uf(u,s){var l=u.entangledLanes|=s;for(u=u.entanglements;l;){var d=31-Ut(l),m=1<<d;m&s|u[d]&s&&(u[d]|=s),l&=~m}}function Fa(u){switch(u){case 2:u=1;break;case 8:u=4;break;case 32:u=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:u=128;break;case 268435456:u=134217728;break;default:u=0}return u}function ir(u){return u&=-u,2<u?8<u?(u&134217727)!==0?32:268435456:8:2}function Ir(){var u=H.p;return u!==0?u:(u=window.event,u===void 0?32:$3(u.type))}function ls(u,s){var l=H.p;try{return H.p=u,s()}finally{H.p=l}}var Cn=Math.random().toString(36).slice(2),_t="__reactFiber$"+Cn,Jt="__reactProps$"+Cn,Tu="__reactContainer$"+Cn,rr="__reactEvents$"+Cn,cs="__reactListeners$"+Cn,Su="__reactHandles$"+Cn,Fr="__reactResources$"+Cn,hi="__reactMarker$"+Cn;function ja(u){delete u[_t],delete u[Jt],delete u[rr],delete u[cs],delete u[Su]}function ur(u){var s=u[_t];if(s)return s;for(var l=u.parentNode;l;){if(s=l[Tu]||l[_t]){if(l=s.alternate,s.child!==null||l!==null&&l.child!==null)for(u=A3(u);u!==null;){if(l=u[_t])return l;u=A3(u)}return s}u=l,l=u.parentNode}return null}function Yn(u){if(u=u[_t]||u[Tu]){var s=u.tag;if(s===5||s===6||s===13||s===26||s===27||s===3)return u}return null}function pi(u){var s=u.tag;if(s===5||s===26||s===27||s===6)return u.stateNode;throw Error(i(33))}function Qn(u){var s=u[Fr];return s||(s=u[Fr]={hoistableStyles:new Map,hoistableScripts:new Map}),s}function wt(u){u[hi]=!0}var fs=new Set,jr={};function Pn(u,s){Xn(u,s),Xn(u+"Capture",s)}function Xn(u,s){for(jr[u]=s,u=0;u<s.length;u++)fs.add(s[u])}var _u=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Pr={},ds={};function Pa(u){return lt.call(ds,u)?!0:lt.call(Pr,u)?!1:_u.test(u)?ds[u]=!0:(Pr[u]=!0,!1)}function Li(u,s,l){if(Pa(s))if(l===null)u.removeAttribute(s);else{switch(typeof l){case"undefined":case"function":case"symbol":u.removeAttribute(s);return;case"boolean":var d=s.toLowerCase().slice(0,5);if(d!=="data-"&&d!=="aria-"){u.removeAttribute(s);return}}u.setAttribute(s,""+l)}}function Ii(u,s,l){if(l===null)u.removeAttribute(s);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":u.removeAttribute(s);return}u.setAttribute(s,""+l)}}function xn(u,s,l,d){if(d===null)u.removeAttribute(l);else{switch(typeof d){case"undefined":case"function":case"symbol":case"boolean":u.removeAttribute(l);return}u.setAttributeNS(s,l,""+d)}}var or,Vr;function Zn(u){if(or===void 0)try{throw Error()}catch(l){var s=l.stack.trim().match(/\n( *(at )?)/);or=s&&s[1]||"",Vr=-1<l.stack.indexOf(`
|
|
43
43
|
at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
44
44
|
`+or+u+Vr}var sr=!1;function ar(u,s){if(!u||sr)return"";sr=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var d={DetermineComponentFrameRoot:function(){try{if(s){var de=function(){throw Error()};if(Object.defineProperty(de.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(de,[])}catch(ee){var J=ee}Reflect.construct(u,[],de)}else{try{de.call()}catch(ee){J=ee}u.call(de.prototype)}}else{try{throw Error()}catch(ee){J=ee}(de=u())&&typeof de.catch=="function"&&de.catch(function(){})}}catch(ee){if(ee&&J&&typeof ee.stack=="string")return[ee.stack,J.stack]}return[null,null]}};d.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var m=Object.getOwnPropertyDescriptor(d.DetermineComponentFrameRoot,"name");m&&m.configurable&&Object.defineProperty(d.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var b=d.DetermineComponentFrameRoot(),w=b[0],R=b[1];if(w&&R){var j=w.split(`
|
|
45
45
|
`),Z=R.split(`
|
|
46
46
|
`);for(m=d=0;d<j.length&&!j[d].includes("DetermineComponentFrameRoot");)d++;for(;m<Z.length&&!Z[m].includes("DetermineComponentFrameRoot");)m++;if(d===j.length||m===Z.length)for(d=j.length-1,m=Z.length-1;1<=d&&0<=m&&j[d]!==Z[m];)m--;for(;1<=d&&0<=m;d--,m--)if(j[d]!==Z[m]){if(d!==1||m!==1)do if(d--,m--,0>m||j[d]!==Z[m]){var se=`
|
|
47
47
|
`+j[d].replace(" at new "," at ");return u.displayName&&se.includes("<anonymous>")&&(se=se.replace("<anonymous>",u.displayName)),se}while(1<=d&&0<=m);break}}}finally{sr=!1,Error.prepareStackTrace=l}return(l=u?u.displayName||u.name:"")?Zn(l):""}function Cu(u){switch(u.tag){case 26:case 27:case 5:return Zn(u.type);case 16:return Zn("Lazy");case 13:return Zn("Suspense");case 19:return Zn("SuspenseList");case 0:case 15:return ar(u.type,!1);case 11:return ar(u.type.render,!1);case 1:return ar(u.type,!0);case 31:return Zn("Activity");default:return""}}function Br(u){try{var s="";do s+=Cu(u),u=u.return;while(u);return s}catch(l){return`
|
|
48
48
|
Error generating stack: `+l.message+`
|
|
49
|
-
`+l.stack}}function Qt(u){switch(typeof u){case"bigint":case"boolean":case"number":case"string":case"undefined":return u;case"object":return u;default:return""}}function $r(u){var s=u.type;return(u=u.nodeName)&&u.toLowerCase()==="input"&&(s==="checkbox"||s==="radio")}function Au(u){var s=$r(u)?"checked":"value",l=Object.getOwnPropertyDescriptor(u.constructor.prototype,s),d=""+u[s];if(!u.hasOwnProperty(s)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var m=l.get,b=l.set;return Object.defineProperty(u,s,{configurable:!0,get:function(){return m.call(this)},set:function(w){d=""+w,b.call(this,w)}}),Object.defineProperty(u,s,{enumerable:l.enumerable}),{getValue:function(){return d},setValue:function(w){d=""+w},stopTracking:function(){u._valueTracker=null,delete u[s]}}}}function Fi(u){u._valueTracker||(u._valueTracker=Au(u))}function hs(u){if(!u)return!1;var s=u._valueTracker;if(!s)return!0;var l=s.getValue(),d="";return u&&(d=$r(u)?u.checked?"true":"false":u.value),u=d,u!==l?(s.setValue(u),!0):!1}function Ur(u){if(u=u||(typeof document<"u"?document:void 0),typeof u>"u")return null;try{return u.activeElement||u.body}catch{return u.body}}var Va=/[\n"\\]/g;function Xt(u){return u.replace(Va,function(s){return"\\"+s.charCodeAt(0).toString(16)+" "})}function lr(u,s,l,d,m,b,w,R){u.name="",w!=null&&typeof w!="function"&&typeof w!="symbol"&&typeof w!="boolean"?u.type=w:u.removeAttribute("type"),s!=null?w==="number"?(s===0&&u.value===""||u.value!=s)&&(u.value=""+Qt(s)):u.value!==""+Qt(s)&&(u.value=""+Qt(s)):w!=="submit"&&w!=="reset"||u.removeAttribute("value"),s!=null?wu(u,w,Qt(s)):l!=null?wu(u,w,Qt(l)):d!=null&&u.removeAttribute("value"),m==null&&b!=null&&(u.defaultChecked=!!b),m!=null&&(u.checked=m&&typeof m!="function"&&typeof m!="symbol"),R!=null&&typeof R!="function"&&typeof R!="symbol"&&typeof R!="boolean"?u.name=""+Qt(R):u.removeAttribute("name")}function ps(u,s,l,d,m,b,w,R){if(b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"&&(u.type=b),s!=null||l!=null){if(!(b!=="submit"&&b!=="reset"||s!=null))return;l=l!=null?""+Qt(l):"",s=s!=null?""+Qt(s):l,R||s===u.value||(u.value=s),u.defaultValue=s}d=d??m,d=typeof d!="function"&&typeof d!="symbol"&&!!d,u.checked=R?u.checked:!!d,u.defaultChecked=!!d,w!=null&&typeof w!="function"&&typeof w!="symbol"&&typeof w!="boolean"&&(u.name=w)}function wu(u,s,l){s==="number"&&Ur(u.ownerDocument)===u||u.defaultValue===""+l||(u.defaultValue=""+l)}function Wn(u,s,l,d){if(u=u.options,s){s={};for(var m=0;m<l.length;m++)s["$"+l[m]]=!0;for(l=0;l<u.length;l++)m=s.hasOwnProperty("$"+u[l].value),u[l].selected!==m&&(u[l].selected=m),m&&d&&(u[l].defaultSelected=!0)}else{for(l=""+Qt(l),s=null,m=0;m<u.length;m++){if(u[m].value===l){u[m].selected=!0,d&&(u[m].defaultSelected=!0);return}s!==null||u[m].disabled||(s=u[m])}s!==null&&(s.selected=!0)}}function zr(u,s,l){if(s!=null&&(s=""+Qt(s),s!==u.value&&(u.value=s),l==null)){u.defaultValue!==s&&(u.defaultValue=s);return}u.defaultValue=l!=null?""+Qt(l):""}function Hr(u,s,l,d){if(s==null){if(d!=null){if(l!=null)throw Error(i(92));if(X(d)){if(1<d.length)throw Error(i(93));d=d[0]}l=d}l==null&&(l=""),s=l}l=Qt(s),u.defaultValue=l,d=u.textContent,d===l&&d!==""&&d!==null&&(u.value=d)}function Kn(u,s){if(s){var l=u.firstChild;if(l&&l===u.lastChild&&l.nodeType===3){l.nodeValue=s;return}}u.textContent=s}var ms=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Fe(u,s,l){var d=s.indexOf("--")===0;l==null||typeof l=="boolean"||l===""?d?u.setProperty(s,""):s==="float"?u.cssFloat="":u[s]="":d?u.setProperty(s,l):typeof l!="number"||l===0||ms.has(s)?s==="float"?u.cssFloat=l:u[s]=(""+l).trim():u[s]=l+"px"}function vt(u,s,l){if(s!=null&&typeof s!="object")throw Error(i(62));if(u=u.style,l!=null){for(var d in l)!l.hasOwnProperty(d)||s!=null&&s.hasOwnProperty(d)||(d.indexOf("--")===0?u.setProperty(d,""):d==="float"?u.cssFloat="":u[d]="");for(var m in s)d=s[m],s.hasOwnProperty(m)&&l[m]!==d&&Fe(u,m,d)}else for(var b in s)s.hasOwnProperty(b)&&Fe(u,b,s[b])}function zt(u){if(u.indexOf("-")===-1)return!1;switch(u){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var An=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["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"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["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"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["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"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),ho=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Ba(u){return ho.test(""+u)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":u}var $a=null;function nh(u){return u=u.target||u.srcElement||window,u.correspondingUseElement&&(u=u.correspondingUseElement),u.nodeType===3?u.parentNode:u}var gs=null,vs=null;function Sv(u){var s=Yn(u);if(s&&(u=s.stateNode)){var l=u[Jt]||null;e:switch(u=s.stateNode,s.type){case"input":if(lr(u,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),s=l.name,l.type==="radio"&&s!=null){for(l=u;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll('input[name="'+Xt(""+s)+'"][type="radio"]'),s=0;s<l.length;s++){var d=l[s];if(d!==u&&d.form===u.form){var m=d[Jt]||null;if(!m)throw Error(i(90));lr(d,m.value,m.defaultValue,m.defaultValue,m.checked,m.defaultChecked,m.type,m.name)}}for(s=0;s<l.length;s++)d=l[s],d.form===u.form&&hs(d)}break e;case"textarea":zr(u,l.value,l.defaultValue);break e;case"select":s=l.value,s!=null&&Wn(u,!!l.multiple,s,!1)}}}var ih=!1;function _v(u,s,l){if(ih)return u(s,l);ih=!0;try{var d=u(s);return d}finally{if(ih=!1,(gs!==null||vs!==null)&&(Hf(),gs&&(s=gs,u=vs,vs=gs=null,Sv(s),u)))for(s=0;s<u.length;s++)Sv(u[s])}}function Ua(u,s){var l=u.stateNode;if(l===null)return null;var d=l[Jt]||null;if(d===null)return null;l=d[s];e:switch(s){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(d=!d.disabled)||(u=u.type,d=!(u==="button"||u==="input"||u==="select"||u==="textarea")),u=!d;break e;default:u=!1}if(u)return null;if(l&&typeof l!="function")throw Error(i(231,s,typeof l));return l}var qr=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),rh=!1;if(qr)try{var za={};Object.defineProperty(za,"passive",{get:function(){rh=!0}}),window.addEventListener("test",za,za),window.removeEventListener("test",za,za)}catch{rh=!1}var Du=null,uh=null,of=null;function Cv(){if(of)return of;var u,s=uh,l=s.length,d,m="value"in Du?Du.value:Du.textContent,b=m.length;for(u=0;u<l&&s[u]===m[u];u++);var w=l-u;for(d=1;d<=w&&s[l-d]===m[b-d];d++);return of=m.slice(u,1<d?1-d:void 0)}function sf(u){var s=u.keyCode;return"charCode"in u?(u=u.charCode,u===0&&s===13&&(u=13)):u=s,u===10&&(u=13),32<=u||u===13?u:0}function af(){return!0}function Av(){return!1}function Vn(u){function s(l,d,m,b,w){this._reactName=l,this._targetInst=m,this.type=d,this.nativeEvent=b,this.target=w,this.currentTarget=null;for(var R in u)u.hasOwnProperty(R)&&(l=u[R],this[R]=l?l(b):b[R]);return this.isDefaultPrevented=(b.defaultPrevented!=null?b.defaultPrevented:b.returnValue===!1)?af:Av,this.isPropagationStopped=Av,this}return p(s.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=af)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=af)},persist:function(){},isPersistent:af}),s}var po={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(u){return u.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},lf=Vn(po),Ha=p({},po,{view:0,detail:0}),eA=Vn(Ha),oh,sh,qa,cf=p({},Ha,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:lh,button:0,buttons:0,relatedTarget:function(u){return u.relatedTarget===void 0?u.fromElement===u.srcElement?u.toElement:u.fromElement:u.relatedTarget},movementX:function(u){return"movementX"in u?u.movementX:(u!==qa&&(qa&&u.type==="mousemove"?(oh=u.screenX-qa.screenX,sh=u.screenY-qa.screenY):sh=oh=0,qa=u),oh)},movementY:function(u){return"movementY"in u?u.movementY:sh}}),wv=Vn(cf),tA=p({},cf,{dataTransfer:0}),nA=Vn(tA),iA=p({},Ha,{relatedTarget:0}),ah=Vn(iA),rA=p({},po,{animationName:0,elapsedTime:0,pseudoElement:0}),uA=Vn(rA),oA=p({},po,{clipboardData:function(u){return"clipboardData"in u?u.clipboardData:window.clipboardData}}),sA=Vn(oA),aA=p({},po,{data:0}),Dv=Vn(aA),lA={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},cA={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},fA={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function dA(u){var s=this.nativeEvent;return s.getModifierState?s.getModifierState(u):(u=fA[u])?!!s[u]:!1}function lh(){return dA}var hA=p({},Ha,{key:function(u){if(u.key){var s=lA[u.key]||u.key;if(s!=="Unidentified")return s}return u.type==="keypress"?(u=sf(u),u===13?"Enter":String.fromCharCode(u)):u.type==="keydown"||u.type==="keyup"?cA[u.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:lh,charCode:function(u){return u.type==="keypress"?sf(u):0},keyCode:function(u){return u.type==="keydown"||u.type==="keyup"?u.keyCode:0},which:function(u){return u.type==="keypress"?sf(u):u.type==="keydown"||u.type==="keyup"?u.keyCode:0}}),pA=Vn(hA),mA=p({},cf,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Nv=Vn(mA),gA=p({},Ha,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:lh}),vA=Vn(gA),yA=p({},po,{propertyName:0,elapsedTime:0,pseudoElement:0}),bA=Vn(yA),xA=p({},cf,{deltaX:function(u){return"deltaX"in u?u.deltaX:"wheelDeltaX"in u?-u.wheelDeltaX:0},deltaY:function(u){return"deltaY"in u?u.deltaY:"wheelDeltaY"in u?-u.wheelDeltaY:"wheelDelta"in u?-u.wheelDelta:0},deltaZ:0,deltaMode:0}),EA=Vn(xA),TA=p({},po,{newState:0,oldState:0}),SA=Vn(TA),_A=[9,13,27,32],ch=qr&&"CompositionEvent"in window,Ga=null;qr&&"documentMode"in document&&(Ga=document.documentMode);var CA=qr&&"TextEvent"in window&&!Ga,Ov=qr&&(!ch||Ga&&8<Ga&&11>=Ga),Rv=" ",Mv=!1;function kv(u,s){switch(u){case"keyup":return _A.indexOf(s.keyCode)!==-1;case"keydown":return s.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Lv(u){return u=u.detail,typeof u=="object"&&"data"in u?u.data:null}var ys=!1;function AA(u,s){switch(u){case"compositionend":return Lv(s);case"keypress":return s.which!==32?null:(Mv=!0,Rv);case"textInput":return u=s.data,u===Rv&&Mv?null:u;default:return null}}function wA(u,s){if(ys)return u==="compositionend"||!ch&&kv(u,s)?(u=Cv(),of=uh=Du=null,ys=!1,u):null;switch(u){case"paste":return null;case"keypress":if(!(s.ctrlKey||s.altKey||s.metaKey)||s.ctrlKey&&s.altKey){if(s.char&&1<s.char.length)return s.char;if(s.which)return String.fromCharCode(s.which)}return null;case"compositionend":return Ov&&s.locale!=="ko"?null:s.data;default:return null}}var DA={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Iv(u){var s=u&&u.nodeName&&u.nodeName.toLowerCase();return s==="input"?!!DA[u.type]:s==="textarea"}function Fv(u,s,l,d){gs?vs?vs.push(d):vs=[d]:gs=d,s=Zf(s,"onChange"),0<s.length&&(l=new lf("onChange","change",null,l,d),u.push({event:l,listeners:s}))}var Ya=null,Qa=null;function NA(u){g3(u,0)}function ff(u){var s=pi(u);if(hs(s))return u}function jv(u,s){if(u==="change")return s}var Pv=!1;if(qr){var fh;if(qr){var dh="oninput"in document;if(!dh){var Vv=document.createElement("div");Vv.setAttribute("oninput","return;"),dh=typeof Vv.oninput=="function"}fh=dh}else fh=!1;Pv=fh&&(!document.documentMode||9<document.documentMode)}function Bv(){Ya&&(Ya.detachEvent("onpropertychange",$v),Qa=Ya=null)}function $v(u){if(u.propertyName==="value"&&ff(Qa)){var s=[];Fv(s,Qa,u,nh(u)),_v(NA,s)}}function OA(u,s,l){u==="focusin"?(Bv(),Ya=s,Qa=l,Ya.attachEvent("onpropertychange",$v)):u==="focusout"&&Bv()}function RA(u){if(u==="selectionchange"||u==="keyup"||u==="keydown")return ff(Qa)}function MA(u,s){if(u==="click")return ff(s)}function kA(u,s){if(u==="input"||u==="change")return ff(s)}function LA(u,s){return u===s&&(u!==0||1/u===1/s)||u!==u&&s!==s}var Jn=typeof Object.is=="function"?Object.is:LA;function Xa(u,s){if(Jn(u,s))return!0;if(typeof u!="object"||u===null||typeof s!="object"||s===null)return!1;var l=Object.keys(u),d=Object.keys(s);if(l.length!==d.length)return!1;for(d=0;d<l.length;d++){var m=l[d];if(!lt.call(s,m)||!Jn(u[m],s[m]))return!1}return!0}function Uv(u){for(;u&&u.firstChild;)u=u.firstChild;return u}function zv(u,s){var l=Uv(u);u=0;for(var d;l;){if(l.nodeType===3){if(d=u+l.textContent.length,u<=s&&d>=s)return{node:l,offset:s-u};u=d}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=Uv(l)}}function Hv(u,s){return u&&s?u===s?!0:u&&u.nodeType===3?!1:s&&s.nodeType===3?Hv(u,s.parentNode):"contains"in u?u.contains(s):u.compareDocumentPosition?!!(u.compareDocumentPosition(s)&16):!1:!1}function qv(u){u=u!=null&&u.ownerDocument!=null&&u.ownerDocument.defaultView!=null?u.ownerDocument.defaultView:window;for(var s=Ur(u.document);s instanceof u.HTMLIFrameElement;){try{var l=typeof s.contentWindow.location.href=="string"}catch{l=!1}if(l)u=s.contentWindow;else break;s=Ur(u.document)}return s}function hh(u){var s=u&&u.nodeName&&u.nodeName.toLowerCase();return s&&(s==="input"&&(u.type==="text"||u.type==="search"||u.type==="tel"||u.type==="url"||u.type==="password")||s==="textarea"||u.contentEditable==="true")}var IA=qr&&"documentMode"in document&&11>=document.documentMode,bs=null,ph=null,Za=null,mh=!1;function Gv(u,s,l){var d=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;mh||bs==null||bs!==Ur(d)||(d=bs,"selectionStart"in d&&hh(d)?d={start:d.selectionStart,end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset}),Za&&Xa(Za,d)||(Za=d,d=Zf(ph,"onSelect"),0<d.length&&(s=new lf("onSelect","select",null,s,l),u.push({event:s,listeners:d}),s.target=bs)))}function mo(u,s){var l={};return l[u.toLowerCase()]=s.toLowerCase(),l["Webkit"+u]="webkit"+s,l["Moz"+u]="moz"+s,l}var xs={animationend:mo("Animation","AnimationEnd"),animationiteration:mo("Animation","AnimationIteration"),animationstart:mo("Animation","AnimationStart"),transitionrun:mo("Transition","TransitionRun"),transitionstart:mo("Transition","TransitionStart"),transitioncancel:mo("Transition","TransitionCancel"),transitionend:mo("Transition","TransitionEnd")},gh={},Yv={};qr&&(Yv=document.createElement("div").style,"AnimationEvent"in window||(delete xs.animationend.animation,delete xs.animationiteration.animation,delete xs.animationstart.animation),"TransitionEvent"in window||delete xs.transitionend.transition);function go(u){if(gh[u])return gh[u];if(!xs[u])return u;var s=xs[u],l;for(l in s)if(s.hasOwnProperty(l)&&l in Yv)return gh[u]=s[l];return u}var Qv=go("animationend"),Xv=go("animationiteration"),Zv=go("animationstart"),FA=go("transitionrun"),jA=go("transitionstart"),PA=go("transitioncancel"),Wv=go("transitionend"),Kv=new Map,vh="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");vh.push("scrollEnd");function ji(u,s){Kv.set(u,s),Pn(s,[u])}var Jv=new WeakMap;function mi(u,s){if(typeof u=="object"&&u!==null){var l=Jv.get(u);return l!==void 0?l:(s={value:u,source:s,stack:Br(s)},Jv.set(u,s),s)}return{value:u,source:s,stack:Br(s)}}var gi=[],Es=0,yh=0;function df(){for(var u=Es,s=yh=Es=0;s<u;){var l=gi[s];gi[s++]=null;var d=gi[s];gi[s++]=null;var m=gi[s];gi[s++]=null;var b=gi[s];if(gi[s++]=null,d!==null&&m!==null){var w=d.pending;w===null?m.next=m:(m.next=w.next,w.next=m),d.pending=m}b!==0&&ey(l,m,b)}}function hf(u,s,l,d){gi[Es++]=u,gi[Es++]=s,gi[Es++]=l,gi[Es++]=d,yh|=d,u.lanes|=d,u=u.alternate,u!==null&&(u.lanes|=d)}function bh(u,s,l,d){return hf(u,s,l,d),pf(u)}function Ts(u,s){return hf(u,null,null,s),pf(u)}function ey(u,s,l){u.lanes|=l;var d=u.alternate;d!==null&&(d.lanes|=l);for(var m=!1,b=u.return;b!==null;)b.childLanes|=l,d=b.alternate,d!==null&&(d.childLanes|=l),b.tag===22&&(u=b.stateNode,u===null||u._visibility&1||(m=!0)),u=b,b=b.return;return u.tag===3?(b=u.stateNode,m&&s!==null&&(m=31-Ut(l),u=b.hiddenUpdates,d=u[m],d===null?u[m]=[s]:d.push(s),s.lane=l|536870912),b):null}function pf(u){if(50<El)throw El=0,Cp=null,Error(i(185));for(var s=u.return;s!==null;)u=s,s=u.return;return u.tag===3?u.stateNode:null}var Ss={};function VA(u,s,l,d){this.tag=u,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=s,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=d,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ei(u,s,l,d){return new VA(u,s,l,d)}function xh(u){return u=u.prototype,!(!u||!u.isReactComponent)}function Gr(u,s){var l=u.alternate;return l===null?(l=ei(u.tag,s,u.key,u.mode),l.elementType=u.elementType,l.type=u.type,l.stateNode=u.stateNode,l.alternate=u,u.alternate=l):(l.pendingProps=s,l.type=u.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=u.flags&65011712,l.childLanes=u.childLanes,l.lanes=u.lanes,l.child=u.child,l.memoizedProps=u.memoizedProps,l.memoizedState=u.memoizedState,l.updateQueue=u.updateQueue,s=u.dependencies,l.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext},l.sibling=u.sibling,l.index=u.index,l.ref=u.ref,l.refCleanup=u.refCleanup,l}function ty(u,s){u.flags&=65011714;var l=u.alternate;return l===null?(u.childLanes=0,u.lanes=s,u.child=null,u.subtreeFlags=0,u.memoizedProps=null,u.memoizedState=null,u.updateQueue=null,u.dependencies=null,u.stateNode=null):(u.childLanes=l.childLanes,u.lanes=l.lanes,u.child=l.child,u.subtreeFlags=0,u.deletions=null,u.memoizedProps=l.memoizedProps,u.memoizedState=l.memoizedState,u.updateQueue=l.updateQueue,u.type=l.type,s=l.dependencies,u.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext}),u}function mf(u,s,l,d,m,b){var w=0;if(d=u,typeof u=="function")xh(u)&&(w=1);else if(typeof u=="string")w=$7(u,l,Y.current)?26:u==="html"||u==="head"||u==="body"?27:5;else e:switch(u){case L:return u=ei(31,l,s,m),u.elementType=L,u.lanes=b,u;case E:return vo(l.children,m,b,s);case T:w=8,m|=24;break;case S:return u=ei(12,l,s,m|2),u.elementType=S,u.lanes=b,u;case O:return u=ei(13,l,s,m),u.elementType=O,u.lanes=b,u;case k:return u=ei(19,l,s,m),u.elementType=k,u.lanes=b,u;default:if(typeof u=="object"&&u!==null)switch(u.$$typeof){case A:case C:w=10;break e;case D:w=9;break e;case N:w=11;break e;case I:w=14;break e;case P:w=16,d=null;break e}w=29,l=Error(i(130,u===null?"null":typeof u,"")),d=null}return s=ei(w,l,s,m),s.elementType=u,s.type=d,s.lanes=b,s}function vo(u,s,l,d){return u=ei(7,u,d,s),u.lanes=l,u}function Eh(u,s,l){return u=ei(6,u,null,s),u.lanes=l,u}function Th(u,s,l){return s=ei(4,u.children!==null?u.children:[],u.key,s),s.lanes=l,s.stateNode={containerInfo:u.containerInfo,pendingChildren:null,implementation:u.implementation},s}var _s=[],Cs=0,gf=null,vf=0,vi=[],yi=0,yo=null,Yr=1,Qr="";function bo(u,s){_s[Cs++]=vf,_s[Cs++]=gf,gf=u,vf=s}function ny(u,s,l){vi[yi++]=Yr,vi[yi++]=Qr,vi[yi++]=yo,yo=u;var d=Yr;u=Qr;var m=32-Ut(d)-1;d&=~(1<<m),l+=1;var b=32-Ut(s)+m;if(30<b){var w=m-m%5;b=(d&(1<<w)-1).toString(32),d>>=w,m-=w,Yr=1<<32-Ut(s)+m|l<<m|d,Qr=b+u}else Yr=1<<b|l<<m|d,Qr=u}function Sh(u){u.return!==null&&(bo(u,1),ny(u,1,0))}function _h(u){for(;u===gf;)gf=_s[--Cs],_s[Cs]=null,vf=_s[--Cs],_s[Cs]=null;for(;u===yo;)yo=vi[--yi],vi[yi]=null,Qr=vi[--yi],vi[yi]=null,Yr=vi[--yi],vi[yi]=null}var wn=null,Dt=null,Ke=!1,xo=null,cr=!1,Ch=Error(i(519));function Eo(u){var s=Error(i(418,""));throw Ja(mi(s,u)),Ch}function iy(u){var s=u.stateNode,l=u.type,d=u.memoizedProps;switch(s[_t]=u,s[Jt]=d,l){case"dialog":Pe("cancel",s),Pe("close",s);break;case"iframe":case"object":case"embed":Pe("load",s);break;case"video":case"audio":for(l=0;l<Sl.length;l++)Pe(Sl[l],s);break;case"source":Pe("error",s);break;case"img":case"image":case"link":Pe("error",s),Pe("load",s);break;case"details":Pe("toggle",s);break;case"input":Pe("invalid",s),ps(s,d.value,d.defaultValue,d.checked,d.defaultChecked,d.type,d.name,!0),Fi(s);break;case"select":Pe("invalid",s);break;case"textarea":Pe("invalid",s),Hr(s,d.value,d.defaultValue,d.children),Fi(s)}l=d.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||s.textContent===""+l||d.suppressHydrationWarning===!0||x3(s.textContent,l)?(d.popover!=null&&(Pe("beforetoggle",s),Pe("toggle",s)),d.onScroll!=null&&Pe("scroll",s),d.onScrollEnd!=null&&Pe("scrollend",s),d.onClick!=null&&(s.onclick=Wf),s=!0):s=!1,s||Eo(u)}function ry(u){for(wn=u.return;wn;)switch(wn.tag){case 5:case 13:cr=!1;return;case 27:case 3:cr=!0;return;default:wn=wn.return}}function Wa(u){if(u!==wn)return!1;if(!Ke)return ry(u),Ke=!0,!1;var s=u.tag,l;if((l=s!==3&&s!==27)&&((l=s===5)&&(l=u.type,l=!(l!=="form"&&l!=="button")||$p(u.type,u.memoizedProps)),l=!l),l&&Dt&&Eo(u),ry(u),s===13){if(u=u.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(i(317));e:{for(u=u.nextSibling,s=0;u;){if(u.nodeType===8)if(l=u.data,l==="/$"){if(s===0){Dt=Vi(u.nextSibling);break e}s--}else l!=="$"&&l!=="$!"&&l!=="$?"||s++;u=u.nextSibling}Dt=null}}else s===27?(s=Dt,Hu(u.type)?(u=qp,qp=null,Dt=u):Dt=s):Dt=wn?Vi(u.stateNode.nextSibling):null;return!0}function Ka(){Dt=wn=null,Ke=!1}function uy(){var u=xo;return u!==null&&(Un===null?Un=u:Un.push.apply(Un,u),xo=null),u}function Ja(u){xo===null?xo=[u]:xo.push(u)}var Ah=q(null),To=null,Xr=null;function Nu(u,s,l){ne(Ah,s._currentValue),s._currentValue=l}function Zr(u){u._currentValue=Ah.current,ie(Ah)}function wh(u,s,l){for(;u!==null;){var d=u.alternate;if((u.childLanes&s)!==s?(u.childLanes|=s,d!==null&&(d.childLanes|=s)):d!==null&&(d.childLanes&s)!==s&&(d.childLanes|=s),u===l)break;u=u.return}}function Dh(u,s,l,d){var m=u.child;for(m!==null&&(m.return=u);m!==null;){var b=m.dependencies;if(b!==null){var w=m.child;b=b.firstContext;e:for(;b!==null;){var R=b;b=m;for(var j=0;j<s.length;j++)if(R.context===s[j]){b.lanes|=l,R=b.alternate,R!==null&&(R.lanes|=l),wh(b.return,l,u),d||(w=null);break e}b=R.next}}else if(m.tag===18){if(w=m.return,w===null)throw Error(i(341));w.lanes|=l,b=w.alternate,b!==null&&(b.lanes|=l),wh(w,l,u),w=null}else w=m.child;if(w!==null)w.return=m;else for(w=m;w!==null;){if(w===u){w=null;break}if(m=w.sibling,m!==null){m.return=w.return,w=m;break}w=w.return}m=w}}function el(u,s,l,d){u=null;for(var m=s,b=!1;m!==null;){if(!b){if((m.flags&524288)!==0)b=!0;else if((m.flags&262144)!==0)break}if(m.tag===10){var w=m.alternate;if(w===null)throw Error(i(387));if(w=w.memoizedProps,w!==null){var R=m.type;Jn(m.pendingProps.value,w.value)||(u!==null?u.push(R):u=[R])}}else if(m===le.current){if(w=m.alternate,w===null)throw Error(i(387));w.memoizedState.memoizedState!==m.memoizedState.memoizedState&&(u!==null?u.push(Nl):u=[Nl])}m=m.return}u!==null&&Dh(s,u,l,d),s.flags|=262144}function yf(u){for(u=u.firstContext;u!==null;){if(!Jn(u.context._currentValue,u.memoizedValue))return!0;u=u.next}return!1}function So(u){To=u,Xr=null,u=u.dependencies,u!==null&&(u.firstContext=null)}function En(u){return oy(To,u)}function bf(u,s){return To===null&&So(u),oy(u,s)}function oy(u,s){var l=s._currentValue;if(s={context:s,memoizedValue:l,next:null},Xr===null){if(u===null)throw Error(i(308));Xr=s,u.dependencies={lanes:0,firstContext:s},u.flags|=524288}else Xr=Xr.next=s;return l}var BA=typeof AbortController<"u"?AbortController:function(){var u=[],s=this.signal={aborted:!1,addEventListener:function(l,d){u.push(d)}};this.abort=function(){s.aborted=!0,u.forEach(function(l){return l()})}},$A=e.unstable_scheduleCallback,UA=e.unstable_NormalPriority,Zt={$$typeof:C,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Nh(){return{controller:new BA,data:new Map,refCount:0}}function tl(u){u.refCount--,u.refCount===0&&$A(UA,function(){u.controller.abort()})}var nl=null,Oh=0,As=0,ws=null;function zA(u,s){if(nl===null){var l=nl=[];Oh=0,As=Mp(),ws={status:"pending",value:void 0,then:function(d){l.push(d)}}}return Oh++,s.then(sy,sy),s}function sy(){if(--Oh===0&&nl!==null){ws!==null&&(ws.status="fulfilled");var u=nl;nl=null,As=0,ws=null;for(var s=0;s<u.length;s++)(0,u[s])()}}function HA(u,s){var l=[],d={status:"pending",value:null,reason:null,then:function(m){l.push(m)}};return u.then(function(){d.status="fulfilled",d.value=s;for(var m=0;m<l.length;m++)(0,l[m])(s)},function(m){for(d.status="rejected",d.reason=m,m=0;m<l.length;m++)(0,l[m])(void 0)}),d}var ay=F.S;F.S=function(u,s){typeof s=="object"&&s!==null&&typeof s.then=="function"&&zA(u,s),ay!==null&&ay(u,s)};var _o=q(null);function Rh(){var u=_o.current;return u!==null?u:pt.pooledCache}function xf(u,s){s===null?ne(_o,_o.current):ne(_o,s.pool)}function ly(){var u=Rh();return u===null?null:{parent:Zt._currentValue,pool:u}}var il=Error(i(460)),cy=Error(i(474)),Ef=Error(i(542)),Mh={then:function(){}};function fy(u){return u=u.status,u==="fulfilled"||u==="rejected"}function Tf(){}function dy(u,s,l){switch(l=u[l],l===void 0?u.push(s):l!==s&&(s.then(Tf,Tf),s=l),s.status){case"fulfilled":return s.value;case"rejected":throw u=s.reason,py(u),u;default:if(typeof s.status=="string")s.then(Tf,Tf);else{if(u=pt,u!==null&&100<u.shellSuspendCounter)throw Error(i(482));u=s,u.status="pending",u.then(function(d){if(s.status==="pending"){var m=s;m.status="fulfilled",m.value=d}},function(d){if(s.status==="pending"){var m=s;m.status="rejected",m.reason=d}})}switch(s.status){case"fulfilled":return s.value;case"rejected":throw u=s.reason,py(u),u}throw rl=s,il}}var rl=null;function hy(){if(rl===null)throw Error(i(459));var u=rl;return rl=null,u}function py(u){if(u===il||u===Ef)throw Error(i(483))}var Ou=!1;function kh(u){u.updateQueue={baseState:u.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Lh(u,s){u=u.updateQueue,s.updateQueue===u&&(s.updateQueue={baseState:u.baseState,firstBaseUpdate:u.firstBaseUpdate,lastBaseUpdate:u.lastBaseUpdate,shared:u.shared,callbacks:null})}function Ru(u){return{lane:u,tag:0,payload:null,callback:null,next:null}}function Mu(u,s,l){var d=u.updateQueue;if(d===null)return null;if(d=d.shared,(it&2)!==0){var m=d.pending;return m===null?s.next=s:(s.next=m.next,m.next=s),d.pending=s,s=pf(u),ey(u,null,l),s}return hf(u,d,s,l),pf(u)}function ul(u,s,l){if(s=s.updateQueue,s!==null&&(s=s.shared,(l&4194048)!==0)){var d=s.lanes;d&=u.pendingLanes,l|=d,s.lanes=l,uf(u,l)}}function Ih(u,s){var l=u.updateQueue,d=u.alternate;if(d!==null&&(d=d.updateQueue,l===d)){var m=null,b=null;if(l=l.firstBaseUpdate,l!==null){do{var w={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};b===null?m=b=w:b=b.next=w,l=l.next}while(l!==null);b===null?m=b=s:b=b.next=s}else m=b=s;l={baseState:d.baseState,firstBaseUpdate:m,lastBaseUpdate:b,shared:d.shared,callbacks:d.callbacks},u.updateQueue=l;return}u=l.lastBaseUpdate,u===null?l.firstBaseUpdate=s:u.next=s,l.lastBaseUpdate=s}var Fh=!1;function ol(){if(Fh){var u=ws;if(u!==null)throw u}}function sl(u,s,l,d){Fh=!1;var m=u.updateQueue;Ou=!1;var b=m.firstBaseUpdate,w=m.lastBaseUpdate,R=m.shared.pending;if(R!==null){m.shared.pending=null;var j=R,Z=j.next;j.next=null,w===null?b=Z:w.next=Z,w=j;var se=u.alternate;se!==null&&(se=se.updateQueue,R=se.lastBaseUpdate,R!==w&&(R===null?se.firstBaseUpdate=Z:R.next=Z,se.lastBaseUpdate=j))}if(b!==null){var de=m.baseState;w=0,se=Z=j=null,R=b;do{var J=R.lane&-536870913,ee=J!==R.lane;if(ee?(Ge&J)===J:(d&J)===J){J!==0&&J===As&&(Fh=!0),se!==null&&(se=se.next={lane:0,tag:R.tag,payload:R.payload,callback:null,next:null});e:{var Ae=u,_e=R;J=s;var at=l;switch(_e.tag){case 1:if(Ae=_e.payload,typeof Ae=="function"){de=Ae.call(at,de,J);break e}de=Ae;break e;case 3:Ae.flags=Ae.flags&-65537|128;case 0:if(Ae=_e.payload,J=typeof Ae=="function"?Ae.call(at,de,J):Ae,J==null)break e;de=p({},de,J);break e;case 2:Ou=!0}}J=R.callback,J!==null&&(u.flags|=64,ee&&(u.flags|=8192),ee=m.callbacks,ee===null?m.callbacks=[J]:ee.push(J))}else ee={lane:J,tag:R.tag,payload:R.payload,callback:R.callback,next:null},se===null?(Z=se=ee,j=de):se=se.next=ee,w|=J;if(R=R.next,R===null){if(R=m.shared.pending,R===null)break;ee=R,R=ee.next,ee.next=null,m.lastBaseUpdate=ee,m.shared.pending=null}}while(!0);se===null&&(j=de),m.baseState=j,m.firstBaseUpdate=Z,m.lastBaseUpdate=se,b===null&&(m.shared.lanes=0),Bu|=w,u.lanes=w,u.memoizedState=de}}function my(u,s){if(typeof u!="function")throw Error(i(191,u));u.call(s)}function gy(u,s){var l=u.callbacks;if(l!==null)for(u.callbacks=null,u=0;u<l.length;u++)my(l[u],s)}var Ds=q(null),Sf=q(0);function vy(u,s){u=iu,ne(Sf,u),ne(Ds,s),iu=u|s.baseLanes}function jh(){ne(Sf,iu),ne(Ds,Ds.current)}function Ph(){iu=Sf.current,ie(Ds),ie(Sf)}var ku=0,Le=null,ot=null,Ht=null,_f=!1,Ns=!1,Co=!1,Cf=0,al=0,Os=null,qA=0;function Lt(){throw Error(i(321))}function Vh(u,s){if(s===null)return!1;for(var l=0;l<s.length&&l<u.length;l++)if(!Jn(u[l],s[l]))return!1;return!0}function Bh(u,s,l,d,m,b){return ku=b,Le=s,s.memoizedState=null,s.updateQueue=null,s.lanes=0,F.H=u===null||u.memoizedState===null?eb:tb,Co=!1,b=l(d,m),Co=!1,Ns&&(b=by(s,l,d,m)),yy(u),b}function yy(u){F.H=Rf;var s=ot!==null&&ot.next!==null;if(ku=0,Ht=ot=Le=null,_f=!1,al=0,Os=null,s)throw Error(i(300));u===null||en||(u=u.dependencies,u!==null&&yf(u)&&(en=!0))}function by(u,s,l,d){Le=u;var m=0;do{if(Ns&&(Os=null),al=0,Ns=!1,25<=m)throw Error(i(301));if(m+=1,Ht=ot=null,u.updateQueue!=null){var b=u.updateQueue;b.lastEffect=null,b.events=null,b.stores=null,b.memoCache!=null&&(b.memoCache.index=0)}F.H=KA,b=s(l,d)}while(Ns);return b}function GA(){var u=F.H,s=u.useState()[0];return s=typeof s.then=="function"?ll(s):s,u=u.useState()[0],(ot!==null?ot.memoizedState:null)!==u&&(Le.flags|=1024),s}function $h(){var u=Cf!==0;return Cf=0,u}function Uh(u,s,l){s.updateQueue=u.updateQueue,s.flags&=-2053,u.lanes&=~l}function zh(u){if(_f){for(u=u.memoizedState;u!==null;){var s=u.queue;s!==null&&(s.pending=null),u=u.next}_f=!1}ku=0,Ht=ot=Le=null,Ns=!1,al=Cf=0,Os=null}function Bn(){var u={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ht===null?Le.memoizedState=Ht=u:Ht=Ht.next=u,Ht}function qt(){if(ot===null){var u=Le.alternate;u=u!==null?u.memoizedState:null}else u=ot.next;var s=Ht===null?Le.memoizedState:Ht.next;if(s!==null)Ht=s,ot=u;else{if(u===null)throw Le.alternate===null?Error(i(467)):Error(i(310));ot=u,u={memoizedState:ot.memoizedState,baseState:ot.baseState,baseQueue:ot.baseQueue,queue:ot.queue,next:null},Ht===null?Le.memoizedState=Ht=u:Ht=Ht.next=u}return Ht}function Hh(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function ll(u){var s=al;return al+=1,Os===null&&(Os=[]),u=dy(Os,u,s),s=Le,(Ht===null?s.memoizedState:Ht.next)===null&&(s=s.alternate,F.H=s===null||s.memoizedState===null?eb:tb),u}function Af(u){if(u!==null&&typeof u=="object"){if(typeof u.then=="function")return ll(u);if(u.$$typeof===C)return En(u)}throw Error(i(438,String(u)))}function qh(u){var s=null,l=Le.updateQueue;if(l!==null&&(s=l.memoCache),s==null){var d=Le.alternate;d!==null&&(d=d.updateQueue,d!==null&&(d=d.memoCache,d!=null&&(s={data:d.data.map(function(m){return m.slice()}),index:0})))}if(s==null&&(s={data:[],index:0}),l===null&&(l=Hh(),Le.updateQueue=l),l.memoCache=s,l=s.data[s.index],l===void 0)for(l=s.data[s.index]=Array(u),d=0;d<u;d++)l[d]=B;return s.index++,l}function Wr(u,s){return typeof s=="function"?s(u):s}function wf(u){var s=qt();return Gh(s,ot,u)}function Gh(u,s,l){var d=u.queue;if(d===null)throw Error(i(311));d.lastRenderedReducer=l;var m=u.baseQueue,b=d.pending;if(b!==null){if(m!==null){var w=m.next;m.next=b.next,b.next=w}s.baseQueue=m=b,d.pending=null}if(b=u.baseState,m===null)u.memoizedState=b;else{s=m.next;var R=w=null,j=null,Z=s,se=!1;do{var de=Z.lane&-536870913;if(de!==Z.lane?(Ge&de)===de:(ku&de)===de){var J=Z.revertLane;if(J===0)j!==null&&(j=j.next={lane:0,revertLane:0,action:Z.action,hasEagerState:Z.hasEagerState,eagerState:Z.eagerState,next:null}),de===As&&(se=!0);else if((ku&J)===J){Z=Z.next,J===As&&(se=!0);continue}else de={lane:0,revertLane:Z.revertLane,action:Z.action,hasEagerState:Z.hasEagerState,eagerState:Z.eagerState,next:null},j===null?(R=j=de,w=b):j=j.next=de,Le.lanes|=J,Bu|=J;de=Z.action,Co&&l(b,de),b=Z.hasEagerState?Z.eagerState:l(b,de)}else J={lane:de,revertLane:Z.revertLane,action:Z.action,hasEagerState:Z.hasEagerState,eagerState:Z.eagerState,next:null},j===null?(R=j=J,w=b):j=j.next=J,Le.lanes|=de,Bu|=de;Z=Z.next}while(Z!==null&&Z!==s);if(j===null?w=b:j.next=R,!Jn(b,u.memoizedState)&&(en=!0,se&&(l=ws,l!==null)))throw l;u.memoizedState=b,u.baseState=w,u.baseQueue=j,d.lastRenderedState=b}return m===null&&(d.lanes=0),[u.memoizedState,d.dispatch]}function Yh(u){var s=qt(),l=s.queue;if(l===null)throw Error(i(311));l.lastRenderedReducer=u;var d=l.dispatch,m=l.pending,b=s.memoizedState;if(m!==null){l.pending=null;var w=m=m.next;do b=u(b,w.action),w=w.next;while(w!==m);Jn(b,s.memoizedState)||(en=!0),s.memoizedState=b,s.baseQueue===null&&(s.baseState=b),l.lastRenderedState=b}return[b,d]}function xy(u,s,l){var d=Le,m=qt(),b=Ke;if(b){if(l===void 0)throw Error(i(407));l=l()}else l=s();var w=!Jn((ot||m).memoizedState,l);w&&(m.memoizedState=l,en=!0),m=m.queue;var R=Sy.bind(null,d,m,u);if(cl(2048,8,R,[u]),m.getSnapshot!==s||w||Ht!==null&&Ht.memoizedState.tag&1){if(d.flags|=2048,Rs(9,Df(),Ty.bind(null,d,m,l,s),null),pt===null)throw Error(i(349));b||(ku&124)!==0||Ey(d,s,l)}return l}function Ey(u,s,l){u.flags|=16384,u={getSnapshot:s,value:l},s=Le.updateQueue,s===null?(s=Hh(),Le.updateQueue=s,s.stores=[u]):(l=s.stores,l===null?s.stores=[u]:l.push(u))}function Ty(u,s,l,d){s.value=l,s.getSnapshot=d,_y(s)&&Cy(u)}function Sy(u,s,l){return l(function(){_y(s)&&Cy(u)})}function _y(u){var s=u.getSnapshot;u=u.value;try{var l=s();return!Jn(u,l)}catch{return!0}}function Cy(u){var s=Ts(u,2);s!==null&&ui(s,u,2)}function Qh(u){var s=Bn();if(typeof u=="function"){var l=u;if(u=l(),Co){Fn(!0);try{l()}finally{Fn(!1)}}}return s.memoizedState=s.baseState=u,s.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Wr,lastRenderedState:u},s}function Ay(u,s,l,d){return u.baseState=l,Gh(u,ot,typeof d=="function"?d:Wr)}function YA(u,s,l,d,m){if(Of(u))throw Error(i(485));if(u=s.action,u!==null){var b={payload:m,action:u,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(w){b.listeners.push(w)}};F.T!==null?l(!0):b.isTransition=!1,d(b),l=s.pending,l===null?(b.next=s.pending=b,wy(s,b)):(b.next=l.next,s.pending=l.next=b)}}function wy(u,s){var l=s.action,d=s.payload,m=u.state;if(s.isTransition){var b=F.T,w={};F.T=w;try{var R=l(m,d),j=F.S;j!==null&&j(w,R),Dy(u,s,R)}catch(Z){Xh(u,s,Z)}finally{F.T=b}}else try{b=l(m,d),Dy(u,s,b)}catch(Z){Xh(u,s,Z)}}function Dy(u,s,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(d){Ny(u,s,d)},function(d){return Xh(u,s,d)}):Ny(u,s,l)}function Ny(u,s,l){s.status="fulfilled",s.value=l,Oy(s),u.state=l,s=u.pending,s!==null&&(l=s.next,l===s?u.pending=null:(l=l.next,s.next=l,wy(u,l)))}function Xh(u,s,l){var d=u.pending;if(u.pending=null,d!==null){d=d.next;do s.status="rejected",s.reason=l,Oy(s),s=s.next;while(s!==d)}u.action=null}function Oy(u){u=u.listeners;for(var s=0;s<u.length;s++)(0,u[s])()}function Ry(u,s){return s}function My(u,s){if(Ke){var l=pt.formState;if(l!==null){e:{var d=Le;if(Ke){if(Dt){t:{for(var m=Dt,b=cr;m.nodeType!==8;){if(!b){m=null;break t}if(m=Vi(m.nextSibling),m===null){m=null;break t}}b=m.data,m=b==="F!"||b==="F"?m:null}if(m){Dt=Vi(m.nextSibling),d=m.data==="F!";break e}}Eo(d)}d=!1}d&&(s=l[0])}}return l=Bn(),l.memoizedState=l.baseState=s,d={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ry,lastRenderedState:s},l.queue=d,l=Wy.bind(null,Le,d),d.dispatch=l,d=Qh(!1),b=ep.bind(null,Le,!1,d.queue),d=Bn(),m={state:s,dispatch:null,action:u,pending:null},d.queue=m,l=YA.bind(null,Le,m,b,l),m.dispatch=l,d.memoizedState=u,[s,l,!1]}function ky(u){var s=qt();return Ly(s,ot,u)}function Ly(u,s,l){if(s=Gh(u,s,Ry)[0],u=wf(Wr)[0],typeof s=="object"&&s!==null&&typeof s.then=="function")try{var d=ll(s)}catch(w){throw w===il?Ef:w}else d=s;s=qt();var m=s.queue,b=m.dispatch;return l!==s.memoizedState&&(Le.flags|=2048,Rs(9,Df(),QA.bind(null,m,l),null)),[d,b,u]}function QA(u,s){u.action=s}function Iy(u){var s=qt(),l=ot;if(l!==null)return Ly(s,l,u);qt(),s=s.memoizedState,l=qt();var d=l.queue.dispatch;return l.memoizedState=u,[s,d,!1]}function Rs(u,s,l,d){return u={tag:u,create:l,deps:d,inst:s,next:null},s=Le.updateQueue,s===null&&(s=Hh(),Le.updateQueue=s),l=s.lastEffect,l===null?s.lastEffect=u.next=u:(d=l.next,l.next=u,u.next=d,s.lastEffect=u),u}function Df(){return{destroy:void 0,resource:void 0}}function Fy(){return qt().memoizedState}function Nf(u,s,l,d){var m=Bn();d=d===void 0?null:d,Le.flags|=u,m.memoizedState=Rs(1|s,Df(),l,d)}function cl(u,s,l,d){var m=qt();d=d===void 0?null:d;var b=m.memoizedState.inst;ot!==null&&d!==null&&Vh(d,ot.memoizedState.deps)?m.memoizedState=Rs(s,b,l,d):(Le.flags|=u,m.memoizedState=Rs(1|s,b,l,d))}function jy(u,s){Nf(8390656,8,u,s)}function Py(u,s){cl(2048,8,u,s)}function Vy(u,s){return cl(4,2,u,s)}function By(u,s){return cl(4,4,u,s)}function $y(u,s){if(typeof s=="function"){u=u();var l=s(u);return function(){typeof l=="function"?l():s(null)}}if(s!=null)return u=u(),s.current=u,function(){s.current=null}}function Uy(u,s,l){l=l!=null?l.concat([u]):null,cl(4,4,$y.bind(null,s,u),l)}function Zh(){}function zy(u,s){var l=qt();s=s===void 0?null:s;var d=l.memoizedState;return s!==null&&Vh(s,d[1])?d[0]:(l.memoizedState=[u,s],u)}function Hy(u,s){var l=qt();s=s===void 0?null:s;var d=l.memoizedState;if(s!==null&&Vh(s,d[1]))return d[0];if(d=u(),Co){Fn(!0);try{u()}finally{Fn(!1)}}return l.memoizedState=[d,s],d}function Wh(u,s,l){return l===void 0||(ku&1073741824)!==0?u.memoizedState=s:(u.memoizedState=l,u=Yb(),Le.lanes|=u,Bu|=u,l)}function qy(u,s,l,d){return Jn(l,s)?l:Ds.current!==null?(u=Wh(u,l,d),Jn(u,s)||(en=!0),u):(ku&42)===0?(en=!0,u.memoizedState=l):(u=Yb(),Le.lanes|=u,Bu|=u,s)}function Gy(u,s,l,d,m){var b=H.p;H.p=b!==0&&8>b?b:8;var w=F.T,R={};F.T=R,ep(u,!1,s,l);try{var j=m(),Z=F.S;if(Z!==null&&Z(R,j),j!==null&&typeof j=="object"&&typeof j.then=="function"){var se=HA(j,d);fl(u,s,se,ri(u))}else fl(u,s,d,ri(u))}catch(de){fl(u,s,{then:function(){},status:"rejected",reason:de},ri())}finally{H.p=b,F.T=w}}function XA(){}function Kh(u,s,l,d){if(u.tag!==5)throw Error(i(476));var m=Yy(u).queue;Gy(u,m,s,$,l===null?XA:function(){return Qy(u),l(d)})}function Yy(u){var s=u.memoizedState;if(s!==null)return s;s={memoizedState:$,baseState:$,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Wr,lastRenderedState:$},next:null};var l={};return s.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Wr,lastRenderedState:l},next:null},u.memoizedState=s,u=u.alternate,u!==null&&(u.memoizedState=s),s}function Qy(u){var s=Yy(u).next.queue;fl(u,s,{},ri())}function Jh(){return En(Nl)}function Xy(){return qt().memoizedState}function Zy(){return qt().memoizedState}function ZA(u){for(var s=u.return;s!==null;){switch(s.tag){case 24:case 3:var l=ri();u=Ru(l);var d=Mu(s,u,l);d!==null&&(ui(d,s,l),ul(d,s,l)),s={cache:Nh()},u.payload=s;return}s=s.return}}function WA(u,s,l){var d=ri();l={lane:d,revertLane:0,action:l,hasEagerState:!1,eagerState:null,next:null},Of(u)?Ky(s,l):(l=bh(u,s,l,d),l!==null&&(ui(l,u,d),Jy(l,s,d)))}function Wy(u,s,l){var d=ri();fl(u,s,l,d)}function fl(u,s,l,d){var m={lane:d,revertLane:0,action:l,hasEagerState:!1,eagerState:null,next:null};if(Of(u))Ky(s,m);else{var b=u.alternate;if(u.lanes===0&&(b===null||b.lanes===0)&&(b=s.lastRenderedReducer,b!==null))try{var w=s.lastRenderedState,R=b(w,l);if(m.hasEagerState=!0,m.eagerState=R,Jn(R,w))return hf(u,s,m,0),pt===null&&df(),!1}catch{}finally{}if(l=bh(u,s,m,d),l!==null)return ui(l,u,d),Jy(l,s,d),!0}return!1}function ep(u,s,l,d){if(d={lane:2,revertLane:Mp(),action:d,hasEagerState:!1,eagerState:null,next:null},Of(u)){if(s)throw Error(i(479))}else s=bh(u,l,d,2),s!==null&&ui(s,u,2)}function Of(u){var s=u.alternate;return u===Le||s!==null&&s===Le}function Ky(u,s){Ns=_f=!0;var l=u.pending;l===null?s.next=s:(s.next=l.next,l.next=s),u.pending=s}function Jy(u,s,l){if((l&4194048)!==0){var d=s.lanes;d&=u.pendingLanes,l|=d,s.lanes=l,uf(u,l)}}var Rf={readContext:En,use:Af,useCallback:Lt,useContext:Lt,useEffect:Lt,useImperativeHandle:Lt,useLayoutEffect:Lt,useInsertionEffect:Lt,useMemo:Lt,useReducer:Lt,useRef:Lt,useState:Lt,useDebugValue:Lt,useDeferredValue:Lt,useTransition:Lt,useSyncExternalStore:Lt,useId:Lt,useHostTransitionStatus:Lt,useFormState:Lt,useActionState:Lt,useOptimistic:Lt,useMemoCache:Lt,useCacheRefresh:Lt},eb={readContext:En,use:Af,useCallback:function(u,s){return Bn().memoizedState=[u,s===void 0?null:s],u},useContext:En,useEffect:jy,useImperativeHandle:function(u,s,l){l=l!=null?l.concat([u]):null,Nf(4194308,4,$y.bind(null,s,u),l)},useLayoutEffect:function(u,s){return Nf(4194308,4,u,s)},useInsertionEffect:function(u,s){Nf(4,2,u,s)},useMemo:function(u,s){var l=Bn();s=s===void 0?null:s;var d=u();if(Co){Fn(!0);try{u()}finally{Fn(!1)}}return l.memoizedState=[d,s],d},useReducer:function(u,s,l){var d=Bn();if(l!==void 0){var m=l(s);if(Co){Fn(!0);try{l(s)}finally{Fn(!1)}}}else m=s;return d.memoizedState=d.baseState=m,u={pending:null,lanes:0,dispatch:null,lastRenderedReducer:u,lastRenderedState:m},d.queue=u,u=u.dispatch=WA.bind(null,Le,u),[d.memoizedState,u]},useRef:function(u){var s=Bn();return u={current:u},s.memoizedState=u},useState:function(u){u=Qh(u);var s=u.queue,l=Wy.bind(null,Le,s);return s.dispatch=l,[u.memoizedState,l]},useDebugValue:Zh,useDeferredValue:function(u,s){var l=Bn();return Wh(l,u,s)},useTransition:function(){var u=Qh(!1);return u=Gy.bind(null,Le,u.queue,!0,!1),Bn().memoizedState=u,[!1,u]},useSyncExternalStore:function(u,s,l){var d=Le,m=Bn();if(Ke){if(l===void 0)throw Error(i(407));l=l()}else{if(l=s(),pt===null)throw Error(i(349));(Ge&124)!==0||Ey(d,s,l)}m.memoizedState=l;var b={value:l,getSnapshot:s};return m.queue=b,jy(Sy.bind(null,d,b,u),[u]),d.flags|=2048,Rs(9,Df(),Ty.bind(null,d,b,l,s),null),l},useId:function(){var u=Bn(),s=pt.identifierPrefix;if(Ke){var l=Qr,d=Yr;l=(d&~(1<<32-Ut(d)-1)).toString(32)+l,s="«"+s+"R"+l,l=Cf++,0<l&&(s+="H"+l.toString(32)),s+="»"}else l=qA++,s="«"+s+"r"+l.toString(32)+"»";return u.memoizedState=s},useHostTransitionStatus:Jh,useFormState:My,useActionState:My,useOptimistic:function(u){var s=Bn();s.memoizedState=s.baseState=u;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return s.queue=l,s=ep.bind(null,Le,!0,l),l.dispatch=s,[u,s]},useMemoCache:qh,useCacheRefresh:function(){return Bn().memoizedState=ZA.bind(null,Le)}},tb={readContext:En,use:Af,useCallback:zy,useContext:En,useEffect:Py,useImperativeHandle:Uy,useInsertionEffect:Vy,useLayoutEffect:By,useMemo:Hy,useReducer:wf,useRef:Fy,useState:function(){return wf(Wr)},useDebugValue:Zh,useDeferredValue:function(u,s){var l=qt();return qy(l,ot.memoizedState,u,s)},useTransition:function(){var u=wf(Wr)[0],s=qt().memoizedState;return[typeof u=="boolean"?u:ll(u),s]},useSyncExternalStore:xy,useId:Xy,useHostTransitionStatus:Jh,useFormState:ky,useActionState:ky,useOptimistic:function(u,s){var l=qt();return Ay(l,ot,u,s)},useMemoCache:qh,useCacheRefresh:Zy},KA={readContext:En,use:Af,useCallback:zy,useContext:En,useEffect:Py,useImperativeHandle:Uy,useInsertionEffect:Vy,useLayoutEffect:By,useMemo:Hy,useReducer:Yh,useRef:Fy,useState:function(){return Yh(Wr)},useDebugValue:Zh,useDeferredValue:function(u,s){var l=qt();return ot===null?Wh(l,u,s):qy(l,ot.memoizedState,u,s)},useTransition:function(){var u=Yh(Wr)[0],s=qt().memoizedState;return[typeof u=="boolean"?u:ll(u),s]},useSyncExternalStore:xy,useId:Xy,useHostTransitionStatus:Jh,useFormState:Iy,useActionState:Iy,useOptimistic:function(u,s){var l=qt();return ot!==null?Ay(l,ot,u,s):(l.baseState=u,[u,l.queue.dispatch])},useMemoCache:qh,useCacheRefresh:Zy},Ms=null,dl=0;function Mf(u){var s=dl;return dl+=1,Ms===null&&(Ms=[]),dy(Ms,u,s)}function hl(u,s){s=s.props.ref,u.ref=s!==void 0?s:null}function kf(u,s){throw s.$$typeof===g?Error(i(525)):(u=Object.prototype.toString.call(s),Error(i(31,u==="[object Object]"?"object with keys {"+Object.keys(s).join(", ")+"}":u)))}function nb(u){var s=u._init;return s(u._payload)}function ib(u){function s(G,U){if(u){var Q=G.deletions;Q===null?(G.deletions=[U],G.flags|=16):Q.push(U)}}function l(G,U){if(!u)return null;for(;U!==null;)s(G,U),U=U.sibling;return null}function d(G){for(var U=new Map;G!==null;)G.key!==null?U.set(G.key,G):U.set(G.index,G),G=G.sibling;return U}function m(G,U){return G=Gr(G,U),G.index=0,G.sibling=null,G}function b(G,U,Q){return G.index=Q,u?(Q=G.alternate,Q!==null?(Q=Q.index,Q<U?(G.flags|=67108866,U):Q):(G.flags|=67108866,U)):(G.flags|=1048576,U)}function w(G){return u&&G.alternate===null&&(G.flags|=67108866),G}function R(G,U,Q,ae){return U===null||U.tag!==6?(U=Eh(Q,G.mode,ae),U.return=G,U):(U=m(U,Q),U.return=G,U)}function j(G,U,Q,ae){var ye=Q.type;return ye===E?se(G,U,Q.props.children,ae,Q.key):U!==null&&(U.elementType===ye||typeof ye=="object"&&ye!==null&&ye.$$typeof===P&&nb(ye)===U.type)?(U=m(U,Q.props),hl(U,Q),U.return=G,U):(U=mf(Q.type,Q.key,Q.props,null,G.mode,ae),hl(U,Q),U.return=G,U)}function Z(G,U,Q,ae){return U===null||U.tag!==4||U.stateNode.containerInfo!==Q.containerInfo||U.stateNode.implementation!==Q.implementation?(U=Th(Q,G.mode,ae),U.return=G,U):(U=m(U,Q.children||[]),U.return=G,U)}function se(G,U,Q,ae,ye){return U===null||U.tag!==7?(U=vo(Q,G.mode,ae,ye),U.return=G,U):(U=m(U,Q),U.return=G,U)}function de(G,U,Q){if(typeof U=="string"&&U!==""||typeof U=="number"||typeof U=="bigint")return U=Eh(""+U,G.mode,Q),U.return=G,U;if(typeof U=="object"&&U!==null){switch(U.$$typeof){case y:return Q=mf(U.type,U.key,U.props,null,G.mode,Q),hl(Q,U),Q.return=G,Q;case v:return U=Th(U,G.mode,Q),U.return=G,U;case P:var ae=U._init;return U=ae(U._payload),de(G,U,Q)}if(X(U)||te(U))return U=vo(U,G.mode,Q,null),U.return=G,U;if(typeof U.then=="function")return de(G,Mf(U),Q);if(U.$$typeof===C)return de(G,bf(G,U),Q);kf(G,U)}return null}function J(G,U,Q,ae){var ye=U!==null?U.key:null;if(typeof Q=="string"&&Q!==""||typeof Q=="number"||typeof Q=="bigint")return ye!==null?null:R(G,U,""+Q,ae);if(typeof Q=="object"&&Q!==null){switch(Q.$$typeof){case y:return Q.key===ye?j(G,U,Q,ae):null;case v:return Q.key===ye?Z(G,U,Q,ae):null;case P:return ye=Q._init,Q=ye(Q._payload),J(G,U,Q,ae)}if(X(Q)||te(Q))return ye!==null?null:se(G,U,Q,ae,null);if(typeof Q.then=="function")return J(G,U,Mf(Q),ae);if(Q.$$typeof===C)return J(G,U,bf(G,Q),ae);kf(G,Q)}return null}function ee(G,U,Q,ae,ye){if(typeof ae=="string"&&ae!==""||typeof ae=="number"||typeof ae=="bigint")return G=G.get(Q)||null,R(U,G,""+ae,ye);if(typeof ae=="object"&&ae!==null){switch(ae.$$typeof){case y:return G=G.get(ae.key===null?Q:ae.key)||null,j(U,G,ae,ye);case v:return G=G.get(ae.key===null?Q:ae.key)||null,Z(U,G,ae,ye);case P:var Ie=ae._init;return ae=Ie(ae._payload),ee(G,U,Q,ae,ye)}if(X(ae)||te(ae))return G=G.get(Q)||null,se(U,G,ae,ye,null);if(typeof ae.then=="function")return ee(G,U,Q,Mf(ae),ye);if(ae.$$typeof===C)return ee(G,U,Q,bf(U,ae),ye);kf(U,ae)}return null}function Ae(G,U,Q,ae){for(var ye=null,Ie=null,Ee=U,Ce=U=0,nn=null;Ee!==null&&Ce<Q.length;Ce++){Ee.index>Ce?(nn=Ee,Ee=null):nn=Ee.sibling;var Ze=J(G,Ee,Q[Ce],ae);if(Ze===null){Ee===null&&(Ee=nn);break}u&&Ee&&Ze.alternate===null&&s(G,Ee),U=b(Ze,U,Ce),Ie===null?ye=Ze:Ie.sibling=Ze,Ie=Ze,Ee=nn}if(Ce===Q.length)return l(G,Ee),Ke&&bo(G,Ce),ye;if(Ee===null){for(;Ce<Q.length;Ce++)Ee=de(G,Q[Ce],ae),Ee!==null&&(U=b(Ee,U,Ce),Ie===null?ye=Ee:Ie.sibling=Ee,Ie=Ee);return Ke&&bo(G,Ce),ye}for(Ee=d(Ee);Ce<Q.length;Ce++)nn=ee(Ee,G,Ce,Q[Ce],ae),nn!==null&&(u&&nn.alternate!==null&&Ee.delete(nn.key===null?Ce:nn.key),U=b(nn,U,Ce),Ie===null?ye=nn:Ie.sibling=nn,Ie=nn);return u&&Ee.forEach(function(Xu){return s(G,Xu)}),Ke&&bo(G,Ce),ye}function _e(G,U,Q,ae){if(Q==null)throw Error(i(151));for(var ye=null,Ie=null,Ee=U,Ce=U=0,nn=null,Ze=Q.next();Ee!==null&&!Ze.done;Ce++,Ze=Q.next()){Ee.index>Ce?(nn=Ee,Ee=null):nn=Ee.sibling;var Xu=J(G,Ee,Ze.value,ae);if(Xu===null){Ee===null&&(Ee=nn);break}u&&Ee&&Xu.alternate===null&&s(G,Ee),U=b(Xu,U,Ce),Ie===null?ye=Xu:Ie.sibling=Xu,Ie=Xu,Ee=nn}if(Ze.done)return l(G,Ee),Ke&&bo(G,Ce),ye;if(Ee===null){for(;!Ze.done;Ce++,Ze=Q.next())Ze=de(G,Ze.value,ae),Ze!==null&&(U=b(Ze,U,Ce),Ie===null?ye=Ze:Ie.sibling=Ze,Ie=Ze);return Ke&&bo(G,Ce),ye}for(Ee=d(Ee);!Ze.done;Ce++,Ze=Q.next())Ze=ee(Ee,G,Ce,Ze.value,ae),Ze!==null&&(u&&Ze.alternate!==null&&Ee.delete(Ze.key===null?Ce:Ze.key),U=b(Ze,U,Ce),Ie===null?ye=Ze:Ie.sibling=Ze,Ie=Ze);return u&&Ee.forEach(function(J7){return s(G,J7)}),Ke&&bo(G,Ce),ye}function at(G,U,Q,ae){if(typeof Q=="object"&&Q!==null&&Q.type===E&&Q.key===null&&(Q=Q.props.children),typeof Q=="object"&&Q!==null){switch(Q.$$typeof){case y:e:{for(var ye=Q.key;U!==null;){if(U.key===ye){if(ye=Q.type,ye===E){if(U.tag===7){l(G,U.sibling),ae=m(U,Q.props.children),ae.return=G,G=ae;break e}}else if(U.elementType===ye||typeof ye=="object"&&ye!==null&&ye.$$typeof===P&&nb(ye)===U.type){l(G,U.sibling),ae=m(U,Q.props),hl(ae,Q),ae.return=G,G=ae;break e}l(G,U);break}else s(G,U);U=U.sibling}Q.type===E?(ae=vo(Q.props.children,G.mode,ae,Q.key),ae.return=G,G=ae):(ae=mf(Q.type,Q.key,Q.props,null,G.mode,ae),hl(ae,Q),ae.return=G,G=ae)}return w(G);case v:e:{for(ye=Q.key;U!==null;){if(U.key===ye)if(U.tag===4&&U.stateNode.containerInfo===Q.containerInfo&&U.stateNode.implementation===Q.implementation){l(G,U.sibling),ae=m(U,Q.children||[]),ae.return=G,G=ae;break e}else{l(G,U);break}else s(G,U);U=U.sibling}ae=Th(Q,G.mode,ae),ae.return=G,G=ae}return w(G);case P:return ye=Q._init,Q=ye(Q._payload),at(G,U,Q,ae)}if(X(Q))return Ae(G,U,Q,ae);if(te(Q)){if(ye=te(Q),typeof ye!="function")throw Error(i(150));return Q=ye.call(Q),_e(G,U,Q,ae)}if(typeof Q.then=="function")return at(G,U,Mf(Q),ae);if(Q.$$typeof===C)return at(G,U,bf(G,Q),ae);kf(G,Q)}return typeof Q=="string"&&Q!==""||typeof Q=="number"||typeof Q=="bigint"?(Q=""+Q,U!==null&&U.tag===6?(l(G,U.sibling),ae=m(U,Q),ae.return=G,G=ae):(l(G,U),ae=Eh(Q,G.mode,ae),ae.return=G,G=ae),w(G)):l(G,U)}return function(G,U,Q,ae){try{dl=0;var ye=at(G,U,Q,ae);return Ms=null,ye}catch(Ee){if(Ee===il||Ee===Ef)throw Ee;var Ie=ei(29,Ee,null,G.mode);return Ie.lanes=ae,Ie.return=G,Ie}finally{}}}var ks=ib(!0),rb=ib(!1),bi=q(null),fr=null;function Lu(u){var s=u.alternate;ne(Wt,Wt.current&1),ne(bi,u),fr===null&&(s===null||Ds.current!==null||s.memoizedState!==null)&&(fr=u)}function ub(u){if(u.tag===22){if(ne(Wt,Wt.current),ne(bi,u),fr===null){var s=u.alternate;s!==null&&s.memoizedState!==null&&(fr=u)}}else Iu()}function Iu(){ne(Wt,Wt.current),ne(bi,bi.current)}function Kr(u){ie(bi),fr===u&&(fr=null),ie(Wt)}var Wt=q(0);function Lf(u){for(var s=u;s!==null;){if(s.tag===13){var l=s.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||l.data==="$?"||Hp(l)))return s}else if(s.tag===19&&s.memoizedProps.revealOrder!==void 0){if((s.flags&128)!==0)return s}else if(s.child!==null){s.child.return=s,s=s.child;continue}if(s===u)break;for(;s.sibling===null;){if(s.return===null||s.return===u)return null;s=s.return}s.sibling.return=s.return,s=s.sibling}return null}function tp(u,s,l,d){s=u.memoizedState,l=l(d,s),l=l==null?s:p({},s,l),u.memoizedState=l,u.lanes===0&&(u.updateQueue.baseState=l)}var np={enqueueSetState:function(u,s,l){u=u._reactInternals;var d=ri(),m=Ru(d);m.payload=s,l!=null&&(m.callback=l),s=Mu(u,m,d),s!==null&&(ui(s,u,d),ul(s,u,d))},enqueueReplaceState:function(u,s,l){u=u._reactInternals;var d=ri(),m=Ru(d);m.tag=1,m.payload=s,l!=null&&(m.callback=l),s=Mu(u,m,d),s!==null&&(ui(s,u,d),ul(s,u,d))},enqueueForceUpdate:function(u,s){u=u._reactInternals;var l=ri(),d=Ru(l);d.tag=2,s!=null&&(d.callback=s),s=Mu(u,d,l),s!==null&&(ui(s,u,l),ul(s,u,l))}};function ob(u,s,l,d,m,b,w){return u=u.stateNode,typeof u.shouldComponentUpdate=="function"?u.shouldComponentUpdate(d,b,w):s.prototype&&s.prototype.isPureReactComponent?!Xa(l,d)||!Xa(m,b):!0}function sb(u,s,l,d){u=s.state,typeof s.componentWillReceiveProps=="function"&&s.componentWillReceiveProps(l,d),typeof s.UNSAFE_componentWillReceiveProps=="function"&&s.UNSAFE_componentWillReceiveProps(l,d),s.state!==u&&np.enqueueReplaceState(s,s.state,null)}function Ao(u,s){var l=s;if("ref"in s){l={};for(var d in s)d!=="ref"&&(l[d]=s[d])}if(u=u.defaultProps){l===s&&(l=p({},l));for(var m in u)l[m]===void 0&&(l[m]=u[m])}return l}var If=typeof reportError=="function"?reportError:function(u){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var s=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof u=="object"&&u!==null&&typeof u.message=="string"?String(u.message):String(u),error:u});if(!window.dispatchEvent(s))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",u);return}console.error(u)};function ab(u){If(u)}function lb(u){console.error(u)}function cb(u){If(u)}function Ff(u,s){try{var l=u.onUncaughtError;l(s.value,{componentStack:s.stack})}catch(d){setTimeout(function(){throw d})}}function fb(u,s,l){try{var d=u.onCaughtError;d(l.value,{componentStack:l.stack,errorBoundary:s.tag===1?s.stateNode:null})}catch(m){setTimeout(function(){throw m})}}function ip(u,s,l){return l=Ru(l),l.tag=3,l.payload={element:null},l.callback=function(){Ff(u,s)},l}function db(u){return u=Ru(u),u.tag=3,u}function hb(u,s,l,d){var m=l.type.getDerivedStateFromError;if(typeof m=="function"){var b=d.value;u.payload=function(){return m(b)},u.callback=function(){fb(s,l,d)}}var w=l.stateNode;w!==null&&typeof w.componentDidCatch=="function"&&(u.callback=function(){fb(s,l,d),typeof m!="function"&&($u===null?$u=new Set([this]):$u.add(this));var R=d.stack;this.componentDidCatch(d.value,{componentStack:R!==null?R:""})})}function JA(u,s,l,d,m){if(l.flags|=32768,d!==null&&typeof d=="object"&&typeof d.then=="function"){if(s=l.alternate,s!==null&&el(s,l,m,!0),l=bi.current,l!==null){switch(l.tag){case 13:return fr===null?wp():l.alternate===null&&Nt===0&&(Nt=3),l.flags&=-257,l.flags|=65536,l.lanes=m,d===Mh?l.flags|=16384:(s=l.updateQueue,s===null?l.updateQueue=new Set([d]):s.add(d),Np(u,d,m)),!1;case 22:return l.flags|=65536,d===Mh?l.flags|=16384:(s=l.updateQueue,s===null?(s={transitions:null,markerInstances:null,retryQueue:new Set([d])},l.updateQueue=s):(l=s.retryQueue,l===null?s.retryQueue=new Set([d]):l.add(d)),Np(u,d,m)),!1}throw Error(i(435,l.tag))}return Np(u,d,m),wp(),!1}if(Ke)return s=bi.current,s!==null?((s.flags&65536)===0&&(s.flags|=256),s.flags|=65536,s.lanes=m,d!==Ch&&(u=Error(i(422),{cause:d}),Ja(mi(u,l)))):(d!==Ch&&(s=Error(i(423),{cause:d}),Ja(mi(s,l))),u=u.current.alternate,u.flags|=65536,m&=-m,u.lanes|=m,d=mi(d,l),m=ip(u.stateNode,d,m),Ih(u,m),Nt!==4&&(Nt=2)),!1;var b=Error(i(520),{cause:d});if(b=mi(b,l),xl===null?xl=[b]:xl.push(b),Nt!==4&&(Nt=2),s===null)return!0;d=mi(d,l),l=s;do{switch(l.tag){case 3:return l.flags|=65536,u=m&-m,l.lanes|=u,u=ip(l.stateNode,d,u),Ih(l,u),!1;case 1:if(s=l.type,b=l.stateNode,(l.flags&128)===0&&(typeof s.getDerivedStateFromError=="function"||b!==null&&typeof b.componentDidCatch=="function"&&($u===null||!$u.has(b))))return l.flags|=65536,m&=-m,l.lanes|=m,m=db(m),hb(m,u,l,d),Ih(l,m),!1}l=l.return}while(l!==null);return!1}var pb=Error(i(461)),en=!1;function dn(u,s,l,d){s.child=u===null?rb(s,null,l,d):ks(s,u.child,l,d)}function mb(u,s,l,d,m){l=l.render;var b=s.ref;if("ref"in d){var w={};for(var R in d)R!=="ref"&&(w[R]=d[R])}else w=d;return So(s),d=Bh(u,s,l,w,b,m),R=$h(),u!==null&&!en?(Uh(u,s,m),Jr(u,s,m)):(Ke&&R&&Sh(s),s.flags|=1,dn(u,s,d,m),s.child)}function gb(u,s,l,d,m){if(u===null){var b=l.type;return typeof b=="function"&&!xh(b)&&b.defaultProps===void 0&&l.compare===null?(s.tag=15,s.type=b,vb(u,s,b,d,m)):(u=mf(l.type,null,d,s,s.mode,m),u.ref=s.ref,u.return=s,s.child=u)}if(b=u.child,!fp(u,m)){var w=b.memoizedProps;if(l=l.compare,l=l!==null?l:Xa,l(w,d)&&u.ref===s.ref)return Jr(u,s,m)}return s.flags|=1,u=Gr(b,d),u.ref=s.ref,u.return=s,s.child=u}function vb(u,s,l,d,m){if(u!==null){var b=u.memoizedProps;if(Xa(b,d)&&u.ref===s.ref)if(en=!1,s.pendingProps=d=b,fp(u,m))(u.flags&131072)!==0&&(en=!0);else return s.lanes=u.lanes,Jr(u,s,m)}return rp(u,s,l,d,m)}function yb(u,s,l){var d=s.pendingProps,m=d.children,b=u!==null?u.memoizedState:null;if(d.mode==="hidden"){if((s.flags&128)!==0){if(d=b!==null?b.baseLanes|l:l,u!==null){for(m=s.child=u.child,b=0;m!==null;)b=b|m.lanes|m.childLanes,m=m.sibling;s.childLanes=b&~d}else s.childLanes=0,s.child=null;return bb(u,s,d,l)}if((l&536870912)!==0)s.memoizedState={baseLanes:0,cachePool:null},u!==null&&xf(s,b!==null?b.cachePool:null),b!==null?vy(s,b):jh(),ub(s);else return s.lanes=s.childLanes=536870912,bb(u,s,b!==null?b.baseLanes|l:l,l)}else b!==null?(xf(s,b.cachePool),vy(s,b),Iu(),s.memoizedState=null):(u!==null&&xf(s,null),jh(),Iu());return dn(u,s,m,l),s.child}function bb(u,s,l,d){var m=Rh();return m=m===null?null:{parent:Zt._currentValue,pool:m},s.memoizedState={baseLanes:l,cachePool:m},u!==null&&xf(s,null),jh(),ub(s),u!==null&&el(u,s,d,!0),null}function jf(u,s){var l=s.ref;if(l===null)u!==null&&u.ref!==null&&(s.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error(i(284));(u===null||u.ref!==l)&&(s.flags|=4194816)}}function rp(u,s,l,d,m){return So(s),l=Bh(u,s,l,d,void 0,m),d=$h(),u!==null&&!en?(Uh(u,s,m),Jr(u,s,m)):(Ke&&d&&Sh(s),s.flags|=1,dn(u,s,l,m),s.child)}function xb(u,s,l,d,m,b){return So(s),s.updateQueue=null,l=by(s,d,l,m),yy(u),d=$h(),u!==null&&!en?(Uh(u,s,b),Jr(u,s,b)):(Ke&&d&&Sh(s),s.flags|=1,dn(u,s,l,b),s.child)}function Eb(u,s,l,d,m){if(So(s),s.stateNode===null){var b=Ss,w=l.contextType;typeof w=="object"&&w!==null&&(b=En(w)),b=new l(d,b),s.memoizedState=b.state!==null&&b.state!==void 0?b.state:null,b.updater=np,s.stateNode=b,b._reactInternals=s,b=s.stateNode,b.props=d,b.state=s.memoizedState,b.refs={},kh(s),w=l.contextType,b.context=typeof w=="object"&&w!==null?En(w):Ss,b.state=s.memoizedState,w=l.getDerivedStateFromProps,typeof w=="function"&&(tp(s,l,w,d),b.state=s.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof b.getSnapshotBeforeUpdate=="function"||typeof b.UNSAFE_componentWillMount!="function"&&typeof b.componentWillMount!="function"||(w=b.state,typeof b.componentWillMount=="function"&&b.componentWillMount(),typeof b.UNSAFE_componentWillMount=="function"&&b.UNSAFE_componentWillMount(),w!==b.state&&np.enqueueReplaceState(b,b.state,null),sl(s,d,b,m),ol(),b.state=s.memoizedState),typeof b.componentDidMount=="function"&&(s.flags|=4194308),d=!0}else if(u===null){b=s.stateNode;var R=s.memoizedProps,j=Ao(l,R);b.props=j;var Z=b.context,se=l.contextType;w=Ss,typeof se=="object"&&se!==null&&(w=En(se));var de=l.getDerivedStateFromProps;se=typeof de=="function"||typeof b.getSnapshotBeforeUpdate=="function",R=s.pendingProps!==R,se||typeof b.UNSAFE_componentWillReceiveProps!="function"&&typeof b.componentWillReceiveProps!="function"||(R||Z!==w)&&sb(s,b,d,w),Ou=!1;var J=s.memoizedState;b.state=J,sl(s,d,b,m),ol(),Z=s.memoizedState,R||J!==Z||Ou?(typeof de=="function"&&(tp(s,l,de,d),Z=s.memoizedState),(j=Ou||ob(s,l,j,d,J,Z,w))?(se||typeof b.UNSAFE_componentWillMount!="function"&&typeof b.componentWillMount!="function"||(typeof b.componentWillMount=="function"&&b.componentWillMount(),typeof b.UNSAFE_componentWillMount=="function"&&b.UNSAFE_componentWillMount()),typeof b.componentDidMount=="function"&&(s.flags|=4194308)):(typeof b.componentDidMount=="function"&&(s.flags|=4194308),s.memoizedProps=d,s.memoizedState=Z),b.props=d,b.state=Z,b.context=w,d=j):(typeof b.componentDidMount=="function"&&(s.flags|=4194308),d=!1)}else{b=s.stateNode,Lh(u,s),w=s.memoizedProps,se=Ao(l,w),b.props=se,de=s.pendingProps,J=b.context,Z=l.contextType,j=Ss,typeof Z=="object"&&Z!==null&&(j=En(Z)),R=l.getDerivedStateFromProps,(Z=typeof R=="function"||typeof b.getSnapshotBeforeUpdate=="function")||typeof b.UNSAFE_componentWillReceiveProps!="function"&&typeof b.componentWillReceiveProps!="function"||(w!==de||J!==j)&&sb(s,b,d,j),Ou=!1,J=s.memoizedState,b.state=J,sl(s,d,b,m),ol();var ee=s.memoizedState;w!==de||J!==ee||Ou||u!==null&&u.dependencies!==null&&yf(u.dependencies)?(typeof R=="function"&&(tp(s,l,R,d),ee=s.memoizedState),(se=Ou||ob(s,l,se,d,J,ee,j)||u!==null&&u.dependencies!==null&&yf(u.dependencies))?(Z||typeof b.UNSAFE_componentWillUpdate!="function"&&typeof b.componentWillUpdate!="function"||(typeof b.componentWillUpdate=="function"&&b.componentWillUpdate(d,ee,j),typeof b.UNSAFE_componentWillUpdate=="function"&&b.UNSAFE_componentWillUpdate(d,ee,j)),typeof b.componentDidUpdate=="function"&&(s.flags|=4),typeof b.getSnapshotBeforeUpdate=="function"&&(s.flags|=1024)):(typeof b.componentDidUpdate!="function"||w===u.memoizedProps&&J===u.memoizedState||(s.flags|=4),typeof b.getSnapshotBeforeUpdate!="function"||w===u.memoizedProps&&J===u.memoizedState||(s.flags|=1024),s.memoizedProps=d,s.memoizedState=ee),b.props=d,b.state=ee,b.context=j,d=se):(typeof b.componentDidUpdate!="function"||w===u.memoizedProps&&J===u.memoizedState||(s.flags|=4),typeof b.getSnapshotBeforeUpdate!="function"||w===u.memoizedProps&&J===u.memoizedState||(s.flags|=1024),d=!1)}return b=d,jf(u,s),d=(s.flags&128)!==0,b||d?(b=s.stateNode,l=d&&typeof l.getDerivedStateFromError!="function"?null:b.render(),s.flags|=1,u!==null&&d?(s.child=ks(s,u.child,null,m),s.child=ks(s,null,l,m)):dn(u,s,l,m),s.memoizedState=b.state,u=s.child):u=Jr(u,s,m),u}function Tb(u,s,l,d){return Ka(),s.flags|=256,dn(u,s,l,d),s.child}var up={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function op(u){return{baseLanes:u,cachePool:ly()}}function sp(u,s,l){return u=u!==null?u.childLanes&~l:0,s&&(u|=xi),u}function Sb(u,s,l){var d=s.pendingProps,m=!1,b=(s.flags&128)!==0,w;if((w=b)||(w=u!==null&&u.memoizedState===null?!1:(Wt.current&2)!==0),w&&(m=!0,s.flags&=-129),w=(s.flags&32)!==0,s.flags&=-33,u===null){if(Ke){if(m?Lu(s):Iu(),Ke){var R=Dt,j;if(j=R){e:{for(j=R,R=cr;j.nodeType!==8;){if(!R){R=null;break e}if(j=Vi(j.nextSibling),j===null){R=null;break e}}R=j}R!==null?(s.memoizedState={dehydrated:R,treeContext:yo!==null?{id:Yr,overflow:Qr}:null,retryLane:536870912,hydrationErrors:null},j=ei(18,null,null,0),j.stateNode=R,j.return=s,s.child=j,wn=s,Dt=null,j=!0):j=!1}j||Eo(s)}if(R=s.memoizedState,R!==null&&(R=R.dehydrated,R!==null))return Hp(R)?s.lanes=32:s.lanes=536870912,null;Kr(s)}return R=d.children,d=d.fallback,m?(Iu(),m=s.mode,R=Pf({mode:"hidden",children:R},m),d=vo(d,m,l,null),R.return=s,d.return=s,R.sibling=d,s.child=R,m=s.child,m.memoizedState=op(l),m.childLanes=sp(u,w,l),s.memoizedState=up,d):(Lu(s),ap(s,R))}if(j=u.memoizedState,j!==null&&(R=j.dehydrated,R!==null)){if(b)s.flags&256?(Lu(s),s.flags&=-257,s=lp(u,s,l)):s.memoizedState!==null?(Iu(),s.child=u.child,s.flags|=128,s=null):(Iu(),m=d.fallback,R=s.mode,d=Pf({mode:"visible",children:d.children},R),m=vo(m,R,l,null),m.flags|=2,d.return=s,m.return=s,d.sibling=m,s.child=d,ks(s,u.child,null,l),d=s.child,d.memoizedState=op(l),d.childLanes=sp(u,w,l),s.memoizedState=up,s=m);else if(Lu(s),Hp(R)){if(w=R.nextSibling&&R.nextSibling.dataset,w)var Z=w.dgst;w=Z,d=Error(i(419)),d.stack="",d.digest=w,Ja({value:d,source:null,stack:null}),s=lp(u,s,l)}else if(en||el(u,s,l,!1),w=(l&u.childLanes)!==0,en||w){if(w=pt,w!==null&&(d=l&-l,d=(d&42)!==0?1:Fa(d),d=(d&(w.suspendedLanes|l))!==0?0:d,d!==0&&d!==j.retryLane))throw j.retryLane=d,Ts(u,d),ui(w,u,d),pb;R.data==="$?"||wp(),s=lp(u,s,l)}else R.data==="$?"?(s.flags|=192,s.child=u.child,s=null):(u=j.treeContext,Dt=Vi(R.nextSibling),wn=s,Ke=!0,xo=null,cr=!1,u!==null&&(vi[yi++]=Yr,vi[yi++]=Qr,vi[yi++]=yo,Yr=u.id,Qr=u.overflow,yo=s),s=ap(s,d.children),s.flags|=4096);return s}return m?(Iu(),m=d.fallback,R=s.mode,j=u.child,Z=j.sibling,d=Gr(j,{mode:"hidden",children:d.children}),d.subtreeFlags=j.subtreeFlags&65011712,Z!==null?m=Gr(Z,m):(m=vo(m,R,l,null),m.flags|=2),m.return=s,d.return=s,d.sibling=m,s.child=d,d=m,m=s.child,R=u.child.memoizedState,R===null?R=op(l):(j=R.cachePool,j!==null?(Z=Zt._currentValue,j=j.parent!==Z?{parent:Z,pool:Z}:j):j=ly(),R={baseLanes:R.baseLanes|l,cachePool:j}),m.memoizedState=R,m.childLanes=sp(u,w,l),s.memoizedState=up,d):(Lu(s),l=u.child,u=l.sibling,l=Gr(l,{mode:"visible",children:d.children}),l.return=s,l.sibling=null,u!==null&&(w=s.deletions,w===null?(s.deletions=[u],s.flags|=16):w.push(u)),s.child=l,s.memoizedState=null,l)}function ap(u,s){return s=Pf({mode:"visible",children:s},u.mode),s.return=u,u.child=s}function Pf(u,s){return u=ei(22,u,null,s),u.lanes=0,u.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},u}function lp(u,s,l){return ks(s,u.child,null,l),u=ap(s,s.pendingProps.children),u.flags|=2,s.memoizedState=null,u}function _b(u,s,l){u.lanes|=s;var d=u.alternate;d!==null&&(d.lanes|=s),wh(u.return,s,l)}function cp(u,s,l,d,m){var b=u.memoizedState;b===null?u.memoizedState={isBackwards:s,rendering:null,renderingStartTime:0,last:d,tail:l,tailMode:m}:(b.isBackwards=s,b.rendering=null,b.renderingStartTime=0,b.last=d,b.tail=l,b.tailMode=m)}function Cb(u,s,l){var d=s.pendingProps,m=d.revealOrder,b=d.tail;if(dn(u,s,d.children,l),d=Wt.current,(d&2)!==0)d=d&1|2,s.flags|=128;else{if(u!==null&&(u.flags&128)!==0)e:for(u=s.child;u!==null;){if(u.tag===13)u.memoizedState!==null&&_b(u,l,s);else if(u.tag===19)_b(u,l,s);else if(u.child!==null){u.child.return=u,u=u.child;continue}if(u===s)break e;for(;u.sibling===null;){if(u.return===null||u.return===s)break e;u=u.return}u.sibling.return=u.return,u=u.sibling}d&=1}switch(ne(Wt,d),m){case"forwards":for(l=s.child,m=null;l!==null;)u=l.alternate,u!==null&&Lf(u)===null&&(m=l),l=l.sibling;l=m,l===null?(m=s.child,s.child=null):(m=l.sibling,l.sibling=null),cp(s,!1,m,l,b);break;case"backwards":for(l=null,m=s.child,s.child=null;m!==null;){if(u=m.alternate,u!==null&&Lf(u)===null){s.child=m;break}u=m.sibling,m.sibling=l,l=m,m=u}cp(s,!0,l,null,b);break;case"together":cp(s,!1,null,null,void 0);break;default:s.memoizedState=null}return s.child}function Jr(u,s,l){if(u!==null&&(s.dependencies=u.dependencies),Bu|=s.lanes,(l&s.childLanes)===0)if(u!==null){if(el(u,s,l,!1),(l&s.childLanes)===0)return null}else return null;if(u!==null&&s.child!==u.child)throw Error(i(153));if(s.child!==null){for(u=s.child,l=Gr(u,u.pendingProps),s.child=l,l.return=s;u.sibling!==null;)u=u.sibling,l=l.sibling=Gr(u,u.pendingProps),l.return=s;l.sibling=null}return s.child}function fp(u,s){return(u.lanes&s)!==0?!0:(u=u.dependencies,!!(u!==null&&yf(u)))}function e7(u,s,l){switch(s.tag){case 3:ue(s,s.stateNode.containerInfo),Nu(s,Zt,u.memoizedState.cache),Ka();break;case 27:case 5:ve(s);break;case 4:ue(s,s.stateNode.containerInfo);break;case 10:Nu(s,s.type,s.memoizedProps.value);break;case 13:var d=s.memoizedState;if(d!==null)return d.dehydrated!==null?(Lu(s),s.flags|=128,null):(l&s.child.childLanes)!==0?Sb(u,s,l):(Lu(s),u=Jr(u,s,l),u!==null?u.sibling:null);Lu(s);break;case 19:var m=(u.flags&128)!==0;if(d=(l&s.childLanes)!==0,d||(el(u,s,l,!1),d=(l&s.childLanes)!==0),m){if(d)return Cb(u,s,l);s.flags|=128}if(m=s.memoizedState,m!==null&&(m.rendering=null,m.tail=null,m.lastEffect=null),ne(Wt,Wt.current),d)break;return null;case 22:case 23:return s.lanes=0,yb(u,s,l);case 24:Nu(s,Zt,u.memoizedState.cache)}return Jr(u,s,l)}function Ab(u,s,l){if(u!==null)if(u.memoizedProps!==s.pendingProps)en=!0;else{if(!fp(u,l)&&(s.flags&128)===0)return en=!1,e7(u,s,l);en=(u.flags&131072)!==0}else en=!1,Ke&&(s.flags&1048576)!==0&&ny(s,vf,s.index);switch(s.lanes=0,s.tag){case 16:e:{u=s.pendingProps;var d=s.elementType,m=d._init;if(d=m(d._payload),s.type=d,typeof d=="function")xh(d)?(u=Ao(d,u),s.tag=1,s=Eb(null,s,d,u,l)):(s.tag=0,s=rp(null,s,d,u,l));else{if(d!=null){if(m=d.$$typeof,m===N){s.tag=11,s=mb(null,s,d,u,l);break e}else if(m===I){s.tag=14,s=gb(null,s,d,u,l);break e}}throw s=fe(d)||d,Error(i(306,s,""))}}return s;case 0:return rp(u,s,s.type,s.pendingProps,l);case 1:return d=s.type,m=Ao(d,s.pendingProps),Eb(u,s,d,m,l);case 3:e:{if(ue(s,s.stateNode.containerInfo),u===null)throw Error(i(387));d=s.pendingProps;var b=s.memoizedState;m=b.element,Lh(u,s),sl(s,d,null,l);var w=s.memoizedState;if(d=w.cache,Nu(s,Zt,d),d!==b.cache&&Dh(s,[Zt],l,!0),ol(),d=w.element,b.isDehydrated)if(b={element:d,isDehydrated:!1,cache:w.cache},s.updateQueue.baseState=b,s.memoizedState=b,s.flags&256){s=Tb(u,s,d,l);break e}else if(d!==m){m=mi(Error(i(424)),s),Ja(m),s=Tb(u,s,d,l);break e}else{switch(u=s.stateNode.containerInfo,u.nodeType){case 9:u=u.body;break;default:u=u.nodeName==="HTML"?u.ownerDocument.body:u}for(Dt=Vi(u.firstChild),wn=s,Ke=!0,xo=null,cr=!0,l=rb(s,null,d,l),s.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling}else{if(Ka(),d===m){s=Jr(u,s,l);break e}dn(u,s,d,l)}s=s.child}return s;case 26:return jf(u,s),u===null?(l=O3(s.type,null,s.pendingProps,null))?s.memoizedState=l:Ke||(l=s.type,u=s.pendingProps,d=Kf(oe.current).createElement(l),d[_t]=s,d[Jt]=u,pn(d,l,u),wt(d),s.stateNode=d):s.memoizedState=O3(s.type,u.memoizedProps,s.pendingProps,u.memoizedState),null;case 27:return ve(s),u===null&&Ke&&(d=s.stateNode=w3(s.type,s.pendingProps,oe.current),wn=s,cr=!0,m=Dt,Hu(s.type)?(qp=m,Dt=Vi(d.firstChild)):Dt=m),dn(u,s,s.pendingProps.children,l),jf(u,s),u===null&&(s.flags|=4194304),s.child;case 5:return u===null&&Ke&&((m=d=Dt)&&(d=D7(d,s.type,s.pendingProps,cr),d!==null?(s.stateNode=d,wn=s,Dt=Vi(d.firstChild),cr=!1,m=!0):m=!1),m||Eo(s)),ve(s),m=s.type,b=s.pendingProps,w=u!==null?u.memoizedProps:null,d=b.children,$p(m,b)?d=null:w!==null&&$p(m,w)&&(s.flags|=32),s.memoizedState!==null&&(m=Bh(u,s,GA,null,null,l),Nl._currentValue=m),jf(u,s),dn(u,s,d,l),s.child;case 6:return u===null&&Ke&&((u=l=Dt)&&(l=N7(l,s.pendingProps,cr),l!==null?(s.stateNode=l,wn=s,Dt=null,u=!0):u=!1),u||Eo(s)),null;case 13:return Sb(u,s,l);case 4:return ue(s,s.stateNode.containerInfo),d=s.pendingProps,u===null?s.child=ks(s,null,d,l):dn(u,s,d,l),s.child;case 11:return mb(u,s,s.type,s.pendingProps,l);case 7:return dn(u,s,s.pendingProps,l),s.child;case 8:return dn(u,s,s.pendingProps.children,l),s.child;case 12:return dn(u,s,s.pendingProps.children,l),s.child;case 10:return d=s.pendingProps,Nu(s,s.type,d.value),dn(u,s,d.children,l),s.child;case 9:return m=s.type._context,d=s.pendingProps.children,So(s),m=En(m),d=d(m),s.flags|=1,dn(u,s,d,l),s.child;case 14:return gb(u,s,s.type,s.pendingProps,l);case 15:return vb(u,s,s.type,s.pendingProps,l);case 19:return Cb(u,s,l);case 31:return d=s.pendingProps,l=s.mode,d={mode:d.mode,children:d.children},u===null?(l=Pf(d,l),l.ref=s.ref,s.child=l,l.return=s,s=l):(l=Gr(u.child,d),l.ref=s.ref,s.child=l,l.return=s,s=l),s;case 22:return yb(u,s,l);case 24:return So(s),d=En(Zt),u===null?(m=Rh(),m===null&&(m=pt,b=Nh(),m.pooledCache=b,b.refCount++,b!==null&&(m.pooledCacheLanes|=l),m=b),s.memoizedState={parent:d,cache:m},kh(s),Nu(s,Zt,m)):((u.lanes&l)!==0&&(Lh(u,s),sl(s,null,null,l),ol()),m=u.memoizedState,b=s.memoizedState,m.parent!==d?(m={parent:d,cache:d},s.memoizedState=m,s.lanes===0&&(s.memoizedState=s.updateQueue.baseState=m),Nu(s,Zt,d)):(d=b.cache,Nu(s,Zt,d),d!==m.cache&&Dh(s,[Zt],l,!0))),dn(u,s,s.pendingProps.children,l),s.child;case 29:throw s.pendingProps}throw Error(i(156,s.tag))}function eu(u){u.flags|=4}function wb(u,s){if(s.type!=="stylesheet"||(s.state.loading&4)!==0)u.flags&=-16777217;else if(u.flags|=16777216,!I3(s)){if(s=bi.current,s!==null&&((Ge&4194048)===Ge?fr!==null:(Ge&62914560)!==Ge&&(Ge&536870912)===0||s!==fr))throw rl=Mh,cy;u.flags|=8192}}function Vf(u,s){s!==null&&(u.flags|=4),u.flags&16384&&(s=u.tag!==22?fo():536870912,u.lanes|=s,js|=s)}function pl(u,s){if(!Ke)switch(u.tailMode){case"hidden":s=u.tail;for(var l=null;s!==null;)s.alternate!==null&&(l=s),s=s.sibling;l===null?u.tail=null:l.sibling=null;break;case"collapsed":l=u.tail;for(var d=null;l!==null;)l.alternate!==null&&(d=l),l=l.sibling;d===null?s||u.tail===null?u.tail=null:u.tail.sibling=null:d.sibling=null}}function Ct(u){var s=u.alternate!==null&&u.alternate.child===u.child,l=0,d=0;if(s)for(var m=u.child;m!==null;)l|=m.lanes|m.childLanes,d|=m.subtreeFlags&65011712,d|=m.flags&65011712,m.return=u,m=m.sibling;else for(m=u.child;m!==null;)l|=m.lanes|m.childLanes,d|=m.subtreeFlags,d|=m.flags,m.return=u,m=m.sibling;return u.subtreeFlags|=d,u.childLanes=l,s}function t7(u,s,l){var d=s.pendingProps;switch(_h(s),s.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ct(s),null;case 1:return Ct(s),null;case 3:return l=s.stateNode,d=null,u!==null&&(d=u.memoizedState.cache),s.memoizedState.cache!==d&&(s.flags|=2048),Zr(Zt),me(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(u===null||u.child===null)&&(Wa(s)?eu(s):u===null||u.memoizedState.isDehydrated&&(s.flags&256)===0||(s.flags|=1024,uy())),Ct(s),null;case 26:return l=s.memoizedState,u===null?(eu(s),l!==null?(Ct(s),wb(s,l)):(Ct(s),s.flags&=-16777217)):l?l!==u.memoizedState?(eu(s),Ct(s),wb(s,l)):(Ct(s),s.flags&=-16777217):(u.memoizedProps!==d&&eu(s),Ct(s),s.flags&=-16777217),null;case 27:He(s),l=oe.current;var m=s.type;if(u!==null&&s.stateNode!=null)u.memoizedProps!==d&&eu(s);else{if(!d){if(s.stateNode===null)throw Error(i(166));return Ct(s),null}u=Y.current,Wa(s)?iy(s):(u=w3(m,d,l),s.stateNode=u,eu(s))}return Ct(s),null;case 5:if(He(s),l=s.type,u!==null&&s.stateNode!=null)u.memoizedProps!==d&&eu(s);else{if(!d){if(s.stateNode===null)throw Error(i(166));return Ct(s),null}if(u=Y.current,Wa(s))iy(s);else{switch(m=Kf(oe.current),u){case 1:u=m.createElementNS("http://www.w3.org/2000/svg",l);break;case 2:u=m.createElementNS("http://www.w3.org/1998/Math/MathML",l);break;default:switch(l){case"svg":u=m.createElementNS("http://www.w3.org/2000/svg",l);break;case"math":u=m.createElementNS("http://www.w3.org/1998/Math/MathML",l);break;case"script":u=m.createElement("div"),u.innerHTML="<script><\/script>",u=u.removeChild(u.firstChild);break;case"select":u=typeof d.is=="string"?m.createElement("select",{is:d.is}):m.createElement("select"),d.multiple?u.multiple=!0:d.size&&(u.size=d.size);break;default:u=typeof d.is=="string"?m.createElement(l,{is:d.is}):m.createElement(l)}}u[_t]=s,u[Jt]=d;e:for(m=s.child;m!==null;){if(m.tag===5||m.tag===6)u.appendChild(m.stateNode);else if(m.tag!==4&&m.tag!==27&&m.child!==null){m.child.return=m,m=m.child;continue}if(m===s)break e;for(;m.sibling===null;){if(m.return===null||m.return===s)break e;m=m.return}m.sibling.return=m.return,m=m.sibling}s.stateNode=u;e:switch(pn(u,l,d),l){case"button":case"input":case"select":case"textarea":u=!!d.autoFocus;break e;case"img":u=!0;break e;default:u=!1}u&&eu(s)}}return Ct(s),s.flags&=-16777217,null;case 6:if(u&&s.stateNode!=null)u.memoizedProps!==d&&eu(s);else{if(typeof d!="string"&&s.stateNode===null)throw Error(i(166));if(u=oe.current,Wa(s)){if(u=s.stateNode,l=s.memoizedProps,d=null,m=wn,m!==null)switch(m.tag){case 27:case 5:d=m.memoizedProps}u[_t]=s,u=!!(u.nodeValue===l||d!==null&&d.suppressHydrationWarning===!0||x3(u.nodeValue,l)),u||Eo(s)}else u=Kf(u).createTextNode(d),u[_t]=s,s.stateNode=u}return Ct(s),null;case 13:if(d=s.memoizedState,u===null||u.memoizedState!==null&&u.memoizedState.dehydrated!==null){if(m=Wa(s),d!==null&&d.dehydrated!==null){if(u===null){if(!m)throw Error(i(318));if(m=s.memoizedState,m=m!==null?m.dehydrated:null,!m)throw Error(i(317));m[_t]=s}else Ka(),(s.flags&128)===0&&(s.memoizedState=null),s.flags|=4;Ct(s),m=!1}else m=uy(),u!==null&&u.memoizedState!==null&&(u.memoizedState.hydrationErrors=m),m=!0;if(!m)return s.flags&256?(Kr(s),s):(Kr(s),null)}if(Kr(s),(s.flags&128)!==0)return s.lanes=l,s;if(l=d!==null,u=u!==null&&u.memoizedState!==null,l){d=s.child,m=null,d.alternate!==null&&d.alternate.memoizedState!==null&&d.alternate.memoizedState.cachePool!==null&&(m=d.alternate.memoizedState.cachePool.pool);var b=null;d.memoizedState!==null&&d.memoizedState.cachePool!==null&&(b=d.memoizedState.cachePool.pool),b!==m&&(d.flags|=2048)}return l!==u&&l&&(s.child.flags|=8192),Vf(s,s.updateQueue),Ct(s),null;case 4:return me(),u===null&&Fp(s.stateNode.containerInfo),Ct(s),null;case 10:return Zr(s.type),Ct(s),null;case 19:if(ie(Wt),m=s.memoizedState,m===null)return Ct(s),null;if(d=(s.flags&128)!==0,b=m.rendering,b===null)if(d)pl(m,!1);else{if(Nt!==0||u!==null&&(u.flags&128)!==0)for(u=s.child;u!==null;){if(b=Lf(u),b!==null){for(s.flags|=128,pl(m,!1),u=b.updateQueue,s.updateQueue=u,Vf(s,u),s.subtreeFlags=0,u=l,l=s.child;l!==null;)ty(l,u),l=l.sibling;return ne(Wt,Wt.current&1|2),s.child}u=u.sibling}m.tail!==null&&nt()>Uf&&(s.flags|=128,d=!0,pl(m,!1),s.lanes=4194304)}else{if(!d)if(u=Lf(b),u!==null){if(s.flags|=128,d=!0,u=u.updateQueue,s.updateQueue=u,Vf(s,u),pl(m,!0),m.tail===null&&m.tailMode==="hidden"&&!b.alternate&&!Ke)return Ct(s),null}else 2*nt()-m.renderingStartTime>Uf&&l!==536870912&&(s.flags|=128,d=!0,pl(m,!1),s.lanes=4194304);m.isBackwards?(b.sibling=s.child,s.child=b):(u=m.last,u!==null?u.sibling=b:s.child=b,m.last=b)}return m.tail!==null?(s=m.tail,m.rendering=s,m.tail=s.sibling,m.renderingStartTime=nt(),s.sibling=null,u=Wt.current,ne(Wt,d?u&1|2:u&1),s):(Ct(s),null);case 22:case 23:return Kr(s),Ph(),d=s.memoizedState!==null,u!==null?u.memoizedState!==null!==d&&(s.flags|=8192):d&&(s.flags|=8192),d?(l&536870912)!==0&&(s.flags&128)===0&&(Ct(s),s.subtreeFlags&6&&(s.flags|=8192)):Ct(s),l=s.updateQueue,l!==null&&Vf(s,l.retryQueue),l=null,u!==null&&u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(l=u.memoizedState.cachePool.pool),d=null,s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(d=s.memoizedState.cachePool.pool),d!==l&&(s.flags|=2048),u!==null&&ie(_o),null;case 24:return l=null,u!==null&&(l=u.memoizedState.cache),s.memoizedState.cache!==l&&(s.flags|=2048),Zr(Zt),Ct(s),null;case 25:return null;case 30:return null}throw Error(i(156,s.tag))}function n7(u,s){switch(_h(s),s.tag){case 1:return u=s.flags,u&65536?(s.flags=u&-65537|128,s):null;case 3:return Zr(Zt),me(),u=s.flags,(u&65536)!==0&&(u&128)===0?(s.flags=u&-65537|128,s):null;case 26:case 27:case 5:return He(s),null;case 13:if(Kr(s),u=s.memoizedState,u!==null&&u.dehydrated!==null){if(s.alternate===null)throw Error(i(340));Ka()}return u=s.flags,u&65536?(s.flags=u&-65537|128,s):null;case 19:return ie(Wt),null;case 4:return me(),null;case 10:return Zr(s.type),null;case 22:case 23:return Kr(s),Ph(),u!==null&&ie(_o),u=s.flags,u&65536?(s.flags=u&-65537|128,s):null;case 24:return Zr(Zt),null;case 25:return null;default:return null}}function Db(u,s){switch(_h(s),s.tag){case 3:Zr(Zt),me();break;case 26:case 27:case 5:He(s);break;case 4:me();break;case 13:Kr(s);break;case 19:ie(Wt);break;case 10:Zr(s.type);break;case 22:case 23:Kr(s),Ph(),u!==null&&ie(_o);break;case 24:Zr(Zt)}}function ml(u,s){try{var l=s.updateQueue,d=l!==null?l.lastEffect:null;if(d!==null){var m=d.next;l=m;do{if((l.tag&u)===u){d=void 0;var b=l.create,w=l.inst;d=b(),w.destroy=d}l=l.next}while(l!==m)}}catch(R){ft(s,s.return,R)}}function Fu(u,s,l){try{var d=s.updateQueue,m=d!==null?d.lastEffect:null;if(m!==null){var b=m.next;d=b;do{if((d.tag&u)===u){var w=d.inst,R=w.destroy;if(R!==void 0){w.destroy=void 0,m=s;var j=l,Z=R;try{Z()}catch(se){ft(m,j,se)}}}d=d.next}while(d!==b)}}catch(se){ft(s,s.return,se)}}function Nb(u){var s=u.updateQueue;if(s!==null){var l=u.stateNode;try{gy(s,l)}catch(d){ft(u,u.return,d)}}}function Ob(u,s,l){l.props=Ao(u.type,u.memoizedProps),l.state=u.memoizedState;try{l.componentWillUnmount()}catch(d){ft(u,s,d)}}function gl(u,s){try{var l=u.ref;if(l!==null){switch(u.tag){case 26:case 27:case 5:var d=u.stateNode;break;case 30:d=u.stateNode;break;default:d=u.stateNode}typeof l=="function"?u.refCleanup=l(d):l.current=d}}catch(m){ft(u,s,m)}}function dr(u,s){var l=u.ref,d=u.refCleanup;if(l!==null)if(typeof d=="function")try{d()}catch(m){ft(u,s,m)}finally{u.refCleanup=null,u=u.alternate,u!=null&&(u.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(m){ft(u,s,m)}else l.current=null}function Rb(u){var s=u.type,l=u.memoizedProps,d=u.stateNode;try{e:switch(s){case"button":case"input":case"select":case"textarea":l.autoFocus&&d.focus();break e;case"img":l.src?d.src=l.src:l.srcSet&&(d.srcset=l.srcSet)}}catch(m){ft(u,u.return,m)}}function dp(u,s,l){try{var d=u.stateNode;S7(d,u.type,l,s),d[Jt]=s}catch(m){ft(u,u.return,m)}}function Mb(u){return u.tag===5||u.tag===3||u.tag===26||u.tag===27&&Hu(u.type)||u.tag===4}function hp(u){e:for(;;){for(;u.sibling===null;){if(u.return===null||Mb(u.return))return null;u=u.return}for(u.sibling.return=u.return,u=u.sibling;u.tag!==5&&u.tag!==6&&u.tag!==18;){if(u.tag===27&&Hu(u.type)||u.flags&2||u.child===null||u.tag===4)continue e;u.child.return=u,u=u.child}if(!(u.flags&2))return u.stateNode}}function pp(u,s,l){var d=u.tag;if(d===5||d===6)u=u.stateNode,s?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(u,s):(s=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,s.appendChild(u),l=l._reactRootContainer,l!=null||s.onclick!==null||(s.onclick=Wf));else if(d!==4&&(d===27&&Hu(u.type)&&(l=u.stateNode,s=null),u=u.child,u!==null))for(pp(u,s,l),u=u.sibling;u!==null;)pp(u,s,l),u=u.sibling}function Bf(u,s,l){var d=u.tag;if(d===5||d===6)u=u.stateNode,s?l.insertBefore(u,s):l.appendChild(u);else if(d!==4&&(d===27&&Hu(u.type)&&(l=u.stateNode),u=u.child,u!==null))for(Bf(u,s,l),u=u.sibling;u!==null;)Bf(u,s,l),u=u.sibling}function kb(u){var s=u.stateNode,l=u.memoizedProps;try{for(var d=u.type,m=s.attributes;m.length;)s.removeAttributeNode(m[0]);pn(s,d,l),s[_t]=u,s[Jt]=l}catch(b){ft(u,u.return,b)}}var tu=!1,It=!1,mp=!1,Lb=typeof WeakSet=="function"?WeakSet:Set,tn=null;function i7(u,s){if(u=u.containerInfo,Vp=rd,u=qv(u),hh(u)){if("selectionStart"in u)var l={start:u.selectionStart,end:u.selectionEnd};else e:{l=(l=u.ownerDocument)&&l.defaultView||window;var d=l.getSelection&&l.getSelection();if(d&&d.rangeCount!==0){l=d.anchorNode;var m=d.anchorOffset,b=d.focusNode;d=d.focusOffset;try{l.nodeType,b.nodeType}catch{l=null;break e}var w=0,R=-1,j=-1,Z=0,se=0,de=u,J=null;t:for(;;){for(var ee;de!==l||m!==0&&de.nodeType!==3||(R=w+m),de!==b||d!==0&&de.nodeType!==3||(j=w+d),de.nodeType===3&&(w+=de.nodeValue.length),(ee=de.firstChild)!==null;)J=de,de=ee;for(;;){if(de===u)break t;if(J===l&&++Z===m&&(R=w),J===b&&++se===d&&(j=w),(ee=de.nextSibling)!==null)break;de=J,J=de.parentNode}de=ee}l=R===-1||j===-1?null:{start:R,end:j}}else l=null}l=l||{start:0,end:0}}else l=null;for(Bp={focusedElem:u,selectionRange:l},rd=!1,tn=s;tn!==null;)if(s=tn,u=s.child,(s.subtreeFlags&1024)!==0&&u!==null)u.return=s,tn=u;else for(;tn!==null;){switch(s=tn,b=s.alternate,u=s.flags,s.tag){case 0:break;case 11:case 15:break;case 1:if((u&1024)!==0&&b!==null){u=void 0,l=s,m=b.memoizedProps,b=b.memoizedState,d=l.stateNode;try{var Ae=Ao(l.type,m,l.elementType===l.type);u=d.getSnapshotBeforeUpdate(Ae,b),d.__reactInternalSnapshotBeforeUpdate=u}catch(_e){ft(l,l.return,_e)}}break;case 3:if((u&1024)!==0){if(u=s.stateNode.containerInfo,l=u.nodeType,l===9)zp(u);else if(l===1)switch(u.nodeName){case"HEAD":case"HTML":case"BODY":zp(u);break;default:u.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((u&1024)!==0)throw Error(i(163))}if(u=s.sibling,u!==null){u.return=s.return,tn=u;break}tn=s.return}}function Ib(u,s,l){var d=l.flags;switch(l.tag){case 0:case 11:case 15:ju(u,l),d&4&&ml(5,l);break;case 1:if(ju(u,l),d&4)if(u=l.stateNode,s===null)try{u.componentDidMount()}catch(w){ft(l,l.return,w)}else{var m=Ao(l.type,s.memoizedProps);s=s.memoizedState;try{u.componentDidUpdate(m,s,u.__reactInternalSnapshotBeforeUpdate)}catch(w){ft(l,l.return,w)}}d&64&&Nb(l),d&512&&gl(l,l.return);break;case 3:if(ju(u,l),d&64&&(u=l.updateQueue,u!==null)){if(s=null,l.child!==null)switch(l.child.tag){case 27:case 5:s=l.child.stateNode;break;case 1:s=l.child.stateNode}try{gy(u,s)}catch(w){ft(l,l.return,w)}}break;case 27:s===null&&d&4&&kb(l);case 26:case 5:ju(u,l),s===null&&d&4&&Rb(l),d&512&&gl(l,l.return);break;case 12:ju(u,l);break;case 13:ju(u,l),d&4&&Pb(u,l),d&64&&(u=l.memoizedState,u!==null&&(u=u.dehydrated,u!==null&&(l=d7.bind(null,l),O7(u,l))));break;case 22:if(d=l.memoizedState!==null||tu,!d){s=s!==null&&s.memoizedState!==null||It,m=tu;var b=It;tu=d,(It=s)&&!b?Pu(u,l,(l.subtreeFlags&8772)!==0):ju(u,l),tu=m,It=b}break;case 30:break;default:ju(u,l)}}function Fb(u){var s=u.alternate;s!==null&&(u.alternate=null,Fb(s)),u.child=null,u.deletions=null,u.sibling=null,u.tag===5&&(s=u.stateNode,s!==null&&ja(s)),u.stateNode=null,u.return=null,u.dependencies=null,u.memoizedProps=null,u.memoizedState=null,u.pendingProps=null,u.stateNode=null,u.updateQueue=null}var xt=null,$n=!1;function nu(u,s,l){for(l=l.child;l!==null;)jb(u,s,l),l=l.sibling}function jb(u,s,l){if(kt&&typeof kt.onCommitFiberUnmount=="function")try{kt.onCommitFiberUnmount($t,l)}catch{}switch(l.tag){case 26:It||dr(l,s),nu(u,s,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:It||dr(l,s);var d=xt,m=$n;Hu(l.type)&&(xt=l.stateNode,$n=!1),nu(u,s,l),Cl(l.stateNode),xt=d,$n=m;break;case 5:It||dr(l,s);case 6:if(d=xt,m=$n,xt=null,nu(u,s,l),xt=d,$n=m,xt!==null)if($n)try{(xt.nodeType===9?xt.body:xt.nodeName==="HTML"?xt.ownerDocument.body:xt).removeChild(l.stateNode)}catch(b){ft(l,s,b)}else try{xt.removeChild(l.stateNode)}catch(b){ft(l,s,b)}break;case 18:xt!==null&&($n?(u=xt,C3(u.nodeType===9?u.body:u.nodeName==="HTML"?u.ownerDocument.body:u,l.stateNode),kl(u)):C3(xt,l.stateNode));break;case 4:d=xt,m=$n,xt=l.stateNode.containerInfo,$n=!0,nu(u,s,l),xt=d,$n=m;break;case 0:case 11:case 14:case 15:It||Fu(2,l,s),It||Fu(4,l,s),nu(u,s,l);break;case 1:It||(dr(l,s),d=l.stateNode,typeof d.componentWillUnmount=="function"&&Ob(l,s,d)),nu(u,s,l);break;case 21:nu(u,s,l);break;case 22:It=(d=It)||l.memoizedState!==null,nu(u,s,l),It=d;break;default:nu(u,s,l)}}function Pb(u,s){if(s.memoizedState===null&&(u=s.alternate,u!==null&&(u=u.memoizedState,u!==null&&(u=u.dehydrated,u!==null))))try{kl(u)}catch(l){ft(s,s.return,l)}}function r7(u){switch(u.tag){case 13:case 19:var s=u.stateNode;return s===null&&(s=u.stateNode=new Lb),s;case 22:return u=u.stateNode,s=u._retryCache,s===null&&(s=u._retryCache=new Lb),s;default:throw Error(i(435,u.tag))}}function gp(u,s){var l=r7(u);s.forEach(function(d){var m=h7.bind(null,u,d);l.has(d)||(l.add(d),d.then(m,m))})}function ti(u,s){var l=s.deletions;if(l!==null)for(var d=0;d<l.length;d++){var m=l[d],b=u,w=s,R=w;e:for(;R!==null;){switch(R.tag){case 27:if(Hu(R.type)){xt=R.stateNode,$n=!1;break e}break;case 5:xt=R.stateNode,$n=!1;break e;case 3:case 4:xt=R.stateNode.containerInfo,$n=!0;break e}R=R.return}if(xt===null)throw Error(i(160));jb(b,w,m),xt=null,$n=!1,b=m.alternate,b!==null&&(b.return=null),m.return=null}if(s.subtreeFlags&13878)for(s=s.child;s!==null;)Vb(s,u),s=s.sibling}var Pi=null;function Vb(u,s){var l=u.alternate,d=u.flags;switch(u.tag){case 0:case 11:case 14:case 15:ti(s,u),ni(u),d&4&&(Fu(3,u,u.return),ml(3,u),Fu(5,u,u.return));break;case 1:ti(s,u),ni(u),d&512&&(It||l===null||dr(l,l.return)),d&64&&tu&&(u=u.updateQueue,u!==null&&(d=u.callbacks,d!==null&&(l=u.shared.hiddenCallbacks,u.shared.hiddenCallbacks=l===null?d:l.concat(d))));break;case 26:var m=Pi;if(ti(s,u),ni(u),d&512&&(It||l===null||dr(l,l.return)),d&4){var b=l!==null?l.memoizedState:null;if(d=u.memoizedState,l===null)if(d===null)if(u.stateNode===null){e:{d=u.type,l=u.memoizedProps,m=m.ownerDocument||m;t:switch(d){case"title":b=m.getElementsByTagName("title")[0],(!b||b[hi]||b[_t]||b.namespaceURI==="http://www.w3.org/2000/svg"||b.hasAttribute("itemprop"))&&(b=m.createElement(d),m.head.insertBefore(b,m.querySelector("head > title"))),pn(b,d,l),b[_t]=u,wt(b),d=b;break e;case"link":var w=k3("link","href",m).get(d+(l.href||""));if(w){for(var R=0;R<w.length;R++)if(b=w[R],b.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&b.getAttribute("rel")===(l.rel==null?null:l.rel)&&b.getAttribute("title")===(l.title==null?null:l.title)&&b.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){w.splice(R,1);break t}}b=m.createElement(d),pn(b,d,l),m.head.appendChild(b);break;case"meta":if(w=k3("meta","content",m).get(d+(l.content||""))){for(R=0;R<w.length;R++)if(b=w[R],b.getAttribute("content")===(l.content==null?null:""+l.content)&&b.getAttribute("name")===(l.name==null?null:l.name)&&b.getAttribute("property")===(l.property==null?null:l.property)&&b.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&b.getAttribute("charset")===(l.charSet==null?null:l.charSet)){w.splice(R,1);break t}}b=m.createElement(d),pn(b,d,l),m.head.appendChild(b);break;default:throw Error(i(468,d))}b[_t]=u,wt(b),d=b}u.stateNode=d}else L3(m,u.type,u.stateNode);else u.stateNode=M3(m,d,u.memoizedProps);else b!==d?(b===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):b.count--,d===null?L3(m,u.type,u.stateNode):M3(m,d,u.memoizedProps)):d===null&&u.stateNode!==null&&dp(u,u.memoizedProps,l.memoizedProps)}break;case 27:ti(s,u),ni(u),d&512&&(It||l===null||dr(l,l.return)),l!==null&&d&4&&dp(u,u.memoizedProps,l.memoizedProps);break;case 5:if(ti(s,u),ni(u),d&512&&(It||l===null||dr(l,l.return)),u.flags&32){m=u.stateNode;try{Kn(m,"")}catch(ee){ft(u,u.return,ee)}}d&4&&u.stateNode!=null&&(m=u.memoizedProps,dp(u,m,l!==null?l.memoizedProps:m)),d&1024&&(mp=!0);break;case 6:if(ti(s,u),ni(u),d&4){if(u.stateNode===null)throw Error(i(162));d=u.memoizedProps,l=u.stateNode;try{l.nodeValue=d}catch(ee){ft(u,u.return,ee)}}break;case 3:if(td=null,m=Pi,Pi=Jf(s.containerInfo),ti(s,u),Pi=m,ni(u),d&4&&l!==null&&l.memoizedState.isDehydrated)try{kl(s.containerInfo)}catch(ee){ft(u,u.return,ee)}mp&&(mp=!1,Bb(u));break;case 4:d=Pi,Pi=Jf(u.stateNode.containerInfo),ti(s,u),ni(u),Pi=d;break;case 12:ti(s,u),ni(u);break;case 13:ti(s,u),ni(u),u.child.flags&8192&&u.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(Tp=nt()),d&4&&(d=u.updateQueue,d!==null&&(u.updateQueue=null,gp(u,d)));break;case 22:m=u.memoizedState!==null;var j=l!==null&&l.memoizedState!==null,Z=tu,se=It;if(tu=Z||m,It=se||j,ti(s,u),It=se,tu=Z,ni(u),d&8192)e:for(s=u.stateNode,s._visibility=m?s._visibility&-2:s._visibility|1,m&&(l===null||j||tu||It||wo(u)),l=null,s=u;;){if(s.tag===5||s.tag===26){if(l===null){j=l=s;try{if(b=j.stateNode,m)w=b.style,typeof w.setProperty=="function"?w.setProperty("display","none","important"):w.display="none";else{R=j.stateNode;var de=j.memoizedProps.style,J=de!=null&&de.hasOwnProperty("display")?de.display:null;R.style.display=J==null||typeof J=="boolean"?"":(""+J).trim()}}catch(ee){ft(j,j.return,ee)}}}else if(s.tag===6){if(l===null){j=s;try{j.stateNode.nodeValue=m?"":j.memoizedProps}catch(ee){ft(j,j.return,ee)}}}else if((s.tag!==22&&s.tag!==23||s.memoizedState===null||s===u)&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===u)break e;for(;s.sibling===null;){if(s.return===null||s.return===u)break e;l===s&&(l=null),s=s.return}l===s&&(l=null),s.sibling.return=s.return,s=s.sibling}d&4&&(d=u.updateQueue,d!==null&&(l=d.retryQueue,l!==null&&(d.retryQueue=null,gp(u,l))));break;case 19:ti(s,u),ni(u),d&4&&(d=u.updateQueue,d!==null&&(u.updateQueue=null,gp(u,d)));break;case 30:break;case 21:break;default:ti(s,u),ni(u)}}function ni(u){var s=u.flags;if(s&2){try{for(var l,d=u.return;d!==null;){if(Mb(d)){l=d;break}d=d.return}if(l==null)throw Error(i(160));switch(l.tag){case 27:var m=l.stateNode,b=hp(u);Bf(u,b,m);break;case 5:var w=l.stateNode;l.flags&32&&(Kn(w,""),l.flags&=-33);var R=hp(u);Bf(u,R,w);break;case 3:case 4:var j=l.stateNode.containerInfo,Z=hp(u);pp(u,Z,j);break;default:throw Error(i(161))}}catch(se){ft(u,u.return,se)}u.flags&=-3}s&4096&&(u.flags&=-4097)}function Bb(u){if(u.subtreeFlags&1024)for(u=u.child;u!==null;){var s=u;Bb(s),s.tag===5&&s.flags&1024&&s.stateNode.reset(),u=u.sibling}}function ju(u,s){if(s.subtreeFlags&8772)for(s=s.child;s!==null;)Ib(u,s.alternate,s),s=s.sibling}function wo(u){for(u=u.child;u!==null;){var s=u;switch(s.tag){case 0:case 11:case 14:case 15:Fu(4,s,s.return),wo(s);break;case 1:dr(s,s.return);var l=s.stateNode;typeof l.componentWillUnmount=="function"&&Ob(s,s.return,l),wo(s);break;case 27:Cl(s.stateNode);case 26:case 5:dr(s,s.return),wo(s);break;case 22:s.memoizedState===null&&wo(s);break;case 30:wo(s);break;default:wo(s)}u=u.sibling}}function Pu(u,s,l){for(l=l&&(s.subtreeFlags&8772)!==0,s=s.child;s!==null;){var d=s.alternate,m=u,b=s,w=b.flags;switch(b.tag){case 0:case 11:case 15:Pu(m,b,l),ml(4,b);break;case 1:if(Pu(m,b,l),d=b,m=d.stateNode,typeof m.componentDidMount=="function")try{m.componentDidMount()}catch(Z){ft(d,d.return,Z)}if(d=b,m=d.updateQueue,m!==null){var R=d.stateNode;try{var j=m.shared.hiddenCallbacks;if(j!==null)for(m.shared.hiddenCallbacks=null,m=0;m<j.length;m++)my(j[m],R)}catch(Z){ft(d,d.return,Z)}}l&&w&64&&Nb(b),gl(b,b.return);break;case 27:kb(b);case 26:case 5:Pu(m,b,l),l&&d===null&&w&4&&Rb(b),gl(b,b.return);break;case 12:Pu(m,b,l);break;case 13:Pu(m,b,l),l&&w&4&&Pb(m,b);break;case 22:b.memoizedState===null&&Pu(m,b,l),gl(b,b.return);break;case 30:break;default:Pu(m,b,l)}s=s.sibling}}function vp(u,s){var l=null;u!==null&&u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(l=u.memoizedState.cachePool.pool),u=null,s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(u=s.memoizedState.cachePool.pool),u!==l&&(u!=null&&u.refCount++,l!=null&&tl(l))}function yp(u,s){u=null,s.alternate!==null&&(u=s.alternate.memoizedState.cache),s=s.memoizedState.cache,s!==u&&(s.refCount++,u!=null&&tl(u))}function hr(u,s,l,d){if(s.subtreeFlags&10256)for(s=s.child;s!==null;)$b(u,s,l,d),s=s.sibling}function $b(u,s,l,d){var m=s.flags;switch(s.tag){case 0:case 11:case 15:hr(u,s,l,d),m&2048&&ml(9,s);break;case 1:hr(u,s,l,d);break;case 3:hr(u,s,l,d),m&2048&&(u=null,s.alternate!==null&&(u=s.alternate.memoizedState.cache),s=s.memoizedState.cache,s!==u&&(s.refCount++,u!=null&&tl(u)));break;case 12:if(m&2048){hr(u,s,l,d),u=s.stateNode;try{var b=s.memoizedProps,w=b.id,R=b.onPostCommit;typeof R=="function"&&R(w,s.alternate===null?"mount":"update",u.passiveEffectDuration,-0)}catch(j){ft(s,s.return,j)}}else hr(u,s,l,d);break;case 13:hr(u,s,l,d);break;case 23:break;case 22:b=s.stateNode,w=s.alternate,s.memoizedState!==null?b._visibility&2?hr(u,s,l,d):vl(u,s):b._visibility&2?hr(u,s,l,d):(b._visibility|=2,Ls(u,s,l,d,(s.subtreeFlags&10256)!==0)),m&2048&&vp(w,s);break;case 24:hr(u,s,l,d),m&2048&&yp(s.alternate,s);break;default:hr(u,s,l,d)}}function Ls(u,s,l,d,m){for(m=m&&(s.subtreeFlags&10256)!==0,s=s.child;s!==null;){var b=u,w=s,R=l,j=d,Z=w.flags;switch(w.tag){case 0:case 11:case 15:Ls(b,w,R,j,m),ml(8,w);break;case 23:break;case 22:var se=w.stateNode;w.memoizedState!==null?se._visibility&2?Ls(b,w,R,j,m):vl(b,w):(se._visibility|=2,Ls(b,w,R,j,m)),m&&Z&2048&&vp(w.alternate,w);break;case 24:Ls(b,w,R,j,m),m&&Z&2048&&yp(w.alternate,w);break;default:Ls(b,w,R,j,m)}s=s.sibling}}function vl(u,s){if(s.subtreeFlags&10256)for(s=s.child;s!==null;){var l=u,d=s,m=d.flags;switch(d.tag){case 22:vl(l,d),m&2048&&vp(d.alternate,d);break;case 24:vl(l,d),m&2048&&yp(d.alternate,d);break;default:vl(l,d)}s=s.sibling}}var yl=8192;function Is(u){if(u.subtreeFlags&yl)for(u=u.child;u!==null;)Ub(u),u=u.sibling}function Ub(u){switch(u.tag){case 26:Is(u),u.flags&yl&&u.memoizedState!==null&&z7(Pi,u.memoizedState,u.memoizedProps);break;case 5:Is(u);break;case 3:case 4:var s=Pi;Pi=Jf(u.stateNode.containerInfo),Is(u),Pi=s;break;case 22:u.memoizedState===null&&(s=u.alternate,s!==null&&s.memoizedState!==null?(s=yl,yl=16777216,Is(u),yl=s):Is(u));break;default:Is(u)}}function zb(u){var s=u.alternate;if(s!==null&&(u=s.child,u!==null)){s.child=null;do s=u.sibling,u.sibling=null,u=s;while(u!==null)}}function bl(u){var s=u.deletions;if((u.flags&16)!==0){if(s!==null)for(var l=0;l<s.length;l++){var d=s[l];tn=d,qb(d,u)}zb(u)}if(u.subtreeFlags&10256)for(u=u.child;u!==null;)Hb(u),u=u.sibling}function Hb(u){switch(u.tag){case 0:case 11:case 15:bl(u),u.flags&2048&&Fu(9,u,u.return);break;case 3:bl(u);break;case 12:bl(u);break;case 22:var s=u.stateNode;u.memoizedState!==null&&s._visibility&2&&(u.return===null||u.return.tag!==13)?(s._visibility&=-3,$f(u)):bl(u);break;default:bl(u)}}function $f(u){var s=u.deletions;if((u.flags&16)!==0){if(s!==null)for(var l=0;l<s.length;l++){var d=s[l];tn=d,qb(d,u)}zb(u)}for(u=u.child;u!==null;){switch(s=u,s.tag){case 0:case 11:case 15:Fu(8,s,s.return),$f(s);break;case 22:l=s.stateNode,l._visibility&2&&(l._visibility&=-3,$f(s));break;default:$f(s)}u=u.sibling}}function qb(u,s){for(;tn!==null;){var l=tn;switch(l.tag){case 0:case 11:case 15:Fu(8,l,s);break;case 23:case 22:if(l.memoizedState!==null&&l.memoizedState.cachePool!==null){var d=l.memoizedState.cachePool.pool;d!=null&&d.refCount++}break;case 24:tl(l.memoizedState.cache)}if(d=l.child,d!==null)d.return=l,tn=d;else e:for(l=u;tn!==null;){d=tn;var m=d.sibling,b=d.return;if(Fb(d),d===l){tn=null;break e}if(m!==null){m.return=b,tn=m;break e}tn=b}}}var u7={getCacheForType:function(u){var s=En(Zt),l=s.data.get(u);return l===void 0&&(l=u(),s.data.set(u,l)),l}},o7=typeof WeakMap=="function"?WeakMap:Map,it=0,pt=null,je=null,Ge=0,rt=0,ii=null,Vu=!1,Fs=!1,bp=!1,iu=0,Nt=0,Bu=0,Do=0,xp=0,xi=0,js=0,xl=null,Un=null,Ep=!1,Tp=0,Uf=1/0,zf=null,$u=null,hn=0,Uu=null,Ps=null,Vs=0,Sp=0,_p=null,Gb=null,El=0,Cp=null;function ri(){if((it&2)!==0&&Ge!==0)return Ge&-Ge;if(F.T!==null){var u=As;return u!==0?u:Mp()}return Ir()}function Yb(){xi===0&&(xi=(Ge&536870912)===0||Ke?kr():536870912);var u=bi.current;return u!==null&&(u.flags|=32),xi}function ui(u,s,l){(u===pt&&(rt===2||rt===9)||u.cancelPendingCommit!==null)&&(Bs(u,0),zu(u,Ge,xi,!1)),di(u,l),((it&2)===0||u!==pt)&&(u===pt&&((it&2)===0&&(Do|=l),Nt===4&&zu(u,Ge,xi,!1)),pr(u))}function Qb(u,s,l){if((it&6)!==0)throw Error(i(327));var d=!l&&(s&124)===0&&(s&u.expiredLanes)===0||tr(u,s),m=d?l7(u,s):Dp(u,s,!0),b=d;do{if(m===0){Fs&&!d&&zu(u,s,0,!1);break}else{if(l=u.current.alternate,b&&!s7(l)){m=Dp(u,s,!1),b=!1;continue}if(m===2){if(b=s,u.errorRecoveryDisabledLanes&b)var w=0;else w=u.pendingLanes&-536870913,w=w!==0?w:w&536870912?536870912:0;if(w!==0){s=w;e:{var R=u;m=xl;var j=R.current.memoizedState.isDehydrated;if(j&&(Bs(R,w).flags|=256),w=Dp(R,w,!1),w!==2){if(bp&&!j){R.errorRecoveryDisabledLanes|=b,Do|=b,m=4;break e}b=Un,Un=m,b!==null&&(Un===null?Un=b:Un.push.apply(Un,b))}m=w}if(b=!1,m!==2)continue}}if(m===1){Bs(u,0),zu(u,s,0,!0);break}e:{switch(d=u,b=m,b){case 0:case 1:throw Error(i(345));case 4:if((s&4194048)!==s)break;case 6:zu(d,s,xi,!Vu);break e;case 2:Un=null;break;case 3:case 5:break;default:throw Error(i(329))}if((s&62914560)===s&&(m=Tp+300-nt(),10<m)){if(zu(d,s,xi,!Vu),ki(d,0,!0)!==0)break e;d.timeoutHandle=S3(Xb.bind(null,d,l,Un,zf,Ep,s,xi,Do,js,Vu,b,2,-0,0),m);break e}Xb(d,l,Un,zf,Ep,s,xi,Do,js,Vu,b,0,-0,0)}}break}while(!0);pr(u)}function Xb(u,s,l,d,m,b,w,R,j,Z,se,de,J,ee){if(u.timeoutHandle=-1,de=s.subtreeFlags,(de&8192||(de&16785408)===16785408)&&(Dl={stylesheets:null,count:0,unsuspend:U7},Ub(s),de=H7(),de!==null)){u.cancelPendingCommit=de(n3.bind(null,u,s,b,l,d,m,w,R,j,se,1,J,ee)),zu(u,b,w,!Z);return}n3(u,s,b,l,d,m,w,R,j)}function s7(u){for(var s=u;;){var l=s.tag;if((l===0||l===11||l===15)&&s.flags&16384&&(l=s.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var d=0;d<l.length;d++){var m=l[d],b=m.getSnapshot;m=m.value;try{if(!Jn(b(),m))return!1}catch{return!1}}if(l=s.child,s.subtreeFlags&16384&&l!==null)l.return=s,s=l;else{if(s===u)break;for(;s.sibling===null;){if(s.return===null||s.return===u)return!0;s=s.return}s.sibling.return=s.return,s=s.sibling}}return!0}function zu(u,s,l,d){s&=~xp,s&=~Do,u.suspendedLanes|=s,u.pingedLanes&=~s,d&&(u.warmLanes|=s),d=u.expirationTimes;for(var m=s;0<m;){var b=31-Ut(m),w=1<<b;d[b]=-1,m&=~w}l!==0&&Lr(u,l,s)}function Hf(){return(it&6)===0?(Tl(0),!1):!0}function Ap(){if(je!==null){if(rt===0)var u=je.return;else u=je,Xr=To=null,zh(u),Ms=null,dl=0,u=je;for(;u!==null;)Db(u.alternate,u),u=u.return;je=null}}function Bs(u,s){var l=u.timeoutHandle;l!==-1&&(u.timeoutHandle=-1,C7(l)),l=u.cancelPendingCommit,l!==null&&(u.cancelPendingCommit=null,l()),Ap(),pt=u,je=l=Gr(u.current,null),Ge=s,rt=0,ii=null,Vu=!1,Fs=tr(u,s),bp=!1,js=xi=xp=Do=Bu=Nt=0,Un=xl=null,Ep=!1,(s&8)!==0&&(s|=s&32);var d=u.entangledLanes;if(d!==0)for(u=u.entanglements,d&=s;0<d;){var m=31-Ut(d),b=1<<m;s|=u[m],d&=~b}return iu=s,df(),l}function Zb(u,s){Le=null,F.H=Rf,s===il||s===Ef?(s=hy(),rt=3):s===cy?(s=hy(),rt=4):rt=s===pb?8:s!==null&&typeof s=="object"&&typeof s.then=="function"?6:1,ii=s,je===null&&(Nt=1,Ff(u,mi(s,u.current)))}function Wb(){var u=F.H;return F.H=Rf,u===null?Rf:u}function Kb(){var u=F.A;return F.A=u7,u}function wp(){Nt=4,Vu||(Ge&4194048)!==Ge&&bi.current!==null||(Fs=!0),(Bu&134217727)===0&&(Do&134217727)===0||pt===null||zu(pt,Ge,xi,!1)}function Dp(u,s,l){var d=it;it|=2;var m=Wb(),b=Kb();(pt!==u||Ge!==s)&&(zf=null,Bs(u,s)),s=!1;var w=Nt;e:do try{if(rt!==0&&je!==null){var R=je,j=ii;switch(rt){case 8:Ap(),w=6;break e;case 3:case 2:case 9:case 6:bi.current===null&&(s=!0);var Z=rt;if(rt=0,ii=null,$s(u,R,j,Z),l&&Fs){w=0;break e}break;default:Z=rt,rt=0,ii=null,$s(u,R,j,Z)}}a7(),w=Nt;break}catch(se){Zb(u,se)}while(!0);return s&&u.shellSuspendCounter++,Xr=To=null,it=d,F.H=m,F.A=b,je===null&&(pt=null,Ge=0,df()),w}function a7(){for(;je!==null;)Jb(je)}function l7(u,s){var l=it;it|=2;var d=Wb(),m=Kb();pt!==u||Ge!==s?(zf=null,Uf=nt()+500,Bs(u,s)):Fs=tr(u,s);e:do try{if(rt!==0&&je!==null){s=je;var b=ii;t:switch(rt){case 1:rt=0,ii=null,$s(u,s,b,1);break;case 2:case 9:if(fy(b)){rt=0,ii=null,e3(s);break}s=function(){rt!==2&&rt!==9||pt!==u||(rt=7),pr(u)},b.then(s,s);break e;case 3:rt=7;break e;case 4:rt=5;break e;case 7:fy(b)?(rt=0,ii=null,e3(s)):(rt=0,ii=null,$s(u,s,b,7));break;case 5:var w=null;switch(je.tag){case 26:w=je.memoizedState;case 5:case 27:var R=je;if(!w||I3(w)){rt=0,ii=null;var j=R.sibling;if(j!==null)je=j;else{var Z=R.return;Z!==null?(je=Z,qf(Z)):je=null}break t}}rt=0,ii=null,$s(u,s,b,5);break;case 6:rt=0,ii=null,$s(u,s,b,6);break;case 8:Ap(),Nt=6;break e;default:throw Error(i(462))}}c7();break}catch(se){Zb(u,se)}while(!0);return Xr=To=null,F.H=d,F.A=m,it=l,je!==null?0:(pt=null,Ge=0,df(),Nt)}function c7(){for(;je!==null&&!In();)Jb(je)}function Jb(u){var s=Ab(u.alternate,u,iu);u.memoizedProps=u.pendingProps,s===null?qf(u):je=s}function e3(u){var s=u,l=s.alternate;switch(s.tag){case 15:case 0:s=xb(l,s,s.pendingProps,s.type,void 0,Ge);break;case 11:s=xb(l,s,s.pendingProps,s.type.render,s.ref,Ge);break;case 5:zh(s);default:Db(l,s),s=je=ty(s,iu),s=Ab(l,s,iu)}u.memoizedProps=u.pendingProps,s===null?qf(u):je=s}function $s(u,s,l,d){Xr=To=null,zh(s),Ms=null,dl=0;var m=s.return;try{if(JA(u,m,s,l,Ge)){Nt=1,Ff(u,mi(l,u.current)),je=null;return}}catch(b){if(m!==null)throw je=m,b;Nt=1,Ff(u,mi(l,u.current)),je=null;return}s.flags&32768?(Ke||d===1?u=!0:Fs||(Ge&536870912)!==0?u=!1:(Vu=u=!0,(d===2||d===9||d===3||d===6)&&(d=bi.current,d!==null&&d.tag===13&&(d.flags|=16384))),t3(s,u)):qf(s)}function qf(u){var s=u;do{if((s.flags&32768)!==0){t3(s,Vu);return}u=s.return;var l=t7(s.alternate,s,iu);if(l!==null){je=l;return}if(s=s.sibling,s!==null){je=s;return}je=s=u}while(s!==null);Nt===0&&(Nt=5)}function t3(u,s){do{var l=n7(u.alternate,u);if(l!==null){l.flags&=32767,je=l;return}if(l=u.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!s&&(u=u.sibling,u!==null)){je=u;return}je=u=l}while(u!==null);Nt=6,je=null}function n3(u,s,l,d,m,b,w,R,j){u.cancelPendingCommit=null;do Gf();while(hn!==0);if((it&6)!==0)throw Error(i(327));if(s!==null){if(s===u.current)throw Error(i(177));if(b=s.lanes|s.childLanes,b|=yh,Eu(u,l,b,w,R,j),u===pt&&(je=pt=null,Ge=0),Ps=s,Uu=u,Vs=l,Sp=b,_p=m,Gb=d,(s.subtreeFlags&10256)!==0||(s.flags&10256)!==0?(u.callbackNode=null,u.callbackPriority=0,p7(ct,function(){return s3(),null})):(u.callbackNode=null,u.callbackPriority=0),d=(s.flags&13878)!==0,(s.subtreeFlags&13878)!==0||d){d=F.T,F.T=null,m=H.p,H.p=2,w=it,it|=4;try{i7(u,s,l)}finally{it=w,H.p=m,F.T=d}}hn=1,i3(),r3(),u3()}}function i3(){if(hn===1){hn=0;var u=Uu,s=Ps,l=(s.flags&13878)!==0;if((s.subtreeFlags&13878)!==0||l){l=F.T,F.T=null;var d=H.p;H.p=2;var m=it;it|=4;try{Vb(s,u);var b=Bp,w=qv(u.containerInfo),R=b.focusedElem,j=b.selectionRange;if(w!==R&&R&&R.ownerDocument&&Hv(R.ownerDocument.documentElement,R)){if(j!==null&&hh(R)){var Z=j.start,se=j.end;if(se===void 0&&(se=Z),"selectionStart"in R)R.selectionStart=Z,R.selectionEnd=Math.min(se,R.value.length);else{var de=R.ownerDocument||document,J=de&&de.defaultView||window;if(J.getSelection){var ee=J.getSelection(),Ae=R.textContent.length,_e=Math.min(j.start,Ae),at=j.end===void 0?_e:Math.min(j.end,Ae);!ee.extend&&_e>at&&(w=at,at=_e,_e=w);var G=zv(R,_e),U=zv(R,at);if(G&&U&&(ee.rangeCount!==1||ee.anchorNode!==G.node||ee.anchorOffset!==G.offset||ee.focusNode!==U.node||ee.focusOffset!==U.offset)){var Q=de.createRange();Q.setStart(G.node,G.offset),ee.removeAllRanges(),_e>at?(ee.addRange(Q),ee.extend(U.node,U.offset)):(Q.setEnd(U.node,U.offset),ee.addRange(Q))}}}}for(de=[],ee=R;ee=ee.parentNode;)ee.nodeType===1&&de.push({element:ee,left:ee.scrollLeft,top:ee.scrollTop});for(typeof R.focus=="function"&&R.focus(),R=0;R<de.length;R++){var ae=de[R];ae.element.scrollLeft=ae.left,ae.element.scrollTop=ae.top}}rd=!!Vp,Bp=Vp=null}finally{it=m,H.p=d,F.T=l}}u.current=s,hn=2}}function r3(){if(hn===2){hn=0;var u=Uu,s=Ps,l=(s.flags&8772)!==0;if((s.subtreeFlags&8772)!==0||l){l=F.T,F.T=null;var d=H.p;H.p=2;var m=it;it|=4;try{Ib(u,s.alternate,s)}finally{it=m,H.p=d,F.T=l}}hn=3}}function u3(){if(hn===4||hn===3){hn=0,cn();var u=Uu,s=Ps,l=Vs,d=Gb;(s.subtreeFlags&10256)!==0||(s.flags&10256)!==0?hn=5:(hn=0,Ps=Uu=null,o3(u,u.pendingLanes));var m=u.pendingLanes;if(m===0&&($u=null),ir(l),s=s.stateNode,kt&&typeof kt.onCommitFiberRoot=="function")try{kt.onCommitFiberRoot($t,s,void 0,(s.current.flags&128)===128)}catch{}if(d!==null){s=F.T,m=H.p,H.p=2,F.T=null;try{for(var b=u.onRecoverableError,w=0;w<d.length;w++){var R=d[w];b(R.value,{componentStack:R.stack})}}finally{F.T=s,H.p=m}}(Vs&3)!==0&&Gf(),pr(u),m=u.pendingLanes,(l&4194090)!==0&&(m&42)!==0?u===Cp?El++:(El=0,Cp=u):El=0,Tl(0)}}function o3(u,s){(u.pooledCacheLanes&=s)===0&&(s=u.pooledCache,s!=null&&(u.pooledCache=null,tl(s)))}function Gf(u){return i3(),r3(),u3(),s3()}function s3(){if(hn!==5)return!1;var u=Uu,s=Sp;Sp=0;var l=ir(Vs),d=F.T,m=H.p;try{H.p=32>l?32:l,F.T=null,l=_p,_p=null;var b=Uu,w=Vs;if(hn=0,Ps=Uu=null,Vs=0,(it&6)!==0)throw Error(i(331));var R=it;if(it|=4,Hb(b.current),$b(b,b.current,w,l),it=R,Tl(0,!1),kt&&typeof kt.onPostCommitFiberRoot=="function")try{kt.onPostCommitFiberRoot($t,b)}catch{}return!0}finally{H.p=m,F.T=d,o3(u,s)}}function a3(u,s,l){s=mi(l,s),s=ip(u.stateNode,s,2),u=Mu(u,s,2),u!==null&&(di(u,2),pr(u))}function ft(u,s,l){if(u.tag===3)a3(u,u,l);else for(;s!==null;){if(s.tag===3){a3(s,u,l);break}else if(s.tag===1){var d=s.stateNode;if(typeof s.type.getDerivedStateFromError=="function"||typeof d.componentDidCatch=="function"&&($u===null||!$u.has(d))){u=mi(l,u),l=db(2),d=Mu(s,l,2),d!==null&&(hb(l,d,s,u),di(d,2),pr(d));break}}s=s.return}}function Np(u,s,l){var d=u.pingCache;if(d===null){d=u.pingCache=new o7;var m=new Set;d.set(s,m)}else m=d.get(s),m===void 0&&(m=new Set,d.set(s,m));m.has(l)||(bp=!0,m.add(l),u=f7.bind(null,u,s,l),s.then(u,u))}function f7(u,s,l){var d=u.pingCache;d!==null&&d.delete(s),u.pingedLanes|=u.suspendedLanes&l,u.warmLanes&=~l,pt===u&&(Ge&l)===l&&(Nt===4||Nt===3&&(Ge&62914560)===Ge&&300>nt()-Tp?(it&2)===0&&Bs(u,0):xp|=l,js===Ge&&(js=0)),pr(u)}function l3(u,s){s===0&&(s=fo()),u=Ts(u,s),u!==null&&(di(u,s),pr(u))}function d7(u){var s=u.memoizedState,l=0;s!==null&&(l=s.retryLane),l3(u,l)}function h7(u,s){var l=0;switch(u.tag){case 13:var d=u.stateNode,m=u.memoizedState;m!==null&&(l=m.retryLane);break;case 19:d=u.stateNode;break;case 22:d=u.stateNode._retryCache;break;default:throw Error(i(314))}d!==null&&d.delete(s),l3(u,l)}function p7(u,s){return Te(u,s)}var Yf=null,Us=null,Op=!1,Qf=!1,Rp=!1,No=0;function pr(u){u!==Us&&u.next===null&&(Us===null?Yf=Us=u:Us=Us.next=u),Qf=!0,Op||(Op=!0,g7())}function Tl(u,s){if(!Rp&&Qf){Rp=!0;do for(var l=!1,d=Yf;d!==null;){if(u!==0){var m=d.pendingLanes;if(m===0)var b=0;else{var w=d.suspendedLanes,R=d.pingedLanes;b=(1<<31-Ut(42|u)+1)-1,b&=m&~(w&~R),b=b&201326741?b&201326741|1:b?b|2:0}b!==0&&(l=!0,h3(d,b))}else b=Ge,b=ki(d,d===pt?b:0,d.cancelPendingCommit!==null||d.timeoutHandle!==-1),(b&3)===0||tr(d,b)||(l=!0,h3(d,b));d=d.next}while(l);Rp=!1}}function m7(){c3()}function c3(){Qf=Op=!1;var u=0;No!==0&&(_7()&&(u=No),No=0);for(var s=nt(),l=null,d=Yf;d!==null;){var m=d.next,b=f3(d,s);b===0?(d.next=null,l===null?Yf=m:l.next=m,m===null&&(Us=l)):(l=d,(u!==0||(b&3)!==0)&&(Qf=!0)),d=m}Tl(u)}function f3(u,s){for(var l=u.suspendedLanes,d=u.pingedLanes,m=u.expirationTimes,b=u.pendingLanes&-62914561;0<b;){var w=31-Ut(b),R=1<<w,j=m[w];j===-1?((R&l)===0||(R&d)!==0)&&(m[w]=as(R,s)):j<=s&&(u.expiredLanes|=R),b&=~R}if(s=pt,l=Ge,l=ki(u,u===s?l:0,u.cancelPendingCommit!==null||u.timeoutHandle!==-1),d=u.callbackNode,l===0||u===s&&(rt===2||rt===9)||u.cancelPendingCommit!==null)return d!==null&&d!==null&&At(d),u.callbackNode=null,u.callbackPriority=0;if((l&3)===0||tr(u,l)){if(s=l&-l,s===u.callbackPriority)return s;switch(d!==null&&At(d),ir(l)){case 2:case 8:l=Ne;break;case 32:l=ct;break;case 268435456:l=Ye;break;default:l=ct}return d=d3.bind(null,u),l=Te(l,d),u.callbackPriority=s,u.callbackNode=l,s}return d!==null&&d!==null&&At(d),u.callbackPriority=2,u.callbackNode=null,2}function d3(u,s){if(hn!==0&&hn!==5)return u.callbackNode=null,u.callbackPriority=0,null;var l=u.callbackNode;if(Gf()&&u.callbackNode!==l)return null;var d=Ge;return d=ki(u,u===pt?d:0,u.cancelPendingCommit!==null||u.timeoutHandle!==-1),d===0?null:(Qb(u,d,s),f3(u,nt()),u.callbackNode!=null&&u.callbackNode===l?d3.bind(null,u):null)}function h3(u,s){if(Gf())return null;Qb(u,s,!0)}function g7(){A7(function(){(it&6)!==0?Te(qe,m7):c3()})}function Mp(){return No===0&&(No=kr()),No}function p3(u){return u==null||typeof u=="symbol"||typeof u=="boolean"?null:typeof u=="function"?u:Ba(""+u)}function m3(u,s){var l=s.ownerDocument.createElement("input");return l.name=s.name,l.value=s.value,u.id&&l.setAttribute("form",u.id),s.parentNode.insertBefore(l,s),u=new FormData(u),l.parentNode.removeChild(l),u}function v7(u,s,l,d,m){if(s==="submit"&&l&&l.stateNode===m){var b=p3((m[Jt]||null).action),w=d.submitter;w&&(s=(s=w[Jt]||null)?p3(s.formAction):w.getAttribute("formAction"),s!==null&&(b=s,w=null));var R=new lf("action","action",null,d,m);u.push({event:R,listeners:[{instance:null,listener:function(){if(d.defaultPrevented){if(No!==0){var j=w?m3(m,w):new FormData(m);Kh(l,{pending:!0,data:j,method:m.method,action:b},null,j)}}else typeof b=="function"&&(R.preventDefault(),j=w?m3(m,w):new FormData(m),Kh(l,{pending:!0,data:j,method:m.method,action:b},b,j))},currentTarget:m}]})}}for(var kp=0;kp<vh.length;kp++){var Lp=vh[kp],y7=Lp.toLowerCase(),b7=Lp[0].toUpperCase()+Lp.slice(1);ji(y7,"on"+b7)}ji(Qv,"onAnimationEnd"),ji(Xv,"onAnimationIteration"),ji(Zv,"onAnimationStart"),ji("dblclick","onDoubleClick"),ji("focusin","onFocus"),ji("focusout","onBlur"),ji(FA,"onTransitionRun"),ji(jA,"onTransitionStart"),ji(PA,"onTransitionCancel"),ji(Wv,"onTransitionEnd"),Xn("onMouseEnter",["mouseout","mouseover"]),Xn("onMouseLeave",["mouseout","mouseover"]),Xn("onPointerEnter",["pointerout","pointerover"]),Xn("onPointerLeave",["pointerout","pointerover"]),Pn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Pn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Pn("onBeforeInput",["compositionend","keypress","textInput","paste"]),Pn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Pn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Pn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Sl="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),x7=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Sl));function g3(u,s){s=(s&4)!==0;for(var l=0;l<u.length;l++){var d=u[l],m=d.event;d=d.listeners;e:{var b=void 0;if(s)for(var w=d.length-1;0<=w;w--){var R=d[w],j=R.instance,Z=R.currentTarget;if(R=R.listener,j!==b&&m.isPropagationStopped())break e;b=R,m.currentTarget=Z;try{b(m)}catch(se){If(se)}m.currentTarget=null,b=j}else for(w=0;w<d.length;w++){if(R=d[w],j=R.instance,Z=R.currentTarget,R=R.listener,j!==b&&m.isPropagationStopped())break e;b=R,m.currentTarget=Z;try{b(m)}catch(se){If(se)}m.currentTarget=null,b=j}}}}function Pe(u,s){var l=s[rr];l===void 0&&(l=s[rr]=new Set);var d=u+"__bubble";l.has(d)||(v3(s,u,2,!1),l.add(d))}function Ip(u,s,l){var d=0;s&&(d|=4),v3(l,u,d,s)}var Xf="_reactListening"+Math.random().toString(36).slice(2);function Fp(u){if(!u[Xf]){u[Xf]=!0,fs.forEach(function(l){l!=="selectionchange"&&(x7.has(l)||Ip(l,!1,u),Ip(l,!0,u))});var s=u.nodeType===9?u:u.ownerDocument;s===null||s[Xf]||(s[Xf]=!0,Ip("selectionchange",!1,s))}}function v3(u,s,l,d){switch($3(s)){case 2:var m=Y7;break;case 8:m=Q7;break;default:m=Zp}l=m.bind(null,s,l,u),m=void 0,!rh||s!=="touchstart"&&s!=="touchmove"&&s!=="wheel"||(m=!0),d?m!==void 0?u.addEventListener(s,l,{capture:!0,passive:m}):u.addEventListener(s,l,!0):m!==void 0?u.addEventListener(s,l,{passive:m}):u.addEventListener(s,l,!1)}function jp(u,s,l,d,m){var b=d;if((s&1)===0&&(s&2)===0&&d!==null)e:for(;;){if(d===null)return;var w=d.tag;if(w===3||w===4){var R=d.stateNode.containerInfo;if(R===m)break;if(w===4)for(w=d.return;w!==null;){var j=w.tag;if((j===3||j===4)&&w.stateNode.containerInfo===m)return;w=w.return}for(;R!==null;){if(w=ur(R),w===null)return;if(j=w.tag,j===5||j===6||j===26||j===27){d=b=w;continue e}R=R.parentNode}}d=d.return}_v(function(){var Z=b,se=nh(l),de=[];e:{var J=Kv.get(u);if(J!==void 0){var ee=lf,Ae=u;switch(u){case"keypress":if(sf(l)===0)break e;case"keydown":case"keyup":ee=pA;break;case"focusin":Ae="focus",ee=ah;break;case"focusout":Ae="blur",ee=ah;break;case"beforeblur":case"afterblur":ee=ah;break;case"click":if(l.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":ee=wv;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ee=nA;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ee=vA;break;case Qv:case Xv:case Zv:ee=uA;break;case Wv:ee=bA;break;case"scroll":case"scrollend":ee=eA;break;case"wheel":ee=EA;break;case"copy":case"cut":case"paste":ee=sA;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ee=Nv;break;case"toggle":case"beforetoggle":ee=SA}var _e=(s&4)!==0,at=!_e&&(u==="scroll"||u==="scrollend"),G=_e?J!==null?J+"Capture":null:J;_e=[];for(var U=Z,Q;U!==null;){var ae=U;if(Q=ae.stateNode,ae=ae.tag,ae!==5&&ae!==26&&ae!==27||Q===null||G===null||(ae=Ua(U,G),ae!=null&&_e.push(_l(U,ae,Q))),at)break;U=U.return}0<_e.length&&(J=new ee(J,Ae,null,l,se),de.push({event:J,listeners:_e}))}}if((s&7)===0){e:{if(J=u==="mouseover"||u==="pointerover",ee=u==="mouseout"||u==="pointerout",J&&l!==$a&&(Ae=l.relatedTarget||l.fromElement)&&(ur(Ae)||Ae[Tu]))break e;if((ee||J)&&(J=se.window===se?se:(J=se.ownerDocument)?J.defaultView||J.parentWindow:window,ee?(Ae=l.relatedTarget||l.toElement,ee=Z,Ae=Ae?ur(Ae):null,Ae!==null&&(at=o(Ae),_e=Ae.tag,Ae!==at||_e!==5&&_e!==27&&_e!==6)&&(Ae=null)):(ee=null,Ae=Z),ee!==Ae)){if(_e=wv,ae="onMouseLeave",G="onMouseEnter",U="mouse",(u==="pointerout"||u==="pointerover")&&(_e=Nv,ae="onPointerLeave",G="onPointerEnter",U="pointer"),at=ee==null?J:pi(ee),Q=Ae==null?J:pi(Ae),J=new _e(ae,U+"leave",ee,l,se),J.target=at,J.relatedTarget=Q,ae=null,ur(se)===Z&&(_e=new _e(G,U+"enter",Ae,l,se),_e.target=Q,_e.relatedTarget=at,ae=_e),at=ae,ee&&Ae)t:{for(_e=ee,G=Ae,U=0,Q=_e;Q;Q=zs(Q))U++;for(Q=0,ae=G;ae;ae=zs(ae))Q++;for(;0<U-Q;)_e=zs(_e),U--;for(;0<Q-U;)G=zs(G),Q--;for(;U--;){if(_e===G||G!==null&&_e===G.alternate)break t;_e=zs(_e),G=zs(G)}_e=null}else _e=null;ee!==null&&y3(de,J,ee,_e,!1),Ae!==null&&at!==null&&y3(de,at,Ae,_e,!0)}}e:{if(J=Z?pi(Z):window,ee=J.nodeName&&J.nodeName.toLowerCase(),ee==="select"||ee==="input"&&J.type==="file")var ye=jv;else if(Iv(J))if(Pv)ye=kA;else{ye=RA;var Ie=OA}else ee=J.nodeName,!ee||ee.toLowerCase()!=="input"||J.type!=="checkbox"&&J.type!=="radio"?Z&&zt(Z.elementType)&&(ye=jv):ye=MA;if(ye&&(ye=ye(u,Z))){Fv(de,ye,l,se);break e}Ie&&Ie(u,J,Z),u==="focusout"&&Z&&J.type==="number"&&Z.memoizedProps.value!=null&&wu(J,"number",J.value)}switch(Ie=Z?pi(Z):window,u){case"focusin":(Iv(Ie)||Ie.contentEditable==="true")&&(bs=Ie,ph=Z,Za=null);break;case"focusout":Za=ph=bs=null;break;case"mousedown":mh=!0;break;case"contextmenu":case"mouseup":case"dragend":mh=!1,Gv(de,l,se);break;case"selectionchange":if(IA)break;case"keydown":case"keyup":Gv(de,l,se)}var Ee;if(ch)e:{switch(u){case"compositionstart":var Ce="onCompositionStart";break e;case"compositionend":Ce="onCompositionEnd";break e;case"compositionupdate":Ce="onCompositionUpdate";break e}Ce=void 0}else ys?kv(u,l)&&(Ce="onCompositionEnd"):u==="keydown"&&l.keyCode===229&&(Ce="onCompositionStart");Ce&&(Ov&&l.locale!=="ko"&&(ys||Ce!=="onCompositionStart"?Ce==="onCompositionEnd"&&ys&&(Ee=Cv()):(Du=se,uh="value"in Du?Du.value:Du.textContent,ys=!0)),Ie=Zf(Z,Ce),0<Ie.length&&(Ce=new Dv(Ce,u,null,l,se),de.push({event:Ce,listeners:Ie}),Ee?Ce.data=Ee:(Ee=Lv(l),Ee!==null&&(Ce.data=Ee)))),(Ee=CA?AA(u,l):wA(u,l))&&(Ce=Zf(Z,"onBeforeInput"),0<Ce.length&&(Ie=new Dv("onBeforeInput","beforeinput",null,l,se),de.push({event:Ie,listeners:Ce}),Ie.data=Ee)),v7(de,u,Z,l,se)}g3(de,s)})}function _l(u,s,l){return{instance:u,listener:s,currentTarget:l}}function Zf(u,s){for(var l=s+"Capture",d=[];u!==null;){var m=u,b=m.stateNode;if(m=m.tag,m!==5&&m!==26&&m!==27||b===null||(m=Ua(u,l),m!=null&&d.unshift(_l(u,m,b)),m=Ua(u,s),m!=null&&d.push(_l(u,m,b))),u.tag===3)return d;u=u.return}return[]}function zs(u){if(u===null)return null;do u=u.return;while(u&&u.tag!==5&&u.tag!==27);return u||null}function y3(u,s,l,d,m){for(var b=s._reactName,w=[];l!==null&&l!==d;){var R=l,j=R.alternate,Z=R.stateNode;if(R=R.tag,j!==null&&j===d)break;R!==5&&R!==26&&R!==27||Z===null||(j=Z,m?(Z=Ua(l,b),Z!=null&&w.unshift(_l(l,Z,j))):m||(Z=Ua(l,b),Z!=null&&w.push(_l(l,Z,j)))),l=l.return}w.length!==0&&u.push({event:s,listeners:w})}var E7=/\r\n?/g,T7=/\u0000|\uFFFD/g;function b3(u){return(typeof u=="string"?u:""+u).replace(E7,`
|
|
50
|
-
`).replace(T7,"")}function x3(u,s){return s=b3(s),b3(u)===s}function Wf(){}function st(u,s,l,d,m,b){switch(l){case"children":typeof d=="string"?s==="body"||s==="textarea"&&d===""||Kn(u,d):(typeof d=="number"||typeof d=="bigint")&&s!=="body"&&Kn(u,""+d);break;case"className":Ii(u,"class",d);break;case"tabIndex":Ii(u,"tabindex",d);break;case"dir":case"role":case"viewBox":case"width":case"height":Ii(u,l,d);break;case"style":vt(u,d,b);break;case"data":if(s!=="object"){Ii(u,"data",d);break}case"src":case"href":if(d===""&&(s!=="a"||l!=="href")){u.removeAttribute(l);break}if(d==null||typeof d=="function"||typeof d=="symbol"||typeof d=="boolean"){u.removeAttribute(l);break}d=Ba(""+d),u.setAttribute(l,d);break;case"action":case"formAction":if(typeof d=="function"){u.setAttribute(l,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof b=="function"&&(l==="formAction"?(s!=="input"&&st(u,s,"name",m.name,m,null),st(u,s,"formEncType",m.formEncType,m,null),st(u,s,"formMethod",m.formMethod,m,null),st(u,s,"formTarget",m.formTarget,m,null)):(st(u,s,"encType",m.encType,m,null),st(u,s,"method",m.method,m,null),st(u,s,"target",m.target,m,null)));if(d==null||typeof d=="symbol"||typeof d=="boolean"){u.removeAttribute(l);break}d=Ba(""+d),u.setAttribute(l,d);break;case"onClick":d!=null&&(u.onclick=Wf);break;case"onScroll":d!=null&&Pe("scroll",u);break;case"onScrollEnd":d!=null&&Pe("scrollend",u);break;case"dangerouslySetInnerHTML":if(d!=null){if(typeof d!="object"||!("__html"in d))throw Error(i(61));if(l=d.__html,l!=null){if(m.children!=null)throw Error(i(60));u.innerHTML=l}}break;case"multiple":u.multiple=d&&typeof d!="function"&&typeof d!="symbol";break;case"muted":u.muted=d&&typeof d!="function"&&typeof d!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(d==null||typeof d=="function"||typeof d=="boolean"||typeof d=="symbol"){u.removeAttribute("xlink:href");break}l=Ba(""+d),u.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":d!=null&&typeof d!="function"&&typeof d!="symbol"?u.setAttribute(l,""+d):u.removeAttribute(l);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":d&&typeof d!="function"&&typeof d!="symbol"?u.setAttribute(l,""):u.removeAttribute(l);break;case"capture":case"download":d===!0?u.setAttribute(l,""):d!==!1&&d!=null&&typeof d!="function"&&typeof d!="symbol"?u.setAttribute(l,d):u.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":d!=null&&typeof d!="function"&&typeof d!="symbol"&&!isNaN(d)&&1<=d?u.setAttribute(l,d):u.removeAttribute(l);break;case"rowSpan":case"start":d==null||typeof d=="function"||typeof d=="symbol"||isNaN(d)?u.removeAttribute(l):u.setAttribute(l,d);break;case"popover":Pe("beforetoggle",u),Pe("toggle",u),Li(u,"popover",d);break;case"xlinkActuate":xn(u,"http://www.w3.org/1999/xlink","xlink:actuate",d);break;case"xlinkArcrole":xn(u,"http://www.w3.org/1999/xlink","xlink:arcrole",d);break;case"xlinkRole":xn(u,"http://www.w3.org/1999/xlink","xlink:role",d);break;case"xlinkShow":xn(u,"http://www.w3.org/1999/xlink","xlink:show",d);break;case"xlinkTitle":xn(u,"http://www.w3.org/1999/xlink","xlink:title",d);break;case"xlinkType":xn(u,"http://www.w3.org/1999/xlink","xlink:type",d);break;case"xmlBase":xn(u,"http://www.w3.org/XML/1998/namespace","xml:base",d);break;case"xmlLang":xn(u,"http://www.w3.org/XML/1998/namespace","xml:lang",d);break;case"xmlSpace":xn(u,"http://www.w3.org/XML/1998/namespace","xml:space",d);break;case"is":Li(u,"is",d);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=An.get(l)||l,Li(u,l,d))}}function Pp(u,s,l,d,m,b){switch(l){case"style":vt(u,d,b);break;case"dangerouslySetInnerHTML":if(d!=null){if(typeof d!="object"||!("__html"in d))throw Error(i(61));if(l=d.__html,l!=null){if(m.children!=null)throw Error(i(60));u.innerHTML=l}}break;case"children":typeof d=="string"?Kn(u,d):(typeof d=="number"||typeof d=="bigint")&&Kn(u,""+d);break;case"onScroll":d!=null&&Pe("scroll",u);break;case"onScrollEnd":d!=null&&Pe("scrollend",u);break;case"onClick":d!=null&&(u.onclick=Wf);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!jr.hasOwnProperty(l))e:{if(l[0]==="o"&&l[1]==="n"&&(m=l.endsWith("Capture"),s=l.slice(2,m?l.length-7:void 0),b=u[Jt]||null,b=b!=null?b[l]:null,typeof b=="function"&&u.removeEventListener(s,b,m),typeof d=="function")){typeof b!="function"&&b!==null&&(l in u?u[l]=null:u.hasAttribute(l)&&u.removeAttribute(l)),u.addEventListener(s,d,m);break e}l in u?u[l]=d:d===!0?u.setAttribute(l,""):Li(u,l,d)}}}function pn(u,s,l){switch(s){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Pe("error",u),Pe("load",u);var d=!1,m=!1,b;for(b in l)if(l.hasOwnProperty(b)){var w=l[b];if(w!=null)switch(b){case"src":d=!0;break;case"srcSet":m=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(i(137,s));default:st(u,s,b,w,l,null)}}m&&st(u,s,"srcSet",l.srcSet,l,null),d&&st(u,s,"src",l.src,l,null);return;case"input":Pe("invalid",u);var R=b=w=m=null,j=null,Z=null;for(d in l)if(l.hasOwnProperty(d)){var se=l[d];if(se!=null)switch(d){case"name":m=se;break;case"type":w=se;break;case"checked":j=se;break;case"defaultChecked":Z=se;break;case"value":b=se;break;case"defaultValue":R=se;break;case"children":case"dangerouslySetInnerHTML":if(se!=null)throw Error(i(137,s));break;default:st(u,s,d,se,l,null)}}ps(u,b,R,j,Z,w,m,!1),Fi(u);return;case"select":Pe("invalid",u),d=w=b=null;for(m in l)if(l.hasOwnProperty(m)&&(R=l[m],R!=null))switch(m){case"value":b=R;break;case"defaultValue":w=R;break;case"multiple":d=R;default:st(u,s,m,R,l,null)}s=b,l=w,u.multiple=!!d,s!=null?Wn(u,!!d,s,!1):l!=null&&Wn(u,!!d,l,!0);return;case"textarea":Pe("invalid",u),b=m=d=null;for(w in l)if(l.hasOwnProperty(w)&&(R=l[w],R!=null))switch(w){case"value":d=R;break;case"defaultValue":m=R;break;case"children":b=R;break;case"dangerouslySetInnerHTML":if(R!=null)throw Error(i(91));break;default:st(u,s,w,R,l,null)}Hr(u,d,m,b),Fi(u);return;case"option":for(j in l)if(l.hasOwnProperty(j)&&(d=l[j],d!=null))switch(j){case"selected":u.selected=d&&typeof d!="function"&&typeof d!="symbol";break;default:st(u,s,j,d,l,null)}return;case"dialog":Pe("beforetoggle",u),Pe("toggle",u),Pe("cancel",u),Pe("close",u);break;case"iframe":case"object":Pe("load",u);break;case"video":case"audio":for(d=0;d<Sl.length;d++)Pe(Sl[d],u);break;case"image":Pe("error",u),Pe("load",u);break;case"details":Pe("toggle",u);break;case"embed":case"source":case"link":Pe("error",u),Pe("load",u);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(Z in l)if(l.hasOwnProperty(Z)&&(d=l[Z],d!=null))switch(Z){case"children":case"dangerouslySetInnerHTML":throw Error(i(137,s));default:st(u,s,Z,d,l,null)}return;default:if(zt(s)){for(se in l)l.hasOwnProperty(se)&&(d=l[se],d!==void 0&&Pp(u,s,se,d,l,void 0));return}}for(R in l)l.hasOwnProperty(R)&&(d=l[R],d!=null&&st(u,s,R,d,l,null))}function S7(u,s,l,d){switch(s){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var m=null,b=null,w=null,R=null,j=null,Z=null,se=null;for(ee in l){var de=l[ee];if(l.hasOwnProperty(ee)&&de!=null)switch(ee){case"checked":break;case"value":break;case"defaultValue":j=de;default:d.hasOwnProperty(ee)||st(u,s,ee,null,d,de)}}for(var J in d){var ee=d[J];if(de=l[J],d.hasOwnProperty(J)&&(ee!=null||de!=null))switch(J){case"type":b=ee;break;case"name":m=ee;break;case"checked":Z=ee;break;case"defaultChecked":se=ee;break;case"value":w=ee;break;case"defaultValue":R=ee;break;case"children":case"dangerouslySetInnerHTML":if(ee!=null)throw Error(i(137,s));break;default:ee!==de&&st(u,s,J,ee,d,de)}}lr(u,w,R,j,Z,se,b,m);return;case"select":ee=w=R=J=null;for(b in l)if(j=l[b],l.hasOwnProperty(b)&&j!=null)switch(b){case"value":break;case"multiple":ee=j;default:d.hasOwnProperty(b)||st(u,s,b,null,d,j)}for(m in d)if(b=d[m],j=l[m],d.hasOwnProperty(m)&&(b!=null||j!=null))switch(m){case"value":J=b;break;case"defaultValue":R=b;break;case"multiple":w=b;default:b!==j&&st(u,s,m,b,d,j)}s=R,l=w,d=ee,J!=null?Wn(u,!!l,J,!1):!!d!=!!l&&(s!=null?Wn(u,!!l,s,!0):Wn(u,!!l,l?[]:"",!1));return;case"textarea":ee=J=null;for(R in l)if(m=l[R],l.hasOwnProperty(R)&&m!=null&&!d.hasOwnProperty(R))switch(R){case"value":break;case"children":break;default:st(u,s,R,null,d,m)}for(w in d)if(m=d[w],b=l[w],d.hasOwnProperty(w)&&(m!=null||b!=null))switch(w){case"value":J=m;break;case"defaultValue":ee=m;break;case"children":break;case"dangerouslySetInnerHTML":if(m!=null)throw Error(i(91));break;default:m!==b&&st(u,s,w,m,d,b)}zr(u,J,ee);return;case"option":for(var Ae in l)if(J=l[Ae],l.hasOwnProperty(Ae)&&J!=null&&!d.hasOwnProperty(Ae))switch(Ae){case"selected":u.selected=!1;break;default:st(u,s,Ae,null,d,J)}for(j in d)if(J=d[j],ee=l[j],d.hasOwnProperty(j)&&J!==ee&&(J!=null||ee!=null))switch(j){case"selected":u.selected=J&&typeof J!="function"&&typeof J!="symbol";break;default:st(u,s,j,J,d,ee)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var _e in l)J=l[_e],l.hasOwnProperty(_e)&&J!=null&&!d.hasOwnProperty(_e)&&st(u,s,_e,null,d,J);for(Z in d)if(J=d[Z],ee=l[Z],d.hasOwnProperty(Z)&&J!==ee&&(J!=null||ee!=null))switch(Z){case"children":case"dangerouslySetInnerHTML":if(J!=null)throw Error(i(137,s));break;default:st(u,s,Z,J,d,ee)}return;default:if(zt(s)){for(var at in l)J=l[at],l.hasOwnProperty(at)&&J!==void 0&&!d.hasOwnProperty(at)&&Pp(u,s,at,void 0,d,J);for(se in d)J=d[se],ee=l[se],!d.hasOwnProperty(se)||J===ee||J===void 0&&ee===void 0||Pp(u,s,se,J,d,ee);return}}for(var G in l)J=l[G],l.hasOwnProperty(G)&&J!=null&&!d.hasOwnProperty(G)&&st(u,s,G,null,d,J);for(de in d)J=d[de],ee=l[de],!d.hasOwnProperty(de)||J===ee||J==null&&ee==null||st(u,s,de,J,d,ee)}var Vp=null,Bp=null;function Kf(u){return u.nodeType===9?u:u.ownerDocument}function E3(u){switch(u){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function T3(u,s){if(u===0)switch(s){case"svg":return 1;case"math":return 2;default:return 0}return u===1&&s==="foreignObject"?0:u}function $p(u,s){return u==="textarea"||u==="noscript"||typeof s.children=="string"||typeof s.children=="number"||typeof s.children=="bigint"||typeof s.dangerouslySetInnerHTML=="object"&&s.dangerouslySetInnerHTML!==null&&s.dangerouslySetInnerHTML.__html!=null}var Up=null;function _7(){var u=window.event;return u&&u.type==="popstate"?u===Up?!1:(Up=u,!0):(Up=null,!1)}var S3=typeof setTimeout=="function"?setTimeout:void 0,C7=typeof clearTimeout=="function"?clearTimeout:void 0,_3=typeof Promise=="function"?Promise:void 0,A7=typeof queueMicrotask=="function"?queueMicrotask:typeof _3<"u"?function(u){return _3.resolve(null).then(u).catch(w7)}:S3;function w7(u){setTimeout(function(){throw u})}function Hu(u){return u==="head"}function C3(u,s){var l=s,d=0,m=0;do{var b=l.nextSibling;if(u.removeChild(l),b&&b.nodeType===8)if(l=b.data,l==="/$"){if(0<d&&8>d){l=d;var w=u.ownerDocument;if(l&1&&Cl(w.documentElement),l&2&&Cl(w.body),l&4)for(l=w.head,Cl(l),w=l.firstChild;w;){var R=w.nextSibling,j=w.nodeName;w[hi]||j==="SCRIPT"||j==="STYLE"||j==="LINK"&&w.rel.toLowerCase()==="stylesheet"||l.removeChild(w),w=R}}if(m===0){u.removeChild(b),kl(s);return}m--}else l==="$"||l==="$?"||l==="$!"?m++:d=l.charCodeAt(0)-48;else d=0;l=b}while(l);kl(s)}function zp(u){var s=u.firstChild;for(s&&s.nodeType===10&&(s=s.nextSibling);s;){var l=s;switch(s=s.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":zp(l),ja(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}u.removeChild(l)}}function D7(u,s,l,d){for(;u.nodeType===1;){var m=l;if(u.nodeName.toLowerCase()!==s.toLowerCase()){if(!d&&(u.nodeName!=="INPUT"||u.type!=="hidden"))break}else if(d){if(!u[hi])switch(s){case"meta":if(!u.hasAttribute("itemprop"))break;return u;case"link":if(b=u.getAttribute("rel"),b==="stylesheet"&&u.hasAttribute("data-precedence"))break;if(b!==m.rel||u.getAttribute("href")!==(m.href==null||m.href===""?null:m.href)||u.getAttribute("crossorigin")!==(m.crossOrigin==null?null:m.crossOrigin)||u.getAttribute("title")!==(m.title==null?null:m.title))break;return u;case"style":if(u.hasAttribute("data-precedence"))break;return u;case"script":if(b=u.getAttribute("src"),(b!==(m.src==null?null:m.src)||u.getAttribute("type")!==(m.type==null?null:m.type)||u.getAttribute("crossorigin")!==(m.crossOrigin==null?null:m.crossOrigin))&&b&&u.hasAttribute("async")&&!u.hasAttribute("itemprop"))break;return u;default:return u}}else if(s==="input"&&u.type==="hidden"){var b=m.name==null?null:""+m.name;if(m.type==="hidden"&&u.getAttribute("name")===b)return u}else return u;if(u=Vi(u.nextSibling),u===null)break}return null}function N7(u,s,l){if(s==="")return null;for(;u.nodeType!==3;)if((u.nodeType!==1||u.nodeName!=="INPUT"||u.type!=="hidden")&&!l||(u=Vi(u.nextSibling),u===null))return null;return u}function Hp(u){return u.data==="$!"||u.data==="$?"&&u.ownerDocument.readyState==="complete"}function O7(u,s){var l=u.ownerDocument;if(u.data!=="$?"||l.readyState==="complete")s();else{var d=function(){s(),l.removeEventListener("DOMContentLoaded",d)};l.addEventListener("DOMContentLoaded",d),u._reactRetry=d}}function Vi(u){for(;u!=null;u=u.nextSibling){var s=u.nodeType;if(s===1||s===3)break;if(s===8){if(s=u.data,s==="$"||s==="$!"||s==="$?"||s==="F!"||s==="F")break;if(s==="/$")return null}}return u}var qp=null;function A3(u){u=u.previousSibling;for(var s=0;u;){if(u.nodeType===8){var l=u.data;if(l==="$"||l==="$!"||l==="$?"){if(s===0)return u;s--}else l==="/$"&&s++}u=u.previousSibling}return null}function w3(u,s,l){switch(s=Kf(l),u){case"html":if(u=s.documentElement,!u)throw Error(i(452));return u;case"head":if(u=s.head,!u)throw Error(i(453));return u;case"body":if(u=s.body,!u)throw Error(i(454));return u;default:throw Error(i(451))}}function Cl(u){for(var s=u.attributes;s.length;)u.removeAttributeNode(s[0]);ja(u)}var Ei=new Map,D3=new Set;function Jf(u){return typeof u.getRootNode=="function"?u.getRootNode():u.nodeType===9?u:u.ownerDocument}var ru=H.d;H.d={f:R7,r:M7,D:k7,C:L7,L:I7,m:F7,X:P7,S:j7,M:V7};function R7(){var u=ru.f(),s=Hf();return u||s}function M7(u){var s=Yn(u);s!==null&&s.tag===5&&s.type==="form"?Qy(s):ru.r(u)}var Hs=typeof document>"u"?null:document;function N3(u,s,l){var d=Hs;if(d&&typeof s=="string"&&s){var m=Xt(s);m='link[rel="'+u+'"][href="'+m+'"]',typeof l=="string"&&(m+='[crossorigin="'+l+'"]'),D3.has(m)||(D3.add(m),u={rel:u,crossOrigin:l,href:s},d.querySelector(m)===null&&(s=d.createElement("link"),pn(s,"link",u),wt(s),d.head.appendChild(s)))}}function k7(u){ru.D(u),N3("dns-prefetch",u,null)}function L7(u,s){ru.C(u,s),N3("preconnect",u,s)}function I7(u,s,l){ru.L(u,s,l);var d=Hs;if(d&&u&&s){var m='link[rel="preload"][as="'+Xt(s)+'"]';s==="image"&&l&&l.imageSrcSet?(m+='[imagesrcset="'+Xt(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(m+='[imagesizes="'+Xt(l.imageSizes)+'"]')):m+='[href="'+Xt(u)+'"]';var b=m;switch(s){case"style":b=qs(u);break;case"script":b=Gs(u)}Ei.has(b)||(u=p({rel:"preload",href:s==="image"&&l&&l.imageSrcSet?void 0:u,as:s},l),Ei.set(b,u),d.querySelector(m)!==null||s==="style"&&d.querySelector(Al(b))||s==="script"&&d.querySelector(wl(b))||(s=d.createElement("link"),pn(s,"link",u),wt(s),d.head.appendChild(s)))}}function F7(u,s){ru.m(u,s);var l=Hs;if(l&&u){var d=s&&typeof s.as=="string"?s.as:"script",m='link[rel="modulepreload"][as="'+Xt(d)+'"][href="'+Xt(u)+'"]',b=m;switch(d){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":b=Gs(u)}if(!Ei.has(b)&&(u=p({rel:"modulepreload",href:u},s),Ei.set(b,u),l.querySelector(m)===null)){switch(d){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(wl(b)))return}d=l.createElement("link"),pn(d,"link",u),wt(d),l.head.appendChild(d)}}}function j7(u,s,l){ru.S(u,s,l);var d=Hs;if(d&&u){var m=Qn(d).hoistableStyles,b=qs(u);s=s||"default";var w=m.get(b);if(!w){var R={loading:0,preload:null};if(w=d.querySelector(Al(b)))R.loading=5;else{u=p({rel:"stylesheet",href:u,"data-precedence":s},l),(l=Ei.get(b))&&Gp(u,l);var j=w=d.createElement("link");wt(j),pn(j,"link",u),j._p=new Promise(function(Z,se){j.onload=Z,j.onerror=se}),j.addEventListener("load",function(){R.loading|=1}),j.addEventListener("error",function(){R.loading|=2}),R.loading|=4,ed(w,s,d)}w={type:"stylesheet",instance:w,count:1,state:R},m.set(b,w)}}}function P7(u,s){ru.X(u,s);var l=Hs;if(l&&u){var d=Qn(l).hoistableScripts,m=Gs(u),b=d.get(m);b||(b=l.querySelector(wl(m)),b||(u=p({src:u,async:!0},s),(s=Ei.get(m))&&Yp(u,s),b=l.createElement("script"),wt(b),pn(b,"link",u),l.head.appendChild(b)),b={type:"script",instance:b,count:1,state:null},d.set(m,b))}}function V7(u,s){ru.M(u,s);var l=Hs;if(l&&u){var d=Qn(l).hoistableScripts,m=Gs(u),b=d.get(m);b||(b=l.querySelector(wl(m)),b||(u=p({src:u,async:!0,type:"module"},s),(s=Ei.get(m))&&Yp(u,s),b=l.createElement("script"),wt(b),pn(b,"link",u),l.head.appendChild(b)),b={type:"script",instance:b,count:1,state:null},d.set(m,b))}}function O3(u,s,l,d){var m=(m=oe.current)?Jf(m):null;if(!m)throw Error(i(446));switch(u){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(s=qs(l.href),l=Qn(m).hoistableStyles,d=l.get(s),d||(d={type:"style",instance:null,count:0,state:null},l.set(s,d)),d):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){u=qs(l.href);var b=Qn(m).hoistableStyles,w=b.get(u);if(w||(m=m.ownerDocument||m,w={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},b.set(u,w),(b=m.querySelector(Al(u)))&&!b._p&&(w.instance=b,w.state.loading=5),Ei.has(u)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},Ei.set(u,l),b||B7(m,u,l,w.state))),s&&d===null)throw Error(i(528,""));return w}if(s&&d!==null)throw Error(i(529,""));return null;case"script":return s=l.async,l=l.src,typeof l=="string"&&s&&typeof s!="function"&&typeof s!="symbol"?(s=Gs(l),l=Qn(m).hoistableScripts,d=l.get(s),d||(d={type:"script",instance:null,count:0,state:null},l.set(s,d)),d):{type:"void",instance:null,count:0,state:null};default:throw Error(i(444,u))}}function qs(u){return'href="'+Xt(u)+'"'}function Al(u){return'link[rel="stylesheet"]['+u+"]"}function R3(u){return p({},u,{"data-precedence":u.precedence,precedence:null})}function B7(u,s,l,d){u.querySelector('link[rel="preload"][as="style"]['+s+"]")?d.loading=1:(s=u.createElement("link"),d.preload=s,s.addEventListener("load",function(){return d.loading|=1}),s.addEventListener("error",function(){return d.loading|=2}),pn(s,"link",l),wt(s),u.head.appendChild(s))}function Gs(u){return'[src="'+Xt(u)+'"]'}function wl(u){return"script[async]"+u}function M3(u,s,l){if(s.count++,s.instance===null)switch(s.type){case"style":var d=u.querySelector('style[data-href~="'+Xt(l.href)+'"]');if(d)return s.instance=d,wt(d),d;var m=p({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return d=(u.ownerDocument||u).createElement("style"),wt(d),pn(d,"style",m),ed(d,l.precedence,u),s.instance=d;case"stylesheet":m=qs(l.href);var b=u.querySelector(Al(m));if(b)return s.state.loading|=4,s.instance=b,wt(b),b;d=R3(l),(m=Ei.get(m))&&Gp(d,m),b=(u.ownerDocument||u).createElement("link"),wt(b);var w=b;return w._p=new Promise(function(R,j){w.onload=R,w.onerror=j}),pn(b,"link",d),s.state.loading|=4,ed(b,l.precedence,u),s.instance=b;case"script":return b=Gs(l.src),(m=u.querySelector(wl(b)))?(s.instance=m,wt(m),m):(d=l,(m=Ei.get(b))&&(d=p({},l),Yp(d,m)),u=u.ownerDocument||u,m=u.createElement("script"),wt(m),pn(m,"link",d),u.head.appendChild(m),s.instance=m);case"void":return null;default:throw Error(i(443,s.type))}else s.type==="stylesheet"&&(s.state.loading&4)===0&&(d=s.instance,s.state.loading|=4,ed(d,l.precedence,u));return s.instance}function ed(u,s,l){for(var d=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),m=d.length?d[d.length-1]:null,b=m,w=0;w<d.length;w++){var R=d[w];if(R.dataset.precedence===s)b=R;else if(b!==m)break}b?b.parentNode.insertBefore(u,b.nextSibling):(s=l.nodeType===9?l.head:l,s.insertBefore(u,s.firstChild))}function Gp(u,s){u.crossOrigin==null&&(u.crossOrigin=s.crossOrigin),u.referrerPolicy==null&&(u.referrerPolicy=s.referrerPolicy),u.title==null&&(u.title=s.title)}function Yp(u,s){u.crossOrigin==null&&(u.crossOrigin=s.crossOrigin),u.referrerPolicy==null&&(u.referrerPolicy=s.referrerPolicy),u.integrity==null&&(u.integrity=s.integrity)}var td=null;function k3(u,s,l){if(td===null){var d=new Map,m=td=new Map;m.set(l,d)}else m=td,d=m.get(l),d||(d=new Map,m.set(l,d));if(d.has(u))return d;for(d.set(u,null),l=l.getElementsByTagName(u),m=0;m<l.length;m++){var b=l[m];if(!(b[hi]||b[_t]||u==="link"&&b.getAttribute("rel")==="stylesheet")&&b.namespaceURI!=="http://www.w3.org/2000/svg"){var w=b.getAttribute(s)||"";w=u+w;var R=d.get(w);R?R.push(b):d.set(w,[b])}}return d}function L3(u,s,l){u=u.ownerDocument||u,u.head.insertBefore(l,s==="title"?u.querySelector("head > title"):null)}function $7(u,s,l){if(l===1||s.itemProp!=null)return!1;switch(u){case"meta":case"title":return!0;case"style":if(typeof s.precedence!="string"||typeof s.href!="string"||s.href==="")break;return!0;case"link":if(typeof s.rel!="string"||typeof s.href!="string"||s.href===""||s.onLoad||s.onError)break;switch(s.rel){case"stylesheet":return u=s.disabled,typeof s.precedence=="string"&&u==null;default:return!0}case"script":if(s.async&&typeof s.async!="function"&&typeof s.async!="symbol"&&!s.onLoad&&!s.onError&&s.src&&typeof s.src=="string")return!0}return!1}function I3(u){return!(u.type==="stylesheet"&&(u.state.loading&3)===0)}var Dl=null;function U7(){}function z7(u,s,l){if(Dl===null)throw Error(i(475));var d=Dl;if(s.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(s.state.loading&4)===0){if(s.instance===null){var m=qs(l.href),b=u.querySelector(Al(m));if(b){u=b._p,u!==null&&typeof u=="object"&&typeof u.then=="function"&&(d.count++,d=nd.bind(d),u.then(d,d)),s.state.loading|=4,s.instance=b,wt(b);return}b=u.ownerDocument||u,l=R3(l),(m=Ei.get(m))&&Gp(l,m),b=b.createElement("link"),wt(b);var w=b;w._p=new Promise(function(R,j){w.onload=R,w.onerror=j}),pn(b,"link",l),s.instance=b}d.stylesheets===null&&(d.stylesheets=new Map),d.stylesheets.set(s,u),(u=s.state.preload)&&(s.state.loading&3)===0&&(d.count++,s=nd.bind(d),u.addEventListener("load",s),u.addEventListener("error",s))}}function H7(){if(Dl===null)throw Error(i(475));var u=Dl;return u.stylesheets&&u.count===0&&Qp(u,u.stylesheets),0<u.count?function(s){var l=setTimeout(function(){if(u.stylesheets&&Qp(u,u.stylesheets),u.unsuspend){var d=u.unsuspend;u.unsuspend=null,d()}},6e4);return u.unsuspend=s,function(){u.unsuspend=null,clearTimeout(l)}}:null}function nd(){if(this.count--,this.count===0){if(this.stylesheets)Qp(this,this.stylesheets);else if(this.unsuspend){var u=this.unsuspend;this.unsuspend=null,u()}}}var id=null;function Qp(u,s){u.stylesheets=null,u.unsuspend!==null&&(u.count++,id=new Map,s.forEach(q7,u),id=null,nd.call(u))}function q7(u,s){if(!(s.state.loading&4)){var l=id.get(u);if(l)var d=l.get(null);else{l=new Map,id.set(u,l);for(var m=u.querySelectorAll("link[data-precedence],style[data-precedence]"),b=0;b<m.length;b++){var w=m[b];(w.nodeName==="LINK"||w.getAttribute("media")!=="not all")&&(l.set(w.dataset.precedence,w),d=w)}d&&l.set(null,d)}m=s.instance,w=m.getAttribute("data-precedence"),b=l.get(w)||d,b===d&&l.set(null,m),l.set(w,m),this.count++,d=nd.bind(this),m.addEventListener("load",d),m.addEventListener("error",d),b?b.parentNode.insertBefore(m,b.nextSibling):(u=u.nodeType===9?u.head:u,u.insertBefore(m,u.firstChild)),s.state.loading|=4}}var Nl={$$typeof:C,Provider:null,Consumer:null,_currentValue:$,_currentValue2:$,_threadCount:0};function G7(u,s,l,d,m,b,w,R){this.tag=1,this.containerInfo=u,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=nr(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=nr(0),this.hiddenUpdates=nr(null),this.identifierPrefix=d,this.onUncaughtError=m,this.onCaughtError=b,this.onRecoverableError=w,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=R,this.incompleteTransitions=new Map}function F3(u,s,l,d,m,b,w,R,j,Z,se,de){return u=new G7(u,s,l,w,R,j,Z,de),s=1,b===!0&&(s|=24),b=ei(3,null,null,s),u.current=b,b.stateNode=u,s=Nh(),s.refCount++,u.pooledCache=s,s.refCount++,b.memoizedState={element:d,isDehydrated:l,cache:s},kh(b),u}function j3(u){return u?(u=Ss,u):Ss}function P3(u,s,l,d,m,b){m=j3(m),d.context===null?d.context=m:d.pendingContext=m,d=Ru(s),d.payload={element:l},b=b===void 0?null:b,b!==null&&(d.callback=b),l=Mu(u,d,s),l!==null&&(ui(l,u,s),ul(l,u,s))}function V3(u,s){if(u=u.memoizedState,u!==null&&u.dehydrated!==null){var l=u.retryLane;u.retryLane=l!==0&&l<s?l:s}}function Xp(u,s){V3(u,s),(u=u.alternate)&&V3(u,s)}function B3(u){if(u.tag===13){var s=Ts(u,67108864);s!==null&&ui(s,u,67108864),Xp(u,67108864)}}var rd=!0;function Y7(u,s,l,d){var m=F.T;F.T=null;var b=H.p;try{H.p=2,Zp(u,s,l,d)}finally{H.p=b,F.T=m}}function Q7(u,s,l,d){var m=F.T;F.T=null;var b=H.p;try{H.p=8,Zp(u,s,l,d)}finally{H.p=b,F.T=m}}function Zp(u,s,l,d){if(rd){var m=Wp(d);if(m===null)jp(u,s,d,ud,l),U3(u,d);else if(Z7(m,u,s,l,d))d.stopPropagation();else if(U3(u,d),s&4&&-1<X7.indexOf(u)){for(;m!==null;){var b=Yn(m);if(b!==null)switch(b.tag){case 3:if(b=b.stateNode,b.current.memoizedState.isDehydrated){var w=jn(b.pendingLanes);if(w!==0){var R=b;for(R.pendingLanes|=2,R.entangledLanes|=2;w;){var j=1<<31-Ut(w);R.entanglements[1]|=j,w&=~j}pr(b),(it&6)===0&&(Uf=nt()+500,Tl(0))}}break;case 13:R=Ts(b,2),R!==null&&ui(R,b,2),Hf(),Xp(b,2)}if(b=Wp(d),b===null&&jp(u,s,d,ud,l),b===m)break;m=b}m!==null&&d.stopPropagation()}else jp(u,s,d,null,l)}}function Wp(u){return u=nh(u),Kp(u)}var ud=null;function Kp(u){if(ud=null,u=ur(u),u!==null){var s=o(u);if(s===null)u=null;else{var l=s.tag;if(l===13){if(u=a(s),u!==null)return u;u=null}else if(l===3){if(s.stateNode.current.memoizedState.isDehydrated)return s.tag===3?s.stateNode.containerInfo:null;u=null}else s!==u&&(u=null)}}return ud=u,null}function $3(u){switch(u){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(De()){case qe:return 2;case Ne:return 8;case ct:case ut:return 32;case Ye:return 268435456;default:return 32}default:return 32}}var Jp=!1,qu=null,Gu=null,Yu=null,Ol=new Map,Rl=new Map,Qu=[],X7="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function U3(u,s){switch(u){case"focusin":case"focusout":qu=null;break;case"dragenter":case"dragleave":Gu=null;break;case"mouseover":case"mouseout":Yu=null;break;case"pointerover":case"pointerout":Ol.delete(s.pointerId);break;case"gotpointercapture":case"lostpointercapture":Rl.delete(s.pointerId)}}function Ml(u,s,l,d,m,b){return u===null||u.nativeEvent!==b?(u={blockedOn:s,domEventName:l,eventSystemFlags:d,nativeEvent:b,targetContainers:[m]},s!==null&&(s=Yn(s),s!==null&&B3(s)),u):(u.eventSystemFlags|=d,s=u.targetContainers,m!==null&&s.indexOf(m)===-1&&s.push(m),u)}function Z7(u,s,l,d,m){switch(s){case"focusin":return qu=Ml(qu,u,s,l,d,m),!0;case"dragenter":return Gu=Ml(Gu,u,s,l,d,m),!0;case"mouseover":return Yu=Ml(Yu,u,s,l,d,m),!0;case"pointerover":var b=m.pointerId;return Ol.set(b,Ml(Ol.get(b)||null,u,s,l,d,m)),!0;case"gotpointercapture":return b=m.pointerId,Rl.set(b,Ml(Rl.get(b)||null,u,s,l,d,m)),!0}return!1}function z3(u){var s=ur(u.target);if(s!==null){var l=o(s);if(l!==null){if(s=l.tag,s===13){if(s=a(l),s!==null){u.blockedOn=s,ls(u.priority,function(){if(l.tag===13){var d=ri();d=Fa(d);var m=Ts(l,d);m!==null&&ui(m,l,d),Xp(l,d)}});return}}else if(s===3&&l.stateNode.current.memoizedState.isDehydrated){u.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}u.blockedOn=null}function od(u){if(u.blockedOn!==null)return!1;for(var s=u.targetContainers;0<s.length;){var l=Wp(u.nativeEvent);if(l===null){l=u.nativeEvent;var d=new l.constructor(l.type,l);$a=d,l.target.dispatchEvent(d),$a=null}else return s=Yn(l),s!==null&&B3(s),u.blockedOn=l,!1;s.shift()}return!0}function H3(u,s,l){od(u)&&l.delete(s)}function W7(){Jp=!1,qu!==null&&od(qu)&&(qu=null),Gu!==null&&od(Gu)&&(Gu=null),Yu!==null&&od(Yu)&&(Yu=null),Ol.forEach(H3),Rl.forEach(H3)}function sd(u,s){u.blockedOn===s&&(u.blockedOn=null,Jp||(Jp=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,W7)))}var ad=null;function q3(u){ad!==u&&(ad=u,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){ad===u&&(ad=null);for(var s=0;s<u.length;s+=3){var l=u[s],d=u[s+1],m=u[s+2];if(typeof d!="function"){if(Kp(d||l)===null)continue;break}var b=Yn(l);b!==null&&(u.splice(s,3),s-=3,Kh(b,{pending:!0,data:m,method:l.method,action:d},d,m))}}))}function kl(u){function s(j){return sd(j,u)}qu!==null&&sd(qu,u),Gu!==null&&sd(Gu,u),Yu!==null&&sd(Yu,u),Ol.forEach(s),Rl.forEach(s);for(var l=0;l<Qu.length;l++){var d=Qu[l];d.blockedOn===u&&(d.blockedOn=null)}for(;0<Qu.length&&(l=Qu[0],l.blockedOn===null);)z3(l),l.blockedOn===null&&Qu.shift();if(l=(u.ownerDocument||u).$$reactFormReplay,l!=null)for(d=0;d<l.length;d+=3){var m=l[d],b=l[d+1],w=m[Jt]||null;if(typeof b=="function")w||q3(l);else if(w){var R=null;if(b&&b.hasAttribute("formAction")){if(m=b,w=b[Jt]||null)R=w.formAction;else if(Kp(m)!==null)continue}else R=w.action;typeof R=="function"?l[d+1]=R:(l.splice(d,3),d-=3),q3(l)}}}function e1(u){this._internalRoot=u}ld.prototype.render=e1.prototype.render=function(u){var s=this._internalRoot;if(s===null)throw Error(i(409));var l=s.current,d=ri();P3(l,d,u,s,null,null)},ld.prototype.unmount=e1.prototype.unmount=function(){var u=this._internalRoot;if(u!==null){this._internalRoot=null;var s=u.containerInfo;P3(u.current,2,null,u,null,null),Hf(),s[Tu]=null}};function ld(u){this._internalRoot=u}ld.prototype.unstable_scheduleHydration=function(u){if(u){var s=Ir();u={blockedOn:null,target:u,priority:s};for(var l=0;l<Qu.length&&s!==0&&s<Qu[l].priority;l++);Qu.splice(l,0,u),l===0&&z3(u)}};var G3=t.version;if(G3!=="19.1.0")throw Error(i(527,G3,"19.1.0"));H.findDOMNode=function(u){var s=u._reactInternals;if(s===void 0)throw typeof u.render=="function"?Error(i(188)):(u=Object.keys(u).join(","),Error(i(268,u)));return u=f(s),u=u!==null?h(u):null,u=u===null?null:u.stateNode,u};var K7={bundleType:0,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:F,reconcilerVersion:"19.1.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var cd=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!cd.isDisabled&&cd.supportsFiber)try{$t=cd.inject(K7),kt=cd}catch{}}return Il.createRoot=function(u,s){if(!r(u))throw Error(i(299));var l=!1,d="",m=ab,b=lb,w=cb,R=null;return s!=null&&(s.unstable_strictMode===!0&&(l=!0),s.identifierPrefix!==void 0&&(d=s.identifierPrefix),s.onUncaughtError!==void 0&&(m=s.onUncaughtError),s.onCaughtError!==void 0&&(b=s.onCaughtError),s.onRecoverableError!==void 0&&(w=s.onRecoverableError),s.unstable_transitionCallbacks!==void 0&&(R=s.unstable_transitionCallbacks)),s=F3(u,1,!1,null,null,l,d,m,b,w,R,null),u[Tu]=s.current,Fp(u),new e1(s)},Il.hydrateRoot=function(u,s,l){if(!r(u))throw Error(i(299));var d=!1,m="",b=ab,w=lb,R=cb,j=null,Z=null;return l!=null&&(l.unstable_strictMode===!0&&(d=!0),l.identifierPrefix!==void 0&&(m=l.identifierPrefix),l.onUncaughtError!==void 0&&(b=l.onUncaughtError),l.onCaughtError!==void 0&&(w=l.onCaughtError),l.onRecoverableError!==void 0&&(R=l.onRecoverableError),l.unstable_transitionCallbacks!==void 0&&(j=l.unstable_transitionCallbacks),l.formState!==void 0&&(Z=l.formState)),s=F3(u,1,!0,s,l??null,d,m,b,w,R,j,Z),s.context=j3(null),l=s.current,d=ri(),d=Fa(d),m=Ru(d),m.callback=null,Mu(l,m,d),l=d,s.current.lanes=l,di(s,l),pr(s),u[Tu]=s.current,Fp(u),new ld(s)},Il.version="19.1.0",Il}var nx;function aw(){if(nx)return i1.exports;nx=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),i1.exports=sw(),i1.exports}var E5=aw();const lw=Wo(E5);var cw=Object.defineProperty,fw=Object.defineProperties,dw=Object.getOwnPropertyDescriptors,ix=Object.getOwnPropertySymbols,hw=Object.prototype.hasOwnProperty,pw=Object.prototype.propertyIsEnumerable,vm=(e,t)=>(t=Symbol[e])?t:Symbol.for("Symbol."+e),rx=(e,t,n)=>t in e?cw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ai=(e,t)=>{for(var n in t||(t={}))hw.call(t,n)&&rx(e,n,t[n]);if(ix)for(var n of ix(t))pw.call(t,n)&&rx(e,n,t[n]);return e},oc=(e,t)=>fw(e,dw(t)),kd=function(e,t){this[0]=e,this[1]=t},mw=(e,t,n)=>{var i=(a,c,f,h)=>{try{var p=n[a](c),g=(c=p.value)instanceof kd,y=p.done;Promise.resolve(g?c[0]:c).then(v=>g?i(a==="return"?a:"next",c[1]?{done:v.done,value:v.value}:v,f,h):f({value:v,done:y})).catch(v=>i("throw",v,f,h))}catch(v){h(v)}},r=a=>o[a]=c=>new Promise((f,h)=>i(a,c,f,h)),o={};return n=n.apply(e,t),o[vm("asyncIterator")]=()=>o,r("next"),r("throw"),r("return"),o},gw=(e,t,n)=>(t=e[vm("asyncIterator")])?t.call(e):(e=e[vm("iterator")](),t={},n=(i,r)=>(r=e[i])&&(t[i]=o=>new Promise((a,c,f)=>(o=r.call(e,o),f=o.done,Promise.resolve(o.value).then(h=>a({value:h,done:f}),c)))),n("next"),n("return"),t);function ux(e){return typeof e=="object"&&e!==null&&typeof e.then=="function"}function vw(e){return new Promise((t,n)=>{const i=e.subscribe({next(r){t(r),i.unsubscribe()},error:n,complete(){n(new Error("no value resolved"))}})})}function T5(e){return typeof e=="object"&&e!==null&&"subscribe"in e&&typeof e.subscribe=="function"}function S5(e){return typeof e=="object"&&e!==null&&(e[Symbol.toStringTag]==="AsyncGenerator"||Symbol.asyncIterator in e)}async function yw(e){var t;const n=(t=("return"in e?e:e[Symbol.asyncIterator]()).return)==null?void 0:t.bind(e),i=await("next"in e?e:e[Symbol.asyncIterator]()).next.bind(e)();return n==null||n(),i.value}async function ox(e){const t=await e;return S5(t)?yw(t):T5(t)?vw(t):t}const bw="modulepreload",xw=function(e){return"/graphiql/"+e},sx={},We=function(t,n,i){let r=Promise.resolve();if(n&&n.length>0){let a=function(h){return Promise.all(h.map(p=>Promise.resolve(p).then(g=>({status:"fulfilled",value:g}),g=>({status:"rejected",reason:g}))))};document.getElementsByTagName("link");const c=document.querySelector("meta[property=csp-nonce]"),f=(c==null?void 0:c.nonce)||(c==null?void 0:c.getAttribute("nonce"));r=a(n.map(h=>{if(h=xw(h),h in sx)return;sx[h]=!0;const p=h.endsWith(".css"),g=p?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${h}"]${g}`))return;const y=document.createElement("link");if(y.rel=p?"stylesheet":bw,p||(y.as="script"),y.crossOrigin="",y.href=h,f&&y.setAttribute("nonce",f),document.head.appendChild(y),p)return new Promise((v,E)=>{y.addEventListener("load",v),y.addEventListener("error",()=>E(new Error(`Unable to preload CSS for ${h}`)))})}))}function o(a){const c=new Event("vite:preloadError",{cancelable:!0});if(c.payload=a,window.dispatchEvent(c),!c.defaultPrevented)throw a}return r.then(a=>{for(const c of a||[])c.status==="rejected"&&o(c.reason);return t().catch(o)})};function et(e,t){if(!!!e)throw new Error(t)}function lu(e){return typeof e=="object"&&e!==null}function b0(e,t){if(!!!e)throw new Error(t??"Unexpected invariant triggered.")}const Ew=/\r\n|[\n\r]/g;function ym(e,t){let n=0,i=1;for(const r of e.body.matchAll(Ew)){if(typeof r.index=="number"||b0(!1),r.index>=t)break;n=r.index+r[0].length,i+=1}return{line:i,column:t+1-n}}function Tw(e){return _5(e.source,ym(e.source,e.start))}function _5(e,t){const n=e.locationOffset.column-1,i="".padStart(n)+e.body,r=t.line-1,o=e.locationOffset.line-1,a=t.line+o,c=t.line===1?n:0,f=t.column+c,h=`${e.name}:${a}:${f}
|
|
49
|
+
`+l.stack}}function Yt(u){switch(typeof u){case"bigint":case"boolean":case"number":case"string":case"undefined":return u;case"object":return u;default:return""}}function $r(u){var s=u.type;return(u=u.nodeName)&&u.toLowerCase()==="input"&&(s==="checkbox"||s==="radio")}function Au(u){var s=$r(u)?"checked":"value",l=Object.getOwnPropertyDescriptor(u.constructor.prototype,s),d=""+u[s];if(!u.hasOwnProperty(s)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var m=l.get,b=l.set;return Object.defineProperty(u,s,{configurable:!0,get:function(){return m.call(this)},set:function(w){d=""+w,b.call(this,w)}}),Object.defineProperty(u,s,{enumerable:l.enumerable}),{getValue:function(){return d},setValue:function(w){d=""+w},stopTracking:function(){u._valueTracker=null,delete u[s]}}}}function Fi(u){u._valueTracker||(u._valueTracker=Au(u))}function hs(u){if(!u)return!1;var s=u._valueTracker;if(!s)return!0;var l=s.getValue(),d="";return u&&(d=$r(u)?u.checked?"true":"false":u.value),u=d,u!==l?(s.setValue(u),!0):!1}function Ur(u){if(u=u||(typeof document<"u"?document:void 0),typeof u>"u")return null;try{return u.activeElement||u.body}catch{return u.body}}var Va=/[\n"\\]/g;function Qt(u){return u.replace(Va,function(s){return"\\"+s.charCodeAt(0).toString(16)+" "})}function lr(u,s,l,d,m,b,w,R){u.name="",w!=null&&typeof w!="function"&&typeof w!="symbol"&&typeof w!="boolean"?u.type=w:u.removeAttribute("type"),s!=null?w==="number"?(s===0&&u.value===""||u.value!=s)&&(u.value=""+Yt(s)):u.value!==""+Yt(s)&&(u.value=""+Yt(s)):w!=="submit"&&w!=="reset"||u.removeAttribute("value"),s!=null?wu(u,w,Yt(s)):l!=null?wu(u,w,Yt(l)):d!=null&&u.removeAttribute("value"),m==null&&b!=null&&(u.defaultChecked=!!b),m!=null&&(u.checked=m&&typeof m!="function"&&typeof m!="symbol"),R!=null&&typeof R!="function"&&typeof R!="symbol"&&typeof R!="boolean"?u.name=""+Yt(R):u.removeAttribute("name")}function ps(u,s,l,d,m,b,w,R){if(b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"&&(u.type=b),s!=null||l!=null){if(!(b!=="submit"&&b!=="reset"||s!=null))return;l=l!=null?""+Yt(l):"",s=s!=null?""+Yt(s):l,R||s===u.value||(u.value=s),u.defaultValue=s}d=d??m,d=typeof d!="function"&&typeof d!="symbol"&&!!d,u.checked=R?u.checked:!!d,u.defaultChecked=!!d,w!=null&&typeof w!="function"&&typeof w!="symbol"&&typeof w!="boolean"&&(u.name=w)}function wu(u,s,l){s==="number"&&Ur(u.ownerDocument)===u||u.defaultValue===""+l||(u.defaultValue=""+l)}function Wn(u,s,l,d){if(u=u.options,s){s={};for(var m=0;m<l.length;m++)s["$"+l[m]]=!0;for(l=0;l<u.length;l++)m=s.hasOwnProperty("$"+u[l].value),u[l].selected!==m&&(u[l].selected=m),m&&d&&(u[l].defaultSelected=!0)}else{for(l=""+Yt(l),s=null,m=0;m<u.length;m++){if(u[m].value===l){u[m].selected=!0,d&&(u[m].defaultSelected=!0);return}s!==null||u[m].disabled||(s=u[m])}s!==null&&(s.selected=!0)}}function zr(u,s,l){if(s!=null&&(s=""+Yt(s),s!==u.value&&(u.value=s),l==null)){u.defaultValue!==s&&(u.defaultValue=s);return}u.defaultValue=l!=null?""+Yt(l):""}function Hr(u,s,l,d){if(s==null){if(d!=null){if(l!=null)throw Error(i(92));if(X(d)){if(1<d.length)throw Error(i(93));d=d[0]}l=d}l==null&&(l=""),s=l}l=Yt(s),u.defaultValue=l,d=u.textContent,d===l&&d!==""&&d!==null&&(u.value=d)}function Kn(u,s){if(s){var l=u.firstChild;if(l&&l===u.lastChild&&l.nodeType===3){l.nodeValue=s;return}}u.textContent=s}var ms=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Fe(u,s,l){var d=s.indexOf("--")===0;l==null||typeof l=="boolean"||l===""?d?u.setProperty(s,""):s==="float"?u.cssFloat="":u[s]="":d?u.setProperty(s,l):typeof l!="number"||l===0||ms.has(s)?s==="float"?u.cssFloat=l:u[s]=(""+l).trim():u[s]=l+"px"}function vt(u,s,l){if(s!=null&&typeof s!="object")throw Error(i(62));if(u=u.style,l!=null){for(var d in l)!l.hasOwnProperty(d)||s!=null&&s.hasOwnProperty(d)||(d.indexOf("--")===0?u.setProperty(d,""):d==="float"?u.cssFloat="":u[d]="");for(var m in s)d=s[m],s.hasOwnProperty(m)&&l[m]!==d&&Fe(u,m,d)}else for(var b in s)s.hasOwnProperty(b)&&Fe(u,b,s[b])}function zt(u){if(u.indexOf("-")===-1)return!1;switch(u){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var An=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["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"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["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"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["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"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),ho=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Ba(u){return ho.test(""+u)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":u}var $a=null;function ih(u){return u=u.target||u.srcElement||window,u.correspondingUseElement&&(u=u.correspondingUseElement),u.nodeType===3?u.parentNode:u}var gs=null,vs=null;function Sv(u){var s=Yn(u);if(s&&(u=s.stateNode)){var l=u[Jt]||null;e:switch(u=s.stateNode,s.type){case"input":if(lr(u,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),s=l.name,l.type==="radio"&&s!=null){for(l=u;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll('input[name="'+Qt(""+s)+'"][type="radio"]'),s=0;s<l.length;s++){var d=l[s];if(d!==u&&d.form===u.form){var m=d[Jt]||null;if(!m)throw Error(i(90));lr(d,m.value,m.defaultValue,m.defaultValue,m.checked,m.defaultChecked,m.type,m.name)}}for(s=0;s<l.length;s++)d=l[s],d.form===u.form&&hs(d)}break e;case"textarea":zr(u,l.value,l.defaultValue);break e;case"select":s=l.value,s!=null&&Wn(u,!!l.multiple,s,!1)}}}var rh=!1;function _v(u,s,l){if(rh)return u(s,l);rh=!0;try{var d=u(s);return d}finally{if(rh=!1,(gs!==null||vs!==null)&&(Hf(),gs&&(s=gs,u=vs,vs=gs=null,Sv(s),u)))for(s=0;s<u.length;s++)Sv(u[s])}}function Ua(u,s){var l=u.stateNode;if(l===null)return null;var d=l[Jt]||null;if(d===null)return null;l=d[s];e:switch(s){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(d=!d.disabled)||(u=u.type,d=!(u==="button"||u==="input"||u==="select"||u==="textarea")),u=!d;break e;default:u=!1}if(u)return null;if(l&&typeof l!="function")throw Error(i(231,s,typeof l));return l}var qr=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),uh=!1;if(qr)try{var za={};Object.defineProperty(za,"passive",{get:function(){uh=!0}}),window.addEventListener("test",za,za),window.removeEventListener("test",za,za)}catch{uh=!1}var Du=null,oh=null,of=null;function Cv(){if(of)return of;var u,s=oh,l=s.length,d,m="value"in Du?Du.value:Du.textContent,b=m.length;for(u=0;u<l&&s[u]===m[u];u++);var w=l-u;for(d=1;d<=w&&s[l-d]===m[b-d];d++);return of=m.slice(u,1<d?1-d:void 0)}function sf(u){var s=u.keyCode;return"charCode"in u?(u=u.charCode,u===0&&s===13&&(u=13)):u=s,u===10&&(u=13),32<=u||u===13?u:0}function af(){return!0}function Av(){return!1}function Vn(u){function s(l,d,m,b,w){this._reactName=l,this._targetInst=m,this.type=d,this.nativeEvent=b,this.target=w,this.currentTarget=null;for(var R in u)u.hasOwnProperty(R)&&(l=u[R],this[R]=l?l(b):b[R]);return this.isDefaultPrevented=(b.defaultPrevented!=null?b.defaultPrevented:b.returnValue===!1)?af:Av,this.isPropagationStopped=Av,this}return p(s.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=af)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=af)},persist:function(){},isPersistent:af}),s}var po={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(u){return u.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},lf=Vn(po),Ha=p({},po,{view:0,detail:0}),eA=Vn(Ha),sh,ah,qa,cf=p({},Ha,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ch,button:0,buttons:0,relatedTarget:function(u){return u.relatedTarget===void 0?u.fromElement===u.srcElement?u.toElement:u.fromElement:u.relatedTarget},movementX:function(u){return"movementX"in u?u.movementX:(u!==qa&&(qa&&u.type==="mousemove"?(sh=u.screenX-qa.screenX,ah=u.screenY-qa.screenY):ah=sh=0,qa=u),sh)},movementY:function(u){return"movementY"in u?u.movementY:ah}}),wv=Vn(cf),tA=p({},cf,{dataTransfer:0}),nA=Vn(tA),iA=p({},Ha,{relatedTarget:0}),lh=Vn(iA),rA=p({},po,{animationName:0,elapsedTime:0,pseudoElement:0}),uA=Vn(rA),oA=p({},po,{clipboardData:function(u){return"clipboardData"in u?u.clipboardData:window.clipboardData}}),sA=Vn(oA),aA=p({},po,{data:0}),Dv=Vn(aA),lA={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},cA={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},fA={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function dA(u){var s=this.nativeEvent;return s.getModifierState?s.getModifierState(u):(u=fA[u])?!!s[u]:!1}function ch(){return dA}var hA=p({},Ha,{key:function(u){if(u.key){var s=lA[u.key]||u.key;if(s!=="Unidentified")return s}return u.type==="keypress"?(u=sf(u),u===13?"Enter":String.fromCharCode(u)):u.type==="keydown"||u.type==="keyup"?cA[u.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ch,charCode:function(u){return u.type==="keypress"?sf(u):0},keyCode:function(u){return u.type==="keydown"||u.type==="keyup"?u.keyCode:0},which:function(u){return u.type==="keypress"?sf(u):u.type==="keydown"||u.type==="keyup"?u.keyCode:0}}),pA=Vn(hA),mA=p({},cf,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Nv=Vn(mA),gA=p({},Ha,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ch}),vA=Vn(gA),yA=p({},po,{propertyName:0,elapsedTime:0,pseudoElement:0}),bA=Vn(yA),xA=p({},cf,{deltaX:function(u){return"deltaX"in u?u.deltaX:"wheelDeltaX"in u?-u.wheelDeltaX:0},deltaY:function(u){return"deltaY"in u?u.deltaY:"wheelDeltaY"in u?-u.wheelDeltaY:"wheelDelta"in u?-u.wheelDelta:0},deltaZ:0,deltaMode:0}),EA=Vn(xA),TA=p({},po,{newState:0,oldState:0}),SA=Vn(TA),_A=[9,13,27,32],fh=qr&&"CompositionEvent"in window,Ga=null;qr&&"documentMode"in document&&(Ga=document.documentMode);var CA=qr&&"TextEvent"in window&&!Ga,Ov=qr&&(!fh||Ga&&8<Ga&&11>=Ga),Rv=" ",Mv=!1;function kv(u,s){switch(u){case"keyup":return _A.indexOf(s.keyCode)!==-1;case"keydown":return s.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Lv(u){return u=u.detail,typeof u=="object"&&"data"in u?u.data:null}var ys=!1;function AA(u,s){switch(u){case"compositionend":return Lv(s);case"keypress":return s.which!==32?null:(Mv=!0,Rv);case"textInput":return u=s.data,u===Rv&&Mv?null:u;default:return null}}function wA(u,s){if(ys)return u==="compositionend"||!fh&&kv(u,s)?(u=Cv(),of=oh=Du=null,ys=!1,u):null;switch(u){case"paste":return null;case"keypress":if(!(s.ctrlKey||s.altKey||s.metaKey)||s.ctrlKey&&s.altKey){if(s.char&&1<s.char.length)return s.char;if(s.which)return String.fromCharCode(s.which)}return null;case"compositionend":return Ov&&s.locale!=="ko"?null:s.data;default:return null}}var DA={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Iv(u){var s=u&&u.nodeName&&u.nodeName.toLowerCase();return s==="input"?!!DA[u.type]:s==="textarea"}function Fv(u,s,l,d){gs?vs?vs.push(d):vs=[d]:gs=d,s=Zf(s,"onChange"),0<s.length&&(l=new lf("onChange","change",null,l,d),u.push({event:l,listeners:s}))}var Ya=null,Qa=null;function NA(u){g3(u,0)}function ff(u){var s=pi(u);if(hs(s))return u}function jv(u,s){if(u==="change")return s}var Pv=!1;if(qr){var dh;if(qr){var hh="oninput"in document;if(!hh){var Vv=document.createElement("div");Vv.setAttribute("oninput","return;"),hh=typeof Vv.oninput=="function"}dh=hh}else dh=!1;Pv=dh&&(!document.documentMode||9<document.documentMode)}function Bv(){Ya&&(Ya.detachEvent("onpropertychange",$v),Qa=Ya=null)}function $v(u){if(u.propertyName==="value"&&ff(Qa)){var s=[];Fv(s,Qa,u,ih(u)),_v(NA,s)}}function OA(u,s,l){u==="focusin"?(Bv(),Ya=s,Qa=l,Ya.attachEvent("onpropertychange",$v)):u==="focusout"&&Bv()}function RA(u){if(u==="selectionchange"||u==="keyup"||u==="keydown")return ff(Qa)}function MA(u,s){if(u==="click")return ff(s)}function kA(u,s){if(u==="input"||u==="change")return ff(s)}function LA(u,s){return u===s&&(u!==0||1/u===1/s)||u!==u&&s!==s}var Jn=typeof Object.is=="function"?Object.is:LA;function Xa(u,s){if(Jn(u,s))return!0;if(typeof u!="object"||u===null||typeof s!="object"||s===null)return!1;var l=Object.keys(u),d=Object.keys(s);if(l.length!==d.length)return!1;for(d=0;d<l.length;d++){var m=l[d];if(!lt.call(s,m)||!Jn(u[m],s[m]))return!1}return!0}function Uv(u){for(;u&&u.firstChild;)u=u.firstChild;return u}function zv(u,s){var l=Uv(u);u=0;for(var d;l;){if(l.nodeType===3){if(d=u+l.textContent.length,u<=s&&d>=s)return{node:l,offset:s-u};u=d}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=Uv(l)}}function Hv(u,s){return u&&s?u===s?!0:u&&u.nodeType===3?!1:s&&s.nodeType===3?Hv(u,s.parentNode):"contains"in u?u.contains(s):u.compareDocumentPosition?!!(u.compareDocumentPosition(s)&16):!1:!1}function qv(u){u=u!=null&&u.ownerDocument!=null&&u.ownerDocument.defaultView!=null?u.ownerDocument.defaultView:window;for(var s=Ur(u.document);s instanceof u.HTMLIFrameElement;){try{var l=typeof s.contentWindow.location.href=="string"}catch{l=!1}if(l)u=s.contentWindow;else break;s=Ur(u.document)}return s}function ph(u){var s=u&&u.nodeName&&u.nodeName.toLowerCase();return s&&(s==="input"&&(u.type==="text"||u.type==="search"||u.type==="tel"||u.type==="url"||u.type==="password")||s==="textarea"||u.contentEditable==="true")}var IA=qr&&"documentMode"in document&&11>=document.documentMode,bs=null,mh=null,Za=null,gh=!1;function Gv(u,s,l){var d=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;gh||bs==null||bs!==Ur(d)||(d=bs,"selectionStart"in d&&ph(d)?d={start:d.selectionStart,end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset}),Za&&Xa(Za,d)||(Za=d,d=Zf(mh,"onSelect"),0<d.length&&(s=new lf("onSelect","select",null,s,l),u.push({event:s,listeners:d}),s.target=bs)))}function mo(u,s){var l={};return l[u.toLowerCase()]=s.toLowerCase(),l["Webkit"+u]="webkit"+s,l["Moz"+u]="moz"+s,l}var xs={animationend:mo("Animation","AnimationEnd"),animationiteration:mo("Animation","AnimationIteration"),animationstart:mo("Animation","AnimationStart"),transitionrun:mo("Transition","TransitionRun"),transitionstart:mo("Transition","TransitionStart"),transitioncancel:mo("Transition","TransitionCancel"),transitionend:mo("Transition","TransitionEnd")},vh={},Yv={};qr&&(Yv=document.createElement("div").style,"AnimationEvent"in window||(delete xs.animationend.animation,delete xs.animationiteration.animation,delete xs.animationstart.animation),"TransitionEvent"in window||delete xs.transitionend.transition);function go(u){if(vh[u])return vh[u];if(!xs[u])return u;var s=xs[u],l;for(l in s)if(s.hasOwnProperty(l)&&l in Yv)return vh[u]=s[l];return u}var Qv=go("animationend"),Xv=go("animationiteration"),Zv=go("animationstart"),FA=go("transitionrun"),jA=go("transitionstart"),PA=go("transitioncancel"),Wv=go("transitionend"),Kv=new Map,yh="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");yh.push("scrollEnd");function ji(u,s){Kv.set(u,s),Pn(s,[u])}var Jv=new WeakMap;function mi(u,s){if(typeof u=="object"&&u!==null){var l=Jv.get(u);return l!==void 0?l:(s={value:u,source:s,stack:Br(s)},Jv.set(u,s),s)}return{value:u,source:s,stack:Br(s)}}var gi=[],Es=0,bh=0;function df(){for(var u=Es,s=bh=Es=0;s<u;){var l=gi[s];gi[s++]=null;var d=gi[s];gi[s++]=null;var m=gi[s];gi[s++]=null;var b=gi[s];if(gi[s++]=null,d!==null&&m!==null){var w=d.pending;w===null?m.next=m:(m.next=w.next,w.next=m),d.pending=m}b!==0&&ey(l,m,b)}}function hf(u,s,l,d){gi[Es++]=u,gi[Es++]=s,gi[Es++]=l,gi[Es++]=d,bh|=d,u.lanes|=d,u=u.alternate,u!==null&&(u.lanes|=d)}function xh(u,s,l,d){return hf(u,s,l,d),pf(u)}function Ts(u,s){return hf(u,null,null,s),pf(u)}function ey(u,s,l){u.lanes|=l;var d=u.alternate;d!==null&&(d.lanes|=l);for(var m=!1,b=u.return;b!==null;)b.childLanes|=l,d=b.alternate,d!==null&&(d.childLanes|=l),b.tag===22&&(u=b.stateNode,u===null||u._visibility&1||(m=!0)),u=b,b=b.return;return u.tag===3?(b=u.stateNode,m&&s!==null&&(m=31-Ut(l),u=b.hiddenUpdates,d=u[m],d===null?u[m]=[s]:d.push(s),s.lane=l|536870912),b):null}function pf(u){if(50<El)throw El=0,Ap=null,Error(i(185));for(var s=u.return;s!==null;)u=s,s=u.return;return u.tag===3?u.stateNode:null}var Ss={};function VA(u,s,l,d){this.tag=u,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=s,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=d,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ei(u,s,l,d){return new VA(u,s,l,d)}function Eh(u){return u=u.prototype,!(!u||!u.isReactComponent)}function Gr(u,s){var l=u.alternate;return l===null?(l=ei(u.tag,s,u.key,u.mode),l.elementType=u.elementType,l.type=u.type,l.stateNode=u.stateNode,l.alternate=u,u.alternate=l):(l.pendingProps=s,l.type=u.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=u.flags&65011712,l.childLanes=u.childLanes,l.lanes=u.lanes,l.child=u.child,l.memoizedProps=u.memoizedProps,l.memoizedState=u.memoizedState,l.updateQueue=u.updateQueue,s=u.dependencies,l.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext},l.sibling=u.sibling,l.index=u.index,l.ref=u.ref,l.refCleanup=u.refCleanup,l}function ty(u,s){u.flags&=65011714;var l=u.alternate;return l===null?(u.childLanes=0,u.lanes=s,u.child=null,u.subtreeFlags=0,u.memoizedProps=null,u.memoizedState=null,u.updateQueue=null,u.dependencies=null,u.stateNode=null):(u.childLanes=l.childLanes,u.lanes=l.lanes,u.child=l.child,u.subtreeFlags=0,u.deletions=null,u.memoizedProps=l.memoizedProps,u.memoizedState=l.memoizedState,u.updateQueue=l.updateQueue,u.type=l.type,s=l.dependencies,u.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext}),u}function mf(u,s,l,d,m,b){var w=0;if(d=u,typeof u=="function")Eh(u)&&(w=1);else if(typeof u=="string")w=$7(u,l,Y.current)?26:u==="html"||u==="head"||u==="body"?27:5;else e:switch(u){case L:return u=ei(31,l,s,m),u.elementType=L,u.lanes=b,u;case E:return vo(l.children,m,b,s);case T:w=8,m|=24;break;case S:return u=ei(12,l,s,m|2),u.elementType=S,u.lanes=b,u;case O:return u=ei(13,l,s,m),u.elementType=O,u.lanes=b,u;case k:return u=ei(19,l,s,m),u.elementType=k,u.lanes=b,u;default:if(typeof u=="object"&&u!==null)switch(u.$$typeof){case A:case C:w=10;break e;case D:w=9;break e;case N:w=11;break e;case I:w=14;break e;case P:w=16,d=null;break e}w=29,l=Error(i(130,u===null?"null":typeof u,"")),d=null}return s=ei(w,l,s,m),s.elementType=u,s.type=d,s.lanes=b,s}function vo(u,s,l,d){return u=ei(7,u,d,s),u.lanes=l,u}function Th(u,s,l){return u=ei(6,u,null,s),u.lanes=l,u}function Sh(u,s,l){return s=ei(4,u.children!==null?u.children:[],u.key,s),s.lanes=l,s.stateNode={containerInfo:u.containerInfo,pendingChildren:null,implementation:u.implementation},s}var _s=[],Cs=0,gf=null,vf=0,vi=[],yi=0,yo=null,Yr=1,Qr="";function bo(u,s){_s[Cs++]=vf,_s[Cs++]=gf,gf=u,vf=s}function ny(u,s,l){vi[yi++]=Yr,vi[yi++]=Qr,vi[yi++]=yo,yo=u;var d=Yr;u=Qr;var m=32-Ut(d)-1;d&=~(1<<m),l+=1;var b=32-Ut(s)+m;if(30<b){var w=m-m%5;b=(d&(1<<w)-1).toString(32),d>>=w,m-=w,Yr=1<<32-Ut(s)+m|l<<m|d,Qr=b+u}else Yr=1<<b|l<<m|d,Qr=u}function _h(u){u.return!==null&&(bo(u,1),ny(u,1,0))}function Ch(u){for(;u===gf;)gf=_s[--Cs],_s[Cs]=null,vf=_s[--Cs],_s[Cs]=null;for(;u===yo;)yo=vi[--yi],vi[yi]=null,Qr=vi[--yi],vi[yi]=null,Yr=vi[--yi],vi[yi]=null}var wn=null,Dt=null,Ke=!1,xo=null,cr=!1,Ah=Error(i(519));function Eo(u){var s=Error(i(418,""));throw Ja(mi(s,u)),Ah}function iy(u){var s=u.stateNode,l=u.type,d=u.memoizedProps;switch(s[_t]=u,s[Jt]=d,l){case"dialog":Pe("cancel",s),Pe("close",s);break;case"iframe":case"object":case"embed":Pe("load",s);break;case"video":case"audio":for(l=0;l<Sl.length;l++)Pe(Sl[l],s);break;case"source":Pe("error",s);break;case"img":case"image":case"link":Pe("error",s),Pe("load",s);break;case"details":Pe("toggle",s);break;case"input":Pe("invalid",s),ps(s,d.value,d.defaultValue,d.checked,d.defaultChecked,d.type,d.name,!0),Fi(s);break;case"select":Pe("invalid",s);break;case"textarea":Pe("invalid",s),Hr(s,d.value,d.defaultValue,d.children),Fi(s)}l=d.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||s.textContent===""+l||d.suppressHydrationWarning===!0||x3(s.textContent,l)?(d.popover!=null&&(Pe("beforetoggle",s),Pe("toggle",s)),d.onScroll!=null&&Pe("scroll",s),d.onScrollEnd!=null&&Pe("scrollend",s),d.onClick!=null&&(s.onclick=Wf),s=!0):s=!1,s||Eo(u)}function ry(u){for(wn=u.return;wn;)switch(wn.tag){case 5:case 13:cr=!1;return;case 27:case 3:cr=!0;return;default:wn=wn.return}}function Wa(u){if(u!==wn)return!1;if(!Ke)return ry(u),Ke=!0,!1;var s=u.tag,l;if((l=s!==3&&s!==27)&&((l=s===5)&&(l=u.type,l=!(l!=="form"&&l!=="button")||Up(u.type,u.memoizedProps)),l=!l),l&&Dt&&Eo(u),ry(u),s===13){if(u=u.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(i(317));e:{for(u=u.nextSibling,s=0;u;){if(u.nodeType===8)if(l=u.data,l==="/$"){if(s===0){Dt=Vi(u.nextSibling);break e}s--}else l!=="$"&&l!=="$!"&&l!=="$?"||s++;u=u.nextSibling}Dt=null}}else s===27?(s=Dt,Hu(u.type)?(u=Gp,Gp=null,Dt=u):Dt=s):Dt=wn?Vi(u.stateNode.nextSibling):null;return!0}function Ka(){Dt=wn=null,Ke=!1}function uy(){var u=xo;return u!==null&&(Un===null?Un=u:Un.push.apply(Un,u),xo=null),u}function Ja(u){xo===null?xo=[u]:xo.push(u)}var wh=q(null),To=null,Xr=null;function Nu(u,s,l){ne(wh,s._currentValue),s._currentValue=l}function Zr(u){u._currentValue=wh.current,ie(wh)}function Dh(u,s,l){for(;u!==null;){var d=u.alternate;if((u.childLanes&s)!==s?(u.childLanes|=s,d!==null&&(d.childLanes|=s)):d!==null&&(d.childLanes&s)!==s&&(d.childLanes|=s),u===l)break;u=u.return}}function Nh(u,s,l,d){var m=u.child;for(m!==null&&(m.return=u);m!==null;){var b=m.dependencies;if(b!==null){var w=m.child;b=b.firstContext;e:for(;b!==null;){var R=b;b=m;for(var j=0;j<s.length;j++)if(R.context===s[j]){b.lanes|=l,R=b.alternate,R!==null&&(R.lanes|=l),Dh(b.return,l,u),d||(w=null);break e}b=R.next}}else if(m.tag===18){if(w=m.return,w===null)throw Error(i(341));w.lanes|=l,b=w.alternate,b!==null&&(b.lanes|=l),Dh(w,l,u),w=null}else w=m.child;if(w!==null)w.return=m;else for(w=m;w!==null;){if(w===u){w=null;break}if(m=w.sibling,m!==null){m.return=w.return,w=m;break}w=w.return}m=w}}function el(u,s,l,d){u=null;for(var m=s,b=!1;m!==null;){if(!b){if((m.flags&524288)!==0)b=!0;else if((m.flags&262144)!==0)break}if(m.tag===10){var w=m.alternate;if(w===null)throw Error(i(387));if(w=w.memoizedProps,w!==null){var R=m.type;Jn(m.pendingProps.value,w.value)||(u!==null?u.push(R):u=[R])}}else if(m===le.current){if(w=m.alternate,w===null)throw Error(i(387));w.memoizedState.memoizedState!==m.memoizedState.memoizedState&&(u!==null?u.push(Nl):u=[Nl])}m=m.return}u!==null&&Nh(s,u,l,d),s.flags|=262144}function yf(u){for(u=u.firstContext;u!==null;){if(!Jn(u.context._currentValue,u.memoizedValue))return!0;u=u.next}return!1}function So(u){To=u,Xr=null,u=u.dependencies,u!==null&&(u.firstContext=null)}function En(u){return oy(To,u)}function bf(u,s){return To===null&&So(u),oy(u,s)}function oy(u,s){var l=s._currentValue;if(s={context:s,memoizedValue:l,next:null},Xr===null){if(u===null)throw Error(i(308));Xr=s,u.dependencies={lanes:0,firstContext:s},u.flags|=524288}else Xr=Xr.next=s;return l}var BA=typeof AbortController<"u"?AbortController:function(){var u=[],s=this.signal={aborted:!1,addEventListener:function(l,d){u.push(d)}};this.abort=function(){s.aborted=!0,u.forEach(function(l){return l()})}},$A=e.unstable_scheduleCallback,UA=e.unstable_NormalPriority,Xt={$$typeof:C,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Oh(){return{controller:new BA,data:new Map,refCount:0}}function tl(u){u.refCount--,u.refCount===0&&$A(UA,function(){u.controller.abort()})}var nl=null,Rh=0,As=0,ws=null;function zA(u,s){if(nl===null){var l=nl=[];Rh=0,As=kp(),ws={status:"pending",value:void 0,then:function(d){l.push(d)}}}return Rh++,s.then(sy,sy),s}function sy(){if(--Rh===0&&nl!==null){ws!==null&&(ws.status="fulfilled");var u=nl;nl=null,As=0,ws=null;for(var s=0;s<u.length;s++)(0,u[s])()}}function HA(u,s){var l=[],d={status:"pending",value:null,reason:null,then:function(m){l.push(m)}};return u.then(function(){d.status="fulfilled",d.value=s;for(var m=0;m<l.length;m++)(0,l[m])(s)},function(m){for(d.status="rejected",d.reason=m,m=0;m<l.length;m++)(0,l[m])(void 0)}),d}var ay=F.S;F.S=function(u,s){typeof s=="object"&&s!==null&&typeof s.then=="function"&&zA(u,s),ay!==null&&ay(u,s)};var _o=q(null);function Mh(){var u=_o.current;return u!==null?u:pt.pooledCache}function xf(u,s){s===null?ne(_o,_o.current):ne(_o,s.pool)}function ly(){var u=Mh();return u===null?null:{parent:Xt._currentValue,pool:u}}var il=Error(i(460)),cy=Error(i(474)),Ef=Error(i(542)),kh={then:function(){}};function fy(u){return u=u.status,u==="fulfilled"||u==="rejected"}function Tf(){}function dy(u,s,l){switch(l=u[l],l===void 0?u.push(s):l!==s&&(s.then(Tf,Tf),s=l),s.status){case"fulfilled":return s.value;case"rejected":throw u=s.reason,py(u),u;default:if(typeof s.status=="string")s.then(Tf,Tf);else{if(u=pt,u!==null&&100<u.shellSuspendCounter)throw Error(i(482));u=s,u.status="pending",u.then(function(d){if(s.status==="pending"){var m=s;m.status="fulfilled",m.value=d}},function(d){if(s.status==="pending"){var m=s;m.status="rejected",m.reason=d}})}switch(s.status){case"fulfilled":return s.value;case"rejected":throw u=s.reason,py(u),u}throw rl=s,il}}var rl=null;function hy(){if(rl===null)throw Error(i(459));var u=rl;return rl=null,u}function py(u){if(u===il||u===Ef)throw Error(i(483))}var Ou=!1;function Lh(u){u.updateQueue={baseState:u.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ih(u,s){u=u.updateQueue,s.updateQueue===u&&(s.updateQueue={baseState:u.baseState,firstBaseUpdate:u.firstBaseUpdate,lastBaseUpdate:u.lastBaseUpdate,shared:u.shared,callbacks:null})}function Ru(u){return{lane:u,tag:0,payload:null,callback:null,next:null}}function Mu(u,s,l){var d=u.updateQueue;if(d===null)return null;if(d=d.shared,(it&2)!==0){var m=d.pending;return m===null?s.next=s:(s.next=m.next,m.next=s),d.pending=s,s=pf(u),ey(u,null,l),s}return hf(u,d,s,l),pf(u)}function ul(u,s,l){if(s=s.updateQueue,s!==null&&(s=s.shared,(l&4194048)!==0)){var d=s.lanes;d&=u.pendingLanes,l|=d,s.lanes=l,uf(u,l)}}function Fh(u,s){var l=u.updateQueue,d=u.alternate;if(d!==null&&(d=d.updateQueue,l===d)){var m=null,b=null;if(l=l.firstBaseUpdate,l!==null){do{var w={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};b===null?m=b=w:b=b.next=w,l=l.next}while(l!==null);b===null?m=b=s:b=b.next=s}else m=b=s;l={baseState:d.baseState,firstBaseUpdate:m,lastBaseUpdate:b,shared:d.shared,callbacks:d.callbacks},u.updateQueue=l;return}u=l.lastBaseUpdate,u===null?l.firstBaseUpdate=s:u.next=s,l.lastBaseUpdate=s}var jh=!1;function ol(){if(jh){var u=ws;if(u!==null)throw u}}function sl(u,s,l,d){jh=!1;var m=u.updateQueue;Ou=!1;var b=m.firstBaseUpdate,w=m.lastBaseUpdate,R=m.shared.pending;if(R!==null){m.shared.pending=null;var j=R,Z=j.next;j.next=null,w===null?b=Z:w.next=Z,w=j;var se=u.alternate;se!==null&&(se=se.updateQueue,R=se.lastBaseUpdate,R!==w&&(R===null?se.firstBaseUpdate=Z:R.next=Z,se.lastBaseUpdate=j))}if(b!==null){var de=m.baseState;w=0,se=Z=j=null,R=b;do{var J=R.lane&-536870913,ee=J!==R.lane;if(ee?(Ge&J)===J:(d&J)===J){J!==0&&J===As&&(jh=!0),se!==null&&(se=se.next={lane:0,tag:R.tag,payload:R.payload,callback:null,next:null});e:{var Ae=u,_e=R;J=s;var at=l;switch(_e.tag){case 1:if(Ae=_e.payload,typeof Ae=="function"){de=Ae.call(at,de,J);break e}de=Ae;break e;case 3:Ae.flags=Ae.flags&-65537|128;case 0:if(Ae=_e.payload,J=typeof Ae=="function"?Ae.call(at,de,J):Ae,J==null)break e;de=p({},de,J);break e;case 2:Ou=!0}}J=R.callback,J!==null&&(u.flags|=64,ee&&(u.flags|=8192),ee=m.callbacks,ee===null?m.callbacks=[J]:ee.push(J))}else ee={lane:J,tag:R.tag,payload:R.payload,callback:R.callback,next:null},se===null?(Z=se=ee,j=de):se=se.next=ee,w|=J;if(R=R.next,R===null){if(R=m.shared.pending,R===null)break;ee=R,R=ee.next,ee.next=null,m.lastBaseUpdate=ee,m.shared.pending=null}}while(!0);se===null&&(j=de),m.baseState=j,m.firstBaseUpdate=Z,m.lastBaseUpdate=se,b===null&&(m.shared.lanes=0),Bu|=w,u.lanes=w,u.memoizedState=de}}function my(u,s){if(typeof u!="function")throw Error(i(191,u));u.call(s)}function gy(u,s){var l=u.callbacks;if(l!==null)for(u.callbacks=null,u=0;u<l.length;u++)my(l[u],s)}var Ds=q(null),Sf=q(0);function vy(u,s){u=iu,ne(Sf,u),ne(Ds,s),iu=u|s.baseLanes}function Ph(){ne(Sf,iu),ne(Ds,Ds.current)}function Vh(){iu=Sf.current,ie(Ds),ie(Sf)}var ku=0,Le=null,ot=null,Ht=null,_f=!1,Ns=!1,Co=!1,Cf=0,al=0,Os=null,qA=0;function Lt(){throw Error(i(321))}function Bh(u,s){if(s===null)return!1;for(var l=0;l<s.length&&l<u.length;l++)if(!Jn(u[l],s[l]))return!1;return!0}function $h(u,s,l,d,m,b){return ku=b,Le=s,s.memoizedState=null,s.updateQueue=null,s.lanes=0,F.H=u===null||u.memoizedState===null?eb:tb,Co=!1,b=l(d,m),Co=!1,Ns&&(b=by(s,l,d,m)),yy(u),b}function yy(u){F.H=Rf;var s=ot!==null&&ot.next!==null;if(ku=0,Ht=ot=Le=null,_f=!1,al=0,Os=null,s)throw Error(i(300));u===null||en||(u=u.dependencies,u!==null&&yf(u)&&(en=!0))}function by(u,s,l,d){Le=u;var m=0;do{if(Ns&&(Os=null),al=0,Ns=!1,25<=m)throw Error(i(301));if(m+=1,Ht=ot=null,u.updateQueue!=null){var b=u.updateQueue;b.lastEffect=null,b.events=null,b.stores=null,b.memoCache!=null&&(b.memoCache.index=0)}F.H=KA,b=s(l,d)}while(Ns);return b}function GA(){var u=F.H,s=u.useState()[0];return s=typeof s.then=="function"?ll(s):s,u=u.useState()[0],(ot!==null?ot.memoizedState:null)!==u&&(Le.flags|=1024),s}function Uh(){var u=Cf!==0;return Cf=0,u}function zh(u,s,l){s.updateQueue=u.updateQueue,s.flags&=-2053,u.lanes&=~l}function Hh(u){if(_f){for(u=u.memoizedState;u!==null;){var s=u.queue;s!==null&&(s.pending=null),u=u.next}_f=!1}ku=0,Ht=ot=Le=null,Ns=!1,al=Cf=0,Os=null}function Bn(){var u={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ht===null?Le.memoizedState=Ht=u:Ht=Ht.next=u,Ht}function qt(){if(ot===null){var u=Le.alternate;u=u!==null?u.memoizedState:null}else u=ot.next;var s=Ht===null?Le.memoizedState:Ht.next;if(s!==null)Ht=s,ot=u;else{if(u===null)throw Le.alternate===null?Error(i(467)):Error(i(310));ot=u,u={memoizedState:ot.memoizedState,baseState:ot.baseState,baseQueue:ot.baseQueue,queue:ot.queue,next:null},Ht===null?Le.memoizedState=Ht=u:Ht=Ht.next=u}return Ht}function qh(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function ll(u){var s=al;return al+=1,Os===null&&(Os=[]),u=dy(Os,u,s),s=Le,(Ht===null?s.memoizedState:Ht.next)===null&&(s=s.alternate,F.H=s===null||s.memoizedState===null?eb:tb),u}function Af(u){if(u!==null&&typeof u=="object"){if(typeof u.then=="function")return ll(u);if(u.$$typeof===C)return En(u)}throw Error(i(438,String(u)))}function Gh(u){var s=null,l=Le.updateQueue;if(l!==null&&(s=l.memoCache),s==null){var d=Le.alternate;d!==null&&(d=d.updateQueue,d!==null&&(d=d.memoCache,d!=null&&(s={data:d.data.map(function(m){return m.slice()}),index:0})))}if(s==null&&(s={data:[],index:0}),l===null&&(l=qh(),Le.updateQueue=l),l.memoCache=s,l=s.data[s.index],l===void 0)for(l=s.data[s.index]=Array(u),d=0;d<u;d++)l[d]=B;return s.index++,l}function Wr(u,s){return typeof s=="function"?s(u):s}function wf(u){var s=qt();return Yh(s,ot,u)}function Yh(u,s,l){var d=u.queue;if(d===null)throw Error(i(311));d.lastRenderedReducer=l;var m=u.baseQueue,b=d.pending;if(b!==null){if(m!==null){var w=m.next;m.next=b.next,b.next=w}s.baseQueue=m=b,d.pending=null}if(b=u.baseState,m===null)u.memoizedState=b;else{s=m.next;var R=w=null,j=null,Z=s,se=!1;do{var de=Z.lane&-536870913;if(de!==Z.lane?(Ge&de)===de:(ku&de)===de){var J=Z.revertLane;if(J===0)j!==null&&(j=j.next={lane:0,revertLane:0,action:Z.action,hasEagerState:Z.hasEagerState,eagerState:Z.eagerState,next:null}),de===As&&(se=!0);else if((ku&J)===J){Z=Z.next,J===As&&(se=!0);continue}else de={lane:0,revertLane:Z.revertLane,action:Z.action,hasEagerState:Z.hasEagerState,eagerState:Z.eagerState,next:null},j===null?(R=j=de,w=b):j=j.next=de,Le.lanes|=J,Bu|=J;de=Z.action,Co&&l(b,de),b=Z.hasEagerState?Z.eagerState:l(b,de)}else J={lane:de,revertLane:Z.revertLane,action:Z.action,hasEagerState:Z.hasEagerState,eagerState:Z.eagerState,next:null},j===null?(R=j=J,w=b):j=j.next=J,Le.lanes|=de,Bu|=de;Z=Z.next}while(Z!==null&&Z!==s);if(j===null?w=b:j.next=R,!Jn(b,u.memoizedState)&&(en=!0,se&&(l=ws,l!==null)))throw l;u.memoizedState=b,u.baseState=w,u.baseQueue=j,d.lastRenderedState=b}return m===null&&(d.lanes=0),[u.memoizedState,d.dispatch]}function Qh(u){var s=qt(),l=s.queue;if(l===null)throw Error(i(311));l.lastRenderedReducer=u;var d=l.dispatch,m=l.pending,b=s.memoizedState;if(m!==null){l.pending=null;var w=m=m.next;do b=u(b,w.action),w=w.next;while(w!==m);Jn(b,s.memoizedState)||(en=!0),s.memoizedState=b,s.baseQueue===null&&(s.baseState=b),l.lastRenderedState=b}return[b,d]}function xy(u,s,l){var d=Le,m=qt(),b=Ke;if(b){if(l===void 0)throw Error(i(407));l=l()}else l=s();var w=!Jn((ot||m).memoizedState,l);w&&(m.memoizedState=l,en=!0),m=m.queue;var R=Sy.bind(null,d,m,u);if(cl(2048,8,R,[u]),m.getSnapshot!==s||w||Ht!==null&&Ht.memoizedState.tag&1){if(d.flags|=2048,Rs(9,Df(),Ty.bind(null,d,m,l,s),null),pt===null)throw Error(i(349));b||(ku&124)!==0||Ey(d,s,l)}return l}function Ey(u,s,l){u.flags|=16384,u={getSnapshot:s,value:l},s=Le.updateQueue,s===null?(s=qh(),Le.updateQueue=s,s.stores=[u]):(l=s.stores,l===null?s.stores=[u]:l.push(u))}function Ty(u,s,l,d){s.value=l,s.getSnapshot=d,_y(s)&&Cy(u)}function Sy(u,s,l){return l(function(){_y(s)&&Cy(u)})}function _y(u){var s=u.getSnapshot;u=u.value;try{var l=s();return!Jn(u,l)}catch{return!0}}function Cy(u){var s=Ts(u,2);s!==null&&ui(s,u,2)}function Xh(u){var s=Bn();if(typeof u=="function"){var l=u;if(u=l(),Co){Fn(!0);try{l()}finally{Fn(!1)}}}return s.memoizedState=s.baseState=u,s.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Wr,lastRenderedState:u},s}function Ay(u,s,l,d){return u.baseState=l,Yh(u,ot,typeof d=="function"?d:Wr)}function YA(u,s,l,d,m){if(Of(u))throw Error(i(485));if(u=s.action,u!==null){var b={payload:m,action:u,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(w){b.listeners.push(w)}};F.T!==null?l(!0):b.isTransition=!1,d(b),l=s.pending,l===null?(b.next=s.pending=b,wy(s,b)):(b.next=l.next,s.pending=l.next=b)}}function wy(u,s){var l=s.action,d=s.payload,m=u.state;if(s.isTransition){var b=F.T,w={};F.T=w;try{var R=l(m,d),j=F.S;j!==null&&j(w,R),Dy(u,s,R)}catch(Z){Zh(u,s,Z)}finally{F.T=b}}else try{b=l(m,d),Dy(u,s,b)}catch(Z){Zh(u,s,Z)}}function Dy(u,s,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(d){Ny(u,s,d)},function(d){return Zh(u,s,d)}):Ny(u,s,l)}function Ny(u,s,l){s.status="fulfilled",s.value=l,Oy(s),u.state=l,s=u.pending,s!==null&&(l=s.next,l===s?u.pending=null:(l=l.next,s.next=l,wy(u,l)))}function Zh(u,s,l){var d=u.pending;if(u.pending=null,d!==null){d=d.next;do s.status="rejected",s.reason=l,Oy(s),s=s.next;while(s!==d)}u.action=null}function Oy(u){u=u.listeners;for(var s=0;s<u.length;s++)(0,u[s])()}function Ry(u,s){return s}function My(u,s){if(Ke){var l=pt.formState;if(l!==null){e:{var d=Le;if(Ke){if(Dt){t:{for(var m=Dt,b=cr;m.nodeType!==8;){if(!b){m=null;break t}if(m=Vi(m.nextSibling),m===null){m=null;break t}}b=m.data,m=b==="F!"||b==="F"?m:null}if(m){Dt=Vi(m.nextSibling),d=m.data==="F!";break e}}Eo(d)}d=!1}d&&(s=l[0])}}return l=Bn(),l.memoizedState=l.baseState=s,d={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ry,lastRenderedState:s},l.queue=d,l=Wy.bind(null,Le,d),d.dispatch=l,d=Xh(!1),b=tp.bind(null,Le,!1,d.queue),d=Bn(),m={state:s,dispatch:null,action:u,pending:null},d.queue=m,l=YA.bind(null,Le,m,b,l),m.dispatch=l,d.memoizedState=u,[s,l,!1]}function ky(u){var s=qt();return Ly(s,ot,u)}function Ly(u,s,l){if(s=Yh(u,s,Ry)[0],u=wf(Wr)[0],typeof s=="object"&&s!==null&&typeof s.then=="function")try{var d=ll(s)}catch(w){throw w===il?Ef:w}else d=s;s=qt();var m=s.queue,b=m.dispatch;return l!==s.memoizedState&&(Le.flags|=2048,Rs(9,Df(),QA.bind(null,m,l),null)),[d,b,u]}function QA(u,s){u.action=s}function Iy(u){var s=qt(),l=ot;if(l!==null)return Ly(s,l,u);qt(),s=s.memoizedState,l=qt();var d=l.queue.dispatch;return l.memoizedState=u,[s,d,!1]}function Rs(u,s,l,d){return u={tag:u,create:l,deps:d,inst:s,next:null},s=Le.updateQueue,s===null&&(s=qh(),Le.updateQueue=s),l=s.lastEffect,l===null?s.lastEffect=u.next=u:(d=l.next,l.next=u,u.next=d,s.lastEffect=u),u}function Df(){return{destroy:void 0,resource:void 0}}function Fy(){return qt().memoizedState}function Nf(u,s,l,d){var m=Bn();d=d===void 0?null:d,Le.flags|=u,m.memoizedState=Rs(1|s,Df(),l,d)}function cl(u,s,l,d){var m=qt();d=d===void 0?null:d;var b=m.memoizedState.inst;ot!==null&&d!==null&&Bh(d,ot.memoizedState.deps)?m.memoizedState=Rs(s,b,l,d):(Le.flags|=u,m.memoizedState=Rs(1|s,b,l,d))}function jy(u,s){Nf(8390656,8,u,s)}function Py(u,s){cl(2048,8,u,s)}function Vy(u,s){return cl(4,2,u,s)}function By(u,s){return cl(4,4,u,s)}function $y(u,s){if(typeof s=="function"){u=u();var l=s(u);return function(){typeof l=="function"?l():s(null)}}if(s!=null)return u=u(),s.current=u,function(){s.current=null}}function Uy(u,s,l){l=l!=null?l.concat([u]):null,cl(4,4,$y.bind(null,s,u),l)}function Wh(){}function zy(u,s){var l=qt();s=s===void 0?null:s;var d=l.memoizedState;return s!==null&&Bh(s,d[1])?d[0]:(l.memoizedState=[u,s],u)}function Hy(u,s){var l=qt();s=s===void 0?null:s;var d=l.memoizedState;if(s!==null&&Bh(s,d[1]))return d[0];if(d=u(),Co){Fn(!0);try{u()}finally{Fn(!1)}}return l.memoizedState=[d,s],d}function Kh(u,s,l){return l===void 0||(ku&1073741824)!==0?u.memoizedState=s:(u.memoizedState=l,u=Yb(),Le.lanes|=u,Bu|=u,l)}function qy(u,s,l,d){return Jn(l,s)?l:Ds.current!==null?(u=Kh(u,l,d),Jn(u,s)||(en=!0),u):(ku&42)===0?(en=!0,u.memoizedState=l):(u=Yb(),Le.lanes|=u,Bu|=u,s)}function Gy(u,s,l,d,m){var b=H.p;H.p=b!==0&&8>b?b:8;var w=F.T,R={};F.T=R,tp(u,!1,s,l);try{var j=m(),Z=F.S;if(Z!==null&&Z(R,j),j!==null&&typeof j=="object"&&typeof j.then=="function"){var se=HA(j,d);fl(u,s,se,ri(u))}else fl(u,s,d,ri(u))}catch(de){fl(u,s,{then:function(){},status:"rejected",reason:de},ri())}finally{H.p=b,F.T=w}}function XA(){}function Jh(u,s,l,d){if(u.tag!==5)throw Error(i(476));var m=Yy(u).queue;Gy(u,m,s,$,l===null?XA:function(){return Qy(u),l(d)})}function Yy(u){var s=u.memoizedState;if(s!==null)return s;s={memoizedState:$,baseState:$,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Wr,lastRenderedState:$},next:null};var l={};return s.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Wr,lastRenderedState:l},next:null},u.memoizedState=s,u=u.alternate,u!==null&&(u.memoizedState=s),s}function Qy(u){var s=Yy(u).next.queue;fl(u,s,{},ri())}function ep(){return En(Nl)}function Xy(){return qt().memoizedState}function Zy(){return qt().memoizedState}function ZA(u){for(var s=u.return;s!==null;){switch(s.tag){case 24:case 3:var l=ri();u=Ru(l);var d=Mu(s,u,l);d!==null&&(ui(d,s,l),ul(d,s,l)),s={cache:Oh()},u.payload=s;return}s=s.return}}function WA(u,s,l){var d=ri();l={lane:d,revertLane:0,action:l,hasEagerState:!1,eagerState:null,next:null},Of(u)?Ky(s,l):(l=xh(u,s,l,d),l!==null&&(ui(l,u,d),Jy(l,s,d)))}function Wy(u,s,l){var d=ri();fl(u,s,l,d)}function fl(u,s,l,d){var m={lane:d,revertLane:0,action:l,hasEagerState:!1,eagerState:null,next:null};if(Of(u))Ky(s,m);else{var b=u.alternate;if(u.lanes===0&&(b===null||b.lanes===0)&&(b=s.lastRenderedReducer,b!==null))try{var w=s.lastRenderedState,R=b(w,l);if(m.hasEagerState=!0,m.eagerState=R,Jn(R,w))return hf(u,s,m,0),pt===null&&df(),!1}catch{}finally{}if(l=xh(u,s,m,d),l!==null)return ui(l,u,d),Jy(l,s,d),!0}return!1}function tp(u,s,l,d){if(d={lane:2,revertLane:kp(),action:d,hasEagerState:!1,eagerState:null,next:null},Of(u)){if(s)throw Error(i(479))}else s=xh(u,l,d,2),s!==null&&ui(s,u,2)}function Of(u){var s=u.alternate;return u===Le||s!==null&&s===Le}function Ky(u,s){Ns=_f=!0;var l=u.pending;l===null?s.next=s:(s.next=l.next,l.next=s),u.pending=s}function Jy(u,s,l){if((l&4194048)!==0){var d=s.lanes;d&=u.pendingLanes,l|=d,s.lanes=l,uf(u,l)}}var Rf={readContext:En,use:Af,useCallback:Lt,useContext:Lt,useEffect:Lt,useImperativeHandle:Lt,useLayoutEffect:Lt,useInsertionEffect:Lt,useMemo:Lt,useReducer:Lt,useRef:Lt,useState:Lt,useDebugValue:Lt,useDeferredValue:Lt,useTransition:Lt,useSyncExternalStore:Lt,useId:Lt,useHostTransitionStatus:Lt,useFormState:Lt,useActionState:Lt,useOptimistic:Lt,useMemoCache:Lt,useCacheRefresh:Lt},eb={readContext:En,use:Af,useCallback:function(u,s){return Bn().memoizedState=[u,s===void 0?null:s],u},useContext:En,useEffect:jy,useImperativeHandle:function(u,s,l){l=l!=null?l.concat([u]):null,Nf(4194308,4,$y.bind(null,s,u),l)},useLayoutEffect:function(u,s){return Nf(4194308,4,u,s)},useInsertionEffect:function(u,s){Nf(4,2,u,s)},useMemo:function(u,s){var l=Bn();s=s===void 0?null:s;var d=u();if(Co){Fn(!0);try{u()}finally{Fn(!1)}}return l.memoizedState=[d,s],d},useReducer:function(u,s,l){var d=Bn();if(l!==void 0){var m=l(s);if(Co){Fn(!0);try{l(s)}finally{Fn(!1)}}}else m=s;return d.memoizedState=d.baseState=m,u={pending:null,lanes:0,dispatch:null,lastRenderedReducer:u,lastRenderedState:m},d.queue=u,u=u.dispatch=WA.bind(null,Le,u),[d.memoizedState,u]},useRef:function(u){var s=Bn();return u={current:u},s.memoizedState=u},useState:function(u){u=Xh(u);var s=u.queue,l=Wy.bind(null,Le,s);return s.dispatch=l,[u.memoizedState,l]},useDebugValue:Wh,useDeferredValue:function(u,s){var l=Bn();return Kh(l,u,s)},useTransition:function(){var u=Xh(!1);return u=Gy.bind(null,Le,u.queue,!0,!1),Bn().memoizedState=u,[!1,u]},useSyncExternalStore:function(u,s,l){var d=Le,m=Bn();if(Ke){if(l===void 0)throw Error(i(407));l=l()}else{if(l=s(),pt===null)throw Error(i(349));(Ge&124)!==0||Ey(d,s,l)}m.memoizedState=l;var b={value:l,getSnapshot:s};return m.queue=b,jy(Sy.bind(null,d,b,u),[u]),d.flags|=2048,Rs(9,Df(),Ty.bind(null,d,b,l,s),null),l},useId:function(){var u=Bn(),s=pt.identifierPrefix;if(Ke){var l=Qr,d=Yr;l=(d&~(1<<32-Ut(d)-1)).toString(32)+l,s="«"+s+"R"+l,l=Cf++,0<l&&(s+="H"+l.toString(32)),s+="»"}else l=qA++,s="«"+s+"r"+l.toString(32)+"»";return u.memoizedState=s},useHostTransitionStatus:ep,useFormState:My,useActionState:My,useOptimistic:function(u){var s=Bn();s.memoizedState=s.baseState=u;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return s.queue=l,s=tp.bind(null,Le,!0,l),l.dispatch=s,[u,s]},useMemoCache:Gh,useCacheRefresh:function(){return Bn().memoizedState=ZA.bind(null,Le)}},tb={readContext:En,use:Af,useCallback:zy,useContext:En,useEffect:Py,useImperativeHandle:Uy,useInsertionEffect:Vy,useLayoutEffect:By,useMemo:Hy,useReducer:wf,useRef:Fy,useState:function(){return wf(Wr)},useDebugValue:Wh,useDeferredValue:function(u,s){var l=qt();return qy(l,ot.memoizedState,u,s)},useTransition:function(){var u=wf(Wr)[0],s=qt().memoizedState;return[typeof u=="boolean"?u:ll(u),s]},useSyncExternalStore:xy,useId:Xy,useHostTransitionStatus:ep,useFormState:ky,useActionState:ky,useOptimistic:function(u,s){var l=qt();return Ay(l,ot,u,s)},useMemoCache:Gh,useCacheRefresh:Zy},KA={readContext:En,use:Af,useCallback:zy,useContext:En,useEffect:Py,useImperativeHandle:Uy,useInsertionEffect:Vy,useLayoutEffect:By,useMemo:Hy,useReducer:Qh,useRef:Fy,useState:function(){return Qh(Wr)},useDebugValue:Wh,useDeferredValue:function(u,s){var l=qt();return ot===null?Kh(l,u,s):qy(l,ot.memoizedState,u,s)},useTransition:function(){var u=Qh(Wr)[0],s=qt().memoizedState;return[typeof u=="boolean"?u:ll(u),s]},useSyncExternalStore:xy,useId:Xy,useHostTransitionStatus:ep,useFormState:Iy,useActionState:Iy,useOptimistic:function(u,s){var l=qt();return ot!==null?Ay(l,ot,u,s):(l.baseState=u,[u,l.queue.dispatch])},useMemoCache:Gh,useCacheRefresh:Zy},Ms=null,dl=0;function Mf(u){var s=dl;return dl+=1,Ms===null&&(Ms=[]),dy(Ms,u,s)}function hl(u,s){s=s.props.ref,u.ref=s!==void 0?s:null}function kf(u,s){throw s.$$typeof===g?Error(i(525)):(u=Object.prototype.toString.call(s),Error(i(31,u==="[object Object]"?"object with keys {"+Object.keys(s).join(", ")+"}":u)))}function nb(u){var s=u._init;return s(u._payload)}function ib(u){function s(G,U){if(u){var Q=G.deletions;Q===null?(G.deletions=[U],G.flags|=16):Q.push(U)}}function l(G,U){if(!u)return null;for(;U!==null;)s(G,U),U=U.sibling;return null}function d(G){for(var U=new Map;G!==null;)G.key!==null?U.set(G.key,G):U.set(G.index,G),G=G.sibling;return U}function m(G,U){return G=Gr(G,U),G.index=0,G.sibling=null,G}function b(G,U,Q){return G.index=Q,u?(Q=G.alternate,Q!==null?(Q=Q.index,Q<U?(G.flags|=67108866,U):Q):(G.flags|=67108866,U)):(G.flags|=1048576,U)}function w(G){return u&&G.alternate===null&&(G.flags|=67108866),G}function R(G,U,Q,ae){return U===null||U.tag!==6?(U=Th(Q,G.mode,ae),U.return=G,U):(U=m(U,Q),U.return=G,U)}function j(G,U,Q,ae){var ye=Q.type;return ye===E?se(G,U,Q.props.children,ae,Q.key):U!==null&&(U.elementType===ye||typeof ye=="object"&&ye!==null&&ye.$$typeof===P&&nb(ye)===U.type)?(U=m(U,Q.props),hl(U,Q),U.return=G,U):(U=mf(Q.type,Q.key,Q.props,null,G.mode,ae),hl(U,Q),U.return=G,U)}function Z(G,U,Q,ae){return U===null||U.tag!==4||U.stateNode.containerInfo!==Q.containerInfo||U.stateNode.implementation!==Q.implementation?(U=Sh(Q,G.mode,ae),U.return=G,U):(U=m(U,Q.children||[]),U.return=G,U)}function se(G,U,Q,ae,ye){return U===null||U.tag!==7?(U=vo(Q,G.mode,ae,ye),U.return=G,U):(U=m(U,Q),U.return=G,U)}function de(G,U,Q){if(typeof U=="string"&&U!==""||typeof U=="number"||typeof U=="bigint")return U=Th(""+U,G.mode,Q),U.return=G,U;if(typeof U=="object"&&U!==null){switch(U.$$typeof){case y:return Q=mf(U.type,U.key,U.props,null,G.mode,Q),hl(Q,U),Q.return=G,Q;case v:return U=Sh(U,G.mode,Q),U.return=G,U;case P:var ae=U._init;return U=ae(U._payload),de(G,U,Q)}if(X(U)||te(U))return U=vo(U,G.mode,Q,null),U.return=G,U;if(typeof U.then=="function")return de(G,Mf(U),Q);if(U.$$typeof===C)return de(G,bf(G,U),Q);kf(G,U)}return null}function J(G,U,Q,ae){var ye=U!==null?U.key:null;if(typeof Q=="string"&&Q!==""||typeof Q=="number"||typeof Q=="bigint")return ye!==null?null:R(G,U,""+Q,ae);if(typeof Q=="object"&&Q!==null){switch(Q.$$typeof){case y:return Q.key===ye?j(G,U,Q,ae):null;case v:return Q.key===ye?Z(G,U,Q,ae):null;case P:return ye=Q._init,Q=ye(Q._payload),J(G,U,Q,ae)}if(X(Q)||te(Q))return ye!==null?null:se(G,U,Q,ae,null);if(typeof Q.then=="function")return J(G,U,Mf(Q),ae);if(Q.$$typeof===C)return J(G,U,bf(G,Q),ae);kf(G,Q)}return null}function ee(G,U,Q,ae,ye){if(typeof ae=="string"&&ae!==""||typeof ae=="number"||typeof ae=="bigint")return G=G.get(Q)||null,R(U,G,""+ae,ye);if(typeof ae=="object"&&ae!==null){switch(ae.$$typeof){case y:return G=G.get(ae.key===null?Q:ae.key)||null,j(U,G,ae,ye);case v:return G=G.get(ae.key===null?Q:ae.key)||null,Z(U,G,ae,ye);case P:var Ie=ae._init;return ae=Ie(ae._payload),ee(G,U,Q,ae,ye)}if(X(ae)||te(ae))return G=G.get(Q)||null,se(U,G,ae,ye,null);if(typeof ae.then=="function")return ee(G,U,Q,Mf(ae),ye);if(ae.$$typeof===C)return ee(G,U,Q,bf(U,ae),ye);kf(U,ae)}return null}function Ae(G,U,Q,ae){for(var ye=null,Ie=null,Ee=U,Ce=U=0,nn=null;Ee!==null&&Ce<Q.length;Ce++){Ee.index>Ce?(nn=Ee,Ee=null):nn=Ee.sibling;var Ze=J(G,Ee,Q[Ce],ae);if(Ze===null){Ee===null&&(Ee=nn);break}u&&Ee&&Ze.alternate===null&&s(G,Ee),U=b(Ze,U,Ce),Ie===null?ye=Ze:Ie.sibling=Ze,Ie=Ze,Ee=nn}if(Ce===Q.length)return l(G,Ee),Ke&&bo(G,Ce),ye;if(Ee===null){for(;Ce<Q.length;Ce++)Ee=de(G,Q[Ce],ae),Ee!==null&&(U=b(Ee,U,Ce),Ie===null?ye=Ee:Ie.sibling=Ee,Ie=Ee);return Ke&&bo(G,Ce),ye}for(Ee=d(Ee);Ce<Q.length;Ce++)nn=ee(Ee,G,Ce,Q[Ce],ae),nn!==null&&(u&&nn.alternate!==null&&Ee.delete(nn.key===null?Ce:nn.key),U=b(nn,U,Ce),Ie===null?ye=nn:Ie.sibling=nn,Ie=nn);return u&&Ee.forEach(function(Xu){return s(G,Xu)}),Ke&&bo(G,Ce),ye}function _e(G,U,Q,ae){if(Q==null)throw Error(i(151));for(var ye=null,Ie=null,Ee=U,Ce=U=0,nn=null,Ze=Q.next();Ee!==null&&!Ze.done;Ce++,Ze=Q.next()){Ee.index>Ce?(nn=Ee,Ee=null):nn=Ee.sibling;var Xu=J(G,Ee,Ze.value,ae);if(Xu===null){Ee===null&&(Ee=nn);break}u&&Ee&&Xu.alternate===null&&s(G,Ee),U=b(Xu,U,Ce),Ie===null?ye=Xu:Ie.sibling=Xu,Ie=Xu,Ee=nn}if(Ze.done)return l(G,Ee),Ke&&bo(G,Ce),ye;if(Ee===null){for(;!Ze.done;Ce++,Ze=Q.next())Ze=de(G,Ze.value,ae),Ze!==null&&(U=b(Ze,U,Ce),Ie===null?ye=Ze:Ie.sibling=Ze,Ie=Ze);return Ke&&bo(G,Ce),ye}for(Ee=d(Ee);!Ze.done;Ce++,Ze=Q.next())Ze=ee(Ee,G,Ce,Ze.value,ae),Ze!==null&&(u&&Ze.alternate!==null&&Ee.delete(Ze.key===null?Ce:Ze.key),U=b(Ze,U,Ce),Ie===null?ye=Ze:Ie.sibling=Ze,Ie=Ze);return u&&Ee.forEach(function(J7){return s(G,J7)}),Ke&&bo(G,Ce),ye}function at(G,U,Q,ae){if(typeof Q=="object"&&Q!==null&&Q.type===E&&Q.key===null&&(Q=Q.props.children),typeof Q=="object"&&Q!==null){switch(Q.$$typeof){case y:e:{for(var ye=Q.key;U!==null;){if(U.key===ye){if(ye=Q.type,ye===E){if(U.tag===7){l(G,U.sibling),ae=m(U,Q.props.children),ae.return=G,G=ae;break e}}else if(U.elementType===ye||typeof ye=="object"&&ye!==null&&ye.$$typeof===P&&nb(ye)===U.type){l(G,U.sibling),ae=m(U,Q.props),hl(ae,Q),ae.return=G,G=ae;break e}l(G,U);break}else s(G,U);U=U.sibling}Q.type===E?(ae=vo(Q.props.children,G.mode,ae,Q.key),ae.return=G,G=ae):(ae=mf(Q.type,Q.key,Q.props,null,G.mode,ae),hl(ae,Q),ae.return=G,G=ae)}return w(G);case v:e:{for(ye=Q.key;U!==null;){if(U.key===ye)if(U.tag===4&&U.stateNode.containerInfo===Q.containerInfo&&U.stateNode.implementation===Q.implementation){l(G,U.sibling),ae=m(U,Q.children||[]),ae.return=G,G=ae;break e}else{l(G,U);break}else s(G,U);U=U.sibling}ae=Sh(Q,G.mode,ae),ae.return=G,G=ae}return w(G);case P:return ye=Q._init,Q=ye(Q._payload),at(G,U,Q,ae)}if(X(Q))return Ae(G,U,Q,ae);if(te(Q)){if(ye=te(Q),typeof ye!="function")throw Error(i(150));return Q=ye.call(Q),_e(G,U,Q,ae)}if(typeof Q.then=="function")return at(G,U,Mf(Q),ae);if(Q.$$typeof===C)return at(G,U,bf(G,Q),ae);kf(G,Q)}return typeof Q=="string"&&Q!==""||typeof Q=="number"||typeof Q=="bigint"?(Q=""+Q,U!==null&&U.tag===6?(l(G,U.sibling),ae=m(U,Q),ae.return=G,G=ae):(l(G,U),ae=Th(Q,G.mode,ae),ae.return=G,G=ae),w(G)):l(G,U)}return function(G,U,Q,ae){try{dl=0;var ye=at(G,U,Q,ae);return Ms=null,ye}catch(Ee){if(Ee===il||Ee===Ef)throw Ee;var Ie=ei(29,Ee,null,G.mode);return Ie.lanes=ae,Ie.return=G,Ie}finally{}}}var ks=ib(!0),rb=ib(!1),bi=q(null),fr=null;function Lu(u){var s=u.alternate;ne(Zt,Zt.current&1),ne(bi,u),fr===null&&(s===null||Ds.current!==null||s.memoizedState!==null)&&(fr=u)}function ub(u){if(u.tag===22){if(ne(Zt,Zt.current),ne(bi,u),fr===null){var s=u.alternate;s!==null&&s.memoizedState!==null&&(fr=u)}}else Iu()}function Iu(){ne(Zt,Zt.current),ne(bi,bi.current)}function Kr(u){ie(bi),fr===u&&(fr=null),ie(Zt)}var Zt=q(0);function Lf(u){for(var s=u;s!==null;){if(s.tag===13){var l=s.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||l.data==="$?"||qp(l)))return s}else if(s.tag===19&&s.memoizedProps.revealOrder!==void 0){if((s.flags&128)!==0)return s}else if(s.child!==null){s.child.return=s,s=s.child;continue}if(s===u)break;for(;s.sibling===null;){if(s.return===null||s.return===u)return null;s=s.return}s.sibling.return=s.return,s=s.sibling}return null}function np(u,s,l,d){s=u.memoizedState,l=l(d,s),l=l==null?s:p({},s,l),u.memoizedState=l,u.lanes===0&&(u.updateQueue.baseState=l)}var ip={enqueueSetState:function(u,s,l){u=u._reactInternals;var d=ri(),m=Ru(d);m.payload=s,l!=null&&(m.callback=l),s=Mu(u,m,d),s!==null&&(ui(s,u,d),ul(s,u,d))},enqueueReplaceState:function(u,s,l){u=u._reactInternals;var d=ri(),m=Ru(d);m.tag=1,m.payload=s,l!=null&&(m.callback=l),s=Mu(u,m,d),s!==null&&(ui(s,u,d),ul(s,u,d))},enqueueForceUpdate:function(u,s){u=u._reactInternals;var l=ri(),d=Ru(l);d.tag=2,s!=null&&(d.callback=s),s=Mu(u,d,l),s!==null&&(ui(s,u,l),ul(s,u,l))}};function ob(u,s,l,d,m,b,w){return u=u.stateNode,typeof u.shouldComponentUpdate=="function"?u.shouldComponentUpdate(d,b,w):s.prototype&&s.prototype.isPureReactComponent?!Xa(l,d)||!Xa(m,b):!0}function sb(u,s,l,d){u=s.state,typeof s.componentWillReceiveProps=="function"&&s.componentWillReceiveProps(l,d),typeof s.UNSAFE_componentWillReceiveProps=="function"&&s.UNSAFE_componentWillReceiveProps(l,d),s.state!==u&&ip.enqueueReplaceState(s,s.state,null)}function Ao(u,s){var l=s;if("ref"in s){l={};for(var d in s)d!=="ref"&&(l[d]=s[d])}if(u=u.defaultProps){l===s&&(l=p({},l));for(var m in u)l[m]===void 0&&(l[m]=u[m])}return l}var If=typeof reportError=="function"?reportError:function(u){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var s=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof u=="object"&&u!==null&&typeof u.message=="string"?String(u.message):String(u),error:u});if(!window.dispatchEvent(s))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",u);return}console.error(u)};function ab(u){If(u)}function lb(u){console.error(u)}function cb(u){If(u)}function Ff(u,s){try{var l=u.onUncaughtError;l(s.value,{componentStack:s.stack})}catch(d){setTimeout(function(){throw d})}}function fb(u,s,l){try{var d=u.onCaughtError;d(l.value,{componentStack:l.stack,errorBoundary:s.tag===1?s.stateNode:null})}catch(m){setTimeout(function(){throw m})}}function rp(u,s,l){return l=Ru(l),l.tag=3,l.payload={element:null},l.callback=function(){Ff(u,s)},l}function db(u){return u=Ru(u),u.tag=3,u}function hb(u,s,l,d){var m=l.type.getDerivedStateFromError;if(typeof m=="function"){var b=d.value;u.payload=function(){return m(b)},u.callback=function(){fb(s,l,d)}}var w=l.stateNode;w!==null&&typeof w.componentDidCatch=="function"&&(u.callback=function(){fb(s,l,d),typeof m!="function"&&($u===null?$u=new Set([this]):$u.add(this));var R=d.stack;this.componentDidCatch(d.value,{componentStack:R!==null?R:""})})}function JA(u,s,l,d,m){if(l.flags|=32768,d!==null&&typeof d=="object"&&typeof d.then=="function"){if(s=l.alternate,s!==null&&el(s,l,m,!0),l=bi.current,l!==null){switch(l.tag){case 13:return fr===null?Dp():l.alternate===null&&Nt===0&&(Nt=3),l.flags&=-257,l.flags|=65536,l.lanes=m,d===kh?l.flags|=16384:(s=l.updateQueue,s===null?l.updateQueue=new Set([d]):s.add(d),Op(u,d,m)),!1;case 22:return l.flags|=65536,d===kh?l.flags|=16384:(s=l.updateQueue,s===null?(s={transitions:null,markerInstances:null,retryQueue:new Set([d])},l.updateQueue=s):(l=s.retryQueue,l===null?s.retryQueue=new Set([d]):l.add(d)),Op(u,d,m)),!1}throw Error(i(435,l.tag))}return Op(u,d,m),Dp(),!1}if(Ke)return s=bi.current,s!==null?((s.flags&65536)===0&&(s.flags|=256),s.flags|=65536,s.lanes=m,d!==Ah&&(u=Error(i(422),{cause:d}),Ja(mi(u,l)))):(d!==Ah&&(s=Error(i(423),{cause:d}),Ja(mi(s,l))),u=u.current.alternate,u.flags|=65536,m&=-m,u.lanes|=m,d=mi(d,l),m=rp(u.stateNode,d,m),Fh(u,m),Nt!==4&&(Nt=2)),!1;var b=Error(i(520),{cause:d});if(b=mi(b,l),xl===null?xl=[b]:xl.push(b),Nt!==4&&(Nt=2),s===null)return!0;d=mi(d,l),l=s;do{switch(l.tag){case 3:return l.flags|=65536,u=m&-m,l.lanes|=u,u=rp(l.stateNode,d,u),Fh(l,u),!1;case 1:if(s=l.type,b=l.stateNode,(l.flags&128)===0&&(typeof s.getDerivedStateFromError=="function"||b!==null&&typeof b.componentDidCatch=="function"&&($u===null||!$u.has(b))))return l.flags|=65536,m&=-m,l.lanes|=m,m=db(m),hb(m,u,l,d),Fh(l,m),!1}l=l.return}while(l!==null);return!1}var pb=Error(i(461)),en=!1;function dn(u,s,l,d){s.child=u===null?rb(s,null,l,d):ks(s,u.child,l,d)}function mb(u,s,l,d,m){l=l.render;var b=s.ref;if("ref"in d){var w={};for(var R in d)R!=="ref"&&(w[R]=d[R])}else w=d;return So(s),d=$h(u,s,l,w,b,m),R=Uh(),u!==null&&!en?(zh(u,s,m),Jr(u,s,m)):(Ke&&R&&_h(s),s.flags|=1,dn(u,s,d,m),s.child)}function gb(u,s,l,d,m){if(u===null){var b=l.type;return typeof b=="function"&&!Eh(b)&&b.defaultProps===void 0&&l.compare===null?(s.tag=15,s.type=b,vb(u,s,b,d,m)):(u=mf(l.type,null,d,s,s.mode,m),u.ref=s.ref,u.return=s,s.child=u)}if(b=u.child,!dp(u,m)){var w=b.memoizedProps;if(l=l.compare,l=l!==null?l:Xa,l(w,d)&&u.ref===s.ref)return Jr(u,s,m)}return s.flags|=1,u=Gr(b,d),u.ref=s.ref,u.return=s,s.child=u}function vb(u,s,l,d,m){if(u!==null){var b=u.memoizedProps;if(Xa(b,d)&&u.ref===s.ref)if(en=!1,s.pendingProps=d=b,dp(u,m))(u.flags&131072)!==0&&(en=!0);else return s.lanes=u.lanes,Jr(u,s,m)}return up(u,s,l,d,m)}function yb(u,s,l){var d=s.pendingProps,m=d.children,b=u!==null?u.memoizedState:null;if(d.mode==="hidden"){if((s.flags&128)!==0){if(d=b!==null?b.baseLanes|l:l,u!==null){for(m=s.child=u.child,b=0;m!==null;)b=b|m.lanes|m.childLanes,m=m.sibling;s.childLanes=b&~d}else s.childLanes=0,s.child=null;return bb(u,s,d,l)}if((l&536870912)!==0)s.memoizedState={baseLanes:0,cachePool:null},u!==null&&xf(s,b!==null?b.cachePool:null),b!==null?vy(s,b):Ph(),ub(s);else return s.lanes=s.childLanes=536870912,bb(u,s,b!==null?b.baseLanes|l:l,l)}else b!==null?(xf(s,b.cachePool),vy(s,b),Iu(),s.memoizedState=null):(u!==null&&xf(s,null),Ph(),Iu());return dn(u,s,m,l),s.child}function bb(u,s,l,d){var m=Mh();return m=m===null?null:{parent:Xt._currentValue,pool:m},s.memoizedState={baseLanes:l,cachePool:m},u!==null&&xf(s,null),Ph(),ub(s),u!==null&&el(u,s,d,!0),null}function jf(u,s){var l=s.ref;if(l===null)u!==null&&u.ref!==null&&(s.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error(i(284));(u===null||u.ref!==l)&&(s.flags|=4194816)}}function up(u,s,l,d,m){return So(s),l=$h(u,s,l,d,void 0,m),d=Uh(),u!==null&&!en?(zh(u,s,m),Jr(u,s,m)):(Ke&&d&&_h(s),s.flags|=1,dn(u,s,l,m),s.child)}function xb(u,s,l,d,m,b){return So(s),s.updateQueue=null,l=by(s,d,l,m),yy(u),d=Uh(),u!==null&&!en?(zh(u,s,b),Jr(u,s,b)):(Ke&&d&&_h(s),s.flags|=1,dn(u,s,l,b),s.child)}function Eb(u,s,l,d,m){if(So(s),s.stateNode===null){var b=Ss,w=l.contextType;typeof w=="object"&&w!==null&&(b=En(w)),b=new l(d,b),s.memoizedState=b.state!==null&&b.state!==void 0?b.state:null,b.updater=ip,s.stateNode=b,b._reactInternals=s,b=s.stateNode,b.props=d,b.state=s.memoizedState,b.refs={},Lh(s),w=l.contextType,b.context=typeof w=="object"&&w!==null?En(w):Ss,b.state=s.memoizedState,w=l.getDerivedStateFromProps,typeof w=="function"&&(np(s,l,w,d),b.state=s.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof b.getSnapshotBeforeUpdate=="function"||typeof b.UNSAFE_componentWillMount!="function"&&typeof b.componentWillMount!="function"||(w=b.state,typeof b.componentWillMount=="function"&&b.componentWillMount(),typeof b.UNSAFE_componentWillMount=="function"&&b.UNSAFE_componentWillMount(),w!==b.state&&ip.enqueueReplaceState(b,b.state,null),sl(s,d,b,m),ol(),b.state=s.memoizedState),typeof b.componentDidMount=="function"&&(s.flags|=4194308),d=!0}else if(u===null){b=s.stateNode;var R=s.memoizedProps,j=Ao(l,R);b.props=j;var Z=b.context,se=l.contextType;w=Ss,typeof se=="object"&&se!==null&&(w=En(se));var de=l.getDerivedStateFromProps;se=typeof de=="function"||typeof b.getSnapshotBeforeUpdate=="function",R=s.pendingProps!==R,se||typeof b.UNSAFE_componentWillReceiveProps!="function"&&typeof b.componentWillReceiveProps!="function"||(R||Z!==w)&&sb(s,b,d,w),Ou=!1;var J=s.memoizedState;b.state=J,sl(s,d,b,m),ol(),Z=s.memoizedState,R||J!==Z||Ou?(typeof de=="function"&&(np(s,l,de,d),Z=s.memoizedState),(j=Ou||ob(s,l,j,d,J,Z,w))?(se||typeof b.UNSAFE_componentWillMount!="function"&&typeof b.componentWillMount!="function"||(typeof b.componentWillMount=="function"&&b.componentWillMount(),typeof b.UNSAFE_componentWillMount=="function"&&b.UNSAFE_componentWillMount()),typeof b.componentDidMount=="function"&&(s.flags|=4194308)):(typeof b.componentDidMount=="function"&&(s.flags|=4194308),s.memoizedProps=d,s.memoizedState=Z),b.props=d,b.state=Z,b.context=w,d=j):(typeof b.componentDidMount=="function"&&(s.flags|=4194308),d=!1)}else{b=s.stateNode,Ih(u,s),w=s.memoizedProps,se=Ao(l,w),b.props=se,de=s.pendingProps,J=b.context,Z=l.contextType,j=Ss,typeof Z=="object"&&Z!==null&&(j=En(Z)),R=l.getDerivedStateFromProps,(Z=typeof R=="function"||typeof b.getSnapshotBeforeUpdate=="function")||typeof b.UNSAFE_componentWillReceiveProps!="function"&&typeof b.componentWillReceiveProps!="function"||(w!==de||J!==j)&&sb(s,b,d,j),Ou=!1,J=s.memoizedState,b.state=J,sl(s,d,b,m),ol();var ee=s.memoizedState;w!==de||J!==ee||Ou||u!==null&&u.dependencies!==null&&yf(u.dependencies)?(typeof R=="function"&&(np(s,l,R,d),ee=s.memoizedState),(se=Ou||ob(s,l,se,d,J,ee,j)||u!==null&&u.dependencies!==null&&yf(u.dependencies))?(Z||typeof b.UNSAFE_componentWillUpdate!="function"&&typeof b.componentWillUpdate!="function"||(typeof b.componentWillUpdate=="function"&&b.componentWillUpdate(d,ee,j),typeof b.UNSAFE_componentWillUpdate=="function"&&b.UNSAFE_componentWillUpdate(d,ee,j)),typeof b.componentDidUpdate=="function"&&(s.flags|=4),typeof b.getSnapshotBeforeUpdate=="function"&&(s.flags|=1024)):(typeof b.componentDidUpdate!="function"||w===u.memoizedProps&&J===u.memoizedState||(s.flags|=4),typeof b.getSnapshotBeforeUpdate!="function"||w===u.memoizedProps&&J===u.memoizedState||(s.flags|=1024),s.memoizedProps=d,s.memoizedState=ee),b.props=d,b.state=ee,b.context=j,d=se):(typeof b.componentDidUpdate!="function"||w===u.memoizedProps&&J===u.memoizedState||(s.flags|=4),typeof b.getSnapshotBeforeUpdate!="function"||w===u.memoizedProps&&J===u.memoizedState||(s.flags|=1024),d=!1)}return b=d,jf(u,s),d=(s.flags&128)!==0,b||d?(b=s.stateNode,l=d&&typeof l.getDerivedStateFromError!="function"?null:b.render(),s.flags|=1,u!==null&&d?(s.child=ks(s,u.child,null,m),s.child=ks(s,null,l,m)):dn(u,s,l,m),s.memoizedState=b.state,u=s.child):u=Jr(u,s,m),u}function Tb(u,s,l,d){return Ka(),s.flags|=256,dn(u,s,l,d),s.child}var op={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function sp(u){return{baseLanes:u,cachePool:ly()}}function ap(u,s,l){return u=u!==null?u.childLanes&~l:0,s&&(u|=xi),u}function Sb(u,s,l){var d=s.pendingProps,m=!1,b=(s.flags&128)!==0,w;if((w=b)||(w=u!==null&&u.memoizedState===null?!1:(Zt.current&2)!==0),w&&(m=!0,s.flags&=-129),w=(s.flags&32)!==0,s.flags&=-33,u===null){if(Ke){if(m?Lu(s):Iu(),Ke){var R=Dt,j;if(j=R){e:{for(j=R,R=cr;j.nodeType!==8;){if(!R){R=null;break e}if(j=Vi(j.nextSibling),j===null){R=null;break e}}R=j}R!==null?(s.memoizedState={dehydrated:R,treeContext:yo!==null?{id:Yr,overflow:Qr}:null,retryLane:536870912,hydrationErrors:null},j=ei(18,null,null,0),j.stateNode=R,j.return=s,s.child=j,wn=s,Dt=null,j=!0):j=!1}j||Eo(s)}if(R=s.memoizedState,R!==null&&(R=R.dehydrated,R!==null))return qp(R)?s.lanes=32:s.lanes=536870912,null;Kr(s)}return R=d.children,d=d.fallback,m?(Iu(),m=s.mode,R=Pf({mode:"hidden",children:R},m),d=vo(d,m,l,null),R.return=s,d.return=s,R.sibling=d,s.child=R,m=s.child,m.memoizedState=sp(l),m.childLanes=ap(u,w,l),s.memoizedState=op,d):(Lu(s),lp(s,R))}if(j=u.memoizedState,j!==null&&(R=j.dehydrated,R!==null)){if(b)s.flags&256?(Lu(s),s.flags&=-257,s=cp(u,s,l)):s.memoizedState!==null?(Iu(),s.child=u.child,s.flags|=128,s=null):(Iu(),m=d.fallback,R=s.mode,d=Pf({mode:"visible",children:d.children},R),m=vo(m,R,l,null),m.flags|=2,d.return=s,m.return=s,d.sibling=m,s.child=d,ks(s,u.child,null,l),d=s.child,d.memoizedState=sp(l),d.childLanes=ap(u,w,l),s.memoizedState=op,s=m);else if(Lu(s),qp(R)){if(w=R.nextSibling&&R.nextSibling.dataset,w)var Z=w.dgst;w=Z,d=Error(i(419)),d.stack="",d.digest=w,Ja({value:d,source:null,stack:null}),s=cp(u,s,l)}else if(en||el(u,s,l,!1),w=(l&u.childLanes)!==0,en||w){if(w=pt,w!==null&&(d=l&-l,d=(d&42)!==0?1:Fa(d),d=(d&(w.suspendedLanes|l))!==0?0:d,d!==0&&d!==j.retryLane))throw j.retryLane=d,Ts(u,d),ui(w,u,d),pb;R.data==="$?"||Dp(),s=cp(u,s,l)}else R.data==="$?"?(s.flags|=192,s.child=u.child,s=null):(u=j.treeContext,Dt=Vi(R.nextSibling),wn=s,Ke=!0,xo=null,cr=!1,u!==null&&(vi[yi++]=Yr,vi[yi++]=Qr,vi[yi++]=yo,Yr=u.id,Qr=u.overflow,yo=s),s=lp(s,d.children),s.flags|=4096);return s}return m?(Iu(),m=d.fallback,R=s.mode,j=u.child,Z=j.sibling,d=Gr(j,{mode:"hidden",children:d.children}),d.subtreeFlags=j.subtreeFlags&65011712,Z!==null?m=Gr(Z,m):(m=vo(m,R,l,null),m.flags|=2),m.return=s,d.return=s,d.sibling=m,s.child=d,d=m,m=s.child,R=u.child.memoizedState,R===null?R=sp(l):(j=R.cachePool,j!==null?(Z=Xt._currentValue,j=j.parent!==Z?{parent:Z,pool:Z}:j):j=ly(),R={baseLanes:R.baseLanes|l,cachePool:j}),m.memoizedState=R,m.childLanes=ap(u,w,l),s.memoizedState=op,d):(Lu(s),l=u.child,u=l.sibling,l=Gr(l,{mode:"visible",children:d.children}),l.return=s,l.sibling=null,u!==null&&(w=s.deletions,w===null?(s.deletions=[u],s.flags|=16):w.push(u)),s.child=l,s.memoizedState=null,l)}function lp(u,s){return s=Pf({mode:"visible",children:s},u.mode),s.return=u,u.child=s}function Pf(u,s){return u=ei(22,u,null,s),u.lanes=0,u.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},u}function cp(u,s,l){return ks(s,u.child,null,l),u=lp(s,s.pendingProps.children),u.flags|=2,s.memoizedState=null,u}function _b(u,s,l){u.lanes|=s;var d=u.alternate;d!==null&&(d.lanes|=s),Dh(u.return,s,l)}function fp(u,s,l,d,m){var b=u.memoizedState;b===null?u.memoizedState={isBackwards:s,rendering:null,renderingStartTime:0,last:d,tail:l,tailMode:m}:(b.isBackwards=s,b.rendering=null,b.renderingStartTime=0,b.last=d,b.tail=l,b.tailMode=m)}function Cb(u,s,l){var d=s.pendingProps,m=d.revealOrder,b=d.tail;if(dn(u,s,d.children,l),d=Zt.current,(d&2)!==0)d=d&1|2,s.flags|=128;else{if(u!==null&&(u.flags&128)!==0)e:for(u=s.child;u!==null;){if(u.tag===13)u.memoizedState!==null&&_b(u,l,s);else if(u.tag===19)_b(u,l,s);else if(u.child!==null){u.child.return=u,u=u.child;continue}if(u===s)break e;for(;u.sibling===null;){if(u.return===null||u.return===s)break e;u=u.return}u.sibling.return=u.return,u=u.sibling}d&=1}switch(ne(Zt,d),m){case"forwards":for(l=s.child,m=null;l!==null;)u=l.alternate,u!==null&&Lf(u)===null&&(m=l),l=l.sibling;l=m,l===null?(m=s.child,s.child=null):(m=l.sibling,l.sibling=null),fp(s,!1,m,l,b);break;case"backwards":for(l=null,m=s.child,s.child=null;m!==null;){if(u=m.alternate,u!==null&&Lf(u)===null){s.child=m;break}u=m.sibling,m.sibling=l,l=m,m=u}fp(s,!0,l,null,b);break;case"together":fp(s,!1,null,null,void 0);break;default:s.memoizedState=null}return s.child}function Jr(u,s,l){if(u!==null&&(s.dependencies=u.dependencies),Bu|=s.lanes,(l&s.childLanes)===0)if(u!==null){if(el(u,s,l,!1),(l&s.childLanes)===0)return null}else return null;if(u!==null&&s.child!==u.child)throw Error(i(153));if(s.child!==null){for(u=s.child,l=Gr(u,u.pendingProps),s.child=l,l.return=s;u.sibling!==null;)u=u.sibling,l=l.sibling=Gr(u,u.pendingProps),l.return=s;l.sibling=null}return s.child}function dp(u,s){return(u.lanes&s)!==0?!0:(u=u.dependencies,!!(u!==null&&yf(u)))}function e7(u,s,l){switch(s.tag){case 3:ue(s,s.stateNode.containerInfo),Nu(s,Xt,u.memoizedState.cache),Ka();break;case 27:case 5:ve(s);break;case 4:ue(s,s.stateNode.containerInfo);break;case 10:Nu(s,s.type,s.memoizedProps.value);break;case 13:var d=s.memoizedState;if(d!==null)return d.dehydrated!==null?(Lu(s),s.flags|=128,null):(l&s.child.childLanes)!==0?Sb(u,s,l):(Lu(s),u=Jr(u,s,l),u!==null?u.sibling:null);Lu(s);break;case 19:var m=(u.flags&128)!==0;if(d=(l&s.childLanes)!==0,d||(el(u,s,l,!1),d=(l&s.childLanes)!==0),m){if(d)return Cb(u,s,l);s.flags|=128}if(m=s.memoizedState,m!==null&&(m.rendering=null,m.tail=null,m.lastEffect=null),ne(Zt,Zt.current),d)break;return null;case 22:case 23:return s.lanes=0,yb(u,s,l);case 24:Nu(s,Xt,u.memoizedState.cache)}return Jr(u,s,l)}function Ab(u,s,l){if(u!==null)if(u.memoizedProps!==s.pendingProps)en=!0;else{if(!dp(u,l)&&(s.flags&128)===0)return en=!1,e7(u,s,l);en=(u.flags&131072)!==0}else en=!1,Ke&&(s.flags&1048576)!==0&&ny(s,vf,s.index);switch(s.lanes=0,s.tag){case 16:e:{u=s.pendingProps;var d=s.elementType,m=d._init;if(d=m(d._payload),s.type=d,typeof d=="function")Eh(d)?(u=Ao(d,u),s.tag=1,s=Eb(null,s,d,u,l)):(s.tag=0,s=up(null,s,d,u,l));else{if(d!=null){if(m=d.$$typeof,m===N){s.tag=11,s=mb(null,s,d,u,l);break e}else if(m===I){s.tag=14,s=gb(null,s,d,u,l);break e}}throw s=fe(d)||d,Error(i(306,s,""))}}return s;case 0:return up(u,s,s.type,s.pendingProps,l);case 1:return d=s.type,m=Ao(d,s.pendingProps),Eb(u,s,d,m,l);case 3:e:{if(ue(s,s.stateNode.containerInfo),u===null)throw Error(i(387));d=s.pendingProps;var b=s.memoizedState;m=b.element,Ih(u,s),sl(s,d,null,l);var w=s.memoizedState;if(d=w.cache,Nu(s,Xt,d),d!==b.cache&&Nh(s,[Xt],l,!0),ol(),d=w.element,b.isDehydrated)if(b={element:d,isDehydrated:!1,cache:w.cache},s.updateQueue.baseState=b,s.memoizedState=b,s.flags&256){s=Tb(u,s,d,l);break e}else if(d!==m){m=mi(Error(i(424)),s),Ja(m),s=Tb(u,s,d,l);break e}else{switch(u=s.stateNode.containerInfo,u.nodeType){case 9:u=u.body;break;default:u=u.nodeName==="HTML"?u.ownerDocument.body:u}for(Dt=Vi(u.firstChild),wn=s,Ke=!0,xo=null,cr=!0,l=rb(s,null,d,l),s.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling}else{if(Ka(),d===m){s=Jr(u,s,l);break e}dn(u,s,d,l)}s=s.child}return s;case 26:return jf(u,s),u===null?(l=O3(s.type,null,s.pendingProps,null))?s.memoizedState=l:Ke||(l=s.type,u=s.pendingProps,d=Kf(oe.current).createElement(l),d[_t]=s,d[Jt]=u,pn(d,l,u),wt(d),s.stateNode=d):s.memoizedState=O3(s.type,u.memoizedProps,s.pendingProps,u.memoizedState),null;case 27:return ve(s),u===null&&Ke&&(d=s.stateNode=w3(s.type,s.pendingProps,oe.current),wn=s,cr=!0,m=Dt,Hu(s.type)?(Gp=m,Dt=Vi(d.firstChild)):Dt=m),dn(u,s,s.pendingProps.children,l),jf(u,s),u===null&&(s.flags|=4194304),s.child;case 5:return u===null&&Ke&&((m=d=Dt)&&(d=D7(d,s.type,s.pendingProps,cr),d!==null?(s.stateNode=d,wn=s,Dt=Vi(d.firstChild),cr=!1,m=!0):m=!1),m||Eo(s)),ve(s),m=s.type,b=s.pendingProps,w=u!==null?u.memoizedProps:null,d=b.children,Up(m,b)?d=null:w!==null&&Up(m,w)&&(s.flags|=32),s.memoizedState!==null&&(m=$h(u,s,GA,null,null,l),Nl._currentValue=m),jf(u,s),dn(u,s,d,l),s.child;case 6:return u===null&&Ke&&((u=l=Dt)&&(l=N7(l,s.pendingProps,cr),l!==null?(s.stateNode=l,wn=s,Dt=null,u=!0):u=!1),u||Eo(s)),null;case 13:return Sb(u,s,l);case 4:return ue(s,s.stateNode.containerInfo),d=s.pendingProps,u===null?s.child=ks(s,null,d,l):dn(u,s,d,l),s.child;case 11:return mb(u,s,s.type,s.pendingProps,l);case 7:return dn(u,s,s.pendingProps,l),s.child;case 8:return dn(u,s,s.pendingProps.children,l),s.child;case 12:return dn(u,s,s.pendingProps.children,l),s.child;case 10:return d=s.pendingProps,Nu(s,s.type,d.value),dn(u,s,d.children,l),s.child;case 9:return m=s.type._context,d=s.pendingProps.children,So(s),m=En(m),d=d(m),s.flags|=1,dn(u,s,d,l),s.child;case 14:return gb(u,s,s.type,s.pendingProps,l);case 15:return vb(u,s,s.type,s.pendingProps,l);case 19:return Cb(u,s,l);case 31:return d=s.pendingProps,l=s.mode,d={mode:d.mode,children:d.children},u===null?(l=Pf(d,l),l.ref=s.ref,s.child=l,l.return=s,s=l):(l=Gr(u.child,d),l.ref=s.ref,s.child=l,l.return=s,s=l),s;case 22:return yb(u,s,l);case 24:return So(s),d=En(Xt),u===null?(m=Mh(),m===null&&(m=pt,b=Oh(),m.pooledCache=b,b.refCount++,b!==null&&(m.pooledCacheLanes|=l),m=b),s.memoizedState={parent:d,cache:m},Lh(s),Nu(s,Xt,m)):((u.lanes&l)!==0&&(Ih(u,s),sl(s,null,null,l),ol()),m=u.memoizedState,b=s.memoizedState,m.parent!==d?(m={parent:d,cache:d},s.memoizedState=m,s.lanes===0&&(s.memoizedState=s.updateQueue.baseState=m),Nu(s,Xt,d)):(d=b.cache,Nu(s,Xt,d),d!==m.cache&&Nh(s,[Xt],l,!0))),dn(u,s,s.pendingProps.children,l),s.child;case 29:throw s.pendingProps}throw Error(i(156,s.tag))}function eu(u){u.flags|=4}function wb(u,s){if(s.type!=="stylesheet"||(s.state.loading&4)!==0)u.flags&=-16777217;else if(u.flags|=16777216,!I3(s)){if(s=bi.current,s!==null&&((Ge&4194048)===Ge?fr!==null:(Ge&62914560)!==Ge&&(Ge&536870912)===0||s!==fr))throw rl=kh,cy;u.flags|=8192}}function Vf(u,s){s!==null&&(u.flags|=4),u.flags&16384&&(s=u.tag!==22?fo():536870912,u.lanes|=s,js|=s)}function pl(u,s){if(!Ke)switch(u.tailMode){case"hidden":s=u.tail;for(var l=null;s!==null;)s.alternate!==null&&(l=s),s=s.sibling;l===null?u.tail=null:l.sibling=null;break;case"collapsed":l=u.tail;for(var d=null;l!==null;)l.alternate!==null&&(d=l),l=l.sibling;d===null?s||u.tail===null?u.tail=null:u.tail.sibling=null:d.sibling=null}}function Ct(u){var s=u.alternate!==null&&u.alternate.child===u.child,l=0,d=0;if(s)for(var m=u.child;m!==null;)l|=m.lanes|m.childLanes,d|=m.subtreeFlags&65011712,d|=m.flags&65011712,m.return=u,m=m.sibling;else for(m=u.child;m!==null;)l|=m.lanes|m.childLanes,d|=m.subtreeFlags,d|=m.flags,m.return=u,m=m.sibling;return u.subtreeFlags|=d,u.childLanes=l,s}function t7(u,s,l){var d=s.pendingProps;switch(Ch(s),s.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ct(s),null;case 1:return Ct(s),null;case 3:return l=s.stateNode,d=null,u!==null&&(d=u.memoizedState.cache),s.memoizedState.cache!==d&&(s.flags|=2048),Zr(Xt),me(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(u===null||u.child===null)&&(Wa(s)?eu(s):u===null||u.memoizedState.isDehydrated&&(s.flags&256)===0||(s.flags|=1024,uy())),Ct(s),null;case 26:return l=s.memoizedState,u===null?(eu(s),l!==null?(Ct(s),wb(s,l)):(Ct(s),s.flags&=-16777217)):l?l!==u.memoizedState?(eu(s),Ct(s),wb(s,l)):(Ct(s),s.flags&=-16777217):(u.memoizedProps!==d&&eu(s),Ct(s),s.flags&=-16777217),null;case 27:He(s),l=oe.current;var m=s.type;if(u!==null&&s.stateNode!=null)u.memoizedProps!==d&&eu(s);else{if(!d){if(s.stateNode===null)throw Error(i(166));return Ct(s),null}u=Y.current,Wa(s)?iy(s):(u=w3(m,d,l),s.stateNode=u,eu(s))}return Ct(s),null;case 5:if(He(s),l=s.type,u!==null&&s.stateNode!=null)u.memoizedProps!==d&&eu(s);else{if(!d){if(s.stateNode===null)throw Error(i(166));return Ct(s),null}if(u=Y.current,Wa(s))iy(s);else{switch(m=Kf(oe.current),u){case 1:u=m.createElementNS("http://www.w3.org/2000/svg",l);break;case 2:u=m.createElementNS("http://www.w3.org/1998/Math/MathML",l);break;default:switch(l){case"svg":u=m.createElementNS("http://www.w3.org/2000/svg",l);break;case"math":u=m.createElementNS("http://www.w3.org/1998/Math/MathML",l);break;case"script":u=m.createElement("div"),u.innerHTML="<script><\/script>",u=u.removeChild(u.firstChild);break;case"select":u=typeof d.is=="string"?m.createElement("select",{is:d.is}):m.createElement("select"),d.multiple?u.multiple=!0:d.size&&(u.size=d.size);break;default:u=typeof d.is=="string"?m.createElement(l,{is:d.is}):m.createElement(l)}}u[_t]=s,u[Jt]=d;e:for(m=s.child;m!==null;){if(m.tag===5||m.tag===6)u.appendChild(m.stateNode);else if(m.tag!==4&&m.tag!==27&&m.child!==null){m.child.return=m,m=m.child;continue}if(m===s)break e;for(;m.sibling===null;){if(m.return===null||m.return===s)break e;m=m.return}m.sibling.return=m.return,m=m.sibling}s.stateNode=u;e:switch(pn(u,l,d),l){case"button":case"input":case"select":case"textarea":u=!!d.autoFocus;break e;case"img":u=!0;break e;default:u=!1}u&&eu(s)}}return Ct(s),s.flags&=-16777217,null;case 6:if(u&&s.stateNode!=null)u.memoizedProps!==d&&eu(s);else{if(typeof d!="string"&&s.stateNode===null)throw Error(i(166));if(u=oe.current,Wa(s)){if(u=s.stateNode,l=s.memoizedProps,d=null,m=wn,m!==null)switch(m.tag){case 27:case 5:d=m.memoizedProps}u[_t]=s,u=!!(u.nodeValue===l||d!==null&&d.suppressHydrationWarning===!0||x3(u.nodeValue,l)),u||Eo(s)}else u=Kf(u).createTextNode(d),u[_t]=s,s.stateNode=u}return Ct(s),null;case 13:if(d=s.memoizedState,u===null||u.memoizedState!==null&&u.memoizedState.dehydrated!==null){if(m=Wa(s),d!==null&&d.dehydrated!==null){if(u===null){if(!m)throw Error(i(318));if(m=s.memoizedState,m=m!==null?m.dehydrated:null,!m)throw Error(i(317));m[_t]=s}else Ka(),(s.flags&128)===0&&(s.memoizedState=null),s.flags|=4;Ct(s),m=!1}else m=uy(),u!==null&&u.memoizedState!==null&&(u.memoizedState.hydrationErrors=m),m=!0;if(!m)return s.flags&256?(Kr(s),s):(Kr(s),null)}if(Kr(s),(s.flags&128)!==0)return s.lanes=l,s;if(l=d!==null,u=u!==null&&u.memoizedState!==null,l){d=s.child,m=null,d.alternate!==null&&d.alternate.memoizedState!==null&&d.alternate.memoizedState.cachePool!==null&&(m=d.alternate.memoizedState.cachePool.pool);var b=null;d.memoizedState!==null&&d.memoizedState.cachePool!==null&&(b=d.memoizedState.cachePool.pool),b!==m&&(d.flags|=2048)}return l!==u&&l&&(s.child.flags|=8192),Vf(s,s.updateQueue),Ct(s),null;case 4:return me(),u===null&&jp(s.stateNode.containerInfo),Ct(s),null;case 10:return Zr(s.type),Ct(s),null;case 19:if(ie(Zt),m=s.memoizedState,m===null)return Ct(s),null;if(d=(s.flags&128)!==0,b=m.rendering,b===null)if(d)pl(m,!1);else{if(Nt!==0||u!==null&&(u.flags&128)!==0)for(u=s.child;u!==null;){if(b=Lf(u),b!==null){for(s.flags|=128,pl(m,!1),u=b.updateQueue,s.updateQueue=u,Vf(s,u),s.subtreeFlags=0,u=l,l=s.child;l!==null;)ty(l,u),l=l.sibling;return ne(Zt,Zt.current&1|2),s.child}u=u.sibling}m.tail!==null&&nt()>Uf&&(s.flags|=128,d=!0,pl(m,!1),s.lanes=4194304)}else{if(!d)if(u=Lf(b),u!==null){if(s.flags|=128,d=!0,u=u.updateQueue,s.updateQueue=u,Vf(s,u),pl(m,!0),m.tail===null&&m.tailMode==="hidden"&&!b.alternate&&!Ke)return Ct(s),null}else 2*nt()-m.renderingStartTime>Uf&&l!==536870912&&(s.flags|=128,d=!0,pl(m,!1),s.lanes=4194304);m.isBackwards?(b.sibling=s.child,s.child=b):(u=m.last,u!==null?u.sibling=b:s.child=b,m.last=b)}return m.tail!==null?(s=m.tail,m.rendering=s,m.tail=s.sibling,m.renderingStartTime=nt(),s.sibling=null,u=Zt.current,ne(Zt,d?u&1|2:u&1),s):(Ct(s),null);case 22:case 23:return Kr(s),Vh(),d=s.memoizedState!==null,u!==null?u.memoizedState!==null!==d&&(s.flags|=8192):d&&(s.flags|=8192),d?(l&536870912)!==0&&(s.flags&128)===0&&(Ct(s),s.subtreeFlags&6&&(s.flags|=8192)):Ct(s),l=s.updateQueue,l!==null&&Vf(s,l.retryQueue),l=null,u!==null&&u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(l=u.memoizedState.cachePool.pool),d=null,s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(d=s.memoizedState.cachePool.pool),d!==l&&(s.flags|=2048),u!==null&&ie(_o),null;case 24:return l=null,u!==null&&(l=u.memoizedState.cache),s.memoizedState.cache!==l&&(s.flags|=2048),Zr(Xt),Ct(s),null;case 25:return null;case 30:return null}throw Error(i(156,s.tag))}function n7(u,s){switch(Ch(s),s.tag){case 1:return u=s.flags,u&65536?(s.flags=u&-65537|128,s):null;case 3:return Zr(Xt),me(),u=s.flags,(u&65536)!==0&&(u&128)===0?(s.flags=u&-65537|128,s):null;case 26:case 27:case 5:return He(s),null;case 13:if(Kr(s),u=s.memoizedState,u!==null&&u.dehydrated!==null){if(s.alternate===null)throw Error(i(340));Ka()}return u=s.flags,u&65536?(s.flags=u&-65537|128,s):null;case 19:return ie(Zt),null;case 4:return me(),null;case 10:return Zr(s.type),null;case 22:case 23:return Kr(s),Vh(),u!==null&&ie(_o),u=s.flags,u&65536?(s.flags=u&-65537|128,s):null;case 24:return Zr(Xt),null;case 25:return null;default:return null}}function Db(u,s){switch(Ch(s),s.tag){case 3:Zr(Xt),me();break;case 26:case 27:case 5:He(s);break;case 4:me();break;case 13:Kr(s);break;case 19:ie(Zt);break;case 10:Zr(s.type);break;case 22:case 23:Kr(s),Vh(),u!==null&&ie(_o);break;case 24:Zr(Xt)}}function ml(u,s){try{var l=s.updateQueue,d=l!==null?l.lastEffect:null;if(d!==null){var m=d.next;l=m;do{if((l.tag&u)===u){d=void 0;var b=l.create,w=l.inst;d=b(),w.destroy=d}l=l.next}while(l!==m)}}catch(R){ft(s,s.return,R)}}function Fu(u,s,l){try{var d=s.updateQueue,m=d!==null?d.lastEffect:null;if(m!==null){var b=m.next;d=b;do{if((d.tag&u)===u){var w=d.inst,R=w.destroy;if(R!==void 0){w.destroy=void 0,m=s;var j=l,Z=R;try{Z()}catch(se){ft(m,j,se)}}}d=d.next}while(d!==b)}}catch(se){ft(s,s.return,se)}}function Nb(u){var s=u.updateQueue;if(s!==null){var l=u.stateNode;try{gy(s,l)}catch(d){ft(u,u.return,d)}}}function Ob(u,s,l){l.props=Ao(u.type,u.memoizedProps),l.state=u.memoizedState;try{l.componentWillUnmount()}catch(d){ft(u,s,d)}}function gl(u,s){try{var l=u.ref;if(l!==null){switch(u.tag){case 26:case 27:case 5:var d=u.stateNode;break;case 30:d=u.stateNode;break;default:d=u.stateNode}typeof l=="function"?u.refCleanup=l(d):l.current=d}}catch(m){ft(u,s,m)}}function dr(u,s){var l=u.ref,d=u.refCleanup;if(l!==null)if(typeof d=="function")try{d()}catch(m){ft(u,s,m)}finally{u.refCleanup=null,u=u.alternate,u!=null&&(u.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(m){ft(u,s,m)}else l.current=null}function Rb(u){var s=u.type,l=u.memoizedProps,d=u.stateNode;try{e:switch(s){case"button":case"input":case"select":case"textarea":l.autoFocus&&d.focus();break e;case"img":l.src?d.src=l.src:l.srcSet&&(d.srcset=l.srcSet)}}catch(m){ft(u,u.return,m)}}function hp(u,s,l){try{var d=u.stateNode;S7(d,u.type,l,s),d[Jt]=s}catch(m){ft(u,u.return,m)}}function Mb(u){return u.tag===5||u.tag===3||u.tag===26||u.tag===27&&Hu(u.type)||u.tag===4}function pp(u){e:for(;;){for(;u.sibling===null;){if(u.return===null||Mb(u.return))return null;u=u.return}for(u.sibling.return=u.return,u=u.sibling;u.tag!==5&&u.tag!==6&&u.tag!==18;){if(u.tag===27&&Hu(u.type)||u.flags&2||u.child===null||u.tag===4)continue e;u.child.return=u,u=u.child}if(!(u.flags&2))return u.stateNode}}function mp(u,s,l){var d=u.tag;if(d===5||d===6)u=u.stateNode,s?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(u,s):(s=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,s.appendChild(u),l=l._reactRootContainer,l!=null||s.onclick!==null||(s.onclick=Wf));else if(d!==4&&(d===27&&Hu(u.type)&&(l=u.stateNode,s=null),u=u.child,u!==null))for(mp(u,s,l),u=u.sibling;u!==null;)mp(u,s,l),u=u.sibling}function Bf(u,s,l){var d=u.tag;if(d===5||d===6)u=u.stateNode,s?l.insertBefore(u,s):l.appendChild(u);else if(d!==4&&(d===27&&Hu(u.type)&&(l=u.stateNode),u=u.child,u!==null))for(Bf(u,s,l),u=u.sibling;u!==null;)Bf(u,s,l),u=u.sibling}function kb(u){var s=u.stateNode,l=u.memoizedProps;try{for(var d=u.type,m=s.attributes;m.length;)s.removeAttributeNode(m[0]);pn(s,d,l),s[_t]=u,s[Jt]=l}catch(b){ft(u,u.return,b)}}var tu=!1,It=!1,gp=!1,Lb=typeof WeakSet=="function"?WeakSet:Set,tn=null;function i7(u,s){if(u=u.containerInfo,Bp=rd,u=qv(u),ph(u)){if("selectionStart"in u)var l={start:u.selectionStart,end:u.selectionEnd};else e:{l=(l=u.ownerDocument)&&l.defaultView||window;var d=l.getSelection&&l.getSelection();if(d&&d.rangeCount!==0){l=d.anchorNode;var m=d.anchorOffset,b=d.focusNode;d=d.focusOffset;try{l.nodeType,b.nodeType}catch{l=null;break e}var w=0,R=-1,j=-1,Z=0,se=0,de=u,J=null;t:for(;;){for(var ee;de!==l||m!==0&&de.nodeType!==3||(R=w+m),de!==b||d!==0&&de.nodeType!==3||(j=w+d),de.nodeType===3&&(w+=de.nodeValue.length),(ee=de.firstChild)!==null;)J=de,de=ee;for(;;){if(de===u)break t;if(J===l&&++Z===m&&(R=w),J===b&&++se===d&&(j=w),(ee=de.nextSibling)!==null)break;de=J,J=de.parentNode}de=ee}l=R===-1||j===-1?null:{start:R,end:j}}else l=null}l=l||{start:0,end:0}}else l=null;for($p={focusedElem:u,selectionRange:l},rd=!1,tn=s;tn!==null;)if(s=tn,u=s.child,(s.subtreeFlags&1024)!==0&&u!==null)u.return=s,tn=u;else for(;tn!==null;){switch(s=tn,b=s.alternate,u=s.flags,s.tag){case 0:break;case 11:case 15:break;case 1:if((u&1024)!==0&&b!==null){u=void 0,l=s,m=b.memoizedProps,b=b.memoizedState,d=l.stateNode;try{var Ae=Ao(l.type,m,l.elementType===l.type);u=d.getSnapshotBeforeUpdate(Ae,b),d.__reactInternalSnapshotBeforeUpdate=u}catch(_e){ft(l,l.return,_e)}}break;case 3:if((u&1024)!==0){if(u=s.stateNode.containerInfo,l=u.nodeType,l===9)Hp(u);else if(l===1)switch(u.nodeName){case"HEAD":case"HTML":case"BODY":Hp(u);break;default:u.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((u&1024)!==0)throw Error(i(163))}if(u=s.sibling,u!==null){u.return=s.return,tn=u;break}tn=s.return}}function Ib(u,s,l){var d=l.flags;switch(l.tag){case 0:case 11:case 15:ju(u,l),d&4&&ml(5,l);break;case 1:if(ju(u,l),d&4)if(u=l.stateNode,s===null)try{u.componentDidMount()}catch(w){ft(l,l.return,w)}else{var m=Ao(l.type,s.memoizedProps);s=s.memoizedState;try{u.componentDidUpdate(m,s,u.__reactInternalSnapshotBeforeUpdate)}catch(w){ft(l,l.return,w)}}d&64&&Nb(l),d&512&&gl(l,l.return);break;case 3:if(ju(u,l),d&64&&(u=l.updateQueue,u!==null)){if(s=null,l.child!==null)switch(l.child.tag){case 27:case 5:s=l.child.stateNode;break;case 1:s=l.child.stateNode}try{gy(u,s)}catch(w){ft(l,l.return,w)}}break;case 27:s===null&&d&4&&kb(l);case 26:case 5:ju(u,l),s===null&&d&4&&Rb(l),d&512&&gl(l,l.return);break;case 12:ju(u,l);break;case 13:ju(u,l),d&4&&Pb(u,l),d&64&&(u=l.memoizedState,u!==null&&(u=u.dehydrated,u!==null&&(l=d7.bind(null,l),O7(u,l))));break;case 22:if(d=l.memoizedState!==null||tu,!d){s=s!==null&&s.memoizedState!==null||It,m=tu;var b=It;tu=d,(It=s)&&!b?Pu(u,l,(l.subtreeFlags&8772)!==0):ju(u,l),tu=m,It=b}break;case 30:break;default:ju(u,l)}}function Fb(u){var s=u.alternate;s!==null&&(u.alternate=null,Fb(s)),u.child=null,u.deletions=null,u.sibling=null,u.tag===5&&(s=u.stateNode,s!==null&&ja(s)),u.stateNode=null,u.return=null,u.dependencies=null,u.memoizedProps=null,u.memoizedState=null,u.pendingProps=null,u.stateNode=null,u.updateQueue=null}var xt=null,$n=!1;function nu(u,s,l){for(l=l.child;l!==null;)jb(u,s,l),l=l.sibling}function jb(u,s,l){if(kt&&typeof kt.onCommitFiberUnmount=="function")try{kt.onCommitFiberUnmount($t,l)}catch{}switch(l.tag){case 26:It||dr(l,s),nu(u,s,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:It||dr(l,s);var d=xt,m=$n;Hu(l.type)&&(xt=l.stateNode,$n=!1),nu(u,s,l),Cl(l.stateNode),xt=d,$n=m;break;case 5:It||dr(l,s);case 6:if(d=xt,m=$n,xt=null,nu(u,s,l),xt=d,$n=m,xt!==null)if($n)try{(xt.nodeType===9?xt.body:xt.nodeName==="HTML"?xt.ownerDocument.body:xt).removeChild(l.stateNode)}catch(b){ft(l,s,b)}else try{xt.removeChild(l.stateNode)}catch(b){ft(l,s,b)}break;case 18:xt!==null&&($n?(u=xt,C3(u.nodeType===9?u.body:u.nodeName==="HTML"?u.ownerDocument.body:u,l.stateNode),kl(u)):C3(xt,l.stateNode));break;case 4:d=xt,m=$n,xt=l.stateNode.containerInfo,$n=!0,nu(u,s,l),xt=d,$n=m;break;case 0:case 11:case 14:case 15:It||Fu(2,l,s),It||Fu(4,l,s),nu(u,s,l);break;case 1:It||(dr(l,s),d=l.stateNode,typeof d.componentWillUnmount=="function"&&Ob(l,s,d)),nu(u,s,l);break;case 21:nu(u,s,l);break;case 22:It=(d=It)||l.memoizedState!==null,nu(u,s,l),It=d;break;default:nu(u,s,l)}}function Pb(u,s){if(s.memoizedState===null&&(u=s.alternate,u!==null&&(u=u.memoizedState,u!==null&&(u=u.dehydrated,u!==null))))try{kl(u)}catch(l){ft(s,s.return,l)}}function r7(u){switch(u.tag){case 13:case 19:var s=u.stateNode;return s===null&&(s=u.stateNode=new Lb),s;case 22:return u=u.stateNode,s=u._retryCache,s===null&&(s=u._retryCache=new Lb),s;default:throw Error(i(435,u.tag))}}function vp(u,s){var l=r7(u);s.forEach(function(d){var m=h7.bind(null,u,d);l.has(d)||(l.add(d),d.then(m,m))})}function ti(u,s){var l=s.deletions;if(l!==null)for(var d=0;d<l.length;d++){var m=l[d],b=u,w=s,R=w;e:for(;R!==null;){switch(R.tag){case 27:if(Hu(R.type)){xt=R.stateNode,$n=!1;break e}break;case 5:xt=R.stateNode,$n=!1;break e;case 3:case 4:xt=R.stateNode.containerInfo,$n=!0;break e}R=R.return}if(xt===null)throw Error(i(160));jb(b,w,m),xt=null,$n=!1,b=m.alternate,b!==null&&(b.return=null),m.return=null}if(s.subtreeFlags&13878)for(s=s.child;s!==null;)Vb(s,u),s=s.sibling}var Pi=null;function Vb(u,s){var l=u.alternate,d=u.flags;switch(u.tag){case 0:case 11:case 14:case 15:ti(s,u),ni(u),d&4&&(Fu(3,u,u.return),ml(3,u),Fu(5,u,u.return));break;case 1:ti(s,u),ni(u),d&512&&(It||l===null||dr(l,l.return)),d&64&&tu&&(u=u.updateQueue,u!==null&&(d=u.callbacks,d!==null&&(l=u.shared.hiddenCallbacks,u.shared.hiddenCallbacks=l===null?d:l.concat(d))));break;case 26:var m=Pi;if(ti(s,u),ni(u),d&512&&(It||l===null||dr(l,l.return)),d&4){var b=l!==null?l.memoizedState:null;if(d=u.memoizedState,l===null)if(d===null)if(u.stateNode===null){e:{d=u.type,l=u.memoizedProps,m=m.ownerDocument||m;t:switch(d){case"title":b=m.getElementsByTagName("title")[0],(!b||b[hi]||b[_t]||b.namespaceURI==="http://www.w3.org/2000/svg"||b.hasAttribute("itemprop"))&&(b=m.createElement(d),m.head.insertBefore(b,m.querySelector("head > title"))),pn(b,d,l),b[_t]=u,wt(b),d=b;break e;case"link":var w=k3("link","href",m).get(d+(l.href||""));if(w){for(var R=0;R<w.length;R++)if(b=w[R],b.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&b.getAttribute("rel")===(l.rel==null?null:l.rel)&&b.getAttribute("title")===(l.title==null?null:l.title)&&b.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){w.splice(R,1);break t}}b=m.createElement(d),pn(b,d,l),m.head.appendChild(b);break;case"meta":if(w=k3("meta","content",m).get(d+(l.content||""))){for(R=0;R<w.length;R++)if(b=w[R],b.getAttribute("content")===(l.content==null?null:""+l.content)&&b.getAttribute("name")===(l.name==null?null:l.name)&&b.getAttribute("property")===(l.property==null?null:l.property)&&b.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&b.getAttribute("charset")===(l.charSet==null?null:l.charSet)){w.splice(R,1);break t}}b=m.createElement(d),pn(b,d,l),m.head.appendChild(b);break;default:throw Error(i(468,d))}b[_t]=u,wt(b),d=b}u.stateNode=d}else L3(m,u.type,u.stateNode);else u.stateNode=M3(m,d,u.memoizedProps);else b!==d?(b===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):b.count--,d===null?L3(m,u.type,u.stateNode):M3(m,d,u.memoizedProps)):d===null&&u.stateNode!==null&&hp(u,u.memoizedProps,l.memoizedProps)}break;case 27:ti(s,u),ni(u),d&512&&(It||l===null||dr(l,l.return)),l!==null&&d&4&&hp(u,u.memoizedProps,l.memoizedProps);break;case 5:if(ti(s,u),ni(u),d&512&&(It||l===null||dr(l,l.return)),u.flags&32){m=u.stateNode;try{Kn(m,"")}catch(ee){ft(u,u.return,ee)}}d&4&&u.stateNode!=null&&(m=u.memoizedProps,hp(u,m,l!==null?l.memoizedProps:m)),d&1024&&(gp=!0);break;case 6:if(ti(s,u),ni(u),d&4){if(u.stateNode===null)throw Error(i(162));d=u.memoizedProps,l=u.stateNode;try{l.nodeValue=d}catch(ee){ft(u,u.return,ee)}}break;case 3:if(td=null,m=Pi,Pi=Jf(s.containerInfo),ti(s,u),Pi=m,ni(u),d&4&&l!==null&&l.memoizedState.isDehydrated)try{kl(s.containerInfo)}catch(ee){ft(u,u.return,ee)}gp&&(gp=!1,Bb(u));break;case 4:d=Pi,Pi=Jf(u.stateNode.containerInfo),ti(s,u),ni(u),Pi=d;break;case 12:ti(s,u),ni(u);break;case 13:ti(s,u),ni(u),u.child.flags&8192&&u.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(Sp=nt()),d&4&&(d=u.updateQueue,d!==null&&(u.updateQueue=null,vp(u,d)));break;case 22:m=u.memoizedState!==null;var j=l!==null&&l.memoizedState!==null,Z=tu,se=It;if(tu=Z||m,It=se||j,ti(s,u),It=se,tu=Z,ni(u),d&8192)e:for(s=u.stateNode,s._visibility=m?s._visibility&-2:s._visibility|1,m&&(l===null||j||tu||It||wo(u)),l=null,s=u;;){if(s.tag===5||s.tag===26){if(l===null){j=l=s;try{if(b=j.stateNode,m)w=b.style,typeof w.setProperty=="function"?w.setProperty("display","none","important"):w.display="none";else{R=j.stateNode;var de=j.memoizedProps.style,J=de!=null&&de.hasOwnProperty("display")?de.display:null;R.style.display=J==null||typeof J=="boolean"?"":(""+J).trim()}}catch(ee){ft(j,j.return,ee)}}}else if(s.tag===6){if(l===null){j=s;try{j.stateNode.nodeValue=m?"":j.memoizedProps}catch(ee){ft(j,j.return,ee)}}}else if((s.tag!==22&&s.tag!==23||s.memoizedState===null||s===u)&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===u)break e;for(;s.sibling===null;){if(s.return===null||s.return===u)break e;l===s&&(l=null),s=s.return}l===s&&(l=null),s.sibling.return=s.return,s=s.sibling}d&4&&(d=u.updateQueue,d!==null&&(l=d.retryQueue,l!==null&&(d.retryQueue=null,vp(u,l))));break;case 19:ti(s,u),ni(u),d&4&&(d=u.updateQueue,d!==null&&(u.updateQueue=null,vp(u,d)));break;case 30:break;case 21:break;default:ti(s,u),ni(u)}}function ni(u){var s=u.flags;if(s&2){try{for(var l,d=u.return;d!==null;){if(Mb(d)){l=d;break}d=d.return}if(l==null)throw Error(i(160));switch(l.tag){case 27:var m=l.stateNode,b=pp(u);Bf(u,b,m);break;case 5:var w=l.stateNode;l.flags&32&&(Kn(w,""),l.flags&=-33);var R=pp(u);Bf(u,R,w);break;case 3:case 4:var j=l.stateNode.containerInfo,Z=pp(u);mp(u,Z,j);break;default:throw Error(i(161))}}catch(se){ft(u,u.return,se)}u.flags&=-3}s&4096&&(u.flags&=-4097)}function Bb(u){if(u.subtreeFlags&1024)for(u=u.child;u!==null;){var s=u;Bb(s),s.tag===5&&s.flags&1024&&s.stateNode.reset(),u=u.sibling}}function ju(u,s){if(s.subtreeFlags&8772)for(s=s.child;s!==null;)Ib(u,s.alternate,s),s=s.sibling}function wo(u){for(u=u.child;u!==null;){var s=u;switch(s.tag){case 0:case 11:case 14:case 15:Fu(4,s,s.return),wo(s);break;case 1:dr(s,s.return);var l=s.stateNode;typeof l.componentWillUnmount=="function"&&Ob(s,s.return,l),wo(s);break;case 27:Cl(s.stateNode);case 26:case 5:dr(s,s.return),wo(s);break;case 22:s.memoizedState===null&&wo(s);break;case 30:wo(s);break;default:wo(s)}u=u.sibling}}function Pu(u,s,l){for(l=l&&(s.subtreeFlags&8772)!==0,s=s.child;s!==null;){var d=s.alternate,m=u,b=s,w=b.flags;switch(b.tag){case 0:case 11:case 15:Pu(m,b,l),ml(4,b);break;case 1:if(Pu(m,b,l),d=b,m=d.stateNode,typeof m.componentDidMount=="function")try{m.componentDidMount()}catch(Z){ft(d,d.return,Z)}if(d=b,m=d.updateQueue,m!==null){var R=d.stateNode;try{var j=m.shared.hiddenCallbacks;if(j!==null)for(m.shared.hiddenCallbacks=null,m=0;m<j.length;m++)my(j[m],R)}catch(Z){ft(d,d.return,Z)}}l&&w&64&&Nb(b),gl(b,b.return);break;case 27:kb(b);case 26:case 5:Pu(m,b,l),l&&d===null&&w&4&&Rb(b),gl(b,b.return);break;case 12:Pu(m,b,l);break;case 13:Pu(m,b,l),l&&w&4&&Pb(m,b);break;case 22:b.memoizedState===null&&Pu(m,b,l),gl(b,b.return);break;case 30:break;default:Pu(m,b,l)}s=s.sibling}}function yp(u,s){var l=null;u!==null&&u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(l=u.memoizedState.cachePool.pool),u=null,s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(u=s.memoizedState.cachePool.pool),u!==l&&(u!=null&&u.refCount++,l!=null&&tl(l))}function bp(u,s){u=null,s.alternate!==null&&(u=s.alternate.memoizedState.cache),s=s.memoizedState.cache,s!==u&&(s.refCount++,u!=null&&tl(u))}function hr(u,s,l,d){if(s.subtreeFlags&10256)for(s=s.child;s!==null;)$b(u,s,l,d),s=s.sibling}function $b(u,s,l,d){var m=s.flags;switch(s.tag){case 0:case 11:case 15:hr(u,s,l,d),m&2048&&ml(9,s);break;case 1:hr(u,s,l,d);break;case 3:hr(u,s,l,d),m&2048&&(u=null,s.alternate!==null&&(u=s.alternate.memoizedState.cache),s=s.memoizedState.cache,s!==u&&(s.refCount++,u!=null&&tl(u)));break;case 12:if(m&2048){hr(u,s,l,d),u=s.stateNode;try{var b=s.memoizedProps,w=b.id,R=b.onPostCommit;typeof R=="function"&&R(w,s.alternate===null?"mount":"update",u.passiveEffectDuration,-0)}catch(j){ft(s,s.return,j)}}else hr(u,s,l,d);break;case 13:hr(u,s,l,d);break;case 23:break;case 22:b=s.stateNode,w=s.alternate,s.memoizedState!==null?b._visibility&2?hr(u,s,l,d):vl(u,s):b._visibility&2?hr(u,s,l,d):(b._visibility|=2,Ls(u,s,l,d,(s.subtreeFlags&10256)!==0)),m&2048&&yp(w,s);break;case 24:hr(u,s,l,d),m&2048&&bp(s.alternate,s);break;default:hr(u,s,l,d)}}function Ls(u,s,l,d,m){for(m=m&&(s.subtreeFlags&10256)!==0,s=s.child;s!==null;){var b=u,w=s,R=l,j=d,Z=w.flags;switch(w.tag){case 0:case 11:case 15:Ls(b,w,R,j,m),ml(8,w);break;case 23:break;case 22:var se=w.stateNode;w.memoizedState!==null?se._visibility&2?Ls(b,w,R,j,m):vl(b,w):(se._visibility|=2,Ls(b,w,R,j,m)),m&&Z&2048&&yp(w.alternate,w);break;case 24:Ls(b,w,R,j,m),m&&Z&2048&&bp(w.alternate,w);break;default:Ls(b,w,R,j,m)}s=s.sibling}}function vl(u,s){if(s.subtreeFlags&10256)for(s=s.child;s!==null;){var l=u,d=s,m=d.flags;switch(d.tag){case 22:vl(l,d),m&2048&&yp(d.alternate,d);break;case 24:vl(l,d),m&2048&&bp(d.alternate,d);break;default:vl(l,d)}s=s.sibling}}var yl=8192;function Is(u){if(u.subtreeFlags&yl)for(u=u.child;u!==null;)Ub(u),u=u.sibling}function Ub(u){switch(u.tag){case 26:Is(u),u.flags&yl&&u.memoizedState!==null&&z7(Pi,u.memoizedState,u.memoizedProps);break;case 5:Is(u);break;case 3:case 4:var s=Pi;Pi=Jf(u.stateNode.containerInfo),Is(u),Pi=s;break;case 22:u.memoizedState===null&&(s=u.alternate,s!==null&&s.memoizedState!==null?(s=yl,yl=16777216,Is(u),yl=s):Is(u));break;default:Is(u)}}function zb(u){var s=u.alternate;if(s!==null&&(u=s.child,u!==null)){s.child=null;do s=u.sibling,u.sibling=null,u=s;while(u!==null)}}function bl(u){var s=u.deletions;if((u.flags&16)!==0){if(s!==null)for(var l=0;l<s.length;l++){var d=s[l];tn=d,qb(d,u)}zb(u)}if(u.subtreeFlags&10256)for(u=u.child;u!==null;)Hb(u),u=u.sibling}function Hb(u){switch(u.tag){case 0:case 11:case 15:bl(u),u.flags&2048&&Fu(9,u,u.return);break;case 3:bl(u);break;case 12:bl(u);break;case 22:var s=u.stateNode;u.memoizedState!==null&&s._visibility&2&&(u.return===null||u.return.tag!==13)?(s._visibility&=-3,$f(u)):bl(u);break;default:bl(u)}}function $f(u){var s=u.deletions;if((u.flags&16)!==0){if(s!==null)for(var l=0;l<s.length;l++){var d=s[l];tn=d,qb(d,u)}zb(u)}for(u=u.child;u!==null;){switch(s=u,s.tag){case 0:case 11:case 15:Fu(8,s,s.return),$f(s);break;case 22:l=s.stateNode,l._visibility&2&&(l._visibility&=-3,$f(s));break;default:$f(s)}u=u.sibling}}function qb(u,s){for(;tn!==null;){var l=tn;switch(l.tag){case 0:case 11:case 15:Fu(8,l,s);break;case 23:case 22:if(l.memoizedState!==null&&l.memoizedState.cachePool!==null){var d=l.memoizedState.cachePool.pool;d!=null&&d.refCount++}break;case 24:tl(l.memoizedState.cache)}if(d=l.child,d!==null)d.return=l,tn=d;else e:for(l=u;tn!==null;){d=tn;var m=d.sibling,b=d.return;if(Fb(d),d===l){tn=null;break e}if(m!==null){m.return=b,tn=m;break e}tn=b}}}var u7={getCacheForType:function(u){var s=En(Xt),l=s.data.get(u);return l===void 0&&(l=u(),s.data.set(u,l)),l}},o7=typeof WeakMap=="function"?WeakMap:Map,it=0,pt=null,je=null,Ge=0,rt=0,ii=null,Vu=!1,Fs=!1,xp=!1,iu=0,Nt=0,Bu=0,Do=0,Ep=0,xi=0,js=0,xl=null,Un=null,Tp=!1,Sp=0,Uf=1/0,zf=null,$u=null,hn=0,Uu=null,Ps=null,Vs=0,_p=0,Cp=null,Gb=null,El=0,Ap=null;function ri(){if((it&2)!==0&&Ge!==0)return Ge&-Ge;if(F.T!==null){var u=As;return u!==0?u:kp()}return Ir()}function Yb(){xi===0&&(xi=(Ge&536870912)===0||Ke?kr():536870912);var u=bi.current;return u!==null&&(u.flags|=32),xi}function ui(u,s,l){(u===pt&&(rt===2||rt===9)||u.cancelPendingCommit!==null)&&(Bs(u,0),zu(u,Ge,xi,!1)),di(u,l),((it&2)===0||u!==pt)&&(u===pt&&((it&2)===0&&(Do|=l),Nt===4&&zu(u,Ge,xi,!1)),pr(u))}function Qb(u,s,l){if((it&6)!==0)throw Error(i(327));var d=!l&&(s&124)===0&&(s&u.expiredLanes)===0||tr(u,s),m=d?l7(u,s):Np(u,s,!0),b=d;do{if(m===0){Fs&&!d&&zu(u,s,0,!1);break}else{if(l=u.current.alternate,b&&!s7(l)){m=Np(u,s,!1),b=!1;continue}if(m===2){if(b=s,u.errorRecoveryDisabledLanes&b)var w=0;else w=u.pendingLanes&-536870913,w=w!==0?w:w&536870912?536870912:0;if(w!==0){s=w;e:{var R=u;m=xl;var j=R.current.memoizedState.isDehydrated;if(j&&(Bs(R,w).flags|=256),w=Np(R,w,!1),w!==2){if(xp&&!j){R.errorRecoveryDisabledLanes|=b,Do|=b,m=4;break e}b=Un,Un=m,b!==null&&(Un===null?Un=b:Un.push.apply(Un,b))}m=w}if(b=!1,m!==2)continue}}if(m===1){Bs(u,0),zu(u,s,0,!0);break}e:{switch(d=u,b=m,b){case 0:case 1:throw Error(i(345));case 4:if((s&4194048)!==s)break;case 6:zu(d,s,xi,!Vu);break e;case 2:Un=null;break;case 3:case 5:break;default:throw Error(i(329))}if((s&62914560)===s&&(m=Sp+300-nt(),10<m)){if(zu(d,s,xi,!Vu),ki(d,0,!0)!==0)break e;d.timeoutHandle=S3(Xb.bind(null,d,l,Un,zf,Tp,s,xi,Do,js,Vu,b,2,-0,0),m);break e}Xb(d,l,Un,zf,Tp,s,xi,Do,js,Vu,b,0,-0,0)}}break}while(!0);pr(u)}function Xb(u,s,l,d,m,b,w,R,j,Z,se,de,J,ee){if(u.timeoutHandle=-1,de=s.subtreeFlags,(de&8192||(de&16785408)===16785408)&&(Dl={stylesheets:null,count:0,unsuspend:U7},Ub(s),de=H7(),de!==null)){u.cancelPendingCommit=de(n3.bind(null,u,s,b,l,d,m,w,R,j,se,1,J,ee)),zu(u,b,w,!Z);return}n3(u,s,b,l,d,m,w,R,j)}function s7(u){for(var s=u;;){var l=s.tag;if((l===0||l===11||l===15)&&s.flags&16384&&(l=s.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var d=0;d<l.length;d++){var m=l[d],b=m.getSnapshot;m=m.value;try{if(!Jn(b(),m))return!1}catch{return!1}}if(l=s.child,s.subtreeFlags&16384&&l!==null)l.return=s,s=l;else{if(s===u)break;for(;s.sibling===null;){if(s.return===null||s.return===u)return!0;s=s.return}s.sibling.return=s.return,s=s.sibling}}return!0}function zu(u,s,l,d){s&=~Ep,s&=~Do,u.suspendedLanes|=s,u.pingedLanes&=~s,d&&(u.warmLanes|=s),d=u.expirationTimes;for(var m=s;0<m;){var b=31-Ut(m),w=1<<b;d[b]=-1,m&=~w}l!==0&&Lr(u,l,s)}function Hf(){return(it&6)===0?(Tl(0),!1):!0}function wp(){if(je!==null){if(rt===0)var u=je.return;else u=je,Xr=To=null,Hh(u),Ms=null,dl=0,u=je;for(;u!==null;)Db(u.alternate,u),u=u.return;je=null}}function Bs(u,s){var l=u.timeoutHandle;l!==-1&&(u.timeoutHandle=-1,C7(l)),l=u.cancelPendingCommit,l!==null&&(u.cancelPendingCommit=null,l()),wp(),pt=u,je=l=Gr(u.current,null),Ge=s,rt=0,ii=null,Vu=!1,Fs=tr(u,s),xp=!1,js=xi=Ep=Do=Bu=Nt=0,Un=xl=null,Tp=!1,(s&8)!==0&&(s|=s&32);var d=u.entangledLanes;if(d!==0)for(u=u.entanglements,d&=s;0<d;){var m=31-Ut(d),b=1<<m;s|=u[m],d&=~b}return iu=s,df(),l}function Zb(u,s){Le=null,F.H=Rf,s===il||s===Ef?(s=hy(),rt=3):s===cy?(s=hy(),rt=4):rt=s===pb?8:s!==null&&typeof s=="object"&&typeof s.then=="function"?6:1,ii=s,je===null&&(Nt=1,Ff(u,mi(s,u.current)))}function Wb(){var u=F.H;return F.H=Rf,u===null?Rf:u}function Kb(){var u=F.A;return F.A=u7,u}function Dp(){Nt=4,Vu||(Ge&4194048)!==Ge&&bi.current!==null||(Fs=!0),(Bu&134217727)===0&&(Do&134217727)===0||pt===null||zu(pt,Ge,xi,!1)}function Np(u,s,l){var d=it;it|=2;var m=Wb(),b=Kb();(pt!==u||Ge!==s)&&(zf=null,Bs(u,s)),s=!1;var w=Nt;e:do try{if(rt!==0&&je!==null){var R=je,j=ii;switch(rt){case 8:wp(),w=6;break e;case 3:case 2:case 9:case 6:bi.current===null&&(s=!0);var Z=rt;if(rt=0,ii=null,$s(u,R,j,Z),l&&Fs){w=0;break e}break;default:Z=rt,rt=0,ii=null,$s(u,R,j,Z)}}a7(),w=Nt;break}catch(se){Zb(u,se)}while(!0);return s&&u.shellSuspendCounter++,Xr=To=null,it=d,F.H=m,F.A=b,je===null&&(pt=null,Ge=0,df()),w}function a7(){for(;je!==null;)Jb(je)}function l7(u,s){var l=it;it|=2;var d=Wb(),m=Kb();pt!==u||Ge!==s?(zf=null,Uf=nt()+500,Bs(u,s)):Fs=tr(u,s);e:do try{if(rt!==0&&je!==null){s=je;var b=ii;t:switch(rt){case 1:rt=0,ii=null,$s(u,s,b,1);break;case 2:case 9:if(fy(b)){rt=0,ii=null,e3(s);break}s=function(){rt!==2&&rt!==9||pt!==u||(rt=7),pr(u)},b.then(s,s);break e;case 3:rt=7;break e;case 4:rt=5;break e;case 7:fy(b)?(rt=0,ii=null,e3(s)):(rt=0,ii=null,$s(u,s,b,7));break;case 5:var w=null;switch(je.tag){case 26:w=je.memoizedState;case 5:case 27:var R=je;if(!w||I3(w)){rt=0,ii=null;var j=R.sibling;if(j!==null)je=j;else{var Z=R.return;Z!==null?(je=Z,qf(Z)):je=null}break t}}rt=0,ii=null,$s(u,s,b,5);break;case 6:rt=0,ii=null,$s(u,s,b,6);break;case 8:wp(),Nt=6;break e;default:throw Error(i(462))}}c7();break}catch(se){Zb(u,se)}while(!0);return Xr=To=null,F.H=d,F.A=m,it=l,je!==null?0:(pt=null,Ge=0,df(),Nt)}function c7(){for(;je!==null&&!In();)Jb(je)}function Jb(u){var s=Ab(u.alternate,u,iu);u.memoizedProps=u.pendingProps,s===null?qf(u):je=s}function e3(u){var s=u,l=s.alternate;switch(s.tag){case 15:case 0:s=xb(l,s,s.pendingProps,s.type,void 0,Ge);break;case 11:s=xb(l,s,s.pendingProps,s.type.render,s.ref,Ge);break;case 5:Hh(s);default:Db(l,s),s=je=ty(s,iu),s=Ab(l,s,iu)}u.memoizedProps=u.pendingProps,s===null?qf(u):je=s}function $s(u,s,l,d){Xr=To=null,Hh(s),Ms=null,dl=0;var m=s.return;try{if(JA(u,m,s,l,Ge)){Nt=1,Ff(u,mi(l,u.current)),je=null;return}}catch(b){if(m!==null)throw je=m,b;Nt=1,Ff(u,mi(l,u.current)),je=null;return}s.flags&32768?(Ke||d===1?u=!0:Fs||(Ge&536870912)!==0?u=!1:(Vu=u=!0,(d===2||d===9||d===3||d===6)&&(d=bi.current,d!==null&&d.tag===13&&(d.flags|=16384))),t3(s,u)):qf(s)}function qf(u){var s=u;do{if((s.flags&32768)!==0){t3(s,Vu);return}u=s.return;var l=t7(s.alternate,s,iu);if(l!==null){je=l;return}if(s=s.sibling,s!==null){je=s;return}je=s=u}while(s!==null);Nt===0&&(Nt=5)}function t3(u,s){do{var l=n7(u.alternate,u);if(l!==null){l.flags&=32767,je=l;return}if(l=u.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!s&&(u=u.sibling,u!==null)){je=u;return}je=u=l}while(u!==null);Nt=6,je=null}function n3(u,s,l,d,m,b,w,R,j){u.cancelPendingCommit=null;do Gf();while(hn!==0);if((it&6)!==0)throw Error(i(327));if(s!==null){if(s===u.current)throw Error(i(177));if(b=s.lanes|s.childLanes,b|=bh,Eu(u,l,b,w,R,j),u===pt&&(je=pt=null,Ge=0),Ps=s,Uu=u,Vs=l,_p=b,Cp=m,Gb=d,(s.subtreeFlags&10256)!==0||(s.flags&10256)!==0?(u.callbackNode=null,u.callbackPriority=0,p7(ct,function(){return s3(),null})):(u.callbackNode=null,u.callbackPriority=0),d=(s.flags&13878)!==0,(s.subtreeFlags&13878)!==0||d){d=F.T,F.T=null,m=H.p,H.p=2,w=it,it|=4;try{i7(u,s,l)}finally{it=w,H.p=m,F.T=d}}hn=1,i3(),r3(),u3()}}function i3(){if(hn===1){hn=0;var u=Uu,s=Ps,l=(s.flags&13878)!==0;if((s.subtreeFlags&13878)!==0||l){l=F.T,F.T=null;var d=H.p;H.p=2;var m=it;it|=4;try{Vb(s,u);var b=$p,w=qv(u.containerInfo),R=b.focusedElem,j=b.selectionRange;if(w!==R&&R&&R.ownerDocument&&Hv(R.ownerDocument.documentElement,R)){if(j!==null&&ph(R)){var Z=j.start,se=j.end;if(se===void 0&&(se=Z),"selectionStart"in R)R.selectionStart=Z,R.selectionEnd=Math.min(se,R.value.length);else{var de=R.ownerDocument||document,J=de&&de.defaultView||window;if(J.getSelection){var ee=J.getSelection(),Ae=R.textContent.length,_e=Math.min(j.start,Ae),at=j.end===void 0?_e:Math.min(j.end,Ae);!ee.extend&&_e>at&&(w=at,at=_e,_e=w);var G=zv(R,_e),U=zv(R,at);if(G&&U&&(ee.rangeCount!==1||ee.anchorNode!==G.node||ee.anchorOffset!==G.offset||ee.focusNode!==U.node||ee.focusOffset!==U.offset)){var Q=de.createRange();Q.setStart(G.node,G.offset),ee.removeAllRanges(),_e>at?(ee.addRange(Q),ee.extend(U.node,U.offset)):(Q.setEnd(U.node,U.offset),ee.addRange(Q))}}}}for(de=[],ee=R;ee=ee.parentNode;)ee.nodeType===1&&de.push({element:ee,left:ee.scrollLeft,top:ee.scrollTop});for(typeof R.focus=="function"&&R.focus(),R=0;R<de.length;R++){var ae=de[R];ae.element.scrollLeft=ae.left,ae.element.scrollTop=ae.top}}rd=!!Bp,$p=Bp=null}finally{it=m,H.p=d,F.T=l}}u.current=s,hn=2}}function r3(){if(hn===2){hn=0;var u=Uu,s=Ps,l=(s.flags&8772)!==0;if((s.subtreeFlags&8772)!==0||l){l=F.T,F.T=null;var d=H.p;H.p=2;var m=it;it|=4;try{Ib(u,s.alternate,s)}finally{it=m,H.p=d,F.T=l}}hn=3}}function u3(){if(hn===4||hn===3){hn=0,cn();var u=Uu,s=Ps,l=Vs,d=Gb;(s.subtreeFlags&10256)!==0||(s.flags&10256)!==0?hn=5:(hn=0,Ps=Uu=null,o3(u,u.pendingLanes));var m=u.pendingLanes;if(m===0&&($u=null),ir(l),s=s.stateNode,kt&&typeof kt.onCommitFiberRoot=="function")try{kt.onCommitFiberRoot($t,s,void 0,(s.current.flags&128)===128)}catch{}if(d!==null){s=F.T,m=H.p,H.p=2,F.T=null;try{for(var b=u.onRecoverableError,w=0;w<d.length;w++){var R=d[w];b(R.value,{componentStack:R.stack})}}finally{F.T=s,H.p=m}}(Vs&3)!==0&&Gf(),pr(u),m=u.pendingLanes,(l&4194090)!==0&&(m&42)!==0?u===Ap?El++:(El=0,Ap=u):El=0,Tl(0)}}function o3(u,s){(u.pooledCacheLanes&=s)===0&&(s=u.pooledCache,s!=null&&(u.pooledCache=null,tl(s)))}function Gf(u){return i3(),r3(),u3(),s3()}function s3(){if(hn!==5)return!1;var u=Uu,s=_p;_p=0;var l=ir(Vs),d=F.T,m=H.p;try{H.p=32>l?32:l,F.T=null,l=Cp,Cp=null;var b=Uu,w=Vs;if(hn=0,Ps=Uu=null,Vs=0,(it&6)!==0)throw Error(i(331));var R=it;if(it|=4,Hb(b.current),$b(b,b.current,w,l),it=R,Tl(0,!1),kt&&typeof kt.onPostCommitFiberRoot=="function")try{kt.onPostCommitFiberRoot($t,b)}catch{}return!0}finally{H.p=m,F.T=d,o3(u,s)}}function a3(u,s,l){s=mi(l,s),s=rp(u.stateNode,s,2),u=Mu(u,s,2),u!==null&&(di(u,2),pr(u))}function ft(u,s,l){if(u.tag===3)a3(u,u,l);else for(;s!==null;){if(s.tag===3){a3(s,u,l);break}else if(s.tag===1){var d=s.stateNode;if(typeof s.type.getDerivedStateFromError=="function"||typeof d.componentDidCatch=="function"&&($u===null||!$u.has(d))){u=mi(l,u),l=db(2),d=Mu(s,l,2),d!==null&&(hb(l,d,s,u),di(d,2),pr(d));break}}s=s.return}}function Op(u,s,l){var d=u.pingCache;if(d===null){d=u.pingCache=new o7;var m=new Set;d.set(s,m)}else m=d.get(s),m===void 0&&(m=new Set,d.set(s,m));m.has(l)||(xp=!0,m.add(l),u=f7.bind(null,u,s,l),s.then(u,u))}function f7(u,s,l){var d=u.pingCache;d!==null&&d.delete(s),u.pingedLanes|=u.suspendedLanes&l,u.warmLanes&=~l,pt===u&&(Ge&l)===l&&(Nt===4||Nt===3&&(Ge&62914560)===Ge&&300>nt()-Sp?(it&2)===0&&Bs(u,0):Ep|=l,js===Ge&&(js=0)),pr(u)}function l3(u,s){s===0&&(s=fo()),u=Ts(u,s),u!==null&&(di(u,s),pr(u))}function d7(u){var s=u.memoizedState,l=0;s!==null&&(l=s.retryLane),l3(u,l)}function h7(u,s){var l=0;switch(u.tag){case 13:var d=u.stateNode,m=u.memoizedState;m!==null&&(l=m.retryLane);break;case 19:d=u.stateNode;break;case 22:d=u.stateNode._retryCache;break;default:throw Error(i(314))}d!==null&&d.delete(s),l3(u,l)}function p7(u,s){return Te(u,s)}var Yf=null,Us=null,Rp=!1,Qf=!1,Mp=!1,No=0;function pr(u){u!==Us&&u.next===null&&(Us===null?Yf=Us=u:Us=Us.next=u),Qf=!0,Rp||(Rp=!0,g7())}function Tl(u,s){if(!Mp&&Qf){Mp=!0;do for(var l=!1,d=Yf;d!==null;){if(u!==0){var m=d.pendingLanes;if(m===0)var b=0;else{var w=d.suspendedLanes,R=d.pingedLanes;b=(1<<31-Ut(42|u)+1)-1,b&=m&~(w&~R),b=b&201326741?b&201326741|1:b?b|2:0}b!==0&&(l=!0,h3(d,b))}else b=Ge,b=ki(d,d===pt?b:0,d.cancelPendingCommit!==null||d.timeoutHandle!==-1),(b&3)===0||tr(d,b)||(l=!0,h3(d,b));d=d.next}while(l);Mp=!1}}function m7(){c3()}function c3(){Qf=Rp=!1;var u=0;No!==0&&(_7()&&(u=No),No=0);for(var s=nt(),l=null,d=Yf;d!==null;){var m=d.next,b=f3(d,s);b===0?(d.next=null,l===null?Yf=m:l.next=m,m===null&&(Us=l)):(l=d,(u!==0||(b&3)!==0)&&(Qf=!0)),d=m}Tl(u)}function f3(u,s){for(var l=u.suspendedLanes,d=u.pingedLanes,m=u.expirationTimes,b=u.pendingLanes&-62914561;0<b;){var w=31-Ut(b),R=1<<w,j=m[w];j===-1?((R&l)===0||(R&d)!==0)&&(m[w]=as(R,s)):j<=s&&(u.expiredLanes|=R),b&=~R}if(s=pt,l=Ge,l=ki(u,u===s?l:0,u.cancelPendingCommit!==null||u.timeoutHandle!==-1),d=u.callbackNode,l===0||u===s&&(rt===2||rt===9)||u.cancelPendingCommit!==null)return d!==null&&d!==null&&At(d),u.callbackNode=null,u.callbackPriority=0;if((l&3)===0||tr(u,l)){if(s=l&-l,s===u.callbackPriority)return s;switch(d!==null&&At(d),ir(l)){case 2:case 8:l=Ne;break;case 32:l=ct;break;case 268435456:l=Ye;break;default:l=ct}return d=d3.bind(null,u),l=Te(l,d),u.callbackPriority=s,u.callbackNode=l,s}return d!==null&&d!==null&&At(d),u.callbackPriority=2,u.callbackNode=null,2}function d3(u,s){if(hn!==0&&hn!==5)return u.callbackNode=null,u.callbackPriority=0,null;var l=u.callbackNode;if(Gf()&&u.callbackNode!==l)return null;var d=Ge;return d=ki(u,u===pt?d:0,u.cancelPendingCommit!==null||u.timeoutHandle!==-1),d===0?null:(Qb(u,d,s),f3(u,nt()),u.callbackNode!=null&&u.callbackNode===l?d3.bind(null,u):null)}function h3(u,s){if(Gf())return null;Qb(u,s,!0)}function g7(){A7(function(){(it&6)!==0?Te(qe,m7):c3()})}function kp(){return No===0&&(No=kr()),No}function p3(u){return u==null||typeof u=="symbol"||typeof u=="boolean"?null:typeof u=="function"?u:Ba(""+u)}function m3(u,s){var l=s.ownerDocument.createElement("input");return l.name=s.name,l.value=s.value,u.id&&l.setAttribute("form",u.id),s.parentNode.insertBefore(l,s),u=new FormData(u),l.parentNode.removeChild(l),u}function v7(u,s,l,d,m){if(s==="submit"&&l&&l.stateNode===m){var b=p3((m[Jt]||null).action),w=d.submitter;w&&(s=(s=w[Jt]||null)?p3(s.formAction):w.getAttribute("formAction"),s!==null&&(b=s,w=null));var R=new lf("action","action",null,d,m);u.push({event:R,listeners:[{instance:null,listener:function(){if(d.defaultPrevented){if(No!==0){var j=w?m3(m,w):new FormData(m);Jh(l,{pending:!0,data:j,method:m.method,action:b},null,j)}}else typeof b=="function"&&(R.preventDefault(),j=w?m3(m,w):new FormData(m),Jh(l,{pending:!0,data:j,method:m.method,action:b},b,j))},currentTarget:m}]})}}for(var Lp=0;Lp<yh.length;Lp++){var Ip=yh[Lp],y7=Ip.toLowerCase(),b7=Ip[0].toUpperCase()+Ip.slice(1);ji(y7,"on"+b7)}ji(Qv,"onAnimationEnd"),ji(Xv,"onAnimationIteration"),ji(Zv,"onAnimationStart"),ji("dblclick","onDoubleClick"),ji("focusin","onFocus"),ji("focusout","onBlur"),ji(FA,"onTransitionRun"),ji(jA,"onTransitionStart"),ji(PA,"onTransitionCancel"),ji(Wv,"onTransitionEnd"),Xn("onMouseEnter",["mouseout","mouseover"]),Xn("onMouseLeave",["mouseout","mouseover"]),Xn("onPointerEnter",["pointerout","pointerover"]),Xn("onPointerLeave",["pointerout","pointerover"]),Pn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Pn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Pn("onBeforeInput",["compositionend","keypress","textInput","paste"]),Pn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Pn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Pn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Sl="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),x7=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Sl));function g3(u,s){s=(s&4)!==0;for(var l=0;l<u.length;l++){var d=u[l],m=d.event;d=d.listeners;e:{var b=void 0;if(s)for(var w=d.length-1;0<=w;w--){var R=d[w],j=R.instance,Z=R.currentTarget;if(R=R.listener,j!==b&&m.isPropagationStopped())break e;b=R,m.currentTarget=Z;try{b(m)}catch(se){If(se)}m.currentTarget=null,b=j}else for(w=0;w<d.length;w++){if(R=d[w],j=R.instance,Z=R.currentTarget,R=R.listener,j!==b&&m.isPropagationStopped())break e;b=R,m.currentTarget=Z;try{b(m)}catch(se){If(se)}m.currentTarget=null,b=j}}}}function Pe(u,s){var l=s[rr];l===void 0&&(l=s[rr]=new Set);var d=u+"__bubble";l.has(d)||(v3(s,u,2,!1),l.add(d))}function Fp(u,s,l){var d=0;s&&(d|=4),v3(l,u,d,s)}var Xf="_reactListening"+Math.random().toString(36).slice(2);function jp(u){if(!u[Xf]){u[Xf]=!0,fs.forEach(function(l){l!=="selectionchange"&&(x7.has(l)||Fp(l,!1,u),Fp(l,!0,u))});var s=u.nodeType===9?u:u.ownerDocument;s===null||s[Xf]||(s[Xf]=!0,Fp("selectionchange",!1,s))}}function v3(u,s,l,d){switch($3(s)){case 2:var m=Y7;break;case 8:m=Q7;break;default:m=Wp}l=m.bind(null,s,l,u),m=void 0,!uh||s!=="touchstart"&&s!=="touchmove"&&s!=="wheel"||(m=!0),d?m!==void 0?u.addEventListener(s,l,{capture:!0,passive:m}):u.addEventListener(s,l,!0):m!==void 0?u.addEventListener(s,l,{passive:m}):u.addEventListener(s,l,!1)}function Pp(u,s,l,d,m){var b=d;if((s&1)===0&&(s&2)===0&&d!==null)e:for(;;){if(d===null)return;var w=d.tag;if(w===3||w===4){var R=d.stateNode.containerInfo;if(R===m)break;if(w===4)for(w=d.return;w!==null;){var j=w.tag;if((j===3||j===4)&&w.stateNode.containerInfo===m)return;w=w.return}for(;R!==null;){if(w=ur(R),w===null)return;if(j=w.tag,j===5||j===6||j===26||j===27){d=b=w;continue e}R=R.parentNode}}d=d.return}_v(function(){var Z=b,se=ih(l),de=[];e:{var J=Kv.get(u);if(J!==void 0){var ee=lf,Ae=u;switch(u){case"keypress":if(sf(l)===0)break e;case"keydown":case"keyup":ee=pA;break;case"focusin":Ae="focus",ee=lh;break;case"focusout":Ae="blur",ee=lh;break;case"beforeblur":case"afterblur":ee=lh;break;case"click":if(l.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":ee=wv;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ee=nA;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ee=vA;break;case Qv:case Xv:case Zv:ee=uA;break;case Wv:ee=bA;break;case"scroll":case"scrollend":ee=eA;break;case"wheel":ee=EA;break;case"copy":case"cut":case"paste":ee=sA;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ee=Nv;break;case"toggle":case"beforetoggle":ee=SA}var _e=(s&4)!==0,at=!_e&&(u==="scroll"||u==="scrollend"),G=_e?J!==null?J+"Capture":null:J;_e=[];for(var U=Z,Q;U!==null;){var ae=U;if(Q=ae.stateNode,ae=ae.tag,ae!==5&&ae!==26&&ae!==27||Q===null||G===null||(ae=Ua(U,G),ae!=null&&_e.push(_l(U,ae,Q))),at)break;U=U.return}0<_e.length&&(J=new ee(J,Ae,null,l,se),de.push({event:J,listeners:_e}))}}if((s&7)===0){e:{if(J=u==="mouseover"||u==="pointerover",ee=u==="mouseout"||u==="pointerout",J&&l!==$a&&(Ae=l.relatedTarget||l.fromElement)&&(ur(Ae)||Ae[Tu]))break e;if((ee||J)&&(J=se.window===se?se:(J=se.ownerDocument)?J.defaultView||J.parentWindow:window,ee?(Ae=l.relatedTarget||l.toElement,ee=Z,Ae=Ae?ur(Ae):null,Ae!==null&&(at=o(Ae),_e=Ae.tag,Ae!==at||_e!==5&&_e!==27&&_e!==6)&&(Ae=null)):(ee=null,Ae=Z),ee!==Ae)){if(_e=wv,ae="onMouseLeave",G="onMouseEnter",U="mouse",(u==="pointerout"||u==="pointerover")&&(_e=Nv,ae="onPointerLeave",G="onPointerEnter",U="pointer"),at=ee==null?J:pi(ee),Q=Ae==null?J:pi(Ae),J=new _e(ae,U+"leave",ee,l,se),J.target=at,J.relatedTarget=Q,ae=null,ur(se)===Z&&(_e=new _e(G,U+"enter",Ae,l,se),_e.target=Q,_e.relatedTarget=at,ae=_e),at=ae,ee&&Ae)t:{for(_e=ee,G=Ae,U=0,Q=_e;Q;Q=zs(Q))U++;for(Q=0,ae=G;ae;ae=zs(ae))Q++;for(;0<U-Q;)_e=zs(_e),U--;for(;0<Q-U;)G=zs(G),Q--;for(;U--;){if(_e===G||G!==null&&_e===G.alternate)break t;_e=zs(_e),G=zs(G)}_e=null}else _e=null;ee!==null&&y3(de,J,ee,_e,!1),Ae!==null&&at!==null&&y3(de,at,Ae,_e,!0)}}e:{if(J=Z?pi(Z):window,ee=J.nodeName&&J.nodeName.toLowerCase(),ee==="select"||ee==="input"&&J.type==="file")var ye=jv;else if(Iv(J))if(Pv)ye=kA;else{ye=RA;var Ie=OA}else ee=J.nodeName,!ee||ee.toLowerCase()!=="input"||J.type!=="checkbox"&&J.type!=="radio"?Z&&zt(Z.elementType)&&(ye=jv):ye=MA;if(ye&&(ye=ye(u,Z))){Fv(de,ye,l,se);break e}Ie&&Ie(u,J,Z),u==="focusout"&&Z&&J.type==="number"&&Z.memoizedProps.value!=null&&wu(J,"number",J.value)}switch(Ie=Z?pi(Z):window,u){case"focusin":(Iv(Ie)||Ie.contentEditable==="true")&&(bs=Ie,mh=Z,Za=null);break;case"focusout":Za=mh=bs=null;break;case"mousedown":gh=!0;break;case"contextmenu":case"mouseup":case"dragend":gh=!1,Gv(de,l,se);break;case"selectionchange":if(IA)break;case"keydown":case"keyup":Gv(de,l,se)}var Ee;if(fh)e:{switch(u){case"compositionstart":var Ce="onCompositionStart";break e;case"compositionend":Ce="onCompositionEnd";break e;case"compositionupdate":Ce="onCompositionUpdate";break e}Ce=void 0}else ys?kv(u,l)&&(Ce="onCompositionEnd"):u==="keydown"&&l.keyCode===229&&(Ce="onCompositionStart");Ce&&(Ov&&l.locale!=="ko"&&(ys||Ce!=="onCompositionStart"?Ce==="onCompositionEnd"&&ys&&(Ee=Cv()):(Du=se,oh="value"in Du?Du.value:Du.textContent,ys=!0)),Ie=Zf(Z,Ce),0<Ie.length&&(Ce=new Dv(Ce,u,null,l,se),de.push({event:Ce,listeners:Ie}),Ee?Ce.data=Ee:(Ee=Lv(l),Ee!==null&&(Ce.data=Ee)))),(Ee=CA?AA(u,l):wA(u,l))&&(Ce=Zf(Z,"onBeforeInput"),0<Ce.length&&(Ie=new Dv("onBeforeInput","beforeinput",null,l,se),de.push({event:Ie,listeners:Ce}),Ie.data=Ee)),v7(de,u,Z,l,se)}g3(de,s)})}function _l(u,s,l){return{instance:u,listener:s,currentTarget:l}}function Zf(u,s){for(var l=s+"Capture",d=[];u!==null;){var m=u,b=m.stateNode;if(m=m.tag,m!==5&&m!==26&&m!==27||b===null||(m=Ua(u,l),m!=null&&d.unshift(_l(u,m,b)),m=Ua(u,s),m!=null&&d.push(_l(u,m,b))),u.tag===3)return d;u=u.return}return[]}function zs(u){if(u===null)return null;do u=u.return;while(u&&u.tag!==5&&u.tag!==27);return u||null}function y3(u,s,l,d,m){for(var b=s._reactName,w=[];l!==null&&l!==d;){var R=l,j=R.alternate,Z=R.stateNode;if(R=R.tag,j!==null&&j===d)break;R!==5&&R!==26&&R!==27||Z===null||(j=Z,m?(Z=Ua(l,b),Z!=null&&w.unshift(_l(l,Z,j))):m||(Z=Ua(l,b),Z!=null&&w.push(_l(l,Z,j)))),l=l.return}w.length!==0&&u.push({event:s,listeners:w})}var E7=/\r\n?/g,T7=/\u0000|\uFFFD/g;function b3(u){return(typeof u=="string"?u:""+u).replace(E7,`
|
|
50
|
+
`).replace(T7,"")}function x3(u,s){return s=b3(s),b3(u)===s}function Wf(){}function st(u,s,l,d,m,b){switch(l){case"children":typeof d=="string"?s==="body"||s==="textarea"&&d===""||Kn(u,d):(typeof d=="number"||typeof d=="bigint")&&s!=="body"&&Kn(u,""+d);break;case"className":Ii(u,"class",d);break;case"tabIndex":Ii(u,"tabindex",d);break;case"dir":case"role":case"viewBox":case"width":case"height":Ii(u,l,d);break;case"style":vt(u,d,b);break;case"data":if(s!=="object"){Ii(u,"data",d);break}case"src":case"href":if(d===""&&(s!=="a"||l!=="href")){u.removeAttribute(l);break}if(d==null||typeof d=="function"||typeof d=="symbol"||typeof d=="boolean"){u.removeAttribute(l);break}d=Ba(""+d),u.setAttribute(l,d);break;case"action":case"formAction":if(typeof d=="function"){u.setAttribute(l,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof b=="function"&&(l==="formAction"?(s!=="input"&&st(u,s,"name",m.name,m,null),st(u,s,"formEncType",m.formEncType,m,null),st(u,s,"formMethod",m.formMethod,m,null),st(u,s,"formTarget",m.formTarget,m,null)):(st(u,s,"encType",m.encType,m,null),st(u,s,"method",m.method,m,null),st(u,s,"target",m.target,m,null)));if(d==null||typeof d=="symbol"||typeof d=="boolean"){u.removeAttribute(l);break}d=Ba(""+d),u.setAttribute(l,d);break;case"onClick":d!=null&&(u.onclick=Wf);break;case"onScroll":d!=null&&Pe("scroll",u);break;case"onScrollEnd":d!=null&&Pe("scrollend",u);break;case"dangerouslySetInnerHTML":if(d!=null){if(typeof d!="object"||!("__html"in d))throw Error(i(61));if(l=d.__html,l!=null){if(m.children!=null)throw Error(i(60));u.innerHTML=l}}break;case"multiple":u.multiple=d&&typeof d!="function"&&typeof d!="symbol";break;case"muted":u.muted=d&&typeof d!="function"&&typeof d!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(d==null||typeof d=="function"||typeof d=="boolean"||typeof d=="symbol"){u.removeAttribute("xlink:href");break}l=Ba(""+d),u.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":d!=null&&typeof d!="function"&&typeof d!="symbol"?u.setAttribute(l,""+d):u.removeAttribute(l);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":d&&typeof d!="function"&&typeof d!="symbol"?u.setAttribute(l,""):u.removeAttribute(l);break;case"capture":case"download":d===!0?u.setAttribute(l,""):d!==!1&&d!=null&&typeof d!="function"&&typeof d!="symbol"?u.setAttribute(l,d):u.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":d!=null&&typeof d!="function"&&typeof d!="symbol"&&!isNaN(d)&&1<=d?u.setAttribute(l,d):u.removeAttribute(l);break;case"rowSpan":case"start":d==null||typeof d=="function"||typeof d=="symbol"||isNaN(d)?u.removeAttribute(l):u.setAttribute(l,d);break;case"popover":Pe("beforetoggle",u),Pe("toggle",u),Li(u,"popover",d);break;case"xlinkActuate":xn(u,"http://www.w3.org/1999/xlink","xlink:actuate",d);break;case"xlinkArcrole":xn(u,"http://www.w3.org/1999/xlink","xlink:arcrole",d);break;case"xlinkRole":xn(u,"http://www.w3.org/1999/xlink","xlink:role",d);break;case"xlinkShow":xn(u,"http://www.w3.org/1999/xlink","xlink:show",d);break;case"xlinkTitle":xn(u,"http://www.w3.org/1999/xlink","xlink:title",d);break;case"xlinkType":xn(u,"http://www.w3.org/1999/xlink","xlink:type",d);break;case"xmlBase":xn(u,"http://www.w3.org/XML/1998/namespace","xml:base",d);break;case"xmlLang":xn(u,"http://www.w3.org/XML/1998/namespace","xml:lang",d);break;case"xmlSpace":xn(u,"http://www.w3.org/XML/1998/namespace","xml:space",d);break;case"is":Li(u,"is",d);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=An.get(l)||l,Li(u,l,d))}}function Vp(u,s,l,d,m,b){switch(l){case"style":vt(u,d,b);break;case"dangerouslySetInnerHTML":if(d!=null){if(typeof d!="object"||!("__html"in d))throw Error(i(61));if(l=d.__html,l!=null){if(m.children!=null)throw Error(i(60));u.innerHTML=l}}break;case"children":typeof d=="string"?Kn(u,d):(typeof d=="number"||typeof d=="bigint")&&Kn(u,""+d);break;case"onScroll":d!=null&&Pe("scroll",u);break;case"onScrollEnd":d!=null&&Pe("scrollend",u);break;case"onClick":d!=null&&(u.onclick=Wf);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!jr.hasOwnProperty(l))e:{if(l[0]==="o"&&l[1]==="n"&&(m=l.endsWith("Capture"),s=l.slice(2,m?l.length-7:void 0),b=u[Jt]||null,b=b!=null?b[l]:null,typeof b=="function"&&u.removeEventListener(s,b,m),typeof d=="function")){typeof b!="function"&&b!==null&&(l in u?u[l]=null:u.hasAttribute(l)&&u.removeAttribute(l)),u.addEventListener(s,d,m);break e}l in u?u[l]=d:d===!0?u.setAttribute(l,""):Li(u,l,d)}}}function pn(u,s,l){switch(s){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Pe("error",u),Pe("load",u);var d=!1,m=!1,b;for(b in l)if(l.hasOwnProperty(b)){var w=l[b];if(w!=null)switch(b){case"src":d=!0;break;case"srcSet":m=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(i(137,s));default:st(u,s,b,w,l,null)}}m&&st(u,s,"srcSet",l.srcSet,l,null),d&&st(u,s,"src",l.src,l,null);return;case"input":Pe("invalid",u);var R=b=w=m=null,j=null,Z=null;for(d in l)if(l.hasOwnProperty(d)){var se=l[d];if(se!=null)switch(d){case"name":m=se;break;case"type":w=se;break;case"checked":j=se;break;case"defaultChecked":Z=se;break;case"value":b=se;break;case"defaultValue":R=se;break;case"children":case"dangerouslySetInnerHTML":if(se!=null)throw Error(i(137,s));break;default:st(u,s,d,se,l,null)}}ps(u,b,R,j,Z,w,m,!1),Fi(u);return;case"select":Pe("invalid",u),d=w=b=null;for(m in l)if(l.hasOwnProperty(m)&&(R=l[m],R!=null))switch(m){case"value":b=R;break;case"defaultValue":w=R;break;case"multiple":d=R;default:st(u,s,m,R,l,null)}s=b,l=w,u.multiple=!!d,s!=null?Wn(u,!!d,s,!1):l!=null&&Wn(u,!!d,l,!0);return;case"textarea":Pe("invalid",u),b=m=d=null;for(w in l)if(l.hasOwnProperty(w)&&(R=l[w],R!=null))switch(w){case"value":d=R;break;case"defaultValue":m=R;break;case"children":b=R;break;case"dangerouslySetInnerHTML":if(R!=null)throw Error(i(91));break;default:st(u,s,w,R,l,null)}Hr(u,d,m,b),Fi(u);return;case"option":for(j in l)if(l.hasOwnProperty(j)&&(d=l[j],d!=null))switch(j){case"selected":u.selected=d&&typeof d!="function"&&typeof d!="symbol";break;default:st(u,s,j,d,l,null)}return;case"dialog":Pe("beforetoggle",u),Pe("toggle",u),Pe("cancel",u),Pe("close",u);break;case"iframe":case"object":Pe("load",u);break;case"video":case"audio":for(d=0;d<Sl.length;d++)Pe(Sl[d],u);break;case"image":Pe("error",u),Pe("load",u);break;case"details":Pe("toggle",u);break;case"embed":case"source":case"link":Pe("error",u),Pe("load",u);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(Z in l)if(l.hasOwnProperty(Z)&&(d=l[Z],d!=null))switch(Z){case"children":case"dangerouslySetInnerHTML":throw Error(i(137,s));default:st(u,s,Z,d,l,null)}return;default:if(zt(s)){for(se in l)l.hasOwnProperty(se)&&(d=l[se],d!==void 0&&Vp(u,s,se,d,l,void 0));return}}for(R in l)l.hasOwnProperty(R)&&(d=l[R],d!=null&&st(u,s,R,d,l,null))}function S7(u,s,l,d){switch(s){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var m=null,b=null,w=null,R=null,j=null,Z=null,se=null;for(ee in l){var de=l[ee];if(l.hasOwnProperty(ee)&&de!=null)switch(ee){case"checked":break;case"value":break;case"defaultValue":j=de;default:d.hasOwnProperty(ee)||st(u,s,ee,null,d,de)}}for(var J in d){var ee=d[J];if(de=l[J],d.hasOwnProperty(J)&&(ee!=null||de!=null))switch(J){case"type":b=ee;break;case"name":m=ee;break;case"checked":Z=ee;break;case"defaultChecked":se=ee;break;case"value":w=ee;break;case"defaultValue":R=ee;break;case"children":case"dangerouslySetInnerHTML":if(ee!=null)throw Error(i(137,s));break;default:ee!==de&&st(u,s,J,ee,d,de)}}lr(u,w,R,j,Z,se,b,m);return;case"select":ee=w=R=J=null;for(b in l)if(j=l[b],l.hasOwnProperty(b)&&j!=null)switch(b){case"value":break;case"multiple":ee=j;default:d.hasOwnProperty(b)||st(u,s,b,null,d,j)}for(m in d)if(b=d[m],j=l[m],d.hasOwnProperty(m)&&(b!=null||j!=null))switch(m){case"value":J=b;break;case"defaultValue":R=b;break;case"multiple":w=b;default:b!==j&&st(u,s,m,b,d,j)}s=R,l=w,d=ee,J!=null?Wn(u,!!l,J,!1):!!d!=!!l&&(s!=null?Wn(u,!!l,s,!0):Wn(u,!!l,l?[]:"",!1));return;case"textarea":ee=J=null;for(R in l)if(m=l[R],l.hasOwnProperty(R)&&m!=null&&!d.hasOwnProperty(R))switch(R){case"value":break;case"children":break;default:st(u,s,R,null,d,m)}for(w in d)if(m=d[w],b=l[w],d.hasOwnProperty(w)&&(m!=null||b!=null))switch(w){case"value":J=m;break;case"defaultValue":ee=m;break;case"children":break;case"dangerouslySetInnerHTML":if(m!=null)throw Error(i(91));break;default:m!==b&&st(u,s,w,m,d,b)}zr(u,J,ee);return;case"option":for(var Ae in l)if(J=l[Ae],l.hasOwnProperty(Ae)&&J!=null&&!d.hasOwnProperty(Ae))switch(Ae){case"selected":u.selected=!1;break;default:st(u,s,Ae,null,d,J)}for(j in d)if(J=d[j],ee=l[j],d.hasOwnProperty(j)&&J!==ee&&(J!=null||ee!=null))switch(j){case"selected":u.selected=J&&typeof J!="function"&&typeof J!="symbol";break;default:st(u,s,j,J,d,ee)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var _e in l)J=l[_e],l.hasOwnProperty(_e)&&J!=null&&!d.hasOwnProperty(_e)&&st(u,s,_e,null,d,J);for(Z in d)if(J=d[Z],ee=l[Z],d.hasOwnProperty(Z)&&J!==ee&&(J!=null||ee!=null))switch(Z){case"children":case"dangerouslySetInnerHTML":if(J!=null)throw Error(i(137,s));break;default:st(u,s,Z,J,d,ee)}return;default:if(zt(s)){for(var at in l)J=l[at],l.hasOwnProperty(at)&&J!==void 0&&!d.hasOwnProperty(at)&&Vp(u,s,at,void 0,d,J);for(se in d)J=d[se],ee=l[se],!d.hasOwnProperty(se)||J===ee||J===void 0&&ee===void 0||Vp(u,s,se,J,d,ee);return}}for(var G in l)J=l[G],l.hasOwnProperty(G)&&J!=null&&!d.hasOwnProperty(G)&&st(u,s,G,null,d,J);for(de in d)J=d[de],ee=l[de],!d.hasOwnProperty(de)||J===ee||J==null&&ee==null||st(u,s,de,J,d,ee)}var Bp=null,$p=null;function Kf(u){return u.nodeType===9?u:u.ownerDocument}function E3(u){switch(u){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function T3(u,s){if(u===0)switch(s){case"svg":return 1;case"math":return 2;default:return 0}return u===1&&s==="foreignObject"?0:u}function Up(u,s){return u==="textarea"||u==="noscript"||typeof s.children=="string"||typeof s.children=="number"||typeof s.children=="bigint"||typeof s.dangerouslySetInnerHTML=="object"&&s.dangerouslySetInnerHTML!==null&&s.dangerouslySetInnerHTML.__html!=null}var zp=null;function _7(){var u=window.event;return u&&u.type==="popstate"?u===zp?!1:(zp=u,!0):(zp=null,!1)}var S3=typeof setTimeout=="function"?setTimeout:void 0,C7=typeof clearTimeout=="function"?clearTimeout:void 0,_3=typeof Promise=="function"?Promise:void 0,A7=typeof queueMicrotask=="function"?queueMicrotask:typeof _3<"u"?function(u){return _3.resolve(null).then(u).catch(w7)}:S3;function w7(u){setTimeout(function(){throw u})}function Hu(u){return u==="head"}function C3(u,s){var l=s,d=0,m=0;do{var b=l.nextSibling;if(u.removeChild(l),b&&b.nodeType===8)if(l=b.data,l==="/$"){if(0<d&&8>d){l=d;var w=u.ownerDocument;if(l&1&&Cl(w.documentElement),l&2&&Cl(w.body),l&4)for(l=w.head,Cl(l),w=l.firstChild;w;){var R=w.nextSibling,j=w.nodeName;w[hi]||j==="SCRIPT"||j==="STYLE"||j==="LINK"&&w.rel.toLowerCase()==="stylesheet"||l.removeChild(w),w=R}}if(m===0){u.removeChild(b),kl(s);return}m--}else l==="$"||l==="$?"||l==="$!"?m++:d=l.charCodeAt(0)-48;else d=0;l=b}while(l);kl(s)}function Hp(u){var s=u.firstChild;for(s&&s.nodeType===10&&(s=s.nextSibling);s;){var l=s;switch(s=s.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":Hp(l),ja(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}u.removeChild(l)}}function D7(u,s,l,d){for(;u.nodeType===1;){var m=l;if(u.nodeName.toLowerCase()!==s.toLowerCase()){if(!d&&(u.nodeName!=="INPUT"||u.type!=="hidden"))break}else if(d){if(!u[hi])switch(s){case"meta":if(!u.hasAttribute("itemprop"))break;return u;case"link":if(b=u.getAttribute("rel"),b==="stylesheet"&&u.hasAttribute("data-precedence"))break;if(b!==m.rel||u.getAttribute("href")!==(m.href==null||m.href===""?null:m.href)||u.getAttribute("crossorigin")!==(m.crossOrigin==null?null:m.crossOrigin)||u.getAttribute("title")!==(m.title==null?null:m.title))break;return u;case"style":if(u.hasAttribute("data-precedence"))break;return u;case"script":if(b=u.getAttribute("src"),(b!==(m.src==null?null:m.src)||u.getAttribute("type")!==(m.type==null?null:m.type)||u.getAttribute("crossorigin")!==(m.crossOrigin==null?null:m.crossOrigin))&&b&&u.hasAttribute("async")&&!u.hasAttribute("itemprop"))break;return u;default:return u}}else if(s==="input"&&u.type==="hidden"){var b=m.name==null?null:""+m.name;if(m.type==="hidden"&&u.getAttribute("name")===b)return u}else return u;if(u=Vi(u.nextSibling),u===null)break}return null}function N7(u,s,l){if(s==="")return null;for(;u.nodeType!==3;)if((u.nodeType!==1||u.nodeName!=="INPUT"||u.type!=="hidden")&&!l||(u=Vi(u.nextSibling),u===null))return null;return u}function qp(u){return u.data==="$!"||u.data==="$?"&&u.ownerDocument.readyState==="complete"}function O7(u,s){var l=u.ownerDocument;if(u.data!=="$?"||l.readyState==="complete")s();else{var d=function(){s(),l.removeEventListener("DOMContentLoaded",d)};l.addEventListener("DOMContentLoaded",d),u._reactRetry=d}}function Vi(u){for(;u!=null;u=u.nextSibling){var s=u.nodeType;if(s===1||s===3)break;if(s===8){if(s=u.data,s==="$"||s==="$!"||s==="$?"||s==="F!"||s==="F")break;if(s==="/$")return null}}return u}var Gp=null;function A3(u){u=u.previousSibling;for(var s=0;u;){if(u.nodeType===8){var l=u.data;if(l==="$"||l==="$!"||l==="$?"){if(s===0)return u;s--}else l==="/$"&&s++}u=u.previousSibling}return null}function w3(u,s,l){switch(s=Kf(l),u){case"html":if(u=s.documentElement,!u)throw Error(i(452));return u;case"head":if(u=s.head,!u)throw Error(i(453));return u;case"body":if(u=s.body,!u)throw Error(i(454));return u;default:throw Error(i(451))}}function Cl(u){for(var s=u.attributes;s.length;)u.removeAttributeNode(s[0]);ja(u)}var Ei=new Map,D3=new Set;function Jf(u){return typeof u.getRootNode=="function"?u.getRootNode():u.nodeType===9?u:u.ownerDocument}var ru=H.d;H.d={f:R7,r:M7,D:k7,C:L7,L:I7,m:F7,X:P7,S:j7,M:V7};function R7(){var u=ru.f(),s=Hf();return u||s}function M7(u){var s=Yn(u);s!==null&&s.tag===5&&s.type==="form"?Qy(s):ru.r(u)}var Hs=typeof document>"u"?null:document;function N3(u,s,l){var d=Hs;if(d&&typeof s=="string"&&s){var m=Qt(s);m='link[rel="'+u+'"][href="'+m+'"]',typeof l=="string"&&(m+='[crossorigin="'+l+'"]'),D3.has(m)||(D3.add(m),u={rel:u,crossOrigin:l,href:s},d.querySelector(m)===null&&(s=d.createElement("link"),pn(s,"link",u),wt(s),d.head.appendChild(s)))}}function k7(u){ru.D(u),N3("dns-prefetch",u,null)}function L7(u,s){ru.C(u,s),N3("preconnect",u,s)}function I7(u,s,l){ru.L(u,s,l);var d=Hs;if(d&&u&&s){var m='link[rel="preload"][as="'+Qt(s)+'"]';s==="image"&&l&&l.imageSrcSet?(m+='[imagesrcset="'+Qt(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(m+='[imagesizes="'+Qt(l.imageSizes)+'"]')):m+='[href="'+Qt(u)+'"]';var b=m;switch(s){case"style":b=qs(u);break;case"script":b=Gs(u)}Ei.has(b)||(u=p({rel:"preload",href:s==="image"&&l&&l.imageSrcSet?void 0:u,as:s},l),Ei.set(b,u),d.querySelector(m)!==null||s==="style"&&d.querySelector(Al(b))||s==="script"&&d.querySelector(wl(b))||(s=d.createElement("link"),pn(s,"link",u),wt(s),d.head.appendChild(s)))}}function F7(u,s){ru.m(u,s);var l=Hs;if(l&&u){var d=s&&typeof s.as=="string"?s.as:"script",m='link[rel="modulepreload"][as="'+Qt(d)+'"][href="'+Qt(u)+'"]',b=m;switch(d){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":b=Gs(u)}if(!Ei.has(b)&&(u=p({rel:"modulepreload",href:u},s),Ei.set(b,u),l.querySelector(m)===null)){switch(d){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(wl(b)))return}d=l.createElement("link"),pn(d,"link",u),wt(d),l.head.appendChild(d)}}}function j7(u,s,l){ru.S(u,s,l);var d=Hs;if(d&&u){var m=Qn(d).hoistableStyles,b=qs(u);s=s||"default";var w=m.get(b);if(!w){var R={loading:0,preload:null};if(w=d.querySelector(Al(b)))R.loading=5;else{u=p({rel:"stylesheet",href:u,"data-precedence":s},l),(l=Ei.get(b))&&Yp(u,l);var j=w=d.createElement("link");wt(j),pn(j,"link",u),j._p=new Promise(function(Z,se){j.onload=Z,j.onerror=se}),j.addEventListener("load",function(){R.loading|=1}),j.addEventListener("error",function(){R.loading|=2}),R.loading|=4,ed(w,s,d)}w={type:"stylesheet",instance:w,count:1,state:R},m.set(b,w)}}}function P7(u,s){ru.X(u,s);var l=Hs;if(l&&u){var d=Qn(l).hoistableScripts,m=Gs(u),b=d.get(m);b||(b=l.querySelector(wl(m)),b||(u=p({src:u,async:!0},s),(s=Ei.get(m))&&Qp(u,s),b=l.createElement("script"),wt(b),pn(b,"link",u),l.head.appendChild(b)),b={type:"script",instance:b,count:1,state:null},d.set(m,b))}}function V7(u,s){ru.M(u,s);var l=Hs;if(l&&u){var d=Qn(l).hoistableScripts,m=Gs(u),b=d.get(m);b||(b=l.querySelector(wl(m)),b||(u=p({src:u,async:!0,type:"module"},s),(s=Ei.get(m))&&Qp(u,s),b=l.createElement("script"),wt(b),pn(b,"link",u),l.head.appendChild(b)),b={type:"script",instance:b,count:1,state:null},d.set(m,b))}}function O3(u,s,l,d){var m=(m=oe.current)?Jf(m):null;if(!m)throw Error(i(446));switch(u){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(s=qs(l.href),l=Qn(m).hoistableStyles,d=l.get(s),d||(d={type:"style",instance:null,count:0,state:null},l.set(s,d)),d):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){u=qs(l.href);var b=Qn(m).hoistableStyles,w=b.get(u);if(w||(m=m.ownerDocument||m,w={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},b.set(u,w),(b=m.querySelector(Al(u)))&&!b._p&&(w.instance=b,w.state.loading=5),Ei.has(u)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},Ei.set(u,l),b||B7(m,u,l,w.state))),s&&d===null)throw Error(i(528,""));return w}if(s&&d!==null)throw Error(i(529,""));return null;case"script":return s=l.async,l=l.src,typeof l=="string"&&s&&typeof s!="function"&&typeof s!="symbol"?(s=Gs(l),l=Qn(m).hoistableScripts,d=l.get(s),d||(d={type:"script",instance:null,count:0,state:null},l.set(s,d)),d):{type:"void",instance:null,count:0,state:null};default:throw Error(i(444,u))}}function qs(u){return'href="'+Qt(u)+'"'}function Al(u){return'link[rel="stylesheet"]['+u+"]"}function R3(u){return p({},u,{"data-precedence":u.precedence,precedence:null})}function B7(u,s,l,d){u.querySelector('link[rel="preload"][as="style"]['+s+"]")?d.loading=1:(s=u.createElement("link"),d.preload=s,s.addEventListener("load",function(){return d.loading|=1}),s.addEventListener("error",function(){return d.loading|=2}),pn(s,"link",l),wt(s),u.head.appendChild(s))}function Gs(u){return'[src="'+Qt(u)+'"]'}function wl(u){return"script[async]"+u}function M3(u,s,l){if(s.count++,s.instance===null)switch(s.type){case"style":var d=u.querySelector('style[data-href~="'+Qt(l.href)+'"]');if(d)return s.instance=d,wt(d),d;var m=p({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return d=(u.ownerDocument||u).createElement("style"),wt(d),pn(d,"style",m),ed(d,l.precedence,u),s.instance=d;case"stylesheet":m=qs(l.href);var b=u.querySelector(Al(m));if(b)return s.state.loading|=4,s.instance=b,wt(b),b;d=R3(l),(m=Ei.get(m))&&Yp(d,m),b=(u.ownerDocument||u).createElement("link"),wt(b);var w=b;return w._p=new Promise(function(R,j){w.onload=R,w.onerror=j}),pn(b,"link",d),s.state.loading|=4,ed(b,l.precedence,u),s.instance=b;case"script":return b=Gs(l.src),(m=u.querySelector(wl(b)))?(s.instance=m,wt(m),m):(d=l,(m=Ei.get(b))&&(d=p({},l),Qp(d,m)),u=u.ownerDocument||u,m=u.createElement("script"),wt(m),pn(m,"link",d),u.head.appendChild(m),s.instance=m);case"void":return null;default:throw Error(i(443,s.type))}else s.type==="stylesheet"&&(s.state.loading&4)===0&&(d=s.instance,s.state.loading|=4,ed(d,l.precedence,u));return s.instance}function ed(u,s,l){for(var d=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),m=d.length?d[d.length-1]:null,b=m,w=0;w<d.length;w++){var R=d[w];if(R.dataset.precedence===s)b=R;else if(b!==m)break}b?b.parentNode.insertBefore(u,b.nextSibling):(s=l.nodeType===9?l.head:l,s.insertBefore(u,s.firstChild))}function Yp(u,s){u.crossOrigin==null&&(u.crossOrigin=s.crossOrigin),u.referrerPolicy==null&&(u.referrerPolicy=s.referrerPolicy),u.title==null&&(u.title=s.title)}function Qp(u,s){u.crossOrigin==null&&(u.crossOrigin=s.crossOrigin),u.referrerPolicy==null&&(u.referrerPolicy=s.referrerPolicy),u.integrity==null&&(u.integrity=s.integrity)}var td=null;function k3(u,s,l){if(td===null){var d=new Map,m=td=new Map;m.set(l,d)}else m=td,d=m.get(l),d||(d=new Map,m.set(l,d));if(d.has(u))return d;for(d.set(u,null),l=l.getElementsByTagName(u),m=0;m<l.length;m++){var b=l[m];if(!(b[hi]||b[_t]||u==="link"&&b.getAttribute("rel")==="stylesheet")&&b.namespaceURI!=="http://www.w3.org/2000/svg"){var w=b.getAttribute(s)||"";w=u+w;var R=d.get(w);R?R.push(b):d.set(w,[b])}}return d}function L3(u,s,l){u=u.ownerDocument||u,u.head.insertBefore(l,s==="title"?u.querySelector("head > title"):null)}function $7(u,s,l){if(l===1||s.itemProp!=null)return!1;switch(u){case"meta":case"title":return!0;case"style":if(typeof s.precedence!="string"||typeof s.href!="string"||s.href==="")break;return!0;case"link":if(typeof s.rel!="string"||typeof s.href!="string"||s.href===""||s.onLoad||s.onError)break;switch(s.rel){case"stylesheet":return u=s.disabled,typeof s.precedence=="string"&&u==null;default:return!0}case"script":if(s.async&&typeof s.async!="function"&&typeof s.async!="symbol"&&!s.onLoad&&!s.onError&&s.src&&typeof s.src=="string")return!0}return!1}function I3(u){return!(u.type==="stylesheet"&&(u.state.loading&3)===0)}var Dl=null;function U7(){}function z7(u,s,l){if(Dl===null)throw Error(i(475));var d=Dl;if(s.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(s.state.loading&4)===0){if(s.instance===null){var m=qs(l.href),b=u.querySelector(Al(m));if(b){u=b._p,u!==null&&typeof u=="object"&&typeof u.then=="function"&&(d.count++,d=nd.bind(d),u.then(d,d)),s.state.loading|=4,s.instance=b,wt(b);return}b=u.ownerDocument||u,l=R3(l),(m=Ei.get(m))&&Yp(l,m),b=b.createElement("link"),wt(b);var w=b;w._p=new Promise(function(R,j){w.onload=R,w.onerror=j}),pn(b,"link",l),s.instance=b}d.stylesheets===null&&(d.stylesheets=new Map),d.stylesheets.set(s,u),(u=s.state.preload)&&(s.state.loading&3)===0&&(d.count++,s=nd.bind(d),u.addEventListener("load",s),u.addEventListener("error",s))}}function H7(){if(Dl===null)throw Error(i(475));var u=Dl;return u.stylesheets&&u.count===0&&Xp(u,u.stylesheets),0<u.count?function(s){var l=setTimeout(function(){if(u.stylesheets&&Xp(u,u.stylesheets),u.unsuspend){var d=u.unsuspend;u.unsuspend=null,d()}},6e4);return u.unsuspend=s,function(){u.unsuspend=null,clearTimeout(l)}}:null}function nd(){if(this.count--,this.count===0){if(this.stylesheets)Xp(this,this.stylesheets);else if(this.unsuspend){var u=this.unsuspend;this.unsuspend=null,u()}}}var id=null;function Xp(u,s){u.stylesheets=null,u.unsuspend!==null&&(u.count++,id=new Map,s.forEach(q7,u),id=null,nd.call(u))}function q7(u,s){if(!(s.state.loading&4)){var l=id.get(u);if(l)var d=l.get(null);else{l=new Map,id.set(u,l);for(var m=u.querySelectorAll("link[data-precedence],style[data-precedence]"),b=0;b<m.length;b++){var w=m[b];(w.nodeName==="LINK"||w.getAttribute("media")!=="not all")&&(l.set(w.dataset.precedence,w),d=w)}d&&l.set(null,d)}m=s.instance,w=m.getAttribute("data-precedence"),b=l.get(w)||d,b===d&&l.set(null,m),l.set(w,m),this.count++,d=nd.bind(this),m.addEventListener("load",d),m.addEventListener("error",d),b?b.parentNode.insertBefore(m,b.nextSibling):(u=u.nodeType===9?u.head:u,u.insertBefore(m,u.firstChild)),s.state.loading|=4}}var Nl={$$typeof:C,Provider:null,Consumer:null,_currentValue:$,_currentValue2:$,_threadCount:0};function G7(u,s,l,d,m,b,w,R){this.tag=1,this.containerInfo=u,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=nr(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=nr(0),this.hiddenUpdates=nr(null),this.identifierPrefix=d,this.onUncaughtError=m,this.onCaughtError=b,this.onRecoverableError=w,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=R,this.incompleteTransitions=new Map}function F3(u,s,l,d,m,b,w,R,j,Z,se,de){return u=new G7(u,s,l,w,R,j,Z,de),s=1,b===!0&&(s|=24),b=ei(3,null,null,s),u.current=b,b.stateNode=u,s=Oh(),s.refCount++,u.pooledCache=s,s.refCount++,b.memoizedState={element:d,isDehydrated:l,cache:s},Lh(b),u}function j3(u){return u?(u=Ss,u):Ss}function P3(u,s,l,d,m,b){m=j3(m),d.context===null?d.context=m:d.pendingContext=m,d=Ru(s),d.payload={element:l},b=b===void 0?null:b,b!==null&&(d.callback=b),l=Mu(u,d,s),l!==null&&(ui(l,u,s),ul(l,u,s))}function V3(u,s){if(u=u.memoizedState,u!==null&&u.dehydrated!==null){var l=u.retryLane;u.retryLane=l!==0&&l<s?l:s}}function Zp(u,s){V3(u,s),(u=u.alternate)&&V3(u,s)}function B3(u){if(u.tag===13){var s=Ts(u,67108864);s!==null&&ui(s,u,67108864),Zp(u,67108864)}}var rd=!0;function Y7(u,s,l,d){var m=F.T;F.T=null;var b=H.p;try{H.p=2,Wp(u,s,l,d)}finally{H.p=b,F.T=m}}function Q7(u,s,l,d){var m=F.T;F.T=null;var b=H.p;try{H.p=8,Wp(u,s,l,d)}finally{H.p=b,F.T=m}}function Wp(u,s,l,d){if(rd){var m=Kp(d);if(m===null)Pp(u,s,d,ud,l),U3(u,d);else if(Z7(m,u,s,l,d))d.stopPropagation();else if(U3(u,d),s&4&&-1<X7.indexOf(u)){for(;m!==null;){var b=Yn(m);if(b!==null)switch(b.tag){case 3:if(b=b.stateNode,b.current.memoizedState.isDehydrated){var w=jn(b.pendingLanes);if(w!==0){var R=b;for(R.pendingLanes|=2,R.entangledLanes|=2;w;){var j=1<<31-Ut(w);R.entanglements[1]|=j,w&=~j}pr(b),(it&6)===0&&(Uf=nt()+500,Tl(0))}}break;case 13:R=Ts(b,2),R!==null&&ui(R,b,2),Hf(),Zp(b,2)}if(b=Kp(d),b===null&&Pp(u,s,d,ud,l),b===m)break;m=b}m!==null&&d.stopPropagation()}else Pp(u,s,d,null,l)}}function Kp(u){return u=ih(u),Jp(u)}var ud=null;function Jp(u){if(ud=null,u=ur(u),u!==null){var s=o(u);if(s===null)u=null;else{var l=s.tag;if(l===13){if(u=a(s),u!==null)return u;u=null}else if(l===3){if(s.stateNode.current.memoizedState.isDehydrated)return s.tag===3?s.stateNode.containerInfo:null;u=null}else s!==u&&(u=null)}}return ud=u,null}function $3(u){switch(u){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(De()){case qe:return 2;case Ne:return 8;case ct:case ut:return 32;case Ye:return 268435456;default:return 32}default:return 32}}var e1=!1,qu=null,Gu=null,Yu=null,Ol=new Map,Rl=new Map,Qu=[],X7="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function U3(u,s){switch(u){case"focusin":case"focusout":qu=null;break;case"dragenter":case"dragleave":Gu=null;break;case"mouseover":case"mouseout":Yu=null;break;case"pointerover":case"pointerout":Ol.delete(s.pointerId);break;case"gotpointercapture":case"lostpointercapture":Rl.delete(s.pointerId)}}function Ml(u,s,l,d,m,b){return u===null||u.nativeEvent!==b?(u={blockedOn:s,domEventName:l,eventSystemFlags:d,nativeEvent:b,targetContainers:[m]},s!==null&&(s=Yn(s),s!==null&&B3(s)),u):(u.eventSystemFlags|=d,s=u.targetContainers,m!==null&&s.indexOf(m)===-1&&s.push(m),u)}function Z7(u,s,l,d,m){switch(s){case"focusin":return qu=Ml(qu,u,s,l,d,m),!0;case"dragenter":return Gu=Ml(Gu,u,s,l,d,m),!0;case"mouseover":return Yu=Ml(Yu,u,s,l,d,m),!0;case"pointerover":var b=m.pointerId;return Ol.set(b,Ml(Ol.get(b)||null,u,s,l,d,m)),!0;case"gotpointercapture":return b=m.pointerId,Rl.set(b,Ml(Rl.get(b)||null,u,s,l,d,m)),!0}return!1}function z3(u){var s=ur(u.target);if(s!==null){var l=o(s);if(l!==null){if(s=l.tag,s===13){if(s=a(l),s!==null){u.blockedOn=s,ls(u.priority,function(){if(l.tag===13){var d=ri();d=Fa(d);var m=Ts(l,d);m!==null&&ui(m,l,d),Zp(l,d)}});return}}else if(s===3&&l.stateNode.current.memoizedState.isDehydrated){u.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}u.blockedOn=null}function od(u){if(u.blockedOn!==null)return!1;for(var s=u.targetContainers;0<s.length;){var l=Kp(u.nativeEvent);if(l===null){l=u.nativeEvent;var d=new l.constructor(l.type,l);$a=d,l.target.dispatchEvent(d),$a=null}else return s=Yn(l),s!==null&&B3(s),u.blockedOn=l,!1;s.shift()}return!0}function H3(u,s,l){od(u)&&l.delete(s)}function W7(){e1=!1,qu!==null&&od(qu)&&(qu=null),Gu!==null&&od(Gu)&&(Gu=null),Yu!==null&&od(Yu)&&(Yu=null),Ol.forEach(H3),Rl.forEach(H3)}function sd(u,s){u.blockedOn===s&&(u.blockedOn=null,e1||(e1=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,W7)))}var ad=null;function q3(u){ad!==u&&(ad=u,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){ad===u&&(ad=null);for(var s=0;s<u.length;s+=3){var l=u[s],d=u[s+1],m=u[s+2];if(typeof d!="function"){if(Jp(d||l)===null)continue;break}var b=Yn(l);b!==null&&(u.splice(s,3),s-=3,Jh(b,{pending:!0,data:m,method:l.method,action:d},d,m))}}))}function kl(u){function s(j){return sd(j,u)}qu!==null&&sd(qu,u),Gu!==null&&sd(Gu,u),Yu!==null&&sd(Yu,u),Ol.forEach(s),Rl.forEach(s);for(var l=0;l<Qu.length;l++){var d=Qu[l];d.blockedOn===u&&(d.blockedOn=null)}for(;0<Qu.length&&(l=Qu[0],l.blockedOn===null);)z3(l),l.blockedOn===null&&Qu.shift();if(l=(u.ownerDocument||u).$$reactFormReplay,l!=null)for(d=0;d<l.length;d+=3){var m=l[d],b=l[d+1],w=m[Jt]||null;if(typeof b=="function")w||q3(l);else if(w){var R=null;if(b&&b.hasAttribute("formAction")){if(m=b,w=b[Jt]||null)R=w.formAction;else if(Jp(m)!==null)continue}else R=w.action;typeof R=="function"?l[d+1]=R:(l.splice(d,3),d-=3),q3(l)}}}function t1(u){this._internalRoot=u}ld.prototype.render=t1.prototype.render=function(u){var s=this._internalRoot;if(s===null)throw Error(i(409));var l=s.current,d=ri();P3(l,d,u,s,null,null)},ld.prototype.unmount=t1.prototype.unmount=function(){var u=this._internalRoot;if(u!==null){this._internalRoot=null;var s=u.containerInfo;P3(u.current,2,null,u,null,null),Hf(),s[Tu]=null}};function ld(u){this._internalRoot=u}ld.prototype.unstable_scheduleHydration=function(u){if(u){var s=Ir();u={blockedOn:null,target:u,priority:s};for(var l=0;l<Qu.length&&s!==0&&s<Qu[l].priority;l++);Qu.splice(l,0,u),l===0&&z3(u)}};var G3=t.version;if(G3!=="19.1.0")throw Error(i(527,G3,"19.1.0"));H.findDOMNode=function(u){var s=u._reactInternals;if(s===void 0)throw typeof u.render=="function"?Error(i(188)):(u=Object.keys(u).join(","),Error(i(268,u)));return u=f(s),u=u!==null?h(u):null,u=u===null?null:u.stateNode,u};var K7={bundleType:0,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:F,reconcilerVersion:"19.1.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var cd=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!cd.isDisabled&&cd.supportsFiber)try{$t=cd.inject(K7),kt=cd}catch{}}return Il.createRoot=function(u,s){if(!r(u))throw Error(i(299));var l=!1,d="",m=ab,b=lb,w=cb,R=null;return s!=null&&(s.unstable_strictMode===!0&&(l=!0),s.identifierPrefix!==void 0&&(d=s.identifierPrefix),s.onUncaughtError!==void 0&&(m=s.onUncaughtError),s.onCaughtError!==void 0&&(b=s.onCaughtError),s.onRecoverableError!==void 0&&(w=s.onRecoverableError),s.unstable_transitionCallbacks!==void 0&&(R=s.unstable_transitionCallbacks)),s=F3(u,1,!1,null,null,l,d,m,b,w,R,null),u[Tu]=s.current,jp(u),new t1(s)},Il.hydrateRoot=function(u,s,l){if(!r(u))throw Error(i(299));var d=!1,m="",b=ab,w=lb,R=cb,j=null,Z=null;return l!=null&&(l.unstable_strictMode===!0&&(d=!0),l.identifierPrefix!==void 0&&(m=l.identifierPrefix),l.onUncaughtError!==void 0&&(b=l.onUncaughtError),l.onCaughtError!==void 0&&(w=l.onCaughtError),l.onRecoverableError!==void 0&&(R=l.onRecoverableError),l.unstable_transitionCallbacks!==void 0&&(j=l.unstable_transitionCallbacks),l.formState!==void 0&&(Z=l.formState)),s=F3(u,1,!0,s,l??null,d,m,b,w,R,j,Z),s.context=j3(null),l=s.current,d=ri(),d=Fa(d),m=Ru(d),m.callback=null,Mu(l,m,d),l=d,s.current.lanes=l,di(s,l),pr(s),u[Tu]=s.current,jp(u),new ld(s)},Il.version="19.1.0",Il}var nx;function aw(){if(nx)return r1.exports;nx=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),r1.exports=sw(),r1.exports}var E5=aw();const lw=Wo(E5);var cw=Object.defineProperty,fw=Object.defineProperties,dw=Object.getOwnPropertyDescriptors,ix=Object.getOwnPropertySymbols,hw=Object.prototype.hasOwnProperty,pw=Object.prototype.propertyIsEnumerable,ym=(e,t)=>(t=Symbol[e])?t:Symbol.for("Symbol."+e),rx=(e,t,n)=>t in e?cw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ai=(e,t)=>{for(var n in t||(t={}))hw.call(t,n)&&rx(e,n,t[n]);if(ix)for(var n of ix(t))pw.call(t,n)&&rx(e,n,t[n]);return e},oc=(e,t)=>fw(e,dw(t)),kd=function(e,t){this[0]=e,this[1]=t},mw=(e,t,n)=>{var i=(a,c,f,h)=>{try{var p=n[a](c),g=(c=p.value)instanceof kd,y=p.done;Promise.resolve(g?c[0]:c).then(v=>g?i(a==="return"?a:"next",c[1]?{done:v.done,value:v.value}:v,f,h):f({value:v,done:y})).catch(v=>i("throw",v,f,h))}catch(v){h(v)}},r=a=>o[a]=c=>new Promise((f,h)=>i(a,c,f,h)),o={};return n=n.apply(e,t),o[ym("asyncIterator")]=()=>o,r("next"),r("throw"),r("return"),o},gw=(e,t,n)=>(t=e[ym("asyncIterator")])?t.call(e):(e=e[ym("iterator")](),t={},n=(i,r)=>(r=e[i])&&(t[i]=o=>new Promise((a,c,f)=>(o=r.call(e,o),f=o.done,Promise.resolve(o.value).then(h=>a({value:h,done:f}),c)))),n("next"),n("return"),t);function ux(e){return typeof e=="object"&&e!==null&&typeof e.then=="function"}function vw(e){return new Promise((t,n)=>{const i=e.subscribe({next(r){t(r),i.unsubscribe()},error:n,complete(){n(new Error("no value resolved"))}})})}function T5(e){return typeof e=="object"&&e!==null&&"subscribe"in e&&typeof e.subscribe=="function"}function S5(e){return typeof e=="object"&&e!==null&&(e[Symbol.toStringTag]==="AsyncGenerator"||Symbol.asyncIterator in e)}async function yw(e){var t;const n=(t=("return"in e?e:e[Symbol.asyncIterator]()).return)==null?void 0:t.bind(e),i=await("next"in e?e:e[Symbol.asyncIterator]()).next.bind(e)();return n==null||n(),i.value}async function ox(e){const t=await e;return S5(t)?yw(t):T5(t)?vw(t):t}const bw="modulepreload",xw=function(e){return"/graphiql/"+e},sx={},We=function(t,n,i){let r=Promise.resolve();if(n&&n.length>0){let a=function(h){return Promise.all(h.map(p=>Promise.resolve(p).then(g=>({status:"fulfilled",value:g}),g=>({status:"rejected",reason:g}))))};document.getElementsByTagName("link");const c=document.querySelector("meta[property=csp-nonce]"),f=(c==null?void 0:c.nonce)||(c==null?void 0:c.getAttribute("nonce"));r=a(n.map(h=>{if(h=xw(h),h in sx)return;sx[h]=!0;const p=h.endsWith(".css"),g=p?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${h}"]${g}`))return;const y=document.createElement("link");if(y.rel=p?"stylesheet":bw,p||(y.as="script"),y.crossOrigin="",y.href=h,f&&y.setAttribute("nonce",f),document.head.appendChild(y),p)return new Promise((v,E)=>{y.addEventListener("load",v),y.addEventListener("error",()=>E(new Error(`Unable to preload CSS for ${h}`)))})}))}function o(a){const c=new Event("vite:preloadError",{cancelable:!0});if(c.payload=a,window.dispatchEvent(c),!c.defaultPrevented)throw a}return r.then(a=>{for(const c of a||[])c.status==="rejected"&&o(c.reason);return t().catch(o)})};function et(e,t){if(!!!e)throw new Error(t)}function lu(e){return typeof e=="object"&&e!==null}function b0(e,t){if(!!!e)throw new Error(t??"Unexpected invariant triggered.")}const Ew=/\r\n|[\n\r]/g;function bm(e,t){let n=0,i=1;for(const r of e.body.matchAll(Ew)){if(typeof r.index=="number"||b0(!1),r.index>=t)break;n=r.index+r[0].length,i+=1}return{line:i,column:t+1-n}}function Tw(e){return _5(e.source,bm(e.source,e.start))}function _5(e,t){const n=e.locationOffset.column-1,i="".padStart(n)+e.body,r=t.line-1,o=e.locationOffset.line-1,a=t.line+o,c=t.line===1?n:0,f=t.column+c,h=`${e.name}:${a}:${f}
|
|
51
51
|
`,p=i.split(/\r\n|[\n\r]/g),g=p[r];if(g.length>120){const y=Math.floor(f/80),v=f%80,E=[];for(let T=0;T<g.length;T+=80)E.push(g.slice(T,T+80));return h+ax([[`${a} |`,E[0]],...E.slice(1,y+1).map(T=>["|",T]),["|","^".padStart(v)],["|",E[y+1]]])}return h+ax([[`${a-1} |`,p[r-1]],[`${a} |`,g],["|","^".padStart(f)],[`${a+1} |`,p[r+1]]])}function ax(e){const t=e.filter(([i,r])=>r!==void 0),n=Math.max(...t.map(([i])=>i.length));return t.map(([i,r])=>i.padStart(n)+(r?" "+r:"")).join(`
|
|
52
|
-
`)}function Sw(e){const t=e[0];return t==null||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}class Je extends Error{constructor(t,...n){var i,r,o;const{nodes:a,source:c,positions:f,path:h,originalError:p,extensions:g}=Sw(n);super(t),this.name="GraphQLError",this.path=h??void 0,this.originalError=p??void 0,this.nodes=lx(Array.isArray(a)?a:a?[a]:void 0);const y=lx((i=this.nodes)===null||i===void 0?void 0:i.map(E=>E.loc).filter(E=>E!=null));this.source=c??(y==null||(r=y[0])===null||r===void 0?void 0:r.source),this.positions=f??(y==null?void 0:y.map(E=>E.start)),this.locations=f&&c?f.map(E=>
|
|
52
|
+
`)}function Sw(e){const t=e[0];return t==null||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}class Je extends Error{constructor(t,...n){var i,r,o;const{nodes:a,source:c,positions:f,path:h,originalError:p,extensions:g}=Sw(n);super(t),this.name="GraphQLError",this.path=h??void 0,this.originalError=p??void 0,this.nodes=lx(Array.isArray(a)?a:a?[a]:void 0);const y=lx((i=this.nodes)===null||i===void 0?void 0:i.map(E=>E.loc).filter(E=>E!=null));this.source=c??(y==null||(r=y[0])===null||r===void 0?void 0:r.source),this.positions=f??(y==null?void 0:y.map(E=>E.start)),this.locations=f&&c?f.map(E=>bm(c,E)):y==null?void 0:y.map(E=>bm(E.source,E.start));const v=lu(p==null?void 0:p.extensions)?p==null?void 0:p.extensions:void 0;this.extensions=(o=g??v)!==null&&o!==void 0?o:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),p!=null&&p.stack?Object.defineProperty(this,"stack",{value:p.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,Je):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let t=this.message;if(this.nodes)for(const n of this.nodes)n.loc&&(t+=`
|
|
53
53
|
|
|
54
54
|
`+Tw(n.loc));else if(this.source&&this.locations)for(const n of this.locations)t+=`
|
|
55
55
|
|
|
56
|
-
`+_5(this.source,n);return t}toJSON(){const t={message:this.message};return this.locations!=null&&(t.locations=this.locations),this.path!=null&&(t.path=this.path),this.extensions!=null&&Object.keys(this.extensions).length>0&&(t.extensions=this.extensions),t}}function lx(e){return e===void 0||e.length===0?void 0:e}function on(e,t,n){return new Je(`Syntax Error: ${n}`,{source:e,positions:[t]})}let _w=class{constructor(t,n,i){this.start=t.start,this.end=n.end,this.startToken=t,this.endToken=n,this.source=i}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}},C5=class{constructor(t,n,i,r,o,a){this.kind=t,this.start=n,this.end=i,this.line=r,this.column=o,this.value=a,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}};const A5={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},Cw=new Set(Object.keys(A5));function
|
|
56
|
+
`+_5(this.source,n);return t}toJSON(){const t={message:this.message};return this.locations!=null&&(t.locations=this.locations),this.path!=null&&(t.path=this.path),this.extensions!=null&&Object.keys(this.extensions).length>0&&(t.extensions=this.extensions),t}}function lx(e){return e===void 0||e.length===0?void 0:e}function on(e,t,n){return new Je(`Syntax Error: ${n}`,{source:e,positions:[t]})}let _w=class{constructor(t,n,i){this.start=t.start,this.end=n.end,this.startToken=t,this.endToken=n,this.source=i}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}},C5=class{constructor(t,n,i,r,o,a){this.kind=t,this.start=n,this.end=i,this.line=r,this.column=o,this.value=a,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}};const A5={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},Cw=new Set(Object.keys(A5));function xm(e){const t=e==null?void 0:e.kind;return typeof t=="string"&&Cw.has(t)}var Ci;(function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"})(Ci||(Ci={}));var Se;(function(e){e.QUERY="QUERY",e.MUTATION="MUTATION",e.SUBSCRIPTION="SUBSCRIPTION",e.FIELD="FIELD",e.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",e.FRAGMENT_SPREAD="FRAGMENT_SPREAD",e.INLINE_FRAGMENT="INLINE_FRAGMENT",e.VARIABLE_DEFINITION="VARIABLE_DEFINITION",e.SCHEMA="SCHEMA",e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.FIELD_DEFINITION="FIELD_DEFINITION",e.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.ENUM_VALUE="ENUM_VALUE",e.INPUT_OBJECT="INPUT_OBJECT",e.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"})(Se||(Se={}));var W;(function(e){e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.INT="IntValue",e.FLOAT="FloatValue",e.STRING="StringValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e.SCHEMA_DEFINITION="SchemaDefinition",e.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",e.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",e.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",e.FIELD_DEFINITION="FieldDefinition",e.INPUT_VALUE_DEFINITION="InputValueDefinition",e.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",e.UNION_TYPE_DEFINITION="UnionTypeDefinition",e.ENUM_TYPE_DEFINITION="EnumTypeDefinition",e.ENUM_VALUE_DEFINITION="EnumValueDefinition",e.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",e.DIRECTIVE_DEFINITION="DirectiveDefinition",e.SCHEMA_EXTENSION="SchemaExtension",e.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",e.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",e.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",e.UNION_TYPE_EXTENSION="UnionTypeExtension",e.ENUM_TYPE_EXTENSION="EnumTypeExtension",e.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"})(W||(W={}));function Em(e){return e===9||e===32}function sc(e){return e>=48&&e<=57}function w5(e){return e>=97&&e<=122||e>=65&&e<=90}function Vg(e){return w5(e)||e===95}function D5(e){return w5(e)||sc(e)||e===95}function Aw(e){var t;let n=Number.MAX_SAFE_INTEGER,i=null,r=-1;for(let a=0;a<e.length;++a){var o;const c=e[a],f=ww(c);f!==c.length&&(i=(o=i)!==null&&o!==void 0?o:a,r=a,a!==0&&f<n&&(n=f))}return e.map((a,c)=>c===0?a:a.slice(n)).slice((t=i)!==null&&t!==void 0?t:0,r+1)}function ww(e){let t=0;for(;t<e.length&&Em(e.charCodeAt(t));)++t;return t}function Dw(e,t){const n=e.replace(/"""/g,'\\"""'),i=n.split(/\r\n|[\n\r]/g),r=i.length===1,o=i.length>1&&i.slice(1).every(v=>v.length===0||Em(v.charCodeAt(0))),a=n.endsWith('\\"""'),c=e.endsWith('"')&&!a,f=e.endsWith("\\"),h=c||f,p=!r||e.length>70||h||o||a;let g="";const y=r&&Em(e.charCodeAt(0));return(p&&!y||o)&&(g+=`
|
|
57
57
|
`),g+=n,(p||h)&&(g+=`
|
|
58
|
-
`),'"""'+g+'"""'}var ce;(function(e){e.SOF="<SOF>",e.EOF="<EOF>",e.BANG="!",e.DOLLAR="$",e.AMP="&",e.PAREN_L="(",e.PAREN_R=")",e.SPREAD="...",e.COLON=":",e.EQUALS="=",e.AT="@",e.BRACKET_L="[",e.BRACKET_R="]",e.BRACE_L="{",e.PIPE="|",e.BRACE_R="}",e.NAME="Name",e.INT="Int",e.FLOAT="Float",e.STRING="String",e.BLOCK_STRING="BlockString",e.COMMENT="Comment"})(ce||(ce={}));class Nw{constructor(t){const n=new C5(ce.SOF,0,0,0,0);this.source=t,this.lastToken=n,this.token=n,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let t=this.token;if(t.kind!==ce.EOF)do if(t.next)t=t.next;else{const n=Rw(this,t.end);t.next=n,n.prev=t,t=n}while(t.kind===ce.COMMENT);return t}}function Ow(e){return e===ce.BANG||e===ce.DOLLAR||e===ce.AMP||e===ce.PAREN_L||e===ce.PAREN_R||e===ce.SPREAD||e===ce.COLON||e===ce.EQUALS||e===ce.AT||e===ce.BRACKET_L||e===ce.BRACKET_R||e===ce.BRACE_L||e===ce.PIPE||e===ce.BRACE_R}function Aa(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function x0(e,t){return N5(e.charCodeAt(t))&&O5(e.charCodeAt(t+1))}function N5(e){return e>=55296&&e<=56319}function O5(e){return e>=56320&&e<=57343}function qo(e,t){const n=e.source.body.codePointAt(t);if(n===void 0)return ce.EOF;if(n>=32&&n<=126){const i=String.fromCodePoint(n);return i==='"'?`'"'`:`"${i}"`}return"U+"+n.toString(16).toUpperCase().padStart(4,"0")}function Gt(e,t,n,i,r){const o=e.line,a=1+n-e.lineStart;return new C5(t,n,i,o,a,r)}function Rw(e,t){const n=e.source.body,i=n.length;let r=t;for(;r<i;){const o=n.charCodeAt(r);switch(o){case 65279:case 9:case 32:case 44:++r;continue;case 10:++r,++e.line,e.lineStart=r;continue;case 13:n.charCodeAt(r+1)===10?r+=2:++r,++e.line,e.lineStart=r;continue;case 35:return Mw(e,r);case 33:return Gt(e,ce.BANG,r,r+1);case 36:return Gt(e,ce.DOLLAR,r,r+1);case 38:return Gt(e,ce.AMP,r,r+1);case 40:return Gt(e,ce.PAREN_L,r,r+1);case 41:return Gt(e,ce.PAREN_R,r,r+1);case 46:if(n.charCodeAt(r+1)===46&&n.charCodeAt(r+2)===46)return Gt(e,ce.SPREAD,r,r+3);break;case 58:return Gt(e,ce.COLON,r,r+1);case 61:return Gt(e,ce.EQUALS,r,r+1);case 64:return Gt(e,ce.AT,r,r+1);case 91:return Gt(e,ce.BRACKET_L,r,r+1);case 93:return Gt(e,ce.BRACKET_R,r,r+1);case 123:return Gt(e,ce.BRACE_L,r,r+1);case 124:return Gt(e,ce.PIPE,r,r+1);case 125:return Gt(e,ce.BRACE_R,r,r+1);case 34:return n.charCodeAt(r+1)===34&&n.charCodeAt(r+2)===34?Pw(e,r):Lw(e,r)}if(sc(o)||o===45)return kw(e,r,o);if(
|
|
58
|
+
`),'"""'+g+'"""'}var ce;(function(e){e.SOF="<SOF>",e.EOF="<EOF>",e.BANG="!",e.DOLLAR="$",e.AMP="&",e.PAREN_L="(",e.PAREN_R=")",e.SPREAD="...",e.COLON=":",e.EQUALS="=",e.AT="@",e.BRACKET_L="[",e.BRACKET_R="]",e.BRACE_L="{",e.PIPE="|",e.BRACE_R="}",e.NAME="Name",e.INT="Int",e.FLOAT="Float",e.STRING="String",e.BLOCK_STRING="BlockString",e.COMMENT="Comment"})(ce||(ce={}));class Nw{constructor(t){const n=new C5(ce.SOF,0,0,0,0);this.source=t,this.lastToken=n,this.token=n,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let t=this.token;if(t.kind!==ce.EOF)do if(t.next)t=t.next;else{const n=Rw(this,t.end);t.next=n,n.prev=t,t=n}while(t.kind===ce.COMMENT);return t}}function Ow(e){return e===ce.BANG||e===ce.DOLLAR||e===ce.AMP||e===ce.PAREN_L||e===ce.PAREN_R||e===ce.SPREAD||e===ce.COLON||e===ce.EQUALS||e===ce.AT||e===ce.BRACKET_L||e===ce.BRACKET_R||e===ce.BRACE_L||e===ce.PIPE||e===ce.BRACE_R}function Aa(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function x0(e,t){return N5(e.charCodeAt(t))&&O5(e.charCodeAt(t+1))}function N5(e){return e>=55296&&e<=56319}function O5(e){return e>=56320&&e<=57343}function qo(e,t){const n=e.source.body.codePointAt(t);if(n===void 0)return ce.EOF;if(n>=32&&n<=126){const i=String.fromCodePoint(n);return i==='"'?`'"'`:`"${i}"`}return"U+"+n.toString(16).toUpperCase().padStart(4,"0")}function Gt(e,t,n,i,r){const o=e.line,a=1+n-e.lineStart;return new C5(t,n,i,o,a,r)}function Rw(e,t){const n=e.source.body,i=n.length;let r=t;for(;r<i;){const o=n.charCodeAt(r);switch(o){case 65279:case 9:case 32:case 44:++r;continue;case 10:++r,++e.line,e.lineStart=r;continue;case 13:n.charCodeAt(r+1)===10?r+=2:++r,++e.line,e.lineStart=r;continue;case 35:return Mw(e,r);case 33:return Gt(e,ce.BANG,r,r+1);case 36:return Gt(e,ce.DOLLAR,r,r+1);case 38:return Gt(e,ce.AMP,r,r+1);case 40:return Gt(e,ce.PAREN_L,r,r+1);case 41:return Gt(e,ce.PAREN_R,r,r+1);case 46:if(n.charCodeAt(r+1)===46&&n.charCodeAt(r+2)===46)return Gt(e,ce.SPREAD,r,r+3);break;case 58:return Gt(e,ce.COLON,r,r+1);case 61:return Gt(e,ce.EQUALS,r,r+1);case 64:return Gt(e,ce.AT,r,r+1);case 91:return Gt(e,ce.BRACKET_L,r,r+1);case 93:return Gt(e,ce.BRACKET_R,r,r+1);case 123:return Gt(e,ce.BRACE_L,r,r+1);case 124:return Gt(e,ce.PIPE,r,r+1);case 125:return Gt(e,ce.BRACE_R,r,r+1);case 34:return n.charCodeAt(r+1)===34&&n.charCodeAt(r+2)===34?Pw(e,r):Lw(e,r)}if(sc(o)||o===45)return kw(e,r,o);if(Vg(o))return Vw(e,r);throw on(e.source,r,o===39?`Unexpected single quote character ('), did you mean to use a double quote (")?`:Aa(o)||x0(n,r)?`Unexpected character: ${qo(e,r)}.`:`Invalid character: ${qo(e,r)}.`)}return Gt(e,ce.EOF,i,i)}function Mw(e,t){const n=e.source.body,i=n.length;let r=t+1;for(;r<i;){const o=n.charCodeAt(r);if(o===10||o===13)break;if(Aa(o))++r;else if(x0(n,r))r+=2;else break}return Gt(e,ce.COMMENT,t,r,n.slice(t+1,r))}function kw(e,t,n){const i=e.source.body;let r=t,o=n,a=!1;if(o===45&&(o=i.charCodeAt(++r)),o===48){if(o=i.charCodeAt(++r),sc(o))throw on(e.source,r,`Invalid number, unexpected digit after 0: ${qo(e,r)}.`)}else r=a1(e,r,o),o=i.charCodeAt(r);if(o===46&&(a=!0,o=i.charCodeAt(++r),r=a1(e,r,o),o=i.charCodeAt(r)),(o===69||o===101)&&(a=!0,o=i.charCodeAt(++r),(o===43||o===45)&&(o=i.charCodeAt(++r)),r=a1(e,r,o),o=i.charCodeAt(r)),o===46||Vg(o))throw on(e.source,r,`Invalid number, expected digit but got: ${qo(e,r)}.`);return Gt(e,a?ce.FLOAT:ce.INT,t,r,i.slice(t,r))}function a1(e,t,n){if(!sc(n))throw on(e.source,t,`Invalid number, expected digit but got: ${qo(e,t)}.`);const i=e.source.body;let r=t+1;for(;sc(i.charCodeAt(r));)++r;return r}function Lw(e,t){const n=e.source.body,i=n.length;let r=t+1,o=r,a="";for(;r<i;){const c=n.charCodeAt(r);if(c===34)return a+=n.slice(o,r),Gt(e,ce.STRING,t,r+1,a);if(c===92){a+=n.slice(o,r);const f=n.charCodeAt(r+1)===117?n.charCodeAt(r+2)===123?Iw(e,r):Fw(e,r):jw(e,r);a+=f.value,r+=f.size,o=r;continue}if(c===10||c===13)break;if(Aa(c))++r;else if(x0(n,r))r+=2;else throw on(e.source,r,`Invalid character within String: ${qo(e,r)}.`)}throw on(e.source,r,"Unterminated string.")}function Iw(e,t){const n=e.source.body;let i=0,r=3;for(;r<12;){const o=n.charCodeAt(t+r++);if(o===125){if(r<5||!Aa(i))break;return{value:String.fromCodePoint(i),size:r}}if(i=i<<4|Ul(o),i<0)break}throw on(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+r)}".`)}function Fw(e,t){const n=e.source.body,i=cx(n,t+2);if(Aa(i))return{value:String.fromCodePoint(i),size:6};if(N5(i)&&n.charCodeAt(t+6)===92&&n.charCodeAt(t+7)===117){const r=cx(n,t+8);if(O5(r))return{value:String.fromCodePoint(i,r),size:12}}throw on(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+6)}".`)}function cx(e,t){return Ul(e.charCodeAt(t))<<12|Ul(e.charCodeAt(t+1))<<8|Ul(e.charCodeAt(t+2))<<4|Ul(e.charCodeAt(t+3))}function Ul(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function jw(e,t){const n=e.source.body;switch(n.charCodeAt(t+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:`
|
|
59
59
|
`,size:2};case 114:return{value:"\r",size:2};case 116:return{value:" ",size:2}}throw on(e.source,t,`Invalid character escape sequence: "${n.slice(t,t+2)}".`)}function Pw(e,t){const n=e.source.body,i=n.length;let r=e.lineStart,o=t+3,a=o,c="";const f=[];for(;o<i;){const h=n.charCodeAt(o);if(h===34&&n.charCodeAt(o+1)===34&&n.charCodeAt(o+2)===34){c+=n.slice(a,o),f.push(c);const p=Gt(e,ce.BLOCK_STRING,t,o+3,Aw(f).join(`
|
|
60
60
|
`));return e.line+=f.length-1,e.lineStart=r,p}if(h===92&&n.charCodeAt(o+1)===34&&n.charCodeAt(o+2)===34&&n.charCodeAt(o+3)===34){c+=n.slice(a,o),a=o+1,o+=4;continue}if(h===10||h===13){c+=n.slice(a,o),f.push(c),h===13&&n.charCodeAt(o+1)===10?o+=2:++o,c="",a=o,r=o;continue}if(Aa(h))++o;else if(x0(n,o))o+=2;else throw on(e.source,o,`Invalid character within String: ${qo(e,o)}.`)}throw on(e.source,o,"Unterminated string.")}function Vw(e,t){const n=e.source.body,i=n.length;let r=t+1;for(;r<i;){const o=n.charCodeAt(r);if(D5(o))++r;else break}return Gt(e,ce.NAME,t,r,n.slice(t,r))}const Bw=10,R5=2;function be(e){return E0(e,[])}function E0(e,t){switch(typeof e){case"string":return JSON.stringify(e);case"function":return e.name?`[function ${e.name}]`:"[function]";case"object":return $w(e,t);default:return String(e)}}function $w(e,t){if(e===null)return"null";if(t.includes(e))return"[Circular]";const n=[...t,e];if(Uw(e)){const i=e.toJSON();if(i!==e)return typeof i=="string"?i:E0(i,n)}else if(Array.isArray(e))return Hw(e,n);return zw(e,n)}function Uw(e){return typeof e.toJSON=="function"}function zw(e,t){const n=Object.entries(e);return n.length===0?"{}":t.length>R5?"["+qw(e)+"]":"{ "+n.map(([r,o])=>r+": "+E0(o,t)).join(", ")+" }"}function Hw(e,t){if(e.length===0)return"[]";if(t.length>R5)return"[Array]";const n=Math.min(Bw,e.length),i=e.length-n,r=[];for(let o=0;o<n;++o)r.push(E0(e[o],t));return i===1?r.push("... 1 more item"):i>1&&r.push(`... ${i} more items`),"["+r.join(", ")+"]"}function qw(e){const t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if(t==="Object"&&typeof e.constructor=="function"){const n=e.constructor.name;if(typeof n=="string"&&n!=="")return n}return t}const Gw=globalThis.process&&!0,Xi=Gw?function(t,n){return t instanceof n}:function(t,n){if(t instanceof n)return!0;if(typeof t=="object"&&t!==null){var i;const r=n.prototype[Symbol.toStringTag],o=Symbol.toStringTag in t?t[Symbol.toStringTag]:(i=t.constructor)===null||i===void 0?void 0:i.name;if(r===o){const a=be(t);throw new Error(`Cannot use ${r} "${a}" from another module or realm.
|
|
61
61
|
|
|
@@ -68,7 +68,7 @@ https://yarnpkg.com/en/docs/selective-version-resolutions
|
|
|
68
68
|
Duplicate "graphql" modules cannot be used at the same time since different
|
|
69
69
|
versions may have different capabilities and behavior. The data from one
|
|
70
70
|
version used in the function from another could produce confusing and
|
|
71
|
-
spurious results.`)}}return!1};class M5{constructor(t,n="GraphQL request",i={line:1,column:1}){typeof t=="string"||et(!1,`Body must be a string. Received: ${be(t)}.`),this.body=t,this.name=n,this.locationOffset=i,this.locationOffset.line>0||et(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||et(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}function Yw(e){return Xi(e,M5)}function Ko(e,t){const n=new k5(e,t),i=n.parseDocument();return Object.defineProperty(i,"tokenCount",{enumerable:!1,value:n.tokenCount}),i}function Qw(e,t){const n=new k5(e,t);n.expectToken(ce.SOF);const i=n.parseValueLiteral(!1);return n.expectToken(ce.EOF),i}class k5{constructor(t,n={}){const i=Yw(t)?t:new M5(t);this._lexer=new Nw(i),this._options=n,this._tokenCounter=0}get tokenCount(){return this._tokenCounter}parseName(){const t=this.expectToken(ce.NAME);return this.node(t,{kind:W.NAME,value:t.value})}parseDocument(){return this.node(this._lexer.token,{kind:W.DOCUMENT,definitions:this.many(ce.SOF,this.parseDefinition,ce.EOF)})}parseDefinition(){if(this.peek(ce.BRACE_L))return this.parseOperationDefinition();const t=this.peekDescription(),n=t?this._lexer.lookahead():this._lexer.token;if(n.kind===ce.NAME){switch(n.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}if(t)throw on(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(n.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(n)}parseOperationDefinition(){const t=this._lexer.token;if(this.peek(ce.BRACE_L))return this.node(t,{kind:W.OPERATION_DEFINITION,operation:Ci.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});const n=this.parseOperationType();let i;return this.peek(ce.NAME)&&(i=this.parseName()),this.node(t,{kind:W.OPERATION_DEFINITION,operation:n,name:i,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){const t=this.expectToken(ce.NAME);switch(t.value){case"query":return Ci.QUERY;case"mutation":return Ci.MUTATION;case"subscription":return Ci.SUBSCRIPTION}throw this.unexpected(t)}parseVariableDefinitions(){return this.optionalMany(ce.PAREN_L,this.parseVariableDefinition,ce.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:W.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(ce.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(ce.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){const t=this._lexer.token;return this.expectToken(ce.DOLLAR),this.node(t,{kind:W.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:W.SELECTION_SET,selections:this.many(ce.BRACE_L,this.parseSelection,ce.BRACE_R)})}parseSelection(){return this.peek(ce.SPREAD)?this.parseFragment():this.parseField()}parseField(){const t=this._lexer.token,n=this.parseName();let i,r;return this.expectOptionalToken(ce.COLON)?(i=n,r=this.parseName()):r=n,this.node(t,{kind:W.FIELD,alias:i,name:r,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(ce.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(t){const n=t?this.parseConstArgument:this.parseArgument;return this.optionalMany(ce.PAREN_L,n,ce.PAREN_R)}parseArgument(t=!1){const n=this._lexer.token,i=this.parseName();return this.expectToken(ce.COLON),this.node(n,{kind:W.ARGUMENT,name:i,value:this.parseValueLiteral(t)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){const t=this._lexer.token;this.expectToken(ce.SPREAD);const n=this.expectOptionalKeyword("on");return!n&&this.peek(ce.NAME)?this.node(t,{kind:W.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(t,{kind:W.INLINE_FRAGMENT,typeCondition:n?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){const t=this._lexer.token;return this.expectKeyword("fragment"),this._options.allowLegacyFragmentVariables===!0?this.node(t,{kind:W.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(t,{kind:W.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if(this._lexer.token.value==="on")throw this.unexpected();return this.parseName()}parseValueLiteral(t){const n=this._lexer.token;switch(n.kind){case ce.BRACKET_L:return this.parseList(t);case ce.BRACE_L:return this.parseObject(t);case ce.INT:return this.advanceLexer(),this.node(n,{kind:W.INT,value:n.value});case ce.FLOAT:return this.advanceLexer(),this.node(n,{kind:W.FLOAT,value:n.value});case ce.STRING:case ce.BLOCK_STRING:return this.parseStringLiteral();case ce.NAME:switch(this.advanceLexer(),n.value){case"true":return this.node(n,{kind:W.BOOLEAN,value:!0});case"false":return this.node(n,{kind:W.BOOLEAN,value:!1});case"null":return this.node(n,{kind:W.NULL});default:return this.node(n,{kind:W.ENUM,value:n.value})}case ce.DOLLAR:if(t)if(this.expectToken(ce.DOLLAR),this._lexer.token.kind===ce.NAME){const i=this._lexer.token.value;throw on(this._lexer.source,n.start,`Unexpected variable "$${i}" in constant value.`)}else throw this.unexpected(n);return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){const t=this._lexer.token;return this.advanceLexer(),this.node(t,{kind:W.STRING,value:t.value,block:t.kind===ce.BLOCK_STRING})}parseList(t){const n=()=>this.parseValueLiteral(t);return this.node(this._lexer.token,{kind:W.LIST,values:this.any(ce.BRACKET_L,n,ce.BRACKET_R)})}parseObject(t){const n=()=>this.parseObjectField(t);return this.node(this._lexer.token,{kind:W.OBJECT,fields:this.any(ce.BRACE_L,n,ce.BRACE_R)})}parseObjectField(t){const n=this._lexer.token,i=this.parseName();return this.expectToken(ce.COLON),this.node(n,{kind:W.OBJECT_FIELD,name:i,value:this.parseValueLiteral(t)})}parseDirectives(t){const n=[];for(;this.peek(ce.AT);)n.push(this.parseDirective(t));return n}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(t){const n=this._lexer.token;return this.expectToken(ce.AT),this.node(n,{kind:W.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(t)})}parseTypeReference(){const t=this._lexer.token;let n;if(this.expectOptionalToken(ce.BRACKET_L)){const i=this.parseTypeReference();this.expectToken(ce.BRACKET_R),n=this.node(t,{kind:W.LIST_TYPE,type:i})}else n=this.parseNamedType();return this.expectOptionalToken(ce.BANG)?this.node(t,{kind:W.NON_NULL_TYPE,type:n}):n}parseNamedType(){return this.node(this._lexer.token,{kind:W.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(ce.STRING)||this.peek(ce.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("schema");const i=this.parseConstDirectives(),r=this.many(ce.BRACE_L,this.parseOperationTypeDefinition,ce.BRACE_R);return this.node(t,{kind:W.SCHEMA_DEFINITION,description:n,directives:i,operationTypes:r})}parseOperationTypeDefinition(){const t=this._lexer.token,n=this.parseOperationType();this.expectToken(ce.COLON);const i=this.parseNamedType();return this.node(t,{kind:W.OPERATION_TYPE_DEFINITION,operation:n,type:i})}parseScalarTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("scalar");const i=this.parseName(),r=this.parseConstDirectives();return this.node(t,{kind:W.SCALAR_TYPE_DEFINITION,description:n,name:i,directives:r})}parseObjectTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("type");const i=this.parseName(),r=this.parseImplementsInterfaces(),o=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(t,{kind:W.OBJECT_TYPE_DEFINITION,description:n,name:i,interfaces:r,directives:o,fields:a})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(ce.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(ce.BRACE_L,this.parseFieldDefinition,ce.BRACE_R)}parseFieldDefinition(){const t=this._lexer.token,n=this.parseDescription(),i=this.parseName(),r=this.parseArgumentDefs();this.expectToken(ce.COLON);const o=this.parseTypeReference(),a=this.parseConstDirectives();return this.node(t,{kind:W.FIELD_DEFINITION,description:n,name:i,arguments:r,type:o,directives:a})}parseArgumentDefs(){return this.optionalMany(ce.PAREN_L,this.parseInputValueDef,ce.PAREN_R)}parseInputValueDef(){const t=this._lexer.token,n=this.parseDescription(),i=this.parseName();this.expectToken(ce.COLON);const r=this.parseTypeReference();let o;this.expectOptionalToken(ce.EQUALS)&&(o=this.parseConstValueLiteral());const a=this.parseConstDirectives();return this.node(t,{kind:W.INPUT_VALUE_DEFINITION,description:n,name:i,type:r,defaultValue:o,directives:a})}parseInterfaceTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("interface");const i=this.parseName(),r=this.parseImplementsInterfaces(),o=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(t,{kind:W.INTERFACE_TYPE_DEFINITION,description:n,name:i,interfaces:r,directives:o,fields:a})}parseUnionTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("union");const i=this.parseName(),r=this.parseConstDirectives(),o=this.parseUnionMemberTypes();return this.node(t,{kind:W.UNION_TYPE_DEFINITION,description:n,name:i,directives:r,types:o})}parseUnionMemberTypes(){return this.expectOptionalToken(ce.EQUALS)?this.delimitedMany(ce.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("enum");const i=this.parseName(),r=this.parseConstDirectives(),o=this.parseEnumValuesDefinition();return this.node(t,{kind:W.ENUM_TYPE_DEFINITION,description:n,name:i,directives:r,values:o})}parseEnumValuesDefinition(){return this.optionalMany(ce.BRACE_L,this.parseEnumValueDefinition,ce.BRACE_R)}parseEnumValueDefinition(){const t=this._lexer.token,n=this.parseDescription(),i=this.parseEnumValueName(),r=this.parseConstDirectives();return this.node(t,{kind:W.ENUM_VALUE_DEFINITION,description:n,name:i,directives:r})}parseEnumValueName(){if(this._lexer.token.value==="true"||this._lexer.token.value==="false"||this._lexer.token.value==="null")throw on(this._lexer.source,this._lexer.token.start,`${fd(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("input");const i=this.parseName(),r=this.parseConstDirectives(),o=this.parseInputFieldsDefinition();return this.node(t,{kind:W.INPUT_OBJECT_TYPE_DEFINITION,description:n,name:i,directives:r,fields:o})}parseInputFieldsDefinition(){return this.optionalMany(ce.BRACE_L,this.parseInputValueDef,ce.BRACE_R)}parseTypeSystemExtension(){const t=this._lexer.lookahead();if(t.kind===ce.NAME)switch(t.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(t)}parseSchemaExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");const n=this.parseConstDirectives(),i=this.optionalMany(ce.BRACE_L,this.parseOperationTypeDefinition,ce.BRACE_R);if(n.length===0&&i.length===0)throw this.unexpected();return this.node(t,{kind:W.SCHEMA_EXTENSION,directives:n,operationTypes:i})}parseScalarTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");const n=this.parseName(),i=this.parseConstDirectives();if(i.length===0)throw this.unexpected();return this.node(t,{kind:W.SCALAR_TYPE_EXTENSION,name:n,directives:i})}parseObjectTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");const n=this.parseName(),i=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),o=this.parseFieldsDefinition();if(i.length===0&&r.length===0&&o.length===0)throw this.unexpected();return this.node(t,{kind:W.OBJECT_TYPE_EXTENSION,name:n,interfaces:i,directives:r,fields:o})}parseInterfaceTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");const n=this.parseName(),i=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),o=this.parseFieldsDefinition();if(i.length===0&&r.length===0&&o.length===0)throw this.unexpected();return this.node(t,{kind:W.INTERFACE_TYPE_EXTENSION,name:n,interfaces:i,directives:r,fields:o})}parseUnionTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");const n=this.parseName(),i=this.parseConstDirectives(),r=this.parseUnionMemberTypes();if(i.length===0&&r.length===0)throw this.unexpected();return this.node(t,{kind:W.UNION_TYPE_EXTENSION,name:n,directives:i,types:r})}parseEnumTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");const n=this.parseName(),i=this.parseConstDirectives(),r=this.parseEnumValuesDefinition();if(i.length===0&&r.length===0)throw this.unexpected();return this.node(t,{kind:W.ENUM_TYPE_EXTENSION,name:n,directives:i,values:r})}parseInputObjectTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");const n=this.parseName(),i=this.parseConstDirectives(),r=this.parseInputFieldsDefinition();if(i.length===0&&r.length===0)throw this.unexpected();return this.node(t,{kind:W.INPUT_OBJECT_TYPE_EXTENSION,name:n,directives:i,fields:r})}parseDirectiveDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("directive"),this.expectToken(ce.AT);const i=this.parseName(),r=this.parseArgumentDefs(),o=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");const a=this.parseDirectiveLocations();return this.node(t,{kind:W.DIRECTIVE_DEFINITION,description:n,name:i,arguments:r,repeatable:o,locations:a})}parseDirectiveLocations(){return this.delimitedMany(ce.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){const t=this._lexer.token,n=this.parseName();if(Object.prototype.hasOwnProperty.call(Se,n.value))return n;throw this.unexpected(t)}node(t,n){return this._options.noLocation!==!0&&(n.loc=new _w(t,this._lexer.lastToken,this._lexer.source)),n}peek(t){return this._lexer.token.kind===t}expectToken(t){const n=this._lexer.token;if(n.kind===t)return this.advanceLexer(),n;throw on(this._lexer.source,n.start,`Expected ${L5(t)}, found ${fd(n)}.`)}expectOptionalToken(t){return this._lexer.token.kind===t?(this.advanceLexer(),!0):!1}expectKeyword(t){const n=this._lexer.token;if(n.kind===ce.NAME&&n.value===t)this.advanceLexer();else throw on(this._lexer.source,n.start,`Expected "${t}", found ${fd(n)}.`)}expectOptionalKeyword(t){const n=this._lexer.token;return n.kind===ce.NAME&&n.value===t?(this.advanceLexer(),!0):!1}unexpected(t){const n=t??this._lexer.token;return on(this._lexer.source,n.start,`Unexpected ${fd(n)}.`)}any(t,n,i){this.expectToken(t);const r=[];for(;!this.expectOptionalToken(i);)r.push(n.call(this));return r}optionalMany(t,n,i){if(this.expectOptionalToken(t)){const r=[];do r.push(n.call(this));while(!this.expectOptionalToken(i));return r}return[]}many(t,n,i){this.expectToken(t);const r=[];do r.push(n.call(this));while(!this.expectOptionalToken(i));return r}delimitedMany(t,n){this.expectOptionalToken(t);const i=[];do i.push(n.call(this));while(this.expectOptionalToken(t));return i}advanceLexer(){const{maxTokens:t}=this._options,n=this._lexer.advance();if(n.kind!==ce.EOF&&(++this._tokenCounter,t!==void 0&&this._tokenCounter>t))throw on(this._lexer.source,n.start,`Document contains more that ${t} tokens. Parsing aborted.`)}}function fd(e){const t=e.value;return L5(e.kind)+(t!=null?` "${t}"`:"")}function L5(e){return Ow(e)?`"${e}"`:e}const Xw=5;function Zw(e,t){const[n,i]=t?[e,t]:[void 0,e];let r=" Did you mean ";n&&(r+=n+" ");const o=i.map(f=>`"${f}"`);switch(o.length){case 0:return"";case 1:return r+o[0]+"?";case 2:return r+o[0]+" or "+o[1]+"?"}const a=o.slice(0,Xw),c=a.pop();return r+a.join(", ")+", or "+c+"?"}function fx(e){return e}function I5(e,t){const n=Object.create(null);for(const i of e)n[t(i)]=i;return n}function Lo(e,t,n){const i=Object.create(null);for(const r of e)i[t(r)]=n(r);return i}function T0(e,t){const n=Object.create(null);for(const i of Object.keys(e))n[i]=t(e[i],i);return n}function Ww(e,t){let n=0,i=0;for(;n<e.length&&i<t.length;){let r=e.charCodeAt(n),o=t.charCodeAt(i);if(dd(r)&&dd(o)){let a=0;do++n,a=a*10+r-Em,r=e.charCodeAt(n);while(dd(r)&&a>0);let c=0;do++i,c=c*10+o-Em,o=t.charCodeAt(i);while(dd(o)&&c>0);if(a<c)return-1;if(a>c)return 1}else{if(r<o)return-1;if(r>o)return 1;++n,++i}}return e.length-t.length}const Em=48,Kw=57;function dd(e){return!isNaN(e)&&Em<=e&&e<=Kw}function Jw(e,t){const n=Object.create(null),i=new eD(e),r=Math.floor(e.length*.4)+1;for(const o of t){const a=i.measure(o,r);a!==void 0&&(n[o]=a)}return Object.keys(n).sort((o,a)=>{const c=n[o]-n[a];return c!==0?c:Ww(o,a)})}class eD{constructor(t){this._input=t,this._inputLowerCase=t.toLowerCase(),this._inputArray=dx(this._inputLowerCase),this._rows=[new Array(t.length+1).fill(0),new Array(t.length+1).fill(0),new Array(t.length+1).fill(0)]}measure(t,n){if(this._input===t)return 0;const i=t.toLowerCase();if(this._inputLowerCase===i)return 1;let r=dx(i),o=this._inputArray;if(r.length<o.length){const p=r;r=o,o=p}const a=r.length,c=o.length;if(a-c>n)return;const f=this._rows;for(let p=0;p<=c;p++)f[0][p]=p;for(let p=1;p<=a;p++){const g=f[(p-1)%3],y=f[p%3];let v=y[0]=p;for(let E=1;E<=c;E++){const T=r[p-1]===o[E-1]?0:1;let S=Math.min(g[E]+1,y[E-1]+1,g[E-1]+T);if(p>1&&E>1&&r[p-1]===o[E-2]&&r[p-2]===o[E-1]){const A=f[(p-2)%3][E-2];S=Math.min(S,A+1)}S<v&&(v=S),y[E]=S}if(v>n)return}const h=f[a%3][c];return h<=n?h:void 0}}function dx(e){const t=e.length,n=new Array(t);for(let i=0;i<t;++i)n[i]=e.charCodeAt(i);return n}function Ri(e){if(e==null)return Object.create(null);if(Object.getPrototypeOf(e)===null)return e;const t=Object.create(null);for(const[n,i]of Object.entries(e))t[n]=i;return t}function tD(e){return`"${e.replace(nD,iD)}"`}const nD=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function iD(e){return rD[e.charCodeAt(0)]}const rD=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"],ta=Object.freeze({});function Yi(e,t,n=A5){const i=new Map;for(const A of Object.values(W))i.set(A,qd(t,A));let r,o=Array.isArray(e),a=[e],c=-1,f=[],h=e,p,g;const y=[],v=[];do{c++;const A=c===a.length,D=A&&f.length!==0;if(A){if(p=v.length===0?void 0:y[y.length-1],h=g,g=v.pop(),D)if(o){h=h.slice();let N=0;for(const[O,k]of f){const I=O-N;k===null?(h.splice(I,1),N++):h[I]=k}}else{h=Object.defineProperties({},Object.getOwnPropertyDescriptors(h));for(const[N,O]of f)h[N]=O}c=r.index,a=r.keys,f=r.edits,o=r.inArray,r=r.prev}else if(g){if(p=o?c:a[c],h=g[p],h==null)continue;y.push(p)}let C;if(!Array.isArray(h)){var E,T;bm(h)||et(!1,`Invalid AST Node: ${be(h)}.`);const N=A?(E=i.get(h.kind))===null||E===void 0?void 0:E.leave:(T=i.get(h.kind))===null||T===void 0?void 0:T.enter;if(C=N==null?void 0:N.call(t,h,p,g,y,v),C===ta)break;if(C===!1){if(!A){y.pop();continue}}else if(C!==void 0&&(f.push([p,C]),!A))if(bm(C))h=C;else{y.pop();continue}}if(C===void 0&&D&&f.push([p,h]),A)y.pop();else{var S;r={inArray:o,index:c,keys:a,edits:f,prev:r},o=Array.isArray(h),a=o?h:(S=n[h.kind])!==null&&S!==void 0?S:[],c=-1,f=[],g&&v.push(g),g=h}}while(r!==void 0);return f.length!==0?f[f.length-1][1]:e}function VQ(e){const t=new Array(e.length).fill(null),n=Object.create(null);for(const i of Object.values(W)){let r=!1;const o=new Array(e.length).fill(void 0),a=new Array(e.length).fill(void 0);for(let f=0;f<e.length;++f){const{enter:h,leave:p}=qd(e[f],i);r||(r=h!=null||p!=null),o[f]=h,a[f]=p}if(!r)continue;const c={enter(...f){const h=f[0];for(let g=0;g<e.length;g++)if(t[g]===null){var p;const y=(p=o[g])===null||p===void 0?void 0:p.apply(e[g],f);if(y===!1)t[g]=h;else if(y===ta)t[g]=ta;else if(y!==void 0)return y}},leave(...f){const h=f[0];for(let g=0;g<e.length;g++)if(t[g]===null){var p;const y=(p=a[g])===null||p===void 0?void 0:p.apply(e[g],f);if(y===ta)t[g]=ta;else if(y!==void 0&&y!==!1)return y}else t[g]===h&&(t[g]=null)}};n[i]=c}return n}function qd(e,t){const n=e[t];return typeof n=="object"?n:typeof n=="function"?{enter:n,leave:void 0}:{enter:e.enter,leave:e.leave}}function li(e){return Yi(e,oD)}const uD=80,oD={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>xe(e.definitions,`
|
|
71
|
+
spurious results.`)}}return!1};class M5{constructor(t,n="GraphQL request",i={line:1,column:1}){typeof t=="string"||et(!1,`Body must be a string. Received: ${be(t)}.`),this.body=t,this.name=n,this.locationOffset=i,this.locationOffset.line>0||et(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||et(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}function Yw(e){return Xi(e,M5)}function Ko(e,t){const n=new k5(e,t),i=n.parseDocument();return Object.defineProperty(i,"tokenCount",{enumerable:!1,value:n.tokenCount}),i}function Qw(e,t){const n=new k5(e,t);n.expectToken(ce.SOF);const i=n.parseValueLiteral(!1);return n.expectToken(ce.EOF),i}class k5{constructor(t,n={}){const i=Yw(t)?t:new M5(t);this._lexer=new Nw(i),this._options=n,this._tokenCounter=0}get tokenCount(){return this._tokenCounter}parseName(){const t=this.expectToken(ce.NAME);return this.node(t,{kind:W.NAME,value:t.value})}parseDocument(){return this.node(this._lexer.token,{kind:W.DOCUMENT,definitions:this.many(ce.SOF,this.parseDefinition,ce.EOF)})}parseDefinition(){if(this.peek(ce.BRACE_L))return this.parseOperationDefinition();const t=this.peekDescription(),n=t?this._lexer.lookahead():this._lexer.token;if(n.kind===ce.NAME){switch(n.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}if(t)throw on(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(n.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(n)}parseOperationDefinition(){const t=this._lexer.token;if(this.peek(ce.BRACE_L))return this.node(t,{kind:W.OPERATION_DEFINITION,operation:Ci.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});const n=this.parseOperationType();let i;return this.peek(ce.NAME)&&(i=this.parseName()),this.node(t,{kind:W.OPERATION_DEFINITION,operation:n,name:i,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){const t=this.expectToken(ce.NAME);switch(t.value){case"query":return Ci.QUERY;case"mutation":return Ci.MUTATION;case"subscription":return Ci.SUBSCRIPTION}throw this.unexpected(t)}parseVariableDefinitions(){return this.optionalMany(ce.PAREN_L,this.parseVariableDefinition,ce.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:W.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(ce.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(ce.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){const t=this._lexer.token;return this.expectToken(ce.DOLLAR),this.node(t,{kind:W.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:W.SELECTION_SET,selections:this.many(ce.BRACE_L,this.parseSelection,ce.BRACE_R)})}parseSelection(){return this.peek(ce.SPREAD)?this.parseFragment():this.parseField()}parseField(){const t=this._lexer.token,n=this.parseName();let i,r;return this.expectOptionalToken(ce.COLON)?(i=n,r=this.parseName()):r=n,this.node(t,{kind:W.FIELD,alias:i,name:r,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(ce.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(t){const n=t?this.parseConstArgument:this.parseArgument;return this.optionalMany(ce.PAREN_L,n,ce.PAREN_R)}parseArgument(t=!1){const n=this._lexer.token,i=this.parseName();return this.expectToken(ce.COLON),this.node(n,{kind:W.ARGUMENT,name:i,value:this.parseValueLiteral(t)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){const t=this._lexer.token;this.expectToken(ce.SPREAD);const n=this.expectOptionalKeyword("on");return!n&&this.peek(ce.NAME)?this.node(t,{kind:W.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(t,{kind:W.INLINE_FRAGMENT,typeCondition:n?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){const t=this._lexer.token;return this.expectKeyword("fragment"),this._options.allowLegacyFragmentVariables===!0?this.node(t,{kind:W.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(t,{kind:W.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if(this._lexer.token.value==="on")throw this.unexpected();return this.parseName()}parseValueLiteral(t){const n=this._lexer.token;switch(n.kind){case ce.BRACKET_L:return this.parseList(t);case ce.BRACE_L:return this.parseObject(t);case ce.INT:return this.advanceLexer(),this.node(n,{kind:W.INT,value:n.value});case ce.FLOAT:return this.advanceLexer(),this.node(n,{kind:W.FLOAT,value:n.value});case ce.STRING:case ce.BLOCK_STRING:return this.parseStringLiteral();case ce.NAME:switch(this.advanceLexer(),n.value){case"true":return this.node(n,{kind:W.BOOLEAN,value:!0});case"false":return this.node(n,{kind:W.BOOLEAN,value:!1});case"null":return this.node(n,{kind:W.NULL});default:return this.node(n,{kind:W.ENUM,value:n.value})}case ce.DOLLAR:if(t)if(this.expectToken(ce.DOLLAR),this._lexer.token.kind===ce.NAME){const i=this._lexer.token.value;throw on(this._lexer.source,n.start,`Unexpected variable "$${i}" in constant value.`)}else throw this.unexpected(n);return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){const t=this._lexer.token;return this.advanceLexer(),this.node(t,{kind:W.STRING,value:t.value,block:t.kind===ce.BLOCK_STRING})}parseList(t){const n=()=>this.parseValueLiteral(t);return this.node(this._lexer.token,{kind:W.LIST,values:this.any(ce.BRACKET_L,n,ce.BRACKET_R)})}parseObject(t){const n=()=>this.parseObjectField(t);return this.node(this._lexer.token,{kind:W.OBJECT,fields:this.any(ce.BRACE_L,n,ce.BRACE_R)})}parseObjectField(t){const n=this._lexer.token,i=this.parseName();return this.expectToken(ce.COLON),this.node(n,{kind:W.OBJECT_FIELD,name:i,value:this.parseValueLiteral(t)})}parseDirectives(t){const n=[];for(;this.peek(ce.AT);)n.push(this.parseDirective(t));return n}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(t){const n=this._lexer.token;return this.expectToken(ce.AT),this.node(n,{kind:W.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(t)})}parseTypeReference(){const t=this._lexer.token;let n;if(this.expectOptionalToken(ce.BRACKET_L)){const i=this.parseTypeReference();this.expectToken(ce.BRACKET_R),n=this.node(t,{kind:W.LIST_TYPE,type:i})}else n=this.parseNamedType();return this.expectOptionalToken(ce.BANG)?this.node(t,{kind:W.NON_NULL_TYPE,type:n}):n}parseNamedType(){return this.node(this._lexer.token,{kind:W.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(ce.STRING)||this.peek(ce.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("schema");const i=this.parseConstDirectives(),r=this.many(ce.BRACE_L,this.parseOperationTypeDefinition,ce.BRACE_R);return this.node(t,{kind:W.SCHEMA_DEFINITION,description:n,directives:i,operationTypes:r})}parseOperationTypeDefinition(){const t=this._lexer.token,n=this.parseOperationType();this.expectToken(ce.COLON);const i=this.parseNamedType();return this.node(t,{kind:W.OPERATION_TYPE_DEFINITION,operation:n,type:i})}parseScalarTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("scalar");const i=this.parseName(),r=this.parseConstDirectives();return this.node(t,{kind:W.SCALAR_TYPE_DEFINITION,description:n,name:i,directives:r})}parseObjectTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("type");const i=this.parseName(),r=this.parseImplementsInterfaces(),o=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(t,{kind:W.OBJECT_TYPE_DEFINITION,description:n,name:i,interfaces:r,directives:o,fields:a})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(ce.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(ce.BRACE_L,this.parseFieldDefinition,ce.BRACE_R)}parseFieldDefinition(){const t=this._lexer.token,n=this.parseDescription(),i=this.parseName(),r=this.parseArgumentDefs();this.expectToken(ce.COLON);const o=this.parseTypeReference(),a=this.parseConstDirectives();return this.node(t,{kind:W.FIELD_DEFINITION,description:n,name:i,arguments:r,type:o,directives:a})}parseArgumentDefs(){return this.optionalMany(ce.PAREN_L,this.parseInputValueDef,ce.PAREN_R)}parseInputValueDef(){const t=this._lexer.token,n=this.parseDescription(),i=this.parseName();this.expectToken(ce.COLON);const r=this.parseTypeReference();let o;this.expectOptionalToken(ce.EQUALS)&&(o=this.parseConstValueLiteral());const a=this.parseConstDirectives();return this.node(t,{kind:W.INPUT_VALUE_DEFINITION,description:n,name:i,type:r,defaultValue:o,directives:a})}parseInterfaceTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("interface");const i=this.parseName(),r=this.parseImplementsInterfaces(),o=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(t,{kind:W.INTERFACE_TYPE_DEFINITION,description:n,name:i,interfaces:r,directives:o,fields:a})}parseUnionTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("union");const i=this.parseName(),r=this.parseConstDirectives(),o=this.parseUnionMemberTypes();return this.node(t,{kind:W.UNION_TYPE_DEFINITION,description:n,name:i,directives:r,types:o})}parseUnionMemberTypes(){return this.expectOptionalToken(ce.EQUALS)?this.delimitedMany(ce.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("enum");const i=this.parseName(),r=this.parseConstDirectives(),o=this.parseEnumValuesDefinition();return this.node(t,{kind:W.ENUM_TYPE_DEFINITION,description:n,name:i,directives:r,values:o})}parseEnumValuesDefinition(){return this.optionalMany(ce.BRACE_L,this.parseEnumValueDefinition,ce.BRACE_R)}parseEnumValueDefinition(){const t=this._lexer.token,n=this.parseDescription(),i=this.parseEnumValueName(),r=this.parseConstDirectives();return this.node(t,{kind:W.ENUM_VALUE_DEFINITION,description:n,name:i,directives:r})}parseEnumValueName(){if(this._lexer.token.value==="true"||this._lexer.token.value==="false"||this._lexer.token.value==="null")throw on(this._lexer.source,this._lexer.token.start,`${fd(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("input");const i=this.parseName(),r=this.parseConstDirectives(),o=this.parseInputFieldsDefinition();return this.node(t,{kind:W.INPUT_OBJECT_TYPE_DEFINITION,description:n,name:i,directives:r,fields:o})}parseInputFieldsDefinition(){return this.optionalMany(ce.BRACE_L,this.parseInputValueDef,ce.BRACE_R)}parseTypeSystemExtension(){const t=this._lexer.lookahead();if(t.kind===ce.NAME)switch(t.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(t)}parseSchemaExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");const n=this.parseConstDirectives(),i=this.optionalMany(ce.BRACE_L,this.parseOperationTypeDefinition,ce.BRACE_R);if(n.length===0&&i.length===0)throw this.unexpected();return this.node(t,{kind:W.SCHEMA_EXTENSION,directives:n,operationTypes:i})}parseScalarTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");const n=this.parseName(),i=this.parseConstDirectives();if(i.length===0)throw this.unexpected();return this.node(t,{kind:W.SCALAR_TYPE_EXTENSION,name:n,directives:i})}parseObjectTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");const n=this.parseName(),i=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),o=this.parseFieldsDefinition();if(i.length===0&&r.length===0&&o.length===0)throw this.unexpected();return this.node(t,{kind:W.OBJECT_TYPE_EXTENSION,name:n,interfaces:i,directives:r,fields:o})}parseInterfaceTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");const n=this.parseName(),i=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),o=this.parseFieldsDefinition();if(i.length===0&&r.length===0&&o.length===0)throw this.unexpected();return this.node(t,{kind:W.INTERFACE_TYPE_EXTENSION,name:n,interfaces:i,directives:r,fields:o})}parseUnionTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");const n=this.parseName(),i=this.parseConstDirectives(),r=this.parseUnionMemberTypes();if(i.length===0&&r.length===0)throw this.unexpected();return this.node(t,{kind:W.UNION_TYPE_EXTENSION,name:n,directives:i,types:r})}parseEnumTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");const n=this.parseName(),i=this.parseConstDirectives(),r=this.parseEnumValuesDefinition();if(i.length===0&&r.length===0)throw this.unexpected();return this.node(t,{kind:W.ENUM_TYPE_EXTENSION,name:n,directives:i,values:r})}parseInputObjectTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");const n=this.parseName(),i=this.parseConstDirectives(),r=this.parseInputFieldsDefinition();if(i.length===0&&r.length===0)throw this.unexpected();return this.node(t,{kind:W.INPUT_OBJECT_TYPE_EXTENSION,name:n,directives:i,fields:r})}parseDirectiveDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("directive"),this.expectToken(ce.AT);const i=this.parseName(),r=this.parseArgumentDefs(),o=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");const a=this.parseDirectiveLocations();return this.node(t,{kind:W.DIRECTIVE_DEFINITION,description:n,name:i,arguments:r,repeatable:o,locations:a})}parseDirectiveLocations(){return this.delimitedMany(ce.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){const t=this._lexer.token,n=this.parseName();if(Object.prototype.hasOwnProperty.call(Se,n.value))return n;throw this.unexpected(t)}node(t,n){return this._options.noLocation!==!0&&(n.loc=new _w(t,this._lexer.lastToken,this._lexer.source)),n}peek(t){return this._lexer.token.kind===t}expectToken(t){const n=this._lexer.token;if(n.kind===t)return this.advanceLexer(),n;throw on(this._lexer.source,n.start,`Expected ${L5(t)}, found ${fd(n)}.`)}expectOptionalToken(t){return this._lexer.token.kind===t?(this.advanceLexer(),!0):!1}expectKeyword(t){const n=this._lexer.token;if(n.kind===ce.NAME&&n.value===t)this.advanceLexer();else throw on(this._lexer.source,n.start,`Expected "${t}", found ${fd(n)}.`)}expectOptionalKeyword(t){const n=this._lexer.token;return n.kind===ce.NAME&&n.value===t?(this.advanceLexer(),!0):!1}unexpected(t){const n=t??this._lexer.token;return on(this._lexer.source,n.start,`Unexpected ${fd(n)}.`)}any(t,n,i){this.expectToken(t);const r=[];for(;!this.expectOptionalToken(i);)r.push(n.call(this));return r}optionalMany(t,n,i){if(this.expectOptionalToken(t)){const r=[];do r.push(n.call(this));while(!this.expectOptionalToken(i));return r}return[]}many(t,n,i){this.expectToken(t);const r=[];do r.push(n.call(this));while(!this.expectOptionalToken(i));return r}delimitedMany(t,n){this.expectOptionalToken(t);const i=[];do i.push(n.call(this));while(this.expectOptionalToken(t));return i}advanceLexer(){const{maxTokens:t}=this._options,n=this._lexer.advance();if(n.kind!==ce.EOF&&(++this._tokenCounter,t!==void 0&&this._tokenCounter>t))throw on(this._lexer.source,n.start,`Document contains more that ${t} tokens. Parsing aborted.`)}}function fd(e){const t=e.value;return L5(e.kind)+(t!=null?` "${t}"`:"")}function L5(e){return Ow(e)?`"${e}"`:e}const Xw=5;function Zw(e,t){const[n,i]=t?[e,t]:[void 0,e];let r=" Did you mean ";n&&(r+=n+" ");const o=i.map(f=>`"${f}"`);switch(o.length){case 0:return"";case 1:return r+o[0]+"?";case 2:return r+o[0]+" or "+o[1]+"?"}const a=o.slice(0,Xw),c=a.pop();return r+a.join(", ")+", or "+c+"?"}function fx(e){return e}function I5(e,t){const n=Object.create(null);for(const i of e)n[t(i)]=i;return n}function Lo(e,t,n){const i=Object.create(null);for(const r of e)i[t(r)]=n(r);return i}function T0(e,t){const n=Object.create(null);for(const i of Object.keys(e))n[i]=t(e[i],i);return n}function Ww(e,t){let n=0,i=0;for(;n<e.length&&i<t.length;){let r=e.charCodeAt(n),o=t.charCodeAt(i);if(dd(r)&&dd(o)){let a=0;do++n,a=a*10+r-Tm,r=e.charCodeAt(n);while(dd(r)&&a>0);let c=0;do++i,c=c*10+o-Tm,o=t.charCodeAt(i);while(dd(o)&&c>0);if(a<c)return-1;if(a>c)return 1}else{if(r<o)return-1;if(r>o)return 1;++n,++i}}return e.length-t.length}const Tm=48,Kw=57;function dd(e){return!isNaN(e)&&Tm<=e&&e<=Kw}function Jw(e,t){const n=Object.create(null),i=new eD(e),r=Math.floor(e.length*.4)+1;for(const o of t){const a=i.measure(o,r);a!==void 0&&(n[o]=a)}return Object.keys(n).sort((o,a)=>{const c=n[o]-n[a];return c!==0?c:Ww(o,a)})}class eD{constructor(t){this._input=t,this._inputLowerCase=t.toLowerCase(),this._inputArray=dx(this._inputLowerCase),this._rows=[new Array(t.length+1).fill(0),new Array(t.length+1).fill(0),new Array(t.length+1).fill(0)]}measure(t,n){if(this._input===t)return 0;const i=t.toLowerCase();if(this._inputLowerCase===i)return 1;let r=dx(i),o=this._inputArray;if(r.length<o.length){const p=r;r=o,o=p}const a=r.length,c=o.length;if(a-c>n)return;const f=this._rows;for(let p=0;p<=c;p++)f[0][p]=p;for(let p=1;p<=a;p++){const g=f[(p-1)%3],y=f[p%3];let v=y[0]=p;for(let E=1;E<=c;E++){const T=r[p-1]===o[E-1]?0:1;let S=Math.min(g[E]+1,y[E-1]+1,g[E-1]+T);if(p>1&&E>1&&r[p-1]===o[E-2]&&r[p-2]===o[E-1]){const A=f[(p-2)%3][E-2];S=Math.min(S,A+1)}S<v&&(v=S),y[E]=S}if(v>n)return}const h=f[a%3][c];return h<=n?h:void 0}}function dx(e){const t=e.length,n=new Array(t);for(let i=0;i<t;++i)n[i]=e.charCodeAt(i);return n}function Ri(e){if(e==null)return Object.create(null);if(Object.getPrototypeOf(e)===null)return e;const t=Object.create(null);for(const[n,i]of Object.entries(e))t[n]=i;return t}function tD(e){return`"${e.replace(nD,iD)}"`}const nD=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function iD(e){return rD[e.charCodeAt(0)]}const rD=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"],ta=Object.freeze({});function Yi(e,t,n=A5){const i=new Map;for(const A of Object.values(W))i.set(A,qd(t,A));let r,o=Array.isArray(e),a=[e],c=-1,f=[],h=e,p,g;const y=[],v=[];do{c++;const A=c===a.length,D=A&&f.length!==0;if(A){if(p=v.length===0?void 0:y[y.length-1],h=g,g=v.pop(),D)if(o){h=h.slice();let N=0;for(const[O,k]of f){const I=O-N;k===null?(h.splice(I,1),N++):h[I]=k}}else{h=Object.defineProperties({},Object.getOwnPropertyDescriptors(h));for(const[N,O]of f)h[N]=O}c=r.index,a=r.keys,f=r.edits,o=r.inArray,r=r.prev}else if(g){if(p=o?c:a[c],h=g[p],h==null)continue;y.push(p)}let C;if(!Array.isArray(h)){var E,T;xm(h)||et(!1,`Invalid AST Node: ${be(h)}.`);const N=A?(E=i.get(h.kind))===null||E===void 0?void 0:E.leave:(T=i.get(h.kind))===null||T===void 0?void 0:T.enter;if(C=N==null?void 0:N.call(t,h,p,g,y,v),C===ta)break;if(C===!1){if(!A){y.pop();continue}}else if(C!==void 0&&(f.push([p,C]),!A))if(xm(C))h=C;else{y.pop();continue}}if(C===void 0&&D&&f.push([p,h]),A)y.pop();else{var S;r={inArray:o,index:c,keys:a,edits:f,prev:r},o=Array.isArray(h),a=o?h:(S=n[h.kind])!==null&&S!==void 0?S:[],c=-1,f=[],g&&v.push(g),g=h}}while(r!==void 0);return f.length!==0?f[f.length-1][1]:e}function VQ(e){const t=new Array(e.length).fill(null),n=Object.create(null);for(const i of Object.values(W)){let r=!1;const o=new Array(e.length).fill(void 0),a=new Array(e.length).fill(void 0);for(let f=0;f<e.length;++f){const{enter:h,leave:p}=qd(e[f],i);r||(r=h!=null||p!=null),o[f]=h,a[f]=p}if(!r)continue;const c={enter(...f){const h=f[0];for(let g=0;g<e.length;g++)if(t[g]===null){var p;const y=(p=o[g])===null||p===void 0?void 0:p.apply(e[g],f);if(y===!1)t[g]=h;else if(y===ta)t[g]=ta;else if(y!==void 0)return y}},leave(...f){const h=f[0];for(let g=0;g<e.length;g++)if(t[g]===null){var p;const y=(p=a[g])===null||p===void 0?void 0:p.apply(e[g],f);if(y===ta)t[g]=ta;else if(y!==void 0&&y!==!1)return y}else t[g]===h&&(t[g]=null)}};n[i]=c}return n}function qd(e,t){const n=e[t];return typeof n=="object"?n:typeof n=="function"?{enter:n,leave:void 0}:{enter:e.enter,leave:e.leave}}function li(e){return Yi(e,oD)}const uD=80,oD={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>xe(e.definitions,`
|
|
72
72
|
|
|
73
73
|
`)},OperationDefinition:{leave(e){const t=Be("(",xe(e.variableDefinitions,", "),")"),n=xe([e.operation,xe([e.name,t]),xe(e.directives," ")]," ");return(n==="query"?"":n+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:n,directives:i})=>e+": "+t+Be(" = ",n)+Be(" ",xe(i," "))},SelectionSet:{leave:({selections:e})=>Bi(e)},Field:{leave({alias:e,name:t,arguments:n,directives:i,selectionSet:r}){const o=Be("",e,": ")+t;let a=o+Be("(",xe(n,", "),")");return a.length>uD&&(a=o+Be(`(
|
|
74
74
|
`,Ld(xe(n,`
|
|
@@ -95,11 +95,11 @@ spurious results.`)}}return!1};class M5{constructor(t,n="GraphQL request",i={lin
|
|
|
95
95
|
`)),`
|
|
96
96
|
}`)}function Be(e,t,n=""){return t!=null&&t!==""?e+t+n:""}function Ld(e){return Be(" ",e.replace(/\n/g,`
|
|
97
97
|
`))}function hx(e){var t;return(t=e==null?void 0:e.some(n=>n.includes(`
|
|
98
|
-
`)))!==null&&t!==void 0?t:!1}function Tm(e,t){switch(e.kind){case W.NULL:return null;case W.INT:return parseInt(e.value,10);case W.FLOAT:return parseFloat(e.value);case W.STRING:case W.ENUM:case W.BOOLEAN:return e.value;case W.LIST:return e.values.map(n=>Tm(n,t));case W.OBJECT:return Lo(e.fields,n=>n.name.value,n=>Tm(n.value,t));case W.VARIABLE:return t==null?void 0:t[e.name.value]}}function Zi(e){if(e!=null||et(!1,"Must provide name."),typeof e=="string"||et(!1,"Expected name to be a string."),e.length===0)throw new Je("Expected name to be a non-empty string.");for(let t=1;t<e.length;++t)if(!D5(e.charCodeAt(t)))throw new Je(`Names must only contain [_a-zA-Z0-9] but "${e}" does not.`);if(!Pg(e.charCodeAt(0)))throw new Je(`Names must start with [_a-zA-Z] but "${e}" does not.`);return e}function sD(e){if(e==="true"||e==="false"||e==="null")throw new Je(`Enum values cannot be named: ${e}`);return Zi(e)}function Vg(e){return so(e)||bt(e)||Tt(e)||Di(e)||ci(e)||ln(e)||kn(e)||Pt(e)}function so(e){return Xi(e,Jo)}function bt(e){return Xi(e,wr)}function aD(e){if(!bt(e))throw new Error(`Expected ${be(e)} to be a GraphQL Object type.`);return e}function Tt(e){return Xi(e,la)}function lD(e){if(!Tt(e))throw new Error(`Expected ${be(e)} to be a GraphQL Interface type.`);return e}function Di(e){return Xi(e,q5)}function ci(e){return Xi(e,wa)}function ln(e){return Xi(e,zg)}function kn(e){return Xi(e,Hn)}function Pt(e){return Xi(e,$e)}function _i(e){return so(e)||ci(e)||ln(e)||Bg(e)&&_i(e.ofType)}function Bo(e){return so(e)||bt(e)||Tt(e)||Di(e)||ci(e)||Bg(e)&&Bo(e.ofType)}function S0(e){return so(e)||ci(e)}function no(e){return bt(e)||Tt(e)||Di(e)}function ou(e){return Tt(e)||Di(e)}function cD(e){if(!ou(e))throw new Error(`Expected ${be(e)} to be a GraphQL abstract type.`);return e}class Hn{constructor(t){Vg(t)||et(!1,`Expected ${be(t)} to be a GraphQL type.`),this.ofType=t}get[Symbol.toStringTag](){return"GraphQLList"}toString(){return"["+String(this.ofType)+"]"}toJSON(){return this.toString()}}class $e{constructor(t){F5(t)||et(!1,`Expected ${be(t)} to be a GraphQL nullable type.`),this.ofType=t}get[Symbol.toStringTag](){return"GraphQLNonNull"}toString(){return String(this.ofType)+"!"}toJSON(){return this.toString()}}function Bg(e){return kn(e)||Pt(e)}function F5(e){return Vg(e)&&!Pt(e)}function fD(e){if(!F5(e))throw new Error(`Expected ${be(e)} to be a GraphQL nullable type.`);return e}function j5(e){if(e)return Pt(e)?e.ofType:e}function $g(e){return so(e)||bt(e)||Tt(e)||Di(e)||ci(e)||ln(e)}function Nn(e){if(e){let t=e;for(;Bg(t);)t=t.ofType;return t}}function P5(e){return typeof e=="function"?e():e}function V5(e){return typeof e=="function"?e():e}class Jo{constructor(t){var n,i,r,o;const a=(n=t.parseValue)!==null&&n!==void 0?n:fx;this.name=Zi(t.name),this.description=t.description,this.specifiedByURL=t.specifiedByURL,this.serialize=(i=t.serialize)!==null&&i!==void 0?i:fx,this.parseValue=a,this.parseLiteral=(r=t.parseLiteral)!==null&&r!==void 0?r:(c,f)=>a(Tm(c,f)),this.extensions=Ri(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(o=t.extensionASTNodes)!==null&&o!==void 0?o:[],t.specifiedByURL==null||typeof t.specifiedByURL=="string"||et(!1,`${this.name} must provide "specifiedByURL" as a string, but got: ${be(t.specifiedByURL)}.`),t.serialize==null||typeof t.serialize=="function"||et(!1,`${this.name} must provide "serialize" function. If this custom Scalar is also used as an input type, ensure "parseValue" and "parseLiteral" functions are also provided.`),t.parseLiteral&&(typeof t.parseValue=="function"&&typeof t.parseLiteral=="function"||et(!1,`${this.name} must provide both "parseValue" and "parseLiteral" functions.`))}get[Symbol.toStringTag](){return"GraphQLScalarType"}toConfig(){return{name:this.name,description:this.description,specifiedByURL:this.specifiedByURL,serialize:this.serialize,parseValue:this.parseValue,parseLiteral:this.parseLiteral,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}class wr{constructor(t){var n;this.name=Zi(t.name),this.description=t.description,this.isTypeOf=t.isTypeOf,this.extensions=Ri(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(n=t.extensionASTNodes)!==null&&n!==void 0?n:[],this._fields=()=>$5(t),this._interfaces=()=>B5(t),t.isTypeOf==null||typeof t.isTypeOf=="function"||et(!1,`${this.name} must provide "isTypeOf" as a function, but got: ${be(t.isTypeOf)}.`)}get[Symbol.toStringTag](){return"GraphQLObjectType"}getFields(){return typeof this._fields=="function"&&(this._fields=this._fields()),this._fields}getInterfaces(){return typeof this._interfaces=="function"&&(this._interfaces=this._interfaces()),this._interfaces}toConfig(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:z5(this.getFields()),isTypeOf:this.isTypeOf,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function B5(e){var t;const n=P5((t=e.interfaces)!==null&&t!==void 0?t:[]);return Array.isArray(n)||et(!1,`${e.name} interfaces must be an Array or a function which returns an Array.`),n}function $5(e){const t=V5(e.fields);return aa(t)||et(!1,`${e.name} fields must be an object with field names as keys or a function which returns such an object.`),T0(t,(n,i)=>{var r;aa(n)||et(!1,`${e.name}.${i} field config must be an object.`),n.resolve==null||typeof n.resolve=="function"||et(!1,`${e.name}.${i} field resolver must be a function if provided, but got: ${be(n.resolve)}.`);const o=(r=n.args)!==null&&r!==void 0?r:{};return aa(o)||et(!1,`${e.name}.${i} args must be an object with argument names as keys.`),{name:Zi(i),description:n.description,type:n.type,args:U5(o),resolve:n.resolve,subscribe:n.subscribe,deprecationReason:n.deprecationReason,extensions:Ri(n.extensions),astNode:n.astNode}})}function U5(e){return Object.entries(e).map(([t,n])=>({name:Zi(t),description:n.description,type:n.type,defaultValue:n.defaultValue,deprecationReason:n.deprecationReason,extensions:Ri(n.extensions),astNode:n.astNode}))}function aa(e){return lu(e)&&!Array.isArray(e)}function z5(e){return T0(e,t=>({description:t.description,type:t.type,args:H5(t.args),resolve:t.resolve,subscribe:t.subscribe,deprecationReason:t.deprecationReason,extensions:t.extensions,astNode:t.astNode}))}function H5(e){return Lo(e,t=>t.name,t=>({description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:t.extensions,astNode:t.astNode}))}function Ug(e){return Pt(e.type)&&e.defaultValue===void 0}class la{constructor(t){var n;this.name=Zi(t.name),this.description=t.description,this.resolveType=t.resolveType,this.extensions=Ri(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(n=t.extensionASTNodes)!==null&&n!==void 0?n:[],this._fields=$5.bind(void 0,t),this._interfaces=B5.bind(void 0,t),t.resolveType==null||typeof t.resolveType=="function"||et(!1,`${this.name} must provide "resolveType" as a function, but got: ${be(t.resolveType)}.`)}get[Symbol.toStringTag](){return"GraphQLInterfaceType"}getFields(){return typeof this._fields=="function"&&(this._fields=this._fields()),this._fields}getInterfaces(){return typeof this._interfaces=="function"&&(this._interfaces=this._interfaces()),this._interfaces}toConfig(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:z5(this.getFields()),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}class q5{constructor(t){var n;this.name=Zi(t.name),this.description=t.description,this.resolveType=t.resolveType,this.extensions=Ri(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(n=t.extensionASTNodes)!==null&&n!==void 0?n:[],this._types=dD.bind(void 0,t),t.resolveType==null||typeof t.resolveType=="function"||et(!1,`${this.name} must provide "resolveType" as a function, but got: ${be(t.resolveType)}.`)}get[Symbol.toStringTag](){return"GraphQLUnionType"}getTypes(){return typeof this._types=="function"&&(this._types=this._types()),this._types}toConfig(){return{name:this.name,description:this.description,types:this.getTypes(),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function dD(e){const t=P5(e.types);return Array.isArray(t)||et(!1,`Must provide Array of types or a function which returns such an array for Union ${e.name}.`),t}class wa{constructor(t){var n;this.name=Zi(t.name),this.description=t.description,this.extensions=Ri(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(n=t.extensionASTNodes)!==null&&n!==void 0?n:[],this._values=typeof t.values=="function"?t.values:px(this.name,t.values),this._valueLookup=null,this._nameLookup=null}get[Symbol.toStringTag](){return"GraphQLEnumType"}getValues(){return typeof this._values=="function"&&(this._values=px(this.name,this._values())),this._values}getValue(t){return this._nameLookup===null&&(this._nameLookup=I5(this.getValues(),n=>n.name)),this._nameLookup[t]}serialize(t){this._valueLookup===null&&(this._valueLookup=new Map(this.getValues().map(i=>[i.value,i])));const n=this._valueLookup.get(t);if(n===void 0)throw new Je(`Enum "${this.name}" cannot represent value: ${be(t)}`);return n.name}parseValue(t){if(typeof t!="string"){const i=be(t);throw new Je(`Enum "${this.name}" cannot represent non-string value: ${i}.`+hd(this,i))}const n=this.getValue(t);if(n==null)throw new Je(`Value "${t}" does not exist in "${this.name}" enum.`+hd(this,t));return n.value}parseLiteral(t,n){if(t.kind!==W.ENUM){const r=li(t);throw new Je(`Enum "${this.name}" cannot represent non-enum value: ${r}.`+hd(this,r),{nodes:t})}const i=this.getValue(t.value);if(i==null){const r=li(t);throw new Je(`Value "${r}" does not exist in "${this.name}" enum.`+hd(this,r),{nodes:t})}return i.value}toConfig(){const t=Lo(this.getValues(),n=>n.name,n=>({description:n.description,value:n.value,deprecationReason:n.deprecationReason,extensions:n.extensions,astNode:n.astNode}));return{name:this.name,description:this.description,values:t,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function hd(e,t){const n=e.getValues().map(r=>r.name),i=Jw(t,n);return Zw("the enum value",i)}function px(e,t){return aa(t)||et(!1,`${e} values must be an object with value names as keys.`),Object.entries(t).map(([n,i])=>(aa(i)||et(!1,`${e}.${n} must refer to an object with a "value" key representing an internal value but got: ${be(i)}.`),{name:sD(n),description:i.description,value:i.value!==void 0?i.value:n,deprecationReason:i.deprecationReason,extensions:Ri(i.extensions),astNode:i.astNode}))}class zg{constructor(t){var n,i;this.name=Zi(t.name),this.description=t.description,this.extensions=Ri(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(n=t.extensionASTNodes)!==null&&n!==void 0?n:[],this.isOneOf=(i=t.isOneOf)!==null&&i!==void 0?i:!1,this._fields=hD.bind(void 0,t)}get[Symbol.toStringTag](){return"GraphQLInputObjectType"}getFields(){return typeof this._fields=="function"&&(this._fields=this._fields()),this._fields}toConfig(){const t=T0(this.getFields(),n=>({description:n.description,type:n.type,defaultValue:n.defaultValue,deprecationReason:n.deprecationReason,extensions:n.extensions,astNode:n.astNode}));return{name:this.name,description:this.description,fields:t,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes,isOneOf:this.isOneOf}}toString(){return this.name}toJSON(){return this.toString()}}function hD(e){const t=V5(e.fields);return aa(t)||et(!1,`${e.name} fields must be an object with field names as keys or a function which returns such an object.`),T0(t,(n,i)=>(!("resolve"in n)||et(!1,`${e.name}.${i} field has a resolve property, but Input Types cannot define resolvers.`),{name:Zi(i),description:n.description,type:n.type,defaultValue:n.defaultValue,deprecationReason:n.deprecationReason,extensions:Ri(n.extensions),astNode:n.astNode}))}function pD(e){return Pt(e.type)&&e.defaultValue===void 0}function Sm(e,t){return e===t?!0:Pt(e)&&Pt(t)||kn(e)&&kn(t)?Sm(e.ofType,t.ofType):!1}function Id(e,t,n){return t===n?!0:Pt(n)?Pt(t)?Id(e,t.ofType,n.ofType):!1:Pt(t)?Id(e,t.ofType,n):kn(n)?kn(t)?Id(e,t.ofType,n.ofType):!1:kn(t)?!1:ou(n)&&(Tt(t)||bt(t))&&e.isSubType(n,t)}function mD(e,t,n){return t===n?!0:ou(t)?ou(n)?e.getPossibleTypes(t).some(i=>e.isSubType(n,i)):e.isSubType(t,n):ou(n)?e.isSubType(n,t):!1}const a1=2147483647,l1=-2147483648,gD=new Jo({name:"Int",description:"The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.",serialize(e){const t=Ic(e);if(typeof t=="boolean")return t?1:0;let n=t;if(typeof t=="string"&&t!==""&&(n=Number(t)),typeof n!="number"||!Number.isInteger(n))throw new Je(`Int cannot represent non-integer value: ${be(t)}`);if(n>a1||n<l1)throw new Je("Int cannot represent non 32-bit signed integer value: "+be(t));return n},parseValue(e){if(typeof e!="number"||!Number.isInteger(e))throw new Je(`Int cannot represent non-integer value: ${be(e)}`);if(e>a1||e<l1)throw new Je(`Int cannot represent non 32-bit signed integer value: ${e}`);return e},parseLiteral(e){if(e.kind!==W.INT)throw new Je(`Int cannot represent non-integer value: ${li(e)}`,{nodes:e});const t=parseInt(e.value,10);if(t>a1||t<l1)throw new Je(`Int cannot represent non 32-bit signed integer value: ${e.value}`,{nodes:e});return t}}),G5=new Jo({name:"Float",description:"The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).",serialize(e){const t=Ic(e);if(typeof t=="boolean")return t?1:0;let n=t;if(typeof t=="string"&&t!==""&&(n=Number(t)),typeof n!="number"||!Number.isFinite(n))throw new Je(`Float cannot represent non numeric value: ${be(t)}`);return n},parseValue(e){if(typeof e!="number"||!Number.isFinite(e))throw new Je(`Float cannot represent non numeric value: ${be(e)}`);return e},parseLiteral(e){if(e.kind!==W.FLOAT&&e.kind!==W.INT)throw new Je(`Float cannot represent non numeric value: ${li(e)}`,e);return parseFloat(e.value)}}),Vt=new Jo({name:"String",description:"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.",serialize(e){const t=Ic(e);if(typeof t=="string")return t;if(typeof t=="boolean")return t?"true":"false";if(typeof t=="number"&&Number.isFinite(t))return t.toString();throw new Je(`String cannot represent value: ${be(e)}`)},parseValue(e){if(typeof e!="string")throw new Je(`String cannot represent a non string value: ${be(e)}`);return e},parseLiteral(e){if(e.kind!==W.STRING)throw new Je(`String cannot represent a non string value: ${li(e)}`,{nodes:e});return e.value}}),sn=new Jo({name:"Boolean",description:"The `Boolean` scalar type represents `true` or `false`.",serialize(e){const t=Ic(e);if(typeof t=="boolean")return t;if(Number.isFinite(t))return t!==0;throw new Je(`Boolean cannot represent a non boolean value: ${be(t)}`)},parseValue(e){if(typeof e!="boolean")throw new Je(`Boolean cannot represent a non boolean value: ${be(e)}`);return e},parseLiteral(e){if(e.kind!==W.BOOLEAN)throw new Je(`Boolean cannot represent a non boolean value: ${li(e)}`,{nodes:e});return e.value}}),Y5=new Jo({name:"ID",description:'The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `"4"`) or integer (such as `4`) input value will be accepted as an ID.',serialize(e){const t=Ic(e);if(typeof t=="string")return t;if(Number.isInteger(t))return String(t);throw new Je(`ID cannot represent value: ${be(e)}`)},parseValue(e){if(typeof e=="string")return e;if(typeof e=="number"&&Number.isInteger(e))return e.toString();throw new Je(`ID cannot represent value: ${be(e)}`)},parseLiteral(e){if(e.kind!==W.STRING&&e.kind!==W.INT)throw new Je("ID cannot represent a non-string and non-integer value: "+li(e),{nodes:e});return e.value}}),vD=Object.freeze([Vt,gD,G5,sn,Y5]);function Ic(e){if(lu(e)){if(typeof e.valueOf=="function"){const t=e.valueOf();if(!lu(t))return t}if(typeof e.toJSON=="function")return e.toJSON()}return e}function Q5(e){return Xi(e,es)}class es{constructor(t){var n,i;this.name=Zi(t.name),this.description=t.description,this.locations=t.locations,this.isRepeatable=(n=t.isRepeatable)!==null&&n!==void 0?n:!1,this.extensions=Ri(t.extensions),this.astNode=t.astNode,Array.isArray(t.locations)||et(!1,`@${t.name} locations must be an Array.`);const r=(i=t.args)!==null&&i!==void 0?i:{};lu(r)&&!Array.isArray(r)||et(!1,`@${t.name} args must be an object with argument names as keys.`),this.args=U5(r)}get[Symbol.toStringTag](){return"GraphQLDirective"}toConfig(){return{name:this.name,description:this.description,locations:this.locations,args:H5(this.args),isRepeatable:this.isRepeatable,extensions:this.extensions,astNode:this.astNode}}toString(){return"@"+this.name}toJSON(){return this.toString()}}const yD=new es({name:"include",description:"Directs the executor to include this field or fragment only when the `if` argument is true.",locations:[Se.FIELD,Se.FRAGMENT_SPREAD,Se.INLINE_FRAGMENT],args:{if:{type:new $e(sn),description:"Included when true."}}}),bD=new es({name:"skip",description:"Directs the executor to skip this field or fragment when the `if` argument is true.",locations:[Se.FIELD,Se.FRAGMENT_SPREAD,Se.INLINE_FRAGMENT],args:{if:{type:new $e(sn),description:"Skipped when true."}}}),xD="No longer supported",X5=new es({name:"deprecated",description:"Marks an element of a GraphQL schema as no longer supported.",locations:[Se.FIELD_DEFINITION,Se.ARGUMENT_DEFINITION,Se.INPUT_FIELD_DEFINITION,Se.ENUM_VALUE],args:{reason:{type:Vt,description:"Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax, as specified by [CommonMark](https://commonmark.org/).",defaultValue:xD}}}),ED=new es({name:"specifiedBy",description:"Exposes a URL that specifies the behavior of this scalar.",locations:[Se.SCALAR],args:{url:{type:new $e(Vt),description:"The URL that specifies the behavior of this scalar."}}}),TD=new es({name:"oneOf",description:"Indicates exactly one field must be supplied and this field must not be `null`.",locations:[Se.INPUT_OBJECT],args:{}}),SD=Object.freeze([yD,bD,X5,ED,TD]);function _D(e){return typeof e=="object"&&typeof(e==null?void 0:e[Symbol.iterator])=="function"}function na(e,t){if(Pt(t)){const n=na(e,t.ofType);return(n==null?void 0:n.kind)===W.NULL?null:n}if(e===null)return{kind:W.NULL};if(e===void 0)return null;if(kn(t)){const n=t.ofType;if(_D(e)){const i=[];for(const r of e){const o=na(r,n);o!=null&&i.push(o)}return{kind:W.LIST,values:i}}return na(e,n)}if(ln(t)){if(!lu(e))return null;const n=[];for(const i of Object.values(t.getFields())){const r=na(e[i.name],i.type);r&&n.push({kind:W.OBJECT_FIELD,name:{kind:W.NAME,value:i.name},value:r})}return{kind:W.OBJECT,fields:n}}if(S0(t)){const n=t.serialize(e);if(n==null)return null;if(typeof n=="boolean")return{kind:W.BOOLEAN,value:n};if(typeof n=="number"&&Number.isFinite(n)){const i=String(n);return mx.test(i)?{kind:W.INT,value:i}:{kind:W.FLOAT,value:i}}if(typeof n=="string")return ci(t)?{kind:W.ENUM,value:n}:t===Y5&&mx.test(n)?{kind:W.INT,value:n}:{kind:W.STRING,value:n};throw new TypeError(`Cannot convert value to AST: ${be(n)}.`)}b0(!1,"Unexpected input type: "+be(t))}const mx=/^-?(?:0|[1-9][0-9]*)$/,Hg=new wr({name:"__Schema",description:"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.",fields:()=>({description:{type:Vt,resolve:e=>e.description},types:{description:"A list of all types supported by this server.",type:new $e(new Hn(new $e(Gi))),resolve(e){return Object.values(e.getTypeMap())}},queryType:{description:"The type that query operations will be rooted at.",type:new $e(Gi),resolve:e=>e.getQueryType()},mutationType:{description:"If this server supports mutation, the type that mutation operations will be rooted at.",type:Gi,resolve:e=>e.getMutationType()},subscriptionType:{description:"If this server support subscription, the type that subscription operations will be rooted at.",type:Gi,resolve:e=>e.getSubscriptionType()},directives:{description:"A list of all directives supported by this server.",type:new $e(new Hn(new $e(Z5))),resolve:e=>e.getDirectives()}})}),Z5=new wr({name:"__Directive",description:`A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.
|
|
98
|
+
`)))!==null&&t!==void 0?t:!1}function Sm(e,t){switch(e.kind){case W.NULL:return null;case W.INT:return parseInt(e.value,10);case W.FLOAT:return parseFloat(e.value);case W.STRING:case W.ENUM:case W.BOOLEAN:return e.value;case W.LIST:return e.values.map(n=>Sm(n,t));case W.OBJECT:return Lo(e.fields,n=>n.name.value,n=>Sm(n.value,t));case W.VARIABLE:return t==null?void 0:t[e.name.value]}}function Zi(e){if(e!=null||et(!1,"Must provide name."),typeof e=="string"||et(!1,"Expected name to be a string."),e.length===0)throw new Je("Expected name to be a non-empty string.");for(let t=1;t<e.length;++t)if(!D5(e.charCodeAt(t)))throw new Je(`Names must only contain [_a-zA-Z0-9] but "${e}" does not.`);if(!Vg(e.charCodeAt(0)))throw new Je(`Names must start with [_a-zA-Z] but "${e}" does not.`);return e}function sD(e){if(e==="true"||e==="false"||e==="null")throw new Je(`Enum values cannot be named: ${e}`);return Zi(e)}function Bg(e){return so(e)||bt(e)||Tt(e)||Di(e)||ci(e)||ln(e)||kn(e)||Pt(e)}function so(e){return Xi(e,Jo)}function bt(e){return Xi(e,wr)}function aD(e){if(!bt(e))throw new Error(`Expected ${be(e)} to be a GraphQL Object type.`);return e}function Tt(e){return Xi(e,la)}function lD(e){if(!Tt(e))throw new Error(`Expected ${be(e)} to be a GraphQL Interface type.`);return e}function Di(e){return Xi(e,q5)}function ci(e){return Xi(e,wa)}function ln(e){return Xi(e,Hg)}function kn(e){return Xi(e,Hn)}function Pt(e){return Xi(e,$e)}function _i(e){return so(e)||ci(e)||ln(e)||$g(e)&&_i(e.ofType)}function Bo(e){return so(e)||bt(e)||Tt(e)||Di(e)||ci(e)||$g(e)&&Bo(e.ofType)}function S0(e){return so(e)||ci(e)}function no(e){return bt(e)||Tt(e)||Di(e)}function ou(e){return Tt(e)||Di(e)}function cD(e){if(!ou(e))throw new Error(`Expected ${be(e)} to be a GraphQL abstract type.`);return e}class Hn{constructor(t){Bg(t)||et(!1,`Expected ${be(t)} to be a GraphQL type.`),this.ofType=t}get[Symbol.toStringTag](){return"GraphQLList"}toString(){return"["+String(this.ofType)+"]"}toJSON(){return this.toString()}}class $e{constructor(t){F5(t)||et(!1,`Expected ${be(t)} to be a GraphQL nullable type.`),this.ofType=t}get[Symbol.toStringTag](){return"GraphQLNonNull"}toString(){return String(this.ofType)+"!"}toJSON(){return this.toString()}}function $g(e){return kn(e)||Pt(e)}function F5(e){return Bg(e)&&!Pt(e)}function fD(e){if(!F5(e))throw new Error(`Expected ${be(e)} to be a GraphQL nullable type.`);return e}function j5(e){if(e)return Pt(e)?e.ofType:e}function Ug(e){return so(e)||bt(e)||Tt(e)||Di(e)||ci(e)||ln(e)}function Nn(e){if(e){let t=e;for(;$g(t);)t=t.ofType;return t}}function P5(e){return typeof e=="function"?e():e}function V5(e){return typeof e=="function"?e():e}class Jo{constructor(t){var n,i,r,o;const a=(n=t.parseValue)!==null&&n!==void 0?n:fx;this.name=Zi(t.name),this.description=t.description,this.specifiedByURL=t.specifiedByURL,this.serialize=(i=t.serialize)!==null&&i!==void 0?i:fx,this.parseValue=a,this.parseLiteral=(r=t.parseLiteral)!==null&&r!==void 0?r:(c,f)=>a(Sm(c,f)),this.extensions=Ri(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(o=t.extensionASTNodes)!==null&&o!==void 0?o:[],t.specifiedByURL==null||typeof t.specifiedByURL=="string"||et(!1,`${this.name} must provide "specifiedByURL" as a string, but got: ${be(t.specifiedByURL)}.`),t.serialize==null||typeof t.serialize=="function"||et(!1,`${this.name} must provide "serialize" function. If this custom Scalar is also used as an input type, ensure "parseValue" and "parseLiteral" functions are also provided.`),t.parseLiteral&&(typeof t.parseValue=="function"&&typeof t.parseLiteral=="function"||et(!1,`${this.name} must provide both "parseValue" and "parseLiteral" functions.`))}get[Symbol.toStringTag](){return"GraphQLScalarType"}toConfig(){return{name:this.name,description:this.description,specifiedByURL:this.specifiedByURL,serialize:this.serialize,parseValue:this.parseValue,parseLiteral:this.parseLiteral,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}class wr{constructor(t){var n;this.name=Zi(t.name),this.description=t.description,this.isTypeOf=t.isTypeOf,this.extensions=Ri(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(n=t.extensionASTNodes)!==null&&n!==void 0?n:[],this._fields=()=>$5(t),this._interfaces=()=>B5(t),t.isTypeOf==null||typeof t.isTypeOf=="function"||et(!1,`${this.name} must provide "isTypeOf" as a function, but got: ${be(t.isTypeOf)}.`)}get[Symbol.toStringTag](){return"GraphQLObjectType"}getFields(){return typeof this._fields=="function"&&(this._fields=this._fields()),this._fields}getInterfaces(){return typeof this._interfaces=="function"&&(this._interfaces=this._interfaces()),this._interfaces}toConfig(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:z5(this.getFields()),isTypeOf:this.isTypeOf,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function B5(e){var t;const n=P5((t=e.interfaces)!==null&&t!==void 0?t:[]);return Array.isArray(n)||et(!1,`${e.name} interfaces must be an Array or a function which returns an Array.`),n}function $5(e){const t=V5(e.fields);return aa(t)||et(!1,`${e.name} fields must be an object with field names as keys or a function which returns such an object.`),T0(t,(n,i)=>{var r;aa(n)||et(!1,`${e.name}.${i} field config must be an object.`),n.resolve==null||typeof n.resolve=="function"||et(!1,`${e.name}.${i} field resolver must be a function if provided, but got: ${be(n.resolve)}.`);const o=(r=n.args)!==null&&r!==void 0?r:{};return aa(o)||et(!1,`${e.name}.${i} args must be an object with argument names as keys.`),{name:Zi(i),description:n.description,type:n.type,args:U5(o),resolve:n.resolve,subscribe:n.subscribe,deprecationReason:n.deprecationReason,extensions:Ri(n.extensions),astNode:n.astNode}})}function U5(e){return Object.entries(e).map(([t,n])=>({name:Zi(t),description:n.description,type:n.type,defaultValue:n.defaultValue,deprecationReason:n.deprecationReason,extensions:Ri(n.extensions),astNode:n.astNode}))}function aa(e){return lu(e)&&!Array.isArray(e)}function z5(e){return T0(e,t=>({description:t.description,type:t.type,args:H5(t.args),resolve:t.resolve,subscribe:t.subscribe,deprecationReason:t.deprecationReason,extensions:t.extensions,astNode:t.astNode}))}function H5(e){return Lo(e,t=>t.name,t=>({description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:t.extensions,astNode:t.astNode}))}function zg(e){return Pt(e.type)&&e.defaultValue===void 0}class la{constructor(t){var n;this.name=Zi(t.name),this.description=t.description,this.resolveType=t.resolveType,this.extensions=Ri(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(n=t.extensionASTNodes)!==null&&n!==void 0?n:[],this._fields=$5.bind(void 0,t),this._interfaces=B5.bind(void 0,t),t.resolveType==null||typeof t.resolveType=="function"||et(!1,`${this.name} must provide "resolveType" as a function, but got: ${be(t.resolveType)}.`)}get[Symbol.toStringTag](){return"GraphQLInterfaceType"}getFields(){return typeof this._fields=="function"&&(this._fields=this._fields()),this._fields}getInterfaces(){return typeof this._interfaces=="function"&&(this._interfaces=this._interfaces()),this._interfaces}toConfig(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:z5(this.getFields()),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}class q5{constructor(t){var n;this.name=Zi(t.name),this.description=t.description,this.resolveType=t.resolveType,this.extensions=Ri(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(n=t.extensionASTNodes)!==null&&n!==void 0?n:[],this._types=dD.bind(void 0,t),t.resolveType==null||typeof t.resolveType=="function"||et(!1,`${this.name} must provide "resolveType" as a function, but got: ${be(t.resolveType)}.`)}get[Symbol.toStringTag](){return"GraphQLUnionType"}getTypes(){return typeof this._types=="function"&&(this._types=this._types()),this._types}toConfig(){return{name:this.name,description:this.description,types:this.getTypes(),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function dD(e){const t=P5(e.types);return Array.isArray(t)||et(!1,`Must provide Array of types or a function which returns such an array for Union ${e.name}.`),t}class wa{constructor(t){var n;this.name=Zi(t.name),this.description=t.description,this.extensions=Ri(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(n=t.extensionASTNodes)!==null&&n!==void 0?n:[],this._values=typeof t.values=="function"?t.values:px(this.name,t.values),this._valueLookup=null,this._nameLookup=null}get[Symbol.toStringTag](){return"GraphQLEnumType"}getValues(){return typeof this._values=="function"&&(this._values=px(this.name,this._values())),this._values}getValue(t){return this._nameLookup===null&&(this._nameLookup=I5(this.getValues(),n=>n.name)),this._nameLookup[t]}serialize(t){this._valueLookup===null&&(this._valueLookup=new Map(this.getValues().map(i=>[i.value,i])));const n=this._valueLookup.get(t);if(n===void 0)throw new Je(`Enum "${this.name}" cannot represent value: ${be(t)}`);return n.name}parseValue(t){if(typeof t!="string"){const i=be(t);throw new Je(`Enum "${this.name}" cannot represent non-string value: ${i}.`+hd(this,i))}const n=this.getValue(t);if(n==null)throw new Je(`Value "${t}" does not exist in "${this.name}" enum.`+hd(this,t));return n.value}parseLiteral(t,n){if(t.kind!==W.ENUM){const r=li(t);throw new Je(`Enum "${this.name}" cannot represent non-enum value: ${r}.`+hd(this,r),{nodes:t})}const i=this.getValue(t.value);if(i==null){const r=li(t);throw new Je(`Value "${r}" does not exist in "${this.name}" enum.`+hd(this,r),{nodes:t})}return i.value}toConfig(){const t=Lo(this.getValues(),n=>n.name,n=>({description:n.description,value:n.value,deprecationReason:n.deprecationReason,extensions:n.extensions,astNode:n.astNode}));return{name:this.name,description:this.description,values:t,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function hd(e,t){const n=e.getValues().map(r=>r.name),i=Jw(t,n);return Zw("the enum value",i)}function px(e,t){return aa(t)||et(!1,`${e} values must be an object with value names as keys.`),Object.entries(t).map(([n,i])=>(aa(i)||et(!1,`${e}.${n} must refer to an object with a "value" key representing an internal value but got: ${be(i)}.`),{name:sD(n),description:i.description,value:i.value!==void 0?i.value:n,deprecationReason:i.deprecationReason,extensions:Ri(i.extensions),astNode:i.astNode}))}class Hg{constructor(t){var n,i;this.name=Zi(t.name),this.description=t.description,this.extensions=Ri(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(n=t.extensionASTNodes)!==null&&n!==void 0?n:[],this.isOneOf=(i=t.isOneOf)!==null&&i!==void 0?i:!1,this._fields=hD.bind(void 0,t)}get[Symbol.toStringTag](){return"GraphQLInputObjectType"}getFields(){return typeof this._fields=="function"&&(this._fields=this._fields()),this._fields}toConfig(){const t=T0(this.getFields(),n=>({description:n.description,type:n.type,defaultValue:n.defaultValue,deprecationReason:n.deprecationReason,extensions:n.extensions,astNode:n.astNode}));return{name:this.name,description:this.description,fields:t,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes,isOneOf:this.isOneOf}}toString(){return this.name}toJSON(){return this.toString()}}function hD(e){const t=V5(e.fields);return aa(t)||et(!1,`${e.name} fields must be an object with field names as keys or a function which returns such an object.`),T0(t,(n,i)=>(!("resolve"in n)||et(!1,`${e.name}.${i} field has a resolve property, but Input Types cannot define resolvers.`),{name:Zi(i),description:n.description,type:n.type,defaultValue:n.defaultValue,deprecationReason:n.deprecationReason,extensions:Ri(n.extensions),astNode:n.astNode}))}function pD(e){return Pt(e.type)&&e.defaultValue===void 0}function _m(e,t){return e===t?!0:Pt(e)&&Pt(t)||kn(e)&&kn(t)?_m(e.ofType,t.ofType):!1}function Id(e,t,n){return t===n?!0:Pt(n)?Pt(t)?Id(e,t.ofType,n.ofType):!1:Pt(t)?Id(e,t.ofType,n):kn(n)?kn(t)?Id(e,t.ofType,n.ofType):!1:kn(t)?!1:ou(n)&&(Tt(t)||bt(t))&&e.isSubType(n,t)}function mD(e,t,n){return t===n?!0:ou(t)?ou(n)?e.getPossibleTypes(t).some(i=>e.isSubType(n,i)):e.isSubType(t,n):ou(n)?e.isSubType(n,t):!1}const l1=2147483647,c1=-2147483648,gD=new Jo({name:"Int",description:"The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.",serialize(e){const t=Ic(e);if(typeof t=="boolean")return t?1:0;let n=t;if(typeof t=="string"&&t!==""&&(n=Number(t)),typeof n!="number"||!Number.isInteger(n))throw new Je(`Int cannot represent non-integer value: ${be(t)}`);if(n>l1||n<c1)throw new Je("Int cannot represent non 32-bit signed integer value: "+be(t));return n},parseValue(e){if(typeof e!="number"||!Number.isInteger(e))throw new Je(`Int cannot represent non-integer value: ${be(e)}`);if(e>l1||e<c1)throw new Je(`Int cannot represent non 32-bit signed integer value: ${e}`);return e},parseLiteral(e){if(e.kind!==W.INT)throw new Je(`Int cannot represent non-integer value: ${li(e)}`,{nodes:e});const t=parseInt(e.value,10);if(t>l1||t<c1)throw new Je(`Int cannot represent non 32-bit signed integer value: ${e.value}`,{nodes:e});return t}}),G5=new Jo({name:"Float",description:"The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).",serialize(e){const t=Ic(e);if(typeof t=="boolean")return t?1:0;let n=t;if(typeof t=="string"&&t!==""&&(n=Number(t)),typeof n!="number"||!Number.isFinite(n))throw new Je(`Float cannot represent non numeric value: ${be(t)}`);return n},parseValue(e){if(typeof e!="number"||!Number.isFinite(e))throw new Je(`Float cannot represent non numeric value: ${be(e)}`);return e},parseLiteral(e){if(e.kind!==W.FLOAT&&e.kind!==W.INT)throw new Je(`Float cannot represent non numeric value: ${li(e)}`,e);return parseFloat(e.value)}}),Vt=new Jo({name:"String",description:"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.",serialize(e){const t=Ic(e);if(typeof t=="string")return t;if(typeof t=="boolean")return t?"true":"false";if(typeof t=="number"&&Number.isFinite(t))return t.toString();throw new Je(`String cannot represent value: ${be(e)}`)},parseValue(e){if(typeof e!="string")throw new Je(`String cannot represent a non string value: ${be(e)}`);return e},parseLiteral(e){if(e.kind!==W.STRING)throw new Je(`String cannot represent a non string value: ${li(e)}`,{nodes:e});return e.value}}),sn=new Jo({name:"Boolean",description:"The `Boolean` scalar type represents `true` or `false`.",serialize(e){const t=Ic(e);if(typeof t=="boolean")return t;if(Number.isFinite(t))return t!==0;throw new Je(`Boolean cannot represent a non boolean value: ${be(t)}`)},parseValue(e){if(typeof e!="boolean")throw new Je(`Boolean cannot represent a non boolean value: ${be(e)}`);return e},parseLiteral(e){if(e.kind!==W.BOOLEAN)throw new Je(`Boolean cannot represent a non boolean value: ${li(e)}`,{nodes:e});return e.value}}),Y5=new Jo({name:"ID",description:'The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `"4"`) or integer (such as `4`) input value will be accepted as an ID.',serialize(e){const t=Ic(e);if(typeof t=="string")return t;if(Number.isInteger(t))return String(t);throw new Je(`ID cannot represent value: ${be(e)}`)},parseValue(e){if(typeof e=="string")return e;if(typeof e=="number"&&Number.isInteger(e))return e.toString();throw new Je(`ID cannot represent value: ${be(e)}`)},parseLiteral(e){if(e.kind!==W.STRING&&e.kind!==W.INT)throw new Je("ID cannot represent a non-string and non-integer value: "+li(e),{nodes:e});return e.value}}),vD=Object.freeze([Vt,gD,G5,sn,Y5]);function Ic(e){if(lu(e)){if(typeof e.valueOf=="function"){const t=e.valueOf();if(!lu(t))return t}if(typeof e.toJSON=="function")return e.toJSON()}return e}function Q5(e){return Xi(e,es)}class es{constructor(t){var n,i;this.name=Zi(t.name),this.description=t.description,this.locations=t.locations,this.isRepeatable=(n=t.isRepeatable)!==null&&n!==void 0?n:!1,this.extensions=Ri(t.extensions),this.astNode=t.astNode,Array.isArray(t.locations)||et(!1,`@${t.name} locations must be an Array.`);const r=(i=t.args)!==null&&i!==void 0?i:{};lu(r)&&!Array.isArray(r)||et(!1,`@${t.name} args must be an object with argument names as keys.`),this.args=U5(r)}get[Symbol.toStringTag](){return"GraphQLDirective"}toConfig(){return{name:this.name,description:this.description,locations:this.locations,args:H5(this.args),isRepeatable:this.isRepeatable,extensions:this.extensions,astNode:this.astNode}}toString(){return"@"+this.name}toJSON(){return this.toString()}}const yD=new es({name:"include",description:"Directs the executor to include this field or fragment only when the `if` argument is true.",locations:[Se.FIELD,Se.FRAGMENT_SPREAD,Se.INLINE_FRAGMENT],args:{if:{type:new $e(sn),description:"Included when true."}}}),bD=new es({name:"skip",description:"Directs the executor to skip this field or fragment when the `if` argument is true.",locations:[Se.FIELD,Se.FRAGMENT_SPREAD,Se.INLINE_FRAGMENT],args:{if:{type:new $e(sn),description:"Skipped when true."}}}),xD="No longer supported",X5=new es({name:"deprecated",description:"Marks an element of a GraphQL schema as no longer supported.",locations:[Se.FIELD_DEFINITION,Se.ARGUMENT_DEFINITION,Se.INPUT_FIELD_DEFINITION,Se.ENUM_VALUE],args:{reason:{type:Vt,description:"Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax, as specified by [CommonMark](https://commonmark.org/).",defaultValue:xD}}}),ED=new es({name:"specifiedBy",description:"Exposes a URL that specifies the behavior of this scalar.",locations:[Se.SCALAR],args:{url:{type:new $e(Vt),description:"The URL that specifies the behavior of this scalar."}}}),TD=new es({name:"oneOf",description:"Indicates exactly one field must be supplied and this field must not be `null`.",locations:[Se.INPUT_OBJECT],args:{}}),SD=Object.freeze([yD,bD,X5,ED,TD]);function _D(e){return typeof e=="object"&&typeof(e==null?void 0:e[Symbol.iterator])=="function"}function na(e,t){if(Pt(t)){const n=na(e,t.ofType);return(n==null?void 0:n.kind)===W.NULL?null:n}if(e===null)return{kind:W.NULL};if(e===void 0)return null;if(kn(t)){const n=t.ofType;if(_D(e)){const i=[];for(const r of e){const o=na(r,n);o!=null&&i.push(o)}return{kind:W.LIST,values:i}}return na(e,n)}if(ln(t)){if(!lu(e))return null;const n=[];for(const i of Object.values(t.getFields())){const r=na(e[i.name],i.type);r&&n.push({kind:W.OBJECT_FIELD,name:{kind:W.NAME,value:i.name},value:r})}return{kind:W.OBJECT,fields:n}}if(S0(t)){const n=t.serialize(e);if(n==null)return null;if(typeof n=="boolean")return{kind:W.BOOLEAN,value:n};if(typeof n=="number"&&Number.isFinite(n)){const i=String(n);return mx.test(i)?{kind:W.INT,value:i}:{kind:W.FLOAT,value:i}}if(typeof n=="string")return ci(t)?{kind:W.ENUM,value:n}:t===Y5&&mx.test(n)?{kind:W.INT,value:n}:{kind:W.STRING,value:n};throw new TypeError(`Cannot convert value to AST: ${be(n)}.`)}b0(!1,"Unexpected input type: "+be(t))}const mx=/^-?(?:0|[1-9][0-9]*)$/,qg=new wr({name:"__Schema",description:"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.",fields:()=>({description:{type:Vt,resolve:e=>e.description},types:{description:"A list of all types supported by this server.",type:new $e(new Hn(new $e(Gi))),resolve(e){return Object.values(e.getTypeMap())}},queryType:{description:"The type that query operations will be rooted at.",type:new $e(Gi),resolve:e=>e.getQueryType()},mutationType:{description:"If this server supports mutation, the type that mutation operations will be rooted at.",type:Gi,resolve:e=>e.getMutationType()},subscriptionType:{description:"If this server support subscription, the type that subscription operations will be rooted at.",type:Gi,resolve:e=>e.getSubscriptionType()},directives:{description:"A list of all directives supported by this server.",type:new $e(new Hn(new $e(Z5))),resolve:e=>e.getDirectives()}})}),Z5=new wr({name:"__Directive",description:`A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.
|
|
99
99
|
|
|
100
|
-
In some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.`,fields:()=>({name:{type:new $e(Vt),resolve:e=>e.name},description:{type:Vt,resolve:e=>e.description},isRepeatable:{type:new $e(sn),resolve:e=>e.isRepeatable},locations:{type:new $e(new Hn(new $e(W5))),resolve:e=>e.locations},args:{type:new $e(new Hn(new $e(_0))),args:{includeDeprecated:{type:sn,defaultValue:!1}},resolve(e,{includeDeprecated:t}){return t?e.args:e.args.filter(n=>n.deprecationReason==null)}}})}),W5=new wa({name:"__DirectiveLocation",description:"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.",values:{QUERY:{value:Se.QUERY,description:"Location adjacent to a query operation."},MUTATION:{value:Se.MUTATION,description:"Location adjacent to a mutation operation."},SUBSCRIPTION:{value:Se.SUBSCRIPTION,description:"Location adjacent to a subscription operation."},FIELD:{value:Se.FIELD,description:"Location adjacent to a field."},FRAGMENT_DEFINITION:{value:Se.FRAGMENT_DEFINITION,description:"Location adjacent to a fragment definition."},FRAGMENT_SPREAD:{value:Se.FRAGMENT_SPREAD,description:"Location adjacent to a fragment spread."},INLINE_FRAGMENT:{value:Se.INLINE_FRAGMENT,description:"Location adjacent to an inline fragment."},VARIABLE_DEFINITION:{value:Se.VARIABLE_DEFINITION,description:"Location adjacent to a variable definition."},SCHEMA:{value:Se.SCHEMA,description:"Location adjacent to a schema definition."},SCALAR:{value:Se.SCALAR,description:"Location adjacent to a scalar definition."},OBJECT:{value:Se.OBJECT,description:"Location adjacent to an object type definition."},FIELD_DEFINITION:{value:Se.FIELD_DEFINITION,description:"Location adjacent to a field definition."},ARGUMENT_DEFINITION:{value:Se.ARGUMENT_DEFINITION,description:"Location adjacent to an argument definition."},INTERFACE:{value:Se.INTERFACE,description:"Location adjacent to an interface definition."},UNION:{value:Se.UNION,description:"Location adjacent to a union definition."},ENUM:{value:Se.ENUM,description:"Location adjacent to an enum definition."},ENUM_VALUE:{value:Se.ENUM_VALUE,description:"Location adjacent to an enum value definition."},INPUT_OBJECT:{value:Se.INPUT_OBJECT,description:"Location adjacent to an input object type definition."},INPUT_FIELD_DEFINITION:{value:Se.INPUT_FIELD_DEFINITION,description:"Location adjacent to an input object field definition."}}}),Gi=new wr({name:"__Type",description:"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name, description and optional `specifiedByURL`, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.",fields:()=>({kind:{type:new $e(eT),resolve(e){if(so(e))return ht.SCALAR;if(bt(e))return ht.OBJECT;if(Tt(e))return ht.INTERFACE;if(Di(e))return ht.UNION;if(ci(e))return ht.ENUM;if(ln(e))return ht.INPUT_OBJECT;if(kn(e))return ht.LIST;if(Pt(e))return ht.NON_NULL;b0(!1,`Unexpected type: "${be(e)}".`)}},name:{type:Vt,resolve:e=>"name"in e?e.name:void 0},description:{type:Vt,resolve:e=>"description"in e?e.description:void 0},specifiedByURL:{type:Vt,resolve:e=>"specifiedByURL"in e?e.specifiedByURL:void 0},fields:{type:new Hn(new $e(K5)),args:{includeDeprecated:{type:sn,defaultValue:!1}},resolve(e,{includeDeprecated:t}){if(bt(e)||Tt(e)){const n=Object.values(e.getFields());return t?n:n.filter(i=>i.deprecationReason==null)}}},interfaces:{type:new Hn(new $e(Gi)),resolve(e){if(bt(e)||Tt(e))return e.getInterfaces()}},possibleTypes:{type:new Hn(new $e(Gi)),resolve(e,t,n,{schema:i}){if(ou(e))return i.getPossibleTypes(e)}},enumValues:{type:new Hn(new $e(J5)),args:{includeDeprecated:{type:sn,defaultValue:!1}},resolve(e,{includeDeprecated:t}){if(ci(e)){const n=e.getValues();return t?n:n.filter(i=>i.deprecationReason==null)}}},inputFields:{type:new Hn(new $e(_0)),args:{includeDeprecated:{type:sn,defaultValue:!1}},resolve(e,{includeDeprecated:t}){if(ln(e)){const n=Object.values(e.getFields());return t?n:n.filter(i=>i.deprecationReason==null)}}},ofType:{type:Gi,resolve:e=>"ofType"in e?e.ofType:void 0},isOneOf:{type:sn,resolve:e=>{if(ln(e))return e.isOneOf}}})}),K5=new wr({name:"__Field",description:"Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.",fields:()=>({name:{type:new $e(Vt),resolve:e=>e.name},description:{type:Vt,resolve:e=>e.description},args:{type:new $e(new Hn(new $e(_0))),args:{includeDeprecated:{type:sn,defaultValue:!1}},resolve(e,{includeDeprecated:t}){return t?e.args:e.args.filter(n=>n.deprecationReason==null)}},type:{type:new $e(Gi),resolve:e=>e.type},isDeprecated:{type:new $e(sn),resolve:e=>e.deprecationReason!=null},deprecationReason:{type:Vt,resolve:e=>e.deprecationReason}})}),_0=new wr({name:"__InputValue",description:"Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.",fields:()=>({name:{type:new $e(Vt),resolve:e=>e.name},description:{type:Vt,resolve:e=>e.description},type:{type:new $e(Gi),resolve:e=>e.type},defaultValue:{type:Vt,description:"A GraphQL-formatted string representing the default value for this input value.",resolve(e){const{type:t,defaultValue:n}=e,i=na(n,t);return i?li(i):null}},isDeprecated:{type:new $e(sn),resolve:e=>e.deprecationReason!=null},deprecationReason:{type:Vt,resolve:e=>e.deprecationReason}})}),J5=new wr({name:"__EnumValue",description:"One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.",fields:()=>({name:{type:new $e(Vt),resolve:e=>e.name},description:{type:Vt,resolve:e=>e.description},isDeprecated:{type:new $e(sn),resolve:e=>e.deprecationReason!=null},deprecationReason:{type:Vt,resolve:e=>e.deprecationReason}})});var ht;(function(e){e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.INPUT_OBJECT="INPUT_OBJECT",e.LIST="LIST",e.NON_NULL="NON_NULL"})(ht||(ht={}));const eT=new wa({name:"__TypeKind",description:"An enum describing what kind of type a given `__Type` is.",values:{SCALAR:{value:ht.SCALAR,description:"Indicates this type is a scalar."},OBJECT:{value:ht.OBJECT,description:"Indicates this type is an object. `fields` and `interfaces` are valid fields."},INTERFACE:{value:ht.INTERFACE,description:"Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields."},UNION:{value:ht.UNION,description:"Indicates this type is a union. `possibleTypes` is a valid field."},ENUM:{value:ht.ENUM,description:"Indicates this type is an enum. `enumValues` is a valid field."},INPUT_OBJECT:{value:ht.INPUT_OBJECT,description:"Indicates this type is an input object. `inputFields` is a valid field."},LIST:{value:ht.LIST,description:"Indicates this type is a list. `ofType` is a valid field."},NON_NULL:{value:ht.NON_NULL,description:"Indicates this type is a non-null. `ofType` is a valid field."}}}),ac={name:"__schema",type:new $e(Hg),description:"Access the current type schema of this server.",args:[],resolve:(e,t,n,{schema:i})=>i,deprecationReason:void 0,extensions:Object.create(null),astNode:void 0},lc={name:"__type",type:Gi,description:"Request the type information of a single type.",args:[{name:"name",description:void 0,type:new $e(Vt),defaultValue:void 0,deprecationReason:void 0,extensions:Object.create(null),astNode:void 0}],resolve:(e,{name:t},n,{schema:i})=>i.getType(t),deprecationReason:void 0,extensions:Object.create(null),astNode:void 0},cc={name:"__typename",type:new $e(Vt),description:"The name of the current Object type at runtime.",args:[],resolve:(e,t,n,{parentType:i})=>i.name,deprecationReason:void 0,extensions:Object.create(null),astNode:void 0},tT=Object.freeze([Hg,Z5,W5,Gi,K5,_0,J5,eT]);function CD(e){return tT.some(({name:t})=>e.name===t)}function _m(e){return Xi(e,nT)}function AD(e){if(!_m(e))throw new Error(`Expected ${be(e)} to be a GraphQL schema.`);return e}class nT{constructor(t){var n,i;this.__validationErrors=t.assumeValid===!0?[]:void 0,lu(t)||et(!1,"Must provide configuration object."),!t.types||Array.isArray(t.types)||et(!1,`"types" must be Array if provided but got: ${be(t.types)}.`),!t.directives||Array.isArray(t.directives)||et(!1,`"directives" must be Array if provided but got: ${be(t.directives)}.`),this.description=t.description,this.extensions=Ri(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(n=t.extensionASTNodes)!==null&&n!==void 0?n:[],this._queryType=t.query,this._mutationType=t.mutation,this._subscriptionType=t.subscription,this._directives=(i=t.directives)!==null&&i!==void 0?i:SD;const r=new Set(t.types);if(t.types!=null)for(const o of t.types)r.delete(o),zi(o,r);this._queryType!=null&&zi(this._queryType,r),this._mutationType!=null&&zi(this._mutationType,r),this._subscriptionType!=null&&zi(this._subscriptionType,r);for(const o of this._directives)if(Q5(o))for(const a of o.args)zi(a.type,r);zi(Hg,r),this._typeMap=Object.create(null),this._subTypeMap=Object.create(null),this._implementationsMap=Object.create(null);for(const o of r){if(o==null)continue;const a=o.name;if(a||et(!1,"One of the provided types for building the Schema is missing a name."),this._typeMap[a]!==void 0)throw new Error(`Schema must contain uniquely named types but contains multiple types named "${a}".`);if(this._typeMap[a]=o,Tt(o)){for(const c of o.getInterfaces())if(Tt(c)){let f=this._implementationsMap[c.name];f===void 0&&(f=this._implementationsMap[c.name]={objects:[],interfaces:[]}),f.interfaces.push(o)}}else if(bt(o)){for(const c of o.getInterfaces())if(Tt(c)){let f=this._implementationsMap[c.name];f===void 0&&(f=this._implementationsMap[c.name]={objects:[],interfaces:[]}),f.objects.push(o)}}}}get[Symbol.toStringTag](){return"GraphQLSchema"}getQueryType(){return this._queryType}getMutationType(){return this._mutationType}getSubscriptionType(){return this._subscriptionType}getRootType(t){switch(t){case Ci.QUERY:return this.getQueryType();case Ci.MUTATION:return this.getMutationType();case Ci.SUBSCRIPTION:return this.getSubscriptionType()}}getTypeMap(){return this._typeMap}getType(t){return this.getTypeMap()[t]}getPossibleTypes(t){return Di(t)?t.getTypes():this.getImplementations(t).objects}getImplementations(t){const n=this._implementationsMap[t.name];return n??{objects:[],interfaces:[]}}isSubType(t,n){let i=this._subTypeMap[t.name];if(i===void 0){if(i=Object.create(null),Di(t))for(const r of t.getTypes())i[r.name]=!0;else{const r=this.getImplementations(t);for(const o of r.objects)i[o.name]=!0;for(const o of r.interfaces)i[o.name]=!0}this._subTypeMap[t.name]=i}return i[n.name]!==void 0}getDirectives(){return this._directives}getDirective(t){return this.getDirectives().find(n=>n.name===t)}toConfig(){return{description:this.description,query:this.getQueryType(),mutation:this.getMutationType(),subscription:this.getSubscriptionType(),types:Object.values(this.getTypeMap()),directives:this.getDirectives(),extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes,assumeValid:this.__validationErrors!==void 0}}}function zi(e,t){const n=Nn(e);if(!t.has(n)){if(t.add(n),Di(n))for(const i of n.getTypes())zi(i,t);else if(bt(n)||Tt(n)){for(const i of n.getInterfaces())zi(i,t);for(const i of Object.values(n.getFields())){zi(i.type,t);for(const r of i.args)zi(r.type,t)}}else if(ln(n))for(const i of Object.values(n.getFields()))zi(i.type,t)}return t}function iT(e){if(AD(e),e.__validationErrors)return e.__validationErrors;const t=new wD(e);DD(t),ND(t),OD(t);const n=t.getErrors();return e.__validationErrors=n,n}function BQ(e){const t=iT(e);if(t.length!==0)throw new Error(t.map(n=>n.message).join(`
|
|
100
|
+
In some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.`,fields:()=>({name:{type:new $e(Vt),resolve:e=>e.name},description:{type:Vt,resolve:e=>e.description},isRepeatable:{type:new $e(sn),resolve:e=>e.isRepeatable},locations:{type:new $e(new Hn(new $e(W5))),resolve:e=>e.locations},args:{type:new $e(new Hn(new $e(_0))),args:{includeDeprecated:{type:sn,defaultValue:!1}},resolve(e,{includeDeprecated:t}){return t?e.args:e.args.filter(n=>n.deprecationReason==null)}}})}),W5=new wa({name:"__DirectiveLocation",description:"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.",values:{QUERY:{value:Se.QUERY,description:"Location adjacent to a query operation."},MUTATION:{value:Se.MUTATION,description:"Location adjacent to a mutation operation."},SUBSCRIPTION:{value:Se.SUBSCRIPTION,description:"Location adjacent to a subscription operation."},FIELD:{value:Se.FIELD,description:"Location adjacent to a field."},FRAGMENT_DEFINITION:{value:Se.FRAGMENT_DEFINITION,description:"Location adjacent to a fragment definition."},FRAGMENT_SPREAD:{value:Se.FRAGMENT_SPREAD,description:"Location adjacent to a fragment spread."},INLINE_FRAGMENT:{value:Se.INLINE_FRAGMENT,description:"Location adjacent to an inline fragment."},VARIABLE_DEFINITION:{value:Se.VARIABLE_DEFINITION,description:"Location adjacent to a variable definition."},SCHEMA:{value:Se.SCHEMA,description:"Location adjacent to a schema definition."},SCALAR:{value:Se.SCALAR,description:"Location adjacent to a scalar definition."},OBJECT:{value:Se.OBJECT,description:"Location adjacent to an object type definition."},FIELD_DEFINITION:{value:Se.FIELD_DEFINITION,description:"Location adjacent to a field definition."},ARGUMENT_DEFINITION:{value:Se.ARGUMENT_DEFINITION,description:"Location adjacent to an argument definition."},INTERFACE:{value:Se.INTERFACE,description:"Location adjacent to an interface definition."},UNION:{value:Se.UNION,description:"Location adjacent to a union definition."},ENUM:{value:Se.ENUM,description:"Location adjacent to an enum definition."},ENUM_VALUE:{value:Se.ENUM_VALUE,description:"Location adjacent to an enum value definition."},INPUT_OBJECT:{value:Se.INPUT_OBJECT,description:"Location adjacent to an input object type definition."},INPUT_FIELD_DEFINITION:{value:Se.INPUT_FIELD_DEFINITION,description:"Location adjacent to an input object field definition."}}}),Gi=new wr({name:"__Type",description:"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name, description and optional `specifiedByURL`, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.",fields:()=>({kind:{type:new $e(eT),resolve(e){if(so(e))return ht.SCALAR;if(bt(e))return ht.OBJECT;if(Tt(e))return ht.INTERFACE;if(Di(e))return ht.UNION;if(ci(e))return ht.ENUM;if(ln(e))return ht.INPUT_OBJECT;if(kn(e))return ht.LIST;if(Pt(e))return ht.NON_NULL;b0(!1,`Unexpected type: "${be(e)}".`)}},name:{type:Vt,resolve:e=>"name"in e?e.name:void 0},description:{type:Vt,resolve:e=>"description"in e?e.description:void 0},specifiedByURL:{type:Vt,resolve:e=>"specifiedByURL"in e?e.specifiedByURL:void 0},fields:{type:new Hn(new $e(K5)),args:{includeDeprecated:{type:sn,defaultValue:!1}},resolve(e,{includeDeprecated:t}){if(bt(e)||Tt(e)){const n=Object.values(e.getFields());return t?n:n.filter(i=>i.deprecationReason==null)}}},interfaces:{type:new Hn(new $e(Gi)),resolve(e){if(bt(e)||Tt(e))return e.getInterfaces()}},possibleTypes:{type:new Hn(new $e(Gi)),resolve(e,t,n,{schema:i}){if(ou(e))return i.getPossibleTypes(e)}},enumValues:{type:new Hn(new $e(J5)),args:{includeDeprecated:{type:sn,defaultValue:!1}},resolve(e,{includeDeprecated:t}){if(ci(e)){const n=e.getValues();return t?n:n.filter(i=>i.deprecationReason==null)}}},inputFields:{type:new Hn(new $e(_0)),args:{includeDeprecated:{type:sn,defaultValue:!1}},resolve(e,{includeDeprecated:t}){if(ln(e)){const n=Object.values(e.getFields());return t?n:n.filter(i=>i.deprecationReason==null)}}},ofType:{type:Gi,resolve:e=>"ofType"in e?e.ofType:void 0},isOneOf:{type:sn,resolve:e=>{if(ln(e))return e.isOneOf}}})}),K5=new wr({name:"__Field",description:"Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.",fields:()=>({name:{type:new $e(Vt),resolve:e=>e.name},description:{type:Vt,resolve:e=>e.description},args:{type:new $e(new Hn(new $e(_0))),args:{includeDeprecated:{type:sn,defaultValue:!1}},resolve(e,{includeDeprecated:t}){return t?e.args:e.args.filter(n=>n.deprecationReason==null)}},type:{type:new $e(Gi),resolve:e=>e.type},isDeprecated:{type:new $e(sn),resolve:e=>e.deprecationReason!=null},deprecationReason:{type:Vt,resolve:e=>e.deprecationReason}})}),_0=new wr({name:"__InputValue",description:"Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.",fields:()=>({name:{type:new $e(Vt),resolve:e=>e.name},description:{type:Vt,resolve:e=>e.description},type:{type:new $e(Gi),resolve:e=>e.type},defaultValue:{type:Vt,description:"A GraphQL-formatted string representing the default value for this input value.",resolve(e){const{type:t,defaultValue:n}=e,i=na(n,t);return i?li(i):null}},isDeprecated:{type:new $e(sn),resolve:e=>e.deprecationReason!=null},deprecationReason:{type:Vt,resolve:e=>e.deprecationReason}})}),J5=new wr({name:"__EnumValue",description:"One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.",fields:()=>({name:{type:new $e(Vt),resolve:e=>e.name},description:{type:Vt,resolve:e=>e.description},isDeprecated:{type:new $e(sn),resolve:e=>e.deprecationReason!=null},deprecationReason:{type:Vt,resolve:e=>e.deprecationReason}})});var ht;(function(e){e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.INPUT_OBJECT="INPUT_OBJECT",e.LIST="LIST",e.NON_NULL="NON_NULL"})(ht||(ht={}));const eT=new wa({name:"__TypeKind",description:"An enum describing what kind of type a given `__Type` is.",values:{SCALAR:{value:ht.SCALAR,description:"Indicates this type is a scalar."},OBJECT:{value:ht.OBJECT,description:"Indicates this type is an object. `fields` and `interfaces` are valid fields."},INTERFACE:{value:ht.INTERFACE,description:"Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields."},UNION:{value:ht.UNION,description:"Indicates this type is a union. `possibleTypes` is a valid field."},ENUM:{value:ht.ENUM,description:"Indicates this type is an enum. `enumValues` is a valid field."},INPUT_OBJECT:{value:ht.INPUT_OBJECT,description:"Indicates this type is an input object. `inputFields` is a valid field."},LIST:{value:ht.LIST,description:"Indicates this type is a list. `ofType` is a valid field."},NON_NULL:{value:ht.NON_NULL,description:"Indicates this type is a non-null. `ofType` is a valid field."}}}),ac={name:"__schema",type:new $e(qg),description:"Access the current type schema of this server.",args:[],resolve:(e,t,n,{schema:i})=>i,deprecationReason:void 0,extensions:Object.create(null),astNode:void 0},lc={name:"__type",type:Gi,description:"Request the type information of a single type.",args:[{name:"name",description:void 0,type:new $e(Vt),defaultValue:void 0,deprecationReason:void 0,extensions:Object.create(null),astNode:void 0}],resolve:(e,{name:t},n,{schema:i})=>i.getType(t),deprecationReason:void 0,extensions:Object.create(null),astNode:void 0},cc={name:"__typename",type:new $e(Vt),description:"The name of the current Object type at runtime.",args:[],resolve:(e,t,n,{parentType:i})=>i.name,deprecationReason:void 0,extensions:Object.create(null),astNode:void 0},tT=Object.freeze([qg,Z5,W5,Gi,K5,_0,J5,eT]);function CD(e){return tT.some(({name:t})=>e.name===t)}function Cm(e){return Xi(e,nT)}function AD(e){if(!Cm(e))throw new Error(`Expected ${be(e)} to be a GraphQL schema.`);return e}class nT{constructor(t){var n,i;this.__validationErrors=t.assumeValid===!0?[]:void 0,lu(t)||et(!1,"Must provide configuration object."),!t.types||Array.isArray(t.types)||et(!1,`"types" must be Array if provided but got: ${be(t.types)}.`),!t.directives||Array.isArray(t.directives)||et(!1,`"directives" must be Array if provided but got: ${be(t.directives)}.`),this.description=t.description,this.extensions=Ri(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(n=t.extensionASTNodes)!==null&&n!==void 0?n:[],this._queryType=t.query,this._mutationType=t.mutation,this._subscriptionType=t.subscription,this._directives=(i=t.directives)!==null&&i!==void 0?i:SD;const r=new Set(t.types);if(t.types!=null)for(const o of t.types)r.delete(o),zi(o,r);this._queryType!=null&&zi(this._queryType,r),this._mutationType!=null&&zi(this._mutationType,r),this._subscriptionType!=null&&zi(this._subscriptionType,r);for(const o of this._directives)if(Q5(o))for(const a of o.args)zi(a.type,r);zi(qg,r),this._typeMap=Object.create(null),this._subTypeMap=Object.create(null),this._implementationsMap=Object.create(null);for(const o of r){if(o==null)continue;const a=o.name;if(a||et(!1,"One of the provided types for building the Schema is missing a name."),this._typeMap[a]!==void 0)throw new Error(`Schema must contain uniquely named types but contains multiple types named "${a}".`);if(this._typeMap[a]=o,Tt(o)){for(const c of o.getInterfaces())if(Tt(c)){let f=this._implementationsMap[c.name];f===void 0&&(f=this._implementationsMap[c.name]={objects:[],interfaces:[]}),f.interfaces.push(o)}}else if(bt(o)){for(const c of o.getInterfaces())if(Tt(c)){let f=this._implementationsMap[c.name];f===void 0&&(f=this._implementationsMap[c.name]={objects:[],interfaces:[]}),f.objects.push(o)}}}}get[Symbol.toStringTag](){return"GraphQLSchema"}getQueryType(){return this._queryType}getMutationType(){return this._mutationType}getSubscriptionType(){return this._subscriptionType}getRootType(t){switch(t){case Ci.QUERY:return this.getQueryType();case Ci.MUTATION:return this.getMutationType();case Ci.SUBSCRIPTION:return this.getSubscriptionType()}}getTypeMap(){return this._typeMap}getType(t){return this.getTypeMap()[t]}getPossibleTypes(t){return Di(t)?t.getTypes():this.getImplementations(t).objects}getImplementations(t){const n=this._implementationsMap[t.name];return n??{objects:[],interfaces:[]}}isSubType(t,n){let i=this._subTypeMap[t.name];if(i===void 0){if(i=Object.create(null),Di(t))for(const r of t.getTypes())i[r.name]=!0;else{const r=this.getImplementations(t);for(const o of r.objects)i[o.name]=!0;for(const o of r.interfaces)i[o.name]=!0}this._subTypeMap[t.name]=i}return i[n.name]!==void 0}getDirectives(){return this._directives}getDirective(t){return this.getDirectives().find(n=>n.name===t)}toConfig(){return{description:this.description,query:this.getQueryType(),mutation:this.getMutationType(),subscription:this.getSubscriptionType(),types:Object.values(this.getTypeMap()),directives:this.getDirectives(),extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes,assumeValid:this.__validationErrors!==void 0}}}function zi(e,t){const n=Nn(e);if(!t.has(n)){if(t.add(n),Di(n))for(const i of n.getTypes())zi(i,t);else if(bt(n)||Tt(n)){for(const i of n.getInterfaces())zi(i,t);for(const i of Object.values(n.getFields())){zi(i.type,t);for(const r of i.args)zi(r.type,t)}}else if(ln(n))for(const i of Object.values(n.getFields()))zi(i.type,t)}return t}function iT(e){if(AD(e),e.__validationErrors)return e.__validationErrors;const t=new wD(e);DD(t),ND(t),OD(t);const n=t.getErrors();return e.__validationErrors=n,n}function BQ(e){const t=iT(e);if(t.length!==0)throw new Error(t.map(n=>n.message).join(`
|
|
101
101
|
|
|
102
|
-
`))}class wD{constructor(t){this._errors=[],this.schema=t}reportError(t,n){const i=Array.isArray(n)?n.filter(Boolean):n;this._errors.push(new Je(t,{nodes:i}))}getErrors(){return this._errors}}function DD(e){const t=e.schema,n=t.getQueryType();if(!n)e.reportError("Query root type must be provided.",t.astNode);else if(!bt(n)){var i;e.reportError(`Query root type must be Object type, it cannot be ${be(n)}.`,(i=c1(t,Ci.QUERY))!==null&&i!==void 0?i:n.astNode)}const r=t.getMutationType();if(r&&!bt(r)){var o;e.reportError(`Mutation root type must be Object type if provided, it cannot be ${be(r)}.`,(o=c1(t,Ci.MUTATION))!==null&&o!==void 0?o:r.astNode)}const a=t.getSubscriptionType();if(a&&!bt(a)){var c;e.reportError(`Subscription root type must be Object type if provided, it cannot be ${be(a)}.`,(c=c1(t,Ci.SUBSCRIPTION))!==null&&c!==void 0?c:a.astNode)}}function c1(e,t){var n;return(n=[e.astNode,...e.extensionASTNodes].flatMap(i=>{var r;return(r=i==null?void 0:i.operationTypes)!==null&&r!==void 0?r:[]}).find(i=>i.operation===t))===null||n===void 0?void 0:n.type}function ND(e){for(const n of e.schema.getDirectives()){if(!Q5(n)){e.reportError(`Expected directive but got: ${be(n)}.`,n==null?void 0:n.astNode);continue}Go(e,n),n.locations.length===0&&e.reportError(`Directive @${n.name} must include 1 or more locations.`,n.astNode);for(const i of n.args)if(Go(e,i),_i(i.type)||e.reportError(`The type of @${n.name}(${i.name}:) must be Input Type but got: ${be(i.type)}.`,i.astNode),Ug(i)&&i.deprecationReason!=null){var t;e.reportError(`Required argument @${n.name}(${i.name}:) cannot be deprecated.`,[qg(i.astNode),(t=i.astNode)===null||t===void 0?void 0:t.type])}}}function Go(e,t){t.name.startsWith("__")&&e.reportError(`Name "${t.name}" must not begin with "__", which is reserved by GraphQL introspection.`,t.astNode)}function OD(e){const t=jD(e),n=e.schema.getTypeMap();for(const i of Object.values(n)){if(!$g(i)){e.reportError(`Expected GraphQL named type but got: ${be(i)}.`,i.astNode);continue}CD(i)||Go(e,i),bt(i)||Tt(i)?(gx(e,i),vx(e,i)):Di(i)?kD(e,i):ci(i)?LD(e,i):ln(i)&&(ID(e,i),t(i))}}function gx(e,t){const n=Object.values(t.getFields());n.length===0&&e.reportError(`Type ${t.name} must define one or more fields.`,[t.astNode,...t.extensionASTNodes]);for(const a of n){if(Go(e,a),!Bo(a.type)){var i;e.reportError(`The type of ${t.name}.${a.name} must be Output Type but got: ${be(a.type)}.`,(i=a.astNode)===null||i===void 0?void 0:i.type)}for(const c of a.args){const f=c.name;if(Go(e,c),!_i(c.type)){var r;e.reportError(`The type of ${t.name}.${a.name}(${f}:) must be Input Type but got: ${be(c.type)}.`,(r=c.astNode)===null||r===void 0?void 0:r.type)}if(Ug(c)&&c.deprecationReason!=null){var o;e.reportError(`Required argument ${t.name}.${a.name}(${f}:) cannot be deprecated.`,[qg(c.astNode),(o=c.astNode)===null||o===void 0?void 0:o.type])}}}}function vx(e,t){const n=Object.create(null);for(const i of t.getInterfaces()){if(!Tt(i)){e.reportError(`Type ${be(t)} must only implement Interface types, it cannot implement ${be(i)}.`,Zl(t,i));continue}if(t===i){e.reportError(`Type ${t.name} cannot implement itself because it would create a circular reference.`,Zl(t,i));continue}if(n[i.name]){e.reportError(`Type ${t.name} can only implement ${i.name} once.`,Zl(t,i));continue}n[i.name]=!0,MD(e,t,i),RD(e,t,i)}}function RD(e,t,n){const i=t.getFields();for(const f of Object.values(n.getFields())){const h=f.name,p=i[h];if(!p){e.reportError(`Interface field ${n.name}.${h} expected but ${t.name} does not provide it.`,[f.astNode,t.astNode,...t.extensionASTNodes]);continue}if(!Id(e.schema,p.type,f.type)){var r,o;e.reportError(`Interface field ${n.name}.${h} expects type ${be(f.type)} but ${t.name}.${h} is type ${be(p.type)}.`,[(r=f.astNode)===null||r===void 0?void 0:r.type,(o=p.astNode)===null||o===void 0?void 0:o.type])}for(const g of f.args){const y=g.name,v=p.args.find(E=>E.name===y);if(!v){e.reportError(`Interface field argument ${n.name}.${h}(${y}:) expected but ${t.name}.${h} does not provide it.`,[g.astNode,p.astNode]);continue}if(!Sm(g.type,v.type)){var a,c;e.reportError(`Interface field argument ${n.name}.${h}(${y}:) expects type ${be(g.type)} but ${t.name}.${h}(${y}:) is type ${be(v.type)}.`,[(a=g.astNode)===null||a===void 0?void 0:a.type,(c=v.astNode)===null||c===void 0?void 0:c.type])}}for(const g of p.args){const y=g.name;!f.args.find(E=>E.name===y)&&Ug(g)&&e.reportError(`Object field ${t.name}.${h} includes required argument ${y} that is missing from the Interface field ${n.name}.${h}.`,[g.astNode,f.astNode])}}}function MD(e,t,n){const i=t.getInterfaces();for(const r of n.getInterfaces())i.includes(r)||e.reportError(r===t?`Type ${t.name} cannot implement ${n.name} because it would create a circular reference.`:`Type ${t.name} must implement ${r.name} because it is implemented by ${n.name}.`,[...Zl(n,r),...Zl(t,n)])}function kD(e,t){const n=t.getTypes();n.length===0&&e.reportError(`Union type ${t.name} must define one or more member types.`,[t.astNode,...t.extensionASTNodes]);const i=Object.create(null);for(const r of n){if(i[r.name]){e.reportError(`Union type ${t.name} can only include type ${r.name} once.`,yx(t,r.name));continue}i[r.name]=!0,bt(r)||e.reportError(`Union type ${t.name} can only include Object types, it cannot include ${be(r)}.`,yx(t,String(r)))}}function LD(e,t){const n=t.getValues();n.length===0&&e.reportError(`Enum type ${t.name} must define one or more values.`,[t.astNode,...t.extensionASTNodes]);for(const i of n)Go(e,i)}function ID(e,t){const n=Object.values(t.getFields());n.length===0&&e.reportError(`Input Object type ${t.name} must define one or more fields.`,[t.astNode,...t.extensionASTNodes]);for(const o of n){if(Go(e,o),!_i(o.type)){var i;e.reportError(`The type of ${t.name}.${o.name} must be Input Type but got: ${be(o.type)}.`,(i=o.astNode)===null||i===void 0?void 0:i.type)}if(pD(o)&&o.deprecationReason!=null){var r;e.reportError(`Required input field ${t.name}.${o.name} cannot be deprecated.`,[qg(o.astNode),(r=o.astNode)===null||r===void 0?void 0:r.type])}t.isOneOf&&FD(t,o,e)}}function FD(e,t,n){if(Pt(t.type)){var i;n.reportError(`OneOf input field ${e.name}.${t.name} must be nullable.`,(i=t.astNode)===null||i===void 0?void 0:i.type)}t.defaultValue!==void 0&&n.reportError(`OneOf input field ${e.name}.${t.name} cannot have a default value.`,t.astNode)}function jD(e){const t=Object.create(null),n=[],i=Object.create(null);return r;function r(o){if(t[o.name])return;t[o.name]=!0,i[o.name]=n.length;const a=Object.values(o.getFields());for(const c of a)if(Pt(c.type)&&ln(c.type.ofType)){const f=c.type.ofType,h=i[f.name];if(n.push(c),h===void 0)r(f);else{const p=n.slice(h),g=p.map(y=>y.name).join(".");e.reportError(`Cannot reference Input Object "${f.name}" within itself through a series of non-null fields: "${g}".`,p.map(y=>y.astNode))}n.pop()}i[o.name]=void 0}}function Zl(e,t){const{astNode:n,extensionASTNodes:i}=e;return(n!=null?[n,...i]:i).flatMap(o=>{var a;return(a=o.interfaces)!==null&&a!==void 0?a:[]}).filter(o=>o.name.value===t.name)}function yx(e,t){const{astNode:n,extensionASTNodes:i}=e;return(n!=null?[n,...i]:i).flatMap(o=>{var a;return(a=o.types)!==null&&a!==void 0?a:[]}).filter(o=>o.name.value===t)}function qg(e){var t;return e==null||(t=e.directives)===null||t===void 0?void 0:t.find(n=>n.name.value===X5.name)}function fc(e,t){switch(t.kind){case W.LIST_TYPE:{const n=fc(e,t.type);return n&&new Hn(n)}case W.NON_NULL_TYPE:{const n=fc(e,t.type);return n&&new $e(n)}case W.NAMED_TYPE:return e.getType(t.name.value)}}class rT{constructor(t,n,i){this._schema=t,this._typeStack=[],this._parentTypeStack=[],this._inputTypeStack=[],this._fieldDefStack=[],this._defaultValueStack=[],this._directive=null,this._argument=null,this._enumValue=null,this._getFieldDef=i??PD,n&&(_i(n)&&this._inputTypeStack.push(n),no(n)&&this._parentTypeStack.push(n),Bo(n)&&this._typeStack.push(n))}get[Symbol.toStringTag](){return"TypeInfo"}getType(){if(this._typeStack.length>0)return this._typeStack[this._typeStack.length-1]}getParentType(){if(this._parentTypeStack.length>0)return this._parentTypeStack[this._parentTypeStack.length-1]}getInputType(){if(this._inputTypeStack.length>0)return this._inputTypeStack[this._inputTypeStack.length-1]}getParentInputType(){if(this._inputTypeStack.length>1)return this._inputTypeStack[this._inputTypeStack.length-2]}getFieldDef(){if(this._fieldDefStack.length>0)return this._fieldDefStack[this._fieldDefStack.length-1]}getDefaultValue(){if(this._defaultValueStack.length>0)return this._defaultValueStack[this._defaultValueStack.length-1]}getDirective(){return this._directive}getArgument(){return this._argument}getEnumValue(){return this._enumValue}enter(t){const n=this._schema;switch(t.kind){case W.SELECTION_SET:{const r=Nn(this.getType());this._parentTypeStack.push(no(r)?r:void 0);break}case W.FIELD:{const r=this.getParentType();let o,a;r&&(o=this._getFieldDef(n,r,t),o&&(a=o.type)),this._fieldDefStack.push(o),this._typeStack.push(Bo(a)?a:void 0);break}case W.DIRECTIVE:this._directive=n.getDirective(t.name.value);break;case W.OPERATION_DEFINITION:{const r=n.getRootType(t.operation);this._typeStack.push(bt(r)?r:void 0);break}case W.INLINE_FRAGMENT:case W.FRAGMENT_DEFINITION:{const r=t.typeCondition,o=r?fc(n,r):Nn(this.getType());this._typeStack.push(Bo(o)?o:void 0);break}case W.VARIABLE_DEFINITION:{const r=fc(n,t.type);this._inputTypeStack.push(_i(r)?r:void 0);break}case W.ARGUMENT:{var i;let r,o;const a=(i=this.getDirective())!==null&&i!==void 0?i:this.getFieldDef();a&&(r=a.args.find(c=>c.name===t.name.value),r&&(o=r.type)),this._argument=r,this._defaultValueStack.push(r?r.defaultValue:void 0),this._inputTypeStack.push(_i(o)?o:void 0);break}case W.LIST:{const r=j5(this.getInputType()),o=kn(r)?r.ofType:r;this._defaultValueStack.push(void 0),this._inputTypeStack.push(_i(o)?o:void 0);break}case W.OBJECT_FIELD:{const r=Nn(this.getInputType());let o,a;ln(r)&&(a=r.getFields()[t.name.value],a&&(o=a.type)),this._defaultValueStack.push(a?a.defaultValue:void 0),this._inputTypeStack.push(_i(o)?o:void 0);break}case W.ENUM:{const r=Nn(this.getInputType());let o;ci(r)&&(o=r.getValue(t.value)),this._enumValue=o;break}}}leave(t){switch(t.kind){case W.SELECTION_SET:this._parentTypeStack.pop();break;case W.FIELD:this._fieldDefStack.pop(),this._typeStack.pop();break;case W.DIRECTIVE:this._directive=null;break;case W.OPERATION_DEFINITION:case W.INLINE_FRAGMENT:case W.FRAGMENT_DEFINITION:this._typeStack.pop();break;case W.VARIABLE_DEFINITION:this._inputTypeStack.pop();break;case W.ARGUMENT:this._argument=null,this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case W.LIST:case W.OBJECT_FIELD:this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case W.ENUM:this._enumValue=null;break}}}function PD(e,t,n){const i=n.name.value;if(i===ac.name&&e.getQueryType()===t)return ac;if(i===lc.name&&e.getQueryType()===t)return lc;if(i===cc.name&&no(t))return cc;if(bt(t)||Tt(t))return t.getFields()[i]}function VD(e,t){return{enter(...n){const i=n[0];e.enter(i);const r=qd(t,i.kind).enter;if(r){const o=r.apply(t,n);return o!==void 0&&(e.leave(i),bm(o)&&e.enter(o)),o}},leave(...n){const i=n[0],r=qd(t,i.kind).leave;let o;return r&&(o=r.apply(t,n)),e.leave(i),o}}}function zl(e,t,n){if(e){if(e.kind===W.VARIABLE){const i=e.name.value;if(n==null||n[i]===void 0)return;const r=n[i];return r===null&&Pt(t)?void 0:r}if(Pt(t))return e.kind===W.NULL?void 0:zl(e,t.ofType,n);if(e.kind===W.NULL)return null;if(kn(t)){const i=t.ofType;if(e.kind===W.LIST){const o=[];for(const a of e.values)if(bx(a,n)){if(Pt(i))return;o.push(null)}else{const c=zl(a,i,n);if(c===void 0)return;o.push(c)}return o}const r=zl(e,i,n);return r===void 0?void 0:[r]}if(ln(t)){if(e.kind!==W.OBJECT)return;const i=Object.create(null),r=I5(e.fields,o=>o.name.value);for(const o of Object.values(t.getFields())){const a=r[o.name];if(!a||bx(a.value,n)){if(o.defaultValue!==void 0)i[o.name]=o.defaultValue;else if(Pt(o.type))return;continue}const c=zl(a.value,o.type,n);if(c===void 0)return;i[o.name]=c}if(t.isOneOf){const o=Object.keys(i);if(o.length!==1||i[o[0]]===null)return}return i}if(S0(t)){let i;try{i=t.parseLiteral(e,n)}catch{return}return i===void 0?void 0:i}b0(!1,"Unexpected input type: "+be(t))}}function bx(e,t){return e.kind===W.VARIABLE&&(t==null||t[e.name.value]===void 0)}function BD(e){const t={descriptions:!0,specifiedByUrl:!1,directiveIsRepeatable:!1,schemaDescription:!1,inputValueDeprecation:!1,oneOf:!1,...e},n=t.descriptions?"description":"",i=t.specifiedByUrl?"specifiedByURL":"",r=t.directiveIsRepeatable?"isRepeatable":"",o=t.schemaDescription?n:"";function a(f){return t.inputValueDeprecation?f:""}const c=t.oneOf?"isOneOf":"";return`
|
|
102
|
+
`))}class wD{constructor(t){this._errors=[],this.schema=t}reportError(t,n){const i=Array.isArray(n)?n.filter(Boolean):n;this._errors.push(new Je(t,{nodes:i}))}getErrors(){return this._errors}}function DD(e){const t=e.schema,n=t.getQueryType();if(!n)e.reportError("Query root type must be provided.",t.astNode);else if(!bt(n)){var i;e.reportError(`Query root type must be Object type, it cannot be ${be(n)}.`,(i=f1(t,Ci.QUERY))!==null&&i!==void 0?i:n.astNode)}const r=t.getMutationType();if(r&&!bt(r)){var o;e.reportError(`Mutation root type must be Object type if provided, it cannot be ${be(r)}.`,(o=f1(t,Ci.MUTATION))!==null&&o!==void 0?o:r.astNode)}const a=t.getSubscriptionType();if(a&&!bt(a)){var c;e.reportError(`Subscription root type must be Object type if provided, it cannot be ${be(a)}.`,(c=f1(t,Ci.SUBSCRIPTION))!==null&&c!==void 0?c:a.astNode)}}function f1(e,t){var n;return(n=[e.astNode,...e.extensionASTNodes].flatMap(i=>{var r;return(r=i==null?void 0:i.operationTypes)!==null&&r!==void 0?r:[]}).find(i=>i.operation===t))===null||n===void 0?void 0:n.type}function ND(e){for(const n of e.schema.getDirectives()){if(!Q5(n)){e.reportError(`Expected directive but got: ${be(n)}.`,n==null?void 0:n.astNode);continue}Go(e,n),n.locations.length===0&&e.reportError(`Directive @${n.name} must include 1 or more locations.`,n.astNode);for(const i of n.args)if(Go(e,i),_i(i.type)||e.reportError(`The type of @${n.name}(${i.name}:) must be Input Type but got: ${be(i.type)}.`,i.astNode),zg(i)&&i.deprecationReason!=null){var t;e.reportError(`Required argument @${n.name}(${i.name}:) cannot be deprecated.`,[Gg(i.astNode),(t=i.astNode)===null||t===void 0?void 0:t.type])}}}function Go(e,t){t.name.startsWith("__")&&e.reportError(`Name "${t.name}" must not begin with "__", which is reserved by GraphQL introspection.`,t.astNode)}function OD(e){const t=jD(e),n=e.schema.getTypeMap();for(const i of Object.values(n)){if(!Ug(i)){e.reportError(`Expected GraphQL named type but got: ${be(i)}.`,i.astNode);continue}CD(i)||Go(e,i),bt(i)||Tt(i)?(gx(e,i),vx(e,i)):Di(i)?kD(e,i):ci(i)?LD(e,i):ln(i)&&(ID(e,i),t(i))}}function gx(e,t){const n=Object.values(t.getFields());n.length===0&&e.reportError(`Type ${t.name} must define one or more fields.`,[t.astNode,...t.extensionASTNodes]);for(const a of n){if(Go(e,a),!Bo(a.type)){var i;e.reportError(`The type of ${t.name}.${a.name} must be Output Type but got: ${be(a.type)}.`,(i=a.astNode)===null||i===void 0?void 0:i.type)}for(const c of a.args){const f=c.name;if(Go(e,c),!_i(c.type)){var r;e.reportError(`The type of ${t.name}.${a.name}(${f}:) must be Input Type but got: ${be(c.type)}.`,(r=c.astNode)===null||r===void 0?void 0:r.type)}if(zg(c)&&c.deprecationReason!=null){var o;e.reportError(`Required argument ${t.name}.${a.name}(${f}:) cannot be deprecated.`,[Gg(c.astNode),(o=c.astNode)===null||o===void 0?void 0:o.type])}}}}function vx(e,t){const n=Object.create(null);for(const i of t.getInterfaces()){if(!Tt(i)){e.reportError(`Type ${be(t)} must only implement Interface types, it cannot implement ${be(i)}.`,Zl(t,i));continue}if(t===i){e.reportError(`Type ${t.name} cannot implement itself because it would create a circular reference.`,Zl(t,i));continue}if(n[i.name]){e.reportError(`Type ${t.name} can only implement ${i.name} once.`,Zl(t,i));continue}n[i.name]=!0,MD(e,t,i),RD(e,t,i)}}function RD(e,t,n){const i=t.getFields();for(const f of Object.values(n.getFields())){const h=f.name,p=i[h];if(!p){e.reportError(`Interface field ${n.name}.${h} expected but ${t.name} does not provide it.`,[f.astNode,t.astNode,...t.extensionASTNodes]);continue}if(!Id(e.schema,p.type,f.type)){var r,o;e.reportError(`Interface field ${n.name}.${h} expects type ${be(f.type)} but ${t.name}.${h} is type ${be(p.type)}.`,[(r=f.astNode)===null||r===void 0?void 0:r.type,(o=p.astNode)===null||o===void 0?void 0:o.type])}for(const g of f.args){const y=g.name,v=p.args.find(E=>E.name===y);if(!v){e.reportError(`Interface field argument ${n.name}.${h}(${y}:) expected but ${t.name}.${h} does not provide it.`,[g.astNode,p.astNode]);continue}if(!_m(g.type,v.type)){var a,c;e.reportError(`Interface field argument ${n.name}.${h}(${y}:) expects type ${be(g.type)} but ${t.name}.${h}(${y}:) is type ${be(v.type)}.`,[(a=g.astNode)===null||a===void 0?void 0:a.type,(c=v.astNode)===null||c===void 0?void 0:c.type])}}for(const g of p.args){const y=g.name;!f.args.find(E=>E.name===y)&&zg(g)&&e.reportError(`Object field ${t.name}.${h} includes required argument ${y} that is missing from the Interface field ${n.name}.${h}.`,[g.astNode,f.astNode])}}}function MD(e,t,n){const i=t.getInterfaces();for(const r of n.getInterfaces())i.includes(r)||e.reportError(r===t?`Type ${t.name} cannot implement ${n.name} because it would create a circular reference.`:`Type ${t.name} must implement ${r.name} because it is implemented by ${n.name}.`,[...Zl(n,r),...Zl(t,n)])}function kD(e,t){const n=t.getTypes();n.length===0&&e.reportError(`Union type ${t.name} must define one or more member types.`,[t.astNode,...t.extensionASTNodes]);const i=Object.create(null);for(const r of n){if(i[r.name]){e.reportError(`Union type ${t.name} can only include type ${r.name} once.`,yx(t,r.name));continue}i[r.name]=!0,bt(r)||e.reportError(`Union type ${t.name} can only include Object types, it cannot include ${be(r)}.`,yx(t,String(r)))}}function LD(e,t){const n=t.getValues();n.length===0&&e.reportError(`Enum type ${t.name} must define one or more values.`,[t.astNode,...t.extensionASTNodes]);for(const i of n)Go(e,i)}function ID(e,t){const n=Object.values(t.getFields());n.length===0&&e.reportError(`Input Object type ${t.name} must define one or more fields.`,[t.astNode,...t.extensionASTNodes]);for(const o of n){if(Go(e,o),!_i(o.type)){var i;e.reportError(`The type of ${t.name}.${o.name} must be Input Type but got: ${be(o.type)}.`,(i=o.astNode)===null||i===void 0?void 0:i.type)}if(pD(o)&&o.deprecationReason!=null){var r;e.reportError(`Required input field ${t.name}.${o.name} cannot be deprecated.`,[Gg(o.astNode),(r=o.astNode)===null||r===void 0?void 0:r.type])}t.isOneOf&&FD(t,o,e)}}function FD(e,t,n){if(Pt(t.type)){var i;n.reportError(`OneOf input field ${e.name}.${t.name} must be nullable.`,(i=t.astNode)===null||i===void 0?void 0:i.type)}t.defaultValue!==void 0&&n.reportError(`OneOf input field ${e.name}.${t.name} cannot have a default value.`,t.astNode)}function jD(e){const t=Object.create(null),n=[],i=Object.create(null);return r;function r(o){if(t[o.name])return;t[o.name]=!0,i[o.name]=n.length;const a=Object.values(o.getFields());for(const c of a)if(Pt(c.type)&&ln(c.type.ofType)){const f=c.type.ofType,h=i[f.name];if(n.push(c),h===void 0)r(f);else{const p=n.slice(h),g=p.map(y=>y.name).join(".");e.reportError(`Cannot reference Input Object "${f.name}" within itself through a series of non-null fields: "${g}".`,p.map(y=>y.astNode))}n.pop()}i[o.name]=void 0}}function Zl(e,t){const{astNode:n,extensionASTNodes:i}=e;return(n!=null?[n,...i]:i).flatMap(o=>{var a;return(a=o.interfaces)!==null&&a!==void 0?a:[]}).filter(o=>o.name.value===t.name)}function yx(e,t){const{astNode:n,extensionASTNodes:i}=e;return(n!=null?[n,...i]:i).flatMap(o=>{var a;return(a=o.types)!==null&&a!==void 0?a:[]}).filter(o=>o.name.value===t)}function Gg(e){var t;return e==null||(t=e.directives)===null||t===void 0?void 0:t.find(n=>n.name.value===X5.name)}function fc(e,t){switch(t.kind){case W.LIST_TYPE:{const n=fc(e,t.type);return n&&new Hn(n)}case W.NON_NULL_TYPE:{const n=fc(e,t.type);return n&&new $e(n)}case W.NAMED_TYPE:return e.getType(t.name.value)}}class rT{constructor(t,n,i){this._schema=t,this._typeStack=[],this._parentTypeStack=[],this._inputTypeStack=[],this._fieldDefStack=[],this._defaultValueStack=[],this._directive=null,this._argument=null,this._enumValue=null,this._getFieldDef=i??PD,n&&(_i(n)&&this._inputTypeStack.push(n),no(n)&&this._parentTypeStack.push(n),Bo(n)&&this._typeStack.push(n))}get[Symbol.toStringTag](){return"TypeInfo"}getType(){if(this._typeStack.length>0)return this._typeStack[this._typeStack.length-1]}getParentType(){if(this._parentTypeStack.length>0)return this._parentTypeStack[this._parentTypeStack.length-1]}getInputType(){if(this._inputTypeStack.length>0)return this._inputTypeStack[this._inputTypeStack.length-1]}getParentInputType(){if(this._inputTypeStack.length>1)return this._inputTypeStack[this._inputTypeStack.length-2]}getFieldDef(){if(this._fieldDefStack.length>0)return this._fieldDefStack[this._fieldDefStack.length-1]}getDefaultValue(){if(this._defaultValueStack.length>0)return this._defaultValueStack[this._defaultValueStack.length-1]}getDirective(){return this._directive}getArgument(){return this._argument}getEnumValue(){return this._enumValue}enter(t){const n=this._schema;switch(t.kind){case W.SELECTION_SET:{const r=Nn(this.getType());this._parentTypeStack.push(no(r)?r:void 0);break}case W.FIELD:{const r=this.getParentType();let o,a;r&&(o=this._getFieldDef(n,r,t),o&&(a=o.type)),this._fieldDefStack.push(o),this._typeStack.push(Bo(a)?a:void 0);break}case W.DIRECTIVE:this._directive=n.getDirective(t.name.value);break;case W.OPERATION_DEFINITION:{const r=n.getRootType(t.operation);this._typeStack.push(bt(r)?r:void 0);break}case W.INLINE_FRAGMENT:case W.FRAGMENT_DEFINITION:{const r=t.typeCondition,o=r?fc(n,r):Nn(this.getType());this._typeStack.push(Bo(o)?o:void 0);break}case W.VARIABLE_DEFINITION:{const r=fc(n,t.type);this._inputTypeStack.push(_i(r)?r:void 0);break}case W.ARGUMENT:{var i;let r,o;const a=(i=this.getDirective())!==null&&i!==void 0?i:this.getFieldDef();a&&(r=a.args.find(c=>c.name===t.name.value),r&&(o=r.type)),this._argument=r,this._defaultValueStack.push(r?r.defaultValue:void 0),this._inputTypeStack.push(_i(o)?o:void 0);break}case W.LIST:{const r=j5(this.getInputType()),o=kn(r)?r.ofType:r;this._defaultValueStack.push(void 0),this._inputTypeStack.push(_i(o)?o:void 0);break}case W.OBJECT_FIELD:{const r=Nn(this.getInputType());let o,a;ln(r)&&(a=r.getFields()[t.name.value],a&&(o=a.type)),this._defaultValueStack.push(a?a.defaultValue:void 0),this._inputTypeStack.push(_i(o)?o:void 0);break}case W.ENUM:{const r=Nn(this.getInputType());let o;ci(r)&&(o=r.getValue(t.value)),this._enumValue=o;break}}}leave(t){switch(t.kind){case W.SELECTION_SET:this._parentTypeStack.pop();break;case W.FIELD:this._fieldDefStack.pop(),this._typeStack.pop();break;case W.DIRECTIVE:this._directive=null;break;case W.OPERATION_DEFINITION:case W.INLINE_FRAGMENT:case W.FRAGMENT_DEFINITION:this._typeStack.pop();break;case W.VARIABLE_DEFINITION:this._inputTypeStack.pop();break;case W.ARGUMENT:this._argument=null,this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case W.LIST:case W.OBJECT_FIELD:this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case W.ENUM:this._enumValue=null;break}}}function PD(e,t,n){const i=n.name.value;if(i===ac.name&&e.getQueryType()===t)return ac;if(i===lc.name&&e.getQueryType()===t)return lc;if(i===cc.name&&no(t))return cc;if(bt(t)||Tt(t))return t.getFields()[i]}function VD(e,t){return{enter(...n){const i=n[0];e.enter(i);const r=qd(t,i.kind).enter;if(r){const o=r.apply(t,n);return o!==void 0&&(e.leave(i),xm(o)&&e.enter(o)),o}},leave(...n){const i=n[0],r=qd(t,i.kind).leave;let o;return r&&(o=r.apply(t,n)),e.leave(i),o}}}function zl(e,t,n){if(e){if(e.kind===W.VARIABLE){const i=e.name.value;if(n==null||n[i]===void 0)return;const r=n[i];return r===null&&Pt(t)?void 0:r}if(Pt(t))return e.kind===W.NULL?void 0:zl(e,t.ofType,n);if(e.kind===W.NULL)return null;if(kn(t)){const i=t.ofType;if(e.kind===W.LIST){const o=[];for(const a of e.values)if(bx(a,n)){if(Pt(i))return;o.push(null)}else{const c=zl(a,i,n);if(c===void 0)return;o.push(c)}return o}const r=zl(e,i,n);return r===void 0?void 0:[r]}if(ln(t)){if(e.kind!==W.OBJECT)return;const i=Object.create(null),r=I5(e.fields,o=>o.name.value);for(const o of Object.values(t.getFields())){const a=r[o.name];if(!a||bx(a.value,n)){if(o.defaultValue!==void 0)i[o.name]=o.defaultValue;else if(Pt(o.type))return;continue}const c=zl(a.value,o.type,n);if(c===void 0)return;i[o.name]=c}if(t.isOneOf){const o=Object.keys(i);if(o.length!==1||i[o[0]]===null)return}return i}if(S0(t)){let i;try{i=t.parseLiteral(e,n)}catch{return}return i===void 0?void 0:i}b0(!1,"Unexpected input type: "+be(t))}}function bx(e,t){return e.kind===W.VARIABLE&&(t==null||t[e.name.value]===void 0)}function BD(e){const t={descriptions:!0,specifiedByUrl:!1,directiveIsRepeatable:!1,schemaDescription:!1,inputValueDeprecation:!1,oneOf:!1,...e},n=t.descriptions?"description":"",i=t.specifiedByUrl?"specifiedByURL":"",r=t.directiveIsRepeatable?"isRepeatable":"",o=t.schemaDescription?n:"";function a(f){return t.inputValueDeprecation?f:""}const c=t.oneOf?"isOneOf":"";return`
|
|
103
103
|
query IntrospectionQuery {
|
|
104
104
|
__schema {
|
|
105
105
|
${o}
|
|
@@ -205,7 +205,7 @@ In some cases, you need to provide options to alter GraphQL's execution behavior
|
|
|
205
205
|
}
|
|
206
206
|
}
|
|
207
207
|
}
|
|
208
|
-
`}function $D(e,t){lu(e)&&lu(e.__schema)||et(!1,`Invalid or incomplete introspection result. Ensure that you are passing "data" property of introspection response and no "errors" was returned alongside: ${be(e)}.`);const n=e.__schema,i=Lo(n.types,L=>L.name,L=>y(L));for(const L of[...vD,...tT])i[L.name]&&(i[L.name]=L);const r=n.queryType?p(n.queryType):null,o=n.mutationType?p(n.mutationType):null,a=n.subscriptionType?p(n.subscriptionType):null,c=n.directives?n.directives.map(P):[];return new nT({description:n.description,query:r,mutation:o,subscription:a,types:Object.values(i),directives:c,assumeValid:void 0});function f(L){if(L.kind===ht.LIST){const B=L.ofType;if(!B)throw new Error("Decorated type deeper than introspection query.");return new Hn(f(B))}if(L.kind===ht.NON_NULL){const B=L.ofType;if(!B)throw new Error("Decorated type deeper than introspection query.");const z=f(B);return new $e(fD(z))}return h(L)}function h(L){const B=L.name;if(!B)throw new Error(`Unknown type reference: ${be(L)}.`);const z=i[B];if(!z)throw new Error(`Invalid or incomplete schema, unknown type: ${B}. Ensure that a full introspection query is used in order to build a client schema.`);return z}function p(L){return aD(h(L))}function g(L){return lD(h(L))}function y(L){if(L!=null&&L.name!=null&&L.kind!=null)switch(L.kind){case ht.SCALAR:return v(L);case ht.OBJECT:return T(L);case ht.INTERFACE:return S(L);case ht.UNION:return A(L);case ht.ENUM:return D(L);case ht.INPUT_OBJECT:return C(L)}const B=be(L);throw new Error(`Invalid or incomplete introspection result. Ensure that a full introspection query is used in order to build a client schema: ${B}.`)}function v(L){return new Jo({name:L.name,description:L.description,specifiedByURL:L.specifiedByURL})}function E(L){if(L.interfaces===null&&L.kind===ht.INTERFACE)return[];if(!L.interfaces){const B=be(L);throw new Error(`Introspection result missing interfaces: ${B}.`)}return L.interfaces.map(g)}function T(L){return new wr({name:L.name,description:L.description,interfaces:()=>E(L),fields:()=>N(L)})}function S(L){return new la({name:L.name,description:L.description,interfaces:()=>E(L),fields:()=>N(L)})}function A(L){if(!L.possibleTypes){const B=be(L);throw new Error(`Introspection result missing possibleTypes: ${B}.`)}return new q5({name:L.name,description:L.description,types:()=>L.possibleTypes.map(p)})}function D(L){if(!L.enumValues){const B=be(L);throw new Error(`Introspection result missing enumValues: ${B}.`)}return new wa({name:L.name,description:L.description,values:Lo(L.enumValues,B=>B.name,B=>({description:B.description,deprecationReason:B.deprecationReason}))})}function C(L){if(!L.inputFields){const B=be(L);throw new Error(`Introspection result missing inputFields: ${B}.`)}return new
|
|
208
|
+
`}function $D(e,t){lu(e)&&lu(e.__schema)||et(!1,`Invalid or incomplete introspection result. Ensure that you are passing "data" property of introspection response and no "errors" was returned alongside: ${be(e)}.`);const n=e.__schema,i=Lo(n.types,L=>L.name,L=>y(L));for(const L of[...vD,...tT])i[L.name]&&(i[L.name]=L);const r=n.queryType?p(n.queryType):null,o=n.mutationType?p(n.mutationType):null,a=n.subscriptionType?p(n.subscriptionType):null,c=n.directives?n.directives.map(P):[];return new nT({description:n.description,query:r,mutation:o,subscription:a,types:Object.values(i),directives:c,assumeValid:void 0});function f(L){if(L.kind===ht.LIST){const B=L.ofType;if(!B)throw new Error("Decorated type deeper than introspection query.");return new Hn(f(B))}if(L.kind===ht.NON_NULL){const B=L.ofType;if(!B)throw new Error("Decorated type deeper than introspection query.");const z=f(B);return new $e(fD(z))}return h(L)}function h(L){const B=L.name;if(!B)throw new Error(`Unknown type reference: ${be(L)}.`);const z=i[B];if(!z)throw new Error(`Invalid or incomplete schema, unknown type: ${B}. Ensure that a full introspection query is used in order to build a client schema.`);return z}function p(L){return aD(h(L))}function g(L){return lD(h(L))}function y(L){if(L!=null&&L.name!=null&&L.kind!=null)switch(L.kind){case ht.SCALAR:return v(L);case ht.OBJECT:return T(L);case ht.INTERFACE:return S(L);case ht.UNION:return A(L);case ht.ENUM:return D(L);case ht.INPUT_OBJECT:return C(L)}const B=be(L);throw new Error(`Invalid or incomplete introspection result. Ensure that a full introspection query is used in order to build a client schema: ${B}.`)}function v(L){return new Jo({name:L.name,description:L.description,specifiedByURL:L.specifiedByURL})}function E(L){if(L.interfaces===null&&L.kind===ht.INTERFACE)return[];if(!L.interfaces){const B=be(L);throw new Error(`Introspection result missing interfaces: ${B}.`)}return L.interfaces.map(g)}function T(L){return new wr({name:L.name,description:L.description,interfaces:()=>E(L),fields:()=>N(L)})}function S(L){return new la({name:L.name,description:L.description,interfaces:()=>E(L),fields:()=>N(L)})}function A(L){if(!L.possibleTypes){const B=be(L);throw new Error(`Introspection result missing possibleTypes: ${B}.`)}return new q5({name:L.name,description:L.description,types:()=>L.possibleTypes.map(p)})}function D(L){if(!L.enumValues){const B=be(L);throw new Error(`Introspection result missing enumValues: ${B}.`)}return new wa({name:L.name,description:L.description,values:Lo(L.enumValues,B=>B.name,B=>({description:B.description,deprecationReason:B.deprecationReason}))})}function C(L){if(!L.inputFields){const B=be(L);throw new Error(`Introspection result missing inputFields: ${B}.`)}return new Hg({name:L.name,description:L.description,fields:()=>k(L.inputFields),isOneOf:L.isOneOf})}function N(L){if(!L.fields)throw new Error(`Introspection result missing fields: ${be(L)}.`);return Lo(L.fields,B=>B.name,O)}function O(L){const B=f(L.type);if(!Bo(B)){const z=be(B);throw new Error(`Introspection must provide output type for fields, but received: ${z}.`)}if(!L.args){const z=be(L);throw new Error(`Introspection result missing field args: ${z}.`)}return{description:L.description,deprecationReason:L.deprecationReason,type:B,args:k(L.args)}}function k(L){return Lo(L,B=>B.name,I)}function I(L){const B=f(L.type);if(!_i(B)){const te=be(B);throw new Error(`Introspection must provide input type for arguments, but received: ${te}.`)}const z=L.defaultValue!=null?zl(Qw(L.defaultValue),B):void 0;return{description:L.description,type:B,defaultValue:z,deprecationReason:L.deprecationReason}}function P(L){if(!L.args){const B=be(L);throw new Error(`Introspection result missing directive args: ${B}.`)}if(!L.locations){const B=be(L);throw new Error(`Introspection result missing directive locations: ${B}.`)}return new es({name:L.name,description:L.description,isRepeatable:L.isRepeatable,locations:L.locations.slice(),args:k(L.args)})}}var UD=new TextDecoder;async function zD(e,t){if(!e.ok||!e.body||e.bodyUsed)return e;let n=e.headers.get("content-type");if(!n||!~n.indexOf("multipart/"))return e;let i=n.indexOf("boundary="),r="-";if(~i){let o=i+9,a=n.indexOf(";",o);r=n.slice(o,a>-1?a:void 0).trim().replace(/"/g,"")}return async function*(o,a,c){let f,h,p,g=o.getReader(),y=!c||!1,v=a.length,E="",T=[];try{let S;e:for(;!(S=await g.read()).done;){let A=UD.decode(S.value);f=E.length,E+=A;let D=A.indexOf(a);for(~D?f+=D:f=E.indexOf(a),T=[];~f;){let C=E.slice(0,f),N=E.slice(f+v);if(h){let O=C.indexOf(`\r
|
|
209
209
|
\r
|
|
210
210
|
`)+4,k=C.lastIndexOf(`\r
|
|
211
211
|
`,O),I=!1,P=C.slice(O,k>-1?void 0:k),L=String(C.slice(0,O)).trim().split(`\r
|
|
@@ -215,9 +215,9 @@ ${g.headers}
|
|
|
215
215
|
|
|
216
216
|
Body::
|
|
217
217
|
${g.body}`);throw new Error(`Expected multipart chunks to be of json type. got:
|
|
218
|
-
${p}`)}yield h.map(p=>p.body)}}catch(h){f=[h]}finally{try{a&&(c=o.return)&&(yield new kd(c.call(o)))}finally{if(f)throw f[0]}}})};async function JD(e,t){if(e.wsClient)return oT(e.wsClient);if(e.subscriptionUrl)return ZD(e.subscriptionUrl,ai(ai({},e.wsConnectionParams),t==null?void 0:t.headers));const n=e.legacyClient||e.legacyWsClient;if(n)return WD(n)}function eN(e){const t=e.fetch||typeof window<"u"&&window.fetch;if(!t)throw new Error("No valid fetcher implementation available");e.enableIncrementalDelivery=e.enableIncrementalDelivery!==!1;const n=XD(e,t),i=e.enableIncrementalDelivery?KD(e,t):n;return async(r,o)=>{if(r.operationName==="IntrospectionQuery")return(e.schemaFetcher||n)(r,o);if(o!=null&&o.documentAST&&QD(o.documentAST,r.operationName||void 0)){const a=await JD(e,o);if(!a)throw new Error(`Your GraphiQL createFetcher is not properly configured for websocket subscriptions yet. ${e.subscriptionUrl?`Provided URL ${e.subscriptionUrl} failed`:"Please provide subscriptionUrl, wsClient or legacyClient option first."}`);return a(r)}return i(r,o)}}function
|
|
218
|
+
${p}`)}yield h.map(p=>p.body)}}catch(h){f=[h]}finally{try{a&&(c=o.return)&&(yield new kd(c.call(o)))}finally{if(f)throw f[0]}}})};async function JD(e,t){if(e.wsClient)return oT(e.wsClient);if(e.subscriptionUrl)return ZD(e.subscriptionUrl,ai(ai({},e.wsConnectionParams),t==null?void 0:t.headers));const n=e.legacyClient||e.legacyWsClient;if(n)return WD(n)}function eN(e){const t=e.fetch||typeof window<"u"&&window.fetch;if(!t)throw new Error("No valid fetcher implementation available");e.enableIncrementalDelivery=e.enableIncrementalDelivery!==!1;const n=XD(e,t),i=e.enableIncrementalDelivery?KD(e,t):n;return async(r,o)=>{if(r.operationName==="IntrospectionQuery")return(e.schemaFetcher||n)(r,o);if(o!=null&&o.documentAST&&QD(o.documentAST,r.operationName||void 0)){const a=await JD(e,o);if(!a)throw new Error(`Your GraphiQL createFetcher is not properly configured for websocket subscriptions yet. ${e.subscriptionUrl?`Provided URL ${e.subscriptionUrl} failed`:"Please provide subscriptionUrl, wsClient or legacyClient option first."}`);return a(r)}return i(r,o)}}function Am(e){return JSON.stringify(e,null,2)}function tN(e){return oc(ai({},e),{message:e.message,stack:e.stack})}function Ex(e){return e instanceof Error?tN(e):e}function dc(e){return Array.isArray(e)?Am({errors:e.map(t=>Ex(t))}):Am({errors:[Ex(e)]})}function wm(e){return Am(e)}function nN(e,t,n){const i=[];if(!e||!t)return{insertions:i,result:t};let r;try{r=Ko(t)}catch{return{insertions:i,result:t}}const o=n||iN,a=new rT(e);return Yi(r,{leave(c){a.leave(c)},enter(c){if(a.enter(c),c.kind==="Field"&&!c.selectionSet){const f=a.getType(),h=sT(oN(f),o);if(h&&c.loc){const p=uN(t,c.loc.start);i.push({index:c.loc.end,string:" "+li(h).replaceAll(`
|
|
219
219
|
`,`
|
|
220
|
-
`+p)})}}}}),{insertions:i,result:rN(t,i)}}function iN(e){if(!("getFields"in e))return[];const t=e.getFields();if(t.id)return["id"];if(t.edges)return["edges"];if(t.node)return["node"];const n=[];for(const i of Object.keys(t))S0(t[i].type)&&n.push(i);return n}function sT(e,t){const n=Nn(e);if(!e||S0(e))return;const i=t(n);if(!(!Array.isArray(i)||i.length===0||!("getFields"in n)))return{kind:W.SELECTION_SET,selections:i.map(r=>{const o=n.getFields()[r],a=o?o.type:null;return{kind:W.FIELD,name:{kind:W.NAME,value:r},selectionSet:sT(a,t)}})}}function rN(e,t){if(t.length===0)return e;let n="",i=0;for(const{index:r,string:o}of t)n+=e.slice(i,r)+o,i=r;return n+=e.slice(i),n}function uN(e,t){let n=t,i=t;for(;n;){const r=e.charCodeAt(n-1);if(r===10||r===13||r===8232||r===8233)break;n--,r!==9&&r!==11&&r!==12&&r!==32&&r!==160&&(i=n)}return e.slice(n,i)}function oN(e){if(e)return e}function sN(e,t){var n;const i=new Map,r=[];for(const o of e)if(o.kind==="Field"){const a=t(o),c=i.get(a);if((n=o.directives)!=null&&n.length){const f=ai({},o);r.push(f)}else if(c!=null&&c.selectionSet&&o.selectionSet)c.selectionSet.selections=[...c.selectionSet.selections,...o.selectionSet.selections];else if(!c){const f=ai({},o);i.set(a,f),r.push(f)}}else r.push(o);return r}function aT(e,t,n){var i;const r=n?Nn(n).name:null,o=[],a=[];for(let c of t){if(c.kind==="FragmentSpread"){const f=c.name.value;if(!c.directives||c.directives.length===0){if(a.includes(f))continue;a.push(f)}const h=e[c.name.value];if(h){const{typeCondition:p,directives:g,selectionSet:y}=h;c={kind:W.INLINE_FRAGMENT,typeCondition:p,directives:g,selectionSet:y}}}if(c.kind===W.INLINE_FRAGMENT&&(!c.directives||((i=c.directives)==null?void 0:i.length)===0)){const f=c.typeCondition?c.typeCondition.name.value:null;if(!f||f===r){o.push(...aT(e,c.selectionSet.selections,n));continue}}o.push(c)}return o}function aN(e,t){const n=t?new rT(t):null,i=Object.create(null);for(const a of e.definitions)a.kind===W.FRAGMENT_DEFINITION&&(i[a.name.value]=a);const r={SelectionSet(a){const c=n?n.getParentType():null;let{selections:f}=a;return f=aT(i,f,c),oc(ai({},a),{selections:f})},FragmentDefinition(){return null}},o=Yi(e,n?VD(n,r):r);return Yi(o,{SelectionSet(a){let{selections:c}=a;return c=sN(c,f=>f.alias?f.alias.value:f.name.value),oc(ai({},a),{selections:c})},FragmentDefinition(){return null}})}function lN(e,t,n){if(!n||n.length<1)return;const i=n.map(r=>{var o;return(o=r.name)==null?void 0:o.value});if(t&&i.includes(t))return t;if(t&&e){const r=e.map(o=>{var a;return(a=o.name)==null?void 0:a.value}).indexOf(t);if(r!==-1&&r<i.length)return i[r]}return i[0]}function cN(e,t){return t instanceof DOMException&&(t.code===22||t.code===1014||t.name==="QuotaExceededError"||t.name==="NS_ERROR_DOM_QUOTA_REACHED")&&e.length!==0}class
|
|
220
|
+
`+p)})}}}}),{insertions:i,result:rN(t,i)}}function iN(e){if(!("getFields"in e))return[];const t=e.getFields();if(t.id)return["id"];if(t.edges)return["edges"];if(t.node)return["node"];const n=[];for(const i of Object.keys(t))S0(t[i].type)&&n.push(i);return n}function sT(e,t){const n=Nn(e);if(!e||S0(e))return;const i=t(n);if(!(!Array.isArray(i)||i.length===0||!("getFields"in n)))return{kind:W.SELECTION_SET,selections:i.map(r=>{const o=n.getFields()[r],a=o?o.type:null;return{kind:W.FIELD,name:{kind:W.NAME,value:r},selectionSet:sT(a,t)}})}}function rN(e,t){if(t.length===0)return e;let n="",i=0;for(const{index:r,string:o}of t)n+=e.slice(i,r)+o,i=r;return n+=e.slice(i),n}function uN(e,t){let n=t,i=t;for(;n;){const r=e.charCodeAt(n-1);if(r===10||r===13||r===8232||r===8233)break;n--,r!==9&&r!==11&&r!==12&&r!==32&&r!==160&&(i=n)}return e.slice(n,i)}function oN(e){if(e)return e}function sN(e,t){var n;const i=new Map,r=[];for(const o of e)if(o.kind==="Field"){const a=t(o),c=i.get(a);if((n=o.directives)!=null&&n.length){const f=ai({},o);r.push(f)}else if(c!=null&&c.selectionSet&&o.selectionSet)c.selectionSet.selections=[...c.selectionSet.selections,...o.selectionSet.selections];else if(!c){const f=ai({},o);i.set(a,f),r.push(f)}}else r.push(o);return r}function aT(e,t,n){var i;const r=n?Nn(n).name:null,o=[],a=[];for(let c of t){if(c.kind==="FragmentSpread"){const f=c.name.value;if(!c.directives||c.directives.length===0){if(a.includes(f))continue;a.push(f)}const h=e[c.name.value];if(h){const{typeCondition:p,directives:g,selectionSet:y}=h;c={kind:W.INLINE_FRAGMENT,typeCondition:p,directives:g,selectionSet:y}}}if(c.kind===W.INLINE_FRAGMENT&&(!c.directives||((i=c.directives)==null?void 0:i.length)===0)){const f=c.typeCondition?c.typeCondition.name.value:null;if(!f||f===r){o.push(...aT(e,c.selectionSet.selections,n));continue}}o.push(c)}return o}function aN(e,t){const n=t?new rT(t):null,i=Object.create(null);for(const a of e.definitions)a.kind===W.FRAGMENT_DEFINITION&&(i[a.name.value]=a);const r={SelectionSet(a){const c=n?n.getParentType():null;let{selections:f}=a;return f=aT(i,f,c),oc(ai({},a),{selections:f})},FragmentDefinition(){return null}},o=Yi(e,n?VD(n,r):r);return Yi(o,{SelectionSet(a){let{selections:c}=a;return c=sN(c,f=>f.alias?f.alias.value:f.name.value),oc(ai({},a),{selections:c})},FragmentDefinition(){return null}})}function lN(e,t,n){if(!n||n.length<1)return;const i=n.map(r=>{var o;return(o=r.name)==null?void 0:o.value});if(t&&i.includes(t))return t;if(t&&e){const r=e.map(o=>{var a;return(a=o.name)==null?void 0:a.value}).indexOf(t);if(r!==-1&&r<i.length)return i[r]}return i[0]}function cN(e,t){return t instanceof DOMException&&(t.code===22||t.code===1014||t.name==="QuotaExceededError"||t.name==="NS_ERROR_DOM_QUOTA_REACHED")&&e.length!==0}class Dm{constructor(t){t?this.storage=t:t===null?this.storage=null:typeof window>"u"?this.storage=null:this.storage={getItem:localStorage.getItem.bind(localStorage),setItem:localStorage.setItem.bind(localStorage),removeItem:localStorage.removeItem.bind(localStorage),get length(){let n=0;for(const i in localStorage)i.indexOf(`${pd}:`)===0&&(n+=1);return n},clear(){for(const n in localStorage)n.indexOf(`${pd}:`)===0&&localStorage.removeItem(n)}}}get(t){if(!this.storage)return null;const n=`${pd}:${t}`,i=this.storage.getItem(n);return i==="null"||i==="undefined"?(this.storage.removeItem(n),null):i||null}set(t,n){let i=!1,r=null;if(this.storage){const o=`${pd}:${t}`;if(n)try{this.storage.setItem(o,n)}catch(a){r=a instanceof Error?a:new Error(`${a}`),i=cN(this.storage,a)}else this.storage.removeItem(o)}return{isQuotaError:i,error:r}}clear(){this.storage&&this.storage.clear()}}const pd="graphiql";class Tx{constructor(t,n,i=null){this.key=t,this.storage=n,this.maxSize=i,this.items=this.fetchAll()}get length(){return this.items.length}contains(t){return this.items.some(n=>n.query===t.query&&n.variables===t.variables&&n.headers===t.headers&&n.operationName===t.operationName)}edit(t,n){if(typeof n=="number"&&this.items[n]){const r=this.items[n];if(r.query===t.query&&r.variables===t.variables&&r.headers===t.headers&&r.operationName===t.operationName){this.items.splice(n,1,t),this.save();return}}const i=this.items.findIndex(r=>r.query===t.query&&r.variables===t.variables&&r.headers===t.headers&&r.operationName===t.operationName);i!==-1&&(this.items.splice(i,1,t),this.save())}delete(t){const n=this.items.findIndex(i=>i.query===t.query&&i.variables===t.variables&&i.headers===t.headers&&i.operationName===t.operationName);n!==-1&&(this.items.splice(n,1),this.save())}fetchRecent(){return this.items.at(-1)}fetchAll(){const t=this.storage.get(this.key);return t?JSON.parse(t)[this.key]:[]}push(t){const n=[...this.items,t];this.maxSize&&n.length>this.maxSize&&n.shift();for(let i=0;i<5;i++){const r=this.storage.set(this.key,JSON.stringify({[this.key]:n}));if(!(r!=null&&r.error))this.items=n;else if(r.isQuotaError&&this.maxSize)n.shift();else return}}save(){this.storage.set(this.key,JSON.stringify({[this.key]:this.items}))}}const fN=1e5;class dN{constructor(t,n){this.storage=t,this.maxHistoryLength=n,this.updateHistory=({query:i,variables:r,headers:o,operationName:a})=>{if(!this.shouldSaveQuery(i,r,o,this.history.fetchRecent()))return;this.history.push({query:i,variables:r,headers:o,operationName:a});const c=this.history.items,f=this.favorite.items;this.queries=c.concat(f)},this.deleteHistory=({query:i,variables:r,headers:o,operationName:a,favorite:c},f=!1)=>{function h(p){const g=p.items.find(y=>y.query===i&&y.variables===r&&y.headers===o&&y.operationName===a);g&&p.delete(g)}(c||f)&&h(this.favorite),(!c||f)&&h(this.history),this.queries=[...this.history.items,...this.favorite.items]},this.history=new Tx("queries",this.storage,this.maxHistoryLength),this.favorite=new Tx("favorites",this.storage,null),this.queries=[...this.history.fetchAll(),...this.favorite.fetchAll()]}shouldSaveQuery(t,n,i,r){if(!t)return!1;try{Ko(t)}catch{return!1}return t.length>fN?!1:r?!(JSON.stringify(t)===JSON.stringify(r.query)&&(JSON.stringify(n)===JSON.stringify(r.variables)&&(JSON.stringify(i)===JSON.stringify(r.headers)||i&&!r.headers)||n&&!r.variables)):!0}toggleFavorite({query:t,variables:n,headers:i,operationName:r,label:o,favorite:a}){const c={query:t,variables:n,headers:i,operationName:r,label:o};a?(c.favorite=!1,this.favorite.delete(c),this.history.push(c)):(c.favorite=!0,this.favorite.push(c),this.history.delete(c)),this.queries=[...this.history.items,...this.favorite.items]}editLabel({query:t,variables:n,headers:i,operationName:r,label:o,favorite:a},c){const f={query:t,variables:n,headers:i,operationName:r,label:o};a?this.favorite.edit(oc(ai({},f),{favorite:a}),c):this.history.edit(f,c),this.queries=[...this.history.items,...this.favorite.items]}}/**
|
|
221
221
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
222
222
|
*
|
|
223
223
|
* This source code is licensed under the MIT license found in the
|
|
@@ -228,43 +228,43 @@ ${p}`)}yield h.map(p=>p.body)}}catch(h){f=[h]}finally{try{a&&(c=o.return)&&(yiel
|
|
|
228
228
|
* @nolint
|
|
229
229
|
* @preventMunge
|
|
230
230
|
* @preserve-invariant-messages
|
|
231
|
-
*/var
|
|
231
|
+
*/var d1,Sx;function hN(){if(Sx)return d1;Sx=1;var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,r=Object.getPrototypeOf,o=Object.prototype.hasOwnProperty,a=($,V)=>{for(var M in V)t($,M,{get:V[M],enumerable:!0})},c=($,V,M,q)=>{if(V&&typeof V=="object"||typeof V=="function")for(let ie of i(V))!o.call($,ie)&&ie!==M&&t($,ie,{get:()=>V[ie],enumerable:!(q=n(V,ie))||q.enumerable});return $},f=($,V,M)=>(M=$!=null?e(r($)):{},c(!$||!$.__esModule?t(M,"default",{value:$,enumerable:!0}):M,$)),h=$=>c(t({},"__esModule",{value:!0}),$),p={};a(p,{$dispatcherGuard:()=>P,$makeReadOnly:()=>B,$reset:()=>L,$structuralCheck:()=>H,c:()=>C,clearRenderCounterRegistry:()=>te,renderCounterRegistry:()=>z,useRenderCounter:()=>X}),d1=h(p);var g=f(Lc()),{useRef:y,useEffect:v,isValidElement:E}=g,T,S=(T=g.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE)!=null?T:g.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,A=Symbol.for("react.memo_cache_sentinel"),D,C=typeof((D=g.__COMPILER_RUNTIME)==null?void 0:D.c)=="function"?g.__COMPILER_RUNTIME.c:function(V){return g.useMemo(()=>{const M=new Array(V);for(let q=0;q<V;q++)M[q]=A;return M[A]=!0,M},[])},N={};["readContext","useCallback","useContext","useEffect","useImperativeHandle","useInsertionEffect","useLayoutEffect","useMemo","useReducer","useRef","useState","useDebugValue","useDeferredValue","useTransition","useMutableSource","useSyncExternalStore","useId","unstable_isNewReconciler","getCacheSignal","getCacheForType","useCacheRefresh"].forEach($=>{N[$]=()=>{throw new Error(`[React] Unexpected React hook call (${$}) from a React compiled function. Check that all hooks are called directly and named according to convention ('use[A-Z]') `)}});var O=null;N.useMemoCache=$=>{if(O==null)throw new Error("React Compiler internal invariant violation: unexpected null dispatcher");return O.useMemoCache($)};function k($){return S.ReactCurrentDispatcher.current=$,S.ReactCurrentDispatcher.current}var I=[];function P($){const V=S.ReactCurrentDispatcher.current;if($===0){if(I.push(V),I.length===1&&(O=V),V===N)throw new 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.");k(N)}else if($===1){const M=I.pop();if(M==null)throw new Error("React Compiler internal error: unexpected null in guard stack");I.length===0&&(O=null),k(M)}else if($===2)I.push(V),k(O);else if($===3){const M=I.pop();if(M==null)throw new Error("React Compiler internal error: unexpected null in guard stack");k(M)}else throw new Error("React Compiler internal error: unreachable block"+$)}function L($){for(let V=0;V<$.length;V++)$[V]=A}function B(){throw new Error("TODO: implement $makeReadOnly in react-compiler-runtime")}var z=new Map;function te(){for(const $ of z.values())$.forEach(V=>{V.count=0})}function re($,V){let M=z.get($);M==null&&(M=new Set,z.set($,M)),M.add(V)}function fe($,V){const M=z.get($);M!=null&&M.delete(V)}function X($){const V=y(null);V.current!=null&&(V.current.count+=1),v(()=>{if(V.current==null){const M={count:0};re($,M),V.current=M}return()=>{V.current!==null&&fe($,V.current)}})}var F=new Set;function H($,V,M,q,ie,ne){function Y(le,ue,me,ve){const He=`${q}:${ne} [${ie}] ${M}${me} changed from ${le} to ${ue} at depth ${ve}`;F.has(He)||(F.add(He),console.error(He))}const pe=2;function oe(le,ue,me,ve){if(!(ve>pe)){if(le===ue)return;if(typeof le!=typeof ue)Y(`type ${typeof le}`,`type ${typeof ue}`,me,ve);else if(typeof le=="object"){const He=Array.isArray(le),lt=Array.isArray(ue);if(le===null&&ue!==null)Y("null",`type ${typeof ue}`,me,ve);else if(ue===null)Y(`type ${typeof le}`,"null",me,ve);else if(le instanceof Map)if(!(ue instanceof Map))Y("Map instance","other value",me,ve);else if(le.size!==ue.size)Y(`Map instance with size ${le.size}`,`Map instance with size ${ue.size}`,me,ve);else for(const[Te,At]of le)ue.has(Te)?oe(At,ue.get(Te),`${me}.get(${Te})`,ve+1):Y(`Map instance with key ${Te}`,`Map instance without key ${Te}`,me,ve);else if(ue instanceof Map)Y("other value","Map instance",me,ve);else if(le instanceof Set)if(!(ue instanceof Set))Y("Set instance","other value",me,ve);else if(le.size!==ue.size)Y(`Set instance with size ${le.size}`,`Set instance with size ${ue.size}`,me,ve);else for(const Te of ue)le.has(Te)||Y(`Set instance without element ${Te}`,`Set instance with element ${Te}`,me,ve);else if(ue instanceof Set)Y("other value","Set instance",me,ve);else if(He||lt)if(He!==lt)Y(`type ${He?"array":"object"}`,`type ${lt?"array":"object"}`,me,ve);else if(le.length!==ue.length)Y(`array with length ${le.length}`,`array with length ${ue.length}`,me,ve);else for(let Te=0;Te<le.length;Te++)oe(le[Te],ue[Te],`${me}[${Te}]`,ve+1);else if(E(le)||E(ue))E(le)!==E(ue)?Y(`type ${E(le)?"React element":"object"}`,`type ${E(ue)?"React element":"object"}`,me,ve):le.type!==ue.type?Y(`React element of type ${le.type}`,`React element of type ${ue.type}`,me,ve):oe(le.props,ue.props,`[props of ${me}]`,ve+1);else{for(const Te in ue)Te in le||Y(`object without key ${Te}`,`object with key ${Te}`,me,ve);for(const Te in le)Te in ue?oe(le[Te],ue[Te],`${me}.${Te}`,ve+1):Y(`object with key ${Te}`,`object without key ${Te}`,me,ve)}}else{if(typeof le=="function")return;isNaN(le)||isNaN(ue)?isNaN(le)!==isNaN(ue)&&Y(`${isNaN(le)?"NaN":"non-NaN value"}`,`${isNaN(ue)?"NaN":"non-NaN value"}`,me,ve):le!==ue&&Y(le,ue,me,ve)}}}oe($,V,"",0)}return d1}var ge=hN();function Yo(e){const t=Object.keys(e),n=t.length,i=new Array(n);for(let r=0;r<n;++r)i[r]=e[t[r]];return i}function yt(e,t){return pN(t,lT(e.string))}function pN(e,t){if(!t||t.trim()===""||t.trim()===":"||t.trim()==="{")return h1(e,i=>!i.isDeprecated);const n=e.map(i=>({proximity:mN(lT(i.label),t),entry:i}));return h1(h1(n,i=>i.proximity<=2),i=>!i.entry.isDeprecated).sort((i,r)=>(i.entry.isDeprecated?1:0)-(r.entry.isDeprecated?1:0)||i.proximity-r.proximity||i.entry.label.length-r.entry.label.length).map(i=>i.entry)}function h1(e,t){const n=e.filter(t);return n.length===0?e:n}function lT(e){return e.toLowerCase().replaceAll(/\W/g,"")}function mN(e,t){let n=gN(t,e);return e.length>t.length&&(n-=e.length-t.length-1,n+=e.indexOf(t)===0?0:.5),n}function gN(e,t){let n,i;const r=[],o=e.length,a=t.length;for(n=0;n<=o;n++)r[n]=[n];for(i=1;i<=a;i++)r[0][i]=i;for(n=1;n<=o;n++)for(i=1;i<=a;i++){const c=e[n-1]===t[i-1]?0:1;r[n][i]=Math.min(r[n-1][i]+1,r[n][i-1]+1,r[n-1][i-1]+c),n>1&&i>1&&e[n-1]===t[i-2]&&e[n-2]===t[i-1]&&(r[n][i]=Math.min(r[n][i],r[n-2][i-2]+c))}return r[o][a]}const vN=e=>` {
|
|
232
232
|
$1
|
|
233
233
|
}`,Gd=(e,t,n)=>{if(!t)return n??e;const i=Nn(t);return bt(i)||ln(i)||kn(i)||ou(i)?e+vN():n??e},_x=(e,t,n)=>{if(kn(t)){const i=Nn(t.ofType);return e+`[${Gd("",i,"$1")}]`}return Gd(e,t,n)},yN=e=>{const t=e.args.filter(n=>n.type.toString().endsWith("!"));if(t.length)return e.name+`(${t.map((n,i)=>`${n.name}: $${i+1}`)}) ${Gd("",e.type,`
|
|
234
|
-
`)}`};var Cx;(function(e){function t(n){return typeof n=="string"}e.is=t})(Cx||(Cx={}));var Dm;(function(e){function t(n){return typeof n=="string"}e.is=t})(Dm||(Dm={}));var Ax;(function(e){e.MIN_VALUE=-2147483648,e.MAX_VALUE=2147483647;function t(n){return typeof n=="number"&&e.MIN_VALUE<=n&&n<=e.MAX_VALUE}e.is=t})(Ax||(Ax={}));var Yd;(function(e){e.MIN_VALUE=0,e.MAX_VALUE=2147483647;function t(n){return typeof n=="number"&&e.MIN_VALUE<=n&&n<=e.MAX_VALUE}e.is=t})(Yd||(Yd={}));var Hi;(function(e){function t(i,r){return i===Number.MAX_VALUE&&(i=Yd.MAX_VALUE),r===Number.MAX_VALUE&&(r=Yd.MAX_VALUE),{line:i,character:r}}e.create=t;function n(i){let r=i;return K.objectLiteral(r)&&K.uinteger(r.line)&&K.uinteger(r.character)}e.is=n})(Hi||(Hi={}));var Bt;(function(e){function t(i,r,o,a){if(K.uinteger(i)&&K.uinteger(r)&&K.uinteger(o)&&K.uinteger(a))return{start:Hi.create(i,r),end:Hi.create(o,a)};if(Hi.is(i)&&Hi.is(r))return{start:i,end:r};throw new Error(`Range#create called with invalid arguments[${i}, ${r}, ${o}, ${a}]`)}e.create=t;function n(i){let r=i;return K.objectLiteral(r)&&Hi.is(r.start)&&Hi.is(r.end)}e.is=n})(Bt||(Bt={}));var Qd;(function(e){function t(i,r){return{uri:i,range:r}}e.create=t;function n(i){let r=i;return K.objectLiteral(r)&&Bt.is(r.range)&&(K.string(r.uri)||K.undefined(r.uri))}e.is=n})(Qd||(Qd={}));var wx;(function(e){function t(i,r,o,a){return{targetUri:i,targetRange:r,targetSelectionRange:o,originSelectionRange:a}}e.create=t;function n(i){let r=i;return K.objectLiteral(r)&&Bt.is(r.targetRange)&&K.string(r.targetUri)&&Bt.is(r.targetSelectionRange)&&(Bt.is(r.originSelectionRange)||K.undefined(r.originSelectionRange))}e.is=n})(wx||(wx={}));var Nm;(function(e){function t(i,r,o,a){return{red:i,green:r,blue:o,alpha:a}}e.create=t;function n(i){const r=i;return K.objectLiteral(r)&&K.numberRange(r.red,0,1)&&K.numberRange(r.green,0,1)&&K.numberRange(r.blue,0,1)&&K.numberRange(r.alpha,0,1)}e.is=n})(Nm||(Nm={}));var Dx;(function(e){function t(i,r){return{range:i,color:r}}e.create=t;function n(i){const r=i;return K.objectLiteral(r)&&Bt.is(r.range)&&Nm.is(r.color)}e.is=n})(Dx||(Dx={}));var Nx;(function(e){function t(i,r,o){return{label:i,textEdit:r,additionalTextEdits:o}}e.create=t;function n(i){const r=i;return K.objectLiteral(r)&&K.string(r.label)&&(K.undefined(r.textEdit)||ga.is(r))&&(K.undefined(r.additionalTextEdits)||K.typedArray(r.additionalTextEdits,ga.is))}e.is=n})(Nx||(Nx={}));var Ox;(function(e){e.Comment="comment",e.Imports="imports",e.Region="region"})(Ox||(Ox={}));var Rx;(function(e){function t(i,r,o,a,c,f){const h={startLine:i,endLine:r};return K.defined(o)&&(h.startCharacter=o),K.defined(a)&&(h.endCharacter=a),K.defined(c)&&(h.kind=c),K.defined(f)&&(h.collapsedText=f),h}e.create=t;function n(i){const r=i;return K.objectLiteral(r)&&K.uinteger(r.startLine)&&K.uinteger(r.startLine)&&(K.undefined(r.startCharacter)||K.uinteger(r.startCharacter))&&(K.undefined(r.endCharacter)||K.uinteger(r.endCharacter))&&(K.undefined(r.kind)||K.string(r.kind))}e.is=n})(Rx||(Rx={}));var Om;(function(e){function t(i,r){return{location:i,message:r}}e.create=t;function n(i){let r=i;return K.defined(r)&&Qd.is(r.location)&&K.string(r.message)}e.is=n})(Om||(Om={}));var Mx;(function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4})(Mx||(Mx={}));var kx;(function(e){e.Unnecessary=1,e.Deprecated=2})(kx||(kx={}));var Lx;(function(e){function t(n){const i=n;return K.objectLiteral(i)&&K.string(i.href)}e.is=t})(Lx||(Lx={}));var Xd;(function(e){function t(i,r,o,a,c,f){let h={range:i,message:r};return K.defined(o)&&(h.severity=o),K.defined(a)&&(h.code=a),K.defined(c)&&(h.source=c),K.defined(f)&&(h.relatedInformation=f),h}e.create=t;function n(i){var r;let o=i;return K.defined(o)&&Bt.is(o.range)&&K.string(o.message)&&(K.number(o.severity)||K.undefined(o.severity))&&(K.integer(o.code)||K.string(o.code)||K.undefined(o.code))&&(K.undefined(o.codeDescription)||K.string((r=o.codeDescription)===null||r===void 0?void 0:r.href))&&(K.string(o.source)||K.undefined(o.source))&&(K.undefined(o.relatedInformation)||K.typedArray(o.relatedInformation,Om.is))}e.is=n})(Xd||(Xd={}));var ma;(function(e){function t(i,r,...o){let a={title:i,command:r};return K.defined(o)&&o.length>0&&(a.arguments=o),a}e.create=t;function n(i){let r=i;return K.defined(r)&&K.string(r.title)&&K.string(r.command)}e.is=n})(ma||(ma={}));var ga;(function(e){function t(o,a){return{range:o,newText:a}}e.replace=t;function n(o,a){return{range:{start:o,end:o},newText:a}}e.insert=n;function i(o){return{range:o,newText:""}}e.del=i;function r(o){const a=o;return K.objectLiteral(a)&&K.string(a.newText)&&Bt.is(a.range)}e.is=r})(ga||(ga={}));var Rm;(function(e){function t(i,r,o){const a={label:i};return r!==void 0&&(a.needsConfirmation=r),o!==void 0&&(a.description=o),a}e.create=t;function n(i){const r=i;return K.objectLiteral(r)&&K.string(r.label)&&(K.boolean(r.needsConfirmation)||r.needsConfirmation===void 0)&&(K.string(r.description)||r.description===void 0)}e.is=n})(Rm||(Rm={}));var va;(function(e){function t(n){const i=n;return K.string(i)}e.is=t})(va||(va={}));var Ix;(function(e){function t(o,a,c){return{range:o,newText:a,annotationId:c}}e.replace=t;function n(o,a,c){return{range:{start:o,end:o},newText:a,annotationId:c}}e.insert=n;function i(o,a){return{range:o,newText:"",annotationId:a}}e.del=i;function r(o){const a=o;return ga.is(a)&&(Rm.is(a.annotationId)||va.is(a.annotationId))}e.is=r})(Ix||(Ix={}));var Mm;(function(e){function t(i,r){return{textDocument:i,edits:r}}e.create=t;function n(i){let r=i;return K.defined(r)&&jm.is(r.textDocument)&&Array.isArray(r.edits)}e.is=n})(Mm||(Mm={}));var km;(function(e){function t(i,r,o){let a={kind:"create",uri:i};return r!==void 0&&(r.overwrite!==void 0||r.ignoreIfExists!==void 0)&&(a.options=r),o!==void 0&&(a.annotationId=o),a}e.create=t;function n(i){let r=i;return r&&r.kind==="create"&&K.string(r.uri)&&(r.options===void 0||(r.options.overwrite===void 0||K.boolean(r.options.overwrite))&&(r.options.ignoreIfExists===void 0||K.boolean(r.options.ignoreIfExists)))&&(r.annotationId===void 0||va.is(r.annotationId))}e.is=n})(km||(km={}));var Lm;(function(e){function t(i,r,o,a){let c={kind:"rename",oldUri:i,newUri:r};return o!==void 0&&(o.overwrite!==void 0||o.ignoreIfExists!==void 0)&&(c.options=o),a!==void 0&&(c.annotationId=a),c}e.create=t;function n(i){let r=i;return r&&r.kind==="rename"&&K.string(r.oldUri)&&K.string(r.newUri)&&(r.options===void 0||(r.options.overwrite===void 0||K.boolean(r.options.overwrite))&&(r.options.ignoreIfExists===void 0||K.boolean(r.options.ignoreIfExists)))&&(r.annotationId===void 0||va.is(r.annotationId))}e.is=n})(Lm||(Lm={}));var Im;(function(e){function t(i,r,o){let a={kind:"delete",uri:i};return r!==void 0&&(r.recursive!==void 0||r.ignoreIfNotExists!==void 0)&&(a.options=r),o!==void 0&&(a.annotationId=o),a}e.create=t;function n(i){let r=i;return r&&r.kind==="delete"&&K.string(r.uri)&&(r.options===void 0||(r.options.recursive===void 0||K.boolean(r.options.recursive))&&(r.options.ignoreIfNotExists===void 0||K.boolean(r.options.ignoreIfNotExists)))&&(r.annotationId===void 0||va.is(r.annotationId))}e.is=n})(Im||(Im={}));var Fm;(function(e){function t(n){let i=n;return i&&(i.changes!==void 0||i.documentChanges!==void 0)&&(i.documentChanges===void 0||i.documentChanges.every(r=>K.string(r.kind)?km.is(r)||Lm.is(r)||Im.is(r):Mm.is(r)))}e.is=t})(Fm||(Fm={}));var Fx;(function(e){function t(i){return{uri:i}}e.create=t;function n(i){let r=i;return K.defined(r)&&K.string(r.uri)}e.is=n})(Fx||(Fx={}));var jx;(function(e){function t(i,r){return{uri:i,version:r}}e.create=t;function n(i){let r=i;return K.defined(r)&&K.string(r.uri)&&K.integer(r.version)}e.is=n})(jx||(jx={}));var jm;(function(e){function t(i,r){return{uri:i,version:r}}e.create=t;function n(i){let r=i;return K.defined(r)&&K.string(r.uri)&&(r.version===null||K.integer(r.version))}e.is=n})(jm||(jm={}));var Px;(function(e){function t(i,r,o,a){return{uri:i,languageId:r,version:o,text:a}}e.create=t;function n(i){let r=i;return K.defined(r)&&K.string(r.uri)&&K.string(r.languageId)&&K.integer(r.version)&&K.string(r.text)}e.is=n})(Px||(Px={}));var Pm;(function(e){e.PlainText="plaintext",e.Markdown="markdown";function t(n){const i=n;return i===e.PlainText||i===e.Markdown}e.is=t})(Pm||(Pm={}));var hc;(function(e){function t(n){const i=n;return K.objectLiteral(n)&&Pm.is(i.kind)&&K.string(i.value)}e.is=t})(hc||(hc={}));var Vx;(function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25})(Vx||(Vx={}));var ca;(function(e){e.PlainText=1,e.Snippet=2})(ca||(ca={}));var Bx;(function(e){e.Deprecated=1})(Bx||(Bx={}));var $x;(function(e){function t(i,r,o){return{newText:i,insert:r,replace:o}}e.create=t;function n(i){const r=i;return r&&K.string(r.newText)&&Bt.is(r.insert)&&Bt.is(r.replace)}e.is=n})($x||($x={}));var Io;(function(e){e.asIs=1,e.adjustIndentation=2})(Io||(Io={}));var Ux;(function(e){function t(n){const i=n;return i&&(K.string(i.detail)||i.detail===void 0)&&(K.string(i.description)||i.description===void 0)}e.is=t})(Ux||(Ux={}));var zx;(function(e){function t(n){return{label:n}}e.create=t})(zx||(zx={}));var Hx;(function(e){function t(n,i){return{items:n||[],isIncomplete:!!i}}e.create=t})(Hx||(Hx={}));var Zd;(function(e){function t(i){return i.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}e.fromPlainText=t;function n(i){const r=i;return K.string(r)||K.objectLiteral(r)&&K.string(r.language)&&K.string(r.value)}e.is=n})(Zd||(Zd={}));var qx;(function(e){function t(n){let i=n;return!!i&&K.objectLiteral(i)&&(hc.is(i.contents)||Zd.is(i.contents)||K.typedArray(i.contents,Zd.is))&&(n.range===void 0||Bt.is(n.range))}e.is=t})(qx||(qx={}));var Gx;(function(e){function t(n,i){return i?{label:n,documentation:i}:{label:n}}e.create=t})(Gx||(Gx={}));var Yx;(function(e){function t(n,i,...r){let o={label:n};return K.defined(i)&&(o.documentation=i),K.defined(r)?o.parameters=r:o.parameters=[],o}e.create=t})(Yx||(Yx={}));var Qx;(function(e){e.Text=1,e.Read=2,e.Write=3})(Qx||(Qx={}));var Xx;(function(e){function t(n,i){let r={range:n};return K.number(i)&&(r.kind=i),r}e.create=t})(Xx||(Xx={}));var Zx;(function(e){e.File=1,e.Module=2,e.Namespace=3,e.Package=4,e.Class=5,e.Method=6,e.Property=7,e.Field=8,e.Constructor=9,e.Enum=10,e.Interface=11,e.Function=12,e.Variable=13,e.Constant=14,e.String=15,e.Number=16,e.Boolean=17,e.Array=18,e.Object=19,e.Key=20,e.Null=21,e.EnumMember=22,e.Struct=23,e.Event=24,e.Operator=25,e.TypeParameter=26})(Zx||(Zx={}));var Wx;(function(e){e.Deprecated=1})(Wx||(Wx={}));var Kx;(function(e){function t(n,i,r,o,a){let c={name:n,kind:i,location:{uri:o,range:r}};return a&&(c.containerName=a),c}e.create=t})(Kx||(Kx={}));var Jx;(function(e){function t(n,i,r,o){return o!==void 0?{name:n,kind:i,location:{uri:r,range:o}}:{name:n,kind:i,location:{uri:r}}}e.create=t})(Jx||(Jx={}));var eE;(function(e){function t(i,r,o,a,c,f){let h={name:i,detail:r,kind:o,range:a,selectionRange:c};return f!==void 0&&(h.children=f),h}e.create=t;function n(i){let r=i;return r&&K.string(r.name)&&K.number(r.kind)&&Bt.is(r.range)&&Bt.is(r.selectionRange)&&(r.detail===void 0||K.string(r.detail))&&(r.deprecated===void 0||K.boolean(r.deprecated))&&(r.children===void 0||Array.isArray(r.children))&&(r.tags===void 0||Array.isArray(r.tags))}e.is=n})(eE||(eE={}));var tE;(function(e){e.Empty="",e.QuickFix="quickfix",e.Refactor="refactor",e.RefactorExtract="refactor.extract",e.RefactorInline="refactor.inline",e.RefactorRewrite="refactor.rewrite",e.Source="source",e.SourceOrganizeImports="source.organizeImports",e.SourceFixAll="source.fixAll"})(tE||(tE={}));var Wd;(function(e){e.Invoked=1,e.Automatic=2})(Wd||(Wd={}));var nE;(function(e){function t(i,r,o){let a={diagnostics:i};return r!=null&&(a.only=r),o!=null&&(a.triggerKind=o),a}e.create=t;function n(i){let r=i;return K.defined(r)&&K.typedArray(r.diagnostics,Xd.is)&&(r.only===void 0||K.typedArray(r.only,K.string))&&(r.triggerKind===void 0||r.triggerKind===Wd.Invoked||r.triggerKind===Wd.Automatic)}e.is=n})(nE||(nE={}));var iE;(function(e){function t(i,r,o){let a={title:i},c=!0;return typeof r=="string"?(c=!1,a.kind=r):ma.is(r)?a.command=r:a.edit=r,c&&o!==void 0&&(a.kind=o),a}e.create=t;function n(i){let r=i;return r&&K.string(r.title)&&(r.diagnostics===void 0||K.typedArray(r.diagnostics,Xd.is))&&(r.kind===void 0||K.string(r.kind))&&(r.edit!==void 0||r.command!==void 0)&&(r.command===void 0||ma.is(r.command))&&(r.isPreferred===void 0||K.boolean(r.isPreferred))&&(r.edit===void 0||Fm.is(r.edit))}e.is=n})(iE||(iE={}));var rE;(function(e){function t(i,r){let o={range:i};return K.defined(r)&&(o.data=r),o}e.create=t;function n(i){let r=i;return K.defined(r)&&Bt.is(r.range)&&(K.undefined(r.command)||ma.is(r.command))}e.is=n})(rE||(rE={}));var uE;(function(e){function t(i,r){return{tabSize:i,insertSpaces:r}}e.create=t;function n(i){let r=i;return K.defined(r)&&K.uinteger(r.tabSize)&&K.boolean(r.insertSpaces)}e.is=n})(uE||(uE={}));var oE;(function(e){function t(i,r,o){return{range:i,target:r,data:o}}e.create=t;function n(i){let r=i;return K.defined(r)&&Bt.is(r.range)&&(K.undefined(r.target)||K.string(r.target))}e.is=n})(oE||(oE={}));var sE;(function(e){function t(i,r){return{range:i,parent:r}}e.create=t;function n(i){let r=i;return K.objectLiteral(r)&&Bt.is(r.range)&&(r.parent===void 0||e.is(r.parent))}e.is=n})(sE||(sE={}));var aE;(function(e){e.namespace="namespace",e.type="type",e.class="class",e.enum="enum",e.interface="interface",e.struct="struct",e.typeParameter="typeParameter",e.parameter="parameter",e.variable="variable",e.property="property",e.enumMember="enumMember",e.event="event",e.function="function",e.method="method",e.macro="macro",e.keyword="keyword",e.modifier="modifier",e.comment="comment",e.string="string",e.number="number",e.regexp="regexp",e.operator="operator",e.decorator="decorator"})(aE||(aE={}));var lE;(function(e){e.declaration="declaration",e.definition="definition",e.readonly="readonly",e.static="static",e.deprecated="deprecated",e.abstract="abstract",e.async="async",e.modification="modification",e.documentation="documentation",e.defaultLibrary="defaultLibrary"})(lE||(lE={}));var cE;(function(e){function t(n){const i=n;return K.objectLiteral(i)&&(i.resultId===void 0||typeof i.resultId=="string")&&Array.isArray(i.data)&&(i.data.length===0||typeof i.data[0]=="number")}e.is=t})(cE||(cE={}));var fE;(function(e){function t(i,r){return{range:i,text:r}}e.create=t;function n(i){const r=i;return r!=null&&Bt.is(r.range)&&K.string(r.text)}e.is=n})(fE||(fE={}));var dE;(function(e){function t(i,r,o){return{range:i,variableName:r,caseSensitiveLookup:o}}e.create=t;function n(i){const r=i;return r!=null&&Bt.is(r.range)&&K.boolean(r.caseSensitiveLookup)&&(K.string(r.variableName)||r.variableName===void 0)}e.is=n})(dE||(dE={}));var hE;(function(e){function t(i,r){return{range:i,expression:r}}e.create=t;function n(i){const r=i;return r!=null&&Bt.is(r.range)&&(K.string(r.expression)||r.expression===void 0)}e.is=n})(hE||(hE={}));var pE;(function(e){function t(i,r){return{frameId:i,stoppedLocation:r}}e.create=t;function n(i){const r=i;return K.defined(r)&&Bt.is(i.stoppedLocation)}e.is=n})(pE||(pE={}));var Vm;(function(e){e.Type=1,e.Parameter=2;function t(n){return n===1||n===2}e.is=t})(Vm||(Vm={}));var Bm;(function(e){function t(i){return{value:i}}e.create=t;function n(i){const r=i;return K.objectLiteral(r)&&(r.tooltip===void 0||K.string(r.tooltip)||hc.is(r.tooltip))&&(r.location===void 0||Qd.is(r.location))&&(r.command===void 0||ma.is(r.command))}e.is=n})(Bm||(Bm={}));var mE;(function(e){function t(i,r,o){const a={position:i,label:r};return o!==void 0&&(a.kind=o),a}e.create=t;function n(i){const r=i;return K.objectLiteral(r)&&Hi.is(r.position)&&(K.string(r.label)||K.typedArray(r.label,Bm.is))&&(r.kind===void 0||Vm.is(r.kind))&&r.textEdits===void 0||K.typedArray(r.textEdits,ga.is)&&(r.tooltip===void 0||K.string(r.tooltip)||hc.is(r.tooltip))&&(r.paddingLeft===void 0||K.boolean(r.paddingLeft))&&(r.paddingRight===void 0||K.boolean(r.paddingRight))}e.is=n})(mE||(mE={}));var gE;(function(e){function t(n){return{kind:"snippet",value:n}}e.createSnippet=t})(gE||(gE={}));var vE;(function(e){function t(n,i,r,o){return{insertText:n,filterText:i,range:r,command:o}}e.create=t})(vE||(vE={}));var yE;(function(e){function t(n){return{items:n}}e.create=t})(yE||(yE={}));var bE;(function(e){e.Invoked=0,e.Automatic=1})(bE||(bE={}));var xE;(function(e){function t(n,i){return{range:n,text:i}}e.create=t})(xE||(xE={}));var EE;(function(e){function t(n,i){return{triggerKind:n,selectedCompletionInfo:i}}e.create=t})(EE||(EE={}));var TE;(function(e){function t(n){const i=n;return K.objectLiteral(i)&&Dm.is(i.uri)&&K.string(i.name)}e.is=t})(TE||(TE={}));var SE;(function(e){function t(o,a,c,f){return new bN(o,a,c,f)}e.create=t;function n(o){let a=o;return!!(K.defined(a)&&K.string(a.uri)&&(K.undefined(a.languageId)||K.string(a.languageId))&&K.uinteger(a.lineCount)&&K.func(a.getText)&&K.func(a.positionAt)&&K.func(a.offsetAt))}e.is=n;function i(o,a){let c=o.getText(),f=r(a,(p,g)=>{let y=p.range.start.line-g.range.start.line;return y===0?p.range.start.character-g.range.start.character:y}),h=c.length;for(let p=f.length-1;p>=0;p--){let g=f[p],y=o.offsetAt(g.range.start),v=o.offsetAt(g.range.end);if(v<=h)c=c.substring(0,y)+g.newText+c.substring(v,c.length);else throw new Error("Overlapping edit");h=y}return c}e.applyEdits=i;function r(o,a){if(o.length<=1)return o;const c=o.length/2|0,f=o.slice(0,c),h=o.slice(c);r(f,a),r(h,a);let p=0,g=0,y=0;for(;p<f.length&&g<h.length;)a(f[p],h[g])<=0?o[y++]=f[p++]:o[y++]=h[g++];for(;p<f.length;)o[y++]=f[p++];for(;g<h.length;)o[y++]=h[g++];return o}})(SE||(SE={}));class bN{constructor(t,n,i,r){this._uri=t,this._languageId=n,this._version=i,this._content=r,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(t){if(t){let n=this.offsetAt(t.start),i=this.offsetAt(t.end);return this._content.substring(n,i)}return this._content}update(t,n){this._content=t.text,this._version=n,this._lineOffsets=void 0}getLineOffsets(){if(this._lineOffsets===void 0){let t=[],n=this._content,i=!0;for(let r=0;r<n.length;r++){i&&(t.push(r),i=!1);let o=n.charAt(r);i=o==="\r"||o===`
|
|
234
|
+
`)}`};var Cx;(function(e){function t(n){return typeof n=="string"}e.is=t})(Cx||(Cx={}));var Nm;(function(e){function t(n){return typeof n=="string"}e.is=t})(Nm||(Nm={}));var Ax;(function(e){e.MIN_VALUE=-2147483648,e.MAX_VALUE=2147483647;function t(n){return typeof n=="number"&&e.MIN_VALUE<=n&&n<=e.MAX_VALUE}e.is=t})(Ax||(Ax={}));var Yd;(function(e){e.MIN_VALUE=0,e.MAX_VALUE=2147483647;function t(n){return typeof n=="number"&&e.MIN_VALUE<=n&&n<=e.MAX_VALUE}e.is=t})(Yd||(Yd={}));var Hi;(function(e){function t(i,r){return i===Number.MAX_VALUE&&(i=Yd.MAX_VALUE),r===Number.MAX_VALUE&&(r=Yd.MAX_VALUE),{line:i,character:r}}e.create=t;function n(i){let r=i;return K.objectLiteral(r)&&K.uinteger(r.line)&&K.uinteger(r.character)}e.is=n})(Hi||(Hi={}));var Bt;(function(e){function t(i,r,o,a){if(K.uinteger(i)&&K.uinteger(r)&&K.uinteger(o)&&K.uinteger(a))return{start:Hi.create(i,r),end:Hi.create(o,a)};if(Hi.is(i)&&Hi.is(r))return{start:i,end:r};throw new Error(`Range#create called with invalid arguments[${i}, ${r}, ${o}, ${a}]`)}e.create=t;function n(i){let r=i;return K.objectLiteral(r)&&Hi.is(r.start)&&Hi.is(r.end)}e.is=n})(Bt||(Bt={}));var Qd;(function(e){function t(i,r){return{uri:i,range:r}}e.create=t;function n(i){let r=i;return K.objectLiteral(r)&&Bt.is(r.range)&&(K.string(r.uri)||K.undefined(r.uri))}e.is=n})(Qd||(Qd={}));var wx;(function(e){function t(i,r,o,a){return{targetUri:i,targetRange:r,targetSelectionRange:o,originSelectionRange:a}}e.create=t;function n(i){let r=i;return K.objectLiteral(r)&&Bt.is(r.targetRange)&&K.string(r.targetUri)&&Bt.is(r.targetSelectionRange)&&(Bt.is(r.originSelectionRange)||K.undefined(r.originSelectionRange))}e.is=n})(wx||(wx={}));var Om;(function(e){function t(i,r,o,a){return{red:i,green:r,blue:o,alpha:a}}e.create=t;function n(i){const r=i;return K.objectLiteral(r)&&K.numberRange(r.red,0,1)&&K.numberRange(r.green,0,1)&&K.numberRange(r.blue,0,1)&&K.numberRange(r.alpha,0,1)}e.is=n})(Om||(Om={}));var Dx;(function(e){function t(i,r){return{range:i,color:r}}e.create=t;function n(i){const r=i;return K.objectLiteral(r)&&Bt.is(r.range)&&Om.is(r.color)}e.is=n})(Dx||(Dx={}));var Nx;(function(e){function t(i,r,o){return{label:i,textEdit:r,additionalTextEdits:o}}e.create=t;function n(i){const r=i;return K.objectLiteral(r)&&K.string(r.label)&&(K.undefined(r.textEdit)||ga.is(r))&&(K.undefined(r.additionalTextEdits)||K.typedArray(r.additionalTextEdits,ga.is))}e.is=n})(Nx||(Nx={}));var Ox;(function(e){e.Comment="comment",e.Imports="imports",e.Region="region"})(Ox||(Ox={}));var Rx;(function(e){function t(i,r,o,a,c,f){const h={startLine:i,endLine:r};return K.defined(o)&&(h.startCharacter=o),K.defined(a)&&(h.endCharacter=a),K.defined(c)&&(h.kind=c),K.defined(f)&&(h.collapsedText=f),h}e.create=t;function n(i){const r=i;return K.objectLiteral(r)&&K.uinteger(r.startLine)&&K.uinteger(r.startLine)&&(K.undefined(r.startCharacter)||K.uinteger(r.startCharacter))&&(K.undefined(r.endCharacter)||K.uinteger(r.endCharacter))&&(K.undefined(r.kind)||K.string(r.kind))}e.is=n})(Rx||(Rx={}));var Rm;(function(e){function t(i,r){return{location:i,message:r}}e.create=t;function n(i){let r=i;return K.defined(r)&&Qd.is(r.location)&&K.string(r.message)}e.is=n})(Rm||(Rm={}));var Mx;(function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4})(Mx||(Mx={}));var kx;(function(e){e.Unnecessary=1,e.Deprecated=2})(kx||(kx={}));var Lx;(function(e){function t(n){const i=n;return K.objectLiteral(i)&&K.string(i.href)}e.is=t})(Lx||(Lx={}));var Xd;(function(e){function t(i,r,o,a,c,f){let h={range:i,message:r};return K.defined(o)&&(h.severity=o),K.defined(a)&&(h.code=a),K.defined(c)&&(h.source=c),K.defined(f)&&(h.relatedInformation=f),h}e.create=t;function n(i){var r;let o=i;return K.defined(o)&&Bt.is(o.range)&&K.string(o.message)&&(K.number(o.severity)||K.undefined(o.severity))&&(K.integer(o.code)||K.string(o.code)||K.undefined(o.code))&&(K.undefined(o.codeDescription)||K.string((r=o.codeDescription)===null||r===void 0?void 0:r.href))&&(K.string(o.source)||K.undefined(o.source))&&(K.undefined(o.relatedInformation)||K.typedArray(o.relatedInformation,Rm.is))}e.is=n})(Xd||(Xd={}));var ma;(function(e){function t(i,r,...o){let a={title:i,command:r};return K.defined(o)&&o.length>0&&(a.arguments=o),a}e.create=t;function n(i){let r=i;return K.defined(r)&&K.string(r.title)&&K.string(r.command)}e.is=n})(ma||(ma={}));var ga;(function(e){function t(o,a){return{range:o,newText:a}}e.replace=t;function n(o,a){return{range:{start:o,end:o},newText:a}}e.insert=n;function i(o){return{range:o,newText:""}}e.del=i;function r(o){const a=o;return K.objectLiteral(a)&&K.string(a.newText)&&Bt.is(a.range)}e.is=r})(ga||(ga={}));var Mm;(function(e){function t(i,r,o){const a={label:i};return r!==void 0&&(a.needsConfirmation=r),o!==void 0&&(a.description=o),a}e.create=t;function n(i){const r=i;return K.objectLiteral(r)&&K.string(r.label)&&(K.boolean(r.needsConfirmation)||r.needsConfirmation===void 0)&&(K.string(r.description)||r.description===void 0)}e.is=n})(Mm||(Mm={}));var va;(function(e){function t(n){const i=n;return K.string(i)}e.is=t})(va||(va={}));var Ix;(function(e){function t(o,a,c){return{range:o,newText:a,annotationId:c}}e.replace=t;function n(o,a,c){return{range:{start:o,end:o},newText:a,annotationId:c}}e.insert=n;function i(o,a){return{range:o,newText:"",annotationId:a}}e.del=i;function r(o){const a=o;return ga.is(a)&&(Mm.is(a.annotationId)||va.is(a.annotationId))}e.is=r})(Ix||(Ix={}));var km;(function(e){function t(i,r){return{textDocument:i,edits:r}}e.create=t;function n(i){let r=i;return K.defined(r)&&Pm.is(r.textDocument)&&Array.isArray(r.edits)}e.is=n})(km||(km={}));var Lm;(function(e){function t(i,r,o){let a={kind:"create",uri:i};return r!==void 0&&(r.overwrite!==void 0||r.ignoreIfExists!==void 0)&&(a.options=r),o!==void 0&&(a.annotationId=o),a}e.create=t;function n(i){let r=i;return r&&r.kind==="create"&&K.string(r.uri)&&(r.options===void 0||(r.options.overwrite===void 0||K.boolean(r.options.overwrite))&&(r.options.ignoreIfExists===void 0||K.boolean(r.options.ignoreIfExists)))&&(r.annotationId===void 0||va.is(r.annotationId))}e.is=n})(Lm||(Lm={}));var Im;(function(e){function t(i,r,o,a){let c={kind:"rename",oldUri:i,newUri:r};return o!==void 0&&(o.overwrite!==void 0||o.ignoreIfExists!==void 0)&&(c.options=o),a!==void 0&&(c.annotationId=a),c}e.create=t;function n(i){let r=i;return r&&r.kind==="rename"&&K.string(r.oldUri)&&K.string(r.newUri)&&(r.options===void 0||(r.options.overwrite===void 0||K.boolean(r.options.overwrite))&&(r.options.ignoreIfExists===void 0||K.boolean(r.options.ignoreIfExists)))&&(r.annotationId===void 0||va.is(r.annotationId))}e.is=n})(Im||(Im={}));var Fm;(function(e){function t(i,r,o){let a={kind:"delete",uri:i};return r!==void 0&&(r.recursive!==void 0||r.ignoreIfNotExists!==void 0)&&(a.options=r),o!==void 0&&(a.annotationId=o),a}e.create=t;function n(i){let r=i;return r&&r.kind==="delete"&&K.string(r.uri)&&(r.options===void 0||(r.options.recursive===void 0||K.boolean(r.options.recursive))&&(r.options.ignoreIfNotExists===void 0||K.boolean(r.options.ignoreIfNotExists)))&&(r.annotationId===void 0||va.is(r.annotationId))}e.is=n})(Fm||(Fm={}));var jm;(function(e){function t(n){let i=n;return i&&(i.changes!==void 0||i.documentChanges!==void 0)&&(i.documentChanges===void 0||i.documentChanges.every(r=>K.string(r.kind)?Lm.is(r)||Im.is(r)||Fm.is(r):km.is(r)))}e.is=t})(jm||(jm={}));var Fx;(function(e){function t(i){return{uri:i}}e.create=t;function n(i){let r=i;return K.defined(r)&&K.string(r.uri)}e.is=n})(Fx||(Fx={}));var jx;(function(e){function t(i,r){return{uri:i,version:r}}e.create=t;function n(i){let r=i;return K.defined(r)&&K.string(r.uri)&&K.integer(r.version)}e.is=n})(jx||(jx={}));var Pm;(function(e){function t(i,r){return{uri:i,version:r}}e.create=t;function n(i){let r=i;return K.defined(r)&&K.string(r.uri)&&(r.version===null||K.integer(r.version))}e.is=n})(Pm||(Pm={}));var Px;(function(e){function t(i,r,o,a){return{uri:i,languageId:r,version:o,text:a}}e.create=t;function n(i){let r=i;return K.defined(r)&&K.string(r.uri)&&K.string(r.languageId)&&K.integer(r.version)&&K.string(r.text)}e.is=n})(Px||(Px={}));var Vm;(function(e){e.PlainText="plaintext",e.Markdown="markdown";function t(n){const i=n;return i===e.PlainText||i===e.Markdown}e.is=t})(Vm||(Vm={}));var hc;(function(e){function t(n){const i=n;return K.objectLiteral(n)&&Vm.is(i.kind)&&K.string(i.value)}e.is=t})(hc||(hc={}));var Vx;(function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25})(Vx||(Vx={}));var ca;(function(e){e.PlainText=1,e.Snippet=2})(ca||(ca={}));var Bx;(function(e){e.Deprecated=1})(Bx||(Bx={}));var $x;(function(e){function t(i,r,o){return{newText:i,insert:r,replace:o}}e.create=t;function n(i){const r=i;return r&&K.string(r.newText)&&Bt.is(r.insert)&&Bt.is(r.replace)}e.is=n})($x||($x={}));var Io;(function(e){e.asIs=1,e.adjustIndentation=2})(Io||(Io={}));var Ux;(function(e){function t(n){const i=n;return i&&(K.string(i.detail)||i.detail===void 0)&&(K.string(i.description)||i.description===void 0)}e.is=t})(Ux||(Ux={}));var zx;(function(e){function t(n){return{label:n}}e.create=t})(zx||(zx={}));var Hx;(function(e){function t(n,i){return{items:n||[],isIncomplete:!!i}}e.create=t})(Hx||(Hx={}));var Zd;(function(e){function t(i){return i.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}e.fromPlainText=t;function n(i){const r=i;return K.string(r)||K.objectLiteral(r)&&K.string(r.language)&&K.string(r.value)}e.is=n})(Zd||(Zd={}));var qx;(function(e){function t(n){let i=n;return!!i&&K.objectLiteral(i)&&(hc.is(i.contents)||Zd.is(i.contents)||K.typedArray(i.contents,Zd.is))&&(n.range===void 0||Bt.is(n.range))}e.is=t})(qx||(qx={}));var Gx;(function(e){function t(n,i){return i?{label:n,documentation:i}:{label:n}}e.create=t})(Gx||(Gx={}));var Yx;(function(e){function t(n,i,...r){let o={label:n};return K.defined(i)&&(o.documentation=i),K.defined(r)?o.parameters=r:o.parameters=[],o}e.create=t})(Yx||(Yx={}));var Qx;(function(e){e.Text=1,e.Read=2,e.Write=3})(Qx||(Qx={}));var Xx;(function(e){function t(n,i){let r={range:n};return K.number(i)&&(r.kind=i),r}e.create=t})(Xx||(Xx={}));var Zx;(function(e){e.File=1,e.Module=2,e.Namespace=3,e.Package=4,e.Class=5,e.Method=6,e.Property=7,e.Field=8,e.Constructor=9,e.Enum=10,e.Interface=11,e.Function=12,e.Variable=13,e.Constant=14,e.String=15,e.Number=16,e.Boolean=17,e.Array=18,e.Object=19,e.Key=20,e.Null=21,e.EnumMember=22,e.Struct=23,e.Event=24,e.Operator=25,e.TypeParameter=26})(Zx||(Zx={}));var Wx;(function(e){e.Deprecated=1})(Wx||(Wx={}));var Kx;(function(e){function t(n,i,r,o,a){let c={name:n,kind:i,location:{uri:o,range:r}};return a&&(c.containerName=a),c}e.create=t})(Kx||(Kx={}));var Jx;(function(e){function t(n,i,r,o){return o!==void 0?{name:n,kind:i,location:{uri:r,range:o}}:{name:n,kind:i,location:{uri:r}}}e.create=t})(Jx||(Jx={}));var eE;(function(e){function t(i,r,o,a,c,f){let h={name:i,detail:r,kind:o,range:a,selectionRange:c};return f!==void 0&&(h.children=f),h}e.create=t;function n(i){let r=i;return r&&K.string(r.name)&&K.number(r.kind)&&Bt.is(r.range)&&Bt.is(r.selectionRange)&&(r.detail===void 0||K.string(r.detail))&&(r.deprecated===void 0||K.boolean(r.deprecated))&&(r.children===void 0||Array.isArray(r.children))&&(r.tags===void 0||Array.isArray(r.tags))}e.is=n})(eE||(eE={}));var tE;(function(e){e.Empty="",e.QuickFix="quickfix",e.Refactor="refactor",e.RefactorExtract="refactor.extract",e.RefactorInline="refactor.inline",e.RefactorRewrite="refactor.rewrite",e.Source="source",e.SourceOrganizeImports="source.organizeImports",e.SourceFixAll="source.fixAll"})(tE||(tE={}));var Wd;(function(e){e.Invoked=1,e.Automatic=2})(Wd||(Wd={}));var nE;(function(e){function t(i,r,o){let a={diagnostics:i};return r!=null&&(a.only=r),o!=null&&(a.triggerKind=o),a}e.create=t;function n(i){let r=i;return K.defined(r)&&K.typedArray(r.diagnostics,Xd.is)&&(r.only===void 0||K.typedArray(r.only,K.string))&&(r.triggerKind===void 0||r.triggerKind===Wd.Invoked||r.triggerKind===Wd.Automatic)}e.is=n})(nE||(nE={}));var iE;(function(e){function t(i,r,o){let a={title:i},c=!0;return typeof r=="string"?(c=!1,a.kind=r):ma.is(r)?a.command=r:a.edit=r,c&&o!==void 0&&(a.kind=o),a}e.create=t;function n(i){let r=i;return r&&K.string(r.title)&&(r.diagnostics===void 0||K.typedArray(r.diagnostics,Xd.is))&&(r.kind===void 0||K.string(r.kind))&&(r.edit!==void 0||r.command!==void 0)&&(r.command===void 0||ma.is(r.command))&&(r.isPreferred===void 0||K.boolean(r.isPreferred))&&(r.edit===void 0||jm.is(r.edit))}e.is=n})(iE||(iE={}));var rE;(function(e){function t(i,r){let o={range:i};return K.defined(r)&&(o.data=r),o}e.create=t;function n(i){let r=i;return K.defined(r)&&Bt.is(r.range)&&(K.undefined(r.command)||ma.is(r.command))}e.is=n})(rE||(rE={}));var uE;(function(e){function t(i,r){return{tabSize:i,insertSpaces:r}}e.create=t;function n(i){let r=i;return K.defined(r)&&K.uinteger(r.tabSize)&&K.boolean(r.insertSpaces)}e.is=n})(uE||(uE={}));var oE;(function(e){function t(i,r,o){return{range:i,target:r,data:o}}e.create=t;function n(i){let r=i;return K.defined(r)&&Bt.is(r.range)&&(K.undefined(r.target)||K.string(r.target))}e.is=n})(oE||(oE={}));var sE;(function(e){function t(i,r){return{range:i,parent:r}}e.create=t;function n(i){let r=i;return K.objectLiteral(r)&&Bt.is(r.range)&&(r.parent===void 0||e.is(r.parent))}e.is=n})(sE||(sE={}));var aE;(function(e){e.namespace="namespace",e.type="type",e.class="class",e.enum="enum",e.interface="interface",e.struct="struct",e.typeParameter="typeParameter",e.parameter="parameter",e.variable="variable",e.property="property",e.enumMember="enumMember",e.event="event",e.function="function",e.method="method",e.macro="macro",e.keyword="keyword",e.modifier="modifier",e.comment="comment",e.string="string",e.number="number",e.regexp="regexp",e.operator="operator",e.decorator="decorator"})(aE||(aE={}));var lE;(function(e){e.declaration="declaration",e.definition="definition",e.readonly="readonly",e.static="static",e.deprecated="deprecated",e.abstract="abstract",e.async="async",e.modification="modification",e.documentation="documentation",e.defaultLibrary="defaultLibrary"})(lE||(lE={}));var cE;(function(e){function t(n){const i=n;return K.objectLiteral(i)&&(i.resultId===void 0||typeof i.resultId=="string")&&Array.isArray(i.data)&&(i.data.length===0||typeof i.data[0]=="number")}e.is=t})(cE||(cE={}));var fE;(function(e){function t(i,r){return{range:i,text:r}}e.create=t;function n(i){const r=i;return r!=null&&Bt.is(r.range)&&K.string(r.text)}e.is=n})(fE||(fE={}));var dE;(function(e){function t(i,r,o){return{range:i,variableName:r,caseSensitiveLookup:o}}e.create=t;function n(i){const r=i;return r!=null&&Bt.is(r.range)&&K.boolean(r.caseSensitiveLookup)&&(K.string(r.variableName)||r.variableName===void 0)}e.is=n})(dE||(dE={}));var hE;(function(e){function t(i,r){return{range:i,expression:r}}e.create=t;function n(i){const r=i;return r!=null&&Bt.is(r.range)&&(K.string(r.expression)||r.expression===void 0)}e.is=n})(hE||(hE={}));var pE;(function(e){function t(i,r){return{frameId:i,stoppedLocation:r}}e.create=t;function n(i){const r=i;return K.defined(r)&&Bt.is(i.stoppedLocation)}e.is=n})(pE||(pE={}));var Bm;(function(e){e.Type=1,e.Parameter=2;function t(n){return n===1||n===2}e.is=t})(Bm||(Bm={}));var $m;(function(e){function t(i){return{value:i}}e.create=t;function n(i){const r=i;return K.objectLiteral(r)&&(r.tooltip===void 0||K.string(r.tooltip)||hc.is(r.tooltip))&&(r.location===void 0||Qd.is(r.location))&&(r.command===void 0||ma.is(r.command))}e.is=n})($m||($m={}));var mE;(function(e){function t(i,r,o){const a={position:i,label:r};return o!==void 0&&(a.kind=o),a}e.create=t;function n(i){const r=i;return K.objectLiteral(r)&&Hi.is(r.position)&&(K.string(r.label)||K.typedArray(r.label,$m.is))&&(r.kind===void 0||Bm.is(r.kind))&&r.textEdits===void 0||K.typedArray(r.textEdits,ga.is)&&(r.tooltip===void 0||K.string(r.tooltip)||hc.is(r.tooltip))&&(r.paddingLeft===void 0||K.boolean(r.paddingLeft))&&(r.paddingRight===void 0||K.boolean(r.paddingRight))}e.is=n})(mE||(mE={}));var gE;(function(e){function t(n){return{kind:"snippet",value:n}}e.createSnippet=t})(gE||(gE={}));var vE;(function(e){function t(n,i,r,o){return{insertText:n,filterText:i,range:r,command:o}}e.create=t})(vE||(vE={}));var yE;(function(e){function t(n){return{items:n}}e.create=t})(yE||(yE={}));var bE;(function(e){e.Invoked=0,e.Automatic=1})(bE||(bE={}));var xE;(function(e){function t(n,i){return{range:n,text:i}}e.create=t})(xE||(xE={}));var EE;(function(e){function t(n,i){return{triggerKind:n,selectedCompletionInfo:i}}e.create=t})(EE||(EE={}));var TE;(function(e){function t(n){const i=n;return K.objectLiteral(i)&&Nm.is(i.uri)&&K.string(i.name)}e.is=t})(TE||(TE={}));var SE;(function(e){function t(o,a,c,f){return new bN(o,a,c,f)}e.create=t;function n(o){let a=o;return!!(K.defined(a)&&K.string(a.uri)&&(K.undefined(a.languageId)||K.string(a.languageId))&&K.uinteger(a.lineCount)&&K.func(a.getText)&&K.func(a.positionAt)&&K.func(a.offsetAt))}e.is=n;function i(o,a){let c=o.getText(),f=r(a,(p,g)=>{let y=p.range.start.line-g.range.start.line;return y===0?p.range.start.character-g.range.start.character:y}),h=c.length;for(let p=f.length-1;p>=0;p--){let g=f[p],y=o.offsetAt(g.range.start),v=o.offsetAt(g.range.end);if(v<=h)c=c.substring(0,y)+g.newText+c.substring(v,c.length);else throw new Error("Overlapping edit");h=y}return c}e.applyEdits=i;function r(o,a){if(o.length<=1)return o;const c=o.length/2|0,f=o.slice(0,c),h=o.slice(c);r(f,a),r(h,a);let p=0,g=0,y=0;for(;p<f.length&&g<h.length;)a(f[p],h[g])<=0?o[y++]=f[p++]:o[y++]=h[g++];for(;p<f.length;)o[y++]=f[p++];for(;g<h.length;)o[y++]=h[g++];return o}})(SE||(SE={}));class bN{constructor(t,n,i,r){this._uri=t,this._languageId=n,this._version=i,this._content=r,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(t){if(t){let n=this.offsetAt(t.start),i=this.offsetAt(t.end);return this._content.substring(n,i)}return this._content}update(t,n){this._content=t.text,this._version=n,this._lineOffsets=void 0}getLineOffsets(){if(this._lineOffsets===void 0){let t=[],n=this._content,i=!0;for(let r=0;r<n.length;r++){i&&(t.push(r),i=!1);let o=n.charAt(r);i=o==="\r"||o===`
|
|
235
235
|
`,o==="\r"&&r+1<n.length&&n.charAt(r+1)===`
|
|
236
|
-
`&&r++}i&&n.length>0&&t.push(n.length),this._lineOffsets=t}return this._lineOffsets}positionAt(t){t=Math.max(Math.min(t,this._content.length),0);let n=this.getLineOffsets(),i=0,r=n.length;if(r===0)return Hi.create(0,t);for(;i<r;){let a=Math.floor((i+r)/2);n[a]>t?r=a:i=a+1}let o=i-1;return Hi.create(o,t-n[o])}offsetAt(t){let n=this.getLineOffsets();if(t.line>=n.length)return this._content.length;if(t.line<0)return 0;let i=n[t.line],r=t.line+1<n.length?n[t.line+1]:this._content.length;return Math.max(Math.min(i+t.character,r),i)}get lineCount(){return this.getLineOffsets().length}}var K;(function(e){const t=Object.prototype.toString;function n(v){return typeof v<"u"}e.defined=n;function i(v){return typeof v>"u"}e.undefined=i;function r(v){return v===!0||v===!1}e.boolean=r;function o(v){return t.call(v)==="[object String]"}e.string=o;function a(v){return t.call(v)==="[object Number]"}e.number=a;function c(v,E,T){return t.call(v)==="[object Number]"&&E<=v&&v<=T}e.numberRange=c;function f(v){return t.call(v)==="[object Number]"&&-2147483648<=v&&v<=2147483647}e.integer=f;function h(v){return t.call(v)==="[object Number]"&&0<=v&&v<=2147483647}e.uinteger=h;function p(v){return t.call(v)==="[object Function]"}e.func=p;function g(v){return v!==null&&typeof v=="object"}e.objectLiteral=g;function y(v,E){return Array.isArray(v)&&v.every(E)}e.typedArray=y})(K||(K={}));class _E{constructor(t){this._start=0,this._pos=0,this.getStartOfToken=()=>this._start,this.getCurrentPosition=()=>this._pos,this.eol=()=>this._sourceText.length===this._pos,this.sol=()=>this._pos===0,this.peek=()=>this._sourceText.charAt(this._pos)||null,this.next=()=>{const n=this._sourceText.charAt(this._pos);return this._pos++,n},this.eat=n=>{if(this._testNextCharacter(n))return this._start=this._pos,this._pos++,this._sourceText.charAt(this._pos-1)},this.eatWhile=n=>{let i=this._testNextCharacter(n),r=!1;for(i&&(r=i,this._start=this._pos);i;)this._pos++,i=this._testNextCharacter(n),r=!0;return r},this.eatSpace=()=>this.eatWhile(/[\s\u00a0]/),this.skipToEnd=()=>{this._pos=this._sourceText.length},this.skipTo=n=>{this._pos=n},this.match=(n,i=!0,r=!1)=>{let o=null,a=null;return typeof n=="string"?(a=new RegExp(n,r?"i":"g").test(this._sourceText.slice(this._pos,this._pos+n.length)),o=n):n instanceof RegExp&&(a=this._sourceText.slice(this._pos).match(n),o=a==null?void 0:a[0]),a!=null&&(typeof n=="string"||a instanceof Array&&this._sourceText.startsWith(a[0],this._pos))?(i&&(this._start=this._pos,o&&o.length&&(this._pos+=o.length)),a):!1},this.backUp=n=>{this._pos-=n},this.column=()=>this._pos,this.indentation=()=>{const n=this._sourceText.match(/\s*/);let i=0;if(n&&n.length!==0){const r=n[0];let o=0;for(;r.length>o;)r.charCodeAt(o)===9?i+=2:i++,o++}return i},this.current=()=>this._sourceText.slice(this._start,this._pos),this._sourceText=t}_testNextCharacter(t){const n=this._sourceText.charAt(this._pos);let i=!1;return typeof t=="string"?i=n===t:i=t instanceof RegExp?t.test(n):t(n),i}}function Ft(e){return{ofRule:e}}function Xe(e,t){return{ofRule:e,isList:!0,separator:t}}function xN(e,t){const n=e.match;return e.match=i=>{let r=!1;return n&&(r=n(i)),r&&t.every(o=>o.match&&!o.match(i))},e}function
|
|
237
|
-
`||e==="\r"||e==="\uFEFF"||e===" ",TN={Name:/^[_A-Za-z][_0-9A-Za-z]*/,Punctuation:/^(?:!|\$|\(|\)|\.\.\.|:|=|&|@|\[|]|\{|\||\})/,Number:/^-?(?:0|(?:[1-9][0-9]*))(?:\.[0-9]*)?(?:[eE][+-]?[0-9]+)?/,String:/^(?:"""(?:\\"""|[^"]|"[^"]|""[^"])*(?:""")?|"(?:[^"\\]|\\(?:"|\/|\\|b|f|n|r|t|u[0-9a-fA-F]{4}))*"?)/,Comment:/^#.*/},SN={Document:[Xe("Definition")],Definition(e){switch(e.value){case"{":return"ShortQuery";case"query":return"Query";case"mutation":return"Mutation";case"subscription":return"Subscription";case"fragment":return W.FRAGMENT_DEFINITION;case"schema":return"SchemaDef";case"scalar":return"ScalarDef";case"type":return"ObjectTypeDef";case"interface":return"InterfaceDef";case"union":return"UnionDef";case"enum":return"EnumDef";case"input":return"InputDef";case"extend":return"ExtendDef";case"directive":return"DirectiveDef"}},ShortQuery:["SelectionSet"],Query:[mn("query"),Ft(mt("def")),Ft("VariableDefinitions"),Xe("Directive"),"SelectionSet"],Mutation:[mn("mutation"),Ft(mt("def")),Ft("VariableDefinitions"),Xe("Directive"),"SelectionSet"],Subscription:[mn("subscription"),Ft(mt("def")),Ft("VariableDefinitions"),Xe("Directive"),"SelectionSet"],VariableDefinitions:[Re("("),Xe("VariableDefinition"),Re(")")],VariableDefinition:["Variable",Re(":"),"Type",Ft("DefaultValue")],Variable:[Re("$","variable"),mt("variable")],DefaultValue:[Re("="),"Value"],SelectionSet:[Re("{"),Xe("Selection"),Re("}")],Selection(e,t){return e.value==="..."?t.match(/[\s\u00a0,]*(on\b|@|{)/,!1)?"InlineFragment":"FragmentSpread":t.match(/[\s\u00a0,]*:/,!1)?"AliasedField":"Field"},AliasedField:[mt("property"),Re(":"),mt("qualifier"),Ft("Arguments"),Xe("Directive"),Ft("SelectionSet")],Field:[mt("property"),Ft("Arguments"),Xe("Directive"),Ft("SelectionSet")],Arguments:[Re("("),Xe("Argument"),Re(")")],Argument:[mt("attribute"),Re(":"),"Value"],FragmentSpread:[Re("..."),mt("def"),Xe("Directive")],InlineFragment:[Re("..."),Ft("TypeCondition"),Xe("Directive"),"SelectionSet"],FragmentDefinition:[mn("fragment"),Ft(xN(mt("def"),[mn("on")])),"TypeCondition",Xe("Directive"),"SelectionSet"],TypeCondition:[mn("on"),"NamedType"],Value(e){switch(e.kind){case"Number":return"NumberValue";case"String":return"StringValue";case"Punctuation":switch(e.value){case"[":return"ListValue";case"{":return"ObjectValue";case"$":return"Variable";case"&":return"NamedType"}return null;case"Name":switch(e.value){case"true":case"false":return"BooleanValue"}return e.value==="null"?"NullValue":"EnumValue"}},NumberValue:[
|
|
238
|
-
`),i=CN();let r=i.startState(),o="",a=new _E("");for(let c=0;c<n.length;c++){for(a=new _E(n[c]);!a.eol()&&(o=i.token(a,r),t(a,r,o,c)!=="BREAK"););t(a,r,o,c),r.kind||(r=i.startState())}return{start:a.getStartOfToken(),end:a.getCurrentPosition(),string:a.current(),state:r,style:o}}var su;(function(e){e.TYPE_SYSTEM="TYPE_SYSTEM",e.EXECUTABLE="EXECUTABLE",e.UNKNOWN="UNKNOWN"})(su||(su={}));const NN=[W.SCHEMA_DEFINITION,W.OPERATION_TYPE_DEFINITION,W.SCALAR_TYPE_DEFINITION,W.OBJECT_TYPE_DEFINITION,W.INTERFACE_TYPE_DEFINITION,W.UNION_TYPE_DEFINITION,W.ENUM_TYPE_DEFINITION,W.INPUT_OBJECT_TYPE_DEFINITION,W.DIRECTIVE_DEFINITION,W.SCHEMA_EXTENSION,W.SCALAR_TYPE_EXTENSION,W.OBJECT_TYPE_EXTENSION,W.INTERFACE_TYPE_EXTENSION,W.UNION_TYPE_EXTENSION,W.ENUM_TYPE_EXTENSION,W.INPUT_OBJECT_TYPE_EXTENSION],ON=e=>{let t=su.UNKNOWN;if(e)try{Yi(Ko(e),{enter(n){if(n.kind==="Document"){t=su.EXECUTABLE;return}return NN.includes(n.kind)?(t=su.TYPE_SYSTEM,ta):!1}})}catch{return t}return t};function RN(e,t){return t!=null&&t.endsWith(".graphqls")?su.TYPE_SYSTEM:ON(e)}function MN(e,t,n=0){let i=null,r=null,o=null;const a=C0(e,(c,f,h,p)=>{if(!(p!==t.line||c.getCurrentPosition()+n<t.character+1))return i=h,r=Object.assign({},f),o=c.current(),"BREAK"});return{start:a.start,end:a.end,string:o||a.string,state:r||a.state,style:i||a.style}}function kN(e,t,n,i,r){const o=i||MN(e,t,1);if(!o)return null;const a=o.state.kind==="Invalid"?o.state.prevState:o.state;if(!a)return null;const c=IN(n,o.state),f=(r==null?void 0:r.mode)||RN(e,r==null?void 0:r.uri);return{token:o,state:a,typeInfo:c,mode:f}}function wE(e,t,n){return n===ac.name&&e.getQueryType()===t?ac:n===lc.name&&e.getQueryType()===t?lc:n===cc.name&&no(t)?cc:"getFields"in t?t.getFields()[n]:null}function cT(e,t){const n=[];let i=e;for(;i!=null&&i.kind;)n.push(i),i=i.prevState;for(let r=n.length-1;r>=0;r--)t(n[r])}function LN(e){let t;return cT(e,n=>{switch(n.kind){case"Query":case"ShortQuery":case"Mutation":case"Subscription":case"FragmentDefinition":t=n;break}}),t}function IN(e,t){let n,i,r,o,a,c,f,h,p,g,y;return cT(t,v=>{var E;switch(v.kind){case he.QUERY:case"ShortQuery":g=e.getQueryType();break;case he.MUTATION:g=e.getMutationType();break;case he.SUBSCRIPTION:g=e.getSubscriptionType();break;case he.INLINE_FRAGMENT:case he.FRAGMENT_DEFINITION:v.type&&(g=e.getType(v.type));break;case he.FIELD:case he.ALIASED_FIELD:{!g||!v.name?a=null:(a=p?wE(e,p,v.name):null,g=a?a.type:null);break}case he.SELECTION_SET:p=Nn(g);break;case he.DIRECTIVE:r=v.name?e.getDirective(v.name):null;break;case he.INTERFACE_DEF:v.name&&(f=null,y=new la({name:v.name,interfaces:[],fields:{}}));break;case he.OBJECT_TYPE_DEF:v.name&&(y=null,f=new wr({name:v.name,interfaces:[],fields:{}}));break;case he.ARGUMENTS:{if(v.prevState)switch(v.prevState.kind){case he.FIELD:i=a&&a.args;break;case he.DIRECTIVE:i=r&&r.args;break;case he.ALIASED_FIELD:{const C=(E=v.prevState)===null||E===void 0?void 0:E.name;if(!C){i=null;break}const N=p?wE(e,p,C):null;if(!N){i=null;break}i=N.args;break}default:i=null;break}else i=null;break}case he.ARGUMENT:if(i){for(let C=0;C<i.length;C++)if(i[C].name===v.name){n=i[C];break}}c=n==null?void 0:n.type;break;case he.VARIABLE_DEFINITION:case he.VARIABLE:g=c;break;case he.ENUM_VALUE:const T=Nn(c);o=T instanceof wa?T.getValues().find(C=>C.value===v.name):null;break;case he.LIST_VALUE:const S=j5(c);c=S instanceof Hn?S.ofType:null;break;case he.OBJECT_VALUE:const A=Nn(c);h=A instanceof
|
|
236
|
+
`&&r++}i&&n.length>0&&t.push(n.length),this._lineOffsets=t}return this._lineOffsets}positionAt(t){t=Math.max(Math.min(t,this._content.length),0);let n=this.getLineOffsets(),i=0,r=n.length;if(r===0)return Hi.create(0,t);for(;i<r;){let a=Math.floor((i+r)/2);n[a]>t?r=a:i=a+1}let o=i-1;return Hi.create(o,t-n[o])}offsetAt(t){let n=this.getLineOffsets();if(t.line>=n.length)return this._content.length;if(t.line<0)return 0;let i=n[t.line],r=t.line+1<n.length?n[t.line+1]:this._content.length;return Math.max(Math.min(i+t.character,r),i)}get lineCount(){return this.getLineOffsets().length}}var K;(function(e){const t=Object.prototype.toString;function n(v){return typeof v<"u"}e.defined=n;function i(v){return typeof v>"u"}e.undefined=i;function r(v){return v===!0||v===!1}e.boolean=r;function o(v){return t.call(v)==="[object String]"}e.string=o;function a(v){return t.call(v)==="[object Number]"}e.number=a;function c(v,E,T){return t.call(v)==="[object Number]"&&E<=v&&v<=T}e.numberRange=c;function f(v){return t.call(v)==="[object Number]"&&-2147483648<=v&&v<=2147483647}e.integer=f;function h(v){return t.call(v)==="[object Number]"&&0<=v&&v<=2147483647}e.uinteger=h;function p(v){return t.call(v)==="[object Function]"}e.func=p;function g(v){return v!==null&&typeof v=="object"}e.objectLiteral=g;function y(v,E){return Array.isArray(v)&&v.every(E)}e.typedArray=y})(K||(K={}));class _E{constructor(t){this._start=0,this._pos=0,this.getStartOfToken=()=>this._start,this.getCurrentPosition=()=>this._pos,this.eol=()=>this._sourceText.length===this._pos,this.sol=()=>this._pos===0,this.peek=()=>this._sourceText.charAt(this._pos)||null,this.next=()=>{const n=this._sourceText.charAt(this._pos);return this._pos++,n},this.eat=n=>{if(this._testNextCharacter(n))return this._start=this._pos,this._pos++,this._sourceText.charAt(this._pos-1)},this.eatWhile=n=>{let i=this._testNextCharacter(n),r=!1;for(i&&(r=i,this._start=this._pos);i;)this._pos++,i=this._testNextCharacter(n),r=!0;return r},this.eatSpace=()=>this.eatWhile(/[\s\u00a0]/),this.skipToEnd=()=>{this._pos=this._sourceText.length},this.skipTo=n=>{this._pos=n},this.match=(n,i=!0,r=!1)=>{let o=null,a=null;return typeof n=="string"?(a=new RegExp(n,r?"i":"g").test(this._sourceText.slice(this._pos,this._pos+n.length)),o=n):n instanceof RegExp&&(a=this._sourceText.slice(this._pos).match(n),o=a==null?void 0:a[0]),a!=null&&(typeof n=="string"||a instanceof Array&&this._sourceText.startsWith(a[0],this._pos))?(i&&(this._start=this._pos,o&&o.length&&(this._pos+=o.length)),a):!1},this.backUp=n=>{this._pos-=n},this.column=()=>this._pos,this.indentation=()=>{const n=this._sourceText.match(/\s*/);let i=0;if(n&&n.length!==0){const r=n[0];let o=0;for(;r.length>o;)r.charCodeAt(o)===9?i+=2:i++,o++}return i},this.current=()=>this._sourceText.slice(this._start,this._pos),this._sourceText=t}_testNextCharacter(t){const n=this._sourceText.charAt(this._pos);let i=!1;return typeof t=="string"?i=n===t:i=t instanceof RegExp?t.test(n):t(n),i}}function Ft(e){return{ofRule:e}}function Xe(e,t){return{ofRule:e,isList:!0,separator:t}}function xN(e,t){const n=e.match;return e.match=i=>{let r=!1;return n&&(r=n(i)),r&&t.every(o=>o.match&&!o.match(i))},e}function p1(e,t){return{style:t,match:n=>n.kind===e}}function Re(e,t){return{style:t||"punctuation",match:n=>n.kind==="Punctuation"&&n.value===e}}const EN=e=>e===" "||e===" "||e===","||e===`
|
|
237
|
+
`||e==="\r"||e==="\uFEFF"||e===" ",TN={Name:/^[_A-Za-z][_0-9A-Za-z]*/,Punctuation:/^(?:!|\$|\(|\)|\.\.\.|:|=|&|@|\[|]|\{|\||\})/,Number:/^-?(?:0|(?:[1-9][0-9]*))(?:\.[0-9]*)?(?:[eE][+-]?[0-9]+)?/,String:/^(?:"""(?:\\"""|[^"]|"[^"]|""[^"])*(?:""")?|"(?:[^"\\]|\\(?:"|\/|\\|b|f|n|r|t|u[0-9a-fA-F]{4}))*"?)/,Comment:/^#.*/},SN={Document:[Xe("Definition")],Definition(e){switch(e.value){case"{":return"ShortQuery";case"query":return"Query";case"mutation":return"Mutation";case"subscription":return"Subscription";case"fragment":return W.FRAGMENT_DEFINITION;case"schema":return"SchemaDef";case"scalar":return"ScalarDef";case"type":return"ObjectTypeDef";case"interface":return"InterfaceDef";case"union":return"UnionDef";case"enum":return"EnumDef";case"input":return"InputDef";case"extend":return"ExtendDef";case"directive":return"DirectiveDef"}},ShortQuery:["SelectionSet"],Query:[mn("query"),Ft(mt("def")),Ft("VariableDefinitions"),Xe("Directive"),"SelectionSet"],Mutation:[mn("mutation"),Ft(mt("def")),Ft("VariableDefinitions"),Xe("Directive"),"SelectionSet"],Subscription:[mn("subscription"),Ft(mt("def")),Ft("VariableDefinitions"),Xe("Directive"),"SelectionSet"],VariableDefinitions:[Re("("),Xe("VariableDefinition"),Re(")")],VariableDefinition:["Variable",Re(":"),"Type",Ft("DefaultValue")],Variable:[Re("$","variable"),mt("variable")],DefaultValue:[Re("="),"Value"],SelectionSet:[Re("{"),Xe("Selection"),Re("}")],Selection(e,t){return e.value==="..."?t.match(/[\s\u00a0,]*(on\b|@|{)/,!1)?"InlineFragment":"FragmentSpread":t.match(/[\s\u00a0,]*:/,!1)?"AliasedField":"Field"},AliasedField:[mt("property"),Re(":"),mt("qualifier"),Ft("Arguments"),Xe("Directive"),Ft("SelectionSet")],Field:[mt("property"),Ft("Arguments"),Xe("Directive"),Ft("SelectionSet")],Arguments:[Re("("),Xe("Argument"),Re(")")],Argument:[mt("attribute"),Re(":"),"Value"],FragmentSpread:[Re("..."),mt("def"),Xe("Directive")],InlineFragment:[Re("..."),Ft("TypeCondition"),Xe("Directive"),"SelectionSet"],FragmentDefinition:[mn("fragment"),Ft(xN(mt("def"),[mn("on")])),"TypeCondition",Xe("Directive"),"SelectionSet"],TypeCondition:[mn("on"),"NamedType"],Value(e){switch(e.kind){case"Number":return"NumberValue";case"String":return"StringValue";case"Punctuation":switch(e.value){case"[":return"ListValue";case"{":return"ObjectValue";case"$":return"Variable";case"&":return"NamedType"}return null;case"Name":switch(e.value){case"true":case"false":return"BooleanValue"}return e.value==="null"?"NullValue":"EnumValue"}},NumberValue:[p1("Number","number")],StringValue:[{style:"string",match:e=>e.kind==="String",update(e,t){t.value.startsWith('"""')&&(e.inBlockstring=!t.value.slice(3).endsWith('"""'))}}],BooleanValue:[p1("Name","builtin")],NullValue:[p1("Name","keyword")],EnumValue:[mt("string-2")],ListValue:[Re("["),Xe("Value"),Re("]")],ObjectValue:[Re("{"),Xe("ObjectField"),Re("}")],ObjectField:[mt("attribute"),Re(":"),"Value"],Type(e){return e.value==="["?"ListType":"NonNullType"},ListType:[Re("["),"Type",Re("]"),Ft(Re("!"))],NonNullType:["NamedType",Ft(Re("!"))],NamedType:[_N("atom")],Directive:[Re("@","meta"),mt("meta"),Ft("Arguments")],DirectiveDef:[mn("directive"),Re("@","meta"),mt("meta"),Ft("ArgumentsDef"),mn("on"),Xe("DirectiveLocation",Re("|"))],InterfaceDef:[mn("interface"),mt("atom"),Ft("Implements"),Xe("Directive"),Re("{"),Xe("FieldDef"),Re("}")],Implements:[mn("implements"),Xe("NamedType",Re("&"))],DirectiveLocation:[mt("string-2")],SchemaDef:[mn("schema"),Xe("Directive"),Re("{"),Xe("OperationTypeDef"),Re("}")],OperationTypeDef:[mt("keyword"),Re(":"),mt("atom")],ScalarDef:[mn("scalar"),mt("atom"),Xe("Directive")],ObjectTypeDef:[mn("type"),mt("atom"),Ft("Implements"),Xe("Directive"),Re("{"),Xe("FieldDef"),Re("}")],FieldDef:[mt("property"),Ft("ArgumentsDef"),Re(":"),"Type",Xe("Directive")],ArgumentsDef:[Re("("),Xe("InputValueDef"),Re(")")],InputValueDef:[mt("attribute"),Re(":"),"Type",Ft("DefaultValue"),Xe("Directive")],UnionDef:[mn("union"),mt("atom"),Xe("Directive"),Re("="),Xe("UnionMember",Re("|"))],UnionMember:["NamedType"],EnumDef:[mn("enum"),mt("atom"),Xe("Directive"),Re("{"),Xe("EnumValueDef"),Re("}")],EnumValueDef:[mt("string-2"),Xe("Directive")],InputDef:[mn("input"),mt("atom"),Xe("Directive"),Re("{"),Xe("InputValueDef"),Re("}")],ExtendDef:[mn("extend"),"ExtensionDefinition"],ExtensionDefinition(e){switch(e.value){case"schema":return W.SCHEMA_EXTENSION;case"scalar":return W.SCALAR_TYPE_EXTENSION;case"type":return W.OBJECT_TYPE_EXTENSION;case"interface":return W.INTERFACE_TYPE_EXTENSION;case"union":return W.UNION_TYPE_EXTENSION;case"enum":return W.ENUM_TYPE_EXTENSION;case"input":return W.INPUT_OBJECT_TYPE_EXTENSION}},[W.SCHEMA_EXTENSION]:["SchemaDef"],[W.SCALAR_TYPE_EXTENSION]:["ScalarDef"],[W.OBJECT_TYPE_EXTENSION]:["ObjectTypeDef"],[W.INTERFACE_TYPE_EXTENSION]:["InterfaceDef"],[W.UNION_TYPE_EXTENSION]:["UnionDef"],[W.ENUM_TYPE_EXTENSION]:["EnumDef"],[W.INPUT_OBJECT_TYPE_EXTENSION]:["InputDef"]};function mn(e){return{style:"keyword",match:t=>t.kind==="Name"&&t.value===e}}function mt(e){return{style:e,match:t=>t.kind==="Name",update(t,n){t.name=n.value}}}function _N(e){return{style:e,match:t=>t.kind==="Name",update(t,n){var i;!((i=t.prevState)===null||i===void 0)&&i.prevState&&(t.name=n.value,t.prevState.prevState.type=n.value)}}}function CN(e={eatWhitespace:t=>t.eatWhile(EN),lexRules:TN,parseRules:SN,editorConfig:{}}){return{startState(){const t={level:0,step:0,name:null,kind:null,type:null,rule:null,needsSeparator:!1,prevState:null};return Hl(e.parseRules,t,W.DOCUMENT),t},token(t,n){return AN(t,n,e)}}}function AN(e,t,n){var i;if(t.inBlockstring)return e.match(/.*"""/)?(t.inBlockstring=!1,"string"):(e.skipToEnd(),"string");const{lexRules:r,parseRules:o,eatWhitespace:a,editorConfig:c}=n;if(t.rule&&t.rule.length===0?Yg(t):t.needsAdvance&&(t.needsAdvance=!1,Um(t,!0)),e.sol()){const p=(c==null?void 0:c.tabSize)||2;t.indentLevel=Math.floor(e.indentation()/p)}if(a(e))return"ws";const f=DN(r,e);if(!f)return e.match(/\S+/)||e.match(/\s/),Hl(m1,t,"Invalid"),"invalidchar";if(f.kind==="Comment")return Hl(m1,t,"Comment"),"comment";const h=CE({},t);if(f.kind==="Punctuation"){if(/^[{([]/.test(f.value))t.indentLevel!==void 0&&(t.levels=(t.levels||[]).concat(t.indentLevel+1));else if(/^[})\]]/.test(f.value)){const p=t.levels=(t.levels||[]).slice(0,-1);t.indentLevel&&p.length>0&&p.at(-1)<t.indentLevel&&(t.indentLevel=p.at(-1))}}for(;t.rule;){let p=typeof t.rule=="function"?t.step===0?t.rule(f,e):null:t.rule[t.step];if(t.needsSeparator&&(p=p==null?void 0:p.separator),p){if(p.ofRule&&(p=p.ofRule),typeof p=="string"){Hl(o,t,p);continue}if(!((i=p.match)===null||i===void 0)&&i.call(p,f))return p.update&&p.update(t,f),f.kind==="Punctuation"?Um(t,!0):t.needsAdvance=!0,p.style}wN(t)}return CE(t,h),Hl(m1,t,"Invalid"),"invalidchar"}function CE(e,t){const n=Object.keys(t);for(let i=0;i<n.length;i++)e[n[i]]=t[n[i]];return e}const m1={Invalid:[],Comment:[]};function Hl(e,t,n){if(!e[n])throw new TypeError("Unknown rule: "+n);t.prevState=Object.assign({},t),t.kind=n,t.name=null,t.type=null,t.rule=e[n],t.step=0,t.needsSeparator=!1}function Yg(e){e.prevState&&(e.kind=e.prevState.kind,e.name=e.prevState.name,e.type=e.prevState.type,e.rule=e.prevState.rule,e.step=e.prevState.step,e.needsSeparator=e.prevState.needsSeparator,e.prevState=e.prevState.prevState)}function Um(e,t){var n;if(AE(e)&&e.rule){const i=e.rule[e.step];if(i.separator){const{separator:r}=i;if(e.needsSeparator=!e.needsSeparator,!e.needsSeparator&&r.ofRule)return}if(t)return}for(e.needsSeparator=!1,e.step++;e.rule&&!(Array.isArray(e.rule)&&e.step<e.rule.length);)Yg(e),e.rule&&(AE(e)?!((n=e.rule)===null||n===void 0)&&n[e.step].separator&&(e.needsSeparator=!e.needsSeparator):(e.needsSeparator=!1,e.step++))}function AE(e){const t=Array.isArray(e.rule)&&typeof e.rule[e.step]!="string"&&e.rule[e.step];return t&&t.isList}function wN(e){for(;e.rule&&!(Array.isArray(e.rule)&&e.rule[e.step].ofRule);)Yg(e);e.rule&&Um(e,!1)}function DN(e,t){const n=Object.keys(e);for(let i=0;i<n.length;i++){const r=t.match(e[n[i]]);if(r&&r instanceof Array)return{kind:n[i],value:r[0]}}}function C0(e,t){const n=e.split(`
|
|
238
|
+
`),i=CN();let r=i.startState(),o="",a=new _E("");for(let c=0;c<n.length;c++){for(a=new _E(n[c]);!a.eol()&&(o=i.token(a,r),t(a,r,o,c)!=="BREAK"););t(a,r,o,c),r.kind||(r=i.startState())}return{start:a.getStartOfToken(),end:a.getCurrentPosition(),string:a.current(),state:r,style:o}}var su;(function(e){e.TYPE_SYSTEM="TYPE_SYSTEM",e.EXECUTABLE="EXECUTABLE",e.UNKNOWN="UNKNOWN"})(su||(su={}));const NN=[W.SCHEMA_DEFINITION,W.OPERATION_TYPE_DEFINITION,W.SCALAR_TYPE_DEFINITION,W.OBJECT_TYPE_DEFINITION,W.INTERFACE_TYPE_DEFINITION,W.UNION_TYPE_DEFINITION,W.ENUM_TYPE_DEFINITION,W.INPUT_OBJECT_TYPE_DEFINITION,W.DIRECTIVE_DEFINITION,W.SCHEMA_EXTENSION,W.SCALAR_TYPE_EXTENSION,W.OBJECT_TYPE_EXTENSION,W.INTERFACE_TYPE_EXTENSION,W.UNION_TYPE_EXTENSION,W.ENUM_TYPE_EXTENSION,W.INPUT_OBJECT_TYPE_EXTENSION],ON=e=>{let t=su.UNKNOWN;if(e)try{Yi(Ko(e),{enter(n){if(n.kind==="Document"){t=su.EXECUTABLE;return}return NN.includes(n.kind)?(t=su.TYPE_SYSTEM,ta):!1}})}catch{return t}return t};function RN(e,t){return t!=null&&t.endsWith(".graphqls")?su.TYPE_SYSTEM:ON(e)}function MN(e,t,n=0){let i=null,r=null,o=null;const a=C0(e,(c,f,h,p)=>{if(!(p!==t.line||c.getCurrentPosition()+n<t.character+1))return i=h,r=Object.assign({},f),o=c.current(),"BREAK"});return{start:a.start,end:a.end,string:o||a.string,state:r||a.state,style:i||a.style}}function kN(e,t,n,i,r){const o=i||MN(e,t,1);if(!o)return null;const a=o.state.kind==="Invalid"?o.state.prevState:o.state;if(!a)return null;const c=IN(n,o.state),f=(r==null?void 0:r.mode)||RN(e,r==null?void 0:r.uri);return{token:o,state:a,typeInfo:c,mode:f}}function wE(e,t,n){return n===ac.name&&e.getQueryType()===t?ac:n===lc.name&&e.getQueryType()===t?lc:n===cc.name&&no(t)?cc:"getFields"in t?t.getFields()[n]:null}function cT(e,t){const n=[];let i=e;for(;i!=null&&i.kind;)n.push(i),i=i.prevState;for(let r=n.length-1;r>=0;r--)t(n[r])}function LN(e){let t;return cT(e,n=>{switch(n.kind){case"Query":case"ShortQuery":case"Mutation":case"Subscription":case"FragmentDefinition":t=n;break}}),t}function IN(e,t){let n,i,r,o,a,c,f,h,p,g,y;return cT(t,v=>{var E;switch(v.kind){case he.QUERY:case"ShortQuery":g=e.getQueryType();break;case he.MUTATION:g=e.getMutationType();break;case he.SUBSCRIPTION:g=e.getSubscriptionType();break;case he.INLINE_FRAGMENT:case he.FRAGMENT_DEFINITION:v.type&&(g=e.getType(v.type));break;case he.FIELD:case he.ALIASED_FIELD:{!g||!v.name?a=null:(a=p?wE(e,p,v.name):null,g=a?a.type:null);break}case he.SELECTION_SET:p=Nn(g);break;case he.DIRECTIVE:r=v.name?e.getDirective(v.name):null;break;case he.INTERFACE_DEF:v.name&&(f=null,y=new la({name:v.name,interfaces:[],fields:{}}));break;case he.OBJECT_TYPE_DEF:v.name&&(y=null,f=new wr({name:v.name,interfaces:[],fields:{}}));break;case he.ARGUMENTS:{if(v.prevState)switch(v.prevState.kind){case he.FIELD:i=a&&a.args;break;case he.DIRECTIVE:i=r&&r.args;break;case he.ALIASED_FIELD:{const C=(E=v.prevState)===null||E===void 0?void 0:E.name;if(!C){i=null;break}const N=p?wE(e,p,C):null;if(!N){i=null;break}i=N.args;break}default:i=null;break}else i=null;break}case he.ARGUMENT:if(i){for(let C=0;C<i.length;C++)if(i[C].name===v.name){n=i[C];break}}c=n==null?void 0:n.type;break;case he.VARIABLE_DEFINITION:case he.VARIABLE:g=c;break;case he.ENUM_VALUE:const T=Nn(c);o=T instanceof wa?T.getValues().find(C=>C.value===v.name):null;break;case he.LIST_VALUE:const S=j5(c);c=S instanceof Hn?S.ofType:null;break;case he.OBJECT_VALUE:const A=Nn(c);h=A instanceof Hg?A.getFields():null;break;case he.OBJECT_FIELD:const D=v.name&&h?h[v.name]:null;c=D==null?void 0:D.type,a=D,g=a?a.type:null;break;case he.NAMED_TYPE:v.name&&(g=e.getType(v.name));break}}),{argDef:n,argDefs:i,directiveDef:r,enumValue:o,fieldDef:a,inputType:c,objectFieldDefs:h,parentType:p,type:g,interfaceDef:y,objectTypeDef:f}}const FN={ALIASED_FIELD:"AliasedField",ARGUMENTS:"Arguments",SHORT_QUERY:"ShortQuery",QUERY:"Query",MUTATION:"Mutation",SUBSCRIPTION:"Subscription",TYPE_CONDITION:"TypeCondition",INVALID:"Invalid",COMMENT:"Comment",SCHEMA_DEF:"SchemaDef",SCALAR_DEF:"ScalarDef",OBJECT_TYPE_DEF:"ObjectTypeDef",OBJECT_VALUE:"ObjectValue",LIST_VALUE:"ListValue",INTERFACE_DEF:"InterfaceDef",UNION_DEF:"UnionDef",ENUM_DEF:"EnumDef",ENUM_VALUE:"EnumValue",FIELD_DEF:"FieldDef",INPUT_DEF:"InputDef",INPUT_VALUE_DEF:"InputValueDef",ARGUMENTS_DEF:"ArgumentsDef",EXTEND_DEF:"ExtendDef",EXTENSION_DEFINITION:"ExtensionDefinition",DIRECTIVE_DEF:"DirectiveDef",IMPLEMENTS:"Implements",VARIABLE_DEFINITIONS:"VariableDefinitions",TYPE:"Type",VARIABLE:"Variable"},he=Object.assign(Object.assign({},W),FN);var Ve;(function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25})(Ve||(Ve={}));const zm={command:"editor.action.triggerSuggest",title:"Suggestions"},jN=e=>{const t=[];if(e)try{Yi(Ko(e),{FragmentDefinition(n){t.push(n)}})}catch{return[]}return t};function $Q(e,t,n,i,r,o){var a;const c=Object.assign(Object.assign({},o),{schema:e}),f=kN(t,n,e,i,o);if(!f)return[];const{state:h,typeInfo:p,mode:g,token:y}=f,{kind:v,step:E,prevState:T}=h;if(v===he.DOCUMENT)return g===su.TYPE_SYSTEM?PN(y):g===su.EXECUTABLE?VN(y):BN(y);if(v===he.EXTEND_DEF)return $N(y);if(((a=T==null?void 0:T.prevState)===null||a===void 0?void 0:a.kind)===he.EXTENSION_DEFINITION&&h.name)return yt(y,[]);if((T==null?void 0:T.kind)===W.SCALAR_TYPE_EXTENSION)return yt(y,Object.values(e.getTypeMap()).filter(so).map(A=>({label:A.name,kind:Ve.Function})));if((T==null?void 0:T.kind)===W.OBJECT_TYPE_EXTENSION)return yt(y,Object.values(e.getTypeMap()).filter(A=>bt(A)&&!A.name.startsWith("__")).map(A=>({label:A.name,kind:Ve.Function})));if((T==null?void 0:T.kind)===W.INTERFACE_TYPE_EXTENSION)return yt(y,Object.values(e.getTypeMap()).filter(Tt).map(A=>({label:A.name,kind:Ve.Function})));if((T==null?void 0:T.kind)===W.UNION_TYPE_EXTENSION)return yt(y,Object.values(e.getTypeMap()).filter(Di).map(A=>({label:A.name,kind:Ve.Function})));if((T==null?void 0:T.kind)===W.ENUM_TYPE_EXTENSION)return yt(y,Object.values(e.getTypeMap()).filter(A=>ci(A)&&!A.name.startsWith("__")).map(A=>({label:A.name,kind:Ve.Function})));if((T==null?void 0:T.kind)===W.INPUT_OBJECT_TYPE_EXTENSION)return yt(y,Object.values(e.getTypeMap()).filter(ln).map(A=>({label:A.name,kind:Ve.Function})));if(v===he.IMPLEMENTS||v===he.NAMED_TYPE&&(T==null?void 0:T.kind)===he.IMPLEMENTS)return HN(y,h,e,t,p);if(v===he.SELECTION_SET||v===he.FIELD||v===he.ALIASED_FIELD)return UN(y,p,c);if(v===he.ARGUMENTS||v===he.ARGUMENT&&E===0){const{argDefs:A}=p;if(A)return yt(y,A.map(D=>{var C;return{label:D.name,insertText:_x(D.name+": ",D.type),insertTextMode:Io.adjustIndentation,insertTextFormat:ca.Snippet,command:zm,labelDetails:{detail:" "+String(D.type)},documentation:(C=D.description)!==null&&C!==void 0?C:void 0,kind:Ve.Variable,type:D.type}}))}if((v===he.OBJECT_VALUE||v===he.OBJECT_FIELD&&E===0)&&p.objectFieldDefs){const A=Yo(p.objectFieldDefs),D=v===he.OBJECT_VALUE?Ve.Value:Ve.Field;return yt(y,A.map(C=>{var N;return{label:C.name,detail:String(C.type),documentation:(N=C==null?void 0:C.description)!==null&&N!==void 0?N:void 0,kind:D,type:C.type,insertText:_x(C.name+": ",C.type),insertTextMode:Io.adjustIndentation,insertTextFormat:ca.Snippet,command:zm}}))}if(v===he.ENUM_VALUE||v===he.LIST_VALUE&&E===1||v===he.OBJECT_FIELD&&E===2||v===he.ARGUMENT&&E===2)return zN(y,p,t,e);if(v===he.VARIABLE&&E===1){const A=Nn(p.inputType),D=dT(t,e,y);return yt(y,D.filter(C=>C.detail===(A==null?void 0:A.name)))}if(v===he.TYPE_CONDITION&&E===1||v===he.NAMED_TYPE&&T!=null&&T.kind===he.TYPE_CONDITION)return qN(y,p,e);if(v===he.FRAGMENT_SPREAD&&E===1)return GN(y,p,e,t,Array.isArray(r)?r:jN(r));const S=hT(h);return S.kind===he.FIELD_DEF?yt(y,Object.values(e.getTypeMap()).filter(A=>Bo(A)&&!A.name.startsWith("__")).map(A=>({label:A.name,kind:Ve.Function,insertText:o!=null&&o.fillLeafsOnComplete?A.name+`
|
|
239
239
|
`:A.name,insertTextMode:Io.adjustIndentation}))):S.kind===he.INPUT_VALUE_DEF&&E===2?yt(y,Object.values(e.getTypeMap()).filter(A=>_i(A)&&!A.name.startsWith("__")).map(A=>({label:A.name,kind:Ve.Function,insertText:o!=null&&o.fillLeafsOnComplete?A.name+`
|
|
240
|
-
$1`:A.name,insertTextMode:Io.adjustIndentation,insertTextFormat:ca.Snippet}))):v===he.VARIABLE_DEFINITION&&E===2||v===he.LIST_TYPE&&E===1||v===he.NAMED_TYPE&&T&&(T.kind===he.VARIABLE_DEFINITION||T.kind===he.LIST_TYPE||T.kind===he.NON_NULL_TYPE)?XN(y,e):v===he.DIRECTIVE?ZN(y,h,e):v===he.DIRECTIVE_DEF?WN(y,h,e):[]}const
|
|
241
|
-
`))),h.insertText&&(h.insertTextFormat=ca.Snippet,h.insertTextMode=Io.adjustIndentation,h.command=
|
|
240
|
+
$1`:A.name,insertTextMode:Io.adjustIndentation,insertTextFormat:ca.Snippet}))):v===he.VARIABLE_DEFINITION&&E===2||v===he.LIST_TYPE&&E===1||v===he.NAMED_TYPE&&T&&(T.kind===he.VARIABLE_DEFINITION||T.kind===he.LIST_TYPE||T.kind===he.NON_NULL_TYPE)?XN(y,e):v===he.DIRECTIVE?ZN(y,h,e):v===he.DIRECTIVE_DEF?WN(y,h,e):[]}const Qg=[{label:"type",kind:Ve.Function},{label:"interface",kind:Ve.Function},{label:"union",kind:Ve.Function},{label:"input",kind:Ve.Function},{label:"scalar",kind:Ve.Function},{label:"schema",kind:Ve.Function}],fT=[{label:"query",kind:Ve.Function},{label:"mutation",kind:Ve.Function},{label:"subscription",kind:Ve.Function},{label:"fragment",kind:Ve.Function},{label:"{",kind:Ve.Constructor}];function PN(e){return yt(e,[{label:"extend",kind:Ve.Function},...Qg])}function VN(e){return yt(e,fT)}function BN(e){return yt(e,[{label:"extend",kind:Ve.Function},...fT,...Qg])}function $N(e){return yt(e,Qg)}function UN(e,t,n){var i;if(t.parentType){const{parentType:r}=t;let o=[];return"getFields"in r&&(o=Yo(r.getFields())),no(r)&&o.push(cc),r===((i=n==null?void 0:n.schema)===null||i===void 0?void 0:i.getQueryType())&&o.push(ac,lc),yt(e,o.map((a,c)=>{var f;const h={sortText:String(c)+a.name,label:a.name,detail:String(a.type),documentation:(f=a.description)!==null&&f!==void 0?f:void 0,deprecated:!!a.deprecationReason,isDeprecated:!!a.deprecationReason,deprecationReason:a.deprecationReason,kind:Ve.Field,labelDetails:{detail:" "+a.type.toString()},type:a.type};return n!=null&&n.fillLeafsOnComplete&&(h.insertText=yN(a),h.insertText||(h.insertText=Gd(a.name,a.type,a.name+(e.state.needsAdvance?"":`
|
|
241
|
+
`))),h.insertText&&(h.insertTextFormat=ca.Snippet,h.insertTextMode=Io.adjustIndentation,h.command=zm)),h}))}return[]}function zN(e,t,n,i){const r=Nn(t.inputType),o=dT(n,i,e).filter(a=>a.detail===(r==null?void 0:r.name));if(r instanceof wa){const a=r.getValues();return yt(e,a.map(c=>{var f;return{label:c.name,detail:String(r),documentation:(f=c.description)!==null&&f!==void 0?f:void 0,deprecated:!!c.deprecationReason,isDeprecated:!!c.deprecationReason,deprecationReason:c.deprecationReason,kind:Ve.EnumMember,type:r}}).concat(o))}return r===sn?yt(e,o.concat([{label:"true",detail:String(sn),documentation:"Not false.",kind:Ve.Variable,type:sn},{label:"false",detail:String(sn),documentation:"Not true.",kind:Ve.Variable,type:sn}])):o}function HN(e,t,n,i,r){if(t.needsSeparator)return[];const o=n.getTypeMap(),a=Yo(o).filter(Tt),c=a.map(({name:v})=>v),f=new Set;C0(i,(v,E)=>{var T,S,A,D,C;if(E.name&&(E.kind===he.INTERFACE_DEF&&!c.includes(E.name)&&f.add(E.name),E.kind===he.NAMED_TYPE&&((T=E.prevState)===null||T===void 0?void 0:T.kind)===he.IMPLEMENTS)){if(r.interfaceDef){if((S=r.interfaceDef)===null||S===void 0?void 0:S.getInterfaces().find(({name:I})=>I===E.name))return;const O=n.getType(E.name),k=(A=r.interfaceDef)===null||A===void 0?void 0:A.toConfig();r.interfaceDef=new la(Object.assign(Object.assign({},k),{interfaces:[...k.interfaces,O||new la({name:E.name,fields:{}})]}))}else if(r.objectTypeDef){if((D=r.objectTypeDef)===null||D===void 0?void 0:D.getInterfaces().find(({name:I})=>I===E.name))return;const O=n.getType(E.name),k=(C=r.objectTypeDef)===null||C===void 0?void 0:C.toConfig();r.objectTypeDef=new wr(Object.assign(Object.assign({},k),{interfaces:[...k.interfaces,O||new la({name:E.name,fields:{}})]}))}}});const h=r.interfaceDef||r.objectTypeDef,g=((h==null?void 0:h.getInterfaces())||[]).map(({name:v})=>v),y=a.concat([...f].map(v=>({name:v}))).filter(({name:v})=>v!==(h==null?void 0:h.name)&&!g.includes(v));return yt(e,y.map(v=>{const E={label:v.name,kind:Ve.Interface,type:v};return v!=null&&v.description&&(E.documentation=v.description),E}))}function qN(e,t,n,i){let r;if(t.parentType)if(ou(t.parentType)){const o=cD(t.parentType),a=n.getPossibleTypes(o),c=Object.create(null);for(const f of a)for(const h of f.getInterfaces())c[h.name]=h;r=a.concat(Yo(c))}else r=[t.parentType];else{const o=n.getTypeMap();r=Yo(o).filter(a=>no(a)&&!a.name.startsWith("__"))}return yt(e,r.map(o=>{const a=Nn(o);return{label:String(o),documentation:(a==null?void 0:a.description)||"",kind:Ve.Field}}))}function GN(e,t,n,i,r){if(!i)return[];const o=n.getTypeMap(),a=LN(e.state),c=QN(i);r&&r.length>0&&c.push(...r);const f=c.filter(h=>o[h.typeCondition.name.value]&&!(a&&a.kind===he.FRAGMENT_DEFINITION&&a.name===h.name.value)&&no(t.parentType)&&no(o[h.typeCondition.name.value])&&mD(n,t.parentType,o[h.typeCondition.name.value]));return yt(e,f.map(h=>({label:h.name.value,detail:String(o[h.typeCondition.name.value]),documentation:`fragment ${h.name.value} on ${h.typeCondition.name.value}`,labelDetails:{detail:`fragment ${h.name.value} on ${h.typeCondition.name.value}`},kind:Ve.Field,type:o[h.typeCondition.name.value]})))}const YN=(e,t)=>{var n,i,r,o,a,c,f,h,p,g;if(((n=e.prevState)===null||n===void 0?void 0:n.kind)===t)return e.prevState;if(((r=(i=e.prevState)===null||i===void 0?void 0:i.prevState)===null||r===void 0?void 0:r.kind)===t)return e.prevState.prevState;if(((c=(a=(o=e.prevState)===null||o===void 0?void 0:o.prevState)===null||a===void 0?void 0:a.prevState)===null||c===void 0?void 0:c.kind)===t)return e.prevState.prevState.prevState;if(((g=(p=(h=(f=e.prevState)===null||f===void 0?void 0:f.prevState)===null||h===void 0?void 0:h.prevState)===null||p===void 0?void 0:p.prevState)===null||g===void 0?void 0:g.kind)===t)return e.prevState.prevState.prevState.prevState};function dT(e,t,n){let i=null,r;const o=Object.create({});return C0(e,(a,c)=>{var f;if((c==null?void 0:c.kind)===he.VARIABLE&&c.name&&(i=c.name),(c==null?void 0:c.kind)===he.NAMED_TYPE&&i){const h=YN(c,he.TYPE);h!=null&&h.type&&(r=t.getType(h==null?void 0:h.type))}if(i&&r&&!o[i]){const h=n.string==="$"||((f=n==null?void 0:n.state)===null||f===void 0?void 0:f.kind)==="Variable"?i:"$"+i;o[i]={detail:r.toString(),insertText:h,label:"$"+i,rawInsert:h,type:r,kind:Ve.Variable},i=null,r=null}}),Yo(o)}function QN(e){const t=[];return C0(e,(n,i)=>{i.kind===he.FRAGMENT_DEFINITION&&i.name&&i.type&&t.push({kind:he.FRAGMENT_DEFINITION,name:{kind:W.NAME,value:i.name},selectionSet:{kind:he.SELECTION_SET,selections:[]},typeCondition:{kind:he.NAMED_TYPE,name:{kind:W.NAME,value:i.type}}})}),t}function XN(e,t,n){const i=t.getTypeMap(),r=Yo(i).filter(_i);return yt(e,r.map(o=>({label:o.name,documentation:(o==null?void 0:o.description)||"",kind:Ve.Variable})))}function ZN(e,t,n,i){var r;if(!((r=t.prevState)===null||r===void 0)&&r.kind){const o=n.getDirectives().filter(a=>KN(t.prevState,a));return yt(e,o.map(a=>({label:a.name,documentation:(a==null?void 0:a.description)||"",kind:Ve.Function})))}return[]}function WN(e,t,n,i){const r=n.getDirectives().find(o=>o.name===t.name);return yt(e,(r==null?void 0:r.args.map(o=>({label:o.name,documentation:o.description||"",kind:Ve.Field})))||[])}function KN(e,t){if(!(e!=null&&e.kind))return!1;const{kind:n,prevState:i}=e,{locations:r}=t;switch(n){case he.QUERY:return r.includes(Se.QUERY);case he.MUTATION:return r.includes(Se.MUTATION);case he.SUBSCRIPTION:return r.includes(Se.SUBSCRIPTION);case he.FIELD:case he.ALIASED_FIELD:return r.includes(Se.FIELD);case he.FRAGMENT_DEFINITION:return r.includes(Se.FRAGMENT_DEFINITION);case he.FRAGMENT_SPREAD:return r.includes(Se.FRAGMENT_SPREAD);case he.INLINE_FRAGMENT:return r.includes(Se.INLINE_FRAGMENT);case he.SCHEMA_DEF:return r.includes(Se.SCHEMA);case he.SCALAR_DEF:return r.includes(Se.SCALAR);case he.OBJECT_TYPE_DEF:return r.includes(Se.OBJECT);case he.FIELD_DEF:return r.includes(Se.FIELD_DEFINITION);case he.INTERFACE_DEF:return r.includes(Se.INTERFACE);case he.UNION_DEF:return r.includes(Se.UNION);case he.ENUM_DEF:return r.includes(Se.ENUM);case he.ENUM_VALUE:return r.includes(Se.ENUM_VALUE);case he.INPUT_DEF:return r.includes(Se.INPUT_OBJECT);case he.INPUT_VALUE_DEF:switch(i==null?void 0:i.kind){case he.ARGUMENTS_DEF:return r.includes(Se.ARGUMENT_DEFINITION);case he.INPUT_DEF:return r.includes(Se.INPUT_FIELD_DEFINITION)}}return!1}function hT(e){return e.prevState&&e.kind&&[he.NAMED_TYPE,he.LIST_TYPE,he.TYPE,he.NON_NULL_TYPE].includes(e.kind)?hT(e.prevState):e}var Fl={exports:{}},DE;function JN(){if(DE)return Fl.exports;DE=1;function e(t,n){if(t!=null)return t;var i=new Error(n!==void 0?n:"Got unexpected "+t);throw i.framesToPop=1,i}return Fl.exports=e,Fl.exports.default=e,Object.defineProperty(Fl.exports,"__esModule",{value:!0}),Fl.exports}var eO=JN();const NE=Wo(eO),tO=(e,t)=>{if(!t)return[];const n=new Map,i=new Set;Yi(e,{FragmentDefinition(a){n.set(a.name.value,!0)},FragmentSpread(a){i.has(a.name.value)||i.add(a.name.value)}});const r=new Set;for(const a of i)!n.has(a)&&t.has(a)&&r.add(NE(t.get(a)));const o=[];for(const a of r)Yi(a,{FragmentSpread(c){!i.has(c.name.value)&&t.get(c.name.value)&&(r.add(NE(t.get(c.name.value))),i.add(c.name.value))}}),n.has(a.name.value)||o.push(a);return o};function nO(e,t){const n=Object.create(null);for(const i of t.definitions)if(i.kind==="OperationDefinition"){const{variableDefinitions:r}=i;if(r)for(const{variable:o,type:a}of r){const c=fc(e,a);c?n[o.name.value]=c:a.kind===W.NAMED_TYPE&&a.name.value==="Float"&&(n[o.name.value]=G5)}}return n}function iO(e,t){const n=t?nO(t,e):void 0,i=[];return Yi(e,{OperationDefinition(r){i.push(r)}}),{variableToType:n,operations:i}}function rO(e,t){if(t)try{const n=Ko(t);return Object.assign(Object.assign({},iO(n,e)),{documentAST:n})}catch{return}}/*!
|
|
242
242
|
* is-primitive <https://github.com/jonschlinkert/is-primitive>
|
|
243
243
|
*
|
|
244
244
|
* Copyright (c) 2014-present, Jon Schlinkert.
|
|
245
245
|
* Released under the MIT License.
|
|
246
|
-
*/var
|
|
246
|
+
*/var g1,OE;function uO(){return OE||(OE=1,g1=function(t){return typeof t=="object"?t===null:typeof t!="function"}),g1}/*!
|
|
247
247
|
* isobject <https://github.com/jonschlinkert/isobject>
|
|
248
248
|
*
|
|
249
249
|
* Copyright (c) 2014-2017, Jon Schlinkert.
|
|
250
250
|
* Released under the MIT License.
|
|
251
|
-
*/var
|
|
251
|
+
*/var v1,RE;function pT(){return RE||(RE=1,v1=function(t){return t!=null&&typeof t=="object"&&Array.isArray(t)===!1}),v1}/*!
|
|
252
252
|
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
|
|
253
253
|
*
|
|
254
254
|
* Copyright (c) 2014-2017, Jon Schlinkert.
|
|
255
255
|
* Released under the MIT License.
|
|
256
|
-
*/var
|
|
256
|
+
*/var y1,ME;function oO(){if(ME)return y1;ME=1;var e=pT();function t(n){return e(n)===!0&&Object.prototype.toString.call(n)==="[object Object]"}return y1=function(i){var r,o;return!(t(i)===!1||(r=i.constructor,typeof r!="function")||(o=r.prototype,t(o)===!1)||o.hasOwnProperty("isPrototypeOf")===!1)},y1}/*!
|
|
257
257
|
* set-value <https://github.com/jonschlinkert/set-value>
|
|
258
258
|
*
|
|
259
259
|
* Copyright (c) Jon Schlinkert (https://github.com/jonschlinkert).
|
|
260
260
|
* Released under the MIT License.
|
|
261
|
-
*/var
|
|
261
|
+
*/var b1,kE;function sO(){if(kE)return b1;kE=1;const{deleteProperty:e}=Reflect,t=uO(),n=oO(),i=v=>typeof v=="object"&&v!==null||typeof v=="function",r=v=>v==="__proto__"||v==="constructor"||v==="prototype",o=v=>{if(!t(v))throw new TypeError("Object keys must be strings or symbols");if(r(v))throw new Error(`Cannot set unsafe key: "${v}"`)},a=v=>Array.isArray(v)?v.flat().map(String).join(","):v,c=(v,E)=>{if(typeof v!="string"||!E)return v;let T=v+";";return E.arrays!==void 0&&(T+=`arrays=${E.arrays};`),E.separator!==void 0&&(T+=`separator=${E.separator};`),E.split!==void 0&&(T+=`split=${E.split};`),E.merge!==void 0&&(T+=`merge=${E.merge};`),E.preservePaths!==void 0&&(T+=`preservePaths=${E.preservePaths};`),T},f=(v,E,T)=>{const S=a(E?c(v,E):v);o(S);const A=y.cache.get(S)||T();return y.cache.set(S,A),A},h=(v,E={})=>{const T=E.separator||".",S=T==="/"?!1:E.preservePaths;if(typeof v=="string"&&S!==!1&&/\//.test(v))return[v];const A=[];let D="";const C=N=>{let O;N.trim()!==""&&Number.isInteger(O=Number(N))?A.push(O):A.push(N)};for(let N=0;N<v.length;N++){const O=v[N];if(O==="\\"){D+=v[++N];continue}if(O===T){C(D),D="";continue}D+=O}return D&&C(D),A},p=(v,E)=>E&&typeof E.split=="function"?E.split(v):typeof v=="symbol"?[v]:Array.isArray(v)?v:f(v,E,()=>h(v,E)),g=(v,E,T,S)=>{if(o(E),T===void 0)e(v,E);else if(S&&S.merge){const A=S.merge==="function"?S.merge:Object.assign;A&&n(v[E])&&n(T)?v[E]=A(v[E],T):v[E]=T}else v[E]=T;return v},y=(v,E,T,S)=>{if(!E||!i(v))return v;const A=p(E,S);let D=v;for(let C=0;C<A.length;C++){const N=A[C],O=A[C+1];if(o(N),O===void 0){g(D,N,T,S);break}if(typeof O=="number"&&!Array.isArray(D[N])){D=D[N]=[];continue}i(D[N])||(D[N]={}),D=D[N]}return v};return y.split=p,y.cache=new Map,y.clear=()=>{y.cache=new Map},b1=y,b1}var aO=sO();const x1=Wo(aO);/*!
|
|
262
262
|
* get-value <https://github.com/jonschlinkert/get-value>
|
|
263
263
|
*
|
|
264
264
|
* Copyright (c) 2014-2018, Jon Schlinkert.
|
|
265
265
|
* Released under the MIT License.
|
|
266
|
-
*/var x1,LE;function lO(){if(LE)return x1;LE=1;const e=pT();x1=function(o,a,c){if(e(c)||(c={default:c}),!r(o))return typeof c.default<"u"?c.default:o;typeof a=="number"&&(a=String(a));const f=Array.isArray(a),h=typeof a=="string",p=c.separator||".",g=c.joinChar||(typeof p=="string"?p:".");if(!h&&!f)return o;if(h&&a in o)return i(a,o,c)?o[a]:c.default;let y=f?a:n(a,p,c),v=y.length,E=0;do{let T=y[E];for(typeof T=="number"&&(T=String(T));T&&T.slice(-1)==="\\";)T=t([T.slice(0,-1),y[++E]||""],g,c);if(T in o){if(!i(T,o,c))return c.default;o=o[T]}else{let S=!1,A=E+1;for(;A<v;)if(T=t([T,y[A++]],g,c),S=T in o){if(!i(T,o,c))return c.default;o=o[T],E=A-1;break}if(!S)return c.default}}while(++E<v&&r(o));return E===v?o:c.default};function t(o,a,c){return typeof c.join=="function"?c.join(o):o[0]+a+o[1]}function n(o,a,c){return typeof c.split=="function"?c.split(o):o.split(a)}function i(o,a,c){return typeof c.isValid=="function"?c.isValid(o,a):!0}function r(o){return e(o)||Array.isArray(o)||typeof o=="function"}return x1}var cO=lO();const fO=Wo(cO);function ts(e){const t=x.createContext(null);return t.displayName=e,t}function ns(e){function t(n){var i;const r=x.useContext(e);if(r===null&&(n!=null&&n.nonNull))throw new Error(`Tried to use \`${((i=n.caller)==null?void 0:i.name)||"a component"}\` without the necessary context. Make sure to render the \`${e.displayName}Provider\` component higher up the tree.`);return r}return Object.defineProperty(t,"name",{value:`use${e.displayName}`}),t}const mT=ts("StorageContext");function dO(e){const t=ge.c(8),n=x.useRef(!0);let i;t[0]!==e.storage?(i=()=>new wm(e.storage),t[0]=e.storage,t[1]=i):i=t[1];const[r,o]=x.useState(i);let a,c;t[2]!==e.storage?(a=()=>{n.current?n.current=!1:o(new wm(e.storage))},c=[e.storage],t[2]=e.storage,t[3]=a,t[4]=c):(a=t[3],c=t[4]),x.useEffect(a,c);let f;return t[5]!==e.children||t[6]!==r?(f=_.jsx(mT.Provider,{value:r,children:e.children}),t[5]=e.children,t[6]=r,t[7]=f):f=t[7],f}const ao=ns(mT),Qg=typeof navigator<"u"&&navigator.userAgent.includes("Mac"),A0="graphiql",w0="sublime",D0={[Qg?"Cmd-F":"Ctrl-F"]:"findPersistent","Cmd-G":"findPersistent","Ctrl-G":"findPersistent","Ctrl-Left":"goSubwordLeft","Ctrl-Right":"goSubwordRight","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight"};async function Fc(e,t){const n=await We(()=>import("./codemirror-Tc_3P_x1.js").then(i=>i.c),__vite__mapDeps([0,1])).then(i=>typeof i=="function"?i:i.default);return await Promise.all((t==null?void 0:t.useCommonAddons)===!1?e:[We(()=>import("./show-hint-3AOGYrK9.js").then(i=>i.s),__vite__mapDeps([2,1])),We(()=>import("./matchbrackets-CznKsy27.js").then(i=>i.m),__vite__mapDeps([3,4,1])),We(()=>import("./closebrackets-3DDxSZfS.js").then(i=>i.c),__vite__mapDeps([5,1])),We(()=>import("./brace-fold-DRY9I3kG.js").then(i=>i.b),__vite__mapDeps([6,1])),We(()=>import("./foldgutter-Bd70Ylmw.js").then(i=>i.f),__vite__mapDeps([7,1])),We(()=>import("./lint-ChBsGYZa.js").then(i=>i.l),__vite__mapDeps([8,1])),We(()=>import("./searchcursor-_ZFWpA3w.js").then(i=>i.s),__vite__mapDeps([9,10,1])),We(()=>import("./jump-to-line-C2CXtcBk.js").then(i=>i.j),__vite__mapDeps([11,1,12])),We(()=>import("./dialog-CLvGWxga.js").then(i=>i.d),__vite__mapDeps([13,12,1])),We(()=>import("./sublime-BPaNuiRD.js").then(i=>i.s),__vite__mapDeps([14,1,10,4])),...e]),n}var E1,IE;function hO(){return IE||(IE=1,E1=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],i=0;i<e.rangeCount;i++)n.push(e.getRangeAt(i));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null;break}return e.removeAllRanges(),function(){e.type==="Caret"&&e.removeAllRanges(),e.rangeCount||n.forEach(function(r){e.addRange(r)}),t&&t.focus()}}),E1}var T1,FE;function pO(){if(FE)return T1;FE=1;var e=hO(),t={"text/plain":"Text","text/html":"Url",default:"Text"},n="Copy to clipboard: #{key}, Enter";function i(o){var a=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return o.replace(/#{\s*key\s*}/g,a)}function r(o,a){var c,f,h,p,g,y,v=!1;a||(a={}),c=a.debug||!1;try{h=e(),p=document.createRange(),g=document.getSelection(),y=document.createElement("span"),y.textContent=o,y.ariaHidden="true",y.style.all="unset",y.style.position="fixed",y.style.top=0,y.style.clip="rect(0, 0, 0, 0)",y.style.whiteSpace="pre",y.style.webkitUserSelect="text",y.style.MozUserSelect="text",y.style.msUserSelect="text",y.style.userSelect="text",y.addEventListener("copy",function(T){if(T.stopPropagation(),a.format)if(T.preventDefault(),typeof T.clipboardData>"u"){c&&console.warn("unable to use e.clipboardData"),c&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var S=t[a.format]||t.default;window.clipboardData.setData(S,o)}else T.clipboardData.clearData(),T.clipboardData.setData(a.format,o);a.onCopy&&(T.preventDefault(),a.onCopy(T.clipboardData))}),document.body.appendChild(y),p.selectNodeContents(y),g.addRange(p);var E=document.execCommand("copy");if(!E)throw new Error("copy command was unsuccessful");v=!0}catch(T){c&&console.error("unable to copy using execCommand: ",T),c&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(a.format||"text",o),a.onCopy&&a.onCopy(window.clipboardData),v=!0}catch(S){c&&console.error("unable to copy using clipboardData: ",S),c&&console.error("falling back to prompt"),f=i("message"in a?a.message:n),window.prompt(f,o)}}finally{g&&(typeof g.removeRange=="function"?g.removeRange(p):g.removeAllRanges()),y&&document.body.removeChild(y),h()}return v}return T1=r,T1}var mO=pO();const gO=Wo(mO),gT=ts("PluginContext"),vO=e=>{const t=ge.c(24),{onTogglePluginVisibility:n,children:i,visiblePlugin:r,plugins:o,referencePlugin:a}=e,c=ao();let f,h;if(t[0]!==o){h=[];const O={};for(const k of o||[]){if(typeof k.title!="string"||!k.title)throw new Error("All GraphiQL plugins must have a unique title");if(O[k.title])throw new Error(`All GraphiQL plugins must have a unique title, found two plugins with the title '${k.title}'`);h.push(k),O[k.title]=!0}t[0]=o,t[1]=h}else h=t[1];f=h;const p=f;let g;t[2]!==p||t[3]!==c||t[4]!==r?(g=()=>{const O=c==null?void 0:c.get(jE),k=p.find(I=>I.title===O);return k||(O&&(c==null||c.set(jE,"")),r&&p.find(I=>(typeof r=="string"?I.title:I)===r)||null)},t[2]=p,t[3]=c,t[4]=r,t[5]=g):g=t[5];const[y,v]=x.useState(g);let E;t[6]!==n||t[7]!==p?(E=O=>{const k=O&&p.find(I=>(typeof O=="string"?I.title:I)===O)||null;v(I=>k===I?I:(n==null||n(k),k))},t[6]=n,t[7]=p,t[8]=E):E=t[8];const T=E;let S;t[9]!==T||t[10]!==r?(S=()=>{r&&T(r)},t[9]=T,t[10]=r,t[11]=S):S=t[11];let A;t[12]!==p||t[13]!==T||t[14]!==r?(A=[p,r,T],t[12]=p,t[13]=T,t[14]=r,t[15]=A):A=t[15],x.useEffect(S,A);let D;t[16]!==y||t[17]!==p||t[18]!==a||t[19]!==T?(D={plugins:p,setVisiblePlugin:T,visiblePlugin:y,referencePlugin:a},t[16]=y,t[17]=p,t[18]=a,t[19]=T,t[20]=D):D=t[20];const C=D;let N;return t[21]!==i||t[22]!==C?(N=_.jsx(gT.Provider,{value:C,children:i}),t[21]=i,t[22]=C,t[23]=N):N=t[23],N},N0=ns(gT),jE="visiblePlugin",vT=ts("SchemaContext"),yT=e=>{const t=ge.c(41);let n,i,r,o,a;if(t[0]!==e?({fetcher:r,onSchemaChange:o,dangerouslyAssumeSchemaIsValid:i,children:n,...a}=e,t[0]=e,t[1]=n,t[2]=i,t[3]=r,t[4]=o,t[5]=a):(n=t[1],i=t[2],r=t[3],o=t[4],a=t[5]),!r)throw new TypeError("The `SchemaContextProvider` component requires a `fetcher` function to be passed as prop.");let c;t[6]===Symbol.for("react.memo_cache_sentinel")?(c={nonNull:!0,caller:yT},t[6]=c):c=t[6];const{initialHeaders:f,headerEditor:h}=bn(c),[p,g]=x.useState(),[y,v]=x.useState(!1),[E,T]=x.useState(null),[S,A]=x.useState(null),D=x.useRef(0);let C,N;t[7]!==a.schema?(C=()=>{g(_m(a.schema)||a.schema==null?a.schema:void 0),D.current=D.current+1},N=[a.schema],t[7]=a.schema,t[8]=C,t[9]=N):(C=t[8],N=t[9]),x.useEffect(C,N);const O=x.useRef(f);let k;t[10]!==h?(k=()=>{h&&(O.current=h.getValue())},t[10]=h,t[11]=k):k=t[11],x.useEffect(k);let I;t[12]!==a.inputValueDeprecation||t[13]!==a.introspectionQueryName||t[14]!==a.schemaDescription?(I={inputValueDeprecation:a.inputValueDeprecation,introspectionQueryName:a.introspectionQueryName,schemaDescription:a.schemaDescription},t[12]=a.inputValueDeprecation,t[13]=a.introspectionQueryName,t[14]=a.schemaDescription,t[15]=I):I=t[15];const{introspectionQuery:P,introspectionQueryName:L,introspectionQuerySansSubscriptions:B}=yO(I);let z;t[16]!==r||t[17]!==P||t[18]!==L||t[19]!==B||t[20]!==o||t[21]!==a.schema?(z=()=>{if(_m(a.schema)||a.schema===null)return;const q=D.current=D.current+1,ie=a.schema;(async function(){if(ie)return ie;const pe=bO(O.current);if(!pe.isValidJSON){T("Introspection failed as headers are invalid.");return}const oe=pe.headers?{headers:pe.headers}:{},le=ox(r({query:P,operationName:L},oe));if(!ux(le)){T("Fetcher did not return a Promise for introspection.");return}v(!0),T(null);let ue=await le;if(typeof ue!="object"||ue===null||!("data"in ue)){const ve=ox(r({query:B,operationName:L},oe));if(!ux(ve))throw new Error("Fetcher did not return a Promise for introspection.");ue=await ve}if(v(!1),ue!=null&&ue.data&&"__schema"in ue.data)return ue.data;const me=typeof ue=="string"?ue:Am(ue);T(me)})().then(Y=>{if(!(q!==D.current||!Y))try{const pe=$D(Y);g(pe),o&&o(pe)}catch(pe){T(dc(pe))}}).catch(Y=>{q===D.current&&(T(dc(Y)),v(!1))})},t[16]=r,t[17]=P,t[18]=L,t[19]=B,t[20]=o,t[21]=a.schema,t[22]=z):z=t[22];const te=z;let re,fe;t[23]!==te?(re=()=>{te()},fe=[te],t[23]=te,t[24]=re,t[25]=fe):(re=t[24],fe=t[25]),x.useEffect(re,fe);let X;t[26]!==te?(X=()=>{const q=function(ne){ne.ctrlKey&&ne.key==="R"&&te()};return window.addEventListener("keydown",q),()=>{window.removeEventListener("keydown",q)}},t[26]=te,t[27]=X):X=t[27],x.useEffect(X);let F;t[28]!==i||t[29]!==p?(F=!p||i?[]:iT(p),t[28]=i,t[29]=p,t[30]=F):F=t[30];const H=F;let $;t[31]!==E||t[32]!==te||t[33]!==y||t[34]!==p||t[35]!==S||t[36]!==H?($={fetchError:E,introspect:te,isFetching:y,schema:p,validationErrors:H,schemaReference:S,setSchemaReference:A},t[31]=E,t[32]=te,t[33]=y,t[34]=p,t[35]=S,t[36]=H,t[37]=$):$=t[37];const V=$;let M;return t[38]!==n||t[39]!==V?(M=_.jsx(vT.Provider,{value:V,children:n}),t[38]=n,t[39]=V,t[40]=M):M=t[40],M},Dr=ns(vT);function yO({inputValueDeprecation:e,introspectionQueryName:t,schemaDescription:n}){const i=t||"IntrospectionQuery";let r=BD({inputValueDeprecation:e,schemaDescription:n});t&&(r=r.replace("query IntrospectionQuery",`query ${i}`));const o=r.replace("subscriptionType { name }","");return{introspectionQueryName:i,introspectionQuery:r,introspectionQuerySansSubscriptions:o}}function bO(e){let t=null,n=!0;try{e&&(t=JSON.parse(e))}catch{n=!1}return{headers:t,isValidJSON:n}}const PE={};function xO(e){let t=PE[e];if(t)return t;t=PE[e]=[];for(let n=0;n<128;n++){const i=String.fromCharCode(n);t.push(i)}for(let n=0;n<e.length;n++){const i=e.charCodeAt(n);t[i]="%"+("0"+i.toString(16).toUpperCase()).slice(-2)}return t}function ya(e,t){typeof t!="string"&&(t=ya.defaultChars);const n=xO(t);return e.replace(/(%[a-f0-9]{2})+/gi,function(i){let r="";for(let o=0,a=i.length;o<a;o+=3){const c=parseInt(i.slice(o+1,o+3),16);if(c<128){r+=n[c];continue}if((c&224)===192&&o+3<a){const f=parseInt(i.slice(o+4,o+6),16);if((f&192)===128){const h=c<<6&1984|f&63;h<128?r+="��":r+=String.fromCharCode(h),o+=3;continue}}if((c&240)===224&&o+6<a){const f=parseInt(i.slice(o+4,o+6),16),h=parseInt(i.slice(o+7,o+9),16);if((f&192)===128&&(h&192)===128){const p=c<<12&61440|f<<6&4032|h&63;p<2048||p>=55296&&p<=57343?r+="���":r+=String.fromCharCode(p),o+=6;continue}}if((c&248)===240&&o+9<a){const f=parseInt(i.slice(o+4,o+6),16),h=parseInt(i.slice(o+7,o+9),16),p=parseInt(i.slice(o+10,o+12),16);if((f&192)===128&&(h&192)===128&&(p&192)===128){let g=c<<18&1835008|f<<12&258048|h<<6&4032|p&63;g<65536||g>1114111?r+="����":(g-=65536,r+=String.fromCharCode(55296+(g>>10),56320+(g&1023))),o+=9;continue}}r+="�"}return r})}ya.defaultChars=";/?:@&=+$,#";ya.componentChars="";const VE={};function EO(e){let t=VE[e];if(t)return t;t=VE[e]=[];for(let n=0;n<128;n++){const i=String.fromCharCode(n);/^[0-9a-z]$/i.test(i)?t.push(i):t.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2))}for(let n=0;n<e.length;n++)t[e.charCodeAt(n)]=e[n];return t}function jc(e,t,n){typeof t!="string"&&(n=t,t=jc.defaultChars),typeof n>"u"&&(n=!0);const i=EO(t);let r="";for(let o=0,a=e.length;o<a;o++){const c=e.charCodeAt(o);if(n&&c===37&&o+2<a&&/^[0-9a-f]{2}$/i.test(e.slice(o+1,o+3))){r+=e.slice(o,o+3),o+=2;continue}if(c<128){r+=i[c];continue}if(c>=55296&&c<=57343){if(c>=55296&&c<=56319&&o+1<a){const f=e.charCodeAt(o+1);if(f>=56320&&f<=57343){r+=encodeURIComponent(e[o]+e[o+1]),o++;continue}}r+="%EF%BF%BD";continue}r+=encodeURIComponent(e[o])}return r}jc.defaultChars=";/?:@&=+$,-_.!~*'()#";jc.componentChars="-_.!~*'()";function Xg(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t}function Kd(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const TO=/^([a-z0-9.+-]+:)/i,SO=/:[0-9]*$/,_O=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,CO=["<",">",'"',"`"," ","\r",`
|
|
267
|
-
`," "],AO=["{","}","|","\\","^","`"].concat(CO),wO=["'"].concat(AO),BE=["%","/","?",";","#"].concat(wO),$E=["/","?","#"],DO=255,UE=/^[+a-z0-9A-Z_-]{0,63}$/,NO=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,zE={javascript:!0,"javascript:":!0},HE={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Zg(e,t){if(e&&e instanceof Kd)return e;const n=new Kd;return n.parse(e,t),n}Kd.prototype.parse=function(e,t){let n,i,r,o=e;if(o=o.trim(),!t&&e.split("#").length===1){const h=_O.exec(o);if(h)return this.pathname=h[1],h[2]&&(this.search=h[2]),this}let a=TO.exec(o);if(a&&(a=a[0],n=a.toLowerCase(),this.protocol=a,o=o.substr(a.length)),(t||a||o.match(/^\/\/[^@\/]+@[^@\/]+/))&&(r=o.substr(0,2)==="//",r&&!(a&&zE[a])&&(o=o.substr(2),this.slashes=!0)),!zE[a]&&(r||a&&!HE[a])){let h=-1;for(let E=0;E<$E.length;E++)i=o.indexOf($E[E]),i!==-1&&(h===-1||i<h)&&(h=i);let p,g;h===-1?g=o.lastIndexOf("@"):g=o.lastIndexOf("@",h),g!==-1&&(p=o.slice(0,g),o=o.slice(g+1),this.auth=p),h=-1;for(let E=0;E<BE.length;E++)i=o.indexOf(BE[E]),i!==-1&&(h===-1||i<h)&&(h=i);h===-1&&(h=o.length),o[h-1]===":"&&h--;const y=o.slice(0,h);o=o.slice(h),this.parseHost(y),this.hostname=this.hostname||"";const v=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!v){const E=this.hostname.split(/\./);for(let T=0,S=E.length;T<S;T++){const A=E[T];if(A&&!A.match(UE)){let D="";for(let C=0,N=A.length;C<N;C++)A.charCodeAt(C)>127?D+="x":D+=A[C];if(!D.match(UE)){const C=E.slice(0,T),N=E.slice(T+1),O=A.match(NO);O&&(C.push(O[1]),N.unshift(O[2])),N.length&&(o=N.join(".")+o),this.hostname=C.join(".");break}}}}this.hostname.length>DO&&(this.hostname=""),v&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const c=o.indexOf("#");c!==-1&&(this.hash=o.substr(c),o=o.slice(0,c));const f=o.indexOf("?");return f!==-1&&(this.search=o.substr(f),o=o.slice(0,f)),o&&(this.pathname=o),HE[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this};Kd.prototype.parseHost=function(e){let t=SO.exec(e);t&&(t=t[0],t!==":"&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};const OO=Object.freeze(Object.defineProperty({__proto__:null,decode:ya,encode:jc,format:Xg,parse:Zg},Symbol.toStringTag,{value:"Module"})),bT=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,xT=/[\0-\x1F\x7F-\x9F]/,RO=/[\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]/,Wg=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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]/,ET=/[\$\+<->\^`\|~\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\uDF3F|\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]/,TT=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,MO=Object.freeze(Object.defineProperty({__proto__:null,Any:bT,Cc:xT,Cf:RO,P:Wg,S:ET,Z:TT},Symbol.toStringTag,{value:"Module"})),kO=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſ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;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊ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;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦ր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áΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢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;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹ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;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ā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ã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;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耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Ā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㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),LO=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var S1;const IO=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]]),FO=(S1=String.fromCodePoint)!==null&&S1!==void 0?S1:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function jO(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=IO.get(e))!==null&&t!==void 0?t:e}var an;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(an||(an={}));const PO=32;var eo;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(eo||(eo={}));function zm(e){return e>=an.ZERO&&e<=an.NINE}function VO(e){return e>=an.UPPER_A&&e<=an.UPPER_F||e>=an.LOWER_A&&e<=an.LOWER_F}function BO(e){return e>=an.UPPER_A&&e<=an.UPPER_Z||e>=an.LOWER_A&&e<=an.LOWER_Z||zm(e)}function $O(e){return e===an.EQUALS||BO(e)}var rn;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(rn||(rn={}));var Ju;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Ju||(Ju={}));class UO{constructor(t,n,i){this.decodeTree=t,this.emitCodePoint=n,this.errors=i,this.state=rn.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Ju.Strict}startEntity(t){this.decodeMode=t,this.state=rn.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case rn.EntityStart:return t.charCodeAt(n)===an.NUM?(this.state=rn.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=rn.NamedEntity,this.stateNamedEntity(t,n));case rn.NumericStart:return this.stateNumericStart(t,n);case rn.NumericDecimal:return this.stateNumericDecimal(t,n);case rn.NumericHex:return this.stateNumericHex(t,n);case rn.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|PO)===an.LOWER_X?(this.state=rn.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=rn.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,i,r){if(n!==i){const o=i-n;this.result=this.result*Math.pow(r,o)+parseInt(t.substr(n,o),r),this.consumed+=o}}stateNumericHex(t,n){const i=n;for(;n<t.length;){const r=t.charCodeAt(n);if(zm(r)||VO(r))n+=1;else return this.addToNumericResult(t,i,n,16),this.emitNumericEntity(r,3)}return this.addToNumericResult(t,i,n,16),-1}stateNumericDecimal(t,n){const i=n;for(;n<t.length;){const r=t.charCodeAt(n);if(zm(r))n+=1;else return this.addToNumericResult(t,i,n,10),this.emitNumericEntity(r,2)}return this.addToNumericResult(t,i,n,10),-1}emitNumericEntity(t,n){var i;if(this.consumed<=n)return(i=this.errors)===null||i===void 0||i.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===an.SEMI)this.consumed+=1;else if(this.decodeMode===Ju.Strict)return 0;return this.emitCodePoint(jO(this.result),this.consumed),this.errors&&(t!==an.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,n){const{decodeTree:i}=this;let r=i[this.treeIndex],o=(r&eo.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){const a=t.charCodeAt(n);if(this.treeIndex=zO(i,r,this.treeIndex+Math.max(1,o),a),this.treeIndex<0)return this.result===0||this.decodeMode===Ju.Attribute&&(o===0||$O(a))?0:this.emitNotTerminatedNamedEntity();if(r=i[this.treeIndex],o=(r&eo.VALUE_LENGTH)>>14,o!==0){if(a===an.SEMI)return this.emitNamedEntityData(this.treeIndex,o,this.consumed+this.excess);this.decodeMode!==Ju.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:n,decodeTree:i}=this,r=(i[n]&eo.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,r,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,n,i){const{decodeTree:r}=this;return this.emitCodePoint(n===1?r[t]&~eo.VALUE_LENGTH:r[t+1],i),n===3&&this.emitCodePoint(r[t+2],i),i}end(){var t;switch(this.state){case rn.NamedEntity:return this.result!==0&&(this.decodeMode!==Ju.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case rn.NumericDecimal:return this.emitNumericEntity(0,2);case rn.NumericHex:return this.emitNumericEntity(0,3);case rn.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case rn.EntityStart:return 0}}}function ST(e){let t="";const n=new UO(e,i=>t+=FO(i));return function(r,o){let a=0,c=0;for(;(c=r.indexOf("&",c))>=0;){t+=r.slice(a,c),n.startEntity(o);const h=n.write(r,c+1);if(h<0){a=c+n.end();break}a=c+h,c=h===0?a+1:a}const f=t+r.slice(a);return t="",f}}function zO(e,t,n,i){const r=(t&eo.BRANCH_LENGTH)>>7,o=t&eo.JUMP_TABLE;if(r===0)return o!==0&&i===o?n:-1;if(o){const f=i-o;return f<0||f>=r?-1:e[n+f]-1}let a=n,c=a+r-1;for(;a<=c;){const f=a+c>>>1,h=e[f];if(h<i)a=f+1;else if(h>i)c=f-1;else return e[f+r]}return-1}const HO=ST(kO);ST(LO);function _T(e,t=Ju.Legacy){return HO(e,t)}function qO(e){return Object.prototype.toString.call(e)}function Kg(e){return qO(e)==="[object String]"}const GO=Object.prototype.hasOwnProperty;function YO(e,t){return GO.call(e,t)}function O0(e){return Array.prototype.slice.call(arguments,1).forEach(function(n){if(n){if(typeof n!="object")throw new TypeError(n+"must be object");Object.keys(n).forEach(function(i){e[i]=n[i]})}}),e}function CT(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function Jg(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534||e>=0&&e<=8||e===11||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function Jd(e){if(e>65535){e-=65536;const t=55296+(e>>10),n=56320+(e&1023);return String.fromCharCode(t,n)}return String.fromCharCode(e)}const AT=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,QO=/&([a-z#][a-z0-9]{1,31});/gi,XO=new RegExp(AT.source+"|"+QO.source,"gi"),ZO=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function WO(e,t){if(t.charCodeAt(0)===35&&ZO.test(t)){const i=t[1].toLowerCase()==="x"?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return Jg(i)?Jd(i):e}const n=_T(e);return n!==e?n:e}function KO(e){return e.indexOf("\\")<0?e:e.replace(AT,"$1")}function ba(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(XO,function(t,n,i){return n||WO(t,i)})}const JO=/[&<>"]/,eR=/[&<>"]/g,tR={"&":"&","<":"<",">":">",'"':"""};function nR(e){return tR[e]}function io(e){return JO.test(e)?e.replace(eR,nR):e}const iR=/[.?*+^$[\]\\(){}|-]/g;function rR(e){return e.replace(iR,"\\$&")}function gt(e){switch(e){case 9:case 32:return!0}return!1}function pc(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 mc(e){return Wg.test(e)||ET.test(e)}function gc(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 61: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 R0(e){return e=e.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}const uR={mdurl:OO,ucmicro:MO},oR=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:CT,assign:O0,escapeHtml:io,escapeRE:rR,fromCodePoint:Jd,has:YO,isMdAsciiPunct:gc,isPunctChar:mc,isSpace:gt,isString:Kg,isValidEntityCode:Jg,isWhiteSpace:pc,lib:uR,normalizeReference:R0,unescapeAll:ba,unescapeMd:KO},Symbol.toStringTag,{value:"Module"}));function sR(e,t,n){let i,r,o,a;const c=e.posMax,f=e.pos;for(e.pos=t+1,i=1;e.pos<c;){if(o=e.src.charCodeAt(e.pos),o===93&&(i--,i===0)){r=!0;break}if(a=e.pos,e.md.inline.skipToken(e),o===91){if(a===e.pos-1)i++;else if(n)return e.pos=f,-1}}let h=-1;return r&&(h=e.pos),e.pos=f,h}function aR(e,t,n){let i,r=t;const o={ok:!1,pos:0,str:""};if(e.charCodeAt(r)===60){for(r++;r<n;){if(i=e.charCodeAt(r),i===10||i===60)return o;if(i===62)return o.pos=r+1,o.str=ba(e.slice(t+1,r)),o.ok=!0,o;if(i===92&&r+1<n){r+=2;continue}r++}return o}let a=0;for(;r<n&&(i=e.charCodeAt(r),!(i===32||i<32||i===127));){if(i===92&&r+1<n){if(e.charCodeAt(r+1)===32)break;r+=2;continue}if(i===40&&(a++,a>32))return o;if(i===41){if(a===0)break;a--}r++}return t===r||a!==0||(o.str=ba(e.slice(t,r)),o.pos=r,o.ok=!0),o}function lR(e,t,n,i){let r,o=t;const a={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(i)a.str=i.str,a.marker=i.marker;else{if(o>=n)return a;let c=e.charCodeAt(o);if(c!==34&&c!==39&&c!==40)return a;t++,o++,c===40&&(c=41),a.marker=c}for(;o<n;){if(r=e.charCodeAt(o),r===a.marker)return a.pos=o+1,a.str+=ba(e.slice(t,o)),a.ok=!0,a;if(r===40&&a.marker===41)return a;r===92&&o+1<n&&o++,o++}return a.can_continue=!0,a.str+=ba(e.slice(t,o)),a}const cR=Object.freeze(Object.defineProperty({__proto__:null,parseLinkDestination:aR,parseLinkLabel:sR,parseLinkTitle:lR},Symbol.toStringTag,{value:"Module"})),Nr={};Nr.code_inline=function(e,t,n,i,r){const o=e[t];return"<code"+r.renderAttrs(o)+">"+io(o.content)+"</code>"};Nr.code_block=function(e,t,n,i,r){const o=e[t];return"<pre"+r.renderAttrs(o)+"><code>"+io(e[t].content)+`</code></pre>
|
|
266
|
+
*/var E1,LE;function lO(){if(LE)return E1;LE=1;const e=pT();E1=function(o,a,c){if(e(c)||(c={default:c}),!r(o))return typeof c.default<"u"?c.default:o;typeof a=="number"&&(a=String(a));const f=Array.isArray(a),h=typeof a=="string",p=c.separator||".",g=c.joinChar||(typeof p=="string"?p:".");if(!h&&!f)return o;if(h&&a in o)return i(a,o,c)?o[a]:c.default;let y=f?a:n(a,p,c),v=y.length,E=0;do{let T=y[E];for(typeof T=="number"&&(T=String(T));T&&T.slice(-1)==="\\";)T=t([T.slice(0,-1),y[++E]||""],g,c);if(T in o){if(!i(T,o,c))return c.default;o=o[T]}else{let S=!1,A=E+1;for(;A<v;)if(T=t([T,y[A++]],g,c),S=T in o){if(!i(T,o,c))return c.default;o=o[T],E=A-1;break}if(!S)return c.default}}while(++E<v&&r(o));return E===v?o:c.default};function t(o,a,c){return typeof c.join=="function"?c.join(o):o[0]+a+o[1]}function n(o,a,c){return typeof c.split=="function"?c.split(o):o.split(a)}function i(o,a,c){return typeof c.isValid=="function"?c.isValid(o,a):!0}function r(o){return e(o)||Array.isArray(o)||typeof o=="function"}return E1}var cO=lO();const fO=Wo(cO);function ts(e){const t=x.createContext(null);return t.displayName=e,t}function ns(e){function t(n){var i;const r=x.useContext(e);if(r===null&&(n!=null&&n.nonNull))throw new Error(`Tried to use \`${((i=n.caller)==null?void 0:i.name)||"a component"}\` without the necessary context. Make sure to render the \`${e.displayName}Provider\` component higher up the tree.`);return r}return Object.defineProperty(t,"name",{value:`use${e.displayName}`}),t}const mT=ts("StorageContext");function dO(e){const t=ge.c(8),n=x.useRef(!0);let i;t[0]!==e.storage?(i=()=>new Dm(e.storage),t[0]=e.storage,t[1]=i):i=t[1];const[r,o]=x.useState(i);let a,c;t[2]!==e.storage?(a=()=>{n.current?n.current=!1:o(new Dm(e.storage))},c=[e.storage],t[2]=e.storage,t[3]=a,t[4]=c):(a=t[3],c=t[4]),x.useEffect(a,c);let f;return t[5]!==e.children||t[6]!==r?(f=_.jsx(mT.Provider,{value:r,children:e.children}),t[5]=e.children,t[6]=r,t[7]=f):f=t[7],f}const ao=ns(mT),Xg=typeof navigator<"u"&&navigator.userAgent.includes("Mac"),A0="graphiql",w0="sublime",D0={[Xg?"Cmd-F":"Ctrl-F"]:"findPersistent","Cmd-G":"findPersistent","Ctrl-G":"findPersistent","Ctrl-Left":"goSubwordLeft","Ctrl-Right":"goSubwordRight","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight"};async function Fc(e,t){const n=await We(()=>import("./codemirror-s7RqOvtc.js").then(i=>i.c),__vite__mapDeps([0,1])).then(i=>typeof i=="function"?i:i.default);return await Promise.all((t==null?void 0:t.useCommonAddons)===!1?e:[We(()=>import("./show-hint-CD13Xkku.js").then(i=>i.s),__vite__mapDeps([2,1])),We(()=>import("./matchbrackets-DcI6Xjhe.js").then(i=>i.m),__vite__mapDeps([3,4,1])),We(()=>import("./closebrackets-D9IC1c35.js").then(i=>i.c),__vite__mapDeps([5,1])),We(()=>import("./brace-fold-CbvXwIyh.js").then(i=>i.b),__vite__mapDeps([6,1])),We(()=>import("./foldgutter-CNvWBdVI.js").then(i=>i.f),__vite__mapDeps([7,1])),We(()=>import("./lint-B2CUTgTB.js").then(i=>i.l),__vite__mapDeps([8,1])),We(()=>import("./searchcursor-CHMRisY0.js").then(i=>i.s),__vite__mapDeps([9,10,1])),We(()=>import("./jump-to-line-Hq5vq2W4.js").then(i=>i.j),__vite__mapDeps([11,1,12])),We(()=>import("./dialog-74yvRjdg.js").then(i=>i.d),__vite__mapDeps([13,12,1])),We(()=>import("./sublime-2ochNaKe.js").then(i=>i.s),__vite__mapDeps([14,1,10,4])),...e]),n}var T1,IE;function hO(){return IE||(IE=1,T1=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],i=0;i<e.rangeCount;i++)n.push(e.getRangeAt(i));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null;break}return e.removeAllRanges(),function(){e.type==="Caret"&&e.removeAllRanges(),e.rangeCount||n.forEach(function(r){e.addRange(r)}),t&&t.focus()}}),T1}var S1,FE;function pO(){if(FE)return S1;FE=1;var e=hO(),t={"text/plain":"Text","text/html":"Url",default:"Text"},n="Copy to clipboard: #{key}, Enter";function i(o){var a=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return o.replace(/#{\s*key\s*}/g,a)}function r(o,a){var c,f,h,p,g,y,v=!1;a||(a={}),c=a.debug||!1;try{h=e(),p=document.createRange(),g=document.getSelection(),y=document.createElement("span"),y.textContent=o,y.ariaHidden="true",y.style.all="unset",y.style.position="fixed",y.style.top=0,y.style.clip="rect(0, 0, 0, 0)",y.style.whiteSpace="pre",y.style.webkitUserSelect="text",y.style.MozUserSelect="text",y.style.msUserSelect="text",y.style.userSelect="text",y.addEventListener("copy",function(T){if(T.stopPropagation(),a.format)if(T.preventDefault(),typeof T.clipboardData>"u"){c&&console.warn("unable to use e.clipboardData"),c&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var S=t[a.format]||t.default;window.clipboardData.setData(S,o)}else T.clipboardData.clearData(),T.clipboardData.setData(a.format,o);a.onCopy&&(T.preventDefault(),a.onCopy(T.clipboardData))}),document.body.appendChild(y),p.selectNodeContents(y),g.addRange(p);var E=document.execCommand("copy");if(!E)throw new Error("copy command was unsuccessful");v=!0}catch(T){c&&console.error("unable to copy using execCommand: ",T),c&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(a.format||"text",o),a.onCopy&&a.onCopy(window.clipboardData),v=!0}catch(S){c&&console.error("unable to copy using clipboardData: ",S),c&&console.error("falling back to prompt"),f=i("message"in a?a.message:n),window.prompt(f,o)}}finally{g&&(typeof g.removeRange=="function"?g.removeRange(p):g.removeAllRanges()),y&&document.body.removeChild(y),h()}return v}return S1=r,S1}var mO=pO();const gO=Wo(mO),gT=ts("PluginContext"),vO=e=>{const t=ge.c(24),{onTogglePluginVisibility:n,children:i,visiblePlugin:r,plugins:o,referencePlugin:a}=e,c=ao();let f,h;if(t[0]!==o){h=[];const O={};for(const k of o||[]){if(typeof k.title!="string"||!k.title)throw new Error("All GraphiQL plugins must have a unique title");if(O[k.title])throw new Error(`All GraphiQL plugins must have a unique title, found two plugins with the title '${k.title}'`);h.push(k),O[k.title]=!0}t[0]=o,t[1]=h}else h=t[1];f=h;const p=f;let g;t[2]!==p||t[3]!==c||t[4]!==r?(g=()=>{const O=c==null?void 0:c.get(jE),k=p.find(I=>I.title===O);return k||(O&&(c==null||c.set(jE,"")),r&&p.find(I=>(typeof r=="string"?I.title:I)===r)||null)},t[2]=p,t[3]=c,t[4]=r,t[5]=g):g=t[5];const[y,v]=x.useState(g);let E;t[6]!==n||t[7]!==p?(E=O=>{const k=O&&p.find(I=>(typeof O=="string"?I.title:I)===O)||null;v(I=>k===I?I:(n==null||n(k),k))},t[6]=n,t[7]=p,t[8]=E):E=t[8];const T=E;let S;t[9]!==T||t[10]!==r?(S=()=>{r&&T(r)},t[9]=T,t[10]=r,t[11]=S):S=t[11];let A;t[12]!==p||t[13]!==T||t[14]!==r?(A=[p,r,T],t[12]=p,t[13]=T,t[14]=r,t[15]=A):A=t[15],x.useEffect(S,A);let D;t[16]!==y||t[17]!==p||t[18]!==a||t[19]!==T?(D={plugins:p,setVisiblePlugin:T,visiblePlugin:y,referencePlugin:a},t[16]=y,t[17]=p,t[18]=a,t[19]=T,t[20]=D):D=t[20];const C=D;let N;return t[21]!==i||t[22]!==C?(N=_.jsx(gT.Provider,{value:C,children:i}),t[21]=i,t[22]=C,t[23]=N):N=t[23],N},N0=ns(gT),jE="visiblePlugin",vT=ts("SchemaContext"),yT=e=>{const t=ge.c(41);let n,i,r,o,a;if(t[0]!==e?({fetcher:r,onSchemaChange:o,dangerouslyAssumeSchemaIsValid:i,children:n,...a}=e,t[0]=e,t[1]=n,t[2]=i,t[3]=r,t[4]=o,t[5]=a):(n=t[1],i=t[2],r=t[3],o=t[4],a=t[5]),!r)throw new TypeError("The `SchemaContextProvider` component requires a `fetcher` function to be passed as prop.");let c;t[6]===Symbol.for("react.memo_cache_sentinel")?(c={nonNull:!0,caller:yT},t[6]=c):c=t[6];const{initialHeaders:f,headerEditor:h}=bn(c),[p,g]=x.useState(),[y,v]=x.useState(!1),[E,T]=x.useState(null),[S,A]=x.useState(null),D=x.useRef(0);let C,N;t[7]!==a.schema?(C=()=>{g(Cm(a.schema)||a.schema==null?a.schema:void 0),D.current=D.current+1},N=[a.schema],t[7]=a.schema,t[8]=C,t[9]=N):(C=t[8],N=t[9]),x.useEffect(C,N);const O=x.useRef(f);let k;t[10]!==h?(k=()=>{h&&(O.current=h.getValue())},t[10]=h,t[11]=k):k=t[11],x.useEffect(k);let I;t[12]!==a.inputValueDeprecation||t[13]!==a.introspectionQueryName||t[14]!==a.schemaDescription?(I={inputValueDeprecation:a.inputValueDeprecation,introspectionQueryName:a.introspectionQueryName,schemaDescription:a.schemaDescription},t[12]=a.inputValueDeprecation,t[13]=a.introspectionQueryName,t[14]=a.schemaDescription,t[15]=I):I=t[15];const{introspectionQuery:P,introspectionQueryName:L,introspectionQuerySansSubscriptions:B}=yO(I);let z;t[16]!==r||t[17]!==P||t[18]!==L||t[19]!==B||t[20]!==o||t[21]!==a.schema?(z=()=>{if(Cm(a.schema)||a.schema===null)return;const q=D.current=D.current+1,ie=a.schema;(async function(){if(ie)return ie;const pe=bO(O.current);if(!pe.isValidJSON){T("Introspection failed as headers are invalid.");return}const oe=pe.headers?{headers:pe.headers}:{},le=ox(r({query:P,operationName:L},oe));if(!ux(le)){T("Fetcher did not return a Promise for introspection.");return}v(!0),T(null);let ue=await le;if(typeof ue!="object"||ue===null||!("data"in ue)){const ve=ox(r({query:B,operationName:L},oe));if(!ux(ve))throw new Error("Fetcher did not return a Promise for introspection.");ue=await ve}if(v(!1),ue!=null&&ue.data&&"__schema"in ue.data)return ue.data;const me=typeof ue=="string"?ue:wm(ue);T(me)})().then(Y=>{if(!(q!==D.current||!Y))try{const pe=$D(Y);g(pe),o&&o(pe)}catch(pe){T(dc(pe))}}).catch(Y=>{q===D.current&&(T(dc(Y)),v(!1))})},t[16]=r,t[17]=P,t[18]=L,t[19]=B,t[20]=o,t[21]=a.schema,t[22]=z):z=t[22];const te=z;let re,fe;t[23]!==te?(re=()=>{te()},fe=[te],t[23]=te,t[24]=re,t[25]=fe):(re=t[24],fe=t[25]),x.useEffect(re,fe);let X;t[26]!==te?(X=()=>{const q=function(ne){ne.ctrlKey&&ne.key==="R"&&te()};return window.addEventListener("keydown",q),()=>{window.removeEventListener("keydown",q)}},t[26]=te,t[27]=X):X=t[27],x.useEffect(X);let F;t[28]!==i||t[29]!==p?(F=!p||i?[]:iT(p),t[28]=i,t[29]=p,t[30]=F):F=t[30];const H=F;let $;t[31]!==E||t[32]!==te||t[33]!==y||t[34]!==p||t[35]!==S||t[36]!==H?($={fetchError:E,introspect:te,isFetching:y,schema:p,validationErrors:H,schemaReference:S,setSchemaReference:A},t[31]=E,t[32]=te,t[33]=y,t[34]=p,t[35]=S,t[36]=H,t[37]=$):$=t[37];const V=$;let M;return t[38]!==n||t[39]!==V?(M=_.jsx(vT.Provider,{value:V,children:n}),t[38]=n,t[39]=V,t[40]=M):M=t[40],M},Dr=ns(vT);function yO({inputValueDeprecation:e,introspectionQueryName:t,schemaDescription:n}){const i=t||"IntrospectionQuery";let r=BD({inputValueDeprecation:e,schemaDescription:n});t&&(r=r.replace("query IntrospectionQuery",`query ${i}`));const o=r.replace("subscriptionType { name }","");return{introspectionQueryName:i,introspectionQuery:r,introspectionQuerySansSubscriptions:o}}function bO(e){let t=null,n=!0;try{e&&(t=JSON.parse(e))}catch{n=!1}return{headers:t,isValidJSON:n}}const PE={};function xO(e){let t=PE[e];if(t)return t;t=PE[e]=[];for(let n=0;n<128;n++){const i=String.fromCharCode(n);t.push(i)}for(let n=0;n<e.length;n++){const i=e.charCodeAt(n);t[i]="%"+("0"+i.toString(16).toUpperCase()).slice(-2)}return t}function ya(e,t){typeof t!="string"&&(t=ya.defaultChars);const n=xO(t);return e.replace(/(%[a-f0-9]{2})+/gi,function(i){let r="";for(let o=0,a=i.length;o<a;o+=3){const c=parseInt(i.slice(o+1,o+3),16);if(c<128){r+=n[c];continue}if((c&224)===192&&o+3<a){const f=parseInt(i.slice(o+4,o+6),16);if((f&192)===128){const h=c<<6&1984|f&63;h<128?r+="��":r+=String.fromCharCode(h),o+=3;continue}}if((c&240)===224&&o+6<a){const f=parseInt(i.slice(o+4,o+6),16),h=parseInt(i.slice(o+7,o+9),16);if((f&192)===128&&(h&192)===128){const p=c<<12&61440|f<<6&4032|h&63;p<2048||p>=55296&&p<=57343?r+="���":r+=String.fromCharCode(p),o+=6;continue}}if((c&248)===240&&o+9<a){const f=parseInt(i.slice(o+4,o+6),16),h=parseInt(i.slice(o+7,o+9),16),p=parseInt(i.slice(o+10,o+12),16);if((f&192)===128&&(h&192)===128&&(p&192)===128){let g=c<<18&1835008|f<<12&258048|h<<6&4032|p&63;g<65536||g>1114111?r+="����":(g-=65536,r+=String.fromCharCode(55296+(g>>10),56320+(g&1023))),o+=9;continue}}r+="�"}return r})}ya.defaultChars=";/?:@&=+$,#";ya.componentChars="";const VE={};function EO(e){let t=VE[e];if(t)return t;t=VE[e]=[];for(let n=0;n<128;n++){const i=String.fromCharCode(n);/^[0-9a-z]$/i.test(i)?t.push(i):t.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2))}for(let n=0;n<e.length;n++)t[e.charCodeAt(n)]=e[n];return t}function jc(e,t,n){typeof t!="string"&&(n=t,t=jc.defaultChars),typeof n>"u"&&(n=!0);const i=EO(t);let r="";for(let o=0,a=e.length;o<a;o++){const c=e.charCodeAt(o);if(n&&c===37&&o+2<a&&/^[0-9a-f]{2}$/i.test(e.slice(o+1,o+3))){r+=e.slice(o,o+3),o+=2;continue}if(c<128){r+=i[c];continue}if(c>=55296&&c<=57343){if(c>=55296&&c<=56319&&o+1<a){const f=e.charCodeAt(o+1);if(f>=56320&&f<=57343){r+=encodeURIComponent(e[o]+e[o+1]),o++;continue}}r+="%EF%BF%BD";continue}r+=encodeURIComponent(e[o])}return r}jc.defaultChars=";/?:@&=+$,-_.!~*'()#";jc.componentChars="-_.!~*'()";function Zg(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t}function Kd(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const TO=/^([a-z0-9.+-]+:)/i,SO=/:[0-9]*$/,_O=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,CO=["<",">",'"',"`"," ","\r",`
|
|
267
|
+
`," "],AO=["{","}","|","\\","^","`"].concat(CO),wO=["'"].concat(AO),BE=["%","/","?",";","#"].concat(wO),$E=["/","?","#"],DO=255,UE=/^[+a-z0-9A-Z_-]{0,63}$/,NO=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,zE={javascript:!0,"javascript:":!0},HE={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Wg(e,t){if(e&&e instanceof Kd)return e;const n=new Kd;return n.parse(e,t),n}Kd.prototype.parse=function(e,t){let n,i,r,o=e;if(o=o.trim(),!t&&e.split("#").length===1){const h=_O.exec(o);if(h)return this.pathname=h[1],h[2]&&(this.search=h[2]),this}let a=TO.exec(o);if(a&&(a=a[0],n=a.toLowerCase(),this.protocol=a,o=o.substr(a.length)),(t||a||o.match(/^\/\/[^@\/]+@[^@\/]+/))&&(r=o.substr(0,2)==="//",r&&!(a&&zE[a])&&(o=o.substr(2),this.slashes=!0)),!zE[a]&&(r||a&&!HE[a])){let h=-1;for(let E=0;E<$E.length;E++)i=o.indexOf($E[E]),i!==-1&&(h===-1||i<h)&&(h=i);let p,g;h===-1?g=o.lastIndexOf("@"):g=o.lastIndexOf("@",h),g!==-1&&(p=o.slice(0,g),o=o.slice(g+1),this.auth=p),h=-1;for(let E=0;E<BE.length;E++)i=o.indexOf(BE[E]),i!==-1&&(h===-1||i<h)&&(h=i);h===-1&&(h=o.length),o[h-1]===":"&&h--;const y=o.slice(0,h);o=o.slice(h),this.parseHost(y),this.hostname=this.hostname||"";const v=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!v){const E=this.hostname.split(/\./);for(let T=0,S=E.length;T<S;T++){const A=E[T];if(A&&!A.match(UE)){let D="";for(let C=0,N=A.length;C<N;C++)A.charCodeAt(C)>127?D+="x":D+=A[C];if(!D.match(UE)){const C=E.slice(0,T),N=E.slice(T+1),O=A.match(NO);O&&(C.push(O[1]),N.unshift(O[2])),N.length&&(o=N.join(".")+o),this.hostname=C.join(".");break}}}}this.hostname.length>DO&&(this.hostname=""),v&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const c=o.indexOf("#");c!==-1&&(this.hash=o.substr(c),o=o.slice(0,c));const f=o.indexOf("?");return f!==-1&&(this.search=o.substr(f),o=o.slice(0,f)),o&&(this.pathname=o),HE[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this};Kd.prototype.parseHost=function(e){let t=SO.exec(e);t&&(t=t[0],t!==":"&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};const OO=Object.freeze(Object.defineProperty({__proto__:null,decode:ya,encode:jc,format:Zg,parse:Wg},Symbol.toStringTag,{value:"Module"})),bT=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,xT=/[\0-\x1F\x7F-\x9F]/,RO=/[\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]/,Kg=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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]/,ET=/[\$\+<->\^`\|~\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\uDF3F|\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]/,TT=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,MO=Object.freeze(Object.defineProperty({__proto__:null,Any:bT,Cc:xT,Cf:RO,P:Kg,S:ET,Z:TT},Symbol.toStringTag,{value:"Module"})),kO=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſ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;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊ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;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦ր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áΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢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;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹ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;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ā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ã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;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耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Ā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㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),LO=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var _1;const IO=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]]),FO=(_1=String.fromCodePoint)!==null&&_1!==void 0?_1:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function jO(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=IO.get(e))!==null&&t!==void 0?t:e}var an;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(an||(an={}));const PO=32;var eo;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(eo||(eo={}));function Hm(e){return e>=an.ZERO&&e<=an.NINE}function VO(e){return e>=an.UPPER_A&&e<=an.UPPER_F||e>=an.LOWER_A&&e<=an.LOWER_F}function BO(e){return e>=an.UPPER_A&&e<=an.UPPER_Z||e>=an.LOWER_A&&e<=an.LOWER_Z||Hm(e)}function $O(e){return e===an.EQUALS||BO(e)}var rn;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(rn||(rn={}));var Ju;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Ju||(Ju={}));class UO{constructor(t,n,i){this.decodeTree=t,this.emitCodePoint=n,this.errors=i,this.state=rn.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Ju.Strict}startEntity(t){this.decodeMode=t,this.state=rn.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case rn.EntityStart:return t.charCodeAt(n)===an.NUM?(this.state=rn.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=rn.NamedEntity,this.stateNamedEntity(t,n));case rn.NumericStart:return this.stateNumericStart(t,n);case rn.NumericDecimal:return this.stateNumericDecimal(t,n);case rn.NumericHex:return this.stateNumericHex(t,n);case rn.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|PO)===an.LOWER_X?(this.state=rn.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=rn.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,i,r){if(n!==i){const o=i-n;this.result=this.result*Math.pow(r,o)+parseInt(t.substr(n,o),r),this.consumed+=o}}stateNumericHex(t,n){const i=n;for(;n<t.length;){const r=t.charCodeAt(n);if(Hm(r)||VO(r))n+=1;else return this.addToNumericResult(t,i,n,16),this.emitNumericEntity(r,3)}return this.addToNumericResult(t,i,n,16),-1}stateNumericDecimal(t,n){const i=n;for(;n<t.length;){const r=t.charCodeAt(n);if(Hm(r))n+=1;else return this.addToNumericResult(t,i,n,10),this.emitNumericEntity(r,2)}return this.addToNumericResult(t,i,n,10),-1}emitNumericEntity(t,n){var i;if(this.consumed<=n)return(i=this.errors)===null||i===void 0||i.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===an.SEMI)this.consumed+=1;else if(this.decodeMode===Ju.Strict)return 0;return this.emitCodePoint(jO(this.result),this.consumed),this.errors&&(t!==an.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,n){const{decodeTree:i}=this;let r=i[this.treeIndex],o=(r&eo.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){const a=t.charCodeAt(n);if(this.treeIndex=zO(i,r,this.treeIndex+Math.max(1,o),a),this.treeIndex<0)return this.result===0||this.decodeMode===Ju.Attribute&&(o===0||$O(a))?0:this.emitNotTerminatedNamedEntity();if(r=i[this.treeIndex],o=(r&eo.VALUE_LENGTH)>>14,o!==0){if(a===an.SEMI)return this.emitNamedEntityData(this.treeIndex,o,this.consumed+this.excess);this.decodeMode!==Ju.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:n,decodeTree:i}=this,r=(i[n]&eo.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,r,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,n,i){const{decodeTree:r}=this;return this.emitCodePoint(n===1?r[t]&~eo.VALUE_LENGTH:r[t+1],i),n===3&&this.emitCodePoint(r[t+2],i),i}end(){var t;switch(this.state){case rn.NamedEntity:return this.result!==0&&(this.decodeMode!==Ju.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case rn.NumericDecimal:return this.emitNumericEntity(0,2);case rn.NumericHex:return this.emitNumericEntity(0,3);case rn.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case rn.EntityStart:return 0}}}function ST(e){let t="";const n=new UO(e,i=>t+=FO(i));return function(r,o){let a=0,c=0;for(;(c=r.indexOf("&",c))>=0;){t+=r.slice(a,c),n.startEntity(o);const h=n.write(r,c+1);if(h<0){a=c+n.end();break}a=c+h,c=h===0?a+1:a}const f=t+r.slice(a);return t="",f}}function zO(e,t,n,i){const r=(t&eo.BRANCH_LENGTH)>>7,o=t&eo.JUMP_TABLE;if(r===0)return o!==0&&i===o?n:-1;if(o){const f=i-o;return f<0||f>=r?-1:e[n+f]-1}let a=n,c=a+r-1;for(;a<=c;){const f=a+c>>>1,h=e[f];if(h<i)a=f+1;else if(h>i)c=f-1;else return e[f+r]}return-1}const HO=ST(kO);ST(LO);function _T(e,t=Ju.Legacy){return HO(e,t)}function qO(e){return Object.prototype.toString.call(e)}function Jg(e){return qO(e)==="[object String]"}const GO=Object.prototype.hasOwnProperty;function YO(e,t){return GO.call(e,t)}function O0(e){return Array.prototype.slice.call(arguments,1).forEach(function(n){if(n){if(typeof n!="object")throw new TypeError(n+"must be object");Object.keys(n).forEach(function(i){e[i]=n[i]})}}),e}function CT(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function e2(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534||e>=0&&e<=8||e===11||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function Jd(e){if(e>65535){e-=65536;const t=55296+(e>>10),n=56320+(e&1023);return String.fromCharCode(t,n)}return String.fromCharCode(e)}const AT=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,QO=/&([a-z#][a-z0-9]{1,31});/gi,XO=new RegExp(AT.source+"|"+QO.source,"gi"),ZO=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function WO(e,t){if(t.charCodeAt(0)===35&&ZO.test(t)){const i=t[1].toLowerCase()==="x"?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return e2(i)?Jd(i):e}const n=_T(e);return n!==e?n:e}function KO(e){return e.indexOf("\\")<0?e:e.replace(AT,"$1")}function ba(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(XO,function(t,n,i){return n||WO(t,i)})}const JO=/[&<>"]/,eR=/[&<>"]/g,tR={"&":"&","<":"<",">":">",'"':"""};function nR(e){return tR[e]}function io(e){return JO.test(e)?e.replace(eR,nR):e}const iR=/[.?*+^$[\]\\(){}|-]/g;function rR(e){return e.replace(iR,"\\$&")}function gt(e){switch(e){case 9:case 32:return!0}return!1}function pc(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 mc(e){return Kg.test(e)||ET.test(e)}function gc(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 61: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 R0(e){return e=e.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}const uR={mdurl:OO,ucmicro:MO},oR=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:CT,assign:O0,escapeHtml:io,escapeRE:rR,fromCodePoint:Jd,has:YO,isMdAsciiPunct:gc,isPunctChar:mc,isSpace:gt,isString:Jg,isValidEntityCode:e2,isWhiteSpace:pc,lib:uR,normalizeReference:R0,unescapeAll:ba,unescapeMd:KO},Symbol.toStringTag,{value:"Module"}));function sR(e,t,n){let i,r,o,a;const c=e.posMax,f=e.pos;for(e.pos=t+1,i=1;e.pos<c;){if(o=e.src.charCodeAt(e.pos),o===93&&(i--,i===0)){r=!0;break}if(a=e.pos,e.md.inline.skipToken(e),o===91){if(a===e.pos-1)i++;else if(n)return e.pos=f,-1}}let h=-1;return r&&(h=e.pos),e.pos=f,h}function aR(e,t,n){let i,r=t;const o={ok:!1,pos:0,str:""};if(e.charCodeAt(r)===60){for(r++;r<n;){if(i=e.charCodeAt(r),i===10||i===60)return o;if(i===62)return o.pos=r+1,o.str=ba(e.slice(t+1,r)),o.ok=!0,o;if(i===92&&r+1<n){r+=2;continue}r++}return o}let a=0;for(;r<n&&(i=e.charCodeAt(r),!(i===32||i<32||i===127));){if(i===92&&r+1<n){if(e.charCodeAt(r+1)===32)break;r+=2;continue}if(i===40&&(a++,a>32))return o;if(i===41){if(a===0)break;a--}r++}return t===r||a!==0||(o.str=ba(e.slice(t,r)),o.pos=r,o.ok=!0),o}function lR(e,t,n,i){let r,o=t;const a={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(i)a.str=i.str,a.marker=i.marker;else{if(o>=n)return a;let c=e.charCodeAt(o);if(c!==34&&c!==39&&c!==40)return a;t++,o++,c===40&&(c=41),a.marker=c}for(;o<n;){if(r=e.charCodeAt(o),r===a.marker)return a.pos=o+1,a.str+=ba(e.slice(t,o)),a.ok=!0,a;if(r===40&&a.marker===41)return a;r===92&&o+1<n&&o++,o++}return a.can_continue=!0,a.str+=ba(e.slice(t,o)),a}const cR=Object.freeze(Object.defineProperty({__proto__:null,parseLinkDestination:aR,parseLinkLabel:sR,parseLinkTitle:lR},Symbol.toStringTag,{value:"Module"})),Nr={};Nr.code_inline=function(e,t,n,i,r){const o=e[t];return"<code"+r.renderAttrs(o)+">"+io(o.content)+"</code>"};Nr.code_block=function(e,t,n,i,r){const o=e[t];return"<pre"+r.renderAttrs(o)+"><code>"+io(e[t].content)+`</code></pre>
|
|
268
268
|
`};Nr.fence=function(e,t,n,i,r){const o=e[t],a=o.info?ba(o.info).trim():"";let c="",f="";if(a){const p=a.split(/(\s+)/g);c=p[0],f=p.slice(2).join("")}let h;if(n.highlight?h=n.highlight(o.content,c,f)||io(o.content):h=io(o.content),h.indexOf("<pre")===0)return h+`
|
|
269
269
|
`;if(a){const p=o.attrIndex("class"),g=o.attrs?o.attrs.slice():[];p<0?g.push(["class",n.langPrefix+c]):(g[p]=g[p].slice(),g[p][1]+=" "+n.langPrefix+c);const y={attrs:g};return`<pre><code${r.renderAttrs(y)}>${h}</code></pre>
|
|
270
270
|
`}return`<pre><code${r.renderAttrs(o)}>${h}</code></pre>
|
|
@@ -277,8 +277,8 @@ $1`:A.name,insertTextMode:Io.adjustIndentation,insertTextFormat:ca.Snippet}))):v
|
|
|
277
277
|
`),o+=(r.nesting===-1?"</":"<")+r.tag,o+=this.renderAttrs(r),r.nesting===0&&i.xhtmlOut&&(o+=" /");let a=!1;if(r.block&&(a=!0,r.nesting===1&&n+1<t.length)){const c=t[n+1];(c.type==="inline"||c.hidden||c.nesting===-1&&c.tag===r.tag)&&(a=!1)}return o+=a?`>
|
|
278
278
|
`:">",o};Da.prototype.renderInline=function(e,t,n){let i="";const r=this.rules;for(let o=0,a=e.length;o<a;o++){const c=e[o].type;typeof r[c]<"u"?i+=r[c](e,o,t,n,this):i+=this.renderToken(e,o,t)}return i};Da.prototype.renderInlineAsText=function(e,t,n){let i="";for(let r=0,o=e.length;r<o;r++)switch(e[r].type){case"text":i+=e[r].content;break;case"image":i+=this.renderInlineAsText(e[r].children,t,n);break;case"html_inline":case"html_block":i+=e[r].content;break;case"softbreak":case"hardbreak":i+=`
|
|
279
279
|
`;break}return i};Da.prototype.render=function(e,t,n){let i="";const r=this.rules;for(let o=0,a=e.length;o<a;o++){const c=e[o].type;c==="inline"?i+=this.renderInline(e[o].children,t,n):typeof r[c]<"u"?i+=r[c](e,o,t,n,this):i+=this.renderToken(e,o,t,n)}return i};function Gn(){this.__rules__=[],this.__cache__=null}Gn.prototype.__find__=function(e){for(let t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1};Gn.prototype.__compile__=function(){const e=this,t=[""];e.__rules__.forEach(function(n){n.enabled&&n.alt.forEach(function(i){t.indexOf(i)<0&&t.push(i)})}),e.__cache__={},t.forEach(function(n){e.__cache__[n]=[],e.__rules__.forEach(function(i){i.enabled&&(n&&i.alt.indexOf(n)<0||e.__cache__[n].push(i.fn))})})};Gn.prototype.at=function(e,t,n){const i=this.__find__(e),r=n||{};if(i===-1)throw new Error("Parser rule not found: "+e);this.__rules__[i].fn=t,this.__rules__[i].alt=r.alt||[],this.__cache__=null};Gn.prototype.before=function(e,t,n,i){const r=this.__find__(e),o=i||{};if(r===-1)throw new Error("Parser rule not found: "+e);this.__rules__.splice(r,0,{name:t,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null};Gn.prototype.after=function(e,t,n,i){const r=this.__find__(e),o=i||{};if(r===-1)throw new Error("Parser rule not found: "+e);this.__rules__.splice(r+1,0,{name:t,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null};Gn.prototype.push=function(e,t,n){const i=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:i.alt||[]}),this.__cache__=null};Gn.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);const n=[];return e.forEach(function(i){const r=this.__find__(i);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+i)}this.__rules__[r].enabled=!0,n.push(i)},this),this.__cache__=null,n};Gn.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(n){n.enabled=!1}),this.enable(e,t)};Gn.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);const n=[];return e.forEach(function(i){const r=this.__find__(i);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+i)}this.__rules__[r].enabled=!1,n.push(i)},this),this.__cache__=null,n};Gn.prototype.getRules=function(e){return this.__cache__===null&&this.__compile__(),this.__cache__[e]||[]};function Wi(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}Wi.prototype.attrIndex=function(t){if(!this.attrs)return-1;const n=this.attrs;for(let i=0,r=n.length;i<r;i++)if(n[i][0]===t)return i;return-1};Wi.prototype.attrPush=function(t){this.attrs?this.attrs.push(t):this.attrs=[t]};Wi.prototype.attrSet=function(t,n){const i=this.attrIndex(t),r=[t,n];i<0?this.attrPush(r):this.attrs[i]=r};Wi.prototype.attrGet=function(t){const n=this.attrIndex(t);let i=null;return n>=0&&(i=this.attrs[n][1]),i};Wi.prototype.attrJoin=function(t,n){const i=this.attrIndex(t);i<0?this.attrPush([t,n]):this.attrs[i][1]=this.attrs[i][1]+" "+n};function wT(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}wT.prototype.Token=Wi;const fR=/\r\n?|\n/g,dR=/\0/g;function hR(e){let t;t=e.src.replace(fR,`
|
|
280
|
-
`),t=t.replace(dR,"�"),e.src=t}function pR(e){let t;e.inlineMode?(t=new e.Token("inline","",0),t.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)}function mR(e){const t=e.tokens;for(let n=0,i=t.length;n<i;n++){const r=t[n];r.type==="inline"&&e.md.inline.parse(r.content,e.md,e.env,r.children)}}function gR(e){return/^<a[>\s]/i.test(e)}function vR(e){return/^<\/a\s*>/i.test(e)}function yR(e){const t=e.tokens;if(e.md.options.linkify)for(let n=0,i=t.length;n<i;n++){if(t[n].type!=="inline"||!e.md.linkify.pretest(t[n].content))continue;let r=t[n].children,o=0;for(let a=r.length-1;a>=0;a--){const c=r[a];if(c.type==="link_close"){for(a--;r[a].level!==c.level&&r[a].type!=="link_open";)a--;continue}if(c.type==="html_inline"&&(gR(c.content)&&o>0&&o--,vR(c.content)&&o++),!(o>0)&&c.type==="text"&&e.md.linkify.test(c.content)){const f=c.content;let h=e.md.linkify.match(f);const p=[];let g=c.level,y=0;h.length>0&&h[0].index===0&&a>0&&r[a-1].type==="text_special"&&(h=h.slice(1));for(let v=0;v<h.length;v++){const E=h[v].url,T=e.md.normalizeLink(E);if(!e.md.validateLink(T))continue;let S=h[v].text;h[v].schema?h[v].schema==="mailto:"&&!/^mailto:/i.test(S)?S=e.md.normalizeLinkText("mailto:"+S).replace(/^mailto:/,""):S=e.md.normalizeLinkText(S):S=e.md.normalizeLinkText("http://"+S).replace(/^http:\/\//,"");const A=h[v].index;if(A>y){const O=new e.Token("text","",0);O.content=f.slice(y,A),O.level=g,p.push(O)}const D=new e.Token("link_open","a",1);D.attrs=[["href",T]],D.level=g++,D.markup="linkify",D.info="auto",p.push(D);const C=new e.Token("text","",0);C.content=S,C.level=g,p.push(C);const N=new e.Token("link_close","a",-1);N.level=--g,N.markup="linkify",N.info="auto",p.push(N),y=h[v].lastIndex}if(y<f.length){const v=new e.Token("text","",0);v.content=f.slice(y),v.level=g,p.push(v)}t[n].children=r=CT(r,a,p)}}}}const DT=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,bR=/\((c|tm|r)\)/i,xR=/\((c|tm|r)\)/ig,ER={c:"©",r:"®",tm:"™"};function TR(e,t){return ER[t.toLowerCase()]}function SR(e){let t=0;for(let n=e.length-1;n>=0;n--){const i=e[n];i.type==="text"&&!t&&(i.content=i.content.replace(xR,TR)),i.type==="link_open"&&i.info==="auto"&&t--,i.type==="link_close"&&i.info==="auto"&&t++}}function _R(e){let t=0;for(let n=e.length-1;n>=0;n--){const i=e[n];i.type==="text"&&!t&&DT.test(i.content)&&(i.content=i.content.replace(/\+-/g,"±").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–")),i.type==="link_open"&&i.info==="auto"&&t--,i.type==="link_close"&&i.info==="auto"&&t++}}function CR(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)e.tokens[t].type==="inline"&&(bR.test(e.tokens[t].content)&&SR(e.tokens[t].children),DT.test(e.tokens[t].content)&&_R(e.tokens[t].children))}const AR=/['"]/,qE=/['"]/g,GE="’";function md(e,t,n){return e.slice(0,t)+n+e.slice(t+1)}function wR(e,t){let n;const i=[];for(let r=0;r<e.length;r++){const o=e[r],a=e[r].level;for(n=i.length-1;n>=0&&!(i[n].level<=a);n--);if(i.length=n+1,o.type!=="text")continue;let c=o.content,f=0,h=c.length;e:for(;f<h;){qE.lastIndex=f;const p=qE.exec(c);if(!p)break;let g=!0,y=!0;f=p.index+1;const v=p[0]==="'";let E=32;if(p.index-1>=0)E=c.charCodeAt(p.index-1);else for(n=r-1;n>=0&&!(e[n].type==="softbreak"||e[n].type==="hardbreak");n--)if(e[n].content){E=e[n].content.charCodeAt(e[n].content.length-1);break}let T=32;if(f<h)T=c.charCodeAt(f);else for(n=r+1;n<e.length&&!(e[n].type==="softbreak"||e[n].type==="hardbreak");n++)if(e[n].content){T=e[n].content.charCodeAt(0);break}const S=gc(E)||mc(String.fromCharCode(E)),A=gc(T)||mc(String.fromCharCode(T)),D=pc(E),C=pc(T);if(C?g=!1:A&&(D||S||(g=!1)),D?y=!1:S&&(C||A||(y=!1)),T===34&&p[0]==='"'&&E>=48&&E<=57&&(y=g=!1),g&&y&&(g=S,y=A),!g&&!y){v&&(o.content=md(o.content,p.index,GE));continue}if(y)for(n=i.length-1;n>=0;n--){let N=i[n];if(i[n].level<a)break;if(N.single===v&&i[n].level===a){N=i[n];let O,k;v?(O=t.md.options.quotes[2],k=t.md.options.quotes[3]):(O=t.md.options.quotes[0],k=t.md.options.quotes[1]),o.content=md(o.content,p.index,k),e[N.token].content=md(e[N.token].content,N.pos,O),f+=k.length-1,N.token===r&&(f+=O.length-1),c=o.content,h=c.length,i.length=n;continue e}}g?i.push({token:r,pos:p.index,single:v,level:a}):y&&v&&(o.content=md(o.content,p.index,GE))}}}function DR(e){if(e.md.options.typographer)for(let t=e.tokens.length-1;t>=0;t--)e.tokens[t].type!=="inline"||!AR.test(e.tokens[t].content)||wR(e.tokens[t].children,e)}function NR(e){let t,n;const i=e.tokens,r=i.length;for(let o=0;o<r;o++){if(i[o].type!=="inline")continue;const a=i[o].children,c=a.length;for(t=0;t<c;t++)a[t].type==="text_special"&&(a[t].type="text");for(t=n=0;t<c;t++)a[t].type==="text"&&t+1<c&&a[t+1].type==="text"?a[t+1].content=a[t].content+a[t+1].content:(t!==n&&(a[n]=a[t]),n++);t!==n&&(a.length=n)}}const _1=[["normalize",hR],["block",pR],["inline",mR],["linkify",yR],["replacements",CR],["smartquotes",DR],["text_join",NR]];function e2(){this.ruler=new Gn;for(let e=0;e<_1.length;e++)this.ruler.push(_1[e][0],_1[e][1])}e2.prototype.process=function(e){const t=this.ruler.getRules("");for(let n=0,i=t.length;n<i;n++)t[n](e)};e2.prototype.State=wT;function Or(e,t,n,i){this.src=e,this.md=t,this.env=n,this.tokens=i,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;const r=this.src;for(let o=0,a=0,c=0,f=0,h=r.length,p=!1;a<h;a++){const g=r.charCodeAt(a);if(!p)if(gt(g)){c++,g===9?f+=4-f%4:f++;continue}else p=!0;(g===10||a===h-1)&&(g!==10&&a++,this.bMarks.push(o),this.eMarks.push(a),this.tShift.push(c),this.sCount.push(f),this.bsCount.push(0),p=!1,c=0,f=0,o=a+1)}this.bMarks.push(r.length),this.eMarks.push(r.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}Or.prototype.push=function(e,t,n){const i=new Wi(e,t,n);return i.block=!0,n<0&&this.level--,i.level=this.level,n>0&&this.level++,this.tokens.push(i),i};Or.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]};Or.prototype.skipEmptyLines=function(t){for(let n=this.lineMax;t<n&&!(this.bMarks[t]+this.tShift[t]<this.eMarks[t]);t++);return t};Or.prototype.skipSpaces=function(t){for(let n=this.src.length;t<n;t++){const i=this.src.charCodeAt(t);if(!gt(i))break}return t};Or.prototype.skipSpacesBack=function(t,n){if(t<=n)return t;for(;t>n;)if(!gt(this.src.charCodeAt(--t)))return t+1;return t};Or.prototype.skipChars=function(t,n){for(let i=this.src.length;t<i&&this.src.charCodeAt(t)===n;t++);return t};Or.prototype.skipCharsBack=function(t,n,i){if(t<=i)return t;for(;t>i;)if(n!==this.src.charCodeAt(--t))return t+1;return t};Or.prototype.getLines=function(t,n,i,r){if(t>=n)return"";const o=new Array(n-t);for(let a=0,c=t;c<n;c++,a++){let f=0;const h=this.bMarks[c];let p=h,g;for(c+1<n||r?g=this.eMarks[c]+1:g=this.eMarks[c];p<g&&f<i;){const y=this.src.charCodeAt(p);if(gt(y))y===9?f+=4-(f+this.bsCount[c])%4:f++;else if(p-h<this.tShift[c])f++;else break;p++}f>i?o[a]=new Array(f-i+1).join(" ")+this.src.slice(p,g):o[a]=this.src.slice(p,g)}return o.join("")};Or.prototype.Token=Wi;const OR=65536;function C1(e,t){const n=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];return e.src.slice(n,i)}function YE(e){const t=[],n=e.length;let i=0,r=e.charCodeAt(i),o=!1,a=0,c="";for(;i<n;)r===124&&(o?(c+=e.substring(a,i-1),a=i):(t.push(c+e.substring(a,i)),c="",a=i+1)),o=r===92,i++,r=e.charCodeAt(i);return t.push(c+e.substring(a)),t}function RR(e,t,n,i){if(t+2>n)return!1;let r=t+1;if(e.sCount[r]<e.blkIndent||e.sCount[r]-e.blkIndent>=4)return!1;let o=e.bMarks[r]+e.tShift[r];if(o>=e.eMarks[r])return!1;const a=e.src.charCodeAt(o++);if(a!==124&&a!==45&&a!==58||o>=e.eMarks[r])return!1;const c=e.src.charCodeAt(o++);if(c!==124&&c!==45&&c!==58&&!gt(c)||a===45&>(c))return!1;for(;o<e.eMarks[r];){const N=e.src.charCodeAt(o);if(N!==124&&N!==45&&N!==58&&!gt(N))return!1;o++}let f=C1(e,t+1),h=f.split("|");const p=[];for(let N=0;N<h.length;N++){const O=h[N].trim();if(!O){if(N===0||N===h.length-1)continue;return!1}if(!/^:?-+:?$/.test(O))return!1;O.charCodeAt(O.length-1)===58?p.push(O.charCodeAt(0)===58?"center":"right"):O.charCodeAt(0)===58?p.push("left"):p.push("")}if(f=C1(e,t).trim(),f.indexOf("|")===-1||e.sCount[t]-e.blkIndent>=4)return!1;h=YE(f),h.length&&h[0]===""&&h.shift(),h.length&&h[h.length-1]===""&&h.pop();const g=h.length;if(g===0||g!==p.length)return!1;if(i)return!0;const y=e.parentType;e.parentType="table";const v=e.md.block.ruler.getRules("blockquote"),E=e.push("table_open","table",1),T=[t,0];E.map=T;const S=e.push("thead_open","thead",1);S.map=[t,t+1];const A=e.push("tr_open","tr",1);A.map=[t,t+1];for(let N=0;N<h.length;N++){const O=e.push("th_open","th",1);p[N]&&(O.attrs=[["style","text-align:"+p[N]]]);const k=e.push("inline","",0);k.content=h[N].trim(),k.children=[],e.push("th_close","th",-1)}e.push("tr_close","tr",-1),e.push("thead_close","thead",-1);let D,C=0;for(r=t+2;r<n&&!(e.sCount[r]<e.blkIndent);r++){let N=!1;for(let k=0,I=v.length;k<I;k++)if(v[k](e,r,n,!0)){N=!0;break}if(N||(f=C1(e,r).trim(),!f)||e.sCount[r]-e.blkIndent>=4||(h=YE(f),h.length&&h[0]===""&&h.shift(),h.length&&h[h.length-1]===""&&h.pop(),C+=g-h.length,C>OR))break;if(r===t+2){const k=e.push("tbody_open","tbody",1);k.map=D=[t+2,0]}const O=e.push("tr_open","tr",1);O.map=[r,r+1];for(let k=0;k<g;k++){const I=e.push("td_open","td",1);p[k]&&(I.attrs=[["style","text-align:"+p[k]]]);const P=e.push("inline","",0);P.content=h[k]?h[k].trim():"",P.children=[],e.push("td_close","td",-1)}e.push("tr_close","tr",-1)}return D&&(e.push("tbody_close","tbody",-1),D[1]=r),e.push("table_close","table",-1),T[1]=r,e.parentType=y,e.line=r,!0}function MR(e,t,n){if(e.sCount[t]-e.blkIndent<4)return!1;let i=t+1,r=i;for(;i<n;){if(e.isEmpty(i)){i++;continue}if(e.sCount[i]-e.blkIndent>=4){i++,r=i;continue}break}e.line=r;const o=e.push("code_block","code",0);return o.content=e.getLines(t,r,4+e.blkIndent,!1)+`
|
|
281
|
-
`,o.map=[t,e.line],!0}function kR(e,t,n,i){let r=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||r+3>o)return!1;const a=e.src.charCodeAt(r);if(a!==126&&a!==96)return!1;let c=r;r=e.skipChars(r,a);let f=r-c;if(f<3)return!1;const h=e.src.slice(c,r),p=e.src.slice(r,o);if(a===96&&p.indexOf(String.fromCharCode(a))>=0)return!1;if(i)return!0;let g=t,y=!1;for(;g++,!(g>=n||(r=c=e.bMarks[g]+e.tShift[g],o=e.eMarks[g],r<o&&e.sCount[g]<e.blkIndent));)if(e.src.charCodeAt(r)===a&&!(e.sCount[g]-e.blkIndent>=4)&&(r=e.skipChars(r,a),!(r-c<f)&&(r=e.skipSpaces(r),!(r<o)))){y=!0;break}f=e.sCount[t],e.line=g+(y?1:0);const v=e.push("fence","code",0);return v.info=p,v.content=e.getLines(t+1,g,f,!0),v.markup=h,v.map=[t,e.line],!0}function LR(e,t,n,i){let r=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];const a=e.lineMax;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(r)!==62)return!1;if(i)return!0;const c=[],f=[],h=[],p=[],g=e.md.block.ruler.getRules("blockquote"),y=e.parentType;e.parentType="blockquote";let v=!1,E;for(E=t;E<n;E++){const C=e.sCount[E]<e.blkIndent;if(r=e.bMarks[E]+e.tShift[E],o=e.eMarks[E],r>=o)break;if(e.src.charCodeAt(r++)===62&&!C){let O=e.sCount[E]+1,k,I;e.src.charCodeAt(r)===32?(r++,O++,I=!1,k=!0):e.src.charCodeAt(r)===9?(k=!0,(e.bsCount[E]+O)%4===3?(r++,O++,I=!1):I=!0):k=!1;let P=O;for(c.push(e.bMarks[E]),e.bMarks[E]=r;r<o;){const L=e.src.charCodeAt(r);if(gt(L))L===9?P+=4-(P+e.bsCount[E]+(I?1:0))%4:P++;else break;r++}v=r>=o,f.push(e.bsCount[E]),e.bsCount[E]=e.sCount[E]+1+(k?1:0),h.push(e.sCount[E]),e.sCount[E]=P-O,p.push(e.tShift[E]),e.tShift[E]=r-e.bMarks[E];continue}if(v)break;let N=!1;for(let O=0,k=g.length;O<k;O++)if(g[O](e,E,n,!0)){N=!0;break}if(N){e.lineMax=E,e.blkIndent!==0&&(c.push(e.bMarks[E]),f.push(e.bsCount[E]),p.push(e.tShift[E]),h.push(e.sCount[E]),e.sCount[E]-=e.blkIndent);break}c.push(e.bMarks[E]),f.push(e.bsCount[E]),p.push(e.tShift[E]),h.push(e.sCount[E]),e.sCount[E]=-1}const T=e.blkIndent;e.blkIndent=0;const S=e.push("blockquote_open","blockquote",1);S.markup=">";const A=[t,0];S.map=A,e.md.block.tokenize(e,t,E);const D=e.push("blockquote_close","blockquote",-1);D.markup=">",e.lineMax=a,e.parentType=y,A[1]=e.line;for(let C=0;C<p.length;C++)e.bMarks[C+t]=c[C],e.tShift[C+t]=p[C],e.sCount[C+t]=h[C],e.bsCount[C+t]=f[C];return e.blkIndent=T,!0}function IR(e,t,n,i){const r=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let o=e.bMarks[t]+e.tShift[t];const a=e.src.charCodeAt(o++);if(a!==42&&a!==45&&a!==95)return!1;let c=1;for(;o<r;){const h=e.src.charCodeAt(o++);if(h!==a&&!gt(h))return!1;h===a&&c++}if(c<3)return!1;if(i)return!0;e.line=t+1;const f=e.push("hr","hr",0);return f.map=[t,e.line],f.markup=Array(c+1).join(String.fromCharCode(a)),!0}function QE(e,t){const n=e.eMarks[t];let i=e.bMarks[t]+e.tShift[t];const r=e.src.charCodeAt(i++);if(r!==42&&r!==45&&r!==43)return-1;if(i<n){const o=e.src.charCodeAt(i);if(!gt(o))return-1}return i}function XE(e,t){const n=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];let r=n;if(r+1>=i)return-1;let o=e.src.charCodeAt(r++);if(o<48||o>57)return-1;for(;;){if(r>=i)return-1;if(o=e.src.charCodeAt(r++),o>=48&&o<=57){if(r-n>=10)return-1;continue}if(o===41||o===46)break;return-1}return r<i&&(o=e.src.charCodeAt(r),!gt(o))?-1:r}function FR(e,t){const n=e.level+2;for(let i=t+2,r=e.tokens.length-2;i<r;i++)e.tokens[i].level===n&&e.tokens[i].type==="paragraph_open"&&(e.tokens[i+2].hidden=!0,e.tokens[i].hidden=!0,i+=2)}function jR(e,t,n,i){let r,o,a,c,f=t,h=!0;if(e.sCount[f]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[f]-e.listIndent>=4&&e.sCount[f]<e.blkIndent)return!1;let p=!1;i&&e.parentType==="paragraph"&&e.sCount[f]>=e.blkIndent&&(p=!0);let g,y,v;if((v=XE(e,f))>=0){if(g=!0,a=e.bMarks[f]+e.tShift[f],y=Number(e.src.slice(a,v-1)),p&&y!==1)return!1}else if((v=QE(e,f))>=0)g=!1;else return!1;if(p&&e.skipSpaces(v)>=e.eMarks[f])return!1;if(i)return!0;const E=e.src.charCodeAt(v-1),T=e.tokens.length;g?(c=e.push("ordered_list_open","ol",1),y!==1&&(c.attrs=[["start",y]])):c=e.push("bullet_list_open","ul",1);const S=[f,0];c.map=S,c.markup=String.fromCharCode(E);let A=!1;const D=e.md.block.ruler.getRules("list"),C=e.parentType;for(e.parentType="list";f<n;){o=v,r=e.eMarks[f];const N=e.sCount[f]+v-(e.bMarks[f]+e.tShift[f]);let O=N;for(;o<r;){const X=e.src.charCodeAt(o);if(X===9)O+=4-(O+e.bsCount[f])%4;else if(X===32)O++;else break;o++}const k=o;let I;k>=r?I=1:I=O-N,I>4&&(I=1);const P=N+I;c=e.push("list_item_open","li",1),c.markup=String.fromCharCode(E);const L=[f,0];c.map=L,g&&(c.info=e.src.slice(a,v-1));const B=e.tight,z=e.tShift[f],te=e.sCount[f],re=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=P,e.tight=!0,e.tShift[f]=k-e.bMarks[f],e.sCount[f]=O,k>=r&&e.isEmpty(f+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,f,n,!0),(!e.tight||A)&&(h=!1),A=e.line-f>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=re,e.tShift[f]=z,e.sCount[f]=te,e.tight=B,c=e.push("list_item_close","li",-1),c.markup=String.fromCharCode(E),f=e.line,L[1]=f,f>=n||e.sCount[f]<e.blkIndent||e.sCount[f]-e.blkIndent>=4)break;let fe=!1;for(let X=0,F=D.length;X<F;X++)if(D[X](e,f,n,!0)){fe=!0;break}if(fe)break;if(g){if(v=XE(e,f),v<0)break;a=e.bMarks[f]+e.tShift[f]}else if(v=QE(e,f),v<0)break;if(E!==e.src.charCodeAt(v-1))break}return g?c=e.push("ordered_list_close","ol",-1):c=e.push("bullet_list_close","ul",-1),c.markup=String.fromCharCode(E),S[1]=f,e.line=f,e.parentType=C,h&&FR(e,T),!0}function PR(e,t,n,i){let r=e.bMarks[t]+e.tShift[t],o=e.eMarks[t],a=t+1;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(r)!==91)return!1;function c(D){const C=e.lineMax;if(D>=C||e.isEmpty(D))return null;let N=!1;if(e.sCount[D]-e.blkIndent>3&&(N=!0),e.sCount[D]<0&&(N=!0),!N){const I=e.md.block.ruler.getRules("reference"),P=e.parentType;e.parentType="reference";let L=!1;for(let B=0,z=I.length;B<z;B++)if(I[B](e,D,C,!0)){L=!0;break}if(e.parentType=P,L)return null}const O=e.bMarks[D]+e.tShift[D],k=e.eMarks[D];return e.src.slice(O,k+1)}let f=e.src.slice(r,o+1);o=f.length;let h=-1;for(r=1;r<o;r++){const D=f.charCodeAt(r);if(D===91)return!1;if(D===93){h=r;break}else if(D===10){const C=c(a);C!==null&&(f+=C,o=f.length,a++)}else if(D===92&&(r++,r<o&&f.charCodeAt(r)===10)){const C=c(a);C!==null&&(f+=C,o=f.length,a++)}}if(h<0||f.charCodeAt(h+1)!==58)return!1;for(r=h+2;r<o;r++){const D=f.charCodeAt(r);if(D===10){const C=c(a);C!==null&&(f+=C,o=f.length,a++)}else if(!gt(D))break}const p=e.md.helpers.parseLinkDestination(f,r,o);if(!p.ok)return!1;const g=e.md.normalizeLink(p.str);if(!e.md.validateLink(g))return!1;r=p.pos;const y=r,v=a,E=r;for(;r<o;r++){const D=f.charCodeAt(r);if(D===10){const C=c(a);C!==null&&(f+=C,o=f.length,a++)}else if(!gt(D))break}let T=e.md.helpers.parseLinkTitle(f,r,o);for(;T.can_continue;){const D=c(a);if(D===null)break;f+=D,r=o,o=f.length,a++,T=e.md.helpers.parseLinkTitle(f,r,o,T)}let S;for(r<o&&E!==r&&T.ok?(S=T.str,r=T.pos):(S="",r=y,a=v);r<o;){const D=f.charCodeAt(r);if(!gt(D))break;r++}if(r<o&&f.charCodeAt(r)!==10&&S)for(S="",r=y,a=v;r<o;){const D=f.charCodeAt(r);if(!gt(D))break;r++}if(r<o&&f.charCodeAt(r)!==10)return!1;const A=R0(f.slice(1,h));return A?(i||(typeof e.env.references>"u"&&(e.env.references={}),typeof e.env.references[A]>"u"&&(e.env.references[A]={title:S,href:g}),e.line=a),!0):!1}const VR=["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"],BR="[a-zA-Z_:][a-zA-Z0-9:._-]*",$R="[^\"'=<>`\\x00-\\x20]+",UR="'[^']*'",zR='"[^"]*"',HR="(?:"+$R+"|"+UR+"|"+zR+")",qR="(?:\\s+"+BR+"(?:\\s*=\\s*"+HR+")?)",NT="<[A-Za-z][A-Za-z0-9\\-]*"+qR+"*\\s*\\/?>",OT="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",GR="<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->",YR="<[?][\\s\\S]*?[?]>",QR="<![A-Za-z][^>]*>",XR="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",ZR=new RegExp("^(?:"+NT+"|"+OT+"|"+GR+"|"+YR+"|"+QR+"|"+XR+")"),WR=new RegExp("^(?:"+NT+"|"+OT+")"),Ys=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+VR.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(WR.source+"\\s*$"),/^$/,!1]];function KR(e,t,n,i){let r=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(r)!==60)return!1;let a=e.src.slice(r,o),c=0;for(;c<Ys.length&&!Ys[c][0].test(a);c++);if(c===Ys.length)return!1;if(i)return Ys[c][2];let f=t+1;if(!Ys[c][1].test(a)){for(;f<n&&!(e.sCount[f]<e.blkIndent);f++)if(r=e.bMarks[f]+e.tShift[f],o=e.eMarks[f],a=e.src.slice(r,o),Ys[c][1].test(a)){a.length!==0&&f++;break}}e.line=f;const h=e.push("html_block","",0);return h.map=[t,f],h.content=e.getLines(t,f,e.blkIndent,!0),!0}function JR(e,t,n,i){let r=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let a=e.src.charCodeAt(r);if(a!==35||r>=o)return!1;let c=1;for(a=e.src.charCodeAt(++r);a===35&&r<o&&c<=6;)c++,a=e.src.charCodeAt(++r);if(c>6||r<o&&!gt(a))return!1;if(i)return!0;o=e.skipSpacesBack(o,r);const f=e.skipCharsBack(o,35,r);f>r&>(e.src.charCodeAt(f-1))&&(o=f),e.line=t+1;const h=e.push("heading_open","h"+String(c),1);h.markup="########".slice(0,c),h.map=[t,e.line];const p=e.push("inline","",0);p.content=e.src.slice(r,o).trim(),p.map=[t,e.line],p.children=[];const g=e.push("heading_close","h"+String(c),-1);return g.markup="########".slice(0,c),!0}function eM(e,t,n){const i=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;const r=e.parentType;e.parentType="paragraph";let o=0,a,c=t+1;for(;c<n&&!e.isEmpty(c);c++){if(e.sCount[c]-e.blkIndent>3)continue;if(e.sCount[c]>=e.blkIndent){let v=e.bMarks[c]+e.tShift[c];const E=e.eMarks[c];if(v<E&&(a=e.src.charCodeAt(v),(a===45||a===61)&&(v=e.skipChars(v,a),v=e.skipSpaces(v),v>=E))){o=a===61?1:2;break}}if(e.sCount[c]<0)continue;let y=!1;for(let v=0,E=i.length;v<E;v++)if(i[v](e,c,n,!0)){y=!0;break}if(y)break}if(!o)return!1;const f=e.getLines(t,c,e.blkIndent,!1).trim();e.line=c+1;const h=e.push("heading_open","h"+String(o),1);h.markup=String.fromCharCode(a),h.map=[t,e.line];const p=e.push("inline","",0);p.content=f,p.map=[t,e.line-1],p.children=[];const g=e.push("heading_close","h"+String(o),-1);return g.markup=String.fromCharCode(a),e.parentType=r,!0}function tM(e,t,n){const i=e.md.block.ruler.getRules("paragraph"),r=e.parentType;let 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 h=!1;for(let p=0,g=i.length;p<g;p++)if(i[p](e,o,n,!0)){h=!0;break}if(h)break}const a=e.getLines(t,o,e.blkIndent,!1).trim();e.line=o;const c=e.push("paragraph_open","p",1);c.map=[t,e.line];const f=e.push("inline","",0);return f.content=a,f.map=[t,e.line],f.children=[],e.push("paragraph_close","p",-1),e.parentType=r,!0}const gd=[["table",RR,["paragraph","reference"]],["code",MR],["fence",kR,["paragraph","reference","blockquote","list"]],["blockquote",LR,["paragraph","reference","blockquote","list"]],["hr",IR,["paragraph","reference","blockquote","list"]],["list",jR,["paragraph","reference","blockquote"]],["reference",PR],["html_block",KR,["paragraph","reference","blockquote"]],["heading",JR,["paragraph","reference","blockquote"]],["lheading",eM],["paragraph",tM]];function M0(){this.ruler=new Gn;for(let e=0;e<gd.length;e++)this.ruler.push(gd[e][0],gd[e][1],{alt:(gd[e][2]||[]).slice()})}M0.prototype.tokenize=function(e,t,n){const i=this.ruler.getRules(""),r=i.length,o=e.md.options.maxNesting;let a=t,c=!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}const f=e.line;let h=!1;for(let p=0;p<r;p++)if(h=i[p](e,a,n,!1),h){if(f>=e.line)throw new Error("block rule didn't increment state.line");break}if(!h)throw new Error("none of the block rules matched");e.tight=!c,e.isEmpty(e.line-1)&&(c=!0),a=e.line,a<n&&e.isEmpty(a)&&(c=!0,a++,e.line=a)}};M0.prototype.parse=function(e,t,n,i){if(!e)return;const r=new this.State(e,t,n,i);this.tokenize(r,r.line,r.lineMax)};M0.prototype.State=Or;function Pc(e,t,n,i){this.src=e,this.env=n,this.md=t,this.tokens=i,this.tokens_meta=Array(i.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}Pc.prototype.pushPending=function(){const e=new Wi("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e};Pc.prototype.push=function(e,t,n){this.pending&&this.pushPending();const i=new Wi(e,t,n);let r=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),i.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],r={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(i),this.tokens_meta.push(r),i};Pc.prototype.scanDelims=function(e,t){const n=this.posMax,i=this.src.charCodeAt(e),r=e>0?this.src.charCodeAt(e-1):32;let o=e;for(;o<n&&this.src.charCodeAt(o)===i;)o++;const a=o-e,c=o<n?this.src.charCodeAt(o):32,f=gc(r)||mc(String.fromCharCode(r)),h=gc(c)||mc(String.fromCharCode(c)),p=pc(r),g=pc(c),y=!g&&(!h||p||f),v=!p&&(!f||g||h);return{can_open:y&&(t||!v||f),can_close:v&&(t||!y||h),length:a}};Pc.prototype.Token=Wi;function nM(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 61: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}}function iM(e,t){let n=e.pos;for(;n<e.posMax&&!nM(e.src.charCodeAt(n));)n++;return n===e.pos?!1:(t||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}const rM=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;function uM(e,t){if(!e.md.options.linkify||e.linkLevel>0)return!1;const n=e.pos,i=e.posMax;if(n+3>i||e.src.charCodeAt(n)!==58||e.src.charCodeAt(n+1)!==47||e.src.charCodeAt(n+2)!==47)return!1;const r=e.pending.match(rM);if(!r)return!1;const o=r[1],a=e.md.linkify.matchAtStart(e.src.slice(n-o.length));if(!a)return!1;let c=a.url;if(c.length<=o.length)return!1;c=c.replace(/\*+$/,"");const f=e.md.normalizeLink(c);if(!e.md.validateLink(f))return!1;if(!t){e.pending=e.pending.slice(0,-o.length);const h=e.push("link_open","a",1);h.attrs=[["href",f]],h.markup="linkify",h.info="auto";const p=e.push("text","",0);p.content=e.md.normalizeLinkText(c);const g=e.push("link_close","a",-1);g.markup="linkify",g.info="auto"}return e.pos+=c.length-o.length,!0}function oM(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==10)return!1;const i=e.pending.length-1,r=e.posMax;if(!t)if(i>=0&&e.pending.charCodeAt(i)===32)if(i>=1&&e.pending.charCodeAt(i-1)===32){let o=i-1;for(;o>=1&&e.pending.charCodeAt(o-1)===32;)o--;e.pending=e.pending.slice(0,o),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<r&>(e.src.charCodeAt(n));)n++;return e.pos=n,!0}const t2=[];for(let e=0;e<256;e++)t2.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){t2[e.charCodeAt(0)]=1});function sM(e,t){let n=e.pos;const i=e.posMax;if(e.src.charCodeAt(n)!==92||(n++,n>=i))return!1;let r=e.src.charCodeAt(n);if(r===10){for(t||e.push("hardbreak","br",0),n++;n<i&&(r=e.src.charCodeAt(n),!!gt(r));)n++;return e.pos=n,!0}let o=e.src[n];if(r>=55296&&r<=56319&&n+1<i){const c=e.src.charCodeAt(n+1);c>=56320&&c<=57343&&(o+=e.src[n+1],n++)}const a="\\"+o;if(!t){const c=e.push("text_special","",0);r<256&&t2[r]!==0?c.content=o:c.content=a,c.markup=a,c.info="escape"}return e.pos=n+1,!0}function aM(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==96)return!1;const r=n;n++;const o=e.posMax;for(;n<o&&e.src.charCodeAt(n)===96;)n++;const a=e.src.slice(r,n),c=a.length;if(e.backticksScanned&&(e.backticks[c]||0)<=r)return t||(e.pending+=a),e.pos+=c,!0;let f=n,h;for(;(h=e.src.indexOf("`",f))!==-1;){for(f=h+1;f<o&&e.src.charCodeAt(f)===96;)f++;const p=f-h;if(p===c){if(!t){const g=e.push("code_inline","code",0);g.markup=a,g.content=e.src.slice(n,h).replace(/\n/g," ").replace(/^ (.+) $/,"$1")}return e.pos=f,!0}e.backticks[p]=h}return e.backticksScanned=!0,t||(e.pending+=a),e.pos+=c,!0}function lM(e,t){const n=e.pos,i=e.src.charCodeAt(n);if(t||i!==126)return!1;const r=e.scanDelims(e.pos,!0);let o=r.length;const a=String.fromCharCode(i);if(o<2)return!1;let c;o%2&&(c=e.push("text","",0),c.content=a,o--);for(let f=0;f<o;f+=2)c=e.push("text","",0),c.content=a+a,e.delimiters.push({marker:i,length:0,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0}function ZE(e,t){let n;const i=[],r=t.length;for(let o=0;o<r;o++){const a=t[o];if(a.marker!==126||a.end===-1)continue;const c=t[a.end];n=e.tokens[a.token],n.type="s_open",n.tag="s",n.nesting=1,n.markup="~~",n.content="",n=e.tokens[c.token],n.type="s_close",n.tag="s",n.nesting=-1,n.markup="~~",n.content="",e.tokens[c.token-1].type==="text"&&e.tokens[c.token-1].content==="~"&&i.push(c.token-1)}for(;i.length;){const o=i.pop();let a=o+1;for(;a<e.tokens.length&&e.tokens[a].type==="s_close";)a++;a--,o!==a&&(n=e.tokens[a],e.tokens[a]=e.tokens[o],e.tokens[o]=n)}}function cM(e){const t=e.tokens_meta,n=e.tokens_meta.length;ZE(e,e.delimiters);for(let i=0;i<n;i++)t[i]&&t[i].delimiters&&ZE(e,t[i].delimiters)}const RT={tokenize:lM,postProcess:cM};function fM(e,t){const n=e.pos,i=e.src.charCodeAt(n);if(t||i!==95&&i!==42)return!1;const r=e.scanDelims(e.pos,i===42);for(let o=0;o<r.length;o++){const a=e.push("text","",0);a.content=String.fromCharCode(i),e.delimiters.push({marker:i,length:r.length,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close})}return e.pos+=r.length,!0}function WE(e,t){const n=t.length;for(let i=n-1;i>=0;i--){const r=t[i];if(r.marker!==95&&r.marker!==42||r.end===-1)continue;const o=t[r.end],a=i>0&&t[i-1].end===r.end+1&&t[i-1].marker===r.marker&&t[i-1].token===r.token-1&&t[r.end+1].token===o.token+1,c=String.fromCharCode(r.marker),f=e.tokens[r.token];f.type=a?"strong_open":"em_open",f.tag=a?"strong":"em",f.nesting=1,f.markup=a?c+c:c,f.content="";const h=e.tokens[o.token];h.type=a?"strong_close":"em_close",h.tag=a?"strong":"em",h.nesting=-1,h.markup=a?c+c:c,h.content="",a&&(e.tokens[t[i-1].token].content="",e.tokens[t[r.end+1].token].content="",i--)}}function dM(e){const t=e.tokens_meta,n=e.tokens_meta.length;WE(e,e.delimiters);for(let i=0;i<n;i++)t[i]&&t[i].delimiters&&WE(e,t[i].delimiters)}const MT={tokenize:fM,postProcess:dM};function hM(e,t){let n,i,r,o,a="",c="",f=e.pos,h=!0;if(e.src.charCodeAt(e.pos)!==91)return!1;const p=e.pos,g=e.posMax,y=e.pos+1,v=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(v<0)return!1;let E=v+1;if(E<g&&e.src.charCodeAt(E)===40){for(h=!1,E++;E<g&&(n=e.src.charCodeAt(E),!(!gt(n)&&n!==10));E++);if(E>=g)return!1;if(f=E,r=e.md.helpers.parseLinkDestination(e.src,E,e.posMax),r.ok){for(a=e.md.normalizeLink(r.str),e.md.validateLink(a)?E=r.pos:a="",f=E;E<g&&(n=e.src.charCodeAt(E),!(!gt(n)&&n!==10));E++);if(r=e.md.helpers.parseLinkTitle(e.src,E,e.posMax),E<g&&f!==E&&r.ok)for(c=r.str,E=r.pos;E<g&&(n=e.src.charCodeAt(E),!(!gt(n)&&n!==10));E++);}(E>=g||e.src.charCodeAt(E)!==41)&&(h=!0),E++}if(h){if(typeof e.env.references>"u")return!1;if(E<g&&e.src.charCodeAt(E)===91?(f=E+1,E=e.md.helpers.parseLinkLabel(e,E),E>=0?i=e.src.slice(f,E++):E=v+1):E=v+1,i||(i=e.src.slice(y,v)),o=e.env.references[R0(i)],!o)return e.pos=p,!1;a=o.href,c=o.title}if(!t){e.pos=y,e.posMax=v;const T=e.push("link_open","a",1),S=[["href",a]];T.attrs=S,c&&S.push(["title",c]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=E,e.posMax=g,!0}function pM(e,t){let n,i,r,o,a,c,f,h,p="";const g=e.pos,y=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91)return!1;const v=e.pos+2,E=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(E<0)return!1;if(o=E+1,o<y&&e.src.charCodeAt(o)===40){for(o++;o<y&&(n=e.src.charCodeAt(o),!(!gt(n)&&n!==10));o++);if(o>=y)return!1;for(h=o,c=e.md.helpers.parseLinkDestination(e.src,o,e.posMax),c.ok&&(p=e.md.normalizeLink(c.str),e.md.validateLink(p)?o=c.pos:p=""),h=o;o<y&&(n=e.src.charCodeAt(o),!(!gt(n)&&n!==10));o++);if(c=e.md.helpers.parseLinkTitle(e.src,o,e.posMax),o<y&&h!==o&&c.ok)for(f=c.str,o=c.pos;o<y&&(n=e.src.charCodeAt(o),!(!gt(n)&&n!==10));o++);else f="";if(o>=y||e.src.charCodeAt(o)!==41)return e.pos=g,!1;o++}else{if(typeof e.env.references>"u")return!1;if(o<y&&e.src.charCodeAt(o)===91?(h=o+1,o=e.md.helpers.parseLinkLabel(e,o),o>=0?r=e.src.slice(h,o++):o=E+1):o=E+1,r||(r=e.src.slice(v,E)),a=e.env.references[R0(r)],!a)return e.pos=g,!1;p=a.href,f=a.title}if(!t){i=e.src.slice(v,E);const T=[];e.md.inline.parse(i,e.md,e.env,T);const S=e.push("image","img",0),A=[["src",p],["alt",""]];S.attrs=A,S.children=T,S.content=i,f&&A.push(["title",f])}return e.pos=o,e.posMax=y,!0}const mM=/^([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])?)*)$/,gM=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function vM(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==60)return!1;const i=e.pos,r=e.posMax;for(;;){if(++n>=r)return!1;const a=e.src.charCodeAt(n);if(a===60)return!1;if(a===62)break}const o=e.src.slice(i+1,n);if(gM.test(o)){const a=e.md.normalizeLink(o);if(!e.md.validateLink(a))return!1;if(!t){const c=e.push("link_open","a",1);c.attrs=[["href",a]],c.markup="autolink",c.info="auto";const f=e.push("text","",0);f.content=e.md.normalizeLinkText(o);const h=e.push("link_close","a",-1);h.markup="autolink",h.info="auto"}return e.pos+=o.length+2,!0}if(mM.test(o)){const a=e.md.normalizeLink("mailto:"+o);if(!e.md.validateLink(a))return!1;if(!t){const c=e.push("link_open","a",1);c.attrs=[["href",a]],c.markup="autolink",c.info="auto";const f=e.push("text","",0);f.content=e.md.normalizeLinkText(o);const h=e.push("link_close","a",-1);h.markup="autolink",h.info="auto"}return e.pos+=o.length+2,!0}return!1}function yM(e){return/^<a[>\s]/i.test(e)}function bM(e){return/^<\/a\s*>/i.test(e)}function xM(e){const t=e|32;return t>=97&&t<=122}function EM(e,t){if(!e.md.options.html)return!1;const n=e.posMax,i=e.pos;if(e.src.charCodeAt(i)!==60||i+2>=n)return!1;const r=e.src.charCodeAt(i+1);if(r!==33&&r!==63&&r!==47&&!xM(r))return!1;const o=e.src.slice(i).match(ZR);if(!o)return!1;if(!t){const a=e.push("html_inline","",0);a.content=o[0],yM(a.content)&&e.linkLevel++,bM(a.content)&&e.linkLevel--}return e.pos+=o[0].length,!0}const TM=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,SM=/^&([a-z][a-z0-9]{1,31});/i;function _M(e,t){const n=e.pos,i=e.posMax;if(e.src.charCodeAt(n)!==38||n+1>=i)return!1;if(e.src.charCodeAt(n+1)===35){const o=e.src.slice(n).match(TM);if(o){if(!t){const a=o[1][0].toLowerCase()==="x"?parseInt(o[1].slice(1),16):parseInt(o[1],10),c=e.push("text_special","",0);c.content=Jg(a)?Jd(a):Jd(65533),c.markup=o[0],c.info="entity"}return e.pos+=o[0].length,!0}}else{const o=e.src.slice(n).match(SM);if(o){const a=_T(o[0]);if(a!==o[0]){if(!t){const c=e.push("text_special","",0);c.content=a,c.markup=o[0],c.info="entity"}return e.pos+=o[0].length,!0}}}return!1}function KE(e){const t={},n=e.length;if(!n)return;let i=0,r=-2;const o=[];for(let a=0;a<n;a++){const c=e[a];if(o.push(0),(e[i].marker!==c.marker||r!==c.token-1)&&(i=a),r=c.token,c.length=c.length||0,!c.close)continue;t.hasOwnProperty(c.marker)||(t[c.marker]=[-1,-1,-1,-1,-1,-1]);const f=t[c.marker][(c.open?3:0)+c.length%3];let h=i-o[i]-1,p=h;for(;h>f;h-=o[h]+1){const g=e[h];if(g.marker===c.marker&&g.open&&g.end<0){let y=!1;if((g.close||c.open)&&(g.length+c.length)%3===0&&(g.length%3!==0||c.length%3!==0)&&(y=!0),!y){const v=h>0&&!e[h-1].open?o[h-1]+1:0;o[a]=a-h+v,o[h]=v,c.open=!1,g.end=a,g.close=!1,p=-1,r=-2;break}}}p!==-1&&(t[c.marker][(c.open?3:0)+(c.length||0)%3]=p)}}function CM(e){const t=e.tokens_meta,n=e.tokens_meta.length;KE(e.delimiters);for(let i=0;i<n;i++)t[i]&&t[i].delimiters&&KE(t[i].delimiters)}function AM(e){let t,n,i=0;const r=e.tokens,o=e.tokens.length;for(t=n=0;t<o;t++)r[t].nesting<0&&i--,r[t].level=i,r[t].nesting>0&&i++,r[t].type==="text"&&t+1<o&&r[t+1].type==="text"?r[t+1].content=r[t].content+r[t+1].content:(t!==n&&(r[n]=r[t]),n++);t!==n&&(r.length=n)}const A1=[["text",iM],["linkify",uM],["newline",oM],["escape",sM],["backticks",aM],["strikethrough",RT.tokenize],["emphasis",MT.tokenize],["link",hM],["image",pM],["autolink",vM],["html_inline",EM],["entity",_M]],w1=[["balance_pairs",CM],["strikethrough",RT.postProcess],["emphasis",MT.postProcess],["fragments_join",AM]];function Vc(){this.ruler=new Gn;for(let e=0;e<A1.length;e++)this.ruler.push(A1[e][0],A1[e][1]);this.ruler2=new Gn;for(let e=0;e<w1.length;e++)this.ruler2.push(w1[e][0],w1[e][1])}Vc.prototype.skipToken=function(e){const t=e.pos,n=this.ruler.getRules(""),i=n.length,r=e.md.options.maxNesting,o=e.cache;if(typeof o[t]<"u"){e.pos=o[t];return}let a=!1;if(e.level<r){for(let c=0;c<i;c++)if(e.level++,a=n[c](e,!0),e.level--,a){if(t>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;a||e.pos++,o[t]=e.pos};Vc.prototype.tokenize=function(e){const t=this.ruler.getRules(""),n=t.length,i=e.posMax,r=e.md.options.maxNesting;for(;e.pos<i;){const o=e.pos;let a=!1;if(e.level<r){for(let c=0;c<n;c++)if(a=t[c](e,!1),a){if(o>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}if(a){if(e.pos>=i)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()};Vc.prototype.parse=function(e,t,n,i){const r=new this.State(e,t,n,i);this.tokenize(r);const o=this.ruler2.getRules(""),a=o.length;for(let c=0;c<a;c++)o[c](r)};Vc.prototype.State=Pc;function wM(e){const t={};e=e||{},t.src_Any=bT.source,t.src_Cc=xT.source,t.src_Z=TT.source,t.src_P=Wg.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");const n="[><|]";return t.src_pseudo_letter="(?:(?!"+n+"|"+t.src_ZPCc+")"+t.src_Any+")",t.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]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|"+n+"|"+t.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+n+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+"|$)|;(?!"+t.src_ZCc+"|$)|\\!+(?!"+t.src_ZCc+"|[!]|$)|\\?(?!"+t.src_ZCc+"|[?]|$))+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy="(^|"+n+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}function Hm(e){return Array.prototype.slice.call(arguments,1).forEach(function(n){n&&Object.keys(n).forEach(function(i){e[i]=n[i]})}),e}function k0(e){return Object.prototype.toString.call(e)}function DM(e){return k0(e)==="[object String]"}function NM(e){return k0(e)==="[object Object]"}function OM(e){return k0(e)==="[object RegExp]"}function JE(e){return k0(e)==="[object Function]"}function RM(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const kT={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function MM(e){return Object.keys(e||{}).reduce(function(t,n){return t||kT.hasOwnProperty(n)},!1)}const kM={"http:":{validate:function(e,t,n){const i=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(i)?i.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){const i=e.slice(t);return n.re.no_http||(n.re.no_http=new 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(i)?t>=3&&e[t-3]===":"||t>=3&&e[t-3]==="/"?0:i.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){const i=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(i)?i.match(n.re.mailto)[0].length:0}}},LM="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]",IM="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function FM(e){e.__index__=-1,e.__text_cache__=""}function jM(e){return function(t,n){const i=t.slice(n);return e.test(i)?i.match(e)[0].length:0}}function e6(){return function(e,t){t.normalize(e)}}function e0(e){const t=e.re=wM(e.__opts__),n=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||n.push(LM),n.push(t.src_xn),t.src_tlds=n.join("|");function i(c){return c.replace("%TLDS%",t.src_tlds)}t.email_fuzzy=RegExp(i(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(i(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(i(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(i(t.tpl_host_fuzzy_test),"i");const r=[];e.__compiled__={};function o(c,f){throw new Error('(LinkifyIt) Invalid schema "'+c+'": '+f)}Object.keys(e.__schemas__).forEach(function(c){const f=e.__schemas__[c];if(f===null)return;const h={validate:null,link:null};if(e.__compiled__[c]=h,NM(f)){OM(f.validate)?h.validate=jM(f.validate):JE(f.validate)?h.validate=f.validate:o(c,f),JE(f.normalize)?h.normalize=f.normalize:f.normalize?o(c,f):h.normalize=e6();return}if(DM(f)){r.push(c);return}o(c,f)}),r.forEach(function(c){e.__compiled__[e.__schemas__[c]]&&(e.__compiled__[c].validate=e.__compiled__[e.__schemas__[c]].validate,e.__compiled__[c].normalize=e.__compiled__[e.__schemas__[c]].normalize)}),e.__compiled__[""]={validate:null,normalize:e6()};const a=Object.keys(e.__compiled__).filter(function(c){return c.length>0&&e.__compiled__[c]}).map(RM).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","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"),FM(e)}function PM(e,t){const n=e.__index__,i=e.__last_index__,r=e.__text_cache__.slice(n,i);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=i+t,this.raw=r,this.text=r,this.url=r}function qm(e,t){const n=new PM(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function fi(e,t){if(!(this instanceof fi))return new fi(e,t);t||MM(e)&&(t=e,e={}),this.__opts__=Hm({},kT,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=Hm({},kM,e),this.__compiled__={},this.__tlds__=IM,this.__tlds_replaced__=!1,this.re={},e0(this)}fi.prototype.add=function(t,n){return this.__schemas__[t]=n,e0(this),this};fi.prototype.set=function(t){return this.__opts__=Hm(this.__opts__,t),this};fi.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;let n,i,r,o,a,c,f,h,p;if(this.re.schema_test.test(t)){for(f=this.re.schema_search,f.lastIndex=0;(n=f.exec(t))!==null;)if(o=this.testSchemaAt(t,n[2],f.lastIndex),o){this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+o;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(h=t.search(this.re.host_fuzzy_test),h>=0&&(this.__index__<0||h<this.__index__)&&(i=t.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(a=i.index+i[1].length,(this.__index__<0||a<this.__index__)&&(this.__schema__="",this.__index__=a,this.__last_index__=i.index+i[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(p=t.indexOf("@"),p>=0&&(r=t.match(this.re.email_fuzzy))!==null&&(a=r.index+r[1].length,c=r.index+r[0].length,(this.__index__<0||a<this.__index__||a===this.__index__&&c>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=a,this.__last_index__=c))),this.__index__>=0};fi.prototype.pretest=function(t){return this.re.pretest.test(t)};fi.prototype.testSchemaAt=function(t,n,i){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(t,i,this):0};fi.prototype.match=function(t){const n=[];let i=0;this.__index__>=0&&this.__text_cache__===t&&(n.push(qm(this,i)),i=this.__last_index__);let r=i?t.slice(i):t;for(;this.test(r);)n.push(qm(this,i)),r=r.slice(this.__last_index__),i+=this.__last_index__;return n.length?n:null};fi.prototype.matchAtStart=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return null;const n=this.re.schema_at_start.exec(t);if(!n)return null;const i=this.testSchemaAt(t,n[2],n[0].length);return i?(this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+i,qm(this,0)):null};fi.prototype.tlds=function(t,n){return t=Array.isArray(t)?t:[t],n?(this.__tlds__=this.__tlds__.concat(t).sort().filter(function(i,r,o){return i!==o[r-1]}).reverse(),e0(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,e0(this),this)};fi.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),t.schema==="mailto:"&&!/^mailto:/i.test(t.url)&&(t.url="mailto:"+t.url)};fi.prototype.onCompile=function(){};const fa=2147483647,gr=36,n2=1,vc=26,VM=38,BM=700,LT=72,IT=128,FT="-",$M=/^xn--/,UM=/[^\0-\x7F]/,zM=/[\x2E\u3002\uFF0E\uFF61]/g,HM={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},D1=gr-n2,vr=Math.floor,N1=String.fromCharCode;function Ku(e){throw new RangeError(HM[e])}function qM(e,t){const n=[];let i=e.length;for(;i--;)n[i]=t(e[i]);return n}function jT(e,t){const n=e.split("@");let i="";n.length>1&&(i=n[0]+"@",e=n[1]),e=e.replace(zM,".");const r=e.split("."),o=qM(r,t).join(".");return i+o}function PT(e){const t=[];let n=0;const i=e.length;for(;n<i;){const r=e.charCodeAt(n++);if(r>=55296&&r<=56319&&n<i){const o=e.charCodeAt(n++);(o&64512)==56320?t.push(((r&1023)<<10)+(o&1023)+65536):(t.push(r),n--)}else t.push(r)}return t}const GM=e=>String.fromCodePoint(...e),YM=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:gr},t6=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},VT=function(e,t,n){let i=0;for(e=n?vr(e/BM):e>>1,e+=vr(e/t);e>D1*vc>>1;i+=gr)e=vr(e/D1);return vr(i+(D1+1)*e/(e+VM))},BT=function(e){const t=[],n=e.length;let i=0,r=IT,o=LT,a=e.lastIndexOf(FT);a<0&&(a=0);for(let c=0;c<a;++c)e.charCodeAt(c)>=128&&Ku("not-basic"),t.push(e.charCodeAt(c));for(let c=a>0?a+1:0;c<n;){const f=i;for(let p=1,g=gr;;g+=gr){c>=n&&Ku("invalid-input");const y=YM(e.charCodeAt(c++));y>=gr&&Ku("invalid-input"),y>vr((fa-i)/p)&&Ku("overflow"),i+=y*p;const v=g<=o?n2:g>=o+vc?vc:g-o;if(y<v)break;const E=gr-v;p>vr(fa/E)&&Ku("overflow"),p*=E}const h=t.length+1;o=VT(i-f,h,f==0),vr(i/h)>fa-r&&Ku("overflow"),r+=vr(i/h),i%=h,t.splice(i++,0,r)}return String.fromCodePoint(...t)},$T=function(e){const t=[];e=PT(e);const n=e.length;let i=IT,r=0,o=LT;for(const f of e)f<128&&t.push(N1(f));const a=t.length;let c=a;for(a&&t.push(FT);c<n;){let f=fa;for(const p of e)p>=i&&p<f&&(f=p);const h=c+1;f-i>vr((fa-r)/h)&&Ku("overflow"),r+=(f-i)*h,i=f;for(const p of e)if(p<i&&++r>fa&&Ku("overflow"),p===i){let g=r;for(let y=gr;;y+=gr){const v=y<=o?n2:y>=o+vc?vc:y-o;if(g<v)break;const E=g-v,T=gr-v;t.push(N1(t6(v+E%T,0))),g=vr(E/T)}t.push(N1(t6(g,0))),o=VT(r,h,c===a),r=0,++c}++r,++i}return t.join("")},QM=function(e){return jT(e,function(t){return $M.test(t)?BT(t.slice(4).toLowerCase()):t})},XM=function(e){return jT(e,function(t){return UM.test(t)?"xn--"+$T(t):t})},UT={version:"2.3.1",ucs2:{decode:PT,encode:GM},decode:BT,encode:$T,toASCII:XM,toUnicode:QM},ZM={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},WM={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"]}}},KM={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"]}}},JM={default:ZM,zero:WM,commonmark:KM},ek=/^(vbscript|javascript|file|data):/,tk=/^data:image\/(gif|png|jpeg|webp);/;function nk(e){const t=e.trim().toLowerCase();return ek.test(t)?tk.test(t):!0}const zT=["http:","https:","mailto:"];function ik(e){const t=Zg(e,!0);if(t.hostname&&(!t.protocol||zT.indexOf(t.protocol)>=0))try{t.hostname=UT.toASCII(t.hostname)}catch{}return jc(Xg(t))}function rk(e){const t=Zg(e,!0);if(t.hostname&&(!t.protocol||zT.indexOf(t.protocol)>=0))try{t.hostname=UT.toUnicode(t.hostname)}catch{}return ya(Xg(t),ya.defaultChars+"%")}function Ni(e,t){if(!(this instanceof Ni))return new Ni(e,t);t||Kg(e)||(t=e||{},e="default"),this.inline=new Vc,this.block=new M0,this.core=new e2,this.renderer=new Da,this.linkify=new fi,this.validateLink=nk,this.normalizeLink=ik,this.normalizeLinkText=rk,this.utils=oR,this.helpers=O0({},cR),this.options={},this.configure(e),t&&this.set(t)}Ni.prototype.set=function(e){return O0(this.options,e),this};Ni.prototype.configure=function(e){const t=this;if(Kg(e)){const n=e;if(e=JM[n],!e)throw new Error('Wrong `markdown-it` preset "'+n+'", check name')}if(!e)throw new 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[n].ruler2.enableOnly(e.components[n].rules2)}),this};Ni.prototype.enable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(r){n=n.concat(this[r].ruler.enable(e,!0))},this),n=n.concat(this.inline.ruler2.enable(e,!0));const i=e.filter(function(r){return n.indexOf(r)<0});if(i.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+i);return this};Ni.prototype.disable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(r){n=n.concat(this[r].ruler.disable(e,!0))},this),n=n.concat(this.inline.ruler2.disable(e,!0));const i=e.filter(function(r){return n.indexOf(r)<0});if(i.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+i);return this};Ni.prototype.use=function(e){const t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this};Ni.prototype.parse=function(e,t){if(typeof e!="string")throw new Error("Input data should be a String");const n=new this.core.State(e,this,t);return this.core.process(n),n.tokens};Ni.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)};Ni.prototype.parseInline=function(e,t){const n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens};Ni.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};const t0=new Ni({breaks:!1,linkify:!0});function uk(e,t,{schema:n,setSchemaReference:i},r,o){Fc([],{useCommonAddons:!1}).then(c=>{let f,h,p,g,y,v,E,T,S;c.on(t,"select",(A,D)=>{if(!f){const C=D.parentNode;f=document.createElement("div"),f.className="CodeMirror-hint-information",C.append(f);const N=document.createElement("header");N.className="CodeMirror-hint-information-header",f.append(N),h=document.createElement("span"),h.className="CodeMirror-hint-information-field-name",N.append(h),p=document.createElement("span"),p.className="CodeMirror-hint-information-type-name-pill",N.append(p),g=document.createElement("span"),p.append(g),y=document.createElement("a"),y.className="CodeMirror-hint-information-type-name",y.href="javascript:void 0",y.addEventListener("click",a),p.append(y),v=document.createElement("span"),p.append(v),E=document.createElement("div"),E.className="CodeMirror-hint-information-description",f.append(E),T=document.createElement("div"),T.className="CodeMirror-hint-information-deprecation",f.append(T);const O=document.createElement("span");O.className="CodeMirror-hint-information-deprecation-label",O.textContent="Deprecated",T.append(O),S=document.createElement("div"),S.className="CodeMirror-hint-information-deprecation-reason",T.append(S);const k=parseInt(window.getComputedStyle(f).paddingBottom.replace(/px$/,""),10)||0,I=parseInt(window.getComputedStyle(f).maxHeight.replace(/px$/,""),10)||0,P=()=>{f&&(f.style.paddingTop=C.scrollTop+k+"px",f.style.maxHeight=C.scrollTop+I+"px")};C.addEventListener("scroll",P);let L;C.addEventListener("DOMNodeRemoved",L=B=>{B.target===C&&(C.removeEventListener("scroll",P),C.removeEventListener("DOMNodeRemoved",L),f==null||f.removeEventListener("click",a),f=null,h=null,p=null,g=null,y=null,v=null,E=null,T=null,S=null,L=null)})}if(h&&(h.textContent=A.text),p&&g&&y&&v)if(A.type){p.style.display="inline";const C=N=>{Pt(N)?(v.textContent="!"+v.textContent,C(N.ofType)):kn(N)?(g.textContent+="[",v.textContent="]"+v.textContent,C(N.ofType)):y.textContent=N.name};g.textContent="",v.textContent="",C(A.type)}else g.textContent="",y.textContent="",v.textContent="",p.style.display="none";E&&(A.description?(E.style.display="block",E.innerHTML=t0.render(A.description)):(E.style.display="none",E.innerHTML="")),T&&S&&(A.deprecationReason?(T.style.display="block",S.innerHTML=t0.render(A.deprecationReason)):(T.style.display="none",S.innerHTML=""))})});function a(c){const f=r==null?void 0:r.referencePlugin;if(!n||!f||!(c.currentTarget instanceof HTMLElement))return;const h=c.currentTarget.textContent||"",p=n.getType(h);p&&(r.setVisiblePlugin(f),i({kind:"Type",type:p}),o==null||o(p))}}function xa(e,t){let n;return function(...i){n&&window.clearTimeout(n),n=window.setTimeout(()=>{n=null,t(...i)},e)}}function vd(e,t){const n=ge.c(4);let i,r;n[0]!==e||n[1]!==t?(i=()=>{e&&typeof t=="string"&&t!==e.getValue()&&e.setValue(t)},r=[e,t],n[0]=e,n[1]=t,n[2]=i,n[3]=r):(i=n[2],r=n[3]),x.useEffect(i,r)}function L0(e,t,n){const i=ge.c(5);let r,o;i[0]!==e||i[1]!==t||i[2]!==n?(r=()=>{e==null||e.setOption(t,n)},o=[e,t,n],i[0]=e,i[1]=t,i[2]=n,i[3]=r,i[4]=o):(r=i[3],o=i[4]),x.useEffect(r,o)}function HT(e,t,n,i,r){const o=ge.c(10);let a;o[0]!==r?(a={nonNull:!0,caller:r},o[0]=r,o[1]=a):a=o[1];const{updateActiveTabValues:c}=bn(a),f=ao();let h,p;o[2]!==t||o[3]!==e||o[4]!==f||o[5]!==n||o[6]!==i||o[7]!==c?(h=()=>{if(!e)return;const g=xa(500,E=>{!f||n===null||f.set(n,E)}),y=xa(100,E=>{c({[i]:E})}),v=(E,T)=>{if(!T)return;const S=E.getValue();g(S),y(S),t==null||t(S)};return e.on("change",v),()=>e.off("change",v)},p=[t,e,f,n,i,c],o[2]=t,o[3]=e,o[4]=f,o[5]=n,o[6]=i,o[7]=c,o[8]=h,o[9]=p):(h=o[8],p=o[9]),x.useEffect(h,p)}function qT(e,t,n){const i=ge.c(8);let r;i[0]!==n?(r={nonNull:!0,caller:n},i[0]=n,i[1]=r):r=i[1];const o=Dr(r),a=N0();let c,f;i[2]!==t||i[3]!==e||i[4]!==a||i[5]!==o?(c=()=>{if(!e)return;const h=(p,g)=>{uk(p,g,o,a,y=>{t==null||t({kind:"Type",type:y,schema:o.schema||void 0})})};return e.on("hasCompletion",h),()=>e.off("hasCompletion",h)},f=[t,e,a,o],i[2]=t,i[3]=e,i[4]=a,i[5]=o,i[6]=c,i[7]=f):(c=i[6],f=i[7]),x.useEffect(c,f)}function yr(e,t,n){const i=ge.c(5);let r,o;i[0]!==n||i[1]!==e||i[2]!==t?(r=()=>{if(e){for(const a of t)e.removeKeyMap(a);if(n){const a={};for(const c of t)a[c]=()=>n();e.addKeyMap(a)}}},o=[e,t,n],i[0]=n,i[1]=e,i[2]=t,i[3]=r,i[4]=o):(r=i[3],o=i[4]),x.useEffect(r,o)}const ok=i2,n6=Bc,sk=$c,i6=GT;function i2(e){const t=ge.c(7);let n;t[0]!==e?(n=e===void 0?{}:e,t[0]=e,t[1]=n):n=t[1];const{caller:i,onCopyQuery:r}=n,o=i||ok;let a;t[2]!==o?(a={nonNull:!0,caller:o},t[2]=o,t[3]=a):a=t[3];const{queryEditor:c}=bn(a);let f;return t[4]!==r||t[5]!==c?(f=()=>{if(!c)return;const h=c.getValue();gO(h),r==null||r(h)},t[4]=r,t[5]=c,t[6]=f):f=t[6],f}function Bc(e){const t=ge.c(8);let n;t[0]!==e?(n=e===void 0?{}:e,t[0]=e,t[1]=n):n=t[1];const{caller:i}=n,r=i||n6;let o;t[2]!==r?(o={nonNull:!0,caller:r},t[2]=r,t[3]=o):o=t[3];const{queryEditor:a}=bn(o);let c;t[4]===Symbol.for("react.memo_cache_sentinel")?(c={nonNull:!0,caller:n6},t[4]=c):c=t[4];const{schema:f}=Dr(c);let h;return t[5]!==a||t[6]!==f?(h=()=>{const p=a==null?void 0:a.documentAST,g=a==null?void 0:a.getValue();!p||!g||a.setValue(li(aN(p,f)))},t[5]=a,t[6]=f,t[7]=h):h=t[7],h}function ak(e){return li(Ko(e))}function $c(e){const t=ge.c(9);let n;t[0]!==e?(n=e===void 0?{}:e,t[0]=e,t[1]=n):n=t[1];const{caller:i,onPrettifyQuery:r}=n,o=r===void 0?ak:r,a=i||sk;let c;t[2]!==a?(c={nonNull:!0,caller:a},t[2]=a,t[3]=c):c=t[3];const{queryEditor:f,headerEditor:h,variableEditor:p}=bn(c);let g;return t[4]!==h||t[5]!==o||t[6]!==f||t[7]!==p?(g=async()=>{if(p){const y=p.getValue();try{const v=JSON.stringify(JSON.parse(y),null,2);v!==y&&p.setValue(v)}catch{}}if(h){const y=h.getValue();try{const v=JSON.stringify(JSON.parse(y),null,2);v!==y&&h.setValue(v)}catch{}}if(f){const y=f.getValue();try{const v=await o(y);v!==y&&f.setValue(v)}catch{}}},t[4]=h,t[5]=o,t[6]=f,t[7]=p,t[8]=g):g=t[8],g}function GT(e){const t=ge.c(10);let n;t[0]!==e?(n=e===void 0?{}:e,t[0]=e,t[1]=n):n=t[1];const{getDefaultFieldNames:i,caller:r}=n,o=r||i6;let a;t[2]!==o?(a={nonNull:!0,caller:o},t[2]=o,t[3]=a):a=t[3];const{schema:c}=Dr(a),f=r||i6;let h;t[4]!==f?(h={nonNull:!0,caller:f},t[4]=f,t[5]=h):h=t[5];const{queryEditor:p}=bn(h);let g;return t[6]!==i||t[7]!==p||t[8]!==c?(g=()=>{if(!p)return;const y=p.getValue(),{insertions:v,result:E}=nN(c,y,i);return v&&v.length>0&&p.operation(()=>{const T=p.getCursor(),S=p.indexFromPos(T);p.setValue(E||"");let A;A=0;const D=v.map(N=>{const{index:O,string:k}=N;return A=A+k.length,p.markText(p.posFromIndex(O+A),p.posFromIndex(O+A),{className:"auto-inserted-leaf",clearOnEnter:!0,title:"Automatically added leaf fields"})});setTimeout(()=>{for(const N of D)N.clear()},7e3);let C=S;for(const{index:N,string:O}of v)N<S&&(C=C+O.length);p.setCursor(p.posFromIndex(C))}),E},t[6]=i,t[7]=p,t[8]=c,t[9]=g):g=t[9],g}function lk(){return Fc([We(()=>import("./javascript-DOLBPx81.js").then(e=>e.j),__vite__mapDeps([15,1]))])}const yd=YT;function YT(e,t){const n=ge.c(17);let i;n[0]!==e?(i=e===void 0?{}:e,n[0]=e,n[1]=i):i=n[1];const{editorTheme:r,keyMap:o,onEdit:a,readOnly:c}=i,f=r===void 0?A0:r,h=o===void 0?w0:o,p=c===void 0?!1:c,g=t||yd;let y;n[2]!==g?(y={nonNull:!0,caller:g},n[2]=g,n[3]=y):y=n[3];const{initialHeaders:v,headerEditor:E,setHeaderEditor:T,shouldPersistHeaders:S}=bn(y),A=Na(),D=t||yd;let C;n[4]!==D?(C={caller:D},n[4]=D,n[5]=C):C=n[5];const N=Bc(C),O=t||yd;let k;n[6]!==O?(k={caller:O},n[6]=O,n[7]=k):k=n[7];const I=$c(k),P=x.useRef(null);let L,B;n[8]!==f||n[9]!==v||n[10]!==p||n[11]!==T?(L=()=>{let fe;return fe=!0,lk().then(X=>{if(!fe)return;const F=P.current;if(!F)return;const H=X(F,{value:v,lineNumbers:!0,tabSize:2,mode:{name:"javascript",json:!0},theme:f,autoCloseBrackets:!0,matchBrackets:!0,showCursorWhenSelecting:!0,readOnly:p?"nocursor":!1,foldGutter:!0,gutters:["CodeMirror-linenumbers","CodeMirror-foldgutter"],extraKeys:D0});H.addKeyMap({"Cmd-Space"(){H.showHint({completeSingle:!1,container:F})},"Ctrl-Space"(){H.showHint({completeSingle:!1,container:F})},"Alt-Space"(){H.showHint({completeSingle:!1,container:F})},"Shift-Space"(){H.showHint({completeSingle:!1,container:F})}}),H.on("keyup",ck),T(H)}),()=>{fe=!1}},B=[f,v,p,T],n[8]=f,n[9]=v,n[10]=p,n[11]=T,n[12]=L,n[13]=B):(L=n[12],B=n[13]),x.useEffect(L,B),L0(E,"keyMap",h),HT(E,a,S?Fd:null,"headers",yd);let z;n[14]===Symbol.for("react.memo_cache_sentinel")?(z=["Cmd-Enter","Ctrl-Enter"],n[14]=z):z=n[14],yr(E,z,A==null?void 0:A.run);let te;n[15]===Symbol.for("react.memo_cache_sentinel")?(te=["Shift-Ctrl-P"],n[15]=te):te=n[15],yr(E,te,I);let re;return n[16]===Symbol.for("react.memo_cache_sentinel")?(re=["Shift-Ctrl-M"],n[16]=re):re=n[16],yr(E,re,N),P}function ck(e,t){const{code:n,key:i,shiftKey:r}=t,o=n.startsWith("Key"),a=!r&&n.startsWith("Digit");(o||a||i==="_"||i==='"')&&e.execCommand("autocomplete")}const Fd="headers",fk=Array.from({length:11},(e,t)=>String.fromCharCode(8192+t)).concat(["\u2028","\u2029"," "," "]),dk=new RegExp("["+fk.join("")+"]","g");function hk(e){return e.replace(dk," ")}function pk(){return Fc([We(()=>import("./comment-Dr85-_os.js").then(e=>e.c),__vite__mapDeps([16,1])),We(()=>import("./search-Crevdced.js").then(e=>e.s),__vite__mapDeps([17,1,10,12])),We(()=>import("./hint-BU3hYq97.js"),__vite__mapDeps([18,0,1,2,19])),We(()=>import("./lint-B407pjh7.js"),__vite__mapDeps([20,0,1,19])),We(()=>import("./info-BjeMnYnE.js"),__vite__mapDeps([21,0,1,22,23,24])),We(()=>import("./jump-Dl0QwazW.js"),__vite__mapDeps([25,0,1,22,23])),We(()=>import("./mode-CP0uw3Jl.js"),__vite__mapDeps([26,0,1,27]))])}const Qs=QT;function mk(e,t){e.state.lint.linterOptions.variableToType=t==null?void 0:t.variableToType,e.options.lint.variableToType=t==null?void 0:t.variableToType,e.options.hintOptions.variableToType=t==null?void 0:t.variableToType}function gk(e,t){e.state.lint.linterOptions.schema=t,e.options.lint.schema=t,e.options.hintOptions.schema=t,e.options.info.schema=t,e.options.jump.schema=t}function vk(e,t){e.state.lint.linterOptions.validationRules=t,e.options.lint.validationRules=t}function yk(e,t){e.state.lint.linterOptions.externalFragments=t,e.options.lint.externalFragments=t,e.options.hintOptions.externalFragments=t}function QT(e,t){const n=ge.c(42);let i;n[0]!==e?(i=e===void 0?{}:e,n[0]=e,n[1]=i):i=n[1];const{editorTheme:r,keyMap:o,onClickReference:a,onCopyQuery:c,onEdit:f,onPrettifyQuery:h,readOnly:p}=i,g=r===void 0?A0:r,y=o===void 0?w0:o,v=p===void 0?!1:p,E=t||Qs;let T;n[2]!==E?(T={nonNull:!0,caller:E},n[2]=E,n[3]=T):T=n[3];const{schema:S,setSchemaReference:A}=Dr(T),D=t||Qs;let C;n[4]!==D?(C={nonNull:!0,caller:D},n[4]=D,n[5]=C):C=n[5];const{externalFragments:N,initialQuery:O,queryEditor:k,setOperationName:I,setQueryEditor:P,validationRules:L,variableEditor:B,updateActiveTabValues:z}=bn(C),te=Na(),re=ao(),fe=N0(),X=t||Qs;let F;n[6]!==c||n[7]!==X?(F={caller:X,onCopyQuery:c},n[6]=c,n[7]=X,n[8]=F):F=n[8];const H=i2(F),$=t||Qs;let V;n[9]!==$?(V={caller:$},n[9]=$,n[10]=V):V=n[10];const M=Bc(V),q=t||Qs;let ie;n[11]!==h||n[12]!==q?(ie={caller:q,onPrettifyQuery:h},n[11]=h,n[12]=q,n[13]=ie):ie=n[13];const ne=$c(ie),Y=x.useRef(null),pe=x.useRef(void 0),oe=x.useRef(Tk);let le,ue;n[14]!==a||n[15]!==fe||n[16]!==A?(le=()=>{oe.current=Ne=>{const ct=fe==null?void 0:fe.referencePlugin;ct&&(fe.setVisiblePlugin(ct),A(Ne),a==null||a(Ne))}},ue=[a,fe,A],n[14]=a,n[15]=fe,n[16]=A,n[17]=le,n[18]=ue):(le=n[17],ue=n[18]),x.useEffect(le,ue);let me,ve;n[19]!==g||n[20]!==O||n[21]!==v||n[22]!==P?(me=()=>{let Ne;return Ne=!0,pk().then(ct=>{if(!Ne)return;pe.current=ct;const ut=Y.current;if(!ut)return;const Ye=ct(ut,{value:O,lineNumbers:!0,tabSize:2,foldGutter:!0,mode:"graphql",theme:g,autoCloseBrackets:!0,matchBrackets:!0,showCursorWhenSelecting:!0,readOnly:v?"nocursor":!1,lint:{schema:void 0,validationRules:null,externalFragments:void 0},hintOptions:{schema:void 0,closeOnUnfocus:!1,completeSingle:!1,container:ut,externalFragments:void 0,autocompleteOptions:{mode:su.EXECUTABLE}},info:{schema:void 0,renderDescription:Ek,onClick($t){oe.current($t)}},jump:{schema:void 0,onClick($t){oe.current($t)}},gutters:["CodeMirror-linenumbers","CodeMirror-foldgutter"],extraKeys:{...D0,"Cmd-S"(){},"Ctrl-S"(){}}}),fn=function(){Ye.showHint({completeSingle:!0,container:ut})};Ye.addKeyMap({"Cmd-Space":fn,"Ctrl-Space":fn,"Alt-Space":fn,"Shift-Space":fn,"Shift-Alt-Space":fn}),Ye.on("keyup",xk);let Qe;Qe=!1,Ye.on("startCompletion",()=>{Qe=!0}),Ye.on("endCompletion",()=>{Qe=!1}),Ye.on("keydown",($t,kt)=>{kt.key==="Escape"&&Qe&&kt.stopPropagation()}),Ye.on("beforeChange",bk),Ye.documentAST=null,Ye.operationName=null,Ye.operations=null,Ye.variableToType=null,P(Ye)}),()=>{Ne=!1}},ve=[g,O,v,P],n[19]=g,n[20]=O,n[21]=v,n[22]=P,n[23]=me,n[24]=ve):(me=n[23],ve=n[24]),x.useEffect(me,ve),L0(k,"keyMap",y);let He,lt;n[25]!==f||n[26]!==k||n[27]!==S||n[28]!==I||n[29]!==re||n[30]!==z||n[31]!==B?(He=()=>{if(!k)return;const Ne=function(Ye){var fn;const Qe=rO(S,Ye.getValue()),$t=lN(Ye.operations??void 0,Ye.operationName??void 0,Qe==null?void 0:Qe.operations);return Ye.documentAST=(Qe==null?void 0:Qe.documentAST)??null,Ye.operationName=$t??null,Ye.operations=(Qe==null?void 0:Qe.operations)??null,B&&(mk(B,Qe),(fn=pe.current)==null||fn.signal(B,"change",B)),Qe?{...Qe,operationName:$t}:null},ct=xa(100,ut=>{const Ye=ut.getValue();re==null||re.set(XT,Ye);const fn=ut.operationName,Qe=Ne(ut);(Qe==null?void 0:Qe.operationName)!==void 0&&(re==null||re.set(wk,Qe.operationName)),f==null||f(Ye,Qe==null?void 0:Qe.documentAST),Qe!=null&&Qe.operationName&&fn!==Qe.operationName&&I(Qe.operationName),z({query:Ye,operationName:(Qe==null?void 0:Qe.operationName)??null})});return Ne(k),k.on("change",ct),()=>k.off("change",ct)},lt=[f,k,S,I,re,B,z],n[25]=f,n[26]=k,n[27]=S,n[28]=I,n[29]=re,n[30]=z,n[31]=B,n[32]=He,n[33]=lt):(He=n[32],lt=n[33]),x.useEffect(He,lt),Sk(k,S??null,pe),_k(k,L??null,pe),Ck(k,N,pe),qT(k,a||null,Qs);const Te=te==null?void 0:te.run;let At;n[34]!==k||n[35]!==Te||n[36]!==I?(At=()=>{var Ne;if(!Te||!k||!k.operations||!k.hasFocus()){Te==null||Te();return}const ct=k.indexFromPos(k.getCursor());let ut;for(const Ye of k.operations)Ye.loc&&Ye.loc.start<=ct&&Ye.loc.end>=ct&&(ut=(Ne=Ye.name)==null?void 0:Ne.value);ut&&ut!==k.operationName&&I(ut),Te()},n[34]=k,n[35]=Te,n[36]=I,n[37]=At):At=n[37];const In=At;let cn;n[38]===Symbol.for("react.memo_cache_sentinel")?(cn=["Cmd-Enter","Ctrl-Enter"],n[38]=cn):cn=n[38],yr(k,cn,In);let nt;n[39]===Symbol.for("react.memo_cache_sentinel")?(nt=["Shift-Ctrl-C"],n[39]=nt):nt=n[39],yr(k,nt,H);let De;n[40]===Symbol.for("react.memo_cache_sentinel")?(De=["Shift-Ctrl-P","Shift-Ctrl-F"],n[40]=De):De=n[40],yr(k,De,ne);let qe;return n[41]===Symbol.for("react.memo_cache_sentinel")?(qe=["Shift-Ctrl-M"],n[41]=qe):qe=n[41],yr(k,qe,M),Y}function bk(e,t){var n;if(t.origin==="paste"){const i=t.text.map(hk);(n=t.update)==null||n.call(t,t.from,t.to,i)}}function xk(e,t){Ak.test(t.key)&&e.execCommand("autocomplete")}function Ek(e){return t0.render(e)}function Tk(){}function Sk(e,t,n){const i=ge.c(5);let r,o;i[0]!==n||i[1]!==e||i[2]!==t?(r=()=>{if(!e)return;const a=e.options.lint.schema!==t;gk(e,t),a&&n.current&&n.current.signal(e,"change",e)},o=[e,t,n],i[0]=n,i[1]=e,i[2]=t,i[3]=r,i[4]=o):(r=i[3],o=i[4]),x.useEffect(r,o)}function _k(e,t,n){const i=ge.c(5);let r,o;i[0]!==n||i[1]!==e||i[2]!==t?(r=()=>{if(!e)return;const a=e.options.lint.validationRules!==t;vk(e,t),a&&n.current&&n.current.signal(e,"change",e)},o=[e,t,n],i[0]=n,i[1]=e,i[2]=t,i[3]=r,i[4]=o):(r=i[3],o=i[4]),x.useEffect(r,o)}function Ck(e,t,n){const i=ge.c(7);let r;i[0]!==t?(r=[...t.values()],i[0]=t,i[1]=r):r=i[1];const o=r;let a,c;i[2]!==n||i[3]!==e||i[4]!==o?(a=()=>{if(!e)return;const f=e.options.lint.externalFragments!==o;yk(e,o),f&&n.current&&n.current.signal(e,"change",e)},c=[e,o,n],i[2]=n,i[3]=e,i[4]=o,i[5]=a,i[6]=c):(a=i[5],c=i[6]),x.useEffect(a,c)}const Ak=/^[a-zA-Z0-9_@(]$/,XT="query",wk="operationName";function Dk({defaultQuery:e,defaultHeaders:t,headers:n,defaultTabs:i,query:r,variables:o,storage:a,shouldPersistHeaders:c}){const f=a==null?void 0:a.get(yc);try{if(!f)throw new Error("Storage for tabs is empty");const h=JSON.parse(f),p=c?n:void 0;if(Nk(h)){const g=n0({query:r,variables:o,headers:p});let y=-1;for(let v=0;v<h.tabs.length;v++){const E=h.tabs[v];E.hash=n0({query:E.query,variables:E.variables,headers:E.headers}),E.hash===g&&(y=v)}if(y>=0)h.activeTabIndex=y;else{const v=r?r2(r):null;h.tabs.push({id:JT(),hash:g,title:v||u2,query:r,variables:o,headers:n,operationName:v,response:null}),h.activeTabIndex=h.tabs.length-1}return h}throw new Error("Storage for tabs is invalid")}catch{return{activeTabIndex:0,tabs:(i||[{query:r??e,variables:o,headers:n??t}]).map(WT)}}}function Nk(e){return e&&typeof e=="object"&&!Array.isArray(e)&&Rk(e,"activeTabIndex")&&"tabs"in e&&Array.isArray(e.tabs)&&e.tabs.every(Ok)}function Ok(e){return e&&typeof e=="object"&&!Array.isArray(e)&&r6(e,"id")&&r6(e,"title")&&jl(e,"query")&&jl(e,"variables")&&jl(e,"headers")&&jl(e,"operationName")&&jl(e,"response")}function Rk(e,t){return t in e&&typeof e[t]=="number"}function r6(e,t){return t in e&&typeof e[t]=="string"}function jl(e,t){return t in e&&(typeof e[t]=="string"||e[t]===null)}function Mk({queryEditor:e,variableEditor:t,headerEditor:n,responseEditor:i}){return x.useCallback(r=>{const o=(e==null?void 0:e.getValue())??null,a=(t==null?void 0:t.getValue())??null,c=(n==null?void 0:n.getValue())??null,f=(e==null?void 0:e.operationName)??null,h=(i==null?void 0:i.getValue())??null;return KT(r,{query:o,variables:a,headers:c,response:h,operationName:f})},[e,t,n,i])}function ZT(e,t=!1){return JSON.stringify(e,(n,i)=>n==="hash"||n==="response"||!t&&n==="headers"?null:i)}function kk({storage:e,shouldPersistHeaders:t}){const n=x.useMemo(()=>xa(500,i=>{e==null||e.set(yc,i)}),[e]);return x.useCallback(i=>{n(ZT(i,t))},[t,n])}function Lk({queryEditor:e,variableEditor:t,headerEditor:n,responseEditor:i,defaultHeaders:r}){return x.useCallback(({query:o,variables:a,headers:c,response:f})=>{e==null||e.setValue(o??""),t==null||t.setValue(a??""),n==null||n.setValue(c??r??""),i==null||i.setValue(f??"")},[n,e,i,t,r])}function WT({query:e=null,variables:t=null,headers:n=null}={}){const i=e?r2(e):null;return{id:JT(),hash:n0({query:e,variables:t,headers:n}),title:i||u2,query:e,variables:t,headers:n,operationName:i,response:null}}function KT(e,t){return{...e,tabs:e.tabs.map((n,i)=>{if(i!==e.activeTabIndex)return n;const r={...n,...t};return{...r,hash:n0(r),title:r.operationName||(r.query?r2(r.query):void 0)||u2}})}}function JT(){const e=()=>Math.floor((1+Math.random())*65536).toString(16).slice(1);return`${e()}${e()}-${e()}-${e()}-${e()}-${e()}${e()}${e()}`}function n0(e){return[e.query??"",e.variables??"",e.headers??""].join("|")}function r2(e){const n=/^(?!#).*(query|subscription|mutation)\s+([a-zA-Z0-9_]+)/m.exec(e);return(n==null?void 0:n[2])??null}function Ik(e){const t=e==null?void 0:e.get(yc);if(t){const n=JSON.parse(t);e==null||e.set(yc,JSON.stringify(n,(i,r)=>i==="headers"?null:r))}}const u2="<untitled>",yc="tabState";function Fk(){return Fc([We(()=>import("./hint-CTaCIspx.js"),__vite__mapDeps([28,0,1,23])),We(()=>import("./lint-CzSZJYWf.js"),__vite__mapDeps([29,0,1])),We(()=>import("./mode-2uvQFyqG.js"),__vite__mapDeps([30,0,1,27]))])}const Pl=eS;function eS(e,t){const n=ge.c(17);let i;n[0]!==e?(i=e===void 0?{}:e,n[0]=e,n[1]=i):i=n[1];const{editorTheme:r,keyMap:o,onClickReference:a,onEdit:c,readOnly:f}=i,h=r===void 0?A0:r,p=o===void 0?w0:o,g=f===void 0?!1:f,y=t||Pl;let v;n[2]!==y?(v={nonNull:!0,caller:y},n[2]=y,n[3]=v):v=n[3];const{initialVariables:E,variableEditor:T,setVariableEditor:S}=bn(v),A=Na(),D=t||Pl;let C;n[4]!==D?(C={caller:D},n[4]=D,n[5]=C):C=n[5];const N=Bc(C),O=t||Pl;let k;n[6]!==O?(k={caller:O},n[6]=O,n[7]=k):k=n[7];const I=$c(k),P=x.useRef(null);let L,B;n[8]!==h||n[9]!==E||n[10]!==g||n[11]!==S?(L=()=>{let fe;return fe=!0,Fk().then(X=>{if(!fe)return;const F=P.current;if(!F)return;const H=X(F,{value:E,lineNumbers:!0,tabSize:2,mode:"graphql-variables",theme:h,autoCloseBrackets:!0,matchBrackets:!0,showCursorWhenSelecting:!0,readOnly:g?"nocursor":!1,foldGutter:!0,lint:{variableToType:void 0},hintOptions:{closeOnUnfocus:!1,completeSingle:!1,container:F,variableToType:void 0},gutters:["CodeMirror-linenumbers","CodeMirror-foldgutter"],extraKeys:D0});H.addKeyMap({"Cmd-Space"(){H.showHint({completeSingle:!1,container:F})},"Ctrl-Space"(){H.showHint({completeSingle:!1,container:F})},"Alt-Space"(){H.showHint({completeSingle:!1,container:F})},"Shift-Space"(){H.showHint({completeSingle:!1,container:F})}}),H.on("keyup",jk),S(H)}),()=>{fe=!1}},B=[h,E,g,S],n[8]=h,n[9]=E,n[10]=g,n[11]=S,n[12]=L,n[13]=B):(L=n[12],B=n[13]),x.useEffect(L,B),L0(T,"keyMap",p),HT(T,c,tS,"variables",Pl),qT(T,a||null,Pl);let z;n[14]===Symbol.for("react.memo_cache_sentinel")?(z=["Cmd-Enter","Ctrl-Enter"],n[14]=z):z=n[14],yr(T,z,A==null?void 0:A.run);let te;n[15]===Symbol.for("react.memo_cache_sentinel")?(te=["Shift-Ctrl-P"],n[15]=te):te=n[15],yr(T,te,I);let re;return n[16]===Symbol.for("react.memo_cache_sentinel")?(re=["Shift-Ctrl-M"],n[16]=re):re=n[16],yr(T,re,N),P}function jk(e,t){const{code:n,key:i,shiftKey:r}=t,o=n.startsWith("Key"),a=!r&&n.startsWith("Digit");(o||a||i==="_"||i==='"')&&e.execCommand("autocomplete")}const tS="variables",nS=ts("EditorContext"),Pk=e=>{const t=ge.c(89),n=ao(),[i,r]=x.useState(null),[o,a]=x.useState(null),[c,f]=x.useState(null),[h,p]=x.useState(null);let g;t[0]!==e.shouldPersistHeaders||t[1]!==n?(g=()=>{const De=(n==null?void 0:n.get(O1))!==null;return e.shouldPersistHeaders!==!1&&De?(n==null?void 0:n.get(O1))==="true":!!e.shouldPersistHeaders},t[0]=e.shouldPersistHeaders,t[1]=n,t[2]=g):g=t[2];const[y,v]=x.useState(g);vd(i,e.headers),vd(o,e.query),vd(c,e.response),vd(h,e.variables);let E;t[3]!==y||t[4]!==n?(E={storage:n,shouldPersistHeaders:y},t[3]=y,t[4]=n,t[5]=E):E=t[5];const T=kk(E);let S;t[6]!==e.defaultHeaders||t[7]!==e.defaultQuery||t[8]!==e.defaultTabs||t[9]!==e.headers||t[10]!==e.query||t[11]!==e.response||t[12]!==e.variables||t[13]!==y||t[14]!==n||t[15]!==T?(S=()=>{const De=e.query??(n==null?void 0:n.get(XT))??null,qe=e.variables??(n==null?void 0:n.get(tS))??null,Ne=e.headers??(n==null?void 0:n.get(Fd))??null,ct=e.response??"",ut=Dk({query:De,variables:qe,headers:Ne,defaultTabs:e.defaultTabs,defaultQuery:e.defaultQuery||u6,defaultHeaders:e.defaultHeaders,storage:n,shouldPersistHeaders:y});return T(ut),{query:De??(ut.activeTabIndex===0?ut.tabs[0].query:null)??"",variables:qe??"",headers:Ne??e.defaultHeaders??"",response:ct,tabState:ut}},t[6]=e.defaultHeaders,t[7]=e.defaultQuery,t[8]=e.defaultTabs,t[9]=e.headers,t[10]=e.query,t[11]=e.response,t[12]=e.variables,t[13]=y,t[14]=n,t[15]=T,t[16]=S):S=t[16];const[A]=x.useState(S),[D,C]=x.useState(A.tabState);let N;t[17]!==i||t[18]!==n||t[19]!==D?(N=De=>{if(De){n==null||n.set(Fd,(i==null?void 0:i.getValue())??"");const qe=ZT(D,!0);n==null||n.set(yc,qe)}else n==null||n.set(Fd,""),Ik(n);v(De),n==null||n.set(O1,De.toString())},t[17]=i,t[18]=n,t[19]=D,t[20]=N):N=t[20];const O=N,k=x.useRef(void 0);let I,P;t[21]!==e.shouldPersistHeaders||t[22]!==O?(I=()=>{const De=!!e.shouldPersistHeaders;(k==null?void 0:k.current)!==De&&(O(De),k.current=De)},P=[e.shouldPersistHeaders,O],t[21]=e.shouldPersistHeaders,t[22]=O,t[23]=I,t[24]=P):(I=t[23],P=t[24]),x.useEffect(I,P);let L;t[25]!==i||t[26]!==o||t[27]!==c||t[28]!==h?(L={queryEditor:o,variableEditor:h,headerEditor:i,responseEditor:c},t[25]=i,t[26]=o,t[27]=c,t[28]=h,t[29]=L):L=t[29];const B=Mk(L),{onTabChange:z,defaultHeaders:te,defaultQuery:re,children:fe}=e;let X;t[30]!==te||t[31]!==i||t[32]!==o||t[33]!==c||t[34]!==h?(X={queryEditor:o,variableEditor:h,headerEditor:i,responseEditor:c,defaultHeaders:te},t[30]=te,t[31]=i,t[32]=o,t[33]=c,t[34]=h,t[35]=X):X=t[35];const F=Lk(X);let H;t[36]!==te||t[37]!==re||t[38]!==z||t[39]!==F||t[40]!==T||t[41]!==B?(H=()=>{C(De=>{const qe=B(De),Ne={tabs:[...qe.tabs,WT({headers:te,query:re??u6})],activeTabIndex:qe.tabs.length};return T(Ne),F(Ne.tabs[Ne.activeTabIndex]),z==null||z(Ne),Ne})},t[36]=te,t[37]=re,t[38]=z,t[39]=F,t[40]=T,t[41]=B,t[42]=H):H=t[42];const $=H;let V;t[43]!==z||t[44]!==F||t[45]!==T?(V=De=>{C(qe=>{const Ne={...qe,activeTabIndex:De};return T(Ne),F(Ne.tabs[Ne.activeTabIndex]),z==null||z(Ne),Ne})},t[43]=z,t[44]=F,t[45]=T,t[46]=V):V=t[46];const M=V;let q;t[47]!==z||t[48]!==F||t[49]!==T?(q=De=>{C(qe=>{const Ne=qe.tabs[qe.activeTabIndex],ct={tabs:De,activeTabIndex:De.indexOf(Ne)};return T(ct),F(ct.tabs[ct.activeTabIndex]),z==null||z(ct),ct})},t[47]=z,t[48]=F,t[49]=T,t[50]=q):q=t[50];const ie=q;let ne;t[51]!==z||t[52]!==F||t[53]!==T?(ne=De=>{C(qe=>{const Ne={tabs:qe.tabs.filter((ct,ut)=>De!==ut),activeTabIndex:Math.max(qe.activeTabIndex-1,0)};return T(Ne),F(Ne.tabs[Ne.activeTabIndex]),z==null||z(Ne),Ne})},t[51]=z,t[52]=F,t[53]=T,t[54]=ne):ne=t[54];const Y=ne;let pe;t[55]!==z||t[56]!==T?(pe=De=>{C(qe=>{const Ne=KT(qe,De);return T(Ne),z==null||z(Ne),Ne})},t[55]=z,t[56]=T,t[57]=pe):pe=t[57];const oe=pe,{onEditOperationName:le}=e;let ue;t[58]!==le||t[59]!==o||t[60]!==oe?(ue=De=>{o&&(Vk(o,De),oe({operationName:De}),le==null||le(De))},t[58]=le,t[59]=o,t[60]=oe,t[61]=ue):ue=t[61];const me=ue;let ve,He;if(t[62]!==e.externalFragments){if(He=new Map,Array.isArray(e.externalFragments))for(const De of e.externalFragments)He.set(De.name.value,De);else if(typeof e.externalFragments=="string")Yi(Ko(e.externalFragments,{}),{FragmentDefinition(De){He.set(De.name.value,De)}});else if(e.externalFragments)throw new Error("The `externalFragments` prop must either be a string that contains the fragment definitions in SDL or a list of FragmentDefinitionNode objects.");t[62]=e.externalFragments,t[63]=He}else He=t[63];ve=He;const lt=ve;let Te;t[64]!==e.validationRules?(Te=e.validationRules||[],t[64]=e.validationRules,t[65]=Te):Te=t[65];const At=Te;let In;t[66]!==$||t[67]!==M||t[68]!==Y||t[69]!==lt||t[70]!==i||t[71]!==A.headers||t[72]!==A.query||t[73]!==A.response||t[74]!==A.variables||t[75]!==ie||t[76]!==o||t[77]!==c||t[78]!==me||t[79]!==O||t[80]!==y||t[81]!==D||t[82]!==oe||t[83]!==At||t[84]!==h?(In={...D,addTab:$,changeTab:M,moveTab:ie,closeTab:Y,updateActiveTabValues:oe,headerEditor:i,queryEditor:o,responseEditor:c,variableEditor:h,setHeaderEditor:r,setQueryEditor:a,setResponseEditor:f,setVariableEditor:p,setOperationName:me,initialQuery:A.query,initialVariables:A.variables,initialHeaders:A.headers,initialResponse:A.response,externalFragments:lt,validationRules:At,shouldPersistHeaders:y,setShouldPersistHeaders:O},t[66]=$,t[67]=M,t[68]=Y,t[69]=lt,t[70]=i,t[71]=A.headers,t[72]=A.query,t[73]=A.response,t[74]=A.variables,t[75]=ie,t[76]=o,t[77]=c,t[78]=me,t[79]=O,t[80]=y,t[81]=D,t[82]=oe,t[83]=At,t[84]=h,t[85]=In):In=t[85];const cn=In;let nt;return t[86]!==fe||t[87]!==cn?(nt=_.jsx(nS.Provider,{value:cn,children:fe}),t[86]=fe,t[87]=cn,t[88]=nt):nt=t[88],nt};function Vk(e,t){e.operationName=t}const bn=ns(nS),O1="shouldPersistHeaders",u6=`# Welcome to GraphiQL
|
|
280
|
+
`),t=t.replace(dR,"�"),e.src=t}function pR(e){let t;e.inlineMode?(t=new e.Token("inline","",0),t.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)}function mR(e){const t=e.tokens;for(let n=0,i=t.length;n<i;n++){const r=t[n];r.type==="inline"&&e.md.inline.parse(r.content,e.md,e.env,r.children)}}function gR(e){return/^<a[>\s]/i.test(e)}function vR(e){return/^<\/a\s*>/i.test(e)}function yR(e){const t=e.tokens;if(e.md.options.linkify)for(let n=0,i=t.length;n<i;n++){if(t[n].type!=="inline"||!e.md.linkify.pretest(t[n].content))continue;let r=t[n].children,o=0;for(let a=r.length-1;a>=0;a--){const c=r[a];if(c.type==="link_close"){for(a--;r[a].level!==c.level&&r[a].type!=="link_open";)a--;continue}if(c.type==="html_inline"&&(gR(c.content)&&o>0&&o--,vR(c.content)&&o++),!(o>0)&&c.type==="text"&&e.md.linkify.test(c.content)){const f=c.content;let h=e.md.linkify.match(f);const p=[];let g=c.level,y=0;h.length>0&&h[0].index===0&&a>0&&r[a-1].type==="text_special"&&(h=h.slice(1));for(let v=0;v<h.length;v++){const E=h[v].url,T=e.md.normalizeLink(E);if(!e.md.validateLink(T))continue;let S=h[v].text;h[v].schema?h[v].schema==="mailto:"&&!/^mailto:/i.test(S)?S=e.md.normalizeLinkText("mailto:"+S).replace(/^mailto:/,""):S=e.md.normalizeLinkText(S):S=e.md.normalizeLinkText("http://"+S).replace(/^http:\/\//,"");const A=h[v].index;if(A>y){const O=new e.Token("text","",0);O.content=f.slice(y,A),O.level=g,p.push(O)}const D=new e.Token("link_open","a",1);D.attrs=[["href",T]],D.level=g++,D.markup="linkify",D.info="auto",p.push(D);const C=new e.Token("text","",0);C.content=S,C.level=g,p.push(C);const N=new e.Token("link_close","a",-1);N.level=--g,N.markup="linkify",N.info="auto",p.push(N),y=h[v].lastIndex}if(y<f.length){const v=new e.Token("text","",0);v.content=f.slice(y),v.level=g,p.push(v)}t[n].children=r=CT(r,a,p)}}}}const DT=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,bR=/\((c|tm|r)\)/i,xR=/\((c|tm|r)\)/ig,ER={c:"©",r:"®",tm:"™"};function TR(e,t){return ER[t.toLowerCase()]}function SR(e){let t=0;for(let n=e.length-1;n>=0;n--){const i=e[n];i.type==="text"&&!t&&(i.content=i.content.replace(xR,TR)),i.type==="link_open"&&i.info==="auto"&&t--,i.type==="link_close"&&i.info==="auto"&&t++}}function _R(e){let t=0;for(let n=e.length-1;n>=0;n--){const i=e[n];i.type==="text"&&!t&&DT.test(i.content)&&(i.content=i.content.replace(/\+-/g,"±").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–")),i.type==="link_open"&&i.info==="auto"&&t--,i.type==="link_close"&&i.info==="auto"&&t++}}function CR(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)e.tokens[t].type==="inline"&&(bR.test(e.tokens[t].content)&&SR(e.tokens[t].children),DT.test(e.tokens[t].content)&&_R(e.tokens[t].children))}const AR=/['"]/,qE=/['"]/g,GE="’";function md(e,t,n){return e.slice(0,t)+n+e.slice(t+1)}function wR(e,t){let n;const i=[];for(let r=0;r<e.length;r++){const o=e[r],a=e[r].level;for(n=i.length-1;n>=0&&!(i[n].level<=a);n--);if(i.length=n+1,o.type!=="text")continue;let c=o.content,f=0,h=c.length;e:for(;f<h;){qE.lastIndex=f;const p=qE.exec(c);if(!p)break;let g=!0,y=!0;f=p.index+1;const v=p[0]==="'";let E=32;if(p.index-1>=0)E=c.charCodeAt(p.index-1);else for(n=r-1;n>=0&&!(e[n].type==="softbreak"||e[n].type==="hardbreak");n--)if(e[n].content){E=e[n].content.charCodeAt(e[n].content.length-1);break}let T=32;if(f<h)T=c.charCodeAt(f);else for(n=r+1;n<e.length&&!(e[n].type==="softbreak"||e[n].type==="hardbreak");n++)if(e[n].content){T=e[n].content.charCodeAt(0);break}const S=gc(E)||mc(String.fromCharCode(E)),A=gc(T)||mc(String.fromCharCode(T)),D=pc(E),C=pc(T);if(C?g=!1:A&&(D||S||(g=!1)),D?y=!1:S&&(C||A||(y=!1)),T===34&&p[0]==='"'&&E>=48&&E<=57&&(y=g=!1),g&&y&&(g=S,y=A),!g&&!y){v&&(o.content=md(o.content,p.index,GE));continue}if(y)for(n=i.length-1;n>=0;n--){let N=i[n];if(i[n].level<a)break;if(N.single===v&&i[n].level===a){N=i[n];let O,k;v?(O=t.md.options.quotes[2],k=t.md.options.quotes[3]):(O=t.md.options.quotes[0],k=t.md.options.quotes[1]),o.content=md(o.content,p.index,k),e[N.token].content=md(e[N.token].content,N.pos,O),f+=k.length-1,N.token===r&&(f+=O.length-1),c=o.content,h=c.length,i.length=n;continue e}}g?i.push({token:r,pos:p.index,single:v,level:a}):y&&v&&(o.content=md(o.content,p.index,GE))}}}function DR(e){if(e.md.options.typographer)for(let t=e.tokens.length-1;t>=0;t--)e.tokens[t].type!=="inline"||!AR.test(e.tokens[t].content)||wR(e.tokens[t].children,e)}function NR(e){let t,n;const i=e.tokens,r=i.length;for(let o=0;o<r;o++){if(i[o].type!=="inline")continue;const a=i[o].children,c=a.length;for(t=0;t<c;t++)a[t].type==="text_special"&&(a[t].type="text");for(t=n=0;t<c;t++)a[t].type==="text"&&t+1<c&&a[t+1].type==="text"?a[t+1].content=a[t].content+a[t+1].content:(t!==n&&(a[n]=a[t]),n++);t!==n&&(a.length=n)}}const C1=[["normalize",hR],["block",pR],["inline",mR],["linkify",yR],["replacements",CR],["smartquotes",DR],["text_join",NR]];function t2(){this.ruler=new Gn;for(let e=0;e<C1.length;e++)this.ruler.push(C1[e][0],C1[e][1])}t2.prototype.process=function(e){const t=this.ruler.getRules("");for(let n=0,i=t.length;n<i;n++)t[n](e)};t2.prototype.State=wT;function Or(e,t,n,i){this.src=e,this.md=t,this.env=n,this.tokens=i,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;const r=this.src;for(let o=0,a=0,c=0,f=0,h=r.length,p=!1;a<h;a++){const g=r.charCodeAt(a);if(!p)if(gt(g)){c++,g===9?f+=4-f%4:f++;continue}else p=!0;(g===10||a===h-1)&&(g!==10&&a++,this.bMarks.push(o),this.eMarks.push(a),this.tShift.push(c),this.sCount.push(f),this.bsCount.push(0),p=!1,c=0,f=0,o=a+1)}this.bMarks.push(r.length),this.eMarks.push(r.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}Or.prototype.push=function(e,t,n){const i=new Wi(e,t,n);return i.block=!0,n<0&&this.level--,i.level=this.level,n>0&&this.level++,this.tokens.push(i),i};Or.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]};Or.prototype.skipEmptyLines=function(t){for(let n=this.lineMax;t<n&&!(this.bMarks[t]+this.tShift[t]<this.eMarks[t]);t++);return t};Or.prototype.skipSpaces=function(t){for(let n=this.src.length;t<n;t++){const i=this.src.charCodeAt(t);if(!gt(i))break}return t};Or.prototype.skipSpacesBack=function(t,n){if(t<=n)return t;for(;t>n;)if(!gt(this.src.charCodeAt(--t)))return t+1;return t};Or.prototype.skipChars=function(t,n){for(let i=this.src.length;t<i&&this.src.charCodeAt(t)===n;t++);return t};Or.prototype.skipCharsBack=function(t,n,i){if(t<=i)return t;for(;t>i;)if(n!==this.src.charCodeAt(--t))return t+1;return t};Or.prototype.getLines=function(t,n,i,r){if(t>=n)return"";const o=new Array(n-t);for(let a=0,c=t;c<n;c++,a++){let f=0;const h=this.bMarks[c];let p=h,g;for(c+1<n||r?g=this.eMarks[c]+1:g=this.eMarks[c];p<g&&f<i;){const y=this.src.charCodeAt(p);if(gt(y))y===9?f+=4-(f+this.bsCount[c])%4:f++;else if(p-h<this.tShift[c])f++;else break;p++}f>i?o[a]=new Array(f-i+1).join(" ")+this.src.slice(p,g):o[a]=this.src.slice(p,g)}return o.join("")};Or.prototype.Token=Wi;const OR=65536;function A1(e,t){const n=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];return e.src.slice(n,i)}function YE(e){const t=[],n=e.length;let i=0,r=e.charCodeAt(i),o=!1,a=0,c="";for(;i<n;)r===124&&(o?(c+=e.substring(a,i-1),a=i):(t.push(c+e.substring(a,i)),c="",a=i+1)),o=r===92,i++,r=e.charCodeAt(i);return t.push(c+e.substring(a)),t}function RR(e,t,n,i){if(t+2>n)return!1;let r=t+1;if(e.sCount[r]<e.blkIndent||e.sCount[r]-e.blkIndent>=4)return!1;let o=e.bMarks[r]+e.tShift[r];if(o>=e.eMarks[r])return!1;const a=e.src.charCodeAt(o++);if(a!==124&&a!==45&&a!==58||o>=e.eMarks[r])return!1;const c=e.src.charCodeAt(o++);if(c!==124&&c!==45&&c!==58&&!gt(c)||a===45&>(c))return!1;for(;o<e.eMarks[r];){const N=e.src.charCodeAt(o);if(N!==124&&N!==45&&N!==58&&!gt(N))return!1;o++}let f=A1(e,t+1),h=f.split("|");const p=[];for(let N=0;N<h.length;N++){const O=h[N].trim();if(!O){if(N===0||N===h.length-1)continue;return!1}if(!/^:?-+:?$/.test(O))return!1;O.charCodeAt(O.length-1)===58?p.push(O.charCodeAt(0)===58?"center":"right"):O.charCodeAt(0)===58?p.push("left"):p.push("")}if(f=A1(e,t).trim(),f.indexOf("|")===-1||e.sCount[t]-e.blkIndent>=4)return!1;h=YE(f),h.length&&h[0]===""&&h.shift(),h.length&&h[h.length-1]===""&&h.pop();const g=h.length;if(g===0||g!==p.length)return!1;if(i)return!0;const y=e.parentType;e.parentType="table";const v=e.md.block.ruler.getRules("blockquote"),E=e.push("table_open","table",1),T=[t,0];E.map=T;const S=e.push("thead_open","thead",1);S.map=[t,t+1];const A=e.push("tr_open","tr",1);A.map=[t,t+1];for(let N=0;N<h.length;N++){const O=e.push("th_open","th",1);p[N]&&(O.attrs=[["style","text-align:"+p[N]]]);const k=e.push("inline","",0);k.content=h[N].trim(),k.children=[],e.push("th_close","th",-1)}e.push("tr_close","tr",-1),e.push("thead_close","thead",-1);let D,C=0;for(r=t+2;r<n&&!(e.sCount[r]<e.blkIndent);r++){let N=!1;for(let k=0,I=v.length;k<I;k++)if(v[k](e,r,n,!0)){N=!0;break}if(N||(f=A1(e,r).trim(),!f)||e.sCount[r]-e.blkIndent>=4||(h=YE(f),h.length&&h[0]===""&&h.shift(),h.length&&h[h.length-1]===""&&h.pop(),C+=g-h.length,C>OR))break;if(r===t+2){const k=e.push("tbody_open","tbody",1);k.map=D=[t+2,0]}const O=e.push("tr_open","tr",1);O.map=[r,r+1];for(let k=0;k<g;k++){const I=e.push("td_open","td",1);p[k]&&(I.attrs=[["style","text-align:"+p[k]]]);const P=e.push("inline","",0);P.content=h[k]?h[k].trim():"",P.children=[],e.push("td_close","td",-1)}e.push("tr_close","tr",-1)}return D&&(e.push("tbody_close","tbody",-1),D[1]=r),e.push("table_close","table",-1),T[1]=r,e.parentType=y,e.line=r,!0}function MR(e,t,n){if(e.sCount[t]-e.blkIndent<4)return!1;let i=t+1,r=i;for(;i<n;){if(e.isEmpty(i)){i++;continue}if(e.sCount[i]-e.blkIndent>=4){i++,r=i;continue}break}e.line=r;const o=e.push("code_block","code",0);return o.content=e.getLines(t,r,4+e.blkIndent,!1)+`
|
|
281
|
+
`,o.map=[t,e.line],!0}function kR(e,t,n,i){let r=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||r+3>o)return!1;const a=e.src.charCodeAt(r);if(a!==126&&a!==96)return!1;let c=r;r=e.skipChars(r,a);let f=r-c;if(f<3)return!1;const h=e.src.slice(c,r),p=e.src.slice(r,o);if(a===96&&p.indexOf(String.fromCharCode(a))>=0)return!1;if(i)return!0;let g=t,y=!1;for(;g++,!(g>=n||(r=c=e.bMarks[g]+e.tShift[g],o=e.eMarks[g],r<o&&e.sCount[g]<e.blkIndent));)if(e.src.charCodeAt(r)===a&&!(e.sCount[g]-e.blkIndent>=4)&&(r=e.skipChars(r,a),!(r-c<f)&&(r=e.skipSpaces(r),!(r<o)))){y=!0;break}f=e.sCount[t],e.line=g+(y?1:0);const v=e.push("fence","code",0);return v.info=p,v.content=e.getLines(t+1,g,f,!0),v.markup=h,v.map=[t,e.line],!0}function LR(e,t,n,i){let r=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];const a=e.lineMax;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(r)!==62)return!1;if(i)return!0;const c=[],f=[],h=[],p=[],g=e.md.block.ruler.getRules("blockquote"),y=e.parentType;e.parentType="blockquote";let v=!1,E;for(E=t;E<n;E++){const C=e.sCount[E]<e.blkIndent;if(r=e.bMarks[E]+e.tShift[E],o=e.eMarks[E],r>=o)break;if(e.src.charCodeAt(r++)===62&&!C){let O=e.sCount[E]+1,k,I;e.src.charCodeAt(r)===32?(r++,O++,I=!1,k=!0):e.src.charCodeAt(r)===9?(k=!0,(e.bsCount[E]+O)%4===3?(r++,O++,I=!1):I=!0):k=!1;let P=O;for(c.push(e.bMarks[E]),e.bMarks[E]=r;r<o;){const L=e.src.charCodeAt(r);if(gt(L))L===9?P+=4-(P+e.bsCount[E]+(I?1:0))%4:P++;else break;r++}v=r>=o,f.push(e.bsCount[E]),e.bsCount[E]=e.sCount[E]+1+(k?1:0),h.push(e.sCount[E]),e.sCount[E]=P-O,p.push(e.tShift[E]),e.tShift[E]=r-e.bMarks[E];continue}if(v)break;let N=!1;for(let O=0,k=g.length;O<k;O++)if(g[O](e,E,n,!0)){N=!0;break}if(N){e.lineMax=E,e.blkIndent!==0&&(c.push(e.bMarks[E]),f.push(e.bsCount[E]),p.push(e.tShift[E]),h.push(e.sCount[E]),e.sCount[E]-=e.blkIndent);break}c.push(e.bMarks[E]),f.push(e.bsCount[E]),p.push(e.tShift[E]),h.push(e.sCount[E]),e.sCount[E]=-1}const T=e.blkIndent;e.blkIndent=0;const S=e.push("blockquote_open","blockquote",1);S.markup=">";const A=[t,0];S.map=A,e.md.block.tokenize(e,t,E);const D=e.push("blockquote_close","blockquote",-1);D.markup=">",e.lineMax=a,e.parentType=y,A[1]=e.line;for(let C=0;C<p.length;C++)e.bMarks[C+t]=c[C],e.tShift[C+t]=p[C],e.sCount[C+t]=h[C],e.bsCount[C+t]=f[C];return e.blkIndent=T,!0}function IR(e,t,n,i){const r=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let o=e.bMarks[t]+e.tShift[t];const a=e.src.charCodeAt(o++);if(a!==42&&a!==45&&a!==95)return!1;let c=1;for(;o<r;){const h=e.src.charCodeAt(o++);if(h!==a&&!gt(h))return!1;h===a&&c++}if(c<3)return!1;if(i)return!0;e.line=t+1;const f=e.push("hr","hr",0);return f.map=[t,e.line],f.markup=Array(c+1).join(String.fromCharCode(a)),!0}function QE(e,t){const n=e.eMarks[t];let i=e.bMarks[t]+e.tShift[t];const r=e.src.charCodeAt(i++);if(r!==42&&r!==45&&r!==43)return-1;if(i<n){const o=e.src.charCodeAt(i);if(!gt(o))return-1}return i}function XE(e,t){const n=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];let r=n;if(r+1>=i)return-1;let o=e.src.charCodeAt(r++);if(o<48||o>57)return-1;for(;;){if(r>=i)return-1;if(o=e.src.charCodeAt(r++),o>=48&&o<=57){if(r-n>=10)return-1;continue}if(o===41||o===46)break;return-1}return r<i&&(o=e.src.charCodeAt(r),!gt(o))?-1:r}function FR(e,t){const n=e.level+2;for(let i=t+2,r=e.tokens.length-2;i<r;i++)e.tokens[i].level===n&&e.tokens[i].type==="paragraph_open"&&(e.tokens[i+2].hidden=!0,e.tokens[i].hidden=!0,i+=2)}function jR(e,t,n,i){let r,o,a,c,f=t,h=!0;if(e.sCount[f]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[f]-e.listIndent>=4&&e.sCount[f]<e.blkIndent)return!1;let p=!1;i&&e.parentType==="paragraph"&&e.sCount[f]>=e.blkIndent&&(p=!0);let g,y,v;if((v=XE(e,f))>=0){if(g=!0,a=e.bMarks[f]+e.tShift[f],y=Number(e.src.slice(a,v-1)),p&&y!==1)return!1}else if((v=QE(e,f))>=0)g=!1;else return!1;if(p&&e.skipSpaces(v)>=e.eMarks[f])return!1;if(i)return!0;const E=e.src.charCodeAt(v-1),T=e.tokens.length;g?(c=e.push("ordered_list_open","ol",1),y!==1&&(c.attrs=[["start",y]])):c=e.push("bullet_list_open","ul",1);const S=[f,0];c.map=S,c.markup=String.fromCharCode(E);let A=!1;const D=e.md.block.ruler.getRules("list"),C=e.parentType;for(e.parentType="list";f<n;){o=v,r=e.eMarks[f];const N=e.sCount[f]+v-(e.bMarks[f]+e.tShift[f]);let O=N;for(;o<r;){const X=e.src.charCodeAt(o);if(X===9)O+=4-(O+e.bsCount[f])%4;else if(X===32)O++;else break;o++}const k=o;let I;k>=r?I=1:I=O-N,I>4&&(I=1);const P=N+I;c=e.push("list_item_open","li",1),c.markup=String.fromCharCode(E);const L=[f,0];c.map=L,g&&(c.info=e.src.slice(a,v-1));const B=e.tight,z=e.tShift[f],te=e.sCount[f],re=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=P,e.tight=!0,e.tShift[f]=k-e.bMarks[f],e.sCount[f]=O,k>=r&&e.isEmpty(f+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,f,n,!0),(!e.tight||A)&&(h=!1),A=e.line-f>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=re,e.tShift[f]=z,e.sCount[f]=te,e.tight=B,c=e.push("list_item_close","li",-1),c.markup=String.fromCharCode(E),f=e.line,L[1]=f,f>=n||e.sCount[f]<e.blkIndent||e.sCount[f]-e.blkIndent>=4)break;let fe=!1;for(let X=0,F=D.length;X<F;X++)if(D[X](e,f,n,!0)){fe=!0;break}if(fe)break;if(g){if(v=XE(e,f),v<0)break;a=e.bMarks[f]+e.tShift[f]}else if(v=QE(e,f),v<0)break;if(E!==e.src.charCodeAt(v-1))break}return g?c=e.push("ordered_list_close","ol",-1):c=e.push("bullet_list_close","ul",-1),c.markup=String.fromCharCode(E),S[1]=f,e.line=f,e.parentType=C,h&&FR(e,T),!0}function PR(e,t,n,i){let r=e.bMarks[t]+e.tShift[t],o=e.eMarks[t],a=t+1;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(r)!==91)return!1;function c(D){const C=e.lineMax;if(D>=C||e.isEmpty(D))return null;let N=!1;if(e.sCount[D]-e.blkIndent>3&&(N=!0),e.sCount[D]<0&&(N=!0),!N){const I=e.md.block.ruler.getRules("reference"),P=e.parentType;e.parentType="reference";let L=!1;for(let B=0,z=I.length;B<z;B++)if(I[B](e,D,C,!0)){L=!0;break}if(e.parentType=P,L)return null}const O=e.bMarks[D]+e.tShift[D],k=e.eMarks[D];return e.src.slice(O,k+1)}let f=e.src.slice(r,o+1);o=f.length;let h=-1;for(r=1;r<o;r++){const D=f.charCodeAt(r);if(D===91)return!1;if(D===93){h=r;break}else if(D===10){const C=c(a);C!==null&&(f+=C,o=f.length,a++)}else if(D===92&&(r++,r<o&&f.charCodeAt(r)===10)){const C=c(a);C!==null&&(f+=C,o=f.length,a++)}}if(h<0||f.charCodeAt(h+1)!==58)return!1;for(r=h+2;r<o;r++){const D=f.charCodeAt(r);if(D===10){const C=c(a);C!==null&&(f+=C,o=f.length,a++)}else if(!gt(D))break}const p=e.md.helpers.parseLinkDestination(f,r,o);if(!p.ok)return!1;const g=e.md.normalizeLink(p.str);if(!e.md.validateLink(g))return!1;r=p.pos;const y=r,v=a,E=r;for(;r<o;r++){const D=f.charCodeAt(r);if(D===10){const C=c(a);C!==null&&(f+=C,o=f.length,a++)}else if(!gt(D))break}let T=e.md.helpers.parseLinkTitle(f,r,o);for(;T.can_continue;){const D=c(a);if(D===null)break;f+=D,r=o,o=f.length,a++,T=e.md.helpers.parseLinkTitle(f,r,o,T)}let S;for(r<o&&E!==r&&T.ok?(S=T.str,r=T.pos):(S="",r=y,a=v);r<o;){const D=f.charCodeAt(r);if(!gt(D))break;r++}if(r<o&&f.charCodeAt(r)!==10&&S)for(S="",r=y,a=v;r<o;){const D=f.charCodeAt(r);if(!gt(D))break;r++}if(r<o&&f.charCodeAt(r)!==10)return!1;const A=R0(f.slice(1,h));return A?(i||(typeof e.env.references>"u"&&(e.env.references={}),typeof e.env.references[A]>"u"&&(e.env.references[A]={title:S,href:g}),e.line=a),!0):!1}const VR=["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"],BR="[a-zA-Z_:][a-zA-Z0-9:._-]*",$R="[^\"'=<>`\\x00-\\x20]+",UR="'[^']*'",zR='"[^"]*"',HR="(?:"+$R+"|"+UR+"|"+zR+")",qR="(?:\\s+"+BR+"(?:\\s*=\\s*"+HR+")?)",NT="<[A-Za-z][A-Za-z0-9\\-]*"+qR+"*\\s*\\/?>",OT="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",GR="<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->",YR="<[?][\\s\\S]*?[?]>",QR="<![A-Za-z][^>]*>",XR="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",ZR=new RegExp("^(?:"+NT+"|"+OT+"|"+GR+"|"+YR+"|"+QR+"|"+XR+")"),WR=new RegExp("^(?:"+NT+"|"+OT+")"),Ys=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+VR.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(WR.source+"\\s*$"),/^$/,!1]];function KR(e,t,n,i){let r=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(r)!==60)return!1;let a=e.src.slice(r,o),c=0;for(;c<Ys.length&&!Ys[c][0].test(a);c++);if(c===Ys.length)return!1;if(i)return Ys[c][2];let f=t+1;if(!Ys[c][1].test(a)){for(;f<n&&!(e.sCount[f]<e.blkIndent);f++)if(r=e.bMarks[f]+e.tShift[f],o=e.eMarks[f],a=e.src.slice(r,o),Ys[c][1].test(a)){a.length!==0&&f++;break}}e.line=f;const h=e.push("html_block","",0);return h.map=[t,f],h.content=e.getLines(t,f,e.blkIndent,!0),!0}function JR(e,t,n,i){let r=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let a=e.src.charCodeAt(r);if(a!==35||r>=o)return!1;let c=1;for(a=e.src.charCodeAt(++r);a===35&&r<o&&c<=6;)c++,a=e.src.charCodeAt(++r);if(c>6||r<o&&!gt(a))return!1;if(i)return!0;o=e.skipSpacesBack(o,r);const f=e.skipCharsBack(o,35,r);f>r&>(e.src.charCodeAt(f-1))&&(o=f),e.line=t+1;const h=e.push("heading_open","h"+String(c),1);h.markup="########".slice(0,c),h.map=[t,e.line];const p=e.push("inline","",0);p.content=e.src.slice(r,o).trim(),p.map=[t,e.line],p.children=[];const g=e.push("heading_close","h"+String(c),-1);return g.markup="########".slice(0,c),!0}function eM(e,t,n){const i=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;const r=e.parentType;e.parentType="paragraph";let o=0,a,c=t+1;for(;c<n&&!e.isEmpty(c);c++){if(e.sCount[c]-e.blkIndent>3)continue;if(e.sCount[c]>=e.blkIndent){let v=e.bMarks[c]+e.tShift[c];const E=e.eMarks[c];if(v<E&&(a=e.src.charCodeAt(v),(a===45||a===61)&&(v=e.skipChars(v,a),v=e.skipSpaces(v),v>=E))){o=a===61?1:2;break}}if(e.sCount[c]<0)continue;let y=!1;for(let v=0,E=i.length;v<E;v++)if(i[v](e,c,n,!0)){y=!0;break}if(y)break}if(!o)return!1;const f=e.getLines(t,c,e.blkIndent,!1).trim();e.line=c+1;const h=e.push("heading_open","h"+String(o),1);h.markup=String.fromCharCode(a),h.map=[t,e.line];const p=e.push("inline","",0);p.content=f,p.map=[t,e.line-1],p.children=[];const g=e.push("heading_close","h"+String(o),-1);return g.markup=String.fromCharCode(a),e.parentType=r,!0}function tM(e,t,n){const i=e.md.block.ruler.getRules("paragraph"),r=e.parentType;let 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 h=!1;for(let p=0,g=i.length;p<g;p++)if(i[p](e,o,n,!0)){h=!0;break}if(h)break}const a=e.getLines(t,o,e.blkIndent,!1).trim();e.line=o;const c=e.push("paragraph_open","p",1);c.map=[t,e.line];const f=e.push("inline","",0);return f.content=a,f.map=[t,e.line],f.children=[],e.push("paragraph_close","p",-1),e.parentType=r,!0}const gd=[["table",RR,["paragraph","reference"]],["code",MR],["fence",kR,["paragraph","reference","blockquote","list"]],["blockquote",LR,["paragraph","reference","blockquote","list"]],["hr",IR,["paragraph","reference","blockquote","list"]],["list",jR,["paragraph","reference","blockquote"]],["reference",PR],["html_block",KR,["paragraph","reference","blockquote"]],["heading",JR,["paragraph","reference","blockquote"]],["lheading",eM],["paragraph",tM]];function M0(){this.ruler=new Gn;for(let e=0;e<gd.length;e++)this.ruler.push(gd[e][0],gd[e][1],{alt:(gd[e][2]||[]).slice()})}M0.prototype.tokenize=function(e,t,n){const i=this.ruler.getRules(""),r=i.length,o=e.md.options.maxNesting;let a=t,c=!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}const f=e.line;let h=!1;for(let p=0;p<r;p++)if(h=i[p](e,a,n,!1),h){if(f>=e.line)throw new Error("block rule didn't increment state.line");break}if(!h)throw new Error("none of the block rules matched");e.tight=!c,e.isEmpty(e.line-1)&&(c=!0),a=e.line,a<n&&e.isEmpty(a)&&(c=!0,a++,e.line=a)}};M0.prototype.parse=function(e,t,n,i){if(!e)return;const r=new this.State(e,t,n,i);this.tokenize(r,r.line,r.lineMax)};M0.prototype.State=Or;function Pc(e,t,n,i){this.src=e,this.env=n,this.md=t,this.tokens=i,this.tokens_meta=Array(i.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}Pc.prototype.pushPending=function(){const e=new Wi("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e};Pc.prototype.push=function(e,t,n){this.pending&&this.pushPending();const i=new Wi(e,t,n);let r=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),i.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],r={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(i),this.tokens_meta.push(r),i};Pc.prototype.scanDelims=function(e,t){const n=this.posMax,i=this.src.charCodeAt(e),r=e>0?this.src.charCodeAt(e-1):32;let o=e;for(;o<n&&this.src.charCodeAt(o)===i;)o++;const a=o-e,c=o<n?this.src.charCodeAt(o):32,f=gc(r)||mc(String.fromCharCode(r)),h=gc(c)||mc(String.fromCharCode(c)),p=pc(r),g=pc(c),y=!g&&(!h||p||f),v=!p&&(!f||g||h);return{can_open:y&&(t||!v||f),can_close:v&&(t||!y||h),length:a}};Pc.prototype.Token=Wi;function nM(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 61: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}}function iM(e,t){let n=e.pos;for(;n<e.posMax&&!nM(e.src.charCodeAt(n));)n++;return n===e.pos?!1:(t||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}const rM=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;function uM(e,t){if(!e.md.options.linkify||e.linkLevel>0)return!1;const n=e.pos,i=e.posMax;if(n+3>i||e.src.charCodeAt(n)!==58||e.src.charCodeAt(n+1)!==47||e.src.charCodeAt(n+2)!==47)return!1;const r=e.pending.match(rM);if(!r)return!1;const o=r[1],a=e.md.linkify.matchAtStart(e.src.slice(n-o.length));if(!a)return!1;let c=a.url;if(c.length<=o.length)return!1;c=c.replace(/\*+$/,"");const f=e.md.normalizeLink(c);if(!e.md.validateLink(f))return!1;if(!t){e.pending=e.pending.slice(0,-o.length);const h=e.push("link_open","a",1);h.attrs=[["href",f]],h.markup="linkify",h.info="auto";const p=e.push("text","",0);p.content=e.md.normalizeLinkText(c);const g=e.push("link_close","a",-1);g.markup="linkify",g.info="auto"}return e.pos+=c.length-o.length,!0}function oM(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==10)return!1;const i=e.pending.length-1,r=e.posMax;if(!t)if(i>=0&&e.pending.charCodeAt(i)===32)if(i>=1&&e.pending.charCodeAt(i-1)===32){let o=i-1;for(;o>=1&&e.pending.charCodeAt(o-1)===32;)o--;e.pending=e.pending.slice(0,o),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<r&>(e.src.charCodeAt(n));)n++;return e.pos=n,!0}const n2=[];for(let e=0;e<256;e++)n2.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){n2[e.charCodeAt(0)]=1});function sM(e,t){let n=e.pos;const i=e.posMax;if(e.src.charCodeAt(n)!==92||(n++,n>=i))return!1;let r=e.src.charCodeAt(n);if(r===10){for(t||e.push("hardbreak","br",0),n++;n<i&&(r=e.src.charCodeAt(n),!!gt(r));)n++;return e.pos=n,!0}let o=e.src[n];if(r>=55296&&r<=56319&&n+1<i){const c=e.src.charCodeAt(n+1);c>=56320&&c<=57343&&(o+=e.src[n+1],n++)}const a="\\"+o;if(!t){const c=e.push("text_special","",0);r<256&&n2[r]!==0?c.content=o:c.content=a,c.markup=a,c.info="escape"}return e.pos=n+1,!0}function aM(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==96)return!1;const r=n;n++;const o=e.posMax;for(;n<o&&e.src.charCodeAt(n)===96;)n++;const a=e.src.slice(r,n),c=a.length;if(e.backticksScanned&&(e.backticks[c]||0)<=r)return t||(e.pending+=a),e.pos+=c,!0;let f=n,h;for(;(h=e.src.indexOf("`",f))!==-1;){for(f=h+1;f<o&&e.src.charCodeAt(f)===96;)f++;const p=f-h;if(p===c){if(!t){const g=e.push("code_inline","code",0);g.markup=a,g.content=e.src.slice(n,h).replace(/\n/g," ").replace(/^ (.+) $/,"$1")}return e.pos=f,!0}e.backticks[p]=h}return e.backticksScanned=!0,t||(e.pending+=a),e.pos+=c,!0}function lM(e,t){const n=e.pos,i=e.src.charCodeAt(n);if(t||i!==126)return!1;const r=e.scanDelims(e.pos,!0);let o=r.length;const a=String.fromCharCode(i);if(o<2)return!1;let c;o%2&&(c=e.push("text","",0),c.content=a,o--);for(let f=0;f<o;f+=2)c=e.push("text","",0),c.content=a+a,e.delimiters.push({marker:i,length:0,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0}function ZE(e,t){let n;const i=[],r=t.length;for(let o=0;o<r;o++){const a=t[o];if(a.marker!==126||a.end===-1)continue;const c=t[a.end];n=e.tokens[a.token],n.type="s_open",n.tag="s",n.nesting=1,n.markup="~~",n.content="",n=e.tokens[c.token],n.type="s_close",n.tag="s",n.nesting=-1,n.markup="~~",n.content="",e.tokens[c.token-1].type==="text"&&e.tokens[c.token-1].content==="~"&&i.push(c.token-1)}for(;i.length;){const o=i.pop();let a=o+1;for(;a<e.tokens.length&&e.tokens[a].type==="s_close";)a++;a--,o!==a&&(n=e.tokens[a],e.tokens[a]=e.tokens[o],e.tokens[o]=n)}}function cM(e){const t=e.tokens_meta,n=e.tokens_meta.length;ZE(e,e.delimiters);for(let i=0;i<n;i++)t[i]&&t[i].delimiters&&ZE(e,t[i].delimiters)}const RT={tokenize:lM,postProcess:cM};function fM(e,t){const n=e.pos,i=e.src.charCodeAt(n);if(t||i!==95&&i!==42)return!1;const r=e.scanDelims(e.pos,i===42);for(let o=0;o<r.length;o++){const a=e.push("text","",0);a.content=String.fromCharCode(i),e.delimiters.push({marker:i,length:r.length,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close})}return e.pos+=r.length,!0}function WE(e,t){const n=t.length;for(let i=n-1;i>=0;i--){const r=t[i];if(r.marker!==95&&r.marker!==42||r.end===-1)continue;const o=t[r.end],a=i>0&&t[i-1].end===r.end+1&&t[i-1].marker===r.marker&&t[i-1].token===r.token-1&&t[r.end+1].token===o.token+1,c=String.fromCharCode(r.marker),f=e.tokens[r.token];f.type=a?"strong_open":"em_open",f.tag=a?"strong":"em",f.nesting=1,f.markup=a?c+c:c,f.content="";const h=e.tokens[o.token];h.type=a?"strong_close":"em_close",h.tag=a?"strong":"em",h.nesting=-1,h.markup=a?c+c:c,h.content="",a&&(e.tokens[t[i-1].token].content="",e.tokens[t[r.end+1].token].content="",i--)}}function dM(e){const t=e.tokens_meta,n=e.tokens_meta.length;WE(e,e.delimiters);for(let i=0;i<n;i++)t[i]&&t[i].delimiters&&WE(e,t[i].delimiters)}const MT={tokenize:fM,postProcess:dM};function hM(e,t){let n,i,r,o,a="",c="",f=e.pos,h=!0;if(e.src.charCodeAt(e.pos)!==91)return!1;const p=e.pos,g=e.posMax,y=e.pos+1,v=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(v<0)return!1;let E=v+1;if(E<g&&e.src.charCodeAt(E)===40){for(h=!1,E++;E<g&&(n=e.src.charCodeAt(E),!(!gt(n)&&n!==10));E++);if(E>=g)return!1;if(f=E,r=e.md.helpers.parseLinkDestination(e.src,E,e.posMax),r.ok){for(a=e.md.normalizeLink(r.str),e.md.validateLink(a)?E=r.pos:a="",f=E;E<g&&(n=e.src.charCodeAt(E),!(!gt(n)&&n!==10));E++);if(r=e.md.helpers.parseLinkTitle(e.src,E,e.posMax),E<g&&f!==E&&r.ok)for(c=r.str,E=r.pos;E<g&&(n=e.src.charCodeAt(E),!(!gt(n)&&n!==10));E++);}(E>=g||e.src.charCodeAt(E)!==41)&&(h=!0),E++}if(h){if(typeof e.env.references>"u")return!1;if(E<g&&e.src.charCodeAt(E)===91?(f=E+1,E=e.md.helpers.parseLinkLabel(e,E),E>=0?i=e.src.slice(f,E++):E=v+1):E=v+1,i||(i=e.src.slice(y,v)),o=e.env.references[R0(i)],!o)return e.pos=p,!1;a=o.href,c=o.title}if(!t){e.pos=y,e.posMax=v;const T=e.push("link_open","a",1),S=[["href",a]];T.attrs=S,c&&S.push(["title",c]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=E,e.posMax=g,!0}function pM(e,t){let n,i,r,o,a,c,f,h,p="";const g=e.pos,y=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91)return!1;const v=e.pos+2,E=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(E<0)return!1;if(o=E+1,o<y&&e.src.charCodeAt(o)===40){for(o++;o<y&&(n=e.src.charCodeAt(o),!(!gt(n)&&n!==10));o++);if(o>=y)return!1;for(h=o,c=e.md.helpers.parseLinkDestination(e.src,o,e.posMax),c.ok&&(p=e.md.normalizeLink(c.str),e.md.validateLink(p)?o=c.pos:p=""),h=o;o<y&&(n=e.src.charCodeAt(o),!(!gt(n)&&n!==10));o++);if(c=e.md.helpers.parseLinkTitle(e.src,o,e.posMax),o<y&&h!==o&&c.ok)for(f=c.str,o=c.pos;o<y&&(n=e.src.charCodeAt(o),!(!gt(n)&&n!==10));o++);else f="";if(o>=y||e.src.charCodeAt(o)!==41)return e.pos=g,!1;o++}else{if(typeof e.env.references>"u")return!1;if(o<y&&e.src.charCodeAt(o)===91?(h=o+1,o=e.md.helpers.parseLinkLabel(e,o),o>=0?r=e.src.slice(h,o++):o=E+1):o=E+1,r||(r=e.src.slice(v,E)),a=e.env.references[R0(r)],!a)return e.pos=g,!1;p=a.href,f=a.title}if(!t){i=e.src.slice(v,E);const T=[];e.md.inline.parse(i,e.md,e.env,T);const S=e.push("image","img",0),A=[["src",p],["alt",""]];S.attrs=A,S.children=T,S.content=i,f&&A.push(["title",f])}return e.pos=o,e.posMax=y,!0}const mM=/^([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])?)*)$/,gM=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function vM(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==60)return!1;const i=e.pos,r=e.posMax;for(;;){if(++n>=r)return!1;const a=e.src.charCodeAt(n);if(a===60)return!1;if(a===62)break}const o=e.src.slice(i+1,n);if(gM.test(o)){const a=e.md.normalizeLink(o);if(!e.md.validateLink(a))return!1;if(!t){const c=e.push("link_open","a",1);c.attrs=[["href",a]],c.markup="autolink",c.info="auto";const f=e.push("text","",0);f.content=e.md.normalizeLinkText(o);const h=e.push("link_close","a",-1);h.markup="autolink",h.info="auto"}return e.pos+=o.length+2,!0}if(mM.test(o)){const a=e.md.normalizeLink("mailto:"+o);if(!e.md.validateLink(a))return!1;if(!t){const c=e.push("link_open","a",1);c.attrs=[["href",a]],c.markup="autolink",c.info="auto";const f=e.push("text","",0);f.content=e.md.normalizeLinkText(o);const h=e.push("link_close","a",-1);h.markup="autolink",h.info="auto"}return e.pos+=o.length+2,!0}return!1}function yM(e){return/^<a[>\s]/i.test(e)}function bM(e){return/^<\/a\s*>/i.test(e)}function xM(e){const t=e|32;return t>=97&&t<=122}function EM(e,t){if(!e.md.options.html)return!1;const n=e.posMax,i=e.pos;if(e.src.charCodeAt(i)!==60||i+2>=n)return!1;const r=e.src.charCodeAt(i+1);if(r!==33&&r!==63&&r!==47&&!xM(r))return!1;const o=e.src.slice(i).match(ZR);if(!o)return!1;if(!t){const a=e.push("html_inline","",0);a.content=o[0],yM(a.content)&&e.linkLevel++,bM(a.content)&&e.linkLevel--}return e.pos+=o[0].length,!0}const TM=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,SM=/^&([a-z][a-z0-9]{1,31});/i;function _M(e,t){const n=e.pos,i=e.posMax;if(e.src.charCodeAt(n)!==38||n+1>=i)return!1;if(e.src.charCodeAt(n+1)===35){const o=e.src.slice(n).match(TM);if(o){if(!t){const a=o[1][0].toLowerCase()==="x"?parseInt(o[1].slice(1),16):parseInt(o[1],10),c=e.push("text_special","",0);c.content=e2(a)?Jd(a):Jd(65533),c.markup=o[0],c.info="entity"}return e.pos+=o[0].length,!0}}else{const o=e.src.slice(n).match(SM);if(o){const a=_T(o[0]);if(a!==o[0]){if(!t){const c=e.push("text_special","",0);c.content=a,c.markup=o[0],c.info="entity"}return e.pos+=o[0].length,!0}}}return!1}function KE(e){const t={},n=e.length;if(!n)return;let i=0,r=-2;const o=[];for(let a=0;a<n;a++){const c=e[a];if(o.push(0),(e[i].marker!==c.marker||r!==c.token-1)&&(i=a),r=c.token,c.length=c.length||0,!c.close)continue;t.hasOwnProperty(c.marker)||(t[c.marker]=[-1,-1,-1,-1,-1,-1]);const f=t[c.marker][(c.open?3:0)+c.length%3];let h=i-o[i]-1,p=h;for(;h>f;h-=o[h]+1){const g=e[h];if(g.marker===c.marker&&g.open&&g.end<0){let y=!1;if((g.close||c.open)&&(g.length+c.length)%3===0&&(g.length%3!==0||c.length%3!==0)&&(y=!0),!y){const v=h>0&&!e[h-1].open?o[h-1]+1:0;o[a]=a-h+v,o[h]=v,c.open=!1,g.end=a,g.close=!1,p=-1,r=-2;break}}}p!==-1&&(t[c.marker][(c.open?3:0)+(c.length||0)%3]=p)}}function CM(e){const t=e.tokens_meta,n=e.tokens_meta.length;KE(e.delimiters);for(let i=0;i<n;i++)t[i]&&t[i].delimiters&&KE(t[i].delimiters)}function AM(e){let t,n,i=0;const r=e.tokens,o=e.tokens.length;for(t=n=0;t<o;t++)r[t].nesting<0&&i--,r[t].level=i,r[t].nesting>0&&i++,r[t].type==="text"&&t+1<o&&r[t+1].type==="text"?r[t+1].content=r[t].content+r[t+1].content:(t!==n&&(r[n]=r[t]),n++);t!==n&&(r.length=n)}const w1=[["text",iM],["linkify",uM],["newline",oM],["escape",sM],["backticks",aM],["strikethrough",RT.tokenize],["emphasis",MT.tokenize],["link",hM],["image",pM],["autolink",vM],["html_inline",EM],["entity",_M]],D1=[["balance_pairs",CM],["strikethrough",RT.postProcess],["emphasis",MT.postProcess],["fragments_join",AM]];function Vc(){this.ruler=new Gn;for(let e=0;e<w1.length;e++)this.ruler.push(w1[e][0],w1[e][1]);this.ruler2=new Gn;for(let e=0;e<D1.length;e++)this.ruler2.push(D1[e][0],D1[e][1])}Vc.prototype.skipToken=function(e){const t=e.pos,n=this.ruler.getRules(""),i=n.length,r=e.md.options.maxNesting,o=e.cache;if(typeof o[t]<"u"){e.pos=o[t];return}let a=!1;if(e.level<r){for(let c=0;c<i;c++)if(e.level++,a=n[c](e,!0),e.level--,a){if(t>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;a||e.pos++,o[t]=e.pos};Vc.prototype.tokenize=function(e){const t=this.ruler.getRules(""),n=t.length,i=e.posMax,r=e.md.options.maxNesting;for(;e.pos<i;){const o=e.pos;let a=!1;if(e.level<r){for(let c=0;c<n;c++)if(a=t[c](e,!1),a){if(o>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}if(a){if(e.pos>=i)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()};Vc.prototype.parse=function(e,t,n,i){const r=new this.State(e,t,n,i);this.tokenize(r);const o=this.ruler2.getRules(""),a=o.length;for(let c=0;c<a;c++)o[c](r)};Vc.prototype.State=Pc;function wM(e){const t={};e=e||{},t.src_Any=bT.source,t.src_Cc=xT.source,t.src_Z=TT.source,t.src_P=Kg.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");const n="[><|]";return t.src_pseudo_letter="(?:(?!"+n+"|"+t.src_ZPCc+")"+t.src_Any+")",t.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]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|"+n+"|"+t.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+n+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+"|$)|;(?!"+t.src_ZCc+"|$)|\\!+(?!"+t.src_ZCc+"|[!]|$)|\\?(?!"+t.src_ZCc+"|[?]|$))+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy="(^|"+n+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}function qm(e){return Array.prototype.slice.call(arguments,1).forEach(function(n){n&&Object.keys(n).forEach(function(i){e[i]=n[i]})}),e}function k0(e){return Object.prototype.toString.call(e)}function DM(e){return k0(e)==="[object String]"}function NM(e){return k0(e)==="[object Object]"}function OM(e){return k0(e)==="[object RegExp]"}function JE(e){return k0(e)==="[object Function]"}function RM(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const kT={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function MM(e){return Object.keys(e||{}).reduce(function(t,n){return t||kT.hasOwnProperty(n)},!1)}const kM={"http:":{validate:function(e,t,n){const i=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(i)?i.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){const i=e.slice(t);return n.re.no_http||(n.re.no_http=new 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(i)?t>=3&&e[t-3]===":"||t>=3&&e[t-3]==="/"?0:i.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){const i=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(i)?i.match(n.re.mailto)[0].length:0}}},LM="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]",IM="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function FM(e){e.__index__=-1,e.__text_cache__=""}function jM(e){return function(t,n){const i=t.slice(n);return e.test(i)?i.match(e)[0].length:0}}function e6(){return function(e,t){t.normalize(e)}}function e0(e){const t=e.re=wM(e.__opts__),n=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||n.push(LM),n.push(t.src_xn),t.src_tlds=n.join("|");function i(c){return c.replace("%TLDS%",t.src_tlds)}t.email_fuzzy=RegExp(i(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(i(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(i(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(i(t.tpl_host_fuzzy_test),"i");const r=[];e.__compiled__={};function o(c,f){throw new Error('(LinkifyIt) Invalid schema "'+c+'": '+f)}Object.keys(e.__schemas__).forEach(function(c){const f=e.__schemas__[c];if(f===null)return;const h={validate:null,link:null};if(e.__compiled__[c]=h,NM(f)){OM(f.validate)?h.validate=jM(f.validate):JE(f.validate)?h.validate=f.validate:o(c,f),JE(f.normalize)?h.normalize=f.normalize:f.normalize?o(c,f):h.normalize=e6();return}if(DM(f)){r.push(c);return}o(c,f)}),r.forEach(function(c){e.__compiled__[e.__schemas__[c]]&&(e.__compiled__[c].validate=e.__compiled__[e.__schemas__[c]].validate,e.__compiled__[c].normalize=e.__compiled__[e.__schemas__[c]].normalize)}),e.__compiled__[""]={validate:null,normalize:e6()};const a=Object.keys(e.__compiled__).filter(function(c){return c.length>0&&e.__compiled__[c]}).map(RM).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","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"),FM(e)}function PM(e,t){const n=e.__index__,i=e.__last_index__,r=e.__text_cache__.slice(n,i);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=i+t,this.raw=r,this.text=r,this.url=r}function Gm(e,t){const n=new PM(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function fi(e,t){if(!(this instanceof fi))return new fi(e,t);t||MM(e)&&(t=e,e={}),this.__opts__=qm({},kT,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=qm({},kM,e),this.__compiled__={},this.__tlds__=IM,this.__tlds_replaced__=!1,this.re={},e0(this)}fi.prototype.add=function(t,n){return this.__schemas__[t]=n,e0(this),this};fi.prototype.set=function(t){return this.__opts__=qm(this.__opts__,t),this};fi.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;let n,i,r,o,a,c,f,h,p;if(this.re.schema_test.test(t)){for(f=this.re.schema_search,f.lastIndex=0;(n=f.exec(t))!==null;)if(o=this.testSchemaAt(t,n[2],f.lastIndex),o){this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+o;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(h=t.search(this.re.host_fuzzy_test),h>=0&&(this.__index__<0||h<this.__index__)&&(i=t.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(a=i.index+i[1].length,(this.__index__<0||a<this.__index__)&&(this.__schema__="",this.__index__=a,this.__last_index__=i.index+i[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(p=t.indexOf("@"),p>=0&&(r=t.match(this.re.email_fuzzy))!==null&&(a=r.index+r[1].length,c=r.index+r[0].length,(this.__index__<0||a<this.__index__||a===this.__index__&&c>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=a,this.__last_index__=c))),this.__index__>=0};fi.prototype.pretest=function(t){return this.re.pretest.test(t)};fi.prototype.testSchemaAt=function(t,n,i){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(t,i,this):0};fi.prototype.match=function(t){const n=[];let i=0;this.__index__>=0&&this.__text_cache__===t&&(n.push(Gm(this,i)),i=this.__last_index__);let r=i?t.slice(i):t;for(;this.test(r);)n.push(Gm(this,i)),r=r.slice(this.__last_index__),i+=this.__last_index__;return n.length?n:null};fi.prototype.matchAtStart=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return null;const n=this.re.schema_at_start.exec(t);if(!n)return null;const i=this.testSchemaAt(t,n[2],n[0].length);return i?(this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+i,Gm(this,0)):null};fi.prototype.tlds=function(t,n){return t=Array.isArray(t)?t:[t],n?(this.__tlds__=this.__tlds__.concat(t).sort().filter(function(i,r,o){return i!==o[r-1]}).reverse(),e0(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,e0(this),this)};fi.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),t.schema==="mailto:"&&!/^mailto:/i.test(t.url)&&(t.url="mailto:"+t.url)};fi.prototype.onCompile=function(){};const fa=2147483647,gr=36,i2=1,vc=26,VM=38,BM=700,LT=72,IT=128,FT="-",$M=/^xn--/,UM=/[^\0-\x7F]/,zM=/[\x2E\u3002\uFF0E\uFF61]/g,HM={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},N1=gr-i2,vr=Math.floor,O1=String.fromCharCode;function Ku(e){throw new RangeError(HM[e])}function qM(e,t){const n=[];let i=e.length;for(;i--;)n[i]=t(e[i]);return n}function jT(e,t){const n=e.split("@");let i="";n.length>1&&(i=n[0]+"@",e=n[1]),e=e.replace(zM,".");const r=e.split("."),o=qM(r,t).join(".");return i+o}function PT(e){const t=[];let n=0;const i=e.length;for(;n<i;){const r=e.charCodeAt(n++);if(r>=55296&&r<=56319&&n<i){const o=e.charCodeAt(n++);(o&64512)==56320?t.push(((r&1023)<<10)+(o&1023)+65536):(t.push(r),n--)}else t.push(r)}return t}const GM=e=>String.fromCodePoint(...e),YM=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:gr},t6=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},VT=function(e,t,n){let i=0;for(e=n?vr(e/BM):e>>1,e+=vr(e/t);e>N1*vc>>1;i+=gr)e=vr(e/N1);return vr(i+(N1+1)*e/(e+VM))},BT=function(e){const t=[],n=e.length;let i=0,r=IT,o=LT,a=e.lastIndexOf(FT);a<0&&(a=0);for(let c=0;c<a;++c)e.charCodeAt(c)>=128&&Ku("not-basic"),t.push(e.charCodeAt(c));for(let c=a>0?a+1:0;c<n;){const f=i;for(let p=1,g=gr;;g+=gr){c>=n&&Ku("invalid-input");const y=YM(e.charCodeAt(c++));y>=gr&&Ku("invalid-input"),y>vr((fa-i)/p)&&Ku("overflow"),i+=y*p;const v=g<=o?i2:g>=o+vc?vc:g-o;if(y<v)break;const E=gr-v;p>vr(fa/E)&&Ku("overflow"),p*=E}const h=t.length+1;o=VT(i-f,h,f==0),vr(i/h)>fa-r&&Ku("overflow"),r+=vr(i/h),i%=h,t.splice(i++,0,r)}return String.fromCodePoint(...t)},$T=function(e){const t=[];e=PT(e);const n=e.length;let i=IT,r=0,o=LT;for(const f of e)f<128&&t.push(O1(f));const a=t.length;let c=a;for(a&&t.push(FT);c<n;){let f=fa;for(const p of e)p>=i&&p<f&&(f=p);const h=c+1;f-i>vr((fa-r)/h)&&Ku("overflow"),r+=(f-i)*h,i=f;for(const p of e)if(p<i&&++r>fa&&Ku("overflow"),p===i){let g=r;for(let y=gr;;y+=gr){const v=y<=o?i2:y>=o+vc?vc:y-o;if(g<v)break;const E=g-v,T=gr-v;t.push(O1(t6(v+E%T,0))),g=vr(E/T)}t.push(O1(t6(g,0))),o=VT(r,h,c===a),r=0,++c}++r,++i}return t.join("")},QM=function(e){return jT(e,function(t){return $M.test(t)?BT(t.slice(4).toLowerCase()):t})},XM=function(e){return jT(e,function(t){return UM.test(t)?"xn--"+$T(t):t})},UT={version:"2.3.1",ucs2:{decode:PT,encode:GM},decode:BT,encode:$T,toASCII:XM,toUnicode:QM},ZM={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},WM={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"]}}},KM={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"]}}},JM={default:ZM,zero:WM,commonmark:KM},ek=/^(vbscript|javascript|file|data):/,tk=/^data:image\/(gif|png|jpeg|webp);/;function nk(e){const t=e.trim().toLowerCase();return ek.test(t)?tk.test(t):!0}const zT=["http:","https:","mailto:"];function ik(e){const t=Wg(e,!0);if(t.hostname&&(!t.protocol||zT.indexOf(t.protocol)>=0))try{t.hostname=UT.toASCII(t.hostname)}catch{}return jc(Zg(t))}function rk(e){const t=Wg(e,!0);if(t.hostname&&(!t.protocol||zT.indexOf(t.protocol)>=0))try{t.hostname=UT.toUnicode(t.hostname)}catch{}return ya(Zg(t),ya.defaultChars+"%")}function Ni(e,t){if(!(this instanceof Ni))return new Ni(e,t);t||Jg(e)||(t=e||{},e="default"),this.inline=new Vc,this.block=new M0,this.core=new t2,this.renderer=new Da,this.linkify=new fi,this.validateLink=nk,this.normalizeLink=ik,this.normalizeLinkText=rk,this.utils=oR,this.helpers=O0({},cR),this.options={},this.configure(e),t&&this.set(t)}Ni.prototype.set=function(e){return O0(this.options,e),this};Ni.prototype.configure=function(e){const t=this;if(Jg(e)){const n=e;if(e=JM[n],!e)throw new Error('Wrong `markdown-it` preset "'+n+'", check name')}if(!e)throw new 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[n].ruler2.enableOnly(e.components[n].rules2)}),this};Ni.prototype.enable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(r){n=n.concat(this[r].ruler.enable(e,!0))},this),n=n.concat(this.inline.ruler2.enable(e,!0));const i=e.filter(function(r){return n.indexOf(r)<0});if(i.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+i);return this};Ni.prototype.disable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(r){n=n.concat(this[r].ruler.disable(e,!0))},this),n=n.concat(this.inline.ruler2.disable(e,!0));const i=e.filter(function(r){return n.indexOf(r)<0});if(i.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+i);return this};Ni.prototype.use=function(e){const t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this};Ni.prototype.parse=function(e,t){if(typeof e!="string")throw new Error("Input data should be a String");const n=new this.core.State(e,this,t);return this.core.process(n),n.tokens};Ni.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)};Ni.prototype.parseInline=function(e,t){const n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens};Ni.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};const t0=new Ni({breaks:!1,linkify:!0});function uk(e,t,{schema:n,setSchemaReference:i},r,o){Fc([],{useCommonAddons:!1}).then(c=>{let f,h,p,g,y,v,E,T,S;c.on(t,"select",(A,D)=>{if(!f){const C=D.parentNode;f=document.createElement("div"),f.className="CodeMirror-hint-information",C.append(f);const N=document.createElement("header");N.className="CodeMirror-hint-information-header",f.append(N),h=document.createElement("span"),h.className="CodeMirror-hint-information-field-name",N.append(h),p=document.createElement("span"),p.className="CodeMirror-hint-information-type-name-pill",N.append(p),g=document.createElement("span"),p.append(g),y=document.createElement("a"),y.className="CodeMirror-hint-information-type-name",y.href="javascript:void 0",y.addEventListener("click",a),p.append(y),v=document.createElement("span"),p.append(v),E=document.createElement("div"),E.className="CodeMirror-hint-information-description",f.append(E),T=document.createElement("div"),T.className="CodeMirror-hint-information-deprecation",f.append(T);const O=document.createElement("span");O.className="CodeMirror-hint-information-deprecation-label",O.textContent="Deprecated",T.append(O),S=document.createElement("div"),S.className="CodeMirror-hint-information-deprecation-reason",T.append(S);const k=parseInt(window.getComputedStyle(f).paddingBottom.replace(/px$/,""),10)||0,I=parseInt(window.getComputedStyle(f).maxHeight.replace(/px$/,""),10)||0,P=()=>{f&&(f.style.paddingTop=C.scrollTop+k+"px",f.style.maxHeight=C.scrollTop+I+"px")};C.addEventListener("scroll",P);let L;C.addEventListener("DOMNodeRemoved",L=B=>{B.target===C&&(C.removeEventListener("scroll",P),C.removeEventListener("DOMNodeRemoved",L),f==null||f.removeEventListener("click",a),f=null,h=null,p=null,g=null,y=null,v=null,E=null,T=null,S=null,L=null)})}if(h&&(h.textContent=A.text),p&&g&&y&&v)if(A.type){p.style.display="inline";const C=N=>{Pt(N)?(v.textContent="!"+v.textContent,C(N.ofType)):kn(N)?(g.textContent+="[",v.textContent="]"+v.textContent,C(N.ofType)):y.textContent=N.name};g.textContent="",v.textContent="",C(A.type)}else g.textContent="",y.textContent="",v.textContent="",p.style.display="none";E&&(A.description?(E.style.display="block",E.innerHTML=t0.render(A.description)):(E.style.display="none",E.innerHTML="")),T&&S&&(A.deprecationReason?(T.style.display="block",S.innerHTML=t0.render(A.deprecationReason)):(T.style.display="none",S.innerHTML=""))})});function a(c){const f=r==null?void 0:r.referencePlugin;if(!n||!f||!(c.currentTarget instanceof HTMLElement))return;const h=c.currentTarget.textContent||"",p=n.getType(h);p&&(r.setVisiblePlugin(f),i({kind:"Type",type:p}),o==null||o(p))}}function xa(e,t){let n;return function(...i){n&&window.clearTimeout(n),n=window.setTimeout(()=>{n=null,t(...i)},e)}}function vd(e,t){const n=ge.c(4);let i,r;n[0]!==e||n[1]!==t?(i=()=>{e&&typeof t=="string"&&t!==e.getValue()&&e.setValue(t)},r=[e,t],n[0]=e,n[1]=t,n[2]=i,n[3]=r):(i=n[2],r=n[3]),x.useEffect(i,r)}function L0(e,t,n){const i=ge.c(5);let r,o;i[0]!==e||i[1]!==t||i[2]!==n?(r=()=>{e==null||e.setOption(t,n)},o=[e,t,n],i[0]=e,i[1]=t,i[2]=n,i[3]=r,i[4]=o):(r=i[3],o=i[4]),x.useEffect(r,o)}function HT(e,t,n,i,r){const o=ge.c(10);let a;o[0]!==r?(a={nonNull:!0,caller:r},o[0]=r,o[1]=a):a=o[1];const{updateActiveTabValues:c}=bn(a),f=ao();let h,p;o[2]!==t||o[3]!==e||o[4]!==f||o[5]!==n||o[6]!==i||o[7]!==c?(h=()=>{if(!e)return;const g=xa(500,E=>{!f||n===null||f.set(n,E)}),y=xa(100,E=>{c({[i]:E})}),v=(E,T)=>{if(!T)return;const S=E.getValue();g(S),y(S),t==null||t(S)};return e.on("change",v),()=>e.off("change",v)},p=[t,e,f,n,i,c],o[2]=t,o[3]=e,o[4]=f,o[5]=n,o[6]=i,o[7]=c,o[8]=h,o[9]=p):(h=o[8],p=o[9]),x.useEffect(h,p)}function qT(e,t,n){const i=ge.c(8);let r;i[0]!==n?(r={nonNull:!0,caller:n},i[0]=n,i[1]=r):r=i[1];const o=Dr(r),a=N0();let c,f;i[2]!==t||i[3]!==e||i[4]!==a||i[5]!==o?(c=()=>{if(!e)return;const h=(p,g)=>{uk(p,g,o,a,y=>{t==null||t({kind:"Type",type:y,schema:o.schema||void 0})})};return e.on("hasCompletion",h),()=>e.off("hasCompletion",h)},f=[t,e,a,o],i[2]=t,i[3]=e,i[4]=a,i[5]=o,i[6]=c,i[7]=f):(c=i[6],f=i[7]),x.useEffect(c,f)}function yr(e,t,n){const i=ge.c(5);let r,o;i[0]!==n||i[1]!==e||i[2]!==t?(r=()=>{if(e){for(const a of t)e.removeKeyMap(a);if(n){const a={};for(const c of t)a[c]=()=>n();e.addKeyMap(a)}}},o=[e,t,n],i[0]=n,i[1]=e,i[2]=t,i[3]=r,i[4]=o):(r=i[3],o=i[4]),x.useEffect(r,o)}const ok=r2,n6=Bc,sk=$c,i6=GT;function r2(e){const t=ge.c(7);let n;t[0]!==e?(n=e===void 0?{}:e,t[0]=e,t[1]=n):n=t[1];const{caller:i,onCopyQuery:r}=n,o=i||ok;let a;t[2]!==o?(a={nonNull:!0,caller:o},t[2]=o,t[3]=a):a=t[3];const{queryEditor:c}=bn(a);let f;return t[4]!==r||t[5]!==c?(f=()=>{if(!c)return;const h=c.getValue();gO(h),r==null||r(h)},t[4]=r,t[5]=c,t[6]=f):f=t[6],f}function Bc(e){const t=ge.c(8);let n;t[0]!==e?(n=e===void 0?{}:e,t[0]=e,t[1]=n):n=t[1];const{caller:i}=n,r=i||n6;let o;t[2]!==r?(o={nonNull:!0,caller:r},t[2]=r,t[3]=o):o=t[3];const{queryEditor:a}=bn(o);let c;t[4]===Symbol.for("react.memo_cache_sentinel")?(c={nonNull:!0,caller:n6},t[4]=c):c=t[4];const{schema:f}=Dr(c);let h;return t[5]!==a||t[6]!==f?(h=()=>{const p=a==null?void 0:a.documentAST,g=a==null?void 0:a.getValue();!p||!g||a.setValue(li(aN(p,f)))},t[5]=a,t[6]=f,t[7]=h):h=t[7],h}function ak(e){return li(Ko(e))}function $c(e){const t=ge.c(9);let n;t[0]!==e?(n=e===void 0?{}:e,t[0]=e,t[1]=n):n=t[1];const{caller:i,onPrettifyQuery:r}=n,o=r===void 0?ak:r,a=i||sk;let c;t[2]!==a?(c={nonNull:!0,caller:a},t[2]=a,t[3]=c):c=t[3];const{queryEditor:f,headerEditor:h,variableEditor:p}=bn(c);let g;return t[4]!==h||t[5]!==o||t[6]!==f||t[7]!==p?(g=async()=>{if(p){const y=p.getValue();try{const v=JSON.stringify(JSON.parse(y),null,2);v!==y&&p.setValue(v)}catch{}}if(h){const y=h.getValue();try{const v=JSON.stringify(JSON.parse(y),null,2);v!==y&&h.setValue(v)}catch{}}if(f){const y=f.getValue();try{const v=await o(y);v!==y&&f.setValue(v)}catch{}}},t[4]=h,t[5]=o,t[6]=f,t[7]=p,t[8]=g):g=t[8],g}function GT(e){const t=ge.c(10);let n;t[0]!==e?(n=e===void 0?{}:e,t[0]=e,t[1]=n):n=t[1];const{getDefaultFieldNames:i,caller:r}=n,o=r||i6;let a;t[2]!==o?(a={nonNull:!0,caller:o},t[2]=o,t[3]=a):a=t[3];const{schema:c}=Dr(a),f=r||i6;let h;t[4]!==f?(h={nonNull:!0,caller:f},t[4]=f,t[5]=h):h=t[5];const{queryEditor:p}=bn(h);let g;return t[6]!==i||t[7]!==p||t[8]!==c?(g=()=>{if(!p)return;const y=p.getValue(),{insertions:v,result:E}=nN(c,y,i);return v&&v.length>0&&p.operation(()=>{const T=p.getCursor(),S=p.indexFromPos(T);p.setValue(E||"");let A;A=0;const D=v.map(N=>{const{index:O,string:k}=N;return A=A+k.length,p.markText(p.posFromIndex(O+A),p.posFromIndex(O+A),{className:"auto-inserted-leaf",clearOnEnter:!0,title:"Automatically added leaf fields"})});setTimeout(()=>{for(const N of D)N.clear()},7e3);let C=S;for(const{index:N,string:O}of v)N<S&&(C=C+O.length);p.setCursor(p.posFromIndex(C))}),E},t[6]=i,t[7]=p,t[8]=c,t[9]=g):g=t[9],g}function lk(){return Fc([We(()=>import("./javascript-C1fmnkCb.js").then(e=>e.j),__vite__mapDeps([15,1]))])}const yd=YT;function YT(e,t){const n=ge.c(17);let i;n[0]!==e?(i=e===void 0?{}:e,n[0]=e,n[1]=i):i=n[1];const{editorTheme:r,keyMap:o,onEdit:a,readOnly:c}=i,f=r===void 0?A0:r,h=o===void 0?w0:o,p=c===void 0?!1:c,g=t||yd;let y;n[2]!==g?(y={nonNull:!0,caller:g},n[2]=g,n[3]=y):y=n[3];const{initialHeaders:v,headerEditor:E,setHeaderEditor:T,shouldPersistHeaders:S}=bn(y),A=Na(),D=t||yd;let C;n[4]!==D?(C={caller:D},n[4]=D,n[5]=C):C=n[5];const N=Bc(C),O=t||yd;let k;n[6]!==O?(k={caller:O},n[6]=O,n[7]=k):k=n[7];const I=$c(k),P=x.useRef(null);let L,B;n[8]!==f||n[9]!==v||n[10]!==p||n[11]!==T?(L=()=>{let fe;return fe=!0,lk().then(X=>{if(!fe)return;const F=P.current;if(!F)return;const H=X(F,{value:v,lineNumbers:!0,tabSize:2,mode:{name:"javascript",json:!0},theme:f,autoCloseBrackets:!0,matchBrackets:!0,showCursorWhenSelecting:!0,readOnly:p?"nocursor":!1,foldGutter:!0,gutters:["CodeMirror-linenumbers","CodeMirror-foldgutter"],extraKeys:D0});H.addKeyMap({"Cmd-Space"(){H.showHint({completeSingle:!1,container:F})},"Ctrl-Space"(){H.showHint({completeSingle:!1,container:F})},"Alt-Space"(){H.showHint({completeSingle:!1,container:F})},"Shift-Space"(){H.showHint({completeSingle:!1,container:F})}}),H.on("keyup",ck),T(H)}),()=>{fe=!1}},B=[f,v,p,T],n[8]=f,n[9]=v,n[10]=p,n[11]=T,n[12]=L,n[13]=B):(L=n[12],B=n[13]),x.useEffect(L,B),L0(E,"keyMap",h),HT(E,a,S?Fd:null,"headers",yd);let z;n[14]===Symbol.for("react.memo_cache_sentinel")?(z=["Cmd-Enter","Ctrl-Enter"],n[14]=z):z=n[14],yr(E,z,A==null?void 0:A.run);let te;n[15]===Symbol.for("react.memo_cache_sentinel")?(te=["Shift-Ctrl-P"],n[15]=te):te=n[15],yr(E,te,I);let re;return n[16]===Symbol.for("react.memo_cache_sentinel")?(re=["Shift-Ctrl-M"],n[16]=re):re=n[16],yr(E,re,N),P}function ck(e,t){const{code:n,key:i,shiftKey:r}=t,o=n.startsWith("Key"),a=!r&&n.startsWith("Digit");(o||a||i==="_"||i==='"')&&e.execCommand("autocomplete")}const Fd="headers",fk=Array.from({length:11},(e,t)=>String.fromCharCode(8192+t)).concat(["\u2028","\u2029"," "," "]),dk=new RegExp("["+fk.join("")+"]","g");function hk(e){return e.replace(dk," ")}function pk(){return Fc([We(()=>import("./comment-hYnnSLkz.js").then(e=>e.c),__vite__mapDeps([16,1])),We(()=>import("./search-BzUGWzlS.js").then(e=>e.s),__vite__mapDeps([17,1,10,12])),We(()=>import("./hint-tBpO-B8y.js"),__vite__mapDeps([18,0,1,2,19])),We(()=>import("./lint-C6rDu9yg.js"),__vite__mapDeps([20,0,1,19])),We(()=>import("./info-D0V7Zrnm.js"),__vite__mapDeps([21,0,1,22,23,24])),We(()=>import("./jump-CMl3nz-1.js"),__vite__mapDeps([25,0,1,22,23])),We(()=>import("./mode-C2URUmUb.js"),__vite__mapDeps([26,0,1,27]))])}const Qs=QT;function mk(e,t){e.state.lint.linterOptions.variableToType=t==null?void 0:t.variableToType,e.options.lint.variableToType=t==null?void 0:t.variableToType,e.options.hintOptions.variableToType=t==null?void 0:t.variableToType}function gk(e,t){e.state.lint.linterOptions.schema=t,e.options.lint.schema=t,e.options.hintOptions.schema=t,e.options.info.schema=t,e.options.jump.schema=t}function vk(e,t){e.state.lint.linterOptions.validationRules=t,e.options.lint.validationRules=t}function yk(e,t){e.state.lint.linterOptions.externalFragments=t,e.options.lint.externalFragments=t,e.options.hintOptions.externalFragments=t}function QT(e,t){const n=ge.c(42);let i;n[0]!==e?(i=e===void 0?{}:e,n[0]=e,n[1]=i):i=n[1];const{editorTheme:r,keyMap:o,onClickReference:a,onCopyQuery:c,onEdit:f,onPrettifyQuery:h,readOnly:p}=i,g=r===void 0?A0:r,y=o===void 0?w0:o,v=p===void 0?!1:p,E=t||Qs;let T;n[2]!==E?(T={nonNull:!0,caller:E},n[2]=E,n[3]=T):T=n[3];const{schema:S,setSchemaReference:A}=Dr(T),D=t||Qs;let C;n[4]!==D?(C={nonNull:!0,caller:D},n[4]=D,n[5]=C):C=n[5];const{externalFragments:N,initialQuery:O,queryEditor:k,setOperationName:I,setQueryEditor:P,validationRules:L,variableEditor:B,updateActiveTabValues:z}=bn(C),te=Na(),re=ao(),fe=N0(),X=t||Qs;let F;n[6]!==c||n[7]!==X?(F={caller:X,onCopyQuery:c},n[6]=c,n[7]=X,n[8]=F):F=n[8];const H=r2(F),$=t||Qs;let V;n[9]!==$?(V={caller:$},n[9]=$,n[10]=V):V=n[10];const M=Bc(V),q=t||Qs;let ie;n[11]!==h||n[12]!==q?(ie={caller:q,onPrettifyQuery:h},n[11]=h,n[12]=q,n[13]=ie):ie=n[13];const ne=$c(ie),Y=x.useRef(null),pe=x.useRef(void 0),oe=x.useRef(Tk);let le,ue;n[14]!==a||n[15]!==fe||n[16]!==A?(le=()=>{oe.current=Ne=>{const ct=fe==null?void 0:fe.referencePlugin;ct&&(fe.setVisiblePlugin(ct),A(Ne),a==null||a(Ne))}},ue=[a,fe,A],n[14]=a,n[15]=fe,n[16]=A,n[17]=le,n[18]=ue):(le=n[17],ue=n[18]),x.useEffect(le,ue);let me,ve;n[19]!==g||n[20]!==O||n[21]!==v||n[22]!==P?(me=()=>{let Ne;return Ne=!0,pk().then(ct=>{if(!Ne)return;pe.current=ct;const ut=Y.current;if(!ut)return;const Ye=ct(ut,{value:O,lineNumbers:!0,tabSize:2,foldGutter:!0,mode:"graphql",theme:g,autoCloseBrackets:!0,matchBrackets:!0,showCursorWhenSelecting:!0,readOnly:v?"nocursor":!1,lint:{schema:void 0,validationRules:null,externalFragments:void 0},hintOptions:{schema:void 0,closeOnUnfocus:!1,completeSingle:!1,container:ut,externalFragments:void 0,autocompleteOptions:{mode:su.EXECUTABLE}},info:{schema:void 0,renderDescription:Ek,onClick($t){oe.current($t)}},jump:{schema:void 0,onClick($t){oe.current($t)}},gutters:["CodeMirror-linenumbers","CodeMirror-foldgutter"],extraKeys:{...D0,"Cmd-S"(){},"Ctrl-S"(){}}}),fn=function(){Ye.showHint({completeSingle:!0,container:ut})};Ye.addKeyMap({"Cmd-Space":fn,"Ctrl-Space":fn,"Alt-Space":fn,"Shift-Space":fn,"Shift-Alt-Space":fn}),Ye.on("keyup",xk);let Qe;Qe=!1,Ye.on("startCompletion",()=>{Qe=!0}),Ye.on("endCompletion",()=>{Qe=!1}),Ye.on("keydown",($t,kt)=>{kt.key==="Escape"&&Qe&&kt.stopPropagation()}),Ye.on("beforeChange",bk),Ye.documentAST=null,Ye.operationName=null,Ye.operations=null,Ye.variableToType=null,P(Ye)}),()=>{Ne=!1}},ve=[g,O,v,P],n[19]=g,n[20]=O,n[21]=v,n[22]=P,n[23]=me,n[24]=ve):(me=n[23],ve=n[24]),x.useEffect(me,ve),L0(k,"keyMap",y);let He,lt;n[25]!==f||n[26]!==k||n[27]!==S||n[28]!==I||n[29]!==re||n[30]!==z||n[31]!==B?(He=()=>{if(!k)return;const Ne=function(Ye){var fn;const Qe=rO(S,Ye.getValue()),$t=lN(Ye.operations??void 0,Ye.operationName??void 0,Qe==null?void 0:Qe.operations);return Ye.documentAST=(Qe==null?void 0:Qe.documentAST)??null,Ye.operationName=$t??null,Ye.operations=(Qe==null?void 0:Qe.operations)??null,B&&(mk(B,Qe),(fn=pe.current)==null||fn.signal(B,"change",B)),Qe?{...Qe,operationName:$t}:null},ct=xa(100,ut=>{const Ye=ut.getValue();re==null||re.set(XT,Ye);const fn=ut.operationName,Qe=Ne(ut);(Qe==null?void 0:Qe.operationName)!==void 0&&(re==null||re.set(wk,Qe.operationName)),f==null||f(Ye,Qe==null?void 0:Qe.documentAST),Qe!=null&&Qe.operationName&&fn!==Qe.operationName&&I(Qe.operationName),z({query:Ye,operationName:(Qe==null?void 0:Qe.operationName)??null})});return Ne(k),k.on("change",ct),()=>k.off("change",ct)},lt=[f,k,S,I,re,B,z],n[25]=f,n[26]=k,n[27]=S,n[28]=I,n[29]=re,n[30]=z,n[31]=B,n[32]=He,n[33]=lt):(He=n[32],lt=n[33]),x.useEffect(He,lt),Sk(k,S??null,pe),_k(k,L??null,pe),Ck(k,N,pe),qT(k,a||null,Qs);const Te=te==null?void 0:te.run;let At;n[34]!==k||n[35]!==Te||n[36]!==I?(At=()=>{var Ne;if(!Te||!k||!k.operations||!k.hasFocus()){Te==null||Te();return}const ct=k.indexFromPos(k.getCursor());let ut;for(const Ye of k.operations)Ye.loc&&Ye.loc.start<=ct&&Ye.loc.end>=ct&&(ut=(Ne=Ye.name)==null?void 0:Ne.value);ut&&ut!==k.operationName&&I(ut),Te()},n[34]=k,n[35]=Te,n[36]=I,n[37]=At):At=n[37];const In=At;let cn;n[38]===Symbol.for("react.memo_cache_sentinel")?(cn=["Cmd-Enter","Ctrl-Enter"],n[38]=cn):cn=n[38],yr(k,cn,In);let nt;n[39]===Symbol.for("react.memo_cache_sentinel")?(nt=["Shift-Ctrl-C"],n[39]=nt):nt=n[39],yr(k,nt,H);let De;n[40]===Symbol.for("react.memo_cache_sentinel")?(De=["Shift-Ctrl-P","Shift-Ctrl-F"],n[40]=De):De=n[40],yr(k,De,ne);let qe;return n[41]===Symbol.for("react.memo_cache_sentinel")?(qe=["Shift-Ctrl-M"],n[41]=qe):qe=n[41],yr(k,qe,M),Y}function bk(e,t){var n;if(t.origin==="paste"){const i=t.text.map(hk);(n=t.update)==null||n.call(t,t.from,t.to,i)}}function xk(e,t){Ak.test(t.key)&&e.execCommand("autocomplete")}function Ek(e){return t0.render(e)}function Tk(){}function Sk(e,t,n){const i=ge.c(5);let r,o;i[0]!==n||i[1]!==e||i[2]!==t?(r=()=>{if(!e)return;const a=e.options.lint.schema!==t;gk(e,t),a&&n.current&&n.current.signal(e,"change",e)},o=[e,t,n],i[0]=n,i[1]=e,i[2]=t,i[3]=r,i[4]=o):(r=i[3],o=i[4]),x.useEffect(r,o)}function _k(e,t,n){const i=ge.c(5);let r,o;i[0]!==n||i[1]!==e||i[2]!==t?(r=()=>{if(!e)return;const a=e.options.lint.validationRules!==t;vk(e,t),a&&n.current&&n.current.signal(e,"change",e)},o=[e,t,n],i[0]=n,i[1]=e,i[2]=t,i[3]=r,i[4]=o):(r=i[3],o=i[4]),x.useEffect(r,o)}function Ck(e,t,n){const i=ge.c(7);let r;i[0]!==t?(r=[...t.values()],i[0]=t,i[1]=r):r=i[1];const o=r;let a,c;i[2]!==n||i[3]!==e||i[4]!==o?(a=()=>{if(!e)return;const f=e.options.lint.externalFragments!==o;yk(e,o),f&&n.current&&n.current.signal(e,"change",e)},c=[e,o,n],i[2]=n,i[3]=e,i[4]=o,i[5]=a,i[6]=c):(a=i[5],c=i[6]),x.useEffect(a,c)}const Ak=/^[a-zA-Z0-9_@(]$/,XT="query",wk="operationName";function Dk({defaultQuery:e,defaultHeaders:t,headers:n,defaultTabs:i,query:r,variables:o,storage:a,shouldPersistHeaders:c}){const f=a==null?void 0:a.get(yc);try{if(!f)throw new Error("Storage for tabs is empty");const h=JSON.parse(f),p=c?n:void 0;if(Nk(h)){const g=n0({query:r,variables:o,headers:p});let y=-1;for(let v=0;v<h.tabs.length;v++){const E=h.tabs[v];E.hash=n0({query:E.query,variables:E.variables,headers:E.headers}),E.hash===g&&(y=v)}if(y>=0)h.activeTabIndex=y;else{const v=r?u2(r):null;h.tabs.push({id:JT(),hash:g,title:v||o2,query:r,variables:o,headers:n,operationName:v,response:null}),h.activeTabIndex=h.tabs.length-1}return h}throw new Error("Storage for tabs is invalid")}catch{return{activeTabIndex:0,tabs:(i||[{query:r??e,variables:o,headers:n??t}]).map(WT)}}}function Nk(e){return e&&typeof e=="object"&&!Array.isArray(e)&&Rk(e,"activeTabIndex")&&"tabs"in e&&Array.isArray(e.tabs)&&e.tabs.every(Ok)}function Ok(e){return e&&typeof e=="object"&&!Array.isArray(e)&&r6(e,"id")&&r6(e,"title")&&jl(e,"query")&&jl(e,"variables")&&jl(e,"headers")&&jl(e,"operationName")&&jl(e,"response")}function Rk(e,t){return t in e&&typeof e[t]=="number"}function r6(e,t){return t in e&&typeof e[t]=="string"}function jl(e,t){return t in e&&(typeof e[t]=="string"||e[t]===null)}function Mk({queryEditor:e,variableEditor:t,headerEditor:n,responseEditor:i}){return x.useCallback(r=>{const o=(e==null?void 0:e.getValue())??null,a=(t==null?void 0:t.getValue())??null,c=(n==null?void 0:n.getValue())??null,f=(e==null?void 0:e.operationName)??null,h=(i==null?void 0:i.getValue())??null;return KT(r,{query:o,variables:a,headers:c,response:h,operationName:f})},[e,t,n,i])}function ZT(e,t=!1){return JSON.stringify(e,(n,i)=>n==="hash"||n==="response"||!t&&n==="headers"?null:i)}function kk({storage:e,shouldPersistHeaders:t}){const n=x.useMemo(()=>xa(500,i=>{e==null||e.set(yc,i)}),[e]);return x.useCallback(i=>{n(ZT(i,t))},[t,n])}function Lk({queryEditor:e,variableEditor:t,headerEditor:n,responseEditor:i,defaultHeaders:r}){return x.useCallback(({query:o,variables:a,headers:c,response:f})=>{e==null||e.setValue(o??""),t==null||t.setValue(a??""),n==null||n.setValue(c??r??""),i==null||i.setValue(f??"")},[n,e,i,t,r])}function WT({query:e=null,variables:t=null,headers:n=null}={}){const i=e?u2(e):null;return{id:JT(),hash:n0({query:e,variables:t,headers:n}),title:i||o2,query:e,variables:t,headers:n,operationName:i,response:null}}function KT(e,t){return{...e,tabs:e.tabs.map((n,i)=>{if(i!==e.activeTabIndex)return n;const r={...n,...t};return{...r,hash:n0(r),title:r.operationName||(r.query?u2(r.query):void 0)||o2}})}}function JT(){const e=()=>Math.floor((1+Math.random())*65536).toString(16).slice(1);return`${e()}${e()}-${e()}-${e()}-${e()}-${e()}${e()}${e()}`}function n0(e){return[e.query??"",e.variables??"",e.headers??""].join("|")}function u2(e){const n=/^(?!#).*(query|subscription|mutation)\s+([a-zA-Z0-9_]+)/m.exec(e);return(n==null?void 0:n[2])??null}function Ik(e){const t=e==null?void 0:e.get(yc);if(t){const n=JSON.parse(t);e==null||e.set(yc,JSON.stringify(n,(i,r)=>i==="headers"?null:r))}}const o2="<untitled>",yc="tabState";function Fk(){return Fc([We(()=>import("./hint-D4-TGuu2.js"),__vite__mapDeps([28,0,1,23])),We(()=>import("./lint-B6DlOY4R.js"),__vite__mapDeps([29,0,1])),We(()=>import("./mode-DtlwYZcH.js"),__vite__mapDeps([30,0,1,27]))])}const Pl=eS;function eS(e,t){const n=ge.c(17);let i;n[0]!==e?(i=e===void 0?{}:e,n[0]=e,n[1]=i):i=n[1];const{editorTheme:r,keyMap:o,onClickReference:a,onEdit:c,readOnly:f}=i,h=r===void 0?A0:r,p=o===void 0?w0:o,g=f===void 0?!1:f,y=t||Pl;let v;n[2]!==y?(v={nonNull:!0,caller:y},n[2]=y,n[3]=v):v=n[3];const{initialVariables:E,variableEditor:T,setVariableEditor:S}=bn(v),A=Na(),D=t||Pl;let C;n[4]!==D?(C={caller:D},n[4]=D,n[5]=C):C=n[5];const N=Bc(C),O=t||Pl;let k;n[6]!==O?(k={caller:O},n[6]=O,n[7]=k):k=n[7];const I=$c(k),P=x.useRef(null);let L,B;n[8]!==h||n[9]!==E||n[10]!==g||n[11]!==S?(L=()=>{let fe;return fe=!0,Fk().then(X=>{if(!fe)return;const F=P.current;if(!F)return;const H=X(F,{value:E,lineNumbers:!0,tabSize:2,mode:"graphql-variables",theme:h,autoCloseBrackets:!0,matchBrackets:!0,showCursorWhenSelecting:!0,readOnly:g?"nocursor":!1,foldGutter:!0,lint:{variableToType:void 0},hintOptions:{closeOnUnfocus:!1,completeSingle:!1,container:F,variableToType:void 0},gutters:["CodeMirror-linenumbers","CodeMirror-foldgutter"],extraKeys:D0});H.addKeyMap({"Cmd-Space"(){H.showHint({completeSingle:!1,container:F})},"Ctrl-Space"(){H.showHint({completeSingle:!1,container:F})},"Alt-Space"(){H.showHint({completeSingle:!1,container:F})},"Shift-Space"(){H.showHint({completeSingle:!1,container:F})}}),H.on("keyup",jk),S(H)}),()=>{fe=!1}},B=[h,E,g,S],n[8]=h,n[9]=E,n[10]=g,n[11]=S,n[12]=L,n[13]=B):(L=n[12],B=n[13]),x.useEffect(L,B),L0(T,"keyMap",p),HT(T,c,tS,"variables",Pl),qT(T,a||null,Pl);let z;n[14]===Symbol.for("react.memo_cache_sentinel")?(z=["Cmd-Enter","Ctrl-Enter"],n[14]=z):z=n[14],yr(T,z,A==null?void 0:A.run);let te;n[15]===Symbol.for("react.memo_cache_sentinel")?(te=["Shift-Ctrl-P"],n[15]=te):te=n[15],yr(T,te,I);let re;return n[16]===Symbol.for("react.memo_cache_sentinel")?(re=["Shift-Ctrl-M"],n[16]=re):re=n[16],yr(T,re,N),P}function jk(e,t){const{code:n,key:i,shiftKey:r}=t,o=n.startsWith("Key"),a=!r&&n.startsWith("Digit");(o||a||i==="_"||i==='"')&&e.execCommand("autocomplete")}const tS="variables",nS=ts("EditorContext"),Pk=e=>{const t=ge.c(89),n=ao(),[i,r]=x.useState(null),[o,a]=x.useState(null),[c,f]=x.useState(null),[h,p]=x.useState(null);let g;t[0]!==e.shouldPersistHeaders||t[1]!==n?(g=()=>{const De=(n==null?void 0:n.get(R1))!==null;return e.shouldPersistHeaders!==!1&&De?(n==null?void 0:n.get(R1))==="true":!!e.shouldPersistHeaders},t[0]=e.shouldPersistHeaders,t[1]=n,t[2]=g):g=t[2];const[y,v]=x.useState(g);vd(i,e.headers),vd(o,e.query),vd(c,e.response),vd(h,e.variables);let E;t[3]!==y||t[4]!==n?(E={storage:n,shouldPersistHeaders:y},t[3]=y,t[4]=n,t[5]=E):E=t[5];const T=kk(E);let S;t[6]!==e.defaultHeaders||t[7]!==e.defaultQuery||t[8]!==e.defaultTabs||t[9]!==e.headers||t[10]!==e.query||t[11]!==e.response||t[12]!==e.variables||t[13]!==y||t[14]!==n||t[15]!==T?(S=()=>{const De=e.query??(n==null?void 0:n.get(XT))??null,qe=e.variables??(n==null?void 0:n.get(tS))??null,Ne=e.headers??(n==null?void 0:n.get(Fd))??null,ct=e.response??"",ut=Dk({query:De,variables:qe,headers:Ne,defaultTabs:e.defaultTabs,defaultQuery:e.defaultQuery||u6,defaultHeaders:e.defaultHeaders,storage:n,shouldPersistHeaders:y});return T(ut),{query:De??(ut.activeTabIndex===0?ut.tabs[0].query:null)??"",variables:qe??"",headers:Ne??e.defaultHeaders??"",response:ct,tabState:ut}},t[6]=e.defaultHeaders,t[7]=e.defaultQuery,t[8]=e.defaultTabs,t[9]=e.headers,t[10]=e.query,t[11]=e.response,t[12]=e.variables,t[13]=y,t[14]=n,t[15]=T,t[16]=S):S=t[16];const[A]=x.useState(S),[D,C]=x.useState(A.tabState);let N;t[17]!==i||t[18]!==n||t[19]!==D?(N=De=>{if(De){n==null||n.set(Fd,(i==null?void 0:i.getValue())??"");const qe=ZT(D,!0);n==null||n.set(yc,qe)}else n==null||n.set(Fd,""),Ik(n);v(De),n==null||n.set(R1,De.toString())},t[17]=i,t[18]=n,t[19]=D,t[20]=N):N=t[20];const O=N,k=x.useRef(void 0);let I,P;t[21]!==e.shouldPersistHeaders||t[22]!==O?(I=()=>{const De=!!e.shouldPersistHeaders;(k==null?void 0:k.current)!==De&&(O(De),k.current=De)},P=[e.shouldPersistHeaders,O],t[21]=e.shouldPersistHeaders,t[22]=O,t[23]=I,t[24]=P):(I=t[23],P=t[24]),x.useEffect(I,P);let L;t[25]!==i||t[26]!==o||t[27]!==c||t[28]!==h?(L={queryEditor:o,variableEditor:h,headerEditor:i,responseEditor:c},t[25]=i,t[26]=o,t[27]=c,t[28]=h,t[29]=L):L=t[29];const B=Mk(L),{onTabChange:z,defaultHeaders:te,defaultQuery:re,children:fe}=e;let X;t[30]!==te||t[31]!==i||t[32]!==o||t[33]!==c||t[34]!==h?(X={queryEditor:o,variableEditor:h,headerEditor:i,responseEditor:c,defaultHeaders:te},t[30]=te,t[31]=i,t[32]=o,t[33]=c,t[34]=h,t[35]=X):X=t[35];const F=Lk(X);let H;t[36]!==te||t[37]!==re||t[38]!==z||t[39]!==F||t[40]!==T||t[41]!==B?(H=()=>{C(De=>{const qe=B(De),Ne={tabs:[...qe.tabs,WT({headers:te,query:re??u6})],activeTabIndex:qe.tabs.length};return T(Ne),F(Ne.tabs[Ne.activeTabIndex]),z==null||z(Ne),Ne})},t[36]=te,t[37]=re,t[38]=z,t[39]=F,t[40]=T,t[41]=B,t[42]=H):H=t[42];const $=H;let V;t[43]!==z||t[44]!==F||t[45]!==T?(V=De=>{C(qe=>{const Ne={...qe,activeTabIndex:De};return T(Ne),F(Ne.tabs[Ne.activeTabIndex]),z==null||z(Ne),Ne})},t[43]=z,t[44]=F,t[45]=T,t[46]=V):V=t[46];const M=V;let q;t[47]!==z||t[48]!==F||t[49]!==T?(q=De=>{C(qe=>{const Ne=qe.tabs[qe.activeTabIndex],ct={tabs:De,activeTabIndex:De.indexOf(Ne)};return T(ct),F(ct.tabs[ct.activeTabIndex]),z==null||z(ct),ct})},t[47]=z,t[48]=F,t[49]=T,t[50]=q):q=t[50];const ie=q;let ne;t[51]!==z||t[52]!==F||t[53]!==T?(ne=De=>{C(qe=>{const Ne={tabs:qe.tabs.filter((ct,ut)=>De!==ut),activeTabIndex:Math.max(qe.activeTabIndex-1,0)};return T(Ne),F(Ne.tabs[Ne.activeTabIndex]),z==null||z(Ne),Ne})},t[51]=z,t[52]=F,t[53]=T,t[54]=ne):ne=t[54];const Y=ne;let pe;t[55]!==z||t[56]!==T?(pe=De=>{C(qe=>{const Ne=KT(qe,De);return T(Ne),z==null||z(Ne),Ne})},t[55]=z,t[56]=T,t[57]=pe):pe=t[57];const oe=pe,{onEditOperationName:le}=e;let ue;t[58]!==le||t[59]!==o||t[60]!==oe?(ue=De=>{o&&(Vk(o,De),oe({operationName:De}),le==null||le(De))},t[58]=le,t[59]=o,t[60]=oe,t[61]=ue):ue=t[61];const me=ue;let ve,He;if(t[62]!==e.externalFragments){if(He=new Map,Array.isArray(e.externalFragments))for(const De of e.externalFragments)He.set(De.name.value,De);else if(typeof e.externalFragments=="string")Yi(Ko(e.externalFragments,{}),{FragmentDefinition(De){He.set(De.name.value,De)}});else if(e.externalFragments)throw new Error("The `externalFragments` prop must either be a string that contains the fragment definitions in SDL or a list of FragmentDefinitionNode objects.");t[62]=e.externalFragments,t[63]=He}else He=t[63];ve=He;const lt=ve;let Te;t[64]!==e.validationRules?(Te=e.validationRules||[],t[64]=e.validationRules,t[65]=Te):Te=t[65];const At=Te;let In;t[66]!==$||t[67]!==M||t[68]!==Y||t[69]!==lt||t[70]!==i||t[71]!==A.headers||t[72]!==A.query||t[73]!==A.response||t[74]!==A.variables||t[75]!==ie||t[76]!==o||t[77]!==c||t[78]!==me||t[79]!==O||t[80]!==y||t[81]!==D||t[82]!==oe||t[83]!==At||t[84]!==h?(In={...D,addTab:$,changeTab:M,moveTab:ie,closeTab:Y,updateActiveTabValues:oe,headerEditor:i,queryEditor:o,responseEditor:c,variableEditor:h,setHeaderEditor:r,setQueryEditor:a,setResponseEditor:f,setVariableEditor:p,setOperationName:me,initialQuery:A.query,initialVariables:A.variables,initialHeaders:A.headers,initialResponse:A.response,externalFragments:lt,validationRules:At,shouldPersistHeaders:y,setShouldPersistHeaders:O},t[66]=$,t[67]=M,t[68]=Y,t[69]=lt,t[70]=i,t[71]=A.headers,t[72]=A.query,t[73]=A.response,t[74]=A.variables,t[75]=ie,t[76]=o,t[77]=c,t[78]=me,t[79]=O,t[80]=y,t[81]=D,t[82]=oe,t[83]=At,t[84]=h,t[85]=In):In=t[85];const cn=In;let nt;return t[86]!==fe||t[87]!==cn?(nt=_.jsx(nS.Provider,{value:cn,children:fe}),t[86]=fe,t[87]=cn,t[88]=nt):nt=t[88],nt};function Vk(e,t){e.operationName=t}const bn=ns(nS),R1="shouldPersistHeaders",u6=`# Welcome to GraphiQL
|
|
282
282
|
#
|
|
283
283
|
# GraphiQL is an in-browser tool for writing, validating, and
|
|
284
284
|
# testing GraphQL queries.
|
|
@@ -309,9 +309,9 @@ $1`:A.name,insertTextMode:Io.adjustIndentation,insertTextFormat:ca.Snippet}))):v
|
|
|
309
309
|
# Auto Complete: Ctrl-Space (or just start typing)
|
|
310
310
|
#
|
|
311
311
|
|
|
312
|
-
`,iS=ts("ExecutionContext");function
|
|
312
|
+
`,iS=ts("ExecutionContext");function Ym(e){const t=ge.c(26),{fetcher:n,getDefaultFieldNames:i,children:r,operationName:o}=e;if(typeof n!="function")throw new TypeError("The `ExecutionContextProvider` component requires a `fetcher` function to be passed as prop.");let a;t[0]===Symbol.for("react.memo_cache_sentinel")?(a={nonNull:!0,caller:Ym},t[0]=a):a=t[0];const{externalFragments:c,headerEditor:f,queryEditor:h,responseEditor:p,variableEditor:g,updateActiveTabValues:y}=bn(a);let v;t[1]!==i?(v={getDefaultFieldNames:i,caller:Ym},t[1]=i,t[2]=v):v=t[2];const E=GT(v),[T,S]=x.useState(!1),[A,D]=x.useState(null),C=x.useRef(0);let N;t[3]!==A?(N=()=>{A==null||A.unsubscribe(),S(!1),D(null)},t[3]=A,t[4]=N):N=t[4];const O=N;let k;t[5]!==E||t[6]!==c||t[7]!==n||t[8]!==f||t[9]!==o||t[10]!==h||t[11]!==p||t[12]!==O||t[13]!==A||t[14]!==y||t[15]!==g?(k=async()=>{if(!h||!p)return;if(A){O();return}const re=ne=>{p.setValue(ne),y({response:ne})};C.current=C.current+1;const fe=C.current;let X=E()||h.getValue();const F=g==null?void 0:g.getValue();let H;try{H=o6({json:F,errorMessageParse:"Variables are invalid JSON",errorMessageType:"Variables are not a JSON object."})}catch(ne){const Y=ne;re(Y instanceof Error?Y.message:`${Y}`);return}const $=f==null?void 0:f.getValue();let V;try{V=o6({json:$,errorMessageParse:"Headers are invalid JSON",errorMessageType:"Headers are not a JSON object."})}catch(ne){const Y=ne;re(Y instanceof Error?Y.message:`${Y}`);return}if(c){const ne=h.documentAST?tO(h.documentAST,c):[];ne.length>0&&(X=X+(`
|
|
313
313
|
`+ne.map(Bk).join(`
|
|
314
|
-
`)))}re(""),S(!0);const M=o??h.operationName??void 0,q=V??void 0,ie=h.documentAST??void 0;try{const ne={},Y=le=>{if(fe!==C.current)return;let ue=Array.isArray(le)?le:!1;if(!ue&&typeof le=="object"&&le!==null&&"hasNext"in le&&(ue=[le]),ue){for(const me of ue)rS(ne,me);S(!1),re(Am(ne))}else{const me=Am(le);S(!1),re(me)}},oe=await n({query:X,variables:H,operationName:M},{headers:q,documentAST:ie});T5(oe)?D(oe.subscribe({next(le){Y(le)},error(le){S(!1),le&&re(dc(le)),D(null)},complete(){S(!1),D(null)}})):S5(oe)?(D({unsubscribe:()=>{var le,ue;return(ue=(le=oe[Symbol.asyncIterator]()).return)==null?void 0:ue.call(le)}}),await $k(Y,oe),S(!1),D(null)):Y(oe)}catch(ne){const Y=ne;S(!1),re(dc(Y)),D(null)}},t[5]=E,t[6]=c,t[7]=n,t[8]=f,t[9]=o,t[10]=h,t[11]=p,t[12]=O,t[13]=A,t[14]=y,t[15]=g,t[16]=k):k=t[16];const I=k,P=!!A,L=o??null;let B;t[17]!==T||t[18]!==I||t[19]!==O||t[20]!==P||t[21]!==L?(B={isFetching:T,isSubscribed:P,operationName:L,run:I,stop:O},t[17]=T,t[18]=I,t[19]=O,t[20]=P,t[21]=L,t[22]=B):B=t[22];const z=B;let te;return t[23]!==r||t[24]!==z?(te=_.jsx(iS.Provider,{value:z,children:r}),t[23]=r,t[24]=z,t[25]=te):te=t[25],te}function Bk(e){return li(e)}async function $k(e,t){for await(const n of t)e(n)}const Na=ns(iS);function o6({json:e,errorMessageParse:t,errorMessageType:n}){let i;try{i=e&&e.trim()!==""?JSON.parse(e):void 0}catch(o){throw new Error(`${t}: ${o instanceof Error?o.message:o}.`)}const r=typeof i=="object"&&i!==null&&!Array.isArray(i);if(i!==void 0&&!r)throw new Error(n);return i}const Vl=new WeakMap;function rS(e,t){var n,i,r;let o=["data",...t.path??[]];for(const f of[e,t])if(f.pending){let h=Vl.get(e);h===void 0&&(h=new Map,Vl.set(e,h));for(const{id:p,path:g}of f.pending)h.set(p,["data",...g])}const{items:a}=t;if(a){const{id:f}=t;if(f){if(o=(n=Vl.get(e))==null?void 0:n.get(f),o===void 0)throw new Error("Invalid incremental delivery format.");fO(e,o.join(".")).push(...a)}else{o=["data",...t.path??[]];for(const h of a)b1(e,o.join("."),h),o[o.length-1]++}}const{data:c}=t;if(c){const{id:f}=t;if(f){if(o=(i=Vl.get(e))==null?void 0:i.get(f),o===void 0)throw new Error("Invalid incremental delivery format.");const{subPath:h}=t;h!==void 0&&(o=[...o,...h])}b1(e,o.join("."),c,{merge:!0})}if(t.errors&&(e.errors||(e.errors=[]),e.errors.push(...t.errors)),t.extensions&&b1(e,"extensions",t.extensions,{merge:!0}),t.incremental)for(const f of t.incremental)rS(e,f);if(t.completed)for(const{id:f,errors:h}of t.completed)(r=Vl.get(e))==null||r.delete(f),h&&(e.errors||(e.errors=[]),e.errors.push(...h))}const Uk=e=>{const t=ge.c(45),{children:n,dangerouslyAssumeSchemaIsValid:i,defaultQuery:r,defaultHeaders:o,defaultTabs:a,externalFragments:c,fetcher:f,getDefaultFieldNames:h,headers:p,inputValueDeprecation:g,introspectionQueryName:y,onEditOperationName:v,onSchemaChange:E,onTabChange:T,onTogglePluginVisibility:S,operationName:A,plugins:D,referencePlugin:C,query:N,response:O,schema:k,schemaDescription:I,shouldPersistHeaders:P,storage:L,validationRules:B,variables:z,visiblePlugin:te}=e;let re;t[0]!==o||t[1]!==r||t[2]!==a||t[3]!==c||t[4]!==p||t[5]!==v||t[6]!==T||t[7]!==N||t[8]!==O||t[9]!==P||t[10]!==B||t[11]!==z?(re={defaultQuery:r,defaultHeaders:o,defaultTabs:a,externalFragments:c,headers:p,onEditOperationName:v,onTabChange:T,query:N,response:O,shouldPersistHeaders:P,validationRules:B,variables:z},t[0]=o,t[1]=r,t[2]=a,t[3]=c,t[4]=p,t[5]=v,t[6]=T,t[7]=N,t[8]=O,t[9]=P,t[10]=B,t[11]=z,t[12]=re):re=t[12];const fe=re;let X;t[13]!==i||t[14]!==f||t[15]!==g||t[16]!==y||t[17]!==E||t[18]!==k||t[19]!==I?(X={dangerouslyAssumeSchemaIsValid:i,fetcher:f,inputValueDeprecation:g,introspectionQueryName:y,onSchemaChange:E,schema:k,schemaDescription:I},t[13]=i,t[14]=f,t[15]=g,t[16]=y,t[17]=E,t[18]=k,t[19]=I,t[20]=X):X=t[20];const F=X;let H;t[21]!==f||t[22]!==h||t[23]!==A?(H={getDefaultFieldNames:h,fetcher:f,operationName:A},t[21]=f,t[22]=h,t[23]=A,t[24]=H):H=t[24];const $=H;let V;t[25]!==S||t[26]!==D||t[27]!==C||t[28]!==te?(V={onTogglePluginVisibility:S,plugins:D,visiblePlugin:te,referencePlugin:C},t[25]=S,t[26]=D,t[27]=C,t[28]=te,t[29]=V):V=t[29];const M=V;let q;t[30]!==n||t[31]!==M?(q=_.jsx(vO,{...M,children:n}),t[30]=n,t[31]=M,t[32]=q):q=t[32];let ie;t[33]!==$||t[34]!==q?(ie=_.jsx(Gm,{...$,children:q}),t[33]=$,t[34]=q,t[35]=ie):ie=t[35];let ne;t[36]!==F||t[37]!==ie?(ne=_.jsx(yT,{...F,children:ie}),t[36]=F,t[37]=ie,t[38]=ne):ne=t[38];let Y;t[39]!==fe||t[40]!==ne?(Y=_.jsx(Pk,{...fe,children:ne}),t[39]=fe,t[40]=ne,t[41]=Y):Y=t[41];let pe;return t[42]!==L||t[43]!==Y?(pe=_.jsx(dO,{storage:L,children:Y}),t[42]=L,t[43]=Y,t[44]=pe):pe=t[44],pe};function zk(e){const t=ge.c(11),n=e===void 0?null:e,i=ao();let r;t[0]!==n||t[1]!==i?(r=()=>{if(!i)return null;const y=i.get(R1);switch(y){case"light":return"light";case"dark":return"dark";default:return typeof y=="string"&&i.set(R1,""),n}},t[0]=n,t[1]=i,t[2]=r):r=t[2];const[o,a]=x.useState(r);let c,f;t[3]!==o?(c=()=>{typeof window>"u"||(document.body.classList.remove("graphiql-light","graphiql-dark"),o&&document.body.classList.add(`graphiql-${o}`))},f=[o],t[3]=o,t[4]=c,t[5]=f):(c=t[4],f=t[5]),x.useLayoutEffect(c,f);let h;t[6]!==i?(h=y=>{i==null||i.set(R1,y||""),a(y)},t[6]=i,t[7]=h):h=t[7];const p=h;let g;return t[8]!==p||t[9]!==o?(g={theme:o,setTheme:p},t[8]=p,t[9]=o,t[10]=g):g=t[10],g}const R1="theme",Hk=({title:e,titleId:t,...n})=>x.createElement("svg",{height:"1em",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?x.createElement("title",{id:t},e):null,x.createElement("path",{d:"M5.0484 1.40838C6.12624 0.33054 7.87376 0.330541 8.9516 1.40838L12.5916 5.0484C13.6695 6.12624 13.6695 7.87376 12.5916 8.9516L8.9516 12.5916C7.87376 13.6695 6.12624 13.6695 5.0484 12.5916L1.40838 8.9516C0.33054 7.87376 0.330541 6.12624 1.40838 5.0484L5.0484 1.40838Z",stroke:"currentColor",strokeWidth:1.2}),x.createElement("rect",{x:6,y:6,width:2,height:2,rx:1,fill:"currentColor"})),qk=({title:e,titleId:t,...n})=>x.createElement("svg",{height:"1em",viewBox:"0 0 14 9",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?x.createElement("title",{id:t},e):null,x.createElement("path",{d:"M1 1L7 7L13 1",stroke:"currentColor",strokeWidth:1.5})),Gk=({title:e,titleId:t,...n})=>x.createElement("svg",{height:"1em",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?x.createElement("title",{id:t},e):null,x.createElement("path",{d:"M6 1.04819L2 5.04819L6 9.04819",stroke:"currentColor",strokeWidth:1.75})),Yk=({title:e,titleId:t,...n})=>x.createElement("svg",{height:"1em",viewBox:"0 0 14 9",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?x.createElement("title",{id:t},e):null,x.createElement("path",{d:"M13 8L7 2L1 8",stroke:"currentColor",strokeWidth:1.5})),Qk=({title:e,titleId:t,...n})=>x.createElement("svg",{height:"1em",viewBox:"0 0 14 14",stroke:"currentColor",strokeWidth:3,xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?x.createElement("title",{id:t},e):null,x.createElement("path",{d:"M1 1L12.9998 12.9997"}),x.createElement("path",{d:"M13 1L1.00079 13.0003"})),Xk=({title:e,titleId:t,...n})=>x.createElement("svg",{height:"1em",viewBox:"-2 -2 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?x.createElement("title",{id:t},e):null,x.createElement("path",{d:"M11.25 14.2105V15.235C11.25 16.3479 10.3479 17.25 9.23501 17.25H2.76499C1.65214 17.25 0.75 16.3479 0.75 15.235L0.75 8.76499C0.75 7.65214 1.65214 6.75 2.76499 6.75L3.78947 6.75",stroke:"currentColor",strokeWidth:1.5}),x.createElement("rect",{x:6.75,y:.75,width:10.5,height:10.5,rx:2.2069,stroke:"currentColor",strokeWidth:1.5})),Zk=({title:e,titleId:t,...n})=>x.createElement("svg",{height:"1em",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?x.createElement("title",{id:t},e):null,x.createElement("path",{d:"M5.0484 1.40838C6.12624 0.33054 7.87376 0.330541 8.9516 1.40838L12.5916 5.0484C13.6695 6.12624 13.6695 7.87376 12.5916 8.9516L8.9516 12.5916C7.87376 13.6695 6.12624 13.6695 5.0484 12.5916L1.40838 8.9516C0.33054 7.87376 0.330541 6.12624 1.40838 5.0484L5.0484 1.40838Z",stroke:"currentColor",strokeWidth:1.2}),x.createElement("path",{d:"M5 9L9 5",stroke:"currentColor",strokeWidth:1.2}),x.createElement("path",{d:"M5 5L9 9",stroke:"currentColor",strokeWidth:1.2})),Wk=({title:e,titleId:t,...n})=>x.createElement("svg",{height:"1em",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?x.createElement("title",{id:t},e):null,x.createElement("path",{d:"M4 8L8 4",stroke:"currentColor",strokeWidth:1.2}),x.createElement("path",{d:"M4 4L8 8",stroke:"currentColor",strokeWidth:1.2}),x.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.5 1.2H9C9.99411 1.2 10.8 2.00589 10.8 3V9C10.8 9.99411 9.99411 10.8 9 10.8H8.5V12H9C10.6569 12 12 10.6569 12 9V3C12 1.34315 10.6569 0 9 0H8.5V1.2ZM3.5 1.2V0H3C1.34315 0 0 1.34315 0 3V9C0 10.6569 1.34315 12 3 12H3.5V10.8H3C2.00589 10.8 1.2 9.99411 1.2 9V3C1.2 2.00589 2.00589 1.2 3 1.2H3.5Z",fill:"currentColor"})),Kk=({title:e,titleId:t,...n})=>x.createElement("svg",{height:"1em",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?x.createElement("title",{id:t},e):null,x.createElement("rect",{x:.6,y:.6,width:10.8,height:10.8,rx:3.4,stroke:"currentColor",strokeWidth:1.2}),x.createElement("path",{d:"M4 8L8 4",stroke:"currentColor",strokeWidth:1.2}),x.createElement("path",{d:"M4 4L8 8",stroke:"currentColor",strokeWidth:1.2})),Jk=({title:e,titleId:t,...n})=>x.createElement("svg",{height:"1em",viewBox:"0 0.5 12 12",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?x.createElement("title",{id:t},e):null,x.createElement("rect",{x:7,y:5.5,width:2,height:2,rx:1,transform:"rotate(90 7 5.5)",fill:"currentColor"}),x.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.8 9L10.8 9.5C10.8 10.4941 9.99411 11.3 9 11.3L3 11.3C2.00589 11.3 1.2 10.4941 1.2 9.5L1.2 9L-3.71547e-07 9L-3.93402e-07 9.5C-4.65826e-07 11.1569 1.34314 12.5 3 12.5L9 12.5C10.6569 12.5 12 11.1569 12 9.5L12 9L10.8 9ZM10.8 4L12 4L12 3.5C12 1.84315 10.6569 0.5 9 0.5L3 0.5C1.34315 0.5 -5.87117e-08 1.84315 -1.31135e-07 3.5L-1.5299e-07 4L1.2 4L1.2 3.5C1.2 2.50589 2.00589 1.7 3 1.7L9 1.7C9.99411 1.7 10.8 2.50589 10.8 3.5L10.8 4Z",fill:"currentColor"})),eL=({title:e,titleId:t,...n})=>x.createElement("svg",{height:"1em",viewBox:"0 0 20 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?x.createElement("title",{id:t},e):null,x.createElement("path",{d:"M0.75 3C0.75 1.75736 1.75736 0.75 3 0.75H17.25C17.8023 0.75 18.25 1.19772 18.25 1.75V5.25",stroke:"currentColor",strokeWidth:1.5}),x.createElement("path",{d:"M0.75 3C0.75 4.24264 1.75736 5.25 3 5.25H18.25C18.8023 5.25 19.25 5.69771 19.25 6.25V22.25C19.25 22.8023 18.8023 23.25 18.25 23.25H3C1.75736 23.25 0.75 22.2426 0.75 21V3Z",stroke:"currentColor",strokeWidth:1.5}),x.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 5.25C1.75736 5.25 0.75 4.24264 0.75 3V21C0.75 22.2426 1.75736 23.25 3 23.25H18.25C18.8023 23.25 19.25 22.8023 19.25 22.25V6.25C19.25 5.69771 18.8023 5.25 18.25 5.25H3ZM13 11L6 11V12.5L13 12.5V11Z",fill:"currentColor"})),tL=({title:e,titleId:t,...n})=>x.createElement("svg",{height:"1em",viewBox:"0 0 20 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?x.createElement("title",{id:t},e):null,x.createElement("path",{d:"M0.75 3C0.75 4.24264 1.75736 5.25 3 5.25H17.25M0.75 3C0.75 1.75736 1.75736 0.75 3 0.75H16.25C16.8023 0.75 17.25 1.19772 17.25 1.75V5.25M0.75 3V21C0.75 22.2426 1.75736 23.25 3 23.25H18.25C18.8023 23.25 19.25 22.8023 19.25 22.25V6.25C19.25 5.69771 18.8023 5.25 18.25 5.25H17.25",stroke:"currentColor",strokeWidth:1.5}),x.createElement("line",{x1:13,y1:11.75,x2:6,y2:11.75,stroke:"currentColor",strokeWidth:1.5})),nL=({title:e,titleId:t,...n})=>x.createElement("svg",{height:"1em",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?x.createElement("title",{id:t},e):null,x.createElement("rect",{x:5,y:5,width:2,height:2,rx:1,fill:"currentColor"}),x.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.5 1.2H9C9.99411 1.2 10.8 2.00589 10.8 3V9C10.8 9.99411 9.99411 10.8 9 10.8H8.5V12H9C10.6569 12 12 10.6569 12 9V3C12 1.34315 10.6569 0 9 0H8.5V1.2ZM3.5 1.2V0H3C1.34315 0 0 1.34315 0 3V9C0 10.6569 1.34315 12 3 12H3.5V10.8H3C2.00589 10.8 1.2 9.99411 1.2 9V3C1.2 2.00589 2.00589 1.2 3 1.2H3.5Z",fill:"currentColor"})),iL=({title:e,titleId:t,...n})=>x.createElement("svg",{height:"1em",viewBox:"0 0 12 13",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?x.createElement("title",{id:t},e):null,x.createElement("rect",{x:.6,y:1.1,width:10.8,height:10.8,rx:2.4,stroke:"currentColor",strokeWidth:1.2}),x.createElement("rect",{x:5,y:5.5,width:2,height:2,rx:1,fill:"currentColor"})),rL=({title:e,titleId:t,...n})=>x.createElement("svg",{height:"1em",viewBox:"0 0 24 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?x.createElement("title",{id:t},e):null,x.createElement("path",{d:"M1.59375 9.52344L4.87259 12.9944L8.07872 9.41249",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"square"}),x.createElement("path",{d:"M13.75 5.25V10.75H18.75",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"square"}),x.createElement("path",{d:"M4.95427 11.9332C4.55457 10.0629 4.74441 8.11477 5.49765 6.35686C6.25089 4.59894 7.5305 3.11772 9.16034 2.11709C10.7902 1.11647 12.6901 0.645626 14.5986 0.769388C16.5071 0.893151 18.3303 1.60543 19.8172 2.80818C21.3042 4.01093 22.3818 5.64501 22.9017 7.48548C23.4216 9.32595 23.3582 11.2823 22.7203 13.0853C22.0824 14.8883 20.9013 16.4492 19.3396 17.5532C17.778 18.6572 15.9125 19.25 14 19.25",stroke:"currentColor",strokeWidth:1.5})),uL=({title:e,titleId:t,...n})=>x.createElement("svg",{height:"1em",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?x.createElement("title",{id:t},e):null,x.createElement("circle",{cx:6,cy:6,r:5.4,stroke:"currentColor",strokeWidth:1.2,strokeDasharray:"4.241025 4.241025",transform:"rotate(22.5 6 6)"}),x.createElement("circle",{cx:6,cy:6,r:1,fill:"currentColor"})),oL=({title:e,titleId:t,...n})=>x.createElement("svg",{height:"1em",viewBox:"0 0 19 18",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?x.createElement("title",{id:t},e):null,x.createElement("path",{d:"M1.5 14.5653C1.5 15.211 1.75652 15.8303 2.21314 16.2869C2.66975 16.7435 3.28905 17 3.9348 17C4.58054 17 5.19984 16.7435 5.65646 16.2869C6.11307 15.8303 6.36959 15.211 6.36959 14.5653V12.1305H3.9348C3.28905 12.1305 2.66975 12.387 2.21314 12.8437C1.75652 13.3003 1.5 13.9195 1.5 14.5653Z",stroke:"currentColor",strokeWidth:1.125,strokeLinecap:"round",strokeLinejoin:"round"}),x.createElement("path",{d:"M3.9348 1.00063C3.28905 1.00063 2.66975 1.25715 2.21314 1.71375C1.75652 2.17035 1.5 2.78964 1.5 3.43537C1.5 4.0811 1.75652 4.70038 2.21314 5.15698C2.66975 5.61358 3.28905 5.8701 3.9348 5.8701H6.36959V3.43537C6.36959 2.78964 6.11307 2.17035 5.65646 1.71375C5.19984 1.25715 4.58054 1.00063 3.9348 1.00063Z",stroke:"currentColor",strokeWidth:1.125,strokeLinecap:"round",strokeLinejoin:"round"}),x.createElement("path",{d:"M15.0652 12.1305H12.6304V14.5653C12.6304 15.0468 12.7732 15.5175 13.0407 15.9179C13.3083 16.3183 13.6885 16.6304 14.1334 16.8147C14.5783 16.9989 15.0679 17.0472 15.5402 16.9532C16.0125 16.8593 16.4464 16.6274 16.7869 16.2869C17.1274 15.9464 17.3593 15.5126 17.4532 15.0403C17.5472 14.568 17.4989 14.0784 17.3147 13.6335C17.1304 13.1886 16.8183 12.8084 16.4179 12.5409C16.0175 12.2733 15.5468 12.1305 15.0652 12.1305Z",stroke:"currentColor",strokeWidth:1.125,strokeLinecap:"round",strokeLinejoin:"round"}),x.createElement("path",{d:"M12.6318 5.86775H6.36955V12.1285H12.6318V5.86775Z",stroke:"currentColor",strokeWidth:1.125,strokeLinecap:"round",strokeLinejoin:"round"}),x.createElement("path",{d:"M17.5 3.43473C17.5 2.789 17.2435 2.16972 16.7869 1.71312C16.3303 1.25652 15.711 1 15.0652 1C14.4195 1 13.8002 1.25652 13.3435 1.71312C12.8869 2.16972 12.6304 2.789 12.6304 3.43473V5.86946H15.0652C15.711 5.86946 16.3303 5.61295 16.7869 5.15635C17.2435 4.69975 17.5 4.08046 17.5 3.43473Z",stroke:"currentColor",strokeWidth:1.125,strokeLinecap:"round",strokeLinejoin:"round"})),sL=({title:e,titleId:t,...n})=>x.createElement("svg",{height:"1em",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?x.createElement("title",{id:t},e):null,x.createElement("circle",{cx:5,cy:5,r:4.35,stroke:"currentColor",strokeWidth:1.3}),x.createElement("line",{x1:8.45962,y1:8.54038,x2:11.7525,y2:11.8333,stroke:"currentColor",strokeWidth:1.3})),aL=({title:e,titleId:t,...n})=>x.createElement("svg",{height:"1em",viewBox:"-2 -2 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?x.createElement("title",{id:t},e):null,x.createElement("path",{d:"M17.2492 6V2.9569C17.2492 1.73806 16.2611 0.75 15.0423 0.75L2.9569 0.75C1.73806 0.75 0.75 1.73806 0.75 2.9569L0.75 6",stroke:"currentColor",strokeWidth:1.5}),x.createElement("path",{d:"M0.749873 12V15.0431C0.749873 16.2619 1.73794 17.25 2.95677 17.25H15.0421C16.261 17.25 17.249 16.2619 17.249 15.0431V12",stroke:"currentColor",strokeWidth:1.5}),x.createElement("path",{d:"M6 4.5L9 7.5L12 4.5",stroke:"currentColor",strokeWidth:1.5}),x.createElement("path",{d:"M12 13.5L9 10.5L6 13.5",stroke:"currentColor",strokeWidth:1.5})),lL=({title:e,titleId:t,...n})=>x.createElement("svg",{height:"1em",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?x.createElement("title",{id:t},e):null,x.createElement("path",{d:"M0.75 13.25L0.0554307 12.967C-0.0593528 13.2488 0.00743073 13.5719 0.224488 13.7851C0.441545 13.9983 0.765869 14.0592 1.04549 13.9393L0.75 13.25ZM12.8214 1.83253L12.2911 2.36286L12.2911 2.36286L12.8214 1.83253ZM12.8214 3.90194L13.3517 4.43227L12.8214 3.90194ZM10.0981 1.17859L9.56773 0.648259L10.0981 1.17859ZM12.1675 1.17859L12.6978 0.648258L12.6978 0.648257L12.1675 1.17859ZM2.58049 8.75697L3.27506 9.03994L2.58049 8.75697ZM2.70066 8.57599L3.23099 9.10632L2.70066 8.57599ZM5.2479 11.4195L4.95355 10.7297L5.2479 11.4195ZM5.42036 11.303L4.89003 10.7727L5.42036 11.303ZM4.95355 10.7297C4.08882 11.0987 3.41842 11.362 2.73535 11.6308C2.05146 11.9 1.35588 12.1743 0.454511 12.5607L1.04549 13.9393C1.92476 13.5624 2.60256 13.2951 3.28469 13.0266C3.96762 12.7578 4.65585 12.4876 5.54225 12.1093L4.95355 10.7297ZM1.44457 13.533L3.27506 9.03994L1.88592 8.474L0.0554307 12.967L1.44457 13.533ZM3.23099 9.10632L10.6284 1.70892L9.56773 0.648259L2.17033 8.04566L3.23099 9.10632ZM11.6371 1.70892L12.2911 2.36286L13.3517 1.3022L12.6978 0.648258L11.6371 1.70892ZM12.2911 3.37161L4.89003 10.7727L5.95069 11.8333L13.3517 4.43227L12.2911 3.37161ZM12.2911 2.36286C12.5696 2.64142 12.5696 3.09305 12.2911 3.37161L13.3517 4.43227C14.2161 3.56792 14.2161 2.16654 13.3517 1.3022L12.2911 2.36286ZM10.6284 1.70892C10.9069 1.43036 11.3586 1.43036 11.6371 1.70892L12.6978 0.648257C11.8335 -0.216088 10.4321 -0.216084 9.56773 0.648259L10.6284 1.70892ZM3.27506 9.03994C3.26494 9.06479 3.24996 9.08735 3.23099 9.10632L2.17033 8.04566C2.04793 8.16806 1.95123 8.31369 1.88592 8.474L3.27506 9.03994ZM5.54225 12.1093C5.69431 12.0444 5.83339 11.9506 5.95069 11.8333L4.89003 10.7727C4.90863 10.7541 4.92988 10.7398 4.95355 10.7297L5.54225 12.1093Z",fill:"currentColor"}),x.createElement("path",{d:"M11.5 4.5L9.5 2.5",stroke:"currentColor",strokeWidth:1.4026,strokeLinecap:"round",strokeLinejoin:"round"}),x.createElement("path",{d:"M5.5 10.5L3.5 8.5",stroke:"currentColor",strokeWidth:1.4026,strokeLinecap:"round",strokeLinejoin:"round"})),cL=({title:e,titleId:t,...n})=>x.createElement("svg",{height:"1em",viewBox:"0 0 16 18",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?x.createElement("title",{id:t},e):null,x.createElement("path",{d:"M1.32226e-07 1.6609C7.22332e-08 0.907329 0.801887 0.424528 1.46789 0.777117L15.3306 8.11621C16.0401 8.49182 16.0401 9.50818 15.3306 9.88379L1.46789 17.2229C0.801886 17.5755 1.36076e-06 17.0927 1.30077e-06 16.3391L1.32226e-07 1.6609Z",fill:"currentColor"})),fL=({title:e,titleId:t,...n})=>x.createElement("svg",{height:"1em",viewBox:"0 0 10 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?x.createElement("title",{id:t},e):null,x.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.25 9.25V13.5H5.75V9.25L10 9.25V7.75L5.75 7.75V3.5H4.25V7.75L0 7.75V9.25L4.25 9.25Z"})),dL=({title:e,titleId:t,...n})=>x.createElement("svg",{width:25,height:25,viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?x.createElement("title",{id:t},e):null,x.createElement("path",{d:"M10.2852 24.0745L13.7139 18.0742",stroke:"currentColor",strokeWidth:1.5625}),x.createElement("path",{d:"M14.5742 24.0749L17.1457 19.7891",stroke:"currentColor",strokeWidth:1.5625}),x.createElement("path",{d:"M19.4868 24.0735L20.7229 21.7523C21.3259 20.6143 21.5457 19.3122 21.3496 18.0394C21.1535 16.7666 20.5519 15.591 19.6342 14.6874L23.7984 6.87853C24.0123 6.47728 24.0581 6.00748 23.9256 5.57249C23.7932 5.1375 23.4933 4.77294 23.0921 4.55901C22.6908 4.34509 22.221 4.29932 21.7861 4.43178C21.3511 4.56424 20.9865 4.86408 20.7726 5.26533L16.6084 13.0742C15.3474 12.8142 14.0362 12.9683 12.8699 13.5135C11.7035 14.0586 10.7443 14.9658 10.135 16.1L6 24.0735",stroke:"currentColor",strokeWidth:1.5625}),x.createElement("path",{d:"M4 15L5 13L7 12L5 11L4 9L3 11L1 12L3 13L4 15Z",stroke:"currentColor",strokeWidth:1.5625,strokeLinejoin:"round"}),x.createElement("path",{d:"M11.5 8L12.6662 5.6662L15 4.5L12.6662 3.3338L11.5 1L10.3338 3.3338L8 4.5L10.3338 5.6662L11.5 8Z",stroke:"currentColor",strokeWidth:1.5625,strokeLinejoin:"round"})),hL=({title:e,titleId:t,...n})=>x.createElement("svg",{height:"1em",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?x.createElement("title",{id:t},e):null,x.createElement("path",{d:"M4.75 9.25H1.25V12.75",stroke:"currentColor",strokeWidth:1,strokeLinecap:"square"}),x.createElement("path",{d:"M11.25 6.75H14.75V3.25",stroke:"currentColor",strokeWidth:1,strokeLinecap:"square"}),x.createElement("path",{d:"M14.1036 6.65539C13.8 5.27698 13.0387 4.04193 11.9437 3.15131C10.8487 2.26069 9.48447 1.76694 8.0731 1.75043C6.66173 1.73392 5.28633 2.19563 4.17079 3.0604C3.05526 3.92516 2.26529 5.14206 1.92947 6.513",stroke:"currentColor",strokeWidth:1}),x.createElement("path",{d:"M1.89635 9.34461C2.20001 10.723 2.96131 11.9581 4.05631 12.8487C5.15131 13.7393 6.51553 14.2331 7.9269 14.2496C9.33827 14.2661 10.7137 13.8044 11.8292 12.9396C12.9447 12.0748 13.7347 10.8579 14.0705 9.487",stroke:"currentColor",strokeWidth:1})),pL=({title:e,titleId:t,...n})=>x.createElement("svg",{height:"1em",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?x.createElement("title",{id:t},e):null,x.createElement("rect",{x:.6,y:.6,width:11.8,height:11.8,rx:5.9,stroke:"currentColor",strokeWidth:1.2}),x.createElement("path",{d:"M4.25 7.5C4.25 6 5.75 5 6.5 6.5C7.25 8 8.75 7 8.75 5.5",stroke:"currentColor",strokeWidth:1.2})),mL=({title:e,titleId:t,...n})=>x.createElement("svg",{height:"1em",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?x.createElement("title",{id:t},e):null,x.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.29186 1.92702C9.06924 1.82745 8.87014 1.68202 8.70757 1.50024L7.86631 0.574931C7.62496 0.309957 7.30773 0.12592 6.95791 0.0479385C6.60809 -0.0300431 6.24274 0.00182978 5.91171 0.139208C5.58068 0.276585 5.3001 0.512774 5.10828 0.815537C4.91645 1.1183 4.82272 1.47288 4.83989 1.83089L4.90388 3.08019C4.91612 3.32348 4.87721 3.56662 4.78968 3.79394C4.70215 4.02126 4.56794 4.2277 4.39571 4.39994C4.22347 4.57219 4.01704 4.7064 3.78974 4.79394C3.56243 4.88147 3.3193 4.92038 3.07603 4.90814L1.8308 4.84414C1.47162 4.82563 1.11553 4.91881 0.811445 5.11086C0.507359 5.30292 0.270203 5.58443 0.132561 5.91671C-0.00508149 6.249 -0.0364554 6.61576 0.0427496 6.9666C0.121955 7.31744 0.307852 7.63514 0.5749 7.87606L1.50016 8.71204C1.68193 8.87461 1.82735 9.07373 1.92692 9.29636C2.02648 9.51898 2.07794 9.76012 2.07794 10.004C2.07794 10.2479 2.02648 10.489 1.92692 10.7116C1.82735 10.9343 1.68193 11.1334 1.50016 11.296L0.5749 12.1319C0.309856 12.3729 0.125575 12.6898 0.0471809 13.0393C-0.0312128 13.3888 9.64098e-05 13.754 0.13684 14.0851C0.273583 14.4162 0.509106 14.6971 0.811296 14.8894C1.11349 15.0817 1.46764 15.1762 1.82546 15.1599L3.0707 15.0959C3.31397 15.0836 3.5571 15.1225 3.7844 15.2101C4.01171 15.2976 4.21814 15.4318 4.39037 15.6041C4.56261 15.7763 4.69682 15.9827 4.78435 16.2101C4.87188 16.4374 4.91078 16.6805 4.89855 16.9238L4.83455 18.1691C4.81605 18.5283 4.90921 18.8844 5.10126 19.1885C5.2933 19.4926 5.5748 19.7298 5.90707 19.8674C6.23934 20.0051 6.60608 20.0365 6.9569 19.9572C7.30772 19.878 7.6254 19.6921 7.86631 19.4251L8.7129 18.4998C8.87547 18.318 9.07458 18.1725 9.29719 18.073C9.51981 17.9734 9.76093 17.9219 10.0048 17.9219C10.2487 17.9219 10.4898 17.9734 10.7124 18.073C10.935 18.1725 11.1341 18.318 11.2967 18.4998L12.1326 19.4251C12.3735 19.6921 12.6912 19.878 13.042 19.9572C13.3929 20.0365 13.7596 20.0051 14.0919 19.8674C14.4241 19.7298 14.7056 19.4926 14.8977 19.1885C15.0897 18.8844 15.1829 18.5283 15.1644 18.1691L15.1004 16.9238C15.0882 16.6805 15.1271 16.4374 15.2146 16.2101C15.3021 15.9827 15.4363 15.7763 15.6086 15.6041C15.7808 15.4318 15.9872 15.2976 16.2145 15.2101C16.4418 15.1225 16.685 15.0836 16.9282 15.0959L18.1735 15.1599C18.5326 15.1784 18.8887 15.0852 19.1928 14.8931C19.4969 14.7011 19.7341 14.4196 19.8717 14.0873C20.0093 13.755 20.0407 13.3882 19.9615 13.0374C19.8823 12.6866 19.6964 12.3689 19.4294 12.1279L18.5041 11.292C18.3223 11.1294 18.1769 10.9303 18.0774 10.7076C17.9778 10.485 17.9263 10.2439 17.9263 10C17.9263 9.75612 17.9778 9.51499 18.0774 9.29236C18.1769 9.06973 18.3223 8.87062 18.5041 8.70804L19.4294 7.87206C19.6964 7.63114 19.8823 7.31344 19.9615 6.9626C20.0407 6.61176 20.0093 6.245 19.8717 5.91271C19.7341 5.58043 19.4969 5.29892 19.1928 5.10686C18.8887 4.91481 18.5326 4.82163 18.1735 4.84014L16.9282 4.90414C16.685 4.91638 16.4418 4.87747 16.2145 4.78994C15.9872 4.7024 15.7808 4.56818 15.6086 4.39594C15.4363 4.2237 15.3021 4.01726 15.2146 3.78994C15.1271 3.56262 15.0882 3.31948 15.1004 3.07619L15.1644 1.83089C15.1829 1.4717 15.0897 1.11559 14.8977 0.811487C14.7056 0.507385 14.4241 0.270217 14.0919 0.132568C13.7596 -0.00508182 13.3929 -0.0364573 13.042 0.0427519C12.6912 0.121961 12.3735 0.307869 12.1326 0.574931L11.2914 1.50024C11.1288 1.68202 10.9297 1.82745 10.7071 1.92702C10.4845 2.02659 10.2433 2.07805 9.99947 2.07805C9.7556 2.07805 9.51448 2.02659 9.29186 1.92702ZM14.3745 10C14.3745 12.4162 12.4159 14.375 9.99977 14.375C7.58365 14.375 5.625 12.4162 5.625 10C5.625 7.58375 7.58365 5.625 9.99977 5.625C12.4159 5.625 14.3745 7.58375 14.3745 10Z",fill:"currentColor"})),gL=({title:e,titleId:t,...n})=>x.createElement("svg",{height:"1em",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?x.createElement("title",{id:t},e):null,x.createElement("path",{d:"M6.5782 1.07092C6.71096 0.643026 7.28904 0.643027 7.4218 1.07092L8.59318 4.84622C8.65255 5.03758 8.82284 5.16714 9.01498 5.16714L12.8056 5.16714C13.2353 5.16714 13.4139 5.74287 13.0663 6.00732L9.99962 8.34058C9.84418 8.45885 9.77913 8.66848 9.83851 8.85984L11.0099 12.6351C11.1426 13.063 10.675 13.4189 10.3274 13.1544L7.26069 10.8211C7.10524 10.7029 6.89476 10.7029 6.73931 10.8211L3.6726 13.1544C3.32502 13.4189 2.85735 13.063 2.99012 12.6351L4.16149 8.85984C4.22087 8.66848 4.15582 8.45885 4.00038 8.34058L0.933671 6.00732C0.586087 5.74287 0.764722 5.16714 1.19436 5.16714L4.98502 5.16714C5.17716 5.16714 5.34745 5.03758 5.40682 4.84622L6.5782 1.07092Z",fill:"currentColor",stroke:"currentColor"})),vL=({title:e,titleId:t,...n})=>x.createElement("svg",{height:"1em",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?x.createElement("title",{id:t},e):null,x.createElement("path",{d:"M6.5782 1.07092C6.71096 0.643026 7.28904 0.643027 7.4218 1.07092L8.59318 4.84622C8.65255 5.03758 8.82284 5.16714 9.01498 5.16714L12.8056 5.16714C13.2353 5.16714 13.4139 5.74287 13.0663 6.00732L9.99962 8.34058C9.84418 8.45885 9.77913 8.66848 9.83851 8.85984L11.0099 12.6351C11.1426 13.063 10.675 13.4189 10.3274 13.1544L7.26069 10.8211C7.10524 10.7029 6.89476 10.7029 6.73931 10.8211L3.6726 13.1544C3.32502 13.4189 2.85735 13.063 2.99012 12.6351L4.16149 8.85984C4.22087 8.66848 4.15582 8.45885 4.00038 8.34058L0.933671 6.00732C0.586087 5.74287 0.764722 5.16714 1.19436 5.16714L4.98502 5.16714C5.17716 5.16714 5.34745 5.03758 5.40682 4.84622L6.5782 1.07092Z",stroke:"currentColor",strokeWidth:1.5})),yL=({title:e,titleId:t,...n})=>x.createElement("svg",{height:"1em",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?x.createElement("title",{id:t},e):null,x.createElement("rect",{width:16,height:16,rx:2,fill:"currentColor"})),bL=({title:e,titleId:t,...n})=>x.createElement("svg",{width:"1em",height:"5em",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd","aria-hidden":"true",viewBox:"0 0 23 23",style:{height:"1.5em"},clipRule:"evenodd","aria-labelledby":t,...n},e?x.createElement("title",{id:t},e):null,x.createElement("path",{d:"M19 24h-14c-1.104 0-2-.896-2-2v-17h-1v-2h6v-1.5c0-.827.673-1.5 1.5-1.5h5c.825 0 1.5.671 1.5 1.5v1.5h6v2h-1v17c0 1.104-.896 2-2 2zm0-19h-14v16.5c0 .276.224.5.5.5h13c.276 0 .5-.224.5-.5v-16.5zm-7 7.586l3.293-3.293 1.414 1.414-3.293 3.293 3.293 3.293-1.414 1.414-3.293-3.293-3.293 3.293-1.414-1.414 3.293-3.293-3.293-3.293 1.414-1.414 3.293 3.293zm2-10.586h-4v1h4v-1z",fill:"currentColor",strokeWidth:.25,stroke:"currentColor"})),xL=({title:e,titleId:t,...n})=>x.createElement("svg",{height:"1em",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?x.createElement("title",{id:t},e):null,x.createElement("rect",{x:.6,y:.6,width:11.8,height:11.8,rx:5.9,stroke:"currentColor",strokeWidth:1.2}),x.createElement("rect",{x:5.5,y:5.5,width:2,height:2,rx:1,fill:"currentColor"})),EL=tt(Hk),TL=tt(qk),SL=tt(Gk),_L=tt(Yk),o2=tt(Qk),CL=tt(Xk),AL=tt(Zk),wL=tt(Wk),DL=tt(Kk),NL=tt(Jk),OL=tt(eL),RL=tt(tL),ML=tt(nL),kL=tt(iL),LL=tt(rL),IL=tt(uL),FL=tt(oL),jL=tt(sL),PL=tt(aL),VL=tt(lL),BL=tt(cL),$L=tt(fL),UL=tt(dL),zL=tt(hL),HL=tt(pL),qL=tt(mL),GL=tt(gL),YL=tt(vL),QL=tt(yL),XL=tt(bL),bd=tt(xL);function tt(e){const t=e.name.replace("Svg","").replaceAll(/([A-Z])/g," $1").trimStart().toLowerCase()+" icon";function n(i){const r=ge.c(2);let o;return r[0]!==i?(o=_.jsx(e,{title:t,...i}),r[0]=i,r[1]=o):o=r[1],o}return n.displayName=e.name,n}function uS(e){var t,n,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=uS(e[t]))&&(i&&(i+=" "),i+=n);else for(t in e)e[t]&&(i&&(i+=" "),i+=t);return i}function dt(){for(var e,t,n=0,i="";n<arguments.length;)(e=arguments[n++])&&(t=uS(e))&&(i&&(i+=" "),i+=t);return i}function Ym(e){const t=ge.c(13);let n,i;t[0]!==e?({isHidden:i,...n}=e,t[0]=e,t[1]=n,t[2]=i):(n=t[1],i=t[2]);let r;t[3]===Symbol.for("react.memo_cache_sentinel")?(r={nonNull:!0,caller:Ym},t[3]=r):r=t[3];const{headerEditor:o}=bn(r),a=YT(n,Ym);let c,f;t[4]!==o||t[5]!==i?(c=()=>{i||o==null||o.refresh()},f=[o,i],t[4]=o,t[5]=i,t[6]=c,t[7]=f):(c=t[6],f=t[7]),x.useEffect(c,f);const h=i&&"hidden";let p;t[8]!==h?(p=dt("graphiql-editor",h),t[8]=h,t[9]=p):p=t[9];let g;return t[10]!==a||t[11]!==p?(g=_.jsx("div",{className:p,ref:a}),t[10]=a,t[11]=p,t[12]=g):g=t[12],g}function Qm(e){var t;const n=ge.c(14);let i;n[0]===Symbol.for("react.memo_cache_sentinel")?(i={width:null,height:null},n[0]=i):i=n[0];const[r,o]=x.useState(i),[a,c]=x.useState(null),f=x.useRef(null),h=(t=oS(e.token))==null?void 0:t.href;let p,g;n[1]!==h?(p=()=>{if(f.current){if(!h){o({width:null,height:null}),c(null);return}fetch(h,{method:"HEAD"}).then(A=>{c(A.headers.get("Content-Type"))}).catch(()=>{c(null)})}},g=[h],n[1]=h,n[2]=p,n[3]=g):(p=n[2],g=n[3]),x.useEffect(p,g);let y;n[4]!==r.height||n[5]!==r.width||n[6]!==a?(y=r.width!==null&&r.height!==null?_.jsxs("div",{children:[r.width,"x",r.height,a===null?null:" "+a]}):null,n[4]=r.height,n[5]=r.width,n[6]=a,n[7]=y):y=n[7];const v=y;let E;n[8]===Symbol.for("react.memo_cache_sentinel")?(E=()=>{var A,D;o({width:((A=f.current)==null?void 0:A.naturalWidth)??null,height:((D=f.current)==null?void 0:D.naturalHeight)??null})},n[8]=E):E=n[8];let T;n[9]!==h?(T=_.jsx("img",{onLoad:E,ref:f,src:h}),n[9]=h,n[10]=T):T=n[10];let S;return n[11]!==v||n[12]!==T?(S=_.jsxs("div",{children:[T,v]}),n[11]=v,n[12]=T,n[13]=S):S=n[13],S}Qm.shouldRender=function(t){const n=oS(t);return n?ZL(n):!1};function oS(e){if(e.type!=="string")return;const t=e.string.slice(1).slice(0,-1).trim();try{return new URL(t,location.protocol+"//"+location.host)}catch{}}function ZL(e){return/\.(bmp|gif|jpe?g|png|svg|webp)$/.test(e.pathname)}function sS(e){const t=ge.c(2),n=QT(e,sS);let i;return t[0]!==n?(i=_.jsx("div",{className:"graphiql-editor",ref:n}),t[0]=n,t[1]=i):i=t[1],i}function WL(){return Fc([We(()=>import("./foldgutter-Bd70Ylmw.js").then(e=>e.f),__vite__mapDeps([7,1])),We(()=>import("./brace-fold-DRY9I3kG.js").then(e=>e.b),__vite__mapDeps([6,1])),We(()=>import("./dialog-CLvGWxga.js").then(e=>e.d),__vite__mapDeps([13,12,1])),We(()=>import("./search-Crevdced.js").then(e=>e.s),__vite__mapDeps([17,1,10,12])),We(()=>import("./searchcursor-_ZFWpA3w.js").then(e=>e.s),__vite__mapDeps([9,10,1])),We(()=>import("./jump-to-line-C2CXtcBk.js").then(e=>e.j),__vite__mapDeps([11,1,12])),We(()=>import("./sublime-BPaNuiRD.js").then(e=>e.s),__vite__mapDeps([14,1,10,4])),We(()=>import("./mode-CJNOcLCn.js"),__vite__mapDeps([31,0,1,27])),We(()=>import("./info-addon-CT8vWPfp.js"),__vite__mapDeps([24,0,1]))],{useCommonAddons:!1})}const s6=aS;function aS(e,t){const n=ge.c(19);let i;n[0]!==e?(i=e===void 0?{}:e,n[0]=e,n[1]=i):i=n[1];const{responseTooltip:r,editorTheme:o,keyMap:a}=i,c=o===void 0?A0:o,f=a===void 0?w0:a,h=t||s6;let p;n[2]!==h?(p={nonNull:!0,caller:h},n[2]=h,n[3]=p):p=n[3];const{fetchError:g,validationErrors:y}=Dr(p),v=t||s6;let E;n[4]!==v?(E={nonNull:!0,caller:v},n[4]=v,n[5]=E):E=n[5];const{initialResponse:T,responseEditor:S,setResponseEditor:A}=bn(E),D=x.useRef(null),C=x.useRef(r);let N,O;n[6]!==r?(N=()=>{C.current=r},O=[r],n[6]=r,n[7]=N,n[8]=O):(N=n[7],O=n[8]),x.useEffect(N,O);let k,I;n[9]!==c||n[10]!==T||n[11]!==A?(k=()=>{let B;return B=!0,WL().then(z=>{if(!B)return;const te=document.createElement("div"),re=E5.createRoot(te);z.registerHelper("info","graphql-results",(F,H,$,V)=>{const M=C.current,q=[M&&_.jsx(M,{pos:V,token:F}),Qm.shouldRender(F)&&_.jsx(Qm,{token:F},"image-preview")].filter(KL);if(q.length)return re.render(q),te;re.unmount()});const fe=D.current;if(!fe)return;const X=z(fe,{value:T,lineWrapping:!0,readOnly:!0,theme:c,mode:"graphql-results",foldGutter:!0,gutters:["CodeMirror-foldgutter"],info:!0,extraKeys:D0});A(X)}),()=>{B=!1}},I=[c,T,A],n[9]=c,n[10]=T,n[11]=A,n[12]=k,n[13]=I):(k=n[12],I=n[13]),x.useEffect(k,I),L0(S,"keyMap",f);let P,L;return n[14]!==g||n[15]!==S||n[16]!==y?(P=()=>{g&&(S==null||S.setValue(g)),y.length&&(S==null||S.setValue(dc(y)))},L=[S,g,y],n[14]=g,n[15]=S,n[16]=y,n[17]=P,n[18]=L):(P=n[17],L=n[18]),x.useEffect(P,L),D}function KL(e){return!!e}function lS(e){const t=ge.c(2),n=aS(e,lS);let i;return t[0]!==n?(i=_.jsx("section",{className:"result-window","aria-label":"Result Window","aria-live":"polite","aria-atomic":"true",ref:n}),t[0]=n,t[1]=i):i=t[1],i}function Xm(e){const t=ge.c(13);let n,i;t[0]!==e?({isHidden:i,...n}=e,t[0]=e,t[1]=n,t[2]=i):(n=t[1],i=t[2]);let r;t[3]===Symbol.for("react.memo_cache_sentinel")?(r={nonNull:!0,caller:Xm},t[3]=r):r=t[3];const{variableEditor:o}=bn(r),a=eS(n,Xm);let c,f;t[4]!==i||t[5]!==o?(c=()=>{o&&!i&&o.refresh()},f=[o,i],t[4]=i,t[5]=o,t[6]=c,t[7]=f):(c=t[6],f=t[7]),x.useEffect(c,f);const h=i&&"hidden";let p;t[8]!==h?(p=dt("graphiql-editor",h),t[8]=h,t[9]=p):p=t[9];let g;return t[10]!==a||t[11]!==p?(g=_.jsx("div",{className:p,ref:a}),t[10]=a,t[11]=p,t[12]=g):g=t[12],g}function M1(e){const t=ge.c(31),{defaultSizeRelation:n,direction:i,initiallyHidden:r,onHiddenElementChange:o,sizeThresholdFirst:a,sizeThresholdSecond:c,storageKey:f}=e,h=n===void 0?JL:n,p=a===void 0?100:a,g=c===void 0?100:c,y=ao();let v;t[0]!==y||t[1]!==f?(v=xa(500,X=>{f&&(y==null||y.set(f,X))}),t[0]=y,t[1]=f,t[2]=v):v=t[2];const E=v;let T;t[3]!==r||t[4]!==y||t[5]!==f?(T=()=>{const X=f&&(y==null?void 0:y.get(f));return X===xd||r==="first"?"first":X===Ed||r==="second"?"second":null},t[3]=r,t[4]=y,t[5]=f,t[6]=T):T=t[6];const[S,A]=x.useState(T);let D;t[7]!==S||t[8]!==o?(D=X=>{X!==S&&(A(X),o==null||o(X))},t[7]=S,t[8]=o,t[9]=D):D=t[9];const C=D,N=x.useRef(null),O=x.useRef(null),k=x.useRef(null),I=x.useRef(`${h}`);let P;t[10]!==y||t[11]!==f?(P=()=>{const X=f&&(y==null?void 0:y.get(f))||I.current;N.current&&(N.current.style.display="flex",N.current.style.flex=X===xd||X===Ed?I.current:X),k.current&&(k.current.style.display="flex",k.current.style.flex="1"),O.current&&(O.current.style.display="flex")},t[10]=y,t[11]=f,t[12]=P):P=t[12];let L;t[13]!==i||t[14]!==y||t[15]!==f?(L=[i,y,f],t[13]=i,t[14]=y,t[15]=f,t[16]=L):L=t[16],x.useLayoutEffect(P,L);let B,z;t[17]!==S||t[18]!==y||t[19]!==f?(z=()=>{const X=H=>{const $=H==="first"?N.current:k.current;if($&&($.style.left="-1000px",$.style.position="absolute",$.style.opacity="0",$.style.height="500px",$.style.width="500px",N.current)){const V=parseFloat(N.current.style.flex);(!Number.isFinite(V)||V<1)&&(N.current.style.flex="1")}},F=H=>{const $=H==="first"?N.current:k.current;if($&&($.style.width="",$.style.height="",$.style.opacity="",$.style.position="",$.style.left="",y&&f)){const V=y.get(f);N.current&&V!==xd&&V!==Ed&&(N.current.style.flex=V||I.current)}};S==="first"?X("first"):F("first"),S==="second"?X("second"):F("second")},B=[S,y,f],t[17]=S,t[18]=y,t[19]=f,t[20]=B,t[21]=z):(B=t[20],z=t[21]),x.useLayoutEffect(z,B);let te,re;t[22]!==i||t[23]!==C||t[24]!==p||t[25]!==g||t[26]!==E?(te=()=>{if(!O.current||!N.current||!k.current)return;const X=O.current,F=N.current,H=F.parentElement,$=i==="horizontal"?"clientX":"clientY",V=i==="horizontal"?"left":"top",M=i==="horizontal"?"right":"bottom",q=i==="horizontal"?"clientWidth":"clientHeight",ie=function(pe){pe.preventDefault();const oe=pe[$]-X.getBoundingClientRect()[V],le=function(ve){if(ve.buttons===0)return ue();const He=ve[$]-H.getBoundingClientRect()[V]-oe,lt=H.getBoundingClientRect()[M]-ve[$]+oe-X[q];if(He<p)C("first"),E(xd);else if(lt<g)C("second"),E(Ed);else{C(null);const Te=`${He/lt}`;F.style.flex=Te,E(Te)}};function ue(){document.removeEventListener("mousemove",le),document.removeEventListener("mouseup",ue)}document.addEventListener("mousemove",le),document.addEventListener("mouseup",ue)};X.addEventListener("mousedown",ie);const ne=function(){N.current&&(N.current.style.flex=I.current),E(I.current),C(null)};return X.addEventListener("dblclick",ne),()=>{X.removeEventListener("mousedown",ie),X.removeEventListener("dblclick",ne)}},re=[i,C,p,g,E],t[22]=i,t[23]=C,t[24]=p,t[25]=g,t[26]=E,t[27]=te,t[28]=re):(te=t[27],re=t[28]),x.useEffect(te,re);let fe;return t[29]!==S?(fe={dragBarRef:O,hiddenElement:S,firstRef:N,setHiddenElement:A,secondRef:k},t[29]=S,t[30]=fe):fe=t[30],fe}const JL=1,xd="hide-first",Ed="hide-second",Kt=x.forwardRef((e,t)=>{const n=ge.c(6);let i;n[0]!==e.className?(i=dt("graphiql-un-styled",e.className),n[0]=e.className,n[1]=i):i=n[1];let r;return n[2]!==e||n[3]!==t||n[4]!==i?(r=_.jsx("button",{...e,ref:t,className:i}),n[2]=e,n[3]=t,n[4]=i,n[5]=r):r=n[5],r});Kt.displayName="UnStyledButton";const qi=x.forwardRef((e,t)=>{const n=ge.c(7);let i;n[0]!==e.className||n[1]!==e.state?(i=dt("graphiql-button",{success:"graphiql-button-success",error:"graphiql-button-error"}[e.state],e.className),n[0]=e.className,n[1]=e.state,n[2]=i):i=n[2];let r;return n[3]!==e||n[4]!==t||n[5]!==i?(r=_.jsx("button",{...e,ref:t,className:i}),n[3]=e,n[4]=t,n[5]=i,n[6]=r):r=n[6],r});qi.displayName="Button";const Zm=x.forwardRef((e,t)=>{const n=ge.c(6);let i;n[0]!==e.className?(i=dt("graphiql-button-group",e.className),n[0]=e.className,n[1]=i):i=n[1];let r;return n[2]!==e||n[3]!==t||n[4]!==i?(r=_.jsx("div",{...e,ref:t,className:i}),n[2]=e,n[3]=t,n[4]=i,n[5]=r):r=n[5],r});Zm.displayName="ButtonGroup";function Oe(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e==null||e(r),n===!1||!r.defaultPrevented)return t==null?void 0:t(r)}}function a6(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function s2(...e){return t=>{let n=!1;const i=e.map(r=>{const o=a6(r,t);return!n&&typeof o=="function"&&(n=!0),o});if(n)return()=>{for(let r=0;r<i.length;r++){const o=i[r];typeof o=="function"?o():a6(e[r],null)}}}}function Yt(...e){return x.useCallback(s2(...e),e)}function eI(e,t){const n=x.createContext(t),i=o=>{const{children:a,...c}=o,f=x.useMemo(()=>c,Object.values(c));return _.jsx(n.Provider,{value:f,children:a})};i.displayName=e+"Provider";function r(o){const a=x.useContext(n);if(a)return a;if(t!==void 0)return t;throw new Error(`\`${o}\` must be used within \`${e}\``)}return[i,r]}function is(e,t=[]){let n=[];function i(o,a){const c=x.createContext(a),f=n.length;n=[...n,a];const h=g=>{var A;const{scope:y,children:v,...E}=g,T=((A=y==null?void 0:y[e])==null?void 0:A[f])||c,S=x.useMemo(()=>E,Object.values(E));return _.jsx(T.Provider,{value:S,children:v})};h.displayName=o+"Provider";function p(g,y){var T;const v=((T=y==null?void 0:y[e])==null?void 0:T[f])||c,E=x.useContext(v);if(E)return E;if(a!==void 0)return a;throw new Error(`\`${g}\` must be used within \`${o}\``)}return[h,p]}const r=()=>{const o=n.map(a=>x.createContext(a));return function(c){const f=(c==null?void 0:c[e])||o;return x.useMemo(()=>({[`__scope${e}`]:{...c,[e]:f}}),[c,f])}};return r.scopeName=e,[i,tI(r,...t)]}function tI(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const i=e.map(r=>({useScope:r(),scopeName:r.scopeName}));return function(o){const a=i.reduce((c,{useScope:f,scopeName:h})=>{const g=f(o)[`__scope${h}`];return{...c,...g}},{});return x.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}var ro=globalThis!=null&&globalThis.document?x.useLayoutEffect:()=>{},nI=uc[" useId ".trim().toString()]||(()=>{}),iI=0;function $o(e){const[t,n]=x.useState(nI());return ro(()=>{n(i=>i??String(iI++))},[e]),e||(t?`radix-${t}`:"")}var rI=uc[" useInsertionEffect ".trim().toString()]||ro;function I0({prop:e,defaultProp:t,onChange:n=()=>{},caller:i}){const[r,o,a]=uI({defaultProp:t,onChange:n}),c=e!==void 0,f=c?e:r;{const p=x.useRef(e!==void 0);x.useEffect(()=>{const g=p.current;g!==c&&console.warn(`${i} is changing from ${g?"controlled":"uncontrolled"} to ${c?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),p.current=c},[c,i])}const h=x.useCallback(p=>{var g;if(c){const y=oI(p)?p(e):p;y!==e&&((g=a.current)==null||g.call(a,y))}else o(p)},[c,e,o,a]);return[f,h]}function uI({defaultProp:e,onChange:t}){const[n,i]=x.useState(e),r=x.useRef(n),o=x.useRef(t);return rI(()=>{o.current=t},[t]),x.useEffect(()=>{var a;r.current!==n&&((a=o.current)==null||a.call(o,n),r.current=n)},[n,r]),[n,i,o]}function oI(e){return typeof e=="function"}var On=x5();const sI=Wo(On);function bc(e){const t=aI(e),n=x.forwardRef((i,r)=>{const{children:o,...a}=i,c=x.Children.toArray(o),f=c.find(cI);if(f){const h=f.props.children,p=c.map(g=>g===f?x.Children.count(h)>1?x.Children.only(null):x.isValidElement(h)?h.props.children:null:g);return _.jsx(t,{...a,ref:r,children:x.isValidElement(h)?x.cloneElement(h,void 0,p):null})}return _.jsx(t,{...a,ref:r,children:o})});return n.displayName=`${e}.Slot`,n}function aI(e){const t=x.forwardRef((n,i)=>{const{children:r,...o}=n,a=x.isValidElement(r)?dI(r):void 0,c=Yt(a,i);if(x.isValidElement(r)){const f=fI(o,r.props);return r.type!==x.Fragment&&(f.ref=c),x.cloneElement(r,f)}return x.Children.count(r)>1?x.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var cS=Symbol("radix.slottable");function lI(e){const t=({children:n})=>_.jsx(_.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=cS,t}function cI(e){return x.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===cS}function fI(e,t){const n={...t};for(const i in t){const r=e[i],o=t[i];/^on[A-Z]/.test(i)?r&&o?n[i]=(...c)=>{const f=o(...c);return r(...c),f}:r&&(n[i]=r):i==="style"?n[i]={...r,...o}:i==="className"&&(n[i]=[r,o].filter(Boolean).join(" "))}return{...e,...n}}function dI(e){var i,r;let t=(i=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:i.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(r=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var hI=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Mt=hI.reduce((e,t)=>{const n=bc(`Primitive.${t}`),i=x.forwardRef((r,o)=>{const{asChild:a,...c}=r,f=a?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),_.jsx(f,{...c,ref:o})});return i.displayName=`Primitive.${t}`,{...e,[t]:i}},{});function fS(e,t){e&&On.flushSync(()=>e.dispatchEvent(t))}function cu(e){const t=x.useRef(e);return x.useEffect(()=>{t.current=e}),x.useMemo(()=>(...n)=>{var i;return(i=t.current)==null?void 0:i.call(t,...n)},[])}function pI(e,t=globalThis==null?void 0:globalThis.document){const n=cu(e);x.useEffect(()=>{const i=r=>{r.key==="Escape"&&n(r)};return t.addEventListener("keydown",i,{capture:!0}),()=>t.removeEventListener("keydown",i,{capture:!0})},[n,t])}var mI="DismissableLayer",Wm="dismissableLayer.update",gI="dismissableLayer.pointerDownOutside",vI="dismissableLayer.focusOutside",l6,dS=x.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),F0=x.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:i,onPointerDownOutside:r,onFocusOutside:o,onInteractOutside:a,onDismiss:c,...f}=e,h=x.useContext(dS),[p,g]=x.useState(null),y=(p==null?void 0:p.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,v]=x.useState({}),E=Yt(t,I=>g(I)),T=Array.from(h.layers),[S]=[...h.layersWithOutsidePointerEventsDisabled].slice(-1),A=T.indexOf(S),D=p?T.indexOf(p):-1,C=h.layersWithOutsidePointerEventsDisabled.size>0,N=D>=A,O=xI(I=>{const P=I.target,L=[...h.branches].some(B=>B.contains(P));!N||L||(r==null||r(I),a==null||a(I),I.defaultPrevented||c==null||c())},y),k=EI(I=>{const P=I.target;[...h.branches].some(B=>B.contains(P))||(o==null||o(I),a==null||a(I),I.defaultPrevented||c==null||c())},y);return pI(I=>{D===h.layers.size-1&&(i==null||i(I),!I.defaultPrevented&&c&&(I.preventDefault(),c()))},y),x.useEffect(()=>{if(p)return n&&(h.layersWithOutsidePointerEventsDisabled.size===0&&(l6=y.body.style.pointerEvents,y.body.style.pointerEvents="none"),h.layersWithOutsidePointerEventsDisabled.add(p)),h.layers.add(p),c6(),()=>{n&&h.layersWithOutsidePointerEventsDisabled.size===1&&(y.body.style.pointerEvents=l6)}},[p,y,n,h]),x.useEffect(()=>()=>{p&&(h.layers.delete(p),h.layersWithOutsidePointerEventsDisabled.delete(p),c6())},[p,h]),x.useEffect(()=>{const I=()=>v({});return document.addEventListener(Wm,I),()=>document.removeEventListener(Wm,I)},[]),_.jsx(Mt.div,{...f,ref:E,style:{pointerEvents:C?N?"auto":"none":void 0,...e.style},onFocusCapture:Oe(e.onFocusCapture,k.onFocusCapture),onBlurCapture:Oe(e.onBlurCapture,k.onBlurCapture),onPointerDownCapture:Oe(e.onPointerDownCapture,O.onPointerDownCapture)})});F0.displayName=mI;var yI="DismissableLayerBranch",bI=x.forwardRef((e,t)=>{const n=x.useContext(dS),i=x.useRef(null),r=Yt(t,i);return x.useEffect(()=>{const o=i.current;if(o)return n.branches.add(o),()=>{n.branches.delete(o)}},[n.branches]),_.jsx(Mt.div,{...e,ref:r})});bI.displayName=yI;function xI(e,t=globalThis==null?void 0:globalThis.document){const n=cu(e),i=x.useRef(!1),r=x.useRef(()=>{});return x.useEffect(()=>{const o=c=>{if(c.target&&!i.current){let f=function(){hS(gI,n,h,{discrete:!0})};const h={originalEvent:c};c.pointerType==="touch"?(t.removeEventListener("click",r.current),r.current=f,t.addEventListener("click",r.current,{once:!0})):f()}else t.removeEventListener("click",r.current);i.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",o),t.removeEventListener("click",r.current)}},[t,n]),{onPointerDownCapture:()=>i.current=!0}}function EI(e,t=globalThis==null?void 0:globalThis.document){const n=cu(e),i=x.useRef(!1);return x.useEffect(()=>{const r=o=>{o.target&&!i.current&&hS(vI,n,{originalEvent:o},{discrete:!1})};return t.addEventListener("focusin",r),()=>t.removeEventListener("focusin",r)},[t,n]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}function c6(){const e=new CustomEvent(Wm);document.dispatchEvent(e)}function hS(e,t,n,{discrete:i}){const r=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),i?fS(r,o):r.dispatchEvent(o)}var k1="focusScope.autoFocusOnMount",L1="focusScope.autoFocusOnUnmount",f6={bubbles:!1,cancelable:!0},TI="FocusScope",a2=x.forwardRef((e,t)=>{const{loop:n=!1,trapped:i=!1,onMountAutoFocus:r,onUnmountAutoFocus:o,...a}=e,[c,f]=x.useState(null),h=cu(r),p=cu(o),g=x.useRef(null),y=Yt(t,T=>f(T)),v=x.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;x.useEffect(()=>{if(i){let T=function(C){if(v.paused||!c)return;const N=C.target;c.contains(N)?g.current=N:Zu(g.current,{select:!0})},S=function(C){if(v.paused||!c)return;const N=C.relatedTarget;N!==null&&(c.contains(N)||Zu(g.current,{select:!0}))},A=function(C){if(document.activeElement===document.body)for(const O of C)O.removedNodes.length>0&&Zu(c)};document.addEventListener("focusin",T),document.addEventListener("focusout",S);const D=new MutationObserver(A);return c&&D.observe(c,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",T),document.removeEventListener("focusout",S),D.disconnect()}}},[i,c,v.paused]),x.useEffect(()=>{if(c){h6.add(v);const T=document.activeElement;if(!c.contains(T)){const A=new CustomEvent(k1,f6);c.addEventListener(k1,h),c.dispatchEvent(A),A.defaultPrevented||(SI(DI(pS(c)),{select:!0}),document.activeElement===T&&Zu(c))}return()=>{c.removeEventListener(k1,h),setTimeout(()=>{const A=new CustomEvent(L1,f6);c.addEventListener(L1,p),c.dispatchEvent(A),A.defaultPrevented||Zu(T??document.body,{select:!0}),c.removeEventListener(L1,p),h6.remove(v)},0)}}},[c,h,p,v]);const E=x.useCallback(T=>{if(!n&&!i||v.paused)return;const S=T.key==="Tab"&&!T.altKey&&!T.ctrlKey&&!T.metaKey,A=document.activeElement;if(S&&A){const D=T.currentTarget,[C,N]=_I(D);C&&N?!T.shiftKey&&A===N?(T.preventDefault(),n&&Zu(C,{select:!0})):T.shiftKey&&A===C&&(T.preventDefault(),n&&Zu(N,{select:!0})):A===D&&T.preventDefault()}},[n,i,v.paused]);return _.jsx(Mt.div,{tabIndex:-1,...a,ref:y,onKeyDown:E})});a2.displayName=TI;function SI(e,{select:t=!1}={}){const n=document.activeElement;for(const i of e)if(Zu(i,{select:t}),document.activeElement!==n)return}function _I(e){const t=pS(e),n=d6(t,e),i=d6(t.reverse(),e);return[n,i]}function pS(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:i=>{const r=i.tagName==="INPUT"&&i.type==="hidden";return i.disabled||i.hidden||r?NodeFilter.FILTER_SKIP:i.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function d6(e,t){for(const n of e)if(!CI(n,{upTo:t}))return n}function CI(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function AI(e){return e instanceof HTMLInputElement&&"select"in e}function Zu(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&AI(e)&&t&&e.select()}}var h6=wI();function wI(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=p6(e,t),e.unshift(t)},remove(t){var n;e=p6(e,t),(n=e[0])==null||n.resume()}}}function p6(e,t){const n=[...e],i=n.indexOf(t);return i!==-1&&n.splice(i,1),n}function DI(e){return e.filter(t=>t.tagName!=="A")}var NI="Portal",j0=x.forwardRef((e,t)=>{var c;const{container:n,...i}=e,[r,o]=x.useState(!1);ro(()=>o(!0),[]);const a=n||r&&((c=globalThis==null?void 0:globalThis.document)==null?void 0:c.body);return a?sI.createPortal(_.jsx(Mt.div,{...i,ref:t}),a):null});j0.displayName=NI;function OI(e,t){return x.useReducer((n,i)=>t[n][i]??n,e)}var Rr=e=>{const{present:t,children:n}=e,i=RI(t),r=typeof n=="function"?n({present:i.isPresent}):x.Children.only(n),o=Yt(i.ref,MI(r));return typeof n=="function"||i.isPresent?x.cloneElement(r,{ref:o}):null};Rr.displayName="Presence";function RI(e){const[t,n]=x.useState(),i=x.useRef(null),r=x.useRef(e),o=x.useRef("none"),a=e?"mounted":"unmounted",[c,f]=OI(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return x.useEffect(()=>{const h=Td(i.current);o.current=c==="mounted"?h:"none"},[c]),ro(()=>{const h=i.current,p=r.current;if(p!==e){const y=o.current,v=Td(h);e?f("MOUNT"):v==="none"||(h==null?void 0:h.display)==="none"?f("UNMOUNT"):f(p&&y!==v?"ANIMATION_OUT":"UNMOUNT"),r.current=e}},[e,f]),ro(()=>{if(t){let h;const p=t.ownerDocument.defaultView??window,g=v=>{const T=Td(i.current).includes(v.animationName);if(v.target===t&&T&&(f("ANIMATION_END"),!r.current)){const S=t.style.animationFillMode;t.style.animationFillMode="forwards",h=p.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=S)})}},y=v=>{v.target===t&&(o.current=Td(i.current))};return t.addEventListener("animationstart",y),t.addEventListener("animationcancel",g),t.addEventListener("animationend",g),()=>{p.clearTimeout(h),t.removeEventListener("animationstart",y),t.removeEventListener("animationcancel",g),t.removeEventListener("animationend",g)}}else f("ANIMATION_END")},[t,f]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:x.useCallback(h=>{i.current=h?getComputedStyle(h):null,n(h)},[])}}function Td(e){return(e==null?void 0:e.animationName)||"none"}function MI(e){var i,r;let t=(i=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:i.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(r=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var I1=0;function mS(){x.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??m6()),document.body.insertAdjacentElement("beforeend",e[1]??m6()),I1++,()=>{I1===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),I1--}},[])}function m6(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var mr=function(){return mr=Object.assign||function(t){for(var n,i=1,r=arguments.length;i<r;i++){n=arguments[i];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},mr.apply(this,arguments)};function gS(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]]);return n}function kI(e,t,n){if(n||arguments.length===2)for(var i=0,r=t.length,o;i<r;i++)(o||!(i in t))&&(o||(o=Array.prototype.slice.call(t,0,i)),o[i]=t[i]);return e.concat(o||Array.prototype.slice.call(t))}var jd="right-scroll-bar-position",Pd="width-before-scroll-bar",LI="with-scroll-bars-hidden",II="--removed-body-scroll-bar-size";function F1(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function FI(e,t){var n=x.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(i){var r=n.value;r!==i&&(n.value=i,n.callback(i,r))}}}})[0];return n.callback=t,n.facade}var jI=typeof window<"u"?x.useLayoutEffect:x.useEffect,g6=new WeakMap;function PI(e,t){var n=FI(null,function(i){return e.forEach(function(r){return F1(r,i)})});return jI(function(){var i=g6.get(n);if(i){var r=new Set(i),o=new Set(e),a=n.current;r.forEach(function(c){o.has(c)||F1(c,null)}),o.forEach(function(c){r.has(c)||F1(c,a)})}g6.set(n,e)},[e]),n}function VI(e){return e}function BI(e,t){t===void 0&&(t=VI);var n=[],i=!1,r={read:function(){if(i)throw new 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(o){var a=t(o,i);return n.push(a),function(){n=n.filter(function(c){return c!==a})}},assignSyncMedium:function(o){for(i=!0;n.length;){var a=n;n=[],a.forEach(o)}n={push:function(c){return o(c)},filter:function(){return n}}},assignMedium:function(o){i=!0;var a=[];if(n.length){var c=n;n=[],c.forEach(o),a=n}var f=function(){var p=a;a=[],p.forEach(o)},h=function(){return Promise.resolve().then(f)};h(),n={push:function(p){a.push(p),h()},filter:function(p){return a=a.filter(p),n}}}};return r}function $I(e){e===void 0&&(e={});var t=BI(null);return t.options=mr({async:!0,ssr:!1},e),t}var vS=function(e){var t=e.sideCar,n=gS(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var i=t.read();if(!i)throw new Error("Sidecar medium not found");return x.createElement(i,mr({},n))};vS.isSideCarExport=!0;function UI(e,t){return e.useMedium(t),vS}var yS=$I(),j1=function(){},P0=x.forwardRef(function(e,t){var n=x.useRef(null),i=x.useState({onScrollCapture:j1,onWheelCapture:j1,onTouchMoveCapture:j1}),r=i[0],o=i[1],a=e.forwardProps,c=e.children,f=e.className,h=e.removeScrollBar,p=e.enabled,g=e.shards,y=e.sideCar,v=e.noIsolation,E=e.inert,T=e.allowPinchZoom,S=e.as,A=S===void 0?"div":S,D=e.gapMode,C=gS(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),N=y,O=PI([n,t]),k=mr(mr({},C),r);return x.createElement(x.Fragment,null,p&&x.createElement(N,{sideCar:yS,removeScrollBar:h,shards:g,noIsolation:v,inert:E,setCallbacks:o,allowPinchZoom:!!T,lockRef:n,gapMode:D}),a?x.cloneElement(x.Children.only(c),mr(mr({},k),{ref:O})):x.createElement(A,mr({},k,{className:f,ref:O}),c))});P0.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};P0.classNames={fullWidth:Pd,zeroRight:jd};var zI=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function HI(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=zI();return t&&e.setAttribute("nonce",t),e}function qI(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function GI(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var YI=function(){var e=0,t=null;return{add:function(n){e==0&&(t=HI())&&(qI(t,n),GI(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},QI=function(){var e=YI();return function(t,n){x.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},bS=function(){var e=QI(),t=function(n){var i=n.styles,r=n.dynamic;return e(i,r),null};return t},XI={left:0,top:0,right:0,gap:0},P1=function(e){return parseInt(e||"",10)||0},ZI=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],i=t[e==="padding"?"paddingTop":"marginTop"],r=t[e==="padding"?"paddingRight":"marginRight"];return[P1(n),P1(i),P1(r)]},WI=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return XI;var t=ZI(e),n=document.documentElement.clientWidth,i=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,i-n+t[2]-t[0])}},KI=bS(),da="data-scroll-locked",JI=function(e,t,n,i){var r=e.left,o=e.top,a=e.right,c=e.gap;return n===void 0&&(n="margin"),`
|
|
314
|
+
`)))}re(""),S(!0);const M=o??h.operationName??void 0,q=V??void 0,ie=h.documentAST??void 0;try{const ne={},Y=le=>{if(fe!==C.current)return;let ue=Array.isArray(le)?le:!1;if(!ue&&typeof le=="object"&&le!==null&&"hasNext"in le&&(ue=[le]),ue){for(const me of ue)rS(ne,me);S(!1),re(wm(ne))}else{const me=wm(le);S(!1),re(me)}},oe=await n({query:X,variables:H,operationName:M},{headers:q,documentAST:ie});T5(oe)?D(oe.subscribe({next(le){Y(le)},error(le){S(!1),le&&re(dc(le)),D(null)},complete(){S(!1),D(null)}})):S5(oe)?(D({unsubscribe:()=>{var le,ue;return(ue=(le=oe[Symbol.asyncIterator]()).return)==null?void 0:ue.call(le)}}),await $k(Y,oe),S(!1),D(null)):Y(oe)}catch(ne){const Y=ne;S(!1),re(dc(Y)),D(null)}},t[5]=E,t[6]=c,t[7]=n,t[8]=f,t[9]=o,t[10]=h,t[11]=p,t[12]=O,t[13]=A,t[14]=y,t[15]=g,t[16]=k):k=t[16];const I=k,P=!!A,L=o??null;let B;t[17]!==T||t[18]!==I||t[19]!==O||t[20]!==P||t[21]!==L?(B={isFetching:T,isSubscribed:P,operationName:L,run:I,stop:O},t[17]=T,t[18]=I,t[19]=O,t[20]=P,t[21]=L,t[22]=B):B=t[22];const z=B;let te;return t[23]!==r||t[24]!==z?(te=_.jsx(iS.Provider,{value:z,children:r}),t[23]=r,t[24]=z,t[25]=te):te=t[25],te}function Bk(e){return li(e)}async function $k(e,t){for await(const n of t)e(n)}const Na=ns(iS);function o6({json:e,errorMessageParse:t,errorMessageType:n}){let i;try{i=e&&e.trim()!==""?JSON.parse(e):void 0}catch(o){throw new Error(`${t}: ${o instanceof Error?o.message:o}.`)}const r=typeof i=="object"&&i!==null&&!Array.isArray(i);if(i!==void 0&&!r)throw new Error(n);return i}const Vl=new WeakMap;function rS(e,t){var n,i,r;let o=["data",...t.path??[]];for(const f of[e,t])if(f.pending){let h=Vl.get(e);h===void 0&&(h=new Map,Vl.set(e,h));for(const{id:p,path:g}of f.pending)h.set(p,["data",...g])}const{items:a}=t;if(a){const{id:f}=t;if(f){if(o=(n=Vl.get(e))==null?void 0:n.get(f),o===void 0)throw new Error("Invalid incremental delivery format.");fO(e,o.join(".")).push(...a)}else{o=["data",...t.path??[]];for(const h of a)x1(e,o.join("."),h),o[o.length-1]++}}const{data:c}=t;if(c){const{id:f}=t;if(f){if(o=(i=Vl.get(e))==null?void 0:i.get(f),o===void 0)throw new Error("Invalid incremental delivery format.");const{subPath:h}=t;h!==void 0&&(o=[...o,...h])}x1(e,o.join("."),c,{merge:!0})}if(t.errors&&(e.errors||(e.errors=[]),e.errors.push(...t.errors)),t.extensions&&x1(e,"extensions",t.extensions,{merge:!0}),t.incremental)for(const f of t.incremental)rS(e,f);if(t.completed)for(const{id:f,errors:h}of t.completed)(r=Vl.get(e))==null||r.delete(f),h&&(e.errors||(e.errors=[]),e.errors.push(...h))}const Uk=e=>{const t=ge.c(45),{children:n,dangerouslyAssumeSchemaIsValid:i,defaultQuery:r,defaultHeaders:o,defaultTabs:a,externalFragments:c,fetcher:f,getDefaultFieldNames:h,headers:p,inputValueDeprecation:g,introspectionQueryName:y,onEditOperationName:v,onSchemaChange:E,onTabChange:T,onTogglePluginVisibility:S,operationName:A,plugins:D,referencePlugin:C,query:N,response:O,schema:k,schemaDescription:I,shouldPersistHeaders:P,storage:L,validationRules:B,variables:z,visiblePlugin:te}=e;let re;t[0]!==o||t[1]!==r||t[2]!==a||t[3]!==c||t[4]!==p||t[5]!==v||t[6]!==T||t[7]!==N||t[8]!==O||t[9]!==P||t[10]!==B||t[11]!==z?(re={defaultQuery:r,defaultHeaders:o,defaultTabs:a,externalFragments:c,headers:p,onEditOperationName:v,onTabChange:T,query:N,response:O,shouldPersistHeaders:P,validationRules:B,variables:z},t[0]=o,t[1]=r,t[2]=a,t[3]=c,t[4]=p,t[5]=v,t[6]=T,t[7]=N,t[8]=O,t[9]=P,t[10]=B,t[11]=z,t[12]=re):re=t[12];const fe=re;let X;t[13]!==i||t[14]!==f||t[15]!==g||t[16]!==y||t[17]!==E||t[18]!==k||t[19]!==I?(X={dangerouslyAssumeSchemaIsValid:i,fetcher:f,inputValueDeprecation:g,introspectionQueryName:y,onSchemaChange:E,schema:k,schemaDescription:I},t[13]=i,t[14]=f,t[15]=g,t[16]=y,t[17]=E,t[18]=k,t[19]=I,t[20]=X):X=t[20];const F=X;let H;t[21]!==f||t[22]!==h||t[23]!==A?(H={getDefaultFieldNames:h,fetcher:f,operationName:A},t[21]=f,t[22]=h,t[23]=A,t[24]=H):H=t[24];const $=H;let V;t[25]!==S||t[26]!==D||t[27]!==C||t[28]!==te?(V={onTogglePluginVisibility:S,plugins:D,visiblePlugin:te,referencePlugin:C},t[25]=S,t[26]=D,t[27]=C,t[28]=te,t[29]=V):V=t[29];const M=V;let q;t[30]!==n||t[31]!==M?(q=_.jsx(vO,{...M,children:n}),t[30]=n,t[31]=M,t[32]=q):q=t[32];let ie;t[33]!==$||t[34]!==q?(ie=_.jsx(Ym,{...$,children:q}),t[33]=$,t[34]=q,t[35]=ie):ie=t[35];let ne;t[36]!==F||t[37]!==ie?(ne=_.jsx(yT,{...F,children:ie}),t[36]=F,t[37]=ie,t[38]=ne):ne=t[38];let Y;t[39]!==fe||t[40]!==ne?(Y=_.jsx(Pk,{...fe,children:ne}),t[39]=fe,t[40]=ne,t[41]=Y):Y=t[41];let pe;return t[42]!==L||t[43]!==Y?(pe=_.jsx(dO,{storage:L,children:Y}),t[42]=L,t[43]=Y,t[44]=pe):pe=t[44],pe};function zk(e){const t=ge.c(11),n=e===void 0?null:e,i=ao();let r;t[0]!==n||t[1]!==i?(r=()=>{if(!i)return null;const y=i.get(M1);switch(y){case"light":return"light";case"dark":return"dark";default:return typeof y=="string"&&i.set(M1,""),n}},t[0]=n,t[1]=i,t[2]=r):r=t[2];const[o,a]=x.useState(r);let c,f;t[3]!==o?(c=()=>{typeof window>"u"||(document.body.classList.remove("graphiql-light","graphiql-dark"),o&&document.body.classList.add(`graphiql-${o}`))},f=[o],t[3]=o,t[4]=c,t[5]=f):(c=t[4],f=t[5]),x.useLayoutEffect(c,f);let h;t[6]!==i?(h=y=>{i==null||i.set(M1,y||""),a(y)},t[6]=i,t[7]=h):h=t[7];const p=h;let g;return t[8]!==p||t[9]!==o?(g={theme:o,setTheme:p},t[8]=p,t[9]=o,t[10]=g):g=t[10],g}const M1="theme",Hk=({title:e,titleId:t,...n})=>x.createElement("svg",{height:"1em",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?x.createElement("title",{id:t},e):null,x.createElement("path",{d:"M5.0484 1.40838C6.12624 0.33054 7.87376 0.330541 8.9516 1.40838L12.5916 5.0484C13.6695 6.12624 13.6695 7.87376 12.5916 8.9516L8.9516 12.5916C7.87376 13.6695 6.12624 13.6695 5.0484 12.5916L1.40838 8.9516C0.33054 7.87376 0.330541 6.12624 1.40838 5.0484L5.0484 1.40838Z",stroke:"currentColor",strokeWidth:1.2}),x.createElement("rect",{x:6,y:6,width:2,height:2,rx:1,fill:"currentColor"})),qk=({title:e,titleId:t,...n})=>x.createElement("svg",{height:"1em",viewBox:"0 0 14 9",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?x.createElement("title",{id:t},e):null,x.createElement("path",{d:"M1 1L7 7L13 1",stroke:"currentColor",strokeWidth:1.5})),Gk=({title:e,titleId:t,...n})=>x.createElement("svg",{height:"1em",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?x.createElement("title",{id:t},e):null,x.createElement("path",{d:"M6 1.04819L2 5.04819L6 9.04819",stroke:"currentColor",strokeWidth:1.75})),Yk=({title:e,titleId:t,...n})=>x.createElement("svg",{height:"1em",viewBox:"0 0 14 9",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?x.createElement("title",{id:t},e):null,x.createElement("path",{d:"M13 8L7 2L1 8",stroke:"currentColor",strokeWidth:1.5})),Qk=({title:e,titleId:t,...n})=>x.createElement("svg",{height:"1em",viewBox:"0 0 14 14",stroke:"currentColor",strokeWidth:3,xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?x.createElement("title",{id:t},e):null,x.createElement("path",{d:"M1 1L12.9998 12.9997"}),x.createElement("path",{d:"M13 1L1.00079 13.0003"})),Xk=({title:e,titleId:t,...n})=>x.createElement("svg",{height:"1em",viewBox:"-2 -2 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?x.createElement("title",{id:t},e):null,x.createElement("path",{d:"M11.25 14.2105V15.235C11.25 16.3479 10.3479 17.25 9.23501 17.25H2.76499C1.65214 17.25 0.75 16.3479 0.75 15.235L0.75 8.76499C0.75 7.65214 1.65214 6.75 2.76499 6.75L3.78947 6.75",stroke:"currentColor",strokeWidth:1.5}),x.createElement("rect",{x:6.75,y:.75,width:10.5,height:10.5,rx:2.2069,stroke:"currentColor",strokeWidth:1.5})),Zk=({title:e,titleId:t,...n})=>x.createElement("svg",{height:"1em",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?x.createElement("title",{id:t},e):null,x.createElement("path",{d:"M5.0484 1.40838C6.12624 0.33054 7.87376 0.330541 8.9516 1.40838L12.5916 5.0484C13.6695 6.12624 13.6695 7.87376 12.5916 8.9516L8.9516 12.5916C7.87376 13.6695 6.12624 13.6695 5.0484 12.5916L1.40838 8.9516C0.33054 7.87376 0.330541 6.12624 1.40838 5.0484L5.0484 1.40838Z",stroke:"currentColor",strokeWidth:1.2}),x.createElement("path",{d:"M5 9L9 5",stroke:"currentColor",strokeWidth:1.2}),x.createElement("path",{d:"M5 5L9 9",stroke:"currentColor",strokeWidth:1.2})),Wk=({title:e,titleId:t,...n})=>x.createElement("svg",{height:"1em",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?x.createElement("title",{id:t},e):null,x.createElement("path",{d:"M4 8L8 4",stroke:"currentColor",strokeWidth:1.2}),x.createElement("path",{d:"M4 4L8 8",stroke:"currentColor",strokeWidth:1.2}),x.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.5 1.2H9C9.99411 1.2 10.8 2.00589 10.8 3V9C10.8 9.99411 9.99411 10.8 9 10.8H8.5V12H9C10.6569 12 12 10.6569 12 9V3C12 1.34315 10.6569 0 9 0H8.5V1.2ZM3.5 1.2V0H3C1.34315 0 0 1.34315 0 3V9C0 10.6569 1.34315 12 3 12H3.5V10.8H3C2.00589 10.8 1.2 9.99411 1.2 9V3C1.2 2.00589 2.00589 1.2 3 1.2H3.5Z",fill:"currentColor"})),Kk=({title:e,titleId:t,...n})=>x.createElement("svg",{height:"1em",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?x.createElement("title",{id:t},e):null,x.createElement("rect",{x:.6,y:.6,width:10.8,height:10.8,rx:3.4,stroke:"currentColor",strokeWidth:1.2}),x.createElement("path",{d:"M4 8L8 4",stroke:"currentColor",strokeWidth:1.2}),x.createElement("path",{d:"M4 4L8 8",stroke:"currentColor",strokeWidth:1.2})),Jk=({title:e,titleId:t,...n})=>x.createElement("svg",{height:"1em",viewBox:"0 0.5 12 12",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?x.createElement("title",{id:t},e):null,x.createElement("rect",{x:7,y:5.5,width:2,height:2,rx:1,transform:"rotate(90 7 5.5)",fill:"currentColor"}),x.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.8 9L10.8 9.5C10.8 10.4941 9.99411 11.3 9 11.3L3 11.3C2.00589 11.3 1.2 10.4941 1.2 9.5L1.2 9L-3.71547e-07 9L-3.93402e-07 9.5C-4.65826e-07 11.1569 1.34314 12.5 3 12.5L9 12.5C10.6569 12.5 12 11.1569 12 9.5L12 9L10.8 9ZM10.8 4L12 4L12 3.5C12 1.84315 10.6569 0.5 9 0.5L3 0.5C1.34315 0.5 -5.87117e-08 1.84315 -1.31135e-07 3.5L-1.5299e-07 4L1.2 4L1.2 3.5C1.2 2.50589 2.00589 1.7 3 1.7L9 1.7C9.99411 1.7 10.8 2.50589 10.8 3.5L10.8 4Z",fill:"currentColor"})),eL=({title:e,titleId:t,...n})=>x.createElement("svg",{height:"1em",viewBox:"0 0 20 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?x.createElement("title",{id:t},e):null,x.createElement("path",{d:"M0.75 3C0.75 1.75736 1.75736 0.75 3 0.75H17.25C17.8023 0.75 18.25 1.19772 18.25 1.75V5.25",stroke:"currentColor",strokeWidth:1.5}),x.createElement("path",{d:"M0.75 3C0.75 4.24264 1.75736 5.25 3 5.25H18.25C18.8023 5.25 19.25 5.69771 19.25 6.25V22.25C19.25 22.8023 18.8023 23.25 18.25 23.25H3C1.75736 23.25 0.75 22.2426 0.75 21V3Z",stroke:"currentColor",strokeWidth:1.5}),x.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 5.25C1.75736 5.25 0.75 4.24264 0.75 3V21C0.75 22.2426 1.75736 23.25 3 23.25H18.25C18.8023 23.25 19.25 22.8023 19.25 22.25V6.25C19.25 5.69771 18.8023 5.25 18.25 5.25H3ZM13 11L6 11V12.5L13 12.5V11Z",fill:"currentColor"})),tL=({title:e,titleId:t,...n})=>x.createElement("svg",{height:"1em",viewBox:"0 0 20 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?x.createElement("title",{id:t},e):null,x.createElement("path",{d:"M0.75 3C0.75 4.24264 1.75736 5.25 3 5.25H17.25M0.75 3C0.75 1.75736 1.75736 0.75 3 0.75H16.25C16.8023 0.75 17.25 1.19772 17.25 1.75V5.25M0.75 3V21C0.75 22.2426 1.75736 23.25 3 23.25H18.25C18.8023 23.25 19.25 22.8023 19.25 22.25V6.25C19.25 5.69771 18.8023 5.25 18.25 5.25H17.25",stroke:"currentColor",strokeWidth:1.5}),x.createElement("line",{x1:13,y1:11.75,x2:6,y2:11.75,stroke:"currentColor",strokeWidth:1.5})),nL=({title:e,titleId:t,...n})=>x.createElement("svg",{height:"1em",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?x.createElement("title",{id:t},e):null,x.createElement("rect",{x:5,y:5,width:2,height:2,rx:1,fill:"currentColor"}),x.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.5 1.2H9C9.99411 1.2 10.8 2.00589 10.8 3V9C10.8 9.99411 9.99411 10.8 9 10.8H8.5V12H9C10.6569 12 12 10.6569 12 9V3C12 1.34315 10.6569 0 9 0H8.5V1.2ZM3.5 1.2V0H3C1.34315 0 0 1.34315 0 3V9C0 10.6569 1.34315 12 3 12H3.5V10.8H3C2.00589 10.8 1.2 9.99411 1.2 9V3C1.2 2.00589 2.00589 1.2 3 1.2H3.5Z",fill:"currentColor"})),iL=({title:e,titleId:t,...n})=>x.createElement("svg",{height:"1em",viewBox:"0 0 12 13",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?x.createElement("title",{id:t},e):null,x.createElement("rect",{x:.6,y:1.1,width:10.8,height:10.8,rx:2.4,stroke:"currentColor",strokeWidth:1.2}),x.createElement("rect",{x:5,y:5.5,width:2,height:2,rx:1,fill:"currentColor"})),rL=({title:e,titleId:t,...n})=>x.createElement("svg",{height:"1em",viewBox:"0 0 24 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?x.createElement("title",{id:t},e):null,x.createElement("path",{d:"M1.59375 9.52344L4.87259 12.9944L8.07872 9.41249",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"square"}),x.createElement("path",{d:"M13.75 5.25V10.75H18.75",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"square"}),x.createElement("path",{d:"M4.95427 11.9332C4.55457 10.0629 4.74441 8.11477 5.49765 6.35686C6.25089 4.59894 7.5305 3.11772 9.16034 2.11709C10.7902 1.11647 12.6901 0.645626 14.5986 0.769388C16.5071 0.893151 18.3303 1.60543 19.8172 2.80818C21.3042 4.01093 22.3818 5.64501 22.9017 7.48548C23.4216 9.32595 23.3582 11.2823 22.7203 13.0853C22.0824 14.8883 20.9013 16.4492 19.3396 17.5532C17.778 18.6572 15.9125 19.25 14 19.25",stroke:"currentColor",strokeWidth:1.5})),uL=({title:e,titleId:t,...n})=>x.createElement("svg",{height:"1em",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?x.createElement("title",{id:t},e):null,x.createElement("circle",{cx:6,cy:6,r:5.4,stroke:"currentColor",strokeWidth:1.2,strokeDasharray:"4.241025 4.241025",transform:"rotate(22.5 6 6)"}),x.createElement("circle",{cx:6,cy:6,r:1,fill:"currentColor"})),oL=({title:e,titleId:t,...n})=>x.createElement("svg",{height:"1em",viewBox:"0 0 19 18",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?x.createElement("title",{id:t},e):null,x.createElement("path",{d:"M1.5 14.5653C1.5 15.211 1.75652 15.8303 2.21314 16.2869C2.66975 16.7435 3.28905 17 3.9348 17C4.58054 17 5.19984 16.7435 5.65646 16.2869C6.11307 15.8303 6.36959 15.211 6.36959 14.5653V12.1305H3.9348C3.28905 12.1305 2.66975 12.387 2.21314 12.8437C1.75652 13.3003 1.5 13.9195 1.5 14.5653Z",stroke:"currentColor",strokeWidth:1.125,strokeLinecap:"round",strokeLinejoin:"round"}),x.createElement("path",{d:"M3.9348 1.00063C3.28905 1.00063 2.66975 1.25715 2.21314 1.71375C1.75652 2.17035 1.5 2.78964 1.5 3.43537C1.5 4.0811 1.75652 4.70038 2.21314 5.15698C2.66975 5.61358 3.28905 5.8701 3.9348 5.8701H6.36959V3.43537C6.36959 2.78964 6.11307 2.17035 5.65646 1.71375C5.19984 1.25715 4.58054 1.00063 3.9348 1.00063Z",stroke:"currentColor",strokeWidth:1.125,strokeLinecap:"round",strokeLinejoin:"round"}),x.createElement("path",{d:"M15.0652 12.1305H12.6304V14.5653C12.6304 15.0468 12.7732 15.5175 13.0407 15.9179C13.3083 16.3183 13.6885 16.6304 14.1334 16.8147C14.5783 16.9989 15.0679 17.0472 15.5402 16.9532C16.0125 16.8593 16.4464 16.6274 16.7869 16.2869C17.1274 15.9464 17.3593 15.5126 17.4532 15.0403C17.5472 14.568 17.4989 14.0784 17.3147 13.6335C17.1304 13.1886 16.8183 12.8084 16.4179 12.5409C16.0175 12.2733 15.5468 12.1305 15.0652 12.1305Z",stroke:"currentColor",strokeWidth:1.125,strokeLinecap:"round",strokeLinejoin:"round"}),x.createElement("path",{d:"M12.6318 5.86775H6.36955V12.1285H12.6318V5.86775Z",stroke:"currentColor",strokeWidth:1.125,strokeLinecap:"round",strokeLinejoin:"round"}),x.createElement("path",{d:"M17.5 3.43473C17.5 2.789 17.2435 2.16972 16.7869 1.71312C16.3303 1.25652 15.711 1 15.0652 1C14.4195 1 13.8002 1.25652 13.3435 1.71312C12.8869 2.16972 12.6304 2.789 12.6304 3.43473V5.86946H15.0652C15.711 5.86946 16.3303 5.61295 16.7869 5.15635C17.2435 4.69975 17.5 4.08046 17.5 3.43473Z",stroke:"currentColor",strokeWidth:1.125,strokeLinecap:"round",strokeLinejoin:"round"})),sL=({title:e,titleId:t,...n})=>x.createElement("svg",{height:"1em",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?x.createElement("title",{id:t},e):null,x.createElement("circle",{cx:5,cy:5,r:4.35,stroke:"currentColor",strokeWidth:1.3}),x.createElement("line",{x1:8.45962,y1:8.54038,x2:11.7525,y2:11.8333,stroke:"currentColor",strokeWidth:1.3})),aL=({title:e,titleId:t,...n})=>x.createElement("svg",{height:"1em",viewBox:"-2 -2 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?x.createElement("title",{id:t},e):null,x.createElement("path",{d:"M17.2492 6V2.9569C17.2492 1.73806 16.2611 0.75 15.0423 0.75L2.9569 0.75C1.73806 0.75 0.75 1.73806 0.75 2.9569L0.75 6",stroke:"currentColor",strokeWidth:1.5}),x.createElement("path",{d:"M0.749873 12V15.0431C0.749873 16.2619 1.73794 17.25 2.95677 17.25H15.0421C16.261 17.25 17.249 16.2619 17.249 15.0431V12",stroke:"currentColor",strokeWidth:1.5}),x.createElement("path",{d:"M6 4.5L9 7.5L12 4.5",stroke:"currentColor",strokeWidth:1.5}),x.createElement("path",{d:"M12 13.5L9 10.5L6 13.5",stroke:"currentColor",strokeWidth:1.5})),lL=({title:e,titleId:t,...n})=>x.createElement("svg",{height:"1em",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?x.createElement("title",{id:t},e):null,x.createElement("path",{d:"M0.75 13.25L0.0554307 12.967C-0.0593528 13.2488 0.00743073 13.5719 0.224488 13.7851C0.441545 13.9983 0.765869 14.0592 1.04549 13.9393L0.75 13.25ZM12.8214 1.83253L12.2911 2.36286L12.2911 2.36286L12.8214 1.83253ZM12.8214 3.90194L13.3517 4.43227L12.8214 3.90194ZM10.0981 1.17859L9.56773 0.648259L10.0981 1.17859ZM12.1675 1.17859L12.6978 0.648258L12.6978 0.648257L12.1675 1.17859ZM2.58049 8.75697L3.27506 9.03994L2.58049 8.75697ZM2.70066 8.57599L3.23099 9.10632L2.70066 8.57599ZM5.2479 11.4195L4.95355 10.7297L5.2479 11.4195ZM5.42036 11.303L4.89003 10.7727L5.42036 11.303ZM4.95355 10.7297C4.08882 11.0987 3.41842 11.362 2.73535 11.6308C2.05146 11.9 1.35588 12.1743 0.454511 12.5607L1.04549 13.9393C1.92476 13.5624 2.60256 13.2951 3.28469 13.0266C3.96762 12.7578 4.65585 12.4876 5.54225 12.1093L4.95355 10.7297ZM1.44457 13.533L3.27506 9.03994L1.88592 8.474L0.0554307 12.967L1.44457 13.533ZM3.23099 9.10632L10.6284 1.70892L9.56773 0.648259L2.17033 8.04566L3.23099 9.10632ZM11.6371 1.70892L12.2911 2.36286L13.3517 1.3022L12.6978 0.648258L11.6371 1.70892ZM12.2911 3.37161L4.89003 10.7727L5.95069 11.8333L13.3517 4.43227L12.2911 3.37161ZM12.2911 2.36286C12.5696 2.64142 12.5696 3.09305 12.2911 3.37161L13.3517 4.43227C14.2161 3.56792 14.2161 2.16654 13.3517 1.3022L12.2911 2.36286ZM10.6284 1.70892C10.9069 1.43036 11.3586 1.43036 11.6371 1.70892L12.6978 0.648257C11.8335 -0.216088 10.4321 -0.216084 9.56773 0.648259L10.6284 1.70892ZM3.27506 9.03994C3.26494 9.06479 3.24996 9.08735 3.23099 9.10632L2.17033 8.04566C2.04793 8.16806 1.95123 8.31369 1.88592 8.474L3.27506 9.03994ZM5.54225 12.1093C5.69431 12.0444 5.83339 11.9506 5.95069 11.8333L4.89003 10.7727C4.90863 10.7541 4.92988 10.7398 4.95355 10.7297L5.54225 12.1093Z",fill:"currentColor"}),x.createElement("path",{d:"M11.5 4.5L9.5 2.5",stroke:"currentColor",strokeWidth:1.4026,strokeLinecap:"round",strokeLinejoin:"round"}),x.createElement("path",{d:"M5.5 10.5L3.5 8.5",stroke:"currentColor",strokeWidth:1.4026,strokeLinecap:"round",strokeLinejoin:"round"})),cL=({title:e,titleId:t,...n})=>x.createElement("svg",{height:"1em",viewBox:"0 0 16 18",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?x.createElement("title",{id:t},e):null,x.createElement("path",{d:"M1.32226e-07 1.6609C7.22332e-08 0.907329 0.801887 0.424528 1.46789 0.777117L15.3306 8.11621C16.0401 8.49182 16.0401 9.50818 15.3306 9.88379L1.46789 17.2229C0.801886 17.5755 1.36076e-06 17.0927 1.30077e-06 16.3391L1.32226e-07 1.6609Z",fill:"currentColor"})),fL=({title:e,titleId:t,...n})=>x.createElement("svg",{height:"1em",viewBox:"0 0 10 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?x.createElement("title",{id:t},e):null,x.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.25 9.25V13.5H5.75V9.25L10 9.25V7.75L5.75 7.75V3.5H4.25V7.75L0 7.75V9.25L4.25 9.25Z"})),dL=({title:e,titleId:t,...n})=>x.createElement("svg",{width:25,height:25,viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?x.createElement("title",{id:t},e):null,x.createElement("path",{d:"M10.2852 24.0745L13.7139 18.0742",stroke:"currentColor",strokeWidth:1.5625}),x.createElement("path",{d:"M14.5742 24.0749L17.1457 19.7891",stroke:"currentColor",strokeWidth:1.5625}),x.createElement("path",{d:"M19.4868 24.0735L20.7229 21.7523C21.3259 20.6143 21.5457 19.3122 21.3496 18.0394C21.1535 16.7666 20.5519 15.591 19.6342 14.6874L23.7984 6.87853C24.0123 6.47728 24.0581 6.00748 23.9256 5.57249C23.7932 5.1375 23.4933 4.77294 23.0921 4.55901C22.6908 4.34509 22.221 4.29932 21.7861 4.43178C21.3511 4.56424 20.9865 4.86408 20.7726 5.26533L16.6084 13.0742C15.3474 12.8142 14.0362 12.9683 12.8699 13.5135C11.7035 14.0586 10.7443 14.9658 10.135 16.1L6 24.0735",stroke:"currentColor",strokeWidth:1.5625}),x.createElement("path",{d:"M4 15L5 13L7 12L5 11L4 9L3 11L1 12L3 13L4 15Z",stroke:"currentColor",strokeWidth:1.5625,strokeLinejoin:"round"}),x.createElement("path",{d:"M11.5 8L12.6662 5.6662L15 4.5L12.6662 3.3338L11.5 1L10.3338 3.3338L8 4.5L10.3338 5.6662L11.5 8Z",stroke:"currentColor",strokeWidth:1.5625,strokeLinejoin:"round"})),hL=({title:e,titleId:t,...n})=>x.createElement("svg",{height:"1em",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?x.createElement("title",{id:t},e):null,x.createElement("path",{d:"M4.75 9.25H1.25V12.75",stroke:"currentColor",strokeWidth:1,strokeLinecap:"square"}),x.createElement("path",{d:"M11.25 6.75H14.75V3.25",stroke:"currentColor",strokeWidth:1,strokeLinecap:"square"}),x.createElement("path",{d:"M14.1036 6.65539C13.8 5.27698 13.0387 4.04193 11.9437 3.15131C10.8487 2.26069 9.48447 1.76694 8.0731 1.75043C6.66173 1.73392 5.28633 2.19563 4.17079 3.0604C3.05526 3.92516 2.26529 5.14206 1.92947 6.513",stroke:"currentColor",strokeWidth:1}),x.createElement("path",{d:"M1.89635 9.34461C2.20001 10.723 2.96131 11.9581 4.05631 12.8487C5.15131 13.7393 6.51553 14.2331 7.9269 14.2496C9.33827 14.2661 10.7137 13.8044 11.8292 12.9396C12.9447 12.0748 13.7347 10.8579 14.0705 9.487",stroke:"currentColor",strokeWidth:1})),pL=({title:e,titleId:t,...n})=>x.createElement("svg",{height:"1em",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?x.createElement("title",{id:t},e):null,x.createElement("rect",{x:.6,y:.6,width:11.8,height:11.8,rx:5.9,stroke:"currentColor",strokeWidth:1.2}),x.createElement("path",{d:"M4.25 7.5C4.25 6 5.75 5 6.5 6.5C7.25 8 8.75 7 8.75 5.5",stroke:"currentColor",strokeWidth:1.2})),mL=({title:e,titleId:t,...n})=>x.createElement("svg",{height:"1em",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?x.createElement("title",{id:t},e):null,x.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.29186 1.92702C9.06924 1.82745 8.87014 1.68202 8.70757 1.50024L7.86631 0.574931C7.62496 0.309957 7.30773 0.12592 6.95791 0.0479385C6.60809 -0.0300431 6.24274 0.00182978 5.91171 0.139208C5.58068 0.276585 5.3001 0.512774 5.10828 0.815537C4.91645 1.1183 4.82272 1.47288 4.83989 1.83089L4.90388 3.08019C4.91612 3.32348 4.87721 3.56662 4.78968 3.79394C4.70215 4.02126 4.56794 4.2277 4.39571 4.39994C4.22347 4.57219 4.01704 4.7064 3.78974 4.79394C3.56243 4.88147 3.3193 4.92038 3.07603 4.90814L1.8308 4.84414C1.47162 4.82563 1.11553 4.91881 0.811445 5.11086C0.507359 5.30292 0.270203 5.58443 0.132561 5.91671C-0.00508149 6.249 -0.0364554 6.61576 0.0427496 6.9666C0.121955 7.31744 0.307852 7.63514 0.5749 7.87606L1.50016 8.71204C1.68193 8.87461 1.82735 9.07373 1.92692 9.29636C2.02648 9.51898 2.07794 9.76012 2.07794 10.004C2.07794 10.2479 2.02648 10.489 1.92692 10.7116C1.82735 10.9343 1.68193 11.1334 1.50016 11.296L0.5749 12.1319C0.309856 12.3729 0.125575 12.6898 0.0471809 13.0393C-0.0312128 13.3888 9.64098e-05 13.754 0.13684 14.0851C0.273583 14.4162 0.509106 14.6971 0.811296 14.8894C1.11349 15.0817 1.46764 15.1762 1.82546 15.1599L3.0707 15.0959C3.31397 15.0836 3.5571 15.1225 3.7844 15.2101C4.01171 15.2976 4.21814 15.4318 4.39037 15.6041C4.56261 15.7763 4.69682 15.9827 4.78435 16.2101C4.87188 16.4374 4.91078 16.6805 4.89855 16.9238L4.83455 18.1691C4.81605 18.5283 4.90921 18.8844 5.10126 19.1885C5.2933 19.4926 5.5748 19.7298 5.90707 19.8674C6.23934 20.0051 6.60608 20.0365 6.9569 19.9572C7.30772 19.878 7.6254 19.6921 7.86631 19.4251L8.7129 18.4998C8.87547 18.318 9.07458 18.1725 9.29719 18.073C9.51981 17.9734 9.76093 17.9219 10.0048 17.9219C10.2487 17.9219 10.4898 17.9734 10.7124 18.073C10.935 18.1725 11.1341 18.318 11.2967 18.4998L12.1326 19.4251C12.3735 19.6921 12.6912 19.878 13.042 19.9572C13.3929 20.0365 13.7596 20.0051 14.0919 19.8674C14.4241 19.7298 14.7056 19.4926 14.8977 19.1885C15.0897 18.8844 15.1829 18.5283 15.1644 18.1691L15.1004 16.9238C15.0882 16.6805 15.1271 16.4374 15.2146 16.2101C15.3021 15.9827 15.4363 15.7763 15.6086 15.6041C15.7808 15.4318 15.9872 15.2976 16.2145 15.2101C16.4418 15.1225 16.685 15.0836 16.9282 15.0959L18.1735 15.1599C18.5326 15.1784 18.8887 15.0852 19.1928 14.8931C19.4969 14.7011 19.7341 14.4196 19.8717 14.0873C20.0093 13.755 20.0407 13.3882 19.9615 13.0374C19.8823 12.6866 19.6964 12.3689 19.4294 12.1279L18.5041 11.292C18.3223 11.1294 18.1769 10.9303 18.0774 10.7076C17.9778 10.485 17.9263 10.2439 17.9263 10C17.9263 9.75612 17.9778 9.51499 18.0774 9.29236C18.1769 9.06973 18.3223 8.87062 18.5041 8.70804L19.4294 7.87206C19.6964 7.63114 19.8823 7.31344 19.9615 6.9626C20.0407 6.61176 20.0093 6.245 19.8717 5.91271C19.7341 5.58043 19.4969 5.29892 19.1928 5.10686C18.8887 4.91481 18.5326 4.82163 18.1735 4.84014L16.9282 4.90414C16.685 4.91638 16.4418 4.87747 16.2145 4.78994C15.9872 4.7024 15.7808 4.56818 15.6086 4.39594C15.4363 4.2237 15.3021 4.01726 15.2146 3.78994C15.1271 3.56262 15.0882 3.31948 15.1004 3.07619L15.1644 1.83089C15.1829 1.4717 15.0897 1.11559 14.8977 0.811487C14.7056 0.507385 14.4241 0.270217 14.0919 0.132568C13.7596 -0.00508182 13.3929 -0.0364573 13.042 0.0427519C12.6912 0.121961 12.3735 0.307869 12.1326 0.574931L11.2914 1.50024C11.1288 1.68202 10.9297 1.82745 10.7071 1.92702C10.4845 2.02659 10.2433 2.07805 9.99947 2.07805C9.7556 2.07805 9.51448 2.02659 9.29186 1.92702ZM14.3745 10C14.3745 12.4162 12.4159 14.375 9.99977 14.375C7.58365 14.375 5.625 12.4162 5.625 10C5.625 7.58375 7.58365 5.625 9.99977 5.625C12.4159 5.625 14.3745 7.58375 14.3745 10Z",fill:"currentColor"})),gL=({title:e,titleId:t,...n})=>x.createElement("svg",{height:"1em",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?x.createElement("title",{id:t},e):null,x.createElement("path",{d:"M6.5782 1.07092C6.71096 0.643026 7.28904 0.643027 7.4218 1.07092L8.59318 4.84622C8.65255 5.03758 8.82284 5.16714 9.01498 5.16714L12.8056 5.16714C13.2353 5.16714 13.4139 5.74287 13.0663 6.00732L9.99962 8.34058C9.84418 8.45885 9.77913 8.66848 9.83851 8.85984L11.0099 12.6351C11.1426 13.063 10.675 13.4189 10.3274 13.1544L7.26069 10.8211C7.10524 10.7029 6.89476 10.7029 6.73931 10.8211L3.6726 13.1544C3.32502 13.4189 2.85735 13.063 2.99012 12.6351L4.16149 8.85984C4.22087 8.66848 4.15582 8.45885 4.00038 8.34058L0.933671 6.00732C0.586087 5.74287 0.764722 5.16714 1.19436 5.16714L4.98502 5.16714C5.17716 5.16714 5.34745 5.03758 5.40682 4.84622L6.5782 1.07092Z",fill:"currentColor",stroke:"currentColor"})),vL=({title:e,titleId:t,...n})=>x.createElement("svg",{height:"1em",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?x.createElement("title",{id:t},e):null,x.createElement("path",{d:"M6.5782 1.07092C6.71096 0.643026 7.28904 0.643027 7.4218 1.07092L8.59318 4.84622C8.65255 5.03758 8.82284 5.16714 9.01498 5.16714L12.8056 5.16714C13.2353 5.16714 13.4139 5.74287 13.0663 6.00732L9.99962 8.34058C9.84418 8.45885 9.77913 8.66848 9.83851 8.85984L11.0099 12.6351C11.1426 13.063 10.675 13.4189 10.3274 13.1544L7.26069 10.8211C7.10524 10.7029 6.89476 10.7029 6.73931 10.8211L3.6726 13.1544C3.32502 13.4189 2.85735 13.063 2.99012 12.6351L4.16149 8.85984C4.22087 8.66848 4.15582 8.45885 4.00038 8.34058L0.933671 6.00732C0.586087 5.74287 0.764722 5.16714 1.19436 5.16714L4.98502 5.16714C5.17716 5.16714 5.34745 5.03758 5.40682 4.84622L6.5782 1.07092Z",stroke:"currentColor",strokeWidth:1.5})),yL=({title:e,titleId:t,...n})=>x.createElement("svg",{height:"1em",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?x.createElement("title",{id:t},e):null,x.createElement("rect",{width:16,height:16,rx:2,fill:"currentColor"})),bL=({title:e,titleId:t,...n})=>x.createElement("svg",{width:"1em",height:"5em",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd","aria-hidden":"true",viewBox:"0 0 23 23",style:{height:"1.5em"},clipRule:"evenodd","aria-labelledby":t,...n},e?x.createElement("title",{id:t},e):null,x.createElement("path",{d:"M19 24h-14c-1.104 0-2-.896-2-2v-17h-1v-2h6v-1.5c0-.827.673-1.5 1.5-1.5h5c.825 0 1.5.671 1.5 1.5v1.5h6v2h-1v17c0 1.104-.896 2-2 2zm0-19h-14v16.5c0 .276.224.5.5.5h13c.276 0 .5-.224.5-.5v-16.5zm-7 7.586l3.293-3.293 1.414 1.414-3.293 3.293 3.293 3.293-1.414 1.414-3.293-3.293-3.293 3.293-1.414-1.414 3.293-3.293-3.293-3.293 1.414-1.414 3.293 3.293zm2-10.586h-4v1h4v-1z",fill:"currentColor",strokeWidth:.25,stroke:"currentColor"})),xL=({title:e,titleId:t,...n})=>x.createElement("svg",{height:"1em",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?x.createElement("title",{id:t},e):null,x.createElement("rect",{x:.6,y:.6,width:11.8,height:11.8,rx:5.9,stroke:"currentColor",strokeWidth:1.2}),x.createElement("rect",{x:5.5,y:5.5,width:2,height:2,rx:1,fill:"currentColor"})),EL=tt(Hk),TL=tt(qk),SL=tt(Gk),_L=tt(Yk),s2=tt(Qk),CL=tt(Xk),AL=tt(Zk),wL=tt(Wk),DL=tt(Kk),NL=tt(Jk),OL=tt(eL),RL=tt(tL),ML=tt(nL),kL=tt(iL),LL=tt(rL),IL=tt(uL),FL=tt(oL),jL=tt(sL),PL=tt(aL),VL=tt(lL),BL=tt(cL),$L=tt(fL),UL=tt(dL),zL=tt(hL),HL=tt(pL),qL=tt(mL),GL=tt(gL),YL=tt(vL),QL=tt(yL),XL=tt(bL),bd=tt(xL);function tt(e){const t=e.name.replace("Svg","").replaceAll(/([A-Z])/g," $1").trimStart().toLowerCase()+" icon";function n(i){const r=ge.c(2);let o;return r[0]!==i?(o=_.jsx(e,{title:t,...i}),r[0]=i,r[1]=o):o=r[1],o}return n.displayName=e.name,n}function uS(e){var t,n,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=uS(e[t]))&&(i&&(i+=" "),i+=n);else for(t in e)e[t]&&(i&&(i+=" "),i+=t);return i}function dt(){for(var e,t,n=0,i="";n<arguments.length;)(e=arguments[n++])&&(t=uS(e))&&(i&&(i+=" "),i+=t);return i}function Qm(e){const t=ge.c(13);let n,i;t[0]!==e?({isHidden:i,...n}=e,t[0]=e,t[1]=n,t[2]=i):(n=t[1],i=t[2]);let r;t[3]===Symbol.for("react.memo_cache_sentinel")?(r={nonNull:!0,caller:Qm},t[3]=r):r=t[3];const{headerEditor:o}=bn(r),a=YT(n,Qm);let c,f;t[4]!==o||t[5]!==i?(c=()=>{i||o==null||o.refresh()},f=[o,i],t[4]=o,t[5]=i,t[6]=c,t[7]=f):(c=t[6],f=t[7]),x.useEffect(c,f);const h=i&&"hidden";let p;t[8]!==h?(p=dt("graphiql-editor",h),t[8]=h,t[9]=p):p=t[9];let g;return t[10]!==a||t[11]!==p?(g=_.jsx("div",{className:p,ref:a}),t[10]=a,t[11]=p,t[12]=g):g=t[12],g}function Xm(e){var t;const n=ge.c(14);let i;n[0]===Symbol.for("react.memo_cache_sentinel")?(i={width:null,height:null},n[0]=i):i=n[0];const[r,o]=x.useState(i),[a,c]=x.useState(null),f=x.useRef(null),h=(t=oS(e.token))==null?void 0:t.href;let p,g;n[1]!==h?(p=()=>{if(f.current){if(!h){o({width:null,height:null}),c(null);return}fetch(h,{method:"HEAD"}).then(A=>{c(A.headers.get("Content-Type"))}).catch(()=>{c(null)})}},g=[h],n[1]=h,n[2]=p,n[3]=g):(p=n[2],g=n[3]),x.useEffect(p,g);let y;n[4]!==r.height||n[5]!==r.width||n[6]!==a?(y=r.width!==null&&r.height!==null?_.jsxs("div",{children:[r.width,"x",r.height,a===null?null:" "+a]}):null,n[4]=r.height,n[5]=r.width,n[6]=a,n[7]=y):y=n[7];const v=y;let E;n[8]===Symbol.for("react.memo_cache_sentinel")?(E=()=>{var A,D;o({width:((A=f.current)==null?void 0:A.naturalWidth)??null,height:((D=f.current)==null?void 0:D.naturalHeight)??null})},n[8]=E):E=n[8];let T;n[9]!==h?(T=_.jsx("img",{onLoad:E,ref:f,src:h}),n[9]=h,n[10]=T):T=n[10];let S;return n[11]!==v||n[12]!==T?(S=_.jsxs("div",{children:[T,v]}),n[11]=v,n[12]=T,n[13]=S):S=n[13],S}Xm.shouldRender=function(t){const n=oS(t);return n?ZL(n):!1};function oS(e){if(e.type!=="string")return;const t=e.string.slice(1).slice(0,-1).trim();try{return new URL(t,location.protocol+"//"+location.host)}catch{}}function ZL(e){return/\.(bmp|gif|jpe?g|png|svg|webp)$/.test(e.pathname)}function sS(e){const t=ge.c(2),n=QT(e,sS);let i;return t[0]!==n?(i=_.jsx("div",{className:"graphiql-editor",ref:n}),t[0]=n,t[1]=i):i=t[1],i}function WL(){return Fc([We(()=>import("./foldgutter-CNvWBdVI.js").then(e=>e.f),__vite__mapDeps([7,1])),We(()=>import("./brace-fold-CbvXwIyh.js").then(e=>e.b),__vite__mapDeps([6,1])),We(()=>import("./dialog-74yvRjdg.js").then(e=>e.d),__vite__mapDeps([13,12,1])),We(()=>import("./search-BzUGWzlS.js").then(e=>e.s),__vite__mapDeps([17,1,10,12])),We(()=>import("./searchcursor-CHMRisY0.js").then(e=>e.s),__vite__mapDeps([9,10,1])),We(()=>import("./jump-to-line-Hq5vq2W4.js").then(e=>e.j),__vite__mapDeps([11,1,12])),We(()=>import("./sublime-2ochNaKe.js").then(e=>e.s),__vite__mapDeps([14,1,10,4])),We(()=>import("./mode-CJXCb3SU.js"),__vite__mapDeps([31,0,1,27])),We(()=>import("./info-addon-BjO9oTYK.js"),__vite__mapDeps([24,0,1]))],{useCommonAddons:!1})}const s6=aS;function aS(e,t){const n=ge.c(19);let i;n[0]!==e?(i=e===void 0?{}:e,n[0]=e,n[1]=i):i=n[1];const{responseTooltip:r,editorTheme:o,keyMap:a}=i,c=o===void 0?A0:o,f=a===void 0?w0:a,h=t||s6;let p;n[2]!==h?(p={nonNull:!0,caller:h},n[2]=h,n[3]=p):p=n[3];const{fetchError:g,validationErrors:y}=Dr(p),v=t||s6;let E;n[4]!==v?(E={nonNull:!0,caller:v},n[4]=v,n[5]=E):E=n[5];const{initialResponse:T,responseEditor:S,setResponseEditor:A}=bn(E),D=x.useRef(null),C=x.useRef(r);let N,O;n[6]!==r?(N=()=>{C.current=r},O=[r],n[6]=r,n[7]=N,n[8]=O):(N=n[7],O=n[8]),x.useEffect(N,O);let k,I;n[9]!==c||n[10]!==T||n[11]!==A?(k=()=>{let B;return B=!0,WL().then(z=>{if(!B)return;const te=document.createElement("div"),re=E5.createRoot(te);z.registerHelper("info","graphql-results",(F,H,$,V)=>{const M=C.current,q=[M&&_.jsx(M,{pos:V,token:F}),Xm.shouldRender(F)&&_.jsx(Xm,{token:F},"image-preview")].filter(KL);if(q.length)return re.render(q),te;re.unmount()});const fe=D.current;if(!fe)return;const X=z(fe,{value:T,lineWrapping:!0,readOnly:!0,theme:c,mode:"graphql-results",foldGutter:!0,gutters:["CodeMirror-foldgutter"],info:!0,extraKeys:D0});A(X)}),()=>{B=!1}},I=[c,T,A],n[9]=c,n[10]=T,n[11]=A,n[12]=k,n[13]=I):(k=n[12],I=n[13]),x.useEffect(k,I),L0(S,"keyMap",f);let P,L;return n[14]!==g||n[15]!==S||n[16]!==y?(P=()=>{g&&(S==null||S.setValue(g)),y.length&&(S==null||S.setValue(dc(y)))},L=[S,g,y],n[14]=g,n[15]=S,n[16]=y,n[17]=P,n[18]=L):(P=n[17],L=n[18]),x.useEffect(P,L),D}function KL(e){return!!e}function lS(e){const t=ge.c(2),n=aS(e,lS);let i;return t[0]!==n?(i=_.jsx("section",{className:"result-window","aria-label":"Result Window","aria-live":"polite","aria-atomic":"true",ref:n}),t[0]=n,t[1]=i):i=t[1],i}function Zm(e){const t=ge.c(13);let n,i;t[0]!==e?({isHidden:i,...n}=e,t[0]=e,t[1]=n,t[2]=i):(n=t[1],i=t[2]);let r;t[3]===Symbol.for("react.memo_cache_sentinel")?(r={nonNull:!0,caller:Zm},t[3]=r):r=t[3];const{variableEditor:o}=bn(r),a=eS(n,Zm);let c,f;t[4]!==i||t[5]!==o?(c=()=>{o&&!i&&o.refresh()},f=[o,i],t[4]=i,t[5]=o,t[6]=c,t[7]=f):(c=t[6],f=t[7]),x.useEffect(c,f);const h=i&&"hidden";let p;t[8]!==h?(p=dt("graphiql-editor",h),t[8]=h,t[9]=p):p=t[9];let g;return t[10]!==a||t[11]!==p?(g=_.jsx("div",{className:p,ref:a}),t[10]=a,t[11]=p,t[12]=g):g=t[12],g}function k1(e){const t=ge.c(31),{defaultSizeRelation:n,direction:i,initiallyHidden:r,onHiddenElementChange:o,sizeThresholdFirst:a,sizeThresholdSecond:c,storageKey:f}=e,h=n===void 0?JL:n,p=a===void 0?100:a,g=c===void 0?100:c,y=ao();let v;t[0]!==y||t[1]!==f?(v=xa(500,X=>{f&&(y==null||y.set(f,X))}),t[0]=y,t[1]=f,t[2]=v):v=t[2];const E=v;let T;t[3]!==r||t[4]!==y||t[5]!==f?(T=()=>{const X=f&&(y==null?void 0:y.get(f));return X===xd||r==="first"?"first":X===Ed||r==="second"?"second":null},t[3]=r,t[4]=y,t[5]=f,t[6]=T):T=t[6];const[S,A]=x.useState(T);let D;t[7]!==S||t[8]!==o?(D=X=>{X!==S&&(A(X),o==null||o(X))},t[7]=S,t[8]=o,t[9]=D):D=t[9];const C=D,N=x.useRef(null),O=x.useRef(null),k=x.useRef(null),I=x.useRef(`${h}`);let P;t[10]!==y||t[11]!==f?(P=()=>{const X=f&&(y==null?void 0:y.get(f))||I.current;N.current&&(N.current.style.display="flex",N.current.style.flex=X===xd||X===Ed?I.current:X),k.current&&(k.current.style.display="flex",k.current.style.flex="1"),O.current&&(O.current.style.display="flex")},t[10]=y,t[11]=f,t[12]=P):P=t[12];let L;t[13]!==i||t[14]!==y||t[15]!==f?(L=[i,y,f],t[13]=i,t[14]=y,t[15]=f,t[16]=L):L=t[16],x.useLayoutEffect(P,L);let B,z;t[17]!==S||t[18]!==y||t[19]!==f?(z=()=>{const X=H=>{const $=H==="first"?N.current:k.current;if($&&($.style.left="-1000px",$.style.position="absolute",$.style.opacity="0",$.style.height="500px",$.style.width="500px",N.current)){const V=parseFloat(N.current.style.flex);(!Number.isFinite(V)||V<1)&&(N.current.style.flex="1")}},F=H=>{const $=H==="first"?N.current:k.current;if($&&($.style.width="",$.style.height="",$.style.opacity="",$.style.position="",$.style.left="",y&&f)){const V=y.get(f);N.current&&V!==xd&&V!==Ed&&(N.current.style.flex=V||I.current)}};S==="first"?X("first"):F("first"),S==="second"?X("second"):F("second")},B=[S,y,f],t[17]=S,t[18]=y,t[19]=f,t[20]=B,t[21]=z):(B=t[20],z=t[21]),x.useLayoutEffect(z,B);let te,re;t[22]!==i||t[23]!==C||t[24]!==p||t[25]!==g||t[26]!==E?(te=()=>{if(!O.current||!N.current||!k.current)return;const X=O.current,F=N.current,H=F.parentElement,$=i==="horizontal"?"clientX":"clientY",V=i==="horizontal"?"left":"top",M=i==="horizontal"?"right":"bottom",q=i==="horizontal"?"clientWidth":"clientHeight",ie=function(pe){pe.preventDefault();const oe=pe[$]-X.getBoundingClientRect()[V],le=function(ve){if(ve.buttons===0)return ue();const He=ve[$]-H.getBoundingClientRect()[V]-oe,lt=H.getBoundingClientRect()[M]-ve[$]+oe-X[q];if(He<p)C("first"),E(xd);else if(lt<g)C("second"),E(Ed);else{C(null);const Te=`${He/lt}`;F.style.flex=Te,E(Te)}};function ue(){document.removeEventListener("mousemove",le),document.removeEventListener("mouseup",ue)}document.addEventListener("mousemove",le),document.addEventListener("mouseup",ue)};X.addEventListener("mousedown",ie);const ne=function(){N.current&&(N.current.style.flex=I.current),E(I.current),C(null)};return X.addEventListener("dblclick",ne),()=>{X.removeEventListener("mousedown",ie),X.removeEventListener("dblclick",ne)}},re=[i,C,p,g,E],t[22]=i,t[23]=C,t[24]=p,t[25]=g,t[26]=E,t[27]=te,t[28]=re):(te=t[27],re=t[28]),x.useEffect(te,re);let fe;return t[29]!==S?(fe={dragBarRef:O,hiddenElement:S,firstRef:N,setHiddenElement:A,secondRef:k},t[29]=S,t[30]=fe):fe=t[30],fe}const JL=1,xd="hide-first",Ed="hide-second",Wt=x.forwardRef((e,t)=>{const n=ge.c(6);let i;n[0]!==e.className?(i=dt("graphiql-un-styled",e.className),n[0]=e.className,n[1]=i):i=n[1];let r;return n[2]!==e||n[3]!==t||n[4]!==i?(r=_.jsx("button",{...e,ref:t,className:i}),n[2]=e,n[3]=t,n[4]=i,n[5]=r):r=n[5],r});Wt.displayName="UnStyledButton";const qi=x.forwardRef((e,t)=>{const n=ge.c(7);let i;n[0]!==e.className||n[1]!==e.state?(i=dt("graphiql-button",{success:"graphiql-button-success",error:"graphiql-button-error"}[e.state],e.className),n[0]=e.className,n[1]=e.state,n[2]=i):i=n[2];let r;return n[3]!==e||n[4]!==t||n[5]!==i?(r=_.jsx("button",{...e,ref:t,className:i}),n[3]=e,n[4]=t,n[5]=i,n[6]=r):r=n[6],r});qi.displayName="Button";const Wm=x.forwardRef((e,t)=>{const n=ge.c(6);let i;n[0]!==e.className?(i=dt("graphiql-button-group",e.className),n[0]=e.className,n[1]=i):i=n[1];let r;return n[2]!==e||n[3]!==t||n[4]!==i?(r=_.jsx("div",{...e,ref:t,className:i}),n[2]=e,n[3]=t,n[4]=i,n[5]=r):r=n[5],r});Wm.displayName="ButtonGroup";function Oe(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e==null||e(r),n===!1||!r.defaultPrevented)return t==null?void 0:t(r)}}function a6(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function I0(...e){return t=>{let n=!1;const i=e.map(r=>{const o=a6(r,t);return!n&&typeof o=="function"&&(n=!0),o});if(n)return()=>{for(let r=0;r<i.length;r++){const o=i[r];typeof o=="function"?o():a6(e[r],null)}}}}function Kt(...e){return x.useCallback(I0(...e),e)}function eI(e,t){const n=x.createContext(t),i=o=>{const{children:a,...c}=o,f=x.useMemo(()=>c,Object.values(c));return _.jsx(n.Provider,{value:f,children:a})};i.displayName=e+"Provider";function r(o){const a=x.useContext(n);if(a)return a;if(t!==void 0)return t;throw new Error(`\`${o}\` must be used within \`${e}\``)}return[i,r]}function is(e,t=[]){let n=[];function i(o,a){const c=x.createContext(a),f=n.length;n=[...n,a];const h=g=>{var A;const{scope:y,children:v,...E}=g,T=((A=y==null?void 0:y[e])==null?void 0:A[f])||c,S=x.useMemo(()=>E,Object.values(E));return _.jsx(T.Provider,{value:S,children:v})};h.displayName=o+"Provider";function p(g,y){var T;const v=((T=y==null?void 0:y[e])==null?void 0:T[f])||c,E=x.useContext(v);if(E)return E;if(a!==void 0)return a;throw new Error(`\`${g}\` must be used within \`${o}\``)}return[h,p]}const r=()=>{const o=n.map(a=>x.createContext(a));return function(c){const f=(c==null?void 0:c[e])||o;return x.useMemo(()=>({[`__scope${e}`]:{...c,[e]:f}}),[c,f])}};return r.scopeName=e,[i,tI(r,...t)]}function tI(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const i=e.map(r=>({useScope:r(),scopeName:r.scopeName}));return function(o){const a=i.reduce((c,{useScope:f,scopeName:h})=>{const g=f(o)[`__scope${h}`];return{...c,...g}},{});return x.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}var ro=globalThis!=null&&globalThis.document?x.useLayoutEffect:()=>{},nI=uc[" useId ".trim().toString()]||(()=>{}),iI=0;function $o(e){const[t,n]=x.useState(nI());return ro(()=>{n(i=>i??String(iI++))},[e]),e||(t?`radix-${t}`:"")}var rI=uc[" useInsertionEffect ".trim().toString()]||ro;function F0({prop:e,defaultProp:t,onChange:n=()=>{},caller:i}){const[r,o,a]=uI({defaultProp:t,onChange:n}),c=e!==void 0,f=c?e:r;{const p=x.useRef(e!==void 0);x.useEffect(()=>{const g=p.current;g!==c&&console.warn(`${i} is changing from ${g?"controlled":"uncontrolled"} to ${c?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),p.current=c},[c,i])}const h=x.useCallback(p=>{var g;if(c){const y=oI(p)?p(e):p;y!==e&&((g=a.current)==null||g.call(a,y))}else o(p)},[c,e,o,a]);return[f,h]}function uI({defaultProp:e,onChange:t}){const[n,i]=x.useState(e),r=x.useRef(n),o=x.useRef(t);return rI(()=>{o.current=t},[t]),x.useEffect(()=>{var a;r.current!==n&&((a=o.current)==null||a.call(o,n),r.current=n)},[n,r]),[n,i,o]}function oI(e){return typeof e=="function"}var On=x5();const sI=Wo(On);function bc(e){const t=aI(e),n=x.forwardRef((i,r)=>{const{children:o,...a}=i,c=x.Children.toArray(o),f=c.find(cI);if(f){const h=f.props.children,p=c.map(g=>g===f?x.Children.count(h)>1?x.Children.only(null):x.isValidElement(h)?h.props.children:null:g);return _.jsx(t,{...a,ref:r,children:x.isValidElement(h)?x.cloneElement(h,void 0,p):null})}return _.jsx(t,{...a,ref:r,children:o})});return n.displayName=`${e}.Slot`,n}function aI(e){const t=x.forwardRef((n,i)=>{const{children:r,...o}=n;if(x.isValidElement(r)){const a=dI(r),c=fI(o,r.props);return r.type!==x.Fragment&&(c.ref=i?I0(i,a):a),x.cloneElement(r,c)}return x.Children.count(r)>1?x.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var cS=Symbol("radix.slottable");function lI(e){const t=({children:n})=>_.jsx(_.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=cS,t}function cI(e){return x.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===cS}function fI(e,t){const n={...t};for(const i in t){const r=e[i],o=t[i];/^on[A-Z]/.test(i)?r&&o?n[i]=(...c)=>{const f=o(...c);return r(...c),f}:r&&(n[i]=r):i==="style"?n[i]={...r,...o}:i==="className"&&(n[i]=[r,o].filter(Boolean).join(" "))}return{...e,...n}}function dI(e){var i,r;let t=(i=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:i.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(r=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var hI=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Mt=hI.reduce((e,t)=>{const n=bc(`Primitive.${t}`),i=x.forwardRef((r,o)=>{const{asChild:a,...c}=r,f=a?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),_.jsx(f,{...c,ref:o})});return i.displayName=`Primitive.${t}`,{...e,[t]:i}},{});function fS(e,t){e&&On.flushSync(()=>e.dispatchEvent(t))}function cu(e){const t=x.useRef(e);return x.useEffect(()=>{t.current=e}),x.useMemo(()=>(...n)=>{var i;return(i=t.current)==null?void 0:i.call(t,...n)},[])}function pI(e,t=globalThis==null?void 0:globalThis.document){const n=cu(e);x.useEffect(()=>{const i=r=>{r.key==="Escape"&&n(r)};return t.addEventListener("keydown",i,{capture:!0}),()=>t.removeEventListener("keydown",i,{capture:!0})},[n,t])}var mI="DismissableLayer",Km="dismissableLayer.update",gI="dismissableLayer.pointerDownOutside",vI="dismissableLayer.focusOutside",l6,dS=x.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),j0=x.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:i,onPointerDownOutside:r,onFocusOutside:o,onInteractOutside:a,onDismiss:c,...f}=e,h=x.useContext(dS),[p,g]=x.useState(null),y=(p==null?void 0:p.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,v]=x.useState({}),E=Kt(t,I=>g(I)),T=Array.from(h.layers),[S]=[...h.layersWithOutsidePointerEventsDisabled].slice(-1),A=T.indexOf(S),D=p?T.indexOf(p):-1,C=h.layersWithOutsidePointerEventsDisabled.size>0,N=D>=A,O=xI(I=>{const P=I.target,L=[...h.branches].some(B=>B.contains(P));!N||L||(r==null||r(I),a==null||a(I),I.defaultPrevented||c==null||c())},y),k=EI(I=>{const P=I.target;[...h.branches].some(B=>B.contains(P))||(o==null||o(I),a==null||a(I),I.defaultPrevented||c==null||c())},y);return pI(I=>{D===h.layers.size-1&&(i==null||i(I),!I.defaultPrevented&&c&&(I.preventDefault(),c()))},y),x.useEffect(()=>{if(p)return n&&(h.layersWithOutsidePointerEventsDisabled.size===0&&(l6=y.body.style.pointerEvents,y.body.style.pointerEvents="none"),h.layersWithOutsidePointerEventsDisabled.add(p)),h.layers.add(p),c6(),()=>{n&&h.layersWithOutsidePointerEventsDisabled.size===1&&(y.body.style.pointerEvents=l6)}},[p,y,n,h]),x.useEffect(()=>()=>{p&&(h.layers.delete(p),h.layersWithOutsidePointerEventsDisabled.delete(p),c6())},[p,h]),x.useEffect(()=>{const I=()=>v({});return document.addEventListener(Km,I),()=>document.removeEventListener(Km,I)},[]),_.jsx(Mt.div,{...f,ref:E,style:{pointerEvents:C?N?"auto":"none":void 0,...e.style},onFocusCapture:Oe(e.onFocusCapture,k.onFocusCapture),onBlurCapture:Oe(e.onBlurCapture,k.onBlurCapture),onPointerDownCapture:Oe(e.onPointerDownCapture,O.onPointerDownCapture)})});j0.displayName=mI;var yI="DismissableLayerBranch",bI=x.forwardRef((e,t)=>{const n=x.useContext(dS),i=x.useRef(null),r=Kt(t,i);return x.useEffect(()=>{const o=i.current;if(o)return n.branches.add(o),()=>{n.branches.delete(o)}},[n.branches]),_.jsx(Mt.div,{...e,ref:r})});bI.displayName=yI;function xI(e,t=globalThis==null?void 0:globalThis.document){const n=cu(e),i=x.useRef(!1),r=x.useRef(()=>{});return x.useEffect(()=>{const o=c=>{if(c.target&&!i.current){let f=function(){hS(gI,n,h,{discrete:!0})};const h={originalEvent:c};c.pointerType==="touch"?(t.removeEventListener("click",r.current),r.current=f,t.addEventListener("click",r.current,{once:!0})):f()}else t.removeEventListener("click",r.current);i.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",o),t.removeEventListener("click",r.current)}},[t,n]),{onPointerDownCapture:()=>i.current=!0}}function EI(e,t=globalThis==null?void 0:globalThis.document){const n=cu(e),i=x.useRef(!1);return x.useEffect(()=>{const r=o=>{o.target&&!i.current&&hS(vI,n,{originalEvent:o},{discrete:!1})};return t.addEventListener("focusin",r),()=>t.removeEventListener("focusin",r)},[t,n]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}function c6(){const e=new CustomEvent(Km);document.dispatchEvent(e)}function hS(e,t,n,{discrete:i}){const r=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),i?fS(r,o):r.dispatchEvent(o)}var L1="focusScope.autoFocusOnMount",I1="focusScope.autoFocusOnUnmount",f6={bubbles:!1,cancelable:!0},TI="FocusScope",a2=x.forwardRef((e,t)=>{const{loop:n=!1,trapped:i=!1,onMountAutoFocus:r,onUnmountAutoFocus:o,...a}=e,[c,f]=x.useState(null),h=cu(r),p=cu(o),g=x.useRef(null),y=Kt(t,T=>f(T)),v=x.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;x.useEffect(()=>{if(i){let T=function(C){if(v.paused||!c)return;const N=C.target;c.contains(N)?g.current=N:Zu(g.current,{select:!0})},S=function(C){if(v.paused||!c)return;const N=C.relatedTarget;N!==null&&(c.contains(N)||Zu(g.current,{select:!0}))},A=function(C){if(document.activeElement===document.body)for(const O of C)O.removedNodes.length>0&&Zu(c)};document.addEventListener("focusin",T),document.addEventListener("focusout",S);const D=new MutationObserver(A);return c&&D.observe(c,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",T),document.removeEventListener("focusout",S),D.disconnect()}}},[i,c,v.paused]),x.useEffect(()=>{if(c){h6.add(v);const T=document.activeElement;if(!c.contains(T)){const A=new CustomEvent(L1,f6);c.addEventListener(L1,h),c.dispatchEvent(A),A.defaultPrevented||(SI(DI(pS(c)),{select:!0}),document.activeElement===T&&Zu(c))}return()=>{c.removeEventListener(L1,h),setTimeout(()=>{const A=new CustomEvent(I1,f6);c.addEventListener(I1,p),c.dispatchEvent(A),A.defaultPrevented||Zu(T??document.body,{select:!0}),c.removeEventListener(I1,p),h6.remove(v)},0)}}},[c,h,p,v]);const E=x.useCallback(T=>{if(!n&&!i||v.paused)return;const S=T.key==="Tab"&&!T.altKey&&!T.ctrlKey&&!T.metaKey,A=document.activeElement;if(S&&A){const D=T.currentTarget,[C,N]=_I(D);C&&N?!T.shiftKey&&A===N?(T.preventDefault(),n&&Zu(C,{select:!0})):T.shiftKey&&A===C&&(T.preventDefault(),n&&Zu(N,{select:!0})):A===D&&T.preventDefault()}},[n,i,v.paused]);return _.jsx(Mt.div,{tabIndex:-1,...a,ref:y,onKeyDown:E})});a2.displayName=TI;function SI(e,{select:t=!1}={}){const n=document.activeElement;for(const i of e)if(Zu(i,{select:t}),document.activeElement!==n)return}function _I(e){const t=pS(e),n=d6(t,e),i=d6(t.reverse(),e);return[n,i]}function pS(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:i=>{const r=i.tagName==="INPUT"&&i.type==="hidden";return i.disabled||i.hidden||r?NodeFilter.FILTER_SKIP:i.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function d6(e,t){for(const n of e)if(!CI(n,{upTo:t}))return n}function CI(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function AI(e){return e instanceof HTMLInputElement&&"select"in e}function Zu(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&AI(e)&&t&&e.select()}}var h6=wI();function wI(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=p6(e,t),e.unshift(t)},remove(t){var n;e=p6(e,t),(n=e[0])==null||n.resume()}}}function p6(e,t){const n=[...e],i=n.indexOf(t);return i!==-1&&n.splice(i,1),n}function DI(e){return e.filter(t=>t.tagName!=="A")}var NI="Portal",P0=x.forwardRef((e,t)=>{var c;const{container:n,...i}=e,[r,o]=x.useState(!1);ro(()=>o(!0),[]);const a=n||r&&((c=globalThis==null?void 0:globalThis.document)==null?void 0:c.body);return a?sI.createPortal(_.jsx(Mt.div,{...i,ref:t}),a):null});P0.displayName=NI;function OI(e,t){return x.useReducer((n,i)=>t[n][i]??n,e)}var Rr=e=>{const{present:t,children:n}=e,i=RI(t),r=typeof n=="function"?n({present:i.isPresent}):x.Children.only(n),o=Kt(i.ref,MI(r));return typeof n=="function"||i.isPresent?x.cloneElement(r,{ref:o}):null};Rr.displayName="Presence";function RI(e){const[t,n]=x.useState(),i=x.useRef(null),r=x.useRef(e),o=x.useRef("none"),a=e?"mounted":"unmounted",[c,f]=OI(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return x.useEffect(()=>{const h=Td(i.current);o.current=c==="mounted"?h:"none"},[c]),ro(()=>{const h=i.current,p=r.current;if(p!==e){const y=o.current,v=Td(h);e?f("MOUNT"):v==="none"||(h==null?void 0:h.display)==="none"?f("UNMOUNT"):f(p&&y!==v?"ANIMATION_OUT":"UNMOUNT"),r.current=e}},[e,f]),ro(()=>{if(t){let h;const p=t.ownerDocument.defaultView??window,g=v=>{const T=Td(i.current).includes(v.animationName);if(v.target===t&&T&&(f("ANIMATION_END"),!r.current)){const S=t.style.animationFillMode;t.style.animationFillMode="forwards",h=p.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=S)})}},y=v=>{v.target===t&&(o.current=Td(i.current))};return t.addEventListener("animationstart",y),t.addEventListener("animationcancel",g),t.addEventListener("animationend",g),()=>{p.clearTimeout(h),t.removeEventListener("animationstart",y),t.removeEventListener("animationcancel",g),t.removeEventListener("animationend",g)}}else f("ANIMATION_END")},[t,f]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:x.useCallback(h=>{i.current=h?getComputedStyle(h):null,n(h)},[])}}function Td(e){return(e==null?void 0:e.animationName)||"none"}function MI(e){var i,r;let t=(i=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:i.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(r=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var F1=0;function mS(){x.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??m6()),document.body.insertAdjacentElement("beforeend",e[1]??m6()),F1++,()=>{F1===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),F1--}},[])}function m6(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var mr=function(){return mr=Object.assign||function(t){for(var n,i=1,r=arguments.length;i<r;i++){n=arguments[i];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},mr.apply(this,arguments)};function gS(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]]);return n}function kI(e,t,n){if(n||arguments.length===2)for(var i=0,r=t.length,o;i<r;i++)(o||!(i in t))&&(o||(o=Array.prototype.slice.call(t,0,i)),o[i]=t[i]);return e.concat(o||Array.prototype.slice.call(t))}var jd="right-scroll-bar-position",Pd="width-before-scroll-bar",LI="with-scroll-bars-hidden",II="--removed-body-scroll-bar-size";function j1(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function FI(e,t){var n=x.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(i){var r=n.value;r!==i&&(n.value=i,n.callback(i,r))}}}})[0];return n.callback=t,n.facade}var jI=typeof window<"u"?x.useLayoutEffect:x.useEffect,g6=new WeakMap;function PI(e,t){var n=FI(null,function(i){return e.forEach(function(r){return j1(r,i)})});return jI(function(){var i=g6.get(n);if(i){var r=new Set(i),o=new Set(e),a=n.current;r.forEach(function(c){o.has(c)||j1(c,null)}),o.forEach(function(c){r.has(c)||j1(c,a)})}g6.set(n,e)},[e]),n}function VI(e){return e}function BI(e,t){t===void 0&&(t=VI);var n=[],i=!1,r={read:function(){if(i)throw new 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(o){var a=t(o,i);return n.push(a),function(){n=n.filter(function(c){return c!==a})}},assignSyncMedium:function(o){for(i=!0;n.length;){var a=n;n=[],a.forEach(o)}n={push:function(c){return o(c)},filter:function(){return n}}},assignMedium:function(o){i=!0;var a=[];if(n.length){var c=n;n=[],c.forEach(o),a=n}var f=function(){var p=a;a=[],p.forEach(o)},h=function(){return Promise.resolve().then(f)};h(),n={push:function(p){a.push(p),h()},filter:function(p){return a=a.filter(p),n}}}};return r}function $I(e){e===void 0&&(e={});var t=BI(null);return t.options=mr({async:!0,ssr:!1},e),t}var vS=function(e){var t=e.sideCar,n=gS(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var i=t.read();if(!i)throw new Error("Sidecar medium not found");return x.createElement(i,mr({},n))};vS.isSideCarExport=!0;function UI(e,t){return e.useMedium(t),vS}var yS=$I(),P1=function(){},V0=x.forwardRef(function(e,t){var n=x.useRef(null),i=x.useState({onScrollCapture:P1,onWheelCapture:P1,onTouchMoveCapture:P1}),r=i[0],o=i[1],a=e.forwardProps,c=e.children,f=e.className,h=e.removeScrollBar,p=e.enabled,g=e.shards,y=e.sideCar,v=e.noIsolation,E=e.inert,T=e.allowPinchZoom,S=e.as,A=S===void 0?"div":S,D=e.gapMode,C=gS(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),N=y,O=PI([n,t]),k=mr(mr({},C),r);return x.createElement(x.Fragment,null,p&&x.createElement(N,{sideCar:yS,removeScrollBar:h,shards:g,noIsolation:v,inert:E,setCallbacks:o,allowPinchZoom:!!T,lockRef:n,gapMode:D}),a?x.cloneElement(x.Children.only(c),mr(mr({},k),{ref:O})):x.createElement(A,mr({},k,{className:f,ref:O}),c))});V0.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};V0.classNames={fullWidth:Pd,zeroRight:jd};var zI=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function HI(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=zI();return t&&e.setAttribute("nonce",t),e}function qI(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function GI(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var YI=function(){var e=0,t=null;return{add:function(n){e==0&&(t=HI())&&(qI(t,n),GI(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},QI=function(){var e=YI();return function(t,n){x.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},bS=function(){var e=QI(),t=function(n){var i=n.styles,r=n.dynamic;return e(i,r),null};return t},XI={left:0,top:0,right:0,gap:0},V1=function(e){return parseInt(e||"",10)||0},ZI=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],i=t[e==="padding"?"paddingTop":"marginTop"],r=t[e==="padding"?"paddingRight":"marginRight"];return[V1(n),V1(i),V1(r)]},WI=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return XI;var t=ZI(e),n=document.documentElement.clientWidth,i=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,i-n+t[2]-t[0])}},KI=bS(),da="data-scroll-locked",JI=function(e,t,n,i){var r=e.left,o=e.top,a=e.right,c=e.gap;return n===void 0&&(n="margin"),`
|
|
315
315
|
.`.concat(LI,` {
|
|
316
316
|
overflow: hidden `).concat(i,`;
|
|
317
317
|
padding-right: `).concat(c,"px ").concat(i,`;
|
|
@@ -348,22 +348,22 @@ $1`:A.name,insertTextMode:Io.adjustIndentation,insertTextFormat:ca.Snippet}))):v
|
|
|
348
348
|
body[`).concat(da,`] {
|
|
349
349
|
`).concat(II,": ").concat(c,`px;
|
|
350
350
|
}
|
|
351
|
-
`)},v6=function(){var e=parseInt(document.body.getAttribute(da)||"0",10);return isFinite(e)?e:0},eF=function(){x.useEffect(function(){return document.body.setAttribute(da,(v6()+1).toString()),function(){var e=v6()-1;e<=0?document.body.removeAttribute(da):document.body.setAttribute(da,e.toString())}},[])},tF=function(e){var t=e.noRelative,n=e.noImportant,i=e.gapMode,r=i===void 0?"margin":i;eF();var o=x.useMemo(function(){return WI(r)},[r]);return x.createElement(KI,{styles:JI(o,!t,r,n?"":"!important")})},
|
|
351
|
+
`)},v6=function(){var e=parseInt(document.body.getAttribute(da)||"0",10);return isFinite(e)?e:0},eF=function(){x.useEffect(function(){return document.body.setAttribute(da,(v6()+1).toString()),function(){var e=v6()-1;e<=0?document.body.removeAttribute(da):document.body.setAttribute(da,e.toString())}},[])},tF=function(e){var t=e.noRelative,n=e.noImportant,i=e.gapMode,r=i===void 0?"margin":i;eF();var o=x.useMemo(function(){return WI(r)},[r]);return x.createElement(KI,{styles:JI(o,!t,r,n?"":"!important")})},Jm=!1;if(typeof window<"u")try{var Sd=Object.defineProperty({},"passive",{get:function(){return Jm=!0,!0}});window.addEventListener("test",Sd,Sd),window.removeEventListener("test",Sd,Sd)}catch{Jm=!1}var Xs=Jm?{passive:!1}:!1,nF=function(e){return e.tagName==="TEXTAREA"},xS=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!nF(e)&&n[t]==="visible")},iF=function(e){return xS(e,"overflowY")},rF=function(e){return xS(e,"overflowX")},y6=function(e,t){var n=t.ownerDocument,i=t;do{typeof ShadowRoot<"u"&&i instanceof ShadowRoot&&(i=i.host);var r=ES(e,i);if(r){var o=TS(e,i),a=o[1],c=o[2];if(a>c)return!0}i=i.parentNode}while(i&&i!==n.body);return!1},uF=function(e){var t=e.scrollTop,n=e.scrollHeight,i=e.clientHeight;return[t,n,i]},oF=function(e){var t=e.scrollLeft,n=e.scrollWidth,i=e.clientWidth;return[t,n,i]},ES=function(e,t){return e==="v"?iF(t):rF(t)},TS=function(e,t){return e==="v"?uF(t):oF(t)},sF=function(e,t){return e==="h"&&t==="rtl"?-1:1},aF=function(e,t,n,i,r){var o=sF(e,window.getComputedStyle(t).direction),a=o*i,c=n.target,f=t.contains(c),h=!1,p=a>0,g=0,y=0;do{var v=TS(e,c),E=v[0],T=v[1],S=v[2],A=T-S-o*E;(E||A)&&ES(e,c)&&(g+=A,y+=E),c instanceof ShadowRoot?c=c.host:c=c.parentNode}while(!f&&c!==document.body||f&&(t.contains(c)||t===c));return(p&&Math.abs(g)<1||!p&&Math.abs(y)<1)&&(h=!0),h},_d=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},b6=function(e){return[e.deltaX,e.deltaY]},x6=function(e){return e&&"current"in e?e.current:e},lF=function(e,t){return e[0]===t[0]&&e[1]===t[1]},cF=function(e){return`
|
|
352
352
|
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
353
353
|
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
354
|
-
`)},fF=0,Zs=[];function dF(e){var t=x.useRef([]),n=x.useRef([0,0]),i=x.useRef(),r=x.useState(fF++)[0],o=x.useState(bS)[0],a=x.useRef(e);x.useEffect(function(){a.current=e},[e]),x.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(r));var T=kI([e.lockRef.current],(e.shards||[]).map(x6),!0).filter(Boolean);return T.forEach(function(S){return S.classList.add("allow-interactivity-".concat(r))}),function(){document.body.classList.remove("block-interactivity-".concat(r)),T.forEach(function(S){return S.classList.remove("allow-interactivity-".concat(r))})}}},[e.inert,e.lockRef.current,e.shards]);var c=x.useCallback(function(T,S){if("touches"in T&&T.touches.length===2||T.type==="wheel"&&T.ctrlKey)return!a.current.allowPinchZoom;var A=_d(T),D=n.current,C="deltaX"in T?T.deltaX:D[0]-A[0],N="deltaY"in T?T.deltaY:D[1]-A[1],O,k=T.target,I=Math.abs(C)>Math.abs(N)?"h":"v";if("touches"in T&&I==="h"&&k.type==="range")return!1;var P=y6(I,k);if(!P)return!0;if(P?O=I:(O=I==="v"?"h":"v",P=y6(I,k)),!P)return!1;if(!i.current&&"changedTouches"in T&&(C||N)&&(i.current=O),!O)return!0;var L=i.current||O;return aF(L,S,T,L==="h"?C:N)},[]),f=x.useCallback(function(T){var S=T;if(!(!Zs.length||Zs[Zs.length-1]!==o)){var A="deltaY"in S?b6(S):_d(S),D=t.current.filter(function(O){return O.name===S.type&&(O.target===S.target||S.target===O.shadowParent)&&lF(O.delta,A)})[0];if(D&&D.should){S.cancelable&&S.preventDefault();return}if(!D){var C=(a.current.shards||[]).map(x6).filter(Boolean).filter(function(O){return O.contains(S.target)}),N=C.length>0?c(S,C[0]):!a.current.noIsolation;N&&S.cancelable&&S.preventDefault()}}},[]),h=x.useCallback(function(T,S,A,D){var C={name:T,delta:S,target:A,should:D,shadowParent:hF(A)};t.current.push(C),setTimeout(function(){t.current=t.current.filter(function(N){return N!==C})},1)},[]),p=x.useCallback(function(T){n.current=_d(T),i.current=void 0},[]),g=x.useCallback(function(T){h(T.type,b6(T),T.target,c(T,e.lockRef.current))},[]),y=x.useCallback(function(T){h(T.type,_d(T),T.target,c(T,e.lockRef.current))},[]);x.useEffect(function(){return Zs.push(o),e.setCallbacks({onScrollCapture:g,onWheelCapture:g,onTouchMoveCapture:y}),document.addEventListener("wheel",f,Xs),document.addEventListener("touchmove",f,Xs),document.addEventListener("touchstart",p,Xs),function(){Zs=Zs.filter(function(T){return T!==o}),document.removeEventListener("wheel",f,Xs),document.removeEventListener("touchmove",f,Xs),document.removeEventListener("touchstart",p,Xs)}},[]);var v=e.removeScrollBar,E=e.inert;return x.createElement(x.Fragment,null,E?x.createElement(o,{styles:cF(r)}):null,v?x.createElement(tF,{gapMode:e.gapMode}):null)}function hF(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const pF=UI(yS,dF);var l2=x.forwardRef(function(e,t){return x.createElement(
|
|
354
|
+
`)},fF=0,Zs=[];function dF(e){var t=x.useRef([]),n=x.useRef([0,0]),i=x.useRef(),r=x.useState(fF++)[0],o=x.useState(bS)[0],a=x.useRef(e);x.useEffect(function(){a.current=e},[e]),x.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(r));var T=kI([e.lockRef.current],(e.shards||[]).map(x6),!0).filter(Boolean);return T.forEach(function(S){return S.classList.add("allow-interactivity-".concat(r))}),function(){document.body.classList.remove("block-interactivity-".concat(r)),T.forEach(function(S){return S.classList.remove("allow-interactivity-".concat(r))})}}},[e.inert,e.lockRef.current,e.shards]);var c=x.useCallback(function(T,S){if("touches"in T&&T.touches.length===2||T.type==="wheel"&&T.ctrlKey)return!a.current.allowPinchZoom;var A=_d(T),D=n.current,C="deltaX"in T?T.deltaX:D[0]-A[0],N="deltaY"in T?T.deltaY:D[1]-A[1],O,k=T.target,I=Math.abs(C)>Math.abs(N)?"h":"v";if("touches"in T&&I==="h"&&k.type==="range")return!1;var P=y6(I,k);if(!P)return!0;if(P?O=I:(O=I==="v"?"h":"v",P=y6(I,k)),!P)return!1;if(!i.current&&"changedTouches"in T&&(C||N)&&(i.current=O),!O)return!0;var L=i.current||O;return aF(L,S,T,L==="h"?C:N)},[]),f=x.useCallback(function(T){var S=T;if(!(!Zs.length||Zs[Zs.length-1]!==o)){var A="deltaY"in S?b6(S):_d(S),D=t.current.filter(function(O){return O.name===S.type&&(O.target===S.target||S.target===O.shadowParent)&&lF(O.delta,A)})[0];if(D&&D.should){S.cancelable&&S.preventDefault();return}if(!D){var C=(a.current.shards||[]).map(x6).filter(Boolean).filter(function(O){return O.contains(S.target)}),N=C.length>0?c(S,C[0]):!a.current.noIsolation;N&&S.cancelable&&S.preventDefault()}}},[]),h=x.useCallback(function(T,S,A,D){var C={name:T,delta:S,target:A,should:D,shadowParent:hF(A)};t.current.push(C),setTimeout(function(){t.current=t.current.filter(function(N){return N!==C})},1)},[]),p=x.useCallback(function(T){n.current=_d(T),i.current=void 0},[]),g=x.useCallback(function(T){h(T.type,b6(T),T.target,c(T,e.lockRef.current))},[]),y=x.useCallback(function(T){h(T.type,_d(T),T.target,c(T,e.lockRef.current))},[]);x.useEffect(function(){return Zs.push(o),e.setCallbacks({onScrollCapture:g,onWheelCapture:g,onTouchMoveCapture:y}),document.addEventListener("wheel",f,Xs),document.addEventListener("touchmove",f,Xs),document.addEventListener("touchstart",p,Xs),function(){Zs=Zs.filter(function(T){return T!==o}),document.removeEventListener("wheel",f,Xs),document.removeEventListener("touchmove",f,Xs),document.removeEventListener("touchstart",p,Xs)}},[]);var v=e.removeScrollBar,E=e.inert;return x.createElement(x.Fragment,null,E?x.createElement(o,{styles:cF(r)}):null,v?x.createElement(tF,{gapMode:e.gapMode}):null)}function hF(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const pF=UI(yS,dF);var l2=x.forwardRef(function(e,t){return x.createElement(V0,mr({},e,{ref:t,sideCar:pF}))});l2.classNames=V0.classNames;var mF=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Ws=new WeakMap,Cd=new WeakMap,Ad={},B1=0,SS=function(e){return e&&(e.host||SS(e.parentNode))},gF=function(e,t){return t.map(function(n){if(e.contains(n))return n;var i=SS(n);return i&&e.contains(i)?i:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},vF=function(e,t,n,i){var r=gF(t,Array.isArray(e)?e:[e]);Ad[n]||(Ad[n]=new WeakMap);var o=Ad[n],a=[],c=new Set,f=new Set(r),h=function(g){!g||c.has(g)||(c.add(g),h(g.parentNode))};r.forEach(h);var p=function(g){!g||f.has(g)||Array.prototype.forEach.call(g.children,function(y){if(c.has(y))p(y);else try{var v=y.getAttribute(i),E=v!==null&&v!=="false",T=(Ws.get(y)||0)+1,S=(o.get(y)||0)+1;Ws.set(y,T),o.set(y,S),a.push(y),T===1&&E&&Cd.set(y,!0),S===1&&y.setAttribute(n,"true"),E||y.setAttribute(i,"true")}catch(A){console.error("aria-hidden: cannot operate on ",y,A)}})};return p(t),c.clear(),B1++,function(){a.forEach(function(g){var y=Ws.get(g)-1,v=o.get(g)-1;Ws.set(g,y),o.set(g,v),y||(Cd.has(g)||g.removeAttribute(i),Cd.delete(g)),v||g.removeAttribute(n)}),B1--,B1||(Ws=new WeakMap,Ws=new WeakMap,Cd=new WeakMap,Ad={})}},_S=function(e,t,n){n===void 0&&(n="data-aria-hidden");var i=Array.from(Array.isArray(e)?e:[e]),r=mF(e);return r?(i.push.apply(i,Array.from(r.querySelectorAll("[aria-live]"))),vF(i,r,n,"aria-hidden")):function(){return null}},B0="Dialog",[CS,UQ]=is(B0),[yF,Ki]=CS(B0),AS=e=>{const{__scopeDialog:t,children:n,open:i,defaultOpen:r,onOpenChange:o,modal:a=!0}=e,c=x.useRef(null),f=x.useRef(null),[h,p]=F0({prop:i,defaultProp:r??!1,onChange:o,caller:B0});return _.jsx(yF,{scope:t,triggerRef:c,contentRef:f,contentId:$o(),titleId:$o(),descriptionId:$o(),open:h,onOpenChange:p,onOpenToggle:x.useCallback(()=>p(g=>!g),[p]),modal:a,children:n})};AS.displayName=B0;var wS="DialogTrigger",DS=x.forwardRef((e,t)=>{const{__scopeDialog:n,...i}=e,r=Ki(wS,n),o=Kt(t,r.triggerRef);return _.jsx(Mt.button,{type:"button","aria-haspopup":"dialog","aria-expanded":r.open,"aria-controls":r.contentId,"data-state":d2(r.open),...i,ref:o,onClick:Oe(e.onClick,r.onOpenToggle)})});DS.displayName=wS;var c2="DialogPortal",[bF,NS]=CS(c2,{forceMount:void 0}),OS=e=>{const{__scopeDialog:t,forceMount:n,children:i,container:r}=e,o=Ki(c2,t);return _.jsx(bF,{scope:t,forceMount:n,children:x.Children.map(i,a=>_.jsx(Rr,{present:n||o.open,children:_.jsx(P0,{asChild:!0,container:r,children:a})}))})};OS.displayName=c2;var i0="DialogOverlay",RS=x.forwardRef((e,t)=>{const n=NS(i0,e.__scopeDialog),{forceMount:i=n.forceMount,...r}=e,o=Ki(i0,e.__scopeDialog);return o.modal?_.jsx(Rr,{present:i||o.open,children:_.jsx(EF,{...r,ref:t})}):null});RS.displayName=i0;var xF=bc("DialogOverlay.RemoveScroll"),EF=x.forwardRef((e,t)=>{const{__scopeDialog:n,...i}=e,r=Ki(i0,n);return _.jsx(l2,{as:xF,allowPinchZoom:!0,shards:[r.contentRef],children:_.jsx(Mt.div,{"data-state":d2(r.open),...i,ref:t,style:{pointerEvents:"auto",...i.style}})})}),Qo="DialogContent",MS=x.forwardRef((e,t)=>{const n=NS(Qo,e.__scopeDialog),{forceMount:i=n.forceMount,...r}=e,o=Ki(Qo,e.__scopeDialog);return _.jsx(Rr,{present:i||o.open,children:o.modal?_.jsx(TF,{...r,ref:t}):_.jsx(SF,{...r,ref:t})})});MS.displayName=Qo;var TF=x.forwardRef((e,t)=>{const n=Ki(Qo,e.__scopeDialog),i=x.useRef(null),r=Kt(t,n.contentRef,i);return x.useEffect(()=>{const o=i.current;if(o)return _S(o)},[]),_.jsx(kS,{...e,ref:r,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Oe(e.onCloseAutoFocus,o=>{var a;o.preventDefault(),(a=n.triggerRef.current)==null||a.focus()}),onPointerDownOutside:Oe(e.onPointerDownOutside,o=>{const a=o.detail.originalEvent,c=a.button===0&&a.ctrlKey===!0;(a.button===2||c)&&o.preventDefault()}),onFocusOutside:Oe(e.onFocusOutside,o=>o.preventDefault())})}),SF=x.forwardRef((e,t)=>{const n=Ki(Qo,e.__scopeDialog),i=x.useRef(!1),r=x.useRef(!1);return _.jsx(kS,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{var a,c;(a=e.onCloseAutoFocus)==null||a.call(e,o),o.defaultPrevented||(i.current||(c=n.triggerRef.current)==null||c.focus(),o.preventDefault()),i.current=!1,r.current=!1},onInteractOutside:o=>{var f,h;(f=e.onInteractOutside)==null||f.call(e,o),o.defaultPrevented||(i.current=!0,o.detail.originalEvent.type==="pointerdown"&&(r.current=!0));const a=o.target;((h=n.triggerRef.current)==null?void 0:h.contains(a))&&o.preventDefault(),o.detail.originalEvent.type==="focusin"&&r.current&&o.preventDefault()}})}),kS=x.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:i,onOpenAutoFocus:r,onCloseAutoFocus:o,...a}=e,c=Ki(Qo,n),f=x.useRef(null),h=Kt(t,f);return mS(),_.jsxs(_.Fragment,{children:[_.jsx(a2,{asChild:!0,loop:!0,trapped:i,onMountAutoFocus:r,onUnmountAutoFocus:o,children:_.jsx(j0,{role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":d2(c.open),...a,ref:h,onDismiss:()=>c.onOpenChange(!1)})}),_.jsxs(_.Fragment,{children:[_.jsx(_F,{titleId:c.titleId}),_.jsx(AF,{contentRef:f,descriptionId:c.descriptionId})]})]})}),f2="DialogTitle",LS=x.forwardRef((e,t)=>{const{__scopeDialog:n,...i}=e,r=Ki(f2,n);return _.jsx(Mt.h2,{id:r.titleId,...i,ref:t})});LS.displayName=f2;var IS="DialogDescription",FS=x.forwardRef((e,t)=>{const{__scopeDialog:n,...i}=e,r=Ki(IS,n);return _.jsx(Mt.p,{id:r.descriptionId,...i,ref:t})});FS.displayName=IS;var jS="DialogClose",PS=x.forwardRef((e,t)=>{const{__scopeDialog:n,...i}=e,r=Ki(jS,n);return _.jsx(Mt.button,{type:"button",...i,ref:t,onClick:Oe(e.onClick,()=>r.onOpenChange(!1))})});PS.displayName=jS;function d2(e){return e?"open":"closed"}var VS="DialogTitleWarning",[zQ,BS]=eI(VS,{contentName:Qo,titleName:f2,docsSlug:"dialog"}),_F=({titleId:e})=>{const t=BS(VS),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
|
|
355
355
|
|
|
356
356
|
If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
|
|
357
357
|
|
|
358
|
-
For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return x.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},CF="DialogDescriptionWarning",AF=({contentRef:e,descriptionId:t})=>{const i=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${BS(CF).contentName}}.`;return x.useEffect(()=>{var o;const r=(o=e.current)==null?void 0:o.getAttribute("aria-describedby");t&&r&&(document.getElementById(t)||console.warn(i))},[i,e,t]),null},wF=AS,DF=DS,NF=OS,OF=RS,RF=MS,MF=LS,kF=FS,LF=PS,IF=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),FF="VisuallyHidden",$S=x.forwardRef((e,t)=>_.jsx(Mt.span,{...e,ref:t,style:{...IF,...e.style}}));$S.displayName=FF;var US=$S;const zS=x.forwardRef((e,t)=>{const n=ge.c(8);let i;n[0]!==e.className?(i=dt("graphiql-dialog-close",e.className),n[0]=e.className,n[1]=i):i=n[1];let r,o;n[2]===Symbol.for("react.memo_cache_sentinel")?(r=_.jsx(US,{children:"Close dialog"}),o=_.jsx(o2,{}),n[2]=r,n[3]=o):(r=n[2],o=n[3]);let a;return n[4]!==e||n[5]!==t||n[6]!==i?(a=_.jsx(LF,{asChild:!0,children:_.jsxs(Kt,{...e,ref:t,type:"button",className:i,children:[r,o]})}),n[4]=e,n[5]=t,n[6]=i,n[7]=a):a=n[7],a});zS.displayName="Dialog.Close";function jF(e){const t=ge.c(9);let n,i;t[0]!==e?({children:n,...i}=e,t[0]=e,t[1]=n,t[2]=i):(n=t[1],i=t[2]);let r;t[3]===Symbol.for("react.memo_cache_sentinel")?(r=_.jsx(OF,{className:"graphiql-dialog-overlay"}),t[3]=r):r=t[3];let o;t[4]!==n?(o=_.jsxs(NF,{children:[r,_.jsx(RF,{className:"graphiql-dialog",children:n})]}),t[4]=n,t[5]=o):o=t[5];let a;return t[6]!==i||t[7]!==o?(a=_.jsx(wF,{...i,children:o}),t[6]=i,t[7]=o,t[8]=a):a=t[8],a}const Ks=Object.assign(jF,{Close:zS,Title:MF,Trigger:DF,Description:kF});function HS(e){const t=e+"CollectionProvider",[n,i]=is(t),[r,o]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=T=>{const{scope:S,children:A}=T,D=ke.useRef(null),C=ke.useRef(new Map).current;return _.jsx(r,{scope:S,itemMap:C,collectionRef:D,children:A})};a.displayName=t;const c=e+"CollectionSlot",f=bc(c),h=ke.forwardRef((T,S)=>{const{scope:A,children:D}=T,C=o(c,A),N=Yt(S,C.collectionRef);return _.jsx(f,{ref:N,children:D})});h.displayName=c;const p=e+"CollectionItemSlot",g="data-radix-collection-item",y=bc(p),v=ke.forwardRef((T,S)=>{const{scope:A,children:D,...C}=T,N=ke.useRef(null),O=Yt(S,N),k=o(p,A);return ke.useEffect(()=>(k.itemMap.set(N,{ref:N,...C}),()=>void k.itemMap.delete(N))),_.jsx(y,{[g]:"",ref:O,children:D})});v.displayName=p;function E(T){const S=o(e+"CollectionConsumer",T);return ke.useCallback(()=>{const D=S.collectionRef.current;if(!D)return[];const C=Array.from(D.querySelectorAll(`[${g}]`));return Array.from(S.itemMap.values()).sort((k,I)=>C.indexOf(k.ref.current)-C.indexOf(I.ref.current))},[S.collectionRef,S.itemMap])}return[{Provider:a,Slot:h,ItemSlot:v},E,i]}var PF=x.createContext(void 0);function qS(e){const t=x.useContext(PF);return e||t||"ltr"}const VF=["top","right","bottom","left"],fu=Math.min,_n=Math.max,xc=Math.round,wd=Math.floor,xr=e=>({x:e,y:e}),BF={left:"right",right:"left",bottom:"top",top:"bottom"},$F={start:"end",end:"start"};function Jm(e,t,n){return _n(e,fu(t,n))}function _r(e,t){return typeof e=="function"?e(t):e}function du(e){return e.split("-")[0]}function Oa(e){return e.split("-")[1]}function h2(e){return e==="x"?"y":"x"}function p2(e){return e==="y"?"height":"width"}function au(e){return["top","bottom"].includes(du(e))?"y":"x"}function m2(e){return h2(au(e))}function UF(e,t,n){n===void 0&&(n=!1);const i=Oa(e),r=m2(e),o=p2(r);let a=r==="x"?i===(n?"end":"start")?"right":"left":i==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=r0(a)),[a,r0(a)]}function zF(e){const t=r0(e);return[eg(e),t,eg(t)]}function eg(e){return e.replace(/start|end/g,t=>$F[t])}function HF(e,t,n){const i=["left","right"],r=["right","left"],o=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?r:i:t?i:r;case"left":case"right":return t?o:a;default:return[]}}function qF(e,t,n,i){const r=Oa(e);let o=HF(du(e),n==="start",i);return r&&(o=o.map(a=>a+"-"+r),t&&(o=o.concat(o.map(eg)))),o}function r0(e){return e.replace(/left|right|bottom|top/g,t=>BF[t])}function GF(e){return{top:0,right:0,bottom:0,left:0,...e}}function GS(e){return typeof e!="number"?GF(e):{top:e,right:e,bottom:e,left:e}}function u0(e){const{x:t,y:n,width:i,height:r}=e;return{width:i,height:r,top:n,left:t,right:t+i,bottom:n+r,x:t,y:n}}function E6(e,t,n){let{reference:i,floating:r}=e;const o=au(t),a=m2(t),c=p2(a),f=du(t),h=o==="y",p=i.x+i.width/2-r.width/2,g=i.y+i.height/2-r.height/2,y=i[c]/2-r[c]/2;let v;switch(f){case"top":v={x:p,y:i.y-r.height};break;case"bottom":v={x:p,y:i.y+i.height};break;case"right":v={x:i.x+i.width,y:g};break;case"left":v={x:i.x-r.width,y:g};break;default:v={x:i.x,y:i.y}}switch(Oa(t)){case"start":v[a]-=y*(n&&h?-1:1);break;case"end":v[a]+=y*(n&&h?-1:1);break}return v}const YF=async(e,t,n)=>{const{placement:i="bottom",strategy:r="absolute",middleware:o=[],platform:a}=n,c=o.filter(Boolean),f=await(a.isRTL==null?void 0:a.isRTL(t));let h=await a.getElementRects({reference:e,floating:t,strategy:r}),{x:p,y:g}=E6(h,i,f),y=i,v={},E=0;for(let T=0;T<c.length;T++){const{name:S,fn:A}=c[T],{x:D,y:C,data:N,reset:O}=await A({x:p,y:g,initialPlacement:i,placement:y,strategy:r,middlewareData:v,rects:h,platform:a,elements:{reference:e,floating:t}});p=D??p,g=C??g,v={...v,[S]:{...v[S],...N}},O&&E<=50&&(E++,typeof O=="object"&&(O.placement&&(y=O.placement),O.rects&&(h=O.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:r}):O.rects),{x:p,y:g}=E6(h,y,f)),T=-1)}return{x:p,y:g,placement:y,strategy:r,middlewareData:v}};async function Ea(e,t){var n;t===void 0&&(t={});const{x:i,y:r,platform:o,rects:a,elements:c,strategy:f}=e,{boundary:h="clippingAncestors",rootBoundary:p="viewport",elementContext:g="floating",altBoundary:y=!1,padding:v=0}=_r(t,e),E=GS(v),S=c[y?g==="floating"?"reference":"floating":g],A=u0(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(S)))==null||n?S:S.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(c.floating)),boundary:h,rootBoundary:p,strategy:f})),D=g==="floating"?{x:i,y:r,width:a.floating.width,height:a.floating.height}:a.reference,C=await(o.getOffsetParent==null?void 0:o.getOffsetParent(c.floating)),N=await(o.isElement==null?void 0:o.isElement(C))?await(o.getScale==null?void 0:o.getScale(C))||{x:1,y:1}:{x:1,y:1},O=u0(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:D,offsetParent:C,strategy:f}):D);return{top:(A.top-O.top+E.top)/N.y,bottom:(O.bottom-A.bottom+E.bottom)/N.y,left:(A.left-O.left+E.left)/N.x,right:(O.right-A.right+E.right)/N.x}}const QF=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:i,placement:r,rects:o,platform:a,elements:c,middlewareData:f}=t,{element:h,padding:p=0}=_r(e,t)||{};if(h==null)return{};const g=GS(p),y={x:n,y:i},v=m2(r),E=p2(v),T=await a.getDimensions(h),S=v==="y",A=S?"top":"left",D=S?"bottom":"right",C=S?"clientHeight":"clientWidth",N=o.reference[E]+o.reference[v]-y[v]-o.floating[E],O=y[v]-o.reference[v],k=await(a.getOffsetParent==null?void 0:a.getOffsetParent(h));let I=k?k[C]:0;(!I||!await(a.isElement==null?void 0:a.isElement(k)))&&(I=c.floating[C]||o.floating[E]);const P=N/2-O/2,L=I/2-T[E]/2-1,B=fu(g[A],L),z=fu(g[D],L),te=B,re=I-T[E]-z,fe=I/2-T[E]/2+P,X=Jm(te,fe,re),F=!f.arrow&&Oa(r)!=null&&fe!==X&&o.reference[E]/2-(fe<te?B:z)-T[E]/2<0,H=F?fe<te?fe-te:fe-re:0;return{[v]:y[v]+H,data:{[v]:X,centerOffset:fe-X-H,...F&&{alignmentOffset:H}},reset:F}}}),XF=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,i;const{placement:r,middlewareData:o,rects:a,initialPlacement:c,platform:f,elements:h}=t,{mainAxis:p=!0,crossAxis:g=!0,fallbackPlacements:y,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:E="none",flipAlignment:T=!0,...S}=_r(e,t);if((n=o.arrow)!=null&&n.alignmentOffset)return{};const A=du(r),D=au(c),C=du(c)===c,N=await(f.isRTL==null?void 0:f.isRTL(h.floating)),O=y||(C||!T?[r0(c)]:zF(c)),k=E!=="none";!y&&k&&O.push(...qF(c,T,E,N));const I=[c,...O],P=await Ea(t,S),L=[];let B=((i=o.flip)==null?void 0:i.overflows)||[];if(p&&L.push(P[A]),g){const X=UF(r,a,N);L.push(P[X[0]],P[X[1]])}if(B=[...B,{placement:r,overflows:L}],!L.every(X=>X<=0)){var z,te;const X=(((z=o.flip)==null?void 0:z.index)||0)+1,F=I[X];if(F){var re;const $=g==="alignment"?D!==au(F):!1,V=((re=B[0])==null?void 0:re.overflows[0])>0;if(!$||V)return{data:{index:X,overflows:B},reset:{placement:F}}}let H=(te=B.filter($=>$.overflows[0]<=0).sort(($,V)=>$.overflows[1]-V.overflows[1])[0])==null?void 0:te.placement;if(!H)switch(v){case"bestFit":{var fe;const $=(fe=B.filter(V=>{if(k){const M=au(V.placement);return M===D||M==="y"}return!0}).map(V=>[V.placement,V.overflows.filter(M=>M>0).reduce((M,q)=>M+q,0)]).sort((V,M)=>V[1]-M[1])[0])==null?void 0:fe[0];$&&(H=$);break}case"initialPlacement":H=c;break}if(r!==H)return{reset:{placement:H}}}return{}}}};function T6(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function S6(e){return VF.some(t=>e[t]>=0)}const ZF=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:i="referenceHidden",...r}=_r(e,t);switch(i){case"referenceHidden":{const o=await Ea(t,{...r,elementContext:"reference"}),a=T6(o,n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:S6(a)}}}case"escaped":{const o=await Ea(t,{...r,altBoundary:!0}),a=T6(o,n.floating);return{data:{escapedOffsets:a,escaped:S6(a)}}}default:return{}}}}};async function WF(e,t){const{placement:n,platform:i,elements:r}=e,o=await(i.isRTL==null?void 0:i.isRTL(r.floating)),a=du(n),c=Oa(n),f=au(n)==="y",h=["left","top"].includes(a)?-1:1,p=o&&f?-1:1,g=_r(t,e);let{mainAxis:y,crossAxis:v,alignmentAxis:E}=typeof g=="number"?{mainAxis:g,crossAxis:0,alignmentAxis:null}:{mainAxis:g.mainAxis||0,crossAxis:g.crossAxis||0,alignmentAxis:g.alignmentAxis};return c&&typeof E=="number"&&(v=c==="end"?E*-1:E),f?{x:v*p,y:y*h}:{x:y*h,y:v*p}}const KF=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,i;const{x:r,y:o,placement:a,middlewareData:c}=t,f=await WF(t,e);return a===((n=c.offset)==null?void 0:n.placement)&&(i=c.arrow)!=null&&i.alignmentOffset?{}:{x:r+f.x,y:o+f.y,data:{...f,placement:a}}}}},JF=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:i,placement:r}=t,{mainAxis:o=!0,crossAxis:a=!1,limiter:c={fn:S=>{let{x:A,y:D}=S;return{x:A,y:D}}},...f}=_r(e,t),h={x:n,y:i},p=await Ea(t,f),g=au(du(r)),y=h2(g);let v=h[y],E=h[g];if(o){const S=y==="y"?"top":"left",A=y==="y"?"bottom":"right",D=v+p[S],C=v-p[A];v=Jm(D,v,C)}if(a){const S=g==="y"?"top":"left",A=g==="y"?"bottom":"right",D=E+p[S],C=E-p[A];E=Jm(D,E,C)}const T=c.fn({...t,[y]:v,[g]:E});return{...T,data:{x:T.x-n,y:T.y-i,enabled:{[y]:o,[g]:a}}}}}},ej=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:i,placement:r,rects:o,middlewareData:a}=t,{offset:c=0,mainAxis:f=!0,crossAxis:h=!0}=_r(e,t),p={x:n,y:i},g=au(r),y=h2(g);let v=p[y],E=p[g];const T=_r(c,t),S=typeof T=="number"?{mainAxis:T,crossAxis:0}:{mainAxis:0,crossAxis:0,...T};if(f){const C=y==="y"?"height":"width",N=o.reference[y]-o.floating[C]+S.mainAxis,O=o.reference[y]+o.reference[C]-S.mainAxis;v<N?v=N:v>O&&(v=O)}if(h){var A,D;const C=y==="y"?"width":"height",N=["top","left"].includes(du(r)),O=o.reference[g]-o.floating[C]+(N&&((A=a.offset)==null?void 0:A[g])||0)+(N?0:S.crossAxis),k=o.reference[g]+o.reference[C]+(N?0:((D=a.offset)==null?void 0:D[g])||0)-(N?S.crossAxis:0);E<O?E=O:E>k&&(E=k)}return{[y]:v,[g]:E}}}},tj=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,i;const{placement:r,rects:o,platform:a,elements:c}=t,{apply:f=()=>{},...h}=_r(e,t),p=await Ea(t,h),g=du(r),y=Oa(r),v=au(r)==="y",{width:E,height:T}=o.floating;let S,A;g==="top"||g==="bottom"?(S=g,A=y===(await(a.isRTL==null?void 0:a.isRTL(c.floating))?"start":"end")?"left":"right"):(A=g,S=y==="end"?"top":"bottom");const D=T-p.top-p.bottom,C=E-p.left-p.right,N=fu(T-p[S],D),O=fu(E-p[A],C),k=!t.middlewareData.shift;let I=N,P=O;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(P=C),(i=t.middlewareData.shift)!=null&&i.enabled.y&&(I=D),k&&!y){const B=_n(p.left,0),z=_n(p.right,0),te=_n(p.top,0),re=_n(p.bottom,0);v?P=E-2*(B!==0||z!==0?B+z:_n(p.left,p.right)):I=T-2*(te!==0||re!==0?te+re:_n(p.top,p.bottom))}await f({...t,availableWidth:P,availableHeight:I});const L=await a.getDimensions(c.floating);return E!==L.width||T!==L.height?{reset:{rects:!0}}:{}}}};function B0(){return typeof window<"u"}function Ra(e){return YS(e)?(e.nodeName||"").toLowerCase():"#document"}function si(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Mr(e){var t;return(t=(YS(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function YS(e){return B0()?e instanceof Node||e instanceof si(e).Node:!1}function Rn(e){return B0()?e instanceof Element||e instanceof si(e).Element:!1}function Cr(e){return B0()?e instanceof HTMLElement||e instanceof si(e).HTMLElement:!1}function _6(e){return!B0()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof si(e).ShadowRoot}function Uc(e){const{overflow:t,overflowX:n,overflowY:i,display:r}=Qi(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+n)&&!["inline","contents"].includes(r)}function nj(e){return["table","td","th"].includes(Ra(e))}function $0(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function g2(e){const t=v2(),n=Rn(e)?Qi(e):e;return["transform","translate","scale","rotate","perspective"].some(i=>n[i]?n[i]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(i=>(n.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(n.contain||"").includes(i))}function ij(e){let t=uo(e);for(;Cr(t)&&!Ta(t);){if(g2(t))return t;if($0(t))return null;t=uo(t)}return null}function v2(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Ta(e){return["html","body","#document"].includes(Ra(e))}function Qi(e){return si(e).getComputedStyle(e)}function U0(e){return Rn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function uo(e){if(Ra(e)==="html")return e;const t=e.assignedSlot||e.parentNode||_6(e)&&e.host||Mr(e);return _6(t)?t.host:t}function QS(e){const t=uo(e);return Ta(t)?e.ownerDocument?e.ownerDocument.body:e.body:Cr(t)&&Uc(t)?t:QS(t)}function Ec(e,t,n){var i;t===void 0&&(t=[]),n===void 0&&(n=!0);const r=QS(e),o=r===((i=e.ownerDocument)==null?void 0:i.body),a=si(r);if(o){const c=tg(a);return t.concat(a,a.visualViewport||[],Uc(r)?r:[],c&&n?Ec(c):[])}return t.concat(r,Ec(r,[],n))}function tg(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function XS(e){const t=Qi(e);let n=parseFloat(t.width)||0,i=parseFloat(t.height)||0;const r=Cr(e),o=r?e.offsetWidth:n,a=r?e.offsetHeight:i,c=xc(n)!==o||xc(i)!==a;return c&&(n=o,i=a),{width:n,height:i,$:c}}function y2(e){return Rn(e)?e:e.contextElement}function ha(e){const t=y2(e);if(!Cr(t))return xr(1);const n=t.getBoundingClientRect(),{width:i,height:r,$:o}=XS(t);let a=(o?xc(n.width):n.width)/i,c=(o?xc(n.height):n.height)/r;return(!a||!Number.isFinite(a))&&(a=1),(!c||!Number.isFinite(c))&&(c=1),{x:a,y:c}}const rj=xr(0);function ZS(e){const t=si(e);return!v2()||!t.visualViewport?rj:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function uj(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==si(e)?!1:t}function Xo(e,t,n,i){t===void 0&&(t=!1),n===void 0&&(n=!1);const r=e.getBoundingClientRect(),o=y2(e);let a=xr(1);t&&(i?Rn(i)&&(a=ha(i)):a=ha(e));const c=uj(o,n,i)?ZS(o):xr(0);let f=(r.left+c.x)/a.x,h=(r.top+c.y)/a.y,p=r.width/a.x,g=r.height/a.y;if(o){const y=si(o),v=i&&Rn(i)?si(i):i;let E=y,T=tg(E);for(;T&&i&&v!==E;){const S=ha(T),A=T.getBoundingClientRect(),D=Qi(T),C=A.left+(T.clientLeft+parseFloat(D.paddingLeft))*S.x,N=A.top+(T.clientTop+parseFloat(D.paddingTop))*S.y;f*=S.x,h*=S.y,p*=S.x,g*=S.y,f+=C,h+=N,E=si(T),T=tg(E)}}return u0({width:p,height:g,x:f,y:h})}function b2(e,t){const n=U0(e).scrollLeft;return t?t.left+n:Xo(Mr(e)).left+n}function WS(e,t,n){n===void 0&&(n=!1);const i=e.getBoundingClientRect(),r=i.left+t.scrollLeft-(n?0:b2(e,i)),o=i.top+t.scrollTop;return{x:r,y:o}}function oj(e){let{elements:t,rect:n,offsetParent:i,strategy:r}=e;const o=r==="fixed",a=Mr(i),c=t?$0(t.floating):!1;if(i===a||c&&o)return n;let f={scrollLeft:0,scrollTop:0},h=xr(1);const p=xr(0),g=Cr(i);if((g||!g&&!o)&&((Ra(i)!=="body"||Uc(a))&&(f=U0(i)),Cr(i))){const v=Xo(i);h=ha(i),p.x=v.x+i.clientLeft,p.y=v.y+i.clientTop}const y=a&&!g&&!o?WS(a,f,!0):xr(0);return{width:n.width*h.x,height:n.height*h.y,x:n.x*h.x-f.scrollLeft*h.x+p.x+y.x,y:n.y*h.y-f.scrollTop*h.y+p.y+y.y}}function sj(e){return Array.from(e.getClientRects())}function aj(e){const t=Mr(e),n=U0(e),i=e.ownerDocument.body,r=_n(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),o=_n(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight);let a=-n.scrollLeft+b2(e);const c=-n.scrollTop;return Qi(i).direction==="rtl"&&(a+=_n(t.clientWidth,i.clientWidth)-r),{width:r,height:o,x:a,y:c}}function lj(e,t){const n=si(e),i=Mr(e),r=n.visualViewport;let o=i.clientWidth,a=i.clientHeight,c=0,f=0;if(r){o=r.width,a=r.height;const h=v2();(!h||h&&t==="fixed")&&(c=r.offsetLeft,f=r.offsetTop)}return{width:o,height:a,x:c,y:f}}function cj(e,t){const n=Xo(e,!0,t==="fixed"),i=n.top+e.clientTop,r=n.left+e.clientLeft,o=Cr(e)?ha(e):xr(1),a=e.clientWidth*o.x,c=e.clientHeight*o.y,f=r*o.x,h=i*o.y;return{width:a,height:c,x:f,y:h}}function C6(e,t,n){let i;if(t==="viewport")i=lj(e,n);else if(t==="document")i=aj(Mr(e));else if(Rn(t))i=cj(t,n);else{const r=ZS(e);i={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return u0(i)}function KS(e,t){const n=uo(e);return n===t||!Rn(n)||Ta(n)?!1:Qi(n).position==="fixed"||KS(n,t)}function fj(e,t){const n=t.get(e);if(n)return n;let i=Ec(e,[],!1).filter(c=>Rn(c)&&Ra(c)!=="body"),r=null;const o=Qi(e).position==="fixed";let a=o?uo(e):e;for(;Rn(a)&&!Ta(a);){const c=Qi(a),f=g2(a);!f&&c.position==="fixed"&&(r=null),(o?!f&&!r:!f&&c.position==="static"&&!!r&&["absolute","fixed"].includes(r.position)||Uc(a)&&!f&&KS(e,a))?i=i.filter(p=>p!==a):r=c,a=uo(a)}return t.set(e,i),i}function dj(e){let{element:t,boundary:n,rootBoundary:i,strategy:r}=e;const a=[...n==="clippingAncestors"?$0(t)?[]:fj(t,this._c):[].concat(n),i],c=a[0],f=a.reduce((h,p)=>{const g=C6(t,p,r);return h.top=_n(g.top,h.top),h.right=fu(g.right,h.right),h.bottom=fu(g.bottom,h.bottom),h.left=_n(g.left,h.left),h},C6(t,c,r));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function hj(e){const{width:t,height:n}=XS(e);return{width:t,height:n}}function pj(e,t,n){const i=Cr(t),r=Mr(t),o=n==="fixed",a=Xo(e,!0,o,t);let c={scrollLeft:0,scrollTop:0};const f=xr(0);function h(){f.x=b2(r)}if(i||!i&&!o)if((Ra(t)!=="body"||Uc(r))&&(c=U0(t)),i){const v=Xo(t,!0,o,t);f.x=v.x+t.clientLeft,f.y=v.y+t.clientTop}else r&&h();o&&!i&&r&&h();const p=r&&!i&&!o?WS(r,c):xr(0),g=a.left+c.scrollLeft-f.x-p.x,y=a.top+c.scrollTop-f.y-p.y;return{x:g,y,width:a.width,height:a.height}}function B1(e){return Qi(e).position==="static"}function A6(e,t){if(!Cr(e)||Qi(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Mr(e)===n&&(n=n.ownerDocument.body),n}function JS(e,t){const n=si(e);if($0(e))return n;if(!Cr(e)){let r=uo(e);for(;r&&!Ta(r);){if(Rn(r)&&!B1(r))return r;r=uo(r)}return n}let i=A6(e,t);for(;i&&nj(i)&&B1(i);)i=A6(i,t);return i&&Ta(i)&&B1(i)&&!g2(i)?n:i||ij(e)||n}const mj=async function(e){const t=this.getOffsetParent||JS,n=this.getDimensions,i=await n(e.floating);return{reference:pj(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function gj(e){return Qi(e).direction==="rtl"}const vj={convertOffsetParentRelativeRectToViewportRelativeRect:oj,getDocumentElement:Mr,getClippingRect:dj,getOffsetParent:JS,getElementRects:mj,getClientRects:sj,getDimensions:hj,getScale:ha,isElement:Rn,isRTL:gj};function e_(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function yj(e,t){let n=null,i;const r=Mr(e);function o(){var c;clearTimeout(i),(c=n)==null||c.disconnect(),n=null}function a(c,f){c===void 0&&(c=!1),f===void 0&&(f=1),o();const h=e.getBoundingClientRect(),{left:p,top:g,width:y,height:v}=h;if(c||t(),!y||!v)return;const E=wd(g),T=wd(r.clientWidth-(p+y)),S=wd(r.clientHeight-(g+v)),A=wd(p),C={rootMargin:-E+"px "+-T+"px "+-S+"px "+-A+"px",threshold:_n(0,fu(1,f))||1};let N=!0;function O(k){const I=k[0].intersectionRatio;if(I!==f){if(!N)return a();I?a(!1,I):i=setTimeout(()=>{a(!1,1e-7)},1e3)}I===1&&!e_(h,e.getBoundingClientRect())&&a(),N=!1}try{n=new IntersectionObserver(O,{...C,root:r.ownerDocument})}catch{n=new IntersectionObserver(O,C)}n.observe(e)}return a(!0),o}function t_(e,t,n,i){i===void 0&&(i={});const{ancestorScroll:r=!0,ancestorResize:o=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:f=!1}=i,h=y2(e),p=r||o?[...h?Ec(h):[],...Ec(t)]:[];p.forEach(A=>{r&&A.addEventListener("scroll",n,{passive:!0}),o&&A.addEventListener("resize",n)});const g=h&&c?yj(h,n):null;let y=-1,v=null;a&&(v=new ResizeObserver(A=>{let[D]=A;D&&D.target===h&&v&&(v.unobserve(t),cancelAnimationFrame(y),y=requestAnimationFrame(()=>{var C;(C=v)==null||C.observe(t)})),n()}),h&&!f&&v.observe(h),v.observe(t));let E,T=f?Xo(e):null;f&&S();function S(){const A=Xo(e);T&&!e_(T,A)&&n(),T=A,E=requestAnimationFrame(S)}return n(),()=>{var A;p.forEach(D=>{r&&D.removeEventListener("scroll",n),o&&D.removeEventListener("resize",n)}),g==null||g(),(A=v)==null||A.disconnect(),v=null,f&&cancelAnimationFrame(E)}}const $1=Ea,bj=KF,xj=JF,Ej=XF,Tj=tj,Sj=ZF,w6=QF,_j=ej,Cj=(e,t,n)=>{const i=new Map,r={platform:vj,...n},o={...r.platform,_c:i};return YF(e,t,{...r,platform:o})};var Vd=typeof document<"u"?x.useLayoutEffect:x.useEffect;function o0(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,i,r;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(i=n;i--!==0;)if(!o0(e[i],t[i]))return!1;return!0}if(r=Object.keys(e),n=r.length,n!==Object.keys(t).length)return!1;for(i=n;i--!==0;)if(!{}.hasOwnProperty.call(t,r[i]))return!1;for(i=n;i--!==0;){const o=r[i];if(!(o==="_owner"&&e.$$typeof)&&!o0(e[o],t[o]))return!1}return!0}return e!==e&&t!==t}function n_(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function D6(e,t){const n=n_(e);return Math.round(t*n)/n}function U1(e){const t=x.useRef(e);return Vd(()=>{t.current=e}),t}function i_(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:i=[],platform:r,elements:{reference:o,floating:a}={},transform:c=!0,whileElementsMounted:f,open:h}=e,[p,g]=x.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[y,v]=x.useState(i);o0(y,i)||v(i);const[E,T]=x.useState(null),[S,A]=x.useState(null),D=x.useCallback($=>{$!==k.current&&(k.current=$,T($))},[]),C=x.useCallback($=>{$!==I.current&&(I.current=$,A($))},[]),N=o||E,O=a||S,k=x.useRef(null),I=x.useRef(null),P=x.useRef(p),L=f!=null,B=U1(f),z=U1(r),te=U1(h),re=x.useCallback(()=>{if(!k.current||!I.current)return;const $={placement:t,strategy:n,middleware:y};z.current&&($.platform=z.current),Cj(k.current,I.current,$).then(V=>{const M={...V,isPositioned:te.current!==!1};fe.current&&!o0(P.current,M)&&(P.current=M,On.flushSync(()=>{g(M)}))})},[y,t,n,z,te]);Vd(()=>{h===!1&&P.current.isPositioned&&(P.current.isPositioned=!1,g($=>({...$,isPositioned:!1})))},[h]);const fe=x.useRef(!1);Vd(()=>(fe.current=!0,()=>{fe.current=!1}),[]),Vd(()=>{if(N&&(k.current=N),O&&(I.current=O),N&&O){if(B.current)return B.current(N,O,re);re()}},[N,O,re,B,L]);const X=x.useMemo(()=>({reference:k,floating:I,setReference:D,setFloating:C}),[D,C]),F=x.useMemo(()=>({reference:N,floating:O}),[N,O]),H=x.useMemo(()=>{const $={position:n,left:0,top:0};if(!F.floating)return $;const V=D6(F.floating,p.x),M=D6(F.floating,p.y);return c?{...$,transform:"translate("+V+"px, "+M+"px)",...n_(F.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:V,top:M}},[n,c,F.floating,p.x,p.y]);return x.useMemo(()=>({...p,update:re,refs:X,elements:F,floatingStyles:H}),[p,re,X,F,H])}const Aj=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:i,padding:r}=typeof e=="function"?e(n):e;return i&&t(i)?i.current!=null?w6({element:i.current,padding:r}).fn(n):{}:i?w6({element:i,padding:r}).fn(n):{}}}},x2=(e,t)=>({...bj(e),options:[e,t]}),r_=(e,t)=>({...xj(e),options:[e,t]}),wj=(e,t)=>({..._j(e),options:[e,t]}),u_=(e,t)=>({...Ej(e),options:[e,t]}),o_=(e,t)=>({...Tj(e),options:[e,t]}),Dj=(e,t)=>({...Sj(e),options:[e,t]}),Nj=(e,t)=>({...Aj(e),options:[e,t]});var Oj="Arrow",s_=x.forwardRef((e,t)=>{const{children:n,width:i=10,height:r=5,...o}=e;return _.jsx(Mt.svg,{...o,ref:t,width:i,height:r,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:_.jsx("polygon",{points:"0,0 30,0 15,10"})})});s_.displayName=Oj;var Rj=s_;function Mj(e){const[t,n]=x.useState(void 0);return ro(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const i=new ResizeObserver(r=>{if(!Array.isArray(r)||!r.length)return;const o=r[0];let a,c;if("borderBoxSize"in o){const f=o.borderBoxSize,h=Array.isArray(f)?f[0]:f;a=h.inlineSize,c=h.blockSize}else a=e.offsetWidth,c=e.offsetHeight;n({width:a,height:c})});return i.observe(e,{box:"border-box"}),()=>i.unobserve(e)}else n(void 0)},[e]),t}var E2="Popper",[a_,z0]=is(E2),[kj,l_]=a_(E2),c_=e=>{const{__scopePopper:t,children:n}=e,[i,r]=x.useState(null);return _.jsx(kj,{scope:t,anchor:i,onAnchorChange:r,children:n})};c_.displayName=E2;var f_="PopperAnchor",d_=x.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:i,...r}=e,o=l_(f_,n),a=x.useRef(null),c=Yt(t,a);return x.useEffect(()=>{o.onAnchorChange((i==null?void 0:i.current)||a.current)}),i?null:_.jsx(Mt.div,{...r,ref:c})});d_.displayName=f_;var T2="PopperContent",[Lj,Ij]=a_(T2),h_=x.forwardRef((e,t)=>{var le,ue,me,ve,He,lt;const{__scopePopper:n,side:i="bottom",sideOffset:r=0,align:o="center",alignOffset:a=0,arrowPadding:c=0,avoidCollisions:f=!0,collisionBoundary:h=[],collisionPadding:p=0,sticky:g="partial",hideWhenDetached:y=!1,updatePositionStrategy:v="optimized",onPlaced:E,...T}=e,S=l_(T2,n),[A,D]=x.useState(null),C=Yt(t,Te=>D(Te)),[N,O]=x.useState(null),k=Mj(N),I=(k==null?void 0:k.width)??0,P=(k==null?void 0:k.height)??0,L=i+(o!=="center"?"-"+o:""),B=typeof p=="number"?p:{top:0,right:0,bottom:0,left:0,...p},z=Array.isArray(h)?h:[h],te=z.length>0,re={padding:B,boundary:z.filter(jj),altBoundary:te},{refs:fe,floatingStyles:X,placement:F,isPositioned:H,middlewareData:$}=i_({strategy:"fixed",placement:L,whileElementsMounted:(...Te)=>t_(...Te,{animationFrame:v==="always"}),elements:{reference:S.anchor},middleware:[x2({mainAxis:r+P,alignmentAxis:a}),f&&r_({mainAxis:!0,crossAxis:!1,limiter:g==="partial"?wj():void 0,...re}),f&&u_({...re}),o_({...re,apply:({elements:Te,rects:At,availableWidth:In,availableHeight:cn})=>{const{width:nt,height:De}=At.reference,qe=Te.floating.style;qe.setProperty("--radix-popper-available-width",`${In}px`),qe.setProperty("--radix-popper-available-height",`${cn}px`),qe.setProperty("--radix-popper-anchor-width",`${nt}px`),qe.setProperty("--radix-popper-anchor-height",`${De}px`)}}),N&&Nj({element:N,padding:c}),Pj({arrowWidth:I,arrowHeight:P}),y&&Dj({strategy:"referenceHidden",...re})]}),[V,M]=g_(F),q=cu(E);ro(()=>{H&&(q==null||q())},[H,q]);const ie=(le=$.arrow)==null?void 0:le.x,ne=(ue=$.arrow)==null?void 0:ue.y,Y=((me=$.arrow)==null?void 0:me.centerOffset)!==0,[pe,oe]=x.useState();return ro(()=>{A&&oe(window.getComputedStyle(A).zIndex)},[A]),_.jsx("div",{ref:fe.setFloating,"data-radix-popper-content-wrapper":"",style:{...X,transform:H?X.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:pe,"--radix-popper-transform-origin":[(ve=$.transformOrigin)==null?void 0:ve.x,(He=$.transformOrigin)==null?void 0:He.y].join(" "),...((lt=$.hide)==null?void 0:lt.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:_.jsx(Lj,{scope:n,placedSide:V,onArrowChange:O,arrowX:ie,arrowY:ne,shouldHideArrow:Y,children:_.jsx(Mt.div,{"data-side":V,"data-align":M,...T,ref:C,style:{...T.style,animation:H?void 0:"none"}})})})});h_.displayName=T2;var p_="PopperArrow",Fj={top:"bottom",right:"left",bottom:"top",left:"right"},m_=x.forwardRef(function(t,n){const{__scopePopper:i,...r}=t,o=Ij(p_,i),a=Fj[o.placedSide];return _.jsx("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:_.jsx(Rj,{...r,ref:n,style:{...r.style,display:"block"}})})});m_.displayName=p_;function jj(e){return e!==null}var Pj=e=>({name:"transformOrigin",options:e,fn(t){var S,A,D;const{placement:n,rects:i,middlewareData:r}=t,a=((S=r.arrow)==null?void 0:S.centerOffset)!==0,c=a?0:e.arrowWidth,f=a?0:e.arrowHeight,[h,p]=g_(n),g={start:"0%",center:"50%",end:"100%"}[p],y=(((A=r.arrow)==null?void 0:A.x)??0)+c/2,v=(((D=r.arrow)==null?void 0:D.y)??0)+f/2;let E="",T="";return h==="bottom"?(E=a?g:`${y}px`,T=`${-f}px`):h==="top"?(E=a?g:`${y}px`,T=`${i.floating.height+f}px`):h==="right"?(E=`${-f}px`,T=a?g:`${v}px`):h==="left"&&(E=`${i.floating.width+f}px`,T=a?g:`${v}px`),{data:{x:E,y:T}}}});function g_(e){const[t,n="center"]=e.split("-");return[t,n]}var v_=c_,y_=d_,b_=h_,x_=m_,z1="rovingFocusGroup.onEntryFocus",Vj={bubbles:!1,cancelable:!0},zc="RovingFocusGroup",[ng,E_,Bj]=HS(zc),[$j,T_]=is(zc,[Bj]),[Uj,zj]=$j(zc),S_=x.forwardRef((e,t)=>_.jsx(ng.Provider,{scope:e.__scopeRovingFocusGroup,children:_.jsx(ng.Slot,{scope:e.__scopeRovingFocusGroup,children:_.jsx(Hj,{...e,ref:t})})}));S_.displayName=zc;var Hj=x.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:i,loop:r=!1,dir:o,currentTabStopId:a,defaultCurrentTabStopId:c,onCurrentTabStopIdChange:f,onEntryFocus:h,preventScrollOnEntryFocus:p=!1,...g}=e,y=x.useRef(null),v=Yt(t,y),E=qS(o),[T,S]=I0({prop:a,defaultProp:c??null,onChange:f,caller:zc}),[A,D]=x.useState(!1),C=cu(h),N=E_(n),O=x.useRef(!1),[k,I]=x.useState(0);return x.useEffect(()=>{const P=y.current;if(P)return P.addEventListener(z1,C),()=>P.removeEventListener(z1,C)},[C]),_.jsx(Uj,{scope:n,orientation:i,dir:E,loop:r,currentTabStopId:T,onItemFocus:x.useCallback(P=>S(P),[S]),onItemShiftTab:x.useCallback(()=>D(!0),[]),onFocusableItemAdd:x.useCallback(()=>I(P=>P+1),[]),onFocusableItemRemove:x.useCallback(()=>I(P=>P-1),[]),children:_.jsx(Mt.div,{tabIndex:A||k===0?-1:0,"data-orientation":i,...g,ref:v,style:{outline:"none",...e.style},onMouseDown:Oe(e.onMouseDown,()=>{O.current=!0}),onFocus:Oe(e.onFocus,P=>{const L=!O.current;if(P.target===P.currentTarget&&L&&!A){const B=new CustomEvent(z1,Vj);if(P.currentTarget.dispatchEvent(B),!B.defaultPrevented){const z=N().filter(F=>F.focusable),te=z.find(F=>F.active),re=z.find(F=>F.id===T),X=[te,re,...z].filter(Boolean).map(F=>F.ref.current);A_(X,p)}}O.current=!1}),onBlur:Oe(e.onBlur,()=>D(!1))})})}),__="RovingFocusGroupItem",C_=x.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:i=!0,active:r=!1,tabStopId:o,children:a,...c}=e,f=$o(),h=o||f,p=zj(__,n),g=p.currentTabStopId===h,y=E_(n),{onFocusableItemAdd:v,onFocusableItemRemove:E,currentTabStopId:T}=p;return x.useEffect(()=>{if(i)return v(),()=>E()},[i,v,E]),_.jsx(ng.ItemSlot,{scope:n,id:h,focusable:i,active:r,children:_.jsx(Mt.span,{tabIndex:g?0:-1,"data-orientation":p.orientation,...c,ref:t,onMouseDown:Oe(e.onMouseDown,S=>{i?p.onItemFocus(h):S.preventDefault()}),onFocus:Oe(e.onFocus,()=>p.onItemFocus(h)),onKeyDown:Oe(e.onKeyDown,S=>{if(S.key==="Tab"&&S.shiftKey){p.onItemShiftTab();return}if(S.target!==S.currentTarget)return;const A=Yj(S,p.orientation,p.dir);if(A!==void 0){if(S.metaKey||S.ctrlKey||S.altKey||S.shiftKey)return;S.preventDefault();let C=y().filter(N=>N.focusable).map(N=>N.ref.current);if(A==="last")C.reverse();else if(A==="prev"||A==="next"){A==="prev"&&C.reverse();const N=C.indexOf(S.currentTarget);C=p.loop?Qj(C,N+1):C.slice(N+1)}setTimeout(()=>A_(C))}}),children:typeof a=="function"?a({isCurrentTabStop:g,hasTabStop:T!=null}):a})})});C_.displayName=__;var qj={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function Gj(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function Yj(e,t,n){const i=Gj(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(i))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(i)))return qj[i]}function A_(e,t=!1){const n=document.activeElement;for(const i of e)if(i===n||(i.focus({preventScroll:t}),document.activeElement!==n))return}function Qj(e,t){return e.map((n,i)=>e[(t+i)%e.length])}var Xj=S_,Zj=C_,ig=["Enter"," "],Wj=["ArrowDown","PageUp","Home"],w_=["ArrowUp","PageDown","End"],Kj=[...Wj,...w_],Jj={ltr:[...ig,"ArrowRight"],rtl:[...ig,"ArrowLeft"]},eP={ltr:["ArrowLeft"],rtl:["ArrowRight"]},Hc="Menu",[Tc,tP,nP]=HS(Hc),[rs,D_]=is(Hc,[nP,z0,T_]),H0=z0(),N_=T_(),[iP,us]=rs(Hc),[rP,qc]=rs(Hc),O_=e=>{const{__scopeMenu:t,open:n=!1,children:i,dir:r,onOpenChange:o,modal:a=!0}=e,c=H0(t),[f,h]=x.useState(null),p=x.useRef(!1),g=cu(o),y=qS(r);return x.useEffect(()=>{const v=()=>{p.current=!0,document.addEventListener("pointerdown",E,{capture:!0,once:!0}),document.addEventListener("pointermove",E,{capture:!0,once:!0})},E=()=>p.current=!1;return document.addEventListener("keydown",v,{capture:!0}),()=>{document.removeEventListener("keydown",v,{capture:!0}),document.removeEventListener("pointerdown",E,{capture:!0}),document.removeEventListener("pointermove",E,{capture:!0})}},[]),_.jsx(v_,{...c,children:_.jsx(iP,{scope:t,open:n,onOpenChange:g,content:f,onContentChange:h,children:_.jsx(rP,{scope:t,onClose:x.useCallback(()=>g(!1),[g]),isUsingKeyboardRef:p,dir:y,modal:a,children:i})})})};O_.displayName=Hc;var uP="MenuAnchor",S2=x.forwardRef((e,t)=>{const{__scopeMenu:n,...i}=e,r=H0(n);return _.jsx(y_,{...r,...i,ref:t})});S2.displayName=uP;var _2="MenuPortal",[oP,R_]=rs(_2,{forceMount:void 0}),M_=e=>{const{__scopeMenu:t,forceMount:n,children:i,container:r}=e,o=us(_2,t);return _.jsx(oP,{scope:t,forceMount:n,children:_.jsx(Rr,{present:n||o.open,children:_.jsx(j0,{asChild:!0,container:r,children:i})})})};M_.displayName=_2;var Ai="MenuContent",[sP,C2]=rs(Ai),k_=x.forwardRef((e,t)=>{const n=R_(Ai,e.__scopeMenu),{forceMount:i=n.forceMount,...r}=e,o=us(Ai,e.__scopeMenu),a=qc(Ai,e.__scopeMenu);return _.jsx(Tc.Provider,{scope:e.__scopeMenu,children:_.jsx(Rr,{present:i||o.open,children:_.jsx(Tc.Slot,{scope:e.__scopeMenu,children:a.modal?_.jsx(aP,{...r,ref:t}):_.jsx(lP,{...r,ref:t})})})})}),aP=x.forwardRef((e,t)=>{const n=us(Ai,e.__scopeMenu),i=x.useRef(null),r=Yt(t,i);return x.useEffect(()=>{const o=i.current;if(o)return _S(o)},[]),_.jsx(A2,{...e,ref:r,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:Oe(e.onFocusOutside,o=>o.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),lP=x.forwardRef((e,t)=>{const n=us(Ai,e.__scopeMenu);return _.jsx(A2,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),cP=bc("MenuContent.ScrollLock"),A2=x.forwardRef((e,t)=>{const{__scopeMenu:n,loop:i=!1,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:a,disableOutsidePointerEvents:c,onEntryFocus:f,onEscapeKeyDown:h,onPointerDownOutside:p,onFocusOutside:g,onInteractOutside:y,onDismiss:v,disableOutsideScroll:E,...T}=e,S=us(Ai,n),A=qc(Ai,n),D=H0(n),C=N_(n),N=tP(n),[O,k]=x.useState(null),I=x.useRef(null),P=Yt(t,I,S.onContentChange),L=x.useRef(0),B=x.useRef(""),z=x.useRef(0),te=x.useRef(null),re=x.useRef("right"),fe=x.useRef(0),X=E?l2:x.Fragment,F=E?{as:cP,allowPinchZoom:!0}:void 0,H=V=>{var le,ue;const M=B.current+V,q=N().filter(me=>!me.disabled),ie=document.activeElement,ne=(le=q.find(me=>me.ref.current===ie))==null?void 0:le.textValue,Y=q.map(me=>me.textValue),pe=TP(Y,M,ne),oe=(ue=q.find(me=>me.textValue===pe))==null?void 0:ue.ref.current;(function me(ve){B.current=ve,window.clearTimeout(L.current),ve!==""&&(L.current=window.setTimeout(()=>me(""),1e3))})(M),oe&&setTimeout(()=>oe.focus())};x.useEffect(()=>()=>window.clearTimeout(L.current),[]),mS();const $=x.useCallback(V=>{var q,ie;return re.current===((q=te.current)==null?void 0:q.side)&&_P(V,(ie=te.current)==null?void 0:ie.area)},[]);return _.jsx(sP,{scope:n,searchRef:B,onItemEnter:x.useCallback(V=>{$(V)&&V.preventDefault()},[$]),onItemLeave:x.useCallback(V=>{var M;$(V)||((M=I.current)==null||M.focus(),k(null))},[$]),onTriggerLeave:x.useCallback(V=>{$(V)&&V.preventDefault()},[$]),pointerGraceTimerRef:z,onPointerGraceIntentChange:x.useCallback(V=>{te.current=V},[]),children:_.jsx(X,{...F,children:_.jsx(a2,{asChild:!0,trapped:r,onMountAutoFocus:Oe(o,V=>{var M;V.preventDefault(),(M=I.current)==null||M.focus({preventScroll:!0})}),onUnmountAutoFocus:a,children:_.jsx(F0,{asChild:!0,disableOutsidePointerEvents:c,onEscapeKeyDown:h,onPointerDownOutside:p,onFocusOutside:g,onInteractOutside:y,onDismiss:v,children:_.jsx(Xj,{asChild:!0,...C,dir:A.dir,orientation:"vertical",loop:i,currentTabStopId:O,onCurrentTabStopIdChange:k,onEntryFocus:Oe(f,V=>{A.isUsingKeyboardRef.current||V.preventDefault()}),preventScrollOnEntryFocus:!0,children:_.jsx(b_,{role:"menu","aria-orientation":"vertical","data-state":X_(S.open),"data-radix-menu-content":"",dir:A.dir,...D,...T,ref:P,style:{outline:"none",...T.style},onKeyDown:Oe(T.onKeyDown,V=>{const q=V.target.closest("[data-radix-menu-content]")===V.currentTarget,ie=V.ctrlKey||V.altKey||V.metaKey,ne=V.key.length===1;q&&(V.key==="Tab"&&V.preventDefault(),!ie&&ne&&H(V.key));const Y=I.current;if(V.target!==Y||!Kj.includes(V.key))return;V.preventDefault();const oe=N().filter(le=>!le.disabled).map(le=>le.ref.current);w_.includes(V.key)&&oe.reverse(),xP(oe)}),onBlur:Oe(e.onBlur,V=>{V.currentTarget.contains(V.target)||(window.clearTimeout(L.current),B.current="")}),onPointerMove:Oe(e.onPointerMove,Sc(V=>{const M=V.target,q=fe.current!==V.clientX;if(V.currentTarget.contains(M)&&q){const ie=V.clientX>fe.current?"right":"left";re.current=ie,fe.current=V.clientX}}))})})})})})})});k_.displayName=Ai;var fP="MenuGroup",w2=x.forwardRef((e,t)=>{const{__scopeMenu:n,...i}=e;return _.jsx(Mt.div,{role:"group",...i,ref:t})});w2.displayName=fP;var dP="MenuLabel",L_=x.forwardRef((e,t)=>{const{__scopeMenu:n,...i}=e;return _.jsx(Mt.div,{...i,ref:t})});L_.displayName=dP;var s0="MenuItem",N6="menu.itemSelect",q0=x.forwardRef((e,t)=>{const{disabled:n=!1,onSelect:i,...r}=e,o=x.useRef(null),a=qc(s0,e.__scopeMenu),c=C2(s0,e.__scopeMenu),f=Yt(t,o),h=x.useRef(!1),p=()=>{const g=o.current;if(!n&&g){const y=new CustomEvent(N6,{bubbles:!0,cancelable:!0});g.addEventListener(N6,v=>i==null?void 0:i(v),{once:!0}),fS(g,y),y.defaultPrevented?h.current=!1:a.onClose()}};return _.jsx(I_,{...r,ref:f,disabled:n,onClick:Oe(e.onClick,p),onPointerDown:g=>{var y;(y=e.onPointerDown)==null||y.call(e,g),h.current=!0},onPointerUp:Oe(e.onPointerUp,g=>{var y;h.current||(y=g.currentTarget)==null||y.click()}),onKeyDown:Oe(e.onKeyDown,g=>{const y=c.searchRef.current!=="";n||y&&g.key===" "||ig.includes(g.key)&&(g.currentTarget.click(),g.preventDefault())})})});q0.displayName=s0;var I_=x.forwardRef((e,t)=>{const{__scopeMenu:n,disabled:i=!1,textValue:r,...o}=e,a=C2(s0,n),c=N_(n),f=x.useRef(null),h=Yt(t,f),[p,g]=x.useState(!1),[y,v]=x.useState("");return x.useEffect(()=>{const E=f.current;E&&v((E.textContent??"").trim())},[o.children]),_.jsx(Tc.ItemSlot,{scope:n,disabled:i,textValue:r??y,children:_.jsx(Zj,{asChild:!0,...c,focusable:!i,children:_.jsx(Mt.div,{role:"menuitem","data-highlighted":p?"":void 0,"aria-disabled":i||void 0,"data-disabled":i?"":void 0,...o,ref:h,onPointerMove:Oe(e.onPointerMove,Sc(E=>{i?a.onItemLeave(E):(a.onItemEnter(E),E.defaultPrevented||E.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:Oe(e.onPointerLeave,Sc(E=>a.onItemLeave(E))),onFocus:Oe(e.onFocus,()=>g(!0)),onBlur:Oe(e.onBlur,()=>g(!1))})})})}),hP="MenuCheckboxItem",F_=x.forwardRef((e,t)=>{const{checked:n=!1,onCheckedChange:i,...r}=e;return _.jsx($_,{scope:e.__scopeMenu,checked:n,children:_.jsx(q0,{role:"menuitemcheckbox","aria-checked":a0(n)?"mixed":n,...r,ref:t,"data-state":N2(n),onSelect:Oe(r.onSelect,()=>i==null?void 0:i(a0(n)?!0:!n),{checkForDefaultPrevented:!1})})})});F_.displayName=hP;var j_="MenuRadioGroup",[pP,mP]=rs(j_,{value:void 0,onValueChange:()=>{}}),P_=x.forwardRef((e,t)=>{const{value:n,onValueChange:i,...r}=e,o=cu(i);return _.jsx(pP,{scope:e.__scopeMenu,value:n,onValueChange:o,children:_.jsx(w2,{...r,ref:t})})});P_.displayName=j_;var V_="MenuRadioItem",B_=x.forwardRef((e,t)=>{const{value:n,...i}=e,r=mP(V_,e.__scopeMenu),o=n===r.value;return _.jsx($_,{scope:e.__scopeMenu,checked:o,children:_.jsx(q0,{role:"menuitemradio","aria-checked":o,...i,ref:t,"data-state":N2(o),onSelect:Oe(i.onSelect,()=>{var a;return(a=r.onValueChange)==null?void 0:a.call(r,n)},{checkForDefaultPrevented:!1})})})});B_.displayName=V_;var D2="MenuItemIndicator",[$_,gP]=rs(D2,{checked:!1}),U_=x.forwardRef((e,t)=>{const{__scopeMenu:n,forceMount:i,...r}=e,o=gP(D2,n);return _.jsx(Rr,{present:i||a0(o.checked)||o.checked===!0,children:_.jsx(Mt.span,{...r,ref:t,"data-state":N2(o.checked)})})});U_.displayName=D2;var vP="MenuSeparator",z_=x.forwardRef((e,t)=>{const{__scopeMenu:n,...i}=e;return _.jsx(Mt.div,{role:"separator","aria-orientation":"horizontal",...i,ref:t})});z_.displayName=vP;var yP="MenuArrow",H_=x.forwardRef((e,t)=>{const{__scopeMenu:n,...i}=e,r=H0(n);return _.jsx(x_,{...r,...i,ref:t})});H_.displayName=yP;var bP="MenuSub",[HQ,q_]=rs(bP),ql="MenuSubTrigger",G_=x.forwardRef((e,t)=>{const n=us(ql,e.__scopeMenu),i=qc(ql,e.__scopeMenu),r=q_(ql,e.__scopeMenu),o=C2(ql,e.__scopeMenu),a=x.useRef(null),{pointerGraceTimerRef:c,onPointerGraceIntentChange:f}=o,h={__scopeMenu:e.__scopeMenu},p=x.useCallback(()=>{a.current&&window.clearTimeout(a.current),a.current=null},[]);return x.useEffect(()=>p,[p]),x.useEffect(()=>{const g=c.current;return()=>{window.clearTimeout(g),f(null)}},[c,f]),_.jsx(S2,{asChild:!0,...h,children:_.jsx(I_,{id:r.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":r.contentId,"data-state":X_(n.open),...e,ref:s2(t,r.onTriggerChange),onClick:g=>{var y;(y=e.onClick)==null||y.call(e,g),!(e.disabled||g.defaultPrevented)&&(g.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:Oe(e.onPointerMove,Sc(g=>{o.onItemEnter(g),!g.defaultPrevented&&!e.disabled&&!n.open&&!a.current&&(o.onPointerGraceIntentChange(null),a.current=window.setTimeout(()=>{n.onOpenChange(!0),p()},100))})),onPointerLeave:Oe(e.onPointerLeave,Sc(g=>{var v,E;p();const y=(v=n.content)==null?void 0:v.getBoundingClientRect();if(y){const T=(E=n.content)==null?void 0:E.dataset.side,S=T==="right",A=S?-5:5,D=y[S?"left":"right"],C=y[S?"right":"left"];o.onPointerGraceIntentChange({area:[{x:g.clientX+A,y:g.clientY},{x:D,y:y.top},{x:C,y:y.top},{x:C,y:y.bottom},{x:D,y:y.bottom}],side:T}),window.clearTimeout(c.current),c.current=window.setTimeout(()=>o.onPointerGraceIntentChange(null),300)}else{if(o.onTriggerLeave(g),g.defaultPrevented)return;o.onPointerGraceIntentChange(null)}})),onKeyDown:Oe(e.onKeyDown,g=>{var v;const y=o.searchRef.current!=="";e.disabled||y&&g.key===" "||Jj[i.dir].includes(g.key)&&(n.onOpenChange(!0),(v=n.content)==null||v.focus(),g.preventDefault())})})})});G_.displayName=ql;var Y_="MenuSubContent",Q_=x.forwardRef((e,t)=>{const n=R_(Ai,e.__scopeMenu),{forceMount:i=n.forceMount,...r}=e,o=us(Ai,e.__scopeMenu),a=qc(Ai,e.__scopeMenu),c=q_(Y_,e.__scopeMenu),f=x.useRef(null),h=Yt(t,f);return _.jsx(Tc.Provider,{scope:e.__scopeMenu,children:_.jsx(Rr,{present:i||o.open,children:_.jsx(Tc.Slot,{scope:e.__scopeMenu,children:_.jsx(A2,{id:c.contentId,"aria-labelledby":c.triggerId,...r,ref:h,align:"start",side:a.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:p=>{var g;a.isUsingKeyboardRef.current&&((g=f.current)==null||g.focus()),p.preventDefault()},onCloseAutoFocus:p=>p.preventDefault(),onFocusOutside:Oe(e.onFocusOutside,p=>{p.target!==c.trigger&&o.onOpenChange(!1)}),onEscapeKeyDown:Oe(e.onEscapeKeyDown,p=>{a.onClose(),p.preventDefault()}),onKeyDown:Oe(e.onKeyDown,p=>{var v;const g=p.currentTarget.contains(p.target),y=eP[a.dir].includes(p.key);g&&y&&(o.onOpenChange(!1),(v=c.trigger)==null||v.focus(),p.preventDefault())})})})})})});Q_.displayName=Y_;function X_(e){return e?"open":"closed"}function a0(e){return e==="indeterminate"}function N2(e){return a0(e)?"indeterminate":e?"checked":"unchecked"}function xP(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function EP(e,t){return e.map((n,i)=>e[(t+i)%e.length])}function TP(e,t,n){const r=t.length>1&&Array.from(t).every(h=>h===t[0])?t[0]:t,o=n?e.indexOf(n):-1;let a=EP(e,Math.max(o,0));r.length===1&&(a=a.filter(h=>h!==n));const f=a.find(h=>h.toLowerCase().startsWith(r.toLowerCase()));return f!==n?f:void 0}function SP(e,t){const{x:n,y:i}=e;let r=!1;for(let o=0,a=t.length-1;o<t.length;a=o++){const c=t[o],f=t[a],h=c.x,p=c.y,g=f.x,y=f.y;p>i!=y>i&&n<(g-h)*(i-p)/(y-p)+h&&(r=!r)}return r}function _P(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return SP(n,t)}function Sc(e){return t=>t.pointerType==="mouse"?e(t):void 0}var CP=O_,AP=S2,wP=M_,DP=k_,NP=w2,OP=L_,RP=q0,MP=F_,kP=P_,LP=B_,IP=U_,FP=z_,jP=H_,PP=G_,VP=Q_,G0="DropdownMenu",[BP,qQ]=is(G0,[D_]),Ln=D_(),[$P,Z_]=BP(G0),W_=e=>{const{__scopeDropdownMenu:t,children:n,dir:i,open:r,defaultOpen:o,onOpenChange:a,modal:c=!0}=e,f=Ln(t),h=x.useRef(null),[p,g]=I0({prop:r,defaultProp:o??!1,onChange:a,caller:G0});return _.jsx($P,{scope:t,triggerId:$o(),triggerRef:h,contentId:$o(),open:p,onOpenChange:g,onOpenToggle:x.useCallback(()=>g(y=>!y),[g]),modal:c,children:_.jsx(CP,{...f,open:p,onOpenChange:g,dir:i,modal:c,children:n})})};W_.displayName=G0;var K_="DropdownMenuTrigger",J_=x.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,disabled:i=!1,...r}=e,o=Z_(K_,n),a=Ln(n);return _.jsx(AP,{asChild:!0,...a,children:_.jsx(Mt.button,{type:"button",id:o.triggerId,"aria-haspopup":"menu","aria-expanded":o.open,"aria-controls":o.open?o.contentId:void 0,"data-state":o.open?"open":"closed","data-disabled":i?"":void 0,disabled:i,...r,ref:s2(t,o.triggerRef),onPointerDown:Oe(e.onPointerDown,c=>{!i&&c.button===0&&c.ctrlKey===!1&&(o.onOpenToggle(),o.open||c.preventDefault())}),onKeyDown:Oe(e.onKeyDown,c=>{i||(["Enter"," "].includes(c.key)&&o.onOpenToggle(),c.key==="ArrowDown"&&o.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(c.key)&&c.preventDefault())})})})});J_.displayName=K_;var UP="DropdownMenuPortal",e8=e=>{const{__scopeDropdownMenu:t,...n}=e,i=Ln(t);return _.jsx(wP,{...i,...n})};e8.displayName=UP;var t8="DropdownMenuContent",n8=x.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...i}=e,r=Z_(t8,n),o=Ln(n),a=x.useRef(!1);return _.jsx(DP,{id:r.contentId,"aria-labelledby":r.triggerId,...o,...i,ref:t,onCloseAutoFocus:Oe(e.onCloseAutoFocus,c=>{var f;a.current||(f=r.triggerRef.current)==null||f.focus(),a.current=!1,c.preventDefault()}),onInteractOutside:Oe(e.onInteractOutside,c=>{const f=c.detail.originalEvent,h=f.button===0&&f.ctrlKey===!0,p=f.button===2||h;(!r.modal||p)&&(a.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});n8.displayName=t8;var zP="DropdownMenuGroup",HP=x.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...i}=e,r=Ln(n);return _.jsx(NP,{...r,...i,ref:t})});HP.displayName=zP;var qP="DropdownMenuLabel",GP=x.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...i}=e,r=Ln(n);return _.jsx(OP,{...r,...i,ref:t})});GP.displayName=qP;var YP="DropdownMenuItem",i8=x.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...i}=e,r=Ln(n);return _.jsx(RP,{...r,...i,ref:t})});i8.displayName=YP;var QP="DropdownMenuCheckboxItem",XP=x.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...i}=e,r=Ln(n);return _.jsx(MP,{...r,...i,ref:t})});XP.displayName=QP;var ZP="DropdownMenuRadioGroup",WP=x.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...i}=e,r=Ln(n);return _.jsx(kP,{...r,...i,ref:t})});WP.displayName=ZP;var KP="DropdownMenuRadioItem",JP=x.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...i}=e,r=Ln(n);return _.jsx(LP,{...r,...i,ref:t})});JP.displayName=KP;var eV="DropdownMenuItemIndicator",tV=x.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...i}=e,r=Ln(n);return _.jsx(IP,{...r,...i,ref:t})});tV.displayName=eV;var nV="DropdownMenuSeparator",iV=x.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...i}=e,r=Ln(n);return _.jsx(FP,{...r,...i,ref:t})});iV.displayName=nV;var rV="DropdownMenuArrow",uV=x.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...i}=e,r=Ln(n);return _.jsx(jP,{...r,...i,ref:t})});uV.displayName=rV;var oV="DropdownMenuSubTrigger",sV=x.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...i}=e,r=Ln(n);return _.jsx(PP,{...r,...i,ref:t})});sV.displayName=oV;var aV="DropdownMenuSubContent",lV=x.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...i}=e,r=Ln(n);return _.jsx(VP,{...r,...i,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});lV.displayName=aV;var cV=W_,fV=J_,dV=e8,hV=n8,pV=i8;const r8=x.forwardRef((e,t)=>{const n=ge.c(6);let i;n[0]!==e.className?(i=dt("graphiql-un-styled",e.className),n[0]=e.className,n[1]=i):i=n[1];let r;return n[2]!==e||n[3]!==t||n[4]!==i?(r=_.jsx(fV,{asChild:!0,children:_.jsx("button",{...e,ref:t,className:i})}),n[2]=e,n[3]=t,n[4]=i,n[5]=r):r=n[5],r});r8.displayName="DropdownMenuButton";function mV(e){const t=ge.c(14);let n,i,r,o,a;t[0]!==e?({children:n,align:o,sideOffset:a,className:i,...r}=e,t[0]=e,t[1]=n,t[2]=i,t[3]=r,t[4]=o,t[5]=a):(n=t[1],i=t[2],r=t[3],o=t[4],a=t[5]);const c=o===void 0?"start":o,f=a===void 0?5:a;let h;t[6]!==i?(h=dt("graphiql-dropdown-content",i),t[6]=i,t[7]=h):h=t[7];let p;return t[8]!==c||t[9]!==n||t[10]!==r||t[11]!==f||t[12]!==h?(p=_.jsx(dV,{children:_.jsx(hV,{align:c,sideOffset:f,className:h,...r,children:n})}),t[8]=c,t[9]=n,t[10]=r,t[11]=f,t[12]=h,t[13]=p):p=t[13],p}const gV=e=>{const t=ge.c(10);let n,i,r;t[0]!==e?({className:i,children:n,...r}=e,t[0]=e,t[1]=n,t[2]=i,t[3]=r):(n=t[1],i=t[2],r=t[3]);let o;t[4]!==i?(o=dt("graphiql-dropdown-item",i),t[4]=i,t[5]=o):o=t[5];let a;return t[6]!==n||t[7]!==r||t[8]!==o?(a=_.jsx(pV,{className:o,...r,children:n}),t[6]=n,t[7]=r,t[8]=o,t[9]=a):a=t[9],a},Dd=Object.assign(cV,{Button:r8,Item:gV,Content:mV}),Ar=x.forwardRef((e,t)=>{const n=ge.c(18);let i,r,o,a;n[0]!==e?({children:i,onlyShowFirstChild:r,type:a,...o}=e,n[0]=e,n[1]=i,n[2]=r,n[3]=o,n[4]=a):(i=n[1],r=n[2],o=n[3],a=n[4]);const c=`graphiql-markdown-${a}`,f=r&&"graphiql-markdown-preview";let h;n[5]!==o.className||n[6]!==c||n[7]!==f?(h=dt(c,f,o.className),n[5]=o.className,n[6]=c,n[7]=f,n[8]=h):h=n[8];let p;n[9]!==i?(p=t0.render(i),n[9]=i,n[10]=p):p=n[10];let g;n[11]!==p?(g={__html:p},n[11]=p,n[12]=g):g=n[12];let y;return n[13]!==o||n[14]!==t||n[15]!==h||n[16]!==g?(y=_.jsx("div",{...o,ref:t,className:h,dangerouslySetInnerHTML:g}),n[13]=o,n[14]=t,n[15]=h,n[16]=g,n[17]=y):y=n[17],y});Ar.displayName="MarkdownContent";const O2=x.forwardRef((e,t)=>{const n=ge.c(6);let i;n[0]!==e.className?(i=dt("graphiql-spinner",e.className),n[0]=e.className,n[1]=i):i=n[1];let r;return n[2]!==e||n[3]!==t||n[4]!==i?(r=_.jsx("div",{...e,ref:t,className:i}),n[2]=e,n[3]=t,n[4]=i,n[5]=r):r=n[5],r});O2.displayName="Spinner";const u8=x.createContext({});function Gc(e){const t=x.useRef(null);return t.current===null&&(t.current=e()),t.current}const R2=typeof window<"u",o8=R2?x.useLayoutEffect:x.useEffect,M2=x.createContext(null),k2=x.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function vV(e=!0){const t=x.useContext(M2);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:i,register:r}=t,o=x.useId();x.useEffect(()=>{if(e)return r(o)},[e]);const a=x.useCallback(()=>e&&i&&i(o),[o,i,e]);return!n&&i?[!1,a]:[!0]}function L2(e,t){e.indexOf(t)===-1&&e.push(t)}function I2(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function yV([...e],t,n){const i=t<0?e.length+t:t;if(i>=0&&i<e.length){const r=n<0?e.length+n:n,[o]=e.splice(t,1);e.splice(r,0,o)}return e}const hu=(e,t,n)=>n>t?t:n<e?e:n;let F2=()=>{};const pu={},s8=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),a8=e=>/^0[^.\s]+$/u.test(e);function j2(e){let t;return()=>(t===void 0&&(t=e()),t)}const wi=e=>e,bV=(e,t)=>n=>t(e(n)),Yc=(...e)=>e.reduce(bV),_c=(e,t,n)=>{const i=t-e;return i===0?1:(n-e)/i};class P2{constructor(){this.subscriptions=[]}add(t){return L2(this.subscriptions,t),()=>I2(this.subscriptions,t)}notify(t,n,i){const r=this.subscriptions.length;if(r)if(r===1)this.subscriptions[0](t,n,i);else for(let o=0;o<r;o++){const a=this.subscriptions[o];a&&a(t,n,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Er=e=>e*1e3,Tr=e=>e/1e3;function l8(e,t){return t?e*(1e3/t):0}const c8=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,xV=1e-7,EV=12;function TV(e,t,n,i,r){let o,a,c=0;do a=t+(n-t)/2,o=c8(a,i,r)-e,o>0?n=a:t=a;while(Math.abs(o)>xV&&++c<EV);return a}function Qc(e,t,n,i){if(e===t&&n===i)return wi;const r=o=>TV(o,0,1,e,n);return o=>o===0||o===1?o:c8(r(o),t,i)}const f8=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,d8=e=>t=>1-e(1-t),h8=Qc(.33,1.53,.69,.99),V2=d8(h8),p8=f8(V2),m8=e=>(e*=2)<1?.5*V2(e):.5*(2-Math.pow(2,-10*(e-1))),B2=e=>1-Math.sin(Math.acos(e)),g8=d8(B2),v8=f8(B2),SV=Qc(.42,0,1,1),_V=Qc(0,0,.58,1),y8=Qc(.42,0,.58,1),CV=e=>Array.isArray(e)&&typeof e[0]!="number",b8=e=>Array.isArray(e)&&typeof e[0]=="number",AV={linear:wi,easeIn:SV,easeInOut:y8,easeOut:_V,circIn:B2,circInOut:v8,circOut:g8,backIn:V2,backInOut:p8,backOut:h8,anticipate:m8},wV=e=>typeof e=="string",O6=e=>{if(b8(e)){F2(e.length===4);const[t,n,i,r]=e;return Qc(t,n,i,r)}else if(wV(e))return AV[e];return e},Nd=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function DV(e,t){let n=new Set,i=new Set,r=!1,o=!1;const a=new WeakSet;let c={delta:0,timestamp:0,isProcessing:!1};function f(p){a.has(p)&&(h.schedule(p),e()),p(c)}const h={schedule:(p,g=!1,y=!1)=>{const E=y&&r?n:i;return g&&a.add(p),E.has(p)||E.add(p),p},cancel:p=>{i.delete(p),a.delete(p)},process:p=>{if(c=p,r){o=!0;return}r=!0,[n,i]=[i,n],n.forEach(f),n.clear(),r=!1,o&&(o=!1,h.process(p))}};return h}const NV=40;function x8(e,t){let n=!1,i=!0;const r={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,a=Nd.reduce((C,N)=>(C[N]=DV(o),C),{}),{setup:c,read:f,resolveKeyframes:h,preUpdate:p,update:g,preRender:y,render:v,postRender:E}=a,T=()=>{const C=pu.useManualTiming?r.timestamp:performance.now();n=!1,pu.useManualTiming||(r.delta=i?1e3/60:Math.max(Math.min(C-r.timestamp,NV),1)),r.timestamp=C,r.isProcessing=!0,c.process(r),f.process(r),h.process(r),p.process(r),g.process(r),y.process(r),v.process(r),E.process(r),r.isProcessing=!1,n&&t&&(i=!1,e(T))},S=()=>{n=!0,i=!0,r.isProcessing||e(T)};return{schedule:Nd.reduce((C,N)=>{const O=a[N];return C[N]=(k,I=!1,P=!1)=>(n||S(),O.schedule(k,I,P)),C},{}),cancel:C=>{for(let N=0;N<Nd.length;N++)a[Nd[N]].cancel(C)},state:r,steps:a}}const{schedule:St,cancel:mu,state:gn,steps:H1}=x8(typeof requestAnimationFrame<"u"?requestAnimationFrame:wi,!0);let Bd;function OV(){Bd=void 0}const qn={now:()=>(Bd===void 0&&qn.set(gn.isProcessing||pu.useManualTiming?gn.timestamp:performance.now()),Bd),set:e=>{Bd=e,queueMicrotask(OV)}},E8=e=>t=>typeof t=="string"&&t.startsWith(e),$2=E8("--"),RV=E8("var(--"),U2=e=>RV(e)?MV.test(e.split("/*")[0].trim()):!1,MV=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Ma={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Cc={...Ma,transform:e=>hu(0,1,e)},Od={...Ma,default:1},Wl=e=>Math.round(e*1e5)/1e5,z2=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function kV(e){return e==null}const LV=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,H2=(e,t)=>n=>!!(typeof n=="string"&&LV.test(n)&&n.startsWith(e)||t&&!kV(n)&&Object.prototype.hasOwnProperty.call(n,t)),T8=(e,t,n)=>i=>{if(typeof i!="string")return i;const[r,o,a,c]=i.match(z2);return{[e]:parseFloat(r),[t]:parseFloat(o),[n]:parseFloat(a),alpha:c!==void 0?parseFloat(c):1}},IV=e=>hu(0,255,e),q1={...Ma,transform:e=>Math.round(IV(e))},Fo={test:H2("rgb","red"),parse:T8("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:i=1})=>"rgba("+q1.transform(e)+", "+q1.transform(t)+", "+q1.transform(n)+", "+Wl(Cc.transform(i))+")"};function FV(e){let t="",n="",i="",r="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),i=e.substring(5,7),r=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),i=e.substring(3,4),r=e.substring(4,5),t+=t,n+=n,i+=i,r+=r),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(i,16),alpha:r?parseInt(r,16)/255:1}}const rg={test:H2("#"),parse:FV,transform:Fo.transform},Xc=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Wu=Xc("deg"),Sr=Xc("%"),we=Xc("px"),jV=Xc("vh"),PV=Xc("vw"),R6={...Sr,parse:e=>Sr.parse(e)/100,transform:e=>Sr.transform(e*100)},ia={test:H2("hsl","hue"),parse:T8("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:i=1})=>"hsla("+Math.round(e)+", "+Sr.transform(Wl(t))+", "+Sr.transform(Wl(n))+", "+Wl(Cc.transform(i))+")"},Sn={test:e=>Fo.test(e)||rg.test(e)||ia.test(e),parse:e=>Fo.test(e)?Fo.parse(e):ia.test(e)?ia.parse(e):rg.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Fo.transform(e):ia.transform(e)},VV=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function BV(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(z2))==null?void 0:t.length)||0)+(((n=e.match(VV))==null?void 0:n.length)||0)>0}const S8="number",_8="color",$V="var",UV="var(",M6="${}",zV=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Ac(e){const t=e.toString(),n=[],i={color:[],number:[],var:[]},r=[];let o=0;const c=t.replace(zV,f=>(Sn.test(f)?(i.color.push(o),r.push(_8),n.push(Sn.parse(f))):f.startsWith(UV)?(i.var.push(o),r.push($V),n.push(f)):(i.number.push(o),r.push(S8),n.push(parseFloat(f))),++o,M6)).split(M6);return{values:n,split:c,indexes:i,types:r}}function C8(e){return Ac(e).values}function A8(e){const{split:t,types:n}=Ac(e),i=t.length;return r=>{let o="";for(let a=0;a<i;a++)if(o+=t[a],r[a]!==void 0){const c=n[a];c===S8?o+=Wl(r[a]):c===_8?o+=Sn.transform(r[a]):o+=r[a]}return o}}const HV=e=>typeof e=="number"?0:e;function qV(e){const t=C8(e);return A8(e)(t.map(HV))}const oo={test:BV,parse:C8,createTransformer:A8,getAnimatableNone:qV};function G1(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function GV({hue:e,saturation:t,lightness:n,alpha:i}){e/=360,t/=100,n/=100;let r=0,o=0,a=0;if(!t)r=o=a=n;else{const c=n<.5?n*(1+t):n+t-n*t,f=2*n-c;r=G1(f,c,e+1/3),o=G1(f,c,e),a=G1(f,c,e-1/3)}return{red:Math.round(r*255),green:Math.round(o*255),blue:Math.round(a*255),alpha:i}}function l0(e,t){return n=>n>0?t:e}const Et=(e,t,n)=>e+(t-e)*n,Y1=(e,t,n)=>{const i=e*e,r=n*(t*t-i)+i;return r<0?0:Math.sqrt(r)},YV=[rg,Fo,ia],QV=e=>YV.find(t=>t.test(e));function k6(e){const t=QV(e);if(!t)return!1;let n=t.parse(e);return t===ia&&(n=GV(n)),n}const L6=(e,t)=>{const n=k6(e),i=k6(t);if(!n||!i)return l0(e,t);const r={...n};return o=>(r.red=Y1(n.red,i.red,o),r.green=Y1(n.green,i.green,o),r.blue=Y1(n.blue,i.blue,o),r.alpha=Et(n.alpha,i.alpha,o),Fo.transform(r))},ug=new Set(["none","hidden"]);function XV(e,t){return ug.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function ZV(e,t){return n=>Et(e,t,n)}function q2(e){return typeof e=="number"?ZV:typeof e=="string"?U2(e)?l0:Sn.test(e)?L6:JV:Array.isArray(e)?w8:typeof e=="object"?Sn.test(e)?L6:WV:l0}function w8(e,t){const n=[...e],i=n.length,r=e.map((o,a)=>q2(o)(o,t[a]));return o=>{for(let a=0;a<i;a++)n[a]=r[a](o);return n}}function WV(e,t){const n={...e,...t},i={};for(const r in n)e[r]!==void 0&&t[r]!==void 0&&(i[r]=q2(e[r])(e[r],t[r]));return r=>{for(const o in i)n[o]=i[o](r);return n}}function KV(e,t){const n=[],i={color:0,var:0,number:0};for(let r=0;r<t.values.length;r++){const o=t.types[r],a=e.indexes[o][i[o]],c=e.values[a]??0;n[r]=c,i[o]++}return n}const JV=(e,t)=>{const n=oo.createTransformer(t),i=Ac(e),r=Ac(t);return i.indexes.var.length===r.indexes.var.length&&i.indexes.color.length===r.indexes.color.length&&i.indexes.number.length>=r.indexes.number.length?ug.has(e)&&!r.values.length||ug.has(t)&&!i.values.length?XV(e,t):Yc(w8(KV(i,r),r.values),n):l0(e,t)};function D8(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?Et(e,t,n):q2(e)(e,t)}const eB=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>St.update(t,n),stop:()=>mu(t),now:()=>gn.isProcessing?gn.timestamp:qn.now()}},N8=(e,t,n=10)=>{let i="";const r=Math.max(Math.round(t/n),2);for(let o=0;o<r;o++)i+=e(o/(r-1))+", ";return`linear(${i.substring(0,i.length-2)})`},c0=2e4;function G2(e){let t=0;const n=50;let i=e.next(t);for(;!i.done&&t<c0;)t+=n,i=e.next(t);return t>=c0?1/0:t}function tB(e,t=100,n){const i=n({...e,keyframes:[0,t]}),r=Math.min(G2(i),c0);return{type:"keyframes",ease:o=>i.next(r*o).value/t,duration:Tr(r)}}const nB=5;function O8(e,t,n){const i=Math.max(t-nB,0);return l8(n-e(i),t-i)}const Ot={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},I6=.001;function iB({duration:e=Ot.duration,bounce:t=Ot.bounce,velocity:n=Ot.velocity,mass:i=Ot.mass}){let r,o,a=1-t;a=hu(Ot.minDamping,Ot.maxDamping,a),e=hu(Ot.minDuration,Ot.maxDuration,Tr(e)),a<1?(r=h=>{const p=h*a,g=p*e,y=p-n,v=og(h,a),E=Math.exp(-g);return I6-y/v*E},o=h=>{const g=h*a*e,y=g*n+n,v=Math.pow(a,2)*Math.pow(h,2)*e,E=Math.exp(-g),T=og(Math.pow(h,2),a);return(-r(h)+I6>0?-1:1)*((y-v)*E)/T}):(r=h=>{const p=Math.exp(-h*e),g=(h-n)*e+1;return-.001+p*g},o=h=>{const p=Math.exp(-h*e),g=(n-h)*(e*e);return p*g});const c=5/e,f=uB(r,o,c);if(e=Er(e),isNaN(f))return{stiffness:Ot.stiffness,damping:Ot.damping,duration:e};{const h=Math.pow(f,2)*i;return{stiffness:h,damping:a*2*Math.sqrt(i*h),duration:e}}}const rB=12;function uB(e,t,n){let i=n;for(let r=1;r<rB;r++)i=i-e(i)/t(i);return i}function og(e,t){return e*Math.sqrt(1-t*t)}const oB=["duration","bounce"],sB=["stiffness","damping","mass"];function F6(e,t){return t.some(n=>e[n]!==void 0)}function aB(e){let t={velocity:Ot.velocity,stiffness:Ot.stiffness,damping:Ot.damping,mass:Ot.mass,isResolvedFromDuration:!1,...e};if(!F6(e,sB)&&F6(e,oB))if(e.visualDuration){const n=e.visualDuration,i=2*Math.PI/(n*1.2),r=i*i,o=2*hu(.05,1,1-(e.bounce||0))*Math.sqrt(r);t={...t,mass:Ot.mass,stiffness:r,damping:o}}else{const n=iB(e);t={...t,...n,mass:Ot.mass},t.isResolvedFromDuration=!0}return t}function f0(e=Ot.visualDuration,t=Ot.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:i,restDelta:r}=n;const o=n.keyframes[0],a=n.keyframes[n.keyframes.length-1],c={done:!1,value:o},{stiffness:f,damping:h,mass:p,duration:g,velocity:y,isResolvedFromDuration:v}=aB({...n,velocity:-Tr(n.velocity||0)}),E=y||0,T=h/(2*Math.sqrt(f*p)),S=a-o,A=Tr(Math.sqrt(f/p)),D=Math.abs(S)<5;i||(i=D?Ot.restSpeed.granular:Ot.restSpeed.default),r||(r=D?Ot.restDelta.granular:Ot.restDelta.default);let C;if(T<1){const O=og(A,T);C=k=>{const I=Math.exp(-T*A*k);return a-I*((E+T*A*S)/O*Math.sin(O*k)+S*Math.cos(O*k))}}else if(T===1)C=O=>a-Math.exp(-A*O)*(S+(E+A*S)*O);else{const O=A*Math.sqrt(T*T-1);C=k=>{const I=Math.exp(-T*A*k),P=Math.min(O*k,300);return a-I*((E+T*A*S)*Math.sinh(P)+O*S*Math.cosh(P))/O}}const N={calculatedDuration:v&&g||null,next:O=>{const k=C(O);if(v)c.done=O>=g;else{let I=O===0?E:0;T<1&&(I=O===0?Er(E):O8(C,O,k));const P=Math.abs(I)<=i,L=Math.abs(a-k)<=r;c.done=P&&L}return c.value=c.done?a:k,c},toString:()=>{const O=Math.min(G2(N),c0),k=N8(I=>N.next(O*I).value,O,30);return O+"ms "+k},toTransition:()=>{}};return N}f0.applyToOptions=e=>{const t=tB(e,100,f0);return e.ease=t.ease,e.duration=Er(t.duration),e.type="keyframes",e};function sg({keyframes:e,velocity:t=0,power:n=.8,timeConstant:i=325,bounceDamping:r=10,bounceStiffness:o=500,modifyTarget:a,min:c,max:f,restDelta:h=.5,restSpeed:p}){const g=e[0],y={done:!1,value:g},v=P=>c!==void 0&&P<c||f!==void 0&&P>f,E=P=>c===void 0?f:f===void 0||Math.abs(c-P)<Math.abs(f-P)?c:f;let T=n*t;const S=g+T,A=a===void 0?S:a(S);A!==S&&(T=A-g);const D=P=>-T*Math.exp(-P/i),C=P=>A+D(P),N=P=>{const L=D(P),B=C(P);y.done=Math.abs(L)<=h,y.value=y.done?A:B};let O,k;const I=P=>{v(y.value)&&(O=P,k=f0({keyframes:[y.value,E(y.value)],velocity:O8(C,P,y.value),damping:r,stiffness:o,restDelta:h,restSpeed:p}))};return I(0),{calculatedDuration:null,next:P=>{let L=!1;return!k&&O===void 0&&(L=!0,N(P),I(P)),O!==void 0&&P>=O?k.next(P-O):(!L&&N(P),y)}}}function lB(e,t,n){const i=[],r=n||pu.mix||D8,o=e.length-1;for(let a=0;a<o;a++){let c=r(e[a],e[a+1]);if(t){const f=Array.isArray(t)?t[a]||wi:t;c=Yc(f,c)}i.push(c)}return i}function R8(e,t,{clamp:n=!0,ease:i,mixer:r}={}){const o=e.length;if(F2(o===t.length),o===1)return()=>t[0];if(o===2&&t[0]===t[1])return()=>t[1];const a=e[0]===e[1];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());const c=lB(t,i,r),f=c.length,h=p=>{if(a&&p<e[0])return t[0];let g=0;if(f>1)for(;g<e.length-2&&!(p<e[g+1]);g++);const y=_c(e[g],e[g+1],p);return c[g](y)};return n?p=>h(hu(e[0],e[o-1],p)):h}function cB(e,t){const n=e[e.length-1];for(let i=1;i<=t;i++){const r=_c(0,t,i);e.push(Et(n,1,r))}}function fB(e){const t=[0];return cB(t,e.length-1),t}function dB(e,t){return e.map(n=>n*t)}function hB(e,t){return e.map(()=>t||y8).splice(0,e.length-1)}function Kl({duration:e=300,keyframes:t,times:n,ease:i="easeInOut"}){const r=CV(i)?i.map(O6):O6(i),o={done:!1,value:t[0]},a=dB(n&&n.length===t.length?n:fB(t),e),c=R8(a,t,{ease:Array.isArray(r)?r:hB(t,r)});return{calculatedDuration:e,next:f=>(o.value=c(f),o.done=f>=e,o)}}const pB=e=>e!==null;function Y2(e,{repeat:t,repeatType:n="loop"},i,r=1){const o=e.filter(pB),c=r<0||t&&n!=="loop"&&t%2===1?0:o.length-1;return!c||i===void 0?o[c]:i}const mB={decay:sg,inertia:sg,tween:Kl,keyframes:Kl,spring:f0};function M8(e){typeof e.type=="string"&&(e.type=mB[e.type])}class Q2{constructor(){this.count=0,this.updateFinished()}get finished(){return this._finished}updateFinished(){this.count++,this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,n){return this.finished.then(t,n)}}const gB=e=>e/100;class k8 extends Q2{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:n}=this.options;if(n&&n.updatedAt!==qn.now()&&this.tick(qn.now()),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:i}=this.options;i&&i()},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;M8(t);const{type:n=Kl,repeat:i=0,repeatDelay:r=0,repeatType:o,velocity:a=0}=t;let{keyframes:c}=t;const f=n||Kl;f!==Kl&&typeof c[0]!="number"&&(this.mixKeyframes=Yc(gB,D8(c[0],c[1])),c=[0,100]);const h=f({...t,keyframes:c});o==="mirror"&&(this.mirroredGenerator=f({...t,keyframes:[...c].reverse(),velocity:-a})),h.calculatedDuration===null&&(h.calculatedDuration=G2(h));const{calculatedDuration:p}=h;this.calculatedDuration=p,this.resolvedDuration=p+r,this.totalDuration=this.resolvedDuration*(i+1)-r,this.generator=h}updateTime(t){const n=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(t,n=!1){const{generator:i,totalDuration:r,mixKeyframes:o,mirroredGenerator:a,resolvedDuration:c,calculatedDuration:f}=this;if(this.startTime===null)return i.next(0);const{delay:h=0,keyframes:p,repeat:g,repeatType:y,repeatDelay:v,type:E,onUpdate:T,finalKeyframe:S}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-r/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const A=this.currentTime-h*(this.playbackSpeed>=0?1:-1),D=this.playbackSpeed>=0?A<0:A>r;this.currentTime=Math.max(A,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=r);let C=this.currentTime,N=i;if(g){const P=Math.min(this.currentTime,r)/c;let L=Math.floor(P),B=P%1;!B&&P>=1&&(B=1),B===1&&L--,L=Math.min(L,g+1),!!(L%2)&&(y==="reverse"?(B=1-B,v&&(B-=v/c)):y==="mirror"&&(N=a)),C=hu(0,1,B)*c}const O=D?{done:!1,value:p[0]}:N.next(C);o&&(O.value=o(O.value));let{done:k}=O;!D&&f!==null&&(k=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);const I=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&k);return I&&E!==sg&&(O.value=Y2(p,this.options,S,this.speed)),T&&T(O.value),I&&this.finish(),O}then(t,n){return this.finished.then(t,n)}get duration(){return Tr(this.calculatedDuration)}get time(){return Tr(this.currentTime)}set time(t){var n;t=Er(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),(n=this.driver)==null||n.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(qn.now());const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=Tr(this.currentTime))}play(){if(this.isStopped)return;const{driver:t=eB,onPlay:n,startTime:i}=this.options;this.driver||(this.driver=t(o=>this.tick(o))),n&&n();const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=i??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(qn.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:t}=this.options;t&&t()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown()}teardown(){this.notifyFinished(),this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){var n;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(n=this.driver)==null||n.stop(),t.observe(this)}}function vB(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const jo=e=>e*180/Math.PI,ag=e=>{const t=jo(Math.atan2(e[1],e[0]));return lg(t)},yB={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:ag,rotateZ:ag,skewX:e=>jo(Math.atan(e[1])),skewY:e=>jo(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},lg=e=>(e=e%360,e<0&&(e+=360),e),j6=ag,P6=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),V6=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),bB={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:P6,scaleY:V6,scale:e=>(P6(e)+V6(e))/2,rotateX:e=>lg(jo(Math.atan2(e[6],e[5]))),rotateY:e=>lg(jo(Math.atan2(-e[2],e[0]))),rotateZ:j6,rotate:j6,skewX:e=>jo(Math.atan(e[4])),skewY:e=>jo(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function B6(e){return e.includes("scale")?1:0}function cg(e,t){if(!e||e==="none")return B6(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let i,r;if(n)i=bB,r=n;else{const c=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=yB,r=c}if(!r)return B6(t);const o=i[t],a=r[1].split(",").map(EB);return typeof o=="function"?o(a):a[o]}const xB=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return cg(n,t)};function EB(e){return parseFloat(e.trim())}const ka=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],La=new Set(ka),$6=e=>e===Ma||e===we,TB=new Set(["x","y","z"]),SB=ka.filter(e=>!TB.has(e));function _B(e){const t=[];return SB.forEach(n=>{const i=e.getValue(n);i!==void 0&&(t.push([n,i.get()]),i.set(n.startsWith("scale")?1:0))}),t}const Uo={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>cg(t,"x"),y:(e,{transform:t})=>cg(t,"y")};Uo.translateX=Uo.x;Uo.translateY=Uo.y;const zo=new Set;let fg=!1,dg=!1,hg=!1;function L8(){if(dg){const e=Array.from(zo).filter(i=>i.needsMeasurement),t=new Set(e.map(i=>i.element)),n=new Map;t.forEach(i=>{const r=_B(i);r.length&&(n.set(i,r),i.render())}),e.forEach(i=>i.measureInitialState()),t.forEach(i=>{i.render();const r=n.get(i);r&&r.forEach(([o,a])=>{var c;(c=i.getValue(o))==null||c.set(a)})}),e.forEach(i=>i.measureEndState()),e.forEach(i=>{i.suspendedScrollY!==void 0&&window.scrollTo(0,i.suspendedScrollY)})}dg=!1,fg=!1,zo.forEach(e=>e.complete(hg)),zo.clear()}function I8(){zo.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(dg=!0)})}function CB(){hg=!0,I8(),L8(),hg=!1}class X2{constructor(t,n,i,r,o,a=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=i,this.motionValue=r,this.element=o,this.isAsync=a}scheduleResolve(){this.isScheduled=!0,this.isAsync?(zo.add(this),fg||(fg=!0,St.read(I8),St.resolveKeyframes(L8))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:i,motionValue:r}=this;if(t[0]===null){const o=r==null?void 0:r.get(),a=t[t.length-1];if(o!==void 0)t[0]=o;else if(i&&n){const c=i.readValue(n,a);c!=null&&(t[0]=c)}t[0]===void 0&&(t[0]=a),r&&o===void 0&&r.set(t[0])}vB(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),zo.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,zo.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const AB=e=>e.startsWith("--");function wB(e,t,n){AB(t)?e.style.setProperty(t,n):e.style[t]=n}const DB=j2(()=>window.ScrollTimeline!==void 0),NB={};function OB(e,t){const n=j2(e);return()=>NB[t]??n()}const F8=OB(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Gl=([e,t,n,i])=>`cubic-bezier(${e}, ${t}, ${n}, ${i})`,U6={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Gl([0,.65,.55,1]),circOut:Gl([.55,0,1,.45]),backIn:Gl([.31,.01,.66,-.59]),backOut:Gl([.33,1.53,.69,.99])};function j8(e,t){if(e)return typeof e=="function"?F8()?N8(e,t):"ease-out":b8(e)?Gl(e):Array.isArray(e)?e.map(n=>j8(n,t)||U6.easeOut):U6[e]}function RB(e,t,n,{delay:i=0,duration:r=300,repeat:o=0,repeatType:a="loop",ease:c="easeOut",times:f}={},h=void 0){const p={[t]:n};f&&(p.offset=f);const g=j8(c,r);Array.isArray(g)&&(p.easing=g);const y={delay:i,duration:r,easing:Array.isArray(g)?"linear":g,fill:"both",iterations:o+1,direction:a==="reverse"?"alternate":"normal"};return h&&(y.pseudoElement=h),e.animate(p,y)}function P8(e){return typeof e=="function"&&"applyToOptions"in e}function MB({type:e,...t}){return P8(e)&&F8()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class kB extends Q2{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;const{element:n,name:i,keyframes:r,pseudoElement:o,allowFlatten:a=!1,finalKeyframe:c,onComplete:f}=t;this.isPseudoElement=!!o,this.allowFlatten=a,this.options=t,F2(typeof t.type!="string");const h=MB(t);this.animation=RB(n,i,r,h,o),h.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!o){const p=Y2(r,this.options,c,this.speed);this.updateMotionValue?this.updateMotionValue(p):wB(n,i,p),this.animation.cancel()}f==null||f(),this.notifyFinished()},this.animation.oncancel=()=>this.notifyFinished()}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var t,n;(n=(t=this.animation).finish)==null||n.call(t)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var t,n;this.isPseudoElement||(n=(t=this.animation).commitStyles)==null||n.call(t)}get duration(){var n,i;const t=((i=(n=this.animation.effect)==null?void 0:n.getComputedTiming)==null?void 0:i.call(n).duration)||0;return Tr(Number(t))}get time(){return Tr(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=Er(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:n}){var i;return this.allowFlatten&&((i=this.animation.effect)==null||i.updateTiming({easing:"linear"})),this.animation.onfinish=null,t&&DB()?(this.animation.timeline=t,wi):n(this)}}const V8={anticipate:m8,backInOut:p8,circInOut:v8};function LB(e){return e in V8}function IB(e){typeof e.ease=="string"&&LB(e.ease)&&(e.ease=V8[e.ease])}const z6=10;class FB extends kB{constructor(t){IB(t),M8(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:i,onComplete:r,element:o,...a}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const c=new k8({...a,autoplay:!1}),f=Er(this.finishedTime??this.time);n.setWithVelocity(c.sample(f-z6).value,c.sample(f).value,z6),c.stop()}}const H6=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(oo.test(e)||e==="0")&&!e.startsWith("url("));function jB(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function PB(e,t,n,i){const r=e[0];if(r===null)return!1;if(t==="display"||t==="visibility")return!0;const o=e[e.length-1],a=H6(r,t),c=H6(o,t);return!a||!c?!1:jB(e)||(n==="spring"||P8(n))&&i}const VB=new Set(["opacity","clipPath","filter","transform"]),BB=j2(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function $B(e){const{motionValue:t,name:n,repeatDelay:i,repeatType:r,damping:o,type:a}=e;if(!t||!t.owner||!(t.owner.current instanceof HTMLElement))return!1;const{onUpdate:c,transformTemplate:f}=t.owner.getProps();return BB()&&n&&VB.has(n)&&(n!=="transform"||!f)&&!c&&!i&&r!=="mirror"&&o!==0&&a!=="inertia"}const UB=40;class zB extends Q2{constructor({autoplay:t=!0,delay:n=0,type:i="keyframes",repeat:r=0,repeatDelay:o=0,repeatType:a="loop",keyframes:c,name:f,motionValue:h,element:p,...g}){var E;super(),this.stop=()=>{var T,S;this._animation?(this._animation.stop(),(T=this.stopTimeline)==null||T.call(this)):(S=this.keyframeResolver)==null||S.cancel()},this.createdAt=qn.now();const y={autoplay:t,delay:n,type:i,repeat:r,repeatDelay:o,repeatType:a,name:f,motionValue:h,element:p,...g},v=(p==null?void 0:p.KeyframeResolver)||X2;this.keyframeResolver=new v(c,(T,S,A)=>this.onKeyframesResolved(T,S,y,!A),f,h,p),(E=this.keyframeResolver)==null||E.scheduleResolve()}onKeyframesResolved(t,n,i,r){this.keyframeResolver=void 0;const{name:o,type:a,velocity:c,delay:f,isHandoff:h,onUpdate:p}=i;this.resolvedAt=qn.now(),PB(t,o,a,c)||((pu.instantAnimations||!f)&&(p==null||p(Y2(t,i,n))),t[0]=t[t.length-1],i.duration=0,i.repeat=0);const y={startTime:r?this.resolvedAt?this.resolvedAt-this.createdAt>UB?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...i,keyframes:t},v=!h&&$B(y)?new FB({...y,element:y.motionValue.owner.current}):new k8(y);v.finished.then(()=>this.notifyFinished()).catch(wi),this.pendingTimeline&&(this.stopTimeline=v.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=v}get finished(){return this._animation?this.animation.finished:this._finished}then(t,n){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||CB(),this._animation}get duration(){return this.animation.duration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this.animation.cancel()}}const HB=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function qB(e){const t=HB.exec(e);if(!t)return[,];const[,n,i,r]=t;return[`--${n??i}`,r]}function B8(e,t,n=1){const[i,r]=qB(e);if(!i)return;const o=window.getComputedStyle(t).getPropertyValue(i);if(o){const a=o.trim();return s8(a)?parseFloat(a):a}return U2(r)?B8(r,t,n+1):r}function Z2(e,t){return(e==null?void 0:e[t])??(e==null?void 0:e.default)??e}const $8=new Set(["width","height","top","left","right","bottom",...ka]),GB={test:e=>e==="auto",parse:e=>e},U8=e=>t=>t.test(e),z8=[Ma,we,Sr,Wu,PV,jV,GB],q6=e=>z8.find(U8(e));function YB(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||a8(e):!0}const QB=new Set(["brightness","contrast","saturate","opacity"]);function XB(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[i]=n.match(z2)||[];if(!i)return e;const r=n.replace(i,"");let o=QB.has(t)?1:0;return i!==n&&(o*=100),t+"("+o+r+")"}const ZB=/\b([a-z-]*)\(.*?\)/gu,pg={...oo,getAnimatableNone:e=>{const t=e.match(ZB);return t?t.map(XB).join(" "):e}},G6={...Ma,transform:Math.round},WB={rotate:Wu,rotateX:Wu,rotateY:Wu,rotateZ:Wu,scale:Od,scaleX:Od,scaleY:Od,scaleZ:Od,skew:Wu,skewX:Wu,skewY:Wu,distance:we,translateX:we,translateY:we,translateZ:we,x:we,y:we,z:we,perspective:we,transformPerspective:we,opacity:Cc,originX:R6,originY:R6,originZ:we},W2={borderWidth:we,borderTopWidth:we,borderRightWidth:we,borderBottomWidth:we,borderLeftWidth:we,borderRadius:we,radius:we,borderTopLeftRadius:we,borderTopRightRadius:we,borderBottomRightRadius:we,borderBottomLeftRadius:we,width:we,maxWidth:we,height:we,maxHeight:we,top:we,right:we,bottom:we,left:we,padding:we,paddingTop:we,paddingRight:we,paddingBottom:we,paddingLeft:we,margin:we,marginTop:we,marginRight:we,marginBottom:we,marginLeft:we,backgroundPositionX:we,backgroundPositionY:we,...WB,zIndex:G6,fillOpacity:Cc,strokeOpacity:Cc,numOctaves:G6},KB={...W2,color:Sn,backgroundColor:Sn,outlineColor:Sn,fill:Sn,stroke:Sn,borderColor:Sn,borderTopColor:Sn,borderRightColor:Sn,borderBottomColor:Sn,borderLeftColor:Sn,filter:pg,WebkitFilter:pg},H8=e=>KB[e];function q8(e,t){let n=H8(e);return n!==pg&&(n=oo),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const JB=new Set(["auto","none","0"]);function e$(e,t,n){let i=0,r;for(;i<e.length&&!r;){const o=e[i];typeof o=="string"&&!JB.has(o)&&Ac(o).values.length&&(r=e[i]),i++}if(r&&n)for(const o of t)e[o]=q8(n,r)}class t$ extends X2{constructor(t,n,i,r,o){super(t,n,i,r,o,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:i}=this;if(!n||!n.current)return;super.readKeyframes();for(let f=0;f<t.length;f++){let h=t[f];if(typeof h=="string"&&(h=h.trim(),U2(h))){const p=B8(h,n.current);p!==void 0&&(t[f]=p),f===t.length-1&&(this.finalKeyframe=h)}}if(this.resolveNoneKeyframes(),!$8.has(i)||t.length!==2)return;const[r,o]=t,a=q6(r),c=q6(o);if(a!==c)if($6(a)&&$6(c))for(let f=0;f<t.length;f++){const h=t[f];typeof h=="string"&&(t[f]=parseFloat(h))}else Uo[i]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,i=[];for(let r=0;r<t.length;r++)(t[r]===null||YB(t[r]))&&i.push(r);i.length&&e$(t,i,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:i}=this;if(!t||!t.current)return;i==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Uo[i](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const r=n[n.length-1];r!==void 0&&t.getValue(i,r).jump(r,!1)}measureEndState(){var c;const{element:t,name:n,unresolvedKeyframes:i}=this;if(!t||!t.current)return;const r=t.getValue(n);r&&r.jump(this.measuredOrigin,!1);const o=i.length-1,a=i[o];i[o]=Uo[n](t.measureViewportBox(),window.getComputedStyle(t.current)),a!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=a),(c=this.removedTransforms)!=null&&c.length&&this.removedTransforms.forEach(([f,h])=>{t.getValue(f).set(h)}),this.resolveNoneKeyframes()}}function n$(e,t,n){if(e instanceof EventTarget)return[e];if(typeof e=="string"){let i=document;const r=(n==null?void 0:n[e])??i.querySelectorAll(e);return r?Array.from(r):[]}return Array.from(e)}const Y6=30,i$=e=>!isNaN(parseFloat(e)),Jl={current:void 0};class r${constructor(t,n={}){this.version="__VERSION__",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(i,r=!0)=>{var a,c;const o=qn.now();if(this.updatedAt!==o&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(i),this.current!==this.prev&&((a=this.events.change)==null||a.notify(this.current),this.dependents))for(const f of this.dependents)f.dirty();r&&((c=this.events.renderRequest)==null||c.notify(this.current))},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=qn.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=i$(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new P2);const i=this.events[t].add(n);return t==="change"?()=>{i(),St.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,n,i){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var t;(t=this.events.change)==null||t.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return Jl.current&&Jl.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const t=qn.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>Y6)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,Y6);return l8(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){var t,n;(t=this.dependents)==null||t.clear(),(n=this.events.destroy)==null||n.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Sa(e,t){return new r$(e,t)}const G8=(e,t)=>t&&typeof e=="number"?t.transform(e):e,{schedule:K2}=x8(queueMicrotask,!1),Ui={x:!1,y:!1};function Y8(){return Ui.x||Ui.y}function u$(e){return e==="x"||e==="y"?Ui[e]?null:(Ui[e]=!0,()=>{Ui[e]=!1}):Ui.x||Ui.y?null:(Ui.x=Ui.y=!0,()=>{Ui.x=Ui.y=!1})}function Q8(e,t){const n=n$(e),i=new AbortController,r={passive:!0,...t,signal:i.signal};return[n,r,()=>i.abort()]}function Q6(e){return!(e.pointerType==="touch"||Y8())}function o$(e,t,n={}){const[i,r,o]=Q8(e,n),a=c=>{if(!Q6(c))return;const{target:f}=c,h=t(f,c);if(typeof h!="function"||!f)return;const p=g=>{Q6(g)&&(h(g),f.removeEventListener("pointerleave",p))};f.addEventListener("pointerleave",p,r)};return i.forEach(c=>{c.addEventListener("pointerenter",a,r)}),o}const X8=(e,t)=>t?e===t?!0:X8(e,t.parentElement):!1,J2=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,s$=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function a$(e){return s$.has(e.tagName)||e.tabIndex!==-1}const Yl=new WeakSet;function X6(e){return t=>{t.key==="Enter"&&e(t)}}function Q1(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const l$=(e,t)=>{const n=e.currentTarget;if(!n)return;const i=X6(()=>{if(Yl.has(n))return;Q1(n,"down");const r=X6(()=>{Q1(n,"up")}),o=()=>Q1(n,"cancel");n.addEventListener("keyup",r,t),n.addEventListener("blur",o,t)});n.addEventListener("keydown",i,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",i),t)};function Z6(e){return J2(e)&&!Y8()}function c$(e,t,n={}){const[i,r,o]=Q8(e,n),a=c=>{const f=c.currentTarget;if(!Z6(c)||Yl.has(f))return;Yl.add(f);const h=t(f,c),p=(v,E)=>{window.removeEventListener("pointerup",g),window.removeEventListener("pointercancel",y),Yl.has(f)&&Yl.delete(f),Z6(v)&&typeof h=="function"&&h(v,{success:E})},g=v=>{p(v,f===window||f===document||n.useGlobalTarget||X8(f,v.target))},y=v=>{p(v,!1)};window.addEventListener("pointerup",g,r),window.addEventListener("pointercancel",y,r)};return i.forEach(c=>{(n.useGlobalTarget?window:c).addEventListener("pointerdown",a,r),c instanceof HTMLElement&&(c.addEventListener("focus",h=>l$(h,r)),!a$(c)&&!c.hasAttribute("tabindex")&&(c.tabIndex=0))}),o}function f$(...e){const t=!Array.isArray(e[0]),n=t?0:-1,i=e[0+n],r=e[1+n],o=e[2+n],a=e[3+n],c=R8(r,o,a);return t?c(i):c}const d$=[...z8,Sn,oo],h$=e=>d$.find(U8(e)),Z8=x.createContext({strict:!1}),W6={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},_a={};for(const e in W6)_a[e]={isEnabled:t=>W6[e].some(n=>!!t[n])};function p$(e){for(const t in e)_a[t]={..._a[t],...e[t]}}const m$=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function d0(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||m$.has(e)}let W8=e=>!d0(e);function g$(e){e&&(W8=t=>t.startsWith("on")?!d0(t):e(t))}try{g$(require("@emotion/is-prop-valid").default)}catch{}function v$(e,t,n){const i={};for(const r in e)r==="values"&&typeof e.values=="object"||(W8(r)||n===!0&&d0(r)||!t&&!d0(r)||e.draggable&&r.startsWith("onDrag"))&&(i[r]=e[r]);return i}function y$(e){if(typeof Proxy>"u")return e;const t=new Map,n=(...i)=>e(...i);return new Proxy(n,{get:(i,r)=>r==="create"?e:(t.has(r)||t.set(r,e(r)),t.get(r))})}const Y0=x.createContext({});function Q0(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function wc(e){return typeof e=="string"||Array.isArray(e)}const ev=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],tv=["initial",...ev];function X0(e){return Q0(e.animate)||tv.some(t=>wc(e[t]))}function K8(e){return!!(X0(e)||e.variants)}function b$(e,t){if(X0(e)){const{initial:n,animate:i}=e;return{initial:n===!1||wc(n)?n:void 0,animate:wc(i)?i:void 0}}return e.inherit!==!1?t:{}}function x$(e){const{initial:t,animate:n}=b$(e,x.useContext(Y0));return x.useMemo(()=>({initial:t,animate:n}),[K6(t),K6(n)])}function K6(e){return Array.isArray(e)?e.join(" "):e}const E$=Symbol.for("motionComponentSymbol");function ra(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function T$(e,t,n){return x.useCallback(i=>{i&&e.onMount&&e.onMount(i),t&&(i?t.mount(i):t.unmount()),n&&(typeof n=="function"?n(i):ra(n)&&(n.current=i))},[t])}const nv=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),S$="framerAppearId",J8="data-"+nv(S$),eC=x.createContext({});function _$(e,t,n,i,r){var T,S;const{visualElement:o}=x.useContext(Y0),a=x.useContext(Z8),c=x.useContext(M2),f=x.useContext(k2).reducedMotion,h=x.useRef(null);i=i||a.renderer,!h.current&&i&&(h.current=i(e,{visualState:t,parent:o,props:n,presenceContext:c,blockInitialAnimation:c?c.initial===!1:!1,reducedMotionConfig:f}));const p=h.current,g=x.useContext(eC);p&&!p.projection&&r&&(p.type==="html"||p.type==="svg")&&C$(h.current,n,r,g);const y=x.useRef(!1);x.useInsertionEffect(()=>{p&&y.current&&p.update(n,c)});const v=n[J8],E=x.useRef(!!v&&!((T=window.MotionHandoffIsComplete)!=null&&T.call(window,v))&&((S=window.MotionHasOptimisedAnimation)==null?void 0:S.call(window,v)));return o8(()=>{p&&(y.current=!0,window.MotionIsMounted=!0,p.updateFeatures(),K2.render(p.render),E.current&&p.animationState&&p.animationState.animateChanges())}),x.useEffect(()=>{p&&(!E.current&&p.animationState&&p.animationState.animateChanges(),E.current&&(queueMicrotask(()=>{var A;(A=window.MotionHandoffMarkAsComplete)==null||A.call(window,v)}),E.current=!1))}),p}function C$(e,t,n,i){const{layoutId:r,layout:o,drag:a,dragConstraints:c,layoutScroll:f,layoutRoot:h,layoutCrossfade:p}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:tC(e.parent)),e.projection.setOptions({layoutId:r,layout:o,alwaysMeasureLayout:!!a||c&&ra(c),visualElement:e,animationType:typeof o=="string"?o:"both",initialPromotionConfig:i,crossfade:p,layoutScroll:f,layoutRoot:h})}function tC(e){if(e)return e.options.allowProjection!==!1?e.projection:tC(e.parent)}function A$({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:i,Component:r}){e&&p$(e);function o(c,f){let h;const p={...x.useContext(k2),...c,layoutId:w$(c)},{isStatic:g}=p,y=x$(c),v=i(c,g);if(!g&&R2){D$();const E=N$(p);h=E.MeasureLayout,y.visualElement=_$(r,v,p,t,E.ProjectionNode)}return _.jsxs(Y0.Provider,{value:y,children:[h&&y.visualElement?_.jsx(h,{visualElement:y.visualElement,...p}):null,n(r,c,T$(v,y.visualElement,f),v,g,y.visualElement)]})}o.displayName=`motion.${typeof r=="string"?r:`create(${r.displayName??r.name??""})`}`;const a=x.forwardRef(o);return a[E$]=r,a}function w$({layoutId:e}){const t=x.useContext(u8).id;return t&&e!==void 0?t+"-"+e:e}function D$(e,t){x.useContext(Z8).strict}function N$(e){const{drag:t,layout:n}=_a;if(!t&&!n)return{};const i={...t,...n};return{MeasureLayout:t!=null&&t.isEnabled(e)||n!=null&&n.isEnabled(e)?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}const Dc={};function O$(e){for(const t in e)Dc[t]=e[t],$2(t)&&(Dc[t].isCSSVariable=!0)}function nC(e,{layout:t,layoutId:n}){return La.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!Dc[e]||e==="opacity")}const vn=e=>!!(e&&e.getVelocity),R$={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},M$=ka.length;function k$(e,t,n){let i="",r=!0;for(let o=0;o<M$;o++){const a=ka[o],c=e[a];if(c===void 0)continue;let f=!0;if(typeof c=="number"?f=c===(a.startsWith("scale")?1:0):f=parseFloat(c)===0,!f||n){const h=G8(c,W2[a]);if(!f){r=!1;const p=R$[a]||a;i+=`${p}(${h}) `}n&&(t[a]=h)}}return i=i.trim(),n?i=n(t,r?"":i):r&&(i="none"),i}function iv(e,t,n){const{style:i,vars:r,transformOrigin:o}=e;let a=!1,c=!1;for(const f in t){const h=t[f];if(La.has(f)){a=!0;continue}else if($2(f)){r[f]=h;continue}else{const p=G8(h,W2[f]);f.startsWith("origin")?(c=!0,o[f]=p):i[f]=p}}if(t.transform||(a||n?i.transform=k$(t,e.transform,n):i.transform&&(i.transform="none")),c){const{originX:f="50%",originY:h="50%",originZ:p=0}=o;i.transformOrigin=`${f} ${h} ${p}`}}const rv=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function iC(e,t,n){for(const i in t)!vn(t[i])&&!nC(i,n)&&(e[i]=t[i])}function L$({transformTemplate:e},t){return x.useMemo(()=>{const n=rv();return iv(n,t,e),Object.assign({},n.vars,n.style)},[t])}function I$(e,t){const n=e.style||{},i={};return iC(i,n,e),Object.assign(i,L$(e,t)),i}function F$(e,t){const n={},i=I$(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=i,n}const j$=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function uv(e){return typeof e!="string"||e.includes("-")?!1:!!(j$.indexOf(e)>-1||/[A-Z]/u.test(e))}const P$={offset:"stroke-dashoffset",array:"stroke-dasharray"},V$={offset:"strokeDashoffset",array:"strokeDasharray"};function B$(e,t,n=1,i=0,r=!0){e.pathLength=1;const o=r?P$:V$;e[o.offset]=we.transform(-i);const a=we.transform(t),c=we.transform(n);e[o.array]=`${a} ${c}`}function rC(e,{attrX:t,attrY:n,attrScale:i,pathLength:r,pathSpacing:o=1,pathOffset:a=0,...c},f,h,p){if(iv(e,c,h),f){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:g,style:y}=e;g.transform&&(y.transform=g.transform,delete g.transform),(y.transform||g.transformOrigin)&&(y.transformOrigin=g.transformOrigin??"50% 50%",delete g.transformOrigin),y.transform&&(y.transformBox=(p==null?void 0:p.transformBox)??"fill-box",delete g.transformBox),t!==void 0&&(g.x=t),n!==void 0&&(g.y=n),i!==void 0&&(g.scale=i),r!==void 0&&B$(g,r,o,a,!1)}const uC=()=>({...rv(),attrs:{}}),oC=e=>typeof e=="string"&&e.toLowerCase()==="svg";function $$(e,t,n,i){const r=x.useMemo(()=>{const o=uC();return rC(o,t,oC(i),e.transformTemplate,e.style),{...o.attrs,style:{...o.style}}},[t]);if(e.style){const o={};iC(o,e.style,e),r.style={...o,...r.style}}return r}function U$(e=!1){return(n,i,r,{latestValues:o},a)=>{const f=(uv(n)?$$:F$)(i,o,a,n),h=v$(i,typeof n=="string",e),p=n!==x.Fragment?{...h,...f,ref:r}:{},{children:g}=i,y=x.useMemo(()=>vn(g)?g.get():g,[g]);return x.createElement(n,{...p,children:y})}}function J6(e){const t=[{},{}];return e==null||e.values.forEach((n,i)=>{t[0][i]=n.get(),t[1][i]=n.getVelocity()}),t}function ov(e,t,n,i){if(typeof t=="function"){const[r,o]=J6(i);t=t(n!==void 0?n:e.custom,r,o)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[r,o]=J6(i);t=t(n!==void 0?n:e.custom,r,o)}return t}function $d(e){return vn(e)?e.get():e}function z$({scrapeMotionValuesFromProps:e,createRenderState:t},n,i,r){return{latestValues:H$(n,i,r,e),renderState:t()}}const sC=e=>(t,n)=>{const i=x.useContext(Y0),r=x.useContext(M2),o=()=>z$(e,t,i,r);return n?o():Gc(o)};function H$(e,t,n,i){const r={},o=i(e,{});for(const y in o)r[y]=$d(o[y]);let{initial:a,animate:c}=e;const f=X0(e),h=K8(e);t&&h&&!f&&e.inherit!==!1&&(a===void 0&&(a=t.initial),c===void 0&&(c=t.animate));let p=n?n.initial===!1:!1;p=p||a===!1;const g=p?c:a;if(g&&typeof g!="boolean"&&!Q0(g)){const y=Array.isArray(g)?g:[g];for(let v=0;v<y.length;v++){const E=ov(e,y[v]);if(E){const{transitionEnd:T,transition:S,...A}=E;for(const D in A){let C=A[D];if(Array.isArray(C)){const N=p?C.length-1:0;C=C[N]}C!==null&&(r[D]=C)}for(const D in T)r[D]=T[D]}}}return r}function sv(e,t,n){var o;const{style:i}=e,r={};for(const a in i)(vn(i[a])||t.style&&vn(t.style[a])||nC(a,e)||((o=n==null?void 0:n.getValue(a))==null?void 0:o.liveStyle)!==void 0)&&(r[a]=i[a]);return r}const q$={useVisualState:sC({scrapeMotionValuesFromProps:sv,createRenderState:rv})};function aC(e,t,n){const i=sv(e,t,n);for(const r in e)if(vn(e[r])||vn(t[r])){const o=ka.indexOf(r)!==-1?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r;i[o]=e[r]}return i}const G$={useVisualState:sC({scrapeMotionValuesFromProps:aC,createRenderState:uC})};function Y$(e,t){return function(i,{forwardMotionProps:r}={forwardMotionProps:!1}){const a={...uv(i)?G$:q$,preloadedFeatures:e,useRender:U$(r),createVisualElement:t,Component:i};return A$(a)}}function Nc(e,t,n){const i=e.getProps();return ov(i,t,n!==void 0?n:i.custom,e)}const mg=e=>Array.isArray(e);function Q$(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Sa(n))}function X$(e){return mg(e)?e[e.length-1]||0:e}function Z$(e,t){const n=Nc(e,t);let{transitionEnd:i={},transition:r={},...o}=n||{};o={...o,...i};for(const a in o){const c=X$(o[a]);Q$(e,a,c)}}function W$(e){return!!(vn(e)&&e.add)}function gg(e,t){const n=e.getValue("willChange");if(W$(n))return n.add(t);if(!n&&pu.WillChange){const i=new pu.WillChange("auto");e.addValue("willChange",i),i.add(t)}}function lC(e){return e.props[J8]}const K$=e=>e!==null;function J$(e,{repeat:t,repeatType:n="loop"},i){const r=e.filter(K$),o=t&&n!=="loop"&&t%2===1?0:r.length-1;return r[o]}const eU={type:"spring",stiffness:500,damping:25,restSpeed:10},tU=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),nU={type:"keyframes",duration:.8},iU={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},rU=(e,{keyframes:t})=>t.length>2?nU:La.has(e)?e.startsWith("scale")?tU(t[1]):eU:iU;function uU({when:e,delay:t,delayChildren:n,staggerChildren:i,staggerDirection:r,repeat:o,repeatType:a,repeatDelay:c,from:f,elapsed:h,...p}){return!!Object.keys(p).length}const av=(e,t,n,i={},r,o)=>a=>{const c=Z2(i,e)||{},f=c.delay||i.delay||0;let{elapsed:h=0}=i;h=h-Er(f);const p={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...c,delay:-h,onUpdate:y=>{t.set(y),c.onUpdate&&c.onUpdate(y)},onComplete:()=>{a(),c.onComplete&&c.onComplete()},name:e,motionValue:t,element:o?void 0:r};uU(c)||Object.assign(p,rU(e,p)),p.duration&&(p.duration=Er(p.duration)),p.repeatDelay&&(p.repeatDelay=Er(p.repeatDelay)),p.from!==void 0&&(p.keyframes[0]=p.from);let g=!1;if((p.type===!1||p.duration===0&&!p.repeatDelay)&&(p.duration=0,p.delay===0&&(g=!0)),(pu.instantAnimations||pu.skipAnimations)&&(g=!0,p.duration=0,p.delay=0),p.allowFlatten=!c.type&&!c.ease,g&&!o&&t.get()!==void 0){const y=J$(p.keyframes,c);if(y!==void 0){St.update(()=>{p.onUpdate(y),p.onComplete()});return}}return new zB(p)};function oU({protectedKeys:e,needsAnimating:t},n){const i=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,i}function cC(e,t,{delay:n=0,transitionOverride:i,type:r}={}){let{transition:o=e.getDefaultTransition(),transitionEnd:a,...c}=t;i&&(o=i);const f=[],h=r&&e.animationState&&e.animationState.getState()[r];for(const p in c){const g=e.getValue(p,e.latestValues[p]??null),y=c[p];if(y===void 0||h&&oU(h,p))continue;const v={delay:n,...Z2(o||{},p)},E=g.get();if(E!==void 0&&!g.isAnimating&&!Array.isArray(y)&&y===E&&!v.velocity)continue;let T=!1;if(window.MotionHandoffAnimation){const A=lC(e);if(A){const D=window.MotionHandoffAnimation(A,p,St);D!==null&&(v.startTime=D,T=!0)}}gg(e,p),g.start(av(p,g,y,e.shouldReduceMotion&&$8.has(p)?{type:!1}:v,e,T));const S=g.animation;S&&f.push(S)}return a&&Promise.all(f).then(()=>{St.update(()=>{a&&Z$(e,a)})}),f}function vg(e,t,n={}){var f;const i=Nc(e,t,n.type==="exit"?(f=e.presenceContext)==null?void 0:f.custom:void 0);let{transition:r=e.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(r=n.transitionOverride);const o=i?()=>Promise.all(cC(e,i,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(h=0)=>{const{delayChildren:p=0,staggerChildren:g,staggerDirection:y}=r;return sU(e,t,p+h,g,y,n)}:()=>Promise.resolve(),{when:c}=r;if(c){const[h,p]=c==="beforeChildren"?[o,a]:[a,o];return h().then(()=>p())}else return Promise.all([o(),a(n.delay)])}function sU(e,t,n=0,i=0,r=1,o){const a=[],c=(e.variantChildren.size-1)*i,f=r===1?(h=0)=>h*i:(h=0)=>c-h*i;return Array.from(e.variantChildren).sort(aU).forEach((h,p)=>{h.notify("AnimationStart",t),a.push(vg(h,t,{...o,delay:n+f(p)}).then(()=>h.notify("AnimationComplete",t)))}),Promise.all(a)}function aU(e,t){return e.sortNodePosition(t)}function lU(e,t,n={}){e.notify("AnimationStart",t);let i;if(Array.isArray(t)){const r=t.map(o=>vg(e,o,n));i=Promise.all(r)}else if(typeof t=="string")i=vg(e,t,n);else{const r=typeof t=="function"?Nc(e,t,n.custom):t;i=Promise.all(cC(e,r,n))}return i.then(()=>{e.notify("AnimationComplete",t)})}function fC(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let i=0;i<n;i++)if(t[i]!==e[i])return!1;return!0}const cU=tv.length;function dC(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?dC(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<cU;n++){const i=tv[n],r=e.props[i];(wc(r)||r===!1)&&(t[i]=r)}return t}const fU=[...ev].reverse(),dU=ev.length;function hU(e){return t=>Promise.all(t.map(({animation:n,options:i})=>lU(e,n,i)))}function pU(e){let t=hU(e),n=e4(),i=!0;const r=f=>(h,p)=>{var y;const g=Nc(e,p,f==="exit"?(y=e.presenceContext)==null?void 0:y.custom:void 0);if(g){const{transition:v,transitionEnd:E,...T}=g;h={...h,...T,...E}}return h};function o(f){t=f(e)}function a(f){const{props:h}=e,p=dC(e.parent)||{},g=[],y=new Set;let v={},E=1/0;for(let S=0;S<dU;S++){const A=fU[S],D=n[A],C=h[A]!==void 0?h[A]:p[A],N=wc(C),O=A===f?D.isActive:null;O===!1&&(E=S);let k=C===p[A]&&C!==h[A]&&N;if(k&&i&&e.manuallyAnimateOnMount&&(k=!1),D.protectedKeys={...v},!D.isActive&&O===null||!C&&!D.prevProp||Q0(C)||typeof C=="boolean")continue;const I=mU(D.prevProp,C);let P=I||A===f&&D.isActive&&!k&&N||S>E&&N,L=!1;const B=Array.isArray(C)?C:[C];let z=B.reduce(r(A),{});O===!1&&(z={});const{prevResolvedValues:te={}}=D,re={...te,...z},fe=H=>{P=!0,y.has(H)&&(L=!0,y.delete(H)),D.needsAnimating[H]=!0;const $=e.getValue(H);$&&($.liveStyle=!1)};for(const H in re){const $=z[H],V=te[H];if(v.hasOwnProperty(H))continue;let M=!1;mg($)&&mg(V)?M=!fC($,V):M=$!==V,M?$!=null?fe(H):y.add(H):$!==void 0&&y.has(H)?fe(H):D.protectedKeys[H]=!0}D.prevProp=C,D.prevResolvedValues=z,D.isActive&&(v={...v,...z}),i&&e.blockInitialAnimation&&(P=!1),P&&(!(k&&I)||L)&&g.push(...B.map(H=>({animation:H,options:{type:A}})))}if(y.size){const S={};if(typeof h.initial!="boolean"){const A=Nc(e,Array.isArray(h.initial)?h.initial[0]:h.initial);A&&A.transition&&(S.transition=A.transition)}y.forEach(A=>{const D=e.getBaseTarget(A),C=e.getValue(A);C&&(C.liveStyle=!0),S[A]=D??null}),g.push({animation:S})}let T=!!g.length;return i&&(h.initial===!1||h.initial===h.animate)&&!e.manuallyAnimateOnMount&&(T=!1),i=!1,T?t(g):Promise.resolve()}function c(f,h){var g;if(n[f].isActive===h)return Promise.resolve();(g=e.variantChildren)==null||g.forEach(y=>{var v;return(v=y.animationState)==null?void 0:v.setActive(f,h)}),n[f].isActive=h;const p=a(f);for(const y in n)n[y].protectedKeys={};return p}return{animateChanges:a,setActive:c,setAnimateFunction:o,getState:()=>n,reset:()=>{n=e4(),i=!0}}}function mU(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!fC(t,e):!1}function Oo(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function e4(){return{animate:Oo(!0),whileInView:Oo(),whileHover:Oo(),whileTap:Oo(),whileDrag:Oo(),whileFocus:Oo(),exit:Oo()}}class lo{constructor(t){this.isMounted=!1,this.node=t}update(){}}class gU extends lo{constructor(t){super(t),t.animationState||(t.animationState=pU(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Q0(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)==null||t.call(this)}}let vU=0;class yU extends lo{constructor(){super(...arguments),this.id=vU++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;const r=this.node.animationState.setActive("exit",!t);n&&!t&&r.then(()=>{n(this.id)})}mount(){const{register:t,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const bU={animation:{Feature:gU},exit:{Feature:yU}};function Oc(e,t,n,i={passive:!0}){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n)}function Zc(e){return{point:{x:e.pageX,y:e.pageY}}}const xU=e=>t=>J2(t)&&e(t,Zc(t));function ec(e,t,n,i){return Oc(e,t,xU(n),i)}function hC({top:e,left:t,right:n,bottom:i}){return{x:{min:t,max:n},y:{min:e,max:i}}}function EU({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function TU(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),i=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:i.y,right:i.x}}const pC=1e-4,SU=1-pC,_U=1+pC,mC=.01,CU=0-mC,AU=0+mC;function Mn(e){return e.max-e.min}function wU(e,t,n){return Math.abs(e-t)<=n}function t4(e,t,n,i=.5){e.origin=i,e.originPoint=Et(t.min,t.max,e.origin),e.scale=Mn(n)/Mn(t),e.translate=Et(n.min,n.max,e.origin)-e.originPoint,(e.scale>=SU&&e.scale<=_U||isNaN(e.scale))&&(e.scale=1),(e.translate>=CU&&e.translate<=AU||isNaN(e.translate))&&(e.translate=0)}function tc(e,t,n,i){t4(e.x,t.x,n.x,i?i.originX:void 0),t4(e.y,t.y,n.y,i?i.originY:void 0)}function n4(e,t,n){e.min=n.min+t.min,e.max=e.min+Mn(t)}function DU(e,t,n){n4(e.x,t.x,n.x),n4(e.y,t.y,n.y)}function i4(e,t,n){e.min=t.min-n.min,e.max=e.min+Mn(t)}function nc(e,t,n){i4(e.x,t.x,n.x),i4(e.y,t.y,n.y)}const r4=()=>({translate:0,scale:1,origin:0,originPoint:0}),ua=()=>({x:r4(),y:r4()}),u4=()=>({min:0,max:0}),jt=()=>({x:u4(),y:u4()});function Si(e){return[e("x"),e("y")]}function X1(e){return e===void 0||e===1}function yg({scale:e,scaleX:t,scaleY:n}){return!X1(e)||!X1(t)||!X1(n)}function Ro(e){return yg(e)||gC(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function gC(e){return o4(e.x)||o4(e.y)}function o4(e){return e&&e!=="0%"}function h0(e,t,n){const i=e-n,r=t*i;return n+r}function s4(e,t,n,i,r){return r!==void 0&&(e=h0(e,r,i)),h0(e,n,i)+t}function bg(e,t=0,n=1,i,r){e.min=s4(e.min,t,n,i,r),e.max=s4(e.max,t,n,i,r)}function vC(e,{x:t,y:n}){bg(e.x,t.translate,t.scale,t.originPoint),bg(e.y,n.translate,n.scale,n.originPoint)}const a4=.999999999999,l4=1.0000000000001;function NU(e,t,n,i=!1){const r=n.length;if(!r)return;t.x=t.y=1;let o,a;for(let c=0;c<r;c++){o=n[c],a=o.projectionDelta;const{visualElement:f}=o.options;f&&f.props.style&&f.props.style.display==="contents"||(i&&o.options.layoutScroll&&o.scroll&&o!==o.root&&sa(e,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),a&&(t.x*=a.x.scale,t.y*=a.y.scale,vC(e,a)),i&&Ro(o.latestValues)&&sa(e,o.latestValues))}t.x<l4&&t.x>a4&&(t.x=1),t.y<l4&&t.y>a4&&(t.y=1)}function oa(e,t){e.min=e.min+t,e.max=e.max+t}function c4(e,t,n,i,r=.5){const o=Et(e.min,e.max,r);bg(e,t,n,o,i)}function sa(e,t){c4(e.x,t.x,t.scaleX,t.scale,t.originX),c4(e.y,t.y,t.scaleY,t.scale,t.originY)}function yC(e,t){return hC(TU(e.getBoundingClientRect(),t))}function OU(e,t,n){const i=yC(e,n),{scroll:r}=t;return r&&(oa(i.x,r.offset.x),oa(i.y,r.offset.y)),i}const bC=({current:e})=>e?e.ownerDocument.defaultView:null,f4=(e,t)=>Math.abs(e-t);function RU(e,t){const n=f4(e.x,t.x),i=f4(e.y,t.y);return Math.sqrt(n**2+i**2)}class xC{constructor(t,n,{transformPagePoint:i,contextWindow:r,dragSnapToOrigin:o=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const g=W1(this.lastMoveEventInfo,this.history),y=this.startEvent!==null,v=RU(g.offset,{x:0,y:0})>=3;if(!y&&!v)return;const{point:E}=g,{timestamp:T}=gn;this.history.push({...E,timestamp:T});const{onStart:S,onMove:A}=this.handlers;y||(S&&S(this.lastMoveEvent,g),this.startEvent=this.lastMoveEvent),A&&A(this.lastMoveEvent,g)},this.handlePointerMove=(g,y)=>{this.lastMoveEvent=g,this.lastMoveEventInfo=Z1(y,this.transformPagePoint),St.update(this.updatePoint,!0)},this.handlePointerUp=(g,y)=>{this.end();const{onEnd:v,onSessionEnd:E,resumeAnimation:T}=this.handlers;if(this.dragSnapToOrigin&&T&&T(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const S=W1(g.type==="pointercancel"?this.lastMoveEventInfo:Z1(y,this.transformPagePoint),this.history);this.startEvent&&v&&v(g,S),E&&E(g,S)},!J2(t))return;this.dragSnapToOrigin=o,this.handlers=n,this.transformPagePoint=i,this.contextWindow=r||window;const a=Zc(t),c=Z1(a,this.transformPagePoint),{point:f}=c,{timestamp:h}=gn;this.history=[{...f,timestamp:h}];const{onSessionStart:p}=n;p&&p(t,W1(c,this.history)),this.removeListeners=Yc(ec(this.contextWindow,"pointermove",this.handlePointerMove),ec(this.contextWindow,"pointerup",this.handlePointerUp),ec(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),mu(this.updatePoint)}}function Z1(e,t){return t?{point:t(e.point)}:e}function d4(e,t){return{x:e.x-t.x,y:e.y-t.y}}function W1({point:e},t){return{point:e,delta:d4(e,EC(t)),offset:d4(e,MU(t)),velocity:kU(t,.1)}}function MU(e){return e[0]}function EC(e){return e[e.length-1]}function kU(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,i=null;const r=EC(e);for(;n>=0&&(i=e[n],!(r.timestamp-i.timestamp>Er(t)));)n--;if(!i)return{x:0,y:0};const o=Tr(r.timestamp-i.timestamp);if(o===0)return{x:0,y:0};const a={x:(r.x-i.x)/o,y:(r.y-i.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function LU(e,{min:t,max:n},i){return t!==void 0&&e<t?e=i?Et(t,e,i.min):Math.max(e,t):n!==void 0&&e>n&&(e=i?Et(n,e,i.max):Math.min(e,n)),e}function h4(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function IU(e,{top:t,left:n,bottom:i,right:r}){return{x:h4(e.x,n,r),y:h4(e.y,t,i)}}function p4(e,t){let n=t.min-e.min,i=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,i]=[i,n]),{min:n,max:i}}function FU(e,t){return{x:p4(e.x,t.x),y:p4(e.y,t.y)}}function jU(e,t){let n=.5;const i=Mn(e),r=Mn(t);return r>i?n=_c(t.min,t.max-i,e.min):i>r&&(n=_c(e.min,e.max-r,t.min)),hu(0,1,n)}function PU(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const xg=.35;function VU(e=xg){return e===!1?e=0:e===!0&&(e=xg),{x:m4(e,"left","right"),y:m4(e,"top","bottom")}}function m4(e,t,n){return{min:g4(e,t),max:g4(e,n)}}function g4(e,t){return typeof e=="number"?e:e[t]||0}const BU=new WeakMap;class $U{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=jt(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:i}=this.visualElement;if(i&&i.isPresent===!1)return;const r=p=>{const{dragSnapToOrigin:g}=this.getProps();g?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(Zc(p).point)},o=(p,g)=>{const{drag:y,dragPropagation:v,onDragStart:E}=this.getProps();if(y&&!v&&(this.openDragLock&&this.openDragLock(),this.openDragLock=u$(y),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Si(S=>{let A=this.getAxisMotionValue(S).get()||0;if(Sr.test(A)){const{projection:D}=this.visualElement;if(D&&D.layout){const C=D.layout.layoutBox[S];C&&(A=Mn(C)*(parseFloat(A)/100))}}this.originPoint[S]=A}),E&&St.postRender(()=>E(p,g)),gg(this.visualElement,"transform");const{animationState:T}=this.visualElement;T&&T.setActive("whileDrag",!0)},a=(p,g)=>{const{dragPropagation:y,dragDirectionLock:v,onDirectionLock:E,onDrag:T}=this.getProps();if(!y&&!this.openDragLock)return;const{offset:S}=g;if(v&&this.currentDirection===null){this.currentDirection=UU(S),this.currentDirection!==null&&E&&E(this.currentDirection);return}this.updateAxis("x",g.point,S),this.updateAxis("y",g.point,S),this.visualElement.render(),T&&T(p,g)},c=(p,g)=>this.stop(p,g),f=()=>Si(p=>{var g;return this.getAnimationState(p)==="paused"&&((g=this.getAxisMotionValue(p).animation)==null?void 0:g.play())}),{dragSnapToOrigin:h}=this.getProps();this.panSession=new xC(t,{onSessionStart:r,onStart:o,onMove:a,onSessionEnd:c,resumeAnimation:f},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:h,contextWindow:bC(this.visualElement)})}stop(t,n){const i=this.isDragging;if(this.cancel(),!i)return;const{velocity:r}=n;this.startAnimation(r);const{onDragEnd:o}=this.getProps();o&&St.postRender(()=>o(t,n))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,i){const{drag:r}=this.getProps();if(!i||!Rd(t,r,this.currentDirection))return;const o=this.getAxisMotionValue(t);let a=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(a=LU(a,this.constraints[t],this.elastic[t])),o.set(a)}resolveConstraints(){var o;const{dragConstraints:t,dragElastic:n}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(o=this.visualElement.projection)==null?void 0:o.layout,r=this.constraints;t&&ra(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=IU(i.layoutBox,t):this.constraints=!1,this.elastic=VU(n),r!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&Si(a=>{this.constraints!==!1&&this.getAxisMotionValue(a)&&(this.constraints[a]=PU(i.layoutBox[a],this.constraints[a]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!ra(t))return!1;const i=t.current,{projection:r}=this.visualElement;if(!r||!r.layout)return!1;const o=OU(i,r.root,this.visualElement.getTransformPagePoint());let a=FU(r.layout.layoutBox,o);if(n){const c=n(EU(a));this.hasMutatedConstraints=!!c,c&&(a=hC(c))}return a}startAnimation(t){const{drag:n,dragMomentum:i,dragElastic:r,dragTransition:o,dragSnapToOrigin:a,onDragTransitionEnd:c}=this.getProps(),f=this.constraints||{},h=Si(p=>{if(!Rd(p,n,this.currentDirection))return;let g=f&&f[p]||{};a&&(g={min:0,max:0});const y=r?200:1e6,v=r?40:1e7,E={type:"inertia",velocity:i?t[p]:0,bounceStiffness:y,bounceDamping:v,timeConstant:750,restDelta:1,restSpeed:10,...o,...g};return this.startAxisValueAnimation(p,E)});return Promise.all(h).then(c)}startAxisValueAnimation(t,n){const i=this.getAxisMotionValue(t);return gg(this.visualElement,t),i.start(av(t,i,0,n,this.visualElement,!1))}stopAnimation(){Si(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Si(t=>{var n;return(n=this.getAxisMotionValue(t).animation)==null?void 0:n.pause()})}getAnimationState(t){var n;return(n=this.getAxisMotionValue(t).animation)==null?void 0:n.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,i=this.visualElement.getProps(),r=i[n];return r||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){Si(n=>{const{drag:i}=this.getProps();if(!Rd(n,i,this.currentDirection))return;const{projection:r}=this.visualElement,o=this.getAxisMotionValue(n);if(r&&r.layout){const{min:a,max:c}=r.layout.layoutBox[n];o.set(t[n]-Et(a,c,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:i}=this.visualElement;if(!ra(n)||!i||!this.constraints)return;this.stopAnimation();const r={x:0,y:0};Si(a=>{const c=this.getAxisMotionValue(a);if(c&&this.constraints!==!1){const f=c.get();r[a]=jU({min:f,max:f},this.constraints[a])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),Si(a=>{if(!Rd(a,t,null))return;const c=this.getAxisMotionValue(a),{min:f,max:h}=this.constraints[a];c.set(Et(f,h,r[a]))})}addListeners(){if(!this.visualElement.current)return;BU.set(this.visualElement,this);const t=this.visualElement.current,n=ec(t,"pointerdown",f=>{const{drag:h,dragListener:p=!0}=this.getProps();h&&p&&this.start(f)}),i=()=>{const{dragConstraints:f}=this.getProps();ra(f)&&f.current&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,o=r.addEventListener("measure",i);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),St.read(i);const a=Oc(window,"resize",()=>this.scalePositionWithinConstraints()),c=r.addEventListener("didUpdate",({delta:f,hasLayoutChanged:h})=>{this.isDragging&&h&&(Si(p=>{const g=this.getAxisMotionValue(p);g&&(this.originPoint[p]+=f[p].translate,g.set(g.get()+f[p].translate))}),this.visualElement.render())});return()=>{a(),n(),o(),c&&c()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:i=!1,dragPropagation:r=!1,dragConstraints:o=!1,dragElastic:a=xg,dragMomentum:c=!0}=t;return{...t,drag:n,dragDirectionLock:i,dragPropagation:r,dragConstraints:o,dragElastic:a,dragMomentum:c}}}function Rd(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function UU(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class zU extends lo{constructor(t){super(t),this.removeGroupControls=wi,this.removeListeners=wi,this.controls=new $U(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||wi}unmount(){this.removeGroupControls(),this.removeListeners()}}const v4=e=>(t,n)=>{e&&St.postRender(()=>e(t,n))};class HU extends lo{constructor(){super(...arguments),this.removePointerDownListener=wi}onPointerDown(t){this.session=new xC(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:bC(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:i,onPanEnd:r}=this.node.getProps();return{onSessionStart:v4(t),onStart:v4(n),onMove:i,onEnd:(o,a)=>{delete this.session,r&&St.postRender(()=>r(o,a))}}}mount(){this.removePointerDownListener=ec(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const Ud={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function y4(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Bl={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(we.test(e))e=parseFloat(e);else return e;const n=y4(e,t.target.x),i=y4(e,t.target.y);return`${n}% ${i}%`}},qU={correct:(e,{treeScale:t,projectionDelta:n})=>{const i=e,r=oo.parse(e);if(r.length>5)return i;const o=oo.createTransformer(e),a=typeof r[0]!="number"?1:0,c=n.x.scale*t.x,f=n.y.scale*t.y;r[0+a]/=c,r[1+a]/=f;const h=Et(c,f,.5);return typeof r[2+a]=="number"&&(r[2+a]/=h),typeof r[3+a]=="number"&&(r[3+a]/=h),o(r)}};class GU extends x.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:i,layoutId:r}=this.props,{projection:o}=t;O$(YU),o&&(n.group&&n.group.add(o),i&&i.register&&r&&i.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),Ud.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:i,drag:r,isPresent:o}=this.props,{projection:a}=i;return a&&(a.isPresent=o,r||t.layoutDependency!==n||n===void 0||t.isPresent!==o?a.willUpdate():this.safeToRemove(),t.isPresent!==o&&(o?a.promote():a.relegate()||St.postRender(()=>{const c=a.getStack();(!c||!c.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),K2.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:i}=this.props,{projection:r}=t;r&&(r.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(r),i&&i.deregister&&i.deregister(r))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function TC(e){const[t,n]=vV(),i=x.useContext(u8);return _.jsx(GU,{...e,layoutGroup:i,switchLayoutGroup:x.useContext(eC),isPresent:t,safeToRemove:n})}const YU={borderRadius:{...Bl,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Bl,borderTopRightRadius:Bl,borderBottomLeftRadius:Bl,borderBottomRightRadius:Bl,boxShadow:qU};function QU(e,t,n){const i=vn(e)?e:Sa(e);return i.start(av("",i,t,n)),i.animation}function XU(e){return e instanceof SVGElement&&e.tagName!=="svg"}const ZU=(e,t)=>e.depth-t.depth;class WU{constructor(){this.children=[],this.isDirty=!1}add(t){L2(this.children,t),this.isDirty=!0}remove(t){I2(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(ZU),this.isDirty=!1,this.children.forEach(t)}}function KU(e,t){const n=qn.now(),i=({timestamp:r})=>{const o=r-n;o>=t&&(mu(i),e(o-t))};return St.setup(i,!0),()=>mu(i)}const SC=["TopLeft","TopRight","BottomLeft","BottomRight"],JU=SC.length,b4=e=>typeof e=="string"?parseFloat(e):e,x4=e=>typeof e=="number"||we.test(e);function ez(e,t,n,i,r,o){r?(e.opacity=Et(0,n.opacity??1,tz(i)),e.opacityExit=Et(t.opacity??1,0,nz(i))):o&&(e.opacity=Et(t.opacity??1,n.opacity??1,i));for(let a=0;a<JU;a++){const c=`border${SC[a]}Radius`;let f=E4(t,c),h=E4(n,c);if(f===void 0&&h===void 0)continue;f||(f=0),h||(h=0),f===0||h===0||x4(f)===x4(h)?(e[c]=Math.max(Et(b4(f),b4(h),i),0),(Sr.test(h)||Sr.test(f))&&(e[c]+="%")):e[c]=h}(t.rotate||n.rotate)&&(e.rotate=Et(t.rotate||0,n.rotate||0,i))}function E4(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const tz=_C(0,.5,g8),nz=_C(.5,.95,wi);function _C(e,t,n){return i=>i<e?0:i>t?1:n(_c(e,t,i))}function T4(e,t){e.min=t.min,e.max=t.max}function Ti(e,t){T4(e.x,t.x),T4(e.y,t.y)}function S4(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function _4(e,t,n,i,r){return e-=t,e=h0(e,1/n,i),r!==void 0&&(e=h0(e,1/r,i)),e}function iz(e,t=0,n=1,i=.5,r,o=e,a=e){if(Sr.test(t)&&(t=parseFloat(t),t=Et(a.min,a.max,t/100)-a.min),typeof t!="number")return;let c=Et(o.min,o.max,i);e===o&&(c-=t),e.min=_4(e.min,t,n,c,r),e.max=_4(e.max,t,n,c,r)}function C4(e,t,[n,i,r],o,a){iz(e,t[n],t[i],t[r],t.scale,o,a)}const rz=["x","scaleX","originX"],uz=["y","scaleY","originY"];function A4(e,t,n,i){C4(e.x,t,rz,n?n.x:void 0,i?i.x:void 0),C4(e.y,t,uz,n?n.y:void 0,i?i.y:void 0)}function w4(e){return e.translate===0&&e.scale===1}function CC(e){return w4(e.x)&&w4(e.y)}function D4(e,t){return e.min===t.min&&e.max===t.max}function oz(e,t){return D4(e.x,t.x)&&D4(e.y,t.y)}function N4(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function AC(e,t){return N4(e.x,t.x)&&N4(e.y,t.y)}function O4(e){return Mn(e.x)/Mn(e.y)}function R4(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class sz{constructor(){this.members=[]}add(t){L2(this.members,t),t.scheduleRender()}remove(t){if(I2(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(r=>t===r);if(n===0)return!1;let i;for(let r=n;r>=0;r--){const o=this.members[r];if(o.isPresent!==!1){i=o;break}}return i?(this.promote(i),!0):!1}promote(t,n){const i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,n&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:r}=t.options;r===!1&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:i}=t;n.onExitComplete&&n.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function az(e,t,n){let i="";const r=e.x.translate/t.x,o=e.y.translate/t.y,a=(n==null?void 0:n.z)||0;if((r||o||a)&&(i=`translate3d(${r}px, ${o}px, ${a}px) `),(t.x!==1||t.y!==1)&&(i+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:h,rotate:p,rotateX:g,rotateY:y,skewX:v,skewY:E}=n;h&&(i=`perspective(${h}px) ${i}`),p&&(i+=`rotate(${p}deg) `),g&&(i+=`rotateX(${g}deg) `),y&&(i+=`rotateY(${y}deg) `),v&&(i+=`skewX(${v}deg) `),E&&(i+=`skewY(${E}deg) `)}const c=e.x.scale*t.x,f=e.y.scale*t.y;return(c!==1||f!==1)&&(i+=`scale(${c}, ${f})`),i||"none"}const K1=["","X","Y","Z"],lz={visibility:"hidden"},M4=1e3;let cz=0;function J1(e,t,n,i){const{latestValues:r}=t;r[e]&&(n[e]=r[e],t.setStaticValue(e,0),i&&(i[e]=0))}function wC(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=lC(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:r,layoutId:o}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",St,!(r||o))}const{parent:i}=e;i&&!i.hasCheckedOptimisedAppear&&wC(i)}function DC({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:i,resetTransform:r}){return class{constructor(a={},c=t==null?void 0:t()){this.id=cz++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(hz),this.nodes.forEach(yz),this.nodes.forEach(bz),this.nodes.forEach(pz)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=a,this.root=c?c.root||c:this,this.path=c?[...c.path,c]:[],this.parent=c,this.depth=c?c.depth+1:0;for(let f=0;f<this.path.length;f++)this.path[f].shouldResetTransform=!0;this.root===this&&(this.nodes=new WU)}addEventListener(a,c){return this.eventHandlers.has(a)||this.eventHandlers.set(a,new P2),this.eventHandlers.get(a).add(c)}notifyListeners(a,...c){const f=this.eventHandlers.get(a);f&&f.notify(...c)}hasListeners(a){return this.eventHandlers.has(a)}mount(a){if(this.instance)return;this.isSVG=XU(a),this.instance=a;const{layoutId:c,layout:f,visualElement:h}=this.options;if(h&&!h.current&&h.mount(a),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(f||c)&&(this.isLayoutDirty=!0),e){let p;const g=()=>this.root.updateBlockedByResize=!1;e(a,()=>{this.root.updateBlockedByResize=!0,p&&p(),p=KU(g,250),Ud.hasAnimatedSinceResize&&(Ud.hasAnimatedSinceResize=!1,this.nodes.forEach(L4))})}c&&this.root.registerSharedNode(c,this),this.options.animate!==!1&&h&&(c||f)&&this.addEventListener("didUpdate",({delta:p,hasLayoutChanged:g,hasRelativeLayoutChanged:y,layout:v})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const E=this.options.transition||h.getDefaultTransition()||_z,{onLayoutAnimationStart:T,onLayoutAnimationComplete:S}=h.getProps(),A=!this.targetLayout||!AC(this.targetLayout,v),D=!g&&y;if(this.options.layoutRoot||this.resumeFrom||D||g&&(A||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(p,D);const C={...Z2(E,"layout"),onPlay:T,onComplete:S};(h.shouldReduceMotion||this.options.layoutRoot)&&(C.delay=0,C.type=!1),this.startAnimation(C)}else g||L4(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=v})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const a=this.getStack();a&&a.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),mu(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(xz),this.animationId++)}getTransformTemplate(){const{visualElement:a}=this.options;return a&&a.getProps().transformTemplate}willUpdate(a=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&wC(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let p=0;p<this.path.length;p++){const g=this.path[p];g.shouldResetTransform=!0,g.updateScroll("snapshot"),g.options.layoutRoot&&g.willUpdate(!1)}const{layoutId:c,layout:f}=this.options;if(c===void 0&&!f)return;const h=this.getTransformTemplate();this.prevTransformTemplateValue=h?h(this.latestValues,""):void 0,this.updateSnapshot(),a&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(k4);return}this.isUpdating||this.nodes.forEach(gz),this.isUpdating=!1,this.nodes.forEach(vz),this.nodes.forEach(fz),this.nodes.forEach(dz),this.clearAllSnapshots();const c=qn.now();gn.delta=hu(0,1e3/60,c-gn.timestamp),gn.timestamp=c,gn.isProcessing=!0,H1.update.process(gn),H1.preRender.process(gn),H1.render.process(gn),gn.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,K2.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(mz),this.sharedNodes.forEach(Ez)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,St.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){St.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Mn(this.snapshot.measuredBox.x)&&!Mn(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let f=0;f<this.path.length;f++)this.path[f].updateScroll();const a=this.layout;this.layout=this.measure(!1),this.layoutCorrected=jt(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:c}=this.options;c&&c.notify("LayoutMeasure",this.layout.layoutBox,a?a.layoutBox:void 0)}updateScroll(a="measure"){let c=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===a&&(c=!1),c&&this.instance){const f=i(this.instance);this.scroll={animationId:this.root.animationId,phase:a,isRoot:f,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:f}}}resetTransform(){if(!r)return;const a=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,c=this.projectionDelta&&!CC(this.projectionDelta),f=this.getTransformTemplate(),h=f?f(this.latestValues,""):void 0,p=h!==this.prevTransformTemplateValue;a&&this.instance&&(c||Ro(this.latestValues)||p)&&(r(this.instance,h),this.shouldResetTransform=!1,this.scheduleRender())}measure(a=!0){const c=this.measurePageBox();let f=this.removeElementScroll(c);return a&&(f=this.removeTransform(f)),Cz(f),{animationId:this.root.animationId,measuredBox:c,layoutBox:f,latestValues:{},source:this.id}}measurePageBox(){var h;const{visualElement:a}=this.options;if(!a)return jt();const c=a.measureViewportBox();if(!(((h=this.scroll)==null?void 0:h.wasRoot)||this.path.some(Az))){const{scroll:p}=this.root;p&&(oa(c.x,p.offset.x),oa(c.y,p.offset.y))}return c}removeElementScroll(a){var f;const c=jt();if(Ti(c,a),(f=this.scroll)!=null&&f.wasRoot)return c;for(let h=0;h<this.path.length;h++){const p=this.path[h],{scroll:g,options:y}=p;p!==this.root&&g&&y.layoutScroll&&(g.wasRoot&&Ti(c,a),oa(c.x,g.offset.x),oa(c.y,g.offset.y))}return c}applyTransform(a,c=!1){const f=jt();Ti(f,a);for(let h=0;h<this.path.length;h++){const p=this.path[h];!c&&p.options.layoutScroll&&p.scroll&&p!==p.root&&sa(f,{x:-p.scroll.offset.x,y:-p.scroll.offset.y}),Ro(p.latestValues)&&sa(f,p.latestValues)}return Ro(this.latestValues)&&sa(f,this.latestValues),f}removeTransform(a){const c=jt();Ti(c,a);for(let f=0;f<this.path.length;f++){const h=this.path[f];if(!h.instance||!Ro(h.latestValues))continue;yg(h.latestValues)&&h.updateSnapshot();const p=jt(),g=h.measurePageBox();Ti(p,g),A4(c,h.latestValues,h.snapshot?h.snapshot.layoutBox:void 0,p)}return Ro(this.latestValues)&&A4(c,this.latestValues),c}setTargetDelta(a){this.targetDelta=a,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(a){this.options={...this.options,...a,crossfade:a.crossfade!==void 0?a.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==gn.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(a=!1){var y;const c=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=c.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=c.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=c.isSharedProjectionDirty);const f=!!this.resumingFrom||this!==c;if(!(a||f&&this.isSharedProjectionDirty||this.isProjectionDirty||(y=this.parent)!=null&&y.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:p,layoutId:g}=this.options;if(!(!this.layout||!(p||g))){if(this.resolvedRelativeTargetAt=gn.timestamp,!this.targetDelta&&!this.relativeTarget){const v=this.getClosestProjectingParent();v&&v.layout&&this.animationProgress!==1?(this.relativeParent=v,this.forceRelativeParentToResolveTarget(),this.relativeTarget=jt(),this.relativeTargetOrigin=jt(),nc(this.relativeTargetOrigin,this.layout.layoutBox,v.layout.layoutBox),Ti(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=jt(),this.targetWithTransforms=jt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),DU(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Ti(this.target,this.layout.layoutBox),vC(this.target,this.targetDelta)):Ti(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget)){this.attemptToResolveRelativeTarget=!1;const v=this.getClosestProjectingParent();v&&!!v.resumingFrom==!!this.resumingFrom&&!v.options.layoutScroll&&v.target&&this.animationProgress!==1?(this.relativeParent=v,this.forceRelativeParentToResolveTarget(),this.relativeTarget=jt(),this.relativeTargetOrigin=jt(),nc(this.relativeTargetOrigin,this.target,v.target),Ti(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||yg(this.parent.latestValues)||gC(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var E;const a=this.getLead(),c=!!this.resumingFrom||this!==a;let f=!0;if((this.isProjectionDirty||(E=this.parent)!=null&&E.isProjectionDirty)&&(f=!1),c&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(f=!1),this.resolvedRelativeTargetAt===gn.timestamp&&(f=!1),f)return;const{layout:h,layoutId:p}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(h||p))return;Ti(this.layoutCorrected,this.layout.layoutBox);const g=this.treeScale.x,y=this.treeScale.y;NU(this.layoutCorrected,this.treeScale,this.path,c),a.layout&&!a.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(a.target=a.layout.layoutBox,a.targetWithTransforms=jt());const{target:v}=a;if(!v){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(S4(this.prevProjectionDelta.x,this.projectionDelta.x),S4(this.prevProjectionDelta.y,this.projectionDelta.y)),tc(this.projectionDelta,this.layoutCorrected,v,this.latestValues),(this.treeScale.x!==g||this.treeScale.y!==y||!R4(this.projectionDelta.x,this.prevProjectionDelta.x)||!R4(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",v))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(a=!0){var c;if((c=this.options.visualElement)==null||c.scheduleRender(),a){const f=this.getStack();f&&f.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=ua(),this.projectionDelta=ua(),this.projectionDeltaWithTransform=ua()}setAnimationOrigin(a,c=!1){const f=this.snapshot,h=f?f.latestValues:{},p={...this.latestValues},g=ua();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!c;const y=jt(),v=f?f.source:void 0,E=this.layout?this.layout.source:void 0,T=v!==E,S=this.getStack(),A=!S||S.members.length<=1,D=!!(T&&!A&&this.options.crossfade===!0&&!this.path.some(Sz));this.animationProgress=0;let C;this.mixTargetDelta=N=>{const O=N/1e3;I4(g.x,a.x,O),I4(g.y,a.y,O),this.setTargetDelta(g),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(nc(y,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Tz(this.relativeTarget,this.relativeTargetOrigin,y,O),C&&oz(this.relativeTarget,C)&&(this.isProjectionDirty=!1),C||(C=jt()),Ti(C,this.relativeTarget)),T&&(this.animationValues=p,ez(p,h,this.latestValues,O,D,A)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=O},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(a){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(mu(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=St.update(()=>{Ud.hasAnimatedSinceResize=!0,this.currentAnimation=QU(0,M4,{...a,onUpdate:c=>{this.mixTargetDelta(c),a.onUpdate&&a.onUpdate(c)},onStop:()=>{},onComplete:()=>{a.onComplete&&a.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const a=this.getStack();a&&a.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(M4),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const a=this.getLead();let{targetWithTransforms:c,target:f,layout:h,latestValues:p}=a;if(!(!c||!f||!h)){if(this!==a&&this.layout&&h&&NC(this.options.animationType,this.layout.layoutBox,h.layoutBox)){f=this.target||jt();const g=Mn(this.layout.layoutBox.x);f.x.min=a.target.x.min,f.x.max=f.x.min+g;const y=Mn(this.layout.layoutBox.y);f.y.min=a.target.y.min,f.y.max=f.y.min+y}Ti(c,f),sa(c,p),tc(this.projectionDeltaWithTransform,this.layoutCorrected,c,p)}}registerSharedNode(a,c){this.sharedNodes.has(a)||this.sharedNodes.set(a,new sz),this.sharedNodes.get(a).add(c);const h=c.options.initialPromotionConfig;c.promote({transition:h?h.transition:void 0,preserveFollowOpacity:h&&h.shouldPreserveFollowOpacity?h.shouldPreserveFollowOpacity(c):void 0})}isLead(){const a=this.getStack();return a?a.lead===this:!0}getLead(){var c;const{layoutId:a}=this.options;return a?((c=this.getStack())==null?void 0:c.lead)||this:this}getPrevLead(){var c;const{layoutId:a}=this.options;return a?(c=this.getStack())==null?void 0:c.prevLead:void 0}getStack(){const{layoutId:a}=this.options;if(a)return this.root.sharedNodes.get(a)}promote({needsReset:a,transition:c,preserveFollowOpacity:f}={}){const h=this.getStack();h&&h.promote(this,f),a&&(this.projectionDelta=void 0,this.needsReset=!0),c&&this.setOptions({transition:c})}relegate(){const a=this.getStack();return a?a.relegate(this):!1}resetSkewAndRotation(){const{visualElement:a}=this.options;if(!a)return;let c=!1;const{latestValues:f}=a;if((f.z||f.rotate||f.rotateX||f.rotateY||f.rotateZ||f.skewX||f.skewY)&&(c=!0),!c)return;const h={};f.z&&J1("z",a,h,this.animationValues);for(let p=0;p<K1.length;p++)J1(`rotate${K1[p]}`,a,h,this.animationValues),J1(`skew${K1[p]}`,a,h,this.animationValues);a.render();for(const p in h)a.setStaticValue(p,h[p]),this.animationValues&&(this.animationValues[p]=h[p]);a.scheduleRender()}getProjectionStyles(a){if(!this.instance||this.isSVG)return;if(!this.isVisible)return lz;const c={visibility:""},f=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,c.opacity="",c.pointerEvents=$d(a==null?void 0:a.pointerEvents)||"",c.transform=f?f(this.latestValues,""):"none",c;const h=this.getLead();if(!this.projectionDelta||!this.layout||!h.target){const v={};return this.options.layoutId&&(v.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,v.pointerEvents=$d(a==null?void 0:a.pointerEvents)||""),this.hasProjected&&!Ro(this.latestValues)&&(v.transform=f?f({},""):"none",this.hasProjected=!1),v}const p=h.animationValues||h.latestValues;this.applyTransformsToTarget(),c.transform=az(this.projectionDeltaWithTransform,this.treeScale,p),f&&(c.transform=f(p,c.transform));const{x:g,y}=this.projectionDelta;c.transformOrigin=`${g.origin*100}% ${y.origin*100}% 0`,h.animationValues?c.opacity=h===this?p.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:p.opacityExit:c.opacity=h===this?p.opacity!==void 0?p.opacity:"":p.opacityExit!==void 0?p.opacityExit:0;for(const v in Dc){if(p[v]===void 0)continue;const{correct:E,applyTo:T,isCSSVariable:S}=Dc[v],A=c.transform==="none"?p[v]:E(p[v],h);if(T){const D=T.length;for(let C=0;C<D;C++)c[T[C]]=A}else S?this.options.visualElement.renderState.vars[v]=A:c[v]=A}return this.options.layoutId&&(c.pointerEvents=h===this?$d(a==null?void 0:a.pointerEvents)||"":"none"),c}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(a=>{var c;return(c=a.currentAnimation)==null?void 0:c.stop()}),this.root.nodes.forEach(k4),this.root.sharedNodes.clear()}}}function fz(e){e.updateLayout()}function dz(e){var n;const t=((n=e.resumeFrom)==null?void 0:n.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:i,measuredBox:r}=e.layout,{animationType:o}=e.options,a=t.source!==e.layout.source;o==="size"?Si(g=>{const y=a?t.measuredBox[g]:t.layoutBox[g],v=Mn(y);y.min=i[g].min,y.max=y.min+v}):NC(o,t.layoutBox,i)&&Si(g=>{const y=a?t.measuredBox[g]:t.layoutBox[g],v=Mn(i[g]);y.max=y.min+v,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[g].max=e.relativeTarget[g].min+v)});const c=ua();tc(c,i,t.layoutBox);const f=ua();a?tc(f,e.applyTransform(r,!0),t.measuredBox):tc(f,i,t.layoutBox);const h=!CC(c);let p=!1;if(!e.resumeFrom){const g=e.getClosestProjectingParent();if(g&&!g.resumeFrom){const{snapshot:y,layout:v}=g;if(y&&v){const E=jt();nc(E,t.layoutBox,y.layoutBox);const T=jt();nc(T,i,v.layoutBox),AC(E,T)||(p=!0),g.options.layoutRoot&&(e.relativeTarget=T,e.relativeTargetOrigin=E,e.relativeParent=g)}}}e.notifyListeners("didUpdate",{layout:i,snapshot:t,delta:f,layoutDelta:c,hasLayoutChanged:h,hasRelativeLayoutChanged:p})}else if(e.isLead()){const{onExitComplete:i}=e.options;i&&i()}e.options.transition=void 0}function hz(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function pz(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function mz(e){e.clearSnapshot()}function k4(e){e.clearMeasurements()}function gz(e){e.isLayoutDirty=!1}function vz(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function L4(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function yz(e){e.resolveTargetDelta()}function bz(e){e.calcProjection()}function xz(e){e.resetSkewAndRotation()}function Ez(e){e.removeLeadSnapshot()}function I4(e,t,n){e.translate=Et(t.translate,0,n),e.scale=Et(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function F4(e,t,n,i){e.min=Et(t.min,n.min,i),e.max=Et(t.max,n.max,i)}function Tz(e,t,n,i){F4(e.x,t.x,n.x,i),F4(e.y,t.y,n.y,i)}function Sz(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const _z={duration:.45,ease:[.4,0,.1,1]},j4=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),P4=j4("applewebkit/")&&!j4("chrome/")?Math.round:wi;function V4(e){e.min=P4(e.min),e.max=P4(e.max)}function Cz(e){V4(e.x),V4(e.y)}function NC(e,t,n){return e==="position"||e==="preserve-aspect"&&!wU(O4(t),O4(n),.2)}function Az(e){var t;return e!==e.root&&((t=e.scroll)==null?void 0:t.wasRoot)}const wz=DC({attachResizeListener:(e,t)=>Oc(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),em={current:void 0},OC=DC({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!em.current){const e=new wz({});e.mount(window),e.setOptions({layoutScroll:!0}),em.current=e}return em.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),Dz={pan:{Feature:HU},drag:{Feature:zU,ProjectionNode:OC,MeasureLayout:TC}};function B4(e,t,n){const{props:i}=e;e.animationState&&i.whileHover&&e.animationState.setActive("whileHover",n==="Start");const r="onHover"+n,o=i[r];o&&St.postRender(()=>o(t,Zc(t)))}class Nz extends lo{mount(){const{current:t}=this.node;t&&(this.unmount=o$(t,(n,i)=>(B4(this.node,i,"Start"),r=>B4(this.node,r,"End"))))}unmount(){}}class Oz extends lo{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Yc(Oc(this.node.current,"focus",()=>this.onFocus()),Oc(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function $4(e,t,n){const{props:i}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&i.whileTap&&e.animationState.setActive("whileTap",n==="Start");const r="onTap"+(n==="End"?"":n),o=i[r];o&&St.postRender(()=>o(t,Zc(t)))}class Rz extends lo{mount(){const{current:t}=this.node;t&&(this.unmount=c$(t,(n,i)=>($4(this.node,i,"Start"),(r,{success:o})=>$4(this.node,r,o?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const Eg=new WeakMap,tm=new WeakMap,Mz=e=>{const t=Eg.get(e.target);t&&t(e)},kz=e=>{e.forEach(Mz)};function Lz({root:e,...t}){const n=e||document;tm.has(n)||tm.set(n,{});const i=tm.get(n),r=JSON.stringify(t);return i[r]||(i[r]=new IntersectionObserver(kz,{root:e,...t})),i[r]}function Iz(e,t,n){const i=Lz(t);return Eg.set(e,n),i.observe(e),()=>{Eg.delete(e),i.unobserve(e)}}const Fz={some:0,all:1};class jz extends lo{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:i,amount:r="some",once:o}=t,a={root:n?n.current:void 0,rootMargin:i,threshold:typeof r=="number"?r:Fz[r]},c=f=>{const{isIntersecting:h}=f;if(this.isInView===h||(this.isInView=h,o&&!h&&this.hasEnteredView))return;h&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",h);const{onViewportEnter:p,onViewportLeave:g}=this.node.getProps(),y=h?p:g;y&&y(f)};return Iz(this.node.current,a,c)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(Pz(t,n))&&this.startObserver()}unmount(){}}function Pz({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const Vz={inView:{Feature:jz},tap:{Feature:Rz},focus:{Feature:Oz},hover:{Feature:Nz}},Bz={layout:{ProjectionNode:OC,MeasureLayout:TC}},Tg={current:null},RC={current:!1};function $z(){if(RC.current=!0,!!R2)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Tg.current=e.matches;e.addListener(t),t()}else Tg.current=!1}const Uz=new WeakMap;function zz(e,t,n){for(const i in t){const r=t[i],o=n[i];if(vn(r))e.addValue(i,r);else if(vn(o))e.addValue(i,Sa(r,{owner:e}));else if(o!==r)if(e.hasValue(i)){const a=e.getValue(i);a.liveStyle===!0?a.jump(r):a.hasAnimated||a.set(r)}else{const a=e.getStaticValue(i);e.addValue(i,Sa(a!==void 0?a:r,{owner:e}))}}for(const i in n)t[i]===void 0&&e.removeValue(i);return t}const U4=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class Hz{scrapeMotionValuesFromProps(t,n,i){return{}}constructor({parent:t,props:n,presenceContext:i,reducedMotionConfig:r,blockInitialAnimation:o,visualState:a},c={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=X2,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const y=qn.now();this.renderScheduledAt<y&&(this.renderScheduledAt=y,St.render(this.render,!1,!0))};const{latestValues:f,renderState:h}=a;this.latestValues=f,this.baseTarget={...f},this.initialValues=n.initial?{...f}:{},this.renderState=h,this.parent=t,this.props=n,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=r,this.options=c,this.blockInitialAnimation=!!o,this.isControllingVariants=X0(n),this.isVariantNode=K8(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:p,...g}=this.scrapeMotionValuesFromProps(n,{},this);for(const y in g){const v=g[y];f[y]!==void 0&&vn(v)&&v.set(f[y],!1)}}mount(t){this.current=t,Uz.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,i)=>this.bindToMotionValue(i,n)),RC.current||$z(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Tg.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),mu(this.notifyUpdate),mu(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const n=this.features[t];n&&(n.unmount(),n.isMounted=!1)}this.current=null}bindToMotionValue(t,n){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const i=La.has(t);i&&this.onBindTransform&&this.onBindTransform();const r=n.on("change",c=>{this.latestValues[t]=c,this.props.onUpdate&&St.preRender(this.notifyUpdate),i&&this.projection&&(this.projection.isTransformDirty=!0)}),o=n.on("renderRequest",this.scheduleRender);let a;window.MotionCheckAppearSync&&(a=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{r(),o(),a&&a(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in _a){const n=_a[t];if(!n)continue;const{isEnabled:i,Feature:r}=n;if(!this.features[t]&&r&&i(this.props)&&(this.features[t]=new r(this)),this.features[t]){const o=this.features[t];o.isMounted?o.update():(o.mount(),o.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):jt()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let i=0;i<U4.length;i++){const r=U4[i];this.propEventSubscriptions[r]&&(this.propEventSubscriptions[r](),delete this.propEventSubscriptions[r]);const o="on"+r,a=t[o];a&&(this.propEventSubscriptions[r]=this.on(r,a))}this.prevMotionValues=zz(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const i=this.values.get(t);n!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return i===void 0&&n!==void 0&&(i=Sa(n===null?void 0:n,{owner:this}),this.addValue(t,i)),i}readValue(t,n){let i=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return i!=null&&(typeof i=="string"&&(s8(i)||a8(i))?i=parseFloat(i):!h$(i)&&oo.test(n)&&(i=q8(t,n)),this.setBaseTarget(t,vn(i)?i.get():i)),vn(i)?i.get():i}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var o;const{initial:n}=this.props;let i;if(typeof n=="string"||typeof n=="object"){const a=ov(this.props,n,(o=this.presenceContext)==null?void 0:o.custom);a&&(i=a[t])}if(n&&i!==void 0)return i;const r=this.getBaseTargetFromProps(this.props,t);return r!==void 0&&!vn(r)?r:this.initialValues[t]!==void 0&&i===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new P2),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class MC extends Hz{constructor(){super(...arguments),this.KeyframeResolver=t$}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:i}){delete n[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;vn(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function kC(e,{style:t,vars:n},i,r){Object.assign(e.style,t,r&&r.getProjectionStyles(i));for(const o in n)e.style.setProperty(o,n[o])}function qz(e){return window.getComputedStyle(e)}class Gz extends MC{constructor(){super(...arguments),this.type="html",this.renderInstance=kC}readValueFromInstance(t,n){if(La.has(n))return xB(t,n);{const i=qz(t),r=($2(n)?i.getPropertyValue(n):i[n])||0;return typeof r=="string"?r.trim():r}}measureInstanceViewportBox(t,{transformPagePoint:n}){return yC(t,n)}build(t,n,i){iv(t,n,i.transformTemplate)}scrapeMotionValuesFromProps(t,n,i){return sv(t,n,i)}}const LC=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Yz(e,t,n,i){kC(e,t,void 0,i);for(const r in t.attrs)e.setAttribute(LC.has(r)?r:nv(r),t.attrs[r])}class Qz extends MC{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=jt}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(La.has(n)){const i=H8(n);return i&&i.default||0}return n=LC.has(n)?n:nv(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,i){return aC(t,n,i)}build(t,n,i){rC(t,n,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,n,i,r){Yz(t,n,i,r)}mount(t){this.isSVGTag=oC(t.tagName),super.mount(t)}}const Xz=(e,t)=>uv(e)?new Qz(t):new Gz(t,{allowProjection:e!==x.Fragment}),Zz=Y$({...bU,...Vz,...Dz,...Bz},Xz),IC=y$(Zz);function FC(e){const t=Gc(()=>Sa(e)),{isStatic:n}=x.useContext(k2);if(n){const[,i]=x.useState(e);x.useEffect(()=>t.on("change",i),[])}return t}function jC(e,t){const n=FC(t()),i=()=>n.set(t());return i(),o8(()=>{const r=()=>St.preRender(i,!1,!0),o=e.map(a=>a.on("change",r));return()=>{o.forEach(a=>a()),mu(i)}}),n}function Wz(e){Jl.current=[],e();const t=jC(Jl.current,e);return Jl.current=void 0,t}function Kz(e,t,n,i){if(typeof e=="function")return Wz(e);const r=typeof t=="function"?t:f$(t,n,i);return Array.isArray(e)?z4(e,r):z4([e],([o])=>r(o))}function z4(e,t){const n=Gc(()=>[]);return jC(e,()=>{n.length=0;const i=e.length;for(let r=0;r<i;r++)n[r]=e[r].get();return t(n)})}const PC=x.createContext(null);function Jz(e,t,n,i){if(!i)return e;const r=e.findIndex(p=>p.value===t);if(r===-1)return e;const o=i>0?1:-1,a=e[r+o];if(!a)return e;const c=e[r],f=a.layout,h=Et(f.min,f.max,.5);return o===1&&c.layout.max+n>h||o===-1&&c.layout.min+n<h?yV(e,r,r+o):e}function eH({children:e,as:t="ul",axis:n="y",onReorder:i,values:r,...o},a){const c=Gc(()=>IC[t]),f=[],h=x.useRef(!1),p={axis:n,registerItem:(g,y)=>{const v=f.findIndex(E=>g===E.value);v!==-1?f[v].layout=y[n]:f.push({value:g,layout:y[n]}),f.sort(iH)},updateOrder:(g,y,v)=>{if(h.current)return;const E=Jz(f,g,y,v);f!==E&&(h.current=!0,i(E.map(nH).filter(T=>r.indexOf(T)!==-1)))}};return x.useEffect(()=>{h.current=!1}),_.jsx(c,{...o,ref:a,ignoreStrict:!0,children:_.jsx(PC.Provider,{value:p,children:e})})}const tH=x.forwardRef(eH);function nH(e){return e.value}function iH(e,t){return e.layout.min-t.layout.min}function H4(e,t=0){return vn(e)?e:FC(t)}function rH({children:e,style:t={},value:n,as:i="li",onDrag:r,layout:o=!0,...a},c){const f=Gc(()=>IC[i]),h=x.useContext(PC),p={x:H4(t.x),y:H4(t.y)},g=Kz([p.x,p.y],([T,S])=>T||S?1:"unset"),{axis:y,registerItem:v,updateOrder:E}=h;return _.jsx(f,{drag:y,...a,dragSnapToOrigin:!0,style:{...t,x:p.x,y:p.y,zIndex:g},layout:o,onDrag:(T,S)=>{const{velocity:A}=S;A[y]&&E(n,p[y].get(),A[y]),r&&r(T,S)},onLayoutMeasure:T=>v(n,T),ref:c,ignoreStrict:!0,children:e})}const uH=x.forwardRef(rH),VC=x.forwardRef((e,t)=>{const n=ge.c(16);let i,r,o,a,c;n[0]!==e?({isActive:o,value:c,children:i,className:r,...a}=e,n[0]=e,n[1]=i,n[2]=r,n[3]=o,n[4]=a,n[5]=c):(i=n[1],r=n[2],o=n[3],a=n[4],c=n[5]);const f=o&&"graphiql-tab-active";let h;n[6]!==r||n[7]!==f?(h=dt("graphiql-tab",f,r),n[6]=r,n[7]=f,n[8]=h):h=n[8];let p;return n[9]!==i||n[10]!==o||n[11]!==a||n[12]!==t||n[13]!==h||n[14]!==c?(p=_.jsx(uH,{...a,ref:t,value:c,"aria-selected":o,role:"tab",className:h,children:i}),n[9]=i,n[10]=o,n[11]=a,n[12]=t,n[13]=h,n[14]=c,n[15]=p):p=n[15],p});VC.displayName="Tab";const BC=x.forwardRef((e,t)=>{const n=ge.c(11);let i,r,o;n[0]!==e?({children:i,className:r,...o}=e,n[0]=e,n[1]=i,n[2]=r,n[3]=o):(i=n[1],r=n[2],o=n[3]);let a;n[4]!==r?(a=dt("graphiql-tab-button",r),n[4]=r,n[5]=a):a=n[5];let c;return n[6]!==i||n[7]!==o||n[8]!==t||n[9]!==a?(c=_.jsx(Kt,{...o,ref:t,type:"button",className:a,children:i}),n[6]=i,n[7]=o,n[8]=t,n[9]=a,n[10]=c):c=n[10],c});BC.displayName="Tab.Button";const $C=x.forwardRef((e,t)=>{const n=ge.c(7);let i;n[0]!==e.className?(i=dt("graphiql-tab-close",e.className),n[0]=e.className,n[1]=i):i=n[1];let r;n[2]===Symbol.for("react.memo_cache_sentinel")?(r=_.jsx(o2,{}),n[2]=r):r=n[2];let o;return n[3]!==e||n[4]!==t||n[5]!==i?(o=_.jsx(Kt,{"aria-label":"Close Tab",...e,ref:t,type:"button",className:i,children:r}),n[3]=e,n[4]=t,n[5]=i,n[6]=o):o=n[6],o});$C.displayName="Tab.Close";const nm=Object.assign(VC,{Button:BC,Close:$C}),UC=x.forwardRef((e,t)=>{const n=ge.c(15);let i,r,o,a,c;n[0]!==e?({values:c,onReorder:o,children:i,className:r,...a}=e,n[0]=e,n[1]=i,n[2]=r,n[3]=o,n[4]=a,n[5]=c):(i=n[1],r=n[2],o=n[3],a=n[4],c=n[5]);let f;n[6]!==r?(f=dt("graphiql-tabs",r),n[6]=r,n[7]=f):f=n[7];let h;return n[8]!==i||n[9]!==o||n[10]!==a||n[11]!==t||n[12]!==f||n[13]!==c?(h=_.jsx(tH,{...a,ref:t,values:c,onReorder:o,axis:"x",role:"tablist",className:f,children:i}),n[8]=i,n[9]=o,n[10]=a,n[11]=t,n[12]=f,n[13]=c,n[14]=h):h=n[14],h});UC.displayName="Tabs";var[Z0,YQ]=is("Tooltip",[z0]),W0=z0(),zC="TooltipProvider",oH=700,Sg="tooltip.open",[sH,lv]=Z0(zC),HC=e=>{const{__scopeTooltip:t,delayDuration:n=oH,skipDelayDuration:i=300,disableHoverableContent:r=!1,children:o}=e,a=x.useRef(!0),c=x.useRef(!1),f=x.useRef(0);return x.useEffect(()=>{const h=f.current;return()=>window.clearTimeout(h)},[]),_.jsx(sH,{scope:t,isOpenDelayedRef:a,delayDuration:n,onOpen:x.useCallback(()=>{window.clearTimeout(f.current),a.current=!1},[]),onClose:x.useCallback(()=>{window.clearTimeout(f.current),f.current=window.setTimeout(()=>a.current=!0,i)},[i]),isPointerInTransitRef:c,onPointerInTransitChange:x.useCallback(h=>{c.current=h},[]),disableHoverableContent:r,children:o})};HC.displayName=zC;var Rc="Tooltip",[aH,Wc]=Z0(Rc),qC=e=>{const{__scopeTooltip:t,children:n,open:i,defaultOpen:r,onOpenChange:o,disableHoverableContent:a,delayDuration:c}=e,f=lv(Rc,e.__scopeTooltip),h=W0(t),[p,g]=x.useState(null),y=$o(),v=x.useRef(0),E=a??f.disableHoverableContent,T=c??f.delayDuration,S=x.useRef(!1),[A,D]=I0({prop:i,defaultProp:r??!1,onChange:I=>{I?(f.onOpen(),document.dispatchEvent(new CustomEvent(Sg))):f.onClose(),o==null||o(I)},caller:Rc}),C=x.useMemo(()=>A?S.current?"delayed-open":"instant-open":"closed",[A]),N=x.useCallback(()=>{window.clearTimeout(v.current),v.current=0,S.current=!1,D(!0)},[D]),O=x.useCallback(()=>{window.clearTimeout(v.current),v.current=0,D(!1)},[D]),k=x.useCallback(()=>{window.clearTimeout(v.current),v.current=window.setTimeout(()=>{S.current=!0,D(!0),v.current=0},T)},[T,D]);return x.useEffect(()=>()=>{v.current&&(window.clearTimeout(v.current),v.current=0)},[]),_.jsx(v_,{...h,children:_.jsx(aH,{scope:t,contentId:y,open:A,stateAttribute:C,trigger:p,onTriggerChange:g,onTriggerEnter:x.useCallback(()=>{f.isOpenDelayedRef.current?k():N()},[f.isOpenDelayedRef,k,N]),onTriggerLeave:x.useCallback(()=>{E?O():(window.clearTimeout(v.current),v.current=0)},[O,E]),onOpen:N,onClose:O,disableHoverableContent:E,children:n})})};qC.displayName=Rc;var _g="TooltipTrigger",GC=x.forwardRef((e,t)=>{const{__scopeTooltip:n,...i}=e,r=Wc(_g,n),o=lv(_g,n),a=W0(n),c=x.useRef(null),f=Yt(t,c,r.onTriggerChange),h=x.useRef(!1),p=x.useRef(!1),g=x.useCallback(()=>h.current=!1,[]);return x.useEffect(()=>()=>document.removeEventListener("pointerup",g),[g]),_.jsx(y_,{asChild:!0,...a,children:_.jsx(Mt.button,{"aria-describedby":r.open?r.contentId:void 0,"data-state":r.stateAttribute,...i,ref:f,onPointerMove:Oe(e.onPointerMove,y=>{y.pointerType!=="touch"&&!p.current&&!o.isPointerInTransitRef.current&&(r.onTriggerEnter(),p.current=!0)}),onPointerLeave:Oe(e.onPointerLeave,()=>{r.onTriggerLeave(),p.current=!1}),onPointerDown:Oe(e.onPointerDown,()=>{r.open&&r.onClose(),h.current=!0,document.addEventListener("pointerup",g,{once:!0})}),onFocus:Oe(e.onFocus,()=>{h.current||r.onOpen()}),onBlur:Oe(e.onBlur,r.onClose),onClick:Oe(e.onClick,r.onClose)})})});GC.displayName=_g;var cv="TooltipPortal",[lH,cH]=Z0(cv,{forceMount:void 0}),YC=e=>{const{__scopeTooltip:t,forceMount:n,children:i,container:r}=e,o=Wc(cv,t);return _.jsx(lH,{scope:t,forceMount:n,children:_.jsx(Rr,{present:n||o.open,children:_.jsx(j0,{asChild:!0,container:r,children:i})})})};YC.displayName=cv;var Ca="TooltipContent",QC=x.forwardRef((e,t)=>{const n=cH(Ca,e.__scopeTooltip),{forceMount:i=n.forceMount,side:r="top",...o}=e,a=Wc(Ca,e.__scopeTooltip);return _.jsx(Rr,{present:i||a.open,children:a.disableHoverableContent?_.jsx(XC,{side:r,...o,ref:t}):_.jsx(fH,{side:r,...o,ref:t})})}),fH=x.forwardRef((e,t)=>{const n=Wc(Ca,e.__scopeTooltip),i=lv(Ca,e.__scopeTooltip),r=x.useRef(null),o=Yt(t,r),[a,c]=x.useState(null),{trigger:f,onClose:h}=n,p=r.current,{onPointerInTransitChange:g}=i,y=x.useCallback(()=>{c(null),g(!1)},[g]),v=x.useCallback((E,T)=>{const S=E.currentTarget,A={x:E.clientX,y:E.clientY},D=gH(A,S.getBoundingClientRect()),C=vH(A,D),N=yH(T.getBoundingClientRect()),O=xH([...C,...N]);c(O),g(!0)},[g]);return x.useEffect(()=>()=>y(),[y]),x.useEffect(()=>{if(f&&p){const E=S=>v(S,p),T=S=>v(S,f);return f.addEventListener("pointerleave",E),p.addEventListener("pointerleave",T),()=>{f.removeEventListener("pointerleave",E),p.removeEventListener("pointerleave",T)}}},[f,p,v,y]),x.useEffect(()=>{if(a){const E=T=>{const S=T.target,A={x:T.clientX,y:T.clientY},D=(f==null?void 0:f.contains(S))||(p==null?void 0:p.contains(S)),C=!bH(A,a);D?y():C&&(y(),h())};return document.addEventListener("pointermove",E),()=>document.removeEventListener("pointermove",E)}},[f,p,a,h,y]),_.jsx(XC,{...e,ref:o})}),[dH,hH]=Z0(Rc,{isInside:!1}),pH=lI("TooltipContent"),XC=x.forwardRef((e,t)=>{const{__scopeTooltip:n,children:i,"aria-label":r,onEscapeKeyDown:o,onPointerDownOutside:a,...c}=e,f=Wc(Ca,n),h=W0(n),{onClose:p}=f;return x.useEffect(()=>(document.addEventListener(Sg,p),()=>document.removeEventListener(Sg,p)),[p]),x.useEffect(()=>{if(f.trigger){const g=y=>{const v=y.target;v!=null&&v.contains(f.trigger)&&p()};return window.addEventListener("scroll",g,{capture:!0}),()=>window.removeEventListener("scroll",g,{capture:!0})}},[f.trigger,p]),_.jsx(F0,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:g=>g.preventDefault(),onDismiss:p,children:_.jsxs(b_,{"data-state":f.stateAttribute,...h,...c,ref:t,style:{...c.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[_.jsx(pH,{children:i}),_.jsx(dH,{scope:n,isInside:!0,children:_.jsx(US,{id:f.contentId,role:"tooltip",children:r||i})})]})})});QC.displayName=Ca;var ZC="TooltipArrow",mH=x.forwardRef((e,t)=>{const{__scopeTooltip:n,...i}=e,r=W0(n);return hH(ZC,n).isInside?null:_.jsx(x_,{...r,...i,ref:t})});mH.displayName=ZC;function gH(e,t){const n=Math.abs(t.top-e.y),i=Math.abs(t.bottom-e.y),r=Math.abs(t.right-e.x),o=Math.abs(t.left-e.x);switch(Math.min(n,i,r,o)){case o:return"left";case r:return"right";case n:return"top";case i:return"bottom";default:throw new Error("unreachable")}}function vH(e,t,n=5){const i=[];switch(t){case"top":i.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":i.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":i.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":i.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return i}function yH(e){const{top:t,right:n,bottom:i,left:r}=e;return[{x:r,y:t},{x:n,y:t},{x:n,y:i},{x:r,y:i}]}function bH(e,t){const{x:n,y:i}=e;let r=!1;for(let o=0,a=t.length-1;o<t.length;a=o++){const c=t[o],f=t[a],h=c.x,p=c.y,g=f.x,y=f.y;p>i!=y>i&&n<(g-h)*(i-p)/(y-p)+h&&(r=!r)}return r}function xH(e){const t=e.slice();return t.sort((n,i)=>n.x<i.x?-1:n.x>i.x?1:n.y<i.y?-1:n.y>i.y?1:0),EH(t)}function EH(e){if(e.length<=1)return e.slice();const t=[];for(let i=0;i<e.length;i++){const r=e[i];for(;t.length>=2;){const o=t[t.length-1],a=t[t.length-2];if((o.x-a.x)*(r.y-a.y)>=(o.y-a.y)*(r.x-a.x))t.pop();else break}t.push(r)}t.pop();const n=[];for(let i=e.length-1;i>=0;i--){const r=e[i];for(;n.length>=2;){const o=n[n.length-1],a=n[n.length-2];if((o.x-a.x)*(r.y-a.y)>=(o.y-a.y)*(r.x-a.x))n.pop();else break}n.push(r)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var TH=HC,SH=qC,_H=GC,CH=YC,AH=QC;const wH=e=>{const t=ge.c(10),{children:n,align:i,side:r,sideOffset:o,label:a}=e,c=i===void 0?"start":i,f=r===void 0?"bottom":r,h=o===void 0?5:o;let p;t[0]!==n?(p=_.jsx(_H,{asChild:!0,children:n}),t[0]=n,t[1]=p):p=t[1];let g;t[2]!==c||t[3]!==a||t[4]!==f||t[5]!==h?(g=_.jsx(CH,{children:_.jsx(AH,{className:"graphiql-tooltip",align:c,side:f,sideOffset:h,children:a})}),t[2]=c,t[3]=a,t[4]=f,t[5]=h,t[6]=g):g=t[6];let y;return t[7]!==p||t[8]!==g?(y=_.jsxs(SH,{children:[p,g]}),t[7]=p,t[8]=g,t[9]=y):y=t[9],y},zn=Object.assign(wH,{Provider:TH}),zd=x.forwardRef((e,t)=>{const n=ge.c(19);let i,r,o;n[0]!==e?({label:i,onClick:r,...o}=e,n[0]=e,n[1]=i,n[2]=r,n[3]=o):(i=n[1],r=n[2],o=n[3]);const[a,c]=x.useState(null);let f;n[4]!==r?(f=S=>{try{r&&r(S),c(null)}catch(A){const D=A;c(D instanceof Error?D:new Error(`Toolbar button click failed: ${D}`))}},n[4]=r,n[5]=f):f=n[5];const h=f,p=a&&"error";let g;n[6]!==o.className||n[7]!==p?(g=dt("graphiql-toolbar-button",p,o.className),n[6]=o.className,n[7]=p,n[8]=g):g=n[8];const y=a?a.message:i,v=a?"true":o["aria-invalid"];let E;n[9]!==h||n[10]!==o||n[11]!==t||n[12]!==g||n[13]!==y||n[14]!==v?(E=_.jsx(Kt,{...o,ref:t,type:"button",className:g,onClick:h,"aria-label":y,"aria-invalid":v}),n[9]=h,n[10]=o,n[11]=t,n[12]=g,n[13]=y,n[14]=v,n[15]=E):E=n[15];let T;return n[16]!==i||n[17]!==E?(T=_.jsx(zn,{label:i,children:E}),n[16]=i,n[17]=E,n[18]=T):T=n[18],T});zd.displayName="ToolbarButton";function Cg(){const e=ge.c(19);let t;e[0]===Symbol.for("react.memo_cache_sentinel")?(t={nonNull:!0,caller:Cg},e[0]=t):t=e[0];const{queryEditor:n,setOperationName:i}=bn(t);let r;e[1]===Symbol.for("react.memo_cache_sentinel")?(r={nonNull:!0,caller:Cg},e[1]=r):r=e[1];const{isFetching:o,isSubscribed:a,operationName:c,run:f,stop:h}=Na(r);let p;e[2]!==(n==null?void 0:n.operations)?(p=(n==null?void 0:n.operations)||[],e[2]=n==null?void 0:n.operations,e[3]=p):p=e[3];const g=p,y=g.length>1&&typeof c!="string",v=o||a,E=`${v?"Stop":"Execute"} query (Ctrl-Enter)`;let T;e[4]!==v?(T=v?_.jsx(QL,{}):_.jsx(BL,{}),e[4]=v,e[5]=T):T=e[5];let S;e[6]!==E||e[7]!==T?(S={type:"button",className:"graphiql-execute-button",children:T,"aria-label":E},e[6]=E,e[7]=T,e[8]=S):S=e[8];const A=S;let D;return e[9]!==A||e[10]!==y||e[11]!==v||e[12]!==E||e[13]!==g||e[14]!==n||e[15]!==f||e[16]!==i||e[17]!==h?(D=y&&!v?_.jsxs(Dd,{children:[_.jsx(zn,{label:E,children:_.jsx(Dd.Button,{...A})}),_.jsx(Dd.Content,{children:g.map((C,N)=>{const O=C.name?C.name.value:`<Unnamed ${C.operation}>`;return _.jsx(Dd.Item,{onSelect:()=>{var k;const I=(k=C.name)==null?void 0:k.value;n&&I&&I!==n.operationName&&i(I),f()},children:O},`${O}-${N}`)})})]}):_.jsx(zn,{label:E,children:_.jsx("button",{...A,onClick:()=>{v?h():f()}})}),e[9]=A,e[10]=y,e[11]=v,e[12]=E,e[13]=g,e[14]=n,e[15]=f,e[16]=i,e[17]=h,e[18]=D):D=e[18],D}const WC=ts("HistoryContext");function DH(e){const t=ge.c(18),{maxHistoryLength:n,children:i}=e,r=n===void 0?OH:n,o=ao();let a;t[0]===Symbol.for("react.memo_cache_sentinel")?(a={nonNull:!0},t[0]=a):a=t[0];const{isFetching:c}=Na(a);let f;t[1]!==r||t[2]!==o?(f=()=>new dN(o||new wm(null),r),t[1]=r,t[2]=o,t[3]=f):f=t[3];const[h]=x.useState(f);let p;t[4]!==h.queries?(p=()=>h.queries||[],t[4]=h.queries,t[5]=p):p=t[5];const[g,y]=x.useState(p);let v;t[6]!==h||t[7]!==g?(v={addToHistory(I){h.updateHistory(I),y(h.queries)},editLabel(I,P){h.editLabel(I,P),y(h.queries)},items:g,toggleFavorite(I){h.toggleFavorite(I),y(h.queries)},setActive:NH,deleteFromHistory(I,P){h.deleteHistory(I,P),y(h.queries)}},t[6]=h,t[7]=g,t[8]=v):v=t[8];const E=v;let T;t[9]===Symbol.for("react.memo_cache_sentinel")?(T={nonNull:!0},t[9]=T):T=t[9];const{tabs:S,activeTabIndex:A}=bn(T),D=S[A],{addToHistory:C}=E;let N,O;t[10]!==D||t[11]!==C||t[12]!==c?(N=()=>{c&&C({query:D.query??void 0,variables:D.variables??void 0,headers:D.headers??void 0,operationName:D.operationName??void 0})},O=[c,D,C],t[10]=D,t[11]=C,t[12]=c,t[13]=N,t[14]=O):(N=t[13],O=t[14]),x.useEffect(N,O);let k;return t[15]!==i||t[16]!==E?(k=_.jsx(WC.Provider,{value:E,children:i}),t[15]=i,t[16]=E,t[17]=k):k=t[17],k}function NH(e){return e}const KC=ns(WC),OH=20;function RH(e,t){for(const n of e)t(n,!0)}function MH(){const e=ge.c(14);let t;e[0]===Symbol.for("react.memo_cache_sentinel")?(t={nonNull:!0},e[0]=t):t=e[0];const{items:n,deleteFromHistory:i}=KC(t);let r;r=n.slice().map(jH).reverse();const o=r.filter(FH);o.length&&(r=r.filter(IH));const[a,c]=x.useState(null);let f,h;e[1]!==a?(f=()=>{a&&setTimeout(()=>{c(null)},2e3)},h=[a],e[1]=a,e[2]=f,e[3]=h):(f=e[2],h=e[3]),x.useEffect(f,h);const p=()=>{try{RH(r,i),c("success")}catch{c("error")}},g=!!o.length,y=!!r.length,v="History",E="graphiql-history",T=(a||y)&&_.jsx(qi,{type:"button",state:a||void 0,disabled:!r.length,onClick:p,children:{success:"Cleared",error:"Failed to Clear"}[a]||"Clear"});let S;e[4]!==T?(S=_.jsxs("div",{className:"graphiql-history-header",children:["History",T]}),e[4]=T,e[5]=S):S=e[5];const A=g&&_.jsx("ul",{className:"graphiql-history-items",children:o.map(LH)});let D;e[6]!==g||e[7]!==y?(D=g&&y&&_.jsx("div",{className:"graphiql-history-item-spacer"}),e[6]=g,e[7]=y,e[8]=D):D=e[8];const C=y&&_.jsx("ul",{className:"graphiql-history-items",children:r.map(kH)});let N;return e[9]!==S||e[10]!==A||e[11]!==D||e[12]!==C?(N=_.jsxs("section",{"aria-label":v,className:E,children:[S,A,D,C]}),e[9]=S,e[10]=A,e[11]=D,e[12]=C,e[13]=N):N=e[13],N}function kH(e){return _.jsx(p0,{item:e},e.index)}function LH(e){return _.jsx(p0,{item:e},e.index)}function IH(e){return!e.favorite}function FH(e){return e.favorite}function jH(e,t){return{...e,index:t}}function p0(e){const t=ge.c(40);let n;t[0]===Symbol.for("react.memo_cache_sentinel")?(n={nonNull:!0,caller:p0},t[0]=n):n=t[0];const{editLabel:i,toggleFavorite:r,deleteFromHistory:o,setActive:a}=KC(n);let c;t[1]===Symbol.for("react.memo_cache_sentinel")?(c={nonNull:!0,caller:p0},t[1]=c):c=t[1];const{headerEditor:f,queryEditor:h,variableEditor:p}=bn(c),g=x.useRef(null),y=x.useRef(null),[v,E]=x.useState(!1);let T,S;t[2]!==v?(T=()=>{var V;v&&((V=g.current)==null||V.focus())},S=[v],t[2]=v,t[3]=T,t[4]=S):(T=t[3],S=t[4]),x.useEffect(T,S);let A;t[5]!==e.item.label||t[6]!==e.item.operationName||t[7]!==e.item.query?(A=e.item.label||e.item.operationName||PH(e.item.query),t[5]=e.item.label,t[6]=e.item.operationName,t[7]=e.item.query,t[8]=A):A=t[8];const D=A;let C;t[9]!==i||t[10]!==e.item?(C=()=>{var V;E(!1);const{index:M,...q}=e.item;i({...q,label:(V=g.current)==null?void 0:V.value},M)},t[9]=i,t[10]=e.item,t[11]=C):C=t[11];const N=C;let O;t[12]===Symbol.for("react.memo_cache_sentinel")?(O=()=>{E(!1)},t[12]=O):O=t[12];const k=O;let I;t[13]===Symbol.for("react.memo_cache_sentinel")?(I=V=>{V.stopPropagation(),E(!0)},t[13]=I):I=t[13];const P=I;let L;t[14]!==f||t[15]!==e.item||t[16]!==h||t[17]!==a||t[18]!==p?(L=()=>{const{query:V,variables:M,headers:q}=e.item;h==null||h.setValue(V??""),p==null||p.setValue(M??""),f==null||f.setValue(q??""),a(e.item)},t[14]=f,t[15]=e.item,t[16]=h,t[17]=a,t[18]=p,t[19]=L):L=t[19];const B=L;let z;t[20]!==o||t[21]!==e.item?(z=V=>{V.stopPropagation(),o(e.item)},t[20]=o,t[21]=e.item,t[22]=z):z=t[22];const te=z;let re;t[23]!==e.item||t[24]!==r?(re=V=>{V.stopPropagation(),r(e.item)},t[23]=e.item,t[24]=r,t[25]=re):re=t[25];const fe=re,X=v&&"editable";let F;t[26]!==X?(F=dt("graphiql-history-item",X),t[26]=X,t[27]=F):F=t[27];let H;t[28]!==D||t[29]!==i||t[30]!==te||t[31]!==B||t[32]!==N||t[33]!==fe||t[34]!==v||t[35]!==e.item?(H=v?_.jsxs(_.Fragment,{children:[_.jsx("input",{type:"text",defaultValue:e.item.label,ref:g,onKeyDown:V=>{V.key==="Esc"?E(!1):V.key==="Enter"&&(E(!1),i({...e.item,label:V.currentTarget.value}))},placeholder:"Type a label"}),_.jsx(Kt,{type:"button",ref:y,onClick:N,children:"Save"}),_.jsx(Kt,{type:"button",ref:y,onClick:k,children:_.jsx(o2,{})})]}):_.jsxs(_.Fragment,{children:[_.jsx(zn,{label:"Set active",children:_.jsx(Kt,{type:"button",className:"graphiql-history-item-label",onClick:B,"aria-label":"Set active",children:D})}),_.jsx(zn,{label:"Edit label",children:_.jsx(Kt,{type:"button",className:"graphiql-history-item-action",onClick:P,"aria-label":"Edit label",children:_.jsx(VL,{"aria-hidden":"true"})})}),_.jsx(zn,{label:e.item.favorite?"Remove favorite":"Add favorite",children:_.jsx(Kt,{type:"button",className:"graphiql-history-item-action",onClick:fe,"aria-label":e.item.favorite?"Remove favorite":"Add favorite",children:e.item.favorite?_.jsx(GL,{"aria-hidden":"true"}):_.jsx(YL,{"aria-hidden":"true"})})}),_.jsx(zn,{label:"Delete from history",children:_.jsx(Kt,{type:"button",className:"graphiql-history-item-action",onClick:te,"aria-label":"Delete from history",children:_.jsx(XL,{"aria-hidden":"true"})})})]}),t[28]=D,t[29]=i,t[30]=te,t[31]=B,t[32]=N,t[33]=fe,t[34]=v,t[35]=e.item,t[36]=H):H=t[36];let $;return t[37]!==F||t[38]!==H?($=_.jsx("li",{className:F,children:H}),t[37]=F,t[38]=H,t[39]=$):$=t[39],$}function PH(e){return e==null?void 0:e.split(`
|
|
359
|
-
`).map(t=>t.replace(/#(.*)/,"")).join(" ").replaceAll("{"," { ").replaceAll("}"," } ").replaceAll(/[\s]{2,}/g," ")}const VH={title:"History",icon:LL,content:MH},Hd={name:"Docs"},JC=ts("ExplorerContext");function e9(e){const t=ge.c(17);let n;t[0]===Symbol.for("react.memo_cache_sentinel")?(n={nonNull:!0,caller:e9},t[0]=n):n=t[0];const{schema:i,validationErrors:r,schemaReference:o}=Dr(n);let a;t[1]===Symbol.for("react.memo_cache_sentinel")?(a=[Hd],t[1]=a):a=t[1];const[c,f]=x.useState(a);let h;t[2]===Symbol.for("react.memo_cache_sentinel")?(h=k=>{f(I=>I.at(-1).def===k.def?I:[...I,k])},t[2]=h):h=t[2];const p=h;let g;t[3]===Symbol.for("react.memo_cache_sentinel")?(g=()=>{f($H)},t[3]=g):g=t[3];const y=g;let v;t[4]===Symbol.for("react.memo_cache_sentinel")?(v=()=>{f(BH)},t[4]=v):v=t[4];const E=v;let T,S;t[5]!==o?(T=()=>{if(o)e:switch(o.kind){case"Type":{p({name:o.type.name,def:o.type});break e}case"Field":{p({name:o.field.name,def:o.field});break e}case"Argument":{o.field&&p({name:o.field.name,def:o.field});break e}case"EnumValue":o.type&&p({name:o.type.name,def:o.type})}},S=[o,p],t[5]=o,t[6]=T,t[7]=S):(T=t[6],S=t[7]),x.useEffect(T,S);let A,D;t[8]!==i||t[9]!==r?(A=()=>{i==null||r.length>0?E():f(k=>{if(k.length===1)return k;const I=[Hd];let P=null;for(const L of k)if(L!==Hd)if(L.def)if($g(L.def)){const B=i.getType(L.def.name);if(B)I.push({name:L.name,def:B}),P=B;else break}else{if(P===null)break;if(bt(P)||ln(P)){const B=P.getFields()[L.name];if(B)I.push({name:L.name,def:B});else break}else{if(so(P)||ci(P)||Tt(P)||Di(P))break;{const B=P;if(B.args.some(z=>z.name===L.name))I.push({name:L.name,def:B});else break}}}else P=null,I.push(L);return I})},D=[i,r],t[8]=i,t[9]=r,t[10]=A,t[11]=D):(A=t[10],D=t[11]),x.useEffect(A,D);let C;t[12]!==c?(C={explorerNavStack:c,push:p,pop:y,reset:E},t[12]=c,t[13]=C):C=t[13];const N=C;let O;return t[14]!==e.children||t[15]!==N?(O=_.jsx(JC.Provider,{value:N,children:e.children}),t[14]=e.children,t[15]=N,t[16]=O):O=t[16],O}function BH(e){return e.length===1?e:[Hd]}function $H(e){return e.length>1?e.slice(0,-1):e}const Kc=ns(JC),UH=e=>e?li(e):"";function t9(e){const t=ge.c(12),{field:n}=e;if(!("defaultValue"in n)||n.defaultValue===void 0)return null;const i=n.defaultValue,r=n.type;let o,a,c,f;if(t[0]!==n.defaultValue||t[1]!==n.type){f=Symbol.for("react.early_return_sentinel");e:{const g=na(i,r);if(!g){f=null;break e}c=" = ",o="graphiql-doc-explorer-default-value",a=UH(g)}t[0]=n.defaultValue,t[1]=n.type,t[2]=o,t[3]=a,t[4]=c,t[5]=f}else o=t[2],a=t[3],c=t[4],f=t[5];if(f!==Symbol.for("react.early_return_sentinel"))return f;let h;t[6]!==o||t[7]!==a?(h=_.jsx("span",{className:o,children:a}),t[6]=o,t[7]=a,t[8]=h):h=t[8];let p;return t[9]!==c||t[10]!==h?(p=_.jsxs(_.Fragment,{children:[c,h]}),t[9]=c,t[10]=h,t[11]=p):p=t[11],p}function m0(e,t){return Pt(e)?_.jsxs(_.Fragment,{children:[m0(e.ofType,t),"!"]}):kn(e)?_.jsxs(_.Fragment,{children:["[",m0(e.ofType,t),"]"]}):t(e)}function br(e){const t=ge.c(6);let n;t[0]===Symbol.for("react.memo_cache_sentinel")?(n={nonNull:!0,caller:br},t[0]=n):n=t[0];const{push:i}=Kc(n);if(!e.type)return null;let r;t[1]!==i?(r=a=>_.jsx("a",{className:"graphiql-doc-explorer-type-name",onClick:c=>{c.preventDefault(),i({name:a.name,def:a})},href:"#",children:a.name}),t[1]=i,t[2]=r):r=t[2];let o;return t[3]!==e.type||t[4]!==r?(o=m0(e.type,r),t[3]=e.type,t[4]=r,t[5]=o):o=t[5],o}function g0(e){const t=ge.c(19),{arg:n,showDefaultValue:i,inline:r}=e;let o;t[0]!==n.name?(o=_.jsx("span",{className:"graphiql-doc-explorer-argument-name",children:n.name}),t[0]=n.name,t[1]=o):o=t[1];let a;t[2]!==n.type?(a=_.jsx(br,{type:n.type}),t[2]=n.type,t[3]=a):a=t[3];let c;t[4]!==n||t[5]!==i?(c=i!==!1&&_.jsx(t9,{field:n}),t[4]=n,t[5]=i,t[6]=c):c=t[6];let f;t[7]!==o||t[8]!==a||t[9]!==c?(f=_.jsxs("span",{children:[o,": ",a,c]}),t[7]=o,t[8]=a,t[9]=c,t[10]=f):f=t[10];const h=f;if(r)return h;let p;t[11]!==n.description?(p=n.description?_.jsx(Ar,{type:"description",children:n.description}):null,t[11]=n.description,t[12]=p):p=t[12];let g;t[13]!==n.deprecationReason?(g=n.deprecationReason?_.jsxs("div",{className:"graphiql-doc-explorer-argument-deprecation",children:[_.jsx("div",{className:"graphiql-doc-explorer-argument-deprecation-label",children:"Deprecated"}),_.jsx(Ar,{type:"deprecation",children:n.deprecationReason})]}):null,t[13]=n.deprecationReason,t[14]=g):g=t[14];let y;return t[15]!==h||t[16]!==p||t[17]!==g?(y=_.jsxs("div",{className:"graphiql-doc-explorer-argument",children:[h,p,g]}),t[15]=h,t[16]=p,t[17]=g,t[18]=y):y=t[18],y}function n9(e){const t=ge.c(3);let n;return t[0]!==e.children||t[1]!==e.preview?(n=e.children?_.jsxs("div",{className:"graphiql-doc-explorer-deprecation",children:[_.jsx("div",{className:"graphiql-doc-explorer-deprecation-label",children:"Deprecated"}),_.jsx(Ar,{type:"deprecation",onlyShowFirstChild:e.preview??!0,children:e.children})]}):null,t[0]=e.children,t[1]=e.preview,t[2]=n):n=t[2],n}function zH(e){const t=ge.c(2),{directive:n}=e;let i;return t[0]!==n.name.value?(i=_.jsxs("span",{className:"graphiql-doc-explorer-directive",children:["@",n.name.value]}),t[0]=n.name.value,t[1]=i):i=t[1],i}function Oi(e){const t=ge.c(10),n=HH[e.title];let i;t[0]!==n?(i=_.jsx(n,{}),t[0]=n,t[1]=i):i=t[1];let r;t[2]!==e.title||t[3]!==i?(r=_.jsxs("div",{className:"graphiql-doc-explorer-section-title",children:[i,e.title]}),t[2]=e.title,t[3]=i,t[4]=r):r=t[4];let o;t[5]!==e.children?(o=_.jsx("div",{className:"graphiql-doc-explorer-section-content",children:e.children}),t[5]=e.children,t[6]=o):o=t[6];let a;return t[7]!==r||t[8]!==o?(a=_.jsxs("div",{children:[r,o]}),t[7]=r,t[8]=o,t[9]=a):a=t[9],a}const HH={Arguments:EL,"Deprecated Arguments":AL,"Deprecated Enum Values":wL,"Deprecated Fields":DL,Directives:NL,"Enum Values":ML,Fields:kL,Implements:IL,Implementations:bd,"Possible Types":bd,"Root Types":HL,Type:bd,"All Schema Types":bd};function qH(e){const t=ge.c(15);let n;t[0]!==e.field.description?(n=e.field.description?_.jsx(Ar,{type:"description",children:e.field.description}):null,t[0]=e.field.description,t[1]=n):n=t[1];let i;t[2]!==e.field.deprecationReason?(i=_.jsx(n9,{preview:!1,children:e.field.deprecationReason}),t[2]=e.field.deprecationReason,t[3]=i):i=t[3];let r;t[4]!==e.field.type?(r=_.jsx(Oi,{title:"Type",children:_.jsx(br,{type:e.field.type})}),t[4]=e.field.type,t[5]=r):r=t[5];let o,a;t[6]!==e.field?(o=_.jsx(GH,{field:e.field}),a=_.jsx(XH,{field:e.field}),t[6]=e.field,t[7]=o,t[8]=a):(o=t[7],a=t[8]);let c;return t[9]!==n||t[10]!==i||t[11]!==r||t[12]!==o||t[13]!==a?(c=_.jsxs(_.Fragment,{children:[n,i,r,o,a]}),t[9]=n,t[10]=i,t[11]=r,t[12]=o,t[13]=a,t[14]=c):c=t[14],c}function GH(e){const t=ge.c(12),{field:n}=e,[i,r]=x.useState(!1);let o;t[0]===Symbol.for("react.memo_cache_sentinel")?(o=()=>{r(!0)},t[0]=o):o=t[0];const a=o;if(!("args"in n))return null;let c,f,h;if(t[1]!==n.args){c=[],f=[];for(const y of n.args)y.deprecationReason?f.push(y):c.push(y);h=c.length>0?_.jsx(Oi,{title:"Arguments",children:c.map(QH)}):null,t[1]=n.args,t[2]=c,t[3]=f,t[4]=h}else c=t[2],f=t[3],h=t[4];let p;t[5]!==c.length||t[6]!==f||t[7]!==i?(p=f.length>0?i||c.length===0?_.jsx(Oi,{title:"Deprecated Arguments",children:f.map(YH)}):_.jsx(qi,{type:"button",onClick:a,children:"Show Deprecated Arguments"}):null,t[5]=c.length,t[6]=f,t[7]=i,t[8]=p):p=t[8];let g;return t[9]!==h||t[10]!==p?(g=_.jsxs(_.Fragment,{children:[h,p]}),t[9]=h,t[10]=p,t[11]=g):g=t[11],g}function YH(e){return _.jsx(g0,{arg:e},e.name)}function QH(e){return _.jsx(g0,{arg:e},e.name)}function XH(e){var t,n,i;const r=ge.c(6),{field:o}=e;let a;r[0]!==((t=o.astNode)==null?void 0:t.directives)?(a=((n=o.astNode)==null?void 0:n.directives)||[],r[0]=(i=o.astNode)==null?void 0:i.directives,r[1]=a):a=r[1];const c=a;if(!c||c.length===0)return null;let f;r[2]!==c?(f=c.map(ZH),r[2]=c,r[3]=f):f=r[3];let h;return r[4]!==f?(h=_.jsx(Oi,{title:"Directives",children:f}),r[4]=f,r[5]=h):h=r[5],h}function ZH(e){return _.jsx("div",{children:_.jsx(zH,{directive:e})},e.name.value)}function WH(e){var t,n,i,r;const o=ge.c(39);let a;o[0]!==e.schema?(a=e.schema.getQueryType(),o[0]=e.schema,o[1]=a):a=o[1];const c=a;let f;o[2]!==e.schema?(f=(n=(t=e.schema).getMutationType)==null?void 0:n.call(t),o[2]=e.schema,o[3]=f):f=o[3];const h=f;let p;o[4]!==e.schema?(p=(r=(i=e.schema).getSubscriptionType)==null?void 0:r.call(i),o[4]=e.schema,o[5]=p):p=o[5];const g=p;let y,v,E,T,S;if(o[6]!==h||o[7]!==e.schema||o[8]!==c||o[9]!==g){const C=e.schema.getTypeMap(),N=c==null?void 0:c.name,O=h==null?void 0:h.name,k=g==null?void 0:g.name;let I;o[15]!==N||o[16]!==O||o[17]!==k?(I=[N,O,k],o[15]=N,o[16]=O,o[17]=k,o[18]=I):I=o[18];const P=I,L=e.schema.description||"A GraphQL schema provides a root type for each kind of operation.";o[19]!==L?(T=_.jsx(Ar,{type:"description",children:L}),o[19]=L,o[20]=T):T=o[20];let B;o[21]!==c?(B=c?_.jsxs("div",{children:[_.jsx("span",{className:"graphiql-doc-explorer-root-type",children:"query"}),": ",_.jsx(br,{type:c})]}):null,o[21]=c,o[22]=B):B=o[22];let z;o[23]!==h?(z=h&&_.jsxs("div",{children:[_.jsx("span",{className:"graphiql-doc-explorer-root-type",children:"mutation"}),": ",_.jsx(br,{type:h})]}),o[23]=h,o[24]=z):z=o[24];let te;o[25]!==g?(te=g&&_.jsxs("div",{children:[_.jsx("span",{className:"graphiql-doc-explorer-root-type",children:"subscription"}),": ",_.jsx(br,{type:g})]}),o[25]=g,o[26]=te):te=o[26],o[27]!==B||o[28]!==z||o[29]!==te?(S=_.jsxs(Oi,{title:"Root Types",children:[B,z,te]}),o[27]=B,o[28]=z,o[29]=te,o[30]=S):S=o[30],y=Oi,v="All Schema Types",E=C&&_.jsx("div",{children:Object.values(C).map(re=>P.includes(re.name)||re.name.startsWith("__")?null:_.jsx("div",{children:_.jsx(br,{type:re})},re.name))}),o[6]=h,o[7]=e.schema,o[8]=c,o[9]=g,o[10]=y,o[11]=v,o[12]=E,o[13]=T,o[14]=S}else y=o[10],v=o[11],E=o[12],T=o[13],S=o[14];let A;o[31]!==y||o[32]!==v||o[33]!==E?(A=_.jsx(y,{title:v,children:E}),o[31]=y,o[32]=v,o[33]=E,o[34]=A):A=o[34];let D;return o[35]!==T||o[36]!==S||o[37]!==A?(D=_.jsxs(_.Fragment,{children:[T,S,A]}),o[35]=T,o[36]=S,o[37]=A,o[38]=D):D=o[38],D}const i9=typeof document<"u"?ke.useLayoutEffect:()=>{};function KH(e){const t=x.useRef(null);return i9(()=>{t.current=e},[e]),x.useCallback((...n)=>{const i=t.current;return i==null?void 0:i(...n)},[])}const co=e=>{var t;return(t=e==null?void 0:e.ownerDocument)!==null&&t!==void 0?t:document},Po=e=>e&&"window"in e&&e.window===e?e:co(e).defaultView||window;function JH(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"}function eq(e){return JH(e)&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e}let tq=!1;function fv(){return tq}function r9(e,t){if(!fv())return t&&e?e.contains(t):!1;if(!e||!t)return!1;let n=t;for(;n!==null;){if(n===e)return!0;n.tagName==="SLOT"&&n.assignedSlot?n=n.assignedSlot.parentNode:eq(n)?n=n.host:n=n.parentNode}return!1}const Ag=(e=document)=>{var t;if(!fv())return e.activeElement;let n=e.activeElement;for(;n&&"shadowRoot"in n&&(!((t=n.shadowRoot)===null||t===void 0)&&t.activeElement);)n=n.shadowRoot.activeElement;return n};function u9(e){return fv()&&e.target.shadowRoot&&e.composedPath?e.composedPath()[0]:e.target}function nq(e){var t;return typeof window>"u"||window.navigator==null?!1:((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.brands.some(n=>e.test(n.brand)))||e.test(window.navigator.userAgent)}function iq(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function o9(e){let t=null;return()=>(t==null&&(t=e()),t)}const rq=o9(function(){return iq(/^Mac/i)}),uq=o9(function(){return nq(/Android/i)});function s9(){let e=x.useRef(new Map),t=x.useCallback((r,o,a,c)=>{let f=c!=null&&c.once?(...h)=>{e.current.delete(a),a(...h)}:a;e.current.set(a,{type:o,eventTarget:r,fn:f,options:c}),r.addEventListener(o,f,c)},[]),n=x.useCallback((r,o,a,c)=>{var f;let h=((f=e.current.get(a))===null||f===void 0?void 0:f.fn)||a;r.removeEventListener(o,h,c),e.current.delete(a)},[]),i=x.useCallback(()=>{e.current.forEach((r,o)=>{n(r.eventTarget,r.type,o,r.options)})},[n]);return x.useEffect(()=>i,[i]),{addGlobalListener:t,removeGlobalListener:n,removeAllGlobalListeners:i}}function oq(e){return e.mozInputSource===0&&e.isTrusted?!0:uq()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function a9(e){let t=e;return t.nativeEvent=e,t.isDefaultPrevented=()=>t.defaultPrevented,t.isPropagationStopped=()=>t.cancelBubble,t.persist=()=>{},t}function sq(e,t){Object.defineProperty(e,"target",{value:t}),Object.defineProperty(e,"currentTarget",{value:t})}function l9(e){let t=x.useRef({isFocused:!1,observer:null});i9(()=>{const i=t.current;return()=>{i.observer&&(i.observer.disconnect(),i.observer=null)}},[]);let n=KH(i=>{e==null||e(i)});return x.useCallback(i=>{if(i.target instanceof HTMLButtonElement||i.target instanceof HTMLInputElement||i.target instanceof HTMLTextAreaElement||i.target instanceof HTMLSelectElement){t.current.isFocused=!0;let r=i.target,o=a=>{if(t.current.isFocused=!1,r.disabled){let c=a9(a);n(c)}t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};r.addEventListener("focusout",o,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&r.disabled){var a;(a=t.current.observer)===null||a===void 0||a.disconnect();let c=r===document.activeElement?null:document.activeElement;r.dispatchEvent(new FocusEvent("blur",{relatedTarget:c})),r.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:c}))}}),t.current.observer.observe(r,{attributes:!0,attributeFilter:["disabled"]})}},[n])}let aq=!1,Jc=null,wg=new Set,ic=new Map,Zo=!1,Dg=!1;const lq={Tab:!0,Escape:!0};function dv(e,t){for(let n of wg)n(e,t)}function cq(e){return!(e.metaKey||!rq()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function v0(e){Zo=!0,cq(e)&&(Jc="keyboard",dv("keyboard",e))}function pa(e){Jc="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(Zo=!0,dv("pointer",e))}function c9(e){oq(e)&&(Zo=!0,Jc="virtual")}function f9(e){e.target===window||e.target===document||aq||!e.isTrusted||(!Zo&&!Dg&&(Jc="virtual",dv("virtual",e)),Zo=!1,Dg=!1)}function d9(){Zo=!1,Dg=!0}function Ng(e){if(typeof window>"u"||ic.get(Po(e)))return;const t=Po(e),n=co(e);let i=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){Zo=!0,i.apply(this,arguments)},n.addEventListener("keydown",v0,!0),n.addEventListener("keyup",v0,!0),n.addEventListener("click",c9,!0),t.addEventListener("focus",f9,!0),t.addEventListener("blur",d9,!1),typeof PointerEvent<"u"&&(n.addEventListener("pointerdown",pa,!0),n.addEventListener("pointermove",pa,!0),n.addEventListener("pointerup",pa,!0)),t.addEventListener("beforeunload",()=>{h9(e)},{once:!0}),ic.set(t,{focus:i})}const h9=(e,t)=>{const n=Po(e),i=co(e);t&&i.removeEventListener("DOMContentLoaded",t),ic.has(n)&&(n.HTMLElement.prototype.focus=ic.get(n).focus,i.removeEventListener("keydown",v0,!0),i.removeEventListener("keyup",v0,!0),i.removeEventListener("click",c9,!0),n.removeEventListener("focus",f9,!0),n.removeEventListener("blur",d9,!1),typeof PointerEvent<"u"&&(i.removeEventListener("pointerdown",pa,!0),i.removeEventListener("pointermove",pa,!0),i.removeEventListener("pointerup",pa,!0)),ic.delete(n))};function fq(e){const t=co(e);let n;return t.readyState!=="loading"?Ng(e):(n=()=>{Ng(e)},t.addEventListener("DOMContentLoaded",n)),()=>h9(e,n)}typeof document<"u"&&fq();function p9(){return Jc!=="pointer"}const dq=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function hq(e,t,n){let i=co(n==null?void 0:n.target);const r=typeof window<"u"?Po(n==null?void 0:n.target).HTMLInputElement:HTMLInputElement,o=typeof window<"u"?Po(n==null?void 0:n.target).HTMLTextAreaElement:HTMLTextAreaElement,a=typeof window<"u"?Po(n==null?void 0:n.target).HTMLElement:HTMLElement,c=typeof window<"u"?Po(n==null?void 0:n.target).KeyboardEvent:KeyboardEvent;return e=e||i.activeElement instanceof r&&!dq.has(i.activeElement.type)||i.activeElement instanceof o||i.activeElement instanceof a&&i.activeElement.isContentEditable,!(e&&t==="keyboard"&&n instanceof c&&!lq[n.key])}function pq(e,t,n){Ng(),x.useEffect(()=>{let i=(r,o)=>{hq(!!(n!=null&&n.isTextInput),r,o)&&e(p9())};return wg.add(i),()=>{wg.delete(i)}},t)}function mq(e){let{isDisabled:t,onFocus:n,onBlur:i,onFocusChange:r}=e;const o=x.useCallback(f=>{if(f.target===f.currentTarget)return i&&i(f),r&&r(!1),!0},[i,r]),a=l9(o),c=x.useCallback(f=>{const h=co(f.target),p=h?Ag(h):Ag();f.target===f.currentTarget&&p===u9(f.nativeEvent)&&(n&&n(f),r&&r(!0),a(f))},[r,n,a]);return{focusProps:{onFocus:!t&&(n||r||i)?c:void 0,onBlur:!t&&(i||r)?o:void 0}}}function gq(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:i,onFocusWithinChange:r}=e,o=x.useRef({isFocusWithin:!1}),{addGlobalListener:a,removeAllGlobalListeners:c}=s9(),f=x.useCallback(g=>{g.currentTarget.contains(g.target)&&o.current.isFocusWithin&&!g.currentTarget.contains(g.relatedTarget)&&(o.current.isFocusWithin=!1,c(),n&&n(g),r&&r(!1))},[n,r,o,c]),h=l9(f),p=x.useCallback(g=>{if(!g.currentTarget.contains(g.target))return;const y=co(g.target),v=Ag(y);if(!o.current.isFocusWithin&&v===u9(g.nativeEvent)){i&&i(g),r&&r(!0),o.current.isFocusWithin=!0,h(g);let E=g.currentTarget;a(y,"focus",T=>{if(o.current.isFocusWithin&&!r9(E,T.target)){let S=new y.defaultView.FocusEvent("blur",{relatedTarget:T.target});sq(S,E);let A=a9(S);f(A)}},{capture:!0})}},[i,r,h,a,f]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:p,onBlur:f}}}let Og=!1,im=0;function vq(){Og=!0,setTimeout(()=>{Og=!1},50)}function q4(e){e.pointerType==="touch"&&vq()}function yq(){if(!(typeof document>"u"))return typeof PointerEvent<"u"&&document.addEventListener("pointerup",q4),im++,()=>{im--,!(im>0)&&typeof PointerEvent<"u"&&document.removeEventListener("pointerup",q4)}}function m9(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:i,isDisabled:r}=e,[o,a]=x.useState(!1),c=x.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;x.useEffect(yq,[]);let{addGlobalListener:f,removeAllGlobalListeners:h}=s9(),{hoverProps:p,triggerHoverEnd:g}=x.useMemo(()=>{let y=(T,S)=>{if(c.pointerType=S,r||S==="touch"||c.isHovered||!T.currentTarget.contains(T.target))return;c.isHovered=!0;let A=T.currentTarget;c.target=A,f(co(T.target),"pointerover",D=>{c.isHovered&&c.target&&!r9(c.target,D.target)&&v(D,D.pointerType)},{capture:!0}),t&&t({type:"hoverstart",target:A,pointerType:S}),n&&n(!0),a(!0)},v=(T,S)=>{let A=c.target;c.pointerType="",c.target=null,!(S==="touch"||!c.isHovered||!A)&&(c.isHovered=!1,h(),i&&i({type:"hoverend",target:A,pointerType:S}),n&&n(!1),a(!1))},E={};return typeof PointerEvent<"u"&&(E.onPointerEnter=T=>{Og&&T.pointerType==="mouse"||y(T,T.pointerType)},E.onPointerLeave=T=>{!r&&T.currentTarget.contains(T.target)&&v(T,T.pointerType)}),{hoverProps:E,triggerHoverEnd:v}},[t,n,i,r,c,f,h]);return x.useEffect(()=>{r&&g({currentTarget:c.target},c.pointerType)},[r]),{hoverProps:p,isHovered:o}}function g9(e={}){let{autoFocus:t=!1,isTextInput:n,within:i}=e,r=x.useRef({isFocused:!1,isFocusVisible:t||p9()}),[o,a]=x.useState(!1),[c,f]=x.useState(()=>r.current.isFocused&&r.current.isFocusVisible),h=x.useCallback(()=>f(r.current.isFocused&&r.current.isFocusVisible),[]),p=x.useCallback(v=>{r.current.isFocused=v,a(v),h()},[h]);pq(v=>{r.current.isFocusVisible=v,h()},[],{isTextInput:n});let{focusProps:g}=mq({isDisabled:i,onFocusChange:p}),{focusWithinProps:y}=gq({isDisabled:!i,onFocusWithinChange:p});return{isFocused:o,isFocusVisible:c,focusProps:i?y:g}}var bq=Object.defineProperty,xq=(e,t,n)=>t in e?bq(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,rm=(e,t,n)=>(xq(e,typeof t!="symbol"?t+"":t,n),n);let Eq=class{constructor(){rm(this,"current",this.detect()),rm(this,"handoffState","pending"),rm(this,"currentId",0)}set(t){this.current!==t&&(this.handoffState="pending",this.currentId=0,this.current=t)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}handoff(){this.handoffState==="pending"&&(this.handoffState="complete")}get isHandoffComplete(){return this.handoffState==="complete"}},Ho=new Eq;function ef(e){var t,n;return Ho.isServer?null:e?"ownerDocument"in e?e.ownerDocument:"current"in e?(n=(t=e.current)==null?void 0:t.ownerDocument)!=null?n:document:null:document}function v9(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function vu(){let e=[],t={addEventListener(n,i,r,o){return n.addEventListener(i,r,o),t.add(()=>n.removeEventListener(i,r,o))},requestAnimationFrame(...n){let i=requestAnimationFrame(...n);return t.add(()=>cancelAnimationFrame(i))},nextFrame(...n){return t.requestAnimationFrame(()=>t.requestAnimationFrame(...n))},setTimeout(...n){let i=setTimeout(...n);return t.add(()=>clearTimeout(i))},microTask(...n){let i={current:!0};return v9(()=>{i.current&&n[0]()}),t.add(()=>{i.current=!1})},style(n,i,r){let o=n.style.getPropertyValue(i);return Object.assign(n.style,{[i]:r}),this.add(()=>{Object.assign(n.style,{[i]:o})})},group(n){let i=vu();return n(i),this.add(()=>i.dispose())},add(n){return e.includes(n)||e.push(n),()=>{let i=e.indexOf(n);if(i>=0)for(let r of e.splice(i,1))r()}},dispose(){for(let n of e.splice(0))n()}};return t}function tf(){let[e]=x.useState(vu);return x.useEffect(()=>()=>e.dispose(),[e]),e}let Rt=(e,t)=>{Ho.isServer?x.useEffect(e,t):x.useLayoutEffect(e,t)};function os(e){let t=x.useRef(e);return Rt(()=>{t.current=e},[e]),t}let ze=function(e){let t=os(e);return ke.useCallback((...n)=>t.current(...n),[t])};function Tq(e){let t=e.width/2,n=e.height/2;return{top:e.clientY-n,right:e.clientX+t,bottom:e.clientY+n,left:e.clientX-t}}function Sq(e,t){return!(!e||!t||e.right<t.left||e.left>t.right||e.bottom<t.top||e.top>t.bottom)}function _q({disabled:e=!1}={}){let t=x.useRef(null),[n,i]=x.useState(!1),r=tf(),o=ze(()=>{t.current=null,i(!1),r.dispose()}),a=ze(c=>{if(r.dispose(),t.current===null){t.current=c.currentTarget,i(!0);{let f=ef(c.currentTarget);r.addEventListener(f,"pointerup",o,!1),r.addEventListener(f,"pointermove",h=>{if(t.current){let p=Tq(h);i(Sq(p,t.current.getBoundingClientRect()))}},!1),r.addEventListener(f,"pointercancel",o,!1)}}});return{pressed:n,pressProps:e?{}:{onPointerDown:a,onPointerUp:o,onClick:o}}}let Cq=x.createContext(void 0);function hv(){return x.useContext(Cq)}function G4(...e){return Array.from(new Set(e.flatMap(t=>typeof t=="string"?t.split(" "):[]))).filter(Boolean).join(" ")}function gu(e,t,...n){if(e in t){let r=t[e];return typeof r=="function"?r(...n):r}let i=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(r=>`"${r}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(i,gu),i}var Rg=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(Rg||{}),Aq=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(Aq||{});function Ji(){let e=Dq();return x.useCallback(t=>wq({mergeRefs:e,...t}),[e])}function wq({ourProps:e,theirProps:t,slot:n,defaultTag:i,features:r,visible:o=!0,name:a,mergeRefs:c}){c=c??Nq;let f=y9(t,e);if(o)return Md(f,n,i,a,c);let h=r??0;if(h&2){let{static:p=!1,...g}=f;if(p)return Md(g,n,i,a,c)}if(h&1){let{unmount:p=!0,...g}=f;return gu(p?0:1,{0(){return null},1(){return Md({...g,hidden:!0,style:{display:"none"}},n,i,a,c)}})}return Md(f,n,i,a,c)}function Md(e,t={},n,i,r){let{as:o=n,children:a,refName:c="ref",...f}=um(e,["unmount","static"]),h=e.ref!==void 0?{[c]:e.ref}:{},p=typeof a=="function"?a(t):a;"className"in f&&f.className&&typeof f.className=="function"&&(f.className=f.className(t)),f["aria-labelledby"]&&f["aria-labelledby"]===f.id&&(f["aria-labelledby"]=void 0);let g={};if(t){let y=!1,v=[];for(let[E,T]of Object.entries(t))typeof T=="boolean"&&(y=!0),T===!0&&v.push(E.replace(/([A-Z])/g,S=>`-${S.toLowerCase()}`));if(y){g["data-headlessui-state"]=v.join(" ");for(let E of v)g[`data-${E}`]=""}}if(o===x.Fragment&&(Object.keys(Mo(f)).length>0||Object.keys(Mo(g)).length>0))if(!x.isValidElement(p)||Array.isArray(p)&&p.length>1){if(Object.keys(Mo(f)).length>0)throw new Error(['Passing props on "Fragment"!',"",`The current component <${i} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(Mo(f)).concat(Object.keys(Mo(g))).map(y=>` - ${y}`).join(`
|
|
358
|
+
For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return x.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},CF="DialogDescriptionWarning",AF=({contentRef:e,descriptionId:t})=>{const i=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${BS(CF).contentName}}.`;return x.useEffect(()=>{var o;const r=(o=e.current)==null?void 0:o.getAttribute("aria-describedby");t&&r&&(document.getElementById(t)||console.warn(i))},[i,e,t]),null},wF=AS,DF=DS,NF=OS,OF=RS,RF=MS,MF=LS,kF=FS,LF=PS,IF=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),FF="VisuallyHidden",$S=x.forwardRef((e,t)=>_.jsx(Mt.span,{...e,ref:t,style:{...IF,...e.style}}));$S.displayName=FF;var US=$S;const zS=x.forwardRef((e,t)=>{const n=ge.c(8);let i;n[0]!==e.className?(i=dt("graphiql-dialog-close",e.className),n[0]=e.className,n[1]=i):i=n[1];let r,o;n[2]===Symbol.for("react.memo_cache_sentinel")?(r=_.jsx(US,{children:"Close dialog"}),o=_.jsx(s2,{}),n[2]=r,n[3]=o):(r=n[2],o=n[3]);let a;return n[4]!==e||n[5]!==t||n[6]!==i?(a=_.jsx(LF,{asChild:!0,children:_.jsxs(Wt,{...e,ref:t,type:"button",className:i,children:[r,o]})}),n[4]=e,n[5]=t,n[6]=i,n[7]=a):a=n[7],a});zS.displayName="Dialog.Close";function jF(e){const t=ge.c(9);let n,i;t[0]!==e?({children:n,...i}=e,t[0]=e,t[1]=n,t[2]=i):(n=t[1],i=t[2]);let r;t[3]===Symbol.for("react.memo_cache_sentinel")?(r=_.jsx(OF,{className:"graphiql-dialog-overlay"}),t[3]=r):r=t[3];let o;t[4]!==n?(o=_.jsxs(NF,{children:[r,_.jsx(RF,{className:"graphiql-dialog",children:n})]}),t[4]=n,t[5]=o):o=t[5];let a;return t[6]!==i||t[7]!==o?(a=_.jsx(wF,{...i,children:o}),t[6]=i,t[7]=o,t[8]=a):a=t[8],a}const Ks=Object.assign(jF,{Close:zS,Title:MF,Trigger:DF,Description:kF});function HS(e){const t=e+"CollectionProvider",[n,i]=is(t),[r,o]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=T=>{const{scope:S,children:A}=T,D=ke.useRef(null),C=ke.useRef(new Map).current;return _.jsx(r,{scope:S,itemMap:C,collectionRef:D,children:A})};a.displayName=t;const c=e+"CollectionSlot",f=bc(c),h=ke.forwardRef((T,S)=>{const{scope:A,children:D}=T,C=o(c,A),N=Kt(S,C.collectionRef);return _.jsx(f,{ref:N,children:D})});h.displayName=c;const p=e+"CollectionItemSlot",g="data-radix-collection-item",y=bc(p),v=ke.forwardRef((T,S)=>{const{scope:A,children:D,...C}=T,N=ke.useRef(null),O=Kt(S,N),k=o(p,A);return ke.useEffect(()=>(k.itemMap.set(N,{ref:N,...C}),()=>void k.itemMap.delete(N))),_.jsx(y,{[g]:"",ref:O,children:D})});v.displayName=p;function E(T){const S=o(e+"CollectionConsumer",T);return ke.useCallback(()=>{const D=S.collectionRef.current;if(!D)return[];const C=Array.from(D.querySelectorAll(`[${g}]`));return Array.from(S.itemMap.values()).sort((k,I)=>C.indexOf(k.ref.current)-C.indexOf(I.ref.current))},[S.collectionRef,S.itemMap])}return[{Provider:a,Slot:h,ItemSlot:v},E,i]}var PF=x.createContext(void 0);function qS(e){const t=x.useContext(PF);return e||t||"ltr"}const VF=["top","right","bottom","left"],fu=Math.min,_n=Math.max,xc=Math.round,wd=Math.floor,xr=e=>({x:e,y:e}),BF={left:"right",right:"left",bottom:"top",top:"bottom"},$F={start:"end",end:"start"};function eg(e,t,n){return _n(e,fu(t,n))}function _r(e,t){return typeof e=="function"?e(t):e}function du(e){return e.split("-")[0]}function Oa(e){return e.split("-")[1]}function h2(e){return e==="x"?"y":"x"}function p2(e){return e==="y"?"height":"width"}function au(e){return["top","bottom"].includes(du(e))?"y":"x"}function m2(e){return h2(au(e))}function UF(e,t,n){n===void 0&&(n=!1);const i=Oa(e),r=m2(e),o=p2(r);let a=r==="x"?i===(n?"end":"start")?"right":"left":i==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=r0(a)),[a,r0(a)]}function zF(e){const t=r0(e);return[tg(e),t,tg(t)]}function tg(e){return e.replace(/start|end/g,t=>$F[t])}function HF(e,t,n){const i=["left","right"],r=["right","left"],o=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?r:i:t?i:r;case"left":case"right":return t?o:a;default:return[]}}function qF(e,t,n,i){const r=Oa(e);let o=HF(du(e),n==="start",i);return r&&(o=o.map(a=>a+"-"+r),t&&(o=o.concat(o.map(tg)))),o}function r0(e){return e.replace(/left|right|bottom|top/g,t=>BF[t])}function GF(e){return{top:0,right:0,bottom:0,left:0,...e}}function GS(e){return typeof e!="number"?GF(e):{top:e,right:e,bottom:e,left:e}}function u0(e){const{x:t,y:n,width:i,height:r}=e;return{width:i,height:r,top:n,left:t,right:t+i,bottom:n+r,x:t,y:n}}function E6(e,t,n){let{reference:i,floating:r}=e;const o=au(t),a=m2(t),c=p2(a),f=du(t),h=o==="y",p=i.x+i.width/2-r.width/2,g=i.y+i.height/2-r.height/2,y=i[c]/2-r[c]/2;let v;switch(f){case"top":v={x:p,y:i.y-r.height};break;case"bottom":v={x:p,y:i.y+i.height};break;case"right":v={x:i.x+i.width,y:g};break;case"left":v={x:i.x-r.width,y:g};break;default:v={x:i.x,y:i.y}}switch(Oa(t)){case"start":v[a]-=y*(n&&h?-1:1);break;case"end":v[a]+=y*(n&&h?-1:1);break}return v}const YF=async(e,t,n)=>{const{placement:i="bottom",strategy:r="absolute",middleware:o=[],platform:a}=n,c=o.filter(Boolean),f=await(a.isRTL==null?void 0:a.isRTL(t));let h=await a.getElementRects({reference:e,floating:t,strategy:r}),{x:p,y:g}=E6(h,i,f),y=i,v={},E=0;for(let T=0;T<c.length;T++){const{name:S,fn:A}=c[T],{x:D,y:C,data:N,reset:O}=await A({x:p,y:g,initialPlacement:i,placement:y,strategy:r,middlewareData:v,rects:h,platform:a,elements:{reference:e,floating:t}});p=D??p,g=C??g,v={...v,[S]:{...v[S],...N}},O&&E<=50&&(E++,typeof O=="object"&&(O.placement&&(y=O.placement),O.rects&&(h=O.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:r}):O.rects),{x:p,y:g}=E6(h,y,f)),T=-1)}return{x:p,y:g,placement:y,strategy:r,middlewareData:v}};async function Ea(e,t){var n;t===void 0&&(t={});const{x:i,y:r,platform:o,rects:a,elements:c,strategy:f}=e,{boundary:h="clippingAncestors",rootBoundary:p="viewport",elementContext:g="floating",altBoundary:y=!1,padding:v=0}=_r(t,e),E=GS(v),S=c[y?g==="floating"?"reference":"floating":g],A=u0(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(S)))==null||n?S:S.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(c.floating)),boundary:h,rootBoundary:p,strategy:f})),D=g==="floating"?{x:i,y:r,width:a.floating.width,height:a.floating.height}:a.reference,C=await(o.getOffsetParent==null?void 0:o.getOffsetParent(c.floating)),N=await(o.isElement==null?void 0:o.isElement(C))?await(o.getScale==null?void 0:o.getScale(C))||{x:1,y:1}:{x:1,y:1},O=u0(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:D,offsetParent:C,strategy:f}):D);return{top:(A.top-O.top+E.top)/N.y,bottom:(O.bottom-A.bottom+E.bottom)/N.y,left:(A.left-O.left+E.left)/N.x,right:(O.right-A.right+E.right)/N.x}}const QF=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:i,placement:r,rects:o,platform:a,elements:c,middlewareData:f}=t,{element:h,padding:p=0}=_r(e,t)||{};if(h==null)return{};const g=GS(p),y={x:n,y:i},v=m2(r),E=p2(v),T=await a.getDimensions(h),S=v==="y",A=S?"top":"left",D=S?"bottom":"right",C=S?"clientHeight":"clientWidth",N=o.reference[E]+o.reference[v]-y[v]-o.floating[E],O=y[v]-o.reference[v],k=await(a.getOffsetParent==null?void 0:a.getOffsetParent(h));let I=k?k[C]:0;(!I||!await(a.isElement==null?void 0:a.isElement(k)))&&(I=c.floating[C]||o.floating[E]);const P=N/2-O/2,L=I/2-T[E]/2-1,B=fu(g[A],L),z=fu(g[D],L),te=B,re=I-T[E]-z,fe=I/2-T[E]/2+P,X=eg(te,fe,re),F=!f.arrow&&Oa(r)!=null&&fe!==X&&o.reference[E]/2-(fe<te?B:z)-T[E]/2<0,H=F?fe<te?fe-te:fe-re:0;return{[v]:y[v]+H,data:{[v]:X,centerOffset:fe-X-H,...F&&{alignmentOffset:H}},reset:F}}}),XF=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,i;const{placement:r,middlewareData:o,rects:a,initialPlacement:c,platform:f,elements:h}=t,{mainAxis:p=!0,crossAxis:g=!0,fallbackPlacements:y,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:E="none",flipAlignment:T=!0,...S}=_r(e,t);if((n=o.arrow)!=null&&n.alignmentOffset)return{};const A=du(r),D=au(c),C=du(c)===c,N=await(f.isRTL==null?void 0:f.isRTL(h.floating)),O=y||(C||!T?[r0(c)]:zF(c)),k=E!=="none";!y&&k&&O.push(...qF(c,T,E,N));const I=[c,...O],P=await Ea(t,S),L=[];let B=((i=o.flip)==null?void 0:i.overflows)||[];if(p&&L.push(P[A]),g){const X=UF(r,a,N);L.push(P[X[0]],P[X[1]])}if(B=[...B,{placement:r,overflows:L}],!L.every(X=>X<=0)){var z,te;const X=(((z=o.flip)==null?void 0:z.index)||0)+1,F=I[X];if(F){var re;const $=g==="alignment"?D!==au(F):!1,V=((re=B[0])==null?void 0:re.overflows[0])>0;if(!$||V)return{data:{index:X,overflows:B},reset:{placement:F}}}let H=(te=B.filter($=>$.overflows[0]<=0).sort(($,V)=>$.overflows[1]-V.overflows[1])[0])==null?void 0:te.placement;if(!H)switch(v){case"bestFit":{var fe;const $=(fe=B.filter(V=>{if(k){const M=au(V.placement);return M===D||M==="y"}return!0}).map(V=>[V.placement,V.overflows.filter(M=>M>0).reduce((M,q)=>M+q,0)]).sort((V,M)=>V[1]-M[1])[0])==null?void 0:fe[0];$&&(H=$);break}case"initialPlacement":H=c;break}if(r!==H)return{reset:{placement:H}}}return{}}}};function T6(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function S6(e){return VF.some(t=>e[t]>=0)}const ZF=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:i="referenceHidden",...r}=_r(e,t);switch(i){case"referenceHidden":{const o=await Ea(t,{...r,elementContext:"reference"}),a=T6(o,n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:S6(a)}}}case"escaped":{const o=await Ea(t,{...r,altBoundary:!0}),a=T6(o,n.floating);return{data:{escapedOffsets:a,escaped:S6(a)}}}default:return{}}}}};async function WF(e,t){const{placement:n,platform:i,elements:r}=e,o=await(i.isRTL==null?void 0:i.isRTL(r.floating)),a=du(n),c=Oa(n),f=au(n)==="y",h=["left","top"].includes(a)?-1:1,p=o&&f?-1:1,g=_r(t,e);let{mainAxis:y,crossAxis:v,alignmentAxis:E}=typeof g=="number"?{mainAxis:g,crossAxis:0,alignmentAxis:null}:{mainAxis:g.mainAxis||0,crossAxis:g.crossAxis||0,alignmentAxis:g.alignmentAxis};return c&&typeof E=="number"&&(v=c==="end"?E*-1:E),f?{x:v*p,y:y*h}:{x:y*h,y:v*p}}const KF=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,i;const{x:r,y:o,placement:a,middlewareData:c}=t,f=await WF(t,e);return a===((n=c.offset)==null?void 0:n.placement)&&(i=c.arrow)!=null&&i.alignmentOffset?{}:{x:r+f.x,y:o+f.y,data:{...f,placement:a}}}}},JF=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:i,placement:r}=t,{mainAxis:o=!0,crossAxis:a=!1,limiter:c={fn:S=>{let{x:A,y:D}=S;return{x:A,y:D}}},...f}=_r(e,t),h={x:n,y:i},p=await Ea(t,f),g=au(du(r)),y=h2(g);let v=h[y],E=h[g];if(o){const S=y==="y"?"top":"left",A=y==="y"?"bottom":"right",D=v+p[S],C=v-p[A];v=eg(D,v,C)}if(a){const S=g==="y"?"top":"left",A=g==="y"?"bottom":"right",D=E+p[S],C=E-p[A];E=eg(D,E,C)}const T=c.fn({...t,[y]:v,[g]:E});return{...T,data:{x:T.x-n,y:T.y-i,enabled:{[y]:o,[g]:a}}}}}},ej=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:i,placement:r,rects:o,middlewareData:a}=t,{offset:c=0,mainAxis:f=!0,crossAxis:h=!0}=_r(e,t),p={x:n,y:i},g=au(r),y=h2(g);let v=p[y],E=p[g];const T=_r(c,t),S=typeof T=="number"?{mainAxis:T,crossAxis:0}:{mainAxis:0,crossAxis:0,...T};if(f){const C=y==="y"?"height":"width",N=o.reference[y]-o.floating[C]+S.mainAxis,O=o.reference[y]+o.reference[C]-S.mainAxis;v<N?v=N:v>O&&(v=O)}if(h){var A,D;const C=y==="y"?"width":"height",N=["top","left"].includes(du(r)),O=o.reference[g]-o.floating[C]+(N&&((A=a.offset)==null?void 0:A[g])||0)+(N?0:S.crossAxis),k=o.reference[g]+o.reference[C]+(N?0:((D=a.offset)==null?void 0:D[g])||0)-(N?S.crossAxis:0);E<O?E=O:E>k&&(E=k)}return{[y]:v,[g]:E}}}},tj=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,i;const{placement:r,rects:o,platform:a,elements:c}=t,{apply:f=()=>{},...h}=_r(e,t),p=await Ea(t,h),g=du(r),y=Oa(r),v=au(r)==="y",{width:E,height:T}=o.floating;let S,A;g==="top"||g==="bottom"?(S=g,A=y===(await(a.isRTL==null?void 0:a.isRTL(c.floating))?"start":"end")?"left":"right"):(A=g,S=y==="end"?"top":"bottom");const D=T-p.top-p.bottom,C=E-p.left-p.right,N=fu(T-p[S],D),O=fu(E-p[A],C),k=!t.middlewareData.shift;let I=N,P=O;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(P=C),(i=t.middlewareData.shift)!=null&&i.enabled.y&&(I=D),k&&!y){const B=_n(p.left,0),z=_n(p.right,0),te=_n(p.top,0),re=_n(p.bottom,0);v?P=E-2*(B!==0||z!==0?B+z:_n(p.left,p.right)):I=T-2*(te!==0||re!==0?te+re:_n(p.top,p.bottom))}await f({...t,availableWidth:P,availableHeight:I});const L=await a.getDimensions(c.floating);return E!==L.width||T!==L.height?{reset:{rects:!0}}:{}}}};function $0(){return typeof window<"u"}function Ra(e){return YS(e)?(e.nodeName||"").toLowerCase():"#document"}function si(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Mr(e){var t;return(t=(YS(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function YS(e){return $0()?e instanceof Node||e instanceof si(e).Node:!1}function Rn(e){return $0()?e instanceof Element||e instanceof si(e).Element:!1}function Cr(e){return $0()?e instanceof HTMLElement||e instanceof si(e).HTMLElement:!1}function _6(e){return!$0()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof si(e).ShadowRoot}function Uc(e){const{overflow:t,overflowX:n,overflowY:i,display:r}=Qi(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+n)&&!["inline","contents"].includes(r)}function nj(e){return["table","td","th"].includes(Ra(e))}function U0(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function g2(e){const t=v2(),n=Rn(e)?Qi(e):e;return["transform","translate","scale","rotate","perspective"].some(i=>n[i]?n[i]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(i=>(n.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(n.contain||"").includes(i))}function ij(e){let t=uo(e);for(;Cr(t)&&!Ta(t);){if(g2(t))return t;if(U0(t))return null;t=uo(t)}return null}function v2(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Ta(e){return["html","body","#document"].includes(Ra(e))}function Qi(e){return si(e).getComputedStyle(e)}function z0(e){return Rn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function uo(e){if(Ra(e)==="html")return e;const t=e.assignedSlot||e.parentNode||_6(e)&&e.host||Mr(e);return _6(t)?t.host:t}function QS(e){const t=uo(e);return Ta(t)?e.ownerDocument?e.ownerDocument.body:e.body:Cr(t)&&Uc(t)?t:QS(t)}function Ec(e,t,n){var i;t===void 0&&(t=[]),n===void 0&&(n=!0);const r=QS(e),o=r===((i=e.ownerDocument)==null?void 0:i.body),a=si(r);if(o){const c=ng(a);return t.concat(a,a.visualViewport||[],Uc(r)?r:[],c&&n?Ec(c):[])}return t.concat(r,Ec(r,[],n))}function ng(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function XS(e){const t=Qi(e);let n=parseFloat(t.width)||0,i=parseFloat(t.height)||0;const r=Cr(e),o=r?e.offsetWidth:n,a=r?e.offsetHeight:i,c=xc(n)!==o||xc(i)!==a;return c&&(n=o,i=a),{width:n,height:i,$:c}}function y2(e){return Rn(e)?e:e.contextElement}function ha(e){const t=y2(e);if(!Cr(t))return xr(1);const n=t.getBoundingClientRect(),{width:i,height:r,$:o}=XS(t);let a=(o?xc(n.width):n.width)/i,c=(o?xc(n.height):n.height)/r;return(!a||!Number.isFinite(a))&&(a=1),(!c||!Number.isFinite(c))&&(c=1),{x:a,y:c}}const rj=xr(0);function ZS(e){const t=si(e);return!v2()||!t.visualViewport?rj:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function uj(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==si(e)?!1:t}function Xo(e,t,n,i){t===void 0&&(t=!1),n===void 0&&(n=!1);const r=e.getBoundingClientRect(),o=y2(e);let a=xr(1);t&&(i?Rn(i)&&(a=ha(i)):a=ha(e));const c=uj(o,n,i)?ZS(o):xr(0);let f=(r.left+c.x)/a.x,h=(r.top+c.y)/a.y,p=r.width/a.x,g=r.height/a.y;if(o){const y=si(o),v=i&&Rn(i)?si(i):i;let E=y,T=ng(E);for(;T&&i&&v!==E;){const S=ha(T),A=T.getBoundingClientRect(),D=Qi(T),C=A.left+(T.clientLeft+parseFloat(D.paddingLeft))*S.x,N=A.top+(T.clientTop+parseFloat(D.paddingTop))*S.y;f*=S.x,h*=S.y,p*=S.x,g*=S.y,f+=C,h+=N,E=si(T),T=ng(E)}}return u0({width:p,height:g,x:f,y:h})}function b2(e,t){const n=z0(e).scrollLeft;return t?t.left+n:Xo(Mr(e)).left+n}function WS(e,t,n){n===void 0&&(n=!1);const i=e.getBoundingClientRect(),r=i.left+t.scrollLeft-(n?0:b2(e,i)),o=i.top+t.scrollTop;return{x:r,y:o}}function oj(e){let{elements:t,rect:n,offsetParent:i,strategy:r}=e;const o=r==="fixed",a=Mr(i),c=t?U0(t.floating):!1;if(i===a||c&&o)return n;let f={scrollLeft:0,scrollTop:0},h=xr(1);const p=xr(0),g=Cr(i);if((g||!g&&!o)&&((Ra(i)!=="body"||Uc(a))&&(f=z0(i)),Cr(i))){const v=Xo(i);h=ha(i),p.x=v.x+i.clientLeft,p.y=v.y+i.clientTop}const y=a&&!g&&!o?WS(a,f,!0):xr(0);return{width:n.width*h.x,height:n.height*h.y,x:n.x*h.x-f.scrollLeft*h.x+p.x+y.x,y:n.y*h.y-f.scrollTop*h.y+p.y+y.y}}function sj(e){return Array.from(e.getClientRects())}function aj(e){const t=Mr(e),n=z0(e),i=e.ownerDocument.body,r=_n(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),o=_n(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight);let a=-n.scrollLeft+b2(e);const c=-n.scrollTop;return Qi(i).direction==="rtl"&&(a+=_n(t.clientWidth,i.clientWidth)-r),{width:r,height:o,x:a,y:c}}function lj(e,t){const n=si(e),i=Mr(e),r=n.visualViewport;let o=i.clientWidth,a=i.clientHeight,c=0,f=0;if(r){o=r.width,a=r.height;const h=v2();(!h||h&&t==="fixed")&&(c=r.offsetLeft,f=r.offsetTop)}return{width:o,height:a,x:c,y:f}}function cj(e,t){const n=Xo(e,!0,t==="fixed"),i=n.top+e.clientTop,r=n.left+e.clientLeft,o=Cr(e)?ha(e):xr(1),a=e.clientWidth*o.x,c=e.clientHeight*o.y,f=r*o.x,h=i*o.y;return{width:a,height:c,x:f,y:h}}function C6(e,t,n){let i;if(t==="viewport")i=lj(e,n);else if(t==="document")i=aj(Mr(e));else if(Rn(t))i=cj(t,n);else{const r=ZS(e);i={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return u0(i)}function KS(e,t){const n=uo(e);return n===t||!Rn(n)||Ta(n)?!1:Qi(n).position==="fixed"||KS(n,t)}function fj(e,t){const n=t.get(e);if(n)return n;let i=Ec(e,[],!1).filter(c=>Rn(c)&&Ra(c)!=="body"),r=null;const o=Qi(e).position==="fixed";let a=o?uo(e):e;for(;Rn(a)&&!Ta(a);){const c=Qi(a),f=g2(a);!f&&c.position==="fixed"&&(r=null),(o?!f&&!r:!f&&c.position==="static"&&!!r&&["absolute","fixed"].includes(r.position)||Uc(a)&&!f&&KS(e,a))?i=i.filter(p=>p!==a):r=c,a=uo(a)}return t.set(e,i),i}function dj(e){let{element:t,boundary:n,rootBoundary:i,strategy:r}=e;const a=[...n==="clippingAncestors"?U0(t)?[]:fj(t,this._c):[].concat(n),i],c=a[0],f=a.reduce((h,p)=>{const g=C6(t,p,r);return h.top=_n(g.top,h.top),h.right=fu(g.right,h.right),h.bottom=fu(g.bottom,h.bottom),h.left=_n(g.left,h.left),h},C6(t,c,r));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function hj(e){const{width:t,height:n}=XS(e);return{width:t,height:n}}function pj(e,t,n){const i=Cr(t),r=Mr(t),o=n==="fixed",a=Xo(e,!0,o,t);let c={scrollLeft:0,scrollTop:0};const f=xr(0);function h(){f.x=b2(r)}if(i||!i&&!o)if((Ra(t)!=="body"||Uc(r))&&(c=z0(t)),i){const v=Xo(t,!0,o,t);f.x=v.x+t.clientLeft,f.y=v.y+t.clientTop}else r&&h();o&&!i&&r&&h();const p=r&&!i&&!o?WS(r,c):xr(0),g=a.left+c.scrollLeft-f.x-p.x,y=a.top+c.scrollTop-f.y-p.y;return{x:g,y,width:a.width,height:a.height}}function $1(e){return Qi(e).position==="static"}function A6(e,t){if(!Cr(e)||Qi(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Mr(e)===n&&(n=n.ownerDocument.body),n}function JS(e,t){const n=si(e);if(U0(e))return n;if(!Cr(e)){let r=uo(e);for(;r&&!Ta(r);){if(Rn(r)&&!$1(r))return r;r=uo(r)}return n}let i=A6(e,t);for(;i&&nj(i)&&$1(i);)i=A6(i,t);return i&&Ta(i)&&$1(i)&&!g2(i)?n:i||ij(e)||n}const mj=async function(e){const t=this.getOffsetParent||JS,n=this.getDimensions,i=await n(e.floating);return{reference:pj(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function gj(e){return Qi(e).direction==="rtl"}const vj={convertOffsetParentRelativeRectToViewportRelativeRect:oj,getDocumentElement:Mr,getClippingRect:dj,getOffsetParent:JS,getElementRects:mj,getClientRects:sj,getDimensions:hj,getScale:ha,isElement:Rn,isRTL:gj};function e_(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function yj(e,t){let n=null,i;const r=Mr(e);function o(){var c;clearTimeout(i),(c=n)==null||c.disconnect(),n=null}function a(c,f){c===void 0&&(c=!1),f===void 0&&(f=1),o();const h=e.getBoundingClientRect(),{left:p,top:g,width:y,height:v}=h;if(c||t(),!y||!v)return;const E=wd(g),T=wd(r.clientWidth-(p+y)),S=wd(r.clientHeight-(g+v)),A=wd(p),C={rootMargin:-E+"px "+-T+"px "+-S+"px "+-A+"px",threshold:_n(0,fu(1,f))||1};let N=!0;function O(k){const I=k[0].intersectionRatio;if(I!==f){if(!N)return a();I?a(!1,I):i=setTimeout(()=>{a(!1,1e-7)},1e3)}I===1&&!e_(h,e.getBoundingClientRect())&&a(),N=!1}try{n=new IntersectionObserver(O,{...C,root:r.ownerDocument})}catch{n=new IntersectionObserver(O,C)}n.observe(e)}return a(!0),o}function t_(e,t,n,i){i===void 0&&(i={});const{ancestorScroll:r=!0,ancestorResize:o=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:f=!1}=i,h=y2(e),p=r||o?[...h?Ec(h):[],...Ec(t)]:[];p.forEach(A=>{r&&A.addEventListener("scroll",n,{passive:!0}),o&&A.addEventListener("resize",n)});const g=h&&c?yj(h,n):null;let y=-1,v=null;a&&(v=new ResizeObserver(A=>{let[D]=A;D&&D.target===h&&v&&(v.unobserve(t),cancelAnimationFrame(y),y=requestAnimationFrame(()=>{var C;(C=v)==null||C.observe(t)})),n()}),h&&!f&&v.observe(h),v.observe(t));let E,T=f?Xo(e):null;f&&S();function S(){const A=Xo(e);T&&!e_(T,A)&&n(),T=A,E=requestAnimationFrame(S)}return n(),()=>{var A;p.forEach(D=>{r&&D.removeEventListener("scroll",n),o&&D.removeEventListener("resize",n)}),g==null||g(),(A=v)==null||A.disconnect(),v=null,f&&cancelAnimationFrame(E)}}const U1=Ea,bj=KF,xj=JF,Ej=XF,Tj=tj,Sj=ZF,w6=QF,_j=ej,Cj=(e,t,n)=>{const i=new Map,r={platform:vj,...n},o={...r.platform,_c:i};return YF(e,t,{...r,platform:o})};var Vd=typeof document<"u"?x.useLayoutEffect:x.useEffect;function o0(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,i,r;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(i=n;i--!==0;)if(!o0(e[i],t[i]))return!1;return!0}if(r=Object.keys(e),n=r.length,n!==Object.keys(t).length)return!1;for(i=n;i--!==0;)if(!{}.hasOwnProperty.call(t,r[i]))return!1;for(i=n;i--!==0;){const o=r[i];if(!(o==="_owner"&&e.$$typeof)&&!o0(e[o],t[o]))return!1}return!0}return e!==e&&t!==t}function n_(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function D6(e,t){const n=n_(e);return Math.round(t*n)/n}function z1(e){const t=x.useRef(e);return Vd(()=>{t.current=e}),t}function i_(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:i=[],platform:r,elements:{reference:o,floating:a}={},transform:c=!0,whileElementsMounted:f,open:h}=e,[p,g]=x.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[y,v]=x.useState(i);o0(y,i)||v(i);const[E,T]=x.useState(null),[S,A]=x.useState(null),D=x.useCallback($=>{$!==k.current&&(k.current=$,T($))},[]),C=x.useCallback($=>{$!==I.current&&(I.current=$,A($))},[]),N=o||E,O=a||S,k=x.useRef(null),I=x.useRef(null),P=x.useRef(p),L=f!=null,B=z1(f),z=z1(r),te=z1(h),re=x.useCallback(()=>{if(!k.current||!I.current)return;const $={placement:t,strategy:n,middleware:y};z.current&&($.platform=z.current),Cj(k.current,I.current,$).then(V=>{const M={...V,isPositioned:te.current!==!1};fe.current&&!o0(P.current,M)&&(P.current=M,On.flushSync(()=>{g(M)}))})},[y,t,n,z,te]);Vd(()=>{h===!1&&P.current.isPositioned&&(P.current.isPositioned=!1,g($=>({...$,isPositioned:!1})))},[h]);const fe=x.useRef(!1);Vd(()=>(fe.current=!0,()=>{fe.current=!1}),[]),Vd(()=>{if(N&&(k.current=N),O&&(I.current=O),N&&O){if(B.current)return B.current(N,O,re);re()}},[N,O,re,B,L]);const X=x.useMemo(()=>({reference:k,floating:I,setReference:D,setFloating:C}),[D,C]),F=x.useMemo(()=>({reference:N,floating:O}),[N,O]),H=x.useMemo(()=>{const $={position:n,left:0,top:0};if(!F.floating)return $;const V=D6(F.floating,p.x),M=D6(F.floating,p.y);return c?{...$,transform:"translate("+V+"px, "+M+"px)",...n_(F.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:V,top:M}},[n,c,F.floating,p.x,p.y]);return x.useMemo(()=>({...p,update:re,refs:X,elements:F,floatingStyles:H}),[p,re,X,F,H])}const Aj=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:i,padding:r}=typeof e=="function"?e(n):e;return i&&t(i)?i.current!=null?w6({element:i.current,padding:r}).fn(n):{}:i?w6({element:i,padding:r}).fn(n):{}}}},x2=(e,t)=>({...bj(e),options:[e,t]}),r_=(e,t)=>({...xj(e),options:[e,t]}),wj=(e,t)=>({..._j(e),options:[e,t]}),u_=(e,t)=>({...Ej(e),options:[e,t]}),o_=(e,t)=>({...Tj(e),options:[e,t]}),Dj=(e,t)=>({...Sj(e),options:[e,t]}),Nj=(e,t)=>({...Aj(e),options:[e,t]});var Oj="Arrow",s_=x.forwardRef((e,t)=>{const{children:n,width:i=10,height:r=5,...o}=e;return _.jsx(Mt.svg,{...o,ref:t,width:i,height:r,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:_.jsx("polygon",{points:"0,0 30,0 15,10"})})});s_.displayName=Oj;var Rj=s_;function Mj(e){const[t,n]=x.useState(void 0);return ro(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const i=new ResizeObserver(r=>{if(!Array.isArray(r)||!r.length)return;const o=r[0];let a,c;if("borderBoxSize"in o){const f=o.borderBoxSize,h=Array.isArray(f)?f[0]:f;a=h.inlineSize,c=h.blockSize}else a=e.offsetWidth,c=e.offsetHeight;n({width:a,height:c})});return i.observe(e,{box:"border-box"}),()=>i.unobserve(e)}else n(void 0)},[e]),t}var E2="Popper",[a_,H0]=is(E2),[kj,l_]=a_(E2),c_=e=>{const{__scopePopper:t,children:n}=e,[i,r]=x.useState(null);return _.jsx(kj,{scope:t,anchor:i,onAnchorChange:r,children:n})};c_.displayName=E2;var f_="PopperAnchor",d_=x.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:i,...r}=e,o=l_(f_,n),a=x.useRef(null),c=Kt(t,a);return x.useEffect(()=>{o.onAnchorChange((i==null?void 0:i.current)||a.current)}),i?null:_.jsx(Mt.div,{...r,ref:c})});d_.displayName=f_;var T2="PopperContent",[Lj,Ij]=a_(T2),h_=x.forwardRef((e,t)=>{var le,ue,me,ve,He,lt;const{__scopePopper:n,side:i="bottom",sideOffset:r=0,align:o="center",alignOffset:a=0,arrowPadding:c=0,avoidCollisions:f=!0,collisionBoundary:h=[],collisionPadding:p=0,sticky:g="partial",hideWhenDetached:y=!1,updatePositionStrategy:v="optimized",onPlaced:E,...T}=e,S=l_(T2,n),[A,D]=x.useState(null),C=Kt(t,Te=>D(Te)),[N,O]=x.useState(null),k=Mj(N),I=(k==null?void 0:k.width)??0,P=(k==null?void 0:k.height)??0,L=i+(o!=="center"?"-"+o:""),B=typeof p=="number"?p:{top:0,right:0,bottom:0,left:0,...p},z=Array.isArray(h)?h:[h],te=z.length>0,re={padding:B,boundary:z.filter(jj),altBoundary:te},{refs:fe,floatingStyles:X,placement:F,isPositioned:H,middlewareData:$}=i_({strategy:"fixed",placement:L,whileElementsMounted:(...Te)=>t_(...Te,{animationFrame:v==="always"}),elements:{reference:S.anchor},middleware:[x2({mainAxis:r+P,alignmentAxis:a}),f&&r_({mainAxis:!0,crossAxis:!1,limiter:g==="partial"?wj():void 0,...re}),f&&u_({...re}),o_({...re,apply:({elements:Te,rects:At,availableWidth:In,availableHeight:cn})=>{const{width:nt,height:De}=At.reference,qe=Te.floating.style;qe.setProperty("--radix-popper-available-width",`${In}px`),qe.setProperty("--radix-popper-available-height",`${cn}px`),qe.setProperty("--radix-popper-anchor-width",`${nt}px`),qe.setProperty("--radix-popper-anchor-height",`${De}px`)}}),N&&Nj({element:N,padding:c}),Pj({arrowWidth:I,arrowHeight:P}),y&&Dj({strategy:"referenceHidden",...re})]}),[V,M]=g_(F),q=cu(E);ro(()=>{H&&(q==null||q())},[H,q]);const ie=(le=$.arrow)==null?void 0:le.x,ne=(ue=$.arrow)==null?void 0:ue.y,Y=((me=$.arrow)==null?void 0:me.centerOffset)!==0,[pe,oe]=x.useState();return ro(()=>{A&&oe(window.getComputedStyle(A).zIndex)},[A]),_.jsx("div",{ref:fe.setFloating,"data-radix-popper-content-wrapper":"",style:{...X,transform:H?X.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:pe,"--radix-popper-transform-origin":[(ve=$.transformOrigin)==null?void 0:ve.x,(He=$.transformOrigin)==null?void 0:He.y].join(" "),...((lt=$.hide)==null?void 0:lt.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:_.jsx(Lj,{scope:n,placedSide:V,onArrowChange:O,arrowX:ie,arrowY:ne,shouldHideArrow:Y,children:_.jsx(Mt.div,{"data-side":V,"data-align":M,...T,ref:C,style:{...T.style,animation:H?void 0:"none"}})})})});h_.displayName=T2;var p_="PopperArrow",Fj={top:"bottom",right:"left",bottom:"top",left:"right"},m_=x.forwardRef(function(t,n){const{__scopePopper:i,...r}=t,o=Ij(p_,i),a=Fj[o.placedSide];return _.jsx("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:_.jsx(Rj,{...r,ref:n,style:{...r.style,display:"block"}})})});m_.displayName=p_;function jj(e){return e!==null}var Pj=e=>({name:"transformOrigin",options:e,fn(t){var S,A,D;const{placement:n,rects:i,middlewareData:r}=t,a=((S=r.arrow)==null?void 0:S.centerOffset)!==0,c=a?0:e.arrowWidth,f=a?0:e.arrowHeight,[h,p]=g_(n),g={start:"0%",center:"50%",end:"100%"}[p],y=(((A=r.arrow)==null?void 0:A.x)??0)+c/2,v=(((D=r.arrow)==null?void 0:D.y)??0)+f/2;let E="",T="";return h==="bottom"?(E=a?g:`${y}px`,T=`${-f}px`):h==="top"?(E=a?g:`${y}px`,T=`${i.floating.height+f}px`):h==="right"?(E=`${-f}px`,T=a?g:`${v}px`):h==="left"&&(E=`${i.floating.width+f}px`,T=a?g:`${v}px`),{data:{x:E,y:T}}}});function g_(e){const[t,n="center"]=e.split("-");return[t,n]}var v_=c_,y_=d_,b_=h_,x_=m_,H1="rovingFocusGroup.onEntryFocus",Vj={bubbles:!1,cancelable:!0},zc="RovingFocusGroup",[ig,E_,Bj]=HS(zc),[$j,T_]=is(zc,[Bj]),[Uj,zj]=$j(zc),S_=x.forwardRef((e,t)=>_.jsx(ig.Provider,{scope:e.__scopeRovingFocusGroup,children:_.jsx(ig.Slot,{scope:e.__scopeRovingFocusGroup,children:_.jsx(Hj,{...e,ref:t})})}));S_.displayName=zc;var Hj=x.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:i,loop:r=!1,dir:o,currentTabStopId:a,defaultCurrentTabStopId:c,onCurrentTabStopIdChange:f,onEntryFocus:h,preventScrollOnEntryFocus:p=!1,...g}=e,y=x.useRef(null),v=Kt(t,y),E=qS(o),[T,S]=F0({prop:a,defaultProp:c??null,onChange:f,caller:zc}),[A,D]=x.useState(!1),C=cu(h),N=E_(n),O=x.useRef(!1),[k,I]=x.useState(0);return x.useEffect(()=>{const P=y.current;if(P)return P.addEventListener(H1,C),()=>P.removeEventListener(H1,C)},[C]),_.jsx(Uj,{scope:n,orientation:i,dir:E,loop:r,currentTabStopId:T,onItemFocus:x.useCallback(P=>S(P),[S]),onItemShiftTab:x.useCallback(()=>D(!0),[]),onFocusableItemAdd:x.useCallback(()=>I(P=>P+1),[]),onFocusableItemRemove:x.useCallback(()=>I(P=>P-1),[]),children:_.jsx(Mt.div,{tabIndex:A||k===0?-1:0,"data-orientation":i,...g,ref:v,style:{outline:"none",...e.style},onMouseDown:Oe(e.onMouseDown,()=>{O.current=!0}),onFocus:Oe(e.onFocus,P=>{const L=!O.current;if(P.target===P.currentTarget&&L&&!A){const B=new CustomEvent(H1,Vj);if(P.currentTarget.dispatchEvent(B),!B.defaultPrevented){const z=N().filter(F=>F.focusable),te=z.find(F=>F.active),re=z.find(F=>F.id===T),X=[te,re,...z].filter(Boolean).map(F=>F.ref.current);A_(X,p)}}O.current=!1}),onBlur:Oe(e.onBlur,()=>D(!1))})})}),__="RovingFocusGroupItem",C_=x.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:i=!0,active:r=!1,tabStopId:o,children:a,...c}=e,f=$o(),h=o||f,p=zj(__,n),g=p.currentTabStopId===h,y=E_(n),{onFocusableItemAdd:v,onFocusableItemRemove:E,currentTabStopId:T}=p;return x.useEffect(()=>{if(i)return v(),()=>E()},[i,v,E]),_.jsx(ig.ItemSlot,{scope:n,id:h,focusable:i,active:r,children:_.jsx(Mt.span,{tabIndex:g?0:-1,"data-orientation":p.orientation,...c,ref:t,onMouseDown:Oe(e.onMouseDown,S=>{i?p.onItemFocus(h):S.preventDefault()}),onFocus:Oe(e.onFocus,()=>p.onItemFocus(h)),onKeyDown:Oe(e.onKeyDown,S=>{if(S.key==="Tab"&&S.shiftKey){p.onItemShiftTab();return}if(S.target!==S.currentTarget)return;const A=Yj(S,p.orientation,p.dir);if(A!==void 0){if(S.metaKey||S.ctrlKey||S.altKey||S.shiftKey)return;S.preventDefault();let C=y().filter(N=>N.focusable).map(N=>N.ref.current);if(A==="last")C.reverse();else if(A==="prev"||A==="next"){A==="prev"&&C.reverse();const N=C.indexOf(S.currentTarget);C=p.loop?Qj(C,N+1):C.slice(N+1)}setTimeout(()=>A_(C))}}),children:typeof a=="function"?a({isCurrentTabStop:g,hasTabStop:T!=null}):a})})});C_.displayName=__;var qj={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function Gj(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function Yj(e,t,n){const i=Gj(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(i))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(i)))return qj[i]}function A_(e,t=!1){const n=document.activeElement;for(const i of e)if(i===n||(i.focus({preventScroll:t}),document.activeElement!==n))return}function Qj(e,t){return e.map((n,i)=>e[(t+i)%e.length])}var Xj=S_,Zj=C_,rg=["Enter"," "],Wj=["ArrowDown","PageUp","Home"],w_=["ArrowUp","PageDown","End"],Kj=[...Wj,...w_],Jj={ltr:[...rg,"ArrowRight"],rtl:[...rg,"ArrowLeft"]},eP={ltr:["ArrowLeft"],rtl:["ArrowRight"]},Hc="Menu",[Tc,tP,nP]=HS(Hc),[rs,D_]=is(Hc,[nP,H0,T_]),q0=H0(),N_=T_(),[iP,us]=rs(Hc),[rP,qc]=rs(Hc),O_=e=>{const{__scopeMenu:t,open:n=!1,children:i,dir:r,onOpenChange:o,modal:a=!0}=e,c=q0(t),[f,h]=x.useState(null),p=x.useRef(!1),g=cu(o),y=qS(r);return x.useEffect(()=>{const v=()=>{p.current=!0,document.addEventListener("pointerdown",E,{capture:!0,once:!0}),document.addEventListener("pointermove",E,{capture:!0,once:!0})},E=()=>p.current=!1;return document.addEventListener("keydown",v,{capture:!0}),()=>{document.removeEventListener("keydown",v,{capture:!0}),document.removeEventListener("pointerdown",E,{capture:!0}),document.removeEventListener("pointermove",E,{capture:!0})}},[]),_.jsx(v_,{...c,children:_.jsx(iP,{scope:t,open:n,onOpenChange:g,content:f,onContentChange:h,children:_.jsx(rP,{scope:t,onClose:x.useCallback(()=>g(!1),[g]),isUsingKeyboardRef:p,dir:y,modal:a,children:i})})})};O_.displayName=Hc;var uP="MenuAnchor",S2=x.forwardRef((e,t)=>{const{__scopeMenu:n,...i}=e,r=q0(n);return _.jsx(y_,{...r,...i,ref:t})});S2.displayName=uP;var _2="MenuPortal",[oP,R_]=rs(_2,{forceMount:void 0}),M_=e=>{const{__scopeMenu:t,forceMount:n,children:i,container:r}=e,o=us(_2,t);return _.jsx(oP,{scope:t,forceMount:n,children:_.jsx(Rr,{present:n||o.open,children:_.jsx(P0,{asChild:!0,container:r,children:i})})})};M_.displayName=_2;var Ai="MenuContent",[sP,C2]=rs(Ai),k_=x.forwardRef((e,t)=>{const n=R_(Ai,e.__scopeMenu),{forceMount:i=n.forceMount,...r}=e,o=us(Ai,e.__scopeMenu),a=qc(Ai,e.__scopeMenu);return _.jsx(Tc.Provider,{scope:e.__scopeMenu,children:_.jsx(Rr,{present:i||o.open,children:_.jsx(Tc.Slot,{scope:e.__scopeMenu,children:a.modal?_.jsx(aP,{...r,ref:t}):_.jsx(lP,{...r,ref:t})})})})}),aP=x.forwardRef((e,t)=>{const n=us(Ai,e.__scopeMenu),i=x.useRef(null),r=Kt(t,i);return x.useEffect(()=>{const o=i.current;if(o)return _S(o)},[]),_.jsx(A2,{...e,ref:r,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:Oe(e.onFocusOutside,o=>o.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),lP=x.forwardRef((e,t)=>{const n=us(Ai,e.__scopeMenu);return _.jsx(A2,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),cP=bc("MenuContent.ScrollLock"),A2=x.forwardRef((e,t)=>{const{__scopeMenu:n,loop:i=!1,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:a,disableOutsidePointerEvents:c,onEntryFocus:f,onEscapeKeyDown:h,onPointerDownOutside:p,onFocusOutside:g,onInteractOutside:y,onDismiss:v,disableOutsideScroll:E,...T}=e,S=us(Ai,n),A=qc(Ai,n),D=q0(n),C=N_(n),N=tP(n),[O,k]=x.useState(null),I=x.useRef(null),P=Kt(t,I,S.onContentChange),L=x.useRef(0),B=x.useRef(""),z=x.useRef(0),te=x.useRef(null),re=x.useRef("right"),fe=x.useRef(0),X=E?l2:x.Fragment,F=E?{as:cP,allowPinchZoom:!0}:void 0,H=V=>{var le,ue;const M=B.current+V,q=N().filter(me=>!me.disabled),ie=document.activeElement,ne=(le=q.find(me=>me.ref.current===ie))==null?void 0:le.textValue,Y=q.map(me=>me.textValue),pe=TP(Y,M,ne),oe=(ue=q.find(me=>me.textValue===pe))==null?void 0:ue.ref.current;(function me(ve){B.current=ve,window.clearTimeout(L.current),ve!==""&&(L.current=window.setTimeout(()=>me(""),1e3))})(M),oe&&setTimeout(()=>oe.focus())};x.useEffect(()=>()=>window.clearTimeout(L.current),[]),mS();const $=x.useCallback(V=>{var q,ie;return re.current===((q=te.current)==null?void 0:q.side)&&_P(V,(ie=te.current)==null?void 0:ie.area)},[]);return _.jsx(sP,{scope:n,searchRef:B,onItemEnter:x.useCallback(V=>{$(V)&&V.preventDefault()},[$]),onItemLeave:x.useCallback(V=>{var M;$(V)||((M=I.current)==null||M.focus(),k(null))},[$]),onTriggerLeave:x.useCallback(V=>{$(V)&&V.preventDefault()},[$]),pointerGraceTimerRef:z,onPointerGraceIntentChange:x.useCallback(V=>{te.current=V},[]),children:_.jsx(X,{...F,children:_.jsx(a2,{asChild:!0,trapped:r,onMountAutoFocus:Oe(o,V=>{var M;V.preventDefault(),(M=I.current)==null||M.focus({preventScroll:!0})}),onUnmountAutoFocus:a,children:_.jsx(j0,{asChild:!0,disableOutsidePointerEvents:c,onEscapeKeyDown:h,onPointerDownOutside:p,onFocusOutside:g,onInteractOutside:y,onDismiss:v,children:_.jsx(Xj,{asChild:!0,...C,dir:A.dir,orientation:"vertical",loop:i,currentTabStopId:O,onCurrentTabStopIdChange:k,onEntryFocus:Oe(f,V=>{A.isUsingKeyboardRef.current||V.preventDefault()}),preventScrollOnEntryFocus:!0,children:_.jsx(b_,{role:"menu","aria-orientation":"vertical","data-state":X_(S.open),"data-radix-menu-content":"",dir:A.dir,...D,...T,ref:P,style:{outline:"none",...T.style},onKeyDown:Oe(T.onKeyDown,V=>{const q=V.target.closest("[data-radix-menu-content]")===V.currentTarget,ie=V.ctrlKey||V.altKey||V.metaKey,ne=V.key.length===1;q&&(V.key==="Tab"&&V.preventDefault(),!ie&&ne&&H(V.key));const Y=I.current;if(V.target!==Y||!Kj.includes(V.key))return;V.preventDefault();const oe=N().filter(le=>!le.disabled).map(le=>le.ref.current);w_.includes(V.key)&&oe.reverse(),xP(oe)}),onBlur:Oe(e.onBlur,V=>{V.currentTarget.contains(V.target)||(window.clearTimeout(L.current),B.current="")}),onPointerMove:Oe(e.onPointerMove,Sc(V=>{const M=V.target,q=fe.current!==V.clientX;if(V.currentTarget.contains(M)&&q){const ie=V.clientX>fe.current?"right":"left";re.current=ie,fe.current=V.clientX}}))})})})})})})});k_.displayName=Ai;var fP="MenuGroup",w2=x.forwardRef((e,t)=>{const{__scopeMenu:n,...i}=e;return _.jsx(Mt.div,{role:"group",...i,ref:t})});w2.displayName=fP;var dP="MenuLabel",L_=x.forwardRef((e,t)=>{const{__scopeMenu:n,...i}=e;return _.jsx(Mt.div,{...i,ref:t})});L_.displayName=dP;var s0="MenuItem",N6="menu.itemSelect",G0=x.forwardRef((e,t)=>{const{disabled:n=!1,onSelect:i,...r}=e,o=x.useRef(null),a=qc(s0,e.__scopeMenu),c=C2(s0,e.__scopeMenu),f=Kt(t,o),h=x.useRef(!1),p=()=>{const g=o.current;if(!n&&g){const y=new CustomEvent(N6,{bubbles:!0,cancelable:!0});g.addEventListener(N6,v=>i==null?void 0:i(v),{once:!0}),fS(g,y),y.defaultPrevented?h.current=!1:a.onClose()}};return _.jsx(I_,{...r,ref:f,disabled:n,onClick:Oe(e.onClick,p),onPointerDown:g=>{var y;(y=e.onPointerDown)==null||y.call(e,g),h.current=!0},onPointerUp:Oe(e.onPointerUp,g=>{var y;h.current||(y=g.currentTarget)==null||y.click()}),onKeyDown:Oe(e.onKeyDown,g=>{const y=c.searchRef.current!=="";n||y&&g.key===" "||rg.includes(g.key)&&(g.currentTarget.click(),g.preventDefault())})})});G0.displayName=s0;var I_=x.forwardRef((e,t)=>{const{__scopeMenu:n,disabled:i=!1,textValue:r,...o}=e,a=C2(s0,n),c=N_(n),f=x.useRef(null),h=Kt(t,f),[p,g]=x.useState(!1),[y,v]=x.useState("");return x.useEffect(()=>{const E=f.current;E&&v((E.textContent??"").trim())},[o.children]),_.jsx(Tc.ItemSlot,{scope:n,disabled:i,textValue:r??y,children:_.jsx(Zj,{asChild:!0,...c,focusable:!i,children:_.jsx(Mt.div,{role:"menuitem","data-highlighted":p?"":void 0,"aria-disabled":i||void 0,"data-disabled":i?"":void 0,...o,ref:h,onPointerMove:Oe(e.onPointerMove,Sc(E=>{i?a.onItemLeave(E):(a.onItemEnter(E),E.defaultPrevented||E.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:Oe(e.onPointerLeave,Sc(E=>a.onItemLeave(E))),onFocus:Oe(e.onFocus,()=>g(!0)),onBlur:Oe(e.onBlur,()=>g(!1))})})})}),hP="MenuCheckboxItem",F_=x.forwardRef((e,t)=>{const{checked:n=!1,onCheckedChange:i,...r}=e;return _.jsx($_,{scope:e.__scopeMenu,checked:n,children:_.jsx(G0,{role:"menuitemcheckbox","aria-checked":a0(n)?"mixed":n,...r,ref:t,"data-state":N2(n),onSelect:Oe(r.onSelect,()=>i==null?void 0:i(a0(n)?!0:!n),{checkForDefaultPrevented:!1})})})});F_.displayName=hP;var j_="MenuRadioGroup",[pP,mP]=rs(j_,{value:void 0,onValueChange:()=>{}}),P_=x.forwardRef((e,t)=>{const{value:n,onValueChange:i,...r}=e,o=cu(i);return _.jsx(pP,{scope:e.__scopeMenu,value:n,onValueChange:o,children:_.jsx(w2,{...r,ref:t})})});P_.displayName=j_;var V_="MenuRadioItem",B_=x.forwardRef((e,t)=>{const{value:n,...i}=e,r=mP(V_,e.__scopeMenu),o=n===r.value;return _.jsx($_,{scope:e.__scopeMenu,checked:o,children:_.jsx(G0,{role:"menuitemradio","aria-checked":o,...i,ref:t,"data-state":N2(o),onSelect:Oe(i.onSelect,()=>{var a;return(a=r.onValueChange)==null?void 0:a.call(r,n)},{checkForDefaultPrevented:!1})})})});B_.displayName=V_;var D2="MenuItemIndicator",[$_,gP]=rs(D2,{checked:!1}),U_=x.forwardRef((e,t)=>{const{__scopeMenu:n,forceMount:i,...r}=e,o=gP(D2,n);return _.jsx(Rr,{present:i||a0(o.checked)||o.checked===!0,children:_.jsx(Mt.span,{...r,ref:t,"data-state":N2(o.checked)})})});U_.displayName=D2;var vP="MenuSeparator",z_=x.forwardRef((e,t)=>{const{__scopeMenu:n,...i}=e;return _.jsx(Mt.div,{role:"separator","aria-orientation":"horizontal",...i,ref:t})});z_.displayName=vP;var yP="MenuArrow",H_=x.forwardRef((e,t)=>{const{__scopeMenu:n,...i}=e,r=q0(n);return _.jsx(x_,{...r,...i,ref:t})});H_.displayName=yP;var bP="MenuSub",[HQ,q_]=rs(bP),ql="MenuSubTrigger",G_=x.forwardRef((e,t)=>{const n=us(ql,e.__scopeMenu),i=qc(ql,e.__scopeMenu),r=q_(ql,e.__scopeMenu),o=C2(ql,e.__scopeMenu),a=x.useRef(null),{pointerGraceTimerRef:c,onPointerGraceIntentChange:f}=o,h={__scopeMenu:e.__scopeMenu},p=x.useCallback(()=>{a.current&&window.clearTimeout(a.current),a.current=null},[]);return x.useEffect(()=>p,[p]),x.useEffect(()=>{const g=c.current;return()=>{window.clearTimeout(g),f(null)}},[c,f]),_.jsx(S2,{asChild:!0,...h,children:_.jsx(I_,{id:r.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":r.contentId,"data-state":X_(n.open),...e,ref:I0(t,r.onTriggerChange),onClick:g=>{var y;(y=e.onClick)==null||y.call(e,g),!(e.disabled||g.defaultPrevented)&&(g.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:Oe(e.onPointerMove,Sc(g=>{o.onItemEnter(g),!g.defaultPrevented&&!e.disabled&&!n.open&&!a.current&&(o.onPointerGraceIntentChange(null),a.current=window.setTimeout(()=>{n.onOpenChange(!0),p()},100))})),onPointerLeave:Oe(e.onPointerLeave,Sc(g=>{var v,E;p();const y=(v=n.content)==null?void 0:v.getBoundingClientRect();if(y){const T=(E=n.content)==null?void 0:E.dataset.side,S=T==="right",A=S?-5:5,D=y[S?"left":"right"],C=y[S?"right":"left"];o.onPointerGraceIntentChange({area:[{x:g.clientX+A,y:g.clientY},{x:D,y:y.top},{x:C,y:y.top},{x:C,y:y.bottom},{x:D,y:y.bottom}],side:T}),window.clearTimeout(c.current),c.current=window.setTimeout(()=>o.onPointerGraceIntentChange(null),300)}else{if(o.onTriggerLeave(g),g.defaultPrevented)return;o.onPointerGraceIntentChange(null)}})),onKeyDown:Oe(e.onKeyDown,g=>{var v;const y=o.searchRef.current!=="";e.disabled||y&&g.key===" "||Jj[i.dir].includes(g.key)&&(n.onOpenChange(!0),(v=n.content)==null||v.focus(),g.preventDefault())})})})});G_.displayName=ql;var Y_="MenuSubContent",Q_=x.forwardRef((e,t)=>{const n=R_(Ai,e.__scopeMenu),{forceMount:i=n.forceMount,...r}=e,o=us(Ai,e.__scopeMenu),a=qc(Ai,e.__scopeMenu),c=q_(Y_,e.__scopeMenu),f=x.useRef(null),h=Kt(t,f);return _.jsx(Tc.Provider,{scope:e.__scopeMenu,children:_.jsx(Rr,{present:i||o.open,children:_.jsx(Tc.Slot,{scope:e.__scopeMenu,children:_.jsx(A2,{id:c.contentId,"aria-labelledby":c.triggerId,...r,ref:h,align:"start",side:a.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:p=>{var g;a.isUsingKeyboardRef.current&&((g=f.current)==null||g.focus()),p.preventDefault()},onCloseAutoFocus:p=>p.preventDefault(),onFocusOutside:Oe(e.onFocusOutside,p=>{p.target!==c.trigger&&o.onOpenChange(!1)}),onEscapeKeyDown:Oe(e.onEscapeKeyDown,p=>{a.onClose(),p.preventDefault()}),onKeyDown:Oe(e.onKeyDown,p=>{var v;const g=p.currentTarget.contains(p.target),y=eP[a.dir].includes(p.key);g&&y&&(o.onOpenChange(!1),(v=c.trigger)==null||v.focus(),p.preventDefault())})})})})})});Q_.displayName=Y_;function X_(e){return e?"open":"closed"}function a0(e){return e==="indeterminate"}function N2(e){return a0(e)?"indeterminate":e?"checked":"unchecked"}function xP(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function EP(e,t){return e.map((n,i)=>e[(t+i)%e.length])}function TP(e,t,n){const r=t.length>1&&Array.from(t).every(h=>h===t[0])?t[0]:t,o=n?e.indexOf(n):-1;let a=EP(e,Math.max(o,0));r.length===1&&(a=a.filter(h=>h!==n));const f=a.find(h=>h.toLowerCase().startsWith(r.toLowerCase()));return f!==n?f:void 0}function SP(e,t){const{x:n,y:i}=e;let r=!1;for(let o=0,a=t.length-1;o<t.length;a=o++){const c=t[o],f=t[a],h=c.x,p=c.y,g=f.x,y=f.y;p>i!=y>i&&n<(g-h)*(i-p)/(y-p)+h&&(r=!r)}return r}function _P(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return SP(n,t)}function Sc(e){return t=>t.pointerType==="mouse"?e(t):void 0}var CP=O_,AP=S2,wP=M_,DP=k_,NP=w2,OP=L_,RP=G0,MP=F_,kP=P_,LP=B_,IP=U_,FP=z_,jP=H_,PP=G_,VP=Q_,Y0="DropdownMenu",[BP,qQ]=is(Y0,[D_]),Ln=D_(),[$P,Z_]=BP(Y0),W_=e=>{const{__scopeDropdownMenu:t,children:n,dir:i,open:r,defaultOpen:o,onOpenChange:a,modal:c=!0}=e,f=Ln(t),h=x.useRef(null),[p,g]=F0({prop:r,defaultProp:o??!1,onChange:a,caller:Y0});return _.jsx($P,{scope:t,triggerId:$o(),triggerRef:h,contentId:$o(),open:p,onOpenChange:g,onOpenToggle:x.useCallback(()=>g(y=>!y),[g]),modal:c,children:_.jsx(CP,{...f,open:p,onOpenChange:g,dir:i,modal:c,children:n})})};W_.displayName=Y0;var K_="DropdownMenuTrigger",J_=x.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,disabled:i=!1,...r}=e,o=Z_(K_,n),a=Ln(n);return _.jsx(AP,{asChild:!0,...a,children:_.jsx(Mt.button,{type:"button",id:o.triggerId,"aria-haspopup":"menu","aria-expanded":o.open,"aria-controls":o.open?o.contentId:void 0,"data-state":o.open?"open":"closed","data-disabled":i?"":void 0,disabled:i,...r,ref:I0(t,o.triggerRef),onPointerDown:Oe(e.onPointerDown,c=>{!i&&c.button===0&&c.ctrlKey===!1&&(o.onOpenToggle(),o.open||c.preventDefault())}),onKeyDown:Oe(e.onKeyDown,c=>{i||(["Enter"," "].includes(c.key)&&o.onOpenToggle(),c.key==="ArrowDown"&&o.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(c.key)&&c.preventDefault())})})})});J_.displayName=K_;var UP="DropdownMenuPortal",e8=e=>{const{__scopeDropdownMenu:t,...n}=e,i=Ln(t);return _.jsx(wP,{...i,...n})};e8.displayName=UP;var t8="DropdownMenuContent",n8=x.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...i}=e,r=Z_(t8,n),o=Ln(n),a=x.useRef(!1);return _.jsx(DP,{id:r.contentId,"aria-labelledby":r.triggerId,...o,...i,ref:t,onCloseAutoFocus:Oe(e.onCloseAutoFocus,c=>{var f;a.current||(f=r.triggerRef.current)==null||f.focus(),a.current=!1,c.preventDefault()}),onInteractOutside:Oe(e.onInteractOutside,c=>{const f=c.detail.originalEvent,h=f.button===0&&f.ctrlKey===!0,p=f.button===2||h;(!r.modal||p)&&(a.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});n8.displayName=t8;var zP="DropdownMenuGroup",HP=x.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...i}=e,r=Ln(n);return _.jsx(NP,{...r,...i,ref:t})});HP.displayName=zP;var qP="DropdownMenuLabel",GP=x.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...i}=e,r=Ln(n);return _.jsx(OP,{...r,...i,ref:t})});GP.displayName=qP;var YP="DropdownMenuItem",i8=x.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...i}=e,r=Ln(n);return _.jsx(RP,{...r,...i,ref:t})});i8.displayName=YP;var QP="DropdownMenuCheckboxItem",XP=x.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...i}=e,r=Ln(n);return _.jsx(MP,{...r,...i,ref:t})});XP.displayName=QP;var ZP="DropdownMenuRadioGroup",WP=x.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...i}=e,r=Ln(n);return _.jsx(kP,{...r,...i,ref:t})});WP.displayName=ZP;var KP="DropdownMenuRadioItem",JP=x.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...i}=e,r=Ln(n);return _.jsx(LP,{...r,...i,ref:t})});JP.displayName=KP;var eV="DropdownMenuItemIndicator",tV=x.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...i}=e,r=Ln(n);return _.jsx(IP,{...r,...i,ref:t})});tV.displayName=eV;var nV="DropdownMenuSeparator",iV=x.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...i}=e,r=Ln(n);return _.jsx(FP,{...r,...i,ref:t})});iV.displayName=nV;var rV="DropdownMenuArrow",uV=x.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...i}=e,r=Ln(n);return _.jsx(jP,{...r,...i,ref:t})});uV.displayName=rV;var oV="DropdownMenuSubTrigger",sV=x.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...i}=e,r=Ln(n);return _.jsx(PP,{...r,...i,ref:t})});sV.displayName=oV;var aV="DropdownMenuSubContent",lV=x.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...i}=e,r=Ln(n);return _.jsx(VP,{...r,...i,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});lV.displayName=aV;var cV=W_,fV=J_,dV=e8,hV=n8,pV=i8;const r8=x.forwardRef((e,t)=>{const n=ge.c(6);let i;n[0]!==e.className?(i=dt("graphiql-un-styled",e.className),n[0]=e.className,n[1]=i):i=n[1];let r;return n[2]!==e||n[3]!==t||n[4]!==i?(r=_.jsx(fV,{asChild:!0,children:_.jsx("button",{...e,ref:t,className:i})}),n[2]=e,n[3]=t,n[4]=i,n[5]=r):r=n[5],r});r8.displayName="DropdownMenuButton";function mV(e){const t=ge.c(14);let n,i,r,o,a;t[0]!==e?({children:n,align:o,sideOffset:a,className:i,...r}=e,t[0]=e,t[1]=n,t[2]=i,t[3]=r,t[4]=o,t[5]=a):(n=t[1],i=t[2],r=t[3],o=t[4],a=t[5]);const c=o===void 0?"start":o,f=a===void 0?5:a;let h;t[6]!==i?(h=dt("graphiql-dropdown-content",i),t[6]=i,t[7]=h):h=t[7];let p;return t[8]!==c||t[9]!==n||t[10]!==r||t[11]!==f||t[12]!==h?(p=_.jsx(dV,{children:_.jsx(hV,{align:c,sideOffset:f,className:h,...r,children:n})}),t[8]=c,t[9]=n,t[10]=r,t[11]=f,t[12]=h,t[13]=p):p=t[13],p}const gV=e=>{const t=ge.c(10);let n,i,r;t[0]!==e?({className:i,children:n,...r}=e,t[0]=e,t[1]=n,t[2]=i,t[3]=r):(n=t[1],i=t[2],r=t[3]);let o;t[4]!==i?(o=dt("graphiql-dropdown-item",i),t[4]=i,t[5]=o):o=t[5];let a;return t[6]!==n||t[7]!==r||t[8]!==o?(a=_.jsx(pV,{className:o,...r,children:n}),t[6]=n,t[7]=r,t[8]=o,t[9]=a):a=t[9],a},Dd=Object.assign(cV,{Button:r8,Item:gV,Content:mV}),Ar=x.forwardRef((e,t)=>{const n=ge.c(18);let i,r,o,a;n[0]!==e?({children:i,onlyShowFirstChild:r,type:a,...o}=e,n[0]=e,n[1]=i,n[2]=r,n[3]=o,n[4]=a):(i=n[1],r=n[2],o=n[3],a=n[4]);const c=`graphiql-markdown-${a}`,f=r&&"graphiql-markdown-preview";let h;n[5]!==o.className||n[6]!==c||n[7]!==f?(h=dt(c,f,o.className),n[5]=o.className,n[6]=c,n[7]=f,n[8]=h):h=n[8];let p;n[9]!==i?(p=t0.render(i),n[9]=i,n[10]=p):p=n[10];let g;n[11]!==p?(g={__html:p},n[11]=p,n[12]=g):g=n[12];let y;return n[13]!==o||n[14]!==t||n[15]!==h||n[16]!==g?(y=_.jsx("div",{...o,ref:t,className:h,dangerouslySetInnerHTML:g}),n[13]=o,n[14]=t,n[15]=h,n[16]=g,n[17]=y):y=n[17],y});Ar.displayName="MarkdownContent";const O2=x.forwardRef((e,t)=>{const n=ge.c(6);let i;n[0]!==e.className?(i=dt("graphiql-spinner",e.className),n[0]=e.className,n[1]=i):i=n[1];let r;return n[2]!==e||n[3]!==t||n[4]!==i?(r=_.jsx("div",{...e,ref:t,className:i}),n[2]=e,n[3]=t,n[4]=i,n[5]=r):r=n[5],r});O2.displayName="Spinner";const u8=x.createContext({});function Gc(e){const t=x.useRef(null);return t.current===null&&(t.current=e()),t.current}const R2=typeof window<"u",o8=R2?x.useLayoutEffect:x.useEffect,M2=x.createContext(null),k2=x.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function vV(e=!0){const t=x.useContext(M2);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:i,register:r}=t,o=x.useId();x.useEffect(()=>{if(e)return r(o)},[e]);const a=x.useCallback(()=>e&&i&&i(o),[o,i,e]);return!n&&i?[!1,a]:[!0]}function L2(e,t){e.indexOf(t)===-1&&e.push(t)}function I2(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function yV([...e],t,n){const i=t<0?e.length+t:t;if(i>=0&&i<e.length){const r=n<0?e.length+n:n,[o]=e.splice(t,1);e.splice(r,0,o)}return e}const hu=(e,t,n)=>n>t?t:n<e?e:n;let F2=()=>{};const pu={},s8=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),a8=e=>/^0[^.\s]+$/u.test(e);function j2(e){let t;return()=>(t===void 0&&(t=e()),t)}const wi=e=>e,bV=(e,t)=>n=>t(e(n)),Yc=(...e)=>e.reduce(bV),_c=(e,t,n)=>{const i=t-e;return i===0?1:(n-e)/i};class P2{constructor(){this.subscriptions=[]}add(t){return L2(this.subscriptions,t),()=>I2(this.subscriptions,t)}notify(t,n,i){const r=this.subscriptions.length;if(r)if(r===1)this.subscriptions[0](t,n,i);else for(let o=0;o<r;o++){const a=this.subscriptions[o];a&&a(t,n,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Er=e=>e*1e3,Tr=e=>e/1e3;function l8(e,t){return t?e*(1e3/t):0}const c8=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,xV=1e-7,EV=12;function TV(e,t,n,i,r){let o,a,c=0;do a=t+(n-t)/2,o=c8(a,i,r)-e,o>0?n=a:t=a;while(Math.abs(o)>xV&&++c<EV);return a}function Qc(e,t,n,i){if(e===t&&n===i)return wi;const r=o=>TV(o,0,1,e,n);return o=>o===0||o===1?o:c8(r(o),t,i)}const f8=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,d8=e=>t=>1-e(1-t),h8=Qc(.33,1.53,.69,.99),V2=d8(h8),p8=f8(V2),m8=e=>(e*=2)<1?.5*V2(e):.5*(2-Math.pow(2,-10*(e-1))),B2=e=>1-Math.sin(Math.acos(e)),g8=d8(B2),v8=f8(B2),SV=Qc(.42,0,1,1),_V=Qc(0,0,.58,1),y8=Qc(.42,0,.58,1),CV=e=>Array.isArray(e)&&typeof e[0]!="number",b8=e=>Array.isArray(e)&&typeof e[0]=="number",AV={linear:wi,easeIn:SV,easeInOut:y8,easeOut:_V,circIn:B2,circInOut:v8,circOut:g8,backIn:V2,backInOut:p8,backOut:h8,anticipate:m8},wV=e=>typeof e=="string",O6=e=>{if(b8(e)){F2(e.length===4);const[t,n,i,r]=e;return Qc(t,n,i,r)}else if(wV(e))return AV[e];return e},Nd=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function DV(e,t){let n=new Set,i=new Set,r=!1,o=!1;const a=new WeakSet;let c={delta:0,timestamp:0,isProcessing:!1};function f(p){a.has(p)&&(h.schedule(p),e()),p(c)}const h={schedule:(p,g=!1,y=!1)=>{const E=y&&r?n:i;return g&&a.add(p),E.has(p)||E.add(p),p},cancel:p=>{i.delete(p),a.delete(p)},process:p=>{if(c=p,r){o=!0;return}r=!0,[n,i]=[i,n],n.forEach(f),n.clear(),r=!1,o&&(o=!1,h.process(p))}};return h}const NV=40;function x8(e,t){let n=!1,i=!0;const r={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,a=Nd.reduce((C,N)=>(C[N]=DV(o),C),{}),{setup:c,read:f,resolveKeyframes:h,preUpdate:p,update:g,preRender:y,render:v,postRender:E}=a,T=()=>{const C=pu.useManualTiming?r.timestamp:performance.now();n=!1,pu.useManualTiming||(r.delta=i?1e3/60:Math.max(Math.min(C-r.timestamp,NV),1)),r.timestamp=C,r.isProcessing=!0,c.process(r),f.process(r),h.process(r),p.process(r),g.process(r),y.process(r),v.process(r),E.process(r),r.isProcessing=!1,n&&t&&(i=!1,e(T))},S=()=>{n=!0,i=!0,r.isProcessing||e(T)};return{schedule:Nd.reduce((C,N)=>{const O=a[N];return C[N]=(k,I=!1,P=!1)=>(n||S(),O.schedule(k,I,P)),C},{}),cancel:C=>{for(let N=0;N<Nd.length;N++)a[Nd[N]].cancel(C)},state:r,steps:a}}const{schedule:St,cancel:mu,state:gn,steps:q1}=x8(typeof requestAnimationFrame<"u"?requestAnimationFrame:wi,!0);let Bd;function OV(){Bd=void 0}const qn={now:()=>(Bd===void 0&&qn.set(gn.isProcessing||pu.useManualTiming?gn.timestamp:performance.now()),Bd),set:e=>{Bd=e,queueMicrotask(OV)}},E8=e=>t=>typeof t=="string"&&t.startsWith(e),$2=E8("--"),RV=E8("var(--"),U2=e=>RV(e)?MV.test(e.split("/*")[0].trim()):!1,MV=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Ma={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Cc={...Ma,transform:e=>hu(0,1,e)},Od={...Ma,default:1},Wl=e=>Math.round(e*1e5)/1e5,z2=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function kV(e){return e==null}const LV=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,H2=(e,t)=>n=>!!(typeof n=="string"&&LV.test(n)&&n.startsWith(e)||t&&!kV(n)&&Object.prototype.hasOwnProperty.call(n,t)),T8=(e,t,n)=>i=>{if(typeof i!="string")return i;const[r,o,a,c]=i.match(z2);return{[e]:parseFloat(r),[t]:parseFloat(o),[n]:parseFloat(a),alpha:c!==void 0?parseFloat(c):1}},IV=e=>hu(0,255,e),G1={...Ma,transform:e=>Math.round(IV(e))},Fo={test:H2("rgb","red"),parse:T8("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:i=1})=>"rgba("+G1.transform(e)+", "+G1.transform(t)+", "+G1.transform(n)+", "+Wl(Cc.transform(i))+")"};function FV(e){let t="",n="",i="",r="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),i=e.substring(5,7),r=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),i=e.substring(3,4),r=e.substring(4,5),t+=t,n+=n,i+=i,r+=r),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(i,16),alpha:r?parseInt(r,16)/255:1}}const ug={test:H2("#"),parse:FV,transform:Fo.transform},Xc=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Wu=Xc("deg"),Sr=Xc("%"),we=Xc("px"),jV=Xc("vh"),PV=Xc("vw"),R6={...Sr,parse:e=>Sr.parse(e)/100,transform:e=>Sr.transform(e*100)},ia={test:H2("hsl","hue"),parse:T8("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:i=1})=>"hsla("+Math.round(e)+", "+Sr.transform(Wl(t))+", "+Sr.transform(Wl(n))+", "+Wl(Cc.transform(i))+")"},Sn={test:e=>Fo.test(e)||ug.test(e)||ia.test(e),parse:e=>Fo.test(e)?Fo.parse(e):ia.test(e)?ia.parse(e):ug.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Fo.transform(e):ia.transform(e)},VV=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function BV(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(z2))==null?void 0:t.length)||0)+(((n=e.match(VV))==null?void 0:n.length)||0)>0}const S8="number",_8="color",$V="var",UV="var(",M6="${}",zV=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Ac(e){const t=e.toString(),n=[],i={color:[],number:[],var:[]},r=[];let o=0;const c=t.replace(zV,f=>(Sn.test(f)?(i.color.push(o),r.push(_8),n.push(Sn.parse(f))):f.startsWith(UV)?(i.var.push(o),r.push($V),n.push(f)):(i.number.push(o),r.push(S8),n.push(parseFloat(f))),++o,M6)).split(M6);return{values:n,split:c,indexes:i,types:r}}function C8(e){return Ac(e).values}function A8(e){const{split:t,types:n}=Ac(e),i=t.length;return r=>{let o="";for(let a=0;a<i;a++)if(o+=t[a],r[a]!==void 0){const c=n[a];c===S8?o+=Wl(r[a]):c===_8?o+=Sn.transform(r[a]):o+=r[a]}return o}}const HV=e=>typeof e=="number"?0:e;function qV(e){const t=C8(e);return A8(e)(t.map(HV))}const oo={test:BV,parse:C8,createTransformer:A8,getAnimatableNone:qV};function Y1(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function GV({hue:e,saturation:t,lightness:n,alpha:i}){e/=360,t/=100,n/=100;let r=0,o=0,a=0;if(!t)r=o=a=n;else{const c=n<.5?n*(1+t):n+t-n*t,f=2*n-c;r=Y1(f,c,e+1/3),o=Y1(f,c,e),a=Y1(f,c,e-1/3)}return{red:Math.round(r*255),green:Math.round(o*255),blue:Math.round(a*255),alpha:i}}function l0(e,t){return n=>n>0?t:e}const Et=(e,t,n)=>e+(t-e)*n,Q1=(e,t,n)=>{const i=e*e,r=n*(t*t-i)+i;return r<0?0:Math.sqrt(r)},YV=[ug,Fo,ia],QV=e=>YV.find(t=>t.test(e));function k6(e){const t=QV(e);if(!t)return!1;let n=t.parse(e);return t===ia&&(n=GV(n)),n}const L6=(e,t)=>{const n=k6(e),i=k6(t);if(!n||!i)return l0(e,t);const r={...n};return o=>(r.red=Q1(n.red,i.red,o),r.green=Q1(n.green,i.green,o),r.blue=Q1(n.blue,i.blue,o),r.alpha=Et(n.alpha,i.alpha,o),Fo.transform(r))},og=new Set(["none","hidden"]);function XV(e,t){return og.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function ZV(e,t){return n=>Et(e,t,n)}function q2(e){return typeof e=="number"?ZV:typeof e=="string"?U2(e)?l0:Sn.test(e)?L6:JV:Array.isArray(e)?w8:typeof e=="object"?Sn.test(e)?L6:WV:l0}function w8(e,t){const n=[...e],i=n.length,r=e.map((o,a)=>q2(o)(o,t[a]));return o=>{for(let a=0;a<i;a++)n[a]=r[a](o);return n}}function WV(e,t){const n={...e,...t},i={};for(const r in n)e[r]!==void 0&&t[r]!==void 0&&(i[r]=q2(e[r])(e[r],t[r]));return r=>{for(const o in i)n[o]=i[o](r);return n}}function KV(e,t){const n=[],i={color:0,var:0,number:0};for(let r=0;r<t.values.length;r++){const o=t.types[r],a=e.indexes[o][i[o]],c=e.values[a]??0;n[r]=c,i[o]++}return n}const JV=(e,t)=>{const n=oo.createTransformer(t),i=Ac(e),r=Ac(t);return i.indexes.var.length===r.indexes.var.length&&i.indexes.color.length===r.indexes.color.length&&i.indexes.number.length>=r.indexes.number.length?og.has(e)&&!r.values.length||og.has(t)&&!i.values.length?XV(e,t):Yc(w8(KV(i,r),r.values),n):l0(e,t)};function D8(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?Et(e,t,n):q2(e)(e,t)}const eB=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>St.update(t,n),stop:()=>mu(t),now:()=>gn.isProcessing?gn.timestamp:qn.now()}},N8=(e,t,n=10)=>{let i="";const r=Math.max(Math.round(t/n),2);for(let o=0;o<r;o++)i+=e(o/(r-1))+", ";return`linear(${i.substring(0,i.length-2)})`},c0=2e4;function G2(e){let t=0;const n=50;let i=e.next(t);for(;!i.done&&t<c0;)t+=n,i=e.next(t);return t>=c0?1/0:t}function tB(e,t=100,n){const i=n({...e,keyframes:[0,t]}),r=Math.min(G2(i),c0);return{type:"keyframes",ease:o=>i.next(r*o).value/t,duration:Tr(r)}}const nB=5;function O8(e,t,n){const i=Math.max(t-nB,0);return l8(n-e(i),t-i)}const Ot={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},I6=.001;function iB({duration:e=Ot.duration,bounce:t=Ot.bounce,velocity:n=Ot.velocity,mass:i=Ot.mass}){let r,o,a=1-t;a=hu(Ot.minDamping,Ot.maxDamping,a),e=hu(Ot.minDuration,Ot.maxDuration,Tr(e)),a<1?(r=h=>{const p=h*a,g=p*e,y=p-n,v=sg(h,a),E=Math.exp(-g);return I6-y/v*E},o=h=>{const g=h*a*e,y=g*n+n,v=Math.pow(a,2)*Math.pow(h,2)*e,E=Math.exp(-g),T=sg(Math.pow(h,2),a);return(-r(h)+I6>0?-1:1)*((y-v)*E)/T}):(r=h=>{const p=Math.exp(-h*e),g=(h-n)*e+1;return-.001+p*g},o=h=>{const p=Math.exp(-h*e),g=(n-h)*(e*e);return p*g});const c=5/e,f=uB(r,o,c);if(e=Er(e),isNaN(f))return{stiffness:Ot.stiffness,damping:Ot.damping,duration:e};{const h=Math.pow(f,2)*i;return{stiffness:h,damping:a*2*Math.sqrt(i*h),duration:e}}}const rB=12;function uB(e,t,n){let i=n;for(let r=1;r<rB;r++)i=i-e(i)/t(i);return i}function sg(e,t){return e*Math.sqrt(1-t*t)}const oB=["duration","bounce"],sB=["stiffness","damping","mass"];function F6(e,t){return t.some(n=>e[n]!==void 0)}function aB(e){let t={velocity:Ot.velocity,stiffness:Ot.stiffness,damping:Ot.damping,mass:Ot.mass,isResolvedFromDuration:!1,...e};if(!F6(e,sB)&&F6(e,oB))if(e.visualDuration){const n=e.visualDuration,i=2*Math.PI/(n*1.2),r=i*i,o=2*hu(.05,1,1-(e.bounce||0))*Math.sqrt(r);t={...t,mass:Ot.mass,stiffness:r,damping:o}}else{const n=iB(e);t={...t,...n,mass:Ot.mass},t.isResolvedFromDuration=!0}return t}function f0(e=Ot.visualDuration,t=Ot.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:i,restDelta:r}=n;const o=n.keyframes[0],a=n.keyframes[n.keyframes.length-1],c={done:!1,value:o},{stiffness:f,damping:h,mass:p,duration:g,velocity:y,isResolvedFromDuration:v}=aB({...n,velocity:-Tr(n.velocity||0)}),E=y||0,T=h/(2*Math.sqrt(f*p)),S=a-o,A=Tr(Math.sqrt(f/p)),D=Math.abs(S)<5;i||(i=D?Ot.restSpeed.granular:Ot.restSpeed.default),r||(r=D?Ot.restDelta.granular:Ot.restDelta.default);let C;if(T<1){const O=sg(A,T);C=k=>{const I=Math.exp(-T*A*k);return a-I*((E+T*A*S)/O*Math.sin(O*k)+S*Math.cos(O*k))}}else if(T===1)C=O=>a-Math.exp(-A*O)*(S+(E+A*S)*O);else{const O=A*Math.sqrt(T*T-1);C=k=>{const I=Math.exp(-T*A*k),P=Math.min(O*k,300);return a-I*((E+T*A*S)*Math.sinh(P)+O*S*Math.cosh(P))/O}}const N={calculatedDuration:v&&g||null,next:O=>{const k=C(O);if(v)c.done=O>=g;else{let I=O===0?E:0;T<1&&(I=O===0?Er(E):O8(C,O,k));const P=Math.abs(I)<=i,L=Math.abs(a-k)<=r;c.done=P&&L}return c.value=c.done?a:k,c},toString:()=>{const O=Math.min(G2(N),c0),k=N8(I=>N.next(O*I).value,O,30);return O+"ms "+k},toTransition:()=>{}};return N}f0.applyToOptions=e=>{const t=tB(e,100,f0);return e.ease=t.ease,e.duration=Er(t.duration),e.type="keyframes",e};function ag({keyframes:e,velocity:t=0,power:n=.8,timeConstant:i=325,bounceDamping:r=10,bounceStiffness:o=500,modifyTarget:a,min:c,max:f,restDelta:h=.5,restSpeed:p}){const g=e[0],y={done:!1,value:g},v=P=>c!==void 0&&P<c||f!==void 0&&P>f,E=P=>c===void 0?f:f===void 0||Math.abs(c-P)<Math.abs(f-P)?c:f;let T=n*t;const S=g+T,A=a===void 0?S:a(S);A!==S&&(T=A-g);const D=P=>-T*Math.exp(-P/i),C=P=>A+D(P),N=P=>{const L=D(P),B=C(P);y.done=Math.abs(L)<=h,y.value=y.done?A:B};let O,k;const I=P=>{v(y.value)&&(O=P,k=f0({keyframes:[y.value,E(y.value)],velocity:O8(C,P,y.value),damping:r,stiffness:o,restDelta:h,restSpeed:p}))};return I(0),{calculatedDuration:null,next:P=>{let L=!1;return!k&&O===void 0&&(L=!0,N(P),I(P)),O!==void 0&&P>=O?k.next(P-O):(!L&&N(P),y)}}}function lB(e,t,n){const i=[],r=n||pu.mix||D8,o=e.length-1;for(let a=0;a<o;a++){let c=r(e[a],e[a+1]);if(t){const f=Array.isArray(t)?t[a]||wi:t;c=Yc(f,c)}i.push(c)}return i}function R8(e,t,{clamp:n=!0,ease:i,mixer:r}={}){const o=e.length;if(F2(o===t.length),o===1)return()=>t[0];if(o===2&&t[0]===t[1])return()=>t[1];const a=e[0]===e[1];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());const c=lB(t,i,r),f=c.length,h=p=>{if(a&&p<e[0])return t[0];let g=0;if(f>1)for(;g<e.length-2&&!(p<e[g+1]);g++);const y=_c(e[g],e[g+1],p);return c[g](y)};return n?p=>h(hu(e[0],e[o-1],p)):h}function cB(e,t){const n=e[e.length-1];for(let i=1;i<=t;i++){const r=_c(0,t,i);e.push(Et(n,1,r))}}function fB(e){const t=[0];return cB(t,e.length-1),t}function dB(e,t){return e.map(n=>n*t)}function hB(e,t){return e.map(()=>t||y8).splice(0,e.length-1)}function Kl({duration:e=300,keyframes:t,times:n,ease:i="easeInOut"}){const r=CV(i)?i.map(O6):O6(i),o={done:!1,value:t[0]},a=dB(n&&n.length===t.length?n:fB(t),e),c=R8(a,t,{ease:Array.isArray(r)?r:hB(t,r)});return{calculatedDuration:e,next:f=>(o.value=c(f),o.done=f>=e,o)}}const pB=e=>e!==null;function Y2(e,{repeat:t,repeatType:n="loop"},i,r=1){const o=e.filter(pB),c=r<0||t&&n!=="loop"&&t%2===1?0:o.length-1;return!c||i===void 0?o[c]:i}const mB={decay:ag,inertia:ag,tween:Kl,keyframes:Kl,spring:f0};function M8(e){typeof e.type=="string"&&(e.type=mB[e.type])}class Q2{constructor(){this.count=0,this.updateFinished()}get finished(){return this._finished}updateFinished(){this.count++,this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,n){return this.finished.then(t,n)}}const gB=e=>e/100;class k8 extends Q2{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:n}=this.options;if(n&&n.updatedAt!==qn.now()&&this.tick(qn.now()),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:i}=this.options;i&&i()},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;M8(t);const{type:n=Kl,repeat:i=0,repeatDelay:r=0,repeatType:o,velocity:a=0}=t;let{keyframes:c}=t;const f=n||Kl;f!==Kl&&typeof c[0]!="number"&&(this.mixKeyframes=Yc(gB,D8(c[0],c[1])),c=[0,100]);const h=f({...t,keyframes:c});o==="mirror"&&(this.mirroredGenerator=f({...t,keyframes:[...c].reverse(),velocity:-a})),h.calculatedDuration===null&&(h.calculatedDuration=G2(h));const{calculatedDuration:p}=h;this.calculatedDuration=p,this.resolvedDuration=p+r,this.totalDuration=this.resolvedDuration*(i+1)-r,this.generator=h}updateTime(t){const n=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(t,n=!1){const{generator:i,totalDuration:r,mixKeyframes:o,mirroredGenerator:a,resolvedDuration:c,calculatedDuration:f}=this;if(this.startTime===null)return i.next(0);const{delay:h=0,keyframes:p,repeat:g,repeatType:y,repeatDelay:v,type:E,onUpdate:T,finalKeyframe:S}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-r/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const A=this.currentTime-h*(this.playbackSpeed>=0?1:-1),D=this.playbackSpeed>=0?A<0:A>r;this.currentTime=Math.max(A,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=r);let C=this.currentTime,N=i;if(g){const P=Math.min(this.currentTime,r)/c;let L=Math.floor(P),B=P%1;!B&&P>=1&&(B=1),B===1&&L--,L=Math.min(L,g+1),!!(L%2)&&(y==="reverse"?(B=1-B,v&&(B-=v/c)):y==="mirror"&&(N=a)),C=hu(0,1,B)*c}const O=D?{done:!1,value:p[0]}:N.next(C);o&&(O.value=o(O.value));let{done:k}=O;!D&&f!==null&&(k=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);const I=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&k);return I&&E!==ag&&(O.value=Y2(p,this.options,S,this.speed)),T&&T(O.value),I&&this.finish(),O}then(t,n){return this.finished.then(t,n)}get duration(){return Tr(this.calculatedDuration)}get time(){return Tr(this.currentTime)}set time(t){var n;t=Er(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),(n=this.driver)==null||n.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(qn.now());const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=Tr(this.currentTime))}play(){if(this.isStopped)return;const{driver:t=eB,onPlay:n,startTime:i}=this.options;this.driver||(this.driver=t(o=>this.tick(o))),n&&n();const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=i??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(qn.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:t}=this.options;t&&t()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown()}teardown(){this.notifyFinished(),this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){var n;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(n=this.driver)==null||n.stop(),t.observe(this)}}function vB(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const jo=e=>e*180/Math.PI,lg=e=>{const t=jo(Math.atan2(e[1],e[0]));return cg(t)},yB={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:lg,rotateZ:lg,skewX:e=>jo(Math.atan(e[1])),skewY:e=>jo(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},cg=e=>(e=e%360,e<0&&(e+=360),e),j6=lg,P6=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),V6=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),bB={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:P6,scaleY:V6,scale:e=>(P6(e)+V6(e))/2,rotateX:e=>cg(jo(Math.atan2(e[6],e[5]))),rotateY:e=>cg(jo(Math.atan2(-e[2],e[0]))),rotateZ:j6,rotate:j6,skewX:e=>jo(Math.atan(e[4])),skewY:e=>jo(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function B6(e){return e.includes("scale")?1:0}function fg(e,t){if(!e||e==="none")return B6(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let i,r;if(n)i=bB,r=n;else{const c=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=yB,r=c}if(!r)return B6(t);const o=i[t],a=r[1].split(",").map(EB);return typeof o=="function"?o(a):a[o]}const xB=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return fg(n,t)};function EB(e){return parseFloat(e.trim())}const ka=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],La=new Set(ka),$6=e=>e===Ma||e===we,TB=new Set(["x","y","z"]),SB=ka.filter(e=>!TB.has(e));function _B(e){const t=[];return SB.forEach(n=>{const i=e.getValue(n);i!==void 0&&(t.push([n,i.get()]),i.set(n.startsWith("scale")?1:0))}),t}const Uo={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>fg(t,"x"),y:(e,{transform:t})=>fg(t,"y")};Uo.translateX=Uo.x;Uo.translateY=Uo.y;const zo=new Set;let dg=!1,hg=!1,pg=!1;function L8(){if(hg){const e=Array.from(zo).filter(i=>i.needsMeasurement),t=new Set(e.map(i=>i.element)),n=new Map;t.forEach(i=>{const r=_B(i);r.length&&(n.set(i,r),i.render())}),e.forEach(i=>i.measureInitialState()),t.forEach(i=>{i.render();const r=n.get(i);r&&r.forEach(([o,a])=>{var c;(c=i.getValue(o))==null||c.set(a)})}),e.forEach(i=>i.measureEndState()),e.forEach(i=>{i.suspendedScrollY!==void 0&&window.scrollTo(0,i.suspendedScrollY)})}hg=!1,dg=!1,zo.forEach(e=>e.complete(pg)),zo.clear()}function I8(){zo.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(hg=!0)})}function CB(){pg=!0,I8(),L8(),pg=!1}class X2{constructor(t,n,i,r,o,a=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=i,this.motionValue=r,this.element=o,this.isAsync=a}scheduleResolve(){this.isScheduled=!0,this.isAsync?(zo.add(this),dg||(dg=!0,St.read(I8),St.resolveKeyframes(L8))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:i,motionValue:r}=this;if(t[0]===null){const o=r==null?void 0:r.get(),a=t[t.length-1];if(o!==void 0)t[0]=o;else if(i&&n){const c=i.readValue(n,a);c!=null&&(t[0]=c)}t[0]===void 0&&(t[0]=a),r&&o===void 0&&r.set(t[0])}vB(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),zo.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,zo.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const AB=e=>e.startsWith("--");function wB(e,t,n){AB(t)?e.style.setProperty(t,n):e.style[t]=n}const DB=j2(()=>window.ScrollTimeline!==void 0),NB={};function OB(e,t){const n=j2(e);return()=>NB[t]??n()}const F8=OB(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Gl=([e,t,n,i])=>`cubic-bezier(${e}, ${t}, ${n}, ${i})`,U6={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Gl([0,.65,.55,1]),circOut:Gl([.55,0,1,.45]),backIn:Gl([.31,.01,.66,-.59]),backOut:Gl([.33,1.53,.69,.99])};function j8(e,t){if(e)return typeof e=="function"?F8()?N8(e,t):"ease-out":b8(e)?Gl(e):Array.isArray(e)?e.map(n=>j8(n,t)||U6.easeOut):U6[e]}function RB(e,t,n,{delay:i=0,duration:r=300,repeat:o=0,repeatType:a="loop",ease:c="easeOut",times:f}={},h=void 0){const p={[t]:n};f&&(p.offset=f);const g=j8(c,r);Array.isArray(g)&&(p.easing=g);const y={delay:i,duration:r,easing:Array.isArray(g)?"linear":g,fill:"both",iterations:o+1,direction:a==="reverse"?"alternate":"normal"};return h&&(y.pseudoElement=h),e.animate(p,y)}function P8(e){return typeof e=="function"&&"applyToOptions"in e}function MB({type:e,...t}){return P8(e)&&F8()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class kB extends Q2{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;const{element:n,name:i,keyframes:r,pseudoElement:o,allowFlatten:a=!1,finalKeyframe:c,onComplete:f}=t;this.isPseudoElement=!!o,this.allowFlatten=a,this.options=t,F2(typeof t.type!="string");const h=MB(t);this.animation=RB(n,i,r,h,o),h.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!o){const p=Y2(r,this.options,c,this.speed);this.updateMotionValue?this.updateMotionValue(p):wB(n,i,p),this.animation.cancel()}f==null||f(),this.notifyFinished()},this.animation.oncancel=()=>this.notifyFinished()}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var t,n;(n=(t=this.animation).finish)==null||n.call(t)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var t,n;this.isPseudoElement||(n=(t=this.animation).commitStyles)==null||n.call(t)}get duration(){var n,i;const t=((i=(n=this.animation.effect)==null?void 0:n.getComputedTiming)==null?void 0:i.call(n).duration)||0;return Tr(Number(t))}get time(){return Tr(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=Er(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:n}){var i;return this.allowFlatten&&((i=this.animation.effect)==null||i.updateTiming({easing:"linear"})),this.animation.onfinish=null,t&&DB()?(this.animation.timeline=t,wi):n(this)}}const V8={anticipate:m8,backInOut:p8,circInOut:v8};function LB(e){return e in V8}function IB(e){typeof e.ease=="string"&&LB(e.ease)&&(e.ease=V8[e.ease])}const z6=10;class FB extends kB{constructor(t){IB(t),M8(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:i,onComplete:r,element:o,...a}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const c=new k8({...a,autoplay:!1}),f=Er(this.finishedTime??this.time);n.setWithVelocity(c.sample(f-z6).value,c.sample(f).value,z6),c.stop()}}const H6=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(oo.test(e)||e==="0")&&!e.startsWith("url("));function jB(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function PB(e,t,n,i){const r=e[0];if(r===null)return!1;if(t==="display"||t==="visibility")return!0;const o=e[e.length-1],a=H6(r,t),c=H6(o,t);return!a||!c?!1:jB(e)||(n==="spring"||P8(n))&&i}const VB=new Set(["opacity","clipPath","filter","transform"]),BB=j2(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function $B(e){const{motionValue:t,name:n,repeatDelay:i,repeatType:r,damping:o,type:a}=e;if(!t||!t.owner||!(t.owner.current instanceof HTMLElement))return!1;const{onUpdate:c,transformTemplate:f}=t.owner.getProps();return BB()&&n&&VB.has(n)&&(n!=="transform"||!f)&&!c&&!i&&r!=="mirror"&&o!==0&&a!=="inertia"}const UB=40;class zB extends Q2{constructor({autoplay:t=!0,delay:n=0,type:i="keyframes",repeat:r=0,repeatDelay:o=0,repeatType:a="loop",keyframes:c,name:f,motionValue:h,element:p,...g}){var E;super(),this.stop=()=>{var T,S;this._animation?(this._animation.stop(),(T=this.stopTimeline)==null||T.call(this)):(S=this.keyframeResolver)==null||S.cancel()},this.createdAt=qn.now();const y={autoplay:t,delay:n,type:i,repeat:r,repeatDelay:o,repeatType:a,name:f,motionValue:h,element:p,...g},v=(p==null?void 0:p.KeyframeResolver)||X2;this.keyframeResolver=new v(c,(T,S,A)=>this.onKeyframesResolved(T,S,y,!A),f,h,p),(E=this.keyframeResolver)==null||E.scheduleResolve()}onKeyframesResolved(t,n,i,r){this.keyframeResolver=void 0;const{name:o,type:a,velocity:c,delay:f,isHandoff:h,onUpdate:p}=i;this.resolvedAt=qn.now(),PB(t,o,a,c)||((pu.instantAnimations||!f)&&(p==null||p(Y2(t,i,n))),t[0]=t[t.length-1],i.duration=0,i.repeat=0);const y={startTime:r?this.resolvedAt?this.resolvedAt-this.createdAt>UB?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...i,keyframes:t},v=!h&&$B(y)?new FB({...y,element:y.motionValue.owner.current}):new k8(y);v.finished.then(()=>this.notifyFinished()).catch(wi),this.pendingTimeline&&(this.stopTimeline=v.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=v}get finished(){return this._animation?this.animation.finished:this._finished}then(t,n){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||CB(),this._animation}get duration(){return this.animation.duration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this.animation.cancel()}}const HB=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function qB(e){const t=HB.exec(e);if(!t)return[,];const[,n,i,r]=t;return[`--${n??i}`,r]}function B8(e,t,n=1){const[i,r]=qB(e);if(!i)return;const o=window.getComputedStyle(t).getPropertyValue(i);if(o){const a=o.trim();return s8(a)?parseFloat(a):a}return U2(r)?B8(r,t,n+1):r}function Z2(e,t){return(e==null?void 0:e[t])??(e==null?void 0:e.default)??e}const $8=new Set(["width","height","top","left","right","bottom",...ka]),GB={test:e=>e==="auto",parse:e=>e},U8=e=>t=>t.test(e),z8=[Ma,we,Sr,Wu,PV,jV,GB],q6=e=>z8.find(U8(e));function YB(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||a8(e):!0}const QB=new Set(["brightness","contrast","saturate","opacity"]);function XB(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[i]=n.match(z2)||[];if(!i)return e;const r=n.replace(i,"");let o=QB.has(t)?1:0;return i!==n&&(o*=100),t+"("+o+r+")"}const ZB=/\b([a-z-]*)\(.*?\)/gu,mg={...oo,getAnimatableNone:e=>{const t=e.match(ZB);return t?t.map(XB).join(" "):e}},G6={...Ma,transform:Math.round},WB={rotate:Wu,rotateX:Wu,rotateY:Wu,rotateZ:Wu,scale:Od,scaleX:Od,scaleY:Od,scaleZ:Od,skew:Wu,skewX:Wu,skewY:Wu,distance:we,translateX:we,translateY:we,translateZ:we,x:we,y:we,z:we,perspective:we,transformPerspective:we,opacity:Cc,originX:R6,originY:R6,originZ:we},W2={borderWidth:we,borderTopWidth:we,borderRightWidth:we,borderBottomWidth:we,borderLeftWidth:we,borderRadius:we,radius:we,borderTopLeftRadius:we,borderTopRightRadius:we,borderBottomRightRadius:we,borderBottomLeftRadius:we,width:we,maxWidth:we,height:we,maxHeight:we,top:we,right:we,bottom:we,left:we,padding:we,paddingTop:we,paddingRight:we,paddingBottom:we,paddingLeft:we,margin:we,marginTop:we,marginRight:we,marginBottom:we,marginLeft:we,backgroundPositionX:we,backgroundPositionY:we,...WB,zIndex:G6,fillOpacity:Cc,strokeOpacity:Cc,numOctaves:G6},KB={...W2,color:Sn,backgroundColor:Sn,outlineColor:Sn,fill:Sn,stroke:Sn,borderColor:Sn,borderTopColor:Sn,borderRightColor:Sn,borderBottomColor:Sn,borderLeftColor:Sn,filter:mg,WebkitFilter:mg},H8=e=>KB[e];function q8(e,t){let n=H8(e);return n!==mg&&(n=oo),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const JB=new Set(["auto","none","0"]);function e$(e,t,n){let i=0,r;for(;i<e.length&&!r;){const o=e[i];typeof o=="string"&&!JB.has(o)&&Ac(o).values.length&&(r=e[i]),i++}if(r&&n)for(const o of t)e[o]=q8(n,r)}class t$ extends X2{constructor(t,n,i,r,o){super(t,n,i,r,o,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:i}=this;if(!n||!n.current)return;super.readKeyframes();for(let f=0;f<t.length;f++){let h=t[f];if(typeof h=="string"&&(h=h.trim(),U2(h))){const p=B8(h,n.current);p!==void 0&&(t[f]=p),f===t.length-1&&(this.finalKeyframe=h)}}if(this.resolveNoneKeyframes(),!$8.has(i)||t.length!==2)return;const[r,o]=t,a=q6(r),c=q6(o);if(a!==c)if($6(a)&&$6(c))for(let f=0;f<t.length;f++){const h=t[f];typeof h=="string"&&(t[f]=parseFloat(h))}else Uo[i]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,i=[];for(let r=0;r<t.length;r++)(t[r]===null||YB(t[r]))&&i.push(r);i.length&&e$(t,i,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:i}=this;if(!t||!t.current)return;i==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Uo[i](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const r=n[n.length-1];r!==void 0&&t.getValue(i,r).jump(r,!1)}measureEndState(){var c;const{element:t,name:n,unresolvedKeyframes:i}=this;if(!t||!t.current)return;const r=t.getValue(n);r&&r.jump(this.measuredOrigin,!1);const o=i.length-1,a=i[o];i[o]=Uo[n](t.measureViewportBox(),window.getComputedStyle(t.current)),a!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=a),(c=this.removedTransforms)!=null&&c.length&&this.removedTransforms.forEach(([f,h])=>{t.getValue(f).set(h)}),this.resolveNoneKeyframes()}}function n$(e,t,n){if(e instanceof EventTarget)return[e];if(typeof e=="string"){let i=document;const r=(n==null?void 0:n[e])??i.querySelectorAll(e);return r?Array.from(r):[]}return Array.from(e)}const Y6=30,i$=e=>!isNaN(parseFloat(e)),Jl={current:void 0};class r${constructor(t,n={}){this.version="__VERSION__",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(i,r=!0)=>{var a,c;const o=qn.now();if(this.updatedAt!==o&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(i),this.current!==this.prev&&((a=this.events.change)==null||a.notify(this.current),this.dependents))for(const f of this.dependents)f.dirty();r&&((c=this.events.renderRequest)==null||c.notify(this.current))},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=qn.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=i$(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new P2);const i=this.events[t].add(n);return t==="change"?()=>{i(),St.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,n,i){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var t;(t=this.events.change)==null||t.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return Jl.current&&Jl.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const t=qn.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>Y6)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,Y6);return l8(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){var t,n;(t=this.dependents)==null||t.clear(),(n=this.events.destroy)==null||n.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Sa(e,t){return new r$(e,t)}const G8=(e,t)=>t&&typeof e=="number"?t.transform(e):e,{schedule:K2}=x8(queueMicrotask,!1),Ui={x:!1,y:!1};function Y8(){return Ui.x||Ui.y}function u$(e){return e==="x"||e==="y"?Ui[e]?null:(Ui[e]=!0,()=>{Ui[e]=!1}):Ui.x||Ui.y?null:(Ui.x=Ui.y=!0,()=>{Ui.x=Ui.y=!1})}function Q8(e,t){const n=n$(e),i=new AbortController,r={passive:!0,...t,signal:i.signal};return[n,r,()=>i.abort()]}function Q6(e){return!(e.pointerType==="touch"||Y8())}function o$(e,t,n={}){const[i,r,o]=Q8(e,n),a=c=>{if(!Q6(c))return;const{target:f}=c,h=t(f,c);if(typeof h!="function"||!f)return;const p=g=>{Q6(g)&&(h(g),f.removeEventListener("pointerleave",p))};f.addEventListener("pointerleave",p,r)};return i.forEach(c=>{c.addEventListener("pointerenter",a,r)}),o}const X8=(e,t)=>t?e===t?!0:X8(e,t.parentElement):!1,J2=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,s$=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function a$(e){return s$.has(e.tagName)||e.tabIndex!==-1}const Yl=new WeakSet;function X6(e){return t=>{t.key==="Enter"&&e(t)}}function X1(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const l$=(e,t)=>{const n=e.currentTarget;if(!n)return;const i=X6(()=>{if(Yl.has(n))return;X1(n,"down");const r=X6(()=>{X1(n,"up")}),o=()=>X1(n,"cancel");n.addEventListener("keyup",r,t),n.addEventListener("blur",o,t)});n.addEventListener("keydown",i,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",i),t)};function Z6(e){return J2(e)&&!Y8()}function c$(e,t,n={}){const[i,r,o]=Q8(e,n),a=c=>{const f=c.currentTarget;if(!Z6(c)||Yl.has(f))return;Yl.add(f);const h=t(f,c),p=(v,E)=>{window.removeEventListener("pointerup",g),window.removeEventListener("pointercancel",y),Yl.has(f)&&Yl.delete(f),Z6(v)&&typeof h=="function"&&h(v,{success:E})},g=v=>{p(v,f===window||f===document||n.useGlobalTarget||X8(f,v.target))},y=v=>{p(v,!1)};window.addEventListener("pointerup",g,r),window.addEventListener("pointercancel",y,r)};return i.forEach(c=>{(n.useGlobalTarget?window:c).addEventListener("pointerdown",a,r),c instanceof HTMLElement&&(c.addEventListener("focus",h=>l$(h,r)),!a$(c)&&!c.hasAttribute("tabindex")&&(c.tabIndex=0))}),o}function f$(...e){const t=!Array.isArray(e[0]),n=t?0:-1,i=e[0+n],r=e[1+n],o=e[2+n],a=e[3+n],c=R8(r,o,a);return t?c(i):c}const d$=[...z8,Sn,oo],h$=e=>d$.find(U8(e)),Z8=x.createContext({strict:!1}),W6={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},_a={};for(const e in W6)_a[e]={isEnabled:t=>W6[e].some(n=>!!t[n])};function p$(e){for(const t in e)_a[t]={..._a[t],...e[t]}}const m$=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function d0(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||m$.has(e)}let W8=e=>!d0(e);function g$(e){e&&(W8=t=>t.startsWith("on")?!d0(t):e(t))}try{g$(require("@emotion/is-prop-valid").default)}catch{}function v$(e,t,n){const i={};for(const r in e)r==="values"&&typeof e.values=="object"||(W8(r)||n===!0&&d0(r)||!t&&!d0(r)||e.draggable&&r.startsWith("onDrag"))&&(i[r]=e[r]);return i}function y$(e){if(typeof Proxy>"u")return e;const t=new Map,n=(...i)=>e(...i);return new Proxy(n,{get:(i,r)=>r==="create"?e:(t.has(r)||t.set(r,e(r)),t.get(r))})}const Q0=x.createContext({});function X0(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function wc(e){return typeof e=="string"||Array.isArray(e)}const ev=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],tv=["initial",...ev];function Z0(e){return X0(e.animate)||tv.some(t=>wc(e[t]))}function K8(e){return!!(Z0(e)||e.variants)}function b$(e,t){if(Z0(e)){const{initial:n,animate:i}=e;return{initial:n===!1||wc(n)?n:void 0,animate:wc(i)?i:void 0}}return e.inherit!==!1?t:{}}function x$(e){const{initial:t,animate:n}=b$(e,x.useContext(Q0));return x.useMemo(()=>({initial:t,animate:n}),[K6(t),K6(n)])}function K6(e){return Array.isArray(e)?e.join(" "):e}const E$=Symbol.for("motionComponentSymbol");function ra(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function T$(e,t,n){return x.useCallback(i=>{i&&e.onMount&&e.onMount(i),t&&(i?t.mount(i):t.unmount()),n&&(typeof n=="function"?n(i):ra(n)&&(n.current=i))},[t])}const nv=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),S$="framerAppearId",J8="data-"+nv(S$),eC=x.createContext({});function _$(e,t,n,i,r){var T,S;const{visualElement:o}=x.useContext(Q0),a=x.useContext(Z8),c=x.useContext(M2),f=x.useContext(k2).reducedMotion,h=x.useRef(null);i=i||a.renderer,!h.current&&i&&(h.current=i(e,{visualState:t,parent:o,props:n,presenceContext:c,blockInitialAnimation:c?c.initial===!1:!1,reducedMotionConfig:f}));const p=h.current,g=x.useContext(eC);p&&!p.projection&&r&&(p.type==="html"||p.type==="svg")&&C$(h.current,n,r,g);const y=x.useRef(!1);x.useInsertionEffect(()=>{p&&y.current&&p.update(n,c)});const v=n[J8],E=x.useRef(!!v&&!((T=window.MotionHandoffIsComplete)!=null&&T.call(window,v))&&((S=window.MotionHasOptimisedAnimation)==null?void 0:S.call(window,v)));return o8(()=>{p&&(y.current=!0,window.MotionIsMounted=!0,p.updateFeatures(),K2.render(p.render),E.current&&p.animationState&&p.animationState.animateChanges())}),x.useEffect(()=>{p&&(!E.current&&p.animationState&&p.animationState.animateChanges(),E.current&&(queueMicrotask(()=>{var A;(A=window.MotionHandoffMarkAsComplete)==null||A.call(window,v)}),E.current=!1))}),p}function C$(e,t,n,i){const{layoutId:r,layout:o,drag:a,dragConstraints:c,layoutScroll:f,layoutRoot:h,layoutCrossfade:p}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:tC(e.parent)),e.projection.setOptions({layoutId:r,layout:o,alwaysMeasureLayout:!!a||c&&ra(c),visualElement:e,animationType:typeof o=="string"?o:"both",initialPromotionConfig:i,crossfade:p,layoutScroll:f,layoutRoot:h})}function tC(e){if(e)return e.options.allowProjection!==!1?e.projection:tC(e.parent)}function A$({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:i,Component:r}){e&&p$(e);function o(c,f){let h;const p={...x.useContext(k2),...c,layoutId:w$(c)},{isStatic:g}=p,y=x$(c),v=i(c,g);if(!g&&R2){D$();const E=N$(p);h=E.MeasureLayout,y.visualElement=_$(r,v,p,t,E.ProjectionNode)}return _.jsxs(Q0.Provider,{value:y,children:[h&&y.visualElement?_.jsx(h,{visualElement:y.visualElement,...p}):null,n(r,c,T$(v,y.visualElement,f),v,g,y.visualElement)]})}o.displayName=`motion.${typeof r=="string"?r:`create(${r.displayName??r.name??""})`}`;const a=x.forwardRef(o);return a[E$]=r,a}function w$({layoutId:e}){const t=x.useContext(u8).id;return t&&e!==void 0?t+"-"+e:e}function D$(e,t){x.useContext(Z8).strict}function N$(e){const{drag:t,layout:n}=_a;if(!t&&!n)return{};const i={...t,...n};return{MeasureLayout:t!=null&&t.isEnabled(e)||n!=null&&n.isEnabled(e)?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}const Dc={};function O$(e){for(const t in e)Dc[t]=e[t],$2(t)&&(Dc[t].isCSSVariable=!0)}function nC(e,{layout:t,layoutId:n}){return La.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!Dc[e]||e==="opacity")}const vn=e=>!!(e&&e.getVelocity),R$={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},M$=ka.length;function k$(e,t,n){let i="",r=!0;for(let o=0;o<M$;o++){const a=ka[o],c=e[a];if(c===void 0)continue;let f=!0;if(typeof c=="number"?f=c===(a.startsWith("scale")?1:0):f=parseFloat(c)===0,!f||n){const h=G8(c,W2[a]);if(!f){r=!1;const p=R$[a]||a;i+=`${p}(${h}) `}n&&(t[a]=h)}}return i=i.trim(),n?i=n(t,r?"":i):r&&(i="none"),i}function iv(e,t,n){const{style:i,vars:r,transformOrigin:o}=e;let a=!1,c=!1;for(const f in t){const h=t[f];if(La.has(f)){a=!0;continue}else if($2(f)){r[f]=h;continue}else{const p=G8(h,W2[f]);f.startsWith("origin")?(c=!0,o[f]=p):i[f]=p}}if(t.transform||(a||n?i.transform=k$(t,e.transform,n):i.transform&&(i.transform="none")),c){const{originX:f="50%",originY:h="50%",originZ:p=0}=o;i.transformOrigin=`${f} ${h} ${p}`}}const rv=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function iC(e,t,n){for(const i in t)!vn(t[i])&&!nC(i,n)&&(e[i]=t[i])}function L$({transformTemplate:e},t){return x.useMemo(()=>{const n=rv();return iv(n,t,e),Object.assign({},n.vars,n.style)},[t])}function I$(e,t){const n=e.style||{},i={};return iC(i,n,e),Object.assign(i,L$(e,t)),i}function F$(e,t){const n={},i=I$(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=i,n}const j$=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function uv(e){return typeof e!="string"||e.includes("-")?!1:!!(j$.indexOf(e)>-1||/[A-Z]/u.test(e))}const P$={offset:"stroke-dashoffset",array:"stroke-dasharray"},V$={offset:"strokeDashoffset",array:"strokeDasharray"};function B$(e,t,n=1,i=0,r=!0){e.pathLength=1;const o=r?P$:V$;e[o.offset]=we.transform(-i);const a=we.transform(t),c=we.transform(n);e[o.array]=`${a} ${c}`}function rC(e,{attrX:t,attrY:n,attrScale:i,pathLength:r,pathSpacing:o=1,pathOffset:a=0,...c},f,h,p){if(iv(e,c,h),f){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:g,style:y}=e;g.transform&&(y.transform=g.transform,delete g.transform),(y.transform||g.transformOrigin)&&(y.transformOrigin=g.transformOrigin??"50% 50%",delete g.transformOrigin),y.transform&&(y.transformBox=(p==null?void 0:p.transformBox)??"fill-box",delete g.transformBox),t!==void 0&&(g.x=t),n!==void 0&&(g.y=n),i!==void 0&&(g.scale=i),r!==void 0&&B$(g,r,o,a,!1)}const uC=()=>({...rv(),attrs:{}}),oC=e=>typeof e=="string"&&e.toLowerCase()==="svg";function $$(e,t,n,i){const r=x.useMemo(()=>{const o=uC();return rC(o,t,oC(i),e.transformTemplate,e.style),{...o.attrs,style:{...o.style}}},[t]);if(e.style){const o={};iC(o,e.style,e),r.style={...o,...r.style}}return r}function U$(e=!1){return(n,i,r,{latestValues:o},a)=>{const f=(uv(n)?$$:F$)(i,o,a,n),h=v$(i,typeof n=="string",e),p=n!==x.Fragment?{...h,...f,ref:r}:{},{children:g}=i,y=x.useMemo(()=>vn(g)?g.get():g,[g]);return x.createElement(n,{...p,children:y})}}function J6(e){const t=[{},{}];return e==null||e.values.forEach((n,i)=>{t[0][i]=n.get(),t[1][i]=n.getVelocity()}),t}function ov(e,t,n,i){if(typeof t=="function"){const[r,o]=J6(i);t=t(n!==void 0?n:e.custom,r,o)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[r,o]=J6(i);t=t(n!==void 0?n:e.custom,r,o)}return t}function $d(e){return vn(e)?e.get():e}function z$({scrapeMotionValuesFromProps:e,createRenderState:t},n,i,r){return{latestValues:H$(n,i,r,e),renderState:t()}}const sC=e=>(t,n)=>{const i=x.useContext(Q0),r=x.useContext(M2),o=()=>z$(e,t,i,r);return n?o():Gc(o)};function H$(e,t,n,i){const r={},o=i(e,{});for(const y in o)r[y]=$d(o[y]);let{initial:a,animate:c}=e;const f=Z0(e),h=K8(e);t&&h&&!f&&e.inherit!==!1&&(a===void 0&&(a=t.initial),c===void 0&&(c=t.animate));let p=n?n.initial===!1:!1;p=p||a===!1;const g=p?c:a;if(g&&typeof g!="boolean"&&!X0(g)){const y=Array.isArray(g)?g:[g];for(let v=0;v<y.length;v++){const E=ov(e,y[v]);if(E){const{transitionEnd:T,transition:S,...A}=E;for(const D in A){let C=A[D];if(Array.isArray(C)){const N=p?C.length-1:0;C=C[N]}C!==null&&(r[D]=C)}for(const D in T)r[D]=T[D]}}}return r}function sv(e,t,n){var o;const{style:i}=e,r={};for(const a in i)(vn(i[a])||t.style&&vn(t.style[a])||nC(a,e)||((o=n==null?void 0:n.getValue(a))==null?void 0:o.liveStyle)!==void 0)&&(r[a]=i[a]);return r}const q$={useVisualState:sC({scrapeMotionValuesFromProps:sv,createRenderState:rv})};function aC(e,t,n){const i=sv(e,t,n);for(const r in e)if(vn(e[r])||vn(t[r])){const o=ka.indexOf(r)!==-1?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r;i[o]=e[r]}return i}const G$={useVisualState:sC({scrapeMotionValuesFromProps:aC,createRenderState:uC})};function Y$(e,t){return function(i,{forwardMotionProps:r}={forwardMotionProps:!1}){const a={...uv(i)?G$:q$,preloadedFeatures:e,useRender:U$(r),createVisualElement:t,Component:i};return A$(a)}}function Nc(e,t,n){const i=e.getProps();return ov(i,t,n!==void 0?n:i.custom,e)}const gg=e=>Array.isArray(e);function Q$(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Sa(n))}function X$(e){return gg(e)?e[e.length-1]||0:e}function Z$(e,t){const n=Nc(e,t);let{transitionEnd:i={},transition:r={},...o}=n||{};o={...o,...i};for(const a in o){const c=X$(o[a]);Q$(e,a,c)}}function W$(e){return!!(vn(e)&&e.add)}function vg(e,t){const n=e.getValue("willChange");if(W$(n))return n.add(t);if(!n&&pu.WillChange){const i=new pu.WillChange("auto");e.addValue("willChange",i),i.add(t)}}function lC(e){return e.props[J8]}const K$=e=>e!==null;function J$(e,{repeat:t,repeatType:n="loop"},i){const r=e.filter(K$),o=t&&n!=="loop"&&t%2===1?0:r.length-1;return r[o]}const eU={type:"spring",stiffness:500,damping:25,restSpeed:10},tU=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),nU={type:"keyframes",duration:.8},iU={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},rU=(e,{keyframes:t})=>t.length>2?nU:La.has(e)?e.startsWith("scale")?tU(t[1]):eU:iU;function uU({when:e,delay:t,delayChildren:n,staggerChildren:i,staggerDirection:r,repeat:o,repeatType:a,repeatDelay:c,from:f,elapsed:h,...p}){return!!Object.keys(p).length}const av=(e,t,n,i={},r,o)=>a=>{const c=Z2(i,e)||{},f=c.delay||i.delay||0;let{elapsed:h=0}=i;h=h-Er(f);const p={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...c,delay:-h,onUpdate:y=>{t.set(y),c.onUpdate&&c.onUpdate(y)},onComplete:()=>{a(),c.onComplete&&c.onComplete()},name:e,motionValue:t,element:o?void 0:r};uU(c)||Object.assign(p,rU(e,p)),p.duration&&(p.duration=Er(p.duration)),p.repeatDelay&&(p.repeatDelay=Er(p.repeatDelay)),p.from!==void 0&&(p.keyframes[0]=p.from);let g=!1;if((p.type===!1||p.duration===0&&!p.repeatDelay)&&(p.duration=0,p.delay===0&&(g=!0)),(pu.instantAnimations||pu.skipAnimations)&&(g=!0,p.duration=0,p.delay=0),p.allowFlatten=!c.type&&!c.ease,g&&!o&&t.get()!==void 0){const y=J$(p.keyframes,c);if(y!==void 0){St.update(()=>{p.onUpdate(y),p.onComplete()});return}}return new zB(p)};function oU({protectedKeys:e,needsAnimating:t},n){const i=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,i}function cC(e,t,{delay:n=0,transitionOverride:i,type:r}={}){let{transition:o=e.getDefaultTransition(),transitionEnd:a,...c}=t;i&&(o=i);const f=[],h=r&&e.animationState&&e.animationState.getState()[r];for(const p in c){const g=e.getValue(p,e.latestValues[p]??null),y=c[p];if(y===void 0||h&&oU(h,p))continue;const v={delay:n,...Z2(o||{},p)},E=g.get();if(E!==void 0&&!g.isAnimating&&!Array.isArray(y)&&y===E&&!v.velocity)continue;let T=!1;if(window.MotionHandoffAnimation){const A=lC(e);if(A){const D=window.MotionHandoffAnimation(A,p,St);D!==null&&(v.startTime=D,T=!0)}}vg(e,p),g.start(av(p,g,y,e.shouldReduceMotion&&$8.has(p)?{type:!1}:v,e,T));const S=g.animation;S&&f.push(S)}return a&&Promise.all(f).then(()=>{St.update(()=>{a&&Z$(e,a)})}),f}function yg(e,t,n={}){var f;const i=Nc(e,t,n.type==="exit"?(f=e.presenceContext)==null?void 0:f.custom:void 0);let{transition:r=e.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(r=n.transitionOverride);const o=i?()=>Promise.all(cC(e,i,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(h=0)=>{const{delayChildren:p=0,staggerChildren:g,staggerDirection:y}=r;return sU(e,t,p+h,g,y,n)}:()=>Promise.resolve(),{when:c}=r;if(c){const[h,p]=c==="beforeChildren"?[o,a]:[a,o];return h().then(()=>p())}else return Promise.all([o(),a(n.delay)])}function sU(e,t,n=0,i=0,r=1,o){const a=[],c=(e.variantChildren.size-1)*i,f=r===1?(h=0)=>h*i:(h=0)=>c-h*i;return Array.from(e.variantChildren).sort(aU).forEach((h,p)=>{h.notify("AnimationStart",t),a.push(yg(h,t,{...o,delay:n+f(p)}).then(()=>h.notify("AnimationComplete",t)))}),Promise.all(a)}function aU(e,t){return e.sortNodePosition(t)}function lU(e,t,n={}){e.notify("AnimationStart",t);let i;if(Array.isArray(t)){const r=t.map(o=>yg(e,o,n));i=Promise.all(r)}else if(typeof t=="string")i=yg(e,t,n);else{const r=typeof t=="function"?Nc(e,t,n.custom):t;i=Promise.all(cC(e,r,n))}return i.then(()=>{e.notify("AnimationComplete",t)})}function fC(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let i=0;i<n;i++)if(t[i]!==e[i])return!1;return!0}const cU=tv.length;function dC(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?dC(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<cU;n++){const i=tv[n],r=e.props[i];(wc(r)||r===!1)&&(t[i]=r)}return t}const fU=[...ev].reverse(),dU=ev.length;function hU(e){return t=>Promise.all(t.map(({animation:n,options:i})=>lU(e,n,i)))}function pU(e){let t=hU(e),n=e4(),i=!0;const r=f=>(h,p)=>{var y;const g=Nc(e,p,f==="exit"?(y=e.presenceContext)==null?void 0:y.custom:void 0);if(g){const{transition:v,transitionEnd:E,...T}=g;h={...h,...T,...E}}return h};function o(f){t=f(e)}function a(f){const{props:h}=e,p=dC(e.parent)||{},g=[],y=new Set;let v={},E=1/0;for(let S=0;S<dU;S++){const A=fU[S],D=n[A],C=h[A]!==void 0?h[A]:p[A],N=wc(C),O=A===f?D.isActive:null;O===!1&&(E=S);let k=C===p[A]&&C!==h[A]&&N;if(k&&i&&e.manuallyAnimateOnMount&&(k=!1),D.protectedKeys={...v},!D.isActive&&O===null||!C&&!D.prevProp||X0(C)||typeof C=="boolean")continue;const I=mU(D.prevProp,C);let P=I||A===f&&D.isActive&&!k&&N||S>E&&N,L=!1;const B=Array.isArray(C)?C:[C];let z=B.reduce(r(A),{});O===!1&&(z={});const{prevResolvedValues:te={}}=D,re={...te,...z},fe=H=>{P=!0,y.has(H)&&(L=!0,y.delete(H)),D.needsAnimating[H]=!0;const $=e.getValue(H);$&&($.liveStyle=!1)};for(const H in re){const $=z[H],V=te[H];if(v.hasOwnProperty(H))continue;let M=!1;gg($)&&gg(V)?M=!fC($,V):M=$!==V,M?$!=null?fe(H):y.add(H):$!==void 0&&y.has(H)?fe(H):D.protectedKeys[H]=!0}D.prevProp=C,D.prevResolvedValues=z,D.isActive&&(v={...v,...z}),i&&e.blockInitialAnimation&&(P=!1),P&&(!(k&&I)||L)&&g.push(...B.map(H=>({animation:H,options:{type:A}})))}if(y.size){const S={};if(typeof h.initial!="boolean"){const A=Nc(e,Array.isArray(h.initial)?h.initial[0]:h.initial);A&&A.transition&&(S.transition=A.transition)}y.forEach(A=>{const D=e.getBaseTarget(A),C=e.getValue(A);C&&(C.liveStyle=!0),S[A]=D??null}),g.push({animation:S})}let T=!!g.length;return i&&(h.initial===!1||h.initial===h.animate)&&!e.manuallyAnimateOnMount&&(T=!1),i=!1,T?t(g):Promise.resolve()}function c(f,h){var g;if(n[f].isActive===h)return Promise.resolve();(g=e.variantChildren)==null||g.forEach(y=>{var v;return(v=y.animationState)==null?void 0:v.setActive(f,h)}),n[f].isActive=h;const p=a(f);for(const y in n)n[y].protectedKeys={};return p}return{animateChanges:a,setActive:c,setAnimateFunction:o,getState:()=>n,reset:()=>{n=e4(),i=!0}}}function mU(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!fC(t,e):!1}function Oo(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function e4(){return{animate:Oo(!0),whileInView:Oo(),whileHover:Oo(),whileTap:Oo(),whileDrag:Oo(),whileFocus:Oo(),exit:Oo()}}class lo{constructor(t){this.isMounted=!1,this.node=t}update(){}}class gU extends lo{constructor(t){super(t),t.animationState||(t.animationState=pU(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();X0(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)==null||t.call(this)}}let vU=0;class yU extends lo{constructor(){super(...arguments),this.id=vU++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;const r=this.node.animationState.setActive("exit",!t);n&&!t&&r.then(()=>{n(this.id)})}mount(){const{register:t,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const bU={animation:{Feature:gU},exit:{Feature:yU}};function Oc(e,t,n,i={passive:!0}){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n)}function Zc(e){return{point:{x:e.pageX,y:e.pageY}}}const xU=e=>t=>J2(t)&&e(t,Zc(t));function ec(e,t,n,i){return Oc(e,t,xU(n),i)}function hC({top:e,left:t,right:n,bottom:i}){return{x:{min:t,max:n},y:{min:e,max:i}}}function EU({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function TU(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),i=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:i.y,right:i.x}}const pC=1e-4,SU=1-pC,_U=1+pC,mC=.01,CU=0-mC,AU=0+mC;function Mn(e){return e.max-e.min}function wU(e,t,n){return Math.abs(e-t)<=n}function t4(e,t,n,i=.5){e.origin=i,e.originPoint=Et(t.min,t.max,e.origin),e.scale=Mn(n)/Mn(t),e.translate=Et(n.min,n.max,e.origin)-e.originPoint,(e.scale>=SU&&e.scale<=_U||isNaN(e.scale))&&(e.scale=1),(e.translate>=CU&&e.translate<=AU||isNaN(e.translate))&&(e.translate=0)}function tc(e,t,n,i){t4(e.x,t.x,n.x,i?i.originX:void 0),t4(e.y,t.y,n.y,i?i.originY:void 0)}function n4(e,t,n){e.min=n.min+t.min,e.max=e.min+Mn(t)}function DU(e,t,n){n4(e.x,t.x,n.x),n4(e.y,t.y,n.y)}function i4(e,t,n){e.min=t.min-n.min,e.max=e.min+Mn(t)}function nc(e,t,n){i4(e.x,t.x,n.x),i4(e.y,t.y,n.y)}const r4=()=>({translate:0,scale:1,origin:0,originPoint:0}),ua=()=>({x:r4(),y:r4()}),u4=()=>({min:0,max:0}),jt=()=>({x:u4(),y:u4()});function Si(e){return[e("x"),e("y")]}function Z1(e){return e===void 0||e===1}function bg({scale:e,scaleX:t,scaleY:n}){return!Z1(e)||!Z1(t)||!Z1(n)}function Ro(e){return bg(e)||gC(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function gC(e){return o4(e.x)||o4(e.y)}function o4(e){return e&&e!=="0%"}function h0(e,t,n){const i=e-n,r=t*i;return n+r}function s4(e,t,n,i,r){return r!==void 0&&(e=h0(e,r,i)),h0(e,n,i)+t}function xg(e,t=0,n=1,i,r){e.min=s4(e.min,t,n,i,r),e.max=s4(e.max,t,n,i,r)}function vC(e,{x:t,y:n}){xg(e.x,t.translate,t.scale,t.originPoint),xg(e.y,n.translate,n.scale,n.originPoint)}const a4=.999999999999,l4=1.0000000000001;function NU(e,t,n,i=!1){const r=n.length;if(!r)return;t.x=t.y=1;let o,a;for(let c=0;c<r;c++){o=n[c],a=o.projectionDelta;const{visualElement:f}=o.options;f&&f.props.style&&f.props.style.display==="contents"||(i&&o.options.layoutScroll&&o.scroll&&o!==o.root&&sa(e,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),a&&(t.x*=a.x.scale,t.y*=a.y.scale,vC(e,a)),i&&Ro(o.latestValues)&&sa(e,o.latestValues))}t.x<l4&&t.x>a4&&(t.x=1),t.y<l4&&t.y>a4&&(t.y=1)}function oa(e,t){e.min=e.min+t,e.max=e.max+t}function c4(e,t,n,i,r=.5){const o=Et(e.min,e.max,r);xg(e,t,n,o,i)}function sa(e,t){c4(e.x,t.x,t.scaleX,t.scale,t.originX),c4(e.y,t.y,t.scaleY,t.scale,t.originY)}function yC(e,t){return hC(TU(e.getBoundingClientRect(),t))}function OU(e,t,n){const i=yC(e,n),{scroll:r}=t;return r&&(oa(i.x,r.offset.x),oa(i.y,r.offset.y)),i}const bC=({current:e})=>e?e.ownerDocument.defaultView:null,f4=(e,t)=>Math.abs(e-t);function RU(e,t){const n=f4(e.x,t.x),i=f4(e.y,t.y);return Math.sqrt(n**2+i**2)}class xC{constructor(t,n,{transformPagePoint:i,contextWindow:r,dragSnapToOrigin:o=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const g=K1(this.lastMoveEventInfo,this.history),y=this.startEvent!==null,v=RU(g.offset,{x:0,y:0})>=3;if(!y&&!v)return;const{point:E}=g,{timestamp:T}=gn;this.history.push({...E,timestamp:T});const{onStart:S,onMove:A}=this.handlers;y||(S&&S(this.lastMoveEvent,g),this.startEvent=this.lastMoveEvent),A&&A(this.lastMoveEvent,g)},this.handlePointerMove=(g,y)=>{this.lastMoveEvent=g,this.lastMoveEventInfo=W1(y,this.transformPagePoint),St.update(this.updatePoint,!0)},this.handlePointerUp=(g,y)=>{this.end();const{onEnd:v,onSessionEnd:E,resumeAnimation:T}=this.handlers;if(this.dragSnapToOrigin&&T&&T(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const S=K1(g.type==="pointercancel"?this.lastMoveEventInfo:W1(y,this.transformPagePoint),this.history);this.startEvent&&v&&v(g,S),E&&E(g,S)},!J2(t))return;this.dragSnapToOrigin=o,this.handlers=n,this.transformPagePoint=i,this.contextWindow=r||window;const a=Zc(t),c=W1(a,this.transformPagePoint),{point:f}=c,{timestamp:h}=gn;this.history=[{...f,timestamp:h}];const{onSessionStart:p}=n;p&&p(t,K1(c,this.history)),this.removeListeners=Yc(ec(this.contextWindow,"pointermove",this.handlePointerMove),ec(this.contextWindow,"pointerup",this.handlePointerUp),ec(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),mu(this.updatePoint)}}function W1(e,t){return t?{point:t(e.point)}:e}function d4(e,t){return{x:e.x-t.x,y:e.y-t.y}}function K1({point:e},t){return{point:e,delta:d4(e,EC(t)),offset:d4(e,MU(t)),velocity:kU(t,.1)}}function MU(e){return e[0]}function EC(e){return e[e.length-1]}function kU(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,i=null;const r=EC(e);for(;n>=0&&(i=e[n],!(r.timestamp-i.timestamp>Er(t)));)n--;if(!i)return{x:0,y:0};const o=Tr(r.timestamp-i.timestamp);if(o===0)return{x:0,y:0};const a={x:(r.x-i.x)/o,y:(r.y-i.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function LU(e,{min:t,max:n},i){return t!==void 0&&e<t?e=i?Et(t,e,i.min):Math.max(e,t):n!==void 0&&e>n&&(e=i?Et(n,e,i.max):Math.min(e,n)),e}function h4(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function IU(e,{top:t,left:n,bottom:i,right:r}){return{x:h4(e.x,n,r),y:h4(e.y,t,i)}}function p4(e,t){let n=t.min-e.min,i=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,i]=[i,n]),{min:n,max:i}}function FU(e,t){return{x:p4(e.x,t.x),y:p4(e.y,t.y)}}function jU(e,t){let n=.5;const i=Mn(e),r=Mn(t);return r>i?n=_c(t.min,t.max-i,e.min):i>r&&(n=_c(e.min,e.max-r,t.min)),hu(0,1,n)}function PU(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const Eg=.35;function VU(e=Eg){return e===!1?e=0:e===!0&&(e=Eg),{x:m4(e,"left","right"),y:m4(e,"top","bottom")}}function m4(e,t,n){return{min:g4(e,t),max:g4(e,n)}}function g4(e,t){return typeof e=="number"?e:e[t]||0}const BU=new WeakMap;class $U{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=jt(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:i}=this.visualElement;if(i&&i.isPresent===!1)return;const r=p=>{const{dragSnapToOrigin:g}=this.getProps();g?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(Zc(p).point)},o=(p,g)=>{const{drag:y,dragPropagation:v,onDragStart:E}=this.getProps();if(y&&!v&&(this.openDragLock&&this.openDragLock(),this.openDragLock=u$(y),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Si(S=>{let A=this.getAxisMotionValue(S).get()||0;if(Sr.test(A)){const{projection:D}=this.visualElement;if(D&&D.layout){const C=D.layout.layoutBox[S];C&&(A=Mn(C)*(parseFloat(A)/100))}}this.originPoint[S]=A}),E&&St.postRender(()=>E(p,g)),vg(this.visualElement,"transform");const{animationState:T}=this.visualElement;T&&T.setActive("whileDrag",!0)},a=(p,g)=>{const{dragPropagation:y,dragDirectionLock:v,onDirectionLock:E,onDrag:T}=this.getProps();if(!y&&!this.openDragLock)return;const{offset:S}=g;if(v&&this.currentDirection===null){this.currentDirection=UU(S),this.currentDirection!==null&&E&&E(this.currentDirection);return}this.updateAxis("x",g.point,S),this.updateAxis("y",g.point,S),this.visualElement.render(),T&&T(p,g)},c=(p,g)=>this.stop(p,g),f=()=>Si(p=>{var g;return this.getAnimationState(p)==="paused"&&((g=this.getAxisMotionValue(p).animation)==null?void 0:g.play())}),{dragSnapToOrigin:h}=this.getProps();this.panSession=new xC(t,{onSessionStart:r,onStart:o,onMove:a,onSessionEnd:c,resumeAnimation:f},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:h,contextWindow:bC(this.visualElement)})}stop(t,n){const i=this.isDragging;if(this.cancel(),!i)return;const{velocity:r}=n;this.startAnimation(r);const{onDragEnd:o}=this.getProps();o&&St.postRender(()=>o(t,n))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,i){const{drag:r}=this.getProps();if(!i||!Rd(t,r,this.currentDirection))return;const o=this.getAxisMotionValue(t);let a=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(a=LU(a,this.constraints[t],this.elastic[t])),o.set(a)}resolveConstraints(){var o;const{dragConstraints:t,dragElastic:n}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(o=this.visualElement.projection)==null?void 0:o.layout,r=this.constraints;t&&ra(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=IU(i.layoutBox,t):this.constraints=!1,this.elastic=VU(n),r!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&Si(a=>{this.constraints!==!1&&this.getAxisMotionValue(a)&&(this.constraints[a]=PU(i.layoutBox[a],this.constraints[a]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!ra(t))return!1;const i=t.current,{projection:r}=this.visualElement;if(!r||!r.layout)return!1;const o=OU(i,r.root,this.visualElement.getTransformPagePoint());let a=FU(r.layout.layoutBox,o);if(n){const c=n(EU(a));this.hasMutatedConstraints=!!c,c&&(a=hC(c))}return a}startAnimation(t){const{drag:n,dragMomentum:i,dragElastic:r,dragTransition:o,dragSnapToOrigin:a,onDragTransitionEnd:c}=this.getProps(),f=this.constraints||{},h=Si(p=>{if(!Rd(p,n,this.currentDirection))return;let g=f&&f[p]||{};a&&(g={min:0,max:0});const y=r?200:1e6,v=r?40:1e7,E={type:"inertia",velocity:i?t[p]:0,bounceStiffness:y,bounceDamping:v,timeConstant:750,restDelta:1,restSpeed:10,...o,...g};return this.startAxisValueAnimation(p,E)});return Promise.all(h).then(c)}startAxisValueAnimation(t,n){const i=this.getAxisMotionValue(t);return vg(this.visualElement,t),i.start(av(t,i,0,n,this.visualElement,!1))}stopAnimation(){Si(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Si(t=>{var n;return(n=this.getAxisMotionValue(t).animation)==null?void 0:n.pause()})}getAnimationState(t){var n;return(n=this.getAxisMotionValue(t).animation)==null?void 0:n.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,i=this.visualElement.getProps(),r=i[n];return r||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){Si(n=>{const{drag:i}=this.getProps();if(!Rd(n,i,this.currentDirection))return;const{projection:r}=this.visualElement,o=this.getAxisMotionValue(n);if(r&&r.layout){const{min:a,max:c}=r.layout.layoutBox[n];o.set(t[n]-Et(a,c,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:i}=this.visualElement;if(!ra(n)||!i||!this.constraints)return;this.stopAnimation();const r={x:0,y:0};Si(a=>{const c=this.getAxisMotionValue(a);if(c&&this.constraints!==!1){const f=c.get();r[a]=jU({min:f,max:f},this.constraints[a])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),Si(a=>{if(!Rd(a,t,null))return;const c=this.getAxisMotionValue(a),{min:f,max:h}=this.constraints[a];c.set(Et(f,h,r[a]))})}addListeners(){if(!this.visualElement.current)return;BU.set(this.visualElement,this);const t=this.visualElement.current,n=ec(t,"pointerdown",f=>{const{drag:h,dragListener:p=!0}=this.getProps();h&&p&&this.start(f)}),i=()=>{const{dragConstraints:f}=this.getProps();ra(f)&&f.current&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,o=r.addEventListener("measure",i);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),St.read(i);const a=Oc(window,"resize",()=>this.scalePositionWithinConstraints()),c=r.addEventListener("didUpdate",({delta:f,hasLayoutChanged:h})=>{this.isDragging&&h&&(Si(p=>{const g=this.getAxisMotionValue(p);g&&(this.originPoint[p]+=f[p].translate,g.set(g.get()+f[p].translate))}),this.visualElement.render())});return()=>{a(),n(),o(),c&&c()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:i=!1,dragPropagation:r=!1,dragConstraints:o=!1,dragElastic:a=Eg,dragMomentum:c=!0}=t;return{...t,drag:n,dragDirectionLock:i,dragPropagation:r,dragConstraints:o,dragElastic:a,dragMomentum:c}}}function Rd(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function UU(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class zU extends lo{constructor(t){super(t),this.removeGroupControls=wi,this.removeListeners=wi,this.controls=new $U(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||wi}unmount(){this.removeGroupControls(),this.removeListeners()}}const v4=e=>(t,n)=>{e&&St.postRender(()=>e(t,n))};class HU extends lo{constructor(){super(...arguments),this.removePointerDownListener=wi}onPointerDown(t){this.session=new xC(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:bC(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:i,onPanEnd:r}=this.node.getProps();return{onSessionStart:v4(t),onStart:v4(n),onMove:i,onEnd:(o,a)=>{delete this.session,r&&St.postRender(()=>r(o,a))}}}mount(){this.removePointerDownListener=ec(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const Ud={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function y4(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Bl={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(we.test(e))e=parseFloat(e);else return e;const n=y4(e,t.target.x),i=y4(e,t.target.y);return`${n}% ${i}%`}},qU={correct:(e,{treeScale:t,projectionDelta:n})=>{const i=e,r=oo.parse(e);if(r.length>5)return i;const o=oo.createTransformer(e),a=typeof r[0]!="number"?1:0,c=n.x.scale*t.x,f=n.y.scale*t.y;r[0+a]/=c,r[1+a]/=f;const h=Et(c,f,.5);return typeof r[2+a]=="number"&&(r[2+a]/=h),typeof r[3+a]=="number"&&(r[3+a]/=h),o(r)}};class GU extends x.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:i,layoutId:r}=this.props,{projection:o}=t;O$(YU),o&&(n.group&&n.group.add(o),i&&i.register&&r&&i.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),Ud.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:i,drag:r,isPresent:o}=this.props,{projection:a}=i;return a&&(a.isPresent=o,r||t.layoutDependency!==n||n===void 0||t.isPresent!==o?a.willUpdate():this.safeToRemove(),t.isPresent!==o&&(o?a.promote():a.relegate()||St.postRender(()=>{const c=a.getStack();(!c||!c.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),K2.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:i}=this.props,{projection:r}=t;r&&(r.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(r),i&&i.deregister&&i.deregister(r))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function TC(e){const[t,n]=vV(),i=x.useContext(u8);return _.jsx(GU,{...e,layoutGroup:i,switchLayoutGroup:x.useContext(eC),isPresent:t,safeToRemove:n})}const YU={borderRadius:{...Bl,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Bl,borderTopRightRadius:Bl,borderBottomLeftRadius:Bl,borderBottomRightRadius:Bl,boxShadow:qU};function QU(e,t,n){const i=vn(e)?e:Sa(e);return i.start(av("",i,t,n)),i.animation}function XU(e){return e instanceof SVGElement&&e.tagName!=="svg"}const ZU=(e,t)=>e.depth-t.depth;class WU{constructor(){this.children=[],this.isDirty=!1}add(t){L2(this.children,t),this.isDirty=!0}remove(t){I2(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(ZU),this.isDirty=!1,this.children.forEach(t)}}function KU(e,t){const n=qn.now(),i=({timestamp:r})=>{const o=r-n;o>=t&&(mu(i),e(o-t))};return St.setup(i,!0),()=>mu(i)}const SC=["TopLeft","TopRight","BottomLeft","BottomRight"],JU=SC.length,b4=e=>typeof e=="string"?parseFloat(e):e,x4=e=>typeof e=="number"||we.test(e);function ez(e,t,n,i,r,o){r?(e.opacity=Et(0,n.opacity??1,tz(i)),e.opacityExit=Et(t.opacity??1,0,nz(i))):o&&(e.opacity=Et(t.opacity??1,n.opacity??1,i));for(let a=0;a<JU;a++){const c=`border${SC[a]}Radius`;let f=E4(t,c),h=E4(n,c);if(f===void 0&&h===void 0)continue;f||(f=0),h||(h=0),f===0||h===0||x4(f)===x4(h)?(e[c]=Math.max(Et(b4(f),b4(h),i),0),(Sr.test(h)||Sr.test(f))&&(e[c]+="%")):e[c]=h}(t.rotate||n.rotate)&&(e.rotate=Et(t.rotate||0,n.rotate||0,i))}function E4(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const tz=_C(0,.5,g8),nz=_C(.5,.95,wi);function _C(e,t,n){return i=>i<e?0:i>t?1:n(_c(e,t,i))}function T4(e,t){e.min=t.min,e.max=t.max}function Ti(e,t){T4(e.x,t.x),T4(e.y,t.y)}function S4(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function _4(e,t,n,i,r){return e-=t,e=h0(e,1/n,i),r!==void 0&&(e=h0(e,1/r,i)),e}function iz(e,t=0,n=1,i=.5,r,o=e,a=e){if(Sr.test(t)&&(t=parseFloat(t),t=Et(a.min,a.max,t/100)-a.min),typeof t!="number")return;let c=Et(o.min,o.max,i);e===o&&(c-=t),e.min=_4(e.min,t,n,c,r),e.max=_4(e.max,t,n,c,r)}function C4(e,t,[n,i,r],o,a){iz(e,t[n],t[i],t[r],t.scale,o,a)}const rz=["x","scaleX","originX"],uz=["y","scaleY","originY"];function A4(e,t,n,i){C4(e.x,t,rz,n?n.x:void 0,i?i.x:void 0),C4(e.y,t,uz,n?n.y:void 0,i?i.y:void 0)}function w4(e){return e.translate===0&&e.scale===1}function CC(e){return w4(e.x)&&w4(e.y)}function D4(e,t){return e.min===t.min&&e.max===t.max}function oz(e,t){return D4(e.x,t.x)&&D4(e.y,t.y)}function N4(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function AC(e,t){return N4(e.x,t.x)&&N4(e.y,t.y)}function O4(e){return Mn(e.x)/Mn(e.y)}function R4(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class sz{constructor(){this.members=[]}add(t){L2(this.members,t),t.scheduleRender()}remove(t){if(I2(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(r=>t===r);if(n===0)return!1;let i;for(let r=n;r>=0;r--){const o=this.members[r];if(o.isPresent!==!1){i=o;break}}return i?(this.promote(i),!0):!1}promote(t,n){const i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,n&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:r}=t.options;r===!1&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:i}=t;n.onExitComplete&&n.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function az(e,t,n){let i="";const r=e.x.translate/t.x,o=e.y.translate/t.y,a=(n==null?void 0:n.z)||0;if((r||o||a)&&(i=`translate3d(${r}px, ${o}px, ${a}px) `),(t.x!==1||t.y!==1)&&(i+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:h,rotate:p,rotateX:g,rotateY:y,skewX:v,skewY:E}=n;h&&(i=`perspective(${h}px) ${i}`),p&&(i+=`rotate(${p}deg) `),g&&(i+=`rotateX(${g}deg) `),y&&(i+=`rotateY(${y}deg) `),v&&(i+=`skewX(${v}deg) `),E&&(i+=`skewY(${E}deg) `)}const c=e.x.scale*t.x,f=e.y.scale*t.y;return(c!==1||f!==1)&&(i+=`scale(${c}, ${f})`),i||"none"}const J1=["","X","Y","Z"],lz={visibility:"hidden"},M4=1e3;let cz=0;function em(e,t,n,i){const{latestValues:r}=t;r[e]&&(n[e]=r[e],t.setStaticValue(e,0),i&&(i[e]=0))}function wC(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=lC(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:r,layoutId:o}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",St,!(r||o))}const{parent:i}=e;i&&!i.hasCheckedOptimisedAppear&&wC(i)}function DC({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:i,resetTransform:r}){return class{constructor(a={},c=t==null?void 0:t()){this.id=cz++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(hz),this.nodes.forEach(yz),this.nodes.forEach(bz),this.nodes.forEach(pz)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=a,this.root=c?c.root||c:this,this.path=c?[...c.path,c]:[],this.parent=c,this.depth=c?c.depth+1:0;for(let f=0;f<this.path.length;f++)this.path[f].shouldResetTransform=!0;this.root===this&&(this.nodes=new WU)}addEventListener(a,c){return this.eventHandlers.has(a)||this.eventHandlers.set(a,new P2),this.eventHandlers.get(a).add(c)}notifyListeners(a,...c){const f=this.eventHandlers.get(a);f&&f.notify(...c)}hasListeners(a){return this.eventHandlers.has(a)}mount(a){if(this.instance)return;this.isSVG=XU(a),this.instance=a;const{layoutId:c,layout:f,visualElement:h}=this.options;if(h&&!h.current&&h.mount(a),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(f||c)&&(this.isLayoutDirty=!0),e){let p;const g=()=>this.root.updateBlockedByResize=!1;e(a,()=>{this.root.updateBlockedByResize=!0,p&&p(),p=KU(g,250),Ud.hasAnimatedSinceResize&&(Ud.hasAnimatedSinceResize=!1,this.nodes.forEach(L4))})}c&&this.root.registerSharedNode(c,this),this.options.animate!==!1&&h&&(c||f)&&this.addEventListener("didUpdate",({delta:p,hasLayoutChanged:g,hasRelativeLayoutChanged:y,layout:v})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const E=this.options.transition||h.getDefaultTransition()||_z,{onLayoutAnimationStart:T,onLayoutAnimationComplete:S}=h.getProps(),A=!this.targetLayout||!AC(this.targetLayout,v),D=!g&&y;if(this.options.layoutRoot||this.resumeFrom||D||g&&(A||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(p,D);const C={...Z2(E,"layout"),onPlay:T,onComplete:S};(h.shouldReduceMotion||this.options.layoutRoot)&&(C.delay=0,C.type=!1),this.startAnimation(C)}else g||L4(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=v})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const a=this.getStack();a&&a.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),mu(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(xz),this.animationId++)}getTransformTemplate(){const{visualElement:a}=this.options;return a&&a.getProps().transformTemplate}willUpdate(a=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&wC(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let p=0;p<this.path.length;p++){const g=this.path[p];g.shouldResetTransform=!0,g.updateScroll("snapshot"),g.options.layoutRoot&&g.willUpdate(!1)}const{layoutId:c,layout:f}=this.options;if(c===void 0&&!f)return;const h=this.getTransformTemplate();this.prevTransformTemplateValue=h?h(this.latestValues,""):void 0,this.updateSnapshot(),a&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(k4);return}this.isUpdating||this.nodes.forEach(gz),this.isUpdating=!1,this.nodes.forEach(vz),this.nodes.forEach(fz),this.nodes.forEach(dz),this.clearAllSnapshots();const c=qn.now();gn.delta=hu(0,1e3/60,c-gn.timestamp),gn.timestamp=c,gn.isProcessing=!0,q1.update.process(gn),q1.preRender.process(gn),q1.render.process(gn),gn.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,K2.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(mz),this.sharedNodes.forEach(Ez)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,St.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){St.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Mn(this.snapshot.measuredBox.x)&&!Mn(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let f=0;f<this.path.length;f++)this.path[f].updateScroll();const a=this.layout;this.layout=this.measure(!1),this.layoutCorrected=jt(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:c}=this.options;c&&c.notify("LayoutMeasure",this.layout.layoutBox,a?a.layoutBox:void 0)}updateScroll(a="measure"){let c=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===a&&(c=!1),c&&this.instance){const f=i(this.instance);this.scroll={animationId:this.root.animationId,phase:a,isRoot:f,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:f}}}resetTransform(){if(!r)return;const a=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,c=this.projectionDelta&&!CC(this.projectionDelta),f=this.getTransformTemplate(),h=f?f(this.latestValues,""):void 0,p=h!==this.prevTransformTemplateValue;a&&this.instance&&(c||Ro(this.latestValues)||p)&&(r(this.instance,h),this.shouldResetTransform=!1,this.scheduleRender())}measure(a=!0){const c=this.measurePageBox();let f=this.removeElementScroll(c);return a&&(f=this.removeTransform(f)),Cz(f),{animationId:this.root.animationId,measuredBox:c,layoutBox:f,latestValues:{},source:this.id}}measurePageBox(){var h;const{visualElement:a}=this.options;if(!a)return jt();const c=a.measureViewportBox();if(!(((h=this.scroll)==null?void 0:h.wasRoot)||this.path.some(Az))){const{scroll:p}=this.root;p&&(oa(c.x,p.offset.x),oa(c.y,p.offset.y))}return c}removeElementScroll(a){var f;const c=jt();if(Ti(c,a),(f=this.scroll)!=null&&f.wasRoot)return c;for(let h=0;h<this.path.length;h++){const p=this.path[h],{scroll:g,options:y}=p;p!==this.root&&g&&y.layoutScroll&&(g.wasRoot&&Ti(c,a),oa(c.x,g.offset.x),oa(c.y,g.offset.y))}return c}applyTransform(a,c=!1){const f=jt();Ti(f,a);for(let h=0;h<this.path.length;h++){const p=this.path[h];!c&&p.options.layoutScroll&&p.scroll&&p!==p.root&&sa(f,{x:-p.scroll.offset.x,y:-p.scroll.offset.y}),Ro(p.latestValues)&&sa(f,p.latestValues)}return Ro(this.latestValues)&&sa(f,this.latestValues),f}removeTransform(a){const c=jt();Ti(c,a);for(let f=0;f<this.path.length;f++){const h=this.path[f];if(!h.instance||!Ro(h.latestValues))continue;bg(h.latestValues)&&h.updateSnapshot();const p=jt(),g=h.measurePageBox();Ti(p,g),A4(c,h.latestValues,h.snapshot?h.snapshot.layoutBox:void 0,p)}return Ro(this.latestValues)&&A4(c,this.latestValues),c}setTargetDelta(a){this.targetDelta=a,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(a){this.options={...this.options,...a,crossfade:a.crossfade!==void 0?a.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==gn.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(a=!1){var y;const c=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=c.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=c.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=c.isSharedProjectionDirty);const f=!!this.resumingFrom||this!==c;if(!(a||f&&this.isSharedProjectionDirty||this.isProjectionDirty||(y=this.parent)!=null&&y.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:p,layoutId:g}=this.options;if(!(!this.layout||!(p||g))){if(this.resolvedRelativeTargetAt=gn.timestamp,!this.targetDelta&&!this.relativeTarget){const v=this.getClosestProjectingParent();v&&v.layout&&this.animationProgress!==1?(this.relativeParent=v,this.forceRelativeParentToResolveTarget(),this.relativeTarget=jt(),this.relativeTargetOrigin=jt(),nc(this.relativeTargetOrigin,this.layout.layoutBox,v.layout.layoutBox),Ti(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=jt(),this.targetWithTransforms=jt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),DU(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Ti(this.target,this.layout.layoutBox),vC(this.target,this.targetDelta)):Ti(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget)){this.attemptToResolveRelativeTarget=!1;const v=this.getClosestProjectingParent();v&&!!v.resumingFrom==!!this.resumingFrom&&!v.options.layoutScroll&&v.target&&this.animationProgress!==1?(this.relativeParent=v,this.forceRelativeParentToResolveTarget(),this.relativeTarget=jt(),this.relativeTargetOrigin=jt(),nc(this.relativeTargetOrigin,this.target,v.target),Ti(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||bg(this.parent.latestValues)||gC(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var E;const a=this.getLead(),c=!!this.resumingFrom||this!==a;let f=!0;if((this.isProjectionDirty||(E=this.parent)!=null&&E.isProjectionDirty)&&(f=!1),c&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(f=!1),this.resolvedRelativeTargetAt===gn.timestamp&&(f=!1),f)return;const{layout:h,layoutId:p}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(h||p))return;Ti(this.layoutCorrected,this.layout.layoutBox);const g=this.treeScale.x,y=this.treeScale.y;NU(this.layoutCorrected,this.treeScale,this.path,c),a.layout&&!a.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(a.target=a.layout.layoutBox,a.targetWithTransforms=jt());const{target:v}=a;if(!v){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(S4(this.prevProjectionDelta.x,this.projectionDelta.x),S4(this.prevProjectionDelta.y,this.projectionDelta.y)),tc(this.projectionDelta,this.layoutCorrected,v,this.latestValues),(this.treeScale.x!==g||this.treeScale.y!==y||!R4(this.projectionDelta.x,this.prevProjectionDelta.x)||!R4(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",v))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(a=!0){var c;if((c=this.options.visualElement)==null||c.scheduleRender(),a){const f=this.getStack();f&&f.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=ua(),this.projectionDelta=ua(),this.projectionDeltaWithTransform=ua()}setAnimationOrigin(a,c=!1){const f=this.snapshot,h=f?f.latestValues:{},p={...this.latestValues},g=ua();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!c;const y=jt(),v=f?f.source:void 0,E=this.layout?this.layout.source:void 0,T=v!==E,S=this.getStack(),A=!S||S.members.length<=1,D=!!(T&&!A&&this.options.crossfade===!0&&!this.path.some(Sz));this.animationProgress=0;let C;this.mixTargetDelta=N=>{const O=N/1e3;I4(g.x,a.x,O),I4(g.y,a.y,O),this.setTargetDelta(g),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(nc(y,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Tz(this.relativeTarget,this.relativeTargetOrigin,y,O),C&&oz(this.relativeTarget,C)&&(this.isProjectionDirty=!1),C||(C=jt()),Ti(C,this.relativeTarget)),T&&(this.animationValues=p,ez(p,h,this.latestValues,O,D,A)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=O},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(a){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(mu(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=St.update(()=>{Ud.hasAnimatedSinceResize=!0,this.currentAnimation=QU(0,M4,{...a,onUpdate:c=>{this.mixTargetDelta(c),a.onUpdate&&a.onUpdate(c)},onStop:()=>{},onComplete:()=>{a.onComplete&&a.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const a=this.getStack();a&&a.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(M4),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const a=this.getLead();let{targetWithTransforms:c,target:f,layout:h,latestValues:p}=a;if(!(!c||!f||!h)){if(this!==a&&this.layout&&h&&NC(this.options.animationType,this.layout.layoutBox,h.layoutBox)){f=this.target||jt();const g=Mn(this.layout.layoutBox.x);f.x.min=a.target.x.min,f.x.max=f.x.min+g;const y=Mn(this.layout.layoutBox.y);f.y.min=a.target.y.min,f.y.max=f.y.min+y}Ti(c,f),sa(c,p),tc(this.projectionDeltaWithTransform,this.layoutCorrected,c,p)}}registerSharedNode(a,c){this.sharedNodes.has(a)||this.sharedNodes.set(a,new sz),this.sharedNodes.get(a).add(c);const h=c.options.initialPromotionConfig;c.promote({transition:h?h.transition:void 0,preserveFollowOpacity:h&&h.shouldPreserveFollowOpacity?h.shouldPreserveFollowOpacity(c):void 0})}isLead(){const a=this.getStack();return a?a.lead===this:!0}getLead(){var c;const{layoutId:a}=this.options;return a?((c=this.getStack())==null?void 0:c.lead)||this:this}getPrevLead(){var c;const{layoutId:a}=this.options;return a?(c=this.getStack())==null?void 0:c.prevLead:void 0}getStack(){const{layoutId:a}=this.options;if(a)return this.root.sharedNodes.get(a)}promote({needsReset:a,transition:c,preserveFollowOpacity:f}={}){const h=this.getStack();h&&h.promote(this,f),a&&(this.projectionDelta=void 0,this.needsReset=!0),c&&this.setOptions({transition:c})}relegate(){const a=this.getStack();return a?a.relegate(this):!1}resetSkewAndRotation(){const{visualElement:a}=this.options;if(!a)return;let c=!1;const{latestValues:f}=a;if((f.z||f.rotate||f.rotateX||f.rotateY||f.rotateZ||f.skewX||f.skewY)&&(c=!0),!c)return;const h={};f.z&&em("z",a,h,this.animationValues);for(let p=0;p<J1.length;p++)em(`rotate${J1[p]}`,a,h,this.animationValues),em(`skew${J1[p]}`,a,h,this.animationValues);a.render();for(const p in h)a.setStaticValue(p,h[p]),this.animationValues&&(this.animationValues[p]=h[p]);a.scheduleRender()}getProjectionStyles(a){if(!this.instance||this.isSVG)return;if(!this.isVisible)return lz;const c={visibility:""},f=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,c.opacity="",c.pointerEvents=$d(a==null?void 0:a.pointerEvents)||"",c.transform=f?f(this.latestValues,""):"none",c;const h=this.getLead();if(!this.projectionDelta||!this.layout||!h.target){const v={};return this.options.layoutId&&(v.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,v.pointerEvents=$d(a==null?void 0:a.pointerEvents)||""),this.hasProjected&&!Ro(this.latestValues)&&(v.transform=f?f({},""):"none",this.hasProjected=!1),v}const p=h.animationValues||h.latestValues;this.applyTransformsToTarget(),c.transform=az(this.projectionDeltaWithTransform,this.treeScale,p),f&&(c.transform=f(p,c.transform));const{x:g,y}=this.projectionDelta;c.transformOrigin=`${g.origin*100}% ${y.origin*100}% 0`,h.animationValues?c.opacity=h===this?p.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:p.opacityExit:c.opacity=h===this?p.opacity!==void 0?p.opacity:"":p.opacityExit!==void 0?p.opacityExit:0;for(const v in Dc){if(p[v]===void 0)continue;const{correct:E,applyTo:T,isCSSVariable:S}=Dc[v],A=c.transform==="none"?p[v]:E(p[v],h);if(T){const D=T.length;for(let C=0;C<D;C++)c[T[C]]=A}else S?this.options.visualElement.renderState.vars[v]=A:c[v]=A}return this.options.layoutId&&(c.pointerEvents=h===this?$d(a==null?void 0:a.pointerEvents)||"":"none"),c}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(a=>{var c;return(c=a.currentAnimation)==null?void 0:c.stop()}),this.root.nodes.forEach(k4),this.root.sharedNodes.clear()}}}function fz(e){e.updateLayout()}function dz(e){var n;const t=((n=e.resumeFrom)==null?void 0:n.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:i,measuredBox:r}=e.layout,{animationType:o}=e.options,a=t.source!==e.layout.source;o==="size"?Si(g=>{const y=a?t.measuredBox[g]:t.layoutBox[g],v=Mn(y);y.min=i[g].min,y.max=y.min+v}):NC(o,t.layoutBox,i)&&Si(g=>{const y=a?t.measuredBox[g]:t.layoutBox[g],v=Mn(i[g]);y.max=y.min+v,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[g].max=e.relativeTarget[g].min+v)});const c=ua();tc(c,i,t.layoutBox);const f=ua();a?tc(f,e.applyTransform(r,!0),t.measuredBox):tc(f,i,t.layoutBox);const h=!CC(c);let p=!1;if(!e.resumeFrom){const g=e.getClosestProjectingParent();if(g&&!g.resumeFrom){const{snapshot:y,layout:v}=g;if(y&&v){const E=jt();nc(E,t.layoutBox,y.layoutBox);const T=jt();nc(T,i,v.layoutBox),AC(E,T)||(p=!0),g.options.layoutRoot&&(e.relativeTarget=T,e.relativeTargetOrigin=E,e.relativeParent=g)}}}e.notifyListeners("didUpdate",{layout:i,snapshot:t,delta:f,layoutDelta:c,hasLayoutChanged:h,hasRelativeLayoutChanged:p})}else if(e.isLead()){const{onExitComplete:i}=e.options;i&&i()}e.options.transition=void 0}function hz(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function pz(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function mz(e){e.clearSnapshot()}function k4(e){e.clearMeasurements()}function gz(e){e.isLayoutDirty=!1}function vz(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function L4(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function yz(e){e.resolveTargetDelta()}function bz(e){e.calcProjection()}function xz(e){e.resetSkewAndRotation()}function Ez(e){e.removeLeadSnapshot()}function I4(e,t,n){e.translate=Et(t.translate,0,n),e.scale=Et(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function F4(e,t,n,i){e.min=Et(t.min,n.min,i),e.max=Et(t.max,n.max,i)}function Tz(e,t,n,i){F4(e.x,t.x,n.x,i),F4(e.y,t.y,n.y,i)}function Sz(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const _z={duration:.45,ease:[.4,0,.1,1]},j4=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),P4=j4("applewebkit/")&&!j4("chrome/")?Math.round:wi;function V4(e){e.min=P4(e.min),e.max=P4(e.max)}function Cz(e){V4(e.x),V4(e.y)}function NC(e,t,n){return e==="position"||e==="preserve-aspect"&&!wU(O4(t),O4(n),.2)}function Az(e){var t;return e!==e.root&&((t=e.scroll)==null?void 0:t.wasRoot)}const wz=DC({attachResizeListener:(e,t)=>Oc(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),tm={current:void 0},OC=DC({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!tm.current){const e=new wz({});e.mount(window),e.setOptions({layoutScroll:!0}),tm.current=e}return tm.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),Dz={pan:{Feature:HU},drag:{Feature:zU,ProjectionNode:OC,MeasureLayout:TC}};function B4(e,t,n){const{props:i}=e;e.animationState&&i.whileHover&&e.animationState.setActive("whileHover",n==="Start");const r="onHover"+n,o=i[r];o&&St.postRender(()=>o(t,Zc(t)))}class Nz extends lo{mount(){const{current:t}=this.node;t&&(this.unmount=o$(t,(n,i)=>(B4(this.node,i,"Start"),r=>B4(this.node,r,"End"))))}unmount(){}}class Oz extends lo{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Yc(Oc(this.node.current,"focus",()=>this.onFocus()),Oc(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function $4(e,t,n){const{props:i}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&i.whileTap&&e.animationState.setActive("whileTap",n==="Start");const r="onTap"+(n==="End"?"":n),o=i[r];o&&St.postRender(()=>o(t,Zc(t)))}class Rz extends lo{mount(){const{current:t}=this.node;t&&(this.unmount=c$(t,(n,i)=>($4(this.node,i,"Start"),(r,{success:o})=>$4(this.node,r,o?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const Tg=new WeakMap,nm=new WeakMap,Mz=e=>{const t=Tg.get(e.target);t&&t(e)},kz=e=>{e.forEach(Mz)};function Lz({root:e,...t}){const n=e||document;nm.has(n)||nm.set(n,{});const i=nm.get(n),r=JSON.stringify(t);return i[r]||(i[r]=new IntersectionObserver(kz,{root:e,...t})),i[r]}function Iz(e,t,n){const i=Lz(t);return Tg.set(e,n),i.observe(e),()=>{Tg.delete(e),i.unobserve(e)}}const Fz={some:0,all:1};class jz extends lo{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:i,amount:r="some",once:o}=t,a={root:n?n.current:void 0,rootMargin:i,threshold:typeof r=="number"?r:Fz[r]},c=f=>{const{isIntersecting:h}=f;if(this.isInView===h||(this.isInView=h,o&&!h&&this.hasEnteredView))return;h&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",h);const{onViewportEnter:p,onViewportLeave:g}=this.node.getProps(),y=h?p:g;y&&y(f)};return Iz(this.node.current,a,c)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(Pz(t,n))&&this.startObserver()}unmount(){}}function Pz({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const Vz={inView:{Feature:jz},tap:{Feature:Rz},focus:{Feature:Oz},hover:{Feature:Nz}},Bz={layout:{ProjectionNode:OC,MeasureLayout:TC}},Sg={current:null},RC={current:!1};function $z(){if(RC.current=!0,!!R2)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Sg.current=e.matches;e.addListener(t),t()}else Sg.current=!1}const Uz=new WeakMap;function zz(e,t,n){for(const i in t){const r=t[i],o=n[i];if(vn(r))e.addValue(i,r);else if(vn(o))e.addValue(i,Sa(r,{owner:e}));else if(o!==r)if(e.hasValue(i)){const a=e.getValue(i);a.liveStyle===!0?a.jump(r):a.hasAnimated||a.set(r)}else{const a=e.getStaticValue(i);e.addValue(i,Sa(a!==void 0?a:r,{owner:e}))}}for(const i in n)t[i]===void 0&&e.removeValue(i);return t}const U4=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class Hz{scrapeMotionValuesFromProps(t,n,i){return{}}constructor({parent:t,props:n,presenceContext:i,reducedMotionConfig:r,blockInitialAnimation:o,visualState:a},c={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=X2,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const y=qn.now();this.renderScheduledAt<y&&(this.renderScheduledAt=y,St.render(this.render,!1,!0))};const{latestValues:f,renderState:h}=a;this.latestValues=f,this.baseTarget={...f},this.initialValues=n.initial?{...f}:{},this.renderState=h,this.parent=t,this.props=n,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=r,this.options=c,this.blockInitialAnimation=!!o,this.isControllingVariants=Z0(n),this.isVariantNode=K8(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:p,...g}=this.scrapeMotionValuesFromProps(n,{},this);for(const y in g){const v=g[y];f[y]!==void 0&&vn(v)&&v.set(f[y],!1)}}mount(t){this.current=t,Uz.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,i)=>this.bindToMotionValue(i,n)),RC.current||$z(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Sg.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),mu(this.notifyUpdate),mu(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const n=this.features[t];n&&(n.unmount(),n.isMounted=!1)}this.current=null}bindToMotionValue(t,n){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const i=La.has(t);i&&this.onBindTransform&&this.onBindTransform();const r=n.on("change",c=>{this.latestValues[t]=c,this.props.onUpdate&&St.preRender(this.notifyUpdate),i&&this.projection&&(this.projection.isTransformDirty=!0)}),o=n.on("renderRequest",this.scheduleRender);let a;window.MotionCheckAppearSync&&(a=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{r(),o(),a&&a(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in _a){const n=_a[t];if(!n)continue;const{isEnabled:i,Feature:r}=n;if(!this.features[t]&&r&&i(this.props)&&(this.features[t]=new r(this)),this.features[t]){const o=this.features[t];o.isMounted?o.update():(o.mount(),o.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):jt()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let i=0;i<U4.length;i++){const r=U4[i];this.propEventSubscriptions[r]&&(this.propEventSubscriptions[r](),delete this.propEventSubscriptions[r]);const o="on"+r,a=t[o];a&&(this.propEventSubscriptions[r]=this.on(r,a))}this.prevMotionValues=zz(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const i=this.values.get(t);n!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return i===void 0&&n!==void 0&&(i=Sa(n===null?void 0:n,{owner:this}),this.addValue(t,i)),i}readValue(t,n){let i=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return i!=null&&(typeof i=="string"&&(s8(i)||a8(i))?i=parseFloat(i):!h$(i)&&oo.test(n)&&(i=q8(t,n)),this.setBaseTarget(t,vn(i)?i.get():i)),vn(i)?i.get():i}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var o;const{initial:n}=this.props;let i;if(typeof n=="string"||typeof n=="object"){const a=ov(this.props,n,(o=this.presenceContext)==null?void 0:o.custom);a&&(i=a[t])}if(n&&i!==void 0)return i;const r=this.getBaseTargetFromProps(this.props,t);return r!==void 0&&!vn(r)?r:this.initialValues[t]!==void 0&&i===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new P2),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class MC extends Hz{constructor(){super(...arguments),this.KeyframeResolver=t$}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:i}){delete n[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;vn(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function kC(e,{style:t,vars:n},i,r){Object.assign(e.style,t,r&&r.getProjectionStyles(i));for(const o in n)e.style.setProperty(o,n[o])}function qz(e){return window.getComputedStyle(e)}class Gz extends MC{constructor(){super(...arguments),this.type="html",this.renderInstance=kC}readValueFromInstance(t,n){if(La.has(n))return xB(t,n);{const i=qz(t),r=($2(n)?i.getPropertyValue(n):i[n])||0;return typeof r=="string"?r.trim():r}}measureInstanceViewportBox(t,{transformPagePoint:n}){return yC(t,n)}build(t,n,i){iv(t,n,i.transformTemplate)}scrapeMotionValuesFromProps(t,n,i){return sv(t,n,i)}}const LC=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Yz(e,t,n,i){kC(e,t,void 0,i);for(const r in t.attrs)e.setAttribute(LC.has(r)?r:nv(r),t.attrs[r])}class Qz extends MC{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=jt}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(La.has(n)){const i=H8(n);return i&&i.default||0}return n=LC.has(n)?n:nv(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,i){return aC(t,n,i)}build(t,n,i){rC(t,n,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,n,i,r){Yz(t,n,i,r)}mount(t){this.isSVGTag=oC(t.tagName),super.mount(t)}}const Xz=(e,t)=>uv(e)?new Qz(t):new Gz(t,{allowProjection:e!==x.Fragment}),Zz=Y$({...bU,...Vz,...Dz,...Bz},Xz),IC=y$(Zz);function FC(e){const t=Gc(()=>Sa(e)),{isStatic:n}=x.useContext(k2);if(n){const[,i]=x.useState(e);x.useEffect(()=>t.on("change",i),[])}return t}function jC(e,t){const n=FC(t()),i=()=>n.set(t());return i(),o8(()=>{const r=()=>St.preRender(i,!1,!0),o=e.map(a=>a.on("change",r));return()=>{o.forEach(a=>a()),mu(i)}}),n}function Wz(e){Jl.current=[],e();const t=jC(Jl.current,e);return Jl.current=void 0,t}function Kz(e,t,n,i){if(typeof e=="function")return Wz(e);const r=typeof t=="function"?t:f$(t,n,i);return Array.isArray(e)?z4(e,r):z4([e],([o])=>r(o))}function z4(e,t){const n=Gc(()=>[]);return jC(e,()=>{n.length=0;const i=e.length;for(let r=0;r<i;r++)n[r]=e[r].get();return t(n)})}const PC=x.createContext(null);function Jz(e,t,n,i){if(!i)return e;const r=e.findIndex(p=>p.value===t);if(r===-1)return e;const o=i>0?1:-1,a=e[r+o];if(!a)return e;const c=e[r],f=a.layout,h=Et(f.min,f.max,.5);return o===1&&c.layout.max+n>h||o===-1&&c.layout.min+n<h?yV(e,r,r+o):e}function eH({children:e,as:t="ul",axis:n="y",onReorder:i,values:r,...o},a){const c=Gc(()=>IC[t]),f=[],h=x.useRef(!1),p={axis:n,registerItem:(g,y)=>{const v=f.findIndex(E=>g===E.value);v!==-1?f[v].layout=y[n]:f.push({value:g,layout:y[n]}),f.sort(iH)},updateOrder:(g,y,v)=>{if(h.current)return;const E=Jz(f,g,y,v);f!==E&&(h.current=!0,i(E.map(nH).filter(T=>r.indexOf(T)!==-1)))}};return x.useEffect(()=>{h.current=!1}),_.jsx(c,{...o,ref:a,ignoreStrict:!0,children:_.jsx(PC.Provider,{value:p,children:e})})}const tH=x.forwardRef(eH);function nH(e){return e.value}function iH(e,t){return e.layout.min-t.layout.min}function H4(e,t=0){return vn(e)?e:FC(t)}function rH({children:e,style:t={},value:n,as:i="li",onDrag:r,layout:o=!0,...a},c){const f=Gc(()=>IC[i]),h=x.useContext(PC),p={x:H4(t.x),y:H4(t.y)},g=Kz([p.x,p.y],([T,S])=>T||S?1:"unset"),{axis:y,registerItem:v,updateOrder:E}=h;return _.jsx(f,{drag:y,...a,dragSnapToOrigin:!0,style:{...t,x:p.x,y:p.y,zIndex:g},layout:o,onDrag:(T,S)=>{const{velocity:A}=S;A[y]&&E(n,p[y].get(),A[y]),r&&r(T,S)},onLayoutMeasure:T=>v(n,T),ref:c,ignoreStrict:!0,children:e})}const uH=x.forwardRef(rH),VC=x.forwardRef((e,t)=>{const n=ge.c(16);let i,r,o,a,c;n[0]!==e?({isActive:o,value:c,children:i,className:r,...a}=e,n[0]=e,n[1]=i,n[2]=r,n[3]=o,n[4]=a,n[5]=c):(i=n[1],r=n[2],o=n[3],a=n[4],c=n[5]);const f=o&&"graphiql-tab-active";let h;n[6]!==r||n[7]!==f?(h=dt("graphiql-tab",f,r),n[6]=r,n[7]=f,n[8]=h):h=n[8];let p;return n[9]!==i||n[10]!==o||n[11]!==a||n[12]!==t||n[13]!==h||n[14]!==c?(p=_.jsx(uH,{...a,ref:t,value:c,"aria-selected":o,role:"tab",className:h,children:i}),n[9]=i,n[10]=o,n[11]=a,n[12]=t,n[13]=h,n[14]=c,n[15]=p):p=n[15],p});VC.displayName="Tab";const BC=x.forwardRef((e,t)=>{const n=ge.c(11);let i,r,o;n[0]!==e?({children:i,className:r,...o}=e,n[0]=e,n[1]=i,n[2]=r,n[3]=o):(i=n[1],r=n[2],o=n[3]);let a;n[4]!==r?(a=dt("graphiql-tab-button",r),n[4]=r,n[5]=a):a=n[5];let c;return n[6]!==i||n[7]!==o||n[8]!==t||n[9]!==a?(c=_.jsx(Wt,{...o,ref:t,type:"button",className:a,children:i}),n[6]=i,n[7]=o,n[8]=t,n[9]=a,n[10]=c):c=n[10],c});BC.displayName="Tab.Button";const $C=x.forwardRef((e,t)=>{const n=ge.c(7);let i;n[0]!==e.className?(i=dt("graphiql-tab-close",e.className),n[0]=e.className,n[1]=i):i=n[1];let r;n[2]===Symbol.for("react.memo_cache_sentinel")?(r=_.jsx(s2,{}),n[2]=r):r=n[2];let o;return n[3]!==e||n[4]!==t||n[5]!==i?(o=_.jsx(Wt,{"aria-label":"Close Tab",...e,ref:t,type:"button",className:i,children:r}),n[3]=e,n[4]=t,n[5]=i,n[6]=o):o=n[6],o});$C.displayName="Tab.Close";const im=Object.assign(VC,{Button:BC,Close:$C}),UC=x.forwardRef((e,t)=>{const n=ge.c(15);let i,r,o,a,c;n[0]!==e?({values:c,onReorder:o,children:i,className:r,...a}=e,n[0]=e,n[1]=i,n[2]=r,n[3]=o,n[4]=a,n[5]=c):(i=n[1],r=n[2],o=n[3],a=n[4],c=n[5]);let f;n[6]!==r?(f=dt("graphiql-tabs",r),n[6]=r,n[7]=f):f=n[7];let h;return n[8]!==i||n[9]!==o||n[10]!==a||n[11]!==t||n[12]!==f||n[13]!==c?(h=_.jsx(tH,{...a,ref:t,values:c,onReorder:o,axis:"x",role:"tablist",className:f,children:i}),n[8]=i,n[9]=o,n[10]=a,n[11]=t,n[12]=f,n[13]=c,n[14]=h):h=n[14],h});UC.displayName="Tabs";var[W0,YQ]=is("Tooltip",[H0]),K0=H0(),zC="TooltipProvider",oH=700,_g="tooltip.open",[sH,lv]=W0(zC),HC=e=>{const{__scopeTooltip:t,delayDuration:n=oH,skipDelayDuration:i=300,disableHoverableContent:r=!1,children:o}=e,a=x.useRef(!0),c=x.useRef(!1),f=x.useRef(0);return x.useEffect(()=>{const h=f.current;return()=>window.clearTimeout(h)},[]),_.jsx(sH,{scope:t,isOpenDelayedRef:a,delayDuration:n,onOpen:x.useCallback(()=>{window.clearTimeout(f.current),a.current=!1},[]),onClose:x.useCallback(()=>{window.clearTimeout(f.current),f.current=window.setTimeout(()=>a.current=!0,i)},[i]),isPointerInTransitRef:c,onPointerInTransitChange:x.useCallback(h=>{c.current=h},[]),disableHoverableContent:r,children:o})};HC.displayName=zC;var Rc="Tooltip",[aH,Wc]=W0(Rc),qC=e=>{const{__scopeTooltip:t,children:n,open:i,defaultOpen:r,onOpenChange:o,disableHoverableContent:a,delayDuration:c}=e,f=lv(Rc,e.__scopeTooltip),h=K0(t),[p,g]=x.useState(null),y=$o(),v=x.useRef(0),E=a??f.disableHoverableContent,T=c??f.delayDuration,S=x.useRef(!1),[A,D]=F0({prop:i,defaultProp:r??!1,onChange:I=>{I?(f.onOpen(),document.dispatchEvent(new CustomEvent(_g))):f.onClose(),o==null||o(I)},caller:Rc}),C=x.useMemo(()=>A?S.current?"delayed-open":"instant-open":"closed",[A]),N=x.useCallback(()=>{window.clearTimeout(v.current),v.current=0,S.current=!1,D(!0)},[D]),O=x.useCallback(()=>{window.clearTimeout(v.current),v.current=0,D(!1)},[D]),k=x.useCallback(()=>{window.clearTimeout(v.current),v.current=window.setTimeout(()=>{S.current=!0,D(!0),v.current=0},T)},[T,D]);return x.useEffect(()=>()=>{v.current&&(window.clearTimeout(v.current),v.current=0)},[]),_.jsx(v_,{...h,children:_.jsx(aH,{scope:t,contentId:y,open:A,stateAttribute:C,trigger:p,onTriggerChange:g,onTriggerEnter:x.useCallback(()=>{f.isOpenDelayedRef.current?k():N()},[f.isOpenDelayedRef,k,N]),onTriggerLeave:x.useCallback(()=>{E?O():(window.clearTimeout(v.current),v.current=0)},[O,E]),onOpen:N,onClose:O,disableHoverableContent:E,children:n})})};qC.displayName=Rc;var Cg="TooltipTrigger",GC=x.forwardRef((e,t)=>{const{__scopeTooltip:n,...i}=e,r=Wc(Cg,n),o=lv(Cg,n),a=K0(n),c=x.useRef(null),f=Kt(t,c,r.onTriggerChange),h=x.useRef(!1),p=x.useRef(!1),g=x.useCallback(()=>h.current=!1,[]);return x.useEffect(()=>()=>document.removeEventListener("pointerup",g),[g]),_.jsx(y_,{asChild:!0,...a,children:_.jsx(Mt.button,{"aria-describedby":r.open?r.contentId:void 0,"data-state":r.stateAttribute,...i,ref:f,onPointerMove:Oe(e.onPointerMove,y=>{y.pointerType!=="touch"&&!p.current&&!o.isPointerInTransitRef.current&&(r.onTriggerEnter(),p.current=!0)}),onPointerLeave:Oe(e.onPointerLeave,()=>{r.onTriggerLeave(),p.current=!1}),onPointerDown:Oe(e.onPointerDown,()=>{r.open&&r.onClose(),h.current=!0,document.addEventListener("pointerup",g,{once:!0})}),onFocus:Oe(e.onFocus,()=>{h.current||r.onOpen()}),onBlur:Oe(e.onBlur,r.onClose),onClick:Oe(e.onClick,r.onClose)})})});GC.displayName=Cg;var cv="TooltipPortal",[lH,cH]=W0(cv,{forceMount:void 0}),YC=e=>{const{__scopeTooltip:t,forceMount:n,children:i,container:r}=e,o=Wc(cv,t);return _.jsx(lH,{scope:t,forceMount:n,children:_.jsx(Rr,{present:n||o.open,children:_.jsx(P0,{asChild:!0,container:r,children:i})})})};YC.displayName=cv;var Ca="TooltipContent",QC=x.forwardRef((e,t)=>{const n=cH(Ca,e.__scopeTooltip),{forceMount:i=n.forceMount,side:r="top",...o}=e,a=Wc(Ca,e.__scopeTooltip);return _.jsx(Rr,{present:i||a.open,children:a.disableHoverableContent?_.jsx(XC,{side:r,...o,ref:t}):_.jsx(fH,{side:r,...o,ref:t})})}),fH=x.forwardRef((e,t)=>{const n=Wc(Ca,e.__scopeTooltip),i=lv(Ca,e.__scopeTooltip),r=x.useRef(null),o=Kt(t,r),[a,c]=x.useState(null),{trigger:f,onClose:h}=n,p=r.current,{onPointerInTransitChange:g}=i,y=x.useCallback(()=>{c(null),g(!1)},[g]),v=x.useCallback((E,T)=>{const S=E.currentTarget,A={x:E.clientX,y:E.clientY},D=gH(A,S.getBoundingClientRect()),C=vH(A,D),N=yH(T.getBoundingClientRect()),O=xH([...C,...N]);c(O),g(!0)},[g]);return x.useEffect(()=>()=>y(),[y]),x.useEffect(()=>{if(f&&p){const E=S=>v(S,p),T=S=>v(S,f);return f.addEventListener("pointerleave",E),p.addEventListener("pointerleave",T),()=>{f.removeEventListener("pointerleave",E),p.removeEventListener("pointerleave",T)}}},[f,p,v,y]),x.useEffect(()=>{if(a){const E=T=>{const S=T.target,A={x:T.clientX,y:T.clientY},D=(f==null?void 0:f.contains(S))||(p==null?void 0:p.contains(S)),C=!bH(A,a);D?y():C&&(y(),h())};return document.addEventListener("pointermove",E),()=>document.removeEventListener("pointermove",E)}},[f,p,a,h,y]),_.jsx(XC,{...e,ref:o})}),[dH,hH]=W0(Rc,{isInside:!1}),pH=lI("TooltipContent"),XC=x.forwardRef((e,t)=>{const{__scopeTooltip:n,children:i,"aria-label":r,onEscapeKeyDown:o,onPointerDownOutside:a,...c}=e,f=Wc(Ca,n),h=K0(n),{onClose:p}=f;return x.useEffect(()=>(document.addEventListener(_g,p),()=>document.removeEventListener(_g,p)),[p]),x.useEffect(()=>{if(f.trigger){const g=y=>{const v=y.target;v!=null&&v.contains(f.trigger)&&p()};return window.addEventListener("scroll",g,{capture:!0}),()=>window.removeEventListener("scroll",g,{capture:!0})}},[f.trigger,p]),_.jsx(j0,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:g=>g.preventDefault(),onDismiss:p,children:_.jsxs(b_,{"data-state":f.stateAttribute,...h,...c,ref:t,style:{...c.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[_.jsx(pH,{children:i}),_.jsx(dH,{scope:n,isInside:!0,children:_.jsx(US,{id:f.contentId,role:"tooltip",children:r||i})})]})})});QC.displayName=Ca;var ZC="TooltipArrow",mH=x.forwardRef((e,t)=>{const{__scopeTooltip:n,...i}=e,r=K0(n);return hH(ZC,n).isInside?null:_.jsx(x_,{...r,...i,ref:t})});mH.displayName=ZC;function gH(e,t){const n=Math.abs(t.top-e.y),i=Math.abs(t.bottom-e.y),r=Math.abs(t.right-e.x),o=Math.abs(t.left-e.x);switch(Math.min(n,i,r,o)){case o:return"left";case r:return"right";case n:return"top";case i:return"bottom";default:throw new Error("unreachable")}}function vH(e,t,n=5){const i=[];switch(t){case"top":i.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":i.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":i.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":i.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return i}function yH(e){const{top:t,right:n,bottom:i,left:r}=e;return[{x:r,y:t},{x:n,y:t},{x:n,y:i},{x:r,y:i}]}function bH(e,t){const{x:n,y:i}=e;let r=!1;for(let o=0,a=t.length-1;o<t.length;a=o++){const c=t[o],f=t[a],h=c.x,p=c.y,g=f.x,y=f.y;p>i!=y>i&&n<(g-h)*(i-p)/(y-p)+h&&(r=!r)}return r}function xH(e){const t=e.slice();return t.sort((n,i)=>n.x<i.x?-1:n.x>i.x?1:n.y<i.y?-1:n.y>i.y?1:0),EH(t)}function EH(e){if(e.length<=1)return e.slice();const t=[];for(let i=0;i<e.length;i++){const r=e[i];for(;t.length>=2;){const o=t[t.length-1],a=t[t.length-2];if((o.x-a.x)*(r.y-a.y)>=(o.y-a.y)*(r.x-a.x))t.pop();else break}t.push(r)}t.pop();const n=[];for(let i=e.length-1;i>=0;i--){const r=e[i];for(;n.length>=2;){const o=n[n.length-1],a=n[n.length-2];if((o.x-a.x)*(r.y-a.y)>=(o.y-a.y)*(r.x-a.x))n.pop();else break}n.push(r)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var TH=HC,SH=qC,_H=GC,CH=YC,AH=QC;const wH=e=>{const t=ge.c(10),{children:n,align:i,side:r,sideOffset:o,label:a}=e,c=i===void 0?"start":i,f=r===void 0?"bottom":r,h=o===void 0?5:o;let p;t[0]!==n?(p=_.jsx(_H,{asChild:!0,children:n}),t[0]=n,t[1]=p):p=t[1];let g;t[2]!==c||t[3]!==a||t[4]!==f||t[5]!==h?(g=_.jsx(CH,{children:_.jsx(AH,{className:"graphiql-tooltip",align:c,side:f,sideOffset:h,children:a})}),t[2]=c,t[3]=a,t[4]=f,t[5]=h,t[6]=g):g=t[6];let y;return t[7]!==p||t[8]!==g?(y=_.jsxs(SH,{children:[p,g]}),t[7]=p,t[8]=g,t[9]=y):y=t[9],y},zn=Object.assign(wH,{Provider:TH}),zd=x.forwardRef((e,t)=>{const n=ge.c(19);let i,r,o;n[0]!==e?({label:i,onClick:r,...o}=e,n[0]=e,n[1]=i,n[2]=r,n[3]=o):(i=n[1],r=n[2],o=n[3]);const[a,c]=x.useState(null);let f;n[4]!==r?(f=S=>{try{r&&r(S),c(null)}catch(A){const D=A;c(D instanceof Error?D:new Error(`Toolbar button click failed: ${D}`))}},n[4]=r,n[5]=f):f=n[5];const h=f,p=a&&"error";let g;n[6]!==o.className||n[7]!==p?(g=dt("graphiql-toolbar-button",p,o.className),n[6]=o.className,n[7]=p,n[8]=g):g=n[8];const y=a?a.message:i,v=a?"true":o["aria-invalid"];let E;n[9]!==h||n[10]!==o||n[11]!==t||n[12]!==g||n[13]!==y||n[14]!==v?(E=_.jsx(Wt,{...o,ref:t,type:"button",className:g,onClick:h,"aria-label":y,"aria-invalid":v}),n[9]=h,n[10]=o,n[11]=t,n[12]=g,n[13]=y,n[14]=v,n[15]=E):E=n[15];let T;return n[16]!==i||n[17]!==E?(T=_.jsx(zn,{label:i,children:E}),n[16]=i,n[17]=E,n[18]=T):T=n[18],T});zd.displayName="ToolbarButton";function Ag(){const e=ge.c(19);let t;e[0]===Symbol.for("react.memo_cache_sentinel")?(t={nonNull:!0,caller:Ag},e[0]=t):t=e[0];const{queryEditor:n,setOperationName:i}=bn(t);let r;e[1]===Symbol.for("react.memo_cache_sentinel")?(r={nonNull:!0,caller:Ag},e[1]=r):r=e[1];const{isFetching:o,isSubscribed:a,operationName:c,run:f,stop:h}=Na(r);let p;e[2]!==(n==null?void 0:n.operations)?(p=(n==null?void 0:n.operations)||[],e[2]=n==null?void 0:n.operations,e[3]=p):p=e[3];const g=p,y=g.length>1&&typeof c!="string",v=o||a,E=`${v?"Stop":"Execute"} query (Ctrl-Enter)`;let T;e[4]!==v?(T=v?_.jsx(QL,{}):_.jsx(BL,{}),e[4]=v,e[5]=T):T=e[5];let S;e[6]!==E||e[7]!==T?(S={type:"button",className:"graphiql-execute-button",children:T,"aria-label":E},e[6]=E,e[7]=T,e[8]=S):S=e[8];const A=S;let D;return e[9]!==A||e[10]!==y||e[11]!==v||e[12]!==E||e[13]!==g||e[14]!==n||e[15]!==f||e[16]!==i||e[17]!==h?(D=y&&!v?_.jsxs(Dd,{children:[_.jsx(zn,{label:E,children:_.jsx(Dd.Button,{...A})}),_.jsx(Dd.Content,{children:g.map((C,N)=>{const O=C.name?C.name.value:`<Unnamed ${C.operation}>`;return _.jsx(Dd.Item,{onSelect:()=>{var k;const I=(k=C.name)==null?void 0:k.value;n&&I&&I!==n.operationName&&i(I),f()},children:O},`${O}-${N}`)})})]}):_.jsx(zn,{label:E,children:_.jsx("button",{...A,onClick:()=>{v?h():f()}})}),e[9]=A,e[10]=y,e[11]=v,e[12]=E,e[13]=g,e[14]=n,e[15]=f,e[16]=i,e[17]=h,e[18]=D):D=e[18],D}const WC=ts("HistoryContext");function DH(e){const t=ge.c(18),{maxHistoryLength:n,children:i}=e,r=n===void 0?OH:n,o=ao();let a;t[0]===Symbol.for("react.memo_cache_sentinel")?(a={nonNull:!0},t[0]=a):a=t[0];const{isFetching:c}=Na(a);let f;t[1]!==r||t[2]!==o?(f=()=>new dN(o||new Dm(null),r),t[1]=r,t[2]=o,t[3]=f):f=t[3];const[h]=x.useState(f);let p;t[4]!==h.queries?(p=()=>h.queries||[],t[4]=h.queries,t[5]=p):p=t[5];const[g,y]=x.useState(p);let v;t[6]!==h||t[7]!==g?(v={addToHistory(I){h.updateHistory(I),y(h.queries)},editLabel(I,P){h.editLabel(I,P),y(h.queries)},items:g,toggleFavorite(I){h.toggleFavorite(I),y(h.queries)},setActive:NH,deleteFromHistory(I,P){h.deleteHistory(I,P),y(h.queries)}},t[6]=h,t[7]=g,t[8]=v):v=t[8];const E=v;let T;t[9]===Symbol.for("react.memo_cache_sentinel")?(T={nonNull:!0},t[9]=T):T=t[9];const{tabs:S,activeTabIndex:A}=bn(T),D=S[A],{addToHistory:C}=E;let N,O;t[10]!==D||t[11]!==C||t[12]!==c?(N=()=>{c&&C({query:D.query??void 0,variables:D.variables??void 0,headers:D.headers??void 0,operationName:D.operationName??void 0})},O=[c,D,C],t[10]=D,t[11]=C,t[12]=c,t[13]=N,t[14]=O):(N=t[13],O=t[14]),x.useEffect(N,O);let k;return t[15]!==i||t[16]!==E?(k=_.jsx(WC.Provider,{value:E,children:i}),t[15]=i,t[16]=E,t[17]=k):k=t[17],k}function NH(e){return e}const KC=ns(WC),OH=20;function RH(e,t){for(const n of e)t(n,!0)}function MH(){const e=ge.c(14);let t;e[0]===Symbol.for("react.memo_cache_sentinel")?(t={nonNull:!0},e[0]=t):t=e[0];const{items:n,deleteFromHistory:i}=KC(t);let r;r=n.slice().map(jH).reverse();const o=r.filter(FH);o.length&&(r=r.filter(IH));const[a,c]=x.useState(null);let f,h;e[1]!==a?(f=()=>{a&&setTimeout(()=>{c(null)},2e3)},h=[a],e[1]=a,e[2]=f,e[3]=h):(f=e[2],h=e[3]),x.useEffect(f,h);const p=()=>{try{RH(r,i),c("success")}catch{c("error")}},g=!!o.length,y=!!r.length,v="History",E="graphiql-history",T=(a||y)&&_.jsx(qi,{type:"button",state:a||void 0,disabled:!r.length,onClick:p,children:{success:"Cleared",error:"Failed to Clear"}[a]||"Clear"});let S;e[4]!==T?(S=_.jsxs("div",{className:"graphiql-history-header",children:["History",T]}),e[4]=T,e[5]=S):S=e[5];const A=g&&_.jsx("ul",{className:"graphiql-history-items",children:o.map(LH)});let D;e[6]!==g||e[7]!==y?(D=g&&y&&_.jsx("div",{className:"graphiql-history-item-spacer"}),e[6]=g,e[7]=y,e[8]=D):D=e[8];const C=y&&_.jsx("ul",{className:"graphiql-history-items",children:r.map(kH)});let N;return e[9]!==S||e[10]!==A||e[11]!==D||e[12]!==C?(N=_.jsxs("section",{"aria-label":v,className:E,children:[S,A,D,C]}),e[9]=S,e[10]=A,e[11]=D,e[12]=C,e[13]=N):N=e[13],N}function kH(e){return _.jsx(p0,{item:e},e.index)}function LH(e){return _.jsx(p0,{item:e},e.index)}function IH(e){return!e.favorite}function FH(e){return e.favorite}function jH(e,t){return{...e,index:t}}function p0(e){const t=ge.c(40);let n;t[0]===Symbol.for("react.memo_cache_sentinel")?(n={nonNull:!0,caller:p0},t[0]=n):n=t[0];const{editLabel:i,toggleFavorite:r,deleteFromHistory:o,setActive:a}=KC(n);let c;t[1]===Symbol.for("react.memo_cache_sentinel")?(c={nonNull:!0,caller:p0},t[1]=c):c=t[1];const{headerEditor:f,queryEditor:h,variableEditor:p}=bn(c),g=x.useRef(null),y=x.useRef(null),[v,E]=x.useState(!1);let T,S;t[2]!==v?(T=()=>{var V;v&&((V=g.current)==null||V.focus())},S=[v],t[2]=v,t[3]=T,t[4]=S):(T=t[3],S=t[4]),x.useEffect(T,S);let A;t[5]!==e.item.label||t[6]!==e.item.operationName||t[7]!==e.item.query?(A=e.item.label||e.item.operationName||PH(e.item.query),t[5]=e.item.label,t[6]=e.item.operationName,t[7]=e.item.query,t[8]=A):A=t[8];const D=A;let C;t[9]!==i||t[10]!==e.item?(C=()=>{var V;E(!1);const{index:M,...q}=e.item;i({...q,label:(V=g.current)==null?void 0:V.value},M)},t[9]=i,t[10]=e.item,t[11]=C):C=t[11];const N=C;let O;t[12]===Symbol.for("react.memo_cache_sentinel")?(O=()=>{E(!1)},t[12]=O):O=t[12];const k=O;let I;t[13]===Symbol.for("react.memo_cache_sentinel")?(I=V=>{V.stopPropagation(),E(!0)},t[13]=I):I=t[13];const P=I;let L;t[14]!==f||t[15]!==e.item||t[16]!==h||t[17]!==a||t[18]!==p?(L=()=>{const{query:V,variables:M,headers:q}=e.item;h==null||h.setValue(V??""),p==null||p.setValue(M??""),f==null||f.setValue(q??""),a(e.item)},t[14]=f,t[15]=e.item,t[16]=h,t[17]=a,t[18]=p,t[19]=L):L=t[19];const B=L;let z;t[20]!==o||t[21]!==e.item?(z=V=>{V.stopPropagation(),o(e.item)},t[20]=o,t[21]=e.item,t[22]=z):z=t[22];const te=z;let re;t[23]!==e.item||t[24]!==r?(re=V=>{V.stopPropagation(),r(e.item)},t[23]=e.item,t[24]=r,t[25]=re):re=t[25];const fe=re,X=v&&"editable";let F;t[26]!==X?(F=dt("graphiql-history-item",X),t[26]=X,t[27]=F):F=t[27];let H;t[28]!==D||t[29]!==i||t[30]!==te||t[31]!==B||t[32]!==N||t[33]!==fe||t[34]!==v||t[35]!==e.item?(H=v?_.jsxs(_.Fragment,{children:[_.jsx("input",{type:"text",defaultValue:e.item.label,ref:g,onKeyDown:V=>{V.key==="Esc"?E(!1):V.key==="Enter"&&(E(!1),i({...e.item,label:V.currentTarget.value}))},placeholder:"Type a label"}),_.jsx(Wt,{type:"button",ref:y,onClick:N,children:"Save"}),_.jsx(Wt,{type:"button",ref:y,onClick:k,children:_.jsx(s2,{})})]}):_.jsxs(_.Fragment,{children:[_.jsx(zn,{label:"Set active",children:_.jsx(Wt,{type:"button",className:"graphiql-history-item-label",onClick:B,"aria-label":"Set active",children:D})}),_.jsx(zn,{label:"Edit label",children:_.jsx(Wt,{type:"button",className:"graphiql-history-item-action",onClick:P,"aria-label":"Edit label",children:_.jsx(VL,{"aria-hidden":"true"})})}),_.jsx(zn,{label:e.item.favorite?"Remove favorite":"Add favorite",children:_.jsx(Wt,{type:"button",className:"graphiql-history-item-action",onClick:fe,"aria-label":e.item.favorite?"Remove favorite":"Add favorite",children:e.item.favorite?_.jsx(GL,{"aria-hidden":"true"}):_.jsx(YL,{"aria-hidden":"true"})})}),_.jsx(zn,{label:"Delete from history",children:_.jsx(Wt,{type:"button",className:"graphiql-history-item-action",onClick:te,"aria-label":"Delete from history",children:_.jsx(XL,{"aria-hidden":"true"})})})]}),t[28]=D,t[29]=i,t[30]=te,t[31]=B,t[32]=N,t[33]=fe,t[34]=v,t[35]=e.item,t[36]=H):H=t[36];let $;return t[37]!==F||t[38]!==H?($=_.jsx("li",{className:F,children:H}),t[37]=F,t[38]=H,t[39]=$):$=t[39],$}function PH(e){return e==null?void 0:e.split(`
|
|
359
|
+
`).map(t=>t.replace(/#(.*)/,"")).join(" ").replaceAll("{"," { ").replaceAll("}"," } ").replaceAll(/[\s]{2,}/g," ")}const VH={title:"History",icon:LL,content:MH},Hd={name:"Docs"},JC=ts("ExplorerContext");function e9(e){const t=ge.c(17);let n;t[0]===Symbol.for("react.memo_cache_sentinel")?(n={nonNull:!0,caller:e9},t[0]=n):n=t[0];const{schema:i,validationErrors:r,schemaReference:o}=Dr(n);let a;t[1]===Symbol.for("react.memo_cache_sentinel")?(a=[Hd],t[1]=a):a=t[1];const[c,f]=x.useState(a);let h;t[2]===Symbol.for("react.memo_cache_sentinel")?(h=k=>{f(I=>I.at(-1).def===k.def?I:[...I,k])},t[2]=h):h=t[2];const p=h;let g;t[3]===Symbol.for("react.memo_cache_sentinel")?(g=()=>{f($H)},t[3]=g):g=t[3];const y=g;let v;t[4]===Symbol.for("react.memo_cache_sentinel")?(v=()=>{f(BH)},t[4]=v):v=t[4];const E=v;let T,S;t[5]!==o?(T=()=>{if(o)e:switch(o.kind){case"Type":{p({name:o.type.name,def:o.type});break e}case"Field":{p({name:o.field.name,def:o.field});break e}case"Argument":{o.field&&p({name:o.field.name,def:o.field});break e}case"EnumValue":o.type&&p({name:o.type.name,def:o.type})}},S=[o,p],t[5]=o,t[6]=T,t[7]=S):(T=t[6],S=t[7]),x.useEffect(T,S);let A,D;t[8]!==i||t[9]!==r?(A=()=>{i==null||r.length>0?E():f(k=>{if(k.length===1)return k;const I=[Hd];let P=null;for(const L of k)if(L!==Hd)if(L.def)if(Ug(L.def)){const B=i.getType(L.def.name);if(B)I.push({name:L.name,def:B}),P=B;else break}else{if(P===null)break;if(bt(P)||ln(P)){const B=P.getFields()[L.name];if(B)I.push({name:L.name,def:B});else break}else{if(so(P)||ci(P)||Tt(P)||Di(P))break;{const B=P;if(B.args.some(z=>z.name===L.name))I.push({name:L.name,def:B});else break}}}else P=null,I.push(L);return I})},D=[i,r],t[8]=i,t[9]=r,t[10]=A,t[11]=D):(A=t[10],D=t[11]),x.useEffect(A,D);let C;t[12]!==c?(C={explorerNavStack:c,push:p,pop:y,reset:E},t[12]=c,t[13]=C):C=t[13];const N=C;let O;return t[14]!==e.children||t[15]!==N?(O=_.jsx(JC.Provider,{value:N,children:e.children}),t[14]=e.children,t[15]=N,t[16]=O):O=t[16],O}function BH(e){return e.length===1?e:[Hd]}function $H(e){return e.length>1?e.slice(0,-1):e}const Kc=ns(JC),UH=e=>e?li(e):"";function t9(e){const t=ge.c(12),{field:n}=e;if(!("defaultValue"in n)||n.defaultValue===void 0)return null;const i=n.defaultValue,r=n.type;let o,a,c,f;if(t[0]!==n.defaultValue||t[1]!==n.type){f=Symbol.for("react.early_return_sentinel");e:{const g=na(i,r);if(!g){f=null;break e}c=" = ",o="graphiql-doc-explorer-default-value",a=UH(g)}t[0]=n.defaultValue,t[1]=n.type,t[2]=o,t[3]=a,t[4]=c,t[5]=f}else o=t[2],a=t[3],c=t[4],f=t[5];if(f!==Symbol.for("react.early_return_sentinel"))return f;let h;t[6]!==o||t[7]!==a?(h=_.jsx("span",{className:o,children:a}),t[6]=o,t[7]=a,t[8]=h):h=t[8];let p;return t[9]!==c||t[10]!==h?(p=_.jsxs(_.Fragment,{children:[c,h]}),t[9]=c,t[10]=h,t[11]=p):p=t[11],p}function m0(e,t){return Pt(e)?_.jsxs(_.Fragment,{children:[m0(e.ofType,t),"!"]}):kn(e)?_.jsxs(_.Fragment,{children:["[",m0(e.ofType,t),"]"]}):t(e)}function br(e){const t=ge.c(6);let n;t[0]===Symbol.for("react.memo_cache_sentinel")?(n={nonNull:!0,caller:br},t[0]=n):n=t[0];const{push:i}=Kc(n);if(!e.type)return null;let r;t[1]!==i?(r=a=>_.jsx("a",{className:"graphiql-doc-explorer-type-name",onClick:c=>{c.preventDefault(),i({name:a.name,def:a})},href:"#",children:a.name}),t[1]=i,t[2]=r):r=t[2];let o;return t[3]!==e.type||t[4]!==r?(o=m0(e.type,r),t[3]=e.type,t[4]=r,t[5]=o):o=t[5],o}function g0(e){const t=ge.c(19),{arg:n,showDefaultValue:i,inline:r}=e;let o;t[0]!==n.name?(o=_.jsx("span",{className:"graphiql-doc-explorer-argument-name",children:n.name}),t[0]=n.name,t[1]=o):o=t[1];let a;t[2]!==n.type?(a=_.jsx(br,{type:n.type}),t[2]=n.type,t[3]=a):a=t[3];let c;t[4]!==n||t[5]!==i?(c=i!==!1&&_.jsx(t9,{field:n}),t[4]=n,t[5]=i,t[6]=c):c=t[6];let f;t[7]!==o||t[8]!==a||t[9]!==c?(f=_.jsxs("span",{children:[o,": ",a,c]}),t[7]=o,t[8]=a,t[9]=c,t[10]=f):f=t[10];const h=f;if(r)return h;let p;t[11]!==n.description?(p=n.description?_.jsx(Ar,{type:"description",children:n.description}):null,t[11]=n.description,t[12]=p):p=t[12];let g;t[13]!==n.deprecationReason?(g=n.deprecationReason?_.jsxs("div",{className:"graphiql-doc-explorer-argument-deprecation",children:[_.jsx("div",{className:"graphiql-doc-explorer-argument-deprecation-label",children:"Deprecated"}),_.jsx(Ar,{type:"deprecation",children:n.deprecationReason})]}):null,t[13]=n.deprecationReason,t[14]=g):g=t[14];let y;return t[15]!==h||t[16]!==p||t[17]!==g?(y=_.jsxs("div",{className:"graphiql-doc-explorer-argument",children:[h,p,g]}),t[15]=h,t[16]=p,t[17]=g,t[18]=y):y=t[18],y}function n9(e){const t=ge.c(3);let n;return t[0]!==e.children||t[1]!==e.preview?(n=e.children?_.jsxs("div",{className:"graphiql-doc-explorer-deprecation",children:[_.jsx("div",{className:"graphiql-doc-explorer-deprecation-label",children:"Deprecated"}),_.jsx(Ar,{type:"deprecation",onlyShowFirstChild:e.preview??!0,children:e.children})]}):null,t[0]=e.children,t[1]=e.preview,t[2]=n):n=t[2],n}function zH(e){const t=ge.c(2),{directive:n}=e;let i;return t[0]!==n.name.value?(i=_.jsxs("span",{className:"graphiql-doc-explorer-directive",children:["@",n.name.value]}),t[0]=n.name.value,t[1]=i):i=t[1],i}function Oi(e){const t=ge.c(10),n=HH[e.title];let i;t[0]!==n?(i=_.jsx(n,{}),t[0]=n,t[1]=i):i=t[1];let r;t[2]!==e.title||t[3]!==i?(r=_.jsxs("div",{className:"graphiql-doc-explorer-section-title",children:[i,e.title]}),t[2]=e.title,t[3]=i,t[4]=r):r=t[4];let o;t[5]!==e.children?(o=_.jsx("div",{className:"graphiql-doc-explorer-section-content",children:e.children}),t[5]=e.children,t[6]=o):o=t[6];let a;return t[7]!==r||t[8]!==o?(a=_.jsxs("div",{children:[r,o]}),t[7]=r,t[8]=o,t[9]=a):a=t[9],a}const HH={Arguments:EL,"Deprecated Arguments":AL,"Deprecated Enum Values":wL,"Deprecated Fields":DL,Directives:NL,"Enum Values":ML,Fields:kL,Implements:IL,Implementations:bd,"Possible Types":bd,"Root Types":HL,Type:bd,"All Schema Types":bd};function qH(e){const t=ge.c(15);let n;t[0]!==e.field.description?(n=e.field.description?_.jsx(Ar,{type:"description",children:e.field.description}):null,t[0]=e.field.description,t[1]=n):n=t[1];let i;t[2]!==e.field.deprecationReason?(i=_.jsx(n9,{preview:!1,children:e.field.deprecationReason}),t[2]=e.field.deprecationReason,t[3]=i):i=t[3];let r;t[4]!==e.field.type?(r=_.jsx(Oi,{title:"Type",children:_.jsx(br,{type:e.field.type})}),t[4]=e.field.type,t[5]=r):r=t[5];let o,a;t[6]!==e.field?(o=_.jsx(GH,{field:e.field}),a=_.jsx(XH,{field:e.field}),t[6]=e.field,t[7]=o,t[8]=a):(o=t[7],a=t[8]);let c;return t[9]!==n||t[10]!==i||t[11]!==r||t[12]!==o||t[13]!==a?(c=_.jsxs(_.Fragment,{children:[n,i,r,o,a]}),t[9]=n,t[10]=i,t[11]=r,t[12]=o,t[13]=a,t[14]=c):c=t[14],c}function GH(e){const t=ge.c(12),{field:n}=e,[i,r]=x.useState(!1);let o;t[0]===Symbol.for("react.memo_cache_sentinel")?(o=()=>{r(!0)},t[0]=o):o=t[0];const a=o;if(!("args"in n))return null;let c,f,h;if(t[1]!==n.args){c=[],f=[];for(const y of n.args)y.deprecationReason?f.push(y):c.push(y);h=c.length>0?_.jsx(Oi,{title:"Arguments",children:c.map(QH)}):null,t[1]=n.args,t[2]=c,t[3]=f,t[4]=h}else c=t[2],f=t[3],h=t[4];let p;t[5]!==c.length||t[6]!==f||t[7]!==i?(p=f.length>0?i||c.length===0?_.jsx(Oi,{title:"Deprecated Arguments",children:f.map(YH)}):_.jsx(qi,{type:"button",onClick:a,children:"Show Deprecated Arguments"}):null,t[5]=c.length,t[6]=f,t[7]=i,t[8]=p):p=t[8];let g;return t[9]!==h||t[10]!==p?(g=_.jsxs(_.Fragment,{children:[h,p]}),t[9]=h,t[10]=p,t[11]=g):g=t[11],g}function YH(e){return _.jsx(g0,{arg:e},e.name)}function QH(e){return _.jsx(g0,{arg:e},e.name)}function XH(e){var t,n,i;const r=ge.c(6),{field:o}=e;let a;r[0]!==((t=o.astNode)==null?void 0:t.directives)?(a=((n=o.astNode)==null?void 0:n.directives)||[],r[0]=(i=o.astNode)==null?void 0:i.directives,r[1]=a):a=r[1];const c=a;if(!c||c.length===0)return null;let f;r[2]!==c?(f=c.map(ZH),r[2]=c,r[3]=f):f=r[3];let h;return r[4]!==f?(h=_.jsx(Oi,{title:"Directives",children:f}),r[4]=f,r[5]=h):h=r[5],h}function ZH(e){return _.jsx("div",{children:_.jsx(zH,{directive:e})},e.name.value)}function WH(e){var t,n,i,r;const o=ge.c(39);let a;o[0]!==e.schema?(a=e.schema.getQueryType(),o[0]=e.schema,o[1]=a):a=o[1];const c=a;let f;o[2]!==e.schema?(f=(n=(t=e.schema).getMutationType)==null?void 0:n.call(t),o[2]=e.schema,o[3]=f):f=o[3];const h=f;let p;o[4]!==e.schema?(p=(r=(i=e.schema).getSubscriptionType)==null?void 0:r.call(i),o[4]=e.schema,o[5]=p):p=o[5];const g=p;let y,v,E,T,S;if(o[6]!==h||o[7]!==e.schema||o[8]!==c||o[9]!==g){const C=e.schema.getTypeMap(),N=c==null?void 0:c.name,O=h==null?void 0:h.name,k=g==null?void 0:g.name;let I;o[15]!==N||o[16]!==O||o[17]!==k?(I=[N,O,k],o[15]=N,o[16]=O,o[17]=k,o[18]=I):I=o[18];const P=I,L=e.schema.description||"A GraphQL schema provides a root type for each kind of operation.";o[19]!==L?(T=_.jsx(Ar,{type:"description",children:L}),o[19]=L,o[20]=T):T=o[20];let B;o[21]!==c?(B=c?_.jsxs("div",{children:[_.jsx("span",{className:"graphiql-doc-explorer-root-type",children:"query"}),": ",_.jsx(br,{type:c})]}):null,o[21]=c,o[22]=B):B=o[22];let z;o[23]!==h?(z=h&&_.jsxs("div",{children:[_.jsx("span",{className:"graphiql-doc-explorer-root-type",children:"mutation"}),": ",_.jsx(br,{type:h})]}),o[23]=h,o[24]=z):z=o[24];let te;o[25]!==g?(te=g&&_.jsxs("div",{children:[_.jsx("span",{className:"graphiql-doc-explorer-root-type",children:"subscription"}),": ",_.jsx(br,{type:g})]}),o[25]=g,o[26]=te):te=o[26],o[27]!==B||o[28]!==z||o[29]!==te?(S=_.jsxs(Oi,{title:"Root Types",children:[B,z,te]}),o[27]=B,o[28]=z,o[29]=te,o[30]=S):S=o[30],y=Oi,v="All Schema Types",E=C&&_.jsx("div",{children:Object.values(C).map(re=>P.includes(re.name)||re.name.startsWith("__")?null:_.jsx("div",{children:_.jsx(br,{type:re})},re.name))}),o[6]=h,o[7]=e.schema,o[8]=c,o[9]=g,o[10]=y,o[11]=v,o[12]=E,o[13]=T,o[14]=S}else y=o[10],v=o[11],E=o[12],T=o[13],S=o[14];let A;o[31]!==y||o[32]!==v||o[33]!==E?(A=_.jsx(y,{title:v,children:E}),o[31]=y,o[32]=v,o[33]=E,o[34]=A):A=o[34];let D;return o[35]!==T||o[36]!==S||o[37]!==A?(D=_.jsxs(_.Fragment,{children:[T,S,A]}),o[35]=T,o[36]=S,o[37]=A,o[38]=D):D=o[38],D}const i9=typeof document<"u"?ke.useLayoutEffect:()=>{};function KH(e){const t=x.useRef(null);return i9(()=>{t.current=e},[e]),x.useCallback((...n)=>{const i=t.current;return i==null?void 0:i(...n)},[])}const co=e=>{var t;return(t=e==null?void 0:e.ownerDocument)!==null&&t!==void 0?t:document},Po=e=>e&&"window"in e&&e.window===e?e:co(e).defaultView||window;function JH(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"}function eq(e){return JH(e)&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e}let tq=!1;function fv(){return tq}function r9(e,t){if(!fv())return t&&e?e.contains(t):!1;if(!e||!t)return!1;let n=t;for(;n!==null;){if(n===e)return!0;n.tagName==="SLOT"&&n.assignedSlot?n=n.assignedSlot.parentNode:eq(n)?n=n.host:n=n.parentNode}return!1}const wg=(e=document)=>{var t;if(!fv())return e.activeElement;let n=e.activeElement;for(;n&&"shadowRoot"in n&&(!((t=n.shadowRoot)===null||t===void 0)&&t.activeElement);)n=n.shadowRoot.activeElement;return n};function u9(e){return fv()&&e.target.shadowRoot&&e.composedPath?e.composedPath()[0]:e.target}function nq(e){var t;return typeof window>"u"||window.navigator==null?!1:((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.brands.some(n=>e.test(n.brand)))||e.test(window.navigator.userAgent)}function iq(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function o9(e){let t=null;return()=>(t==null&&(t=e()),t)}const rq=o9(function(){return iq(/^Mac/i)}),uq=o9(function(){return nq(/Android/i)});function s9(){let e=x.useRef(new Map),t=x.useCallback((r,o,a,c)=>{let f=c!=null&&c.once?(...h)=>{e.current.delete(a),a(...h)}:a;e.current.set(a,{type:o,eventTarget:r,fn:f,options:c}),r.addEventListener(o,f,c)},[]),n=x.useCallback((r,o,a,c)=>{var f;let h=((f=e.current.get(a))===null||f===void 0?void 0:f.fn)||a;r.removeEventListener(o,h,c),e.current.delete(a)},[]),i=x.useCallback(()=>{e.current.forEach((r,o)=>{n(r.eventTarget,r.type,o,r.options)})},[n]);return x.useEffect(()=>i,[i]),{addGlobalListener:t,removeGlobalListener:n,removeAllGlobalListeners:i}}function oq(e){return e.mozInputSource===0&&e.isTrusted?!0:uq()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function a9(e){let t=e;return t.nativeEvent=e,t.isDefaultPrevented=()=>t.defaultPrevented,t.isPropagationStopped=()=>t.cancelBubble,t.persist=()=>{},t}function sq(e,t){Object.defineProperty(e,"target",{value:t}),Object.defineProperty(e,"currentTarget",{value:t})}function l9(e){let t=x.useRef({isFocused:!1,observer:null});i9(()=>{const i=t.current;return()=>{i.observer&&(i.observer.disconnect(),i.observer=null)}},[]);let n=KH(i=>{e==null||e(i)});return x.useCallback(i=>{if(i.target instanceof HTMLButtonElement||i.target instanceof HTMLInputElement||i.target instanceof HTMLTextAreaElement||i.target instanceof HTMLSelectElement){t.current.isFocused=!0;let r=i.target,o=a=>{if(t.current.isFocused=!1,r.disabled){let c=a9(a);n(c)}t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};r.addEventListener("focusout",o,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&r.disabled){var a;(a=t.current.observer)===null||a===void 0||a.disconnect();let c=r===document.activeElement?null:document.activeElement;r.dispatchEvent(new FocusEvent("blur",{relatedTarget:c})),r.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:c}))}}),t.current.observer.observe(r,{attributes:!0,attributeFilter:["disabled"]})}},[n])}let aq=!1,Jc=null,Dg=new Set,ic=new Map,Zo=!1,Ng=!1;const lq={Tab:!0,Escape:!0};function dv(e,t){for(let n of Dg)n(e,t)}function cq(e){return!(e.metaKey||!rq()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function v0(e){Zo=!0,cq(e)&&(Jc="keyboard",dv("keyboard",e))}function pa(e){Jc="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(Zo=!0,dv("pointer",e))}function c9(e){oq(e)&&(Zo=!0,Jc="virtual")}function f9(e){e.target===window||e.target===document||aq||!e.isTrusted||(!Zo&&!Ng&&(Jc="virtual",dv("virtual",e)),Zo=!1,Ng=!1)}function d9(){Zo=!1,Ng=!0}function Og(e){if(typeof window>"u"||ic.get(Po(e)))return;const t=Po(e),n=co(e);let i=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){Zo=!0,i.apply(this,arguments)},n.addEventListener("keydown",v0,!0),n.addEventListener("keyup",v0,!0),n.addEventListener("click",c9,!0),t.addEventListener("focus",f9,!0),t.addEventListener("blur",d9,!1),typeof PointerEvent<"u"&&(n.addEventListener("pointerdown",pa,!0),n.addEventListener("pointermove",pa,!0),n.addEventListener("pointerup",pa,!0)),t.addEventListener("beforeunload",()=>{h9(e)},{once:!0}),ic.set(t,{focus:i})}const h9=(e,t)=>{const n=Po(e),i=co(e);t&&i.removeEventListener("DOMContentLoaded",t),ic.has(n)&&(n.HTMLElement.prototype.focus=ic.get(n).focus,i.removeEventListener("keydown",v0,!0),i.removeEventListener("keyup",v0,!0),i.removeEventListener("click",c9,!0),n.removeEventListener("focus",f9,!0),n.removeEventListener("blur",d9,!1),typeof PointerEvent<"u"&&(i.removeEventListener("pointerdown",pa,!0),i.removeEventListener("pointermove",pa,!0),i.removeEventListener("pointerup",pa,!0)),ic.delete(n))};function fq(e){const t=co(e);let n;return t.readyState!=="loading"?Og(e):(n=()=>{Og(e)},t.addEventListener("DOMContentLoaded",n)),()=>h9(e,n)}typeof document<"u"&&fq();function p9(){return Jc!=="pointer"}const dq=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function hq(e,t,n){let i=co(n==null?void 0:n.target);const r=typeof window<"u"?Po(n==null?void 0:n.target).HTMLInputElement:HTMLInputElement,o=typeof window<"u"?Po(n==null?void 0:n.target).HTMLTextAreaElement:HTMLTextAreaElement,a=typeof window<"u"?Po(n==null?void 0:n.target).HTMLElement:HTMLElement,c=typeof window<"u"?Po(n==null?void 0:n.target).KeyboardEvent:KeyboardEvent;return e=e||i.activeElement instanceof r&&!dq.has(i.activeElement.type)||i.activeElement instanceof o||i.activeElement instanceof a&&i.activeElement.isContentEditable,!(e&&t==="keyboard"&&n instanceof c&&!lq[n.key])}function pq(e,t,n){Og(),x.useEffect(()=>{let i=(r,o)=>{hq(!!(n!=null&&n.isTextInput),r,o)&&e(p9())};return Dg.add(i),()=>{Dg.delete(i)}},t)}function mq(e){let{isDisabled:t,onFocus:n,onBlur:i,onFocusChange:r}=e;const o=x.useCallback(f=>{if(f.target===f.currentTarget)return i&&i(f),r&&r(!1),!0},[i,r]),a=l9(o),c=x.useCallback(f=>{const h=co(f.target),p=h?wg(h):wg();f.target===f.currentTarget&&p===u9(f.nativeEvent)&&(n&&n(f),r&&r(!0),a(f))},[r,n,a]);return{focusProps:{onFocus:!t&&(n||r||i)?c:void 0,onBlur:!t&&(i||r)?o:void 0}}}function gq(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:i,onFocusWithinChange:r}=e,o=x.useRef({isFocusWithin:!1}),{addGlobalListener:a,removeAllGlobalListeners:c}=s9(),f=x.useCallback(g=>{g.currentTarget.contains(g.target)&&o.current.isFocusWithin&&!g.currentTarget.contains(g.relatedTarget)&&(o.current.isFocusWithin=!1,c(),n&&n(g),r&&r(!1))},[n,r,o,c]),h=l9(f),p=x.useCallback(g=>{if(!g.currentTarget.contains(g.target))return;const y=co(g.target),v=wg(y);if(!o.current.isFocusWithin&&v===u9(g.nativeEvent)){i&&i(g),r&&r(!0),o.current.isFocusWithin=!0,h(g);let E=g.currentTarget;a(y,"focus",T=>{if(o.current.isFocusWithin&&!r9(E,T.target)){let S=new y.defaultView.FocusEvent("blur",{relatedTarget:T.target});sq(S,E);let A=a9(S);f(A)}},{capture:!0})}},[i,r,h,a,f]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:p,onBlur:f}}}let Rg=!1,rm=0;function vq(){Rg=!0,setTimeout(()=>{Rg=!1},50)}function q4(e){e.pointerType==="touch"&&vq()}function yq(){if(!(typeof document>"u"))return typeof PointerEvent<"u"&&document.addEventListener("pointerup",q4),rm++,()=>{rm--,!(rm>0)&&typeof PointerEvent<"u"&&document.removeEventListener("pointerup",q4)}}function m9(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:i,isDisabled:r}=e,[o,a]=x.useState(!1),c=x.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;x.useEffect(yq,[]);let{addGlobalListener:f,removeAllGlobalListeners:h}=s9(),{hoverProps:p,triggerHoverEnd:g}=x.useMemo(()=>{let y=(T,S)=>{if(c.pointerType=S,r||S==="touch"||c.isHovered||!T.currentTarget.contains(T.target))return;c.isHovered=!0;let A=T.currentTarget;c.target=A,f(co(T.target),"pointerover",D=>{c.isHovered&&c.target&&!r9(c.target,D.target)&&v(D,D.pointerType)},{capture:!0}),t&&t({type:"hoverstart",target:A,pointerType:S}),n&&n(!0),a(!0)},v=(T,S)=>{let A=c.target;c.pointerType="",c.target=null,!(S==="touch"||!c.isHovered||!A)&&(c.isHovered=!1,h(),i&&i({type:"hoverend",target:A,pointerType:S}),n&&n(!1),a(!1))},E={};return typeof PointerEvent<"u"&&(E.onPointerEnter=T=>{Rg&&T.pointerType==="mouse"||y(T,T.pointerType)},E.onPointerLeave=T=>{!r&&T.currentTarget.contains(T.target)&&v(T,T.pointerType)}),{hoverProps:E,triggerHoverEnd:v}},[t,n,i,r,c,f,h]);return x.useEffect(()=>{r&&g({currentTarget:c.target},c.pointerType)},[r]),{hoverProps:p,isHovered:o}}function g9(e={}){let{autoFocus:t=!1,isTextInput:n,within:i}=e,r=x.useRef({isFocused:!1,isFocusVisible:t||p9()}),[o,a]=x.useState(!1),[c,f]=x.useState(()=>r.current.isFocused&&r.current.isFocusVisible),h=x.useCallback(()=>f(r.current.isFocused&&r.current.isFocusVisible),[]),p=x.useCallback(v=>{r.current.isFocused=v,a(v),h()},[h]);pq(v=>{r.current.isFocusVisible=v,h()},[],{isTextInput:n});let{focusProps:g}=mq({isDisabled:i,onFocusChange:p}),{focusWithinProps:y}=gq({isDisabled:!i,onFocusWithinChange:p});return{isFocused:o,isFocusVisible:c,focusProps:i?y:g}}var bq=Object.defineProperty,xq=(e,t,n)=>t in e?bq(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,um=(e,t,n)=>(xq(e,typeof t!="symbol"?t+"":t,n),n);let Eq=class{constructor(){um(this,"current",this.detect()),um(this,"handoffState","pending"),um(this,"currentId",0)}set(t){this.current!==t&&(this.handoffState="pending",this.currentId=0,this.current=t)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}handoff(){this.handoffState==="pending"&&(this.handoffState="complete")}get isHandoffComplete(){return this.handoffState==="complete"}},Ho=new Eq;function ef(e){var t,n;return Ho.isServer?null:e?"ownerDocument"in e?e.ownerDocument:"current"in e?(n=(t=e.current)==null?void 0:t.ownerDocument)!=null?n:document:null:document}function v9(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function vu(){let e=[],t={addEventListener(n,i,r,o){return n.addEventListener(i,r,o),t.add(()=>n.removeEventListener(i,r,o))},requestAnimationFrame(...n){let i=requestAnimationFrame(...n);return t.add(()=>cancelAnimationFrame(i))},nextFrame(...n){return t.requestAnimationFrame(()=>t.requestAnimationFrame(...n))},setTimeout(...n){let i=setTimeout(...n);return t.add(()=>clearTimeout(i))},microTask(...n){let i={current:!0};return v9(()=>{i.current&&n[0]()}),t.add(()=>{i.current=!1})},style(n,i,r){let o=n.style.getPropertyValue(i);return Object.assign(n.style,{[i]:r}),this.add(()=>{Object.assign(n.style,{[i]:o})})},group(n){let i=vu();return n(i),this.add(()=>i.dispose())},add(n){return e.includes(n)||e.push(n),()=>{let i=e.indexOf(n);if(i>=0)for(let r of e.splice(i,1))r()}},dispose(){for(let n of e.splice(0))n()}};return t}function tf(){let[e]=x.useState(vu);return x.useEffect(()=>()=>e.dispose(),[e]),e}let Rt=(e,t)=>{Ho.isServer?x.useEffect(e,t):x.useLayoutEffect(e,t)};function os(e){let t=x.useRef(e);return Rt(()=>{t.current=e},[e]),t}let ze=function(e){let t=os(e);return ke.useCallback((...n)=>t.current(...n),[t])};function Tq(e){let t=e.width/2,n=e.height/2;return{top:e.clientY-n,right:e.clientX+t,bottom:e.clientY+n,left:e.clientX-t}}function Sq(e,t){return!(!e||!t||e.right<t.left||e.left>t.right||e.bottom<t.top||e.top>t.bottom)}function _q({disabled:e=!1}={}){let t=x.useRef(null),[n,i]=x.useState(!1),r=tf(),o=ze(()=>{t.current=null,i(!1),r.dispose()}),a=ze(c=>{if(r.dispose(),t.current===null){t.current=c.currentTarget,i(!0);{let f=ef(c.currentTarget);r.addEventListener(f,"pointerup",o,!1),r.addEventListener(f,"pointermove",h=>{if(t.current){let p=Tq(h);i(Sq(p,t.current.getBoundingClientRect()))}},!1),r.addEventListener(f,"pointercancel",o,!1)}}});return{pressed:n,pressProps:e?{}:{onPointerDown:a,onPointerUp:o,onClick:o}}}let Cq=x.createContext(void 0);function hv(){return x.useContext(Cq)}function G4(...e){return Array.from(new Set(e.flatMap(t=>typeof t=="string"?t.split(" "):[]))).filter(Boolean).join(" ")}function gu(e,t,...n){if(e in t){let r=t[e];return typeof r=="function"?r(...n):r}let i=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(r=>`"${r}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(i,gu),i}var Mg=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(Mg||{}),Aq=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(Aq||{});function Ji(){let e=Dq();return x.useCallback(t=>wq({mergeRefs:e,...t}),[e])}function wq({ourProps:e,theirProps:t,slot:n,defaultTag:i,features:r,visible:o=!0,name:a,mergeRefs:c}){c=c??Nq;let f=y9(t,e);if(o)return Md(f,n,i,a,c);let h=r??0;if(h&2){let{static:p=!1,...g}=f;if(p)return Md(g,n,i,a,c)}if(h&1){let{unmount:p=!0,...g}=f;return gu(p?0:1,{0(){return null},1(){return Md({...g,hidden:!0,style:{display:"none"}},n,i,a,c)}})}return Md(f,n,i,a,c)}function Md(e,t={},n,i,r){let{as:o=n,children:a,refName:c="ref",...f}=om(e,["unmount","static"]),h=e.ref!==void 0?{[c]:e.ref}:{},p=typeof a=="function"?a(t):a;"className"in f&&f.className&&typeof f.className=="function"&&(f.className=f.className(t)),f["aria-labelledby"]&&f["aria-labelledby"]===f.id&&(f["aria-labelledby"]=void 0);let g={};if(t){let y=!1,v=[];for(let[E,T]of Object.entries(t))typeof T=="boolean"&&(y=!0),T===!0&&v.push(E.replace(/([A-Z])/g,S=>`-${S.toLowerCase()}`));if(y){g["data-headlessui-state"]=v.join(" ");for(let E of v)g[`data-${E}`]=""}}if(o===x.Fragment&&(Object.keys(Mo(f)).length>0||Object.keys(Mo(g)).length>0))if(!x.isValidElement(p)||Array.isArray(p)&&p.length>1){if(Object.keys(Mo(f)).length>0)throw new Error(['Passing props on "Fragment"!',"",`The current component <${i} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(Mo(f)).concat(Object.keys(Mo(g))).map(y=>` - ${y}`).join(`
|
|
360
360
|
`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(y=>` - ${y}`).join(`
|
|
361
361
|
`)].join(`
|
|
362
|
-
`))}else{let y=p.props,v=y==null?void 0:y.className,E=typeof v=="function"?(...A)=>G4(v(...A),f.className):G4(v,f.className),T=E?{className:E}:{},S=y9(p.props,Mo(
|
|
362
|
+
`))}else{let y=p.props,v=y==null?void 0:y.className,E=typeof v=="function"?(...A)=>G4(v(...A),f.className):G4(v,f.className),T=E?{className:E}:{},S=y9(p.props,Mo(om(f,["ref"])));for(let A in g)A in S&&delete g[A];return x.cloneElement(p,Object.assign({},S,g,h,{ref:r(Oq(p),h.ref)},T))}return x.createElement(o,Object.assign({},om(f,["ref"]),o!==x.Fragment&&h,o!==x.Fragment&&g),p)}function Dq(){let e=x.useRef([]),t=x.useCallback(n=>{for(let i of e.current)i!=null&&(typeof i=="function"?i(n):i.current=n)},[]);return(...n)=>{if(!n.every(i=>i==null))return e.current=n,t}}function Nq(...e){return e.every(t=>t==null)?void 0:t=>{for(let n of e)n!=null&&(typeof n=="function"?n(t):n.current=t)}}function y9(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let i of e)for(let r in i)r.startsWith("on")&&typeof i[r]=="function"?(n[r]!=null||(n[r]=[]),n[r].push(i[r])):t[r]=i[r];if(t.disabled||t["aria-disabled"])for(let i in n)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(i)&&(n[i]=[r=>{var o;return(o=r==null?void 0:r.preventDefault)==null?void 0:o.call(r)}]);for(let i in n)Object.assign(t,{[i](r,...o){let a=n[i];for(let c of a){if((r instanceof Event||(r==null?void 0:r.nativeEvent)instanceof Event)&&r.defaultPrevented)return;c(r,...o)}}});return t}function pv(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let i of e)for(let r in i)r.startsWith("on")&&typeof i[r]=="function"?(n[r]!=null||(n[r]=[]),n[r].push(i[r])):t[r]=i[r];for(let i in n)Object.assign(t,{[i](...r){let o=n[i];for(let a of o)a==null||a(...r)}});return t}function er(e){var t;return Object.assign(x.forwardRef(e),{displayName:(t=e.displayName)!=null?t:e.name})}function Mo(e){let t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function om(e,t=[]){let n=Object.assign({},e);for(let i of t)i in n&&delete n[i];return n}function Oq(e){return ke.version.split(".")[0]>="19"?e.props.ref:e.ref}function Rq(e,t,n){let[i,r]=x.useState(n),o=e!==void 0,a=x.useRef(o),c=x.useRef(!1),f=x.useRef(!1);return o&&!a.current&&!c.current?(c.current=!0,a.current=o,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")):!o&&a.current&&!f.current&&(f.current=!0,a.current=o,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")),[o?e:i,ze(h=>(o||r(h),t==null?void 0:t(h)))]}function Mq(e){let[t]=x.useState(e);return t}function b9(e={},t=null,n=[]){for(let[i,r]of Object.entries(e))E9(n,x9(t,i),r);return n}function x9(e,t){return e?e+"["+t+"]":t}function E9(e,t,n){if(Array.isArray(n))for(let[i,r]of n.entries())E9(e,x9(t,i.toString()),r);else n instanceof Date?e.push([t,n.toISOString()]):typeof n=="boolean"?e.push([t,n?"1":"0"]):typeof n=="string"?e.push([t,n]):typeof n=="number"?e.push([t,`${n}`]):n==null?e.push([t,""]):b9(n,t,e)}let kq="span";var mv=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(mv||{});function Lq(e,t){var n;let{features:i=1,...r}=e,o={ref:t,"aria-hidden":(i&2)===2?!0:(n=r["aria-hidden"])!=null?n:void 0,hidden:(i&4)===4?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(i&4)===4&&(i&2)!==2&&{display:"none"}}};return Ji()({ourProps:o,theirProps:r,slot:{},defaultTag:kq,name:"Hidden"})}let T9=er(Lq),Iq=x.createContext(null);function Fq({children:e}){let t=x.useContext(Iq);if(!t)return ke.createElement(ke.Fragment,null,e);let{target:n}=t;return n?On.createPortal(ke.createElement(ke.Fragment,null,e),n):null}function jq({data:e,form:t,disabled:n,onReset:i,overrides:r}){let[o,a]=x.useState(null),c=tf();return x.useEffect(()=>{if(i&&o)return c.addEventListener(o,"reset",i)},[o,t,i]),ke.createElement(Fq,null,ke.createElement(Pq,{setForm:a,formId:t}),b9(e).map(([f,h])=>ke.createElement(T9,{features:mv.Hidden,...Mo({key:f,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:t,disabled:n,name:f,value:h,...r})})))}function Pq({setForm:e,formId:t}){return x.useEffect(()=>{if(t){let n=document.getElementById(t);n&&e(n)}},[e,t]),t?null:ke.createElement(T9,{features:mv.Hidden,as:"input",type:"hidden",hidden:!0,readOnly:!0,ref:n=>{if(!n)return;let i=n.closest("form");i&&e(i)}})}let Vq=x.createContext(void 0);function S9(){return x.useContext(Vq)}function Bq(e){let t=e.parentElement,n=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(n=t),t=t.parentElement;let i=(t==null?void 0:t.getAttribute("disabled"))==="";return i&&$q(n)?!1:i}function $q(e){if(!e)return!1;let t=e.previousElementSibling;for(;t!==null;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}let _9=Symbol();function Uq(e,t=!0){return Object.assign(e,{[_9]:t})}function yu(...e){let t=x.useRef(e);x.useEffect(()=>{t.current=e},[e]);let n=ze(i=>{for(let r of t.current)r!=null&&(typeof r=="function"?r(i):r.current=i)});return e.every(i=>i==null||(i==null?void 0:i[_9]))?void 0:n}let gv=x.createContext(null);gv.displayName="DescriptionContext";function C9(){let e=x.useContext(gv);if(e===null){let t=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,C9),t}return e}function zq(){var e,t;return(t=(e=x.useContext(gv))==null?void 0:e.value)!=null?t:void 0}let Hq="p";function qq(e,t){let n=x.useId(),i=hv(),{id:r=`headlessui-description-${n}`,...o}=e,a=C9(),c=yu(t);Rt(()=>a.register(r),[r,a.register]);let f=i||!1,h=x.useMemo(()=>({...a.slot,disabled:f}),[a.slot,f]),p={ref:c,...a.props,id:r};return Ji()({ourProps:p,theirProps:o,slot:h,defaultTag:Hq,name:a.name||"Description"})}let Gq=er(qq);Object.assign(Gq,{});var Dn=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(Dn||{});let J0=x.createContext(null);J0.displayName="LabelContext";function A9(){let e=x.useContext(J0);if(e===null){let t=new Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,A9),t}return e}function eh(e){var t,n,i;let r=(n=(t=x.useContext(J0))==null?void 0:t.value)!=null?n:void 0;return((i=e==null?void 0:e.length)!=null?i:0)>0?[r,...e].filter(Boolean).join(" "):r}function Yq({inherit:e=!1}={}){let t=eh(),[n,i]=x.useState([]),r=e?[t,...n].filter(Boolean):n;return[r.length>0?r.join(" "):void 0,x.useMemo(()=>function(o){let a=ze(f=>(i(h=>[...h,f]),()=>i(h=>{let p=h.slice(),g=p.indexOf(f);return g!==-1&&p.splice(g,1),p}))),c=x.useMemo(()=>({register:a,slot:o.slot,name:o.name,props:o.props,value:o.value}),[a,o.slot,o.name,o.props,o.value]);return ke.createElement(J0.Provider,{value:c},o.children)},[i])]}let Qq="label";function Xq(e,t){var n;let i=x.useId(),r=A9(),o=S9(),a=hv(),{id:c=`headlessui-label-${i}`,htmlFor:f=o??((n=r.props)==null?void 0:n.htmlFor),passive:h=!1,...p}=e,g=yu(t);Rt(()=>r.register(c),[c,r.register]);let y=ze(S=>{let A=S.currentTarget;if(A instanceof HTMLLabelElement&&S.preventDefault(),r.props&&"onClick"in r.props&&typeof r.props.onClick=="function"&&r.props.onClick(S),A instanceof HTMLLabelElement){let D=document.getElementById(A.htmlFor);if(D){let C=D.getAttribute("disabled");if(C==="true"||C==="")return;let N=D.getAttribute("aria-disabled");if(N==="true"||N==="")return;(D instanceof HTMLInputElement&&(D.type==="radio"||D.type==="checkbox")||D.role==="radio"||D.role==="checkbox"||D.role==="switch")&&D.click(),D.focus({preventScroll:!0})}}}),v=a||!1,E=x.useMemo(()=>({...r.slot,disabled:v}),[r.slot,v]),T={ref:g,...r.props,id:c,htmlFor:f,onClick:y};return h&&("onClick"in T&&(delete T.htmlFor,delete T.onClick),"onClick"in p&&delete p.onClick),Ji()({ourProps:T,theirProps:p,slot:E,defaultTag:f?Qq:"div",name:r.name||"Label"})}let Zq=er(Xq),Wq=Object.assign(Zq,{});function Js(e,t,n){let i=n.initialDeps??[],r;function o(){var a,c,f,h;let p;n.key&&((a=n.debug)!=null&&a.call(n))&&(p=Date.now());const g=e();if(!(g.length!==i.length||g.some((E,T)=>i[T]!==E)))return r;i=g;let v;if(n.key&&((c=n.debug)!=null&&c.call(n))&&(v=Date.now()),r=t(...g),n.key&&((f=n.debug)!=null&&f.call(n))){const E=Math.round((Date.now()-p)*100)/100,T=Math.round((Date.now()-v)*100)/100,S=T/16,A=(D,C)=>{for(D=String(D);D.length<C;)D=" "+D;return D};console.info(`%c⏱ ${A(T,5)} /${A(E,5)} ms`,`
|
|
363
363
|
font-size: .6rem;
|
|
364
364
|
font-weight: bold;
|
|
365
|
-
color: hsl(${Math.max(0,Math.min(120-120*S,120))}deg 100% 31%);`,n==null?void 0:n.key)}return(h=n==null?void 0:n.onChange)==null||h.call(n,r),r}return o.updateDeps=a=>{i=a},o}function om(e,t){if(e===void 0)throw new Error("Unexpected undefined");return e}const Kq=(e,t)=>Math.abs(e-t)<=1,Jq=(e,t,n)=>{let i;return function(...r){e.clearTimeout(i),i=e.setTimeout(()=>t.apply(this,r),n)}},Y4=e=>{const{offsetWidth:t,offsetHeight:n}=e;return{width:t,height:n}},eG=e=>e,tG=e=>{const t=Math.max(e.startIndex-e.overscan,0),n=Math.min(e.endIndex+e.overscan,e.count-1),i=[];for(let r=t;r<=n;r++)i.push(r);return i},nG=(e,t)=>{const n=e.scrollElement;if(!n)return;const i=e.targetWindow;if(!i)return;const r=a=>{const{width:c,height:f}=a;t({width:Math.round(c),height:Math.round(f)})};if(r(Y4(n)),!i.ResizeObserver)return()=>{};const o=new i.ResizeObserver(a=>{const c=()=>{const f=a[0];if(f!=null&&f.borderBoxSize){const h=f.borderBoxSize[0];if(h){r({width:h.inlineSize,height:h.blockSize});return}}r(Y4(n))};e.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(c):c()});return o.observe(n,{box:"border-box"}),()=>{o.unobserve(n)}},Q4={passive:!0},X4=typeof window>"u"?!0:"onscrollend"in window,iG=(e,t)=>{const n=e.scrollElement;if(!n)return;const i=e.targetWindow;if(!i)return;let r=0;const o=e.options.useScrollendEvent&&X4?()=>{}:Jq(i,()=>{t(r,!1)},e.options.isScrollingResetDelay),a=p=>()=>{const{horizontal:g,isRtl:y}=e.options;r=g?n.scrollLeft*(y&&-1||1):n.scrollTop,o(),t(r,p)},c=a(!0),f=a(!1);f(),n.addEventListener("scroll",c,Q4);const h=e.options.useScrollendEvent&&X4;return h&&n.addEventListener("scrollend",f,Q4),()=>{n.removeEventListener("scroll",c),h&&n.removeEventListener("scrollend",f)}},rG=(e,t,n)=>{if(t!=null&&t.borderBoxSize){const i=t.borderBoxSize[0];if(i)return Math.round(i[n.options.horizontal?"inlineSize":"blockSize"])}return e[n.options.horizontal?"offsetWidth":"offsetHeight"]},uG=(e,{adjustments:t=0,behavior:n},i)=>{var r,o;const a=e+t;(o=(r=i.scrollElement)==null?void 0:r.scrollTo)==null||o.call(r,{[i.options.horizontal?"left":"top"]:a,behavior:n})};class oG{constructor(t){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.scrollToIndexTimeoutId=null,this.measurementsCache=[],this.itemSizeCache=new Map,this.pendingMeasuredCacheIndexes=[],this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this.elementsCache=new Map,this.observer=(()=>{let n=null;const i=()=>n||(!this.targetWindow||!this.targetWindow.ResizeObserver?null:n=new this.targetWindow.ResizeObserver(r=>{r.forEach(o=>{const a=()=>{this._measureElement(o.target,o)};this.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(a):a()})}));return{disconnect:()=>{var r;(r=i())==null||r.disconnect(),n=null},observe:r=>{var o;return(o=i())==null?void 0:o.observe(r,{box:"border-box"})},unobserve:r=>{var o;return(o=i())==null?void 0:o.unobserve(r)}}})(),this.range=null,this.setOptions=n=>{Object.entries(n).forEach(([i,r])=>{typeof r>"u"&&delete n[i]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:eG,rangeExtractor:tG,onChange:()=>{},measureElement:rG,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,...n}},this.notify=n=>{var i,r;(r=(i=this.options).onChange)==null||r.call(i,this,n)},this.maybeNotify=Js(()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]),n=>{this.notify(n)},{key:!1,debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>{this.unsubs.filter(Boolean).forEach(n=>n()),this.unsubs=[],this.observer.disconnect(),this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var n;const i=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==i){if(this.cleanup(),!i){this.maybeNotify();return}this.scrollElement=i,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=((n=this.scrollElement)==null?void 0:n.window)??null,this.elementsCache.forEach(r=>{this.observer.observe(r)}),this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0}),this.unsubs.push(this.options.observeElementRect(this,r=>{this.scrollRect=r,this.maybeNotify()})),this.unsubs.push(this.options.observeElementOffset(this,(r,o)=>{this.scrollAdjustments=0,this.scrollDirection=o?this.getScrollOffset()<r?"forward":"backward":null,this.scrollOffset=r,this.isScrolling=o,this.maybeNotify()}))}},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??(typeof this.options.initialOffset=="function"?this.options.initialOffset():this.options.initialOffset),this.scrollOffset):(this.scrollOffset=null,0),this.getFurthestMeasurement=(n,i)=>{const r=new Map,o=new Map;for(let a=i-1;a>=0;a--){const c=n[a];if(r.has(c.lane))continue;const f=o.get(c.lane);if(f==null||c.end>f.end?o.set(c.lane,c):c.end<f.end&&r.set(c.lane,!0),r.size===this.options.lanes)break}return o.size===this.options.lanes?Array.from(o.values()).sort((a,c)=>a.end===c.end?a.index-c.index:a.end-c.end)[0]:void 0},this.getMeasurementOptions=Js(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled],(n,i,r,o,a)=>(this.pendingMeasuredCacheIndexes=[],{count:n,paddingStart:i,scrollMargin:r,getItemKey:o,enabled:a}),{key:!1}),this.getMeasurements=Js(()=>[this.getMeasurementOptions(),this.itemSizeCache],({count:n,paddingStart:i,scrollMargin:r,getItemKey:o,enabled:a},c)=>{if(!a)return this.measurementsCache=[],this.itemSizeCache.clear(),[];this.measurementsCache.length===0&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(p=>{this.itemSizeCache.set(p.key,p.size)}));const f=this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[];const h=this.measurementsCache.slice(0,f);for(let p=f;p<n;p++){const g=o(p),y=this.options.lanes===1?h[p-1]:this.getFurthestMeasurement(h,p),v=y?y.end+this.options.gap:i+r,E=c.get(g),T=typeof E=="number"?E:this.options.estimateSize(p),S=v+T,A=y?y.lane:p%this.options.lanes;h[p]={index:p,start:v,size:T,end:S,key:g,lane:A}}return this.measurementsCache=h,h},{key:!1,debug:()=>this.options.debug}),this.calculateRange=Js(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset(),this.options.lanes],(n,i,r,o)=>this.range=n.length>0&&i>0?sG({measurements:n,outerSize:i,scrollOffset:r,lanes:o}):null,{key:!1,debug:()=>this.options.debug}),this.getVirtualIndexes=Js(()=>{let n=null,i=null;const r=this.calculateRange();return r&&(n=r.startIndex,i=r.endIndex),this.maybeNotify.updateDeps([this.isScrolling,n,i]),[this.options.rangeExtractor,this.options.overscan,this.options.count,n,i]},(n,i,r,o,a)=>o===null||a===null?[]:n({startIndex:o,endIndex:a,overscan:i,count:r}),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=n=>{const i=this.options.indexAttribute,r=n.getAttribute(i);return r?parseInt(r,10):(console.warn(`Missing attribute name '${i}={index}' on measured element.`),-1)},this._measureElement=(n,i)=>{const r=this.indexFromElement(n),o=this.measurementsCache[r];if(!o)return;const a=o.key,c=this.elementsCache.get(a);c!==n&&(c&&this.observer.unobserve(c),this.observer.observe(n),this.elementsCache.set(a,n)),n.isConnected&&this.resizeItem(r,this.options.measureElement(n,i,this))},this.resizeItem=(n,i)=>{const r=this.measurementsCache[n];if(!r)return;const o=this.itemSizeCache.get(r.key)??r.size,a=i-o;a!==0&&((this.shouldAdjustScrollPositionOnItemSizeChange!==void 0?this.shouldAdjustScrollPositionOnItemSizeChange(r,a,this):r.start<this.getScrollOffset()+this.scrollAdjustments)&&this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=a,behavior:void 0}),this.pendingMeasuredCacheIndexes.push(r.index),this.itemSizeCache=new Map(this.itemSizeCache.set(r.key,i)),this.notify(!1))},this.measureElement=n=>{if(!n){this.elementsCache.forEach((i,r)=>{i.isConnected||(this.observer.unobserve(i),this.elementsCache.delete(r))});return}this._measureElement(n,void 0)},this.getVirtualItems=Js(()=>[this.getVirtualIndexes(),this.getMeasurements()],(n,i)=>{const r=[];for(let o=0,a=n.length;o<a;o++){const c=n[o],f=i[c];r.push(f)}return r},{key:!1,debug:()=>this.options.debug}),this.getVirtualItemForOffset=n=>{const i=this.getMeasurements();if(i.length!==0)return om(i[w9(0,i.length-1,r=>om(i[r]).start,n)])},this.getOffsetForAlignment=(n,i,r=0)=>{const o=this.getSize(),a=this.getScrollOffset();i==="auto"&&(i=n>=a+o?"end":"start"),i==="center"?n+=(r-o)/2:i==="end"&&(n-=o);const c=this.getTotalSize()-o;return Math.max(Math.min(c,n),0)},this.getOffsetForIndex=(n,i="auto")=>{n=Math.max(0,Math.min(n,this.options.count-1));const r=this.measurementsCache[n];if(!r)return;const o=this.getSize(),a=this.getScrollOffset();if(i==="auto")if(r.end>=a+o-this.options.scrollPaddingEnd)i="end";else if(r.start<=a+this.options.scrollPaddingStart)i="start";else return[a,i];const c=i==="end"?r.end+this.options.scrollPaddingEnd:r.start-this.options.scrollPaddingStart;return[this.getOffsetForAlignment(c,i,r.size),i]},this.isDynamicMode=()=>this.elementsCache.size>0,this.cancelScrollToIndex=()=>{this.scrollToIndexTimeoutId!==null&&this.targetWindow&&(this.targetWindow.clearTimeout(this.scrollToIndexTimeoutId),this.scrollToIndexTimeoutId=null)},this.scrollToOffset=(n,{align:i="start",behavior:r}={})=>{this.cancelScrollToIndex(),r==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getOffsetForAlignment(n,i),{adjustments:void 0,behavior:r})},this.scrollToIndex=(n,{align:i="auto",behavior:r}={})=>{n=Math.max(0,Math.min(n,this.options.count-1)),this.cancelScrollToIndex(),r==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size.");const o=this.getOffsetForIndex(n,i);if(!o)return;const[a,c]=o;this._scrollToOffset(a,{adjustments:void 0,behavior:r}),r!=="smooth"&&this.isDynamicMode()&&this.targetWindow&&(this.scrollToIndexTimeoutId=this.targetWindow.setTimeout(()=>{if(this.scrollToIndexTimeoutId=null,this.elementsCache.has(this.options.getItemKey(n))){const[h]=om(this.getOffsetForIndex(n,c)),p=this.getScrollOffset();Kq(h,p)||this.scrollToIndex(n,{align:c,behavior:r})}else this.scrollToIndex(n,{align:c,behavior:r})}))},this.scrollBy=(n,{behavior:i}={})=>{this.cancelScrollToIndex(),i==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getScrollOffset()+n,{adjustments:void 0,behavior:i})},this.getTotalSize=()=>{var n;const i=this.getMeasurements();let r;if(i.length===0)r=this.options.paddingStart;else if(this.options.lanes===1)r=((n=i[i.length-1])==null?void 0:n.end)??0;else{const o=Array(this.options.lanes).fill(null);let a=i.length-1;for(;a>=0&&o.some(c=>c===null);){const c=i[a];o[c.lane]===null&&(o[c.lane]=c.end),a--}r=Math.max(...o.filter(c=>c!==null))}return Math.max(r-this.options.scrollMargin+this.options.paddingEnd,0)},this._scrollToOffset=(n,{adjustments:i,behavior:r})=>{this.options.scrollToFn(n,{behavior:r,adjustments:i},this)},this.measure=()=>{this.itemSizeCache=new Map,this.notify(!1)},this.setOptions(t)}}const w9=(e,t,n,i)=>{for(;e<=t;){const r=(e+t)/2|0,o=n(r);if(o<i)e=r+1;else if(o>i)t=r-1;else return r}return e>0?e-1:0};function sG({measurements:e,outerSize:t,scrollOffset:n,lanes:i}){const r=e.length-1,o=f=>e[f].start;if(e.length<=i)return{startIndex:0,endIndex:r};let a=w9(0,r,o,n),c=a;if(i===1)for(;c<r&&e[c].end<n+t;)c++;else if(i>1){const f=Array(i).fill(0);for(;c<r&&f.some(p=>p<n+t);){const p=e[c];f[p.lane]=p.end,c++}const h=Array(i).fill(n+t);for(;a>=0&&h.some(p=>p>=n);){const p=e[a];h[p.lane]=p.start,a--}a=Math.max(0,a-a%i),c=Math.min(r,c+(i-1-c%i))}return{startIndex:a,endIndex:c}}const Z4=typeof document<"u"?x.useLayoutEffect:x.useEffect;function aG(e){const t=x.useReducer(()=>({}),{})[1],n={...e,onChange:(r,o)=>{var a;o?On.flushSync(t):t(),(a=e.onChange)==null||a.call(e,r,o)}},[i]=x.useState(()=>new oG(n));return i.setOptions(n),Z4(()=>i._didMount(),[]),Z4(()=>i._willUpdate()),i}function lG(e){return aG({observeElementRect:nG,observeElementOffset:iG,scrollToFn:uG,...e})}function cG(e,t){return e!==null&&t!==null&&typeof e=="object"&&typeof t=="object"&&"id"in e&&"id"in t?e.id===t.id:e===t}function fG(e=cG){return x.useCallback((t,n)=>{if(typeof e=="string"){let i=e;return(t==null?void 0:t[i])===(n==null?void 0:n[i])}return e(t,n)},[e])}function dG(e){if(e===null)return{width:0,height:0};let{width:t,height:n}=e.getBoundingClientRect();return{width:t,height:n}}function W4(e,t=!1){let[n,i]=x.useReducer(()=>({}),{}),r=x.useMemo(()=>dG(e),[e,n]);return Rt(()=>{if(!e)return;let o=new ResizeObserver(i);return o.observe(e),()=>{o.disconnect()}},[e]),t?{width:`${r.width}px`,height:`${r.height}px`}:r}let D9=class extends Map{constructor(t){super(),this.factory=t}get(t){let n=super.get(t);return n===void 0&&(n=this.factory(t),this.set(t,n)),n}};function N9(e,t){let n=e(),i=new Set;return{getSnapshot(){return n},subscribe(r){return i.add(r),()=>i.delete(r)},dispatch(r,...o){let a=t[r].call(n,...o);a&&(n=a,i.forEach(c=>c()))}}}function O9(e){return x.useSyncExternalStore(e.subscribe,e.getSnapshot,e.getSnapshot)}let hG=new D9(()=>N9(()=>[],{ADD(e){return this.includes(e)?this:[...this,e]},REMOVE(e){let t=this.indexOf(e);if(t===-1)return this;let n=this.slice();return n.splice(t,1),n}}));function vv(e,t){let n=hG.get(t),i=x.useId(),r=O9(n);if(Rt(()=>{if(e)return n.dispatch("ADD",i),()=>n.dispatch("REMOVE",i)},[n,e]),!e)return!1;let o=r.indexOf(i),a=r.length;return o===-1&&(o=a,a+=1),o===a-1}let Mg=new Map,rc=new Map;function K4(e){var t;let n=(t=rc.get(e))!=null?t:0;return rc.set(e,n+1),n!==0?()=>J4(e):(Mg.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),e.setAttribute("aria-hidden","true"),e.inert=!0,()=>J4(e))}function J4(e){var t;let n=(t=rc.get(e))!=null?t:1;if(n===1?rc.delete(e):rc.set(e,n-1),n!==1)return;let i=Mg.get(e);i&&(i["aria-hidden"]===null?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",i["aria-hidden"]),e.inert=i.inert,Mg.delete(e))}function pG(e,{allowed:t,disallowed:n}={}){let i=vv(e,"inert-others");Rt(()=>{var r,o;if(!i)return;let a=vu();for(let f of(r=n==null?void 0:n())!=null?r:[])f&&a.add(K4(f));let c=(o=t==null?void 0:t())!=null?o:[];for(let f of c){if(!f)continue;let h=ef(f);if(!h)continue;let p=f.parentElement;for(;p&&p!==h.body;){for(let g of p.children)c.some(y=>g.contains(y))||a.add(K4(g));p=p.parentElement}}return a.dispose},[i,t,n])}function mG(e,t,n){let i=os(r=>{let o=r.getBoundingClientRect();o.x===0&&o.y===0&&o.width===0&&o.height===0&&n()});x.useEffect(()=>{if(!e)return;let r=t===null?null:t instanceof HTMLElement?t:t.current;if(!r)return;let o=vu();if(typeof ResizeObserver<"u"){let a=new ResizeObserver(()=>i.current(r));a.observe(r),o.add(()=>a.disconnect())}if(typeof IntersectionObserver<"u"){let a=new IntersectionObserver(()=>i.current(r));a.observe(r),o.add(()=>a.disconnect())}return()=>o.dispose()},[t,i,e])}let kg=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var gG=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e[e.AutoFocus=64]="AutoFocus",e))(gG||{}),vG=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(vG||{}),yG=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(yG||{}),R9=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(R9||{});function bG(e,t=0){var n;return e===((n=ef(e))==null?void 0:n.body)?!1:gu(t,{0(){return e.matches(kg)},1(){let i=e;for(;i!==null;){if(i.matches(kg))return!0;i=i.parentElement}return!1}})}var xG=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(xG||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function EG(e,t=n=>n){return e.slice().sort((n,i)=>{let r=t(n),o=t(i);if(r===null||o===null)return 0;let a=r.compareDocumentPosition(o);return a&Node.DOCUMENT_POSITION_FOLLOWING?-1:a&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function M9(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function TG(){return/Android/gi.test(window.navigator.userAgent)}function k9(){return M9()||TG()}function $l(e,t,n,i){let r=os(n);x.useEffect(()=>{if(!e)return;function o(a){r.current(a)}return document.addEventListener(t,o,i),()=>document.removeEventListener(t,o,i)},[e,t,i])}function SG(e,t,n,i){let r=os(n);x.useEffect(()=>{if(!e)return;function o(a){r.current(a)}return window.addEventListener(t,o,i),()=>window.removeEventListener(t,o,i)},[e,t,i])}const e5=30;function _G(e,t,n){let i=vv(e,"outside-click"),r=os(n),o=x.useCallback(function(f,h){if(f.defaultPrevented)return;let p=h(f);if(p===null||!p.getRootNode().contains(p)||!p.isConnected)return;let g=function y(v){return typeof v=="function"?y(v()):Array.isArray(v)||v instanceof Set?v:[v]}(t);for(let y of g)if(y!==null&&(y.contains(p)||f.composed&&f.composedPath().includes(y)))return;return!bG(p,R9.Loose)&&p.tabIndex!==-1&&f.preventDefault(),r.current(f,p)},[r,t]),a=x.useRef(null);$l(i,"pointerdown",f=>{var h,p;a.current=((p=(h=f.composedPath)==null?void 0:h.call(f))==null?void 0:p[0])||f.target},!0),$l(i,"mousedown",f=>{var h,p;a.current=((p=(h=f.composedPath)==null?void 0:h.call(f))==null?void 0:p[0])||f.target},!0),$l(i,"click",f=>{k9()||a.current&&(o(f,()=>a.current),a.current=null)},!0);let c=x.useRef({x:0,y:0});$l(i,"touchstart",f=>{c.current.x=f.touches[0].clientX,c.current.y=f.touches[0].clientY},!0),$l(i,"touchend",f=>{let h={x:f.changedTouches[0].clientX,y:f.changedTouches[0].clientY};if(!(Math.abs(h.x-c.current.x)>=e5||Math.abs(h.y-c.current.y)>=e5))return o(f,()=>f.target instanceof HTMLElement?f.target:null)},!0),SG(i,"blur",f=>o(f,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function y0(...e){return x.useMemo(()=>ef(...e),[...e])}function CG(e,t,n,i){let r=os(n);x.useEffect(()=>{e=e??window;function o(a){r.current(a)}return e.addEventListener(t,o,i),()=>e.removeEventListener(t,o,i)},[e,t,i])}function L9(e){let t=x.useRef({value:"",selectionStart:null,selectionEnd:null});return CG(e,"blur",n=>{let i=n.target;i instanceof HTMLInputElement&&(t.current={value:i.value,selectionStart:i.selectionStart,selectionEnd:i.selectionEnd})}),ze(()=>{if(document.activeElement!==e&&e instanceof HTMLInputElement&&e.isConnected){if(e.focus({preventScroll:!0}),e.value!==t.current.value)e.setSelectionRange(e.value.length,e.value.length);else{let{selectionStart:n,selectionEnd:i}=t.current;n!==null&&i!==null&&e.setSelectionRange(n,i)}t.current={value:"",selectionStart:null,selectionEnd:null}}})}function AG(e,t){return x.useMemo(()=>{var n;if(e.type)return e.type;let i=(n=e.as)!=null?n:"button";if(typeof i=="string"&&i.toLowerCase()==="button"||(t==null?void 0:t.tagName)==="BUTTON"&&!t.hasAttribute("type"))return"button"},[e.type,e.as,t])}function wG(){let e;return{before({doc:t}){var n;let i=t.documentElement,r=(n=t.defaultView)!=null?n:window;e=Math.max(0,r.innerWidth-i.clientWidth)},after({doc:t,d:n}){let i=t.documentElement,r=Math.max(0,i.clientWidth-i.offsetWidth),o=Math.max(0,e-r);n.style(i,"paddingRight",`${o}px`)}}}function DG(){return M9()?{before({doc:e,d:t,meta:n}){function i(r){return n.containers.flatMap(o=>o()).some(o=>o.contains(r))}t.microTask(()=>{var r;if(window.getComputedStyle(e.documentElement).scrollBehavior!=="auto"){let c=vu();c.style(e.documentElement,"scrollBehavior","auto"),t.add(()=>t.microTask(()=>c.dispose()))}let o=(r=window.scrollY)!=null?r:window.pageYOffset,a=null;t.addEventListener(e,"click",c=>{if(c.target instanceof HTMLElement)try{let f=c.target.closest("a");if(!f)return;let{hash:h}=new URL(f.href),p=e.querySelector(h);p&&!i(p)&&(a=p)}catch{}},!0),t.addEventListener(e,"touchstart",c=>{if(c.target instanceof HTMLElement)if(i(c.target)){let f=c.target;for(;f.parentElement&&i(f.parentElement);)f=f.parentElement;t.style(f,"overscrollBehavior","contain")}else t.style(c.target,"touchAction","none")}),t.addEventListener(e,"touchmove",c=>{if(c.target instanceof HTMLElement){if(c.target.tagName==="INPUT")return;if(i(c.target)){let f=c.target;for(;f.parentElement&&f.dataset.headlessuiPortal!==""&&!(f.scrollHeight>f.clientHeight||f.scrollWidth>f.clientWidth);)f=f.parentElement;f.dataset.headlessuiPortal===""&&c.preventDefault()}else c.preventDefault()}},{passive:!1}),t.add(()=>{var c;let f=(c=window.scrollY)!=null?c:window.pageYOffset;o!==f&&window.scrollTo(0,o),a&&a.isConnected&&(a.scrollIntoView({block:"nearest"}),a=null)})})}}:{}}function NG(){return{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}}function OG(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let Vo=N9(()=>new Map,{PUSH(e,t){var n;let i=(n=this.get(e))!=null?n:{doc:e,count:0,d:vu(),meta:new Set};return i.count++,i.meta.add(t),this.set(e,i),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:n}){let i={doc:e,d:t,meta:OG(n)},r=[DG(),wG(),NG()];r.forEach(({before:o})=>o==null?void 0:o(i)),r.forEach(({after:o})=>o==null?void 0:o(i))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});Vo.subscribe(()=>{let e=Vo.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let i=t.get(n.doc)==="hidden",r=n.count!==0;(r&&!i||!r&&i)&&Vo.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),n.count===0&&Vo.dispatch("TEARDOWN",n)}});function RG(e,t,n=()=>({containers:[]})){let i=O9(Vo),r=t?i.get(t):void 0,o=r?r.count>0:!1;return Rt(()=>{if(!(!t||!e))return Vo.dispatch("PUSH",t,n),()=>Vo.dispatch("POP",t,n)},[e,t]),o}function MG(e,t,n=()=>[document.body]){let i=vv(e,"scroll-lock");RG(i,t,r=>{var o;return{containers:[...(o=r.containers)!=null?o:[],n]}})}function t5(e){return[e.screenX,e.screenY]}function kG(){let e=x.useRef([-1,-1]);return{wasMoved(t){let n=t5(t);return e.current[0]===n[0]&&e.current[1]===n[1]?!1:(e.current=n,!0)},update(t){e.current=t5(t)}}}function LG(e=0){let[t,n]=x.useState(e),i=x.useCallback(f=>n(f),[t]),r=x.useCallback(f=>n(h=>h|f),[t]),o=x.useCallback(f=>(t&f)===f,[t]),a=x.useCallback(f=>n(h=>h&~f),[n]),c=x.useCallback(f=>n(h=>h^f),[n]);return{flags:t,setFlag:i,addFlag:r,hasFlag:o,removeFlag:a,toggleFlag:c}}var IG={},n5,i5;typeof process<"u"&&typeof globalThis<"u"&&typeof Element<"u"&&((n5=process==null?void 0:IG)==null?void 0:n5.NODE_ENV)==="test"&&typeof((i5=Element==null?void 0:Element.prototype)==null?void 0:i5.getAnimations)>"u"&&(Element.prototype.getAnimations=function(){return console.warn(["Headless UI has polyfilled `Element.prototype.getAnimations` for your tests.","Please install a proper polyfill e.g. `jsdom-testing-mocks`, to silence these warnings.","","Example usage:","```js","import { mockAnimationsApi } from 'jsdom-testing-mocks'","mockAnimationsApi()","```"].join(`
|
|
366
|
-
`)),[]});var FG=(e=>(e[e.None=0]="None",e[e.Closed=1]="Closed",e[e.Enter=2]="Enter",e[e.Leave=4]="Leave",e))(FG||{});function jG(e){let t={};for(let n in e)e[n]===!0&&(t[`data-${n}`]="");return t}function PG(e,t,n,i){let[r,o]=x.useState(n),{hasFlag:a,addFlag:c,removeFlag:f}=LG(e&&r?3:0),h=x.useRef(!1),p=x.useRef(!1),g=tf();return Rt(()=>{var y;if(e){if(n&&o(!0),!t){n&&c(3);return}return(y=void 0)==null||y.call(i,n),VG(t,{inFlight:h,prepare(){p.current?p.current=!1:p.current=h.current,h.current=!0,!p.current&&(n?(c(3),f(4)):(c(4),f(2)))},run(){p.current?n?(f(3),c(4)):(f(4),c(3)):n?f(1):c(1)},done(){var v;p.current&&typeof t.getAnimations=="function"&&t.getAnimations().length>0||(h.current=!1,f(7),n||o(!1),(v=void 0)==null||v.call(i,n))}})}},[e,n,t,g]),e?[r,{closed:a(1),enter:a(2),leave:a(4),transition:a(2)||a(4)}]:[n,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}function VG(e,{prepare:t,run:n,done:i,inFlight:r}){let o=vu();return $G(e,{prepare:t,inFlight:r}),o.nextFrame(()=>{n(),o.requestAnimationFrame(()=>{o.add(BG(e,i))})}),o.dispose}function BG(e,t){var n,i;let r=vu();if(!e)return r.dispose;let o=!1;r.add(()=>{o=!0});let a=(i=(n=e.getAnimations)==null?void 0:n.call(e).filter(c=>c instanceof CSSTransition))!=null?i:[];return a.length===0?(t(),r.dispose):(Promise.allSettled(a.map(c=>c.finished)).then(()=>{o||t()}),r.dispose)}function $G(e,{inFlight:t,prepare:n}){if(t!=null&&t.current){n();return}let i=e.style.transition;e.style.transition="none",n(),e.offsetHeight,e.style.transition=i}function UG(e,{container:t,accept:n,walk:i}){let r=x.useRef(n),o=x.useRef(i);x.useEffect(()=>{r.current=n,o.current=i},[n,i]),Rt(()=>{if(!t||!e)return;let a=ef(t);if(!a)return;let c=r.current,f=o.current,h=Object.assign(g=>c(g),{acceptNode:c}),p=a.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,h,!1);for(;p.nextNode();)f(p.currentNode)},[t,e,r,o])}function r5(e,t){let n=x.useRef([]),i=ze(e);x.useEffect(()=>{let r=[...n.current];for(let[o,a]of t.entries())if(n.current[o]!==a){let c=i(t,r);return n.current=t,c}},[i,...t])}function zG(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(t=>{let{brand:n,version:i}=t;return n+"/"+i}).join(" "):navigator.userAgent}const I9={...uc},HG=I9.useInsertionEffect,qG=HG||(e=>e());function F9(e){const t=x.useRef(()=>{});return qG(()=>{t.current=e}),x.useCallback(function(){for(var n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return t.current==null?void 0:t.current(...i)},[])}var Lg=typeof document<"u"?x.useLayoutEffect:x.useEffect;let u5=!1,GG=0;const o5=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+GG++;function YG(){const[e,t]=x.useState(()=>u5?o5():void 0);return Lg(()=>{e==null&&t(o5())},[]),x.useEffect(()=>{u5=!0},[]),e}const QG=I9.useId,XG=QG||YG;function ZG(){const e=new Map;return{emit(t,n){var i;(i=e.get(t))==null||i.forEach(r=>r(n))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var i;e.set(t,((i=e.get(t))==null?void 0:i.filter(r=>r!==n))||[])}}}const WG=x.createContext(null),KG=x.createContext(null),JG=()=>{var e;return((e=x.useContext(WG))==null?void 0:e.id)||null},eY=()=>x.useContext(KG),tY="data-floating-ui-focusable";function nY(e){const{open:t=!1,onOpenChange:n,elements:i}=e,r=XG(),o=x.useRef({}),[a]=x.useState(()=>ZG()),c=JG()!=null,[f,h]=x.useState(i.reference),p=F9((v,E,T)=>{o.current.openEvent=v?E:void 0,a.emit("openchange",{open:v,event:E,reason:T,nested:c}),n==null||n(v,E,T)}),g=x.useMemo(()=>({setPositionReference:h}),[]),y=x.useMemo(()=>({reference:f||i.reference||null,floating:i.floating||null,domReference:i.reference}),[f,i.reference,i.floating]);return x.useMemo(()=>({dataRef:o,open:t,onOpenChange:p,elements:y,events:a,floatingId:r,refs:g}),[t,p,y,a,r,g])}function iY(e){e===void 0&&(e={});const{nodeId:t}=e,n=nY({...e,elements:{reference:null,floating:null,...e.elements}}),i=e.rootContext||n,r=i.elements,[o,a]=x.useState(null),[c,f]=x.useState(null),p=(r==null?void 0:r.domReference)||o,g=x.useRef(null),y=eY();Lg(()=>{p&&(g.current=p)},[p]);const v=i_({...e,elements:{...r,...c&&{reference:c}}}),E=x.useCallback(C=>{const N=Rn(C)?{getBoundingClientRect:()=>C.getBoundingClientRect(),contextElement:C}:C;f(N),v.refs.setReference(N)},[v.refs]),T=x.useCallback(C=>{(Rn(C)||C===null)&&(g.current=C,a(C)),(Rn(v.refs.reference.current)||v.refs.reference.current===null||C!==null&&!Rn(C))&&v.refs.setReference(C)},[v.refs]),S=x.useMemo(()=>({...v.refs,setReference:T,setPositionReference:E,domReference:g}),[v.refs,T,E]),A=x.useMemo(()=>({...v.elements,domReference:p}),[v.elements,p]),D=x.useMemo(()=>({...v,...i,refs:S,elements:A,nodeId:t}),[v,S,A,t,i]);return Lg(()=>{i.dataRef.current.floatingContext=D;const C=y==null?void 0:y.nodesRef.current.find(N=>N.id===t);C&&(C.context=D)}),x.useMemo(()=>({...v,context:D,refs:S,elements:A}),[v,S,A,D])}const s5="active",a5="selected";function sm(e,t,n){const i=new Map,r=n==="item";let o=e;if(r&&e){const{[s5]:a,[a5]:c,...f}=e;o=f}return{...n==="floating"&&{tabIndex:-1,[tY]:""},...o,...t.map(a=>{const c=a?a[n]:null;return typeof c=="function"?e?c(e):null:c}).concat(e).reduce((a,c)=>(c&&Object.entries(c).forEach(f=>{let[h,p]=f;if(!(r&&[s5,a5].includes(h)))if(h.indexOf("on")===0){if(i.has(h)||i.set(h,[]),typeof p=="function"){var g;(g=i.get(h))==null||g.push(p),a[h]=function(){for(var y,v=arguments.length,E=new Array(v),T=0;T<v;T++)E[T]=arguments[T];return(y=i.get(h))==null?void 0:y.map(S=>S(...E)).find(S=>S!==void 0)}}}else a[h]=p}),a),{})}}function rY(e){e===void 0&&(e=[]);const t=e.map(c=>c==null?void 0:c.reference),n=e.map(c=>c==null?void 0:c.floating),i=e.map(c=>c==null?void 0:c.item),r=x.useCallback(c=>sm(c,e,"reference"),t),o=x.useCallback(c=>sm(c,e,"floating"),n),a=x.useCallback(c=>sm(c,e,"item"),i);return x.useMemo(()=>({getReferenceProps:r,getFloatingProps:o,getItemProps:a}),[r,o,a])}function l5(e,t){return{...e,rects:{...e.rects,floating:{...e.rects.floating,height:t}}}}const uY=e=>({name:"inner",options:e,async fn(t){const{listRef:n,overflowRef:i,onFallbackChange:r,offset:o=0,index:a=0,minItemsVisible:c=4,referenceOverflowThreshold:f=0,scrollRef:h,...p}=_r(e,t),{rects:g,elements:{floating:y}}=t,v=n.current[a],E=(h==null?void 0:h.current)||y,T=y.clientTop||E.clientTop,S=y.clientTop!==0,A=E.clientTop!==0,D=y===E;if(!v)return{};const C={...t,...await x2(-v.offsetTop-y.clientTop-g.reference.height/2-v.offsetHeight/2-o).fn(t)},N=await $1(l5(C,E.scrollHeight+T+y.clientTop),p),O=await $1(C,{...p,elementContext:"reference"}),k=_n(0,N.top),I=C.y+k,B=(E.scrollHeight>E.clientHeight?z=>z:xc)(_n(0,E.scrollHeight+(S&&D||A?T*2:0)-k-_n(0,N.bottom)));if(E.style.maxHeight=B+"px",E.scrollTop=k,r){const z=E.offsetHeight<v.offsetHeight*fu(c,n.current.length)-1||O.top>=-f||O.bottom>=-f;On.flushSync(()=>r(z))}return i&&(i.current=await $1(l5({...C,y:I},E.offsetHeight+T+y.clientTop),p)),{y:I}}});function oY(e,t){const{open:n,elements:i}=e,{enabled:r=!0,overflowRef:o,scrollRef:a,onChange:c}=t,f=F9(c),h=x.useRef(!1),p=x.useRef(null),g=x.useRef(null);x.useEffect(()=>{if(!r)return;function v(T){if(T.ctrlKey||!E||o.current==null)return;const S=T.deltaY,A=o.current.top>=-.5,D=o.current.bottom>=-.5,C=E.scrollHeight-E.clientHeight,N=S<0?-1:1,O=S<0?"max":"min";E.scrollHeight<=E.clientHeight||(!A&&S>0||!D&&S<0?(T.preventDefault(),On.flushSync(()=>{f(k=>k+Math[O](S,C*N))})):/firefox/i.test(zG())&&(E.scrollTop+=S))}const E=(a==null?void 0:a.current)||i.floating;if(n&&E)return E.addEventListener("wheel",v),requestAnimationFrame(()=>{p.current=E.scrollTop,o.current!=null&&(g.current={...o.current})}),()=>{p.current=null,g.current=null,E.removeEventListener("wheel",v)}},[r,n,i.floating,o,a,f]);const y=x.useMemo(()=>({onKeyDown(){h.current=!0},onWheel(){h.current=!1},onPointerMove(){h.current=!1},onScroll(){const v=(a==null?void 0:a.current)||i.floating;if(!(!o.current||!v||!h.current)){if(p.current!==null){const E=v.scrollTop-p.current;(o.current.bottom<-.5&&E<-1||o.current.top<-.5&&E>1)&&On.flushSync(()=>f(T=>T+E))}requestAnimationFrame(()=>{p.current=v.scrollTop})}}}),[i.floating,f,o,a]);return x.useMemo(()=>r?{floating:y}:{},[r,y])}let nf=x.createContext({styles:void 0,setReference:()=>{},setFloating:()=>{},getReferenceProps:()=>({}),getFloatingProps:()=>({}),slot:{}});nf.displayName="FloatingContext";let yv=x.createContext(null);yv.displayName="PlacementContext";function sY(e){return x.useMemo(()=>e?typeof e=="string"?{to:e}:e:null,[e])}function aY(){return x.useContext(nf).setReference}function lY(){let{getFloatingProps:e,slot:t}=x.useContext(nf);return x.useCallback((...n)=>Object.assign({},e(...n),{"data-anchor":t.anchor}),[e,t])}function cY(e=null){e===!1&&(e=null),typeof e=="string"&&(e={to:e});let t=x.useContext(yv),n=x.useMemo(()=>e,[JSON.stringify(e,(r,o)=>{var a;return(a=o==null?void 0:o.outerHTML)!=null?a:o})]);Rt(()=>{t==null||t(n??null)},[t,n]);let i=x.useContext(nf);return x.useMemo(()=>[i.setFloating,e?i.styles:{}],[i.setFloating,e,i.styles])}let c5=4;function fY({children:e,enabled:t=!0}){let[n,i]=x.useState(null),[r,o]=x.useState(0),a=x.useRef(null),[c,f]=x.useState(null);dY(c);let h=t&&n!==null&&c!==null,{to:p="bottom",gap:g=0,offset:y=0,padding:v=0,inner:E}=hY(n,c),[T,S="center"]=p.split(" ");Rt(()=>{h&&o(0)},[h]);let{refs:A,floatingStyles:D,context:C}=iY({open:h,placement:T==="selection"?S==="center"?"bottom":`bottom-${S}`:S==="center"?`${T}`:`${T}-${S}`,strategy:"absolute",transform:!1,middleware:[x2({mainAxis:T==="selection"?0:g,crossAxis:y}),r_({padding:v}),T!=="selection"&&u_({padding:v}),T==="selection"&&E?uY({...E,padding:v,overflowRef:a,offset:r,minItemsVisible:c5,referenceOverflowThreshold:v,onFallbackChange(z){var te,re;if(!z)return;let fe=C.elements.floating;if(!fe)return;let X=parseFloat(getComputedStyle(fe).scrollPaddingBottom)||0,F=Math.min(c5,fe.childElementCount),H=0,$=0;for(let V of(re=(te=C.elements.floating)==null?void 0:te.childNodes)!=null?re:[])if(V instanceof HTMLElement){let M=V.offsetTop,q=M+V.clientHeight+X,ie=fe.scrollTop,ne=ie+fe.clientHeight;if(M>=ie&&q<=ne)F--;else{$=Math.max(0,Math.min(q,ne)-Math.max(M,ie)),H=V.clientHeight;break}}F>=1&&o(V=>{let M=H*F-$+X;return V>=M?V:M})}}):null,o_({padding:v,apply({availableWidth:z,availableHeight:te,elements:re}){Object.assign(re.floating.style,{overflow:"auto",maxWidth:`${z}px`,maxHeight:`min(var(--anchor-max-height, 100vh), ${te}px)`})}})].filter(Boolean),whileElementsMounted:t_}),[N=T,O=S]=C.placement.split("-");T==="selection"&&(N="selection");let k=x.useMemo(()=>({anchor:[N,O].filter(Boolean).join(" ")}),[N,O]),I=oY(C,{overflowRef:a,onChange:o}),{getReferenceProps:P,getFloatingProps:L}=rY([I]),B=ze(z=>{f(z),A.setFloating(z)});return x.createElement(yv.Provider,{value:i},x.createElement(nf.Provider,{value:{setFloating:B,setReference:A.setReference,styles:D,getReferenceProps:P,getFloatingProps:L,slot:k}},e))}function dY(e){Rt(()=>{if(!e)return;let t=new MutationObserver(()=>{let n=window.getComputedStyle(e).maxHeight,i=parseFloat(n);if(isNaN(i))return;let r=parseInt(n);isNaN(r)||i!==r&&(e.style.maxHeight=`${Math.ceil(i)}px`)});return t.observe(e,{attributes:!0,attributeFilter:["style"]}),()=>{t.disconnect()}},[e])}function hY(e,t){var n,i,r;let o=am((n=e==null?void 0:e.gap)!=null?n:"var(--anchor-gap, 0)",t),a=am((i=e==null?void 0:e.offset)!=null?i:"var(--anchor-offset, 0)",t),c=am((r=e==null?void 0:e.padding)!=null?r:"var(--anchor-padding, 0)",t);return{...e,gap:o,offset:a,padding:c}}function am(e,t,n=void 0){let i=tf(),r=ze((f,h)=>{if(f==null)return[n,null];if(typeof f=="number")return[f,null];if(typeof f=="string"){if(!h)return[n,null];let p=f5(f,h);return[p,g=>{let y=j9(f);{let v=y.map(E=>window.getComputedStyle(h).getPropertyValue(E));i.requestAnimationFrame(function E(){i.nextFrame(E);let T=!1;for(let[A,D]of y.entries()){let C=window.getComputedStyle(h).getPropertyValue(D);if(v[A]!==C){v[A]=C,T=!0;break}}if(!T)return;let S=f5(f,h);p!==S&&(g(S),p=S)})}return i.dispose}]}return[n,null]}),o=x.useMemo(()=>r(e,t)[0],[e,t]),[a=o,c]=x.useState();return Rt(()=>{let[f,h]=r(e,t);if(c(f),!!h)return h(c)},[e,t]),a}function j9(e){let t=/var\((.*)\)/.exec(e);if(t){let n=t[1].indexOf(",");if(n===-1)return[t[1]];let i=t[1].slice(0,n).trim(),r=t[1].slice(n+1).trim();return r?[i,...j9(r)]:[i]}return[]}function f5(e,t){let n=document.createElement("div");t.appendChild(n),n.style.setProperty("margin-top","0px","important"),n.style.setProperty("margin-top",e,"important");let i=parseFloat(window.getComputedStyle(n).marginTop)||0;return t.removeChild(n),i}function pY({children:e,freeze:t}){let n=Ig(t,e);return ke.createElement(ke.Fragment,null,n)}function Ig(e,t){let[n,i]=x.useState(t);return!e&&n!==t&&i(t),e?n:t}let bv=x.createContext(null);bv.displayName="OpenClosedContext";var Mc=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(Mc||{});function mY(){return x.useContext(bv)}function gY({value:e,children:t}){return ke.createElement(bv.Provider,{value:e},t)}var lm={exports:{}},cm={};/**
|
|
365
|
+
color: hsl(${Math.max(0,Math.min(120-120*S,120))}deg 100% 31%);`,n==null?void 0:n.key)}return(h=n==null?void 0:n.onChange)==null||h.call(n,r),r}return o.updateDeps=a=>{i=a},o}function sm(e,t){if(e===void 0)throw new Error("Unexpected undefined");return e}const Kq=(e,t)=>Math.abs(e-t)<=1,Jq=(e,t,n)=>{let i;return function(...r){e.clearTimeout(i),i=e.setTimeout(()=>t.apply(this,r),n)}},Y4=e=>{const{offsetWidth:t,offsetHeight:n}=e;return{width:t,height:n}},eG=e=>e,tG=e=>{const t=Math.max(e.startIndex-e.overscan,0),n=Math.min(e.endIndex+e.overscan,e.count-1),i=[];for(let r=t;r<=n;r++)i.push(r);return i},nG=(e,t)=>{const n=e.scrollElement;if(!n)return;const i=e.targetWindow;if(!i)return;const r=a=>{const{width:c,height:f}=a;t({width:Math.round(c),height:Math.round(f)})};if(r(Y4(n)),!i.ResizeObserver)return()=>{};const o=new i.ResizeObserver(a=>{const c=()=>{const f=a[0];if(f!=null&&f.borderBoxSize){const h=f.borderBoxSize[0];if(h){r({width:h.inlineSize,height:h.blockSize});return}}r(Y4(n))};e.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(c):c()});return o.observe(n,{box:"border-box"}),()=>{o.unobserve(n)}},Q4={passive:!0},X4=typeof window>"u"?!0:"onscrollend"in window,iG=(e,t)=>{const n=e.scrollElement;if(!n)return;const i=e.targetWindow;if(!i)return;let r=0;const o=e.options.useScrollendEvent&&X4?()=>{}:Jq(i,()=>{t(r,!1)},e.options.isScrollingResetDelay),a=p=>()=>{const{horizontal:g,isRtl:y}=e.options;r=g?n.scrollLeft*(y&&-1||1):n.scrollTop,o(),t(r,p)},c=a(!0),f=a(!1);f(),n.addEventListener("scroll",c,Q4);const h=e.options.useScrollendEvent&&X4;return h&&n.addEventListener("scrollend",f,Q4),()=>{n.removeEventListener("scroll",c),h&&n.removeEventListener("scrollend",f)}},rG=(e,t,n)=>{if(t!=null&&t.borderBoxSize){const i=t.borderBoxSize[0];if(i)return Math.round(i[n.options.horizontal?"inlineSize":"blockSize"])}return e[n.options.horizontal?"offsetWidth":"offsetHeight"]},uG=(e,{adjustments:t=0,behavior:n},i)=>{var r,o;const a=e+t;(o=(r=i.scrollElement)==null?void 0:r.scrollTo)==null||o.call(r,{[i.options.horizontal?"left":"top"]:a,behavior:n})};class oG{constructor(t){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.scrollToIndexTimeoutId=null,this.measurementsCache=[],this.itemSizeCache=new Map,this.pendingMeasuredCacheIndexes=[],this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this.elementsCache=new Map,this.observer=(()=>{let n=null;const i=()=>n||(!this.targetWindow||!this.targetWindow.ResizeObserver?null:n=new this.targetWindow.ResizeObserver(r=>{r.forEach(o=>{const a=()=>{this._measureElement(o.target,o)};this.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(a):a()})}));return{disconnect:()=>{var r;(r=i())==null||r.disconnect(),n=null},observe:r=>{var o;return(o=i())==null?void 0:o.observe(r,{box:"border-box"})},unobserve:r=>{var o;return(o=i())==null?void 0:o.unobserve(r)}}})(),this.range=null,this.setOptions=n=>{Object.entries(n).forEach(([i,r])=>{typeof r>"u"&&delete n[i]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:eG,rangeExtractor:tG,onChange:()=>{},measureElement:rG,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,...n}},this.notify=n=>{var i,r;(r=(i=this.options).onChange)==null||r.call(i,this,n)},this.maybeNotify=Js(()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]),n=>{this.notify(n)},{key:!1,debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>{this.unsubs.filter(Boolean).forEach(n=>n()),this.unsubs=[],this.observer.disconnect(),this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var n;const i=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==i){if(this.cleanup(),!i){this.maybeNotify();return}this.scrollElement=i,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=((n=this.scrollElement)==null?void 0:n.window)??null,this.elementsCache.forEach(r=>{this.observer.observe(r)}),this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0}),this.unsubs.push(this.options.observeElementRect(this,r=>{this.scrollRect=r,this.maybeNotify()})),this.unsubs.push(this.options.observeElementOffset(this,(r,o)=>{this.scrollAdjustments=0,this.scrollDirection=o?this.getScrollOffset()<r?"forward":"backward":null,this.scrollOffset=r,this.isScrolling=o,this.maybeNotify()}))}},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??(typeof this.options.initialOffset=="function"?this.options.initialOffset():this.options.initialOffset),this.scrollOffset):(this.scrollOffset=null,0),this.getFurthestMeasurement=(n,i)=>{const r=new Map,o=new Map;for(let a=i-1;a>=0;a--){const c=n[a];if(r.has(c.lane))continue;const f=o.get(c.lane);if(f==null||c.end>f.end?o.set(c.lane,c):c.end<f.end&&r.set(c.lane,!0),r.size===this.options.lanes)break}return o.size===this.options.lanes?Array.from(o.values()).sort((a,c)=>a.end===c.end?a.index-c.index:a.end-c.end)[0]:void 0},this.getMeasurementOptions=Js(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled],(n,i,r,o,a)=>(this.pendingMeasuredCacheIndexes=[],{count:n,paddingStart:i,scrollMargin:r,getItemKey:o,enabled:a}),{key:!1}),this.getMeasurements=Js(()=>[this.getMeasurementOptions(),this.itemSizeCache],({count:n,paddingStart:i,scrollMargin:r,getItemKey:o,enabled:a},c)=>{if(!a)return this.measurementsCache=[],this.itemSizeCache.clear(),[];this.measurementsCache.length===0&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(p=>{this.itemSizeCache.set(p.key,p.size)}));const f=this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[];const h=this.measurementsCache.slice(0,f);for(let p=f;p<n;p++){const g=o(p),y=this.options.lanes===1?h[p-1]:this.getFurthestMeasurement(h,p),v=y?y.end+this.options.gap:i+r,E=c.get(g),T=typeof E=="number"?E:this.options.estimateSize(p),S=v+T,A=y?y.lane:p%this.options.lanes;h[p]={index:p,start:v,size:T,end:S,key:g,lane:A}}return this.measurementsCache=h,h},{key:!1,debug:()=>this.options.debug}),this.calculateRange=Js(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset(),this.options.lanes],(n,i,r,o)=>this.range=n.length>0&&i>0?sG({measurements:n,outerSize:i,scrollOffset:r,lanes:o}):null,{key:!1,debug:()=>this.options.debug}),this.getVirtualIndexes=Js(()=>{let n=null,i=null;const r=this.calculateRange();return r&&(n=r.startIndex,i=r.endIndex),this.maybeNotify.updateDeps([this.isScrolling,n,i]),[this.options.rangeExtractor,this.options.overscan,this.options.count,n,i]},(n,i,r,o,a)=>o===null||a===null?[]:n({startIndex:o,endIndex:a,overscan:i,count:r}),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=n=>{const i=this.options.indexAttribute,r=n.getAttribute(i);return r?parseInt(r,10):(console.warn(`Missing attribute name '${i}={index}' on measured element.`),-1)},this._measureElement=(n,i)=>{const r=this.indexFromElement(n),o=this.measurementsCache[r];if(!o)return;const a=o.key,c=this.elementsCache.get(a);c!==n&&(c&&this.observer.unobserve(c),this.observer.observe(n),this.elementsCache.set(a,n)),n.isConnected&&this.resizeItem(r,this.options.measureElement(n,i,this))},this.resizeItem=(n,i)=>{const r=this.measurementsCache[n];if(!r)return;const o=this.itemSizeCache.get(r.key)??r.size,a=i-o;a!==0&&((this.shouldAdjustScrollPositionOnItemSizeChange!==void 0?this.shouldAdjustScrollPositionOnItemSizeChange(r,a,this):r.start<this.getScrollOffset()+this.scrollAdjustments)&&this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=a,behavior:void 0}),this.pendingMeasuredCacheIndexes.push(r.index),this.itemSizeCache=new Map(this.itemSizeCache.set(r.key,i)),this.notify(!1))},this.measureElement=n=>{if(!n){this.elementsCache.forEach((i,r)=>{i.isConnected||(this.observer.unobserve(i),this.elementsCache.delete(r))});return}this._measureElement(n,void 0)},this.getVirtualItems=Js(()=>[this.getVirtualIndexes(),this.getMeasurements()],(n,i)=>{const r=[];for(let o=0,a=n.length;o<a;o++){const c=n[o],f=i[c];r.push(f)}return r},{key:!1,debug:()=>this.options.debug}),this.getVirtualItemForOffset=n=>{const i=this.getMeasurements();if(i.length!==0)return sm(i[w9(0,i.length-1,r=>sm(i[r]).start,n)])},this.getOffsetForAlignment=(n,i,r=0)=>{const o=this.getSize(),a=this.getScrollOffset();i==="auto"&&(i=n>=a+o?"end":"start"),i==="center"?n+=(r-o)/2:i==="end"&&(n-=o);const c=this.getTotalSize()-o;return Math.max(Math.min(c,n),0)},this.getOffsetForIndex=(n,i="auto")=>{n=Math.max(0,Math.min(n,this.options.count-1));const r=this.measurementsCache[n];if(!r)return;const o=this.getSize(),a=this.getScrollOffset();if(i==="auto")if(r.end>=a+o-this.options.scrollPaddingEnd)i="end";else if(r.start<=a+this.options.scrollPaddingStart)i="start";else return[a,i];const c=i==="end"?r.end+this.options.scrollPaddingEnd:r.start-this.options.scrollPaddingStart;return[this.getOffsetForAlignment(c,i,r.size),i]},this.isDynamicMode=()=>this.elementsCache.size>0,this.cancelScrollToIndex=()=>{this.scrollToIndexTimeoutId!==null&&this.targetWindow&&(this.targetWindow.clearTimeout(this.scrollToIndexTimeoutId),this.scrollToIndexTimeoutId=null)},this.scrollToOffset=(n,{align:i="start",behavior:r}={})=>{this.cancelScrollToIndex(),r==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getOffsetForAlignment(n,i),{adjustments:void 0,behavior:r})},this.scrollToIndex=(n,{align:i="auto",behavior:r}={})=>{n=Math.max(0,Math.min(n,this.options.count-1)),this.cancelScrollToIndex(),r==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size.");const o=this.getOffsetForIndex(n,i);if(!o)return;const[a,c]=o;this._scrollToOffset(a,{adjustments:void 0,behavior:r}),r!=="smooth"&&this.isDynamicMode()&&this.targetWindow&&(this.scrollToIndexTimeoutId=this.targetWindow.setTimeout(()=>{if(this.scrollToIndexTimeoutId=null,this.elementsCache.has(this.options.getItemKey(n))){const[h]=sm(this.getOffsetForIndex(n,c)),p=this.getScrollOffset();Kq(h,p)||this.scrollToIndex(n,{align:c,behavior:r})}else this.scrollToIndex(n,{align:c,behavior:r})}))},this.scrollBy=(n,{behavior:i}={})=>{this.cancelScrollToIndex(),i==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getScrollOffset()+n,{adjustments:void 0,behavior:i})},this.getTotalSize=()=>{var n;const i=this.getMeasurements();let r;if(i.length===0)r=this.options.paddingStart;else if(this.options.lanes===1)r=((n=i[i.length-1])==null?void 0:n.end)??0;else{const o=Array(this.options.lanes).fill(null);let a=i.length-1;for(;a>=0&&o.some(c=>c===null);){const c=i[a];o[c.lane]===null&&(o[c.lane]=c.end),a--}r=Math.max(...o.filter(c=>c!==null))}return Math.max(r-this.options.scrollMargin+this.options.paddingEnd,0)},this._scrollToOffset=(n,{adjustments:i,behavior:r})=>{this.options.scrollToFn(n,{behavior:r,adjustments:i},this)},this.measure=()=>{this.itemSizeCache=new Map,this.notify(!1)},this.setOptions(t)}}const w9=(e,t,n,i)=>{for(;e<=t;){const r=(e+t)/2|0,o=n(r);if(o<i)e=r+1;else if(o>i)t=r-1;else return r}return e>0?e-1:0};function sG({measurements:e,outerSize:t,scrollOffset:n,lanes:i}){const r=e.length-1,o=f=>e[f].start;if(e.length<=i)return{startIndex:0,endIndex:r};let a=w9(0,r,o,n),c=a;if(i===1)for(;c<r&&e[c].end<n+t;)c++;else if(i>1){const f=Array(i).fill(0);for(;c<r&&f.some(p=>p<n+t);){const p=e[c];f[p.lane]=p.end,c++}const h=Array(i).fill(n+t);for(;a>=0&&h.some(p=>p>=n);){const p=e[a];h[p.lane]=p.start,a--}a=Math.max(0,a-a%i),c=Math.min(r,c+(i-1-c%i))}return{startIndex:a,endIndex:c}}const Z4=typeof document<"u"?x.useLayoutEffect:x.useEffect;function aG(e){const t=x.useReducer(()=>({}),{})[1],n={...e,onChange:(r,o)=>{var a;o?On.flushSync(t):t(),(a=e.onChange)==null||a.call(e,r,o)}},[i]=x.useState(()=>new oG(n));return i.setOptions(n),Z4(()=>i._didMount(),[]),Z4(()=>i._willUpdate()),i}function lG(e){return aG({observeElementRect:nG,observeElementOffset:iG,scrollToFn:uG,...e})}function cG(e,t){return e!==null&&t!==null&&typeof e=="object"&&typeof t=="object"&&"id"in e&&"id"in t?e.id===t.id:e===t}function fG(e=cG){return x.useCallback((t,n)=>{if(typeof e=="string"){let i=e;return(t==null?void 0:t[i])===(n==null?void 0:n[i])}return e(t,n)},[e])}function dG(e){if(e===null)return{width:0,height:0};let{width:t,height:n}=e.getBoundingClientRect();return{width:t,height:n}}function W4(e,t=!1){let[n,i]=x.useReducer(()=>({}),{}),r=x.useMemo(()=>dG(e),[e,n]);return Rt(()=>{if(!e)return;let o=new ResizeObserver(i);return o.observe(e),()=>{o.disconnect()}},[e]),t?{width:`${r.width}px`,height:`${r.height}px`}:r}let D9=class extends Map{constructor(t){super(),this.factory=t}get(t){let n=super.get(t);return n===void 0&&(n=this.factory(t),this.set(t,n)),n}};function N9(e,t){let n=e(),i=new Set;return{getSnapshot(){return n},subscribe(r){return i.add(r),()=>i.delete(r)},dispatch(r,...o){let a=t[r].call(n,...o);a&&(n=a,i.forEach(c=>c()))}}}function O9(e){return x.useSyncExternalStore(e.subscribe,e.getSnapshot,e.getSnapshot)}let hG=new D9(()=>N9(()=>[],{ADD(e){return this.includes(e)?this:[...this,e]},REMOVE(e){let t=this.indexOf(e);if(t===-1)return this;let n=this.slice();return n.splice(t,1),n}}));function vv(e,t){let n=hG.get(t),i=x.useId(),r=O9(n);if(Rt(()=>{if(e)return n.dispatch("ADD",i),()=>n.dispatch("REMOVE",i)},[n,e]),!e)return!1;let o=r.indexOf(i),a=r.length;return o===-1&&(o=a,a+=1),o===a-1}let kg=new Map,rc=new Map;function K4(e){var t;let n=(t=rc.get(e))!=null?t:0;return rc.set(e,n+1),n!==0?()=>J4(e):(kg.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),e.setAttribute("aria-hidden","true"),e.inert=!0,()=>J4(e))}function J4(e){var t;let n=(t=rc.get(e))!=null?t:1;if(n===1?rc.delete(e):rc.set(e,n-1),n!==1)return;let i=kg.get(e);i&&(i["aria-hidden"]===null?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",i["aria-hidden"]),e.inert=i.inert,kg.delete(e))}function pG(e,{allowed:t,disallowed:n}={}){let i=vv(e,"inert-others");Rt(()=>{var r,o;if(!i)return;let a=vu();for(let f of(r=n==null?void 0:n())!=null?r:[])f&&a.add(K4(f));let c=(o=t==null?void 0:t())!=null?o:[];for(let f of c){if(!f)continue;let h=ef(f);if(!h)continue;let p=f.parentElement;for(;p&&p!==h.body;){for(let g of p.children)c.some(y=>g.contains(y))||a.add(K4(g));p=p.parentElement}}return a.dispose},[i,t,n])}function mG(e,t,n){let i=os(r=>{let o=r.getBoundingClientRect();o.x===0&&o.y===0&&o.width===0&&o.height===0&&n()});x.useEffect(()=>{if(!e)return;let r=t===null?null:t instanceof HTMLElement?t:t.current;if(!r)return;let o=vu();if(typeof ResizeObserver<"u"){let a=new ResizeObserver(()=>i.current(r));a.observe(r),o.add(()=>a.disconnect())}if(typeof IntersectionObserver<"u"){let a=new IntersectionObserver(()=>i.current(r));a.observe(r),o.add(()=>a.disconnect())}return()=>o.dispose()},[t,i,e])}let Lg=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var gG=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e[e.AutoFocus=64]="AutoFocus",e))(gG||{}),vG=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(vG||{}),yG=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(yG||{}),R9=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(R9||{});function bG(e,t=0){var n;return e===((n=ef(e))==null?void 0:n.body)?!1:gu(t,{0(){return e.matches(Lg)},1(){let i=e;for(;i!==null;){if(i.matches(Lg))return!0;i=i.parentElement}return!1}})}var xG=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(xG||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function EG(e,t=n=>n){return e.slice().sort((n,i)=>{let r=t(n),o=t(i);if(r===null||o===null)return 0;let a=r.compareDocumentPosition(o);return a&Node.DOCUMENT_POSITION_FOLLOWING?-1:a&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function M9(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function TG(){return/Android/gi.test(window.navigator.userAgent)}function k9(){return M9()||TG()}function $l(e,t,n,i){let r=os(n);x.useEffect(()=>{if(!e)return;function o(a){r.current(a)}return document.addEventListener(t,o,i),()=>document.removeEventListener(t,o,i)},[e,t,i])}function SG(e,t,n,i){let r=os(n);x.useEffect(()=>{if(!e)return;function o(a){r.current(a)}return window.addEventListener(t,o,i),()=>window.removeEventListener(t,o,i)},[e,t,i])}const e5=30;function _G(e,t,n){let i=vv(e,"outside-click"),r=os(n),o=x.useCallback(function(f,h){if(f.defaultPrevented)return;let p=h(f);if(p===null||!p.getRootNode().contains(p)||!p.isConnected)return;let g=function y(v){return typeof v=="function"?y(v()):Array.isArray(v)||v instanceof Set?v:[v]}(t);for(let y of g)if(y!==null&&(y.contains(p)||f.composed&&f.composedPath().includes(y)))return;return!bG(p,R9.Loose)&&p.tabIndex!==-1&&f.preventDefault(),r.current(f,p)},[r,t]),a=x.useRef(null);$l(i,"pointerdown",f=>{var h,p;a.current=((p=(h=f.composedPath)==null?void 0:h.call(f))==null?void 0:p[0])||f.target},!0),$l(i,"mousedown",f=>{var h,p;a.current=((p=(h=f.composedPath)==null?void 0:h.call(f))==null?void 0:p[0])||f.target},!0),$l(i,"click",f=>{k9()||a.current&&(o(f,()=>a.current),a.current=null)},!0);let c=x.useRef({x:0,y:0});$l(i,"touchstart",f=>{c.current.x=f.touches[0].clientX,c.current.y=f.touches[0].clientY},!0),$l(i,"touchend",f=>{let h={x:f.changedTouches[0].clientX,y:f.changedTouches[0].clientY};if(!(Math.abs(h.x-c.current.x)>=e5||Math.abs(h.y-c.current.y)>=e5))return o(f,()=>f.target instanceof HTMLElement?f.target:null)},!0),SG(i,"blur",f=>o(f,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function y0(...e){return x.useMemo(()=>ef(...e),[...e])}function CG(e,t,n,i){let r=os(n);x.useEffect(()=>{e=e??window;function o(a){r.current(a)}return e.addEventListener(t,o,i),()=>e.removeEventListener(t,o,i)},[e,t,i])}function L9(e){let t=x.useRef({value:"",selectionStart:null,selectionEnd:null});return CG(e,"blur",n=>{let i=n.target;i instanceof HTMLInputElement&&(t.current={value:i.value,selectionStart:i.selectionStart,selectionEnd:i.selectionEnd})}),ze(()=>{if(document.activeElement!==e&&e instanceof HTMLInputElement&&e.isConnected){if(e.focus({preventScroll:!0}),e.value!==t.current.value)e.setSelectionRange(e.value.length,e.value.length);else{let{selectionStart:n,selectionEnd:i}=t.current;n!==null&&i!==null&&e.setSelectionRange(n,i)}t.current={value:"",selectionStart:null,selectionEnd:null}}})}function AG(e,t){return x.useMemo(()=>{var n;if(e.type)return e.type;let i=(n=e.as)!=null?n:"button";if(typeof i=="string"&&i.toLowerCase()==="button"||(t==null?void 0:t.tagName)==="BUTTON"&&!t.hasAttribute("type"))return"button"},[e.type,e.as,t])}function wG(){let e;return{before({doc:t}){var n;let i=t.documentElement,r=(n=t.defaultView)!=null?n:window;e=Math.max(0,r.innerWidth-i.clientWidth)},after({doc:t,d:n}){let i=t.documentElement,r=Math.max(0,i.clientWidth-i.offsetWidth),o=Math.max(0,e-r);n.style(i,"paddingRight",`${o}px`)}}}function DG(){return M9()?{before({doc:e,d:t,meta:n}){function i(r){return n.containers.flatMap(o=>o()).some(o=>o.contains(r))}t.microTask(()=>{var r;if(window.getComputedStyle(e.documentElement).scrollBehavior!=="auto"){let c=vu();c.style(e.documentElement,"scrollBehavior","auto"),t.add(()=>t.microTask(()=>c.dispose()))}let o=(r=window.scrollY)!=null?r:window.pageYOffset,a=null;t.addEventListener(e,"click",c=>{if(c.target instanceof HTMLElement)try{let f=c.target.closest("a");if(!f)return;let{hash:h}=new URL(f.href),p=e.querySelector(h);p&&!i(p)&&(a=p)}catch{}},!0),t.addEventListener(e,"touchstart",c=>{if(c.target instanceof HTMLElement)if(i(c.target)){let f=c.target;for(;f.parentElement&&i(f.parentElement);)f=f.parentElement;t.style(f,"overscrollBehavior","contain")}else t.style(c.target,"touchAction","none")}),t.addEventListener(e,"touchmove",c=>{if(c.target instanceof HTMLElement){if(c.target.tagName==="INPUT")return;if(i(c.target)){let f=c.target;for(;f.parentElement&&f.dataset.headlessuiPortal!==""&&!(f.scrollHeight>f.clientHeight||f.scrollWidth>f.clientWidth);)f=f.parentElement;f.dataset.headlessuiPortal===""&&c.preventDefault()}else c.preventDefault()}},{passive:!1}),t.add(()=>{var c;let f=(c=window.scrollY)!=null?c:window.pageYOffset;o!==f&&window.scrollTo(0,o),a&&a.isConnected&&(a.scrollIntoView({block:"nearest"}),a=null)})})}}:{}}function NG(){return{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}}function OG(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let Vo=N9(()=>new Map,{PUSH(e,t){var n;let i=(n=this.get(e))!=null?n:{doc:e,count:0,d:vu(),meta:new Set};return i.count++,i.meta.add(t),this.set(e,i),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:n}){let i={doc:e,d:t,meta:OG(n)},r=[DG(),wG(),NG()];r.forEach(({before:o})=>o==null?void 0:o(i)),r.forEach(({after:o})=>o==null?void 0:o(i))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});Vo.subscribe(()=>{let e=Vo.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let i=t.get(n.doc)==="hidden",r=n.count!==0;(r&&!i||!r&&i)&&Vo.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),n.count===0&&Vo.dispatch("TEARDOWN",n)}});function RG(e,t,n=()=>({containers:[]})){let i=O9(Vo),r=t?i.get(t):void 0,o=r?r.count>0:!1;return Rt(()=>{if(!(!t||!e))return Vo.dispatch("PUSH",t,n),()=>Vo.dispatch("POP",t,n)},[e,t]),o}function MG(e,t,n=()=>[document.body]){let i=vv(e,"scroll-lock");RG(i,t,r=>{var o;return{containers:[...(o=r.containers)!=null?o:[],n]}})}function t5(e){return[e.screenX,e.screenY]}function kG(){let e=x.useRef([-1,-1]);return{wasMoved(t){let n=t5(t);return e.current[0]===n[0]&&e.current[1]===n[1]?!1:(e.current=n,!0)},update(t){e.current=t5(t)}}}function LG(e=0){let[t,n]=x.useState(e),i=x.useCallback(f=>n(f),[t]),r=x.useCallback(f=>n(h=>h|f),[t]),o=x.useCallback(f=>(t&f)===f,[t]),a=x.useCallback(f=>n(h=>h&~f),[n]),c=x.useCallback(f=>n(h=>h^f),[n]);return{flags:t,setFlag:i,addFlag:r,hasFlag:o,removeFlag:a,toggleFlag:c}}var IG={},n5,i5;typeof process<"u"&&typeof globalThis<"u"&&typeof Element<"u"&&((n5=process==null?void 0:IG)==null?void 0:n5.NODE_ENV)==="test"&&typeof((i5=Element==null?void 0:Element.prototype)==null?void 0:i5.getAnimations)>"u"&&(Element.prototype.getAnimations=function(){return console.warn(["Headless UI has polyfilled `Element.prototype.getAnimations` for your tests.","Please install a proper polyfill e.g. `jsdom-testing-mocks`, to silence these warnings.","","Example usage:","```js","import { mockAnimationsApi } from 'jsdom-testing-mocks'","mockAnimationsApi()","```"].join(`
|
|
366
|
+
`)),[]});var FG=(e=>(e[e.None=0]="None",e[e.Closed=1]="Closed",e[e.Enter=2]="Enter",e[e.Leave=4]="Leave",e))(FG||{});function jG(e){let t={};for(let n in e)e[n]===!0&&(t[`data-${n}`]="");return t}function PG(e,t,n,i){let[r,o]=x.useState(n),{hasFlag:a,addFlag:c,removeFlag:f}=LG(e&&r?3:0),h=x.useRef(!1),p=x.useRef(!1),g=tf();return Rt(()=>{var y;if(e){if(n&&o(!0),!t){n&&c(3);return}return(y=void 0)==null||y.call(i,n),VG(t,{inFlight:h,prepare(){p.current?p.current=!1:p.current=h.current,h.current=!0,!p.current&&(n?(c(3),f(4)):(c(4),f(2)))},run(){p.current?n?(f(3),c(4)):(f(4),c(3)):n?f(1):c(1)},done(){var v;p.current&&typeof t.getAnimations=="function"&&t.getAnimations().length>0||(h.current=!1,f(7),n||o(!1),(v=void 0)==null||v.call(i,n))}})}},[e,n,t,g]),e?[r,{closed:a(1),enter:a(2),leave:a(4),transition:a(2)||a(4)}]:[n,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}function VG(e,{prepare:t,run:n,done:i,inFlight:r}){let o=vu();return $G(e,{prepare:t,inFlight:r}),o.nextFrame(()=>{n(),o.requestAnimationFrame(()=>{o.add(BG(e,i))})}),o.dispose}function BG(e,t){var n,i;let r=vu();if(!e)return r.dispose;let o=!1;r.add(()=>{o=!0});let a=(i=(n=e.getAnimations)==null?void 0:n.call(e).filter(c=>c instanceof CSSTransition))!=null?i:[];return a.length===0?(t(),r.dispose):(Promise.allSettled(a.map(c=>c.finished)).then(()=>{o||t()}),r.dispose)}function $G(e,{inFlight:t,prepare:n}){if(t!=null&&t.current){n();return}let i=e.style.transition;e.style.transition="none",n(),e.offsetHeight,e.style.transition=i}function UG(e,{container:t,accept:n,walk:i}){let r=x.useRef(n),o=x.useRef(i);x.useEffect(()=>{r.current=n,o.current=i},[n,i]),Rt(()=>{if(!t||!e)return;let a=ef(t);if(!a)return;let c=r.current,f=o.current,h=Object.assign(g=>c(g),{acceptNode:c}),p=a.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,h,!1);for(;p.nextNode();)f(p.currentNode)},[t,e,r,o])}function r5(e,t){let n=x.useRef([]),i=ze(e);x.useEffect(()=>{let r=[...n.current];for(let[o,a]of t.entries())if(n.current[o]!==a){let c=i(t,r);return n.current=t,c}},[i,...t])}function zG(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(t=>{let{brand:n,version:i}=t;return n+"/"+i}).join(" "):navigator.userAgent}const I9={...uc},HG=I9.useInsertionEffect,qG=HG||(e=>e());function F9(e){const t=x.useRef(()=>{});return qG(()=>{t.current=e}),x.useCallback(function(){for(var n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return t.current==null?void 0:t.current(...i)},[])}var Ig=typeof document<"u"?x.useLayoutEffect:x.useEffect;let u5=!1,GG=0;const o5=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+GG++;function YG(){const[e,t]=x.useState(()=>u5?o5():void 0);return Ig(()=>{e==null&&t(o5())},[]),x.useEffect(()=>{u5=!0},[]),e}const QG=I9.useId,XG=QG||YG;function ZG(){const e=new Map;return{emit(t,n){var i;(i=e.get(t))==null||i.forEach(r=>r(n))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var i;e.set(t,((i=e.get(t))==null?void 0:i.filter(r=>r!==n))||[])}}}const WG=x.createContext(null),KG=x.createContext(null),JG=()=>{var e;return((e=x.useContext(WG))==null?void 0:e.id)||null},eY=()=>x.useContext(KG),tY="data-floating-ui-focusable";function nY(e){const{open:t=!1,onOpenChange:n,elements:i}=e,r=XG(),o=x.useRef({}),[a]=x.useState(()=>ZG()),c=JG()!=null,[f,h]=x.useState(i.reference),p=F9((v,E,T)=>{o.current.openEvent=v?E:void 0,a.emit("openchange",{open:v,event:E,reason:T,nested:c}),n==null||n(v,E,T)}),g=x.useMemo(()=>({setPositionReference:h}),[]),y=x.useMemo(()=>({reference:f||i.reference||null,floating:i.floating||null,domReference:i.reference}),[f,i.reference,i.floating]);return x.useMemo(()=>({dataRef:o,open:t,onOpenChange:p,elements:y,events:a,floatingId:r,refs:g}),[t,p,y,a,r,g])}function iY(e){e===void 0&&(e={});const{nodeId:t}=e,n=nY({...e,elements:{reference:null,floating:null,...e.elements}}),i=e.rootContext||n,r=i.elements,[o,a]=x.useState(null),[c,f]=x.useState(null),p=(r==null?void 0:r.domReference)||o,g=x.useRef(null),y=eY();Ig(()=>{p&&(g.current=p)},[p]);const v=i_({...e,elements:{...r,...c&&{reference:c}}}),E=x.useCallback(C=>{const N=Rn(C)?{getBoundingClientRect:()=>C.getBoundingClientRect(),contextElement:C}:C;f(N),v.refs.setReference(N)},[v.refs]),T=x.useCallback(C=>{(Rn(C)||C===null)&&(g.current=C,a(C)),(Rn(v.refs.reference.current)||v.refs.reference.current===null||C!==null&&!Rn(C))&&v.refs.setReference(C)},[v.refs]),S=x.useMemo(()=>({...v.refs,setReference:T,setPositionReference:E,domReference:g}),[v.refs,T,E]),A=x.useMemo(()=>({...v.elements,domReference:p}),[v.elements,p]),D=x.useMemo(()=>({...v,...i,refs:S,elements:A,nodeId:t}),[v,S,A,t,i]);return Ig(()=>{i.dataRef.current.floatingContext=D;const C=y==null?void 0:y.nodesRef.current.find(N=>N.id===t);C&&(C.context=D)}),x.useMemo(()=>({...v,context:D,refs:S,elements:A}),[v,S,A,D])}const s5="active",a5="selected";function am(e,t,n){const i=new Map,r=n==="item";let o=e;if(r&&e){const{[s5]:a,[a5]:c,...f}=e;o=f}return{...n==="floating"&&{tabIndex:-1,[tY]:""},...o,...t.map(a=>{const c=a?a[n]:null;return typeof c=="function"?e?c(e):null:c}).concat(e).reduce((a,c)=>(c&&Object.entries(c).forEach(f=>{let[h,p]=f;if(!(r&&[s5,a5].includes(h)))if(h.indexOf("on")===0){if(i.has(h)||i.set(h,[]),typeof p=="function"){var g;(g=i.get(h))==null||g.push(p),a[h]=function(){for(var y,v=arguments.length,E=new Array(v),T=0;T<v;T++)E[T]=arguments[T];return(y=i.get(h))==null?void 0:y.map(S=>S(...E)).find(S=>S!==void 0)}}}else a[h]=p}),a),{})}}function rY(e){e===void 0&&(e=[]);const t=e.map(c=>c==null?void 0:c.reference),n=e.map(c=>c==null?void 0:c.floating),i=e.map(c=>c==null?void 0:c.item),r=x.useCallback(c=>am(c,e,"reference"),t),o=x.useCallback(c=>am(c,e,"floating"),n),a=x.useCallback(c=>am(c,e,"item"),i);return x.useMemo(()=>({getReferenceProps:r,getFloatingProps:o,getItemProps:a}),[r,o,a])}function l5(e,t){return{...e,rects:{...e.rects,floating:{...e.rects.floating,height:t}}}}const uY=e=>({name:"inner",options:e,async fn(t){const{listRef:n,overflowRef:i,onFallbackChange:r,offset:o=0,index:a=0,minItemsVisible:c=4,referenceOverflowThreshold:f=0,scrollRef:h,...p}=_r(e,t),{rects:g,elements:{floating:y}}=t,v=n.current[a],E=(h==null?void 0:h.current)||y,T=y.clientTop||E.clientTop,S=y.clientTop!==0,A=E.clientTop!==0,D=y===E;if(!v)return{};const C={...t,...await x2(-v.offsetTop-y.clientTop-g.reference.height/2-v.offsetHeight/2-o).fn(t)},N=await U1(l5(C,E.scrollHeight+T+y.clientTop),p),O=await U1(C,{...p,elementContext:"reference"}),k=_n(0,N.top),I=C.y+k,B=(E.scrollHeight>E.clientHeight?z=>z:xc)(_n(0,E.scrollHeight+(S&&D||A?T*2:0)-k-_n(0,N.bottom)));if(E.style.maxHeight=B+"px",E.scrollTop=k,r){const z=E.offsetHeight<v.offsetHeight*fu(c,n.current.length)-1||O.top>=-f||O.bottom>=-f;On.flushSync(()=>r(z))}return i&&(i.current=await U1(l5({...C,y:I},E.offsetHeight+T+y.clientTop),p)),{y:I}}});function oY(e,t){const{open:n,elements:i}=e,{enabled:r=!0,overflowRef:o,scrollRef:a,onChange:c}=t,f=F9(c),h=x.useRef(!1),p=x.useRef(null),g=x.useRef(null);x.useEffect(()=>{if(!r)return;function v(T){if(T.ctrlKey||!E||o.current==null)return;const S=T.deltaY,A=o.current.top>=-.5,D=o.current.bottom>=-.5,C=E.scrollHeight-E.clientHeight,N=S<0?-1:1,O=S<0?"max":"min";E.scrollHeight<=E.clientHeight||(!A&&S>0||!D&&S<0?(T.preventDefault(),On.flushSync(()=>{f(k=>k+Math[O](S,C*N))})):/firefox/i.test(zG())&&(E.scrollTop+=S))}const E=(a==null?void 0:a.current)||i.floating;if(n&&E)return E.addEventListener("wheel",v),requestAnimationFrame(()=>{p.current=E.scrollTop,o.current!=null&&(g.current={...o.current})}),()=>{p.current=null,g.current=null,E.removeEventListener("wheel",v)}},[r,n,i.floating,o,a,f]);const y=x.useMemo(()=>({onKeyDown(){h.current=!0},onWheel(){h.current=!1},onPointerMove(){h.current=!1},onScroll(){const v=(a==null?void 0:a.current)||i.floating;if(!(!o.current||!v||!h.current)){if(p.current!==null){const E=v.scrollTop-p.current;(o.current.bottom<-.5&&E<-1||o.current.top<-.5&&E>1)&&On.flushSync(()=>f(T=>T+E))}requestAnimationFrame(()=>{p.current=v.scrollTop})}}}),[i.floating,f,o,a]);return x.useMemo(()=>r?{floating:y}:{},[r,y])}let nf=x.createContext({styles:void 0,setReference:()=>{},setFloating:()=>{},getReferenceProps:()=>({}),getFloatingProps:()=>({}),slot:{}});nf.displayName="FloatingContext";let yv=x.createContext(null);yv.displayName="PlacementContext";function sY(e){return x.useMemo(()=>e?typeof e=="string"?{to:e}:e:null,[e])}function aY(){return x.useContext(nf).setReference}function lY(){let{getFloatingProps:e,slot:t}=x.useContext(nf);return x.useCallback((...n)=>Object.assign({},e(...n),{"data-anchor":t.anchor}),[e,t])}function cY(e=null){e===!1&&(e=null),typeof e=="string"&&(e={to:e});let t=x.useContext(yv),n=x.useMemo(()=>e,[JSON.stringify(e,(r,o)=>{var a;return(a=o==null?void 0:o.outerHTML)!=null?a:o})]);Rt(()=>{t==null||t(n??null)},[t,n]);let i=x.useContext(nf);return x.useMemo(()=>[i.setFloating,e?i.styles:{}],[i.setFloating,e,i.styles])}let c5=4;function fY({children:e,enabled:t=!0}){let[n,i]=x.useState(null),[r,o]=x.useState(0),a=x.useRef(null),[c,f]=x.useState(null);dY(c);let h=t&&n!==null&&c!==null,{to:p="bottom",gap:g=0,offset:y=0,padding:v=0,inner:E}=hY(n,c),[T,S="center"]=p.split(" ");Rt(()=>{h&&o(0)},[h]);let{refs:A,floatingStyles:D,context:C}=iY({open:h,placement:T==="selection"?S==="center"?"bottom":`bottom-${S}`:S==="center"?`${T}`:`${T}-${S}`,strategy:"absolute",transform:!1,middleware:[x2({mainAxis:T==="selection"?0:g,crossAxis:y}),r_({padding:v}),T!=="selection"&&u_({padding:v}),T==="selection"&&E?uY({...E,padding:v,overflowRef:a,offset:r,minItemsVisible:c5,referenceOverflowThreshold:v,onFallbackChange(z){var te,re;if(!z)return;let fe=C.elements.floating;if(!fe)return;let X=parseFloat(getComputedStyle(fe).scrollPaddingBottom)||0,F=Math.min(c5,fe.childElementCount),H=0,$=0;for(let V of(re=(te=C.elements.floating)==null?void 0:te.childNodes)!=null?re:[])if(V instanceof HTMLElement){let M=V.offsetTop,q=M+V.clientHeight+X,ie=fe.scrollTop,ne=ie+fe.clientHeight;if(M>=ie&&q<=ne)F--;else{$=Math.max(0,Math.min(q,ne)-Math.max(M,ie)),H=V.clientHeight;break}}F>=1&&o(V=>{let M=H*F-$+X;return V>=M?V:M})}}):null,o_({padding:v,apply({availableWidth:z,availableHeight:te,elements:re}){Object.assign(re.floating.style,{overflow:"auto",maxWidth:`${z}px`,maxHeight:`min(var(--anchor-max-height, 100vh), ${te}px)`})}})].filter(Boolean),whileElementsMounted:t_}),[N=T,O=S]=C.placement.split("-");T==="selection"&&(N="selection");let k=x.useMemo(()=>({anchor:[N,O].filter(Boolean).join(" ")}),[N,O]),I=oY(C,{overflowRef:a,onChange:o}),{getReferenceProps:P,getFloatingProps:L}=rY([I]),B=ze(z=>{f(z),A.setFloating(z)});return x.createElement(yv.Provider,{value:i},x.createElement(nf.Provider,{value:{setFloating:B,setReference:A.setReference,styles:D,getReferenceProps:P,getFloatingProps:L,slot:k}},e))}function dY(e){Rt(()=>{if(!e)return;let t=new MutationObserver(()=>{let n=window.getComputedStyle(e).maxHeight,i=parseFloat(n);if(isNaN(i))return;let r=parseInt(n);isNaN(r)||i!==r&&(e.style.maxHeight=`${Math.ceil(i)}px`)});return t.observe(e,{attributes:!0,attributeFilter:["style"]}),()=>{t.disconnect()}},[e])}function hY(e,t){var n,i,r;let o=lm((n=e==null?void 0:e.gap)!=null?n:"var(--anchor-gap, 0)",t),a=lm((i=e==null?void 0:e.offset)!=null?i:"var(--anchor-offset, 0)",t),c=lm((r=e==null?void 0:e.padding)!=null?r:"var(--anchor-padding, 0)",t);return{...e,gap:o,offset:a,padding:c}}function lm(e,t,n=void 0){let i=tf(),r=ze((f,h)=>{if(f==null)return[n,null];if(typeof f=="number")return[f,null];if(typeof f=="string"){if(!h)return[n,null];let p=f5(f,h);return[p,g=>{let y=j9(f);{let v=y.map(E=>window.getComputedStyle(h).getPropertyValue(E));i.requestAnimationFrame(function E(){i.nextFrame(E);let T=!1;for(let[A,D]of y.entries()){let C=window.getComputedStyle(h).getPropertyValue(D);if(v[A]!==C){v[A]=C,T=!0;break}}if(!T)return;let S=f5(f,h);p!==S&&(g(S),p=S)})}return i.dispose}]}return[n,null]}),o=x.useMemo(()=>r(e,t)[0],[e,t]),[a=o,c]=x.useState();return Rt(()=>{let[f,h]=r(e,t);if(c(f),!!h)return h(c)},[e,t]),a}function j9(e){let t=/var\((.*)\)/.exec(e);if(t){let n=t[1].indexOf(",");if(n===-1)return[t[1]];let i=t[1].slice(0,n).trim(),r=t[1].slice(n+1).trim();return r?[i,...j9(r)]:[i]}return[]}function f5(e,t){let n=document.createElement("div");t.appendChild(n),n.style.setProperty("margin-top","0px","important"),n.style.setProperty("margin-top",e,"important");let i=parseFloat(window.getComputedStyle(n).marginTop)||0;return t.removeChild(n),i}function pY({children:e,freeze:t}){let n=Fg(t,e);return ke.createElement(ke.Fragment,null,n)}function Fg(e,t){let[n,i]=x.useState(t);return!e&&n!==t&&i(t),e?n:t}let bv=x.createContext(null);bv.displayName="OpenClosedContext";var Mc=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(Mc||{});function mY(){return x.useContext(bv)}function gY({value:e,children:t}){return ke.createElement(bv.Provider,{value:e},t)}var cm={exports:{}},fm={};/**
|
|
367
367
|
* @license React
|
|
368
368
|
* use-sync-external-store-with-selector.production.js
|
|
369
369
|
*
|
|
@@ -371,5 +371,5 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
|
|
|
371
371
|
*
|
|
372
372
|
* This source code is licensed under the MIT license found in the
|
|
373
373
|
* LICENSE file in the root directory of this source tree.
|
|
374
|
-
*/var d5;function vY(){if(d5)return cm;d5=1;var e=Lc();function t(f,h){return f===h&&(f!==0||1/f===1/h)||f!==f&&h!==h}var n=typeof Object.is=="function"?Object.is:t,i=e.useSyncExternalStore,r=e.useRef,o=e.useEffect,a=e.useMemo,c=e.useDebugValue;return cm.useSyncExternalStoreWithSelector=function(f,h,p,g,y){var v=r(null);if(v.current===null){var E={hasValue:!1,value:null};v.current=E}else E=v.current;v=a(function(){function S(O){if(!A){if(A=!0,D=O,O=g(O),y!==void 0&&E.hasValue){var k=E.value;if(y(k,O))return C=k}return C=O}if(k=C,n(D,O))return k;var I=g(O);return y!==void 0&&y(k,I)?(D=O,k):(D=O,C=I)}var A=!1,D,C,N=p===void 0?null:p;return[function(){return S(h())},N===null?void 0:function(){return S(N())}]},[h,p,g,y]);var T=i(f,v[0],v[1]);return o(function(){E.hasValue=!0,E.value=T},[T]),c(T),T},cm}var h5;function yY(){return h5||(h5=1,lm.exports=vY()),lm.exports}var bY=yY(),P9=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},$i=(e,t,n)=>(P9(e,t,"read from private field"),n?n.call(e):t.get(e)),fm=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},p5=(e,t,n,i)=>(P9(e,t,"write to private field"),t.set(e,n),n),uu,Ql,Xl;class xY{constructor(t){fm(this,uu,{}),fm(this,Ql,new D9(()=>new Set)),fm(this,Xl,new Set),p5(this,uu,t)}get state(){return $i(this,uu)}subscribe(t,n){let i={selector:t,callback:n,current:t($i(this,uu))};return $i(this,Xl).add(i),()=>{$i(this,Xl).delete(i)}}on(t,n){return $i(this,Ql).get(t).add(n),()=>{$i(this,Ql).get(t).delete(n)}}send(t){p5(this,uu,this.reduce($i(this,uu),t));for(let n of $i(this,Xl)){let i=n.selector($i(this,uu));V9(n.current,i)||(n.current=i,n.callback(i))}for(let n of $i(this,Ql).get(t.type))n($i(this,uu),t)}}uu=new WeakMap,Ql=new WeakMap,Xl=new WeakMap;function V9(e,t){return Object.is(e,t)?!0:typeof e!="object"||e===null||typeof t!="object"||t===null?!1:Array.isArray(e)&&Array.isArray(t)?e.length!==t.length?!1:dm(e[Symbol.iterator](),t[Symbol.iterator]()):e instanceof Map&&t instanceof Map||e instanceof Set&&t instanceof Set?e.size!==t.size?!1:dm(e.entries(),t.entries()):m5(e)&&m5(t)?dm(Object.entries(e)[Symbol.iterator](),Object.entries(t)[Symbol.iterator]()):!1}function dm(e,t){do{let n=e.next(),i=t.next();if(n.done&&i.done)return!0;if(n.done||i.done||!Object.is(n.value,i.value))return!1}while(!0)}function m5(e){if(Object.prototype.toString.call(e)!=="[object Object]")return!1;let t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function yn(e,t,n=V9){return bY.useSyncExternalStoreWithSelector(ze(i=>e.subscribe(EY,i)),ze(()=>e.state),ze(()=>e.state),ze(t),n)}function EY(e){return e}function TY(e){function t(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",t))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",t),t())}let ko=[];TY(()=>{function e(t){if(!(t.target instanceof HTMLElement)||t.target===document.body||ko[0]===t.target)return;let n=t.target;n=n.closest(kg),ko.unshift(n??t.target),ko=ko.filter(i=>i!=null&&i.isConnected),ko.splice(10)}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})});function SY(e){throw new Error("Unexpected object: "+e)}var un=(e=>(e[e.First=0]="First",e[e.Previous=1]="Previous",e[e.Next=2]="Next",e[e.Last=3]="Last",e[e.Specific=4]="Specific",e[e.Nothing=5]="Nothing",e))(un||{});function g5(e,t){let n=t.resolveItems();if(n.length<=0)return null;let i=t.resolveActiveIndex(),r=i??-1;switch(e.focus){case 0:{for(let o=0;o<n.length;++o)if(!t.resolveDisabled(n[o],o,n))return o;return i}case 1:{r===-1&&(r=n.length);for(let o=r-1;o>=0;--o)if(!t.resolveDisabled(n[o],o,n))return o;return i}case 2:{for(let o=r+1;o<n.length;++o)if(!t.resolveDisabled(n[o],o,n))return o;return i}case 3:{for(let o=n.length-1;o>=0;--o)if(!t.resolveDisabled(n[o],o,n))return o;return i}case 4:{for(let o=0;o<n.length;++o)if(t.resolveId(n[o],o,n)===e.id)return o;return i}case 5:return null;default:SY(e)}}var xv=(e=>(e[e.Left=0]="Left",e[e.Right=2]="Right",e))(xv||{});function _Y(e){let t=ze(e),n=x.useRef(!1);x.useEffect(()=>(n.current=!1,()=>{n.current=!0,v9(()=>{n.current&&t()})}),[t])}function CY(){let e=typeof document>"u";return"useSyncExternalStore"in uc?(t=>t.useSyncExternalStore)(uc)(()=>()=>{},()=>!1,()=>!e):!1}function AY(){let e=CY(),[t,n]=x.useState(Ho.isHandoffComplete);return t&&Ho.isHandoffComplete===!1&&n(!1),x.useEffect(()=>{t!==!0&&n(!0)},[t]),x.useEffect(()=>Ho.handoff(),[]),e?!1:t}let wY=x.createContext(!1);function DY(){return x.useContext(wY)}function NY(e){let t=DY(),n=x.useContext($9),[i,r]=x.useState(()=>{var o;if(!t&&n!==null)return(o=n.current)!=null?o:null;if(Ho.isServer)return null;let a=e==null?void 0:e.getElementById("headlessui-portal-root");if(a)return a;if(e===null)return null;let c=e.createElement("div");return c.setAttribute("id","headlessui-portal-root"),e.body.appendChild(c)});return x.useEffect(()=>{i!==null&&(e!=null&&e.body.contains(i)||e==null||e.body.appendChild(i))},[i,e]),x.useEffect(()=>{t||n!==null&&r(n.current)},[n,r,t]),i}let B9=x.Fragment,OY=er(function(e,t){let{ownerDocument:n=null,...i}=e,r=x.useRef(null),o=yu(Uq(v=>{r.current=v}),t),a=y0(r),c=n??a,f=NY(c),[h]=x.useState(()=>{var v;return Ho.isServer?null:(v=c==null?void 0:c.createElement("div"))!=null?v:null}),p=x.useContext(LY),g=AY();Rt(()=>{!f||!h||f.contains(h)||(h.setAttribute("data-headlessui-portal",""),f.appendChild(h))},[f,h]),Rt(()=>{if(h&&p)return p.register(h)},[p,h]),_Y(()=>{var v;!f||!h||(h instanceof Node&&f.contains(h)&&f.removeChild(h),f.childNodes.length<=0&&((v=f.parentElement)==null||v.removeChild(f)))});let y=Ji();return g?!f||!h?null:On.createPortal(y({ourProps:{ref:o},theirProps:i,slot:{},defaultTag:B9,name:"Portal"}),h):null});function RY(e,t){let n=yu(t),{enabled:i=!0,ownerDocument:r,...o}=e,a=Ji();return i?ke.createElement(OY,{...o,ownerDocument:r,ref:n}):a({ourProps:{ref:n},theirProps:o,slot:{},defaultTag:B9,name:"Portal"})}let MY=x.Fragment,$9=x.createContext(null);function kY(e,t){let{target:n,...i}=e,r={ref:yu(t)},o=Ji();return ke.createElement($9.Provider,{value:n},o({ourProps:r,theirProps:i,defaultTag:MY,name:"Popover.Group"}))}let LY=x.createContext(null),IY=er(RY),FY=er(kY),jY=Object.assign(IY,{Group:FY});var PY=Object.defineProperty,VY=(e,t,n)=>t in e?PY(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,v5=(e,t,n)=>(VY(e,typeof t!="symbol"?t+"":t,n),n),Ue=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Ue||{}),oi=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(oi||{}),to=(e=>(e[e.Pointer=0]="Pointer",e[e.Focus=1]="Focus",e[e.Other=2]="Other",e))(to||{}),U9=(e=>(e[e.OpenCombobox=0]="OpenCombobox",e[e.CloseCombobox=1]="CloseCombobox",e[e.GoToOption=2]="GoToOption",e[e.SetTyping=3]="SetTyping",e[e.RegisterOption=4]="RegisterOption",e[e.UnregisterOption=5]="UnregisterOption",e[e.DefaultToFirstOption=6]="DefaultToFirstOption",e[e.SetActivationTrigger=7]="SetActivationTrigger",e[e.UpdateVirtualConfiguration=8]="UpdateVirtualConfiguration",e[e.SetInputElement=9]="SetInputElement",e[e.SetButtonElement=10]="SetButtonElement",e[e.SetOptionsElement=11]="SetOptionsElement",e))(U9||{});function hm(e,t=n=>n){let n=e.activeOptionIndex!==null?e.options[e.activeOptionIndex]:null,i=t(e.options.slice()),r=i.length>0&&i[0].dataRef.current.order!==null?i.sort((a,c)=>a.dataRef.current.order-c.dataRef.current.order):EG(i,a=>a.dataRef.current.domRef.current),o=n?r.indexOf(n):null;return o===-1&&(o=null),{options:r,activeOptionIndex:o}}let BY={1(e){var t;return(t=e.dataRef.current)!=null&&t.disabled||e.comboboxState===1?e:{...e,activeOptionIndex:null,comboboxState:1,isTyping:!1,activationTrigger:2,__demoMode:!1}},0(e){var t,n;if((t=e.dataRef.current)!=null&&t.disabled||e.comboboxState===0)return e;if((n=e.dataRef.current)!=null&&n.value){let i=e.dataRef.current.calculateIndex(e.dataRef.current.value);if(i!==-1)return{...e,activeOptionIndex:i,comboboxState:0,__demoMode:!1}}return{...e,comboboxState:0,__demoMode:!1}},3(e,t){return e.isTyping===t.isTyping?e:{...e,isTyping:t.isTyping}},2(e,t){var n,i,r,o;if((n=e.dataRef.current)!=null&&n.disabled||e.optionsElement&&!((i=e.dataRef.current)!=null&&i.optionsPropsRef.current.static)&&e.comboboxState===1)return e;if(e.virtual){let{options:h,disabled:p}=e.virtual,g=t.focus===un.Specific?t.idx:g5(t,{resolveItems:()=>h,resolveActiveIndex:()=>{var v,E;return(E=(v=e.activeOptionIndex)!=null?v:h.findIndex(T=>!p(T)))!=null?E:null},resolveDisabled:p,resolveId(){throw new Error("Function not implemented.")}}),y=(r=t.trigger)!=null?r:2;return e.activeOptionIndex===g&&e.activationTrigger===y?e:{...e,activeOptionIndex:g,activationTrigger:y,isTyping:!1,__demoMode:!1}}let a=hm(e);if(a.activeOptionIndex===null){let h=a.options.findIndex(p=>!p.dataRef.current.disabled);h!==-1&&(a.activeOptionIndex=h)}let c=t.focus===un.Specific?t.idx:g5(t,{resolveItems:()=>a.options,resolveActiveIndex:()=>a.activeOptionIndex,resolveId:h=>h.id,resolveDisabled:h=>h.dataRef.current.disabled}),f=(o=t.trigger)!=null?o:2;return e.activeOptionIndex===c&&e.activationTrigger===f?e:{...e,...a,isTyping:!1,activeOptionIndex:c,activationTrigger:f,__demoMode:!1}},4:(e,t)=>{var n,i,r,o;if((n=e.dataRef.current)!=null&&n.virtual)return{...e,options:[...e.options,t.payload]};let a=t.payload,c=hm(e,h=>(h.push(a),h));e.activeOptionIndex===null&&(r=(i=e.dataRef.current).isSelected)!=null&&r.call(i,t.payload.dataRef.current.value)&&(c.activeOptionIndex=c.options.indexOf(a));let f={...e,...c,activationTrigger:2};return(o=e.dataRef.current)!=null&&o.__demoMode&&e.dataRef.current.value===void 0&&(f.activeOptionIndex=0),f},5:(e,t)=>{var n;if((n=e.dataRef.current)!=null&&n.virtual)return{...e,options:e.options.filter(r=>r.id!==t.id)};let i=hm(e,r=>{let o=r.findIndex(a=>a.id===t.id);return o!==-1&&r.splice(o,1),r});return{...e,...i,activationTrigger:2}},6:(e,t)=>e.defaultToFirstOption===t.value?e:{...e,defaultToFirstOption:t.value},7:(e,t)=>e.activationTrigger===t.trigger?e:{...e,activationTrigger:t.trigger},8:(e,t)=>{var n,i;if(e.virtual===null)return{...e,virtual:{options:t.options,disabled:(n=t.disabled)!=null?n:()=>!1}};if(e.virtual.options===t.options&&e.virtual.disabled===t.disabled)return e;let r=e.activeOptionIndex;if(e.activeOptionIndex!==null){let o=t.options.indexOf(e.virtual.options[e.activeOptionIndex]);o!==-1?r=o:r=null}return{...e,activeOptionIndex:r,virtual:{options:t.options,disabled:(i=t.disabled)!=null?i:()=>!1}}},9:(e,t)=>e.inputElement===t.element?e:{...e,inputElement:t.element},10:(e,t)=>e.buttonElement===t.element?e:{...e,buttonElement:t.element},11:(e,t)=>e.optionsElement===t.element?e:{...e,optionsElement:t.element}};class Ev extends xY{constructor(){super(...arguments),v5(this,"actions",{onChange:t=>{let{onChange:n,compare:i,mode:r,value:o}=this.state.dataRef.current;return gu(r,{0:()=>n==null?void 0:n(t),1:()=>{let a=o.slice(),c=a.findIndex(f=>i(f,t));return c===-1?a.push(t):a.splice(c,1),n==null?void 0:n(a)}})},registerOption:(t,n)=>(this.send({type:4,payload:{id:t,dataRef:n}}),()=>{this.state.activeOptionIndex===this.state.dataRef.current.calculateIndex(n.current.value)&&this.send({type:6,value:!0}),this.send({type:5,id:t})}),goToOption:(t,n)=>(this.send({type:6,value:!1}),this.send({type:2,...t,trigger:n})),setIsTyping:t=>{this.send({type:3,isTyping:t})},closeCombobox:()=>{var t,n;this.send({type:1}),this.send({type:6,value:!1}),(n=(t=this.state.dataRef.current).onClose)==null||n.call(t)},openCombobox:()=>{this.send({type:0}),this.send({type:6,value:!0})},setActivationTrigger:t=>{this.send({type:7,trigger:t})},selectActiveOption:()=>{let t=this.selectors.activeOptionIndex(this.state);if(t!==null){if(this.actions.setIsTyping(!1),this.state.virtual)this.actions.onChange(this.state.virtual.options[t]);else{let{dataRef:n}=this.state.options[t];this.actions.onChange(n.current.value)}this.actions.goToOption({focus:un.Specific,idx:t})}},setInputElement:t=>{this.send({type:9,element:t})},setButtonElement:t=>{this.send({type:10,element:t})},setOptionsElement:t=>{this.send({type:11,element:t})}}),v5(this,"selectors",{activeDescendantId:t=>{var n,i;let r=this.selectors.activeOptionIndex(t);if(r!==null)return t.virtual?(i=t.options.find(o=>!o.dataRef.current.disabled&&t.dataRef.current.compare(o.dataRef.current.value,t.virtual.options[r])))==null?void 0:i.id:(n=t.options[r])==null?void 0:n.id},activeOptionIndex:t=>{if(t.defaultToFirstOption&&t.activeOptionIndex===null&&(t.virtual?t.virtual.options.length>0:t.options.length>0)){if(t.virtual){let{options:i,disabled:r}=t.virtual,o=i.findIndex(a=>{var c;return!((c=r==null?void 0:r(a))!=null&&c)});if(o!==-1)return o}let n=t.options.findIndex(i=>!i.dataRef.current.disabled);if(n!==-1)return n}return t.activeOptionIndex},activeOption:t=>{var n,i;let r=this.selectors.activeOptionIndex(t);return r===null?null:t.virtual?t.virtual.options[r??0]:(i=(n=t.options[r])==null?void 0:n.dataRef.current.value)!=null?i:null},isActive:(t,n,i)=>{var r;let o=this.selectors.activeOptionIndex(t);return o===null?!1:t.virtual?o===t.dataRef.current.calculateIndex(n):((r=t.options[o])==null?void 0:r.id)===i},shouldScrollIntoView:(t,n,i)=>!(t.virtual||t.__demoMode||t.comboboxState!==0||t.activationTrigger===0||!this.selectors.isActive(t,n,i))})}static new({virtual:t=null,__demoMode:n=!1}={}){var i;return new Ev({dataRef:{current:{}},comboboxState:n?0:1,isTyping:!1,options:[],virtual:t?{options:t.options,disabled:(i=t.disabled)!=null?i:()=>!1}:null,activeOptionIndex:null,activationTrigger:2,inputElement:null,buttonElement:null,optionsElement:null,__demoMode:n})}reduce(t,n){return gu(n.type,BY,t,n)}}const z9=x.createContext(null);function rf(e){let t=x.useContext(z9);if(t===null){let n=new Error(`<${e} /> is missing a parent <Combobox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,H9),n}return t}function H9({virtual:e=null,__demoMode:t=!1}={}){return x.useMemo(()=>Ev.new({virtual:e,__demoMode:t}),[])}let kc=x.createContext(null);kc.displayName="ComboboxDataContext";function Ia(e){let t=x.useContext(kc);if(t===null){let n=new Error(`<${e} /> is missing a parent <Combobox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Ia),n}return t}let q9=x.createContext(null);function $Y(e){let t=rf("VirtualProvider"),n=Ia("VirtualProvider"),{options:i}=n.virtual,r=yn(t,v=>v.optionsElement),[o,a]=x.useMemo(()=>{let v=r;if(!v)return[0,0];let E=window.getComputedStyle(v);return[parseFloat(E.paddingBlockStart||E.paddingTop),parseFloat(E.paddingBlockEnd||E.paddingBottom)]},[r]),c=lG({enabled:i.length!==0,scrollPaddingStart:o,scrollPaddingEnd:a,count:i.length,estimateSize(){return 40},getScrollElement(){return t.state.optionsElement},overscan:12}),[f,h]=x.useState(0);Rt(()=>{h(v=>v+1)},[i]);let p=c.getVirtualItems(),g=yn(t,v=>v.activationTrigger===to.Pointer),y=yn(t,t.selectors.activeOptionIndex);return p.length===0?null:ke.createElement(q9.Provider,{value:c},ke.createElement("div",{style:{position:"relative",width:"100%",height:`${c.getTotalSize()}px`},ref:v=>{v&&(g||y!==null&&i.length>y&&c.scrollToIndex(y))}},p.map(v=>{var E;return ke.createElement(x.Fragment,{key:v.key},ke.cloneElement((E=e.children)==null?void 0:E.call(e,{...e.slot,option:i[v.index]}),{key:`${f}-${v.key}`,"data-index":v.index,"aria-setsize":i.length,"aria-posinset":v.index+1,style:{position:"absolute",top:0,left:0,transform:`translateY(${v.start}px)`,overflowAnchor:"none"}}))})))}let UY=x.Fragment;function zY(e,t){let n=hv(),{value:i,defaultValue:r,onChange:o,form:a,name:c,by:f,invalid:h=!1,disabled:p=n||!1,onClose:g,__demoMode:y=!1,multiple:v=!1,immediate:E=!1,virtual:T=null,nullable:S,...A}=e,D=Mq(r),[C=v?[]:void 0,N]=Rq(i,o,D),O=H9({virtual:T,__demoMode:y}),k=x.useRef({static:!1,hold:!1}),I=fG(f),P=ze(oe=>T?f===null?T.options.indexOf(oe):T.options.findIndex(le=>I(le,oe)):O.state.options.findIndex(le=>I(le.dataRef.current.value,oe))),L=x.useCallback(oe=>gu(te.mode,{[oi.Multi]:()=>C.some(le=>I(le,oe)),[oi.Single]:()=>I(C,oe)}),[C]),B=yn(O,oe=>oe.virtual),z=ze(()=>g==null?void 0:g()),te=x.useMemo(()=>({__demoMode:y,immediate:E,optionsPropsRef:k,value:C,defaultValue:D,disabled:p,invalid:h,mode:v?oi.Multi:oi.Single,virtual:T?B:null,onChange:N,isSelected:L,calculateIndex:P,compare:I,onClose:z}),[C,D,p,h,v,N,L,y,O,T,B,z]);Rt(()=>{var oe;T&&O.send({type:U9.UpdateVirtualConfiguration,options:T.options,disabled:(oe=T.disabled)!=null?oe:null})},[T,T==null?void 0:T.options,T==null?void 0:T.disabled]),Rt(()=>{O.state.dataRef.current=te},[te]);let[re,fe,X,F]=yn(O,oe=>[oe.comboboxState,oe.buttonElement,oe.inputElement,oe.optionsElement]),H=re===Ue.Open;_G(H,[fe,X,F],()=>O.actions.closeCombobox());let $=yn(O,O.selectors.activeOptionIndex),V=yn(O,O.selectors.activeOption),M=x.useMemo(()=>({open:re===Ue.Open,disabled:p,invalid:h,activeIndex:$,activeOption:V,value:C}),[te,p,C,h,V,re]),[q,ie]=Yq(),ne=t===null?{}:{ref:t},Y=x.useCallback(()=>{if(D!==void 0)return N==null?void 0:N(D)},[N,D]),pe=Ji();return ke.createElement(ie,{value:q,props:{htmlFor:X==null?void 0:X.id},slot:{open:re===Ue.Open,disabled:p}},ke.createElement(fY,null,ke.createElement(kc.Provider,{value:te},ke.createElement(z9.Provider,{value:O},ke.createElement(gY,{value:gu(re,{[Ue.Open]:Mc.Open,[Ue.Closed]:Mc.Closed})},c!=null&&ke.createElement(jq,{disabled:p,data:C!=null?{[c]:C}:{},form:a,onReset:Y}),pe({ourProps:ne,theirProps:A,slot:M,defaultTag:UY,name:"Combobox"}))))))}let HY="input";function qY(e,t){var n,i;let r=rf("Combobox.Input"),o=Ia("Combobox.Input"),a=x.useId(),c=S9(),{id:f=c||`headlessui-combobox-input-${a}`,onChange:h,displayValue:p,disabled:g=o.disabled||!1,autoFocus:y=!1,type:v="text",...E}=e,[T]=yn(r,Y=>[Y.inputElement]),S=x.useRef(null),A=yu(S,t,aY(),r.actions.setInputElement),D=y0(T),[C,N]=yn(r,Y=>[Y.comboboxState,Y.isTyping]),O=tf(),k=ze(()=>{r.actions.onChange(null),r.state.optionsElement&&(r.state.optionsElement.scrollTop=0),r.actions.goToOption({focus:un.Nothing})}),I=x.useMemo(()=>{var Y;return typeof p=="function"&&o.value!==void 0?(Y=p(o.value))!=null?Y:"":typeof o.value=="string"?o.value:""},[o.value,p]);r5(([Y,pe],[oe,le])=>{if(r.state.isTyping)return;let ue=S.current;ue&&((le===Ue.Open&&pe===Ue.Closed||Y!==oe)&&(ue.value=Y),requestAnimationFrame(()=>{if(r.state.isTyping||!ue||(D==null?void 0:D.activeElement)!==ue)return;let{selectionStart:me,selectionEnd:ve}=ue;Math.abs((ve??0)-(me??0))===0&&me===0&&ue.setSelectionRange(ue.value.length,ue.value.length)}))},[I,C,D,N]),r5(([Y],[pe])=>{if(Y===Ue.Open&&pe===Ue.Closed){if(r.state.isTyping)return;let oe=S.current;if(!oe)return;let le=oe.value,{selectionStart:ue,selectionEnd:me,selectionDirection:ve}=oe;oe.value="",oe.value=le,ve!==null?oe.setSelectionRange(ue,me,ve):oe.setSelectionRange(ue,me)}},[C]);let P=x.useRef(!1),L=ze(()=>{P.current=!0}),B=ze(()=>{O.nextFrame(()=>{P.current=!1})}),z=ze(Y=>{switch(r.actions.setIsTyping(!0),Y.key){case Dn.Enter:if(r.state.comboboxState!==Ue.Open||P.current)return;if(Y.preventDefault(),Y.stopPropagation(),r.selectors.activeOptionIndex(r.state)===null){r.actions.closeCombobox();return}r.actions.selectActiveOption(),o.mode===oi.Single&&r.actions.closeCombobox();break;case Dn.ArrowDown:return Y.preventDefault(),Y.stopPropagation(),gu(r.state.comboboxState,{[Ue.Open]:()=>r.actions.goToOption({focus:un.Next}),[Ue.Closed]:()=>r.actions.openCombobox()});case Dn.ArrowUp:return Y.preventDefault(),Y.stopPropagation(),gu(r.state.comboboxState,{[Ue.Open]:()=>r.actions.goToOption({focus:un.Previous}),[Ue.Closed]:()=>{On.flushSync(()=>r.actions.openCombobox()),o.value||r.actions.goToOption({focus:un.Last})}});case Dn.Home:if(Y.shiftKey)break;return Y.preventDefault(),Y.stopPropagation(),r.actions.goToOption({focus:un.First});case Dn.PageUp:return Y.preventDefault(),Y.stopPropagation(),r.actions.goToOption({focus:un.First});case Dn.End:if(Y.shiftKey)break;return Y.preventDefault(),Y.stopPropagation(),r.actions.goToOption({focus:un.Last});case Dn.PageDown:return Y.preventDefault(),Y.stopPropagation(),r.actions.goToOption({focus:un.Last});case Dn.Escape:return r.state.comboboxState!==Ue.Open?void 0:(Y.preventDefault(),r.state.optionsElement&&!o.optionsPropsRef.current.static&&Y.stopPropagation(),o.mode===oi.Single&&o.value===null&&k(),r.actions.closeCombobox());case Dn.Tab:if(r.state.comboboxState!==Ue.Open)return;o.mode===oi.Single&&r.state.activationTrigger!==to.Focus&&r.actions.selectActiveOption(),r.actions.closeCombobox();break}}),te=ze(Y=>{h==null||h(Y),o.mode===oi.Single&&Y.target.value===""&&k(),r.actions.openCombobox()}),re=ze(Y=>{var pe,oe,le;let ue=(pe=Y.relatedTarget)!=null?pe:ko.find(me=>me!==Y.currentTarget);if(!((oe=r.state.optionsElement)!=null&&oe.contains(ue))&&!((le=r.state.buttonElement)!=null&&le.contains(ue))&&r.state.comboboxState===Ue.Open)return Y.preventDefault(),o.mode===oi.Single&&o.value===null&&k(),r.actions.closeCombobox()}),fe=ze(Y=>{var pe,oe,le;let ue=(pe=Y.relatedTarget)!=null?pe:ko.find(me=>me!==Y.currentTarget);(oe=r.state.buttonElement)!=null&&oe.contains(ue)||(le=r.state.optionsElement)!=null&&le.contains(ue)||o.disabled||o.immediate&&r.state.comboboxState!==Ue.Open&&O.microTask(()=>{On.flushSync(()=>r.actions.openCombobox()),r.actions.setActivationTrigger(to.Focus)})}),X=J0(),F=zq(),{isFocused:H,focusProps:$}=g9({autoFocus:y}),{isHovered:V,hoverProps:M}=m9({isDisabled:g}),q=yn(r,Y=>Y.optionsElement),ie=x.useMemo(()=>({open:C===Ue.Open,disabled:g,invalid:o.invalid,hover:V,focus:H,autofocus:y}),[o,V,H,y,g,o.invalid]),ne=pv({ref:A,id:f,role:"combobox",type:v,"aria-controls":q==null?void 0:q.id,"aria-expanded":C===Ue.Open,"aria-activedescendant":yn(r,r.selectors.activeDescendantId),"aria-labelledby":X,"aria-describedby":F,"aria-autocomplete":"list",defaultValue:(i=(n=e.defaultValue)!=null?n:o.defaultValue!==void 0?p==null?void 0:p(o.defaultValue):null)!=null?i:o.defaultValue,disabled:g||void 0,autoFocus:y,onCompositionStart:L,onCompositionEnd:B,onKeyDown:z,onChange:te,onFocus:fe,onBlur:re},$,M);return Ji()({ourProps:ne,theirProps:E,slot:ie,defaultTag:HY,name:"Combobox.Input"})}let GY="button";function YY(e,t){let n=rf("Combobox.Button"),i=Ia("Combobox.Button"),[r,o]=x.useState(null),a=yu(t,o,n.actions.setButtonElement),c=x.useId(),{id:f=`headlessui-combobox-button-${c}`,disabled:h=i.disabled||!1,autoFocus:p=!1,...g}=e,y=yn(n,z=>z.inputElement),v=L9(y),E=ze(z=>{switch(z.key){case Dn.Space:case Dn.Enter:z.preventDefault(),z.stopPropagation(),n.state.comboboxState===Ue.Closed&&On.flushSync(()=>n.actions.openCombobox()),v();return;case Dn.ArrowDown:z.preventDefault(),z.stopPropagation(),n.state.comboboxState===Ue.Closed&&(On.flushSync(()=>n.actions.openCombobox()),n.state.dataRef.current.value||n.actions.goToOption({focus:un.First})),v();return;case Dn.ArrowUp:z.preventDefault(),z.stopPropagation(),n.state.comboboxState===Ue.Closed&&(On.flushSync(()=>n.actions.openCombobox()),n.state.dataRef.current.value||n.actions.goToOption({focus:un.Last})),v();return;case Dn.Escape:if(n.state.comboboxState!==Ue.Open)return;z.preventDefault(),n.state.optionsElement&&!i.optionsPropsRef.current.static&&z.stopPropagation(),On.flushSync(()=>n.actions.closeCombobox()),v();return;default:return}}),T=ze(z=>{z.preventDefault(),!Bq(z.currentTarget)&&(z.button===xv.Left&&(n.state.comboboxState===Ue.Open?n.actions.closeCombobox():n.actions.openCombobox()),v())}),S=J0([f]),{isFocusVisible:A,focusProps:D}=g9({autoFocus:p}),{isHovered:C,hoverProps:N}=m9({isDisabled:h}),{pressed:O,pressProps:k}=_q({disabled:h}),[I,P]=yn(n,z=>[z.comboboxState,z.optionsElement]),L=x.useMemo(()=>({open:I===Ue.Open,active:O||I===Ue.Open,disabled:h,invalid:i.invalid,value:i.value,hover:C,focus:A}),[i,C,A,O,h,I]),B=pv({ref:a,id:f,type:AG(e,r),tabIndex:-1,"aria-haspopup":"listbox","aria-controls":P==null?void 0:P.id,"aria-expanded":I===Ue.Open,"aria-labelledby":S,disabled:h||void 0,autoFocus:p,onMouseDown:T,onKeyDown:E},D,N,k);return Ji()({ourProps:B,theirProps:g,slot:L,defaultTag:GY,name:"Combobox.Button"})}let QY="div",XY=Rg.RenderStrategy|Rg.Static;function ZY(e,t){var n,i,r;let o=x.useId(),{id:a=`headlessui-combobox-options-${o}`,hold:c=!1,anchor:f,portal:h=!1,modal:p=!0,transition:g=!1,...y}=e,v=rf("Combobox.Options"),E=Ia("Combobox.Options"),T=sY(f);T&&(h=!0);let[S,A]=cY(T),[D,C]=x.useState(null),N=lY(),O=yu(t,T?S:null,v.actions.setOptionsElement,C),[k,I,P,L,B]=yn(v,ve=>[ve.comboboxState,ve.inputElement,ve.buttonElement,ve.optionsElement,ve.activationTrigger]),z=y0(I||P),te=y0(L),re=mY(),[fe,X]=PG(g,D,re!==null?(re&Mc.Open)===Mc.Open:k===Ue.Open);mG(fe,I,v.actions.closeCombobox);let F=E.__demoMode?!1:p&&k===Ue.Open;MG(F,te);let H=E.__demoMode?!1:p&&k===Ue.Open;pG(H,{allowed:x.useCallback(()=>[I,P,L],[I,P,L])}),Rt(()=>{var ve;E.optionsPropsRef.current.static=(ve=e.static)!=null?ve:!1},[E.optionsPropsRef,e.static]),Rt(()=>{E.optionsPropsRef.current.hold=c},[E.optionsPropsRef,c]),UG(k===Ue.Open,{container:L,accept(ve){return ve.getAttribute("role")==="option"?NodeFilter.FILTER_REJECT:ve.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk(ve){ve.setAttribute("role","none")}});let $=J0([P==null?void 0:P.id]),V=x.useMemo(()=>({open:k===Ue.Open,option:void 0}),[k]),M=ze(()=>{v.actions.setActivationTrigger(to.Pointer)}),q=ze(ve=>{ve.preventDefault(),v.actions.setActivationTrigger(to.Pointer)}),ie=pv(T?N():{},{"aria-labelledby":$,role:"listbox","aria-multiselectable":E.mode===oi.Multi?!0:void 0,id:a,ref:O,style:{...y.style,...A,"--input-width":W4(I,!0).width,"--button-width":W4(P,!0).width},onWheel:B===to.Pointer?void 0:M,onMouseDown:q,...jG(X)}),ne=fe&&k===Ue.Closed,Y=Ig(ne,(n=E.virtual)==null?void 0:n.options),pe=Ig(ne,E.value),oe=ze(ve=>E.compare(pe,ve)),le=x.useMemo(()=>{if(!E.virtual)return E;if(Y===void 0)throw new Error("Missing `options` in virtual mode");return Y!==E.virtual.options?{...E,virtual:{...E.virtual,options:Y}}:E},[E,Y,(i=E.virtual)==null?void 0:i.options]);E.virtual&&Object.assign(y,{children:ke.createElement(kc.Provider,{value:le},ke.createElement($Y,{slot:V},y.children))});let ue=Ji(),me=x.useMemo(()=>E.mode===oi.Multi?E:{...E,isSelected:oe},[E,oe]);return ke.createElement(jY,{enabled:h?e.static||fe:!1,ownerDocument:z},ke.createElement(kc.Provider,{value:me},ue({ourProps:ie,theirProps:{...y,children:ke.createElement(pY,{freeze:ne},typeof y.children=="function"?(r=y.children)==null?void 0:r.call(y,V):y.children)},slot:V,defaultTag:QY,features:XY,visible:fe,name:"Combobox.Options"})))}let WY="div";function KY(e,t){var n,i,r;let o=Ia("Combobox.Option"),a=rf("Combobox.Option"),c=x.useId(),{id:f=`headlessui-combobox-option-${c}`,value:h,disabled:p=(r=(i=(n=o.virtual)==null?void 0:n.disabled)==null?void 0:i.call(n,h))!=null?r:!1,order:g=null,...y}=e,[v]=yn(a,X=>[X.inputElement]),E=L9(v),T=yn(a,x.useCallback(X=>a.selectors.isActive(X,h,f),[h,f])),S=o.isSelected(h),A=x.useRef(null),D=os({disabled:p,value:h,domRef:A,order:g}),C=x.useContext(q9),N=yu(t,A,C?C.measureElement:null),O=ze(()=>{a.actions.setIsTyping(!1),a.actions.onChange(h)});Rt(()=>a.actions.registerOption(f,D),[D,f]);let k=yn(a,x.useCallback(X=>a.selectors.shouldScrollIntoView(X,h,f),[h,f]));Rt(()=>{if(k)return vu().requestAnimationFrame(()=>{var X,F;(F=(X=A.current)==null?void 0:X.scrollIntoView)==null||F.call(X,{block:"nearest"})})},[k,A]);let I=ze(X=>{X.preventDefault(),X.button===xv.Left&&(p||(O(),k9()||requestAnimationFrame(()=>E()),o.mode===oi.Single&&a.actions.closeCombobox()))}),P=ze(()=>{if(p)return a.actions.goToOption({focus:un.Nothing});let X=o.calculateIndex(h);a.actions.goToOption({focus:un.Specific,idx:X})}),L=kG(),B=ze(X=>L.update(X)),z=ze(X=>{if(!L.wasMoved(X)||p||T)return;let F=o.calculateIndex(h);a.actions.goToOption({focus:un.Specific,idx:F},to.Pointer)}),te=ze(X=>{L.wasMoved(X)&&(p||T&&(o.optionsPropsRef.current.hold||a.actions.goToOption({focus:un.Nothing})))}),re=x.useMemo(()=>({active:T,focus:T,selected:S,disabled:p}),[T,S,p]),fe={id:f,ref:N,role:"option",tabIndex:p===!0?void 0:-1,"aria-disabled":p===!0?!0:void 0,"aria-selected":S,disabled:void 0,onMouseDown:I,onFocus:P,onPointerEnter:B,onMouseEnter:B,onPointerMove:z,onMouseMove:z,onPointerLeave:te,onMouseLeave:te};return Ji()({ourProps:fe,theirProps:y,slot:re,defaultTag:WY,name:"Combobox.Option"})}let JY=er(zY),eQ=er(YY),G9=er(qY),tQ=Wq,Y9=er(ZY),eh=er(KY),nQ=Object.assign(JY,{Input:G9,Button:eQ,Label:tQ,Options:Y9,Option:eh});const Q9=()=>{const e=ge.c(33);let t;e[0]===Symbol.for("react.memo_cache_sentinel")?(t={nonNull:!0,caller:Q9},e[0]=t):t=e[0];const{explorerNavStack:n,push:i}=Kc(t),r=x.useRef(null),o=X9(),[a,c]=x.useState("");let f;e[1]!==o||e[2]!==a?(f=()=>o(a),e[1]=o,e[2]=a,e[3]=f):f=e[3];const[h,p]=x.useState(f);let g;e[4]!==o?(g=xa(200,X=>{p(o(X))}),e[4]=o,e[5]=g):g=e[5];const y=g,[v]=x.useState(r),E=v.current===document.activeElement;let T,S;e[6]!==y||e[7]!==a?(T=()=>{y(a)},S=[y,a],e[6]=y,e[7]=a,e[8]=T,e[9]=S):(T=e[8],S=e[9]),x.useEffect(T,S);let A,D;e[10]===Symbol.for("react.memo_cache_sentinel")?(A=()=>{const X=function(H){H.metaKey&&H.key==="k"&&r.current.focus()};return window.addEventListener("keydown",X),()=>window.removeEventListener("keydown",X)},D=[],e[10]=A,e[11]=D):(A=e[10],D=e[11]),x.useEffect(A,D);let C,N,O;if(e[12]!==n||e[13]!==i){C=n.at(-1);let X;e[17]!==i?(X=F=>{i("field"in F?{name:F.field.name,def:F.field}:{name:F.type.name,def:F.type})},e[17]=i,e[18]=X):X=e[18],N=X,O=n.length===1||bt(C.def)||Tt(C.def)||ln(C.def),e[12]=n,e[13]=i,e[14]=C,e[15]=N,e[16]=O}else C=e[14],N=e[15],O=e[16];if(!O)return null;const I=E?void 0:"idle",P=`Search ${C.name}...`;let L,B;e[19]===Symbol.for("react.memo_cache_sentinel")?(L=()=>{r.current.focus()},B=_.jsx(jL,{}),e[19]=L,e[20]=B):(L=e[19],B=e[20]);let z;e[21]===Symbol.for("react.memo_cache_sentinel")?(z=X=>c(X.target.value),e[21]=z):z=e[21];let te;e[22]!==a?(te=_.jsxs("div",{className:"graphiql-doc-explorer-search-input",onClick:L,children:[B,_.jsx(G9,{autoComplete:"off",onChange:z,placeholder:`${Qg?"⌘":"Ctrl"} K`,ref:r,value:a,"data-cy":"doc-explorer-input"})]}),e[22]=a,e[23]=te):te=e[23];let re;e[24]!==E||e[25]!==h?(re=E&&_.jsxs(Y9,{"data-cy":"doc-explorer-list",children:[h.within.length+h.types.length+h.fields.length===0?_.jsx("li",{className:"graphiql-doc-explorer-search-empty",children:"No results found"}):h.within.map(rQ),h.within.length>0&&h.types.length+h.fields.length>0?_.jsx("div",{className:"graphiql-doc-explorer-search-divider",children:"Other results"}):null,h.types.map(uQ),h.fields.map(oQ)]}),e[24]=E,e[25]=h,e[26]=re):re=e[26];let fe;return e[27]!==N||e[28]!==te||e[29]!==re||e[30]!==I||e[31]!==P?(fe=_.jsxs(nQ,{as:"div",className:"graphiql-doc-explorer-search",onChange:N,"data-state":I,"aria-label":P,children:[te,re]}),e[27]=N,e[28]=te,e[29]=re,e[30]=I,e[31]=P,e[32]=fe):fe=e[32],fe},y5=X9;function X9(e){const t=ge.c(9),n=e||y5;let i;t[0]!==n?(i={nonNull:!0,caller:n},t[0]=n,t[1]=i):i=t[1];const{explorerNavStack:r}=Kc(i),o=e||y5;let a;t[2]!==o?(a={nonNull:!0,caller:o},t[2]=o,t[3]=a):a=t[3];const{schema:c}=Dr(a);let f;t[4]!==r?(f=r.at(-1),t[4]=r,t[5]=f):f=t[5];const h=f;let p;return t[6]!==h||t[7]!==c?(p=g=>{const y={within:[],types:[],fields:[]};if(!c)return y;const v=h.def,E=c.getTypeMap();let T=Object.keys(E);v&&(T=T.filter(S=>S!==v.name),T.unshift(v.name));for(const S of T){if(y.within.length+y.types.length+y.fields.length>=100)break;const A=E[S];if(v!==A&&pm(S,g)&&y.types.push({type:A}),!bt(A)&&!Tt(A)&&!ln(A))continue;const D=A.getFields();for(const C in D){const N=D[C];let O;if(!pm(C,g))if("args"in N){if(O=N.args.filter(k=>pm(k.name,g)),O.length===0)continue}else continue;y[v===A?"within":"fields"].push(...O?O.map(k=>({type:A,field:N,argument:k})):[{type:A,field:N}])}}return y},t[6]=h,t[7]=c,t[8]=p):p=t[8],p}function pm(e,t){try{const n=t.replaceAll(/[^_0-9A-Za-z]/g,i=>"\\"+i);return new RegExp(n,"i").test(e)}catch{return e.toLowerCase().includes(t.toLowerCase())}}function Tv(e){const t=ge.c(2);let n;return t[0]!==e.type.name?(n=_.jsx("span",{className:"graphiql-doc-explorer-search-type",children:e.type.name}),t[0]=e.type.name,t[1]=n):n=t[1],n}function Z9(e){const t=ge.c(7),{field:n,argument:i}=e;let r;t[0]!==n.name?(r=_.jsx("span",{className:"graphiql-doc-explorer-search-field",children:n.name}),t[0]=n.name,t[1]=r):r=t[1];let o;t[2]!==i?(o=i?_.jsxs(_.Fragment,{children:["(",_.jsx("span",{className:"graphiql-doc-explorer-search-argument",children:i.name}),":"," ",m0(i.type,iQ),")"]}):null,t[2]=i,t[3]=o):o=t[3];let a;return t[4]!==r||t[5]!==o?(a=_.jsxs(_.Fragment,{children:[r,o]}),t[4]=r,t[5]=o,t[6]=a):a=t[6],a}function iQ(e){return _.jsx(Tv,{type:e})}function rQ(e,t){return _.jsx(eh,{value:e,"data-cy":"doc-explorer-option",children:_.jsx(Z9,{field:e.field,argument:e.argument})},`within-${t}`)}function uQ(e,t){return _.jsx(eh,{value:e,"data-cy":"doc-explorer-option",children:_.jsx(Tv,{type:e.type})},`type-${t}`)}function oQ(e,t){return _.jsxs(eh,{value:e,"data-cy":"doc-explorer-option",children:[_.jsx(Tv,{type:e.type}),".",_.jsx(Z9,{field:e.field,argument:e.argument})]},`field-${t}`)}function sQ(e){const t=ge.c(7);let n;t[0]===Symbol.for("react.memo_cache_sentinel")?(n={nonNull:!0},t[0]=n):n=t[0];const{push:i}=Kc(n);let r;t[1]!==e.field||t[2]!==i?(r=a=>{a.preventDefault(),i({name:e.field.name,def:e.field})},t[1]=e.field,t[2]=i,t[3]=r):r=t[3];let o;return t[4]!==e.field.name||t[5]!==r?(o=_.jsx("a",{className:"graphiql-doc-explorer-field-name",onClick:r,href:"#",children:e.field.name}),t[4]=e.field.name,t[5]=r,t[6]=o):o=t[6],o}function aQ(e){const t=ge.c(2);let n;return t[0]!==e.type?(n=$g(e.type)?_.jsxs(_.Fragment,{children:[e.type.description?_.jsx(Ar,{type:"description",children:e.type.description}):null,_.jsx(lQ,{type:e.type}),_.jsx(fQ,{type:e.type}),_.jsx(mQ,{type:e.type}),_.jsx(yQ,{type:e.type})]}):null,t[0]=e.type,t[1]=n):n=t[1],n}function lQ(e){const t=ge.c(5),{type:n}=e;if(!bt(n))return null;let i;t[0]!==n?(i=n.getInterfaces(),t[0]=n,t[1]=i):i=t[1];const r=i;let o;return t[2]!==r.length||t[3]!==n?(o=r.length>0?_.jsx(Oi,{title:"Implements",children:n.getInterfaces().map(cQ)}):null,t[2]=r.length,t[3]=n,t[4]=o):o=t[4],o}function cQ(e){return _.jsx("div",{children:_.jsx(br,{type:e})},e.name)}function fQ(e){const t=ge.c(12),{type:n}=e,[i,r]=x.useState(!1);let o;t[0]===Symbol.for("react.memo_cache_sentinel")?(o=()=>{r(!0)},t[0]=o):o=t[0];const a=o;if(!bt(n)&&!Tt(n)&&!ln(n))return null;let c,f,h;if(t[1]!==n){const y=n.getFields();f=[],c=[];for(const v of Object.keys(y).map(E=>y[E]))v.deprecationReason?c.push(v):f.push(v);h=f.length>0?_.jsx(Oi,{title:"Fields",children:f.map(hQ)}):null,t[1]=n,t[2]=c,t[3]=f,t[4]=h}else c=t[2],f=t[3],h=t[4];let p;t[5]!==c||t[6]!==f.length||t[7]!==i?(p=c.length>0?i||f.length===0?_.jsx(Oi,{title:"Deprecated Fields",children:c.map(dQ)}):_.jsx(qi,{type:"button",onClick:a,children:"Show Deprecated Fields"}):null,t[5]=c,t[6]=f.length,t[7]=i,t[8]=p):p=t[8];let g;return t[9]!==h||t[10]!==p?(g=_.jsxs(_.Fragment,{children:[h,p]}),t[9]=h,t[10]=p,t[11]=g):g=t[11],g}function dQ(e){return _.jsx(W9,{field:e},e.name)}function hQ(e){return _.jsx(W9,{field:e},e.name)}function W9(e){const t=ge.c(22),{field:n}=e;let i,r,o;if(t[0]!==n){const y="args"in n?n.args.filter(pQ):[];o="graphiql-doc-explorer-item",i=_.jsx(sQ,{field:n}),r=y.length>0?_.jsxs(_.Fragment,{children:["(",_.jsx("span",{children:y.map(v=>y.length===1?_.jsx(g0,{arg:v,inline:!0},v.name):_.jsx("div",{className:"graphiql-doc-explorer-argument-multiple",children:_.jsx(g0,{arg:v,inline:!0})},v.name))}),")"]}):null,t[0]=n,t[1]=i,t[2]=r,t[3]=o}else i=t[1],r=t[2],o=t[3];let a;t[4]!==n.type?(a=_.jsx(br,{type:n.type}),t[4]=n.type,t[5]=a):a=t[5];let c;t[6]!==n?(c=_.jsx(t9,{field:n}),t[6]=n,t[7]=c):c=t[7];let f;t[8]!==i||t[9]!==r||t[10]!==a||t[11]!==c?(f=_.jsxs("div",{children:[i,r,": ",a,c]}),t[8]=i,t[9]=r,t[10]=a,t[11]=c,t[12]=f):f=t[12];let h;t[13]!==n.description?(h=n.description?_.jsx(Ar,{type:"description",onlyShowFirstChild:!0,children:n.description}):null,t[13]=n.description,t[14]=h):h=t[14];let p;t[15]!==n.deprecationReason?(p=_.jsx(n9,{children:n.deprecationReason}),t[15]=n.deprecationReason,t[16]=p):p=t[16];let g;return t[17]!==o||t[18]!==f||t[19]!==h||t[20]!==p?(g=_.jsxs("div",{className:o,children:[f,h,p]}),t[17]=o,t[18]=f,t[19]=h,t[20]=p,t[21]=g):g=t[21],g}function pQ(e){return!e.deprecationReason}function mQ(e){const t=ge.c(12),{type:n}=e,[i,r]=x.useState(!1);let o;t[0]===Symbol.for("react.memo_cache_sentinel")?(o=()=>{r(!0)},t[0]=o):o=t[0];const a=o;if(!ci(n))return null;let c,f,h;if(t[1]!==n){h=[],c=[];for(const y of n.getValues())y.deprecationReason?c.push(y):h.push(y);f=h.length>0?_.jsx(Oi,{title:"Enum Values",children:h.map(vQ)}):null,t[1]=n,t[2]=c,t[3]=f,t[4]=h}else c=t[2],f=t[3],h=t[4];let p;t[5]!==c||t[6]!==i||t[7]!==h.length?(p=c.length>0?i||h.length===0?_.jsx(Oi,{title:"Deprecated Enum Values",children:c.map(gQ)}):_.jsx(qi,{type:"button",onClick:a,children:"Show Deprecated Values"}):null,t[5]=c,t[6]=i,t[7]=h.length,t[8]=p):p=t[8];let g;return t[9]!==f||t[10]!==p?(g=_.jsxs(_.Fragment,{children:[f,p]}),t[9]=f,t[10]=p,t[11]=g):g=t[11],g}function gQ(e){return _.jsx(K9,{value:e},e.name)}function vQ(e){return _.jsx(K9,{value:e},e.name)}function K9(e){const t=ge.c(10),{value:n}=e;let i;t[0]!==n.name?(i=_.jsx("div",{className:"graphiql-doc-explorer-enum-value",children:n.name}),t[0]=n.name,t[1]=i):i=t[1];let r;t[2]!==n.description?(r=n.description?_.jsx(Ar,{type:"description",children:n.description}):null,t[2]=n.description,t[3]=r):r=t[3];let o;t[4]!==n.deprecationReason?(o=n.deprecationReason?_.jsx(Ar,{type:"deprecation",children:n.deprecationReason}):null,t[4]=n.deprecationReason,t[5]=o):o=t[5];let a;return t[6]!==i||t[7]!==r||t[8]!==o?(a=_.jsxs("div",{className:"graphiql-doc-explorer-item",children:[i,r,o]}),t[6]=i,t[7]=r,t[8]=o,t[9]=a):a=t[9],a}function yQ(e){const t=ge.c(7),{type:n}=e;let i;t[0]===Symbol.for("react.memo_cache_sentinel")?(i={nonNull:!0},t[0]=i):i=t[0];const{schema:r}=Dr(i);if(!r||!ou(n))return null;const o=Tt(n)?"Implementations":"Possible Types";let a;t[1]!==r||t[2]!==n?(a=r.getPossibleTypes(n).map(bQ),t[1]=r,t[2]=n,t[3]=a):a=t[3];let c;return t[4]!==o||t[5]!==a?(c=_.jsx(Oi,{title:o,children:a}),t[4]=o,t[5]=a,t[6]=c):c=t[6],c}function bQ(e){return _.jsx("div",{children:_.jsx(br,{type:e})},e.name)}function Fg(){const e=ge.c(40);let t;e[0]===Symbol.for("react.memo_cache_sentinel")?(t={nonNull:!0,caller:Fg},e[0]=t):t=e[0];const{fetchError:n,isFetching:i,schema:r,validationErrors:o}=Dr(t);let a;e[1]===Symbol.for("react.memo_cache_sentinel")?(a={nonNull:!0,caller:Fg},e[1]=a):a=e[1];const{explorerNavStack:c,pop:f}=Kc(a);let h,p;if(e[2]!==c||e[3]!==n||e[4]!==i||e[5]!==r||e[6]!==o){if(p=c.at(-1),h=null,n){let C;e[9]===Symbol.for("react.memo_cache_sentinel")?(C=_.jsx("div",{className:"graphiql-doc-explorer-error",children:"Error fetching schema"}),e[9]=C):C=e[9],h=C}else if(o.length>0){let C;e[10]!==o[0].message?(C=_.jsxs("div",{className:"graphiql-doc-explorer-error",children:["Schema is invalid: ",o[0].message]}),e[10]=o[0].message,e[11]=C):C=e[11],h=C}else if(i){let C;e[12]===Symbol.for("react.memo_cache_sentinel")?(C=_.jsx(O2,{}),e[12]=C):C=e[12],h=C}else if(r){if(c.length===1){let C;e[14]!==r?(C=_.jsx(WH,{schema:r}),e[14]=r,e[15]=C):C=e[15],h=C}else if(Vg(p.def)){let C;e[16]!==p.def?(C=_.jsx(aQ,{type:p.def}),e[16]=p.def,e[17]=C):C=e[17],h=C}else if(p.def){let C;e[18]!==p.def?(C=_.jsx(qH,{field:p.def}),e[18]=p.def,e[19]=C):C=e[19],h=C}}else{let C;e[13]===Symbol.for("react.memo_cache_sentinel")?(C=_.jsx("div",{className:"graphiql-doc-explorer-error",children:"No GraphQL schema available"}),e[13]=C):C=e[13],h=C}e[2]=c,e[3]=n,e[4]=i,e[5]=r,e[6]=o,e[7]=h,e[8]=p}else h=e[7],p=e[8];let g;if(c.length>1){let C;e[20]!==c?(C=c.at(-2),e[20]=c,e[21]=C):C=e[21],g=C.name}let y;e[22]!==f||e[23]!==g?(y=g&&_.jsxs("a",{href:"#",className:"graphiql-doc-explorer-back",onClick:C=>{C.preventDefault(),f()},"aria-label":`Go back to ${g}`,children:[_.jsx(SL,{}),g]}),e[22]=f,e[23]=g,e[24]=y):y=e[24];let v;e[25]!==p.name?(v=_.jsx("div",{className:"graphiql-doc-explorer-title",children:p.name}),e[25]=p.name,e[26]=v):v=e[26];let E;e[27]!==y||e[28]!==v?(E=_.jsxs("div",{className:"graphiql-doc-explorer-header-content",children:[y,v]}),e[27]=y,e[28]=v,e[29]=E):E=e[29];let T;e[30]!==p.name?(T=_.jsx(Q9,{},p.name),e[30]=p.name,e[31]=T):T=e[31];let S;e[32]!==E||e[33]!==T?(S=_.jsxs("div",{className:"graphiql-doc-explorer-header",children:[E,T]}),e[32]=E,e[33]=T,e[34]=S):S=e[34];let A;e[35]!==h?(A=_.jsx("div",{className:"graphiql-doc-explorer-content",children:h}),e[35]=h,e[36]=A):A=e[36];let D;return e[37]!==S||e[38]!==A?(D=_.jsxs("section",{className:"graphiql-doc-explorer","aria-label":"Documentation Explorer",children:[S,A]}),e[37]=S,e[38]=A,e[39]=D):D=e[39],D}const jg={title:"Documentation Explorer",icon:function(){const t=N0();return(t==null?void 0:t.visiblePlugin)===jg?_.jsx(OL,{}):_.jsx(RL,{})},content:Fg},xQ=e=>{var t,n;const i=ge.c(69);let r,o,a,c,f,h,p,g,y,v,E,T,S,A,D,C,N,O,k,I,P,L,B,z,te,re,fe,X;i[0]!==e?({dangerouslyAssumeSchemaIsValid:o,confirmCloseTab:r,defaultQuery:c,defaultTabs:f,externalFragments:h,fetcher:p,getDefaultFieldNames:g,headers:y,inputValueDeprecation:v,introspectionQueryName:E,maxHistoryLength:T,onEditOperationName:S,onSchemaChange:A,onTabChange:D,onTogglePluginVisibility:C,operationName:N,plugins:te,query:k,response:I,schema:P,schemaDescription:L,shouldPersistHeaders:B,storage:z,validationRules:re,variables:fe,visiblePlugin:X,defaultHeaders:a,...O}=e,i[0]=e,i[1]=r,i[2]=o,i[3]=a,i[4]=c,i[5]=f,i[6]=h,i[7]=p,i[8]=g,i[9]=y,i[10]=v,i[11]=E,i[12]=T,i[13]=S,i[14]=A,i[15]=D,i[16]=C,i[17]=N,i[18]=O,i[19]=k,i[20]=I,i[21]=P,i[22]=L,i[23]=B,i[24]=z,i[25]=te,i[26]=re,i[27]=fe,i[28]=X):(r=i[1],o=i[2],a=i[3],c=i[4],f=i[5],h=i[6],p=i[7],g=i[8],y=i[9],v=i[10],E=i[11],T=i[12],S=i[13],A=i[14],D=i[15],C=i[16],N=i[17],O=i[18],k=i[19],I=i[20],P=i[21],L=i[22],B=i[23],z=i[24],te=i[25],re=i[26],fe=i[27],X=i[28]);let F;i[29]!==te?(F=te===void 0?[]:te,i[29]=te,i[30]=F):F=i[30];const H=F;if((t=O.toolbar)!=null&&t.additionalContent)throw new TypeError("`toolbar.additionalContent` was removed. Use render props on `GraphiQL.Toolbar` component instead.");if((n=O.toolbar)!=null&&n.additionalComponent)throw new TypeError("`toolbar.additionalComponent` was removed. Use render props on `GraphiQL.Toolbar` component instead.");let $;i[31]!==H?($=[jg,VH,...H],i[31]=H,i[32]=$):$=i[32];let V;i[33]!==o||i[34]!==a||i[35]!==c||i[36]!==f||i[37]!==h||i[38]!==p||i[39]!==g||i[40]!==y||i[41]!==v||i[42]!==E||i[43]!==S||i[44]!==A||i[45]!==D||i[46]!==C||i[47]!==N||i[48]!==k||i[49]!==I||i[50]!==P||i[51]!==L||i[52]!==B||i[53]!==z||i[54]!==$||i[55]!==re||i[56]!==fe||i[57]!==X?(V={getDefaultFieldNames:g,dangerouslyAssumeSchemaIsValid:o,defaultQuery:c,defaultHeaders:a,defaultTabs:f,externalFragments:h,fetcher:p,headers:y,inputValueDeprecation:v,introspectionQueryName:E,onEditOperationName:S,onSchemaChange:A,onTabChange:D,onTogglePluginVisibility:C,plugins:$,referencePlugin:jg,visiblePlugin:X,operationName:N,query:k,response:I,schema:P,schemaDescription:L,shouldPersistHeaders:B,storage:z,validationRules:re,variables:fe},i[33]=o,i[34]=a,i[35]=c,i[36]=f,i[37]=h,i[38]=p,i[39]=g,i[40]=y,i[41]=v,i[42]=E,i[43]=S,i[44]=A,i[45]=D,i[46]=C,i[47]=N,i[48]=k,i[49]=I,i[50]=P,i[51]=L,i[52]=B,i[53]=z,i[54]=$,i[55]=re,i[56]=fe,i[57]=X,i[58]=V):V=i[58];const M=V,q=B!==!1;let ie;i[59]!==r||i[60]!==O||i[61]!==q?(ie=_.jsx(e9,{children:_.jsx(TQ,{confirmCloseTab:r,showPersistHeadersSettings:q,forcedTheme:O.forcedTheme,...O})}),i[59]=r,i[60]=O,i[61]=q,i[62]=ie):ie=i[62];let ne;i[63]!==T||i[64]!==ie?(ne=_.jsx(DH,{maxHistoryLength:T,children:ie}),i[63]=T,i[64]=ie,i[65]=ne):ne=i[65];let Y;return i[66]!==M||i[67]!==ne?(Y=_.jsx(Uk,{...M,children:ne}),i[66]=M,i[67]=ne,i[68]=Y):Y=i[68],Y},EQ=["light","dark","system"],mm="graphiql-session-tab-",TQ=e=>{var t;const n=ge.c(233),i=e.isHeadersEditorEnabled??!0;let r;n[0]===Symbol.for("react.memo_cache_sentinel")?(r={nonNull:!0},n[0]=r):r=n[0];const o=bn(r);let a;n[1]===Symbol.for("react.memo_cache_sentinel")?(a={nonNull:!0},n[1]=a):a=n[1];const c=Na(a);let f;n[2]===Symbol.for("react.memo_cache_sentinel")?(f={nonNull:!0},n[2]=f):f=n[2];const h=Dr(f),p=ao(),g=N0(),y=e.forcedTheme&&EQ.includes(e.forcedTheme)?e.forcedTheme:void 0,{theme:v,setTheme:E}=zk(e.defaultTheme);let T,S;n[3]!==y||n[4]!==E?(T=()=>{y==="system"?E(null):(y==="light"||y==="dark")&&E(y)},S=[y,E],n[3]=y,n[4]=E,n[5]=T,n[6]=S):(T=n[5],S=n[6]),x.useEffect(T,S);const A=(t=g==null?void 0:g.visiblePlugin)==null?void 0:t.content,D=g!=null&&g.visiblePlugin?void 0:"first";let C;n[7]!==g||n[8]!==D?(C={defaultSizeRelation:.3333333333333333,direction:"horizontal",initiallyHidden:D,onHiddenElementChange(Fe){Fe==="first"&&(g==null||g.setVisiblePlugin(null))},sizeThresholdSecond:200,storageKey:"docExplorerFlex"},n[7]=g,n[8]=D,n[9]=C):C=n[9];const N=M1(C);let O;n[10]===Symbol.for("react.memo_cache_sentinel")?(O={direction:"horizontal",storageKey:"editorFlex"},n[10]=O):O=n[10];const k=M1(O);let I;e:{if(e.defaultEditorToolsVisibility==="variables"||e.defaultEditorToolsVisibility==="headers"){I=void 0;break e}if(typeof e.defaultEditorToolsVisibility=="boolean"){I=e.defaultEditorToolsVisibility?void 0:"second";break e}I=o.initialVariables||o.initialHeaders?void 0:"second"}let P;n[11]!==I?(P={defaultSizeRelation:3,direction:"vertical",initiallyHidden:I,sizeThresholdSecond:60,storageKey:"secondaryEditorFlex"},n[11]=I,n[12]=P):P=n[12];const L=M1(P);let B;n[13]!==o.initialHeaders||n[14]!==o.initialVariables||n[15]!==i||n[16]!==e.defaultEditorToolsVisibility?(B=()=>e.defaultEditorToolsVisibility==="variables"||e.defaultEditorToolsVisibility==="headers"?e.defaultEditorToolsVisibility:!o.initialVariables&&o.initialHeaders&&i?"headers":"variables",n[13]=o.initialHeaders,n[14]=o.initialVariables,n[15]=i,n[16]=e.defaultEditorToolsVisibility,n[17]=B):B=n[17];const[z,te]=x.useState(B),[re,fe]=x.useState(null),[X,F]=x.useState(null);let H;if(n[18]!==e.children||n[19]!==e.onCopyQuery||n[20]!==e.onPrettifyQuery){let Fe;n[22]!==e.onCopyQuery||n[23]!==e.onPrettifyQuery?(Fe=(An,ho)=>{e:switch(OQ(ho)){case ea.Logo:{An.logo=ho;break e}case ea.Toolbar:{An.toolbar=x.cloneElement(ho,{onCopyQuery:e.onCopyQuery,onPrettifyQuery:e.onPrettifyQuery});break e}case ea.Footer:An.footer=ho}return An},n[22]=e.onCopyQuery,n[23]=e.onPrettifyQuery,n[24]=Fe):Fe=n[24];let vt;n[25]===Symbol.for("react.memo_cache_sentinel")?(vt=_.jsx(ea.Logo,{}),n[25]=vt):vt=n[25];let zt;n[26]!==e.onCopyQuery||n[27]!==e.onPrettifyQuery?(zt=_.jsx(ea.Toolbar,{onCopyQuery:e.onCopyQuery,onPrettifyQuery:e.onPrettifyQuery}),n[26]=e.onCopyQuery,n[27]=e.onPrettifyQuery,n[28]=zt):zt=n[28],H=x.Children.toArray(e.children).reduce(Fe,{logo:vt,toolbar:zt}),n[18]=e.children,n[19]=e.onCopyQuery,n[20]=e.onPrettifyQuery,n[21]=H}else H=n[21];const{logo:$,toolbar:V,footer:M}=H;let q;n[29]!==N?(q=()=>{N.hiddenElement==="first"&&N.setHiddenElement(null)},n[29]=N,n[30]=q):q=n[30];const ie=q;let ne;n[31]!==p?(ne=()=>{try{p&&p.clear(),F("success")}catch{F("error")}},n[31]=p,n[32]=ne):ne=n[32];const Y=ne;let pe;n[33]!==o?(pe=Fe=>{o.setShouldPersistHeaders(Fe.currentTarget.dataset.value==="true")},n[33]=o,n[34]=pe):pe=n[34];const oe=pe;let le;n[35]!==E?(le=Fe=>{const vt=Fe.currentTarget.dataset.theme;E(vt||null)},n[35]=E,n[36]=le):le=n[36];const ue=le,me=o.addTab,ve=h.introspect,He=o.moveTab;let lt;n[37]===Symbol.for("react.memo_cache_sentinel")?(lt=Fe=>{fe(Fe.currentTarget.dataset.value)},n[37]=lt):lt=n[37];const Te=lt;let At;n[38]!==g||n[39]!==N?(At=Fe=>{const vt=g,zt=Number(Fe.currentTarget.dataset.index),An=vt.plugins.find((Ba,$a)=>zt===$a);An===vt.visiblePlugin?(vt.setVisiblePlugin(null),N.setHiddenElement("first")):(vt.setVisiblePlugin(An),N.setHiddenElement(null))},n[38]=g,n[39]=N,n[40]=At):At=n[40];const In=At;let cn;n[41]!==L?(cn=Fe=>{L.hiddenElement==="second"&&L.setHiddenElement(null),te(Fe.currentTarget.dataset.name)},n[41]=L,n[42]=cn):cn=n[42];const nt=cn;let De;n[43]!==L?(De=()=>{L.setHiddenElement(L.hiddenElement==="second"?null:"second")},n[43]=L,n[44]=De):De=n[44];const qe=De;let Ne;n[45]===Symbol.for("react.memo_cache_sentinel")?(Ne=Fe=>{Fe||fe(null)},n[45]=Ne):Ne=n[45];const ct=Ne;let ut;n[46]===Symbol.for("react.memo_cache_sentinel")?(ut=Fe=>{Fe||(fe(null),F(null))},n[46]=ut):ut=n[46];const Ye=ut,fn=e.confirmCloseTab;let Qe;n[47]!==fn||n[48]!==o||n[49]!==c?(Qe=async Fe=>{const vt=Fe.currentTarget.previousSibling,zt=Number(vt.id.replace(mm,""));(!fn||await fn(zt))&&(o.activeTabIndex===zt&&c.stop(),o.closeTab(zt))},n[47]=fn,n[48]=o,n[49]=c,n[50]=Qe):Qe=n[50];const $t=Qe;let kt;n[51]!==o||n[52]!==c?(kt=Fe=>{const vt=Number(Fe.currentTarget.id.replace(mm,""));c.stop(),o.changeTab(vt)},n[51]=o,n[52]=c,n[53]=kt):kt=n[53];const Fn=kt;let Ut;n[54]!==e.className?(Ut=dt("graphiql-container",e.className),n[54]=e.className,n[55]=Ut):Ut=n[55];let bu;n[56]!==In||n[57]!==g?(bu=g==null?void 0:g.plugins.map((Fe,vt)=>{const zt=Fe===g.visiblePlugin,An=`${zt?"Hide":"Show"} ${Fe.title}`;return _.jsx(zn,{label:An,children:_.jsx(Kt,{type:"button",className:dt(zt&&"active"),onClick:In,"data-index":vt,"aria-label":An,children:_.jsx(Fe.icon,{"aria-hidden":"true"})})},Fe.title)}),n[56]=In,n[57]=g,n[58]=bu):bu=n[58];const th=h.isFetching;let ss;n[59]===Symbol.for("react.memo_cache_sentinel")?(ss={marginTop:"auto"},n[59]=ss):ss=n[59];const xu=h.isFetching&&"graphiql-spin";let Mi;n[60]!==xu?(Mi=dt(xu),n[60]=xu,n[61]=Mi):Mi=n[61];let jn;n[62]!==Mi?(jn=_.jsx(zL,{className:Mi,"aria-hidden":"true"}),n[62]=Mi,n[63]=jn):jn=n[63];let ki;n[64]!==ve||n[65]!==h.isFetching||n[66]!==jn?(ki=_.jsx(zn,{label:"Re-fetch GraphQL schema",children:_.jsx(Kt,{type:"button",disabled:th,onClick:ve,"aria-label":"Re-fetch GraphQL schema",style:ss,children:jn})}),n[64]=ve,n[65]=h.isFetching,n[66]=jn,n[67]=ki):ki=n[67];let tr;n[68]===Symbol.for("react.memo_cache_sentinel")?(tr=_.jsx(zn,{label:"Open short keys dialog",children:_.jsx(Kt,{type:"button","data-value":"short-keys",onClick:Te,"aria-label":"Open short keys dialog",children:_.jsx(FL,{"aria-hidden":"true"})})}),n[68]=tr):tr=n[68];let as;n[69]===Symbol.for("react.memo_cache_sentinel")?(as=_.jsx(zn,{label:"Open settings dialog",children:_.jsx(Kt,{type:"button","data-value":"settings",onClick:Te,"aria-label":"Open settings dialog",children:_.jsx(qL,{"aria-hidden":"true"})})}),n[69]=as):as=n[69];let kr;n[70]!==bu||n[71]!==ki?(kr=_.jsxs("div",{className:"graphiql-sidebar",children:[bu,ki,tr,as]}),n[70]=bu,n[71]=ki,n[72]=kr):kr=n[72];let fo;n[73]===Symbol.for("react.memo_cache_sentinel")?(fo={minWidth:"200px"},n[73]=fo):fo=n[73];let nr;n[74]!==A?(nr=A?_.jsx(A,{}):null,n[74]=A,n[75]=nr):nr=n[75];let di;n[76]!==nr?(di=_.jsx("div",{className:"graphiql-plugin",children:nr}),n[76]=nr,n[77]=di):di=n[77];let Eu;n[78]!==N.firstRef||n[79]!==di?(Eu=_.jsx("div",{ref:N.firstRef,style:fo,children:di}),n[78]=N.firstRef,n[79]=di,n[80]=Eu):Eu=n[80];let Lr;n[81]!==(g==null?void 0:g.visiblePlugin)||n[82]!==N.dragBarRef?(Lr=(g==null?void 0:g.visiblePlugin)&&_.jsx("div",{className:"graphiql-horizontal-drag-bar",ref:N.dragBarRef}),n[81]=g==null?void 0:g.visiblePlugin,n[82]=N.dragBarRef,n[83]=Lr):Lr=n[83];const uf=N.secondRef,Fa=o.tabs;let ir;if(n[84]!==o.activeTabIndex||n[85]!==o.tabs||n[86]!==Fn||n[87]!==$t){let Fe;n[89]!==o.activeTabIndex||n[90]!==Fn||n[91]!==$t?(Fe=(vt,zt,An)=>_.jsxs(nm,{value:vt,isActive:zt===o.activeTabIndex,children:[_.jsx(nm.Button,{"aria-controls":"graphiql-session",id:`graphiql-session-tab-${zt}`,title:vt.title,onClick:Fn,children:vt.title}),An.length>1&&_.jsx(nm.Close,{onClick:$t})]},vt.id),n[89]=o.activeTabIndex,n[90]=Fn,n[91]=$t,n[92]=Fe):Fe=n[92],ir=o.tabs.map(Fe),n[84]=o.activeTabIndex,n[85]=o.tabs,n[86]=Fn,n[87]=$t,n[88]=ir}else ir=n[88];let Ir;n[93]!==o.tabs||n[94]!==He||n[95]!==ir?(Ir=_.jsx(UC,{values:Fa,onReorder:He,"aria-label":"Select active operation",children:ir}),n[93]=o.tabs,n[94]=He,n[95]=ir,n[96]=Ir):Ir=n[96];let ls;n[97]===Symbol.for("react.memo_cache_sentinel")?(ls=_.jsx($L,{"aria-hidden":"true"}),n[97]=ls):ls=n[97];let Cn;n[98]!==me?(Cn=_.jsx(zn,{label:"New tab",children:_.jsx(Kt,{type:"button",className:"graphiql-tab-add",onClick:me,"aria-label":"New tab",children:ls})}),n[98]=me,n[99]=Cn):Cn=n[99];let _t;n[100]!==$||n[101]!==Ir||n[102]!==Cn?(_t=_.jsxs("div",{className:"graphiql-session-header",children:[Ir,Cn,$]}),n[100]=$,n[101]=Ir,n[102]=Cn,n[103]=_t):_t=n[103];const Jt=`${mm}${o.activeTabIndex}`,Tu=k.firstRef;let rr;n[104]!==ie||n[105]!==e.editorTheme||n[106]!==e.keyMap||n[107]!==e.onCopyQuery||n[108]!==e.onEditQuery||n[109]!==e.onPrettifyQuery||n[110]!==e.readOnly?(rr=_.jsx(sS,{editorTheme:e.editorTheme,keyMap:e.keyMap,onClickReference:ie,onCopyQuery:e.onCopyQuery,onPrettifyQuery:e.onPrettifyQuery,onEdit:e.onEditQuery,readOnly:e.readOnly}),n[104]=ie,n[105]=e.editorTheme,n[106]=e.keyMap,n[107]=e.onCopyQuery,n[108]=e.onEditQuery,n[109]=e.onPrettifyQuery,n[110]=e.readOnly,n[111]=rr):rr=n[111];let cs;n[112]===Symbol.for("react.memo_cache_sentinel")?(cs=_.jsx(Cg,{}),n[112]=cs):cs=n[112];let Su;n[113]!==V?(Su=_.jsxs("div",{className:"graphiql-toolbar",role:"toolbar","aria-label":"Editor Commands",children:[cs,V]}),n[113]=V,n[114]=Su):Su=n[114];let Fr;n[115]!==rr||n[116]!==Su?(Fr=_.jsxs("section",{className:"graphiql-query-editor","aria-label":"Query Editor",children:[rr,Su]}),n[115]=rr,n[116]=Su,n[117]=Fr):Fr=n[117];let hi;n[118]!==L.firstRef||n[119]!==Fr?(hi=_.jsx("div",{ref:L.firstRef,children:Fr}),n[118]=L.firstRef,n[119]=Fr,n[120]=hi):hi=n[120];const ja=L.dragBarRef,ur=z==="variables"&&L.hiddenElement!=="second"&&"active";let Yn;n[121]!==ur?(Yn=dt(ur),n[121]=ur,n[122]=Yn):Yn=n[122];let pi;n[123]!==nt||n[124]!==Yn?(pi=_.jsx(Kt,{type:"button",className:Yn,onClick:nt,"data-name":"variables",children:"Variables"}),n[123]=nt,n[124]=Yn,n[125]=pi):pi=n[125];let Qn;n[126]!==z||n[127]!==L.hiddenElement||n[128]!==nt||n[129]!==i?(Qn=i&&_.jsx(Kt,{type:"button",className:dt(z==="headers"&&L.hiddenElement!=="second"&&"active"),onClick:nt,"data-name":"headers",children:"Headers"}),n[126]=z,n[127]=L.hiddenElement,n[128]=nt,n[129]=i,n[130]=Qn):Qn=n[130];const wt=L.hiddenElement==="second"?"Show editor tools":"Hide editor tools",fs=L.hiddenElement==="second"?"Show editor tools":"Hide editor tools";let jr;n[131]!==L.hiddenElement?(jr=L.hiddenElement==="second"?_.jsx(_L,{className:"graphiql-chevron-icon","aria-hidden":"true"}):_.jsx(TL,{className:"graphiql-chevron-icon","aria-hidden":"true"}),n[131]=L.hiddenElement,n[132]=jr):jr=n[132];let Pn;n[133]!==fs||n[134]!==jr||n[135]!==qe?(Pn=_.jsx(Kt,{type:"button",onClick:qe,"aria-label":fs,className:"graphiql-toggle-editor-tools",children:jr}),n[133]=fs,n[134]=jr,n[135]=qe,n[136]=Pn):Pn=n[136];let Xn;n[137]!==wt||n[138]!==Pn?(Xn=_.jsx(zn,{label:wt,children:Pn}),n[137]=wt,n[138]=Pn,n[139]=Xn):Xn=n[139];let _u;n[140]!==pi||n[141]!==Qn||n[142]!==Xn?(_u=_.jsxs("div",{className:"graphiql-editor-tools",children:[pi,Qn,Xn]}),n[140]=pi,n[141]=Qn,n[142]=Xn,n[143]=_u):_u=n[143];let Pr;n[144]!==L.dragBarRef||n[145]!==_u?(Pr=_.jsx("div",{ref:ja,children:_u}),n[144]=L.dragBarRef,n[145]=_u,n[146]=Pr):Pr=n[146];const ds=z==="variables"?"Variables":"Headers",Pa=z!=="variables";let Li;n[147]!==ie||n[148]!==e.editorTheme||n[149]!==e.keyMap||n[150]!==e.onEditVariables||n[151]!==e.readOnly||n[152]!==Pa?(Li=_.jsx(Xm,{editorTheme:e.editorTheme,isHidden:Pa,keyMap:e.keyMap,onEdit:e.onEditVariables,onClickReference:ie,readOnly:e.readOnly}),n[147]=ie,n[148]=e.editorTheme,n[149]=e.keyMap,n[150]=e.onEditVariables,n[151]=e.readOnly,n[152]=Pa,n[153]=Li):Li=n[153];let Ii;n[154]!==z||n[155]!==i||n[156]!==e.editorTheme||n[157]!==e.keyMap||n[158]!==e.onEditHeaders||n[159]!==e.readOnly?(Ii=i&&_.jsx(Ym,{editorTheme:e.editorTheme,isHidden:z!=="headers",keyMap:e.keyMap,onEdit:e.onEditHeaders,readOnly:e.readOnly}),n[154]=z,n[155]=i,n[156]=e.editorTheme,n[157]=e.keyMap,n[158]=e.onEditHeaders,n[159]=e.readOnly,n[160]=Ii):Ii=n[160];let xn;n[161]!==ds||n[162]!==Li||n[163]!==Ii?(xn=_.jsxs("section",{className:"graphiql-editor-tool","aria-label":ds,children:[Li,Ii]}),n[161]=ds,n[162]=Li,n[163]=Ii,n[164]=xn):xn=n[164];let or;n[165]!==L.secondRef||n[166]!==xn?(or=_.jsx("div",{ref:L.secondRef,children:xn}),n[165]=L.secondRef,n[166]=xn,n[167]=or):or=n[167];let Vr;n[168]!==hi||n[169]!==Pr||n[170]!==or?(Vr=_.jsxs("div",{className:"graphiql-editors",children:[hi,Pr,or]}),n[168]=hi,n[169]=Pr,n[170]=or,n[171]=Vr):Vr=n[171];let Zn;n[172]!==k.firstRef||n[173]!==Vr?(Zn=_.jsx("div",{ref:Tu,children:Vr}),n[172]=k.firstRef,n[173]=Vr,n[174]=Zn):Zn=n[174];let sr;n[175]!==k.dragBarRef?(sr=_.jsx("div",{className:"graphiql-horizontal-drag-bar",ref:k.dragBarRef}),n[175]=k.dragBarRef,n[176]=sr):sr=n[176];let ar;n[177]!==c.isFetching?(ar=c.isFetching?_.jsx(O2,{}):null,n[177]=c.isFetching,n[178]=ar):ar=n[178];let Cu;n[179]!==e.editorTheme||n[180]!==e.keyMap||n[181]!==e.responseTooltip?(Cu=_.jsx(lS,{editorTheme:e.editorTheme,responseTooltip:e.responseTooltip,keyMap:e.keyMap}),n[179]=e.editorTheme,n[180]=e.keyMap,n[181]=e.responseTooltip,n[182]=Cu):Cu=n[182];let Br;n[183]!==M||n[184]!==ar||n[185]!==Cu?(Br=_.jsxs("div",{className:"graphiql-response",children:[ar,Cu,M]}),n[183]=M,n[184]=ar,n[185]=Cu,n[186]=Br):Br=n[186];let Qt;n[187]!==k.secondRef||n[188]!==Br?(Qt=_.jsx("div",{ref:k.secondRef,children:Br}),n[187]=k.secondRef,n[188]=Br,n[189]=Qt):Qt=n[189];let $r;n[190]!==Jt||n[191]!==Zn||n[192]!==sr||n[193]!==Qt?($r=_.jsxs("div",{role:"tabpanel",id:"graphiql-session","aria-labelledby":Jt,children:[Zn,sr,Qt]}),n[190]=Jt,n[191]=Zn,n[192]=sr,n[193]=Qt,n[194]=$r):$r=n[194];let Au;n[195]!==N.secondRef||n[196]!==_t||n[197]!==$r?(Au=_.jsxs("div",{ref:uf,className:"graphiql-sessions",children:[_t,$r]}),n[195]=N.secondRef,n[196]=_t,n[197]=$r,n[198]=Au):Au=n[198];let Fi;n[199]!==Eu||n[200]!==Lr||n[201]!==Au?(Fi=_.jsxs("div",{className:"graphiql-main",children:[Eu,Lr,Au]}),n[199]=Eu,n[200]=Lr,n[201]=Au,n[202]=Fi):Fi=n[202];const hs=re==="short-keys";let Ur;n[203]===Symbol.for("react.memo_cache_sentinel")?(Ur=_.jsxs("div",{className:"graphiql-dialog-header",children:[_.jsx(Ks.Title,{className:"graphiql-dialog-title",children:"Short Keys"}),_.jsx(Ks.Close,{})]}),n[203]=Ur):Ur=n[203];const Va=e.keyMap||"sublime";let Xt;n[204]!==Va?(Xt=_.jsx("div",{className:"graphiql-dialog-section",children:_.jsx(_Q,{keyMap:Va})}),n[204]=Va,n[205]=Xt):Xt=n[205];let lr;n[206]!==hs||n[207]!==Xt?(lr=_.jsxs(Ks,{open:hs,onOpenChange:ct,children:[Ur,Xt]}),n[206]=hs,n[207]=Xt,n[208]=lr):lr=n[208];const ps=re==="settings";let wu;n[209]===Symbol.for("react.memo_cache_sentinel")?(wu=_.jsxs("div",{className:"graphiql-dialog-header",children:[_.jsx(Ks.Title,{className:"graphiql-dialog-title",children:"Settings"}),_.jsx(Ks.Close,{})]}),n[209]=wu):wu=n[209];let Wn;n[210]!==o.shouldPersistHeaders||n[211]!==oe||n[212]!==e.showPersistHeadersSettings?(Wn=e.showPersistHeadersSettings?_.jsxs("div",{className:"graphiql-dialog-section",children:[_.jsxs("div",{children:[_.jsx("div",{className:"graphiql-dialog-section-title",children:"Persist headers"}),_.jsxs("div",{className:"graphiql-dialog-section-caption",children:["Save headers upon reloading."," ",_.jsx("span",{className:"graphiql-warning-text",children:"Only enable if you trust this device."})]})]}),_.jsxs(Zm,{children:[_.jsx(qi,{type:"button",id:"enable-persist-headers",className:dt(o.shouldPersistHeaders&&"active"),"data-value":"true",onClick:oe,children:"On"}),_.jsx(qi,{type:"button",id:"disable-persist-headers",className:dt(!o.shouldPersistHeaders&&"active"),onClick:oe,children:"Off"})]})]}):null,n[210]=o.shouldPersistHeaders,n[211]=oe,n[212]=e.showPersistHeadersSettings,n[213]=Wn):Wn=n[213];let zr;n[214]!==y||n[215]!==ue||n[216]!==v?(zr=!y&&_.jsxs("div",{className:"graphiql-dialog-section",children:[_.jsxs("div",{children:[_.jsx("div",{className:"graphiql-dialog-section-title",children:"Theme"}),_.jsx("div",{className:"graphiql-dialog-section-caption",children:"Adjust how the interface appears."})]}),_.jsxs(Zm,{children:[_.jsx(qi,{type:"button",className:dt(v===null&&"active"),onClick:ue,children:"System"}),_.jsx(qi,{type:"button",className:dt(v==="light"&&"active"),"data-theme":"light",onClick:ue,children:"Light"}),_.jsx(qi,{type:"button",className:dt(v==="dark"&&"active"),"data-theme":"dark",onClick:ue,children:"Dark"})]})]}),n[214]=y,n[215]=ue,n[216]=v,n[217]=zr):zr=n[217];let Hr;n[218]!==X||n[219]!==Y||n[220]!==p?(Hr=p?_.jsxs("div",{className:"graphiql-dialog-section",children:[_.jsxs("div",{children:[_.jsx("div",{className:"graphiql-dialog-section-title",children:"Clear storage"}),_.jsx("div",{className:"graphiql-dialog-section-caption",children:"Remove all locally stored data and start fresh."})]}),_.jsx(qi,{type:"button",state:X||void 0,disabled:X==="success",onClick:Y,children:{success:"Cleared data",error:"Failed"}[X]||"Clear data"})]}):null,n[218]=X,n[219]=Y,n[220]=p,n[221]=Hr):Hr=n[221];let Kn;n[222]!==ps||n[223]!==Wn||n[224]!==zr||n[225]!==Hr?(Kn=_.jsxs(Ks,{open:ps,onOpenChange:Ye,children:[wu,Wn,zr,Hr]}),n[222]=ps,n[223]=Wn,n[224]=zr,n[225]=Hr,n[226]=Kn):Kn=n[226];let ms;return n[227]!==Ut||n[228]!==kr||n[229]!==Fi||n[230]!==lr||n[231]!==Kn?(ms=_.jsx(zn.Provider,{children:_.jsxs("div",{className:Ut,children:[kr,Fi,lr,Kn]})}),n[227]=Ut,n[228]=kr,n[229]=Fi,n[230]=lr,n[231]=Kn,n[232]=ms):ms=n[232],ms},gm=Qg?"⌘":"Ctrl",SQ=Object.entries({"Search in editor":[gm,"F"],"Search in documentation":[gm,"K"],"Execute query":[gm,"Enter"],"Prettify editors":["Ctrl","Shift","P"],"Merge fragments definitions into operation definition":["Ctrl","Shift","M"],"Copy query":["Ctrl","Shift","C"],"Re-fetch schema using introspection":["Ctrl","Shift","R"]}),_Q=e=>{const t=ge.c(5),{keyMap:n}=e;let i;t[0]===Symbol.for("react.memo_cache_sentinel")?(i=_.jsxs("table",{className:"graphiql-table",children:[_.jsx("thead",{children:_.jsxs("tr",{children:[_.jsx("th",{children:"Short Key"}),_.jsx("th",{children:"Function"})]})}),_.jsx("tbody",{children:SQ.map(MQ)})]}),t[0]=i):i=t[0];let r;t[1]===Symbol.for("react.memo_cache_sentinel")?(r=_.jsx("a",{href:"https://codemirror.net/5/doc/manual.html#keymaps",target:"_blank",rel:"noopener noreferrer",children:"CodeMirror Key Maps"}),t[1]=r):r=t[1];let o;t[2]===Symbol.for("react.memo_cache_sentinel")?(o=_.jsx("em",{children:"i"}),t[2]=o):o=t[2];let a;return t[3]!==n?(a=_.jsxs("div",{children:[i,_.jsxs("p",{children:["The editors use"," ",r," ","that add more short keys. This instance of Graph",o,"QL uses"," ",_.jsx("code",{children:n}),"."]})]}),t[3]=n,t[4]=a):a=t[4],a},CQ=_.jsxs("a",{className:"graphiql-logo-link",href:"https://github.com/graphql/graphiql",target:"_blank",rel:"noreferrer",children:["Graph",_.jsx("em",{children:"i"}),"QL"]}),AQ=e=>{const t=ge.c(2),{children:n}=e,i=n===void 0?CQ:n;let r;return t[0]!==i?(r=_.jsx("div",{className:"graphiql-logo",children:i}),t[0]=i,t[1]=r):r=t[1],r},wQ=e=>{const t=ge.c(4),{prettify:n,copy:i,merge:r}=e;let o;return t[0]!==i||t[1]!==r||t[2]!==n?(o=_.jsxs(_.Fragment,{children:[n,r,i]}),t[0]=i,t[1]=r,t[2]=n,t[3]=o):o=t[3],o},DQ=({children:e=wQ,onCopyQuery:t,onPrettifyQuery:n})=>{"use no memo";if(typeof e!="function")throw new TypeError("The `GraphiQL.Toolbar` component requires a render prop function as its child.");const i=i2({onCopyQuery:t}),r=Bc(),o=$c({onPrettifyQuery:n}),a=_.jsx(zd,{onClick:o,label:"Prettify query (Shift-Ctrl-P)",children:_.jsx(UL,{className:"graphiql-toolbar-icon","aria-hidden":"true"})}),c=_.jsx(zd,{onClick:r,label:"Merge fragments into query (Shift-Ctrl-M)",children:_.jsx(PL,{className:"graphiql-toolbar-icon","aria-hidden":"true"})});return e({prettify:a,copy:_.jsx(zd,{onClick:i,label:"Copy query (Shift-Ctrl-C)",children:_.jsx(CL,{className:"graphiql-toolbar-icon","aria-hidden":"true"})}),merge:c})},NQ=e=>{const t=ge.c(2);let n;return t[0]!==e.children?(n=_.jsx("div",{className:"graphiql-footer",children:e.children}),t[0]=e.children,t[1]=n):n=t[1],n};function OQ(e){if(e&&typeof e=="object"&&"type"in e&&typeof e.type=="function")return e.type}const ea=Object.assign(xQ,{Logo:AQ,Toolbar:DQ,Footer:NQ});function RQ(e,t,n){return _.jsxs(x.Fragment,{children:[_.jsx("code",{className:"graphiql-key",children:e}),t!==n.length-1&&" + "]},e)}function MQ(e){const[t,n]=e;return _.jsxs("tr",{children:[_.jsx("td",{children:n.map(RQ)}),_.jsx("td",{children:t})]},t)}const kQ={clear(){},getItem(e){return null},length:0,removeItem(e){},setItem(e,t){}},LQ=({apiType:e})=>{const{adminApiUrl:t,shopApiUrl:n}=window.GRAPHIQL_SETTINGS??{adminApiUrl:"http://localhost:3000/admin-api",shopApiUrl:"http://localhost:3000/shop-api"},i=e==="admin"?t:n,r=e==="admin"?"Admin API":"Shop API",o=new URLSearchParams(window.location.search),a=o.get("query")??void 0,c=o.get("embeddedMode")==="true",f=c?kQ:void 0,h=x.useCallback(()=>eN({url:i,subscriptionUrl:i.replace(/^http/,"ws")}),[i]),p=g=>{if(g!==e){const y=window.location.pathname.split("/"),v=y.length>1?`/${y[1]}`:"";window.location.href=`${v}/${g}`}};return _.jsxs("div",{className:"graphiql-app",children:[c?null:_.jsxs("div",{className:"vendure-header",children:[_.jsxs("h1",{children:["Vendure GraphiQL - ",r]}),_.jsxs("div",{className:"switch-api",children:[_.jsx("span",{children:"Switch API:"}),_.jsx("a",{href:"#",className:e==="admin"?"active":"",onClick:g=>{g.preventDefault(),p("admin")},children:"Admin API"}),_.jsx("a",{href:"#",className:e==="shop"?"active":"",onClick:g=>{g.preventDefault(),p("shop")},children:"Shop API"})]})]}),_.jsx("div",{className:"graphiql-wrapper",children:_.jsx(ea,{className:c?"embedded-mode":void 0,fetcher:h(),storage:f,defaultEditorToolsVisibility:!c,query:a})})]})},J9=window.location.pathname;J9.includes("/admin");const IQ=J9.includes("/shop"),FQ=IQ?"shop":"admin",b5=document.getElementById("root");b5&&lw.createRoot(b5).render(_.jsx(ke.StrictMode,{children:_.jsx(LQ,{apiType:FQ})}));export{TN as $,yD as A,ln as B,pD as C,Se as D,j5 as E,_i as F,Je as G,Id as H,Yi as I,VD as J,W as K,et as L,BQ as M,VQ as N,Ci as O,Ko as P,CN as Q,_E as R,$e as S,rT as T,Hn as U,zg as V,wa as W,ac as X,lc as Y,cc as Z,SN as _,$Q as a,EN as a0,sn as a1,Jo as a2,Re as a3,Xe as a4,h1 as a5,Ft as a6,Tt as b,bt as c,Zw as d,no as e,SD as f,Wo as g,b0 as h,ou as i,be as j,vD as k,tT as l,Nn as m,Ww as n,kn as o,li as p,Pt as q,S0 as r,Jw as s,fc as t,mD as u,Ug as v,I5 as w,Vg as x,zl as y,bD as z};
|
|
375
|
-
//# sourceMappingURL=index-
|
|
374
|
+
*/var d5;function vY(){if(d5)return fm;d5=1;var e=Lc();function t(f,h){return f===h&&(f!==0||1/f===1/h)||f!==f&&h!==h}var n=typeof Object.is=="function"?Object.is:t,i=e.useSyncExternalStore,r=e.useRef,o=e.useEffect,a=e.useMemo,c=e.useDebugValue;return fm.useSyncExternalStoreWithSelector=function(f,h,p,g,y){var v=r(null);if(v.current===null){var E={hasValue:!1,value:null};v.current=E}else E=v.current;v=a(function(){function S(O){if(!A){if(A=!0,D=O,O=g(O),y!==void 0&&E.hasValue){var k=E.value;if(y(k,O))return C=k}return C=O}if(k=C,n(D,O))return k;var I=g(O);return y!==void 0&&y(k,I)?(D=O,k):(D=O,C=I)}var A=!1,D,C,N=p===void 0?null:p;return[function(){return S(h())},N===null?void 0:function(){return S(N())}]},[h,p,g,y]);var T=i(f,v[0],v[1]);return o(function(){E.hasValue=!0,E.value=T},[T]),c(T),T},fm}var h5;function yY(){return h5||(h5=1,cm.exports=vY()),cm.exports}var bY=yY(),P9=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},$i=(e,t,n)=>(P9(e,t,"read from private field"),n?n.call(e):t.get(e)),dm=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},p5=(e,t,n,i)=>(P9(e,t,"write to private field"),t.set(e,n),n),uu,Ql,Xl;class xY{constructor(t){dm(this,uu,{}),dm(this,Ql,new D9(()=>new Set)),dm(this,Xl,new Set),p5(this,uu,t)}get state(){return $i(this,uu)}subscribe(t,n){let i={selector:t,callback:n,current:t($i(this,uu))};return $i(this,Xl).add(i),()=>{$i(this,Xl).delete(i)}}on(t,n){return $i(this,Ql).get(t).add(n),()=>{$i(this,Ql).get(t).delete(n)}}send(t){p5(this,uu,this.reduce($i(this,uu),t));for(let n of $i(this,Xl)){let i=n.selector($i(this,uu));V9(n.current,i)||(n.current=i,n.callback(i))}for(let n of $i(this,Ql).get(t.type))n($i(this,uu),t)}}uu=new WeakMap,Ql=new WeakMap,Xl=new WeakMap;function V9(e,t){return Object.is(e,t)?!0:typeof e!="object"||e===null||typeof t!="object"||t===null?!1:Array.isArray(e)&&Array.isArray(t)?e.length!==t.length?!1:hm(e[Symbol.iterator](),t[Symbol.iterator]()):e instanceof Map&&t instanceof Map||e instanceof Set&&t instanceof Set?e.size!==t.size?!1:hm(e.entries(),t.entries()):m5(e)&&m5(t)?hm(Object.entries(e)[Symbol.iterator](),Object.entries(t)[Symbol.iterator]()):!1}function hm(e,t){do{let n=e.next(),i=t.next();if(n.done&&i.done)return!0;if(n.done||i.done||!Object.is(n.value,i.value))return!1}while(!0)}function m5(e){if(Object.prototype.toString.call(e)!=="[object Object]")return!1;let t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}function yn(e,t,n=V9){return bY.useSyncExternalStoreWithSelector(ze(i=>e.subscribe(EY,i)),ze(()=>e.state),ze(()=>e.state),ze(t),n)}function EY(e){return e}function TY(e){function t(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",t))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",t),t())}let ko=[];TY(()=>{function e(t){if(!(t.target instanceof HTMLElement)||t.target===document.body||ko[0]===t.target)return;let n=t.target;n=n.closest(Lg),ko.unshift(n??t.target),ko=ko.filter(i=>i!=null&&i.isConnected),ko.splice(10)}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})});function SY(e){throw new Error("Unexpected object: "+e)}var un=(e=>(e[e.First=0]="First",e[e.Previous=1]="Previous",e[e.Next=2]="Next",e[e.Last=3]="Last",e[e.Specific=4]="Specific",e[e.Nothing=5]="Nothing",e))(un||{});function g5(e,t){let n=t.resolveItems();if(n.length<=0)return null;let i=t.resolveActiveIndex(),r=i??-1;switch(e.focus){case 0:{for(let o=0;o<n.length;++o)if(!t.resolveDisabled(n[o],o,n))return o;return i}case 1:{r===-1&&(r=n.length);for(let o=r-1;o>=0;--o)if(!t.resolveDisabled(n[o],o,n))return o;return i}case 2:{for(let o=r+1;o<n.length;++o)if(!t.resolveDisabled(n[o],o,n))return o;return i}case 3:{for(let o=n.length-1;o>=0;--o)if(!t.resolveDisabled(n[o],o,n))return o;return i}case 4:{for(let o=0;o<n.length;++o)if(t.resolveId(n[o],o,n)===e.id)return o;return i}case 5:return null;default:SY(e)}}var xv=(e=>(e[e.Left=0]="Left",e[e.Right=2]="Right",e))(xv||{});function _Y(e){let t=ze(e),n=x.useRef(!1);x.useEffect(()=>(n.current=!1,()=>{n.current=!0,v9(()=>{n.current&&t()})}),[t])}function CY(){let e=typeof document>"u";return"useSyncExternalStore"in uc?(t=>t.useSyncExternalStore)(uc)(()=>()=>{},()=>!1,()=>!e):!1}function AY(){let e=CY(),[t,n]=x.useState(Ho.isHandoffComplete);return t&&Ho.isHandoffComplete===!1&&n(!1),x.useEffect(()=>{t!==!0&&n(!0)},[t]),x.useEffect(()=>Ho.handoff(),[]),e?!1:t}let wY=x.createContext(!1);function DY(){return x.useContext(wY)}function NY(e){let t=DY(),n=x.useContext($9),[i,r]=x.useState(()=>{var o;if(!t&&n!==null)return(o=n.current)!=null?o:null;if(Ho.isServer)return null;let a=e==null?void 0:e.getElementById("headlessui-portal-root");if(a)return a;if(e===null)return null;let c=e.createElement("div");return c.setAttribute("id","headlessui-portal-root"),e.body.appendChild(c)});return x.useEffect(()=>{i!==null&&(e!=null&&e.body.contains(i)||e==null||e.body.appendChild(i))},[i,e]),x.useEffect(()=>{t||n!==null&&r(n.current)},[n,r,t]),i}let B9=x.Fragment,OY=er(function(e,t){let{ownerDocument:n=null,...i}=e,r=x.useRef(null),o=yu(Uq(v=>{r.current=v}),t),a=y0(r),c=n??a,f=NY(c),[h]=x.useState(()=>{var v;return Ho.isServer?null:(v=c==null?void 0:c.createElement("div"))!=null?v:null}),p=x.useContext(LY),g=AY();Rt(()=>{!f||!h||f.contains(h)||(h.setAttribute("data-headlessui-portal",""),f.appendChild(h))},[f,h]),Rt(()=>{if(h&&p)return p.register(h)},[p,h]),_Y(()=>{var v;!f||!h||(h instanceof Node&&f.contains(h)&&f.removeChild(h),f.childNodes.length<=0&&((v=f.parentElement)==null||v.removeChild(f)))});let y=Ji();return g?!f||!h?null:On.createPortal(y({ourProps:{ref:o},theirProps:i,slot:{},defaultTag:B9,name:"Portal"}),h):null});function RY(e,t){let n=yu(t),{enabled:i=!0,ownerDocument:r,...o}=e,a=Ji();return i?ke.createElement(OY,{...o,ownerDocument:r,ref:n}):a({ourProps:{ref:n},theirProps:o,slot:{},defaultTag:B9,name:"Portal"})}let MY=x.Fragment,$9=x.createContext(null);function kY(e,t){let{target:n,...i}=e,r={ref:yu(t)},o=Ji();return ke.createElement($9.Provider,{value:n},o({ourProps:r,theirProps:i,defaultTag:MY,name:"Popover.Group"}))}let LY=x.createContext(null),IY=er(RY),FY=er(kY),jY=Object.assign(IY,{Group:FY});var PY=Object.defineProperty,VY=(e,t,n)=>t in e?PY(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,v5=(e,t,n)=>(VY(e,typeof t!="symbol"?t+"":t,n),n),Ue=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Ue||{}),oi=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(oi||{}),to=(e=>(e[e.Pointer=0]="Pointer",e[e.Focus=1]="Focus",e[e.Other=2]="Other",e))(to||{}),U9=(e=>(e[e.OpenCombobox=0]="OpenCombobox",e[e.CloseCombobox=1]="CloseCombobox",e[e.GoToOption=2]="GoToOption",e[e.SetTyping=3]="SetTyping",e[e.RegisterOption=4]="RegisterOption",e[e.UnregisterOption=5]="UnregisterOption",e[e.DefaultToFirstOption=6]="DefaultToFirstOption",e[e.SetActivationTrigger=7]="SetActivationTrigger",e[e.UpdateVirtualConfiguration=8]="UpdateVirtualConfiguration",e[e.SetInputElement=9]="SetInputElement",e[e.SetButtonElement=10]="SetButtonElement",e[e.SetOptionsElement=11]="SetOptionsElement",e))(U9||{});function pm(e,t=n=>n){let n=e.activeOptionIndex!==null?e.options[e.activeOptionIndex]:null,i=t(e.options.slice()),r=i.length>0&&i[0].dataRef.current.order!==null?i.sort((a,c)=>a.dataRef.current.order-c.dataRef.current.order):EG(i,a=>a.dataRef.current.domRef.current),o=n?r.indexOf(n):null;return o===-1&&(o=null),{options:r,activeOptionIndex:o}}let BY={1(e){var t;return(t=e.dataRef.current)!=null&&t.disabled||e.comboboxState===1?e:{...e,activeOptionIndex:null,comboboxState:1,isTyping:!1,activationTrigger:2,__demoMode:!1}},0(e){var t,n;if((t=e.dataRef.current)!=null&&t.disabled||e.comboboxState===0)return e;if((n=e.dataRef.current)!=null&&n.value){let i=e.dataRef.current.calculateIndex(e.dataRef.current.value);if(i!==-1)return{...e,activeOptionIndex:i,comboboxState:0,__demoMode:!1}}return{...e,comboboxState:0,__demoMode:!1}},3(e,t){return e.isTyping===t.isTyping?e:{...e,isTyping:t.isTyping}},2(e,t){var n,i,r,o;if((n=e.dataRef.current)!=null&&n.disabled||e.optionsElement&&!((i=e.dataRef.current)!=null&&i.optionsPropsRef.current.static)&&e.comboboxState===1)return e;if(e.virtual){let{options:h,disabled:p}=e.virtual,g=t.focus===un.Specific?t.idx:g5(t,{resolveItems:()=>h,resolveActiveIndex:()=>{var v,E;return(E=(v=e.activeOptionIndex)!=null?v:h.findIndex(T=>!p(T)))!=null?E:null},resolveDisabled:p,resolveId(){throw new Error("Function not implemented.")}}),y=(r=t.trigger)!=null?r:2;return e.activeOptionIndex===g&&e.activationTrigger===y?e:{...e,activeOptionIndex:g,activationTrigger:y,isTyping:!1,__demoMode:!1}}let a=pm(e);if(a.activeOptionIndex===null){let h=a.options.findIndex(p=>!p.dataRef.current.disabled);h!==-1&&(a.activeOptionIndex=h)}let c=t.focus===un.Specific?t.idx:g5(t,{resolveItems:()=>a.options,resolveActiveIndex:()=>a.activeOptionIndex,resolveId:h=>h.id,resolveDisabled:h=>h.dataRef.current.disabled}),f=(o=t.trigger)!=null?o:2;return e.activeOptionIndex===c&&e.activationTrigger===f?e:{...e,...a,isTyping:!1,activeOptionIndex:c,activationTrigger:f,__demoMode:!1}},4:(e,t)=>{var n,i,r,o;if((n=e.dataRef.current)!=null&&n.virtual)return{...e,options:[...e.options,t.payload]};let a=t.payload,c=pm(e,h=>(h.push(a),h));e.activeOptionIndex===null&&(r=(i=e.dataRef.current).isSelected)!=null&&r.call(i,t.payload.dataRef.current.value)&&(c.activeOptionIndex=c.options.indexOf(a));let f={...e,...c,activationTrigger:2};return(o=e.dataRef.current)!=null&&o.__demoMode&&e.dataRef.current.value===void 0&&(f.activeOptionIndex=0),f},5:(e,t)=>{var n;if((n=e.dataRef.current)!=null&&n.virtual)return{...e,options:e.options.filter(r=>r.id!==t.id)};let i=pm(e,r=>{let o=r.findIndex(a=>a.id===t.id);return o!==-1&&r.splice(o,1),r});return{...e,...i,activationTrigger:2}},6:(e,t)=>e.defaultToFirstOption===t.value?e:{...e,defaultToFirstOption:t.value},7:(e,t)=>e.activationTrigger===t.trigger?e:{...e,activationTrigger:t.trigger},8:(e,t)=>{var n,i;if(e.virtual===null)return{...e,virtual:{options:t.options,disabled:(n=t.disabled)!=null?n:()=>!1}};if(e.virtual.options===t.options&&e.virtual.disabled===t.disabled)return e;let r=e.activeOptionIndex;if(e.activeOptionIndex!==null){let o=t.options.indexOf(e.virtual.options[e.activeOptionIndex]);o!==-1?r=o:r=null}return{...e,activeOptionIndex:r,virtual:{options:t.options,disabled:(i=t.disabled)!=null?i:()=>!1}}},9:(e,t)=>e.inputElement===t.element?e:{...e,inputElement:t.element},10:(e,t)=>e.buttonElement===t.element?e:{...e,buttonElement:t.element},11:(e,t)=>e.optionsElement===t.element?e:{...e,optionsElement:t.element}};class Ev extends xY{constructor(){super(...arguments),v5(this,"actions",{onChange:t=>{let{onChange:n,compare:i,mode:r,value:o}=this.state.dataRef.current;return gu(r,{0:()=>n==null?void 0:n(t),1:()=>{let a=o.slice(),c=a.findIndex(f=>i(f,t));return c===-1?a.push(t):a.splice(c,1),n==null?void 0:n(a)}})},registerOption:(t,n)=>(this.send({type:4,payload:{id:t,dataRef:n}}),()=>{this.state.activeOptionIndex===this.state.dataRef.current.calculateIndex(n.current.value)&&this.send({type:6,value:!0}),this.send({type:5,id:t})}),goToOption:(t,n)=>(this.send({type:6,value:!1}),this.send({type:2,...t,trigger:n})),setIsTyping:t=>{this.send({type:3,isTyping:t})},closeCombobox:()=>{var t,n;this.send({type:1}),this.send({type:6,value:!1}),(n=(t=this.state.dataRef.current).onClose)==null||n.call(t)},openCombobox:()=>{this.send({type:0}),this.send({type:6,value:!0})},setActivationTrigger:t=>{this.send({type:7,trigger:t})},selectActiveOption:()=>{let t=this.selectors.activeOptionIndex(this.state);if(t!==null){if(this.actions.setIsTyping(!1),this.state.virtual)this.actions.onChange(this.state.virtual.options[t]);else{let{dataRef:n}=this.state.options[t];this.actions.onChange(n.current.value)}this.actions.goToOption({focus:un.Specific,idx:t})}},setInputElement:t=>{this.send({type:9,element:t})},setButtonElement:t=>{this.send({type:10,element:t})},setOptionsElement:t=>{this.send({type:11,element:t})}}),v5(this,"selectors",{activeDescendantId:t=>{var n,i;let r=this.selectors.activeOptionIndex(t);if(r!==null)return t.virtual?(i=t.options.find(o=>!o.dataRef.current.disabled&&t.dataRef.current.compare(o.dataRef.current.value,t.virtual.options[r])))==null?void 0:i.id:(n=t.options[r])==null?void 0:n.id},activeOptionIndex:t=>{if(t.defaultToFirstOption&&t.activeOptionIndex===null&&(t.virtual?t.virtual.options.length>0:t.options.length>0)){if(t.virtual){let{options:i,disabled:r}=t.virtual,o=i.findIndex(a=>{var c;return!((c=r==null?void 0:r(a))!=null&&c)});if(o!==-1)return o}let n=t.options.findIndex(i=>!i.dataRef.current.disabled);if(n!==-1)return n}return t.activeOptionIndex},activeOption:t=>{var n,i;let r=this.selectors.activeOptionIndex(t);return r===null?null:t.virtual?t.virtual.options[r??0]:(i=(n=t.options[r])==null?void 0:n.dataRef.current.value)!=null?i:null},isActive:(t,n,i)=>{var r;let o=this.selectors.activeOptionIndex(t);return o===null?!1:t.virtual?o===t.dataRef.current.calculateIndex(n):((r=t.options[o])==null?void 0:r.id)===i},shouldScrollIntoView:(t,n,i)=>!(t.virtual||t.__demoMode||t.comboboxState!==0||t.activationTrigger===0||!this.selectors.isActive(t,n,i))})}static new({virtual:t=null,__demoMode:n=!1}={}){var i;return new Ev({dataRef:{current:{}},comboboxState:n?0:1,isTyping:!1,options:[],virtual:t?{options:t.options,disabled:(i=t.disabled)!=null?i:()=>!1}:null,activeOptionIndex:null,activationTrigger:2,inputElement:null,buttonElement:null,optionsElement:null,__demoMode:n})}reduce(t,n){return gu(n.type,BY,t,n)}}const z9=x.createContext(null);function rf(e){let t=x.useContext(z9);if(t===null){let n=new Error(`<${e} /> is missing a parent <Combobox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,H9),n}return t}function H9({virtual:e=null,__demoMode:t=!1}={}){return x.useMemo(()=>Ev.new({virtual:e,__demoMode:t}),[])}let kc=x.createContext(null);kc.displayName="ComboboxDataContext";function Ia(e){let t=x.useContext(kc);if(t===null){let n=new Error(`<${e} /> is missing a parent <Combobox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Ia),n}return t}let q9=x.createContext(null);function $Y(e){let t=rf("VirtualProvider"),n=Ia("VirtualProvider"),{options:i}=n.virtual,r=yn(t,v=>v.optionsElement),[o,a]=x.useMemo(()=>{let v=r;if(!v)return[0,0];let E=window.getComputedStyle(v);return[parseFloat(E.paddingBlockStart||E.paddingTop),parseFloat(E.paddingBlockEnd||E.paddingBottom)]},[r]),c=lG({enabled:i.length!==0,scrollPaddingStart:o,scrollPaddingEnd:a,count:i.length,estimateSize(){return 40},getScrollElement(){return t.state.optionsElement},overscan:12}),[f,h]=x.useState(0);Rt(()=>{h(v=>v+1)},[i]);let p=c.getVirtualItems(),g=yn(t,v=>v.activationTrigger===to.Pointer),y=yn(t,t.selectors.activeOptionIndex);return p.length===0?null:ke.createElement(q9.Provider,{value:c},ke.createElement("div",{style:{position:"relative",width:"100%",height:`${c.getTotalSize()}px`},ref:v=>{v&&(g||y!==null&&i.length>y&&c.scrollToIndex(y))}},p.map(v=>{var E;return ke.createElement(x.Fragment,{key:v.key},ke.cloneElement((E=e.children)==null?void 0:E.call(e,{...e.slot,option:i[v.index]}),{key:`${f}-${v.key}`,"data-index":v.index,"aria-setsize":i.length,"aria-posinset":v.index+1,style:{position:"absolute",top:0,left:0,transform:`translateY(${v.start}px)`,overflowAnchor:"none"}}))})))}let UY=x.Fragment;function zY(e,t){let n=hv(),{value:i,defaultValue:r,onChange:o,form:a,name:c,by:f,invalid:h=!1,disabled:p=n||!1,onClose:g,__demoMode:y=!1,multiple:v=!1,immediate:E=!1,virtual:T=null,nullable:S,...A}=e,D=Mq(r),[C=v?[]:void 0,N]=Rq(i,o,D),O=H9({virtual:T,__demoMode:y}),k=x.useRef({static:!1,hold:!1}),I=fG(f),P=ze(oe=>T?f===null?T.options.indexOf(oe):T.options.findIndex(le=>I(le,oe)):O.state.options.findIndex(le=>I(le.dataRef.current.value,oe))),L=x.useCallback(oe=>gu(te.mode,{[oi.Multi]:()=>C.some(le=>I(le,oe)),[oi.Single]:()=>I(C,oe)}),[C]),B=yn(O,oe=>oe.virtual),z=ze(()=>g==null?void 0:g()),te=x.useMemo(()=>({__demoMode:y,immediate:E,optionsPropsRef:k,value:C,defaultValue:D,disabled:p,invalid:h,mode:v?oi.Multi:oi.Single,virtual:T?B:null,onChange:N,isSelected:L,calculateIndex:P,compare:I,onClose:z}),[C,D,p,h,v,N,L,y,O,T,B,z]);Rt(()=>{var oe;T&&O.send({type:U9.UpdateVirtualConfiguration,options:T.options,disabled:(oe=T.disabled)!=null?oe:null})},[T,T==null?void 0:T.options,T==null?void 0:T.disabled]),Rt(()=>{O.state.dataRef.current=te},[te]);let[re,fe,X,F]=yn(O,oe=>[oe.comboboxState,oe.buttonElement,oe.inputElement,oe.optionsElement]),H=re===Ue.Open;_G(H,[fe,X,F],()=>O.actions.closeCombobox());let $=yn(O,O.selectors.activeOptionIndex),V=yn(O,O.selectors.activeOption),M=x.useMemo(()=>({open:re===Ue.Open,disabled:p,invalid:h,activeIndex:$,activeOption:V,value:C}),[te,p,C,h,V,re]),[q,ie]=Yq(),ne=t===null?{}:{ref:t},Y=x.useCallback(()=>{if(D!==void 0)return N==null?void 0:N(D)},[N,D]),pe=Ji();return ke.createElement(ie,{value:q,props:{htmlFor:X==null?void 0:X.id},slot:{open:re===Ue.Open,disabled:p}},ke.createElement(fY,null,ke.createElement(kc.Provider,{value:te},ke.createElement(z9.Provider,{value:O},ke.createElement(gY,{value:gu(re,{[Ue.Open]:Mc.Open,[Ue.Closed]:Mc.Closed})},c!=null&&ke.createElement(jq,{disabled:p,data:C!=null?{[c]:C}:{},form:a,onReset:Y}),pe({ourProps:ne,theirProps:A,slot:M,defaultTag:UY,name:"Combobox"}))))))}let HY="input";function qY(e,t){var n,i;let r=rf("Combobox.Input"),o=Ia("Combobox.Input"),a=x.useId(),c=S9(),{id:f=c||`headlessui-combobox-input-${a}`,onChange:h,displayValue:p,disabled:g=o.disabled||!1,autoFocus:y=!1,type:v="text",...E}=e,[T]=yn(r,Y=>[Y.inputElement]),S=x.useRef(null),A=yu(S,t,aY(),r.actions.setInputElement),D=y0(T),[C,N]=yn(r,Y=>[Y.comboboxState,Y.isTyping]),O=tf(),k=ze(()=>{r.actions.onChange(null),r.state.optionsElement&&(r.state.optionsElement.scrollTop=0),r.actions.goToOption({focus:un.Nothing})}),I=x.useMemo(()=>{var Y;return typeof p=="function"&&o.value!==void 0?(Y=p(o.value))!=null?Y:"":typeof o.value=="string"?o.value:""},[o.value,p]);r5(([Y,pe],[oe,le])=>{if(r.state.isTyping)return;let ue=S.current;ue&&((le===Ue.Open&&pe===Ue.Closed||Y!==oe)&&(ue.value=Y),requestAnimationFrame(()=>{if(r.state.isTyping||!ue||(D==null?void 0:D.activeElement)!==ue)return;let{selectionStart:me,selectionEnd:ve}=ue;Math.abs((ve??0)-(me??0))===0&&me===0&&ue.setSelectionRange(ue.value.length,ue.value.length)}))},[I,C,D,N]),r5(([Y],[pe])=>{if(Y===Ue.Open&&pe===Ue.Closed){if(r.state.isTyping)return;let oe=S.current;if(!oe)return;let le=oe.value,{selectionStart:ue,selectionEnd:me,selectionDirection:ve}=oe;oe.value="",oe.value=le,ve!==null?oe.setSelectionRange(ue,me,ve):oe.setSelectionRange(ue,me)}},[C]);let P=x.useRef(!1),L=ze(()=>{P.current=!0}),B=ze(()=>{O.nextFrame(()=>{P.current=!1})}),z=ze(Y=>{switch(r.actions.setIsTyping(!0),Y.key){case Dn.Enter:if(r.state.comboboxState!==Ue.Open||P.current)return;if(Y.preventDefault(),Y.stopPropagation(),r.selectors.activeOptionIndex(r.state)===null){r.actions.closeCombobox();return}r.actions.selectActiveOption(),o.mode===oi.Single&&r.actions.closeCombobox();break;case Dn.ArrowDown:return Y.preventDefault(),Y.stopPropagation(),gu(r.state.comboboxState,{[Ue.Open]:()=>r.actions.goToOption({focus:un.Next}),[Ue.Closed]:()=>r.actions.openCombobox()});case Dn.ArrowUp:return Y.preventDefault(),Y.stopPropagation(),gu(r.state.comboboxState,{[Ue.Open]:()=>r.actions.goToOption({focus:un.Previous}),[Ue.Closed]:()=>{On.flushSync(()=>r.actions.openCombobox()),o.value||r.actions.goToOption({focus:un.Last})}});case Dn.Home:if(Y.shiftKey)break;return Y.preventDefault(),Y.stopPropagation(),r.actions.goToOption({focus:un.First});case Dn.PageUp:return Y.preventDefault(),Y.stopPropagation(),r.actions.goToOption({focus:un.First});case Dn.End:if(Y.shiftKey)break;return Y.preventDefault(),Y.stopPropagation(),r.actions.goToOption({focus:un.Last});case Dn.PageDown:return Y.preventDefault(),Y.stopPropagation(),r.actions.goToOption({focus:un.Last});case Dn.Escape:return r.state.comboboxState!==Ue.Open?void 0:(Y.preventDefault(),r.state.optionsElement&&!o.optionsPropsRef.current.static&&Y.stopPropagation(),o.mode===oi.Single&&o.value===null&&k(),r.actions.closeCombobox());case Dn.Tab:if(r.state.comboboxState!==Ue.Open)return;o.mode===oi.Single&&r.state.activationTrigger!==to.Focus&&r.actions.selectActiveOption(),r.actions.closeCombobox();break}}),te=ze(Y=>{h==null||h(Y),o.mode===oi.Single&&Y.target.value===""&&k(),r.actions.openCombobox()}),re=ze(Y=>{var pe,oe,le;let ue=(pe=Y.relatedTarget)!=null?pe:ko.find(me=>me!==Y.currentTarget);if(!((oe=r.state.optionsElement)!=null&&oe.contains(ue))&&!((le=r.state.buttonElement)!=null&&le.contains(ue))&&r.state.comboboxState===Ue.Open)return Y.preventDefault(),o.mode===oi.Single&&o.value===null&&k(),r.actions.closeCombobox()}),fe=ze(Y=>{var pe,oe,le;let ue=(pe=Y.relatedTarget)!=null?pe:ko.find(me=>me!==Y.currentTarget);(oe=r.state.buttonElement)!=null&&oe.contains(ue)||(le=r.state.optionsElement)!=null&&le.contains(ue)||o.disabled||o.immediate&&r.state.comboboxState!==Ue.Open&&O.microTask(()=>{On.flushSync(()=>r.actions.openCombobox()),r.actions.setActivationTrigger(to.Focus)})}),X=eh(),F=zq(),{isFocused:H,focusProps:$}=g9({autoFocus:y}),{isHovered:V,hoverProps:M}=m9({isDisabled:g}),q=yn(r,Y=>Y.optionsElement),ie=x.useMemo(()=>({open:C===Ue.Open,disabled:g,invalid:o.invalid,hover:V,focus:H,autofocus:y}),[o,V,H,y,g,o.invalid]),ne=pv({ref:A,id:f,role:"combobox",type:v,"aria-controls":q==null?void 0:q.id,"aria-expanded":C===Ue.Open,"aria-activedescendant":yn(r,r.selectors.activeDescendantId),"aria-labelledby":X,"aria-describedby":F,"aria-autocomplete":"list",defaultValue:(i=(n=e.defaultValue)!=null?n:o.defaultValue!==void 0?p==null?void 0:p(o.defaultValue):null)!=null?i:o.defaultValue,disabled:g||void 0,autoFocus:y,onCompositionStart:L,onCompositionEnd:B,onKeyDown:z,onChange:te,onFocus:fe,onBlur:re},$,M);return Ji()({ourProps:ne,theirProps:E,slot:ie,defaultTag:HY,name:"Combobox.Input"})}let GY="button";function YY(e,t){let n=rf("Combobox.Button"),i=Ia("Combobox.Button"),[r,o]=x.useState(null),a=yu(t,o,n.actions.setButtonElement),c=x.useId(),{id:f=`headlessui-combobox-button-${c}`,disabled:h=i.disabled||!1,autoFocus:p=!1,...g}=e,y=yn(n,z=>z.inputElement),v=L9(y),E=ze(z=>{switch(z.key){case Dn.Space:case Dn.Enter:z.preventDefault(),z.stopPropagation(),n.state.comboboxState===Ue.Closed&&On.flushSync(()=>n.actions.openCombobox()),v();return;case Dn.ArrowDown:z.preventDefault(),z.stopPropagation(),n.state.comboboxState===Ue.Closed&&(On.flushSync(()=>n.actions.openCombobox()),n.state.dataRef.current.value||n.actions.goToOption({focus:un.First})),v();return;case Dn.ArrowUp:z.preventDefault(),z.stopPropagation(),n.state.comboboxState===Ue.Closed&&(On.flushSync(()=>n.actions.openCombobox()),n.state.dataRef.current.value||n.actions.goToOption({focus:un.Last})),v();return;case Dn.Escape:if(n.state.comboboxState!==Ue.Open)return;z.preventDefault(),n.state.optionsElement&&!i.optionsPropsRef.current.static&&z.stopPropagation(),On.flushSync(()=>n.actions.closeCombobox()),v();return;default:return}}),T=ze(z=>{z.preventDefault(),!Bq(z.currentTarget)&&(z.button===xv.Left&&(n.state.comboboxState===Ue.Open?n.actions.closeCombobox():n.actions.openCombobox()),v())}),S=eh([f]),{isFocusVisible:A,focusProps:D}=g9({autoFocus:p}),{isHovered:C,hoverProps:N}=m9({isDisabled:h}),{pressed:O,pressProps:k}=_q({disabled:h}),[I,P]=yn(n,z=>[z.comboboxState,z.optionsElement]),L=x.useMemo(()=>({open:I===Ue.Open,active:O||I===Ue.Open,disabled:h,invalid:i.invalid,value:i.value,hover:C,focus:A}),[i,C,A,O,h,I]),B=pv({ref:a,id:f,type:AG(e,r),tabIndex:-1,"aria-haspopup":"listbox","aria-controls":P==null?void 0:P.id,"aria-expanded":I===Ue.Open,"aria-labelledby":S,disabled:h||void 0,autoFocus:p,onMouseDown:T,onKeyDown:E},D,N,k);return Ji()({ourProps:B,theirProps:g,slot:L,defaultTag:GY,name:"Combobox.Button"})}let QY="div",XY=Mg.RenderStrategy|Mg.Static;function ZY(e,t){var n,i,r;let o=x.useId(),{id:a=`headlessui-combobox-options-${o}`,hold:c=!1,anchor:f,portal:h=!1,modal:p=!0,transition:g=!1,...y}=e,v=rf("Combobox.Options"),E=Ia("Combobox.Options"),T=sY(f);T&&(h=!0);let[S,A]=cY(T),[D,C]=x.useState(null),N=lY(),O=yu(t,T?S:null,v.actions.setOptionsElement,C),[k,I,P,L,B]=yn(v,ve=>[ve.comboboxState,ve.inputElement,ve.buttonElement,ve.optionsElement,ve.activationTrigger]),z=y0(I||P),te=y0(L),re=mY(),[fe,X]=PG(g,D,re!==null?(re&Mc.Open)===Mc.Open:k===Ue.Open);mG(fe,I,v.actions.closeCombobox);let F=E.__demoMode?!1:p&&k===Ue.Open;MG(F,te);let H=E.__demoMode?!1:p&&k===Ue.Open;pG(H,{allowed:x.useCallback(()=>[I,P,L],[I,P,L])}),Rt(()=>{var ve;E.optionsPropsRef.current.static=(ve=e.static)!=null?ve:!1},[E.optionsPropsRef,e.static]),Rt(()=>{E.optionsPropsRef.current.hold=c},[E.optionsPropsRef,c]),UG(k===Ue.Open,{container:L,accept(ve){return ve.getAttribute("role")==="option"?NodeFilter.FILTER_REJECT:ve.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk(ve){ve.setAttribute("role","none")}});let $=eh([P==null?void 0:P.id]),V=x.useMemo(()=>({open:k===Ue.Open,option:void 0}),[k]),M=ze(()=>{v.actions.setActivationTrigger(to.Pointer)}),q=ze(ve=>{ve.preventDefault(),v.actions.setActivationTrigger(to.Pointer)}),ie=pv(T?N():{},{"aria-labelledby":$,role:"listbox","aria-multiselectable":E.mode===oi.Multi?!0:void 0,id:a,ref:O,style:{...y.style,...A,"--input-width":W4(I,!0).width,"--button-width":W4(P,!0).width},onWheel:B===to.Pointer?void 0:M,onMouseDown:q,...jG(X)}),ne=fe&&k===Ue.Closed,Y=Fg(ne,(n=E.virtual)==null?void 0:n.options),pe=Fg(ne,E.value),oe=ze(ve=>E.compare(pe,ve)),le=x.useMemo(()=>{if(!E.virtual)return E;if(Y===void 0)throw new Error("Missing `options` in virtual mode");return Y!==E.virtual.options?{...E,virtual:{...E.virtual,options:Y}}:E},[E,Y,(i=E.virtual)==null?void 0:i.options]);E.virtual&&Object.assign(y,{children:ke.createElement(kc.Provider,{value:le},ke.createElement($Y,{slot:V},y.children))});let ue=Ji(),me=x.useMemo(()=>E.mode===oi.Multi?E:{...E,isSelected:oe},[E,oe]);return ke.createElement(jY,{enabled:h?e.static||fe:!1,ownerDocument:z},ke.createElement(kc.Provider,{value:me},ue({ourProps:ie,theirProps:{...y,children:ke.createElement(pY,{freeze:ne},typeof y.children=="function"?(r=y.children)==null?void 0:r.call(y,V):y.children)},slot:V,defaultTag:QY,features:XY,visible:fe,name:"Combobox.Options"})))}let WY="div";function KY(e,t){var n,i,r;let o=Ia("Combobox.Option"),a=rf("Combobox.Option"),c=x.useId(),{id:f=`headlessui-combobox-option-${c}`,value:h,disabled:p=(r=(i=(n=o.virtual)==null?void 0:n.disabled)==null?void 0:i.call(n,h))!=null?r:!1,order:g=null,...y}=e,[v]=yn(a,X=>[X.inputElement]),E=L9(v),T=yn(a,x.useCallback(X=>a.selectors.isActive(X,h,f),[h,f])),S=o.isSelected(h),A=x.useRef(null),D=os({disabled:p,value:h,domRef:A,order:g}),C=x.useContext(q9),N=yu(t,A,C?C.measureElement:null),O=ze(()=>{a.actions.setIsTyping(!1),a.actions.onChange(h)});Rt(()=>a.actions.registerOption(f,D),[D,f]);let k=yn(a,x.useCallback(X=>a.selectors.shouldScrollIntoView(X,h,f),[h,f]));Rt(()=>{if(k)return vu().requestAnimationFrame(()=>{var X,F;(F=(X=A.current)==null?void 0:X.scrollIntoView)==null||F.call(X,{block:"nearest"})})},[k,A]);let I=ze(X=>{X.preventDefault(),X.button===xv.Left&&(p||(O(),k9()||requestAnimationFrame(()=>E()),o.mode===oi.Single&&a.actions.closeCombobox()))}),P=ze(()=>{if(p)return a.actions.goToOption({focus:un.Nothing});let X=o.calculateIndex(h);a.actions.goToOption({focus:un.Specific,idx:X})}),L=kG(),B=ze(X=>L.update(X)),z=ze(X=>{if(!L.wasMoved(X)||p||T)return;let F=o.calculateIndex(h);a.actions.goToOption({focus:un.Specific,idx:F},to.Pointer)}),te=ze(X=>{L.wasMoved(X)&&(p||T&&(o.optionsPropsRef.current.hold||a.actions.goToOption({focus:un.Nothing})))}),re=x.useMemo(()=>({active:T,focus:T,selected:S,disabled:p}),[T,S,p]),fe={id:f,ref:N,role:"option",tabIndex:p===!0?void 0:-1,"aria-disabled":p===!0?!0:void 0,"aria-selected":S,disabled:void 0,onMouseDown:I,onFocus:P,onPointerEnter:B,onMouseEnter:B,onPointerMove:z,onMouseMove:z,onPointerLeave:te,onMouseLeave:te};return Ji()({ourProps:fe,theirProps:y,slot:re,defaultTag:WY,name:"Combobox.Option"})}let JY=er(zY),eQ=er(YY),G9=er(qY),tQ=Wq,Y9=er(ZY),th=er(KY),nQ=Object.assign(JY,{Input:G9,Button:eQ,Label:tQ,Options:Y9,Option:th});const Q9=()=>{const e=ge.c(33);let t;e[0]===Symbol.for("react.memo_cache_sentinel")?(t={nonNull:!0,caller:Q9},e[0]=t):t=e[0];const{explorerNavStack:n,push:i}=Kc(t),r=x.useRef(null),o=X9(),[a,c]=x.useState("");let f;e[1]!==o||e[2]!==a?(f=()=>o(a),e[1]=o,e[2]=a,e[3]=f):f=e[3];const[h,p]=x.useState(f);let g;e[4]!==o?(g=xa(200,X=>{p(o(X))}),e[4]=o,e[5]=g):g=e[5];const y=g,[v]=x.useState(r),E=v.current===document.activeElement;let T,S;e[6]!==y||e[7]!==a?(T=()=>{y(a)},S=[y,a],e[6]=y,e[7]=a,e[8]=T,e[9]=S):(T=e[8],S=e[9]),x.useEffect(T,S);let A,D;e[10]===Symbol.for("react.memo_cache_sentinel")?(A=()=>{const X=function(H){H.metaKey&&H.key==="k"&&r.current.focus()};return window.addEventListener("keydown",X),()=>window.removeEventListener("keydown",X)},D=[],e[10]=A,e[11]=D):(A=e[10],D=e[11]),x.useEffect(A,D);let C,N,O;if(e[12]!==n||e[13]!==i){C=n.at(-1);let X;e[17]!==i?(X=F=>{i("field"in F?{name:F.field.name,def:F.field}:{name:F.type.name,def:F.type})},e[17]=i,e[18]=X):X=e[18],N=X,O=n.length===1||bt(C.def)||Tt(C.def)||ln(C.def),e[12]=n,e[13]=i,e[14]=C,e[15]=N,e[16]=O}else C=e[14],N=e[15],O=e[16];if(!O)return null;const I=E?void 0:"idle",P=`Search ${C.name}...`;let L,B;e[19]===Symbol.for("react.memo_cache_sentinel")?(L=()=>{r.current.focus()},B=_.jsx(jL,{}),e[19]=L,e[20]=B):(L=e[19],B=e[20]);let z;e[21]===Symbol.for("react.memo_cache_sentinel")?(z=X=>c(X.target.value),e[21]=z):z=e[21];let te;e[22]!==a?(te=_.jsxs("div",{className:"graphiql-doc-explorer-search-input",onClick:L,children:[B,_.jsx(G9,{autoComplete:"off",onChange:z,placeholder:`${Xg?"⌘":"Ctrl"} K`,ref:r,value:a,"data-cy":"doc-explorer-input"})]}),e[22]=a,e[23]=te):te=e[23];let re;e[24]!==E||e[25]!==h?(re=E&&_.jsxs(Y9,{"data-cy":"doc-explorer-list",children:[h.within.length+h.types.length+h.fields.length===0?_.jsx("li",{className:"graphiql-doc-explorer-search-empty",children:"No results found"}):h.within.map(rQ),h.within.length>0&&h.types.length+h.fields.length>0?_.jsx("div",{className:"graphiql-doc-explorer-search-divider",children:"Other results"}):null,h.types.map(uQ),h.fields.map(oQ)]}),e[24]=E,e[25]=h,e[26]=re):re=e[26];let fe;return e[27]!==N||e[28]!==te||e[29]!==re||e[30]!==I||e[31]!==P?(fe=_.jsxs(nQ,{as:"div",className:"graphiql-doc-explorer-search",onChange:N,"data-state":I,"aria-label":P,children:[te,re]}),e[27]=N,e[28]=te,e[29]=re,e[30]=I,e[31]=P,e[32]=fe):fe=e[32],fe},y5=X9;function X9(e){const t=ge.c(9),n=e||y5;let i;t[0]!==n?(i={nonNull:!0,caller:n},t[0]=n,t[1]=i):i=t[1];const{explorerNavStack:r}=Kc(i),o=e||y5;let a;t[2]!==o?(a={nonNull:!0,caller:o},t[2]=o,t[3]=a):a=t[3];const{schema:c}=Dr(a);let f;t[4]!==r?(f=r.at(-1),t[4]=r,t[5]=f):f=t[5];const h=f;let p;return t[6]!==h||t[7]!==c?(p=g=>{const y={within:[],types:[],fields:[]};if(!c)return y;const v=h.def,E=c.getTypeMap();let T=Object.keys(E);v&&(T=T.filter(S=>S!==v.name),T.unshift(v.name));for(const S of T){if(y.within.length+y.types.length+y.fields.length>=100)break;const A=E[S];if(v!==A&&mm(S,g)&&y.types.push({type:A}),!bt(A)&&!Tt(A)&&!ln(A))continue;const D=A.getFields();for(const C in D){const N=D[C];let O;if(!mm(C,g))if("args"in N){if(O=N.args.filter(k=>mm(k.name,g)),O.length===0)continue}else continue;y[v===A?"within":"fields"].push(...O?O.map(k=>({type:A,field:N,argument:k})):[{type:A,field:N}])}}return y},t[6]=h,t[7]=c,t[8]=p):p=t[8],p}function mm(e,t){try{const n=t.replaceAll(/[^_0-9A-Za-z]/g,i=>"\\"+i);return new RegExp(n,"i").test(e)}catch{return e.toLowerCase().includes(t.toLowerCase())}}function Tv(e){const t=ge.c(2);let n;return t[0]!==e.type.name?(n=_.jsx("span",{className:"graphiql-doc-explorer-search-type",children:e.type.name}),t[0]=e.type.name,t[1]=n):n=t[1],n}function Z9(e){const t=ge.c(7),{field:n,argument:i}=e;let r;t[0]!==n.name?(r=_.jsx("span",{className:"graphiql-doc-explorer-search-field",children:n.name}),t[0]=n.name,t[1]=r):r=t[1];let o;t[2]!==i?(o=i?_.jsxs(_.Fragment,{children:["(",_.jsx("span",{className:"graphiql-doc-explorer-search-argument",children:i.name}),":"," ",m0(i.type,iQ),")"]}):null,t[2]=i,t[3]=o):o=t[3];let a;return t[4]!==r||t[5]!==o?(a=_.jsxs(_.Fragment,{children:[r,o]}),t[4]=r,t[5]=o,t[6]=a):a=t[6],a}function iQ(e){return _.jsx(Tv,{type:e})}function rQ(e,t){return _.jsx(th,{value:e,"data-cy":"doc-explorer-option",children:_.jsx(Z9,{field:e.field,argument:e.argument})},`within-${t}`)}function uQ(e,t){return _.jsx(th,{value:e,"data-cy":"doc-explorer-option",children:_.jsx(Tv,{type:e.type})},`type-${t}`)}function oQ(e,t){return _.jsxs(th,{value:e,"data-cy":"doc-explorer-option",children:[_.jsx(Tv,{type:e.type}),".",_.jsx(Z9,{field:e.field,argument:e.argument})]},`field-${t}`)}function sQ(e){const t=ge.c(7);let n;t[0]===Symbol.for("react.memo_cache_sentinel")?(n={nonNull:!0},t[0]=n):n=t[0];const{push:i}=Kc(n);let r;t[1]!==e.field||t[2]!==i?(r=a=>{a.preventDefault(),i({name:e.field.name,def:e.field})},t[1]=e.field,t[2]=i,t[3]=r):r=t[3];let o;return t[4]!==e.field.name||t[5]!==r?(o=_.jsx("a",{className:"graphiql-doc-explorer-field-name",onClick:r,href:"#",children:e.field.name}),t[4]=e.field.name,t[5]=r,t[6]=o):o=t[6],o}function aQ(e){const t=ge.c(2);let n;return t[0]!==e.type?(n=Ug(e.type)?_.jsxs(_.Fragment,{children:[e.type.description?_.jsx(Ar,{type:"description",children:e.type.description}):null,_.jsx(lQ,{type:e.type}),_.jsx(fQ,{type:e.type}),_.jsx(mQ,{type:e.type}),_.jsx(yQ,{type:e.type})]}):null,t[0]=e.type,t[1]=n):n=t[1],n}function lQ(e){const t=ge.c(5),{type:n}=e;if(!bt(n))return null;let i;t[0]!==n?(i=n.getInterfaces(),t[0]=n,t[1]=i):i=t[1];const r=i;let o;return t[2]!==r.length||t[3]!==n?(o=r.length>0?_.jsx(Oi,{title:"Implements",children:n.getInterfaces().map(cQ)}):null,t[2]=r.length,t[3]=n,t[4]=o):o=t[4],o}function cQ(e){return _.jsx("div",{children:_.jsx(br,{type:e})},e.name)}function fQ(e){const t=ge.c(12),{type:n}=e,[i,r]=x.useState(!1);let o;t[0]===Symbol.for("react.memo_cache_sentinel")?(o=()=>{r(!0)},t[0]=o):o=t[0];const a=o;if(!bt(n)&&!Tt(n)&&!ln(n))return null;let c,f,h;if(t[1]!==n){const y=n.getFields();f=[],c=[];for(const v of Object.keys(y).map(E=>y[E]))v.deprecationReason?c.push(v):f.push(v);h=f.length>0?_.jsx(Oi,{title:"Fields",children:f.map(hQ)}):null,t[1]=n,t[2]=c,t[3]=f,t[4]=h}else c=t[2],f=t[3],h=t[4];let p;t[5]!==c||t[6]!==f.length||t[7]!==i?(p=c.length>0?i||f.length===0?_.jsx(Oi,{title:"Deprecated Fields",children:c.map(dQ)}):_.jsx(qi,{type:"button",onClick:a,children:"Show Deprecated Fields"}):null,t[5]=c,t[6]=f.length,t[7]=i,t[8]=p):p=t[8];let g;return t[9]!==h||t[10]!==p?(g=_.jsxs(_.Fragment,{children:[h,p]}),t[9]=h,t[10]=p,t[11]=g):g=t[11],g}function dQ(e){return _.jsx(W9,{field:e},e.name)}function hQ(e){return _.jsx(W9,{field:e},e.name)}function W9(e){const t=ge.c(22),{field:n}=e;let i,r,o;if(t[0]!==n){const y="args"in n?n.args.filter(pQ):[];o="graphiql-doc-explorer-item",i=_.jsx(sQ,{field:n}),r=y.length>0?_.jsxs(_.Fragment,{children:["(",_.jsx("span",{children:y.map(v=>y.length===1?_.jsx(g0,{arg:v,inline:!0},v.name):_.jsx("div",{className:"graphiql-doc-explorer-argument-multiple",children:_.jsx(g0,{arg:v,inline:!0})},v.name))}),")"]}):null,t[0]=n,t[1]=i,t[2]=r,t[3]=o}else i=t[1],r=t[2],o=t[3];let a;t[4]!==n.type?(a=_.jsx(br,{type:n.type}),t[4]=n.type,t[5]=a):a=t[5];let c;t[6]!==n?(c=_.jsx(t9,{field:n}),t[6]=n,t[7]=c):c=t[7];let f;t[8]!==i||t[9]!==r||t[10]!==a||t[11]!==c?(f=_.jsxs("div",{children:[i,r,": ",a,c]}),t[8]=i,t[9]=r,t[10]=a,t[11]=c,t[12]=f):f=t[12];let h;t[13]!==n.description?(h=n.description?_.jsx(Ar,{type:"description",onlyShowFirstChild:!0,children:n.description}):null,t[13]=n.description,t[14]=h):h=t[14];let p;t[15]!==n.deprecationReason?(p=_.jsx(n9,{children:n.deprecationReason}),t[15]=n.deprecationReason,t[16]=p):p=t[16];let g;return t[17]!==o||t[18]!==f||t[19]!==h||t[20]!==p?(g=_.jsxs("div",{className:o,children:[f,h,p]}),t[17]=o,t[18]=f,t[19]=h,t[20]=p,t[21]=g):g=t[21],g}function pQ(e){return!e.deprecationReason}function mQ(e){const t=ge.c(12),{type:n}=e,[i,r]=x.useState(!1);let o;t[0]===Symbol.for("react.memo_cache_sentinel")?(o=()=>{r(!0)},t[0]=o):o=t[0];const a=o;if(!ci(n))return null;let c,f,h;if(t[1]!==n){h=[],c=[];for(const y of n.getValues())y.deprecationReason?c.push(y):h.push(y);f=h.length>0?_.jsx(Oi,{title:"Enum Values",children:h.map(vQ)}):null,t[1]=n,t[2]=c,t[3]=f,t[4]=h}else c=t[2],f=t[3],h=t[4];let p;t[5]!==c||t[6]!==i||t[7]!==h.length?(p=c.length>0?i||h.length===0?_.jsx(Oi,{title:"Deprecated Enum Values",children:c.map(gQ)}):_.jsx(qi,{type:"button",onClick:a,children:"Show Deprecated Values"}):null,t[5]=c,t[6]=i,t[7]=h.length,t[8]=p):p=t[8];let g;return t[9]!==f||t[10]!==p?(g=_.jsxs(_.Fragment,{children:[f,p]}),t[9]=f,t[10]=p,t[11]=g):g=t[11],g}function gQ(e){return _.jsx(K9,{value:e},e.name)}function vQ(e){return _.jsx(K9,{value:e},e.name)}function K9(e){const t=ge.c(10),{value:n}=e;let i;t[0]!==n.name?(i=_.jsx("div",{className:"graphiql-doc-explorer-enum-value",children:n.name}),t[0]=n.name,t[1]=i):i=t[1];let r;t[2]!==n.description?(r=n.description?_.jsx(Ar,{type:"description",children:n.description}):null,t[2]=n.description,t[3]=r):r=t[3];let o;t[4]!==n.deprecationReason?(o=n.deprecationReason?_.jsx(Ar,{type:"deprecation",children:n.deprecationReason}):null,t[4]=n.deprecationReason,t[5]=o):o=t[5];let a;return t[6]!==i||t[7]!==r||t[8]!==o?(a=_.jsxs("div",{className:"graphiql-doc-explorer-item",children:[i,r,o]}),t[6]=i,t[7]=r,t[8]=o,t[9]=a):a=t[9],a}function yQ(e){const t=ge.c(7),{type:n}=e;let i;t[0]===Symbol.for("react.memo_cache_sentinel")?(i={nonNull:!0},t[0]=i):i=t[0];const{schema:r}=Dr(i);if(!r||!ou(n))return null;const o=Tt(n)?"Implementations":"Possible Types";let a;t[1]!==r||t[2]!==n?(a=r.getPossibleTypes(n).map(bQ),t[1]=r,t[2]=n,t[3]=a):a=t[3];let c;return t[4]!==o||t[5]!==a?(c=_.jsx(Oi,{title:o,children:a}),t[4]=o,t[5]=a,t[6]=c):c=t[6],c}function bQ(e){return _.jsx("div",{children:_.jsx(br,{type:e})},e.name)}function jg(){const e=ge.c(40);let t;e[0]===Symbol.for("react.memo_cache_sentinel")?(t={nonNull:!0,caller:jg},e[0]=t):t=e[0];const{fetchError:n,isFetching:i,schema:r,validationErrors:o}=Dr(t);let a;e[1]===Symbol.for("react.memo_cache_sentinel")?(a={nonNull:!0,caller:jg},e[1]=a):a=e[1];const{explorerNavStack:c,pop:f}=Kc(a);let h,p;if(e[2]!==c||e[3]!==n||e[4]!==i||e[5]!==r||e[6]!==o){if(p=c.at(-1),h=null,n){let C;e[9]===Symbol.for("react.memo_cache_sentinel")?(C=_.jsx("div",{className:"graphiql-doc-explorer-error",children:"Error fetching schema"}),e[9]=C):C=e[9],h=C}else if(o.length>0){let C;e[10]!==o[0].message?(C=_.jsxs("div",{className:"graphiql-doc-explorer-error",children:["Schema is invalid: ",o[0].message]}),e[10]=o[0].message,e[11]=C):C=e[11],h=C}else if(i){let C;e[12]===Symbol.for("react.memo_cache_sentinel")?(C=_.jsx(O2,{}),e[12]=C):C=e[12],h=C}else if(r){if(c.length===1){let C;e[14]!==r?(C=_.jsx(WH,{schema:r}),e[14]=r,e[15]=C):C=e[15],h=C}else if(Bg(p.def)){let C;e[16]!==p.def?(C=_.jsx(aQ,{type:p.def}),e[16]=p.def,e[17]=C):C=e[17],h=C}else if(p.def){let C;e[18]!==p.def?(C=_.jsx(qH,{field:p.def}),e[18]=p.def,e[19]=C):C=e[19],h=C}}else{let C;e[13]===Symbol.for("react.memo_cache_sentinel")?(C=_.jsx("div",{className:"graphiql-doc-explorer-error",children:"No GraphQL schema available"}),e[13]=C):C=e[13],h=C}e[2]=c,e[3]=n,e[4]=i,e[5]=r,e[6]=o,e[7]=h,e[8]=p}else h=e[7],p=e[8];let g;if(c.length>1){let C;e[20]!==c?(C=c.at(-2),e[20]=c,e[21]=C):C=e[21],g=C.name}let y;e[22]!==f||e[23]!==g?(y=g&&_.jsxs("a",{href:"#",className:"graphiql-doc-explorer-back",onClick:C=>{C.preventDefault(),f()},"aria-label":`Go back to ${g}`,children:[_.jsx(SL,{}),g]}),e[22]=f,e[23]=g,e[24]=y):y=e[24];let v;e[25]!==p.name?(v=_.jsx("div",{className:"graphiql-doc-explorer-title",children:p.name}),e[25]=p.name,e[26]=v):v=e[26];let E;e[27]!==y||e[28]!==v?(E=_.jsxs("div",{className:"graphiql-doc-explorer-header-content",children:[y,v]}),e[27]=y,e[28]=v,e[29]=E):E=e[29];let T;e[30]!==p.name?(T=_.jsx(Q9,{},p.name),e[30]=p.name,e[31]=T):T=e[31];let S;e[32]!==E||e[33]!==T?(S=_.jsxs("div",{className:"graphiql-doc-explorer-header",children:[E,T]}),e[32]=E,e[33]=T,e[34]=S):S=e[34];let A;e[35]!==h?(A=_.jsx("div",{className:"graphiql-doc-explorer-content",children:h}),e[35]=h,e[36]=A):A=e[36];let D;return e[37]!==S||e[38]!==A?(D=_.jsxs("section",{className:"graphiql-doc-explorer","aria-label":"Documentation Explorer",children:[S,A]}),e[37]=S,e[38]=A,e[39]=D):D=e[39],D}const Pg={title:"Documentation Explorer",icon:function(){const t=N0();return(t==null?void 0:t.visiblePlugin)===Pg?_.jsx(OL,{}):_.jsx(RL,{})},content:jg},xQ=e=>{var t,n;const i=ge.c(69);let r,o,a,c,f,h,p,g,y,v,E,T,S,A,D,C,N,O,k,I,P,L,B,z,te,re,fe,X;i[0]!==e?({dangerouslyAssumeSchemaIsValid:o,confirmCloseTab:r,defaultQuery:c,defaultTabs:f,externalFragments:h,fetcher:p,getDefaultFieldNames:g,headers:y,inputValueDeprecation:v,introspectionQueryName:E,maxHistoryLength:T,onEditOperationName:S,onSchemaChange:A,onTabChange:D,onTogglePluginVisibility:C,operationName:N,plugins:te,query:k,response:I,schema:P,schemaDescription:L,shouldPersistHeaders:B,storage:z,validationRules:re,variables:fe,visiblePlugin:X,defaultHeaders:a,...O}=e,i[0]=e,i[1]=r,i[2]=o,i[3]=a,i[4]=c,i[5]=f,i[6]=h,i[7]=p,i[8]=g,i[9]=y,i[10]=v,i[11]=E,i[12]=T,i[13]=S,i[14]=A,i[15]=D,i[16]=C,i[17]=N,i[18]=O,i[19]=k,i[20]=I,i[21]=P,i[22]=L,i[23]=B,i[24]=z,i[25]=te,i[26]=re,i[27]=fe,i[28]=X):(r=i[1],o=i[2],a=i[3],c=i[4],f=i[5],h=i[6],p=i[7],g=i[8],y=i[9],v=i[10],E=i[11],T=i[12],S=i[13],A=i[14],D=i[15],C=i[16],N=i[17],O=i[18],k=i[19],I=i[20],P=i[21],L=i[22],B=i[23],z=i[24],te=i[25],re=i[26],fe=i[27],X=i[28]);let F;i[29]!==te?(F=te===void 0?[]:te,i[29]=te,i[30]=F):F=i[30];const H=F;if((t=O.toolbar)!=null&&t.additionalContent)throw new TypeError("`toolbar.additionalContent` was removed. Use render props on `GraphiQL.Toolbar` component instead.");if((n=O.toolbar)!=null&&n.additionalComponent)throw new TypeError("`toolbar.additionalComponent` was removed. Use render props on `GraphiQL.Toolbar` component instead.");let $;i[31]!==H?($=[Pg,VH,...H],i[31]=H,i[32]=$):$=i[32];let V;i[33]!==o||i[34]!==a||i[35]!==c||i[36]!==f||i[37]!==h||i[38]!==p||i[39]!==g||i[40]!==y||i[41]!==v||i[42]!==E||i[43]!==S||i[44]!==A||i[45]!==D||i[46]!==C||i[47]!==N||i[48]!==k||i[49]!==I||i[50]!==P||i[51]!==L||i[52]!==B||i[53]!==z||i[54]!==$||i[55]!==re||i[56]!==fe||i[57]!==X?(V={getDefaultFieldNames:g,dangerouslyAssumeSchemaIsValid:o,defaultQuery:c,defaultHeaders:a,defaultTabs:f,externalFragments:h,fetcher:p,headers:y,inputValueDeprecation:v,introspectionQueryName:E,onEditOperationName:S,onSchemaChange:A,onTabChange:D,onTogglePluginVisibility:C,plugins:$,referencePlugin:Pg,visiblePlugin:X,operationName:N,query:k,response:I,schema:P,schemaDescription:L,shouldPersistHeaders:B,storage:z,validationRules:re,variables:fe},i[33]=o,i[34]=a,i[35]=c,i[36]=f,i[37]=h,i[38]=p,i[39]=g,i[40]=y,i[41]=v,i[42]=E,i[43]=S,i[44]=A,i[45]=D,i[46]=C,i[47]=N,i[48]=k,i[49]=I,i[50]=P,i[51]=L,i[52]=B,i[53]=z,i[54]=$,i[55]=re,i[56]=fe,i[57]=X,i[58]=V):V=i[58];const M=V,q=B!==!1;let ie;i[59]!==r||i[60]!==O||i[61]!==q?(ie=_.jsx(e9,{children:_.jsx(TQ,{confirmCloseTab:r,showPersistHeadersSettings:q,forcedTheme:O.forcedTheme,...O})}),i[59]=r,i[60]=O,i[61]=q,i[62]=ie):ie=i[62];let ne;i[63]!==T||i[64]!==ie?(ne=_.jsx(DH,{maxHistoryLength:T,children:ie}),i[63]=T,i[64]=ie,i[65]=ne):ne=i[65];let Y;return i[66]!==M||i[67]!==ne?(Y=_.jsx(Uk,{...M,children:ne}),i[66]=M,i[67]=ne,i[68]=Y):Y=i[68],Y},EQ=["light","dark","system"],gm="graphiql-session-tab-",TQ=e=>{var t;const n=ge.c(233),i=e.isHeadersEditorEnabled??!0;let r;n[0]===Symbol.for("react.memo_cache_sentinel")?(r={nonNull:!0},n[0]=r):r=n[0];const o=bn(r);let a;n[1]===Symbol.for("react.memo_cache_sentinel")?(a={nonNull:!0},n[1]=a):a=n[1];const c=Na(a);let f;n[2]===Symbol.for("react.memo_cache_sentinel")?(f={nonNull:!0},n[2]=f):f=n[2];const h=Dr(f),p=ao(),g=N0(),y=e.forcedTheme&&EQ.includes(e.forcedTheme)?e.forcedTheme:void 0,{theme:v,setTheme:E}=zk(e.defaultTheme);let T,S;n[3]!==y||n[4]!==E?(T=()=>{y==="system"?E(null):(y==="light"||y==="dark")&&E(y)},S=[y,E],n[3]=y,n[4]=E,n[5]=T,n[6]=S):(T=n[5],S=n[6]),x.useEffect(T,S);const A=(t=g==null?void 0:g.visiblePlugin)==null?void 0:t.content,D=g!=null&&g.visiblePlugin?void 0:"first";let C;n[7]!==g||n[8]!==D?(C={defaultSizeRelation:.3333333333333333,direction:"horizontal",initiallyHidden:D,onHiddenElementChange(Fe){Fe==="first"&&(g==null||g.setVisiblePlugin(null))},sizeThresholdSecond:200,storageKey:"docExplorerFlex"},n[7]=g,n[8]=D,n[9]=C):C=n[9];const N=k1(C);let O;n[10]===Symbol.for("react.memo_cache_sentinel")?(O={direction:"horizontal",storageKey:"editorFlex"},n[10]=O):O=n[10];const k=k1(O);let I;e:{if(e.defaultEditorToolsVisibility==="variables"||e.defaultEditorToolsVisibility==="headers"){I=void 0;break e}if(typeof e.defaultEditorToolsVisibility=="boolean"){I=e.defaultEditorToolsVisibility?void 0:"second";break e}I=o.initialVariables||o.initialHeaders?void 0:"second"}let P;n[11]!==I?(P={defaultSizeRelation:3,direction:"vertical",initiallyHidden:I,sizeThresholdSecond:60,storageKey:"secondaryEditorFlex"},n[11]=I,n[12]=P):P=n[12];const L=k1(P);let B;n[13]!==o.initialHeaders||n[14]!==o.initialVariables||n[15]!==i||n[16]!==e.defaultEditorToolsVisibility?(B=()=>e.defaultEditorToolsVisibility==="variables"||e.defaultEditorToolsVisibility==="headers"?e.defaultEditorToolsVisibility:!o.initialVariables&&o.initialHeaders&&i?"headers":"variables",n[13]=o.initialHeaders,n[14]=o.initialVariables,n[15]=i,n[16]=e.defaultEditorToolsVisibility,n[17]=B):B=n[17];const[z,te]=x.useState(B),[re,fe]=x.useState(null),[X,F]=x.useState(null);let H;if(n[18]!==e.children||n[19]!==e.onCopyQuery||n[20]!==e.onPrettifyQuery){let Fe;n[22]!==e.onCopyQuery||n[23]!==e.onPrettifyQuery?(Fe=(An,ho)=>{e:switch(OQ(ho)){case ea.Logo:{An.logo=ho;break e}case ea.Toolbar:{An.toolbar=x.cloneElement(ho,{onCopyQuery:e.onCopyQuery,onPrettifyQuery:e.onPrettifyQuery});break e}case ea.Footer:An.footer=ho}return An},n[22]=e.onCopyQuery,n[23]=e.onPrettifyQuery,n[24]=Fe):Fe=n[24];let vt;n[25]===Symbol.for("react.memo_cache_sentinel")?(vt=_.jsx(ea.Logo,{}),n[25]=vt):vt=n[25];let zt;n[26]!==e.onCopyQuery||n[27]!==e.onPrettifyQuery?(zt=_.jsx(ea.Toolbar,{onCopyQuery:e.onCopyQuery,onPrettifyQuery:e.onPrettifyQuery}),n[26]=e.onCopyQuery,n[27]=e.onPrettifyQuery,n[28]=zt):zt=n[28],H=x.Children.toArray(e.children).reduce(Fe,{logo:vt,toolbar:zt}),n[18]=e.children,n[19]=e.onCopyQuery,n[20]=e.onPrettifyQuery,n[21]=H}else H=n[21];const{logo:$,toolbar:V,footer:M}=H;let q;n[29]!==N?(q=()=>{N.hiddenElement==="first"&&N.setHiddenElement(null)},n[29]=N,n[30]=q):q=n[30];const ie=q;let ne;n[31]!==p?(ne=()=>{try{p&&p.clear(),F("success")}catch{F("error")}},n[31]=p,n[32]=ne):ne=n[32];const Y=ne;let pe;n[33]!==o?(pe=Fe=>{o.setShouldPersistHeaders(Fe.currentTarget.dataset.value==="true")},n[33]=o,n[34]=pe):pe=n[34];const oe=pe;let le;n[35]!==E?(le=Fe=>{const vt=Fe.currentTarget.dataset.theme;E(vt||null)},n[35]=E,n[36]=le):le=n[36];const ue=le,me=o.addTab,ve=h.introspect,He=o.moveTab;let lt;n[37]===Symbol.for("react.memo_cache_sentinel")?(lt=Fe=>{fe(Fe.currentTarget.dataset.value)},n[37]=lt):lt=n[37];const Te=lt;let At;n[38]!==g||n[39]!==N?(At=Fe=>{const vt=g,zt=Number(Fe.currentTarget.dataset.index),An=vt.plugins.find((Ba,$a)=>zt===$a);An===vt.visiblePlugin?(vt.setVisiblePlugin(null),N.setHiddenElement("first")):(vt.setVisiblePlugin(An),N.setHiddenElement(null))},n[38]=g,n[39]=N,n[40]=At):At=n[40];const In=At;let cn;n[41]!==L?(cn=Fe=>{L.hiddenElement==="second"&&L.setHiddenElement(null),te(Fe.currentTarget.dataset.name)},n[41]=L,n[42]=cn):cn=n[42];const nt=cn;let De;n[43]!==L?(De=()=>{L.setHiddenElement(L.hiddenElement==="second"?null:"second")},n[43]=L,n[44]=De):De=n[44];const qe=De;let Ne;n[45]===Symbol.for("react.memo_cache_sentinel")?(Ne=Fe=>{Fe||fe(null)},n[45]=Ne):Ne=n[45];const ct=Ne;let ut;n[46]===Symbol.for("react.memo_cache_sentinel")?(ut=Fe=>{Fe||(fe(null),F(null))},n[46]=ut):ut=n[46];const Ye=ut,fn=e.confirmCloseTab;let Qe;n[47]!==fn||n[48]!==o||n[49]!==c?(Qe=async Fe=>{const vt=Fe.currentTarget.previousSibling,zt=Number(vt.id.replace(gm,""));(!fn||await fn(zt))&&(o.activeTabIndex===zt&&c.stop(),o.closeTab(zt))},n[47]=fn,n[48]=o,n[49]=c,n[50]=Qe):Qe=n[50];const $t=Qe;let kt;n[51]!==o||n[52]!==c?(kt=Fe=>{const vt=Number(Fe.currentTarget.id.replace(gm,""));c.stop(),o.changeTab(vt)},n[51]=o,n[52]=c,n[53]=kt):kt=n[53];const Fn=kt;let Ut;n[54]!==e.className?(Ut=dt("graphiql-container",e.className),n[54]=e.className,n[55]=Ut):Ut=n[55];let bu;n[56]!==In||n[57]!==g?(bu=g==null?void 0:g.plugins.map((Fe,vt)=>{const zt=Fe===g.visiblePlugin,An=`${zt?"Hide":"Show"} ${Fe.title}`;return _.jsx(zn,{label:An,children:_.jsx(Wt,{type:"button",className:dt(zt&&"active"),onClick:In,"data-index":vt,"aria-label":An,children:_.jsx(Fe.icon,{"aria-hidden":"true"})})},Fe.title)}),n[56]=In,n[57]=g,n[58]=bu):bu=n[58];const nh=h.isFetching;let ss;n[59]===Symbol.for("react.memo_cache_sentinel")?(ss={marginTop:"auto"},n[59]=ss):ss=n[59];const xu=h.isFetching&&"graphiql-spin";let Mi;n[60]!==xu?(Mi=dt(xu),n[60]=xu,n[61]=Mi):Mi=n[61];let jn;n[62]!==Mi?(jn=_.jsx(zL,{className:Mi,"aria-hidden":"true"}),n[62]=Mi,n[63]=jn):jn=n[63];let ki;n[64]!==ve||n[65]!==h.isFetching||n[66]!==jn?(ki=_.jsx(zn,{label:"Re-fetch GraphQL schema",children:_.jsx(Wt,{type:"button",disabled:nh,onClick:ve,"aria-label":"Re-fetch GraphQL schema",style:ss,children:jn})}),n[64]=ve,n[65]=h.isFetching,n[66]=jn,n[67]=ki):ki=n[67];let tr;n[68]===Symbol.for("react.memo_cache_sentinel")?(tr=_.jsx(zn,{label:"Open short keys dialog",children:_.jsx(Wt,{type:"button","data-value":"short-keys",onClick:Te,"aria-label":"Open short keys dialog",children:_.jsx(FL,{"aria-hidden":"true"})})}),n[68]=tr):tr=n[68];let as;n[69]===Symbol.for("react.memo_cache_sentinel")?(as=_.jsx(zn,{label:"Open settings dialog",children:_.jsx(Wt,{type:"button","data-value":"settings",onClick:Te,"aria-label":"Open settings dialog",children:_.jsx(qL,{"aria-hidden":"true"})})}),n[69]=as):as=n[69];let kr;n[70]!==bu||n[71]!==ki?(kr=_.jsxs("div",{className:"graphiql-sidebar",children:[bu,ki,tr,as]}),n[70]=bu,n[71]=ki,n[72]=kr):kr=n[72];let fo;n[73]===Symbol.for("react.memo_cache_sentinel")?(fo={minWidth:"200px"},n[73]=fo):fo=n[73];let nr;n[74]!==A?(nr=A?_.jsx(A,{}):null,n[74]=A,n[75]=nr):nr=n[75];let di;n[76]!==nr?(di=_.jsx("div",{className:"graphiql-plugin",children:nr}),n[76]=nr,n[77]=di):di=n[77];let Eu;n[78]!==N.firstRef||n[79]!==di?(Eu=_.jsx("div",{ref:N.firstRef,style:fo,children:di}),n[78]=N.firstRef,n[79]=di,n[80]=Eu):Eu=n[80];let Lr;n[81]!==(g==null?void 0:g.visiblePlugin)||n[82]!==N.dragBarRef?(Lr=(g==null?void 0:g.visiblePlugin)&&_.jsx("div",{className:"graphiql-horizontal-drag-bar",ref:N.dragBarRef}),n[81]=g==null?void 0:g.visiblePlugin,n[82]=N.dragBarRef,n[83]=Lr):Lr=n[83];const uf=N.secondRef,Fa=o.tabs;let ir;if(n[84]!==o.activeTabIndex||n[85]!==o.tabs||n[86]!==Fn||n[87]!==$t){let Fe;n[89]!==o.activeTabIndex||n[90]!==Fn||n[91]!==$t?(Fe=(vt,zt,An)=>_.jsxs(im,{value:vt,isActive:zt===o.activeTabIndex,children:[_.jsx(im.Button,{"aria-controls":"graphiql-session",id:`graphiql-session-tab-${zt}`,title:vt.title,onClick:Fn,children:vt.title}),An.length>1&&_.jsx(im.Close,{onClick:$t})]},vt.id),n[89]=o.activeTabIndex,n[90]=Fn,n[91]=$t,n[92]=Fe):Fe=n[92],ir=o.tabs.map(Fe),n[84]=o.activeTabIndex,n[85]=o.tabs,n[86]=Fn,n[87]=$t,n[88]=ir}else ir=n[88];let Ir;n[93]!==o.tabs||n[94]!==He||n[95]!==ir?(Ir=_.jsx(UC,{values:Fa,onReorder:He,"aria-label":"Select active operation",children:ir}),n[93]=o.tabs,n[94]=He,n[95]=ir,n[96]=Ir):Ir=n[96];let ls;n[97]===Symbol.for("react.memo_cache_sentinel")?(ls=_.jsx($L,{"aria-hidden":"true"}),n[97]=ls):ls=n[97];let Cn;n[98]!==me?(Cn=_.jsx(zn,{label:"New tab",children:_.jsx(Wt,{type:"button",className:"graphiql-tab-add",onClick:me,"aria-label":"New tab",children:ls})}),n[98]=me,n[99]=Cn):Cn=n[99];let _t;n[100]!==$||n[101]!==Ir||n[102]!==Cn?(_t=_.jsxs("div",{className:"graphiql-session-header",children:[Ir,Cn,$]}),n[100]=$,n[101]=Ir,n[102]=Cn,n[103]=_t):_t=n[103];const Jt=`${gm}${o.activeTabIndex}`,Tu=k.firstRef;let rr;n[104]!==ie||n[105]!==e.editorTheme||n[106]!==e.keyMap||n[107]!==e.onCopyQuery||n[108]!==e.onEditQuery||n[109]!==e.onPrettifyQuery||n[110]!==e.readOnly?(rr=_.jsx(sS,{editorTheme:e.editorTheme,keyMap:e.keyMap,onClickReference:ie,onCopyQuery:e.onCopyQuery,onPrettifyQuery:e.onPrettifyQuery,onEdit:e.onEditQuery,readOnly:e.readOnly}),n[104]=ie,n[105]=e.editorTheme,n[106]=e.keyMap,n[107]=e.onCopyQuery,n[108]=e.onEditQuery,n[109]=e.onPrettifyQuery,n[110]=e.readOnly,n[111]=rr):rr=n[111];let cs;n[112]===Symbol.for("react.memo_cache_sentinel")?(cs=_.jsx(Ag,{}),n[112]=cs):cs=n[112];let Su;n[113]!==V?(Su=_.jsxs("div",{className:"graphiql-toolbar",role:"toolbar","aria-label":"Editor Commands",children:[cs,V]}),n[113]=V,n[114]=Su):Su=n[114];let Fr;n[115]!==rr||n[116]!==Su?(Fr=_.jsxs("section",{className:"graphiql-query-editor","aria-label":"Query Editor",children:[rr,Su]}),n[115]=rr,n[116]=Su,n[117]=Fr):Fr=n[117];let hi;n[118]!==L.firstRef||n[119]!==Fr?(hi=_.jsx("div",{ref:L.firstRef,children:Fr}),n[118]=L.firstRef,n[119]=Fr,n[120]=hi):hi=n[120];const ja=L.dragBarRef,ur=z==="variables"&&L.hiddenElement!=="second"&&"active";let Yn;n[121]!==ur?(Yn=dt(ur),n[121]=ur,n[122]=Yn):Yn=n[122];let pi;n[123]!==nt||n[124]!==Yn?(pi=_.jsx(Wt,{type:"button",className:Yn,onClick:nt,"data-name":"variables",children:"Variables"}),n[123]=nt,n[124]=Yn,n[125]=pi):pi=n[125];let Qn;n[126]!==z||n[127]!==L.hiddenElement||n[128]!==nt||n[129]!==i?(Qn=i&&_.jsx(Wt,{type:"button",className:dt(z==="headers"&&L.hiddenElement!=="second"&&"active"),onClick:nt,"data-name":"headers",children:"Headers"}),n[126]=z,n[127]=L.hiddenElement,n[128]=nt,n[129]=i,n[130]=Qn):Qn=n[130];const wt=L.hiddenElement==="second"?"Show editor tools":"Hide editor tools",fs=L.hiddenElement==="second"?"Show editor tools":"Hide editor tools";let jr;n[131]!==L.hiddenElement?(jr=L.hiddenElement==="second"?_.jsx(_L,{className:"graphiql-chevron-icon","aria-hidden":"true"}):_.jsx(TL,{className:"graphiql-chevron-icon","aria-hidden":"true"}),n[131]=L.hiddenElement,n[132]=jr):jr=n[132];let Pn;n[133]!==fs||n[134]!==jr||n[135]!==qe?(Pn=_.jsx(Wt,{type:"button",onClick:qe,"aria-label":fs,className:"graphiql-toggle-editor-tools",children:jr}),n[133]=fs,n[134]=jr,n[135]=qe,n[136]=Pn):Pn=n[136];let Xn;n[137]!==wt||n[138]!==Pn?(Xn=_.jsx(zn,{label:wt,children:Pn}),n[137]=wt,n[138]=Pn,n[139]=Xn):Xn=n[139];let _u;n[140]!==pi||n[141]!==Qn||n[142]!==Xn?(_u=_.jsxs("div",{className:"graphiql-editor-tools",children:[pi,Qn,Xn]}),n[140]=pi,n[141]=Qn,n[142]=Xn,n[143]=_u):_u=n[143];let Pr;n[144]!==L.dragBarRef||n[145]!==_u?(Pr=_.jsx("div",{ref:ja,children:_u}),n[144]=L.dragBarRef,n[145]=_u,n[146]=Pr):Pr=n[146];const ds=z==="variables"?"Variables":"Headers",Pa=z!=="variables";let Li;n[147]!==ie||n[148]!==e.editorTheme||n[149]!==e.keyMap||n[150]!==e.onEditVariables||n[151]!==e.readOnly||n[152]!==Pa?(Li=_.jsx(Zm,{editorTheme:e.editorTheme,isHidden:Pa,keyMap:e.keyMap,onEdit:e.onEditVariables,onClickReference:ie,readOnly:e.readOnly}),n[147]=ie,n[148]=e.editorTheme,n[149]=e.keyMap,n[150]=e.onEditVariables,n[151]=e.readOnly,n[152]=Pa,n[153]=Li):Li=n[153];let Ii;n[154]!==z||n[155]!==i||n[156]!==e.editorTheme||n[157]!==e.keyMap||n[158]!==e.onEditHeaders||n[159]!==e.readOnly?(Ii=i&&_.jsx(Qm,{editorTheme:e.editorTheme,isHidden:z!=="headers",keyMap:e.keyMap,onEdit:e.onEditHeaders,readOnly:e.readOnly}),n[154]=z,n[155]=i,n[156]=e.editorTheme,n[157]=e.keyMap,n[158]=e.onEditHeaders,n[159]=e.readOnly,n[160]=Ii):Ii=n[160];let xn;n[161]!==ds||n[162]!==Li||n[163]!==Ii?(xn=_.jsxs("section",{className:"graphiql-editor-tool","aria-label":ds,children:[Li,Ii]}),n[161]=ds,n[162]=Li,n[163]=Ii,n[164]=xn):xn=n[164];let or;n[165]!==L.secondRef||n[166]!==xn?(or=_.jsx("div",{ref:L.secondRef,children:xn}),n[165]=L.secondRef,n[166]=xn,n[167]=or):or=n[167];let Vr;n[168]!==hi||n[169]!==Pr||n[170]!==or?(Vr=_.jsxs("div",{className:"graphiql-editors",children:[hi,Pr,or]}),n[168]=hi,n[169]=Pr,n[170]=or,n[171]=Vr):Vr=n[171];let Zn;n[172]!==k.firstRef||n[173]!==Vr?(Zn=_.jsx("div",{ref:Tu,children:Vr}),n[172]=k.firstRef,n[173]=Vr,n[174]=Zn):Zn=n[174];let sr;n[175]!==k.dragBarRef?(sr=_.jsx("div",{className:"graphiql-horizontal-drag-bar",ref:k.dragBarRef}),n[175]=k.dragBarRef,n[176]=sr):sr=n[176];let ar;n[177]!==c.isFetching?(ar=c.isFetching?_.jsx(O2,{}):null,n[177]=c.isFetching,n[178]=ar):ar=n[178];let Cu;n[179]!==e.editorTheme||n[180]!==e.keyMap||n[181]!==e.responseTooltip?(Cu=_.jsx(lS,{editorTheme:e.editorTheme,responseTooltip:e.responseTooltip,keyMap:e.keyMap}),n[179]=e.editorTheme,n[180]=e.keyMap,n[181]=e.responseTooltip,n[182]=Cu):Cu=n[182];let Br;n[183]!==M||n[184]!==ar||n[185]!==Cu?(Br=_.jsxs("div",{className:"graphiql-response",children:[ar,Cu,M]}),n[183]=M,n[184]=ar,n[185]=Cu,n[186]=Br):Br=n[186];let Yt;n[187]!==k.secondRef||n[188]!==Br?(Yt=_.jsx("div",{ref:k.secondRef,children:Br}),n[187]=k.secondRef,n[188]=Br,n[189]=Yt):Yt=n[189];let $r;n[190]!==Jt||n[191]!==Zn||n[192]!==sr||n[193]!==Yt?($r=_.jsxs("div",{role:"tabpanel",id:"graphiql-session","aria-labelledby":Jt,children:[Zn,sr,Yt]}),n[190]=Jt,n[191]=Zn,n[192]=sr,n[193]=Yt,n[194]=$r):$r=n[194];let Au;n[195]!==N.secondRef||n[196]!==_t||n[197]!==$r?(Au=_.jsxs("div",{ref:uf,className:"graphiql-sessions",children:[_t,$r]}),n[195]=N.secondRef,n[196]=_t,n[197]=$r,n[198]=Au):Au=n[198];let Fi;n[199]!==Eu||n[200]!==Lr||n[201]!==Au?(Fi=_.jsxs("div",{className:"graphiql-main",children:[Eu,Lr,Au]}),n[199]=Eu,n[200]=Lr,n[201]=Au,n[202]=Fi):Fi=n[202];const hs=re==="short-keys";let Ur;n[203]===Symbol.for("react.memo_cache_sentinel")?(Ur=_.jsxs("div",{className:"graphiql-dialog-header",children:[_.jsx(Ks.Title,{className:"graphiql-dialog-title",children:"Short Keys"}),_.jsx(Ks.Close,{})]}),n[203]=Ur):Ur=n[203];const Va=e.keyMap||"sublime";let Qt;n[204]!==Va?(Qt=_.jsx("div",{className:"graphiql-dialog-section",children:_.jsx(_Q,{keyMap:Va})}),n[204]=Va,n[205]=Qt):Qt=n[205];let lr;n[206]!==hs||n[207]!==Qt?(lr=_.jsxs(Ks,{open:hs,onOpenChange:ct,children:[Ur,Qt]}),n[206]=hs,n[207]=Qt,n[208]=lr):lr=n[208];const ps=re==="settings";let wu;n[209]===Symbol.for("react.memo_cache_sentinel")?(wu=_.jsxs("div",{className:"graphiql-dialog-header",children:[_.jsx(Ks.Title,{className:"graphiql-dialog-title",children:"Settings"}),_.jsx(Ks.Close,{})]}),n[209]=wu):wu=n[209];let Wn;n[210]!==o.shouldPersistHeaders||n[211]!==oe||n[212]!==e.showPersistHeadersSettings?(Wn=e.showPersistHeadersSettings?_.jsxs("div",{className:"graphiql-dialog-section",children:[_.jsxs("div",{children:[_.jsx("div",{className:"graphiql-dialog-section-title",children:"Persist headers"}),_.jsxs("div",{className:"graphiql-dialog-section-caption",children:["Save headers upon reloading."," ",_.jsx("span",{className:"graphiql-warning-text",children:"Only enable if you trust this device."})]})]}),_.jsxs(Wm,{children:[_.jsx(qi,{type:"button",id:"enable-persist-headers",className:dt(o.shouldPersistHeaders&&"active"),"data-value":"true",onClick:oe,children:"On"}),_.jsx(qi,{type:"button",id:"disable-persist-headers",className:dt(!o.shouldPersistHeaders&&"active"),onClick:oe,children:"Off"})]})]}):null,n[210]=o.shouldPersistHeaders,n[211]=oe,n[212]=e.showPersistHeadersSettings,n[213]=Wn):Wn=n[213];let zr;n[214]!==y||n[215]!==ue||n[216]!==v?(zr=!y&&_.jsxs("div",{className:"graphiql-dialog-section",children:[_.jsxs("div",{children:[_.jsx("div",{className:"graphiql-dialog-section-title",children:"Theme"}),_.jsx("div",{className:"graphiql-dialog-section-caption",children:"Adjust how the interface appears."})]}),_.jsxs(Wm,{children:[_.jsx(qi,{type:"button",className:dt(v===null&&"active"),onClick:ue,children:"System"}),_.jsx(qi,{type:"button",className:dt(v==="light"&&"active"),"data-theme":"light",onClick:ue,children:"Light"}),_.jsx(qi,{type:"button",className:dt(v==="dark"&&"active"),"data-theme":"dark",onClick:ue,children:"Dark"})]})]}),n[214]=y,n[215]=ue,n[216]=v,n[217]=zr):zr=n[217];let Hr;n[218]!==X||n[219]!==Y||n[220]!==p?(Hr=p?_.jsxs("div",{className:"graphiql-dialog-section",children:[_.jsxs("div",{children:[_.jsx("div",{className:"graphiql-dialog-section-title",children:"Clear storage"}),_.jsx("div",{className:"graphiql-dialog-section-caption",children:"Remove all locally stored data and start fresh."})]}),_.jsx(qi,{type:"button",state:X||void 0,disabled:X==="success",onClick:Y,children:{success:"Cleared data",error:"Failed"}[X]||"Clear data"})]}):null,n[218]=X,n[219]=Y,n[220]=p,n[221]=Hr):Hr=n[221];let Kn;n[222]!==ps||n[223]!==Wn||n[224]!==zr||n[225]!==Hr?(Kn=_.jsxs(Ks,{open:ps,onOpenChange:Ye,children:[wu,Wn,zr,Hr]}),n[222]=ps,n[223]=Wn,n[224]=zr,n[225]=Hr,n[226]=Kn):Kn=n[226];let ms;return n[227]!==Ut||n[228]!==kr||n[229]!==Fi||n[230]!==lr||n[231]!==Kn?(ms=_.jsx(zn.Provider,{children:_.jsxs("div",{className:Ut,children:[kr,Fi,lr,Kn]})}),n[227]=Ut,n[228]=kr,n[229]=Fi,n[230]=lr,n[231]=Kn,n[232]=ms):ms=n[232],ms},vm=Xg?"⌘":"Ctrl",SQ=Object.entries({"Search in editor":[vm,"F"],"Search in documentation":[vm,"K"],"Execute query":[vm,"Enter"],"Prettify editors":["Ctrl","Shift","P"],"Merge fragments definitions into operation definition":["Ctrl","Shift","M"],"Copy query":["Ctrl","Shift","C"],"Re-fetch schema using introspection":["Ctrl","Shift","R"]}),_Q=e=>{const t=ge.c(5),{keyMap:n}=e;let i;t[0]===Symbol.for("react.memo_cache_sentinel")?(i=_.jsxs("table",{className:"graphiql-table",children:[_.jsx("thead",{children:_.jsxs("tr",{children:[_.jsx("th",{children:"Short Key"}),_.jsx("th",{children:"Function"})]})}),_.jsx("tbody",{children:SQ.map(MQ)})]}),t[0]=i):i=t[0];let r;t[1]===Symbol.for("react.memo_cache_sentinel")?(r=_.jsx("a",{href:"https://codemirror.net/5/doc/manual.html#keymaps",target:"_blank",rel:"noopener noreferrer",children:"CodeMirror Key Maps"}),t[1]=r):r=t[1];let o;t[2]===Symbol.for("react.memo_cache_sentinel")?(o=_.jsx("em",{children:"i"}),t[2]=o):o=t[2];let a;return t[3]!==n?(a=_.jsxs("div",{children:[i,_.jsxs("p",{children:["The editors use"," ",r," ","that add more short keys. This instance of Graph",o,"QL uses"," ",_.jsx("code",{children:n}),"."]})]}),t[3]=n,t[4]=a):a=t[4],a},CQ=_.jsxs("a",{className:"graphiql-logo-link",href:"https://github.com/graphql/graphiql",target:"_blank",rel:"noreferrer",children:["Graph",_.jsx("em",{children:"i"}),"QL"]}),AQ=e=>{const t=ge.c(2),{children:n}=e,i=n===void 0?CQ:n;let r;return t[0]!==i?(r=_.jsx("div",{className:"graphiql-logo",children:i}),t[0]=i,t[1]=r):r=t[1],r},wQ=e=>{const t=ge.c(4),{prettify:n,copy:i,merge:r}=e;let o;return t[0]!==i||t[1]!==r||t[2]!==n?(o=_.jsxs(_.Fragment,{children:[n,r,i]}),t[0]=i,t[1]=r,t[2]=n,t[3]=o):o=t[3],o},DQ=({children:e=wQ,onCopyQuery:t,onPrettifyQuery:n})=>{"use no memo";if(typeof e!="function")throw new TypeError("The `GraphiQL.Toolbar` component requires a render prop function as its child.");const i=r2({onCopyQuery:t}),r=Bc(),o=$c({onPrettifyQuery:n}),a=_.jsx(zd,{onClick:o,label:"Prettify query (Shift-Ctrl-P)",children:_.jsx(UL,{className:"graphiql-toolbar-icon","aria-hidden":"true"})}),c=_.jsx(zd,{onClick:r,label:"Merge fragments into query (Shift-Ctrl-M)",children:_.jsx(PL,{className:"graphiql-toolbar-icon","aria-hidden":"true"})});return e({prettify:a,copy:_.jsx(zd,{onClick:i,label:"Copy query (Shift-Ctrl-C)",children:_.jsx(CL,{className:"graphiql-toolbar-icon","aria-hidden":"true"})}),merge:c})},NQ=e=>{const t=ge.c(2);let n;return t[0]!==e.children?(n=_.jsx("div",{className:"graphiql-footer",children:e.children}),t[0]=e.children,t[1]=n):n=t[1],n};function OQ(e){if(e&&typeof e=="object"&&"type"in e&&typeof e.type=="function")return e.type}const ea=Object.assign(xQ,{Logo:AQ,Toolbar:DQ,Footer:NQ});function RQ(e,t,n){return _.jsxs(x.Fragment,{children:[_.jsx("code",{className:"graphiql-key",children:e}),t!==n.length-1&&" + "]},e)}function MQ(e){const[t,n]=e;return _.jsxs("tr",{children:[_.jsx("td",{children:n.map(RQ)}),_.jsx("td",{children:t})]},t)}const kQ={clear(){},getItem(e){return null},length:0,removeItem(e){},setItem(e,t){}},LQ=({apiType:e})=>{const{adminApiUrl:t,shopApiUrl:n}=window.GRAPHIQL_SETTINGS??{adminApiUrl:"http://localhost:3000/admin-api",shopApiUrl:"http://localhost:3000/shop-api"},i=e==="admin"?t:n,r=e==="admin"?"Admin API":"Shop API",o=new URLSearchParams(window.location.search),a=o.get("query")??void 0,c=o.get("embeddedMode")==="true",f=c?kQ:void 0,h=x.useCallback(()=>eN({url:i,subscriptionUrl:i.replace(/^http/,"ws")}),[i]),p=g=>{if(g!==e){const y=window.location.pathname.split("/"),v=y.length>1?`/${y[1]}`:"";window.location.href=`${v}/${g}`}};return _.jsxs("div",{className:"graphiql-app",children:[c?null:_.jsxs("div",{className:"vendure-header",children:[_.jsxs("h1",{children:["Vendure GraphiQL - ",r]}),_.jsxs("div",{className:"switch-api",children:[_.jsx("span",{children:"Switch API:"}),_.jsx("a",{href:"#",className:e==="admin"?"active":"",onClick:g=>{g.preventDefault(),p("admin")},children:"Admin API"}),_.jsx("a",{href:"#",className:e==="shop"?"active":"",onClick:g=>{g.preventDefault(),p("shop")},children:"Shop API"})]})]}),_.jsx("div",{className:"graphiql-wrapper",children:_.jsx(ea,{className:c?"embedded-mode":void 0,fetcher:h(),storage:f,defaultEditorToolsVisibility:!c,query:a})})]})},J9=window.location.pathname;J9.includes("/admin");const IQ=J9.includes("/shop"),FQ=IQ?"shop":"admin",b5=document.getElementById("root");b5&&lw.createRoot(b5).render(_.jsx(ke.StrictMode,{children:_.jsx(LQ,{apiType:FQ})}));export{TN as $,yD as A,ln as B,pD as C,Se as D,j5 as E,_i as F,Je as G,Id as H,Yi as I,VD as J,W as K,et as L,BQ as M,VQ as N,Ci as O,Ko as P,CN as Q,_E as R,$e as S,rT as T,Hn as U,Hg as V,wa as W,ac as X,lc as Y,cc as Z,SN as _,$Q as a,EN as a0,sn as a1,Jo as a2,Re as a3,Xe as a4,p1 as a5,Ft as a6,Tt as b,bt as c,Zw as d,no as e,SD as f,Wo as g,b0 as h,ou as i,be as j,vD as k,tT as l,Nn as m,Ww as n,kn as o,li as p,Pt as q,S0 as r,Jw as s,fc as t,mD as u,zg as v,I5 as w,Bg as x,zl as y,bD as z};
|
|
375
|
+
//# sourceMappingURL=index-IiLbhMF9.js.map
|