@zuplo/editor 1.0.33162667821 → 1.0.33228037539
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/client/index.html +2 -2
- package/dist/client/static/css/main-BUdqZWWc.css +1 -0
- package/dist/client/static/js/{GraphiQLConsole-Ck-5k6YD.js → GraphiQLConsole-Chdp6Lmg.js} +4 -4
- package/dist/client/static/js/{McpCapabilityFilterDesigner-6l45_xy_.js → McpCapabilityFilterDesigner-AKZ_AAGL.js} +1 -1
- package/dist/client/static/js/{SchemaReference-DUSq9fjl.js → SchemaReference-Dm9NO9iu.js} +1 -1
- package/dist/client/static/js/{esm-B-O-HyWw.js → esm-AAbFNISV.js} +1 -1
- package/dist/client/static/js/{hint-EJkLz-p6.js → hint-CgLNYEQ4.js} +1 -1
- package/dist/client/static/js/{hint-CHcbpenh.js → hint-DNsFEoKt.js} +1 -1
- package/dist/client/static/js/{info-D6Y8aA2L.js → info-Debsbha9.js} +1 -1
- package/dist/client/static/js/{jump-yDi_U14j.js → jump-C6uy6uvN.js} +1 -1
- package/dist/client/static/js/{lint-CKDO_dpM.js → lint-C-6eCLSl.js} +1 -1
- package/dist/client/static/js/{main-Dyle5PcC.js → main-BJNXr_hG.js} +141 -141
- package/dist/client/static/js/{mode-BNHf6m3w.js → mode-CVerEPKb.js} +1 -1
- package/dist/client/static/js/{mode-BJXS_mGi.js → mode-Cnqgmm2p.js} +1 -1
- package/dist/client/static/js/{mode-C3P1LYNJ.js → mode-DjcXcQBF.js} +1 -1
- package/package.json +1 -1
- package/dist/client/static/css/main-Gt0IcA1z.css +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["static/js/codemirror-6ITIKbGP.js","static/js/chunk-6hGRweTZ.js","static/js/show-hint-6TfMghSZ.js","static/js/matchbrackets-Bf7gn3FZ.js","static/js/closebrackets-E_-ZAIpT.js","static/js/brace-fold-zcgUhfJP.js","static/js/foldgutter-nI1fUyS5.js","static/js/lint-Bt36_p6a.js","static/js/searchcursor-Ccp0pHab.js","static/js/jump-to-line-B0d3q3MR.js","static/js/dialog-BCFM5Ua8.js","static/js/sublime-CnmrqOqk.js","static/js/javascript-D3bo9a4I.js","static/js/comment-ZVSXp2TA.js","static/js/search-B5lzXui6.js","static/js/hint-
|
|
2
|
-
import{a as e,o as t,r as n,t as r}from"./chunk-6hGRweTZ.js";import{An as i,At as a,C as o,Ct as s,Fn as c,Ft as l,G as u,I as d,In as f,Ln as p,Lt as m,Mt as h,Nn as g,Nt as _,Ot as v,Pt as y,Rn as b,Rt as x,St as S,Tt as C,_ as w,ar as T,at as E,b as D,bt as O,c as k,d as A,f as j,g as M,h as N,ir as P,it as F,jt as I,kn as L,kt as ee,l as R,m as te,n as z,p as ne,st as re,t as ie,u as ae,v as oe,vt as se,w as ce,wt as le,xt as ue,y as de,yt as fe,zt as B}from"./dist-DSg6bEGY.js";import{t as V}from"./preload-helper-DxkSl20Q.js";import{C as pe,E as me,I as he,M as ge,N as _e,O as ve,P as ye,S as be,T as xe,_ as Se,b as Ce,h as we,tt as Te,w as Ee,y as De,z as Oe}from"./definition-C7QrKMH2.js";import{_ as ke,g as Ae,h as je,i as Me,n as Ne,o as Pe}from"./esm-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["static/js/codemirror-6ITIKbGP.js","static/js/chunk-6hGRweTZ.js","static/js/show-hint-6TfMghSZ.js","static/js/matchbrackets-Bf7gn3FZ.js","static/js/closebrackets-E_-ZAIpT.js","static/js/brace-fold-zcgUhfJP.js","static/js/foldgutter-nI1fUyS5.js","static/js/lint-Bt36_p6a.js","static/js/searchcursor-Ccp0pHab.js","static/js/jump-to-line-B0d3q3MR.js","static/js/dialog-BCFM5Ua8.js","static/js/sublime-CnmrqOqk.js","static/js/javascript-D3bo9a4I.js","static/js/comment-ZVSXp2TA.js","static/js/search-B5lzXui6.js","static/js/hint-DNsFEoKt.js","static/js/esm-AAbFNISV.js","static/js/main-BJNXr_hG.js","static/js/preload-helper-DxkSl20Q.js","static/js/dist-DSg6bEGY.js","static/js/definition-C7QrKMH2.js","static/css/main-BUdqZWWc.css","static/js/lint-C-6eCLSl.js","static/js/info-Debsbha9.js","static/js/SchemaReference-Dm9NO9iu.js","static/js/forEachState-RgNwT9Fn.js","static/js/info-addon-DQRIr3kJ.js","static/js/jump-C6uy6uvN.js","static/js/mode-DjcXcQBF.js","static/js/mode-indent-XFXH0bnx.js","static/js/hint-CgLNYEQ4.js","static/js/lint-D1zgMa6Q.js","static/js/mode-Cnqgmm2p.js","static/js/mode-CVerEPKb.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{a as e,o as t,r as n,t as r}from"./chunk-6hGRweTZ.js";import{An as i,At as a,C as o,Ct as s,Fn as c,Ft as l,G as u,I as d,In as f,Ln as p,Lt as m,Mt as h,Nn as g,Nt as _,Ot as v,Pt as y,Rn as b,Rt as x,St as S,Tt as C,_ as w,ar as T,at as E,b as D,bt as O,c as k,d as A,f as j,g as M,h as N,ir as P,it as F,jt as I,kn as L,kt as ee,l as R,m as te,n as z,p as ne,st as re,t as ie,u as ae,v as oe,vt as se,w as ce,wt as le,xt as ue,y as de,yt as fe,zt as B}from"./dist-DSg6bEGY.js";import{t as V}from"./preload-helper-DxkSl20Q.js";import{C as pe,E as me,I as he,M as ge,N as _e,O as ve,P as ye,S as be,T as xe,_ as Se,b as Ce,h as we,tt as Te,w as Ee,y as De,z as Oe}from"./definition-C7QrKMH2.js";import{_ as ke,g as Ae,h as je,i as Me,n as Ne,o as Pe}from"./esm-AAbFNISV.js";import{A as Fe,D as Ie,M as Le,N as Re,O as ze,a as Be,b as Ve,d as He,j as Ue,k as We,n as Ge,t as Ke}from"./main-BJNXr_hG.js";var qe=r(((e,t)=>{var n=Object.create,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,o=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty,c=(e,t)=>{for(var n in t)r(e,n,{get:t[n],enumerable:!0})},l=(e,t,n,o)=>{if(t&&typeof t==`object`||typeof t==`function`)for(let c of a(t))!s.call(e,c)&&c!==n&&r(e,c,{get:()=>t[c],enumerable:!(o=i(t,c))||o.enumerable});return e},u=(e,t,i)=>(i=e==null?{}:n(o(e)),l(t||!e||!e.__esModule?r(i,`default`,{value:e,enumerable:!0}):i,e)),d=e=>l(r({},`__esModule`,{value:!0}),e),f={};c(f,{$dispatcherGuard:()=>w,$makeReadOnly:()=>D,$reset:()=>E,$structuralCheck:()=>P,c:()=>y,clearRenderCounterRegistry:()=>k,renderCounterRegistry:()=>O,useRenderCounter:()=>M}),t.exports=d(f);var p=u(T()),{useRef:m,useEffect:h,isValidElement:g}=p,_=p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE??p.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,v=Symbol.for(`react.memo_cache_sentinel`),y=typeof p.__COMPILER_RUNTIME?.c==`function`?p.__COMPILER_RUNTIME.c:function(e){return p.useMemo(()=>{let t=Array(e);for(let n=0;n<e;n++)t[n]=v;return t[v]=!0,t},[])},b={};[`readContext`,`useCallback`,`useContext`,`useEffect`,`useImperativeHandle`,`useInsertionEffect`,`useLayoutEffect`,`useMemo`,`useReducer`,`useRef`,`useState`,`useDebugValue`,`useDeferredValue`,`useTransition`,`useMutableSource`,`useSyncExternalStore`,`useId`,`unstable_isNewReconciler`,`getCacheSignal`,`getCacheForType`,`useCacheRefresh`].forEach(e=>{b[e]=()=>{throw Error(`[React] Unexpected React hook call (${e}) from a React compiled function. Check that all hooks are called directly and named according to convention ('use[A-Z]') `)}});var x=null;b.useMemoCache=e=>{if(x==null)throw Error(`React Compiler internal invariant violation: unexpected null dispatcher`);return x.useMemoCache(e)};function S(e){return _.ReactCurrentDispatcher.current=e,_.ReactCurrentDispatcher.current}var C=[];function w(e){let t=_.ReactCurrentDispatcher.current;if(e===0){if(C.push(t),C.length===1&&(x=t),t===b)throw Error(`[React] Unexpected call to custom hook or component from a React compiled function. Check that (1) all hooks are called directly and named according to convention ('use[A-Z]') and (2) components are returned as JSX instead of being directly invoked.`);S(b)}else if(e===1){let e=C.pop();if(e==null)throw Error(`React Compiler internal error: unexpected null in guard stack`);C.length===0&&(x=null),S(e)}else if(e===2)C.push(t),S(x);else if(e===3){let e=C.pop();if(e==null)throw Error(`React Compiler internal error: unexpected null in guard stack`);S(e)}else throw Error(`React Compiler internal error: unreachable block`+e)}function E(e){for(let t=0;t<e.length;t++)e[t]=v}function D(){throw Error(`TODO: implement $makeReadOnly in react-compiler-runtime`)}var O=new Map;function k(){for(let e of O.values())e.forEach(e=>{e.count=0})}function A(e,t){let n=O.get(e);n??(n=new Set,O.set(e,n)),n.add(t)}function j(e,t){O.get(e)?.delete(t)}function M(e){let t=m(null);t.current!=null&&(t.current.count+=1),h(()=>{if(t.current==null){let n={count:0};A(e,n),t.current=n}return()=>{t.current!==null&&j(e,t.current)}})}var N=new Set;function P(e,t,n,r,i,a){function o(e,t,o,s){let c=`${r}:${a} [${i}] ${n}${o} changed from ${e} to ${t} at depth ${s}`;N.has(c)||(N.add(c),console.error(c))}function s(e,t,n,r){if(!(r>2)&&e!==t)if(typeof e!=typeof t)o(`type ${typeof e}`,`type ${typeof t}`,n,r);else if(typeof e==`object`){let i=Array.isArray(e),a=Array.isArray(t);if(e===null&&t!==null)o(`null`,`type ${typeof t}`,n,r);else if(t===null)o(`type ${typeof e}`,`null`,n,r);else if(e instanceof Map)if(!(t instanceof Map))o(`Map instance`,`other value`,n,r);else if(e.size!==t.size)o(`Map instance with size ${e.size}`,`Map instance with size ${t.size}`,n,r);else for(let[i,a]of e)t.has(i)?s(a,t.get(i),`${n}.get(${i})`,r+1):o(`Map instance with key ${i}`,`Map instance without key ${i}`,n,r);else if(t instanceof Map)o(`other value`,`Map instance`,n,r);else if(e instanceof Set)if(!(t instanceof Set))o(`Set instance`,`other value`,n,r);else if(e.size!==t.size)o(`Set instance with size ${e.size}`,`Set instance with size ${t.size}`,n,r);else for(let i of t)e.has(i)||o(`Set instance without element ${i}`,`Set instance with element ${i}`,n,r);else if(t instanceof Set)o(`other value`,`Set instance`,n,r);else if(i||a)if(i!==a)o(`type ${i?`array`:`object`}`,`type ${a?`array`:`object`}`,n,r);else if(e.length!==t.length)o(`array with length ${e.length}`,`array with length ${t.length}`,n,r);else for(let i=0;i<e.length;i++)s(e[i],t[i],`${n}[${i}]`,r+1);else if(g(e)||g(t))g(e)===g(t)?e.type===t.type?s(e.props,t.props,`[props of ${n}]`,r+1):o(`React element of type ${e.type}`,`React element of type ${t.type}`,n,r):o(`type ${g(e)?`React element`:`object`}`,`type ${g(t)?`React element`:`object`}`,n,r);else{for(let i in t)i in e||o(`object without key ${i}`,`object with key ${i}`,n,r);for(let i in e)i in t?s(e[i],t[i],`${n}.${i}`,r+1):o(`object with key ${i}`,`object without key ${i}`,n,r)}}else if(typeof e==`function`)return;else isNaN(e)||isNaN(t)?isNaN(e)!==isNaN(t)&&o(`${isNaN(e)?`NaN`:`non-NaN value`}`,`${isNaN(t)?`NaN`:`non-NaN value`}`,n,r):e!==t&&o(e,t,n,r)}s(e,t,``,0)}})),Je=Object.defineProperty,Ye=Object.defineProperties,Xe=Object.getOwnPropertyDescriptors,Ze=Object.getOwnPropertySymbols,Qe=Object.prototype.hasOwnProperty,$e=Object.prototype.propertyIsEnumerable,et=(e,t,n)=>t in e?Je(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,tt=(e,t)=>{for(var n in t||={})Qe.call(t,n)&&et(e,n,t[n]);if(Ze)for(var n of Ze(t))$e.call(t,n)&&et(e,n,t[n]);return e},nt=(e,t)=>Ye(e,Xe(t));function rt(e){return typeof e==`object`&&!!e&&typeof e.then==`function`}function it(e){return new Promise((t,n)=>{let r=e.subscribe({next(e){t(e),r.unsubscribe()},error:n,complete(){n(Error(`no value resolved`))}})})}function at(e){return typeof e==`object`&&!!e&&`subscribe`in e&&typeof e.subscribe==`function`}function ot(e){return typeof e==`object`&&!!e&&(e[Symbol.toStringTag]===`AsyncGenerator`||Symbol.asyncIterator in e)}async function st(e){let t=(`return`in e?e:e[Symbol.asyncIterator]()).return?.bind(e),n=await(`next`in e?e:e[Symbol.asyncIterator]()).next.bind(e)();return t?.(),n.value}async function ct(e){let t=await e;return ot(t)?st(t):at(t)?it(t):t}function lt(e){return JSON.stringify(e,null,2)}function ut(e){return nt(tt({},e),{message:e.message,stack:e.stack})}function dt(e){return e instanceof Error?ut(e):e}function ft(e){return lt(Array.isArray(e)?{errors:e.map(e=>dt(e))}:{errors:[dt(e)]})}function pt(e){return lt(e)}function mt(e,t,n){let r=[];if(!e||!t)return{insertions:r,result:t};let i;try{i=Ve(t)}catch{return{insertions:r,result:t}}let a=n||ht,o=new je(e);return Oe(i,{leave(e){o.leave(e)},enter(e){if(o.enter(e),e.kind===`Field`&&!e.selectionSet){let n=gt(yt(o.getType()),a);if(n&&e.loc){let i=vt(t,e.loc.start);r.push({index:e.loc.end,string:` `+he(n).replaceAll(`
|
|
3
3
|
`,`
|
|
4
4
|
`+i)})}}}}),{insertions:r,result:_t(t,r)}}function ht(e){if(!(`getFields`in e))return[];let t=e.getFields();if(t.id)return[`id`];if(t.edges)return[`edges`];if(t.node)return[`node`];let n=[];for(let e of Object.keys(t))pe(t[e].type)&&n.push(e);return n}function gt(e,t){let n=we(e);if(!e||pe(e))return;let r=t(n);if(!(!Array.isArray(r)||r.length===0||!(`getFields`in n)))return{kind:Te.SELECTION_SET,selections:r.map(e=>{let r=n.getFields()[e],i=r?r.type:null;return{kind:Te.FIELD,name:{kind:Te.NAME,value:e},selectionSet:gt(i,t)}})}}function _t(e,t){if(t.length===0)return e;let n=``,r=0;for(let{index:i,string:a}of t)n+=e.slice(r,i)+a,r=i;return n+=e.slice(r),n}function vt(e,t){let n=t,r=t;for(;n;){let t=e.charCodeAt(n-1);if(t===10||t===13||t===8232||t===8233)break;n--,t!==9&&t!==11&&t!==12&&t!==32&&t!==160&&(r=n)}return e.slice(n,r)}function yt(e){if(e)return e}function bt(e,t){var n;let r=new Map,i=[];for(let a of e)if(a.kind===`Field`){let e=t(a),o=r.get(e);if((n=a.directives)!=null&&n.length){let e=tt({},a);i.push(e)}else if(o!=null&&o.selectionSet&&a.selectionSet)o.selectionSet.selections=[...o.selectionSet.selections,...a.selectionSet.selections];else if(!o){let t=tt({},a);r.set(e,t),i.push(t)}}else i.push(a);return i}function xt(e,t,n){let r=n?we(n).name:null,i=[],a=[];for(let o of t){if(o.kind===`FragmentSpread`){let t=o.name.value;if(!o.directives||o.directives.length===0){if(a.includes(t))continue;a.push(t)}let n=e[o.name.value];if(n){let{typeCondition:e,directives:t,selectionSet:r}=n;o={kind:Te.INLINE_FRAGMENT,typeCondition:e,directives:t,selectionSet:r}}}if(o.kind===Te.INLINE_FRAGMENT&&(!o.directives||o.directives?.length===0)){let t=o.typeCondition?o.typeCondition.name.value:null;if(!t||t===r){i.push(...xt(e,o.selectionSet.selections,n));continue}}i.push(o)}return i}function St(e,t){let n=t?new je(t):null,r=Object.create(null);for(let t of e.definitions)t.kind===Te.FRAGMENT_DEFINITION&&(r[t.name.value]=t);let i={SelectionSet(e){let t=n?n.getParentType():null,{selections:i}=e;return i=xt(r,i,t),nt(tt({},e),{selections:i})},FragmentDefinition(){return null}};return Oe(Oe(e,n?Ae(n,i):i),{SelectionSet(e){let{selections:t}=e;return t=bt(t,e=>e.alias?e.alias.value:e.name.value),nt(tt({},e),{selections:t})},FragmentDefinition(){return null}})}function Ct(e,t,n){if(!n||n.length<1)return;let r=n.map(e=>e.name?.value);if(t&&r.includes(t))return t;if(t&&e){let n=e.map(e=>e.name?.value).indexOf(t);if(n!==-1&&n<r.length)return r[n]}return r[0]}function wt(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}var Tt=class{constructor(e){e?this.storage=e:e===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 e=0;for(let t in localStorage)t.indexOf(`${Et}:`)===0&&(e+=1);return e},clear(){for(let e in localStorage)e.indexOf(`${Et}:`)===0&&localStorage.removeItem(e)}}}get(e){if(!this.storage)return null;let t=`${Et}:${e}`,n=this.storage.getItem(t);return n===`null`||n===`undefined`?(this.storage.removeItem(t),null):n||null}set(e,t){let n=!1,r=null;if(this.storage){let i=`${Et}:${e}`;if(t)try{this.storage.setItem(i,t)}catch(e){r=e instanceof Error?e:Error(`${e}`),n=wt(this.storage,e)}else this.storage.removeItem(i)}return{isQuotaError:n,error:r}}clear(){this.storage&&this.storage.clear()}},Et=`graphiql`,Dt=class{constructor(e,t,n=null){this.key=e,this.storage=t,this.maxSize=n,this.items=this.fetchAll()}get length(){return this.items.length}contains(e){return this.items.some(t=>t.query===e.query&&t.variables===e.variables&&t.headers===e.headers&&t.operationName===e.operationName)}edit(e,t){if(typeof t==`number`&&this.items[t]){let n=this.items[t];if(n.query===e.query&&n.variables===e.variables&&n.headers===e.headers&&n.operationName===e.operationName){this.items.splice(t,1,e),this.save();return}}let n=this.items.findIndex(t=>t.query===e.query&&t.variables===e.variables&&t.headers===e.headers&&t.operationName===e.operationName);n!==-1&&(this.items.splice(n,1,e),this.save())}delete(e){let t=this.items.findIndex(t=>t.query===e.query&&t.variables===e.variables&&t.headers===e.headers&&t.operationName===e.operationName);t!==-1&&(this.items.splice(t,1),this.save())}fetchRecent(){return this.items.at(-1)}fetchAll(){let e=this.storage.get(this.key);return e?JSON.parse(e)[this.key]:[]}push(e){let t=[...this.items,e];this.maxSize&&t.length>this.maxSize&&t.shift();for(let e=0;e<5;e++){let e=this.storage.set(this.key,JSON.stringify({[this.key]:t}));if(!(e!=null&&e.error))this.items=t;else if(e.isQuotaError&&this.maxSize)t.shift();else return}}save(){this.storage.set(this.key,JSON.stringify({[this.key]:this.items}))}},Ot=1e5,kt=class{constructor(e,t){this.storage=e,this.maxHistoryLength=t,this.updateHistory=({query:e,variables:t,headers:n,operationName:r})=>{if(!this.shouldSaveQuery(e,t,n,this.history.fetchRecent()))return;this.history.push({query:e,variables:t,headers:n,operationName:r});let i=this.history.items,a=this.favorite.items;this.queries=i.concat(a)},this.deleteHistory=({query:e,variables:t,headers:n,operationName:r,favorite:i},a=!1)=>{function o(i){let a=i.items.find(i=>i.query===e&&i.variables===t&&i.headers===n&&i.operationName===r);a&&i.delete(a)}(i||a)&&o(this.favorite),(!i||a)&&o(this.history),this.queries=[...this.history.items,...this.favorite.items]},this.history=new Dt(`queries`,this.storage,this.maxHistoryLength),this.favorite=new Dt(`favorites`,this.storage,null),this.queries=[...this.history.fetchAll(),...this.favorite.fetchAll()]}shouldSaveQuery(e,t,n,r){if(!e)return!1;try{Ve(e)}catch{return!1}return e.length>Ot?!1:r?!(JSON.stringify(e)===JSON.stringify(r.query)&&(JSON.stringify(t)===JSON.stringify(r.variables)&&(JSON.stringify(n)===JSON.stringify(r.headers)||n&&!r.headers)||t&&!r.variables)):!0}toggleFavorite({query:e,variables:t,headers:n,operationName:r,label:i,favorite:a}){let o={query:e,variables:t,headers:n,operationName:r,label:i};a?(o.favorite=!1,this.favorite.delete(o),this.history.push(o)):(o.favorite=!0,this.favorite.push(o),this.history.delete(o)),this.queries=[...this.history.items,...this.favorite.items]}editLabel({query:e,variables:t,headers:n,operationName:r,label:i,favorite:a},o){let s={query:e,variables:t,headers:n,operationName:r,label:i};a?this.favorite.edit(nt(tt({},s),{favorite:a}),o):this.history.edit(s,o),this.queries=[...this.history.items,...this.favorite.items]}},At=r(((e,t)=>{t.exports=function(e){return typeof e==`object`?e===null:typeof e!=`function`}})),jt=r(((e,t)=>{t.exports=function(e){return typeof e==`object`&&!!e&&Array.isArray(e)===!1}})),Mt=r(((e,t)=>{var n=jt();function r(e){return n(e)===!0&&Object.prototype.toString.call(e)===`[object Object]`}t.exports=function(e){var t,n;return!(r(e)===!1||(t=e.constructor,typeof t!=`function`)||(n=t.prototype,r(n)===!1)||n.hasOwnProperty(`isPrototypeOf`)===!1)}})),Nt=r(((e,t)=>{var{deleteProperty:n}=Reflect,r=At(),i=Mt(),a=e=>typeof e==`object`&&!!e||typeof e==`function`,o=e=>e===`__proto__`||e===`constructor`||e===`prototype`,s=e=>{if(!r(e))throw TypeError(`Object keys must be strings or symbols`);if(o(e))throw Error(`Cannot set unsafe key: "${e}"`)},c=e=>Array.isArray(e)?e.flat().map(String).join(`,`):e,l=(e,t)=>{if(typeof e!=`string`||!t)return e;let n=e+`;`;return t.arrays!==void 0&&(n+=`arrays=${t.arrays};`),t.separator!==void 0&&(n+=`separator=${t.separator};`),t.split!==void 0&&(n+=`split=${t.split};`),t.merge!==void 0&&(n+=`merge=${t.merge};`),t.preservePaths!==void 0&&(n+=`preservePaths=${t.preservePaths};`),n},u=(e,t,n)=>{let r=c(t?l(e,t):e);s(r);let i=m.cache.get(r)||n();return m.cache.set(r,i),i},d=(e,t={})=>{let n=t.separator||`.`,r=n===`/`?!1:t.preservePaths;if(typeof e==`string`&&r!==!1&&/\//.test(e))return[e];let i=[],a=``,o=e=>{let t;e.trim()!==``&&Number.isInteger(t=Number(e))?i.push(t):i.push(e)};for(let t=0;t<e.length;t++){let r=e[t];if(r===`\\`){a+=e[++t];continue}if(r===n){o(a),a=``;continue}a+=r}return a&&o(a),i},f=(e,t)=>t&&typeof t.split==`function`?t.split(e):typeof e==`symbol`?[e]:Array.isArray(e)?e:u(e,t,()=>d(e,t)),p=(e,t,r,a)=>{if(s(t),r===void 0)n(e,t);else if(a&&a.merge){let n=a.merge===`function`?a.merge:Object.assign;n&&i(e[t])&&i(r)?e[t]=n(e[t],r):e[t]=r}else e[t]=r;return e},m=(e,t,n,r)=>{if(!t||!a(e))return e;let i=f(t,r),o=e;for(let e=0;e<i.length;e++){let t=i[e],c=i[e+1];if(s(t),c===void 0){p(o,t,n,r);break}if(typeof c==`number`&&!Array.isArray(o[t])){o=o[t]=[];continue}a(o[t])||(o[t]={}),o=o[t]}return e};m.split=f,m.cache=new Map,m.clear=()=>{m.cache=new Map},t.exports=m})),Pt=r(((e,t)=>{var n=jt();t.exports=function(e,t,s){if(n(s)||(s={default:s}),!o(e))return s.default===void 0?e:s.default;typeof t==`number`&&(t=String(t));let c=Array.isArray(t),l=typeof t==`string`,u=s.separator||`.`,d=s.joinChar||(typeof u==`string`?u:`.`);if(!l&&!c)return e;if(l&&t in e)return a(t,e,s)?e[t]:s.default;let f=c?t:i(t,u,s),p=f.length,m=0;do{let t=f[m];for(typeof t==`number`&&(t=String(t));t&&t.slice(-1)===`\\`;)t=r([t.slice(0,-1),f[++m]||``],d,s);if(t in e){if(!a(t,e,s))return s.default;e=e[t]}else{let n=!1,i=m+1;for(;i<p;)if(t=r([t,f[i++]],d,s),n=t in e){if(!a(t,e,s))return s.default;e=e[t],m=i-1;break}if(!n)return s.default}}while(++m<p&&o(e));return m===p?e:s.default};function r(e,t,n){return typeof n.join==`function`?n.join(e):e[0]+t+e[1]}function i(e,t,n){return typeof n.split==`function`?n.split(e):e.split(t)}function a(e,t,n){return typeof n.isValid==`function`?n.isValid(e,t):!0}function o(e){return n(e)||Array.isArray(e)||typeof e==`function`}})),H=t(T());function Ft(e){let t=(0,H.createContext)(null);return t.displayName=e,t}function It(e){function t(t){let n=(0,H.useContext)(e);if(n===null&&t?.nonNull)throw Error(`Tried to use \`${t.caller?.name||`a component`}\` without the necessary context. Make sure to render the \`${e.displayName}Provider\` component higher up the tree.`);return n}return Object.defineProperty(t,`name`,{value:`use${e.displayName}`}),t}var Lt=e=>{let t,n=new Set,r=(e,r)=>{let i=typeof e==`function`?e(t):e;if(!Object.is(i,t)){let e=t;t=r??(typeof i!=`object`||!i)?i:Object.assign({},t,i),n.forEach(n=>n(t,e))}},i=()=>t,a={setState:r,getState:i,getInitialState:()=>o,subscribe:e=>(n.add(e),()=>n.delete(e))},o=t=e(r,i,a);return a},Rt=(e=>e?Lt(e):Lt),zt=e=>e;function Bt(e,t=zt){let n=H.useSyncExternalStore(e.subscribe,H.useCallback(()=>t(e.getState()),[e,t]),H.useCallback(()=>t(e.getInitialState()),[e,t]));return H.useDebugValue(n),n}var Vt=e=>t=>Bt(e,t),U=qe(),Ht=Rt(()=>({storage:null})),Ut=e=>{let t=(0,U.c)(3),{storage:n,children:r}=e,i=Wt(Kt),a,o;return t[0]===n?(a=t[1],o=t[2]):(a=()=>{Ht.setState({storage:new Tt(n)})},o=[n],t[0]=n,t[1]=a,t[2]=o),(0,H.useEffect)(a,o),i?r:null},Wt=Vt(Ht),Gt=()=>Wt(qt);function Kt(e){return!!e.storage}function qt(e){return e.storage}var Jt=typeof navigator<`u`&&navigator.userAgent.includes(`Mac`),Yt=`graphiql`,Xt=`sublime`,Zt={[Jt?`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 Qt(e,n){let r=await V(()=>import(`./codemirror-6ITIKbGP.js`).then(e=>t(e.default)).then(e=>typeof e==`function`?e:e.default),__vite__mapDeps([0,1]));return await Promise.all(n?.useCommonAddons===!1?e:[V(()=>import(`./show-hint-6TfMghSZ.js`).then(e=>t(e.default)),__vite__mapDeps([2,1,0])),V(()=>import(`./matchbrackets-Bf7gn3FZ.js`).then(e=>t(e.default)),__vite__mapDeps([3,1,0])),V(()=>import(`./closebrackets-E_-ZAIpT.js`).then(e=>t(e.default)),__vite__mapDeps([4,1,0])),V(()=>import(`./brace-fold-zcgUhfJP.js`).then(e=>t(e.default)),__vite__mapDeps([5,1,0])),V(()=>import(`./foldgutter-nI1fUyS5.js`).then(e=>t(e.default)),__vite__mapDeps([6,1,0])),V(()=>import(`./lint-Bt36_p6a.js`).then(e=>t(e.default)),__vite__mapDeps([7,1,0])),V(()=>import(`./searchcursor-Ccp0pHab.js`).then(e=>t(e.default)),__vite__mapDeps([8,1,0])),V(()=>import(`./jump-to-line-B0d3q3MR.js`).then(e=>t(e.default)),__vite__mapDeps([9,1,10,0])),V(()=>import(`./dialog-BCFM5Ua8.js`).then(e=>t(e.default)),__vite__mapDeps([10,1,0])),V(()=>import(`./sublime-CnmrqOqk.js`).then(e=>t(e.default)),__vite__mapDeps([11,1,3,0,8])),...e]),r}var $t=r(((e,t)=>{t.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r<e.rangeCount;r++)n.push(e.getRangeAt(r));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(t){e.addRange(t)}),t&&t.focus()}}})),en=r(((e,t)=>{var n=$t(),r={"text/plain":`Text`,"text/html":`Url`,default:`Text`},i=`Copy to clipboard: #{key}, Enter`;function a(e){var t=(/mac os x/i.test(navigator.userAgent)?`⌘`:`Ctrl`)+`+C`;return e.replace(/#{\s*key\s*}/g,t)}function o(e,t){var o,s,c,l,u,d,f=!1;t||={},o=t.debug||!1;try{if(c=n(),l=document.createRange(),u=document.getSelection(),d=document.createElement(`span`),d.textContent=e,d.ariaHidden=`true`,d.style.all=`unset`,d.style.position=`fixed`,d.style.top=0,d.style.clip=`rect(0, 0, 0, 0)`,d.style.whiteSpace=`pre`,d.style.webkitUserSelect=`text`,d.style.MozUserSelect=`text`,d.style.msUserSelect=`text`,d.style.userSelect=`text`,d.addEventListener(`copy`,function(n){if(n.stopPropagation(),t.format)if(n.preventDefault(),n.clipboardData===void 0){o&&console.warn(`unable to use e.clipboardData`),o&&console.warn(`trying IE specific stuff`),window.clipboardData.clearData();var i=r[t.format]||r.default;window.clipboardData.setData(i,e)}else n.clipboardData.clearData(),n.clipboardData.setData(t.format,e);t.onCopy&&(n.preventDefault(),t.onCopy(n.clipboardData))}),document.body.appendChild(d),l.selectNodeContents(d),u.addRange(l),!document.execCommand(`copy`))throw Error(`copy command was unsuccessful`);f=!0}catch(n){o&&console.error(`unable to copy using execCommand: `,n),o&&console.warn(`trying IE specific stuff`);try{window.clipboardData.setData(t.format||`text`,e),t.onCopy&&t.onCopy(window.clipboardData),f=!0}catch(n){o&&console.error(`unable to copy using clipboardData: `,n),o&&console.error(`falling back to prompt`),s=a(`message`in t?t.message:i),window.prompt(s,e)}}finally{u&&(typeof u.removeRange==`function`?u.removeRange(l):u.removeAllRanges()),d&&document.body.removeChild(d),c()}return f}t.exports=o})),tn=Rt((e,t)=>({plugins:[],visiblePlugin:null,referencePlugin:void 0,setVisiblePlugin(n){let{plugins:r,onTogglePluginVisibility:i}=t(),a=typeof n==`string`,o=n&&r.find(e=>(a?e.title:e)===n)||null;e(({visiblePlugin:e})=>o===e?{visiblePlugin:e}:(i?.(o),{visiblePlugin:o}))}})),nn=e=>{let t=(0,U.c)(8),{onTogglePluginVisibility:n,children:r,visiblePlugin:i,plugins:a,referencePlugin:o}=e,s;t[0]===a?s=t[1]:(s=a===void 0?[]:a,t[0]=a,t[1]=s);let c=s,l,u;return t[2]!==n||t[3]!==c||t[4]!==o||t[5]!==i?(l=()=>{let e=new Set;for(let{title:t}of c){if(typeof t!=`string`||!t)throw Error(`All GraphiQL plugins must have a unique title`);if(e.has(t))throw Error(`All GraphiQL plugins must have a unique title, found two plugins with the title '${t}'`);e.add(t)}tn.setState({plugins:c,onTogglePluginVisibility:n,referencePlugin:o}),tn.getState().setVisiblePlugin(i??null)},u=[c,n,o,i],t[2]=n,t[3]=c,t[4]=o,t[5]=i,t[6]=l,t[7]=u):(l=t[6],u=t[7]),(0,H.useEffect)(l,u),r},rn=Vt(tn),an=Rt((e,t)=>({inputValueDeprecation:null,introspectionQueryName:null,schemaDescription:null,fetcher:null,onSchemaChange:void 0,fetchError:null,isFetching:!1,schema:null,validationErrors:[],schemaReference:null,setSchemaReference(t){e({schemaReference:t})},requestCounter:0,shouldIntrospect:!0,async introspect(){let{requestCounter:n,fetcher:r,onSchemaChange:i,shouldIntrospect:a,headerEditor:o,...s}=t();if(!a)return;let c=n+1;e({requestCounter:c});try{let n=ln(o?.getValue());if(!n.isValidJSON){e({fetchError:`Introspection failed as headers are invalid.`});return}let a=n.headers?{headers:n.headers}:{},{introspectionQuery:l,introspectionQueryName:u,introspectionQuerySansSubscriptions:d}=cn(s),f=ct(r({query:l,operationName:u},a));if(!rt(f)){e({fetchError:`Fetcher did not return a Promise for introspection.`});return}e({isFetching:!0,fetchError:null});let p=await f;if(typeof p!=`object`||!p||!(`data`in p)){let e=ct(r({query:d,operationName:u},a));if(!rt(e))throw Error(`Fetcher did not return a Promise for introspection.`);p=await e}e({isFetching:!1});let m;if(p?.data&&`__schema`in p.data?m=p.data:e({fetchError:typeof p==`string`?p:pt(p)}),c!==t().requestCounter||!m)return;let h=Ke(m);e({schema:h}),i?.(h)}catch(n){if(c!==t().requestCounter)return;e({fetchError:ft(n),isFetching:!1})}}})),on=e=>{let t=(0,U.c)(14),{fetcher:n,onSchemaChange:r,dangerouslyAssumeSchemaIsValid:i,children:a,schema:o,inputValueDeprecation:s,introspectionQueryName:c,schemaDescription:l}=e,u=i===void 0?!1:i,d=s===void 0?!1:s,f=c===void 0?`IntrospectionQuery`:c,p=l===void 0?!1:l;if(!n)throw TypeError("The `SchemaContextProvider` component requires a `fetcher` function to be passed as prop.");let m;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(m={nonNull:!0,caller:on},t[0]=m):m=t[0];let{headerEditor:h}=Ls(m),g,_;t[1]===h?(g=t[2],_=t[3]):(g=()=>{h&&an.setState({headerEditor:h})},_=[h],t[1]=h,t[2]=g,t[3]=_),(0,H.useEffect)(g,_);let v,y;t[4]!==u||t[5]!==n||t[6]!==d||t[7]!==f||t[8]!==r||t[9]!==o||t[10]!==p?(v=()=>{let e=Be(o)||o==null?o:void 0,t=!e||u?[]:ke(e);an.setState(i=>{let{requestCounter:a}=i;return{fetcher:n,onSchemaChange:r,schema:e,shouldIntrospect:!Be(o)&&o!==null,inputValueDeprecation:d,introspectionQueryName:f,schemaDescription:p,validationErrors:t,requestCounter:a+1}}),an.getState().introspect()},y=[o,u,r,n,d,f,p],t[4]=u,t[5]=n,t[6]=d,t[7]=f,t[8]=r,t[9]=o,t[10]=p,t[11]=v,t[12]=y):(v=t[11],y=t[12]),(0,H.useEffect)(v,y);let b;return t[13]===Symbol.for(`react.memo_cache_sentinel`)?(b=[],t[13]=b):b=t[13],(0,H.useEffect)(un,b),a},sn=Vt(an);function cn({inputValueDeprecation:e,introspectionQueryName:t,schemaDescription:n}){let r=Ge({inputValueDeprecation:e,schemaDescription:n});return{introspectionQueryName:t,introspectionQuery:t===`IntrospectionQuery`?r:r.replace(`query IntrospectionQuery`,`query ${t}`),introspectionQuerySansSubscriptions:r.replace(`subscriptionType { name }`,``)}}function ln(e){let t=null,n=!0;try{e&&(t=JSON.parse(e))}catch{n=!1}return{headers:t,isValidJSON:n}}function un(){let e=function(e){e.ctrlKey&&e.key===`R`&&an.getState().introspect()};return window.addEventListener(`keydown`,e),()=>{window.removeEventListener(`keydown`,e)}}var dn={};function fn(e){let t=dn[e];if(t)return t;t=dn[e]=[];for(let e=0;e<128;e++){let n=String.fromCharCode(e);t.push(n)}for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);t[r]=`%`+(`0`+r.toString(16).toUpperCase()).slice(-2)}return t}function pn(e,t){typeof t!=`string`&&(t=pn.defaultChars);let n=fn(t);return e.replace(/(%[a-f0-9]{2})+/gi,function(e){let t=``;for(let r=0,i=e.length;r<i;r+=3){let a=parseInt(e.slice(r+1,r+3),16);if(a<128){t+=n[a];continue}if((a&224)==192&&r+3<i){let n=parseInt(e.slice(r+4,r+6),16);if((n&192)==128){let e=a<<6&1984|n&63;e<128?t+=`��`:t+=String.fromCharCode(e),r+=3;continue}}if((a&240)==224&&r+6<i){let n=parseInt(e.slice(r+4,r+6),16),i=parseInt(e.slice(r+7,r+9),16);if((n&192)==128&&(i&192)==128){let e=a<<12&61440|n<<6&4032|i&63;e<2048||e>=55296&&e<=57343?t+=`���`:t+=String.fromCharCode(e),r+=6;continue}}if((a&248)==240&&r+9<i){let n=parseInt(e.slice(r+4,r+6),16),i=parseInt(e.slice(r+7,r+9),16),o=parseInt(e.slice(r+10,r+12),16);if((n&192)==128&&(i&192)==128&&(o&192)==128){let e=a<<18&1835008|n<<12&258048|i<<6&4032|o&63;e<65536||e>1114111?t+=`����`:(e-=65536,t+=String.fromCharCode(55296+(e>>10),56320+(e&1023))),r+=9;continue}}t+=`�`}return t})}pn.defaultChars=`;/?:@&=+$,#`,pn.componentChars=``;var mn={};function hn(e){let t=mn[e];if(t)return t;t=mn[e]=[];for(let e=0;e<128;e++){let n=String.fromCharCode(e);/^[0-9a-z]$/i.test(n)?t.push(n):t.push(`%`+(`0`+e.toString(16).toUpperCase()).slice(-2))}for(let n=0;n<e.length;n++)t[e.charCodeAt(n)]=e[n];return t}function gn(e,t,n){typeof t!=`string`&&(n=t,t=gn.defaultChars),n===void 0&&(n=!0);let r=hn(t),i=``;for(let t=0,a=e.length;t<a;t++){let o=e.charCodeAt(t);if(n&&o===37&&t+2<a&&/^[0-9a-f]{2}$/i.test(e.slice(t+1,t+3))){i+=e.slice(t,t+3),t+=2;continue}if(o<128){i+=r[o];continue}if(o>=55296&&o<=57343){if(o>=55296&&o<=56319&&t+1<a){let n=e.charCodeAt(t+1);if(n>=56320&&n<=57343){i+=encodeURIComponent(e[t]+e[t+1]),t++;continue}}i+=`%EF%BF%BD`;continue}i+=encodeURIComponent(e[t])}return i}gn.defaultChars=`;/?:@&=+$,-_.!~*'()#`,gn.componentChars=`-_.!~*'()`;function _n(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 vn(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var yn=/^([a-z0-9.+-]+:)/i,bn=/:[0-9]*$/,xn=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Sn=[`%`,`/`,`?`,`;`,`#`,`'`,`{`,`}`,`|`,`\\`,`^`,"`",`<`,`>`,`"`,"`",` `,`\r`,`
|
|
5
5
|
`,` `],Cn=[`/`,`?`,`#`],wn=255,Tn=/^[+a-z0-9A-Z_-]{0,63}$/,En=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Dn={javascript:!0,"javascript:":!0},On={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function kn(e,t){if(e&&e instanceof vn)return e;let n=new vn;return n.parse(e,t),n}vn.prototype.parse=function(e,t){let n,r,i,a=e;if(a=a.trim(),!t&&e.split(`#`).length===1){let e=xn.exec(a);if(e)return this.pathname=e[1],e[2]&&(this.search=e[2]),this}let o=yn.exec(a);if(o&&(o=o[0],n=o.toLowerCase(),this.protocol=o,a=a.substr(o.length)),(t||o||a.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i=a.substr(0,2)===`//`,i&&!(o&&Dn[o])&&(a=a.substr(2),this.slashes=!0)),!Dn[o]&&(i||o&&!On[o])){let e=-1;for(let t=0;t<Cn.length;t++)r=a.indexOf(Cn[t]),r!==-1&&(e===-1||r<e)&&(e=r);let t,n;n=e===-1?a.lastIndexOf(`@`):a.lastIndexOf(`@`,e),n!==-1&&(t=a.slice(0,n),a=a.slice(n+1),this.auth=t),e=-1;for(let t=0;t<Sn.length;t++)r=a.indexOf(Sn[t]),r!==-1&&(e===-1||r<e)&&(e=r);e===-1&&(e=a.length),a[e-1]===`:`&&e--;let i=a.slice(0,e);a=a.slice(e),this.parseHost(i),this.hostname=this.hostname||``;let o=this.hostname[0]===`[`&&this.hostname[this.hostname.length-1]===`]`;if(!o){let e=this.hostname.split(/\./);for(let t=0,n=e.length;t<n;t++){let n=e[t];if(n&&!n.match(Tn)){let r=``;for(let e=0,t=n.length;e<t;e++)n.charCodeAt(e)>127?r+=`x`:r+=n[e];if(!r.match(Tn)){let r=e.slice(0,t),i=e.slice(t+1),o=n.match(En);o&&(r.push(o[1]),i.unshift(o[2])),i.length&&(a=i.join(`.`)+a),this.hostname=r.join(`.`);break}}}}this.hostname.length>wn&&(this.hostname=``),o&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}let s=a.indexOf(`#`);s!==-1&&(this.hash=a.substr(s),a=a.slice(0,s));let c=a.indexOf(`?`);return c!==-1&&(this.search=a.substr(c),a=a.slice(0,c)),a&&(this.pathname=a),On[n]&&this.hostname&&!this.pathname&&(this.pathname=``),this},vn.prototype.parseHost=function(e){let t=bn.exec(e);t&&(t=t[0],t!==`:`&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};var An=n({decode:()=>pn,encode:()=>gn,format:()=>_n,parse:()=>kn}),jn=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,Mn=/[\0-\x1F\x7F-\x9F]/,Nn=/[\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]/,Pn=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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]/,Fn=/[\$\+<->\^`\|~\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]/,In=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,Ln=n({Any:()=>jn,Cc:()=>Mn,Cf:()=>Nn,P:()=>Pn,S:()=>Fn,Z:()=>In}),Rn=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肻\xA0ଷ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))),zn=new Uint16Array(`Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢`.split(``).map(e=>e.charCodeAt(0))),Bn=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]]),Vn=String.fromCodePoint??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 Hn(e){return e>=55296&&e<=57343||e>1114111?65533:Bn.get(e)??e}var Un;(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`})(Un||={});var Wn=32,Gn;(function(e){e[e.VALUE_LENGTH=49152]=`VALUE_LENGTH`,e[e.BRANCH_LENGTH=16256]=`BRANCH_LENGTH`,e[e.JUMP_TABLE=127]=`JUMP_TABLE`})(Gn||={});function Kn(e){return e>=Un.ZERO&&e<=Un.NINE}function qn(e){return e>=Un.UPPER_A&&e<=Un.UPPER_F||e>=Un.LOWER_A&&e<=Un.LOWER_F}function Jn(e){return e>=Un.UPPER_A&&e<=Un.UPPER_Z||e>=Un.LOWER_A&&e<=Un.LOWER_Z||Kn(e)}function Yn(e){return e===Un.EQUALS||Jn(e)}var Xn;(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`})(Xn||={});var Zn;(function(e){e[e.Legacy=0]=`Legacy`,e[e.Strict=1]=`Strict`,e[e.Attribute=2]=`Attribute`})(Zn||={});var Qn=class{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=Xn.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Zn.Strict}startEntity(e){this.decodeMode=e,this.state=Xn.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case Xn.EntityStart:return e.charCodeAt(t)===Un.NUM?(this.state=Xn.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=Xn.NamedEntity,this.stateNamedEntity(e,t));case Xn.NumericStart:return this.stateNumericStart(e,t);case Xn.NumericDecimal:return this.stateNumericDecimal(e,t);case Xn.NumericHex:return this.stateNumericHex(e,t);case Xn.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(e.charCodeAt(t)|Wn)===Un.LOWER_X?(this.state=Xn.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=Xn.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,n,r){if(t!==n){let i=n-t;this.result=this.result*r**+i+parseInt(e.substr(t,i),r),this.consumed+=i}}stateNumericHex(e,t){let n=t;for(;t<e.length;){let r=e.charCodeAt(t);if(Kn(r)||qn(r))t+=1;else return this.addToNumericResult(e,n,t,16),this.emitNumericEntity(r,3)}return this.addToNumericResult(e,n,t,16),-1}stateNumericDecimal(e,t){let n=t;for(;t<e.length;){let r=e.charCodeAt(t);if(Kn(r))t+=1;else return this.addToNumericResult(e,n,t,10),this.emitNumericEntity(r,2)}return this.addToNumericResult(e,n,t,10),-1}emitNumericEntity(e,t){var n;if(this.consumed<=t)return(n=this.errors)==null||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===Un.SEMI)this.consumed+=1;else if(this.decodeMode===Zn.Strict)return 0;return this.emitCodePoint(Hn(this.result),this.consumed),this.errors&&(e!==Un.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){let{decodeTree:n}=this,r=n[this.treeIndex],i=(r&Gn.VALUE_LENGTH)>>14;for(;t<e.length;t++,this.excess++){let a=e.charCodeAt(t);if(this.treeIndex=er(n,r,this.treeIndex+Math.max(1,i),a),this.treeIndex<0)return this.result===0||this.decodeMode===Zn.Attribute&&(i===0||Yn(a))?0:this.emitNotTerminatedNamedEntity();if(r=n[this.treeIndex],i=(r&Gn.VALUE_LENGTH)>>14,i!==0){if(a===Un.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==Zn.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;let{result:t,decodeTree:n}=this,r=(n[t]&Gn.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),(e=this.errors)==null||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){let{decodeTree:r}=this;return this.emitCodePoint(t===1?r[e]&~Gn.VALUE_LENGTH:r[e+1],n),t===3&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case Xn.NamedEntity:return this.result!==0&&(this.decodeMode!==Zn.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Xn.NumericDecimal:return this.emitNumericEntity(0,2);case Xn.NumericHex:return this.emitNumericEntity(0,3);case Xn.NumericStart:return(e=this.errors)==null||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Xn.EntityStart:return 0}}};function $n(e){let t=``,n=new Qn(e,e=>t+=Vn(e));return function(e,r){let i=0,a=0;for(;(a=e.indexOf(`&`,a))>=0;){t+=e.slice(i,a),n.startEntity(r);let o=n.write(e,a+1);if(o<0){i=a+n.end();break}i=a+o,a=o===0?i+1:i}let o=t+e.slice(i);return t=``,o}}function er(e,t,n,r){let i=(t&Gn.BRANCH_LENGTH)>>7,a=t&Gn.JUMP_TABLE;if(i===0)return a!==0&&r===a?n:-1;if(a){let t=r-a;return t<0||t>=i?-1:e[n+t]-1}let o=n,s=o+i-1;for(;o<=s;){let t=o+s>>>1,n=e[t];if(n<r)o=t+1;else if(n>r)s=t-1;else return e[t+i]}return-1}var tr=$n(Rn);$n(zn);function nr(e,t=Zn.Legacy){return tr(e,t)}function rr(e){return tr(e,Zn.Strict)}var ir=n({arrayReplaceAt:()=>ur,asciiTrim:()=>Mr,assign:()=>lr,escapeHtml:()=>Cr,escapeRE:()=>Tr,fromCodePoint:()=>fr,has:()=>cr,isMdAsciiPunct:()=>kr,isPunctChar:()=>Dr,isPunctCharCode:()=>Or,isSpace:()=>W,isString:()=>or,isValidEntityCode:()=>dr,isWhiteSpace:()=>Er,lib:()=>Nr,normalizeReference:()=>Ar,unescapeAll:()=>vr,unescapeMd:()=>_r});function ar(e){return Object.prototype.toString.call(e)}function or(e){return ar(e)===`[object String]`}var sr=Object.prototype.hasOwnProperty;function cr(e,t){return sr.call(e,t)}function lr(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){if(t){if(typeof t!=`object`)throw TypeError(t+`must be object`);Object.keys(t).forEach(function(n){e[n]=t[n]})}}),e}function ur(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function dr(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 fr(e){if(e>65535){e-=65536;let t=55296+(e>>10),n=56320+(e&1023);return String.fromCharCode(t,n)}return String.fromCharCode(e)}var pr=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,mr=RegExp(pr.source+`|&([a-z#][a-z0-9]{1,31});`,`gi`),hr=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function gr(e,t){if(t.charCodeAt(0)===35&&hr.test(t)){let n=t[1].toLowerCase()===`x`?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return dr(n)?fr(n):e}let n=nr(e);return n===e?e:n}function _r(e){return e.indexOf(`\\`)<0?e:e.replace(pr,`$1`)}function vr(e){return e.indexOf(`\\`)<0&&e.indexOf(`&`)<0?e:e.replace(mr,function(e,t,n){return t||gr(e,n)})}var yr=/[&<>"]/,br=/[&<>"]/g,xr={"&":`&`,"<":`<`,">":`>`,'"':`"`};function Sr(e){return xr[e]}function Cr(e){return yr.test(e)?e.replace(br,Sr):e}var wr=/[.?*+^$[\]\\(){}|-]/g;function Tr(e){return e.replace(wr,`\\$&`)}function W(e){switch(e){case 9:case 32:return!0}return!1}function Er(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 Dr(e){return Pn.test(e)||Fn.test(e)}function Or(e){return Dr(fr(e))}function kr(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 Ar(e){return e=e.trim().replace(/\s+/g,` `),e.toLowerCase().toUpperCase()}function jr(e){return e===32||e===9||e===10||e===13}function Mr(e){let t=0;for(;t<e.length&&jr(e.charCodeAt(t));t++);let n=e.length-1;for(;n>=t&&jr(e.charCodeAt(n));n--);return e.slice(t,n+1)}var Nr={mdurl:An,ucmicro:Ln};function Pr(e,t,n){let r,i,a,o,s=e.posMax,c=e.pos;for(e.pos=t+1,r=1;e.pos<s;){if(a=e.src.charCodeAt(e.pos),a===93&&(r--,r===0)){i=!0;break}if(o=e.pos,e.md.inline.skipToken(e),a===91){if(o===e.pos-1)r++;else if(n)return e.pos=c,-1}}let l=-1;return i&&(l=e.pos),e.pos=c,l}function Fr(e,t,n){let r,i=t,a={ok:!1,pos:0,str:``};if(e.charCodeAt(i)===60){for(i++;i<n;){if(r=e.charCodeAt(i),r===10||r===60)return a;if(r===62)return a.pos=i+1,a.str=vr(e.slice(t+1,i)),a.ok=!0,a;if(r===92&&i+1<n){i+=2;continue}i++}return a}let o=0;for(;i<n&&(r=e.charCodeAt(i),!(r===32||r<32||r===127));){if(r===92&&i+1<n){if(e.charCodeAt(i+1)===32)break;i+=2;continue}if(r===40&&(o++,o>32))return a;if(r===41){if(o===0)break;o--}i++}return t===i||o!==0?a:(a.str=vr(e.slice(t,i)),a.pos=i,a.ok=!0,a)}function Ir(e,t,n,r){let i,a=t,o={ok:!1,can_continue:!1,pos:0,str:``,marker:0};if(r)o.str=r.str,o.marker=r.marker;else{if(a>=n)return o;let r=e.charCodeAt(a);if(r!==34&&r!==39&&r!==40)return o;t++,a++,r===40&&(r=41),o.marker=r}for(;a<n;){if(i=e.charCodeAt(a),i===o.marker)return o.pos=a+1,o.str+=vr(e.slice(t,a)),o.ok=!0,o;if(i===40&&o.marker===41)return o;i===92&&a+1<n&&a++,a++}return o.can_continue=!0,o.str+=vr(e.slice(t,a)),o}var Lr=n({parseLinkDestination:()=>Fr,parseLinkLabel:()=>Pr,parseLinkTitle:()=>Ir}),Rr={};Rr.code_inline=function(e,t,n,r,i){let a=e[t];return`<code`+i.renderAttrs(a)+`>`+Cr(a.content)+`</code>`},Rr.code_block=function(e,t,n,r,i){let a=e[t];return`<pre`+i.renderAttrs(a)+`><code>`+Cr(e[t].content)+`</code></pre>
|
|
@@ -14,7 +14,7 @@ import{a as e,o as t,r as n,t as r}from"./chunk-6hGRweTZ.js";import{An as i,At a
|
|
|
14
14
|
`:`>`,i},zr.prototype.renderInline=function(e,t,n){let r=``,i=this.rules;for(let a=0,o=e.length;a<o;a++){let o=e[a].type;i[o]===void 0?r+=this.renderToken(e,a,t):r+=i[o](e,a,t,n,this)}return r},zr.prototype.renderInlineAsText=function(e,t,n){let r=``;for(let i=0,a=e.length;i<a;i++)switch(e[i].type){case`text`:r+=e[i].content;break;case`image`:r+=this.renderInlineAsText(e[i].children,t,n);break;case`html_inline`:case`html_block`:r+=e[i].content;break;case`softbreak`:case`hardbreak`:r+=`
|
|
15
15
|
`;break;default:}return r},zr.prototype.render=function(e,t,n){let r=``,i=this.rules;for(let a=0,o=e.length;a<o;a++){let o=e[a].type;o===`inline`?r+=this.renderInline(e[a].children,t,n):i[o]===void 0?r+=this.renderToken(e,a,t,n):r+=i[o](e,a,t,n,this)}return r};function Br(){this.__rules__=[],this.__cache__=null}Br.prototype.__find__=function(e){for(let t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},Br.prototype.__compile__=function(){let e=this,t=[``];e.__rules__.forEach(function(e){e.enabled&&e.alt.forEach(function(e){t.indexOf(e)<0&&t.push(e)})}),e.__cache__={},t.forEach(function(t){e.__cache__[t]=[],e.__rules__.forEach(function(n){n.enabled&&(t&&n.alt.indexOf(t)<0||e.__cache__[t].push(n.fn))})})},Br.prototype.at=function(e,t,n){let r=this.__find__(e),i=n||{};if(r===-1)throw Error(`Parser rule not found: `+e);this.__rules__[r].fn=t,this.__rules__[r].alt=i.alt||[],this.__cache__=null},Br.prototype.before=function(e,t,n,r){let i=this.__find__(e),a=r||{};if(i===-1)throw Error(`Parser rule not found: `+e);this.__rules__.splice(i,0,{name:t,enabled:!0,fn:n,alt:a.alt||[]}),this.__cache__=null},Br.prototype.after=function(e,t,n,r){let i=this.__find__(e),a=r||{};if(i===-1)throw Error(`Parser rule not found: `+e);this.__rules__.splice(i+1,0,{name:t,enabled:!0,fn:n,alt:a.alt||[]}),this.__cache__=null},Br.prototype.push=function(e,t,n){let r=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:r.alt||[]}),this.__cache__=null},Br.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);let n=[];return e.forEach(function(e){let r=this.__find__(e);if(r<0){if(t)return;throw Error(`Rules manager: invalid rule name `+e)}this.__rules__[r].enabled=!0,n.push(e)},this),this.__cache__=null,n},Br.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(e){e.enabled=!1}),this.enable(e,t)},Br.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);let n=[];return e.forEach(function(e){let r=this.__find__(e);if(r<0){if(t)return;throw Error(`Rules manager: invalid rule name `+e)}this.__rules__[r].enabled=!1,n.push(e)},this),this.__cache__=null,n},Br.prototype.getRules=function(e){return this.__cache__===null&&this.__compile__(),this.__cache__[e]||[]};function Vr(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}Vr.prototype.attrIndex=function(e){if(!this.attrs)return-1;let t=this.attrs;for(let n=0,r=t.length;n<r;n++)if(t[n][0]===e)return n;return-1},Vr.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},Vr.prototype.attrSet=function(e,t){let n=this.attrIndex(e),r=[e,t];n<0?this.attrPush(r):this.attrs[n]=r},Vr.prototype.attrGet=function(e){let t=this.attrIndex(e),n=null;return t>=0&&(n=this.attrs[t][1]),n},Vr.prototype.attrJoin=function(e,t){let n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+` `+t};function Hr(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}Hr.prototype.Token=Vr;var Ur=/\r\n?|\n/g,Wr=/\0/g;function Gr(e){let t;t=e.src.replace(Ur,`
|
|
16
16
|
`),t=t.replace(Wr,`�`),e.src=t}function Kr(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 qr(e){let t=e.tokens;for(let n=0,r=t.length;n<r;n++){let r=t[n];r.type===`inline`&&e.md.inline.parse(r.content,e.md,e.env,r.children)}}function Jr(e){return/^<a[>\s]/i.test(e)}function Yr(e){return/^<\/a\s*>/i.test(e)}function Xr(e){let t=e.tokens;if(e.md.options.linkify)for(let n=0,r=t.length;n<r;n++){if(t[n].type!==`inline`||!e.md.linkify.pretest(t[n].content))continue;let r=t[n].children,i=0;for(let a=r.length-1;a>=0;a--){let o=r[a];if(o.type===`link_close`){for(a--;r[a].level!==o.level&&r[a].type!==`link_open`;)a--;continue}if(o.type===`html_inline`&&(Jr(o.content)&&i>0&&i--,Yr(o.content)&&i++),!(i>0)&&o.type===`text`&&e.md.linkify.test(o.content)){let i=o.content,s=e.md.linkify.match(i),c=[],l=o.level,u=0;s.length>0&&s[0].index===0&&a>0&&r[a-1].type===`text_special`&&(s=s.slice(1));for(let t=0;t<s.length;t++){let n=s[t].url,r=e.md.normalizeLink(n);if(!e.md.validateLink(r))continue;let a=s[t].text;a=s[t].schema?s[t].schema===`mailto:`&&!/^mailto:/i.test(a)?e.md.normalizeLinkText(`mailto:`+a).replace(/^mailto:/,``):e.md.normalizeLinkText(a):e.md.normalizeLinkText(`http://`+a).replace(/^http:\/\//,``);let o=s[t].index;if(o>u){let t=new e.Token(`text`,``,0);t.content=i.slice(u,o),t.level=l,c.push(t)}let d=new e.Token(`link_open`,`a`,1);d.attrs=[[`href`,r]],d.level=l++,d.markup=`linkify`,d.info=`auto`,c.push(d);let f=new e.Token(`text`,``,0);f.content=a,f.level=l,c.push(f);let p=new e.Token(`link_close`,`a`,-1);p.level=--l,p.markup=`linkify`,p.info=`auto`,c.push(p),u=s[t].lastIndex}if(u<i.length){let t=new e.Token(`text`,``,0);t.content=i.slice(u),t.level=l,c.push(t)}t[n].children=r=ur(r,a,c)}}}}var Zr=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,Qr=/\((c|tm|r)\)/i,$r=/\((c|tm|r)\)/gi,ei={c:`©`,r:`®`,tm:`™`};function ti(e,t){return ei[t.toLowerCase()]}function ni(e){let t=0;for(let n=e.length-1;n>=0;n--){let r=e[n];r.type===`text`&&!t&&(r.content=r.content.replace($r,ti)),r.type===`link_open`&&r.info===`auto`&&t--,r.type===`link_close`&&r.info===`auto`&&t++}}function ri(e){let t=0;for(let n=e.length-1;n>=0;n--){let r=e[n];r.type===`text`&&!t&&Zr.test(r.content)&&(r.content=r.content.replace(/\+-/g,`±`).replace(/\.{2,}/g,`…`).replace(/([?!])…/g,`$1..`).replace(/([?!]){4,}/g,`$1$1$1`).replace(/,{2,}/g,`,`).replace(/(^|[^-])---(?=[^-]|$)/gm,`$1—`).replace(/(^|\s)--(?=\s|$)/gm,`$1–`).replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,`$1–`)),r.type===`link_open`&&r.info===`auto`&&t--,r.type===`link_close`&&r.info===`auto`&&t++}}function ii(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)e.tokens[t].type===`inline`&&(Qr.test(e.tokens[t].content)&&ni(e.tokens[t].children),Zr.test(e.tokens[t].content)&&ri(e.tokens[t].children))}var ai=/['"]/,oi=/['"]/g,si=`’`;function ci(e,t,n,r){e[t]||(e[t]=[]),e[t].push({pos:n,ch:r})}function li(e,t){let n=``,r=0;t.sort((e,t)=>e.pos-t.pos);for(let i=0;i<t.length;i++){let a=t[i];n+=e.slice(r,a.pos)+a.ch,r=a.pos+1}return n+e.slice(r)}function ui(e,t){let n,r=[],i={};for(let a=0;a<e.length;a++){let o=e[a],s=e[a].level;for(n=r.length-1;n>=0&&!(r[n].level<=s);n--);if(r.length=n+1,o.type!==`text`)continue;let c=o.content,l=0,u=c.length;OUTER:for(;l<u;){oi.lastIndex=l;let o=oi.exec(c);if(!o)break;let d=!0,f=!0;l=o.index+1;let p=o[0]===`'`,m=32;if(o.index-1>=0)m=c.charCodeAt(o.index-1);else for(n=a-1;n>=0&&!(e[n].type===`softbreak`||e[n].type===`hardbreak`);n--)if(e[n].content){m=e[n].content.charCodeAt(e[n].content.length-1);break}let h=32;if(l<u)h=c.charCodeAt(l);else for(n=a+1;n<e.length&&!(e[n].type===`softbreak`||e[n].type===`hardbreak`);n++)if(e[n].content){h=e[n].content.charCodeAt(0);break}let g=kr(m)||Or(m),_=kr(h)||Or(h),v=Er(m),y=Er(h);if(y?d=!1:_&&(v||g||(d=!1)),v?f=!1:g&&(y||_||(f=!1)),h===34&&o[0]===`"`&&m>=48&&m<=57&&(f=d=!1),d&&f&&(d=g,f=_),!d&&!f){p&&ci(i,a,o.index,si);continue}if(f)for(n=r.length-1;n>=0;n--){let e=r[n];if(r[n].level<s)break;if(e.single===p&&r[n].level===s){e=r[n];let s,c;p?(s=t.md.options.quotes[2],c=t.md.options.quotes[3]):(s=t.md.options.quotes[0],c=t.md.options.quotes[1]),ci(i,a,o.index,c),ci(i,e.token,e.pos,s),r.length=n;continue OUTER}}d?r.push({token:a,pos:o.index,single:p,level:s}):f&&p&&ci(i,a,o.index,si)}}Object.keys(i).forEach(function(t){e[t].content=li(e[t].content,i[t])})}function di(e){if(e.md.options.typographer)for(let t=e.tokens.length-1;t>=0;t--)e.tokens[t].type!==`inline`||!ai.test(e.tokens[t].content)||ui(e.tokens[t].children,e)}function fi(e){let t,n,r=e.tokens,i=r.length;for(let e=0;e<i;e++){if(r[e].type!==`inline`)continue;let i=r[e].children,a=i.length;for(t=0;t<a;t++)i[t].type===`text_special`&&(i[t].type=`text`);for(t=n=0;t<a;t++)i[t].type===`text`&&t+1<a&&i[t+1].type===`text`?i[t+1].content=i[t].content+i[t+1].content:(t!==n&&(i[n]=i[t]),n++);t!==n&&(i.length=n)}}var pi=[[`normalize`,Gr],[`block`,Kr],[`inline`,qr],[`linkify`,Xr],[`replacements`,ii],[`smartquotes`,di],[`text_join`,fi]];function mi(){this.ruler=new Br;for(let e=0;e<pi.length;e++)this.ruler.push(pi[e][0],pi[e][1])}mi.prototype.process=function(e){let t=this.ruler.getRules(``);for(let n=0,r=t.length;n<r;n++)t[n](e)},mi.prototype.State=Hr;function hi(e,t,n,r){this.src=e,this.md=t,this.env=n,this.tokens=r,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType=`root`,this.level=0;let i=this.src;for(let e=0,t=0,n=0,r=0,a=i.length,o=!1;t<a;t++){let s=i.charCodeAt(t);if(!o)if(W(s)){n++,s===9?r+=4-r%4:r++;continue}else o=!0;(s===10||t===a-1)&&(s!==10&&t++,this.bMarks.push(e),this.eMarks.push(t),this.tShift.push(n),this.sCount.push(r),this.bsCount.push(0),o=!1,n=0,r=0,e=t+1)}this.bMarks.push(i.length),this.eMarks.push(i.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}hi.prototype.push=function(e,t,n){let r=new Vr(e,t,n);return r.block=!0,n<0&&this.level--,r.level=this.level,n>0&&this.level++,this.tokens.push(r),r},hi.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},hi.prototype.skipEmptyLines=function(e){for(let t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},hi.prototype.skipSpaces=function(e){for(let t=this.src.length;e<t&&W(this.src.charCodeAt(e));e++);return e},hi.prototype.skipSpacesBack=function(e,t){if(e<=t)return e;for(;e>t;)if(!W(this.src.charCodeAt(--e)))return e+1;return e},hi.prototype.skipChars=function(e,t){for(let n=this.src.length;e<n&&this.src.charCodeAt(e)===t;e++);return e},hi.prototype.skipCharsBack=function(e,t,n){if(e<=n)return e;for(;e>n;)if(t!==this.src.charCodeAt(--e))return e+1;return e},hi.prototype.getLines=function(e,t,n,r){if(e>=t)return``;let i=Array(t-e);for(let a=0,o=e;o<t;o++,a++){let e=0,s=this.bMarks[o],c=s,l;for(l=o+1<t||r?this.eMarks[o]+1:this.eMarks[o];c<l&&e<n;){let t=this.src.charCodeAt(c);if(W(t))t===9?e+=4-(e+this.bsCount[o])%4:e++;else if(c-s<this.tShift[o])e++;else break;c++}e>n?i[a]=Array(e-n+1).join(` `)+this.src.slice(c,l):i[a]=this.src.slice(c,l)}return i.join(``)},hi.prototype.Token=Vr;var gi=65536;function _i(e,t){let n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];return e.src.slice(n,r)}function vi(e){let t=[],n=e.length,r=0,i=e.charCodeAt(r),a=!1,o=0,s=``;for(;r<n;)i===124&&(a?(s+=e.substring(o,r-1),o=r):(t.push(s+e.substring(o,r)),s=``,o=r+1)),a=i===92,r++,i=e.charCodeAt(r);return t.push(s+e.substring(o)),t}function yi(e,t,n,r){if(t+2>n)return!1;let i=t+1;if(e.sCount[i]<e.blkIndent||e.sCount[i]-e.blkIndent>=4)return!1;let a=e.bMarks[i]+e.tShift[i];if(a>=e.eMarks[i])return!1;let o=e.src.charCodeAt(a++);if(o!==124&&o!==45&&o!==58||a>=e.eMarks[i])return!1;let s=e.src.charCodeAt(a++);if(s!==124&&s!==45&&s!==58&&!W(s)||o===45&&W(s))return!1;for(;a<e.eMarks[i];){let t=e.src.charCodeAt(a);if(t!==124&&t!==45&&t!==58&&!W(t))return!1;a++}let c=_i(e,t+1),l=c.split(`|`),u=[];for(let e=0;e<l.length;e++){let t=l[e].trim();if(!t){if(e===0||e===l.length-1)continue;return!1}if(!/^:?-+:?$/.test(t))return!1;t.charCodeAt(t.length-1)===58?u.push(t.charCodeAt(0)===58?`center`:`right`):t.charCodeAt(0)===58?u.push(`left`):u.push(``)}if(c=_i(e,t).trim(),c.indexOf(`|`)===-1||e.sCount[t]-e.blkIndent>=4)return!1;l=vi(c),l.length&&l[0]===``&&l.shift(),l.length&&l[l.length-1]===``&&l.pop();let d=l.length;if(d===0||d!==u.length)return!1;if(r)return!0;let f=e.parentType;e.parentType=`table`;let p=e.md.block.ruler.getRules(`blockquote`),m=e.push(`table_open`,`table`,1),h=[t,0];m.map=h;let g=e.push(`thead_open`,`thead`,1);g.map=[t,t+1];let _=e.push(`tr_open`,`tr`,1);_.map=[t,t+1];for(let t=0;t<l.length;t++){let n=e.push(`th_open`,`th`,1);u[t]&&(n.attrs=[[`style`,`text-align:`+u[t]]]);let r=e.push(`inline`,``,0);r.content=l[t].trim(),r.children=[],e.push(`th_close`,`th`,-1)}e.push(`tr_close`,`tr`,-1),e.push(`thead_close`,`thead`,-1);let v,y=0;for(i=t+2;i<n&&!(e.sCount[i]<e.blkIndent);i++){let r=!1;for(let t=0,a=p.length;t<a;t++)if(p[t](e,i,n,!0)){r=!0;break}if(r||(c=_i(e,i).trim(),!c)||e.sCount[i]-e.blkIndent>=4||(l=vi(c),l.length&&l[0]===``&&l.shift(),l.length&&l[l.length-1]===``&&l.pop(),y+=d-l.length,y>gi))break;if(i===t+2){let n=e.push(`tbody_open`,`tbody`,1);n.map=v=[t+2,0]}let a=e.push(`tr_open`,`tr`,1);a.map=[i,i+1];for(let t=0;t<d;t++){let n=e.push(`td_open`,`td`,1);u[t]&&(n.attrs=[[`style`,`text-align:`+u[t]]]);let r=e.push(`inline`,``,0);r.content=l[t]?l[t].trim():``,r.children=[],e.push(`td_close`,`td`,-1)}e.push(`tr_close`,`tr`,-1)}return v&&(e.push(`tbody_close`,`tbody`,-1),v[1]=i),e.push(`table_close`,`table`,-1),h[1]=i,e.parentType=f,e.line=i,!0}function bi(e,t,n){if(e.sCount[t]-e.blkIndent<4)return!1;let r=t+1,i=r;for(;r<n;){if(e.isEmpty(r)){r++;continue}if(e.sCount[r]-e.blkIndent>=4){r++,i=r;continue}break}e.line=i;let a=e.push(`code_block`,`code`,0);return a.content=e.getLines(t,i,4+e.blkIndent,!1)+`
|
|
17
|
-
`,a.map=[t,e.line],!0}function xi(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||i+3>a)return!1;let o=e.src.charCodeAt(i);if(o!==126&&o!==96)return!1;let s=i;i=e.skipChars(i,o);let c=i-s;if(c<3)return!1;let l=e.src.slice(s,i),u=e.src.slice(i,a);if(o===96&&u.indexOf(String.fromCharCode(o))>=0)return!1;if(r)return!0;let d=t,f=!1;for(;d++,!(d>=n||(i=s=e.bMarks[d]+e.tShift[d],a=e.eMarks[d],i<a&&e.sCount[d]<e.blkIndent));)if(e.src.charCodeAt(i)===o&&!(e.sCount[d]-e.blkIndent>=4)&&(i=e.skipChars(i,o),!(i-s<c)&&(i=e.skipSpaces(i),!(i<a)))){f=!0;break}c=e.sCount[t],e.line=d+(f?1:0);let p=e.push(`fence`,`code`,0);return p.info=u,p.content=e.getLines(t+1,d,c,!0),p.markup=l,p.map=[t,e.line],!0}function Si(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t],o=e.lineMax;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(i)!==62)return!1;if(r)return!0;let s=[],c=[],l=[],u=[],d=e.md.block.ruler.getRules(`blockquote`),f=e.parentType;e.parentType=`blockquote`;let p=!1,m;for(m=t;m<n;m++){let t=e.sCount[m]<e.blkIndent;if(i=e.bMarks[m]+e.tShift[m],a=e.eMarks[m],i>=a)break;if(e.src.charCodeAt(i++)===62&&!t){let t=e.sCount[m]+1,n,r;e.src.charCodeAt(i)===32?(i++,t++,r=!1,n=!0):e.src.charCodeAt(i)===9?(n=!0,(e.bsCount[m]+t)%4==3?(i++,t++,r=!1):r=!0):n=!1;let o=t;for(s.push(e.bMarks[m]),e.bMarks[m]=i;i<a;){let t=e.src.charCodeAt(i);if(W(t))t===9?o+=4-(o+e.bsCount[m]+(r?1:0))%4:o++;else break;i++}p=i>=a,c.push(e.bsCount[m]),e.bsCount[m]=e.sCount[m]+1+(n?1:0),l.push(e.sCount[m]),e.sCount[m]=o-t,u.push(e.tShift[m]),e.tShift[m]=i-e.bMarks[m];continue}if(p)break;let r=!1;for(let t=0,i=d.length;t<i;t++)if(d[t](e,m,n,!0)){r=!0;break}if(r){e.lineMax=m,e.blkIndent!==0&&(s.push(e.bMarks[m]),c.push(e.bsCount[m]),u.push(e.tShift[m]),l.push(e.sCount[m]),e.sCount[m]-=e.blkIndent);break}s.push(e.bMarks[m]),c.push(e.bsCount[m]),u.push(e.tShift[m]),l.push(e.sCount[m]),e.sCount[m]=-1}let h=e.blkIndent;e.blkIndent=0;let g=e.push(`blockquote_open`,`blockquote`,1);g.markup=`>`;let _=[t,0];g.map=_,e.md.block.tokenize(e,t,m);let v=e.push(`blockquote_close`,`blockquote`,-1);v.markup=`>`,e.lineMax=o,e.parentType=f,_[1]=e.line;for(let n=0;n<u.length;n++)e.bMarks[n+t]=s[n],e.tShift[n+t]=u[n],e.sCount[n+t]=l[n],e.bsCount[n+t]=c[n];return e.blkIndent=h,!0}function Ci(e,t,n,r){let i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let a=e.bMarks[t]+e.tShift[t],o=e.src.charCodeAt(a++);if(o!==42&&o!==45&&o!==95)return!1;let s=1;for(;a<i;){let t=e.src.charCodeAt(a++);if(t!==o&&!W(t))return!1;t===o&&s++}if(s<3)return!1;if(r)return!0;e.line=t+1;let c=e.push(`hr`,`hr`,0);return c.map=[t,e.line],c.markup=Array(s+1).join(String.fromCharCode(o)),!0}function wi(e,t){let n=e.eMarks[t],r=e.bMarks[t]+e.tShift[t],i=e.src.charCodeAt(r++);return i!==42&&i!==45&&i!==43||r<n&&!W(e.src.charCodeAt(r))?-1:r}function Ti(e,t){let n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t],i=n;if(i+1>=r)return-1;let a=e.src.charCodeAt(i++);if(a<48||a>57)return-1;for(;;){if(i>=r)return-1;if(a=e.src.charCodeAt(i++),a>=48&&a<=57){if(i-n>=10)return-1;continue}if(a===41||a===46)break;return-1}return i<r&&(a=e.src.charCodeAt(i),!W(a))?-1:i}function Ei(e,t){let n=e.level+2;for(let r=t+2,i=e.tokens.length-2;r<i;r++)e.tokens[r].level===n&&e.tokens[r].type===`paragraph_open`&&(e.tokens[r+2].hidden=!0,e.tokens[r].hidden=!0,r+=2)}function Di(e,t,n,r){let i,a,o,s,c=t,l=!0;if(e.sCount[c]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[c]-e.listIndent>=4&&e.sCount[c]<e.blkIndent)return!1;let u=!1;r&&e.parentType===`paragraph`&&e.sCount[c]>=e.blkIndent&&(u=!0);let d,f,p;if((p=Ti(e,c))>=0){if(d=!0,o=e.bMarks[c]+e.tShift[c],f=Number(e.src.slice(o,p-1)),u&&f!==1)return!1}else if((p=wi(e,c))>=0)d=!1;else return!1;if(u&&e.skipSpaces(p)>=e.eMarks[c])return!1;if(r)return!0;let m=e.src.charCodeAt(p-1),h=e.tokens.length;d?(s=e.push(`ordered_list_open`,`ol`,1),f!==1&&(s.attrs=[[`start`,f]])):s=e.push(`bullet_list_open`,`ul`,1);let g=[c,0];s.map=g,s.markup=String.fromCharCode(m);let _=!1,v=e.md.block.ruler.getRules(`list`),y=e.parentType;for(e.parentType=`list`;c<n;){a=p,i=e.eMarks[c];let t=e.sCount[c]+p-(e.bMarks[c]+e.tShift[c]),r=t;for(;a<i;){let t=e.src.charCodeAt(a);if(t===9)r+=4-(r+e.bsCount[c])%4;else if(t===32)r++;else break;a++}let u=a,f;f=u>=i?1:r-t,f>4&&(f=1);let h=t+f;s=e.push(`list_item_open`,`li`,1),s.markup=String.fromCharCode(m);let g=[c,0];s.map=g,d&&(s.info=e.src.slice(o,p-1));let y=e.tight,b=e.tShift[c],x=e.sCount[c],S=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=h,e.tight=!0,e.tShift[c]=u-e.bMarks[c],e.sCount[c]=r,u>=i&&e.isEmpty(c+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,c,n,!0),(!e.tight||_)&&(l=!1),_=e.line-c>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=S,e.tShift[c]=b,e.sCount[c]=x,e.tight=y,s=e.push(`list_item_close`,`li`,-1),s.markup=String.fromCharCode(m),c=e.line,g[1]=c,c>=n||e.sCount[c]<e.blkIndent||e.sCount[c]-e.blkIndent>=4)break;let C=!1;for(let t=0,r=v.length;t<r;t++)if(v[t](e,c,n,!0)){C=!0;break}if(C)break;if(d){if(p=Ti(e,c),p<0)break;o=e.bMarks[c]+e.tShift[c]}else if(p=wi(e,c),p<0)break;if(m!==e.src.charCodeAt(p-1))break}return s=d?e.push(`ordered_list_close`,`ol`,-1):e.push(`bullet_list_close`,`ul`,-1),s.markup=String.fromCharCode(m),g[1]=c,e.line=c,e.parentType=y,l&&Ei(e,h),!0}function Oi(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t],o=t+1;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(i)!==91)return!1;function s(t){let n=e.lineMax;if(t>=n||e.isEmpty(t))return null;let r=!1;if(e.sCount[t]-e.blkIndent>3&&(r=!0),e.sCount[t]<0&&(r=!0),!r){let r=e.md.block.ruler.getRules(`reference`),i=e.parentType;e.parentType=`reference`;let a=!1;for(let i=0,o=r.length;i<o;i++)if(r[i](e,t,n,!0)){a=!0;break}if(e.parentType=i,a)return null}let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];return e.src.slice(i,a+1)}let c=e.src.slice(i,a+1);a=c.length;let l=-1;for(i=1;i<a;i++){let e=c.charCodeAt(i);if(e===91)return!1;if(e===93){l=i;break}else if(e===10){let e=s(o);e!==null&&(c+=e,a=c.length,o++)}else if(e===92&&(i++,i<a&&c.charCodeAt(i)===10)){let e=s(o);e!==null&&(c+=e,a=c.length,o++)}}if(l<0||c.charCodeAt(l+1)!==58)return!1;for(i=l+2;i<a;i++){let e=c.charCodeAt(i);if(e===10){let e=s(o);e!==null&&(c+=e,a=c.length,o++)}else if(!W(e))break}let u=e.md.helpers.parseLinkDestination(c,i,a);if(!u.ok)return!1;let d=e.md.normalizeLink(u.str);if(!e.md.validateLink(d))return!1;i=u.pos;let f=i,p=o,m=i;for(;i<a;i++){let e=c.charCodeAt(i);if(e===10){let e=s(o);e!==null&&(c+=e,a=c.length,o++)}else if(!W(e))break}let h=e.md.helpers.parseLinkTitle(c,i,a);for(;h.can_continue;){let t=s(o);if(t===null)break;c+=t,i=a,a=c.length,o++,h=e.md.helpers.parseLinkTitle(c,i,a,h)}let g;for(i<a&&m!==i&&h.ok?(g=h.str,i=h.pos):(g=``,i=f,o=p);i<a&&W(c.charCodeAt(i));)i++;if(i<a&&c.charCodeAt(i)!==10&&g)for(g=``,i=f,o=p;i<a&&W(c.charCodeAt(i));)i++;if(i<a&&c.charCodeAt(i)!==10)return!1;let _=Ar(c.slice(1,l));return _?r?!0:(e.env.references===void 0&&(e.env.references={}),e.env.references[_]===void 0&&(e.env.references[_]={title:g,href:d}),e.line=o,!0):!1}var ki=`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`.split(`.`),Ai=`<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^"'=<>\`\\x00-\\x20]+|'[^']*'|"[^"]*"))?)*\\s*\\/?>`,ji=RegExp(`^(?:`+Ai+`|<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>|<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->|<[?][\\s\\S]*?[?]>|<![A-Za-z][^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)`),Mi=RegExp(`^(?:`+Ai+`|<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>)`),Ni=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[RegExp(`^</?(`+ki.join(`|`)+`)(?=(\\s|/?>|$))`,`i`),/^$/,!0],[RegExp(Mi.source+`\\s*$`),/^$/,!1]];function Pi(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(i)!==60)return!1;let o=e.src.slice(i,a),s=0;for(;s<Ni.length&&!Ni[s][0].test(o);s++);if(s===Ni.length)return!1;if(r)return Ni[s][2];let c=t+1,l=Ni[s][1].test(``);if(!Ni[s][1].test(o)){for(;c<n&&!(e.sCount[c]<e.blkIndent&&(l||!e.isEmpty(c)));c++)if(i=e.bMarks[c]+e.tShift[c],a=e.eMarks[c],o=e.src.slice(i,a),Ni[s][1].test(o)){o.length!==0&&c++;break}}e.line=c;let u=e.push(`html_block`,``,0);return u.map=[t,c],u.content=e.getLines(t,c,e.blkIndent,!0),!0}function Fi(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let o=e.src.charCodeAt(i);if(o!==35||i>=a)return!1;let s=1;for(o=e.src.charCodeAt(++i);o===35&&i<a&&s<=6;)s++,o=e.src.charCodeAt(++i);if(s>6||i<a&&!W(o))return!1;if(r)return!0;a=e.skipSpacesBack(a,i);let c=e.skipCharsBack(a,35,i);c>i&&W(e.src.charCodeAt(c-1))&&(a=c),e.line=t+1;let l=e.push(`heading_open`,`h`+String(s),1);l.markup=`########`.slice(0,s),l.map=[t,e.line];let u=e.push(`inline`,``,0);u.content=Mr(e.src.slice(i,a)),u.map=[t,e.line],u.children=[];let d=e.push(`heading_close`,`h`+String(s),-1);return d.markup=`########`.slice(0,s),!0}function Ii(e,t,n){let r=e.md.block.ruler.getRules(`paragraph`);if(e.sCount[t]-e.blkIndent>=4)return!1;let i=e.parentType;e.parentType=`paragraph`;let a=0,o,s=t+1;for(;s<n&&!e.isEmpty(s);s++){if(e.sCount[s]-e.blkIndent>3)continue;if(e.sCount[s]>=e.blkIndent){let t=e.bMarks[s]+e.tShift[s],n=e.eMarks[s];if(t<n&&(o=e.src.charCodeAt(t),(o===45||o===61)&&(t=e.skipChars(t,o),t=e.skipSpaces(t),t>=n))){a=o===61?1:2;break}}if(e.sCount[s]<0)continue;let t=!1;for(let i=0,a=r.length;i<a;i++)if(r[i](e,s,n,!0)){t=!0;break}if(t)break}if(!a)return e.parentType=i,!1;let c=Mr(e.getLines(t,s,e.blkIndent,!1));e.line=s+1;let l=e.push(`heading_open`,`h`+String(a),1);l.markup=String.fromCharCode(o),l.map=[t,e.line];let u=e.push(`inline`,``,0);u.content=c,u.map=[t,e.line-1],u.children=[];let d=e.push(`heading_close`,`h`+String(a),-1);return d.markup=String.fromCharCode(o),e.parentType=i,!0}function Li(e,t,n){let r=e.md.block.ruler.getRules(`paragraph`),i=e.parentType,a=t+1;for(e.parentType=`paragraph`;a<n&&!e.isEmpty(a);a++){if(e.sCount[a]-e.blkIndent>3||e.sCount[a]<0)continue;let t=!1;for(let i=0,o=r.length;i<o;i++)if(r[i](e,a,n,!0)){t=!0;break}if(t)break}let o=Mr(e.getLines(t,a,e.blkIndent,!1));e.line=a;let s=e.push(`paragraph_open`,`p`,1);s.map=[t,e.line];let c=e.push(`inline`,``,0);return c.content=o,c.map=[t,e.line],c.children=[],e.push(`paragraph_close`,`p`,-1),e.parentType=i,!0}var Ri=[[`table`,yi,[`paragraph`,`reference`]],[`code`,bi],[`fence`,xi,[`paragraph`,`reference`,`blockquote`,`list`]],[`blockquote`,Si,[`paragraph`,`reference`,`blockquote`,`list`]],[`hr`,Ci,[`paragraph`,`reference`,`blockquote`,`list`]],[`list`,Di,[`paragraph`,`reference`,`blockquote`]],[`reference`,Oi],[`html_block`,Pi,[`paragraph`,`reference`,`blockquote`]],[`heading`,Fi,[`paragraph`,`reference`,`blockquote`]],[`lheading`,Ii],[`paragraph`,Li]];function zi(){this.ruler=new Br;for(let e=0;e<Ri.length;e++)this.ruler.push(Ri[e][0],Ri[e][1],{alt:(Ri[e][2]||[]).slice()})}zi.prototype.tokenize=function(e,t,n){let r=this.ruler.getRules(``),i=r.length,a=e.md.options.maxNesting,o=t,s=!1;for(;o<n&&(e.line=o=e.skipEmptyLines(o),!(o>=n||e.sCount[o]<e.blkIndent));){if(e.level>=a){e.line=n;break}let t=e.line,c=!1;for(let a=0;a<i;a++)if(c=r[a](e,o,n,!1),c){if(t>=e.line)throw Error(`block rule didn't increment state.line`);break}if(!c)throw Error(`none of the block rules matched`);e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),o=e.line,o<n&&e.isEmpty(o)&&(s=!0,o++,e.line=o)}},zi.prototype.parse=function(e,t,n,r){if(!e)return;let i=new this.State(e,t,n,r);this.tokenize(i,i.line,i.lineMax)},zi.prototype.State=hi;function Bi(e,t,n,r){this.src=e,this.env=n,this.md=t,this.tokens=r,this.tokens_meta=Array(r.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending=``,this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}Bi.prototype.pushPending=function(){let e=new Vr(`text`,``,0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending=``,e},Bi.prototype.push=function(e,t,n){this.pending&&this.pushPending();let r=new Vr(e,t,n),i=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),r.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],i={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(i),r},Bi.prototype.scanDelims=function(e,t){let n=this.posMax,r=this.src.charCodeAt(e),i;if(e===0)i=32;else if(e===1)i=this.src.charCodeAt(0),(i&63488)==55296&&(i=65533);else if(i=this.src.charCodeAt(e-1),(i&64512)==56320){let t=this.src.charCodeAt(e-2);i=(t&64512)==55296?65536+(t-55296<<10)+(i-56320):65533}else (i&64512)==55296&&(i=65533);let a=e;for(;a<n&&this.src.charCodeAt(a)===r;)a++;let o=a-e,s=a<n?this.src.charCodeAt(a):32;if((s&64512)==55296){let e=this.src.charCodeAt(a+1);s=(e&64512)==56320?65536+(s-55296<<10)+(e-56320):65533}else (s&64512)==56320&&(s=65533);let c=kr(i)||Or(i),l=kr(s)||Or(s),u=Er(i),d=Er(s),f=!d&&(!l||u||c),p=!u&&(!c||d||l);return{can_open:f&&(t||!p||c),can_close:p&&(t||!f||l),length:o}},Bi.prototype.Token=Vr;function Vi(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 Hi(e,t){let n=e.pos;for(;n<e.posMax&&!Vi(e.src.charCodeAt(n));)n++;return n===e.pos?!1:(t||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}var Ui=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;function Wi(e,t){if(!e.md.options.linkify||e.linkLevel>0)return!1;let n=e.pos,r=e.posMax;if(n+3>r||e.src.charCodeAt(n)!==58||e.src.charCodeAt(n+1)!==47||e.src.charCodeAt(n+2)!==47)return!1;let i=e.pending.match(Ui);if(!i)return!1;let a=i[1],o=e.md.linkify.matchAtStart(e.src.slice(n-a.length));if(!o)return!1;let s=o.url;if(s.length<=a.length)return!1;let c=s.length;for(;c>0&&s.charCodeAt(c-1)===42;)c--;c!==s.length&&(s=s.slice(0,c));let l=e.md.normalizeLink(s);if(!e.md.validateLink(l))return!1;if(!t){e.pending=e.pending.slice(0,-a.length);let t=e.push(`link_open`,`a`,1);t.attrs=[[`href`,l]],t.markup=`linkify`,t.info=`auto`;let n=e.push(`text`,``,0);n.content=e.md.normalizeLinkText(s);let r=e.push(`link_close`,`a`,-1);r.markup=`linkify`,r.info=`auto`}return e.pos+=s.length-a.length,!0}function Gi(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==10)return!1;let r=e.pending.length-1,i=e.posMax;if(!t)if(r>=0&&e.pending.charCodeAt(r)===32)if(r>=1&&e.pending.charCodeAt(r-1)===32){let t=r-1;for(;t>=1&&e.pending.charCodeAt(t-1)===32;)t--;e.pending=e.pending.slice(0,t),e.push(`hardbreak`,`br`,0)}else e.pending=e.pending.slice(0,-1),e.push(`softbreak`,`br`,0);else e.push(`softbreak`,`br`,0);for(n++;n<i&&W(e.src.charCodeAt(n));)n++;return e.pos=n,!0}var Ki=[];for(let e=0;e<256;e++)Ki.push(0);`\\!"#$%&'()*+,./:;<=>?@[]^_\`{|}~-`.split(``).forEach(function(e){Ki[e.charCodeAt(0)]=1});function qi(e,t){let n=e.pos,r=e.posMax;if(e.src.charCodeAt(n)!==92||(n++,n>=r))return!1;let i=e.src.charCodeAt(n);if(i===10){for(t||e.push(`hardbreak`,`br`,0),n++;n<r&&(i=e.src.charCodeAt(n),W(i));)n++;return e.pos=n,!0}let a=e.src[n];if(i>=55296&&i<=56319&&n+1<r){let t=e.src.charCodeAt(n+1);t>=56320&&t<=57343&&(a+=e.src[n+1],n++)}let o=`\\`+a;if(!t){let t=e.push(`text_special`,``,0);i<256&&Ki[i]!==0?t.content=a:t.content=o,t.markup=o,t.info=`escape`}return e.pos=n+1,!0}function Ji(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==96)return!1;let r=n;n++;let i=e.posMax;for(;n<i&&e.src.charCodeAt(n)===96;)n++;let a=e.src.slice(r,n),o=a.length;if(e.backticksScanned&&(e.backticks[o]||0)<=r)return t||(e.pending+=a),e.pos+=o,!0;let s=n,c;for(;(c=e.src.indexOf("`",s))!==-1;){for(s=c+1;s<i&&e.src.charCodeAt(s)===96;)s++;let r=s-c;if(r===o){if(!t){let t=e.push(`code_inline`,`code`,0);t.markup=a,t.content=e.src.slice(n,c).replace(/\n/g,` `).replace(/^ (.+) $/,`$1`)}return e.pos=s,!0}e.backticks[r]=c}return e.backticksScanned=!0,t||(e.pending+=a),e.pos+=o,!0}function Yi(e,t){let n=e.pos,r=e.src.charCodeAt(n);if(t||r!==126)return!1;let i=e.scanDelims(e.pos,!0),a=i.length,o=String.fromCharCode(r);if(a<2)return!1;let s;a%2&&(s=e.push(`text`,``,0),s.content=o,a--);for(let t=0;t<a;t+=2)s=e.push(`text`,``,0),s.content=o+o,e.delimiters.push({marker:r,length:0,token:e.tokens.length-1,end:-1,open:i.can_open,close:i.can_close});return e.pos+=i.length,!0}function Xi(e,t){let n,r=[],i=t.length;for(let a=0;a<i;a++){let i=t[a];if(i.marker!==126||i.end===-1)continue;let o=t[i.end];n=e.tokens[i.token],n.type=`s_open`,n.tag=`s`,n.nesting=1,n.markup=`~~`,n.content=``,n=e.tokens[o.token],n.type=`s_close`,n.tag=`s`,n.nesting=-1,n.markup=`~~`,n.content=``,e.tokens[o.token-1].type===`text`&&e.tokens[o.token-1].content===`~`&&r.push(o.token-1)}for(;r.length;){let t=r.pop(),i=t+1;for(;i<e.tokens.length&&e.tokens[i].type===`s_close`;)i++;i--,t!==i&&(n=e.tokens[i],e.tokens[i]=e.tokens[t],e.tokens[t]=n)}}function Zi(e){let t=e.tokens_meta,n=e.tokens_meta.length;Xi(e,e.delimiters);for(let r=0;r<n;r++)t[r]&&t[r].delimiters&&Xi(e,t[r].delimiters)}var Qi={tokenize:Yi,postProcess:Zi};function $i(e,t){let n=e.pos,r=e.src.charCodeAt(n);if(t||r!==95&&r!==42)return!1;let i=e.scanDelims(e.pos,r===42);for(let t=0;t<i.length;t++){let t=e.push(`text`,``,0);t.content=String.fromCharCode(r),e.delimiters.push({marker:r,length:i.length,token:e.tokens.length-1,end:-1,open:i.can_open,close:i.can_close})}return e.pos+=i.length,!0}function ea(e,t){let n=t.length;for(let r=n-1;r>=0;r--){let n=t[r];if(n.marker!==95&&n.marker!==42||n.end===-1)continue;let i=t[n.end],a=r>0&&t[r-1].end===n.end+1&&t[r-1].marker===n.marker&&t[r-1].token===n.token-1&&t[n.end+1].token===i.token+1,o=String.fromCharCode(n.marker),s=e.tokens[n.token];s.type=a?`strong_open`:`em_open`,s.tag=a?`strong`:`em`,s.nesting=1,s.markup=a?o+o:o,s.content=``;let c=e.tokens[i.token];c.type=a?`strong_close`:`em_close`,c.tag=a?`strong`:`em`,c.nesting=-1,c.markup=a?o+o:o,c.content=``,a&&(e.tokens[t[r-1].token].content=``,e.tokens[t[n.end+1].token].content=``,r--)}}function ta(e){let t=e.tokens_meta,n=e.tokens_meta.length;ea(e,e.delimiters);for(let r=0;r<n;r++)t[r]&&t[r].delimiters&&ea(e,t[r].delimiters)}var na={tokenize:$i,postProcess:ta};function ra(e,t){let n,r,i,a,o=``,s=``,c=e.pos,l=!0;if(e.src.charCodeAt(e.pos)!==91)return!1;let u=e.pos,d=e.posMax,f=e.pos+1,p=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(p<0)return!1;let m=p+1;if(m<d&&e.src.charCodeAt(m)===40){for(l=!1,m++;m<d&&(n=e.src.charCodeAt(m),!(!W(n)&&n!==10));m++);if(m>=d)return!1;if(c=m,i=e.md.helpers.parseLinkDestination(e.src,m,e.posMax),i.ok){for(o=e.md.normalizeLink(i.str),e.md.validateLink(o)?m=i.pos:o=``,c=m;m<d&&(n=e.src.charCodeAt(m),!(!W(n)&&n!==10));m++);if(i=e.md.helpers.parseLinkTitle(e.src,m,e.posMax),m<d&&c!==m&&i.ok)for(s=i.str,m=i.pos;m<d&&(n=e.src.charCodeAt(m),!(!W(n)&&n!==10));m++);}(m>=d||e.src.charCodeAt(m)!==41)&&(l=!0),m++}if(l){if(e.env.references===void 0)return!1;if(m<d&&e.src.charCodeAt(m)===91?(c=m+1,m=e.md.helpers.parseLinkLabel(e,m),m>=0?r=e.src.slice(c,m++):m=p+1):m=p+1,r||=e.src.slice(f,p),a=e.env.references[Ar(r)],!a)return e.pos=u,!1;o=a.href,s=a.title}if(!t){e.pos=f,e.posMax=p;let t=e.push(`link_open`,`a`,1),n=[[`href`,o]];t.attrs=n,s&&n.push([`title`,s]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push(`link_close`,`a`,-1)}return e.pos=m,e.posMax=d,!0}function ia(e,t){let n,r,i,a,o,s,c,l,u=``,d=e.pos,f=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91)return!1;let p=e.pos+2,m=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(m<0)return!1;if(a=m+1,a<f&&e.src.charCodeAt(a)===40){for(a++;a<f&&(n=e.src.charCodeAt(a),!(!W(n)&&n!==10));a++);if(a>=f)return!1;for(l=a,s=e.md.helpers.parseLinkDestination(e.src,a,e.posMax),s.ok&&(u=e.md.normalizeLink(s.str),e.md.validateLink(u)?a=s.pos:u=``),l=a;a<f&&(n=e.src.charCodeAt(a),!(!W(n)&&n!==10));a++);if(s=e.md.helpers.parseLinkTitle(e.src,a,e.posMax),a<f&&l!==a&&s.ok)for(c=s.str,a=s.pos;a<f&&(n=e.src.charCodeAt(a),!(!W(n)&&n!==10));a++);else c=``;if(a>=f||e.src.charCodeAt(a)!==41)return e.pos=d,!1;a++}else{if(e.env.references===void 0)return!1;if(a<f&&e.src.charCodeAt(a)===91?(l=a+1,a=e.md.helpers.parseLinkLabel(e,a),a>=0?i=e.src.slice(l,a++):a=m+1):a=m+1,i||=e.src.slice(p,m),o=e.env.references[Ar(i)],!o)return e.pos=d,!1;u=o.href,c=o.title}if(!t){r=e.src.slice(p,m);let t=[];e.md.inline.parse(r,e.md,e.env,t);let n=e.push(`image`,`img`,0),i=[[`src`,u],[`alt`,``]];n.attrs=i,n.children=t,n.content=r,c&&i.push([`title`,c])}return e.pos=a,e.posMax=f,!0}var aa=/^([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])?)*)$/,oa=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function sa(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==60)return!1;let r=e.pos,i=e.posMax;for(;;){if(++n>=i)return!1;let t=e.src.charCodeAt(n);if(t===60)return!1;if(t===62)break}let a=e.src.slice(r+1,n);if(oa.test(a)){let n=e.md.normalizeLink(a);if(!e.md.validateLink(n))return!1;if(!t){let t=e.push(`link_open`,`a`,1);t.attrs=[[`href`,n]],t.markup=`autolink`,t.info=`auto`;let r=e.push(`text`,``,0);r.content=e.md.normalizeLinkText(a);let i=e.push(`link_close`,`a`,-1);i.markup=`autolink`,i.info=`auto`}return e.pos+=a.length+2,!0}if(aa.test(a)){let n=e.md.normalizeLink(`mailto:`+a);if(!e.md.validateLink(n))return!1;if(!t){let t=e.push(`link_open`,`a`,1);t.attrs=[[`href`,n]],t.markup=`autolink`,t.info=`auto`;let r=e.push(`text`,``,0);r.content=e.md.normalizeLinkText(a);let i=e.push(`link_close`,`a`,-1);i.markup=`autolink`,i.info=`auto`}return e.pos+=a.length+2,!0}return!1}function ca(e){return/^<a[>\s]/i.test(e)}function la(e){return/^<\/a\s*>/i.test(e)}function ua(e){let t=e|32;return t>=97&&t<=122}function da(e,t){if(!e.md.options.html)return!1;let n=e.posMax,r=e.pos;if(e.src.charCodeAt(r)!==60||r+2>=n)return!1;let i=e.src.charCodeAt(r+1);if(i!==33&&i!==63&&i!==47&&!ua(i))return!1;let a=e.src.slice(r).match(ji);if(!a)return!1;if(!t){let t=e.push(`html_inline`,``,0);t.content=a[0],ca(t.content)&&e.linkLevel++,la(t.content)&&e.linkLevel--}return e.pos+=a[0].length,!0}var fa=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,pa=/^&([a-z][a-z0-9]{1,31});/i;function ma(e,t){let n=e.pos,r=e.posMax;if(e.src.charCodeAt(n)!==38||n+1>=r)return!1;if(e.src.charCodeAt(n+1)===35){let r=e.src.slice(n).match(fa);if(r){if(!t){let t=r[1][0].toLowerCase()===`x`?parseInt(r[1].slice(1),16):parseInt(r[1],10),n=e.push(`text_special`,``,0);n.content=dr(t)?fr(t):fr(65533),n.markup=r[0],n.info=`entity`}return e.pos+=r[0].length,!0}}else{let r=e.src.slice(n).match(pa);if(r){let n=rr(r[0]);if(n!==r[0]){if(!t){let t=e.push(`text_special`,``,0);t.content=n,t.markup=r[0],t.info=`entity`}return e.pos+=r[0].length,!0}}}return!1}function ha(e){let t={},n=e.length;if(!n)return;let r=0,i=-2,a=[];for(let o=0;o<n;o++){let n=e[o];if(a.push(0),(e[r].marker!==n.marker||i!==n.token-1)&&(r=o),i=n.token,n.length=n.length||0,!n.close)continue;t.hasOwnProperty(n.marker)||(t[n.marker]=[-1,-1,-1,-1,-1,-1]);let s=t[n.marker][(n.open?3:0)+n.length%3],c=r-a[r]-1,l=c;for(;c>s;c-=a[c]+1){let t=e[c];if(t.marker===n.marker&&t.open&&t.end<0){let r=!1;if((t.close||n.open)&&(t.length+n.length)%3==0&&(t.length%3!=0||n.length%3!=0)&&(r=!0),!r){let r=c>0&&!e[c-1].open?a[c-1]+1:0;a[o]=o-c+r,a[c]=r,n.open=!1,t.end=o,t.close=!1,l=-1,i=-2;break}}}l!==-1&&(t[n.marker][(n.open?3:0)+(n.length||0)%3]=l)}}function ga(e){let t=e.tokens_meta,n=e.tokens_meta.length;ha(e.delimiters);for(let e=0;e<n;e++)t[e]&&t[e].delimiters&&ha(t[e].delimiters)}function _a(e){let t,n,r=0,i=e.tokens,a=e.tokens.length;for(t=n=0;t<a;t++)i[t].nesting<0&&r--,i[t].level=r,i[t].nesting>0&&r++,i[t].type===`text`&&t+1<a&&i[t+1].type===`text`?i[t+1].content=i[t].content+i[t+1].content:(t!==n&&(i[n]=i[t]),n++);t!==n&&(i.length=n)}var va=[[`text`,Hi],[`linkify`,Wi],[`newline`,Gi],[`escape`,qi],[`backticks`,Ji],[`strikethrough`,Qi.tokenize],[`emphasis`,na.tokenize],[`link`,ra],[`image`,ia],[`autolink`,sa],[`html_inline`,da],[`entity`,ma]],ya=[[`balance_pairs`,ga],[`strikethrough`,Qi.postProcess],[`emphasis`,na.postProcess],[`fragments_join`,_a]];function ba(){this.ruler=new Br;for(let e=0;e<va.length;e++)this.ruler.push(va[e][0],va[e][1]);this.ruler2=new Br;for(let e=0;e<ya.length;e++)this.ruler2.push(ya[e][0],ya[e][1])}ba.prototype.skipToken=function(e){let t=e.pos,n=this.ruler.getRules(``),r=n.length,i=e.md.options.maxNesting,a=e.cache;if(a[t]!==void 0){e.pos=a[t];return}let o=!1;if(e.level<i){for(let i=0;i<r;i++)if(e.level++,o=n[i](e,!0),e.level--,o){if(t>=e.pos)throw Error(`inline rule didn't increment state.pos`);break}}else e.pos=e.posMax;o||e.pos++,a[t]=e.pos},ba.prototype.tokenize=function(e){let t=this.ruler.getRules(``),n=t.length,r=e.posMax,i=e.md.options.maxNesting;for(;e.pos<r;){let a=e.pos,o=!1;if(e.level<i){for(let r=0;r<n;r++)if(o=t[r](e,!1),o){if(a>=e.pos)throw Error(`inline rule didn't increment state.pos`);break}}if(o){if(e.pos>=r)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},ba.prototype.parse=function(e,t,n,r){let i=new this.State(e,t,n,r);this.tokenize(i);let a=this.ruler2.getRules(``),o=a.length;for(let e=0;e<o;e++)a[e](i)},ba.prototype.State=Bi;function xa(e){let t={};e||={},t.src_Any=jn.source,t.src_Cc=Mn.source,t.src_Z=In.source,t.src_P=Pn.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join(`|`),t.src_ZCc=[t.src_Z,t.src_Cc].join(`|`);let 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+`|[><|]|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+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 Sa(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){t&&Object.keys(t).forEach(function(n){e[n]=t[n]})}),e}function Ca(e){return Object.prototype.toString.call(e)}function wa(e){return Ca(e)===`[object String]`}function Ta(e){return Ca(e)===`[object Object]`}function Ea(e){return Ca(e)===`[object RegExp]`}function Da(e){return Ca(e)===`[object Function]`}function Oa(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,`\\$&`)}var ka={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function Aa(e){return Object.keys(e||{}).reduce(function(e,t){return e||ka.hasOwnProperty(t)},!1)}var ja={"http:":{validate:function(e,t,n){let r=e.slice(t);return n.re.http||(n.re.http=RegExp(`^\\/\\/`+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,`i`)),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":`http:`,"ftp:":`http:`,"//":{validate:function(e,t,n){let r=e.slice(t);return n.re.no_http||(n.re.no_http=RegExp(`^`+n.re.src_auth+`(?:localhost|(?:(?:`+n.re.src_domain+`)\\.)+`+n.re.src_domain_root+`)`+n.re.src_port+n.re.src_host_terminator+n.re.src_path,`i`)),n.re.no_http.test(r)?t>=3&&e[t-3]===`:`||t>=3&&e[t-3]===`/`?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){let r=e.slice(t);return n.re.mailto||(n.re.mailto=RegExp(`^`+n.re.src_email_name+`@`+n.re.src_host_strict,`i`)),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},Ma=`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]`,Na=`biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф`.split(`|`);function Pa(e){return function(t,n){let r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}function Fa(){return function(e,t){t.normalize(e)}}function Ia(e){let t=e.re=xa(e.__opts__),n=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||n.push(Ma),n.push(t.src_xn),t.src_tlds=n.join(`|`);function r(e){return e.replace(`%TLDS%`,t.src_tlds)}t.email_fuzzy=RegExp(r(t.tpl_email_fuzzy),`i`),t.email_fuzzy_global=RegExp(r(t.tpl_email_fuzzy),`ig`),t.link_fuzzy=RegExp(r(t.tpl_link_fuzzy),`i`),t.link_fuzzy_global=RegExp(r(t.tpl_link_fuzzy),`ig`),t.link_no_ip_fuzzy=RegExp(r(t.tpl_link_no_ip_fuzzy),`i`),t.link_no_ip_fuzzy_global=RegExp(r(t.tpl_link_no_ip_fuzzy),`ig`),t.host_fuzzy_test=RegExp(r(t.tpl_host_fuzzy_test),`i`);let i=[];e.__compiled__={};function a(e,t){throw Error(`(LinkifyIt) Invalid schema "`+e+`": `+t)}Object.keys(e.__schemas__).forEach(function(t){let n=e.__schemas__[t];if(n===null)return;let r={validate:null,link:null};if(e.__compiled__[t]=r,Ta(n)){Ea(n.validate)?r.validate=Pa(n.validate):Da(n.validate)?r.validate=n.validate:a(t,n),Da(n.normalize)?r.normalize=n.normalize:n.normalize?a(t,n):r.normalize=Fa();return}if(wa(n)){i.push(t);return}a(t,n)}),i.forEach(function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)}),e.__compiled__[``]={validate:null,normalize:Fa()};let o=Object.keys(e.__compiled__).filter(function(t){return t.length>0&&e.__compiled__[t]}).map(Oa).join(`|`);e.re.schema_test=RegExp(`(^|(?!_)(?:[><|]|`+t.src_ZPCc+`))(`+o+`)`,`i`),e.re.schema_search=RegExp(`(^|(?!_)(?:[><|]|`+t.src_ZPCc+`))(`+o+`)`,`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`)}function La(e,t,n,r){let i=e.slice(n,r);this.schema=t.toLowerCase(),this.index=n,this.lastIndex=r,this.raw=i,this.text=i,this.url=i}function Ra(e,t){if(!(this instanceof Ra))return new Ra(e,t);t||Aa(e)&&(t=e,e={}),this.__opts__=Sa({},ka,t),this.__schemas__=Sa({},ja,e),this.__compiled__={},this.__tlds__=Na,this.__tlds_replaced__=!1,this.re={},Ia(this)}Ra.prototype.add=function(e,t){return this.__schemas__[e]=t,Ia(this),this},Ra.prototype.set=function(e){return this.__opts__=Sa(this.__opts__,e),this},Ra.prototype.test=function(e){if(!e.length)return!1;let t,n;if(this.re.schema_test.test(e)){for(n=this.re.schema_search,n.lastIndex=0;(t=n.exec(e))!==null;)if(this.testSchemaAt(e,t[2],n.lastIndex))return!0}return!!(this.__opts__.fuzzyLink&&this.__compiled__[`http:`]&&e.search(this.re.host_fuzzy_test)>=0&&e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy)!==null||this.__opts__.fuzzyEmail&&this.__compiled__[`mailto:`]&&e.indexOf(`@`)>=0&&e.match(this.re.email_fuzzy)!==null)},Ra.prototype.pretest=function(e){return this.re.pretest.test(e)},Ra.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},Ra.prototype.match=function(e){let t=[],n=[],r=[],i=[],a,o,s;function c(e,t){return e?t?e.index===t.index?e.lastIndex>=t.lastIndex?e:t:e.index<t.index?e:t:e:t}if(!e.length)return null;if(this.re.schema_test.test(e))for(s=this.re.schema_search,s.lastIndex=0;(a=s.exec(e))!==null;)o=this.testSchemaAt(e,a[2],s.lastIndex),o&&n.push({schema:a[2],index:a.index+a[1].length,lastIndex:a.index+a[0].length+o});if(this.__opts__.fuzzyLink&&this.__compiled__[`http:`])for(s=this.__opts__.fuzzyIP?this.re.link_fuzzy_global:this.re.link_no_ip_fuzzy_global,s.lastIndex=0;(a=s.exec(e))!==null;)r.push({schema:``,index:a.index+a[1].length,lastIndex:a.index+a[0].length});if(this.__opts__.fuzzyEmail&&this.__compiled__[`mailto:`])for(s=this.re.email_fuzzy_global,s.lastIndex=0;(a=s.exec(e))!==null;)i.push({schema:`mailto:`,index:a.index+a[1].length,lastIndex:a.index+a[0].length});let l=[0,0,0],u=0;for(;;){let a=[n[l[0]],i[l[1]],r[l[2]]],o=c(c(a[0],a[1]),a[2]);if(!o)break;if(o===a[0]?l[0]++:o===a[1]?l[1]++:l[2]++,o.index<u)continue;let s=new La(e,o.schema,o.index,o.lastIndex);this.__compiled__[s.schema].normalize(s,this),t.push(s),u=o.lastIndex}return t.length?t:null},Ra.prototype.matchAtStart=function(e){if(!e.length)return null;let t=this.re.schema_at_start.exec(e);if(!t)return null;let n=this.testSchemaAt(e,t[2],t[0].length);if(!n)return null;let r=new La(e,t[2],t.index+t[1].length,t.index+t[0].length+n);return this.__compiled__[r.schema].normalize(r,this),r},Ra.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(e,t,n){return e!==n[t-1]}).reverse(),Ia(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,Ia(this),this)},Ra.prototype.normalize=function(e){e.schema||(e.url=`http://`+e.url),e.schema===`mailto:`&&!/^mailto:/i.test(e.url)&&(e.url=`mailto:`+e.url)},Ra.prototype.onCompile=function(){};var za=2147483647,Ba=36,Va=1,Ha=26,Ua=38,Wa=700,Ga=72,Ka=128,qa=`-`,Ja=/^xn--/,Ya=/[^\0-\x7F]/,Xa=/[\x2E\u3002\uFF0E\uFF61]/g,Za={overflow:`Overflow: input needs wider integers to process`,"not-basic":`Illegal input >= 0x80 (not a basic code point)`,"invalid-input":`Invalid input`},Qa=Ba-Va,$a=Math.floor,eo=String.fromCharCode;function to(e){throw RangeError(Za[e])}function no(e,t){let n=[],r=e.length;for(;r--;)n[r]=t(e[r]);return n}function ro(e,t){let n=e.split(`@`),r=``;n.length>1&&(r=n[0]+`@`,e=n[1]),e=e.replace(Xa,`.`);let i=no(e.split(`.`),t).join(`.`);return r+i}function io(e){let t=[],n=0,r=e.length;for(;n<r;){let i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){let r=e.charCodeAt(n++);(r&64512)==56320?t.push(((i&1023)<<10)+(r&1023)+65536):(t.push(i),n--)}else t.push(i)}return t}var ao=e=>String.fromCodePoint(...e),oo=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:Ba},so=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},co=function(e,t,n){let r=0;for(e=n?$a(e/Wa):e>>1,e+=$a(e/t);e>Qa*Ha>>1;r+=Ba)e=$a(e/Qa);return $a(r+(Qa+1)*e/(e+Ua))},lo=function(e){let t=[],n=e.length,r=0,i=Ka,a=Ga,o=e.lastIndexOf(qa);o<0&&(o=0);for(let n=0;n<o;++n)e.charCodeAt(n)>=128&&to(`not-basic`),t.push(e.charCodeAt(n));for(let s=o>0?o+1:0;s<n;){let o=r;for(let t=1,i=Ba;;i+=Ba){s>=n&&to(`invalid-input`);let o=oo(e.charCodeAt(s++));o>=Ba&&to(`invalid-input`),o>$a((za-r)/t)&&to(`overflow`),r+=o*t;let c=i<=a?Va:i>=a+Ha?Ha:i-a;if(o<c)break;let l=Ba-c;t>$a(za/l)&&to(`overflow`),t*=l}let c=t.length+1;a=co(r-o,c,o==0),$a(r/c)>za-i&&to(`overflow`),i+=$a(r/c),r%=c,t.splice(r++,0,i)}return String.fromCodePoint(...t)},uo=function(e){let t=[];e=io(e);let n=e.length,r=Ka,i=0,a=Ga;for(let n of e)n<128&&t.push(eo(n));let o=t.length,s=o;for(o&&t.push(qa);s<n;){let n=za;for(let t of e)t>=r&&t<n&&(n=t);let c=s+1;n-r>$a((za-i)/c)&&to(`overflow`),i+=(n-r)*c,r=n;for(let n of e)if(n<r&&++i>za&&to(`overflow`),n===r){let e=i;for(let n=Ba;;n+=Ba){let r=n<=a?Va:n>=a+Ha?Ha:n-a;if(e<r)break;let i=e-r,o=Ba-r;t.push(eo(so(r+i%o,0))),e=$a(i/o)}t.push(eo(so(e,0))),a=co(i,c,s===o),i=0,++s}++i,++r}return t.join(``)},fo={version:`2.3.1`,ucs2:{decode:io,encode:ao},decode:lo,encode:uo,toASCII:function(e){return ro(e,function(e){return Ya.test(e)?`xn--`+uo(e):e})},toUnicode:function(e){return ro(e,function(e){return Ja.test(e)?lo(e.slice(4).toLowerCase()):e})}},po={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:`language-`,linkify:!1,typographer:!1,quotes:`“”‘’`,highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},zero:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:`language-`,linkify:!1,typographer:!1,quotes:`“”‘’`,highlight:null,maxNesting:20},components:{core:{rules:[`normalize`,`block`,`inline`,`text_join`]},block:{rules:[`paragraph`]},inline:{rules:[`text`],rules2:[`balance_pairs`,`fragments_join`]}}},commonmark:{options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:`language-`,linkify:!1,typographer:!1,quotes:`“”‘’`,highlight:null,maxNesting:20},components:{core:{rules:[`normalize`,`block`,`inline`,`text_join`]},block:{rules:[`blockquote`,`code`,`fence`,`heading`,`hr`,`html_block`,`lheading`,`list`,`reference`,`paragraph`]},inline:{rules:[`autolink`,`backticks`,`emphasis`,`entity`,`escape`,`html_inline`,`image`,`link`,`newline`,`text`],rules2:[`balance_pairs`,`emphasis`,`fragments_join`]}}}},mo=/^(vbscript|javascript|file|data):/,ho=/^data:image\/(gif|png|jpeg|webp);/;function go(e){let t=e.trim().toLowerCase();return mo.test(t)?ho.test(t):!0}var _o=[`http:`,`https:`,`mailto:`];function vo(e){let t=kn(e,!0);if(t.hostname&&(!t.protocol||_o.indexOf(t.protocol)>=0))try{t.hostname=fo.toASCII(t.hostname)}catch{}return gn(_n(t))}function yo(e){let t=kn(e,!0);if(t.hostname&&(!t.protocol||_o.indexOf(t.protocol)>=0))try{t.hostname=fo.toUnicode(t.hostname)}catch{}return pn(_n(t),pn.defaultChars+`%`)}function bo(e,t){if(!(this instanceof bo))return new bo(e,t);t||or(e)||(t=e||{},e=`default`),this.inline=new ba,this.block=new zi,this.core=new mi,this.renderer=new zr,this.linkify=new Ra,this.validateLink=go,this.normalizeLink=vo,this.normalizeLinkText=yo,this.utils=ir,this.helpers=lr({},Lr),this.options={},this.configure(e),t&&this.set(t)}bo.prototype.set=function(e){return lr(this.options,e),this},bo.prototype.configure=function(e){let t=this;if(or(e)){let t=e;if(e=po[t],!e)throw Error('Wrong `markdown-it` preset "'+t+`", check name`)}if(!e)throw Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(n){e.components[n].rules&&t[n].ruler.enableOnly(e.components[n].rules),e.components[n].rules2&&t[n].ruler2.enableOnly(e.components[n].rules2)}),this},bo.prototype.enable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),[`core`,`block`,`inline`].forEach(function(t){n=n.concat(this[t].ruler.enable(e,!0))},this),n=n.concat(this.inline.ruler2.enable(e,!0));let r=e.filter(function(e){return n.indexOf(e)<0});if(r.length&&!t)throw Error(`MarkdownIt. Failed to enable unknown rule(s): `+r);return this},bo.prototype.disable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),[`core`,`block`,`inline`].forEach(function(t){n=n.concat(this[t].ruler.disable(e,!0))},this),n=n.concat(this.inline.ruler2.disable(e,!0));let r=e.filter(function(e){return n.indexOf(e)<0});if(r.length&&!t)throw Error(`MarkdownIt. Failed to disable unknown rule(s): `+r);return this},bo.prototype.use=function(e){let t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},bo.prototype.parse=function(e,t){if(typeof e!=`string`)throw Error(`Input data should be a String`);let n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},bo.prototype.render=function(e,t){return t||={},this.renderer.render(this.parse(e,t),this.options,t)},bo.prototype.parseInline=function(e,t){let n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},bo.prototype.renderInline=function(e,t){return t||={},this.renderer.render(this.parseInline(e,t),this.options,t)};var xo=new bo({breaks:!1,linkify:!0});function So(e,t,{schema:n,setSchemaReference:r},i,a){Qt([],{useCommonAddons:!1}).then(e=>{let n,r,i,a,s,c,l,u,d;e.on(t,`select`,(e,t)=>{if(!n){let e=t.parentNode;n=document.createElement(`div`),n.className=`CodeMirror-hint-information`,e.append(n);let f=document.createElement(`header`);f.className=`CodeMirror-hint-information-header`,n.append(f),r=document.createElement(`span`),r.className=`CodeMirror-hint-information-field-name`,f.append(r),i=document.createElement(`span`),i.className=`CodeMirror-hint-information-type-name-pill`,f.append(i),a=document.createElement(`span`),i.append(a),s=document.createElement(`a`),s.className=`CodeMirror-hint-information-type-name`,s.href=`javascript:void 0`,s.addEventListener(`click`,o),i.append(s),c=document.createElement(`span`),i.append(c),l=document.createElement(`div`),l.className=`CodeMirror-hint-information-description`,n.append(l),u=document.createElement(`div`),u.className=`CodeMirror-hint-information-deprecation`,n.append(u);let p=document.createElement(`span`);p.className=`CodeMirror-hint-information-deprecation-label`,p.textContent=`Deprecated`,u.append(p),d=document.createElement(`div`),d.className=`CodeMirror-hint-information-deprecation-reason`,u.append(d);let m=parseInt(window.getComputedStyle(n).paddingBottom.replace(/px$/,``),10)||0,h=parseInt(window.getComputedStyle(n).maxHeight.replace(/px$/,``),10)||0,g=()=>{n&&(n.style.paddingTop=e.scrollTop+m+`px`,n.style.maxHeight=e.scrollTop+h+`px`)};e.addEventListener(`scroll`,g);let _;e.addEventListener(`DOMNodeRemoved`,_=t=>{t.target===e&&(e.removeEventListener(`scroll`,g),e.removeEventListener(`DOMNodeRemoved`,_),n?.removeEventListener(`click`,o),n=null,r=null,i=null,a=null,s=null,c=null,l=null,u=null,d=null,_=null)})}if(r&&(r.textContent=e.text),i&&a&&s&&c)if(e.type){i.style.display=`inline`;let t=e=>{me(e)?(c.textContent=`!`+c.textContent,t(e.ofType)):Ee(e)?(a.textContent+=`[`,c.textContent=`]`+c.textContent,t(e.ofType)):s.textContent=e.name};a.textContent=``,c.textContent=``,t(e.type)}else a.textContent=``,s.textContent=``,c.textContent=``,i.style.display=`none`;l&&(e.description?(l.style.display=`block`,l.innerHTML=xo.render(e.description)):(l.style.display=`none`,l.innerHTML=``)),u&&d&&(e.deprecationReason?(u.style.display=`block`,d.innerHTML=xo.render(e.deprecationReason)):(u.style.display=`none`,d.innerHTML=``))})});function o(e){let t=i?.referencePlugin;if(!n||!t||!(e.currentTarget instanceof HTMLElement))return;let o=e.currentTarget.textContent||``,s=n.getType(o);s&&(i.setVisiblePlugin(t),r({kind:`Type`,type:s}),a?.(s))}}function Co(e,t){let n;return function(...r){n&&clearTimeout(n),n=setTimeout(()=>{n=null,t(...r)},e)}}var wo=t(en());function To(e,t){let n=(0,U.c)(4),r,i;n[0]!==e||n[1]!==t?(r=()=>{e&&typeof t==`string`&&t!==e.getValue()&&e.setValue(t)},i=[e,t],n[0]=e,n[1]=t,n[2]=r,n[3]=i):(r=n[2],i=n[3]),(0,H.useEffect)(r,i)}function Eo(e,t,n){let r=(0,U.c)(5),i,a;r[0]!==e||r[1]!==t||r[2]!==n?(i=()=>{e?.setOption(t,n)},a=[e,t,n],r[0]=e,r[1]=t,r[2]=n,r[3]=i,r[4]=a):(i=r[3],a=r[4]),(0,H.useEffect)(i,a)}function Do(e,t,n,r,i){let a=(0,U.c)(9),o;a[0]===i?o=a[1]:(o={nonNull:!0,caller:i},a[0]=i,a[1]=o);let{updateActiveTabValues:s}=Ls(o),c,l;a[2]!==t||a[3]!==e||a[4]!==n||a[5]!==r||a[6]!==s?(c=()=>{if(!e)return;let{storage:i}=Ht.getState(),a=Co(500,e=>{n!==null&&i.set(n,e)}),o=Co(100,e=>{s({[r]:e})}),c=(e,n)=>{if(!n)return;let r=e.getValue();a(r),o(r),t?.(r)};return e.on(`change`,c),()=>e.off(`change`,c)},l=[t,e,n,r,s],a[2]=t,a[3]=e,a[4]=n,a[5]=r,a[6]=s,a[7]=c,a[8]=l):(c=a[7],l=a[8]),(0,H.useEffect)(c,l)}function Oo(e,t){let n=(0,U.c)(7),{schema:r,setSchemaReference:i}=sn(),a=rn(),o,s;n[0]!==t||n[1]!==e||n[2]!==a||n[3]!==r||n[4]!==i?(o=()=>{if(!e)return;let n=(e,n)=>{So(e,n,{schema:r,setSchemaReference:i},a,e=>{t?.({kind:`Type`,type:e,schema:r||void 0})})};return e.on(`hasCompletion`,n),()=>e.off(`hasCompletion`,n)},s=[t,e,a,r,i],n[0]=t,n[1]=e,n[2]=a,n[3]=r,n[4]=i,n[5]=o,n[6]=s):(o=n[5],s=n[6]),(0,H.useEffect)(o,s)}function ko(e,t,n){let r=(0,U.c)(5),i,a;r[0]!==n||r[1]!==e||r[2]!==t?(i=()=>{if(e){for(let n of t)e.removeKeyMap(n);if(n){let r={};for(let e of t)r[e]=()=>n();e.addKeyMap(r)}}},a=[e,t,n],r[0]=n,r[1]=e,r[2]=t,r[3]=i,r[4]=a):(i=r[3],a=r[4]),(0,H.useEffect)(i,a)}var Ao=Po,jo=Fo,Mo=Lo,No=Ro;function Po(e){let t=(0,U.c)(7),n;t[0]===e?n=t[1]:(n=e===void 0?{}:e,t[0]=e,t[1]=n);let{caller:r,onCopyQuery:i}=n,a=r||Ao,o;t[2]===a?o=t[3]:(o={nonNull:!0,caller:a},t[2]=a,t[3]=o);let{queryEditor:s}=Ls(o),c;return t[4]!==i||t[5]!==s?(c=()=>{if(!s)return;let e=s.getValue();(0,wo.default)(e),i?.(e)},t[4]=i,t[5]=s,t[6]=c):c=t[6],c}function Fo(e){let t=(0,U.c)(7),n;t[0]===e?n=t[1]:(n=e===void 0?{}:e,t[0]=e,t[1]=n);let{caller:r}=n,i=r||jo,a;t[2]===i?a=t[3]:(a={nonNull:!0,caller:i},t[2]=i,t[3]=a);let{queryEditor:o}=Ls(a),{schema:s}=sn(),c;return t[4]!==o||t[5]!==s?(c=()=>{let e=o?.documentAST,t=o?.getValue();!e||!t||o.setValue(he(St(e,s)))},t[4]=o,t[5]=s,t[6]=c):c=t[6],c}function Io(e){return he(Ve(e))}function Lo(e){let t=(0,U.c)(9),n;t[0]===e?n=t[1]:(n=e===void 0?{}:e,t[0]=e,t[1]=n);let{caller:r,onPrettifyQuery:i}=n,a=i===void 0?Io:i,o=r||Mo,s;t[2]===o?s=t[3]:(s={nonNull:!0,caller:o},t[2]=o,t[3]=s);let{queryEditor:c,headerEditor:l,variableEditor:u}=Ls(s),d;return t[4]!==l||t[5]!==a||t[6]!==c||t[7]!==u?(d=async()=>{if(u){let e=u.getValue();try{let t=JSON.stringify(JSON.parse(e),null,2);t!==e&&u.setValue(t)}catch{}}if(l){let e=l.getValue();try{let t=JSON.stringify(JSON.parse(e),null,2);t!==e&&l.setValue(t)}catch{}}if(c){let e=c.getValue();try{let t=await a(e);t!==e&&c.setValue(t)}catch{}}},t[4]=l,t[5]=a,t[6]=c,t[7]=u,t[8]=d):d=t[8],d}function Ro(e){let t=(0,U.c)(8),n;t[0]===e?n=t[1]:(n=e===void 0?{}:e,t[0]=e,t[1]=n);let{getDefaultFieldNames:r,caller:i}=n,{schema:a}=sn(),o=i||No,s;t[2]===o?s=t[3]:(s={nonNull:!0,caller:o},t[2]=o,t[3]=s);let{queryEditor:c}=Ls(s),l;return t[4]!==r||t[5]!==c||t[6]!==a?(l=()=>{if(!c)return;let{insertions:e,result:t}=mt(a,c.getValue(),r);return e&&e.length>0&&c.operation(()=>{let n=c.getCursor(),r=c.indexFromPos(n);c.setValue(t||``);let i=0,a=e.map(e=>{let{index:t,string:n}=e;return i+=n.length,c.markText(c.posFromIndex(t+i),c.posFromIndex(t+i),{className:`auto-inserted-leaf`,clearOnEnter:!0,title:`Automatically added leaf fields`})});setTimeout(()=>{for(let e of a)e.clear()},7e3);let o=r;for(let{index:t,string:n}of e)t<r&&(o+=n.length);c.setCursor(c.posFromIndex(o))}),t},t[4]=r,t[5]=c,t[6]=a,t[7]=l):l=t[7],l}function zo(){return Qt([V(()=>import(`./javascript-D3bo9a4I.js`).then(e=>t(e.default)),__vite__mapDeps([12,1,0]))])}var Bo=Vo;function Vo(e,t){let n=(0,U.c)(17),r;n[0]===e?r=n[1]:(r=e===void 0?{}:e,n[0]=e,n[1]=r);let{editorTheme:i,keyMap:a,onEdit:o,readOnly:s}=r,c=i===void 0?Yt:i,l=a===void 0?Xt:a,u=s===void 0?!1:s,d=t||Bo,f;n[2]===d?f=n[3]:(f={nonNull:!0,caller:d},n[2]=d,n[3]=f);let{initialHeaders:p,headerEditor:m,setHeaderEditor:h,shouldPersistHeaders:g}=Ls(f),_=Ws(),v=t||Bo,y;n[4]===v?y=n[5]:(y={caller:v},n[4]=v,n[5]=y);let b=Fo(y),x=t||Bo,S;n[6]===x?S=n[7]:(S={caller:x},n[6]=x,n[7]=S);let C=Lo(S),w=(0,H.useRef)(null),T,E;n[8]!==c||n[9]!==p||n[10]!==u||n[11]!==h?(T=()=>{let e=!0;return zo().then(t=>{if(!e)return;let n=w.current;if(!n)return;let r=t(n,{value:p,lineNumbers:!0,tabSize:2,mode:{name:`javascript`,json:!0},theme:c,autoCloseBrackets:!0,matchBrackets:!0,showCursorWhenSelecting:!0,readOnly:u?`nocursor`:!1,foldGutter:!0,gutters:[`CodeMirror-linenumbers`,`CodeMirror-foldgutter`],extraKeys:Zt});r.addKeyMap({"Cmd-Space"(){r.showHint({completeSingle:!1,container:n})},"Ctrl-Space"(){r.showHint({completeSingle:!1,container:n})},"Alt-Space"(){r.showHint({completeSingle:!1,container:n})},"Shift-Space"(){r.showHint({completeSingle:!1,container:n})}}),r.on(`keyup`,Ho),h(r)}),()=>{e=!1}},E=[c,p,u,h],n[8]=c,n[9]=p,n[10]=u,n[11]=h,n[12]=T,n[13]=E):(T=n[12],E=n[13]),(0,H.useEffect)(T,E),Eo(m,`keyMap`,l),Do(m,o,g?Uo:null,`headers`,Bo);let D;n[14]===Symbol.for(`react.memo_cache_sentinel`)?(D=[`Cmd-Enter`,`Ctrl-Enter`],n[14]=D):D=n[14],ko(m,D,_?.run);let O;n[15]===Symbol.for(`react.memo_cache_sentinel`)?(O=[`Shift-Ctrl-P`],n[15]=O):O=n[15],ko(m,O,C);let k;return n[16]===Symbol.for(`react.memo_cache_sentinel`)?(k=[`Shift-Ctrl-M`],n[16]=k):k=n[16],ko(m,k,b),w}function Ho(e,t){let{code:n,key:r,shiftKey:i}=t,a=n.startsWith(`Key`),o=!i&&n.startsWith(`Digit`);(a||o||r===`_`||r===`"`)&&e.execCommand(`autocomplete`)}var Uo=`headers`,Wo=Array.from({length:11},(e,t)=>String.fromCharCode(8192+t)).concat([`\u2028`,`\u2029`,` `,`\xA0`]),Go=RegExp(`[`+Wo.join(``)+`]`,`g`);function Ko(e){return e.replace(Go,` `)}function qo(){return Qt([V(()=>import(`./comment-ZVSXp2TA.js`).then(e=>t(e.default)),__vite__mapDeps([13,1,0])),V(()=>import(`./search-B5lzXui6.js`).then(e=>t(e.default)),__vite__mapDeps([14,1,10,0,8])),V(()=>import(`./hint-CHcbpenh.js`),__vite__mapDeps([15,1,2,0,16,17,18,19,20,21])),V(()=>import(`./lint-CKDO_dpM.js`),__vite__mapDeps([22,1,0,16,17,18,19,20,21])),V(()=>import(`./info-D6Y8aA2L.js`),__vite__mapDeps([23,1,24,17,18,19,20,21,25,26,0])),V(()=>import(`./jump-yDi_U14j.js`),__vite__mapDeps([27,1,24,17,18,19,20,21,25,0])),V(()=>import(`./mode-C3P1LYNJ.js`),__vite__mapDeps([28,1,29,0,16,17,18,19,20,21]))])}var Jo=$o;function Yo(e,t){e.state.lint.linterOptions.variableToType=t?.variableToType,e.options.lint.variableToType=t?.variableToType,e.options.hintOptions.variableToType=t?.variableToType}function Xo(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 Zo(e,t){e.state.lint.linterOptions.validationRules=t,e.options.lint.validationRules=t}function Qo(e,t){e.state.lint.linterOptions.externalFragments=t,e.options.lint.externalFragments=t,e.options.hintOptions.externalFragments=t}function $o(e,t){let n=(0,U.c)(40),r;n[0]===e?r=n[1]:(r=e===void 0?{}:e,n[0]=e,n[1]=r);let{editorTheme:i,keyMap:a,onClickReference:o,onCopyQuery:s,onEdit:c,onPrettifyQuery:l,readOnly:u}=r,d=i===void 0?Yt:i,f=a===void 0?Xt:a,p=u===void 0?!1:u,{schema:m,setSchemaReference:h}=sn(),g=t||Jo,_;n[2]===g?_=n[3]:(_={nonNull:!0,caller:g},n[2]=g,n[3]=_);let{externalFragments:v,initialQuery:y,queryEditor:b,setOperationName:x,setQueryEditor:S,validationRules:C,variableEditor:w,updateActiveTabValues:T}=Ls(_),E=Ws(),D=Gt(),O=rn(),k=t||Jo,A;n[4]!==s||n[5]!==k?(A={caller:k,onCopyQuery:s},n[4]=s,n[5]=k,n[6]=A):A=n[6];let j=Po(A),M=t||Jo,N;n[7]===M?N=n[8]:(N={caller:M},n[7]=M,n[8]=N);let P=Fo(N),F=t||Jo,I;n[9]!==l||n[10]!==F?(I={caller:F,onPrettifyQuery:l},n[9]=l,n[10]=F,n[11]=I):I=n[11];let L=Lo(I),ee=(0,H.useRef)(null),R=(0,H.useRef)(void 0),te=(0,H.useRef)(rs),z,ne;n[12]!==o||n[13]!==O||n[14]!==h?(z=()=>{te.current=e=>{let t=O?.referencePlugin;t&&(O.setVisiblePlugin(t),h(e),o?.(e))}},ne=[o,O,h],n[12]=o,n[13]=O,n[14]=h,n[15]=z,n[16]=ne):(z=n[15],ne=n[16]),(0,H.useEffect)(z,ne);let re,ie;n[17]!==d||n[18]!==y||n[19]!==p||n[20]!==S?(re=()=>{let e=!0;return qo().then(t=>{if(!e)return;R.current=t;let n=ee.current;if(!n)return;let r=t(n,{value:y,lineNumbers:!0,tabSize:2,foldGutter:!0,mode:`graphql`,theme:d,autoCloseBrackets:!0,matchBrackets:!0,showCursorWhenSelecting:!0,readOnly:p?`nocursor`:!1,lint:{schema:void 0,validationRules:null,externalFragments:void 0},hintOptions:{schema:void 0,closeOnUnfocus:!1,completeSingle:!1,container:n,externalFragments:void 0,autocompleteOptions:{mode:Pe.EXECUTABLE}},info:{schema:void 0,renderDescription:ns,onClick(e){te.current(e)}},jump:{schema:void 0,onClick(e){te.current(e)}},gutters:[`CodeMirror-linenumbers`,`CodeMirror-foldgutter`],extraKeys:{...Zt,"Cmd-S"(){},"Ctrl-S"(){}}}),i=function(){r.showHint({completeSingle:!0,container:n})};r.addKeyMap({"Cmd-Space":i,"Ctrl-Space":i,"Alt-Space":i,"Shift-Space":i,"Shift-Alt-Space":i}),r.on(`keyup`,ts);let a=!1;r.on(`startCompletion`,()=>{a=!0}),r.on(`endCompletion`,()=>{a=!1}),r.on(`keydown`,(e,t)=>{t.key===`Escape`&&a&&t.stopPropagation()}),r.on(`beforeChange`,es),r.documentAST=null,r.operationName=null,r.operations=null,r.variableToType=null,S(r)}),()=>{e=!1}},ie=[d,y,p,S],n[17]=d,n[18]=y,n[19]=p,n[20]=S,n[21]=re,n[22]=ie):(re=n[21],ie=n[22]),(0,H.useEffect)(re,ie),Eo(b,`keyMap`,f);let ae,oe;n[23]!==c||n[24]!==b||n[25]!==m||n[26]!==x||n[27]!==D||n[28]!==T||n[29]!==w?(ae=()=>{if(!b)return;let e=function(e){var t;let n=Ne(m,e.getValue()),r=Ct(e.operations??void 0,e.operationName??void 0,n?.operations);return e.documentAST=n?.documentAST??null,e.operationName=r??null,e.operations=n?.operations??null,w&&(Yo(w,n),(t=R.current)==null||t.signal(w,`change`,w)),n?{...n,operationName:r}:null},t=Co(100,t=>{let n=t.getValue();D.set(cs,n);let r=t.operationName,i=e(t);i?.operationName!==void 0&&D.set(ls,i.operationName),c?.(n,i?.documentAST),i?.operationName&&r!==i.operationName&&x(i.operationName),T({query:n,operationName:i?.operationName??null})});return e(b),b.on(`change`,t),()=>b.off(`change`,t)},oe=[c,b,m,x,D,w,T],n[23]=c,n[24]=b,n[25]=m,n[26]=x,n[27]=D,n[28]=T,n[29]=w,n[30]=ae,n[31]=oe):(ae=n[30],oe=n[31]),(0,H.useEffect)(ae,oe),is(b,m??null,R),as(b,C??null,R),os(b,v,R),Oo(b,o);let se=E?.run,ce;n[32]!==b||n[33]!==se||n[34]!==x?(ce=()=>{if(!se||!b||!b.operations||!b.hasFocus()){se?.();return}let e=b.indexFromPos(b.getCursor()),t;for(let n of b.operations)n.loc&&n.loc.start<=e&&n.loc.end>=e&&(t=n.name?.value);t&&t!==b.operationName&&x(t),se()},n[32]=b,n[33]=se,n[34]=x,n[35]=ce):ce=n[35];let le=ce,ue;n[36]===Symbol.for(`react.memo_cache_sentinel`)?(ue=[`Cmd-Enter`,`Ctrl-Enter`],n[36]=ue):ue=n[36],ko(b,ue,le);let de;n[37]===Symbol.for(`react.memo_cache_sentinel`)?(de=[`Shift-Ctrl-C`],n[37]=de):de=n[37],ko(b,de,j);let fe;n[38]===Symbol.for(`react.memo_cache_sentinel`)?(fe=[`Shift-Ctrl-P`,`Shift-Ctrl-F`],n[38]=fe):fe=n[38],ko(b,fe,L);let B;return n[39]===Symbol.for(`react.memo_cache_sentinel`)?(B=[`Shift-Ctrl-M`],n[39]=B):B=n[39],ko(b,B,P),ee}function es(e,t){var n;if(t.origin===`paste`){let e=t.text.map(Ko);(n=t.update)==null||n.call(t,t.from,t.to,e)}}function ts(e,t){ss.test(t.key)&&e.execCommand(`autocomplete`)}function ns(e){return xo.render(e)}function rs(){}function is(e,t,n){let r=(0,U.c)(5),i,a;r[0]!==n||r[1]!==e||r[2]!==t?(i=()=>{if(!e)return;let r=e.options.lint.schema!==t;Xo(e,t),r&&n.current&&n.current.signal(e,`change`,e)},a=[e,t,n],r[0]=n,r[1]=e,r[2]=t,r[3]=i,r[4]=a):(i=r[3],a=r[4]),(0,H.useEffect)(i,a)}function as(e,t,n){let r=(0,U.c)(5),i,a;r[0]!==n||r[1]!==e||r[2]!==t?(i=()=>{if(!e)return;let r=e.options.lint.validationRules!==t;Zo(e,t),r&&n.current&&n.current.signal(e,`change`,e)},a=[e,t,n],r[0]=n,r[1]=e,r[2]=t,r[3]=i,r[4]=a):(i=r[3],a=r[4]),(0,H.useEffect)(i,a)}function os(e,t,n){let r=(0,U.c)(7),i;r[0]===t?i=r[1]:(i=[...t.values()],r[0]=t,r[1]=i);let a=i,o,s;r[2]!==n||r[3]!==e||r[4]!==a?(o=()=>{if(!e)return;let t=e.options.lint.externalFragments!==a;Qo(e,a),t&&n.current&&n.current.signal(e,`change`,e)},s=[e,a,n],r[2]=n,r[3]=e,r[4]=a,r[5]=o,r[6]=s):(o=r[5],s=r[6]),(0,H.useEffect)(o,s)}var ss=/^[a-zA-Z0-9_@(]$/,cs=`query`,ls=`operationName`;function us({defaultQuery:e,defaultHeaders:t,headers:n,defaultTabs:r,query:i,variables:a,shouldPersistHeaders:o}){let{storage:s}=Ht.getState(),c=s.get(Ds);try{if(!c)throw Error(`Storage for tabs is empty`);let e=JSON.parse(c),t=o?n:void 0;if(ds(e)){let r=Cs({query:i,variables:a,headers:t}),o=-1;for(let t=0;t<e.tabs.length;t++){let n=e.tabs[t];n.hash=Cs({query:n.query,variables:n.variables,headers:n.headers}),n.hash===r&&(o=t)}if(o>=0)e.activeTabIndex=o;else{let t=i?ws(i):null;e.tabs.push({id:Ss(),hash:r,title:t||Es,query:i,variables:a,headers:n,operationName:t,response:null}),e.activeTabIndex=e.tabs.length-1}return e}throw Error(`Storage for tabs is invalid`)}catch{return{activeTabIndex:0,tabs:(r||[{query:i??e,variables:a,headers:n??t}]).map(bs)}}}function ds(e){return e&&typeof e==`object`&&!Array.isArray(e)&&ps(e,`activeTabIndex`)&&`tabs`in e&&Array.isArray(e.tabs)&&e.tabs.every(fs)}function fs(e){return e&&typeof e==`object`&&!Array.isArray(e)&&ms(e,`id`)&&ms(e,`title`)&&hs(e,`query`)&&hs(e,`variables`)&&hs(e,`headers`)&&hs(e,`operationName`)&&hs(e,`response`)}function ps(e,t){return t in e&&typeof e[t]==`number`}function ms(e,t){return t in e&&typeof e[t]==`string`}function hs(e,t){return t in e&&(typeof e[t]==`string`||e[t]===null)}function gs({queryEditor:e,variableEditor:t,headerEditor:n,responseEditor:r}){return(0,H.useCallback)(i=>{let a=e?.getValue()??null,o=t?.getValue()??null,s=n?.getValue()??null,c=e?.operationName??null;return xs(i,{query:a,variables:o,headers:s,response:r?.getValue()??null,operationName:c})},[e,t,n,r])}function _s(e,t=!1){return JSON.stringify(e,(e,n)=>e===`hash`||e===`response`||!t&&e===`headers`?null:n)}function vs({shouldPersistHeaders:e}){return(0,H.useCallback)(t=>{let{storage:n}=Ht.getState();Co(500,e=>{n.set(Ds,e)})(_s(t,e))},[e])}function ys({queryEditor:e,variableEditor:t,headerEditor:n,responseEditor:r,defaultHeaders:i}){return(0,H.useCallback)(({query:a,variables:o,headers:s,response:c})=>{e?.setValue(a??``),t?.setValue(o??``),n?.setValue(s??i??``),r?.setValue(c??``)},[n,e,r,t,i])}function bs({query:e=null,variables:t=null,headers:n=null}={}){let r=e?ws(e):null;return{id:Ss(),hash:Cs({query:e,variables:t,headers:n}),title:r||Es,query:e,variables:t,headers:n,operationName:r,response:null}}function xs(e,t){return{...e,tabs:e.tabs.map((n,r)=>{if(r!==e.activeTabIndex)return n;let i={...n,...t};return{...i,hash:Cs(i),title:i.operationName||(i.query?ws(i.query):void 0)||Es}})}}function Ss(){let e=()=>Math.floor((1+Math.random())*65536).toString(16).slice(1);return`${e()}${e()}-${e()}-${e()}-${e()}-${e()}${e()}${e()}`}function Cs(e){return[e.query??``,e.variables??``,e.headers??``].join(`|`)}function ws(e){return/^(?!#).*(query|subscription|mutation)\s+([a-zA-Z0-9_]+)/m.exec(e)?.[2]??null}function Ts(){let{storage:e}=Ht.getState(),t=e.get(Ds);if(t){let n=JSON.parse(t);e.set(Ds,JSON.stringify(n,(e,t)=>e===`headers`?null:t))}}var Es=`<untitled>`,Ds=`tabState`;function Os(){return Qt([V(()=>import(`./hint-EJkLz-p6.js`),__vite__mapDeps([30,1,17,18,19,20,21,25,0])),V(()=>import(`./lint-D1zgMa6Q.js`),__vite__mapDeps([31,1,0,20])),V(()=>import(`./mode-BJXS_mGi.js`),__vite__mapDeps([32,1,29,0,16,17,18,19,20,21]))])}var ks=As;function As(e,t){let n=(0,U.c)(17),r;n[0]===e?r=n[1]:(r=e===void 0?{}:e,n[0]=e,n[1]=r);let{editorTheme:i,keyMap:a,onClickReference:o,onEdit:s,readOnly:c}=r,l=i===void 0?Yt:i,u=a===void 0?Xt:a,d=c===void 0?!1:c,f=t||ks,p;n[2]===f?p=n[3]:(p={nonNull:!0,caller:f},n[2]=f,n[3]=p);let{initialVariables:m,variableEditor:h,setVariableEditor:g}=Ls(p),_=Ws(),v=t||ks,y;n[4]===v?y=n[5]:(y={caller:v},n[4]=v,n[5]=y);let b=Fo(y),x=t||ks,S;n[6]===x?S=n[7]:(S={caller:x},n[6]=x,n[7]=S);let C=Lo(S),w=(0,H.useRef)(null),T,E;n[8]!==l||n[9]!==m||n[10]!==d||n[11]!==g?(T=()=>{let e=!0;return Os().then(t=>{if(!e)return;let n=w.current;if(!n)return;let r=t(n,{value:m,lineNumbers:!0,tabSize:2,mode:`graphql-variables`,theme:l,autoCloseBrackets:!0,matchBrackets:!0,showCursorWhenSelecting:!0,readOnly:d?`nocursor`:!1,foldGutter:!0,lint:{variableToType:void 0},hintOptions:{closeOnUnfocus:!1,completeSingle:!1,container:n,variableToType:void 0},gutters:[`CodeMirror-linenumbers`,`CodeMirror-foldgutter`],extraKeys:Zt});r.addKeyMap({"Cmd-Space"(){r.showHint({completeSingle:!1,container:n})},"Ctrl-Space"(){r.showHint({completeSingle:!1,container:n})},"Alt-Space"(){r.showHint({completeSingle:!1,container:n})},"Shift-Space"(){r.showHint({completeSingle:!1,container:n})}}),r.on(`keyup`,js),g(r)}),()=>{e=!1}},E=[l,m,d,g],n[8]=l,n[9]=m,n[10]=d,n[11]=g,n[12]=T,n[13]=E):(T=n[12],E=n[13]),(0,H.useEffect)(T,E),Eo(h,`keyMap`,u),Do(h,s,Ms,`variables`,ks),Oo(h,o);let D;n[14]===Symbol.for(`react.memo_cache_sentinel`)?(D=[`Cmd-Enter`,`Ctrl-Enter`],n[14]=D):D=n[14],ko(h,D,_?.run);let O;n[15]===Symbol.for(`react.memo_cache_sentinel`)?(O=[`Shift-Ctrl-P`],n[15]=O):O=n[15],ko(h,O,C);let k;return n[16]===Symbol.for(`react.memo_cache_sentinel`)?(k=[`Shift-Ctrl-M`],n[16]=k):k=n[16],ko(h,k,b),w}function js(e,t){let{code:n,key:r,shiftKey:i}=t,a=n.startsWith(`Key`),o=!i&&n.startsWith(`Digit`);(a||o||r===`_`||r===`"`)&&e.execCommand(`autocomplete`)}var Ms=`variables`,Ns=`# Welcome to GraphiQL
|
|
17
|
+
`,a.map=[t,e.line],!0}function xi(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||i+3>a)return!1;let o=e.src.charCodeAt(i);if(o!==126&&o!==96)return!1;let s=i;i=e.skipChars(i,o);let c=i-s;if(c<3)return!1;let l=e.src.slice(s,i),u=e.src.slice(i,a);if(o===96&&u.indexOf(String.fromCharCode(o))>=0)return!1;if(r)return!0;let d=t,f=!1;for(;d++,!(d>=n||(i=s=e.bMarks[d]+e.tShift[d],a=e.eMarks[d],i<a&&e.sCount[d]<e.blkIndent));)if(e.src.charCodeAt(i)===o&&!(e.sCount[d]-e.blkIndent>=4)&&(i=e.skipChars(i,o),!(i-s<c)&&(i=e.skipSpaces(i),!(i<a)))){f=!0;break}c=e.sCount[t],e.line=d+(f?1:0);let p=e.push(`fence`,`code`,0);return p.info=u,p.content=e.getLines(t+1,d,c,!0),p.markup=l,p.map=[t,e.line],!0}function Si(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t],o=e.lineMax;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(i)!==62)return!1;if(r)return!0;let s=[],c=[],l=[],u=[],d=e.md.block.ruler.getRules(`blockquote`),f=e.parentType;e.parentType=`blockquote`;let p=!1,m;for(m=t;m<n;m++){let t=e.sCount[m]<e.blkIndent;if(i=e.bMarks[m]+e.tShift[m],a=e.eMarks[m],i>=a)break;if(e.src.charCodeAt(i++)===62&&!t){let t=e.sCount[m]+1,n,r;e.src.charCodeAt(i)===32?(i++,t++,r=!1,n=!0):e.src.charCodeAt(i)===9?(n=!0,(e.bsCount[m]+t)%4==3?(i++,t++,r=!1):r=!0):n=!1;let o=t;for(s.push(e.bMarks[m]),e.bMarks[m]=i;i<a;){let t=e.src.charCodeAt(i);if(W(t))t===9?o+=4-(o+e.bsCount[m]+(r?1:0))%4:o++;else break;i++}p=i>=a,c.push(e.bsCount[m]),e.bsCount[m]=e.sCount[m]+1+(n?1:0),l.push(e.sCount[m]),e.sCount[m]=o-t,u.push(e.tShift[m]),e.tShift[m]=i-e.bMarks[m];continue}if(p)break;let r=!1;for(let t=0,i=d.length;t<i;t++)if(d[t](e,m,n,!0)){r=!0;break}if(r){e.lineMax=m,e.blkIndent!==0&&(s.push(e.bMarks[m]),c.push(e.bsCount[m]),u.push(e.tShift[m]),l.push(e.sCount[m]),e.sCount[m]-=e.blkIndent);break}s.push(e.bMarks[m]),c.push(e.bsCount[m]),u.push(e.tShift[m]),l.push(e.sCount[m]),e.sCount[m]=-1}let h=e.blkIndent;e.blkIndent=0;let g=e.push(`blockquote_open`,`blockquote`,1);g.markup=`>`;let _=[t,0];g.map=_,e.md.block.tokenize(e,t,m);let v=e.push(`blockquote_close`,`blockquote`,-1);v.markup=`>`,e.lineMax=o,e.parentType=f,_[1]=e.line;for(let n=0;n<u.length;n++)e.bMarks[n+t]=s[n],e.tShift[n+t]=u[n],e.sCount[n+t]=l[n],e.bsCount[n+t]=c[n];return e.blkIndent=h,!0}function Ci(e,t,n,r){let i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let a=e.bMarks[t]+e.tShift[t],o=e.src.charCodeAt(a++);if(o!==42&&o!==45&&o!==95)return!1;let s=1;for(;a<i;){let t=e.src.charCodeAt(a++);if(t!==o&&!W(t))return!1;t===o&&s++}if(s<3)return!1;if(r)return!0;e.line=t+1;let c=e.push(`hr`,`hr`,0);return c.map=[t,e.line],c.markup=Array(s+1).join(String.fromCharCode(o)),!0}function wi(e,t){let n=e.eMarks[t],r=e.bMarks[t]+e.tShift[t],i=e.src.charCodeAt(r++);return i!==42&&i!==45&&i!==43||r<n&&!W(e.src.charCodeAt(r))?-1:r}function Ti(e,t){let n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t],i=n;if(i+1>=r)return-1;let a=e.src.charCodeAt(i++);if(a<48||a>57)return-1;for(;;){if(i>=r)return-1;if(a=e.src.charCodeAt(i++),a>=48&&a<=57){if(i-n>=10)return-1;continue}if(a===41||a===46)break;return-1}return i<r&&(a=e.src.charCodeAt(i),!W(a))?-1:i}function Ei(e,t){let n=e.level+2;for(let r=t+2,i=e.tokens.length-2;r<i;r++)e.tokens[r].level===n&&e.tokens[r].type===`paragraph_open`&&(e.tokens[r+2].hidden=!0,e.tokens[r].hidden=!0,r+=2)}function Di(e,t,n,r){let i,a,o,s,c=t,l=!0;if(e.sCount[c]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[c]-e.listIndent>=4&&e.sCount[c]<e.blkIndent)return!1;let u=!1;r&&e.parentType===`paragraph`&&e.sCount[c]>=e.blkIndent&&(u=!0);let d,f,p;if((p=Ti(e,c))>=0){if(d=!0,o=e.bMarks[c]+e.tShift[c],f=Number(e.src.slice(o,p-1)),u&&f!==1)return!1}else if((p=wi(e,c))>=0)d=!1;else return!1;if(u&&e.skipSpaces(p)>=e.eMarks[c])return!1;if(r)return!0;let m=e.src.charCodeAt(p-1),h=e.tokens.length;d?(s=e.push(`ordered_list_open`,`ol`,1),f!==1&&(s.attrs=[[`start`,f]])):s=e.push(`bullet_list_open`,`ul`,1);let g=[c,0];s.map=g,s.markup=String.fromCharCode(m);let _=!1,v=e.md.block.ruler.getRules(`list`),y=e.parentType;for(e.parentType=`list`;c<n;){a=p,i=e.eMarks[c];let t=e.sCount[c]+p-(e.bMarks[c]+e.tShift[c]),r=t;for(;a<i;){let t=e.src.charCodeAt(a);if(t===9)r+=4-(r+e.bsCount[c])%4;else if(t===32)r++;else break;a++}let u=a,f;f=u>=i?1:r-t,f>4&&(f=1);let h=t+f;s=e.push(`list_item_open`,`li`,1),s.markup=String.fromCharCode(m);let g=[c,0];s.map=g,d&&(s.info=e.src.slice(o,p-1));let y=e.tight,b=e.tShift[c],x=e.sCount[c],S=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=h,e.tight=!0,e.tShift[c]=u-e.bMarks[c],e.sCount[c]=r,u>=i&&e.isEmpty(c+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,c,n,!0),(!e.tight||_)&&(l=!1),_=e.line-c>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=S,e.tShift[c]=b,e.sCount[c]=x,e.tight=y,s=e.push(`list_item_close`,`li`,-1),s.markup=String.fromCharCode(m),c=e.line,g[1]=c,c>=n||e.sCount[c]<e.blkIndent||e.sCount[c]-e.blkIndent>=4)break;let C=!1;for(let t=0,r=v.length;t<r;t++)if(v[t](e,c,n,!0)){C=!0;break}if(C)break;if(d){if(p=Ti(e,c),p<0)break;o=e.bMarks[c]+e.tShift[c]}else if(p=wi(e,c),p<0)break;if(m!==e.src.charCodeAt(p-1))break}return s=d?e.push(`ordered_list_close`,`ol`,-1):e.push(`bullet_list_close`,`ul`,-1),s.markup=String.fromCharCode(m),g[1]=c,e.line=c,e.parentType=y,l&&Ei(e,h),!0}function Oi(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t],o=t+1;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(i)!==91)return!1;function s(t){let n=e.lineMax;if(t>=n||e.isEmpty(t))return null;let r=!1;if(e.sCount[t]-e.blkIndent>3&&(r=!0),e.sCount[t]<0&&(r=!0),!r){let r=e.md.block.ruler.getRules(`reference`),i=e.parentType;e.parentType=`reference`;let a=!1;for(let i=0,o=r.length;i<o;i++)if(r[i](e,t,n,!0)){a=!0;break}if(e.parentType=i,a)return null}let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];return e.src.slice(i,a+1)}let c=e.src.slice(i,a+1);a=c.length;let l=-1;for(i=1;i<a;i++){let e=c.charCodeAt(i);if(e===91)return!1;if(e===93){l=i;break}else if(e===10){let e=s(o);e!==null&&(c+=e,a=c.length,o++)}else if(e===92&&(i++,i<a&&c.charCodeAt(i)===10)){let e=s(o);e!==null&&(c+=e,a=c.length,o++)}}if(l<0||c.charCodeAt(l+1)!==58)return!1;for(i=l+2;i<a;i++){let e=c.charCodeAt(i);if(e===10){let e=s(o);e!==null&&(c+=e,a=c.length,o++)}else if(!W(e))break}let u=e.md.helpers.parseLinkDestination(c,i,a);if(!u.ok)return!1;let d=e.md.normalizeLink(u.str);if(!e.md.validateLink(d))return!1;i=u.pos;let f=i,p=o,m=i;for(;i<a;i++){let e=c.charCodeAt(i);if(e===10){let e=s(o);e!==null&&(c+=e,a=c.length,o++)}else if(!W(e))break}let h=e.md.helpers.parseLinkTitle(c,i,a);for(;h.can_continue;){let t=s(o);if(t===null)break;c+=t,i=a,a=c.length,o++,h=e.md.helpers.parseLinkTitle(c,i,a,h)}let g;for(i<a&&m!==i&&h.ok?(g=h.str,i=h.pos):(g=``,i=f,o=p);i<a&&W(c.charCodeAt(i));)i++;if(i<a&&c.charCodeAt(i)!==10&&g)for(g=``,i=f,o=p;i<a&&W(c.charCodeAt(i));)i++;if(i<a&&c.charCodeAt(i)!==10)return!1;let _=Ar(c.slice(1,l));return _?r?!0:(e.env.references===void 0&&(e.env.references={}),e.env.references[_]===void 0&&(e.env.references[_]={title:g,href:d}),e.line=o,!0):!1}var ki=`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`.split(`.`),Ai=`<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^"'=<>\`\\x00-\\x20]+|'[^']*'|"[^"]*"))?)*\\s*\\/?>`,ji=RegExp(`^(?:`+Ai+`|<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>|<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->|<[?][\\s\\S]*?[?]>|<![A-Za-z][^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)`),Mi=RegExp(`^(?:`+Ai+`|<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>)`),Ni=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[RegExp(`^</?(`+ki.join(`|`)+`)(?=(\\s|/?>|$))`,`i`),/^$/,!0],[RegExp(Mi.source+`\\s*$`),/^$/,!1]];function Pi(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(i)!==60)return!1;let o=e.src.slice(i,a),s=0;for(;s<Ni.length&&!Ni[s][0].test(o);s++);if(s===Ni.length)return!1;if(r)return Ni[s][2];let c=t+1,l=Ni[s][1].test(``);if(!Ni[s][1].test(o)){for(;c<n&&!(e.sCount[c]<e.blkIndent&&(l||!e.isEmpty(c)));c++)if(i=e.bMarks[c]+e.tShift[c],a=e.eMarks[c],o=e.src.slice(i,a),Ni[s][1].test(o)){o.length!==0&&c++;break}}e.line=c;let u=e.push(`html_block`,``,0);return u.map=[t,c],u.content=e.getLines(t,c,e.blkIndent,!0),!0}function Fi(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let o=e.src.charCodeAt(i);if(o!==35||i>=a)return!1;let s=1;for(o=e.src.charCodeAt(++i);o===35&&i<a&&s<=6;)s++,o=e.src.charCodeAt(++i);if(s>6||i<a&&!W(o))return!1;if(r)return!0;a=e.skipSpacesBack(a,i);let c=e.skipCharsBack(a,35,i);c>i&&W(e.src.charCodeAt(c-1))&&(a=c),e.line=t+1;let l=e.push(`heading_open`,`h`+String(s),1);l.markup=`########`.slice(0,s),l.map=[t,e.line];let u=e.push(`inline`,``,0);u.content=Mr(e.src.slice(i,a)),u.map=[t,e.line],u.children=[];let d=e.push(`heading_close`,`h`+String(s),-1);return d.markup=`########`.slice(0,s),!0}function Ii(e,t,n){let r=e.md.block.ruler.getRules(`paragraph`);if(e.sCount[t]-e.blkIndent>=4)return!1;let i=e.parentType;e.parentType=`paragraph`;let a=0,o,s=t+1;for(;s<n&&!e.isEmpty(s);s++){if(e.sCount[s]-e.blkIndent>3)continue;if(e.sCount[s]>=e.blkIndent){let t=e.bMarks[s]+e.tShift[s],n=e.eMarks[s];if(t<n&&(o=e.src.charCodeAt(t),(o===45||o===61)&&(t=e.skipChars(t,o),t=e.skipSpaces(t),t>=n))){a=o===61?1:2;break}}if(e.sCount[s]<0)continue;let t=!1;for(let i=0,a=r.length;i<a;i++)if(r[i](e,s,n,!0)){t=!0;break}if(t)break}if(!a)return e.parentType=i,!1;let c=Mr(e.getLines(t,s,e.blkIndent,!1));e.line=s+1;let l=e.push(`heading_open`,`h`+String(a),1);l.markup=String.fromCharCode(o),l.map=[t,e.line];let u=e.push(`inline`,``,0);u.content=c,u.map=[t,e.line-1],u.children=[];let d=e.push(`heading_close`,`h`+String(a),-1);return d.markup=String.fromCharCode(o),e.parentType=i,!0}function Li(e,t,n){let r=e.md.block.ruler.getRules(`paragraph`),i=e.parentType,a=t+1;for(e.parentType=`paragraph`;a<n&&!e.isEmpty(a);a++){if(e.sCount[a]-e.blkIndent>3||e.sCount[a]<0)continue;let t=!1;for(let i=0,o=r.length;i<o;i++)if(r[i](e,a,n,!0)){t=!0;break}if(t)break}let o=Mr(e.getLines(t,a,e.blkIndent,!1));e.line=a;let s=e.push(`paragraph_open`,`p`,1);s.map=[t,e.line];let c=e.push(`inline`,``,0);return c.content=o,c.map=[t,e.line],c.children=[],e.push(`paragraph_close`,`p`,-1),e.parentType=i,!0}var Ri=[[`table`,yi,[`paragraph`,`reference`]],[`code`,bi],[`fence`,xi,[`paragraph`,`reference`,`blockquote`,`list`]],[`blockquote`,Si,[`paragraph`,`reference`,`blockquote`,`list`]],[`hr`,Ci,[`paragraph`,`reference`,`blockquote`,`list`]],[`list`,Di,[`paragraph`,`reference`,`blockquote`]],[`reference`,Oi],[`html_block`,Pi,[`paragraph`,`reference`,`blockquote`]],[`heading`,Fi,[`paragraph`,`reference`,`blockquote`]],[`lheading`,Ii],[`paragraph`,Li]];function zi(){this.ruler=new Br;for(let e=0;e<Ri.length;e++)this.ruler.push(Ri[e][0],Ri[e][1],{alt:(Ri[e][2]||[]).slice()})}zi.prototype.tokenize=function(e,t,n){let r=this.ruler.getRules(``),i=r.length,a=e.md.options.maxNesting,o=t,s=!1;for(;o<n&&(e.line=o=e.skipEmptyLines(o),!(o>=n||e.sCount[o]<e.blkIndent));){if(e.level>=a){e.line=n;break}let t=e.line,c=!1;for(let a=0;a<i;a++)if(c=r[a](e,o,n,!1),c){if(t>=e.line)throw Error(`block rule didn't increment state.line`);break}if(!c)throw Error(`none of the block rules matched`);e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),o=e.line,o<n&&e.isEmpty(o)&&(s=!0,o++,e.line=o)}},zi.prototype.parse=function(e,t,n,r){if(!e)return;let i=new this.State(e,t,n,r);this.tokenize(i,i.line,i.lineMax)},zi.prototype.State=hi;function Bi(e,t,n,r){this.src=e,this.env=n,this.md=t,this.tokens=r,this.tokens_meta=Array(r.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending=``,this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}Bi.prototype.pushPending=function(){let e=new Vr(`text`,``,0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending=``,e},Bi.prototype.push=function(e,t,n){this.pending&&this.pushPending();let r=new Vr(e,t,n),i=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),r.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],i={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(i),r},Bi.prototype.scanDelims=function(e,t){let n=this.posMax,r=this.src.charCodeAt(e),i;if(e===0)i=32;else if(e===1)i=this.src.charCodeAt(0),(i&63488)==55296&&(i=65533);else if(i=this.src.charCodeAt(e-1),(i&64512)==56320){let t=this.src.charCodeAt(e-2);i=(t&64512)==55296?65536+(t-55296<<10)+(i-56320):65533}else (i&64512)==55296&&(i=65533);let a=e;for(;a<n&&this.src.charCodeAt(a)===r;)a++;let o=a-e,s=a<n?this.src.charCodeAt(a):32;if((s&64512)==55296){let e=this.src.charCodeAt(a+1);s=(e&64512)==56320?65536+(s-55296<<10)+(e-56320):65533}else (s&64512)==56320&&(s=65533);let c=kr(i)||Or(i),l=kr(s)||Or(s),u=Er(i),d=Er(s),f=!d&&(!l||u||c),p=!u&&(!c||d||l);return{can_open:f&&(t||!p||c),can_close:p&&(t||!f||l),length:o}},Bi.prototype.Token=Vr;function Vi(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 Hi(e,t){let n=e.pos;for(;n<e.posMax&&!Vi(e.src.charCodeAt(n));)n++;return n===e.pos?!1:(t||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}var Ui=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;function Wi(e,t){if(!e.md.options.linkify||e.linkLevel>0)return!1;let n=e.pos,r=e.posMax;if(n+3>r||e.src.charCodeAt(n)!==58||e.src.charCodeAt(n+1)!==47||e.src.charCodeAt(n+2)!==47)return!1;let i=e.pending.match(Ui);if(!i)return!1;let a=i[1],o=e.md.linkify.matchAtStart(e.src.slice(n-a.length));if(!o)return!1;let s=o.url;if(s.length<=a.length)return!1;let c=s.length;for(;c>0&&s.charCodeAt(c-1)===42;)c--;c!==s.length&&(s=s.slice(0,c));let l=e.md.normalizeLink(s);if(!e.md.validateLink(l))return!1;if(!t){e.pending=e.pending.slice(0,-a.length);let t=e.push(`link_open`,`a`,1);t.attrs=[[`href`,l]],t.markup=`linkify`,t.info=`auto`;let n=e.push(`text`,``,0);n.content=e.md.normalizeLinkText(s);let r=e.push(`link_close`,`a`,-1);r.markup=`linkify`,r.info=`auto`}return e.pos+=s.length-a.length,!0}function Gi(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==10)return!1;let r=e.pending.length-1,i=e.posMax;if(!t)if(r>=0&&e.pending.charCodeAt(r)===32)if(r>=1&&e.pending.charCodeAt(r-1)===32){let t=r-1;for(;t>=1&&e.pending.charCodeAt(t-1)===32;)t--;e.pending=e.pending.slice(0,t),e.push(`hardbreak`,`br`,0)}else e.pending=e.pending.slice(0,-1),e.push(`softbreak`,`br`,0);else e.push(`softbreak`,`br`,0);for(n++;n<i&&W(e.src.charCodeAt(n));)n++;return e.pos=n,!0}var Ki=[];for(let e=0;e<256;e++)Ki.push(0);`\\!"#$%&'()*+,./:;<=>?@[]^_\`{|}~-`.split(``).forEach(function(e){Ki[e.charCodeAt(0)]=1});function qi(e,t){let n=e.pos,r=e.posMax;if(e.src.charCodeAt(n)!==92||(n++,n>=r))return!1;let i=e.src.charCodeAt(n);if(i===10){for(t||e.push(`hardbreak`,`br`,0),n++;n<r&&(i=e.src.charCodeAt(n),W(i));)n++;return e.pos=n,!0}let a=e.src[n];if(i>=55296&&i<=56319&&n+1<r){let t=e.src.charCodeAt(n+1);t>=56320&&t<=57343&&(a+=e.src[n+1],n++)}let o=`\\`+a;if(!t){let t=e.push(`text_special`,``,0);i<256&&Ki[i]!==0?t.content=a:t.content=o,t.markup=o,t.info=`escape`}return e.pos=n+1,!0}function Ji(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==96)return!1;let r=n;n++;let i=e.posMax;for(;n<i&&e.src.charCodeAt(n)===96;)n++;let a=e.src.slice(r,n),o=a.length;if(e.backticksScanned&&(e.backticks[o]||0)<=r)return t||(e.pending+=a),e.pos+=o,!0;let s=n,c;for(;(c=e.src.indexOf("`",s))!==-1;){for(s=c+1;s<i&&e.src.charCodeAt(s)===96;)s++;let r=s-c;if(r===o){if(!t){let t=e.push(`code_inline`,`code`,0);t.markup=a,t.content=e.src.slice(n,c).replace(/\n/g,` `).replace(/^ (.+) $/,`$1`)}return e.pos=s,!0}e.backticks[r]=c}return e.backticksScanned=!0,t||(e.pending+=a),e.pos+=o,!0}function Yi(e,t){let n=e.pos,r=e.src.charCodeAt(n);if(t||r!==126)return!1;let i=e.scanDelims(e.pos,!0),a=i.length,o=String.fromCharCode(r);if(a<2)return!1;let s;a%2&&(s=e.push(`text`,``,0),s.content=o,a--);for(let t=0;t<a;t+=2)s=e.push(`text`,``,0),s.content=o+o,e.delimiters.push({marker:r,length:0,token:e.tokens.length-1,end:-1,open:i.can_open,close:i.can_close});return e.pos+=i.length,!0}function Xi(e,t){let n,r=[],i=t.length;for(let a=0;a<i;a++){let i=t[a];if(i.marker!==126||i.end===-1)continue;let o=t[i.end];n=e.tokens[i.token],n.type=`s_open`,n.tag=`s`,n.nesting=1,n.markup=`~~`,n.content=``,n=e.tokens[o.token],n.type=`s_close`,n.tag=`s`,n.nesting=-1,n.markup=`~~`,n.content=``,e.tokens[o.token-1].type===`text`&&e.tokens[o.token-1].content===`~`&&r.push(o.token-1)}for(;r.length;){let t=r.pop(),i=t+1;for(;i<e.tokens.length&&e.tokens[i].type===`s_close`;)i++;i--,t!==i&&(n=e.tokens[i],e.tokens[i]=e.tokens[t],e.tokens[t]=n)}}function Zi(e){let t=e.tokens_meta,n=e.tokens_meta.length;Xi(e,e.delimiters);for(let r=0;r<n;r++)t[r]&&t[r].delimiters&&Xi(e,t[r].delimiters)}var Qi={tokenize:Yi,postProcess:Zi};function $i(e,t){let n=e.pos,r=e.src.charCodeAt(n);if(t||r!==95&&r!==42)return!1;let i=e.scanDelims(e.pos,r===42);for(let t=0;t<i.length;t++){let t=e.push(`text`,``,0);t.content=String.fromCharCode(r),e.delimiters.push({marker:r,length:i.length,token:e.tokens.length-1,end:-1,open:i.can_open,close:i.can_close})}return e.pos+=i.length,!0}function ea(e,t){let n=t.length;for(let r=n-1;r>=0;r--){let n=t[r];if(n.marker!==95&&n.marker!==42||n.end===-1)continue;let i=t[n.end],a=r>0&&t[r-1].end===n.end+1&&t[r-1].marker===n.marker&&t[r-1].token===n.token-1&&t[n.end+1].token===i.token+1,o=String.fromCharCode(n.marker),s=e.tokens[n.token];s.type=a?`strong_open`:`em_open`,s.tag=a?`strong`:`em`,s.nesting=1,s.markup=a?o+o:o,s.content=``;let c=e.tokens[i.token];c.type=a?`strong_close`:`em_close`,c.tag=a?`strong`:`em`,c.nesting=-1,c.markup=a?o+o:o,c.content=``,a&&(e.tokens[t[r-1].token].content=``,e.tokens[t[n.end+1].token].content=``,r--)}}function ta(e){let t=e.tokens_meta,n=e.tokens_meta.length;ea(e,e.delimiters);for(let r=0;r<n;r++)t[r]&&t[r].delimiters&&ea(e,t[r].delimiters)}var na={tokenize:$i,postProcess:ta};function ra(e,t){let n,r,i,a,o=``,s=``,c=e.pos,l=!0;if(e.src.charCodeAt(e.pos)!==91)return!1;let u=e.pos,d=e.posMax,f=e.pos+1,p=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(p<0)return!1;let m=p+1;if(m<d&&e.src.charCodeAt(m)===40){for(l=!1,m++;m<d&&(n=e.src.charCodeAt(m),!(!W(n)&&n!==10));m++);if(m>=d)return!1;if(c=m,i=e.md.helpers.parseLinkDestination(e.src,m,e.posMax),i.ok){for(o=e.md.normalizeLink(i.str),e.md.validateLink(o)?m=i.pos:o=``,c=m;m<d&&(n=e.src.charCodeAt(m),!(!W(n)&&n!==10));m++);if(i=e.md.helpers.parseLinkTitle(e.src,m,e.posMax),m<d&&c!==m&&i.ok)for(s=i.str,m=i.pos;m<d&&(n=e.src.charCodeAt(m),!(!W(n)&&n!==10));m++);}(m>=d||e.src.charCodeAt(m)!==41)&&(l=!0),m++}if(l){if(e.env.references===void 0)return!1;if(m<d&&e.src.charCodeAt(m)===91?(c=m+1,m=e.md.helpers.parseLinkLabel(e,m),m>=0?r=e.src.slice(c,m++):m=p+1):m=p+1,r||=e.src.slice(f,p),a=e.env.references[Ar(r)],!a)return e.pos=u,!1;o=a.href,s=a.title}if(!t){e.pos=f,e.posMax=p;let t=e.push(`link_open`,`a`,1),n=[[`href`,o]];t.attrs=n,s&&n.push([`title`,s]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push(`link_close`,`a`,-1)}return e.pos=m,e.posMax=d,!0}function ia(e,t){let n,r,i,a,o,s,c,l,u=``,d=e.pos,f=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91)return!1;let p=e.pos+2,m=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(m<0)return!1;if(a=m+1,a<f&&e.src.charCodeAt(a)===40){for(a++;a<f&&(n=e.src.charCodeAt(a),!(!W(n)&&n!==10));a++);if(a>=f)return!1;for(l=a,s=e.md.helpers.parseLinkDestination(e.src,a,e.posMax),s.ok&&(u=e.md.normalizeLink(s.str),e.md.validateLink(u)?a=s.pos:u=``),l=a;a<f&&(n=e.src.charCodeAt(a),!(!W(n)&&n!==10));a++);if(s=e.md.helpers.parseLinkTitle(e.src,a,e.posMax),a<f&&l!==a&&s.ok)for(c=s.str,a=s.pos;a<f&&(n=e.src.charCodeAt(a),!(!W(n)&&n!==10));a++);else c=``;if(a>=f||e.src.charCodeAt(a)!==41)return e.pos=d,!1;a++}else{if(e.env.references===void 0)return!1;if(a<f&&e.src.charCodeAt(a)===91?(l=a+1,a=e.md.helpers.parseLinkLabel(e,a),a>=0?i=e.src.slice(l,a++):a=m+1):a=m+1,i||=e.src.slice(p,m),o=e.env.references[Ar(i)],!o)return e.pos=d,!1;u=o.href,c=o.title}if(!t){r=e.src.slice(p,m);let t=[];e.md.inline.parse(r,e.md,e.env,t);let n=e.push(`image`,`img`,0),i=[[`src`,u],[`alt`,``]];n.attrs=i,n.children=t,n.content=r,c&&i.push([`title`,c])}return e.pos=a,e.posMax=f,!0}var aa=/^([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])?)*)$/,oa=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function sa(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==60)return!1;let r=e.pos,i=e.posMax;for(;;){if(++n>=i)return!1;let t=e.src.charCodeAt(n);if(t===60)return!1;if(t===62)break}let a=e.src.slice(r+1,n);if(oa.test(a)){let n=e.md.normalizeLink(a);if(!e.md.validateLink(n))return!1;if(!t){let t=e.push(`link_open`,`a`,1);t.attrs=[[`href`,n]],t.markup=`autolink`,t.info=`auto`;let r=e.push(`text`,``,0);r.content=e.md.normalizeLinkText(a);let i=e.push(`link_close`,`a`,-1);i.markup=`autolink`,i.info=`auto`}return e.pos+=a.length+2,!0}if(aa.test(a)){let n=e.md.normalizeLink(`mailto:`+a);if(!e.md.validateLink(n))return!1;if(!t){let t=e.push(`link_open`,`a`,1);t.attrs=[[`href`,n]],t.markup=`autolink`,t.info=`auto`;let r=e.push(`text`,``,0);r.content=e.md.normalizeLinkText(a);let i=e.push(`link_close`,`a`,-1);i.markup=`autolink`,i.info=`auto`}return e.pos+=a.length+2,!0}return!1}function ca(e){return/^<a[>\s]/i.test(e)}function la(e){return/^<\/a\s*>/i.test(e)}function ua(e){let t=e|32;return t>=97&&t<=122}function da(e,t){if(!e.md.options.html)return!1;let n=e.posMax,r=e.pos;if(e.src.charCodeAt(r)!==60||r+2>=n)return!1;let i=e.src.charCodeAt(r+1);if(i!==33&&i!==63&&i!==47&&!ua(i))return!1;let a=e.src.slice(r).match(ji);if(!a)return!1;if(!t){let t=e.push(`html_inline`,``,0);t.content=a[0],ca(t.content)&&e.linkLevel++,la(t.content)&&e.linkLevel--}return e.pos+=a[0].length,!0}var fa=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,pa=/^&([a-z][a-z0-9]{1,31});/i;function ma(e,t){let n=e.pos,r=e.posMax;if(e.src.charCodeAt(n)!==38||n+1>=r)return!1;if(e.src.charCodeAt(n+1)===35){let r=e.src.slice(n).match(fa);if(r){if(!t){let t=r[1][0].toLowerCase()===`x`?parseInt(r[1].slice(1),16):parseInt(r[1],10),n=e.push(`text_special`,``,0);n.content=dr(t)?fr(t):fr(65533),n.markup=r[0],n.info=`entity`}return e.pos+=r[0].length,!0}}else{let r=e.src.slice(n).match(pa);if(r){let n=rr(r[0]);if(n!==r[0]){if(!t){let t=e.push(`text_special`,``,0);t.content=n,t.markup=r[0],t.info=`entity`}return e.pos+=r[0].length,!0}}}return!1}function ha(e){let t={},n=e.length;if(!n)return;let r=0,i=-2,a=[];for(let o=0;o<n;o++){let n=e[o];if(a.push(0),(e[r].marker!==n.marker||i!==n.token-1)&&(r=o),i=n.token,n.length=n.length||0,!n.close)continue;t.hasOwnProperty(n.marker)||(t[n.marker]=[-1,-1,-1,-1,-1,-1]);let s=t[n.marker][(n.open?3:0)+n.length%3],c=r-a[r]-1,l=c;for(;c>s;c-=a[c]+1){let t=e[c];if(t.marker===n.marker&&t.open&&t.end<0){let r=!1;if((t.close||n.open)&&(t.length+n.length)%3==0&&(t.length%3!=0||n.length%3!=0)&&(r=!0),!r){let r=c>0&&!e[c-1].open?a[c-1]+1:0;a[o]=o-c+r,a[c]=r,n.open=!1,t.end=o,t.close=!1,l=-1,i=-2;break}}}l!==-1&&(t[n.marker][(n.open?3:0)+(n.length||0)%3]=l)}}function ga(e){let t=e.tokens_meta,n=e.tokens_meta.length;ha(e.delimiters);for(let e=0;e<n;e++)t[e]&&t[e].delimiters&&ha(t[e].delimiters)}function _a(e){let t,n,r=0,i=e.tokens,a=e.tokens.length;for(t=n=0;t<a;t++)i[t].nesting<0&&r--,i[t].level=r,i[t].nesting>0&&r++,i[t].type===`text`&&t+1<a&&i[t+1].type===`text`?i[t+1].content=i[t].content+i[t+1].content:(t!==n&&(i[n]=i[t]),n++);t!==n&&(i.length=n)}var va=[[`text`,Hi],[`linkify`,Wi],[`newline`,Gi],[`escape`,qi],[`backticks`,Ji],[`strikethrough`,Qi.tokenize],[`emphasis`,na.tokenize],[`link`,ra],[`image`,ia],[`autolink`,sa],[`html_inline`,da],[`entity`,ma]],ya=[[`balance_pairs`,ga],[`strikethrough`,Qi.postProcess],[`emphasis`,na.postProcess],[`fragments_join`,_a]];function ba(){this.ruler=new Br;for(let e=0;e<va.length;e++)this.ruler.push(va[e][0],va[e][1]);this.ruler2=new Br;for(let e=0;e<ya.length;e++)this.ruler2.push(ya[e][0],ya[e][1])}ba.prototype.skipToken=function(e){let t=e.pos,n=this.ruler.getRules(``),r=n.length,i=e.md.options.maxNesting,a=e.cache;if(a[t]!==void 0){e.pos=a[t];return}let o=!1;if(e.level<i){for(let i=0;i<r;i++)if(e.level++,o=n[i](e,!0),e.level--,o){if(t>=e.pos)throw Error(`inline rule didn't increment state.pos`);break}}else e.pos=e.posMax;o||e.pos++,a[t]=e.pos},ba.prototype.tokenize=function(e){let t=this.ruler.getRules(``),n=t.length,r=e.posMax,i=e.md.options.maxNesting;for(;e.pos<r;){let a=e.pos,o=!1;if(e.level<i){for(let r=0;r<n;r++)if(o=t[r](e,!1),o){if(a>=e.pos)throw Error(`inline rule didn't increment state.pos`);break}}if(o){if(e.pos>=r)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},ba.prototype.parse=function(e,t,n,r){let i=new this.State(e,t,n,r);this.tokenize(i);let a=this.ruler2.getRules(``),o=a.length;for(let e=0;e<o;e++)a[e](i)},ba.prototype.State=Bi;function xa(e){let t={};e||={},t.src_Any=jn.source,t.src_Cc=Mn.source,t.src_Z=In.source,t.src_P=Pn.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join(`|`),t.src_ZCc=[t.src_Z,t.src_Cc].join(`|`);let 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+`|[><|]|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+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 Sa(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){t&&Object.keys(t).forEach(function(n){e[n]=t[n]})}),e}function Ca(e){return Object.prototype.toString.call(e)}function wa(e){return Ca(e)===`[object String]`}function Ta(e){return Ca(e)===`[object Object]`}function Ea(e){return Ca(e)===`[object RegExp]`}function Da(e){return Ca(e)===`[object Function]`}function Oa(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,`\\$&`)}var ka={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function Aa(e){return Object.keys(e||{}).reduce(function(e,t){return e||ka.hasOwnProperty(t)},!1)}var ja={"http:":{validate:function(e,t,n){let r=e.slice(t);return n.re.http||(n.re.http=RegExp(`^\\/\\/`+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,`i`)),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":`http:`,"ftp:":`http:`,"//":{validate:function(e,t,n){let r=e.slice(t);return n.re.no_http||(n.re.no_http=RegExp(`^`+n.re.src_auth+`(?:localhost|(?:(?:`+n.re.src_domain+`)\\.)+`+n.re.src_domain_root+`)`+n.re.src_port+n.re.src_host_terminator+n.re.src_path,`i`)),n.re.no_http.test(r)?t>=3&&e[t-3]===`:`||t>=3&&e[t-3]===`/`?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){let r=e.slice(t);return n.re.mailto||(n.re.mailto=RegExp(`^`+n.re.src_email_name+`@`+n.re.src_host_strict,`i`)),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},Ma=`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]`,Na=`biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф`.split(`|`);function Pa(e){return function(t,n){let r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}function Fa(){return function(e,t){t.normalize(e)}}function Ia(e){let t=e.re=xa(e.__opts__),n=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||n.push(Ma),n.push(t.src_xn),t.src_tlds=n.join(`|`);function r(e){return e.replace(`%TLDS%`,t.src_tlds)}t.email_fuzzy=RegExp(r(t.tpl_email_fuzzy),`i`),t.email_fuzzy_global=RegExp(r(t.tpl_email_fuzzy),`ig`),t.link_fuzzy=RegExp(r(t.tpl_link_fuzzy),`i`),t.link_fuzzy_global=RegExp(r(t.tpl_link_fuzzy),`ig`),t.link_no_ip_fuzzy=RegExp(r(t.tpl_link_no_ip_fuzzy),`i`),t.link_no_ip_fuzzy_global=RegExp(r(t.tpl_link_no_ip_fuzzy),`ig`),t.host_fuzzy_test=RegExp(r(t.tpl_host_fuzzy_test),`i`);let i=[];e.__compiled__={};function a(e,t){throw Error(`(LinkifyIt) Invalid schema "`+e+`": `+t)}Object.keys(e.__schemas__).forEach(function(t){let n=e.__schemas__[t];if(n===null)return;let r={validate:null,link:null};if(e.__compiled__[t]=r,Ta(n)){Ea(n.validate)?r.validate=Pa(n.validate):Da(n.validate)?r.validate=n.validate:a(t,n),Da(n.normalize)?r.normalize=n.normalize:n.normalize?a(t,n):r.normalize=Fa();return}if(wa(n)){i.push(t);return}a(t,n)}),i.forEach(function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)}),e.__compiled__[``]={validate:null,normalize:Fa()};let o=Object.keys(e.__compiled__).filter(function(t){return t.length>0&&e.__compiled__[t]}).map(Oa).join(`|`);e.re.schema_test=RegExp(`(^|(?!_)(?:[><|]|`+t.src_ZPCc+`))(`+o+`)`,`i`),e.re.schema_search=RegExp(`(^|(?!_)(?:[><|]|`+t.src_ZPCc+`))(`+o+`)`,`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`)}function La(e,t,n,r){let i=e.slice(n,r);this.schema=t.toLowerCase(),this.index=n,this.lastIndex=r,this.raw=i,this.text=i,this.url=i}function Ra(e,t){if(!(this instanceof Ra))return new Ra(e,t);t||Aa(e)&&(t=e,e={}),this.__opts__=Sa({},ka,t),this.__schemas__=Sa({},ja,e),this.__compiled__={},this.__tlds__=Na,this.__tlds_replaced__=!1,this.re={},Ia(this)}Ra.prototype.add=function(e,t){return this.__schemas__[e]=t,Ia(this),this},Ra.prototype.set=function(e){return this.__opts__=Sa(this.__opts__,e),this},Ra.prototype.test=function(e){if(!e.length)return!1;let t,n;if(this.re.schema_test.test(e)){for(n=this.re.schema_search,n.lastIndex=0;(t=n.exec(e))!==null;)if(this.testSchemaAt(e,t[2],n.lastIndex))return!0}return!!(this.__opts__.fuzzyLink&&this.__compiled__[`http:`]&&e.search(this.re.host_fuzzy_test)>=0&&e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy)!==null||this.__opts__.fuzzyEmail&&this.__compiled__[`mailto:`]&&e.indexOf(`@`)>=0&&e.match(this.re.email_fuzzy)!==null)},Ra.prototype.pretest=function(e){return this.re.pretest.test(e)},Ra.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},Ra.prototype.match=function(e){let t=[],n=[],r=[],i=[],a,o,s;function c(e,t){return e?t?e.index===t.index?e.lastIndex>=t.lastIndex?e:t:e.index<t.index?e:t:e:t}if(!e.length)return null;if(this.re.schema_test.test(e))for(s=this.re.schema_search,s.lastIndex=0;(a=s.exec(e))!==null;)o=this.testSchemaAt(e,a[2],s.lastIndex),o&&n.push({schema:a[2],index:a.index+a[1].length,lastIndex:a.index+a[0].length+o});if(this.__opts__.fuzzyLink&&this.__compiled__[`http:`])for(s=this.__opts__.fuzzyIP?this.re.link_fuzzy_global:this.re.link_no_ip_fuzzy_global,s.lastIndex=0;(a=s.exec(e))!==null;)r.push({schema:``,index:a.index+a[1].length,lastIndex:a.index+a[0].length});if(this.__opts__.fuzzyEmail&&this.__compiled__[`mailto:`])for(s=this.re.email_fuzzy_global,s.lastIndex=0;(a=s.exec(e))!==null;)i.push({schema:`mailto:`,index:a.index+a[1].length,lastIndex:a.index+a[0].length});let l=[0,0,0],u=0;for(;;){let a=[n[l[0]],i[l[1]],r[l[2]]],o=c(c(a[0],a[1]),a[2]);if(!o)break;if(o===a[0]?l[0]++:o===a[1]?l[1]++:l[2]++,o.index<u)continue;let s=new La(e,o.schema,o.index,o.lastIndex);this.__compiled__[s.schema].normalize(s,this),t.push(s),u=o.lastIndex}return t.length?t:null},Ra.prototype.matchAtStart=function(e){if(!e.length)return null;let t=this.re.schema_at_start.exec(e);if(!t)return null;let n=this.testSchemaAt(e,t[2],t[0].length);if(!n)return null;let r=new La(e,t[2],t.index+t[1].length,t.index+t[0].length+n);return this.__compiled__[r.schema].normalize(r,this),r},Ra.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(e,t,n){return e!==n[t-1]}).reverse(),Ia(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,Ia(this),this)},Ra.prototype.normalize=function(e){e.schema||(e.url=`http://`+e.url),e.schema===`mailto:`&&!/^mailto:/i.test(e.url)&&(e.url=`mailto:`+e.url)},Ra.prototype.onCompile=function(){};var za=2147483647,Ba=36,Va=1,Ha=26,Ua=38,Wa=700,Ga=72,Ka=128,qa=`-`,Ja=/^xn--/,Ya=/[^\0-\x7F]/,Xa=/[\x2E\u3002\uFF0E\uFF61]/g,Za={overflow:`Overflow: input needs wider integers to process`,"not-basic":`Illegal input >= 0x80 (not a basic code point)`,"invalid-input":`Invalid input`},Qa=Ba-Va,$a=Math.floor,eo=String.fromCharCode;function to(e){throw RangeError(Za[e])}function no(e,t){let n=[],r=e.length;for(;r--;)n[r]=t(e[r]);return n}function ro(e,t){let n=e.split(`@`),r=``;n.length>1&&(r=n[0]+`@`,e=n[1]),e=e.replace(Xa,`.`);let i=no(e.split(`.`),t).join(`.`);return r+i}function io(e){let t=[],n=0,r=e.length;for(;n<r;){let i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){let r=e.charCodeAt(n++);(r&64512)==56320?t.push(((i&1023)<<10)+(r&1023)+65536):(t.push(i),n--)}else t.push(i)}return t}var ao=e=>String.fromCodePoint(...e),oo=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:Ba},so=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},co=function(e,t,n){let r=0;for(e=n?$a(e/Wa):e>>1,e+=$a(e/t);e>Qa*Ha>>1;r+=Ba)e=$a(e/Qa);return $a(r+(Qa+1)*e/(e+Ua))},lo=function(e){let t=[],n=e.length,r=0,i=Ka,a=Ga,o=e.lastIndexOf(qa);o<0&&(o=0);for(let n=0;n<o;++n)e.charCodeAt(n)>=128&&to(`not-basic`),t.push(e.charCodeAt(n));for(let s=o>0?o+1:0;s<n;){let o=r;for(let t=1,i=Ba;;i+=Ba){s>=n&&to(`invalid-input`);let o=oo(e.charCodeAt(s++));o>=Ba&&to(`invalid-input`),o>$a((za-r)/t)&&to(`overflow`),r+=o*t;let c=i<=a?Va:i>=a+Ha?Ha:i-a;if(o<c)break;let l=Ba-c;t>$a(za/l)&&to(`overflow`),t*=l}let c=t.length+1;a=co(r-o,c,o==0),$a(r/c)>za-i&&to(`overflow`),i+=$a(r/c),r%=c,t.splice(r++,0,i)}return String.fromCodePoint(...t)},uo=function(e){let t=[];e=io(e);let n=e.length,r=Ka,i=0,a=Ga;for(let n of e)n<128&&t.push(eo(n));let o=t.length,s=o;for(o&&t.push(qa);s<n;){let n=za;for(let t of e)t>=r&&t<n&&(n=t);let c=s+1;n-r>$a((za-i)/c)&&to(`overflow`),i+=(n-r)*c,r=n;for(let n of e)if(n<r&&++i>za&&to(`overflow`),n===r){let e=i;for(let n=Ba;;n+=Ba){let r=n<=a?Va:n>=a+Ha?Ha:n-a;if(e<r)break;let i=e-r,o=Ba-r;t.push(eo(so(r+i%o,0))),e=$a(i/o)}t.push(eo(so(e,0))),a=co(i,c,s===o),i=0,++s}++i,++r}return t.join(``)},fo={version:`2.3.1`,ucs2:{decode:io,encode:ao},decode:lo,encode:uo,toASCII:function(e){return ro(e,function(e){return Ya.test(e)?`xn--`+uo(e):e})},toUnicode:function(e){return ro(e,function(e){return Ja.test(e)?lo(e.slice(4).toLowerCase()):e})}},po={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:`language-`,linkify:!1,typographer:!1,quotes:`“”‘’`,highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},zero:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:`language-`,linkify:!1,typographer:!1,quotes:`“”‘’`,highlight:null,maxNesting:20},components:{core:{rules:[`normalize`,`block`,`inline`,`text_join`]},block:{rules:[`paragraph`]},inline:{rules:[`text`],rules2:[`balance_pairs`,`fragments_join`]}}},commonmark:{options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:`language-`,linkify:!1,typographer:!1,quotes:`“”‘’`,highlight:null,maxNesting:20},components:{core:{rules:[`normalize`,`block`,`inline`,`text_join`]},block:{rules:[`blockquote`,`code`,`fence`,`heading`,`hr`,`html_block`,`lheading`,`list`,`reference`,`paragraph`]},inline:{rules:[`autolink`,`backticks`,`emphasis`,`entity`,`escape`,`html_inline`,`image`,`link`,`newline`,`text`],rules2:[`balance_pairs`,`emphasis`,`fragments_join`]}}}},mo=/^(vbscript|javascript|file|data):/,ho=/^data:image\/(gif|png|jpeg|webp);/;function go(e){let t=e.trim().toLowerCase();return mo.test(t)?ho.test(t):!0}var _o=[`http:`,`https:`,`mailto:`];function vo(e){let t=kn(e,!0);if(t.hostname&&(!t.protocol||_o.indexOf(t.protocol)>=0))try{t.hostname=fo.toASCII(t.hostname)}catch{}return gn(_n(t))}function yo(e){let t=kn(e,!0);if(t.hostname&&(!t.protocol||_o.indexOf(t.protocol)>=0))try{t.hostname=fo.toUnicode(t.hostname)}catch{}return pn(_n(t),pn.defaultChars+`%`)}function bo(e,t){if(!(this instanceof bo))return new bo(e,t);t||or(e)||(t=e||{},e=`default`),this.inline=new ba,this.block=new zi,this.core=new mi,this.renderer=new zr,this.linkify=new Ra,this.validateLink=go,this.normalizeLink=vo,this.normalizeLinkText=yo,this.utils=ir,this.helpers=lr({},Lr),this.options={},this.configure(e),t&&this.set(t)}bo.prototype.set=function(e){return lr(this.options,e),this},bo.prototype.configure=function(e){let t=this;if(or(e)){let t=e;if(e=po[t],!e)throw Error('Wrong `markdown-it` preset "'+t+`", check name`)}if(!e)throw Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(n){e.components[n].rules&&t[n].ruler.enableOnly(e.components[n].rules),e.components[n].rules2&&t[n].ruler2.enableOnly(e.components[n].rules2)}),this},bo.prototype.enable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),[`core`,`block`,`inline`].forEach(function(t){n=n.concat(this[t].ruler.enable(e,!0))},this),n=n.concat(this.inline.ruler2.enable(e,!0));let r=e.filter(function(e){return n.indexOf(e)<0});if(r.length&&!t)throw Error(`MarkdownIt. Failed to enable unknown rule(s): `+r);return this},bo.prototype.disable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),[`core`,`block`,`inline`].forEach(function(t){n=n.concat(this[t].ruler.disable(e,!0))},this),n=n.concat(this.inline.ruler2.disable(e,!0));let r=e.filter(function(e){return n.indexOf(e)<0});if(r.length&&!t)throw Error(`MarkdownIt. Failed to disable unknown rule(s): `+r);return this},bo.prototype.use=function(e){let t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},bo.prototype.parse=function(e,t){if(typeof e!=`string`)throw Error(`Input data should be a String`);let n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},bo.prototype.render=function(e,t){return t||={},this.renderer.render(this.parse(e,t),this.options,t)},bo.prototype.parseInline=function(e,t){let n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},bo.prototype.renderInline=function(e,t){return t||={},this.renderer.render(this.parseInline(e,t),this.options,t)};var xo=new bo({breaks:!1,linkify:!0});function So(e,t,{schema:n,setSchemaReference:r},i,a){Qt([],{useCommonAddons:!1}).then(e=>{let n,r,i,a,s,c,l,u,d;e.on(t,`select`,(e,t)=>{if(!n){let e=t.parentNode;n=document.createElement(`div`),n.className=`CodeMirror-hint-information`,e.append(n);let f=document.createElement(`header`);f.className=`CodeMirror-hint-information-header`,n.append(f),r=document.createElement(`span`),r.className=`CodeMirror-hint-information-field-name`,f.append(r),i=document.createElement(`span`),i.className=`CodeMirror-hint-information-type-name-pill`,f.append(i),a=document.createElement(`span`),i.append(a),s=document.createElement(`a`),s.className=`CodeMirror-hint-information-type-name`,s.href=`javascript:void 0`,s.addEventListener(`click`,o),i.append(s),c=document.createElement(`span`),i.append(c),l=document.createElement(`div`),l.className=`CodeMirror-hint-information-description`,n.append(l),u=document.createElement(`div`),u.className=`CodeMirror-hint-information-deprecation`,n.append(u);let p=document.createElement(`span`);p.className=`CodeMirror-hint-information-deprecation-label`,p.textContent=`Deprecated`,u.append(p),d=document.createElement(`div`),d.className=`CodeMirror-hint-information-deprecation-reason`,u.append(d);let m=parseInt(window.getComputedStyle(n).paddingBottom.replace(/px$/,``),10)||0,h=parseInt(window.getComputedStyle(n).maxHeight.replace(/px$/,``),10)||0,g=()=>{n&&(n.style.paddingTop=e.scrollTop+m+`px`,n.style.maxHeight=e.scrollTop+h+`px`)};e.addEventListener(`scroll`,g);let _;e.addEventListener(`DOMNodeRemoved`,_=t=>{t.target===e&&(e.removeEventListener(`scroll`,g),e.removeEventListener(`DOMNodeRemoved`,_),n?.removeEventListener(`click`,o),n=null,r=null,i=null,a=null,s=null,c=null,l=null,u=null,d=null,_=null)})}if(r&&(r.textContent=e.text),i&&a&&s&&c)if(e.type){i.style.display=`inline`;let t=e=>{me(e)?(c.textContent=`!`+c.textContent,t(e.ofType)):Ee(e)?(a.textContent+=`[`,c.textContent=`]`+c.textContent,t(e.ofType)):s.textContent=e.name};a.textContent=``,c.textContent=``,t(e.type)}else a.textContent=``,s.textContent=``,c.textContent=``,i.style.display=`none`;l&&(e.description?(l.style.display=`block`,l.innerHTML=xo.render(e.description)):(l.style.display=`none`,l.innerHTML=``)),u&&d&&(e.deprecationReason?(u.style.display=`block`,d.innerHTML=xo.render(e.deprecationReason)):(u.style.display=`none`,d.innerHTML=``))})});function o(e){let t=i?.referencePlugin;if(!n||!t||!(e.currentTarget instanceof HTMLElement))return;let o=e.currentTarget.textContent||``,s=n.getType(o);s&&(i.setVisiblePlugin(t),r({kind:`Type`,type:s}),a?.(s))}}function Co(e,t){let n;return function(...r){n&&clearTimeout(n),n=setTimeout(()=>{n=null,t(...r)},e)}}var wo=t(en());function To(e,t){let n=(0,U.c)(4),r,i;n[0]!==e||n[1]!==t?(r=()=>{e&&typeof t==`string`&&t!==e.getValue()&&e.setValue(t)},i=[e,t],n[0]=e,n[1]=t,n[2]=r,n[3]=i):(r=n[2],i=n[3]),(0,H.useEffect)(r,i)}function Eo(e,t,n){let r=(0,U.c)(5),i,a;r[0]!==e||r[1]!==t||r[2]!==n?(i=()=>{e?.setOption(t,n)},a=[e,t,n],r[0]=e,r[1]=t,r[2]=n,r[3]=i,r[4]=a):(i=r[3],a=r[4]),(0,H.useEffect)(i,a)}function Do(e,t,n,r,i){let a=(0,U.c)(9),o;a[0]===i?o=a[1]:(o={nonNull:!0,caller:i},a[0]=i,a[1]=o);let{updateActiveTabValues:s}=Ls(o),c,l;a[2]!==t||a[3]!==e||a[4]!==n||a[5]!==r||a[6]!==s?(c=()=>{if(!e)return;let{storage:i}=Ht.getState(),a=Co(500,e=>{n!==null&&i.set(n,e)}),o=Co(100,e=>{s({[r]:e})}),c=(e,n)=>{if(!n)return;let r=e.getValue();a(r),o(r),t?.(r)};return e.on(`change`,c),()=>e.off(`change`,c)},l=[t,e,n,r,s],a[2]=t,a[3]=e,a[4]=n,a[5]=r,a[6]=s,a[7]=c,a[8]=l):(c=a[7],l=a[8]),(0,H.useEffect)(c,l)}function Oo(e,t){let n=(0,U.c)(7),{schema:r,setSchemaReference:i}=sn(),a=rn(),o,s;n[0]!==t||n[1]!==e||n[2]!==a||n[3]!==r||n[4]!==i?(o=()=>{if(!e)return;let n=(e,n)=>{So(e,n,{schema:r,setSchemaReference:i},a,e=>{t?.({kind:`Type`,type:e,schema:r||void 0})})};return e.on(`hasCompletion`,n),()=>e.off(`hasCompletion`,n)},s=[t,e,a,r,i],n[0]=t,n[1]=e,n[2]=a,n[3]=r,n[4]=i,n[5]=o,n[6]=s):(o=n[5],s=n[6]),(0,H.useEffect)(o,s)}function ko(e,t,n){let r=(0,U.c)(5),i,a;r[0]!==n||r[1]!==e||r[2]!==t?(i=()=>{if(e){for(let n of t)e.removeKeyMap(n);if(n){let r={};for(let e of t)r[e]=()=>n();e.addKeyMap(r)}}},a=[e,t,n],r[0]=n,r[1]=e,r[2]=t,r[3]=i,r[4]=a):(i=r[3],a=r[4]),(0,H.useEffect)(i,a)}var Ao=Po,jo=Fo,Mo=Lo,No=Ro;function Po(e){let t=(0,U.c)(7),n;t[0]===e?n=t[1]:(n=e===void 0?{}:e,t[0]=e,t[1]=n);let{caller:r,onCopyQuery:i}=n,a=r||Ao,o;t[2]===a?o=t[3]:(o={nonNull:!0,caller:a},t[2]=a,t[3]=o);let{queryEditor:s}=Ls(o),c;return t[4]!==i||t[5]!==s?(c=()=>{if(!s)return;let e=s.getValue();(0,wo.default)(e),i?.(e)},t[4]=i,t[5]=s,t[6]=c):c=t[6],c}function Fo(e){let t=(0,U.c)(7),n;t[0]===e?n=t[1]:(n=e===void 0?{}:e,t[0]=e,t[1]=n);let{caller:r}=n,i=r||jo,a;t[2]===i?a=t[3]:(a={nonNull:!0,caller:i},t[2]=i,t[3]=a);let{queryEditor:o}=Ls(a),{schema:s}=sn(),c;return t[4]!==o||t[5]!==s?(c=()=>{let e=o?.documentAST,t=o?.getValue();!e||!t||o.setValue(he(St(e,s)))},t[4]=o,t[5]=s,t[6]=c):c=t[6],c}function Io(e){return he(Ve(e))}function Lo(e){let t=(0,U.c)(9),n;t[0]===e?n=t[1]:(n=e===void 0?{}:e,t[0]=e,t[1]=n);let{caller:r,onPrettifyQuery:i}=n,a=i===void 0?Io:i,o=r||Mo,s;t[2]===o?s=t[3]:(s={nonNull:!0,caller:o},t[2]=o,t[3]=s);let{queryEditor:c,headerEditor:l,variableEditor:u}=Ls(s),d;return t[4]!==l||t[5]!==a||t[6]!==c||t[7]!==u?(d=async()=>{if(u){let e=u.getValue();try{let t=JSON.stringify(JSON.parse(e),null,2);t!==e&&u.setValue(t)}catch{}}if(l){let e=l.getValue();try{let t=JSON.stringify(JSON.parse(e),null,2);t!==e&&l.setValue(t)}catch{}}if(c){let e=c.getValue();try{let t=await a(e);t!==e&&c.setValue(t)}catch{}}},t[4]=l,t[5]=a,t[6]=c,t[7]=u,t[8]=d):d=t[8],d}function Ro(e){let t=(0,U.c)(8),n;t[0]===e?n=t[1]:(n=e===void 0?{}:e,t[0]=e,t[1]=n);let{getDefaultFieldNames:r,caller:i}=n,{schema:a}=sn(),o=i||No,s;t[2]===o?s=t[3]:(s={nonNull:!0,caller:o},t[2]=o,t[3]=s);let{queryEditor:c}=Ls(s),l;return t[4]!==r||t[5]!==c||t[6]!==a?(l=()=>{if(!c)return;let{insertions:e,result:t}=mt(a,c.getValue(),r);return e&&e.length>0&&c.operation(()=>{let n=c.getCursor(),r=c.indexFromPos(n);c.setValue(t||``);let i=0,a=e.map(e=>{let{index:t,string:n}=e;return i+=n.length,c.markText(c.posFromIndex(t+i),c.posFromIndex(t+i),{className:`auto-inserted-leaf`,clearOnEnter:!0,title:`Automatically added leaf fields`})});setTimeout(()=>{for(let e of a)e.clear()},7e3);let o=r;for(let{index:t,string:n}of e)t<r&&(o+=n.length);c.setCursor(c.posFromIndex(o))}),t},t[4]=r,t[5]=c,t[6]=a,t[7]=l):l=t[7],l}function zo(){return Qt([V(()=>import(`./javascript-D3bo9a4I.js`).then(e=>t(e.default)),__vite__mapDeps([12,1,0]))])}var Bo=Vo;function Vo(e,t){let n=(0,U.c)(17),r;n[0]===e?r=n[1]:(r=e===void 0?{}:e,n[0]=e,n[1]=r);let{editorTheme:i,keyMap:a,onEdit:o,readOnly:s}=r,c=i===void 0?Yt:i,l=a===void 0?Xt:a,u=s===void 0?!1:s,d=t||Bo,f;n[2]===d?f=n[3]:(f={nonNull:!0,caller:d},n[2]=d,n[3]=f);let{initialHeaders:p,headerEditor:m,setHeaderEditor:h,shouldPersistHeaders:g}=Ls(f),_=Ws(),v=t||Bo,y;n[4]===v?y=n[5]:(y={caller:v},n[4]=v,n[5]=y);let b=Fo(y),x=t||Bo,S;n[6]===x?S=n[7]:(S={caller:x},n[6]=x,n[7]=S);let C=Lo(S),w=(0,H.useRef)(null),T,E;n[8]!==c||n[9]!==p||n[10]!==u||n[11]!==h?(T=()=>{let e=!0;return zo().then(t=>{if(!e)return;let n=w.current;if(!n)return;let r=t(n,{value:p,lineNumbers:!0,tabSize:2,mode:{name:`javascript`,json:!0},theme:c,autoCloseBrackets:!0,matchBrackets:!0,showCursorWhenSelecting:!0,readOnly:u?`nocursor`:!1,foldGutter:!0,gutters:[`CodeMirror-linenumbers`,`CodeMirror-foldgutter`],extraKeys:Zt});r.addKeyMap({"Cmd-Space"(){r.showHint({completeSingle:!1,container:n})},"Ctrl-Space"(){r.showHint({completeSingle:!1,container:n})},"Alt-Space"(){r.showHint({completeSingle:!1,container:n})},"Shift-Space"(){r.showHint({completeSingle:!1,container:n})}}),r.on(`keyup`,Ho),h(r)}),()=>{e=!1}},E=[c,p,u,h],n[8]=c,n[9]=p,n[10]=u,n[11]=h,n[12]=T,n[13]=E):(T=n[12],E=n[13]),(0,H.useEffect)(T,E),Eo(m,`keyMap`,l),Do(m,o,g?Uo:null,`headers`,Bo);let D;n[14]===Symbol.for(`react.memo_cache_sentinel`)?(D=[`Cmd-Enter`,`Ctrl-Enter`],n[14]=D):D=n[14],ko(m,D,_?.run);let O;n[15]===Symbol.for(`react.memo_cache_sentinel`)?(O=[`Shift-Ctrl-P`],n[15]=O):O=n[15],ko(m,O,C);let k;return n[16]===Symbol.for(`react.memo_cache_sentinel`)?(k=[`Shift-Ctrl-M`],n[16]=k):k=n[16],ko(m,k,b),w}function Ho(e,t){let{code:n,key:r,shiftKey:i}=t,a=n.startsWith(`Key`),o=!i&&n.startsWith(`Digit`);(a||o||r===`_`||r===`"`)&&e.execCommand(`autocomplete`)}var Uo=`headers`,Wo=Array.from({length:11},(e,t)=>String.fromCharCode(8192+t)).concat([`\u2028`,`\u2029`,` `,`\xA0`]),Go=RegExp(`[`+Wo.join(``)+`]`,`g`);function Ko(e){return e.replace(Go,` `)}function qo(){return Qt([V(()=>import(`./comment-ZVSXp2TA.js`).then(e=>t(e.default)),__vite__mapDeps([13,1,0])),V(()=>import(`./search-B5lzXui6.js`).then(e=>t(e.default)),__vite__mapDeps([14,1,10,0,8])),V(()=>import(`./hint-DNsFEoKt.js`),__vite__mapDeps([15,1,2,0,16,17,18,19,20,21])),V(()=>import(`./lint-C-6eCLSl.js`),__vite__mapDeps([22,1,0,16,17,18,19,20,21])),V(()=>import(`./info-Debsbha9.js`),__vite__mapDeps([23,1,24,17,18,19,20,21,25,26,0])),V(()=>import(`./jump-C6uy6uvN.js`),__vite__mapDeps([27,1,24,17,18,19,20,21,25,0])),V(()=>import(`./mode-DjcXcQBF.js`),__vite__mapDeps([28,1,29,0,16,17,18,19,20,21]))])}var Jo=$o;function Yo(e,t){e.state.lint.linterOptions.variableToType=t?.variableToType,e.options.lint.variableToType=t?.variableToType,e.options.hintOptions.variableToType=t?.variableToType}function Xo(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 Zo(e,t){e.state.lint.linterOptions.validationRules=t,e.options.lint.validationRules=t}function Qo(e,t){e.state.lint.linterOptions.externalFragments=t,e.options.lint.externalFragments=t,e.options.hintOptions.externalFragments=t}function $o(e,t){let n=(0,U.c)(40),r;n[0]===e?r=n[1]:(r=e===void 0?{}:e,n[0]=e,n[1]=r);let{editorTheme:i,keyMap:a,onClickReference:o,onCopyQuery:s,onEdit:c,onPrettifyQuery:l,readOnly:u}=r,d=i===void 0?Yt:i,f=a===void 0?Xt:a,p=u===void 0?!1:u,{schema:m,setSchemaReference:h}=sn(),g=t||Jo,_;n[2]===g?_=n[3]:(_={nonNull:!0,caller:g},n[2]=g,n[3]=_);let{externalFragments:v,initialQuery:y,queryEditor:b,setOperationName:x,setQueryEditor:S,validationRules:C,variableEditor:w,updateActiveTabValues:T}=Ls(_),E=Ws(),D=Gt(),O=rn(),k=t||Jo,A;n[4]!==s||n[5]!==k?(A={caller:k,onCopyQuery:s},n[4]=s,n[5]=k,n[6]=A):A=n[6];let j=Po(A),M=t||Jo,N;n[7]===M?N=n[8]:(N={caller:M},n[7]=M,n[8]=N);let P=Fo(N),F=t||Jo,I;n[9]!==l||n[10]!==F?(I={caller:F,onPrettifyQuery:l},n[9]=l,n[10]=F,n[11]=I):I=n[11];let L=Lo(I),ee=(0,H.useRef)(null),R=(0,H.useRef)(void 0),te=(0,H.useRef)(rs),z,ne;n[12]!==o||n[13]!==O||n[14]!==h?(z=()=>{te.current=e=>{let t=O?.referencePlugin;t&&(O.setVisiblePlugin(t),h(e),o?.(e))}},ne=[o,O,h],n[12]=o,n[13]=O,n[14]=h,n[15]=z,n[16]=ne):(z=n[15],ne=n[16]),(0,H.useEffect)(z,ne);let re,ie;n[17]!==d||n[18]!==y||n[19]!==p||n[20]!==S?(re=()=>{let e=!0;return qo().then(t=>{if(!e)return;R.current=t;let n=ee.current;if(!n)return;let r=t(n,{value:y,lineNumbers:!0,tabSize:2,foldGutter:!0,mode:`graphql`,theme:d,autoCloseBrackets:!0,matchBrackets:!0,showCursorWhenSelecting:!0,readOnly:p?`nocursor`:!1,lint:{schema:void 0,validationRules:null,externalFragments:void 0},hintOptions:{schema:void 0,closeOnUnfocus:!1,completeSingle:!1,container:n,externalFragments:void 0,autocompleteOptions:{mode:Pe.EXECUTABLE}},info:{schema:void 0,renderDescription:ns,onClick(e){te.current(e)}},jump:{schema:void 0,onClick(e){te.current(e)}},gutters:[`CodeMirror-linenumbers`,`CodeMirror-foldgutter`],extraKeys:{...Zt,"Cmd-S"(){},"Ctrl-S"(){}}}),i=function(){r.showHint({completeSingle:!0,container:n})};r.addKeyMap({"Cmd-Space":i,"Ctrl-Space":i,"Alt-Space":i,"Shift-Space":i,"Shift-Alt-Space":i}),r.on(`keyup`,ts);let a=!1;r.on(`startCompletion`,()=>{a=!0}),r.on(`endCompletion`,()=>{a=!1}),r.on(`keydown`,(e,t)=>{t.key===`Escape`&&a&&t.stopPropagation()}),r.on(`beforeChange`,es),r.documentAST=null,r.operationName=null,r.operations=null,r.variableToType=null,S(r)}),()=>{e=!1}},ie=[d,y,p,S],n[17]=d,n[18]=y,n[19]=p,n[20]=S,n[21]=re,n[22]=ie):(re=n[21],ie=n[22]),(0,H.useEffect)(re,ie),Eo(b,`keyMap`,f);let ae,oe;n[23]!==c||n[24]!==b||n[25]!==m||n[26]!==x||n[27]!==D||n[28]!==T||n[29]!==w?(ae=()=>{if(!b)return;let e=function(e){var t;let n=Ne(m,e.getValue()),r=Ct(e.operations??void 0,e.operationName??void 0,n?.operations);return e.documentAST=n?.documentAST??null,e.operationName=r??null,e.operations=n?.operations??null,w&&(Yo(w,n),(t=R.current)==null||t.signal(w,`change`,w)),n?{...n,operationName:r}:null},t=Co(100,t=>{let n=t.getValue();D.set(cs,n);let r=t.operationName,i=e(t);i?.operationName!==void 0&&D.set(ls,i.operationName),c?.(n,i?.documentAST),i?.operationName&&r!==i.operationName&&x(i.operationName),T({query:n,operationName:i?.operationName??null})});return e(b),b.on(`change`,t),()=>b.off(`change`,t)},oe=[c,b,m,x,D,w,T],n[23]=c,n[24]=b,n[25]=m,n[26]=x,n[27]=D,n[28]=T,n[29]=w,n[30]=ae,n[31]=oe):(ae=n[30],oe=n[31]),(0,H.useEffect)(ae,oe),is(b,m??null,R),as(b,C??null,R),os(b,v,R),Oo(b,o);let se=E?.run,ce;n[32]!==b||n[33]!==se||n[34]!==x?(ce=()=>{if(!se||!b||!b.operations||!b.hasFocus()){se?.();return}let e=b.indexFromPos(b.getCursor()),t;for(let n of b.operations)n.loc&&n.loc.start<=e&&n.loc.end>=e&&(t=n.name?.value);t&&t!==b.operationName&&x(t),se()},n[32]=b,n[33]=se,n[34]=x,n[35]=ce):ce=n[35];let le=ce,ue;n[36]===Symbol.for(`react.memo_cache_sentinel`)?(ue=[`Cmd-Enter`,`Ctrl-Enter`],n[36]=ue):ue=n[36],ko(b,ue,le);let de;n[37]===Symbol.for(`react.memo_cache_sentinel`)?(de=[`Shift-Ctrl-C`],n[37]=de):de=n[37],ko(b,de,j);let fe;n[38]===Symbol.for(`react.memo_cache_sentinel`)?(fe=[`Shift-Ctrl-P`,`Shift-Ctrl-F`],n[38]=fe):fe=n[38],ko(b,fe,L);let B;return n[39]===Symbol.for(`react.memo_cache_sentinel`)?(B=[`Shift-Ctrl-M`],n[39]=B):B=n[39],ko(b,B,P),ee}function es(e,t){var n;if(t.origin===`paste`){let e=t.text.map(Ko);(n=t.update)==null||n.call(t,t.from,t.to,e)}}function ts(e,t){ss.test(t.key)&&e.execCommand(`autocomplete`)}function ns(e){return xo.render(e)}function rs(){}function is(e,t,n){let r=(0,U.c)(5),i,a;r[0]!==n||r[1]!==e||r[2]!==t?(i=()=>{if(!e)return;let r=e.options.lint.schema!==t;Xo(e,t),r&&n.current&&n.current.signal(e,`change`,e)},a=[e,t,n],r[0]=n,r[1]=e,r[2]=t,r[3]=i,r[4]=a):(i=r[3],a=r[4]),(0,H.useEffect)(i,a)}function as(e,t,n){let r=(0,U.c)(5),i,a;r[0]!==n||r[1]!==e||r[2]!==t?(i=()=>{if(!e)return;let r=e.options.lint.validationRules!==t;Zo(e,t),r&&n.current&&n.current.signal(e,`change`,e)},a=[e,t,n],r[0]=n,r[1]=e,r[2]=t,r[3]=i,r[4]=a):(i=r[3],a=r[4]),(0,H.useEffect)(i,a)}function os(e,t,n){let r=(0,U.c)(7),i;r[0]===t?i=r[1]:(i=[...t.values()],r[0]=t,r[1]=i);let a=i,o,s;r[2]!==n||r[3]!==e||r[4]!==a?(o=()=>{if(!e)return;let t=e.options.lint.externalFragments!==a;Qo(e,a),t&&n.current&&n.current.signal(e,`change`,e)},s=[e,a,n],r[2]=n,r[3]=e,r[4]=a,r[5]=o,r[6]=s):(o=r[5],s=r[6]),(0,H.useEffect)(o,s)}var ss=/^[a-zA-Z0-9_@(]$/,cs=`query`,ls=`operationName`;function us({defaultQuery:e,defaultHeaders:t,headers:n,defaultTabs:r,query:i,variables:a,shouldPersistHeaders:o}){let{storage:s}=Ht.getState(),c=s.get(Ds);try{if(!c)throw Error(`Storage for tabs is empty`);let e=JSON.parse(c),t=o?n:void 0;if(ds(e)){let r=Cs({query:i,variables:a,headers:t}),o=-1;for(let t=0;t<e.tabs.length;t++){let n=e.tabs[t];n.hash=Cs({query:n.query,variables:n.variables,headers:n.headers}),n.hash===r&&(o=t)}if(o>=0)e.activeTabIndex=o;else{let t=i?ws(i):null;e.tabs.push({id:Ss(),hash:r,title:t||Es,query:i,variables:a,headers:n,operationName:t,response:null}),e.activeTabIndex=e.tabs.length-1}return e}throw Error(`Storage for tabs is invalid`)}catch{return{activeTabIndex:0,tabs:(r||[{query:i??e,variables:a,headers:n??t}]).map(bs)}}}function ds(e){return e&&typeof e==`object`&&!Array.isArray(e)&&ps(e,`activeTabIndex`)&&`tabs`in e&&Array.isArray(e.tabs)&&e.tabs.every(fs)}function fs(e){return e&&typeof e==`object`&&!Array.isArray(e)&&ms(e,`id`)&&ms(e,`title`)&&hs(e,`query`)&&hs(e,`variables`)&&hs(e,`headers`)&&hs(e,`operationName`)&&hs(e,`response`)}function ps(e,t){return t in e&&typeof e[t]==`number`}function ms(e,t){return t in e&&typeof e[t]==`string`}function hs(e,t){return t in e&&(typeof e[t]==`string`||e[t]===null)}function gs({queryEditor:e,variableEditor:t,headerEditor:n,responseEditor:r}){return(0,H.useCallback)(i=>{let a=e?.getValue()??null,o=t?.getValue()??null,s=n?.getValue()??null,c=e?.operationName??null;return xs(i,{query:a,variables:o,headers:s,response:r?.getValue()??null,operationName:c})},[e,t,n,r])}function _s(e,t=!1){return JSON.stringify(e,(e,n)=>e===`hash`||e===`response`||!t&&e===`headers`?null:n)}function vs({shouldPersistHeaders:e}){return(0,H.useCallback)(t=>{let{storage:n}=Ht.getState();Co(500,e=>{n.set(Ds,e)})(_s(t,e))},[e])}function ys({queryEditor:e,variableEditor:t,headerEditor:n,responseEditor:r,defaultHeaders:i}){return(0,H.useCallback)(({query:a,variables:o,headers:s,response:c})=>{e?.setValue(a??``),t?.setValue(o??``),n?.setValue(s??i??``),r?.setValue(c??``)},[n,e,r,t,i])}function bs({query:e=null,variables:t=null,headers:n=null}={}){let r=e?ws(e):null;return{id:Ss(),hash:Cs({query:e,variables:t,headers:n}),title:r||Es,query:e,variables:t,headers:n,operationName:r,response:null}}function xs(e,t){return{...e,tabs:e.tabs.map((n,r)=>{if(r!==e.activeTabIndex)return n;let i={...n,...t};return{...i,hash:Cs(i),title:i.operationName||(i.query?ws(i.query):void 0)||Es}})}}function Ss(){let e=()=>Math.floor((1+Math.random())*65536).toString(16).slice(1);return`${e()}${e()}-${e()}-${e()}-${e()}-${e()}${e()}${e()}`}function Cs(e){return[e.query??``,e.variables??``,e.headers??``].join(`|`)}function ws(e){return/^(?!#).*(query|subscription|mutation)\s+([a-zA-Z0-9_]+)/m.exec(e)?.[2]??null}function Ts(){let{storage:e}=Ht.getState(),t=e.get(Ds);if(t){let n=JSON.parse(t);e.set(Ds,JSON.stringify(n,(e,t)=>e===`headers`?null:t))}}var Es=`<untitled>`,Ds=`tabState`;function Os(){return Qt([V(()=>import(`./hint-CgLNYEQ4.js`),__vite__mapDeps([30,1,17,18,19,20,21,25,0])),V(()=>import(`./lint-D1zgMa6Q.js`),__vite__mapDeps([31,1,0,20])),V(()=>import(`./mode-Cnqgmm2p.js`),__vite__mapDeps([32,1,29,0,16,17,18,19,20,21]))])}var ks=As;function As(e,t){let n=(0,U.c)(17),r;n[0]===e?r=n[1]:(r=e===void 0?{}:e,n[0]=e,n[1]=r);let{editorTheme:i,keyMap:a,onClickReference:o,onEdit:s,readOnly:c}=r,l=i===void 0?Yt:i,u=a===void 0?Xt:a,d=c===void 0?!1:c,f=t||ks,p;n[2]===f?p=n[3]:(p={nonNull:!0,caller:f},n[2]=f,n[3]=p);let{initialVariables:m,variableEditor:h,setVariableEditor:g}=Ls(p),_=Ws(),v=t||ks,y;n[4]===v?y=n[5]:(y={caller:v},n[4]=v,n[5]=y);let b=Fo(y),x=t||ks,S;n[6]===x?S=n[7]:(S={caller:x},n[6]=x,n[7]=S);let C=Lo(S),w=(0,H.useRef)(null),T,E;n[8]!==l||n[9]!==m||n[10]!==d||n[11]!==g?(T=()=>{let e=!0;return Os().then(t=>{if(!e)return;let n=w.current;if(!n)return;let r=t(n,{value:m,lineNumbers:!0,tabSize:2,mode:`graphql-variables`,theme:l,autoCloseBrackets:!0,matchBrackets:!0,showCursorWhenSelecting:!0,readOnly:d?`nocursor`:!1,foldGutter:!0,lint:{variableToType:void 0},hintOptions:{closeOnUnfocus:!1,completeSingle:!1,container:n,variableToType:void 0},gutters:[`CodeMirror-linenumbers`,`CodeMirror-foldgutter`],extraKeys:Zt});r.addKeyMap({"Cmd-Space"(){r.showHint({completeSingle:!1,container:n})},"Ctrl-Space"(){r.showHint({completeSingle:!1,container:n})},"Alt-Space"(){r.showHint({completeSingle:!1,container:n})},"Shift-Space"(){r.showHint({completeSingle:!1,container:n})}}),r.on(`keyup`,js),g(r)}),()=>{e=!1}},E=[l,m,d,g],n[8]=l,n[9]=m,n[10]=d,n[11]=g,n[12]=T,n[13]=E):(T=n[12],E=n[13]),(0,H.useEffect)(T,E),Eo(h,`keyMap`,u),Do(h,s,Ms,`variables`,ks),Oo(h,o);let D;n[14]===Symbol.for(`react.memo_cache_sentinel`)?(D=[`Cmd-Enter`,`Ctrl-Enter`],n[14]=D):D=n[14],ko(h,D,_?.run);let O;n[15]===Symbol.for(`react.memo_cache_sentinel`)?(O=[`Shift-Ctrl-P`],n[15]=O):O=n[15],ko(h,O,C);let k;return n[16]===Symbol.for(`react.memo_cache_sentinel`)?(k=[`Shift-Ctrl-M`],n[16]=k):k=n[16],ko(h,k,b),w}function js(e,t){let{code:n,key:r,shiftKey:i}=t,a=n.startsWith(`Key`),o=!i&&n.startsWith(`Digit`);(a||o||r===`_`||r===`"`)&&e.execCommand(`autocomplete`)}var Ms=`variables`,Ns=`# Welcome to GraphiQL
|
|
18
18
|
#
|
|
19
19
|
# GraphiQL is an in-browser tool for writing, validating, and
|
|
20
20
|
# testing GraphQL queries.
|
|
@@ -47,7 +47,7 @@ import{a as e,o as t,r as n,t as r}from"./chunk-6hGRweTZ.js";import{An as i,At a
|
|
|
47
47
|
|
|
48
48
|
`,G=f(),Ps=Ft(`EditorContext`),Fs=e=>{let t=(0,U.c)(88),n=Gt(),[r,i]=(0,H.useState)(null),[a,o]=(0,H.useState)(null),[s,c]=(0,H.useState)(null),[l,u]=(0,H.useState)(null),d;t[0]!==e.shouldPersistHeaders||t[1]!==n?(d=()=>{let t=n.get(Rs)!==null;return e.shouldPersistHeaders!==!1&&t?n.get(Rs)===`true`:!!e.shouldPersistHeaders},t[0]=e.shouldPersistHeaders,t[1]=n,t[2]=d):d=t[2];let[f,p]=(0,H.useState)(d);To(r,e.headers),To(a,e.query),To(s,e.response),To(l,e.variables);let m;t[3]===f?m=t[4]:(m={shouldPersistHeaders:f},t[3]=f,t[4]=m);let h=vs(m),g;t[5]!==e.defaultHeaders||t[6]!==e.defaultQuery||t[7]!==e.defaultTabs||t[8]!==e.headers||t[9]!==e.query||t[10]!==e.response||t[11]!==e.variables||t[12]!==f||t[13]!==n||t[14]!==h?(g=()=>{let t=e.query??n.get(`query`)??null,r=e.variables??n.get(`variables`)??null,i=e.headers??n.get(`headers`)??null,a=e.response??``,o=us({query:t,variables:r,headers:i,defaultTabs:e.defaultTabs,defaultQuery:e.defaultQuery||Ns,defaultHeaders:e.defaultHeaders,shouldPersistHeaders:f});return h(o),{query:t??(o.activeTabIndex===0?o.tabs[0].query:null)??``,variables:r??``,headers:i??e.defaultHeaders??``,response:a,tabState:o}},t[5]=e.defaultHeaders,t[6]=e.defaultQuery,t[7]=e.defaultTabs,t[8]=e.headers,t[9]=e.query,t[10]=e.response,t[11]=e.variables,t[12]=f,t[13]=n,t[14]=h,t[15]=g):g=t[15];let[_]=(0,H.useState)(g),[v,y]=(0,H.useState)(_.tabState),b;t[16]!==r||t[17]!==n||t[18]!==v?(b=e=>{if(e){n.set(Uo,r?.getValue()??``);let e=_s(v,!0);n.set(Ds,e)}else n.set(Uo,``),Ts();p(e),n.set(Rs,e.toString())},t[16]=r,t[17]=n,t[18]=v,t[19]=b):b=t[19];let x=b,S=(0,H.useRef)(void 0),C,w;t[20]!==e.shouldPersistHeaders||t[21]!==x?(C=()=>{let t=!!e.shouldPersistHeaders;S?.current!==t&&(x(t),S.current=t)},w=[e.shouldPersistHeaders,x],t[20]=e.shouldPersistHeaders,t[21]=x,t[22]=C,t[23]=w):(C=t[22],w=t[23]),(0,H.useEffect)(C,w);let T;t[24]!==r||t[25]!==a||t[26]!==s||t[27]!==l?(T={queryEditor:a,variableEditor:l,headerEditor:r,responseEditor:s},t[24]=r,t[25]=a,t[26]=s,t[27]=l,t[28]=T):T=t[28];let E=gs(T),{onTabChange:D,defaultHeaders:O,defaultQuery:k,children:A}=e,j;t[29]!==O||t[30]!==r||t[31]!==a||t[32]!==s||t[33]!==l?(j={queryEditor:a,variableEditor:l,headerEditor:r,responseEditor:s,defaultHeaders:O},t[29]=O,t[30]=r,t[31]=a,t[32]=s,t[33]=l,t[34]=j):j=t[34];let M=ys(j),N;t[35]!==O||t[36]!==k||t[37]!==D||t[38]!==M||t[39]!==h||t[40]!==E?(N=()=>{y(e=>{let t=E(e),n={tabs:[...t.tabs,bs({headers:O,query:k??Ns})],activeTabIndex:t.tabs.length};return h(n),M(n.tabs[n.activeTabIndex]),D?.(n),n})},t[35]=O,t[36]=k,t[37]=D,t[38]=M,t[39]=h,t[40]=E,t[41]=N):N=t[41];let P=N,F;t[42]!==D||t[43]!==M||t[44]!==h?(F=e=>{y(t=>{let n={...t,activeTabIndex:e};return h(n),M(n.tabs[n.activeTabIndex]),D?.(n),n})},t[42]=D,t[43]=M,t[44]=h,t[45]=F):F=t[45];let I=F,L;t[46]!==D||t[47]!==M||t[48]!==h?(L=e=>{y(t=>{let n=t.tabs[t.activeTabIndex],r={tabs:e,activeTabIndex:e.indexOf(n)};return h(r),M(r.tabs[r.activeTabIndex]),D?.(r),r})},t[46]=D,t[47]=M,t[48]=h,t[49]=L):L=t[49];let ee=L,R;t[50]!==D||t[51]!==M||t[52]!==h?(R=e=>{y(t=>{let n={tabs:t.tabs.filter((t,n)=>e!==n),activeTabIndex:Math.max(t.activeTabIndex-1,0)};return h(n),M(n.tabs[n.activeTabIndex]),D?.(n),n})},t[50]=D,t[51]=M,t[52]=h,t[53]=R):R=t[53];let te=R,z;t[54]!==D||t[55]!==h?(z=e=>{y(t=>{let n=xs(t,e);return h(n),D?.(n),n})},t[54]=D,t[55]=h,t[56]=z):z=t[56];let ne=z,{onEditOperationName:re}=e,ie;t[57]!==re||t[58]!==a||t[59]!==ne?(ie=e=>{a&&(Is(a,e),ne({operationName:e}),re?.(e))},t[57]=re,t[58]=a,t[59]=ne,t[60]=ie):ie=t[60];let ae=ie,oe,se;if(t[61]!==e.externalFragments){if(se=new Map,Array.isArray(e.externalFragments))for(let t of e.externalFragments)se.set(t.name.value,t);else if(typeof e.externalFragments==`string`)Oe(Ve(e.externalFragments,{}),{FragmentDefinition(e){se.set(e.name.value,e)}});else if(e.externalFragments)throw Error("The `externalFragments` prop must either be a string that contains the fragment definitions in SDL or a list of FragmentDefinitionNode objects.");t[61]=e.externalFragments,t[62]=se}else se=t[62];oe=se;let ce=oe,le;t[63]===e.validationRules?le=t[64]:(le=e.validationRules||[],t[63]=e.validationRules,t[64]=le);let ue=le,de;t[65]!==P||t[66]!==I||t[67]!==te||t[68]!==ce||t[69]!==r||t[70]!==_.headers||t[71]!==_.query||t[72]!==_.response||t[73]!==_.variables||t[74]!==ee||t[75]!==a||t[76]!==s||t[77]!==ae||t[78]!==x||t[79]!==f||t[80]!==v||t[81]!==ne||t[82]!==ue||t[83]!==l?(de={...v,addTab:P,changeTab:I,moveTab:ee,closeTab:te,updateActiveTabValues:ne,headerEditor:r,queryEditor:a,responseEditor:s,variableEditor:l,setHeaderEditor:i,setQueryEditor:o,setResponseEditor:c,setVariableEditor:u,setOperationName:ae,initialQuery:_.query,initialVariables:_.variables,initialHeaders:_.headers,initialResponse:_.response,externalFragments:ce,validationRules:ue,shouldPersistHeaders:f,setShouldPersistHeaders:x},t[65]=P,t[66]=I,t[67]=te,t[68]=ce,t[69]=r,t[70]=_.headers,t[71]=_.query,t[72]=_.response,t[73]=_.variables,t[74]=ee,t[75]=a,t[76]=s,t[77]=ae,t[78]=x,t[79]=f,t[80]=v,t[81]=ne,t[82]=ue,t[83]=l,t[84]=de):de=t[84];let fe=de,B;return t[85]!==A||t[86]!==fe?(B=(0,G.jsx)(Ps.Provider,{value:fe,children:A}),t[85]=A,t[86]=fe,t[87]=B):B=t[87],B};function Is(e,t){e.operationName=t}var Ls=It(Ps),Rs=`shouldPersistHeaders`,zs=t(Nt()),Bs=t(Pt()),Vs=Ft(`ExecutionContext`),Hs=e=>{let t=(0,U.c)(26),{fetcher:n,getDefaultFieldNames:r,children:i,operationName:a}=e;if(typeof n!=`function`)throw TypeError("The `ExecutionContextProvider` component requires a `fetcher` function to be passed as prop.");let o;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(o={nonNull:!0,caller:Hs},t[0]=o):o=t[0];let{externalFragments:s,headerEditor:c,queryEditor:l,responseEditor:u,variableEditor:d,updateActiveTabValues:f}=Ls(o),p;t[1]===r?p=t[2]:(p={getDefaultFieldNames:r,caller:Hs},t[1]=r,t[2]=p);let m=Ro(p),[h,g]=(0,H.useState)(!1),[_,v]=(0,H.useState)(null),y=(0,H.useRef)(0),b;t[3]===_?b=t[4]:(b=()=>{_?.unsubscribe(),g(!1),v(null)},t[3]=_,t[4]=b);let x=b,S;t[5]!==m||t[6]!==s||t[7]!==n||t[8]!==c||t[9]!==a||t[10]!==l||t[11]!==u||t[12]!==x||t[13]!==_||t[14]!==f||t[15]!==d?(S=async()=>{if(!l||!u)return;if(_){x();return}let e=e=>{u.setValue(e),f({response:e})};y.current+=1;let t=y.current,r=m()||l.getValue(),i=d?.getValue(),o;try{o=Gs({json:i,errorMessageParse:`Variables are invalid JSON`,errorMessageType:`Variables are not a JSON object.`})}catch(t){let n=t;e(n instanceof Error?n.message:`${n}`);return}let p=c?.getValue(),h;try{h=Gs({json:p,errorMessageParse:`Headers are invalid JSON`,errorMessageType:`Headers are not a JSON object.`})}catch(t){let n=t;e(n instanceof Error?n.message:`${n}`);return}if(s){let e=l.documentAST?Me(l.documentAST,s):[];e.length>0&&(r+=`
|
|
49
49
|
`+e.map(Js).join(`
|
|
50
|
-
`))}e(``),g(!0);let b=a??l.operationName??void 0,S=h??void 0,C=l.documentAST??void 0;try{let i={},a=n=>{if(t!==y.current)return;let r=Array.isArray(n)?n:!1;if(!r&&typeof n==`object`&&n&&`hasNext`in n&&(r=[n]),r){for(let e of r)qs(i,e);g(!1),e(pt(i))}else{let t=pt(n);g(!1),e(t)}},s=await n({query:r,variables:o,operationName:b},{headers:S,documentAST:C});at(s)?v(s.subscribe({next(e){a(e)},error(t){g(!1),t&&e(ft(t)),v(null)},complete(){g(!1),v(null)}})):ot(s)?(v({unsubscribe:()=>{var e;return(e=s[Symbol.asyncIterator]()).return?.call(e)}}),await Us(a,s),g(!1),v(null)):a(s)}catch(t){let n=t;g(!1),e(ft(n)),v(null)}},t[5]=m,t[6]=s,t[7]=n,t[8]=c,t[9]=a,t[10]=l,t[11]=u,t[12]=x,t[13]=_,t[14]=f,t[15]=d,t[16]=S):S=t[16];let C=S,w=!!_,T=a??null,E;t[17]!==h||t[18]!==C||t[19]!==x||t[20]!==w||t[21]!==T?(E={isFetching:h,isSubscribed:w,operationName:T,run:C,stop:x},t[17]=h,t[18]=C,t[19]=x,t[20]=w,t[21]=T,t[22]=E):E=t[22];let D=E,O;return t[23]!==i||t[24]!==D?(O=(0,G.jsx)(Vs.Provider,{value:D,children:i}),t[23]=i,t[24]=D,t[25]=O):O=t[25],O};async function Us(e,t){for await(let n of t)e(n)}var Ws=It(Vs);function Gs({json:e,errorMessageParse:t,errorMessageType:n}){let r;try{r=e&&e.trim()!==``?JSON.parse(e):void 0}catch(e){throw Error(`${t}: ${e instanceof Error?e.message:e}.`)}if(r!==void 0&&!(typeof r==`object`&&r&&!Array.isArray(r)))throw Error(n);return r}var Ks=new WeakMap;function qs(e,t){var n;let r=[`data`,...t.path??[]];for(let n of[e,t])if(n.pending){let t=Ks.get(e);t===void 0&&(t=new Map,Ks.set(e,t));for(let{id:e,path:r}of n.pending)t.set(e,[`data`,...r])}let{items:i}=t;if(i){let{id:n}=t;if(n){if(r=Ks.get(e)?.get(n),r===void 0)throw Error(`Invalid incremental delivery format.`);(0,Bs.default)(e,r.join(`.`)).push(...i)}else{r=[`data`,...t.path??[]];for(let t of i)(0,zs.default)(e,r.join(`.`),t),r[r.length-1]++}}let{data:a}=t;if(a){let{id:n}=t;if(n){if(r=Ks.get(e)?.get(n),r===void 0)throw Error(`Invalid incremental delivery format.`);let{subPath:i}=t;i!==void 0&&(r=[...r,...i])}(0,zs.default)(e,r.join(`.`),a,{merge:!0})}if(t.errors&&(e.errors||=[],e.errors.push(...t.errors)),t.extensions&&(0,zs.default)(e,`extensions`,t.extensions,{merge:!0}),t.incremental)for(let n of t.incremental)qs(e,n);if(t.completed)for(let{id:r,errors:i}of t.completed)(n=Ks.get(e))==null||n.delete(r),i&&(e.errors||=[],e.errors.push(...i))}function Js(e){return he(e)}var Ys=e=>{let t=(0,U.c)(45),{children:n,dangerouslyAssumeSchemaIsValid:r,defaultQuery:i,defaultHeaders:a,defaultTabs:o,externalFragments:s,fetcher:c,getDefaultFieldNames:l,headers:u,inputValueDeprecation:d,introspectionQueryName:f,onEditOperationName:p,onSchemaChange:m,onTabChange:h,onTogglePluginVisibility:g,operationName:_,plugins:v,referencePlugin:y,query:b,response:x,schema:S,schemaDescription:C,shouldPersistHeaders:w,storage:T,validationRules:E,variables:D,visiblePlugin:O}=e,k;t[0]!==a||t[1]!==i||t[2]!==o||t[3]!==s||t[4]!==u||t[5]!==p||t[6]!==h||t[7]!==b||t[8]!==x||t[9]!==w||t[10]!==E||t[11]!==D?(k={defaultQuery:i,defaultHeaders:a,defaultTabs:o,externalFragments:s,headers:u,onEditOperationName:p,onTabChange:h,query:b,response:x,shouldPersistHeaders:w,validationRules:E,variables:D},t[0]=a,t[1]=i,t[2]=o,t[3]=s,t[4]=u,t[5]=p,t[6]=h,t[7]=b,t[8]=x,t[9]=w,t[10]=E,t[11]=D,t[12]=k):k=t[12];let A=k,j;t[13]!==r||t[14]!==c||t[15]!==d||t[16]!==f||t[17]!==m||t[18]!==S||t[19]!==C?(j={dangerouslyAssumeSchemaIsValid:r,fetcher:c,inputValueDeprecation:d,introspectionQueryName:f,onSchemaChange:m,schema:S,schemaDescription:C},t[13]=r,t[14]=c,t[15]=d,t[16]=f,t[17]=m,t[18]=S,t[19]=C,t[20]=j):j=t[20];let M=j,N;t[21]!==c||t[22]!==l||t[23]!==_?(N={getDefaultFieldNames:l,fetcher:c,operationName:_},t[21]=c,t[22]=l,t[23]=_,t[24]=N):N=t[24];let P=N,F;t[25]!==g||t[26]!==v||t[27]!==y||t[28]!==O?(F={onTogglePluginVisibility:g,plugins:v,visiblePlugin:O,referencePlugin:y},t[25]=g,t[26]=v,t[27]=y,t[28]=O,t[29]=F):F=t[29];let I=F,L;t[30]!==n||t[31]!==I?(L=(0,G.jsx)(nn,{...I,children:n}),t[30]=n,t[31]=I,t[32]=L):L=t[32];let ee;t[33]!==P||t[34]!==L?(ee=(0,G.jsx)(Hs,{...P,children:L}),t[33]=P,t[34]=L,t[35]=ee):ee=t[35];let R;t[36]!==M||t[37]!==ee?(R=(0,G.jsx)(on,{...M,children:ee}),t[36]=M,t[37]=ee,t[38]=R):R=t[38];let te;t[39]!==A||t[40]!==R?(te=(0,G.jsx)(Fs,{...A,children:R}),t[39]=A,t[40]=R,t[41]=te):te=t[41];let z;return t[42]!==T||t[43]!==te?(z=(0,G.jsx)(Ut,{storage:T,children:te}),t[42]=T,t[43]=te,t[44]=z):z=t[44],z};function Xs(e){let t=(0,U.c)(11),n=e===void 0?null:e,r=Gt(),i;t[0]!==n||t[1]!==r?(i=()=>{let e=r.get(Zs);switch(e){case`light`:return`light`;case`dark`:return`dark`;default:return typeof e==`string`&&r.set(Zs,``),n}},t[0]=n,t[1]=r,t[2]=i):i=t[2];let[a,o]=(0,H.useState)(i),s,c;t[3]===a?(s=t[4],c=t[5]):(s=()=>{document.body.classList.remove(`graphiql-light`,`graphiql-dark`),a&&document.body.classList.add(`graphiql-${a}`)},c=[a],t[3]=a,t[4]=s,t[5]=c),(0,H.useEffect)(s,c);let l;t[6]===r?l=t[7]:(l=e=>{r.set(Zs,e||``),o(e)},t[6]=r,t[7]=l);let u=l,d;return t[8]!==u||t[9]!==a?(d={theme:a,setTheme:u},t[8]=u,t[9]=a,t[10]=d):d=t[10],d}var Zs=`theme`,Qs=({title:e,titleId:t,...n})=>H.createElement(`svg`,{height:`1em`,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-labelledby":t,...n},e?H.createElement(`title`,{id:t},e):null,H.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}),H.createElement(`rect`,{x:6,y:6,width:2,height:2,rx:1,fill:`currentColor`})),$s=({title:e,titleId:t,...n})=>H.createElement(`svg`,{height:`1em`,viewBox:`0 0 14 9`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-labelledby":t,...n},e?H.createElement(`title`,{id:t},e):null,H.createElement(`path`,{d:`M1 1L7 7L13 1`,stroke:`currentColor`,strokeWidth:1.5})),ec=({title:e,titleId:t,...n})=>H.createElement(`svg`,{height:`1em`,viewBox:`0 0 7 10`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-labelledby":t,...n},e?H.createElement(`title`,{id:t},e):null,H.createElement(`path`,{d:`M6 1.04819L2 5.04819L6 9.04819`,stroke:`currentColor`,strokeWidth:1.75})),tc=({title:e,titleId:t,...n})=>H.createElement(`svg`,{height:`1em`,viewBox:`0 0 14 9`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-labelledby":t,...n},e?H.createElement(`title`,{id:t},e):null,H.createElement(`path`,{d:`M13 8L7 2L1 8`,stroke:`currentColor`,strokeWidth:1.5})),nc=({title:e,titleId:t,...n})=>H.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?H.createElement(`title`,{id:t},e):null,H.createElement(`path`,{d:`M1 1L12.9998 12.9997`}),H.createElement(`path`,{d:`M13 1L1.00079 13.0003`})),rc=({title:e,titleId:t,...n})=>H.createElement(`svg`,{height:`1em`,viewBox:`-2 -2 22 22`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-labelledby":t,...n},e?H.createElement(`title`,{id:t},e):null,H.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}),H.createElement(`rect`,{x:6.75,y:.75,width:10.5,height:10.5,rx:2.2069,stroke:`currentColor`,strokeWidth:1.5})),ic=({title:e,titleId:t,...n})=>H.createElement(`svg`,{height:`1em`,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-labelledby":t,...n},e?H.createElement(`title`,{id:t},e):null,H.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}),H.createElement(`path`,{d:`M5 9L9 5`,stroke:`currentColor`,strokeWidth:1.2}),H.createElement(`path`,{d:`M5 5L9 9`,stroke:`currentColor`,strokeWidth:1.2})),ac=({title:e,titleId:t,...n})=>H.createElement(`svg`,{height:`1em`,viewBox:`0 0 12 12`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-labelledby":t,...n},e?H.createElement(`title`,{id:t},e):null,H.createElement(`path`,{d:`M4 8L8 4`,stroke:`currentColor`,strokeWidth:1.2}),H.createElement(`path`,{d:`M4 4L8 8`,stroke:`currentColor`,strokeWidth:1.2}),H.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`})),oc=({title:e,titleId:t,...n})=>H.createElement(`svg`,{height:`1em`,viewBox:`0 0 12 12`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-labelledby":t,...n},e?H.createElement(`title`,{id:t},e):null,H.createElement(`rect`,{x:.6,y:.6,width:10.8,height:10.8,rx:3.4,stroke:`currentColor`,strokeWidth:1.2}),H.createElement(`path`,{d:`M4 8L8 4`,stroke:`currentColor`,strokeWidth:1.2}),H.createElement(`path`,{d:`M4 4L8 8`,stroke:`currentColor`,strokeWidth:1.2})),sc=({title:e,titleId:t,...n})=>H.createElement(`svg`,{height:`1em`,viewBox:`0 0.5 12 12`,xmlns:`http://www.w3.org/2000/svg`,"aria-labelledby":t,...n},e?H.createElement(`title`,{id:t},e):null,H.createElement(`rect`,{x:7,y:5.5,width:2,height:2,rx:1,transform:`rotate(90 7 5.5)`,fill:`currentColor`}),H.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`})),cc=({title:e,titleId:t,...n})=>H.createElement(`svg`,{height:`1em`,viewBox:`0 0 20 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-labelledby":t,...n},e?H.createElement(`title`,{id:t},e):null,H.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}),H.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}),H.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`})),lc=({title:e,titleId:t,...n})=>H.createElement(`svg`,{height:`1em`,viewBox:`0 0 20 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-labelledby":t,...n},e?H.createElement(`title`,{id:t},e):null,H.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}),H.createElement(`line`,{x1:13,y1:11.75,x2:6,y2:11.75,stroke:`currentColor`,strokeWidth:1.5})),uc=({title:e,titleId:t,...n})=>H.createElement(`svg`,{height:`1em`,viewBox:`0 0 12 12`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-labelledby":t,...n},e?H.createElement(`title`,{id:t},e):null,H.createElement(`rect`,{x:5,y:5,width:2,height:2,rx:1,fill:`currentColor`}),H.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`})),dc=({title:e,titleId:t,...n})=>H.createElement(`svg`,{height:`1em`,viewBox:`0 0 12 13`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-labelledby":t,...n},e?H.createElement(`title`,{id:t},e):null,H.createElement(`rect`,{x:.6,y:1.1,width:10.8,height:10.8,rx:2.4,stroke:`currentColor`,strokeWidth:1.2}),H.createElement(`rect`,{x:5,y:5.5,width:2,height:2,rx:1,fill:`currentColor`})),fc=({title:e,titleId:t,...n})=>H.createElement(`svg`,{height:`1em`,viewBox:`0 0 24 20`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-labelledby":t,...n},e?H.createElement(`title`,{id:t},e):null,H.createElement(`path`,{d:`M1.59375 9.52344L4.87259 12.9944L8.07872 9.41249`,stroke:`currentColor`,strokeWidth:1.5,strokeLinecap:`square`}),H.createElement(`path`,{d:`M13.75 5.25V10.75H18.75`,stroke:`currentColor`,strokeWidth:1.5,strokeLinecap:`square`}),H.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})),pc=({title:e,titleId:t,...n})=>H.createElement(`svg`,{height:`1em`,viewBox:`0 0 12 12`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-labelledby":t,...n},e?H.createElement(`title`,{id:t},e):null,H.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)`}),H.createElement(`circle`,{cx:6,cy:6,r:1,fill:`currentColor`})),mc=({title:e,titleId:t,...n})=>H.createElement(`svg`,{height:`1em`,viewBox:`0 0 19 18`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-labelledby":t,...n},e?H.createElement(`title`,{id:t},e):null,H.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`}),H.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`}),H.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`}),H.createElement(`path`,{d:`M12.6318 5.86775H6.36955V12.1285H12.6318V5.86775Z`,stroke:`currentColor`,strokeWidth:1.125,strokeLinecap:`round`,strokeLinejoin:`round`}),H.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`})),hc=({title:e,titleId:t,...n})=>H.createElement(`svg`,{height:`1em`,viewBox:`0 0 13 13`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-labelledby":t,...n},e?H.createElement(`title`,{id:t},e):null,H.createElement(`circle`,{cx:5,cy:5,r:4.35,stroke:`currentColor`,strokeWidth:1.3}),H.createElement(`line`,{x1:8.45962,y1:8.54038,x2:11.7525,y2:11.8333,stroke:`currentColor`,strokeWidth:1.3})),gc=({title:e,titleId:t,...n})=>H.createElement(`svg`,{height:`1em`,viewBox:`-2 -2 22 22`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-labelledby":t,...n},e?H.createElement(`title`,{id:t},e):null,H.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}),H.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}),H.createElement(`path`,{d:`M6 4.5L9 7.5L12 4.5`,stroke:`currentColor`,strokeWidth:1.5}),H.createElement(`path`,{d:`M12 13.5L9 10.5L6 13.5`,stroke:`currentColor`,strokeWidth:1.5})),_c=({title:e,titleId:t,...n})=>H.createElement(`svg`,{height:`1em`,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-labelledby":t,...n},e?H.createElement(`title`,{id:t},e):null,H.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`}),H.createElement(`path`,{d:`M11.5 4.5L9.5 2.5`,stroke:`currentColor`,strokeWidth:1.4026,strokeLinecap:`round`,strokeLinejoin:`round`}),H.createElement(`path`,{d:`M5.5 10.5L3.5 8.5`,stroke:`currentColor`,strokeWidth:1.4026,strokeLinecap:`round`,strokeLinejoin:`round`})),vc=({title:e,titleId:t,...n})=>H.createElement(`svg`,{height:`1em`,viewBox:`0 0 16 18`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-labelledby":t,...n},e?H.createElement(`title`,{id:t},e):null,H.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`})),yc=({title:e,titleId:t,...n})=>H.createElement(`svg`,{height:`1em`,viewBox:`0 0 10 16`,fill:`currentColor`,xmlns:`http://www.w3.org/2000/svg`,"aria-labelledby":t,...n},e?H.createElement(`title`,{id:t},e):null,H.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`})),bc=({title:e,titleId:t,...n})=>H.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?H.createElement(`title`,{id:t},e):null,H.createElement(`path`,{d:`M10.2852 24.0745L13.7139 18.0742`,stroke:`currentColor`,strokeWidth:1.5625}),H.createElement(`path`,{d:`M14.5742 24.0749L17.1457 19.7891`,stroke:`currentColor`,strokeWidth:1.5625}),H.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}),H.createElement(`path`,{d:`M4 15L5 13L7 12L5 11L4 9L3 11L1 12L3 13L4 15Z`,stroke:`currentColor`,strokeWidth:1.5625,strokeLinejoin:`round`}),H.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`})),xc=({title:e,titleId:t,...n})=>H.createElement(`svg`,{height:`1em`,viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-labelledby":t,...n},e?H.createElement(`title`,{id:t},e):null,H.createElement(`path`,{d:`M4.75 9.25H1.25V12.75`,stroke:`currentColor`,strokeWidth:1,strokeLinecap:`square`}),H.createElement(`path`,{d:`M11.25 6.75H14.75V3.25`,stroke:`currentColor`,strokeWidth:1,strokeLinecap:`square`}),H.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}),H.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})),Sc=({title:e,titleId:t,...n})=>H.createElement(`svg`,{height:`1em`,viewBox:`0 0 13 13`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-labelledby":t,...n},e?H.createElement(`title`,{id:t},e):null,H.createElement(`rect`,{x:.6,y:.6,width:11.8,height:11.8,rx:5.9,stroke:`currentColor`,strokeWidth:1.2}),H.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})),Cc=({title:e,titleId:t,...n})=>H.createElement(`svg`,{height:`1em`,viewBox:`0 0 21 20`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-labelledby":t,...n},e?H.createElement(`title`,{id:t},e):null,H.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`})),wc=({title:e,titleId:t,...n})=>H.createElement(`svg`,{height:`1em`,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-labelledby":t,...n},e?H.createElement(`title`,{id:t},e):null,H.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`})),Tc=({title:e,titleId:t,...n})=>H.createElement(`svg`,{height:`1em`,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-labelledby":t,...n},e?H.createElement(`title`,{id:t},e):null,H.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})),Ec=({title:e,titleId:t,...n})=>H.createElement(`svg`,{height:`1em`,viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-labelledby":t,...n},e?H.createElement(`title`,{id:t},e):null,H.createElement(`rect`,{width:16,height:16,rx:2,fill:`currentColor`})),Dc=({title:e,titleId:t,...n})=>H.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?H.createElement(`title`,{id:t},e):null,H.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`})),Oc=({title:e,titleId:t,...n})=>H.createElement(`svg`,{height:`1em`,viewBox:`0 0 13 13`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-labelledby":t,...n},e?H.createElement(`title`,{id:t},e):null,H.createElement(`rect`,{x:.6,y:.6,width:11.8,height:11.8,rx:5.9,stroke:`currentColor`,strokeWidth:1.2}),H.createElement(`rect`,{x:5.5,y:5.5,width:2,height:2,rx:1,fill:`currentColor`})),kc=K(Qs),Ac=K($s),jc=K(ec),Mc=K(tc),Nc=K(nc),Pc=K(rc),Fc=K(ic),Ic=K(ac),Lc=K(oc),Rc=K(sc),zc=K(cc),Bc=K(lc),Vc=K(uc),Hc=K(dc),Uc=K(fc),Wc=K(pc),Gc=K(mc),Kc=K(hc),qc=K(gc),Jc=K(_c),Yc=K(vc),Xc=K(yc),Zc=K(bc),Qc=K(xc),$c=K(Sc),el=K(Cc),tl=K(wc),nl=K(Tc),rl=K(Ec),il=K(Dc),al=K(Oc);function K(e){let t=e.name.replace(`Svg`,``).replaceAll(/([A-Z])/g,` $1`).trimStart().toLowerCase()+` icon`,n=n=>{let r=(0,U.c)(2),i;return r[0]===n?i=r[1]:(i=(0,G.jsx)(e,{title:t,...n}),r[0]=n,r[1]=i),i};return n.displayName=e.name,n}function ol(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=ol(e[t]))&&(r&&(r+=` `),r+=n);else for(t in e)e[t]&&(r&&(r+=` `),r+=t);return r}function q(){for(var e,t,n=0,r=``;n<arguments.length;)(e=arguments[n++])&&(t=ol(e))&&(r&&(r+=` `),r+=t);return r}var sl=e=>{let t=(0,U.c)(13),n,r;t[0]===e?(n=t[1],r=t[2]):({isHidden:r,...n}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(i={nonNull:!0,caller:sl},t[3]=i):i=t[3];let{headerEditor:a}=Ls(i),o=Vo(n,sl),s,c;t[4]!==a||t[5]!==r?(s=()=>{r||a?.refresh()},c=[a,r],t[4]=a,t[5]=r,t[6]=s,t[7]=c):(s=t[6],c=t[7]),(0,H.useEffect)(s,c);let l=r&&`hidden`,u;t[8]===l?u=t[9]:(u=q(`graphiql-editor`,l),t[8]=l,t[9]=u);let d;return t[10]!==o||t[11]!==u?(d=(0,G.jsx)(`div`,{className:u,ref:o}),t[10]=o,t[11]=u,t[12]=d):d=t[12],d},cl=Object.assign(e=>{let t=(0,U.c)(14),n;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(n={width:null,height:null},t[0]=n):n=t[0];let[r,i]=(0,H.useState)(n),[a,o]=(0,H.useState)(null),s=(0,H.useRef)(null),c=ll(e.token)?.href,l,u;t[1]===c?(l=t[2],u=t[3]):(l=()=>{if(s.current){if(!c){i({width:null,height:null}),o(null);return}fetch(c,{method:`HEAD`}).then(e=>{o(e.headers.get(`Content-Type`))}).catch(()=>{o(null)})}},u=[c],t[1]=c,t[2]=l,t[3]=u),(0,H.useEffect)(l,u);let d;t[4]!==r.height||t[5]!==r.width||t[6]!==a?(d=r.width!==null&&r.height!==null?(0,G.jsxs)(`div`,{children:[r.width,`x`,r.height,a===null?null:` `+a]}):null,t[4]=r.height,t[5]=r.width,t[6]=a,t[7]=d):d=t[7];let f=d,p;t[8]===Symbol.for(`react.memo_cache_sentinel`)?(p=()=>{i({width:s.current?.naturalWidth??null,height:s.current?.naturalHeight??null})},t[8]=p):p=t[8];let m;t[9]===c?m=t[10]:(m=(0,G.jsx)(`img`,{onLoad:p,ref:s,src:c}),t[9]=c,t[10]=m);let h;return t[11]!==f||t[12]!==m?(h=(0,G.jsxs)(`div`,{children:[m,f]}),t[11]=f,t[12]=m,t[13]=h):h=t[13],h},{shouldRender(e){let t=ll(e);return t?ul(t):!1}});function ll(e){if(e.type!==`string`)return;let t=e.string.slice(1).slice(0,-1).trim();try{return new URL(t,location.protocol+`//`+location.host)}catch{}}function ul(e){return/\.(bmp|gif|jpe?g|png|svg|webp)$/.test(e.pathname)}var dl=e=>{let t=(0,U.c)(2),n=$o(e,dl),r;return t[0]===n?r=t[1]:(r=(0,G.jsx)(`div`,{className:`graphiql-editor`,ref:n}),t[0]=n,t[1]=r),r},fl=Re();function pl(){return Qt([V(()=>import(`./foldgutter-nI1fUyS5.js`).then(e=>t(e.default)),__vite__mapDeps([6,1,0])),V(()=>import(`./brace-fold-zcgUhfJP.js`).then(e=>t(e.default)),__vite__mapDeps([5,1,0])),V(()=>import(`./dialog-BCFM5Ua8.js`).then(e=>t(e.default)),__vite__mapDeps([10,1,0])),V(()=>import(`./search-B5lzXui6.js`).then(e=>t(e.default)),__vite__mapDeps([14,1,10,0,8])),V(()=>import(`./searchcursor-Ccp0pHab.js`).then(e=>t(e.default)),__vite__mapDeps([8,1,0])),V(()=>import(`./jump-to-line-B0d3q3MR.js`).then(e=>t(e.default)),__vite__mapDeps([9,1,10,0])),V(()=>import(`./sublime-CnmrqOqk.js`).then(e=>t(e.default)),__vite__mapDeps([11,1,3,0,8])),V(()=>import(`./mode-BNHf6m3w.js`),__vite__mapDeps([33,1,29,0,16,17,18,19,20,21])),V(()=>import(`./info-addon-DQRIr3kJ.js`),__vite__mapDeps([26,1,0]))],{useCommonAddons:!1})}var ml=hl;function hl(e,t){let n=(0,U.c)(17),r;n[0]===e?r=n[1]:(r=e===void 0?{}:e,n[0]=e,n[1]=r);let{responseTooltip:i,editorTheme:a,keyMap:o}=r,s=a===void 0?Yt:a,c=o===void 0?Xt:o,{fetchError:l,validationErrors:u}=sn(),d=t||ml,f;n[2]===d?f=n[3]:(f={nonNull:!0,caller:d},n[2]=d,n[3]=f);let{initialResponse:p,responseEditor:m,setResponseEditor:h}=Ls(f),g=(0,H.useRef)(null),_=(0,H.useRef)(i),v,y;n[4]===i?(v=n[5],y=n[6]):(v=()=>{_.current=i},y=[i],n[4]=i,n[5]=v,n[6]=y),(0,H.useEffect)(v,y);let b,x;n[7]!==s||n[8]!==p||n[9]!==h?(b=()=>{let e=!0;return pl().then(t=>{if(!e)return;let n=document.createElement(`div`),r=(0,fl.createRoot)(n);t.registerHelper(`info`,`graphql-results`,(e,t,i,a)=>{let o=_.current,s=[o&&(0,G.jsx)(o,{pos:a,token:e}),cl.shouldRender(e)&&(0,G.jsx)(cl,{token:e},`image-preview`)].filter(gl);if(s.length)return r.render(s),n;r.unmount()});let i=g.current;i&&h(t(i,{value:p,lineWrapping:!0,readOnly:!0,theme:s,mode:`graphql-results`,foldGutter:!0,gutters:[`CodeMirror-foldgutter`],info:!0,extraKeys:Zt}))}),()=>{e=!1}},x=[s,p,h],n[7]=s,n[8]=p,n[9]=h,n[10]=b,n[11]=x):(b=n[10],x=n[11]),(0,H.useEffect)(b,x),Eo(m,`keyMap`,c);let S,C;return n[12]!==l||n[13]!==m||n[14]!==u?(S=()=>{l&&m?.setValue(l),u.length&&m?.setValue(ft(u))},C=[m,l,u],n[12]=l,n[13]=m,n[14]=u,n[15]=S,n[16]=C):(S=n[15],C=n[16]),(0,H.useEffect)(S,C),g}function gl(e){return!!e}var _l=e=>{let t=(0,U.c)(2),n=hl(e,_l),r;return t[0]===n?r=t[1]:(r=(0,G.jsx)(`section`,{className:`result-window`,"aria-label":`Result Window`,"aria-live":`polite`,"aria-atomic":`true`,ref:n}),t[0]=n,t[1]=r),r},vl=e=>{let t=(0,U.c)(13),n,r;t[0]===e?(n=t[1],r=t[2]):({isHidden:r,...n}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(i={nonNull:!0,caller:vl},t[3]=i):i=t[3];let{variableEditor:a}=Ls(i),o=As(n,vl),s,c;t[4]!==r||t[5]!==a?(s=()=>{r||a?.refresh()},c=[a,r],t[4]=r,t[5]=a,t[6]=s,t[7]=c):(s=t[6],c=t[7]),(0,H.useEffect)(s,c);let l=r&&`hidden`,u;t[8]===l?u=t[9]:(u=q(`graphiql-editor`,l),t[8]=l,t[9]=u);let d;return t[10]!==o||t[11]!==u?(d=(0,G.jsx)(`div`,{className:u,ref:o}),t[10]=o,t[11]=u,t[12]=d):d=t[12],d};function yl(e){let t=(0,U.c)(31),{defaultSizeRelation:n,direction:r,initiallyHidden:i,onHiddenElementChange:a,sizeThresholdFirst:o,sizeThresholdSecond:s,storageKey:c}=e,l=n===void 0?1:n,u=o===void 0?100:o,d=s===void 0?100:s,f=Gt(),p;t[0]!==f||t[1]!==c?(p=Co(500,e=>{c&&f.set(c,e)}),t[0]=f,t[1]=c,t[2]=p):p=t[2];let m=p,h;t[3]!==i||t[4]!==f||t[5]!==c?(h=()=>{let e=c&&f.get(c);return e===bl||i===`first`?`first`:e===xl||i===`second`?`second`:null},t[3]=i,t[4]=f,t[5]=c,t[6]=h):h=t[6];let[g,_]=(0,H.useState)(h),v;t[7]!==g||t[8]!==a?(v=e=>{e!==g&&(_(e),a?.(e))},t[7]=g,t[8]=a,t[9]=v):v=t[9];let y=v,b=(0,H.useRef)(null),x=(0,H.useRef)(null),S=(0,H.useRef)(null),C=(0,H.useRef)(`${l}`),w;t[10]!==f||t[11]!==c?(w=()=>{let e=c&&f.get(c)||C.current;b.current&&(b.current.style.flex=e===bl||e===xl?C.current:e),S.current&&(S.current.style.flex=`1`)},t[10]=f,t[11]=c,t[12]=w):w=t[12];let T;t[13]!==r||t[14]!==f||t[15]!==c?(T=[r,f,c],t[13]=r,t[14]=f,t[15]=c,t[16]=T):T=t[16],(0,H.useEffect)(w,T);let E,D;t[17]!==g||t[18]!==f||t[19]!==c?(D=()=>{let e=e=>{let t=e===`first`?b.current:S.current;if(t&&(t.style.left=`-1000px`,t.style.position=`absolute`,t.style.opacity=`0`,t.style.height=`500px`,t.style.width=`500px`,b.current)){let e=parseFloat(b.current.style.flex);(!Number.isFinite(e)||e<1)&&(b.current.style.flex=`1`)}},t=e=>{let t=e===`first`?b.current:S.current;if(t&&(t.style.width=``,t.style.height=``,t.style.opacity=``,t.style.position=``,t.style.left=``,c)){let e=f.get(c);b.current&&e!==bl&&e!==xl&&(b.current.style.flex=e||C.current)}};g===`first`?e(`first`):t(`first`),g===`second`?e(`second`):t(`second`)},E=[g,f,c],t[17]=g,t[18]=f,t[19]=c,t[20]=E,t[21]=D):(E=t[20],D=t[21]),(0,H.useEffect)(D,E);let O,k;t[22]!==r||t[23]!==y||t[24]!==u||t[25]!==d||t[26]!==m?(O=()=>{if(!x.current||!b.current||!S.current)return;let e=x.current,t=b.current,n=t.parentElement,i=r===`horizontal`?`clientX`:`clientY`,a=r===`horizontal`?`left`:`top`,o=r===`horizontal`?`right`:`bottom`,s=r===`horizontal`?`clientWidth`:`clientHeight`,c=function(r){if(r.target!==r.currentTarget)return;r.preventDefault();let c=r[i]-e.getBoundingClientRect()[a],l=function(r){if(r.buttons===0)return f();let l=r[i]-n.getBoundingClientRect()[a]-c,p=n.getBoundingClientRect()[o]-r[i]+c-e[s];if(l<u)y(`first`),m(bl);else if(p<d)y(`second`),m(xl);else{y(null);let e=`${l/p}`;t.style.flex=e,m(e)}};function f(){document.removeEventListener(`mousemove`,l),document.removeEventListener(`mouseup`,f)}document.addEventListener(`mousemove`,l),document.addEventListener(`mouseup`,f)};e.addEventListener(`mousedown`,c);let l=function(){b.current&&(b.current.style.flex=C.current),m(C.current),y(null)};return e.addEventListener(`dblclick`,l),()=>{e.removeEventListener(`mousedown`,c),e.removeEventListener(`dblclick`,l)}},k=[r,y,u,d,m],t[22]=r,t[23]=y,t[24]=u,t[25]=d,t[26]=m,t[27]=O,t[28]=k):(O=t[27],k=t[28]),(0,H.useEffect)(O,k);let A;return t[29]===g?A=t[30]:(A={dragBarRef:x,hiddenElement:g,firstRef:b,setHiddenElement:_,secondRef:S},t[29]=g,t[30]=A),A}var bl=`hide-first`,xl=`hide-second`,Sl=(0,H.forwardRef)((e,t)=>{let n=(0,U.c)(6),r;n[0]===e.className?r=n[1]:(r=q(`graphiql-un-styled`,e.className),n[0]=e.className,n[1]=r);let i;return n[2]!==e||n[3]!==t||n[4]!==r?(i=(0,G.jsx)(`button`,{...e,ref:t,className:r}),n[2]=e,n[3]=t,n[4]=r,n[5]=i):i=n[5],i});Sl.displayName=`UnStyledButton`;var Cl=(0,H.forwardRef)((e,t)=>{let n=(0,U.c)(7),r;n[0]!==e.className||n[1]!==e.state?(r=q(`graphiql-button`,{success:`graphiql-button-success`,error:`graphiql-button-error`}[e.state],e.className),n[0]=e.className,n[1]=e.state,n[2]=r):r=n[2];let i;return n[3]!==e||n[4]!==t||n[5]!==r?(i=(0,G.jsx)(`button`,{...e,ref:t,className:r}),n[3]=e,n[4]=t,n[5]=r,n[6]=i):i=n[6],i});Cl.displayName=`Button`;var wl=(0,H.forwardRef)((e,t)=>{let n=(0,U.c)(6),r;n[0]===e.className?r=n[1]:(r=q(`graphiql-button-group`,e.className),n[0]=e.className,n[1]=r);let i;return n[2]!==e||n[3]!==t||n[4]!==r?(i=(0,G.jsx)(`div`,{...e,ref:t,className:r}),n[2]=e,n[3]=t,n[4]=r,n[5]=i):i=n[5],i});wl.displayName=`ButtonGroup`;var Tl=Symbol.for(`react.lazy`),El=H.use;function Dl(e){return typeof e==`object`&&!!e&&`then`in e}function Ol(e){return typeof e==`object`&&!!e&&`$$typeof`in e&&e.$$typeof===Tl&&`_payload`in e&&Dl(e._payload)}function kl(e){let t=Al(e),n=H.forwardRef((e,n)=>{let{children:r,...i}=e;Ol(r)&&typeof El==`function`&&(r=El(r._payload));let a=H.Children.toArray(r),o=a.find(Ml);if(o){let e=o.props.children,r=a.map(t=>t===o?H.Children.count(e)>1?H.Children.only(null):H.isValidElement(e)?e.props.children:null:t);return(0,G.jsx)(t,{...i,ref:n,children:H.isValidElement(e)?H.cloneElement(e,void 0,r):null})}return(0,G.jsx)(t,{...i,ref:n,children:r})});return n.displayName=`${e}.Slot`,n}function Al(e){let t=H.forwardRef((e,t)=>{let{children:n,...r}=e;if(Ol(n)&&typeof El==`function`&&(n=El(n._payload)),H.isValidElement(n)){let e=Pl(n),i=Nl(r,n.props);return n.type!==H.Fragment&&(i.ref=t?p(t,e):e),H.cloneElement(n,i)}return H.Children.count(n)>1?H.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var jl=Symbol(`radix.slottable`);function Ml(e){return H.isValidElement(e)&&typeof e.type==`function`&&`__radixId`in e.type&&e.type.__radixId===jl}function Nl(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):r===`style`?n[r]={...i,...a}:r===`className`&&(n[r]=[i,a].filter(Boolean).join(` `))}return{...e,...n}}function Pl(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var Fl=t(P(),1),Il=[`a`,`button`,`div`,`form`,`h2`,`h3`,`img`,`input`,`label`,`li`,`nav`,`ol`,`p`,`select`,`span`,`svg`,`ul`].reduce((e,t)=>{let n=kl(`Primitive.${t}`),r=H.forwardRef((e,r)=>{let{asChild:i,...a}=e,o=i?n:t;return typeof window<`u`&&(window[Symbol.for(`radix-ui`)]=!0),(0,G.jsx)(o,{...a,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),Ll=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`}),Rl=`VisuallyHidden`,zl=H.forwardRef((e,t)=>(0,G.jsx)(Il.span,{...e,ref:t,style:{...Ll,...e.style}}));zl.displayName=Rl;var Bl=zl,Vl=(0,H.forwardRef)((e,t)=>{let n=(0,U.c)(8),r;n[0]===e.className?r=n[1]:(r=q(`graphiql-dialog-close`,e.className),n[0]=e.className,n[1]=r);let i,a;n[2]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,G.jsx)(Bl,{children:`Close dialog`}),a=(0,G.jsx)(Nc,{}),n[2]=i,n[3]=a):(i=n[2],a=n[3]);let o;return n[4]!==e||n[5]!==t||n[6]!==r?(o=(0,G.jsx)(se,{asChild:!0,children:(0,G.jsxs)(Sl,{...e,ref:t,type:`button`,className:r,children:[i,a]})}),n[4]=e,n[5]=t,n[6]=r,n[7]=o):o=n[7],o});Vl.displayName=`Dialog.Close`;var Hl=Object.assign(e=>{let t=(0,U.c)(9),n,r;t[0]===e?(n=t[1],r=t[2]):({children:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,G.jsx)(ue,{className:`graphiql-dialog-overlay`}),t[3]=i):i=t[3];let a;t[4]===n?a=t[5]:(a=(0,G.jsxs)(S,{children:[i,(0,G.jsx)(fe,{className:`graphiql-dialog`,children:n})]}),t[4]=n,t[5]=a);let o;return t[6]!==r||t[7]!==a?(o=(0,G.jsx)(s,{...r,children:a}),t[6]=r,t[7]=a,t[8]=o):o=t[8],o},{Close:Vl,Title:le,Trigger:C,Description:O}),Ul=`rovingFocusGroup.onEntryFocus`,Wl={bubbles:!1,cancelable:!0},Gl=`RovingFocusGroup`,[Kl,ql,Jl]=ie(Gl),[Yl,Xl]=c(Gl,[Jl]),[Zl,Ql]=Yl(Gl),$l=H.forwardRef((e,t)=>(0,G.jsx)(Kl.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,G.jsx)(Kl.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,G.jsx)(eu,{...e,ref:t})})}));$l.displayName=Gl;var eu=H.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:n,orientation:r,loop:a=!1,dir:o,currentTabStopId:s,defaultCurrentTabStopId:c,onCurrentTabStopIdChange:l,onEntryFocus:u,preventScrollOnEntryFocus:d=!1,...f}=e,p=H.useRef(null),m=b(t,p),h=z(o),[g,v]=L({prop:s,defaultProp:c??null,onChange:l,caller:Gl}),[y,x]=H.useState(!1),S=i(u),C=ql(n),w=H.useRef(!1),[T,E]=H.useState(0);return H.useEffect(()=>{let e=p.current;if(e)return e.addEventListener(Ul,S),()=>e.removeEventListener(Ul,S)},[S]),(0,G.jsx)(Zl,{scope:n,orientation:r,dir:h,loop:a,currentTabStopId:g,onItemFocus:H.useCallback(e=>v(e),[v]),onItemShiftTab:H.useCallback(()=>x(!0),[]),onFocusableItemAdd:H.useCallback(()=>E(e=>e+1),[]),onFocusableItemRemove:H.useCallback(()=>E(e=>e-1),[]),children:(0,G.jsx)(_.div,{tabIndex:y||T===0?-1:0,"data-orientation":r,...f,ref:m,style:{outline:`none`,...e.style},onMouseDown:B(e.onMouseDown,()=>{w.current=!0}),onFocus:B(e.onFocus,e=>{let t=!w.current;if(e.target===e.currentTarget&&t&&!y){let t=new CustomEvent(Ul,Wl);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=C().filter(e=>e.focusable);ou([e.find(e=>e.active),e.find(e=>e.id===g),...e].filter(Boolean).map(e=>e.ref.current),d)}}w.current=!1}),onBlur:B(e.onBlur,()=>x(!1))})})}),tu=`RovingFocusGroupItem`,nu=H.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:n,focusable:r=!0,active:i=!1,tabStopId:a,children:o,...s}=e,c=x(),l=a||c,u=Ql(tu,n),d=u.currentTabStopId===l,f=ql(n),{onFocusableItemAdd:p,onFocusableItemRemove:m,currentTabStopId:h}=u;return H.useEffect(()=>{if(r)return p(),()=>m()},[r,p,m]),(0,G.jsx)(Kl.ItemSlot,{scope:n,id:l,focusable:r,active:i,children:(0,G.jsx)(_.span,{tabIndex:d?0:-1,"data-orientation":u.orientation,...s,ref:t,onMouseDown:B(e.onMouseDown,e=>{r?u.onItemFocus(l):e.preventDefault()}),onFocus:B(e.onFocus,()=>u.onItemFocus(l)),onKeyDown:B(e.onKeyDown,e=>{if(e.key===`Tab`&&e.shiftKey){u.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let t=au(e,u.orientation,u.dir);if(t!==void 0){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let n=f().filter(e=>e.focusable).map(e=>e.ref.current);if(t===`last`)n.reverse();else if(t===`prev`||t===`next`){t===`prev`&&n.reverse();let r=n.indexOf(e.currentTarget);n=u.loop?su(n,r+1):n.slice(r+1)}setTimeout(()=>ou(n))}}),children:typeof o==`function`?o({isCurrentTabStop:d,hasTabStop:h!=null}):o})})});nu.displayName=tu;var ru={ArrowLeft:`prev`,ArrowUp:`prev`,ArrowRight:`next`,ArrowDown:`next`,PageUp:`first`,Home:`first`,PageDown:`last`,End:`last`};function iu(e,t){return t===`rtl`?e===`ArrowLeft`?`ArrowRight`:e===`ArrowRight`?`ArrowLeft`:e:e}function au(e,t,n){let r=iu(e.key,n);if(!(t===`vertical`&&[`ArrowLeft`,`ArrowRight`].includes(r))&&!(t===`horizontal`&&[`ArrowUp`,`ArrowDown`].includes(r)))return ru[r]}function ou(e,t=!1){let n=document.activeElement;for(let r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}function su(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var cu=$l,lu=nu,uu=[`Enter`,` `],du=[`ArrowDown`,`PageUp`,`Home`],fu=[`ArrowUp`,`PageDown`,`End`],pu=[...du,...fu],mu={ltr:[...uu,`ArrowRight`],rtl:[...uu,`ArrowLeft`]},hu={ltr:[`ArrowLeft`],rtl:[`ArrowRight`]},gu=`Menu`,[_u,vu,yu]=ie(gu),[bu,xu]=c(gu,[yu,j,Xl]),Su=j(),Cu=Xl(),[wu,Tu]=bu(gu),[Eu,Du]=bu(gu),Ou=e=>{let{__scopeMenu:t,open:n=!1,children:r,dir:a,onOpenChange:o,modal:s=!0}=e,c=Su(t),[l,u]=H.useState(null),d=H.useRef(!1),f=i(o),p=z(a);return H.useEffect(()=>{let e=()=>{d.current=!0,document.addEventListener(`pointerdown`,t,{capture:!0,once:!0}),document.addEventListener(`pointermove`,t,{capture:!0,once:!0})},t=()=>d.current=!1;return document.addEventListener(`keydown`,e,{capture:!0}),()=>{document.removeEventListener(`keydown`,e,{capture:!0}),document.removeEventListener(`pointerdown`,t,{capture:!0}),document.removeEventListener(`pointermove`,t,{capture:!0})}},[]),(0,G.jsx)(A,{...c,children:(0,G.jsx)(wu,{scope:t,open:n,onOpenChange:f,content:l,onContentChange:u,children:(0,G.jsx)(Eu,{scope:t,onClose:H.useCallback(()=>f(!1),[f]),isUsingKeyboardRef:d,dir:p,modal:s,children:r})})})};Ou.displayName=gu;var ku=`MenuAnchor`,Au=H.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e,i=Su(n);return(0,G.jsx)(k,{...i,...r,ref:t})});Au.displayName=ku;var ju=`MenuPortal`,[Mu,Nu]=bu(ju,{forceMount:void 0}),Pu=e=>{let{__scopeMenu:t,forceMount:n,children:r,container:i}=e,a=Tu(ju,t);return(0,G.jsx)(Mu,{scope:t,forceMount:n,children:(0,G.jsx)(I,{present:n||a.open,children:(0,G.jsx)(h,{asChild:!0,container:i,children:r})})})};Pu.displayName=ju;var Fu=`MenuContent`,[Iu,Lu]=bu(Fu),Ru=H.forwardRef((e,t)=>{let n=Nu(Fu,e.__scopeMenu),{forceMount:r=n.forceMount,...i}=e,a=Tu(Fu,e.__scopeMenu),o=Du(Fu,e.__scopeMenu);return(0,G.jsx)(_u.Provider,{scope:e.__scopeMenu,children:(0,G.jsx)(I,{present:r||a.open,children:(0,G.jsx)(_u.Slot,{scope:e.__scopeMenu,children:o.modal?(0,G.jsx)(zu,{...i,ref:t}):(0,G.jsx)(Bu,{...i,ref:t})})})})}),zu=H.forwardRef((e,t)=>{let n=Tu(Fu,e.__scopeMenu),r=H.useRef(null),i=b(t,r);return H.useEffect(()=>{let e=r.current;if(e)return v(e)},[]),(0,G.jsx)(Hu,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:B(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),Bu=H.forwardRef((e,t)=>{let n=Tu(Fu,e.__scopeMenu);return(0,G.jsx)(Hu,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),Vu=l(`MenuContent.ScrollLock`),Hu=H.forwardRef((e,t)=>{let{__scopeMenu:n,loop:r=!1,trapFocus:i,onOpenAutoFocus:o,onCloseAutoFocus:s,disableOutsidePointerEvents:c,onEntryFocus:l,onEscapeKeyDown:u,onPointerDownOutside:d,onFocusOutside:f,onInteractOutside:p,onDismiss:h,disableOutsideScroll:_,...v}=e,y=Tu(Fu,n),x=Du(Fu,n),S=Su(n),C=Cu(n),w=vu(n),[T,E]=H.useState(null),D=H.useRef(null),O=b(t,D,y.onContentChange),k=H.useRef(0),A=H.useRef(``),j=H.useRef(0),M=H.useRef(null),N=H.useRef(`right`),P=H.useRef(0),F=_?ee:H.Fragment,I=_?{as:Vu,allowPinchZoom:!0}:void 0,L=e=>{let t=A.current+e,n=w().filter(e=>!e.disabled),r=document.activeElement,i=n.find(e=>e.ref.current===r)?.textValue,a=Ed(n.map(e=>e.textValue),t,i),o=n.find(e=>e.textValue===a)?.ref.current;(function e(t){A.current=t,window.clearTimeout(k.current),t!==``&&(k.current=window.setTimeout(()=>e(``),1e3))})(t),o&&setTimeout(()=>o.focus())};H.useEffect(()=>()=>window.clearTimeout(k.current),[]),a();let R=H.useCallback(e=>N.current===M.current?.side&&Od(e,M.current?.area),[]);return(0,G.jsx)(Iu,{scope:n,searchRef:A,onItemEnter:H.useCallback(e=>{R(e)&&e.preventDefault()},[R]),onItemLeave:H.useCallback(e=>{R(e)||(D.current?.focus(),E(null))},[R]),onTriggerLeave:H.useCallback(e=>{R(e)&&e.preventDefault()},[R]),pointerGraceTimerRef:j,onPointerGraceIntentChange:H.useCallback(e=>{M.current=e},[]),children:(0,G.jsx)(F,{...I,children:(0,G.jsx)(m,{asChild:!0,trapped:i,onMountAutoFocus:B(o,e=>{e.preventDefault(),D.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:s,children:(0,G.jsx)(g,{asChild:!0,disableOutsidePointerEvents:c,onEscapeKeyDown:u,onPointerDownOutside:d,onFocusOutside:f,onInteractOutside:p,onDismiss:h,children:(0,G.jsx)(cu,{asChild:!0,...C,dir:x.dir,orientation:`vertical`,loop:r,currentTabStopId:T,onCurrentTabStopIdChange:E,onEntryFocus:B(l,e=>{x.isUsingKeyboardRef.current||e.preventDefault()}),preventScrollOnEntryFocus:!0,children:(0,G.jsx)(ae,{role:`menu`,"aria-orientation":`vertical`,"data-state":xd(y.open),"data-radix-menu-content":``,dir:x.dir,...S,...v,ref:O,style:{outline:`none`,...v.style},onKeyDown:B(v.onKeyDown,e=>{let t=e.target.closest(`[data-radix-menu-content]`)===e.currentTarget,n=e.ctrlKey||e.altKey||e.metaKey,r=e.key.length===1;t&&(e.key===`Tab`&&e.preventDefault(),!n&&r&&L(e.key));let i=D.current;if(e.target!==i||!pu.includes(e.key))return;e.preventDefault();let a=w().filter(e=>!e.disabled).map(e=>e.ref.current);fu.includes(e.key)&&a.reverse(),wd(a)}),onBlur:B(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(k.current),A.current=``)}),onPointerMove:B(e.onPointerMove,kd(e=>{let t=e.target,n=P.current!==e.clientX;e.currentTarget.contains(t)&&n&&(N.current=e.clientX>P.current?`right`:`left`,P.current=e.clientX)}))})})})})})})});Ru.displayName=Fu;var Uu=`MenuGroup`,Wu=H.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,G.jsx)(_.div,{role:`group`,...r,ref:t})});Wu.displayName=Uu;var Gu=`MenuLabel`,Ku=H.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,G.jsx)(_.div,{...r,ref:t})});Ku.displayName=Gu;var qu=`MenuItem`,Ju=`menu.itemSelect`,Yu=H.forwardRef((e,t)=>{let{disabled:n=!1,onSelect:r,...i}=e,a=H.useRef(null),o=Du(qu,e.__scopeMenu),s=Lu(qu,e.__scopeMenu),c=b(t,a),l=H.useRef(!1),u=()=>{let e=a.current;if(!n&&e){let t=new CustomEvent(Ju,{bubbles:!0,cancelable:!0});e.addEventListener(Ju,e=>r?.(e),{once:!0}),y(e,t),t.defaultPrevented?l.current=!1:o.onClose()}};return(0,G.jsx)(Xu,{...i,ref:c,disabled:n,onClick:B(e.onClick,u),onPointerDown:t=>{e.onPointerDown?.(t),l.current=!0},onPointerUp:B(e.onPointerUp,e=>{l.current||e.currentTarget?.click()}),onKeyDown:B(e.onKeyDown,e=>{let t=s.searchRef.current!==``;n||t&&e.key===` `||uu.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})})});Yu.displayName=qu;var Xu=H.forwardRef((e,t)=>{let{__scopeMenu:n,disabled:r=!1,textValue:i,...a}=e,o=Lu(qu,n),s=Cu(n),c=H.useRef(null),l=b(t,c),[u,d]=H.useState(!1),[f,p]=H.useState(``);return H.useEffect(()=>{let e=c.current;e&&p((e.textContent??``).trim())},[a.children]),(0,G.jsx)(_u.ItemSlot,{scope:n,disabled:r,textValue:i??f,children:(0,G.jsx)(lu,{asChild:!0,...s,focusable:!r,children:(0,G.jsx)(_.div,{role:`menuitem`,"data-highlighted":u?``:void 0,"aria-disabled":r||void 0,"data-disabled":r?``:void 0,...a,ref:l,onPointerMove:B(e.onPointerMove,kd(e=>{r?o.onItemLeave(e):(o.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:B(e.onPointerLeave,kd(e=>o.onItemLeave(e))),onFocus:B(e.onFocus,()=>d(!0)),onBlur:B(e.onBlur,()=>d(!1))})})})}),Zu=`MenuCheckboxItem`,Qu=H.forwardRef((e,t)=>{let{checked:n=!1,onCheckedChange:r,...i}=e;return(0,G.jsx)(od,{scope:e.__scopeMenu,checked:n,children:(0,G.jsx)(Yu,{role:`menuitemcheckbox`,"aria-checked":Sd(n)?`mixed`:n,...i,ref:t,"data-state":Cd(n),onSelect:B(i.onSelect,()=>r?.(Sd(n)?!0:!n),{checkForDefaultPrevented:!1})})})});Qu.displayName=Zu;var $u=`MenuRadioGroup`,[ed,td]=bu($u,{value:void 0,onValueChange:()=>{}}),nd=H.forwardRef((e,t)=>{let{value:n,onValueChange:r,...a}=e,o=i(r);return(0,G.jsx)(ed,{scope:e.__scopeMenu,value:n,onValueChange:o,children:(0,G.jsx)(Wu,{...a,ref:t})})});nd.displayName=$u;var rd=`MenuRadioItem`,id=H.forwardRef((e,t)=>{let{value:n,...r}=e,i=td(rd,e.__scopeMenu),a=n===i.value;return(0,G.jsx)(od,{scope:e.__scopeMenu,checked:a,children:(0,G.jsx)(Yu,{role:`menuitemradio`,"aria-checked":a,...r,ref:t,"data-state":Cd(a),onSelect:B(r.onSelect,()=>i.onValueChange?.(n),{checkForDefaultPrevented:!1})})})});id.displayName=rd;var ad=`MenuItemIndicator`,[od,sd]=bu(ad,{checked:!1}),cd=H.forwardRef((e,t)=>{let{__scopeMenu:n,forceMount:r,...i}=e,a=sd(ad,n);return(0,G.jsx)(I,{present:r||Sd(a.checked)||a.checked===!0,children:(0,G.jsx)(_.span,{...i,ref:t,"data-state":Cd(a.checked)})})});cd.displayName=ad;var ld=`MenuSeparator`,ud=H.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,G.jsx)(_.div,{role:`separator`,"aria-orientation":`horizontal`,...r,ref:t})});ud.displayName=ld;var dd=`MenuArrow`,fd=H.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e,i=Su(n);return(0,G.jsx)(R,{...i,...r,ref:t})});fd.displayName=dd;var pd=`MenuSub`,[md,hd]=bu(pd),gd=e=>{let{__scopeMenu:t,children:n,open:r=!1,onOpenChange:a}=e,o=Tu(pd,t),s=Su(t),[c,l]=H.useState(null),[u,d]=H.useState(null),f=i(a);return H.useEffect(()=>(o.open===!1&&f(!1),()=>f(!1)),[o.open,f]),(0,G.jsx)(A,{...s,children:(0,G.jsx)(wu,{scope:t,open:r,onOpenChange:f,content:u,onContentChange:d,children:(0,G.jsx)(md,{scope:t,contentId:x(),triggerId:x(),trigger:c,onTriggerChange:l,children:n})})})};gd.displayName=pd;var _d=`MenuSubTrigger`,vd=H.forwardRef((e,t)=>{let n=Tu(_d,e.__scopeMenu),r=Du(_d,e.__scopeMenu),i=hd(_d,e.__scopeMenu),a=Lu(_d,e.__scopeMenu),o=H.useRef(null),{pointerGraceTimerRef:s,onPointerGraceIntentChange:c}=a,l={__scopeMenu:e.__scopeMenu},u=H.useCallback(()=>{o.current&&window.clearTimeout(o.current),o.current=null},[]);return H.useEffect(()=>u,[u]),H.useEffect(()=>{let e=s.current;return()=>{window.clearTimeout(e),c(null)}},[s,c]),(0,G.jsx)(Au,{asChild:!0,...l,children:(0,G.jsx)(Xu,{id:i.triggerId,"aria-haspopup":`menu`,"aria-expanded":n.open,"aria-controls":i.contentId,"data-state":xd(n.open),...e,ref:p(t,i.onTriggerChange),onClick:t=>{e.onClick?.(t),!(e.disabled||t.defaultPrevented)&&(t.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:B(e.onPointerMove,kd(t=>{a.onItemEnter(t),!t.defaultPrevented&&!e.disabled&&!n.open&&!o.current&&(a.onPointerGraceIntentChange(null),o.current=window.setTimeout(()=>{n.onOpenChange(!0),u()},100))})),onPointerLeave:B(e.onPointerLeave,kd(e=>{u();let t=n.content?.getBoundingClientRect();if(t){let r=n.content?.dataset.side,i=r===`right`,o=i?-5:5,c=t[i?`left`:`right`],l=t[i?`right`:`left`];a.onPointerGraceIntentChange({area:[{x:e.clientX+o,y:e.clientY},{x:c,y:t.top},{x:l,y:t.top},{x:l,y:t.bottom},{x:c,y:t.bottom}],side:r}),window.clearTimeout(s.current),s.current=window.setTimeout(()=>a.onPointerGraceIntentChange(null),300)}else{if(a.onTriggerLeave(e),e.defaultPrevented)return;a.onPointerGraceIntentChange(null)}})),onKeyDown:B(e.onKeyDown,t=>{let i=a.searchRef.current!==``;e.disabled||i&&t.key===` `||mu[r.dir].includes(t.key)&&(n.onOpenChange(!0),n.content?.focus(),t.preventDefault())})})})});vd.displayName=_d;var yd=`MenuSubContent`,bd=H.forwardRef((e,t)=>{let n=Nu(Fu,e.__scopeMenu),{forceMount:r=n.forceMount,...i}=e,a=Tu(Fu,e.__scopeMenu),o=Du(Fu,e.__scopeMenu),s=hd(yd,e.__scopeMenu),c=H.useRef(null),l=b(t,c);return(0,G.jsx)(_u.Provider,{scope:e.__scopeMenu,children:(0,G.jsx)(I,{present:r||a.open,children:(0,G.jsx)(_u.Slot,{scope:e.__scopeMenu,children:(0,G.jsx)(Hu,{id:s.contentId,"aria-labelledby":s.triggerId,...i,ref:l,align:`start`,side:o.dir===`rtl`?`left`:`right`,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{o.isUsingKeyboardRef.current&&c.current?.focus(),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:B(e.onFocusOutside,e=>{e.target!==s.trigger&&a.onOpenChange(!1)}),onEscapeKeyDown:B(e.onEscapeKeyDown,e=>{o.onClose(),e.preventDefault()}),onKeyDown:B(e.onKeyDown,e=>{let t=e.currentTarget.contains(e.target),n=hu[o.dir].includes(e.key);t&&n&&(a.onOpenChange(!1),s.trigger?.focus(),e.preventDefault())})})})})})});bd.displayName=yd;function xd(e){return e?`open`:`closed`}function Sd(e){return e===`indeterminate`}function Cd(e){return Sd(e)?`indeterminate`:e?`checked`:`unchecked`}function wd(e){let t=document.activeElement;for(let n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function Td(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function Ed(e,t,n){let r=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,i=n?e.indexOf(n):-1,a=Td(e,Math.max(i,0));r.length===1&&(a=a.filter(e=>e!==n));let o=a.find(e=>e.toLowerCase().startsWith(r.toLowerCase()));return o===n?void 0:o}function Dd(e,t){let{x:n,y:r}=e,i=!1;for(let e=0,a=t.length-1;e<t.length;a=e++){let o=t[e],s=t[a],c=o.x,l=o.y,u=s.x,d=s.y;l>r!=d>r&&n<(u-c)*(r-l)/(d-l)+c&&(i=!i)}return i}function Od(e,t){return t?Dd({x:e.clientX,y:e.clientY},t):!1}function kd(e){return t=>t.pointerType===`mouse`?e(t):void 0}var Ad=Ou,jd=Au,Md=Pu,Nd=Ru,Pd=Wu,Fd=Ku,Id=Yu,Ld=Qu,Rd=nd,zd=id,Bd=cd,Vd=ud,Hd=fd,Ud=vd,Wd=bd,Gd=`DropdownMenu`,[Kd,qd]=c(Gd,[xu]),Jd=xu(),[Yd,Xd]=Kd(Gd),Zd=e=>{let{__scopeDropdownMenu:t,children:n,dir:r,open:i,defaultOpen:a,onOpenChange:o,modal:s=!0}=e,c=Jd(t),l=H.useRef(null),[u,d]=L({prop:i,defaultProp:a??!1,onChange:o,caller:Gd});return(0,G.jsx)(Yd,{scope:t,triggerId:x(),triggerRef:l,contentId:x(),open:u,onOpenChange:d,onOpenToggle:H.useCallback(()=>d(e=>!e),[d]),modal:s,children:(0,G.jsx)(Ad,{...c,open:u,onOpenChange:d,dir:r,modal:s,children:n})})};Zd.displayName=Gd;var Qd=`DropdownMenuTrigger`,$d=H.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,disabled:r=!1,...i}=e,a=Xd(Qd,n),o=Jd(n);return(0,G.jsx)(jd,{asChild:!0,...o,children:(0,G.jsx)(_.button,{type:`button`,id:a.triggerId,"aria-haspopup":`menu`,"aria-expanded":a.open,"aria-controls":a.open?a.contentId:void 0,"data-state":a.open?`open`:`closed`,"data-disabled":r?``:void 0,disabled:r,...i,ref:p(t,a.triggerRef),onPointerDown:B(e.onPointerDown,e=>{!r&&e.button===0&&e.ctrlKey===!1&&(a.onOpenToggle(),a.open||e.preventDefault())}),onKeyDown:B(e.onKeyDown,e=>{r||([`Enter`,` `].includes(e.key)&&a.onOpenToggle(),e.key===`ArrowDown`&&a.onOpenChange(!0),[`Enter`,` `,`ArrowDown`].includes(e.key)&&e.preventDefault())})})})});$d.displayName=Qd;var ef=`DropdownMenuPortal`,tf=e=>{let{__scopeDropdownMenu:t,...n}=e,r=Jd(t);return(0,G.jsx)(Md,{...r,...n})};tf.displayName=ef;var nf=`DropdownMenuContent`,rf=H.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=Xd(nf,n),a=Jd(n),o=H.useRef(!1);return(0,G.jsx)(Nd,{id:i.contentId,"aria-labelledby":i.triggerId,...a,...r,ref:t,onCloseAutoFocus:B(e.onCloseAutoFocus,e=>{o.current||i.triggerRef.current?.focus(),o.current=!1,e.preventDefault()}),onInteractOutside:B(e.onInteractOutside,e=>{let t=e.detail.originalEvent,n=t.button===0&&t.ctrlKey===!0,r=t.button===2||n;(!i.modal||r)&&(o.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)`}})});rf.displayName=nf;var af=`DropdownMenuGroup`,of=H.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=Jd(n);return(0,G.jsx)(Pd,{...i,...r,ref:t})});of.displayName=af;var sf=`DropdownMenuLabel`,cf=H.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=Jd(n);return(0,G.jsx)(Fd,{...i,...r,ref:t})});cf.displayName=sf;var lf=`DropdownMenuItem`,uf=H.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=Jd(n);return(0,G.jsx)(Id,{...i,...r,ref:t})});uf.displayName=lf;var df=`DropdownMenuCheckboxItem`,ff=H.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=Jd(n);return(0,G.jsx)(Ld,{...i,...r,ref:t})});ff.displayName=df;var pf=`DropdownMenuRadioGroup`,mf=H.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=Jd(n);return(0,G.jsx)(Rd,{...i,...r,ref:t})});mf.displayName=pf;var hf=`DropdownMenuRadioItem`,gf=H.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=Jd(n);return(0,G.jsx)(zd,{...i,...r,ref:t})});gf.displayName=hf;var _f=`DropdownMenuItemIndicator`,vf=H.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=Jd(n);return(0,G.jsx)(Bd,{...i,...r,ref:t})});vf.displayName=_f;var yf=`DropdownMenuSeparator`,bf=H.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=Jd(n);return(0,G.jsx)(Vd,{...i,...r,ref:t})});bf.displayName=yf;var xf=`DropdownMenuArrow`,Sf=H.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=Jd(n);return(0,G.jsx)(Hd,{...i,...r,ref:t})});Sf.displayName=xf;var Cf=`DropdownMenuSubTrigger`,wf=H.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=Jd(n);return(0,G.jsx)(Ud,{...i,...r,ref:t})});wf.displayName=Cf;var Tf=`DropdownMenuSubContent`,Ef=H.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=Jd(n);return(0,G.jsx)(Wd,{...i,...r,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)`}})});Ef.displayName=Tf;var Df=Zd,Of=$d,kf=tf,Af=rf,jf=uf,Mf=(0,H.forwardRef)((e,t)=>{let n=(0,U.c)(6),r;n[0]===e.className?r=n[1]:(r=q(`graphiql-un-styled`,e.className),n[0]=e.className,n[1]=r);let i;return n[2]!==e||n[3]!==t||n[4]!==r?(i=(0,G.jsx)(Of,{asChild:!0,children:(0,G.jsx)(`button`,{...e,ref:t,className:r})}),n[2]=e,n[3]=t,n[4]=r,n[5]=i):i=n[5],i});Mf.displayName=`DropdownMenuButton`;var Nf=Object.assign(Df,{Button:Mf,Item:e=>{let t=(0,U.c)(10),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:r,children:n,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a;t[4]===r?a=t[5]:(a=q(`graphiql-dropdown-item`,r),t[4]=r,t[5]=a);let o;return t[6]!==n||t[7]!==i||t[8]!==a?(o=(0,G.jsx)(jf,{className:a,...i,children:n}),t[6]=n,t[7]=i,t[8]=a,t[9]=o):o=t[9],o},Content:e=>{let t=(0,U.c)(14),n,r,i,a,o;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5]):({children:n,align:a,sideOffset:o,className:r,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o);let s=a===void 0?`start`:a,c=o===void 0?5:o,l;t[6]===r?l=t[7]:(l=q(`graphiql-dropdown-content`,r),t[6]=r,t[7]=l);let u;return t[8]!==s||t[9]!==n||t[10]!==i||t[11]!==c||t[12]!==l?(u=(0,G.jsx)(kf,{children:(0,G.jsx)(Af,{align:s,sideOffset:c,className:l,...i,children:n})}),t[8]=s,t[9]=n,t[10]=i,t[11]=c,t[12]=l,t[13]=u):u=t[13],u}}),Pf=(0,H.forwardRef)((e,t)=>{let n=(0,U.c)(18),r,i,a,o;n[0]===e?(r=n[1],i=n[2],a=n[3],o=n[4]):({children:r,onlyShowFirstChild:i,type:o,...a}=e,n[0]=e,n[1]=r,n[2]=i,n[3]=a,n[4]=o);let s=`graphiql-markdown-${o}`,c=i&&`graphiql-markdown-preview`,l;n[5]!==a.className||n[6]!==s||n[7]!==c?(l=q(s,c,a.className),n[5]=a.className,n[6]=s,n[7]=c,n[8]=l):l=n[8];let u;n[9]===r?u=n[10]:(u=xo.render(r),n[9]=r,n[10]=u);let d;n[11]===u?d=n[12]:(d={__html:u},n[11]=u,n[12]=d);let f;return n[13]!==a||n[14]!==t||n[15]!==l||n[16]!==d?(f=(0,G.jsx)(`div`,{...a,ref:t,className:l,dangerouslySetInnerHTML:d}),n[13]=a,n[14]=t,n[15]=l,n[16]=d,n[17]=f):f=n[17],f});Pf.displayName=`MarkdownContent`;var Ff=(0,H.forwardRef)((e,t)=>{let n=(0,U.c)(6),r;n[0]===e.className?r=n[1]:(r=q(`graphiql-spinner`,e.className),n[0]=e.className,n[1]=r);let i;return n[2]!==e||n[3]!==t||n[4]!==r?(i=(0,G.jsx)(`div`,{...e,ref:t,className:r}),n[2]=e,n[3]=t,n[4]=r,n[5]=i):i=n[5],i});Ff.displayName=`Spinner`;var If=(0,H.createContext)({});function Lf(e){let t=(0,H.useRef)(null);return t.current===null&&(t.current=e()),t.current}var Rf=typeof window<`u`?H.useLayoutEffect:H.useEffect,zf=(0,H.createContext)(null);function Bf(e,t){e.indexOf(t)===-1&&e.push(t)}function Vf(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Hf([...e],t,n){let r=t<0?e.length+t:t;if(r>=0&&r<e.length){let r=n<0?e.length+n:n,[i]=e.splice(t,1);e.splice(r,0,i)}return e}var Uf=(e,t,n)=>n>t?t:n<e?e:n,Wf={},Gf=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),Kf=e=>typeof e==`object`&&!!e,qf=e=>/^0[^.\s]+$/u.test(e);function Jf(e){let t;return()=>(t===void 0&&(t=e()),t)}var Yf=e=>e,Xf=(...e)=>e.reduce((e,t)=>n=>t(e(n))),Zf=(e,t,n)=>{let r=t-e;return r?(n-e)/r:1},Qf=class{constructor(){this.subscriptions=[]}add(e){return Bf(this.subscriptions,e),()=>Vf(this.subscriptions,e)}notify(e,t,n){let r=this.subscriptions.length;if(r)if(r===1)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){let r=this.subscriptions[i];r&&r(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}},$f=e=>e*1e3,ep=e=>e/1e3,tp=(e,t)=>t?1e3/t*e:0,np=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,rp=1e-7,ip=12;function ap(e,t,n,r,i){let a,o,s=0;do o=t+(n-t)/2,a=np(o,r,i)-e,a>0?n=o:t=o;while(Math.abs(a)>rp&&++s<ip);return o}function op(e,t,n,r){if(e===t&&n===r)return Yf;let i=t=>ap(t,0,1,e,n);return e=>e===0||e===1?e:np(i(e),t,r)}var sp=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,cp=e=>t=>1-e(1-t),lp=op(.33,1.53,.69,.99),up=cp(lp),dp=sp(up),fp=e=>e>=1?1:(e*=2)<1?.5*up(e):.5*(2-2**(-10*(e-1))),pp=e=>1-Math.sin(Math.acos(e)),mp=cp(pp),hp=sp(pp),gp=op(.42,0,1,1),_p=op(0,0,.58,1),vp=op(.42,0,.58,1),yp=e=>Array.isArray(e)&&typeof e[0]!=`number`,bp=e=>Array.isArray(e)&&typeof e[0]==`number`,xp={linear:Yf,easeIn:gp,easeInOut:vp,easeOut:_p,circIn:pp,circInOut:hp,circOut:mp,backIn:up,backInOut:dp,backOut:lp,anticipate:fp},Sp=e=>typeof e==`string`,Cp=e=>{if(bp(e)){e.length;let[t,n,r,i]=e;return op(t,n,r,i)}else if(Sp(e))return xp[e],`${e}`,xp[e];return e},wp=[`setup`,`read`,`resolveKeyframes`,`preUpdate`,`update`,`preRender`,`render`,`postRender`],Tp={value:null,addProjectionMetrics:null};function Ep(e,t){let n=new Set,r=new Set,i=!1,a=!1,o=new WeakSet,s={delta:0,timestamp:0,isProcessing:!1},c=0;function l(t){o.has(t)&&(u.schedule(t),e()),c++,t(s)}let u={schedule:(e,t=!1,a=!1)=>{let s=a&&i?n:r;return t&&o.add(e),s.add(e),e},cancel:e=>{r.delete(e),o.delete(e)},process:e=>{if(s=e,i){a=!0;return}i=!0;let o=n;n=r,r=o,n.forEach(l),t&&Tp.value&&Tp.value.frameloop[t].push(c),c=0,n.clear(),i=!1,a&&(a=!1,u.process(e))}};return u}var Dp=40;function Op(e,t){let n=!1,r=!0,i={delta:0,timestamp:0,isProcessing:!1},a=()=>n=!0,o=wp.reduce((e,n)=>(e[n]=Ep(a,t?n:void 0),e),{}),{setup:s,read:c,resolveKeyframes:l,preUpdate:u,update:d,preRender:f,render:p,postRender:m}=o,h=()=>{let a=Wf.useManualTiming,o=a?i.timestamp:performance.now();n=!1,a||(i.delta=r?1e3/60:Math.max(Math.min(o-i.timestamp,Dp),1)),i.timestamp=o,i.isProcessing=!0,s.process(i),c.process(i),l.process(i),u.process(i),d.process(i),f.process(i),p.process(i),m.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(h))},g=()=>{n=!0,r=!0,i.isProcessing||e(h)};return{schedule:wp.reduce((e,t)=>{let r=o[t];return e[t]=(e,t=!1,i=!1)=>(n||g(),r.schedule(e,t,i)),e},{}),cancel:e=>{for(let t=0;t<wp.length;t++)o[wp[t]].cancel(e)},state:i,steps:o}}var{schedule:J,cancel:kp,state:Ap,steps:jp}=Op(typeof requestAnimationFrame<`u`?requestAnimationFrame:Yf,!0),Mp;function Np(){Mp=void 0}var Pp={now:()=>(Mp===void 0&&Pp.set(Ap.isProcessing||Wf.useManualTiming?Ap.timestamp:performance.now()),Mp),set:e=>{Mp=e,queueMicrotask(Np)}},Fp={layout:0,mainThread:0,waapi:0},Ip=e=>t=>typeof t==`string`&&t.startsWith(e),Lp=Ip(`--`),Rp=Ip(`var(--`),zp=e=>Rp(e)?Bp.test(e.split(`/*`)[0].trim()):!1,Bp=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Vp(e){return typeof e==`string`?e.split(`/*`)[0].includes(`var(--`):!1}var Hp={test:e=>typeof e==`number`,parse:parseFloat,transform:e=>e},Up={...Hp,transform:e=>Uf(0,1,e)},Wp={...Hp,default:1},Gp=e=>Math.round(e*1e5)/1e5,Kp=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function qp(e){return e==null}var Jp=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Yp=(e,t)=>n=>!!(typeof n==`string`&&Jp.test(n)&&n.startsWith(e)||t&&!qp(n)&&Object.prototype.hasOwnProperty.call(n,t)),Xp=(e,t,n)=>r=>{if(typeof r!=`string`)return r;let[i,a,o,s]=r.match(Kp);return{[e]:parseFloat(i),[t]:parseFloat(a),[n]:parseFloat(o),alpha:s===void 0?1:parseFloat(s)}},Zp=e=>Uf(0,255,e),Qp={...Hp,transform:e=>Math.round(Zp(e))},$p={test:Yp(`rgb`,`red`),parse:Xp(`red`,`green`,`blue`),transform:({red:e,green:t,blue:n,alpha:r=1})=>`rgba(`+Qp.transform(e)+`, `+Qp.transform(t)+`, `+Qp.transform(n)+`, `+Gp(Up.transform(r))+`)`};function em(e){let t=``,n=``,r=``,i=``;return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}var tm={test:Yp(`#`),parse:em,transform:$p.transform},nm=e=>({test:t=>typeof t==`string`&&t.endsWith(e)&&t.split(` `).length===1,parse:parseFloat,transform:t=>`${t}${e}`}),rm=nm(`deg`),im=nm(`%`),Y=nm(`px`),am=nm(`vh`),om=nm(`vw`),sm={...im,parse:e=>im.parse(e)/100,transform:e=>im.transform(e*100)},cm={test:Yp(`hsl`,`hue`),parse:Xp(`hue`,`saturation`,`lightness`),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>`hsla(`+Math.round(e)+`, `+im.transform(Gp(t))+`, `+im.transform(Gp(n))+`, `+Gp(Up.transform(r))+`)`},lm={test:e=>$p.test(e)||tm.test(e)||cm.test(e),parse:e=>$p.test(e)?$p.parse(e):cm.test(e)?cm.parse(e):tm.parse(e),transform:e=>typeof e==`string`?e:e.hasOwnProperty(`red`)?$p.transform(e):cm.transform(e),getAnimatableNone:e=>{let t=lm.parse(e);return t.alpha=0,lm.transform(t)}},um=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function dm(e){return isNaN(e)&&typeof e==`string`&&(e.match(Kp)?.length||0)+(e.match(um)?.length||0)>0}var fm=`number`,pm=`color`,mm=`var`,hm=`var(`,gm="${}",_m=/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 vm(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[],a=0;return{values:n,split:t.replace(_m,e=>(lm.test(e)?(r.color.push(a),i.push(pm),n.push(lm.parse(e))):e.startsWith(hm)?(r.var.push(a),i.push(mm),n.push(e)):(r.number.push(a),i.push(fm),n.push(parseFloat(e))),++a,gm)).split(gm),indexes:r,types:i}}function ym(e){return vm(e).values}function bm({split:e,types:t}){let n=e.length;return r=>{let i=``;for(let a=0;a<n;a++)if(i+=e[a],r[a]!==void 0){let e=t[a];e===fm?i+=Gp(r[a]):e===pm?i+=lm.transform(r[a]):i+=r[a]}return i}}function xm(e){return bm(vm(e))}var Sm=e=>typeof e==`number`?0:lm.test(e)?lm.getAnimatableNone(e):e,Cm=(e,t)=>typeof e==`number`?t?.trim().endsWith(`/`)?e:0:Sm(e);function wm(e){let t=vm(e);return bm(t)(t.values.map((e,n)=>Cm(e,t.split[n])))}var Tm={test:dm,parse:ym,createTransformer:xm,getAnimatableNone:wm};function Em(e,t,n){return n<0&&(n+=1),n>1&&--n,n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Dm({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,a=0,o=0;if(!t)i=a=o=n;else{let r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;i=Em(s,r,e+1/3),a=Em(s,r,e),o=Em(s,r,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(o*255),alpha:r}}function Om(e,t){return n=>n>0?t:e}var X=(e,t,n)=>e+(t-e)*n,km=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},Am=[tm,$p,cm],jm=e=>Am.find(t=>t.test(e));function Mm(e){let t=jm(e);if(`${e}`,!t)return!1;let n=t.parse(e);return t===cm&&(n=Dm(n)),n}var Nm=(e,t)=>{let n=Mm(e),r=Mm(t);if(!n||!r)return Om(e,t);let i={...n};return e=>(i.red=km(n.red,r.red,e),i.green=km(n.green,r.green,e),i.blue=km(n.blue,r.blue,e),i.alpha=X(n.alpha,r.alpha,e),$p.transform(i))},Pm=new Set([`none`,`hidden`]);function Fm(e,t){return Pm.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function Im(e,t){return n=>X(e,t,n)}function Lm(e){return typeof e==`number`?Im:typeof e==`string`?zp(e)?Om:lm.test(e)?Nm:Vm:Array.isArray(e)?Rm:typeof e==`object`?lm.test(e)?Nm:zm:Om}function Rm(e,t){let n=[...e],r=n.length,i=e.map((e,n)=>Lm(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function zm(e,t){let n={...e,...t},r={};for(let i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=Lm(e[i])(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}}function Bm(e,t){let n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){let a=t.types[i],o=e.indexes[a][r[a]];n[i]=e.values[o]??0,r[a]++}return n}var Vm=(e,t)=>{let n=Tm.createTransformer(t),r=vm(e),i=vm(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?Pm.has(e)&&!i.values.length||Pm.has(t)&&!r.values.length?Fm(e,t):Xf(Rm(Bm(r,i),i.values),n):(`${e}${t}`,Om(e,t))};function Hm(e,t,n){return typeof e==`number`&&typeof t==`number`&&typeof n==`number`?X(e,t,n):Lm(e)(e,t)}var Um=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>J.update(t,e),stop:()=>kp(t),now:()=>Ap.isProcessing?Ap.timestamp:Pp.now()}},Wm=(e,t,n=10)=>{let r=``,i=Math.max(Math.round(t/n),2);for(let t=0;t<i;t++)r+=Math.round(e(t/(i-1))*1e4)/1e4+`, `;return`linear(${r.substring(0,r.length-2)})`},Gm=2e4;function Km(e){let t=0,n=e.next(t);for(;!n.done&&t<2e4;)t+=50,n=e.next(t);return t>=2e4?1/0:t}function qm(e,t=100,n){let r=n({...e,keyframes:[0,t]}),i=Math.min(Km(r),Gm);return{type:`keyframes`,ease:e=>r.next(i*e).value/t,duration:ep(i)}}var Z={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};function Jm(e,t){return e*Math.sqrt(1-t*t)}var Ym=12;function Xm(e,t,n){let r=n;for(let n=1;n<Ym;n++)r-=e(r)/t(r);return r}var Zm=.001;function Qm({duration:e=Z.duration,bounce:t=Z.bounce,velocity:n=Z.velocity,mass:r=Z.mass}){let i,a;Z.maxDuration;let o=1-t;o=Uf(Z.minDamping,Z.maxDamping,o),e=Uf(Z.minDuration,Z.maxDuration,ep(e)),o<1?(i=t=>{let r=t*o,i=r*e,a=r-n,s=Jm(t,o),c=Math.exp(-i);return Zm-a/s*c},a=t=>{let r=t*o*e,a=r*n+n,s=o**2*t**2*e,c=Math.exp(-r),l=Jm(t**2,o);return(-i(t)+Zm>0?-1:1)*((a-s)*c)/l}):(i=t=>{let r=Math.exp(-t*e),i=(t-n)*e+1;return-Zm+r*i},a=t=>Math.exp(-t*e)*((n-t)*(e*e)));let s=5/e,c=Xm(i,a,s);if(e=$f(e),isNaN(c))return{stiffness:Z.stiffness,damping:Z.damping,duration:e};{let t=c**2*r;return{stiffness:t,damping:o*2*Math.sqrt(r*t),duration:e}}}var $m=[`duration`,`bounce`],eh=[`stiffness`,`damping`,`mass`];function th(e,t){return t.some(t=>e[t]!==void 0)}function nh(e){let t={velocity:Z.velocity,stiffness:Z.stiffness,damping:Z.damping,mass:Z.mass,isResolvedFromDuration:!1,...e};if(!th(e,eh)&&th(e,$m))if(t.velocity=0,e.visualDuration){let n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,a=2*Uf(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:Z.mass,stiffness:i,damping:a}}else{let n=Qm({...e,velocity:0});t={...t,...n,mass:Z.mass},t.isResolvedFromDuration=!0}return t}function rh(e=Z.visualDuration,t=Z.bounce){let n=typeof e==`object`?e:{visualDuration:e,keyframes:[0,1],bounce:t},{restSpeed:r,restDelta:i}=n,a=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],s={done:!1,value:a},{stiffness:c,damping:l,mass:u,duration:d,velocity:f,isResolvedFromDuration:p}=nh({...n,velocity:-ep(n.velocity||0)}),m=f||0,h=l/(2*Math.sqrt(c*u)),g=o-a,_=ep(Math.sqrt(c/u)),v=Math.abs(g)<5;r||=v?Z.restSpeed.granular:Z.restSpeed.default,i||=v?Z.restDelta.granular:Z.restDelta.default;let y,b,x,S,C,w;if(h<1)x=Jm(_,h),S=(m+h*_*g)/x,y=e=>o-Math.exp(-h*_*e)*(S*Math.sin(x*e)+g*Math.cos(x*e)),C=h*_*S+g*x,w=h*_*g-S*x,b=e=>Math.exp(-h*_*e)*(C*Math.sin(x*e)+w*Math.cos(x*e));else if(h===1){y=e=>o-Math.exp(-_*e)*(g+(m+_*g)*e);let e=m+_*g;b=t=>Math.exp(-_*t)*(_*e*t-m)}else{let e=_*Math.sqrt(h*h-1);y=t=>{let n=Math.exp(-h*_*t),r=Math.min(e*t,300);return o-n*((m+h*_*g)*Math.sinh(r)+e*g*Math.cosh(r))/e};let t=(m+h*_*g)/e,n=h*_*t-g*e,r=h*_*g-t*e;b=t=>{let i=Math.exp(-h*_*t),a=Math.min(e*t,300);return i*(n*Math.sinh(a)+r*Math.cosh(a))}}let T={calculatedDuration:p&&d||null,velocity:e=>$f(b(e)),next:e=>{if(!p&&h<1){let t=Math.exp(-h*_*e),n=Math.sin(x*e),a=Math.cos(x*e),c=o-t*(S*n+g*a),l=$f(t*(C*n+w*a));return s.done=Math.abs(l)<=r&&Math.abs(o-c)<=i,s.value=s.done?o:c,s}let t=y(e);if(p)s.done=e>=d;else{let n=$f(b(e));s.done=Math.abs(n)<=r&&Math.abs(o-t)<=i}return s.value=s.done?o:t,s},toString:()=>{let e=Math.min(Km(T),Gm),t=Wm(t=>T.next(e*t).value,e,30);return e+`ms `+t},toTransition:()=>{}};return T}rh.applyToOptions=e=>{let t=qm(e,100,rh);return e.ease=t.ease,e.duration=$f(t.duration),e.type=`keyframes`,e};var ih=5;function ah(e,t,n){let r=Math.max(t-ih,0);return tp(n-e(r),t-r)}function oh({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:a=500,modifyTarget:o,min:s,max:c,restDelta:l=.5,restSpeed:u}){let d=e[0],f={done:!1,value:d},p=e=>s!==void 0&&e<s||c!==void 0&&e>c,m=e=>s===void 0?c:c===void 0||Math.abs(s-e)<Math.abs(c-e)?s:c,h=n*t,g=d+h,_=o===void 0?g:o(g);_!==g&&(h=_-d);let v=e=>-h*Math.exp(-e/r),y=e=>_+v(e),b=e=>{let t=v(e),n=y(e);f.done=Math.abs(t)<=l,f.value=f.done?_:n},x,S,C=e=>{p(f.value)&&(x=e,S=rh({keyframes:[f.value,m(f.value)],velocity:ah(y,e,f.value),damping:i,stiffness:a,restDelta:l,restSpeed:u}))};return C(0),{calculatedDuration:null,next:e=>{let t=!1;return!S&&x===void 0&&(t=!0,b(e),C(e)),x!==void 0&&e>=x?S.next(e-x):(!t&&b(e),f)}}}function sh(e,t,n){let r=[],i=n||Wf.mix||Hm,a=e.length-1;for(let n=0;n<a;n++){let a=i(e[n],e[n+1]);t&&(a=Xf(Array.isArray(t)?t[n]||Yf:t,a)),r.push(a)}return r}function ch(e,t,{clamp:n=!0,ease:r,mixer:i}={}){let a=e.length;if(t.length,a===1)return()=>t[0];if(a===2&&t[0]===t[1])return()=>t[1];let o=e[0]===e[1];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=sh(t,r,i),c=s.length,l=n=>{if(o&&n<e[0])return t[0];let r=0;if(c>1)for(;r<e.length-2&&!(n<e[r+1]);r++);let i=Zf(e[r],e[r+1],n);return s[r](i)};return n?t=>l(Uf(e[0],e[a-1],t)):l}function lh(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=Zf(0,t,r);e.push(X(n,1,i))}}function uh(e){let t=[0];return lh(t,e.length-1),t}function dh(e,t){return e.map(e=>e*t)}function fh(e,t){return e.map(()=>t||vp).splice(0,e.length-1)}function ph({duration:e=300,keyframes:t,times:n,ease:r=`easeInOut`}){let i=yp(r)?r.map(Cp):Cp(r),a={done:!1,value:t[0]},o=ch(dh(n&&n.length===t.length?n:uh(t),e),t,{ease:Array.isArray(i)?i:fh(t,i)});return{calculatedDuration:e,next:t=>(a.value=o(t),a.done=t>=e,a)}}var mh=e=>e!==null;function hh(e,{repeat:t,repeatType:n=`loop`},r,i=1){let a=e.filter(mh),o=i<0||t&&n!==`loop`&&t%2==1?0:a.length-1;return!o||r===void 0?a[o]:r}var gh={decay:oh,inertia:oh,tween:ph,keyframes:ph,spring:rh};function _h(e){typeof e.type==`string`&&(e.type=gh[e.type])}var vh=class{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}},yh=e=>e/100,bh=class extends vh{constructor(e){super(),this.state=`idle`,this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:e}=this.options;e&&e.updatedAt!==Pp.now()&&this.tick(Pp.now()),this.isStopped=!0,this.state!==`idle`&&(this.teardown(),this.options.onStop?.())},Fp.mainThread++,this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause()}initAnimation(){let{options:e}=this;_h(e);let{type:t=ph,repeat:n=0,repeatDelay:r=0,repeatType:i,velocity:a=0}=e,{keyframes:o}=e,s=t||ph;s!==ph&&typeof o[0]!=`number`&&(this.mixKeyframes=Xf(yh,Hm(o[0],o[1])),o=[0,100]);let c=s({...e,keyframes:o});i===`mirror`&&(this.mirroredGenerator=s({...e,keyframes:[...o].reverse(),velocity:-a})),c.calculatedDuration===null&&(c.calculatedDuration=Km(c));let{calculatedDuration:l}=c;this.calculatedDuration=l,this.resolvedDuration=l+r,this.totalDuration=this.resolvedDuration*(n+1)-r,this.generator=c}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;this.holdTime===null?this.currentTime=t:this.currentTime=this.holdTime}tick(e,t=!1){let{generator:n,totalDuration:r,mixKeyframes:i,mirroredGenerator:a,resolvedDuration:o,calculatedDuration:s}=this;if(this.startTime===null)return n.next(0);let{delay:c=0,keyframes:l,repeat:u,repeatType:d,repeatDelay:f,type:p,onUpdate:m,finalKeyframe:h}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-r/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let g=this.currentTime-c*(this.playbackSpeed>=0?1:-1),_=this.playbackSpeed>=0?g<0:g>r;this.currentTime=Math.max(g,0),this.state===`finished`&&this.holdTime===null&&(this.currentTime=r);let v=this.currentTime,y=n;if(u){let e=Math.min(this.currentTime,r)/o,t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),n===1&&t--,t=Math.min(t,u+1),t%2&&(d===`reverse`?(n=1-n,f&&(n-=f/o)):d===`mirror`&&(y=a)),v=Uf(0,1,n)*o}let b;_?(this.delayState.value=l[0],b=this.delayState):b=y.next(v),i&&!_&&(b.value=i(b.value));let{done:x}=b;!_&&s!==null&&(x=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let S=this.holdTime===null&&(this.state===`finished`||this.state===`running`&&x);return S&&p!==oh&&(b.value=hh(l,this.options,h,this.speed)),m&&m(b.value),S&&this.finish(),b}then(e,t){return this.finished.then(e,t)}get duration(){return ep(this.calculatedDuration)}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+ep(e)}get time(){return ep(this.currentTime)}set time(e){e=$f(e),this.currentTime=e,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state=`paused`,this.holdTime=e,this.tick(e))}getGeneratorVelocity(){let e=this.currentTime;if(e<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(e);let t=this.generator.next(e).value;return ah(e=>this.generator.next(e).value,e,t)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;t&&this.driver&&this.updateTime(Pp.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=ep(this.currentTime))}play(){if(this.isStopped)return;let{driver:e=Um,startTime:t}=this.options;this.driver||=e(e=>this.tick(e)),this.options.onPlay?.();let n=this.driver.now();this.state===`finished`?(this.updateFinished(),this.startTime=n):this.holdTime===null?this.startTime||=t??n:this.startTime=n-this.holdTime,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(Pp.now()),this.holdTime=this.currentTime}complete(){this.state!==`running`&&this.play(),this.state=`finished`,this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state=`finished`,this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state=`idle`,this.stopDriver(),this.startTime=this.holdTime=null,Fp.mainThread--}stopDriver(){this.driver&&=(this.driver.stop(),void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type=`keyframes`,this.options.ease=`linear`,this.initAnimation()),this.driver?.stop(),e.observe(this)}};function xh(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}var Sh=e=>e*180/Math.PI,Ch=e=>Th(Sh(Math.atan2(e[1],e[0]))),wh={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Ch,rotateZ:Ch,skewX:e=>Sh(Math.atan(e[1])),skewY:e=>Sh(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Th=e=>(e%=360,e<0&&(e+=360),e),Eh=Ch,Dh=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),Oh=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),kh={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Dh,scaleY:Oh,scale:e=>(Dh(e)+Oh(e))/2,rotateX:e=>Th(Sh(Math.atan2(e[6],e[5]))),rotateY:e=>Th(Sh(Math.atan2(-e[2],e[0]))),rotateZ:Eh,rotate:Eh,skewX:e=>Sh(Math.atan(e[4])),skewY:e=>Sh(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Ah(e){return e.includes(`scale`)?1:0}function jh(e,t){if(!e||e===`none`)return Ah(t);let n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),r,i;if(n)r=kh,i=n;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=wh,i=t}if(!i)return Ah(t);let a=r[t],o=i[1].split(`,`).map(Nh);return typeof a==`function`?a(o):o[a]}var Mh=(e,t)=>{let{transform:n=`none`}=getComputedStyle(e);return jh(n,t)};function Nh(e){return parseFloat(e.trim())}var Ph=[`transformPerspective`,`x`,`y`,`z`,`translateX`,`translateY`,`translateZ`,`scale`,`scaleX`,`scaleY`,`rotate`,`rotateX`,`rotateY`,`rotateZ`,`skew`,`skewX`,`skewY`],Fh=new Set([...Ph,`pathRotation`]),Ih=e=>e===Hp||e===Y,Lh=new Set([`x`,`y`,`z`]),Rh=Ph.filter(e=>!Lh.has(e));function zh(e){let t=[];return Rh.forEach(n=>{let r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith(`scale`)?1:0))}),t}var Bh={width:({x:e},{paddingLeft:t=`0`,paddingRight:n=`0`,boxSizing:r})=>{let i=e.max-e.min;return r===`border-box`?i:i-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t=`0`,paddingBottom:n=`0`,boxSizing:r})=>{let i=e.max-e.min;return r===`border-box`?i:i-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})=>jh(t,`x`),y:(e,{transform:t})=>jh(t,`y`)};Bh.translateX=Bh.x,Bh.translateY=Bh.y;var Vh=new Set,Hh=!1,Uh=!1,Wh=!1;function Gh(){if(Uh){let e=Array.from(Vh).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;t.forEach(e=>{let t=zh(e);t.length&&(n.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=n.get(e);t&&t.forEach(([t,n])=>{e.getValue(t)?.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{e.suspendedScrollY!==void 0&&window.scrollTo(0,e.suspendedScrollY)})}Uh=!1,Hh=!1,Vh.forEach(e=>e.complete(Wh)),Vh.clear()}function Kh(){Vh.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Uh=!0)})}function qh(){Wh=!0,Kh(),Gh(),Wh=!1}var Jh=class{constructor(e,t,n,r,i,a=!1){this.state=`pending`,this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=i,this.isAsync=a}scheduleResolve(){this.state=`scheduled`,this.isAsync?(Vh.add(this),Hh||(Hh=!0,J.read(Kh),J.resolveKeyframes(Gh))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;if(e[0]===null){let i=r?.get(),a=e[e.length-1];if(i!==void 0)e[0]=i;else if(n&&t){let r=n.readValue(t,a);r!=null&&(e[0]=r)}e[0]===void 0&&(e[0]=a),r&&i===void 0&&r.set(e[0])}xh(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state=`complete`,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),Vh.delete(this)}cancel(){this.state===`scheduled`&&(Vh.delete(this),this.state=`pending`)}resume(){this.state===`pending`&&this.scheduleResolve()}},Yh=e=>e.startsWith(`--`);function Xh(e,t,n){Yh(t)?e.style.setProperty(t,n):e.style[t]=n}var Zh={};function Qh(e,t){let n=Jf(e);return()=>Zh[t]??n()}var $h=Qh(()=>window.ScrollTimeline!==void 0,`scrollTimeline`),eg=Qh(()=>{try{document.createElement(`div`).animate({opacity:0},{easing:`linear(0, 1)`})}catch{return!1}return!0},`linearEasing`),tg=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,ng={linear:`linear`,ease:`ease`,easeIn:`ease-in`,easeOut:`ease-out`,easeInOut:`ease-in-out`,circIn:tg([0,.65,.55,1]),circOut:tg([.55,0,1,.45]),backIn:tg([.31,.01,.66,-.59]),backOut:tg([.33,1.53,.69,.99])};function rg(e,t){if(e)return typeof e==`function`?eg()?Wm(e,t):`ease-out`:bp(e)?tg(e):Array.isArray(e)?e.map(e=>rg(e,t)||ng.easeOut):ng[e]}function ig(e,t,n,{delay:r=0,duration:i=300,repeat:a=0,repeatType:o=`loop`,ease:s=`easeOut`,times:c}={},l=void 0){let u={[t]:n};c&&(u.offset=c);let d=rg(s,i);Array.isArray(d)&&(u.easing=d),Tp.value&&Fp.waapi++;let f={delay:r,duration:i,easing:Array.isArray(d)?`linear`:d,fill:`both`,iterations:a+1,direction:o===`reverse`?`alternate`:`normal`};l&&(f.pseudoElement=l);let p=e.animate(u,f);return Tp.value&&p.finished.finally(()=>{Fp.waapi--}),p}function ag(e){return typeof e==`function`&&`applyToOptions`in e}function og({type:e,...t}){return ag(e)&&eg()?e.applyToOptions(t):(t.duration??=300,t.ease??=`easeOut`,t)}var sg=class extends vh{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;let{element:t,name:n,keyframes:r,pseudoElement:i,allowFlatten:a=!1,finalKeyframe:o,onComplete:s}=e;this.isPseudoElement=!!i,this.allowFlatten=a,this.options=e,e.type;let c=og(e);this.animation=ig(t,n,r,c,i),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){let e=hh(r,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(e),Xh(t,n,e),this.animation.cancel()}s?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state===`finished`&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;e===`idle`||e===`finished`||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){let e=this.animation.effect?.getComputedTiming?.().duration||0;return ep(Number(e))}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+ep(e)}get time(){return ep(Number(this.animation.currentTime)||0)}set time(e){let t=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=$f(e),t&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return this.finishedTime===null?this.animation.playState:`finished`}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,rangeStart:t,rangeEnd:n,observe:r}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:`linear`}),this.animation.onfinish=null,e&&$h()?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),n&&(this.animation.rangeEnd=n),Yf):r(this)}},cg={anticipate:fp,backInOut:dp,circInOut:hp};function lg(e){return e in cg}function ug(e){typeof e.ease==`string`&&lg(e.ease)&&(e.ease=cg[e.ease])}var dg=10,fg=class extends sg{constructor(e){ug(e),_h(e),super(e),e.startTime!==void 0&&e.autoplay!==!1&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:n,onComplete:r,element:i,...a}=this.options;if(!t)return;if(e!==void 0){t.set(e);return}let o=new bh({...a,autoplay:!1}),s=Math.max(dg,Pp.now()-this.startTime),c=Uf(0,dg,s-dg),l=o.sample(s).value,{name:u}=this.options;i&&u&&Xh(i,u,l),t.setWithVelocity(o.sample(Math.max(0,s-c)).value,l,c),o.stop()}},pg=(e,t)=>t===`zIndex`?!1:!!(typeof e==`number`||Array.isArray(e)||typeof e==`string`&&(Tm.test(e)||e===`0`)&&!e.startsWith(`url(`));function mg(e){let t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function hg(e,t,n,r){let i=e[0];if(i===null)return!1;if(t===`display`||t===`visibility`)return!0;let a=e[e.length-1],o=pg(i,t),s=pg(a,t);return`${t}${i}${a}${o?a:i}`,!o||!s?!1:mg(e)||(n===`spring`||ag(n))&&r}function gg(e){e.duration=0,e.type=`keyframes`}var _g=new Set([`opacity`,`clipPath`,`filter`,`transform`]),vg=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function yg(e){for(let t=0;t<e.length;t++)if(typeof e[t]==`string`&&vg.test(e[t]))return!0;return!1}var bg=new Set([`color`,`backgroundColor`,`outlineColor`,`fill`,`stroke`,`borderColor`,`borderTopColor`,`borderRightColor`,`borderBottomColor`,`borderLeftColor`]),xg=Jf(()=>Object.hasOwnProperty.call(Element.prototype,`animate`));function Sg(e){let{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:a,type:o,keyframes:s}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:c,transformTemplate:l}=t.owner.getProps();return xg()&&n&&(_g.has(n)||bg.has(n)&&yg(s))&&(n!==`transform`||!l)&&!c&&!r&&i!==`mirror`&&a!==0&&o!==`inertia`}var Cg=40,wg=class extends vh{constructor({autoplay:e=!0,delay:t=0,type:n=`keyframes`,repeat:r=0,repeatDelay:i=0,repeatType:a=`loop`,keyframes:o,name:s,motionValue:c,element:l,...u}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=Pp.now();let d={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:i,repeatType:a,name:s,motionValue:c,element:l,...u};this.keyframeResolver=new(l?.KeyframeResolver||Jh)(o,(e,t,n)=>this.onKeyframesResolved(e,t,d,!n),s,c,l),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,n,r){this.keyframeResolver=void 0;let{name:i,type:a,velocity:o,delay:s,isHandoff:c,onUpdate:l}=n;this.resolvedAt=Pp.now();let u=!0;hg(e,i,a,o)||(u=!1,(Wf.instantAnimations||!s)&&l?.(hh(e,n,t)),e[0]=e[e.length-1],gg(n),n.repeat=0);let d={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>Cg?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...n,keyframes:e},f=u&&!c&&Sg(d),p=d.motionValue?.owner?.current,m;if(f)try{m=new fg({...d,element:p})}catch{m=new bh(d)}else m=new bh(d);m.finished.then(()=>{this.notifyFinished()}).catch(Yf),this.pendingTimeline&&=(this.stopTimeline=m.attachTimeline(this.pendingTimeline),void 0),this._animation=m}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),qh()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}};function Tg(e,t,n,r=0,i=1){let a=Array.from(e).sort((e,t)=>e.sortNodePosition(t)).indexOf(t),o=e.size,s=(o-1)*r;return typeof n==`function`?n(a,o):i===1?a*r:s-a*r}var Eg=30,Dg=e=>!isNaN(parseFloat(e)),Og={current:void 0},kg=class{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=Pp.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=Pp.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=Dg(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on(`change`,e)}on(e,t){this.events[e]||(this.events[e]=new Qf);let n=this.events[e].add(t);return e===`change`?()=>{n(),J.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||=new Set,this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return Og.current&&Og.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=Pp.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>Eg)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,Eg);return tp(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),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(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}};function Ag(e,t){return new kg(e,t)}function jg(e,t){if(e?.inherit&&t){let{inherit:n,...r}=e;return{...t,...r}}return e}function Mg(e,t){let n=e?.[t]??e?.default??e;return n===e?n:jg(n,e)}var Ng={type:`spring`,stiffness:500,damping:25,restSpeed:10},Pg=e=>({type:`spring`,stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),Fg={type:`keyframes`,duration:.8},Ig={type:`keyframes`,ease:[.25,.1,.35,1],duration:.3},Lg=(e,{keyframes:t})=>t.length>2?Fg:Fh.has(e)?e.startsWith(`scale`)?Pg(t[1]):Ng:Ig,Rg=new Set([`when`,`delay`,`delayChildren`,`staggerChildren`,`staggerDirection`,`repeat`,`repeatType`,`repeatDelay`,`from`,`elapsed`]);function zg(e){for(let t in e)if(!Rg.has(t))return!0;return!1}var Bg=(e,t,n,r={},i,a)=>o=>{let s=Mg(r,e)||{},c=s.delay||r.delay||0,{elapsed:l=0}=r;l-=$f(c);let u={keyframes:Array.isArray(n)?n:[null,n],ease:`easeOut`,velocity:t.getVelocity(),...s,delay:-l,onUpdate:e=>{t.set(e),s.onUpdate&&s.onUpdate(e)},onComplete:()=>{o(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:a?void 0:i};zg(s)||Object.assign(u,Lg(e,u)),u.duration&&=$f(u.duration),u.repeatDelay&&=$f(u.repeatDelay),u.from!==void 0&&(u.keyframes[0]=u.from);let d=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(gg(u),u.delay===0&&(d=!0)),(Wf.instantAnimations||Wf.skipAnimations||i?.shouldSkipAnimations||s.skipAnimations)&&(d=!0,gg(u),u.delay=0),u.allowFlatten=!s.type&&!s.ease,d&&!a&&t.get()!==void 0){let e=hh(u.keyframes,s);if(e!==void 0){J.update(()=>{u.onUpdate(e),u.onComplete()});return}}return s.isSync?new bh(u):new wg(u)},Vg=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Hg(e){let t=Vg.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${n??r}`,i]}function Ug(e,t,n=1){`${e}`;let[r,i]=Hg(e);if(!r)return;let a=window.getComputedStyle(t).getPropertyValue(r);if(a){let e=a.trim();return Gf(e)?parseFloat(e):e}return zp(i)?Ug(i,t,n+1):i}function Wg(e){let t=[{},{}];return e?.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function Gg(e,t,n,r){if(typeof t==`function`){let[i,a]=Wg(r);t=t(n===void 0?e.custom:n,i,a)}if(typeof t==`string`&&(t=e.variants&&e.variants[t]),typeof t==`function`){let[i,a]=Wg(r);t=t(n===void 0?e.custom:n,i,a)}return t}function Kg(e,t,n){let r=e.getProps();return Gg(r,t,n===void 0?r.custom:n,e)}var qg=new Set([`width`,`height`,`top`,`left`,`right`,`bottom`,...Ph]),Jg=e=>Array.isArray(e);function Yg(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Ag(n))}function Xg(e){return Jg(e)?e[e.length-1]||0:e}function Zg(e,t){let{transitionEnd:n={},transition:r={},...i}=Kg(e,t)||{};i={...i,...n};for(let t in i)Yg(e,t,Xg(i[t]))}var Qg=e=>!!(e&&e.getVelocity);function $g(e){return!!(Qg(e)&&e.add)}function e_(e,t){let n=e.getValue(`willChange`);if($g(n))return n.add(t);if(!n&&Wf.WillChange){let n=new Wf.WillChange(`auto`);e.addValue(`willChange`,n),n.add(t)}}function t_(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}var n_=`data-`+t_(`framerAppearId`);function r_(e){return e.props[n_]}function i_({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function a_(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:a,transitionEnd:o,...s}=t,c=e.getDefaultTransition();a=a?jg(a,c):c;let l=a?.reduceMotion,u=a?.skipAnimations;r&&(a=r);let d=[],f=i&&e.animationState&&e.animationState.getState()[i],p=a?.path;p&&p.animateVisualElement(e,s,a,n,d);for(let t in s){let r=e.getValue(t,e.latestValues[t]??null),i=s[t];if(i===void 0||f&&i_(f,t))continue;let o={delay:n,...Mg(a||{},t)};u&&(o.skipAnimations=!0);let c=r.get();if(c!==void 0&&!r.isAnimating()&&!Array.isArray(i)&&i===c&&!o.velocity){J.update(()=>r.set(i));continue}let p=!1;if(window.MotionHandoffAnimation){let n=r_(e);if(n){let e=window.MotionHandoffAnimation(n,t,J);e!==null&&(o.startTime=e,p=!0)}}e_(e,t);let m=l??e.shouldReduceMotion;r.start(Bg(t,r,i,m&&qg.has(t)?{type:!1}:o,e,p));let h=r.animation;h&&d.push(h)}if(o){let t=()=>J.update(()=>{o&&Zg(e,o)});d.length?Promise.all(d).then(t):t()}return d}function o_(e,t,n={}){let r=Kg(e,t,n.type===`exit`?e.presenceContext?.custom:void 0),{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);let a=r?()=>Promise.all(a_(e,r,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(r=0)=>{let{delayChildren:a=0,staggerChildren:o,staggerDirection:s}=i;return s_(e,t,r,a,o,s,n)}:()=>Promise.resolve(),{when:s}=i;if(s){let[e,t]=s===`beforeChildren`?[a,o]:[o,a];return e().then(()=>t())}else return Promise.all([a(),o(n.delay)])}function s_(e,t,n=0,r=0,i=0,a=1,o){let s=[];for(let c of e.variantChildren)c.notify(`AnimationStart`,t),s.push(o_(c,t,{...o,delay:n+(typeof r==`function`?0:r)+Tg(e.variantChildren,c,r,i,a)}).then(()=>c.notify(`AnimationComplete`,t)));return Promise.all(s)}function c_(e,t,n={}){e.notify(`AnimationStart`,t);let r;if(Array.isArray(t)){let i=t.map(t=>o_(e,t,n));r=Promise.all(i)}else if(typeof t==`string`)r=o_(e,t,n);else{let i=typeof t==`function`?Kg(e,t,n.custom):t;r=Promise.all(a_(e,i,n))}return r.then(()=>{e.notify(`AnimationComplete`,t)})}var l_={test:e=>e===`auto`,parse:e=>e},u_=e=>t=>t.test(e),d_=[Hp,Y,im,rm,om,am,l_],f_=e=>d_.find(u_(e));function p_(e){return typeof e==`number`?e===0:e===null?!0:e===`none`||e===`0`||qf(e)}var m_=new Set([`brightness`,`contrast`,`saturate`,`opacity`]);function h_(e){let[t,n]=e.slice(0,-1).split(`(`);if(t===`drop-shadow`)return e;let[r]=n.match(Kp)||[];if(!r)return e;let i=n.replace(r,``),a=m_.has(t)?1:0;return r!==n&&(a*=100),t+`(`+a+i+`)`}var g_=/\b([a-z-]*)\(.*?\)/gu,__={...Tm,getAnimatableNone:e=>{let t=e.match(g_);return t?t.map(h_).join(` `):e}},v_={...Tm,getAnimatableNone:e=>{let t=Tm.parse(e);return Tm.createTransformer(e)(t.map(e=>typeof e==`number`?0:typeof e==`object`?{...e,alpha:1}:e))}},y_={...Hp,transform:Math.round},b_={borderWidth:Y,borderTopWidth:Y,borderRightWidth:Y,borderBottomWidth:Y,borderLeftWidth:Y,borderRadius:Y,borderTopLeftRadius:Y,borderTopRightRadius:Y,borderBottomRightRadius:Y,borderBottomLeftRadius:Y,width:Y,maxWidth:Y,height:Y,maxHeight:Y,top:Y,right:Y,bottom:Y,left:Y,inset:Y,insetBlock:Y,insetBlockStart:Y,insetBlockEnd:Y,insetInline:Y,insetInlineStart:Y,insetInlineEnd:Y,padding:Y,paddingTop:Y,paddingRight:Y,paddingBottom:Y,paddingLeft:Y,paddingBlock:Y,paddingBlockStart:Y,paddingBlockEnd:Y,paddingInline:Y,paddingInlineStart:Y,paddingInlineEnd:Y,margin:Y,marginTop:Y,marginRight:Y,marginBottom:Y,marginLeft:Y,marginBlock:Y,marginBlockStart:Y,marginBlockEnd:Y,marginInline:Y,marginInlineStart:Y,marginInlineEnd:Y,fontSize:Y,backgroundPositionX:Y,backgroundPositionY:Y,rotate:rm,pathRotation:rm,rotateX:rm,rotateY:rm,rotateZ:rm,scale:Wp,scaleX:Wp,scaleY:Wp,scaleZ:Wp,skew:rm,skewX:rm,skewY:rm,distance:Y,translateX:Y,translateY:Y,translateZ:Y,x:Y,y:Y,z:Y,perspective:Y,transformPerspective:Y,opacity:Up,originX:sm,originY:sm,originZ:Y,zIndex:y_,fillOpacity:Up,strokeOpacity:Up,numOctaves:y_},x_={...b_,color:lm,backgroundColor:lm,outlineColor:lm,fill:lm,stroke:lm,borderColor:lm,borderTopColor:lm,borderRightColor:lm,borderBottomColor:lm,borderLeftColor:lm,filter:__,WebkitFilter:__,mask:v_,WebkitMask:v_},S_=e=>x_[e],C_=new Set([__,v_]);function w_(e,t){let n=S_(e);return C_.has(n)||(n=Tm),n.getAnimatableNone?n.getAnimatableNone(t):void 0}var T_=new Set([`auto`,`none`,`0`]);function E_(e,t,n){let r=0,i;for(;r<e.length&&!i;){let t=e[r];typeof t==`string`&&!T_.has(t)&&vm(t).values.length&&(i=e[r]),r++}if(i&&n)for(let r of t)e[r]=w_(n,i)}var D_=class extends Jh{constructor(e,t,n,r,i){super(e,t,n,r,i,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let r=e[n];if(typeof r==`string`&&(r=r.trim(),zp(r))){let i=Ug(r,t.current);i!==void 0&&(e[n]=i),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!qg.has(n)||e.length!==2)return;let[r,i]=e,a=f_(r),o=f_(i);if(Vp(r)!==Vp(i)&&Bh[n]){this.needsMeasurement=!0;return}if(a!==o)if(Ih(a)&&Ih(o))for(let t=0;t<e.length;t++){let n=e[t];typeof n==`string`&&(e[t]=parseFloat(n))}else Bh[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)(e[t]===null||p_(e[t]))&&n.push(t);n.length&&E_(e,n,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;n===`height`&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Bh[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let r=t[t.length-1];r!==void 0&&e.getValue(n,r).jump(r,!1)}measureEndState(){let{element:e,name:t,unresolvedKeyframes:n}=this;if(!e||!e.current)return;let r=e.getValue(t);r&&r.jump(this.measuredOrigin,!1);let i=n.length-1,a=n[i];n[i]=Bh[t](e.measureViewportBox(),window.getComputedStyle(e.current)),a!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=a),this.removedTransforms?.length&&this.removedTransforms.forEach(([t,n])=>{e.getValue(t).set(n)}),this.resolveNoneKeyframes()}};function O_(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e==`string`){let r=document;t&&(r=t.current);let i=n?.[e]??r.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e).filter(e=>e!=null)}var k_=(e,t)=>t&&typeof e==`number`?t.transform(e):e;function A_(e){return Kf(e)&&`offsetHeight`in e&&!(`ownerSVGElement`in e)}var{schedule:j_,cancel:M_}=Op(queueMicrotask,!1),N_={x:!1,y:!1};function P_(){return N_.x||N_.y}function F_(e){return e===`x`||e===`y`?N_[e]?null:(N_[e]=!0,()=>{N_[e]=!1}):N_.x||N_.y?null:(N_.x=N_.y=!0,()=>{N_.x=N_.y=!1})}function I_(e,t){let n=O_(e),r=new AbortController;return[n,{passive:!0,...t,signal:r.signal},()=>r.abort()]}function L_(e){return!(e.pointerType===`touch`||P_())}function R_(e,t,n={}){let[r,i,a]=I_(e,n);return r.forEach(e=>{let n=!1,r=!1,a,o=()=>{e.removeEventListener(`pointerleave`,u)},s=e=>{a&&=(a(e),void 0),o()},c=e=>{n=!1,window.removeEventListener(`pointerup`,c),window.removeEventListener(`pointercancel`,c),r&&(r=!1,s(e))},l=()=>{n=!0,window.addEventListener(`pointerup`,c,i),window.addEventListener(`pointercancel`,c,i)},u=e=>{if(e.pointerType!==`touch`){if(n){r=!0;return}s(e)}};e.addEventListener(`pointerenter`,n=>{if(!L_(n))return;r=!1;let o=t(e,n);typeof o==`function`&&(a=o,e.addEventListener(`pointerleave`,u,i))},i),e.addEventListener(`pointerdown`,l,i)}),a}var z_=(e,t)=>t?e===t?!0:z_(e,t.parentElement):!1,B_=e=>e.pointerType===`mouse`?typeof e.button!=`number`||e.button<=0:e.isPrimary!==!1,V_=new Set([`BUTTON`,`INPUT`,`SELECT`,`TEXTAREA`,`A`]);function H_(e){return V_.has(e.tagName)||e.isContentEditable===!0}var U_=new Set([`INPUT`,`SELECT`,`TEXTAREA`]);function W_(e){return U_.has(e.tagName)||e.isContentEditable===!0}var G_=new WeakSet;function K_(e){return t=>{t.key===`Enter`&&e(t)}}function q_(e,t){e.dispatchEvent(new PointerEvent(`pointer`+t,{isPrimary:!0,bubbles:!0}))}var J_=(e,t)=>{let n=e.currentTarget;if(!n)return;let r=K_(()=>{if(G_.has(n))return;q_(n,`down`);let e=K_(()=>{q_(n,`up`)});n.addEventListener(`keyup`,e,t),n.addEventListener(`blur`,()=>q_(n,`cancel`),t)});n.addEventListener(`keydown`,r,t),n.addEventListener(`blur`,()=>n.removeEventListener(`keydown`,r),t)};function Y_(e){return B_(e)&&!P_()}var X_=new WeakSet;function Z_(e,t,n={}){let[r,i,a]=I_(e,n),o=e=>{let r=e.currentTarget;if(!Y_(e)||X_.has(e))return;G_.add(r),n.stopPropagation&&X_.add(e);let a=t(r,e),o=(e,t)=>{window.removeEventListener(`pointerup`,s),window.removeEventListener(`pointercancel`,c),G_.has(r)&&G_.delete(r),Y_(e)&&typeof a==`function`&&a(e,{success:t})},s=e=>{o(e,r===window||r===document||n.useGlobalTarget||z_(r,e.target))},c=e=>{o(e,!1)};window.addEventListener(`pointerup`,s,i),window.addEventListener(`pointercancel`,c,i)};return r.forEach(e=>{(n.useGlobalTarget?window:e).addEventListener(`pointerdown`,o,i),A_(e)&&(e.addEventListener(`focus`,e=>J_(e,i)),!H_(e)&&!e.hasAttribute(`tabindex`)&&(e.tabIndex=0))}),a}function Q_(e){return Kf(e)&&`ownerSVGElement`in e}var $_=new WeakMap,ev,tv=(e,t,n)=>(r,i)=>i&&i[0]?i[0][e+`Size`]:Q_(r)&&`getBBox`in r?r.getBBox()[t]:r[n],nv=tv(`inline`,`width`,`offsetWidth`),rv=tv(`block`,`height`,`offsetHeight`);function iv({target:e,borderBoxSize:t}){$_.get(e)?.forEach(n=>{n(e,{get width(){return nv(e,t)},get height(){return rv(e,t)}})})}function av(e){e.forEach(iv)}function ov(){typeof ResizeObserver>`u`||(ev=new ResizeObserver(av))}function sv(e,t){ev||ov();let n=O_(e);return n.forEach(e=>{let n=$_.get(e);n||(n=new Set,$_.set(e,n)),n.add(t),ev?.observe(e)}),()=>{n.forEach(e=>{let n=$_.get(e);n?.delete(t),n?.size||ev?.unobserve(e)})}}var cv=new Set,lv;function uv(){lv=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};cv.forEach(t=>t(e))},window.addEventListener(`resize`,lv)}function dv(e){return cv.add(e),lv||uv(),()=>{cv.delete(e),!cv.size&&typeof lv==`function`&&(window.removeEventListener(`resize`,lv),lv=void 0)}}function fv(e,t){return typeof e==`function`?dv(e):sv(e,t)}function pv(e){return Q_(e)&&e.tagName===`svg`}function mv(...e){let t=!Array.isArray(e[0]),n=t?0:-1,r=e[0+n],i=e[1+n],a=e[2+n],o=e[3+n],s=ch(i,a,o);return t?s(r):s}var hv=[...d_,lm,Tm],gv=e=>hv.find(u_(e)),_v=()=>({translate:0,scale:1,origin:0,originPoint:0}),vv=()=>({x:_v(),y:_v()}),yv=()=>({min:0,max:0}),bv=()=>({x:yv(),y:yv()}),xv=new WeakMap;function Sv(e){return typeof e==`object`&&!!e&&typeof e.start==`function`}function Cv(e){return typeof e==`string`||Array.isArray(e)}var wv=[`animate`,`whileInView`,`whileFocus`,`whileHover`,`whileTap`,`whileDrag`,`exit`],Tv=[`initial`,...wv];function Ev(e){return Sv(e.animate)||Tv.some(t=>Cv(e[t]))}function Dv(e){return!!(Ev(e)||e.variants)}function Ov(e,t,n){for(let r in t){let i=t[r],a=n[r];if(Qg(i))e.addValue(r,i);else if(Qg(a))e.addValue(r,Ag(i,{owner:e}));else if(a!==i)if(e.hasValue(r)){let t=e.getValue(r);t.liveStyle===!0?t.jump(i):t.hasAnimated||t.set(i)}else{let t=e.getStaticValue(r);e.addValue(r,Ag(t===void 0?i:t,{owner:e}))}}for(let r in n)t[r]===void 0&&e.removeValue(r);return t}var kv={current:null},Av={current:!1},jv=typeof window<`u`;function Mv(){if(Av.current=!0,jv)if(window.matchMedia){let e=window.matchMedia(`(prefers-reduced-motion)`),t=()=>kv.current=e.matches;e.addEventListener(`change`,t),t()}else kv.current=!1}var Nv=[`AnimationStart`,`AnimationComplete`,`Update`,`BeforeLayoutMeasure`,`LayoutMeasure`,`LayoutAnimationStart`,`LayoutAnimationComplete`],Pv={};function Fv(e){Pv=e}function Iv(){return Pv}var Lv=class{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,skipAnimations:i,blockInitialAnimation:a,visualState:o},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=Jh,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,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=()=>{let e=Pp.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,J.render(this.render,!1,!0))};let{latestValues:c,renderState:l}=o;this.latestValues=c,this.baseTarget={...c},this.initialValues=t.initial?{...c}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.skipAnimationsConfig=i,this.options=s,this.blockInitialAnimation=!!a,this.isControllingVariants=Ev(t),this.isVariantNode=Dv(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:u,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in d){let t=d[e];c[e]!==void 0&&Qg(t)&&t.set(c[e])}}mount(e){if(this.hasBeenMounted)for(let e in this.initialValues)this.values.get(e)?.jump(this.initialValues[e]),this.latestValues[e]=this.initialValues[e];this.current=e,xv.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),this.reducedMotionConfig===`never`?this.shouldReduceMotion=!1:this.reducedMotionConfig===`always`?this.shouldReduceMotion=!0:(Av.current||Mv(),this.shouldReduceMotion=kv.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),kp(this.notifyUpdate),kp(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(let e in this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??=new Set,this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),t.accelerate&&_g.has(e)&&this.current instanceof HTMLElement){let{factory:n,keyframes:r,times:i,ease:a,duration:o}=t.accelerate,s=new sg({element:this.current,name:e,keyframes:r,times:i,ease:a,duration:$f(o)}),c=n(s);this.valueSubscriptions.set(e,()=>{c(),s.cancel()});return}let n=Fh.has(e);n&&this.onBindTransform&&this.onBindTransform();let r=t.on(`change`,t=>{this.latestValues[e]=t,this.props.onUpdate&&J.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()}),i;typeof window<`u`&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{r(),i&&i()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e=`animation`;for(e in Pv){let t=Pv[e];if(!t)continue;let{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):bv()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<Nv.length;t++){let n=Nv[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let r=e[`on`+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=Ov(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]: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(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return n===void 0&&t!==void 0&&(n=Ag(t===null?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){let n=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options);return n!=null&&(typeof n==`string`&&(Gf(n)||qf(n))?n=parseFloat(n):!gv(n)&&Tm.test(t)&&(n=w_(e,t)),this.setBaseTarget(e,Qg(n)?n.get():n)),Qg(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let{initial:t}=this.props,n;if(typeof t==`string`||typeof t==`object`){let r=Gg(this.props,t,this.presenceContext?.custom);r&&(n=r[e])}if(t&&n!==void 0)return n;let r=this.getBaseTargetFromProps(this.props,e);return r!==void 0&&!Qg(r)?r:this.initialValues[e]!==void 0&&n===void 0?void 0:this.baseTarget[e]}on(e,t){return this.events[e]||(this.events[e]=new Qf),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){j_.render(this.render)}},Rv=class extends Lv{constructor(){super(...arguments),this.KeyframeResolver=D_}sortInstanceNodePosition(e,t){return e.compareDocumentPosition(t)&2?1:-1}getBaseTargetFromProps(e,t){let n=e.style;return n?n[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;Qg(e)&&(this.childSubscription=e.on(`change`,e=>{this.current&&(this.current.textContent=`${e}`)}))}},zv=class{constructor(e){this.isMounted=!1,this.node=e}update(){}};function Bv({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function Vv({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function Hv(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function Uv(e){return e===void 0||e===1}function Wv({scale:e,scaleX:t,scaleY:n}){return!Uv(e)||!Uv(t)||!Uv(n)}function Gv(e){return Wv(e)||Kv(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Kv(e){return qv(e.x)||qv(e.y)}function qv(e){return e&&e!==`0%`}function Jv(e,t,n){return n+t*(e-n)}function Yv(e,t,n,r,i){return i!==void 0&&(e=Jv(e,i,r)),Jv(e,n,r)+t}function Xv(e,t=0,n=1,r,i){e.min=Yv(e.min,t,n,r,i),e.max=Yv(e.max,t,n,r,i)}function Zv(e,{x:t,y:n}){Xv(e.x,t.translate,t.scale,t.originPoint),Xv(e.y,n.translate,n.scale,n.originPoint)}var Qv=.999999999999,$v=1.0000000000001;function ey(e,t,n,r=!1){let i=n.length;if(!i)return;t.x=t.y=1;let a,o;for(let s=0;s<i;s++){a=n[s],o=a.projectionDelta;let{visualElement:i}=a.options;i&&i.props.style&&i.props.style.display===`contents`||(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&(ty(e.x,-a.scroll.offset.x),ty(e.y,-a.scroll.offset.y)),o&&(t.x*=o.x.scale,t.y*=o.y.scale,Zv(e,o)),r&&Gv(a.latestValues)&&iy(e,a.latestValues,a.layout?.layoutBox))}t.x<$v&&t.x>Qv&&(t.x=1),t.y<$v&&t.y>Qv&&(t.y=1)}function ty(e,t){e.min+=t,e.max+=t}function ny(e,t,n,r,i=.5){Xv(e,t,n,X(e.min,e.max,i),r)}function ry(e,t){return typeof e==`string`?parseFloat(e)/100*(t.max-t.min):e}function iy(e,t,n){let r=n??e;ny(e.x,ry(t.x,r.x),t.scaleX,t.scale,t.originX),ny(e.y,ry(t.y,r.y),t.scaleY,t.scale,t.originY)}function ay(e,t){return Bv(Hv(e.getBoundingClientRect(),t))}function oy(e,t,n){let r=ay(e,n),{scroll:i}=t;return i&&(ty(r.x,i.offset.x),ty(r.y,i.offset.y)),r}var sy={x:`translateX`,y:`translateY`,z:`translateZ`,transformPerspective:`perspective`},cy=Ph.length;function ly(e,t,n){let r=``,i=!0;for(let a=0;a<cy;a++){let o=Ph[a],s=e[o];if(s===void 0)continue;let c=!0;if(typeof s==`number`)c=s===(o.startsWith(`scale`)?1:0);else{let e=parseFloat(s);c=o.startsWith(`scale`)?e===1:e===0}if(!c||n){let e=k_(s,b_[o]);if(!c){i=!1;let t=sy[o]||o;r+=`${t}(${e}) `}n&&(t[o]=e)}}let a=e.pathRotation;return a&&(i=!1,r+=`rotate(${k_(a,b_.pathRotation)}) `),r=r.trim(),n?r=n(t,i?``:r):i&&(r=`none`),r}function uy(e,t,n){let{style:r,vars:i,transformOrigin:a}=e,o=!1,s=!1;for(let e in t){let n=t[e];if(Fh.has(e)){o=!0;continue}else if(Lp(e)){i[e]=n;continue}else{let t=k_(n,b_[e]);e.startsWith(`origin`)?(s=!0,a[e]=t):r[e]=t}}if(t.transform||(o||n?r.transform=ly(t,e.transform,n):r.transform&&=`none`),s){let{originX:e=`50%`,originY:t=`50%`,originZ:n=0}=a;r.transformOrigin=`${e} ${t} ${n}`}}function dy(e,{style:t,vars:n},r,i){let a=e.style,o;for(o in t)a[o]=t[o];for(o in i?.applyProjectionStyles(a,r),n)a.setProperty(o,n[o])}function fy(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var py={correct:(e,t)=>{if(!t.target)return e;if(typeof e==`string`)if(Y.test(e))e=parseFloat(e);else return e;return`${fy(e,t.target.x)}% ${fy(e,t.target.y)}%`}},my={correct:(e,{treeScale:t,projectionDelta:n})=>{let r=e,i=Tm.parse(e);if(i.length>5)return r;let a=Tm.createTransformer(e),o=typeof i[0]==`number`?0:1,s=n.x.scale*t.x,c=n.y.scale*t.y;i[0+o]/=s,i[1+o]/=c;let l=X(s,c,.5);return typeof i[2+o]==`number`&&(i[2+o]/=l),typeof i[3+o]==`number`&&(i[3+o]/=l),a(i)}},hy={borderRadius:{...py,applyTo:[`borderTopLeftRadius`,`borderTopRightRadius`,`borderBottomLeftRadius`,`borderBottomRightRadius`]},borderTopLeftRadius:py,borderTopRightRadius:py,borderBottomLeftRadius:py,borderBottomRightRadius:py,boxShadow:my};function gy(e,{layout:t,layoutId:n}){return Fh.has(e)||e.startsWith(`origin`)||(t||n!==void 0)&&(!!hy[e]||e===`opacity`)}function _y(e,t,n){let r=e.style,i=t?.style,a={};if(!r)return a;for(let t in r)(Qg(r[t])||i&&Qg(i[t])||gy(t,e)||n?.getValue(t)?.liveStyle!==void 0)&&(a[t]=r[t]);return a}function vy(e){return window.getComputedStyle(e)}var yy=class extends Rv{constructor(){super(...arguments),this.type=`html`,this.renderInstance=dy}readValueFromInstance(e,t){if(Fh.has(t))return this.projection?.isProjecting?Ah(t):Mh(e,t);{let n=vy(e),r=(Lp(t)?n.getPropertyValue(t):n[t])||0;return typeof r==`string`?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return ay(e,t)}build(e,t,n){uy(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return _y(e,t,n)}},by={offset:`stroke-dashoffset`,array:`stroke-dasharray`},xy={offset:`strokeDashoffset`,array:`strokeDasharray`};function Sy(e,t,n=1,r=0,i=!0){e.pathLength=1;let a=i?by:xy;e[a.offset]=`${-r}`,e[a.array]=`${t} ${n}`}var Cy=[`offsetDistance`,`offsetPath`,`offsetRotate`,`offsetAnchor`];function wy(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:a=1,pathOffset:o=0,...s},c,l,u){if(uy(e,s,l),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:f}=e;d.transform&&(f.transform=d.transform,delete d.transform),(f.transform||d.transformOrigin)&&(f.transformOrigin=d.transformOrigin??`50% 50%`,delete d.transformOrigin),f.transform&&(f.transformBox=u?.transformBox??`fill-box`,delete d.transformBox);for(let e of Cy)d[e]!==void 0&&(f[e]=d[e],delete d[e]);t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),r!==void 0&&(d.scale=r),i!==void 0&&Sy(d,i,a,o,!1)}var Ty=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`]),Ey=e=>typeof e==`string`&&e.toLowerCase()===`svg`;function Dy(e,t,n,r){dy(e,t,void 0,r);for(let n in t.attrs)e.setAttribute(Ty.has(n)?n:t_(n),t.attrs[n])}function Oy(e,t,n){let r=_y(e,t,n);for(let n in e)if(Qg(e[n])||Qg(t[n])){let t=Ph.indexOf(n)===-1?n:`attr`+n.charAt(0).toUpperCase()+n.substring(1);r[t]=e[n]}return r}var ky=class extends Rv{constructor(){super(...arguments),this.type=`svg`,this.isSVGTag=!1,this.measureInstanceViewportBox=bv}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(Fh.has(t)){let e=S_(t);return e&&e.default||0}return t=Ty.has(t)?t:t_(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return Oy(e,t,n)}build(e,t,n){wy(e,t,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,t,n,r){Dy(e,t,n,r)}mount(e){this.isSVGTag=Ey(e.tagName),super.mount(e)}},Ay=Tv.length;function jy(e){if(!e)return;if(!e.isControllingVariants){let t=e.parent&&jy(e.parent)||{};return e.props.initial!==void 0&&(t.initial=e.props.initial),t}let t={};for(let n=0;n<Ay;n++){let r=Tv[n],i=e.props[r];(Cv(i)||i===!1)&&(t[r]=i)}return t}function My(e,t){if(!Array.isArray(t))return!1;let n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}var Ny=[...wv].reverse(),Py=wv.length;function Fy(e){return t=>Promise.all(t.map(({animation:t,options:n})=>c_(e,t,n)))}function Iy(e){let t=Fy(e),n=zy(),r=!0,i=!1,a=t=>(n,r)=>{let i=Kg(e,r,t===`exit`?e.presenceContext?.custom:void 0);if(i){let{transition:e,transitionEnd:t,...r}=i;n={...n,...r,...t}}return n};function o(n){t=n(e)}function s(o){let{props:s}=e,c=jy(e.parent)||{},l=[],u=new Set,d={},f=1/0;for(let t=0;t<Py;t++){let p=Ny[t],m=n[p],h=s[p]===void 0?c[p]:s[p],g=Cv(h),_=p===o?m.isActive:null;_===!1&&(f=t);let v=h===c[p]&&h!==s[p]&&g;if(v&&(r||i)&&e.manuallyAnimateOnMount&&(v=!1),m.protectedKeys={...d},!m.isActive&&_===null||!h&&!m.prevProp||Sv(h)||typeof h==`boolean`)continue;if(p===`exit`&&m.isActive&&_!==!0){m.prevResolvedValues&&(d={...d,...m.prevResolvedValues});continue}let y=Ly(m.prevProp,h),b=y||p===o&&m.isActive&&!v&&g||t>f&&g,x=!1,S=Array.isArray(h)?h:[h],C=S.reduce(a(p),{});_===!1&&(C={});let{prevResolvedValues:w={}}=m,T={...w,...C},E=t=>{b=!0,u.has(t)&&(x=!0,u.delete(t)),m.needsAnimating[t]=!0;let n=e.getValue(t);n&&(n.liveStyle=!1)};for(let e in T){let t=C[e],n=w[e];if(d.hasOwnProperty(e))continue;let r=!1;r=Jg(t)&&Jg(n)?!My(t,n)||y:t!==n,r?t==null?u.add(e):E(e):t!==void 0&&u.has(e)?E(e):m.protectedKeys[e]=!0}m.prevProp=h,m.prevResolvedValues=C,m.isActive&&(d={...d,...C}),(r||i)&&e.blockInitialAnimation&&(b=!1);let D=v&&y;b&&(!D||x)&&l.push(...S.map(t=>{let n={type:p};if(typeof t==`string`&&(r||i)&&!D&&e.manuallyAnimateOnMount&&e.parent){let{parent:r}=e,i=Kg(r,t);if(r.enteringChildren&&i){let{delayChildren:t}=i.transition||{};n.delay=Tg(r.enteringChildren,e,t)}}return{animation:t,options:n}}))}if(u.size){let t={};if(typeof s.initial!=`boolean`){let n=Kg(e,Array.isArray(s.initial)?s.initial[0]:s.initial);n&&n.transition&&(t.transition=n.transition)}u.forEach(n=>{let r=e.getBaseTarget(n),i=e.getValue(n);i&&(i.liveStyle=!0),t[n]=r??null}),l.push({animation:t})}let p=!!l.length;return r&&(s.initial===!1||s.initial===s.animate)&&!e.manuallyAnimateOnMount&&(p=!1),r=!1,i=!1,p?t(l):Promise.resolve()}function c(t,r){if(n[t].isActive===r)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,r)),n[t].isActive=r;let i=s(t);for(let e in n)n[e].protectedKeys={};return i}return{animateChanges:s,setActive:c,setAnimateFunction:o,getState:()=>n,reset:()=>{n=zy(),i=!0}}}function Ly(e,t){return typeof t==`string`?t!==e:Array.isArray(t)?!My(t,e):!1}function Ry(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function zy(){return{animate:Ry(!0),whileInView:Ry(),whileHover:Ry(),whileTap:Ry(),whileDrag:Ry(),whileFocus:Ry(),exit:Ry()}}function By(e,t){e.min=t.min,e.max=t.max}function Vy(e,t){By(e.x,t.x),By(e.y,t.y)}function Hy(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}var Uy=1e-4,Wy=1-Uy,Gy=1+Uy,Ky=.01,qy=0-Ky,Jy=0+Ky;function Yy(e){return e.max-e.min}function Xy(e,t,n){return Math.abs(e-t)<=n}function Zy(e,t,n,r=.5){e.origin=r,e.originPoint=X(t.min,t.max,e.origin),e.scale=Yy(n)/Yy(t),e.translate=X(n.min,n.max,e.origin)-e.originPoint,(e.scale>=Wy&&e.scale<=Gy||isNaN(e.scale))&&(e.scale=1),(e.translate>=qy&&e.translate<=Jy||isNaN(e.translate))&&(e.translate=0)}function Qy(e,t,n,r){Zy(e.x,t.x,n.x,r?r.originX:void 0),Zy(e.y,t.y,n.y,r?r.originY:void 0)}function $y(e,t,n,r=0){e.min=(r?X(n.min,n.max,r):n.min)+t.min,e.max=e.min+Yy(t)}function eb(e,t,n,r){$y(e.x,t.x,n.x,r?.x),$y(e.y,t.y,n.y,r?.y)}function tb(e,t,n,r=0){let i=r?X(n.min,n.max,r):n.min;e.min=t.min-i,e.max=e.min+Yy(t)}function nb(e,t,n,r){tb(e.x,t.x,n.x,r?.x),tb(e.y,t.y,n.y,r?.y)}function rb(e,t,n,r,i){return e-=t,e=Jv(e,1/n,r),i!==void 0&&(e=Jv(e,1/i,r)),e}function ib(e,t=0,n=1,r=.5,i,a=e,o=e){if(im.test(t)&&(t=parseFloat(t),t=X(o.min,o.max,t/100)-o.min),typeof t!=`number`)return;let s=X(a.min,a.max,r);e===a&&(s-=t),e.min=rb(e.min,t,n,s,i),e.max=rb(e.max,t,n,s,i)}function ab(e,t,[n,r,i],a,o){ib(e,t[n],t[r],t[i],t.scale,a,o)}var ob=[`x`,`scaleX`,`originX`],sb=[`y`,`scaleY`,`originY`];function cb(e,t,n,r){ab(e.x,t,ob,n?n.x:void 0,r?r.x:void 0),ab(e.y,t,sb,n?n.y:void 0,r?r.y:void 0)}function lb(e){return e.translate===0&&e.scale===1}function ub(e){return lb(e.x)&&lb(e.y)}function db(e,t){return e.min===t.min&&e.max===t.max}function fb(e,t){return db(e.x,t.x)&&db(e.y,t.y)}function pb(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function mb(e,t){return pb(e.x,t.x)&&pb(e.y,t.y)}function hb(e){return Yy(e.x)/Yy(e.y)}function gb(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function _b(e){return[e(`x`),e(`y`)]}function vb(e,t,n){let r=``,i=e.x.translate/t.x,a=e.y.translate/t.y,o=n?.z||0;if((i||a||o)&&(r=`translate3d(${i}px, ${a}px, ${o}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){let{transformPerspective:e,rotate:t,pathRotation:i,rotateX:a,rotateY:o,skewX:s,skewY:c}=n;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),i&&(r+=`rotate(${i}deg) `),a&&(r+=`rotateX(${a}deg) `),o&&(r+=`rotateY(${o}deg) `),s&&(r+=`skewX(${s}deg) `),c&&(r+=`skewY(${c}deg) `)}let s=e.x.scale*t.x,c=e.y.scale*t.y;return(s!==1||c!==1)&&(r+=`scale(${s}, ${c})`),r||`none`}var yb=[`borderTopLeftRadius`,`borderTopRightRadius`,`borderBottomLeftRadius`,`borderBottomRightRadius`],bb=yb.length,xb=e=>typeof e==`string`?parseFloat(e):e,Sb=e=>typeof e==`number`||Y.test(e);function Cb(e,t,n,r,i,a){i?(e.opacity=X(0,n.opacity??1,Tb(r)),e.opacityExit=X(t.opacity??1,0,Eb(r))):a&&(e.opacity=X(t.opacity??1,n.opacity??1,r));for(let i=0;i<bb;i++){let a=yb[i],o=wb(t,a),s=wb(n,a);o===void 0&&s===void 0||(o||=0,s||=0,o===0||s===0||Sb(o)===Sb(s)?(e[a]=Math.max(X(xb(o),xb(s),r),0),(im.test(s)||im.test(o))&&(e[a]+=`%`)):e[a]=s)}(t.rotate||n.rotate)&&(e.rotate=X(t.rotate||0,n.rotate||0,r))}function wb(e,t){return e[t]===void 0?e.borderRadius:e[t]}var Tb=Db(0,.5,mp),Eb=Db(.5,.95,Yf);function Db(e,t,n){return r=>r<e?0:r>t?1:n(Zf(e,t,r))}function Ob(e,t,n){let r=Qg(e)?e:Ag(e);return r.start(Bg(``,r,t,n)),r.animation}function kb(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}var Ab=(e,t)=>e.depth-t.depth,jb=class{constructor(){this.children=[],this.isDirty=!1}add(e){Bf(this.children,e),this.isDirty=!0}remove(e){Vf(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Ab),this.isDirty=!1,this.children.forEach(e)}};function Mb(e,t){let n=Pp.now(),r=({timestamp:i})=>{let a=i-n;a>=t&&(kp(r),e(a-t))};return J.setup(r,!0),()=>kp(r)}function Nb(e){return Qg(e)?e.get():e}var Pb=class{constructor(){this.members=[]}add(e){Bf(this.members,e);for(let t=this.members.length-1;t>=0;t--){let n=this.members[t];if(n===e||n===this.lead||n===this.prevLead)continue;let r=n.instance;(!r||r.isConnected===!1)&&!n.snapshot&&(Vf(this.members,n),n.unmount())}e.scheduleRender()}remove(e){if(Vf(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){for(let t=this.members.indexOf(e)-1;t>=0;t--){let e=this.members[t];if(e.isPresent!==!1&&e.instance?.isConnected!==!1)return this.promote(e),!0}return!1}promote(e,t){let n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.updateSnapshot(),e.scheduleRender();let{layoutDependency:r}=n.options,{layoutDependency:i}=e.options;(r===void 0||r!==i)&&(e.resumeFrom=n,t&&(n.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root?.isUpdating&&(e.isLayoutDirty=!0)),e.options.crossfade===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{e.options.onExitComplete?.(),e.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}},Fb={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Ib={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},Lb=[``,`X`,`Y`,`Z`],Rb=1e3,zb=0;function Bb(e,t,n,r){let{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function Vb(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:t}=e.options;if(!t)return;let n=r_(t);if(window.MotionHasOptimisedAnimation(n,`transform`)){let{layout:t,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,`transform`,J,!(t||r))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&Vb(r)}function Hb({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=t?.()){this.id=zb++,this.animationId=0,this.animationCommitId=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.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,Tp.value&&(Ib.nodes=Ib.calculatedTargetDeltas=Ib.calculatedProjections=0),this.nodes.forEach(Gb),this.nodes.forEach(ex),this.nodes.forEach(tx),this.nodes.forEach(Kb),Tp.addProjectionMetrics&&Tp.addProjectionMetrics(Ib)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new jb)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new Qf),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;this.isSVG=Q_(t)&&!pv(t),this.instance=t;let{layoutId:n,layout:r,visualElement:i}=this.options;if(i&&!i.current&&i.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(r||n)&&(this.isLayoutDirty=!0),e){let n,r=0,i=()=>this.root.updateBlockedByResize=!1;J.read(()=>{r=window.innerWidth}),e(t,()=>{let e=window.innerWidth;e!==r&&(r=e,this.root.updateBlockedByResize=!0,n&&n(),n=Mb(i,250),Fb.hasAnimatedSinceResize&&(Fb.hasAnimatedSinceResize=!1,this.nodes.forEach($b)))})}n&&this.root.registerSharedNode(n,this),this.options.animate!==!1&&i&&(n||r)&&this.addEventListener(`didUpdate`,({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let a=this.options.transition||i.getDefaultTransition()||cx,{onLayoutAnimationStart:o,onLayoutAnimationComplete:s}=i.getProps(),c=!this.targetLayout||!mb(this.targetLayout,r),l=!t&&n;if(this.options.layoutRoot||this.resumeFrom||l||t&&(c||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...Mg(a,`layout`),onPlay:o,onComplete:s};(i.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,l,t.path)}else t||$b(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),kp(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(nx),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Vb(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,(typeof t.latestValues.x==`string`||typeof t.latestValues.y==`string`)&&(t.isLayoutDirty=!0),t.updateScroll(`snapshot`),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:n}=this.options;if(t===void 0&&!n)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,``):void 0,this.updateSnapshot(),e&&this.notifyListeners(`willUpdate`)}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let e=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),e&&this.nodes.forEach(Yb),this.nodes.forEach(Jb);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Xb);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Zb),this.nodes.forEach(Qb),this.nodes.forEach(Ub),this.nodes.forEach(Wb)):this.nodes.forEach(Xb),this.clearAllSnapshots();let e=Pp.now();Ap.delta=Uf(0,1e3/60,e-Ap.timestamp),Ap.timestamp=e,Ap.isProcessing=!0,jp.update.process(Ap),jp.preRender.process(Ap),jp.render.process(Ap),Ap.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,j_.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(qb),this.sharedNodes.forEach(rx)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,J.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){J.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Yy(this.snapshot.measuredBox.x)&&!Yy(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 e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||=bv(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners(`measure`,this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify(`LayoutMeasure`,this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e=`measure`){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){let t=r(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!i)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!ub(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,``):void 0,a=r!==this.prevTransformTemplateValue;e&&this.instance&&(t||Gv(this.latestValues)||a)&&(i(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){let t=this.measurePageBox(),n=this.removeElementScroll(t);return e&&(n=this.removeTransform(n)),fx(n),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return bv();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(mx))){let{scroll:e}=this.root;e&&(ty(t.x,e.offset.x),ty(t.y,e.offset.y))}return t}removeElementScroll(e){let t=bv();if(Vy(t,e),this.scroll?.wasRoot)return t;for(let n=0;n<this.path.length;n++){let r=this.path[n],{scroll:i,options:a}=r;r!==this.root&&i&&a.layoutScroll&&(i.wasRoot&&Vy(t,e),ty(t.x,i.offset.x),ty(t.y,i.offset.y))}return t}applyTransform(e,t=!1,n){let r=n||bv();Vy(r,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];!t&&n.options.layoutScroll&&n.scroll&&n!==n.root&&(ty(r.x,-n.scroll.offset.x),ty(r.y,-n.scroll.offset.y)),Gv(n.latestValues)&&iy(r,n.latestValues,n.layout?.layoutBox)}return Gv(this.latestValues)&&iy(r,this.latestValues,this.layout?.layoutBox),r}removeTransform(e){let t=bv();Vy(t,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];if(!Gv(n.latestValues))continue;let r;n.instance&&(Wv(n.latestValues)&&n.updateSnapshot(),r=bv(),Vy(r,n.measurePageBox())),cb(t,n.latestValues,n.snapshot?.layoutBox,r)}return Gv(this.latestValues)&&cb(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:e.crossfade===void 0?!0:e.crossfade}}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!==Ap.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||=t.isProjectionDirty,this.isTransformDirty||=t.isTransformDirty,this.isSharedProjectionDirty||=t.isSharedProjectionDirty;let n=!!this.resumingFrom||this!==t;if(!(e||n&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:r,layoutId:i}=this.options;if(!this.layout||!(r||i))return;this.resolvedRelativeTargetAt=Ap.timestamp;let a=this.getClosestProjectingParent();a&&this.linkedParentVersion!==a.layoutVersion&&!a.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&a&&a.layout?this.createRelativeTarget(a,this.layout.layoutBox,a.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=bv(),this.targetWithTransforms=bv()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),eb(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):Vy(this.target,this.layout.layoutBox),Zv(this.target,this.targetDelta)):Vy(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&a&&!!a.resumingFrom==!!this.resumingFrom&&!a.options.layoutScroll&&a.target&&this.animationProgress!==1?this.createRelativeTarget(a,this.target,a.target):this.relativeParent=this.relativeTarget=void 0),Tp.value&&Ib.calculatedTargetDeltas++)}getClosestProjectingParent(){if(!(!this.parent||Wv(this.parent.latestValues)||Kv(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(e,t,n){this.relativeParent=e,this.linkedParentVersion=e.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=bv(),this.relativeTargetOrigin=bv(),nb(this.relativeTargetOrigin,t,n,this.options.layoutAnchor||void 0),Vy(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,n=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(n=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===Ap.timestamp&&(n=!1),n)return;let{layout:r,layoutId:i}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||i))return;Vy(this.layoutCorrected,this.layout.layoutBox);let a=this.treeScale.x,o=this.treeScale.y;ey(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=bv());let{target:s}=e;if(!s){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Hy(this.prevProjectionDelta.x,this.projectionDelta.x),Hy(this.prevProjectionDelta.y,this.projectionDelta.y)),Qy(this.projectionDelta,this.layoutCorrected,s,this.latestValues),(this.treeScale.x!==a||this.treeScale.y!==o||!gb(this.projectionDelta.x,this.prevProjectionDelta.x)||!gb(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners(`projectionUpdate`,s)),Tp.value&&Ib.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=vv(),this.projectionDelta=vv(),this.projectionDeltaWithTransform=vv()}setAnimationOrigin(e,t=!1,n){let r=this.snapshot,i=r?r.latestValues:{},a={...this.latestValues},o=vv();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let s=bv(),c=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),u=!l||l.members.length<=1,d=!!(c&&!u&&this.options.crossfade===!0&&!this.path.some(sx));this.animationProgress=0;let f,p=n?.interpolateProjection(e);this.mixTargetDelta=t=>{let n=t/1e3,r=p?.(n);r?(o.x.translate=r.x,o.x.scale=X(e.x.scale,1,n),o.x.origin=e.x.origin,o.x.originPoint=e.x.originPoint,o.y.translate=r.y,o.y.scale=X(e.y.scale,1,n),o.y.origin=e.y.origin,o.y.originPoint=e.y.originPoint):(ix(o.x,e.x,n),ix(o.y,e.y,n)),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(nb(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),ox(this.relativeTarget,this.relativeTargetOrigin,s,n),f&&fb(this.relativeTarget,f)&&(this.isProjectionDirty=!1),f||=bv(),Vy(f,this.relativeTarget)),c&&(this.animationValues=a,Cb(a,i,this.latestValues,n,d,u)),r&&r.rotate!==void 0&&(this.animationValues||=a,this.animationValues.pathRotation=r.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners(`animationStart`),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&=(kp(this.pendingAnimation),void 0),this.pendingAnimation=J.update(()=>{Fb.hasAnimatedSinceResize=!0,Fp.layout++,this.motionValue||=Ag(0),this.motionValue.jump(0,!1),this.currentAnimation=Ob(this.motionValue,[0,1e3],{...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onStop:()=>{Fp.layout--},onComplete:()=>{Fp.layout--,e.onComplete&&e.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);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners(`animationComplete`)}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Rb),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:n,layout:r,latestValues:i}=e;if(!(!t||!n||!r)){if(this!==e&&this.layout&&r&&px(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||bv();let t=Yy(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;let r=Yy(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}Vy(t,n),iy(t,i),Qy(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new Pb),this.sharedNodes.get(e).add(t);let n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return e?e.lead===this:!0}getLead(){let{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){let r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return e?e.relegate(this):!1}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;let r={};n.z&&Bb(`z`,e,r,this.animationValues);for(let t=0;t<Lb.length;t++)Bb(`rotate${Lb[t]}`,e,r,this.animationValues),Bb(`skew${Lb[t]}`,e,r,this.animationValues);e.render();for(let t in r)e.setStaticValue(t,r[t]),this.animationValues&&(this.animationValues[t]=r[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible){e.visibility=`hidden`;return}let n=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,e.visibility=``,e.opacity=``,e.pointerEvents=Nb(t?.pointerEvents)||``,e.transform=n?n(this.latestValues,``):`none`;return}let r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){this.options.layoutId&&(e.opacity=this.latestValues.opacity===void 0?1:this.latestValues.opacity,e.pointerEvents=Nb(t?.pointerEvents)||``),this.hasProjected&&!Gv(this.latestValues)&&(e.transform=n?n({},``):`none`,this.hasProjected=!1);return}e.visibility=``;let i=r.animationValues||r.latestValues;this.applyTransformsToTarget();let a=vb(this.projectionDeltaWithTransform,this.treeScale,i);n&&(a=n(i,a)),e.transform=a;let{x:o,y:s}=this.projectionDelta;e.transformOrigin=`${o.origin*100}% ${s.origin*100}% 0`,r.animationValues?e.opacity=r===this?i.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:i.opacityExit:e.opacity=r===this?i.opacity===void 0?``:i.opacity:i.opacityExit===void 0?0:i.opacityExit;for(let t in hy){if(i[t]===void 0)continue;let{correct:n,applyTo:o,isCSSVariable:s}=hy[t],c=a===`none`?i[t]:n(i[t],r);if(o){let t=o.length;for(let n=0;n<t;n++)e[o[n]]=c}else s?this.options.visualElement.renderState.vars[t]=c:e[t]=c}this.options.layoutId&&(e.pointerEvents=r===this?Nb(t?.pointerEvents)||``:`none`)}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(Jb),this.root.sharedNodes.clear()}}}function Ub(e){e.updateLayout()}function Wb(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners(`didUpdate`)){let{layoutBox:n,measuredBox:r}=e.layout,{animationType:i}=e.options,a=t.source!==e.layout.source;if(i===`size`)_b(e=>{let r=a?t.measuredBox[e]:t.layoutBox[e],i=Yy(r);r.min=n[e].min,r.max=r.min+i});else if(i===`x`||i===`y`){let e=i===`x`?`y`:`x`;By(a?t.measuredBox[e]:t.layoutBox[e],n[e])}else px(i,t.layoutBox,n)&&_b(r=>{let i=a?t.measuredBox[r]:t.layoutBox[r],o=Yy(n[r]);i.max=i.min+o,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+o)});let o=vv();Qy(o,n,t.layoutBox);let s=vv();a?Qy(s,e.applyTransform(r,!0),t.measuredBox):Qy(s,n,t.layoutBox);let c=!ub(o),l=!1;if(!e.resumeFrom){let r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:i,layout:a}=r;if(i&&a){let o=e.options.layoutAnchor||void 0,s=bv();nb(s,t.layoutBox,i.layoutBox,o);let c=bv();nb(c,n,a.layoutBox,o),mb(s,c)||(l=!0),r.options.layoutRoot&&(e.relativeTarget=c,e.relativeTargetOrigin=s,e.relativeParent=r)}}}e.notifyListeners(`didUpdate`,{layout:n,snapshot:t,delta:s,layoutDelta:o,hasLayoutChanged:c,hasRelativeLayoutChanged:l})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function Gb(e){Tp.value&&Ib.nodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty),e.isTransformDirty||=e.parent.isTransformDirty)}function Kb(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function qb(e){e.clearSnapshot()}function Jb(e){e.clearMeasurements()}function Yb(e){e.isLayoutDirty=!0,e.updateLayout()}function Xb(e){e.isLayoutDirty=!1}function Zb(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function Qb(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify(`BeforeLayoutMeasure`),e.resetTransform()}function $b(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function ex(e){e.resolveTargetDelta()}function tx(e){e.calcProjection()}function nx(e){e.resetSkewAndRotation()}function rx(e){e.removeLeadSnapshot()}function ix(e,t,n){e.translate=X(t.translate,0,n),e.scale=X(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function ax(e,t,n,r){e.min=X(t.min,n.min,r),e.max=X(t.max,n.max,r)}function ox(e,t,n,r){ax(e.x,t.x,n.x,r),ax(e.y,t.y,n.y,r)}function sx(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var cx={duration:.45,ease:[.4,0,.1,1]},lx=e=>typeof navigator<`u`&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),ux=lx(`applewebkit/`)&&!lx(`chrome/`)?Math.round:Yf;function dx(e){e.min=ux(e.min),e.max=ux(e.max)}function fx(e){dx(e.x),dx(e.y)}function px(e,t,n){return e===`position`||e===`preserve-aspect`&&!Xy(hb(t),hb(n),.2)}function mx(e){return e!==e.root&&e.scroll?.wasRoot}var hx=Hb({attachResizeListener:(e,t)=>kb(e,`resize`,t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),gx={current:void 0},_x=Hb({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!gx.current){let e=new hx({});e.mount(window),e.setOptions({layoutScroll:!0}),gx.current=e}return gx.current},resetTransform:(e,t)=>{e.style.transform=t===void 0?`none`:t},checkIsScrollRoot:e=>window.getComputedStyle(e).position===`fixed`}),vx=(0,H.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:`never`});function yx(e=!0){let t=(0,H.useContext)(zf);if(t===null)return[!0,null];let{isPresent:n,onExitComplete:r,register:i}=t,a=(0,H.useId)();(0,H.useEffect)(()=>{if(e)return i(a)},[e]);let o=(0,H.useCallback)(()=>e&&r&&r(a),[a,r,e]);return!n&&r?[!1,o]:[!0]}var bx=(0,H.createContext)({strict:!1}),xx={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`]},Sx=!1;function Cx(){if(Sx)return;let e={};for(let t in xx)e[t]={isEnabled:e=>xx[t].some(t=>!!e[t])};Fv(e),Sx=!0}function wx(){return Cx(),Iv()}function Tx(e){let t=wx();for(let n in e)t[n]={...t[n],...e[n]};Fv(t)}var Ex=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.propagate.ignoreStrict.viewport`.split(`.`));function Dx(e){return e.startsWith(`while`)||e.startsWith(`drag`)&&e!==`draggable`||e.startsWith(`layout`)||e.startsWith(`onTap`)||e.startsWith(`onPan`)||e.startsWith(`onLayout`)||Ex.has(e)}var Ox=e=>!Dx(e);function kx(e){typeof e==`function`&&(Ox=t=>t.startsWith(`on`)?!Dx(t):e(t))}try{kx((ce(),e(o)).default)}catch{}function Ax(e,t,n){let r={};for(let i in e)i===`values`&&typeof e.values==`object`||Qg(e[i])||(Ox(i)||n===!0&&Dx(i)||!t&&!Dx(i)||e.draggable&&i.startsWith(`onDrag`))&&(r[i]=e[i]);return r}var jx=(0,H.createContext)({});function Mx(e,t){if(Ev(e)){let{initial:t,animate:n}=e;return{initial:t===!1||Cv(t)?t:void 0,animate:Cv(n)?n:void 0}}return e.inherit===!1?{}:t}function Nx(e){let{initial:t,animate:n}=Mx(e,(0,H.useContext)(jx));return(0,H.useMemo)(()=>({initial:t,animate:n}),[Px(t),Px(n)])}function Px(e){return Array.isArray(e)?e.join(` `):e}var Fx=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Ix(e,t,n){for(let r in t)!Qg(t[r])&&!gy(r,n)&&(e[r]=t[r])}function Lx({transformTemplate:e},t){return(0,H.useMemo)(()=>{let n=Fx();return uy(n,t,e),Object.assign({},n.vars,n.style)},[t])}function Rx(e,t){let n=e.style||{},r={};return Ix(r,n,e),Object.assign(r,Lx(e,t)),r}function zx(e,t){let n={},r=Rx(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout=`none`,r.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=r,n}var Bx=()=>({...Fx(),attrs:{}});function Vx(e,t,n,r){let i=(0,H.useMemo)(()=>{let n=Bx();return wy(n,t,Ey(r),e.transformTemplate,e.style),{...n.attrs,style:{...n.style}}},[t]);if(e.style){let t={};Ix(t,e.style,e),i.style={...t,...i.style}}return i}var Hx=[`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 Ux(e){return typeof e!=`string`||e.includes(`-`)?!1:!!(Hx.indexOf(e)>-1||/[A-Z]/u.test(e))}function Wx(e,t,n,{latestValues:r},i,a=!1,o){let s=(o??Ux(e)?Vx:zx)(t,r,i,e),c=Ax(t,typeof e==`string`,a),l=e===H.Fragment?{}:{...c,...s,ref:n},{children:u}=t,d=(0,H.useMemo)(()=>Qg(u)?u.get():u,[u]);return(0,H.createElement)(e,{...l,children:d})}function Gx({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,i){return{latestValues:Kx(n,r,i,e),renderState:t()}}function Kx(e,t,n,r){let i={},a=r(e,{});for(let e in a)i[e]=Nb(a[e]);let{initial:o,animate:s}=e,c=Ev(e),l=Dv(e);t&&l&&!c&&e.inherit!==!1&&(o===void 0&&(o=t.initial),s===void 0&&(s=t.animate));let u=n?n.initial===!1:!1;u||=o===!1;let d=u?s:o;if(d&&typeof d!=`boolean`&&!Sv(d)){let t=Array.isArray(d)?d:[d];for(let n=0;n<t.length;n++){let r=Gg(e,t[n]);if(r){let{transitionEnd:e,transition:t,...n}=r;for(let e in n){let t=n[e];if(Array.isArray(t)){let e=u?t.length-1:0;t=t[e]}t!==null&&(i[e]=t)}for(let t in e)i[t]=e[t]}}}return i}var qx=e=>(t,n)=>{let r=(0,H.useContext)(jx),i=(0,H.useContext)(zf),a=()=>Gx(e,t,r,i);return n?a():Lf(a)},Jx=qx({scrapeMotionValuesFromProps:_y,createRenderState:Fx}),Yx=qx({scrapeMotionValuesFromProps:Oy,createRenderState:Bx}),Xx=Symbol.for(`motionComponentSymbol`);function Zx(e,t,n){let r=(0,H.useRef)(n);(0,H.useInsertionEffect)(()=>{r.current=n});let i=(0,H.useRef)(null);return(0,H.useCallback)(n=>{n&&e.onMount?.(n),t&&(n?t.mount(n):t.unmount());let a=r.current;if(typeof a==`function`)if(n){let e=a(n);typeof e==`function`&&(i.current=e)}else i.current?(i.current(),i.current=null):a(n);else a&&(a.current=n)},[t])}var Qx=(0,H.createContext)({});function $x(e){return e&&typeof e==`object`&&Object.prototype.hasOwnProperty.call(e,`current`)}function eS(e,t,n,r,i,a){let{visualElement:o}=(0,H.useContext)(jx),s=(0,H.useContext)(bx),c=(0,H.useContext)(zf),l=(0,H.useContext)(vx),u=l.reducedMotion,d=l.skipAnimations,f=(0,H.useRef)(null),p=(0,H.useRef)(!1);r||=s.renderer,!f.current&&r&&(f.current=r(e,{visualState:t,parent:o,props:n,presenceContext:c,blockInitialAnimation:c?c.initial===!1:!1,reducedMotionConfig:u,skipAnimations:d,isSVG:a}),p.current&&f.current&&(f.current.manuallyAnimateOnMount=!0));let m=f.current,h=(0,H.useContext)(Qx);m&&!m.projection&&i&&(m.type===`html`||m.type===`svg`)&&tS(f.current,n,i,h);let g=(0,H.useRef)(!1);(0,H.useInsertionEffect)(()=>{m&&g.current&&m.update(n,c)});let _=n[n_],v=(0,H.useRef)(!!_&&typeof window<`u`&&!window.MotionHandoffIsComplete?.(_)&&window.MotionHasOptimisedAnimation?.(_));return Rf(()=>{p.current=!0,m&&(g.current=!0,window.MotionIsMounted=!0,m.updateFeatures(),m.scheduleRenderMicrotask(),v.current&&m.animationState&&m.animationState.animateChanges())}),(0,H.useEffect)(()=>{m&&(!v.current&&m.animationState&&m.animationState.animateChanges(),v.current&&=(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(_)}),!1),m.enteringChildren=void 0)}),m}function tS(e,t,n,r){let{layoutId:i,layout:a,drag:o,dragConstraints:s,layoutScroll:c,layoutRoot:l,layoutAnchor:u,layoutCrossfade:d}=t;e.projection=new n(e.latestValues,t[`data-framer-portal-id`]?void 0:nS(e.parent)),e.projection.setOptions({layoutId:i,layout:a,alwaysMeasureLayout:!!o||s&&$x(s),visualElement:e,animationType:typeof a==`string`?a:`both`,initialPromotionConfig:r,crossfade:d,layoutScroll:c,layoutRoot:l,layoutAnchor:u})}function nS(e){if(e)return e.options.allowProjection===!1?nS(e.parent):e.projection}function rS(e,{forwardMotionProps:t=!1,type:n}={},r,i){r&&Tx(r);let a=n?n===`svg`:Ux(e),o=a?Yx:Jx;function s(n,s){let c,l={...(0,H.useContext)(vx),...n,layoutId:iS(n)},{isStatic:u}=l,d=Nx(n),f=o(n,u);if(!u&&typeof window<`u`){aS(l,r);let t=oS(l);c=t.MeasureLayout,d.visualElement=eS(e,f,l,i,t.ProjectionNode,a)}return(0,G.jsxs)(jx.Provider,{value:d,children:[c&&d.visualElement?(0,G.jsx)(c,{visualElement:d.visualElement,...l}):null,Wx(e,n,Zx(f,d.visualElement,s),f,u,t,a)]})}s.displayName=`motion.${typeof e==`string`?e:`create(${e.displayName??e.name??``})`}`;let c=(0,H.forwardRef)(s);return c[Xx]=e,c}function iS({layoutId:e}){let t=(0,H.useContext)(If).id;return t&&e!==void 0?t+`-`+e:e}function aS(e,t){(0,H.useContext)(bx).strict}function oS(e){let{drag:t,layout:n}=wx();if(!t&&!n)return{};let r={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}function sS(e,t){if(typeof Proxy>`u`)return rS;let n=new Map,r=(n,r)=>rS(n,r,e,t);return new Proxy((e,t)=>r(e,t),{get:(i,a)=>a===`create`?r:(n.has(a)||n.set(a,rS(a,void 0,e,t)),n.get(a))})}var cS=(e,t)=>t.isSVG??Ux(e)?new ky(t):new yy(t,{allowProjection:e!==H.Fragment}),lS=class extends zv{constructor(e){super(e),e.animationState||=Iy(e)}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();Sv(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}},uS=0,dS={animation:{Feature:lS},exit:{Feature:class extends zv{constructor(){super(...arguments),this.id=uS++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;if(e&&n===!1){if(this.isExitComplete){let{initial:e,custom:t}=this.node.getProps();if(typeof e==`string`||typeof e==`object`&&e&&!Array.isArray(e)){let n=Kg(this.node,e,t);if(n){let{transition:e,transitionEnd:t,...r}=n;for(let e in r)this.node.getValue(e)?.jump(r[e])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive(`exit`,!1);this.isExitComplete=!1;return}let r=this.node.animationState.setActive(`exit`,!e);t&&!e&&r.then(()=>{this.isExitComplete=!0,t(this.id)})}mount(){let{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}}};function fS(e){return{point:{x:e.pageX,y:e.pageY}}}var pS=e=>t=>B_(t)&&e(t,fS(t));function mS(e,t,n,r){return kb(e,t,pS(n),r)}var hS=({current:e})=>e?e.ownerDocument.defaultView:null,gS=(e,t)=>Math.abs(e-t);function _S(e,t){let n=gS(e.x,t.x),r=gS(e.y,t.y);return Math.sqrt(n**2+r**2)}var vS=new Set([`auto`,`scroll`]),yS=class{constructor(e,t,{transformPagePoint:n,contextWindow:r=window,dragSnapToOrigin:i=!1,distanceThreshold:a=3,element:o}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=e=>{this.handleScroll(e.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=bS(this.lastRawMoveEventInfo,this.transformPagePoint));let e=SS(this.lastMoveEventInfo,this.history),t=this.startEvent!==null,n=_S(e.offset,{x:0,y:0})>=this.distanceThreshold;if(!t&&!n)return;let{point:r}=e,{timestamp:i}=Ap;this.history.push({...r,timestamp:i});let{onStart:a,onMove:o}=this.handlers;t||(a&&a(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),o&&o(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastRawMoveEventInfo=t,this.lastMoveEventInfo=bS(t,this.transformPagePoint),J.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:n,onSessionEnd:r,resumeAnimation:i}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&i&&i(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let a=SS(e.type===`pointercancel`?this.lastMoveEventInfo:bS(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,a),r&&r(e,a)},!B_(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=n,this.distanceThreshold=a,this.contextWindow=r||window;let s=bS(fS(e),this.transformPagePoint),{point:c}=s,{timestamp:l}=Ap;this.history=[{...c,timestamp:l}];let{onSessionStart:u}=t;u&&u(e,SS(s,this.history)),this.removeListeners=Xf(mS(this.contextWindow,`pointermove`,this.handlePointerMove),mS(this.contextWindow,`pointerup`,this.handlePointerUp),mS(this.contextWindow,`pointercancel`,this.handlePointerUp)),o&&this.startScrollTracking(o)}startScrollTracking(e){let t=e.parentElement;for(;t;){let e=getComputedStyle(t);(vS.has(e.overflowX)||vS.has(e.overflowY))&&this.scrollPositions.set(t,{x:t.scrollLeft,y:t.scrollTop}),t=t.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener(`scroll`,this.onElementScroll,{capture:!0}),window.addEventListener(`scroll`,this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener(`scroll`,this.onElementScroll,{capture:!0}),window.removeEventListener(`scroll`,this.onWindowScroll)}}handleScroll(e){let t=this.scrollPositions.get(e);if(!t)return;let n=e===window,r=n?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop},i={x:r.x-t.x,y:r.y-t.y};i.x===0&&i.y===0||(n?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=i.x,this.lastMoveEventInfo.point.y+=i.y):this.history.length>0&&(this.history[0].x-=i.x,this.history[0].y-=i.y),this.scrollPositions.set(e,r),J.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),kp(this.updatePoint)}};function bS(e,t){return t?{point:t(e.point)}:e}function xS(e,t){return{x:e.x-t.x,y:e.y-t.y}}function SS({point:e},t){return{point:e,delta:xS(e,wS(t)),offset:xS(e,CS(t)),velocity:TS(t,.1)}}function CS(e){return e[0]}function wS(e){return e[e.length-1]}function TS(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null,i=wS(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>$f(t)));)n--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&i.timestamp-r.timestamp>$f(t)*2&&(r=e[1]);let a=ep(i.timestamp-r.timestamp);if(a===0)return{x:0,y:0};let o={x:(i.x-r.x)/a,y:(i.y-r.y)/a};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function ES(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?X(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?X(n,e,r.max):Math.min(e,n)),e}function DS(e,t,n){return{min:t===void 0?void 0:e.min+t,max:n===void 0?void 0:e.max+n-(e.max-e.min)}}function OS(e,{top:t,left:n,bottom:r,right:i}){return{x:DS(e.x,n,i),y:DS(e.y,t,r)}}function kS(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function AS(e,t){return{x:kS(e.x,t.x),y:kS(e.y,t.y)}}function jS(e,t){let n=.5,r=Yy(e),i=Yy(t);return i>r?n=Zf(t.min,t.max-r,e.min):r>i&&(n=Zf(e.min,e.max-i,t.min)),Uf(0,1,n)}function MS(e,t){let n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}var NS=.35;function PS(e=NS){return e===!1?e=0:e===!0&&(e=NS),{x:FS(e,`left`,`right`),y:FS(e,`top`,`bottom`)}}function FS(e,t,n){return{min:IS(e,t),max:IS(e,n)}}function IS(e,t){return typeof e==`number`?e:e[t]||0}var LS=new WeakMap,RS=class{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=bv(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:t=!1,distanceThreshold:n}={}){let{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;let i=e=>{t&&this.snapToCursor(fS(e).point),this.stopAnimation()},a=(e,t)=>{let{drag:n,dragPropagation:r,onDragStart:i}=this.getProps();if(n&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock=F_(n),!this.openDragLock))return;this.latestPointerEvent=e,this.latestPanInfo=t,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),_b(e=>{let t=this.getAxisMotionValue(e).get()||0;if(im.test(t)){let{projection:n}=this.visualElement;if(n&&n.layout){let r=n.layout.layoutBox[e];r&&(t=Yy(r)*(parseFloat(t)/100))}}this.originPoint[e]=t}),i&&J.update(()=>i(e,t),!1,!0),e_(this.visualElement,`transform`);let{animationState:a}=this.visualElement;a&&a.setActive(`whileDrag`,!0)},o=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t;let{dragPropagation:n,dragDirectionLock:r,onDirectionLock:i,onDrag:a}=this.getProps();if(!n&&!this.openDragLock)return;let{offset:o}=t;if(r&&this.currentDirection===null){this.currentDirection=HS(o),this.currentDirection!==null&&i&&i(this.currentDirection);return}this.updateAxis(`x`,t.point,o),this.updateAxis(`y`,t.point,o),this.visualElement.render(),a&&J.update(()=>a(e,t),!1,!0)},s=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t,this.stop(e,t),this.latestPointerEvent=null,this.latestPanInfo=null},c=()=>{let{dragSnapToOrigin:e}=this.getProps();(e||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:l}=this.getProps();this.panSession=new yS(e,{onSessionStart:i,onStart:a,onMove:o,onSessionEnd:s,resumeAnimation:c},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,distanceThreshold:n,contextWindow:hS(this.visualElement),element:this.visualElement.current})}stop(e,t){let n=e||this.latestPointerEvent,r=t||this.latestPanInfo,i=this.isDragging;if(this.cancel(),!i||!r||!n)return;let{velocity:a}=r;this.startAnimation(a);let{onDragEnd:o}=this.getProps();o&&J.postRender(()=>o(n,r))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive(`whileDrag`,!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(e,t,n){let{drag:r}=this.getProps();if(!n||!VS(e,r,this.currentDirection))return;let i=this.getAxisMotionValue(e),a=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(a=ES(a,this.constraints[e],this.elastic[e])),i.set(a)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,r=this.constraints;e&&$x(e)?this.constraints||=this.resolveRefConstraints():e&&n?this.constraints=OS(n.layoutBox,e):this.constraints=!1,this.elastic=PS(t),r!==this.constraints&&!$x(e)&&n&&this.constraints&&!this.hasMutatedConstraints&&_b(e=>{this.constraints!==!1&&this.getAxisMotionValue(e)&&(this.constraints[e]=MS(n.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){let{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!$x(e))return!1;let n=e.current,{projection:r}=this.visualElement;if(!r||!r.layout)return!1;r.root&&(r.root.scroll=void 0,r.root.updateScroll());let i=oy(n,r.root,this.visualElement.getTransformPagePoint()),a=AS(r.layout.layoutBox,i);if(t){let e=t(Vv(a));this.hasMutatedConstraints=!!e,e&&(a=Bv(e))}return a}startAnimation(e){let{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:a,onDragTransitionEnd:o}=this.getProps(),s=this.constraints||{},c=_b(o=>{if(!VS(o,t,this.currentDirection))return;let c=s&&s[o]||{};(a===!0||a===o)&&(c={min:0,max:0});let l=r?200:1e6,u=r?40:1e7,d={type:`inertia`,velocity:n?e[o]:0,bounceStiffness:l,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...i,...c};return this.startAxisValueAnimation(o,d)});return Promise.all(c).then(o)}startAxisValueAnimation(e,t){let n=this.getAxisMotionValue(e);return e_(this.visualElement,e),n.start(Bg(e,n,0,t,this.visualElement,!1))}stopAnimation(){_b(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`;return this.visualElement.getProps()[t]||this.visualElement.getValue(e,this.visualElement.latestValues[e]??0)}snapToCursor(e){_b(t=>{let{drag:n}=this.getProps();if(!VS(t,n,this.currentDirection))return;let{projection:r}=this.visualElement,i=this.getAxisMotionValue(t);if(r&&r.layout){let{min:n,max:a}=r.layout.layoutBox[t],o=i.get()||0;i.set(e[t]-X(n,a,.5)+o)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!$x(t)||!n||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};_b(e=>{let t=this.getAxisMotionValue(e);if(t&&this.constraints!==!1){let n=t.get();r[e]=jS({min:n,max:n},this.constraints[e])}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},``):`none`,n.root&&n.root.updateScroll(),n.updateLayout(),this.constraints=!1,this.resolveConstraints(),_b(t=>{if(!VS(t,e,null))return;let n=this.getAxisMotionValue(t),{min:i,max:a}=this.constraints[t];n.set(X(i,a,r[t]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;LS.set(this.visualElement,this);let e=this.visualElement.current,t=mS(e,`pointerdown`,t=>{let{drag:n,dragListener:r=!0}=this.getProps(),i=t.target,a=i!==e&&W_(i);n&&r&&!a&&this.start(t)}),n,r=()=>{let{dragConstraints:t}=this.getProps();$x(t)&&t.current&&(this.constraints=this.resolveRefConstraints(),n||=BS(e,t.current,()=>this.scalePositionWithinConstraints()))},{projection:i}=this.visualElement,a=i.addEventListener(`measure`,r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),J.read(r);let o=kb(window,`resize`,()=>this.scalePositionWithinConstraints()),s=i.addEventListener(`didUpdate`,(({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(_b(t=>{let n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())}));return()=>{o(),t(),a(),s&&s(),n&&n()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:a=NS,dragMomentum:o=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:a,dragMomentum:o}}};function zS(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function BS(e,t,n){let r=fv(e,zS(n)),i=fv(t,zS(n));return()=>{r(),i()}}function VS(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function HS(e,t=10){let n=null;return Math.abs(e.y)>t?n=`y`:Math.abs(e.x)>t&&(n=`x`),n}var US=class extends zv{constructor(e){super(e),this.removeGroupControls=Yf,this.removeListeners=Yf,this.controls=new RS(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Yf}update(){let{dragControls:e}=this.node.getProps(),{dragControls:t}=this.node.prevProps||{};e!==t&&(this.removeGroupControls(),e&&(this.removeGroupControls=e.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}},WS=e=>(t,n)=>{e&&J.update(()=>e(t,n),!1,!0)},GS=class extends zv{constructor(){super(...arguments),this.removePointerDownListener=Yf}onPointerDown(e){this.session=new yS(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:hS(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:WS(e),onStart:WS(t),onMove:WS(n),onEnd:(e,t)=>{delete this.session,r&&J.postRender(()=>r(e,t))}}}mount(){this.removePointerDownListener=mS(this.node.current,`pointerdown`,e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}},KS=!1,qS=class extends H.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=e;i&&(t.group&&t.group.add(i),n&&n.register&&r&&n.register(i),KS&&i.root.didUpdate(),i.addEventListener(`animationComplete`,()=>{this.safeToRemove()}),i.setOptions({...i.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),Fb.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:n,drag:r,isPresent:i}=this.props,{projection:a}=n;return a?(a.isPresent=i,e.layoutDependency!==t&&a.setOptions({...a.options,layoutDependency:t}),KS=!0,r||e.layoutDependency!==t||t===void 0||e.isPresent!==i?a.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?a.promote():a.relegate()||J.postRender(()=>{let e=a.getStack();(!e||!e.members.length)&&this.safeToRemove()})),null):null}componentDidUpdate(){let{visualElement:e,layoutAnchor:t}=this.props,{projection:n}=e;n&&(n.options.layoutAnchor=t,n.root.didUpdate(),j_.postRender(()=>{!n.currentAnimation&&n.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;KS=!0,r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}};function JS(e){let[t,n]=yx(),r=(0,H.useContext)(If);return(0,G.jsx)(qS,{...e,layoutGroup:r,switchLayoutGroup:(0,H.useContext)(Qx),isPresent:t,safeToRemove:n})}var YS={pan:{Feature:GS},drag:{Feature:US,ProjectionNode:_x,MeasureLayout:JS}};function XS(e,t,n){let{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive(`whileHover`,n===`Start`);let i=r[`onHover`+n];i&&J.postRender(()=>i(t,fS(t)))}var ZS=class extends zv{mount(){let{current:e}=this.node;e&&(this.unmount=R_(e,(e,t)=>(XS(this.node,t,`Start`),e=>XS(this.node,e,`End`))))}unmount(){}},QS=class extends zv{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(`:focus-visible`)}catch{e=!0}!e||!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=Xf(kb(this.node.current,`focus`,()=>this.onFocus()),kb(this.node.current,`blur`,()=>this.onBlur()))}unmount(){}};function $S(e,t,n){let{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive(`whileTap`,n===`Start`);let i=r[`onTap`+(n===`End`?``:n)];i&&J.postRender(()=>i(t,fS(t)))}var eC=class extends zv{mount(){let{current:e}=this.node;if(!e)return;let{globalTapTarget:t,propagate:n}=this.node.props;this.unmount=Z_(e,(e,t)=>($S(this.node,t,`Start`),(e,{success:t})=>$S(this.node,e,t?`End`:`Cancel`)),{useGlobalTarget:t,stopPropagation:n?.tap===!1})}unmount(){}},tC=new WeakMap,nC=new WeakMap,rC=e=>{let t=tC.get(e.target);t&&t(e)},iC=e=>{e.forEach(rC)};function aC({root:e,...t}){let n=e||document;nC.has(n)||nC.set(n,{});let r=nC.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(iC,{root:e,...t})),r[i]}function oC(e,t,n){let r=aC(t);return tC.set(e,n),r.observe(e),()=>{tC.delete(e),r.unobserve(e)}}var sC={some:0,all:1},cC=class extends zv{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();let{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r=`some`,once:i}=e,a={root:t?t.current:void 0,rootMargin:n,threshold:typeof r==`number`?r:sC[r]};this.stopObserver=oC(this.node.current,a,e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,i&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive(`whileInView`,t);let{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),a=t?n:r;a&&a(e)})}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>`u`)return;let{props:e,prevProps:t}=this.node;[`amount`,`margin`,`root`].some(lC(e,t))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}};function lC({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}var uC={inView:{Feature:cC},tap:{Feature:eC},focus:{Feature:QS},hover:{Feature:ZS}},dC={layout:{ProjectionNode:_x,MeasureLayout:JS}},fC=sS({...dS,...uC,...YS,...dC},cS);function pC(e){let t=Lf(()=>Ag(e)),{isStatic:n}=(0,H.useContext)(vx);if(n){let[,n]=(0,H.useState)(e);(0,H.useEffect)(()=>t.on(`change`,n),[])}return t}function mC(e,t){let n=pC(t()),r=()=>n.set(t());return r(),Rf(()=>{let t=()=>J.preRender(r,!1,!0),n=e.map(e=>e.on(`change`,t));return()=>{n.forEach(e=>e()),kp(r)}}),n}function hC(e){Og.current=[],e();let t=mC(Og.current,e);return Og.current=void 0,t}function gC(e,t,n,r){if(typeof e==`function`)return hC(e);if(n!==void 0&&!Array.isArray(n)&&typeof t!=`function`)return vC(e,t,n,r);let i=typeof t==`function`?t:mv(t,n,r),a=Array.isArray(e)?_C(e,i):_C([e],([e])=>i(e)),o=Array.isArray(e)?void 0:e.accelerate;return o&&!o.isTransformed&&typeof t!=`function`&&Array.isArray(n)&&r?.clamp!==!1&&(a.accelerate={...o,times:t,keyframes:n,isTransformed:!0,...r?.ease?{ease:r.ease}:{}}),a}function _C(e,t){let n=Lf(()=>[]);return mC(e,()=>{n.length=0;let r=e.length;for(let t=0;t<r;t++)n[t]=e[t].get();return t(n)})}function vC(e,t,n,r){let i=Lf(()=>Object.keys(n)),a=Lf(()=>({}));for(let o of i)a[o]=gC(e,t,n[o],r);return a}var yC=(0,H.createContext)(null);function bC(e,t,n,r){if(!r)return e;let i=e.findIndex(e=>e.value===t);if(i===-1)return e;let a=r>0?1:-1,o=e[i+a];if(!o)return e;let s=e[i],c=o.layout,l=X(c.min,c.max,.5);return a===1&&s.layout.max+n>l||a===-1&&s.layout.min+n<l?Hf(e,i,i+a):e}function xC({children:e,as:t=`ul`,axis:n=`y`,onReorder:r,values:i,...a},o){let s=Lf(()=>fC[t]),c=[],l=(0,H.useRef)(!1),u=(0,H.useRef)(null),d={axis:n,groupRef:u,registerItem:(e,t)=>{let r=c.findIndex(t=>e===t.value);r===-1?c.push({value:e,layout:t[n]}):c[r].layout=t[n],c.sort(CC)},updateOrder:(e,t,n)=>{if(l.current)return;let a=bC(c,e,t,n);if(c!==a){l.current=!0;let e=[...i];for(let t=0;t<a.length;t++)if(c[t].value!==a[t].value){let n=i.indexOf(c[t].value),r=i.indexOf(a[t].value);n!==-1&&r!==-1&&([e[n],e[r]]=[e[r],e[n]]);break}r(e)}}};(0,H.useEffect)(()=>{l.current=!1});let f=e=>{u.current=e,typeof o==`function`?o(e):o&&(o.current=e)},p={overflowAnchor:`none`,...a.style};return(0,G.jsx)(s,{...a,style:p,ref:f,ignoreStrict:!0,children:(0,G.jsx)(yC.Provider,{value:d,children:e})})}var SC=(0,H.forwardRef)(xC);function CC(e,t){return e.layout.min-t.layout.min}var wC=50,TC=25,EC=new Set([`auto`,`scroll`]),DC=new WeakMap,OC=new WeakMap,kC=null;function AC(){if(kC){let e=MC(kC,`y`);e&&(OC.delete(e),DC.delete(e));let t=MC(kC,`x`);t&&t!==e&&(OC.delete(t),DC.delete(t)),kC=null}}function jC(e,t){let n=getComputedStyle(e),r=t===`x`?n.overflowX:n.overflowY,i=e===document.body||e===document.documentElement;return EC.has(r)||i}function MC(e,t){let n=e?.parentElement;for(;n;){if(jC(n,t))return n;n=n.parentElement}return null}function NC(e,t,n){let r=t.getBoundingClientRect(),i=n===`x`?Math.max(0,r.left):Math.max(0,r.top),a=n===`x`?Math.min(window.innerWidth,r.right):Math.min(window.innerHeight,r.bottom),o=e-i,s=a-e;if(o<wC){let e=1-o/wC;return{amount:-TC*e*e,edge:`start`}}else if(s<wC){let e=1-s/wC;return{amount:TC*e*e,edge:`end`}}return{amount:0,edge:null}}function PC(e,t,n,r){if(!e)return;kC=e;let i=MC(e,n);if(!i)return;let{amount:a,edge:o}=NC(t-(n===`x`?window.scrollX:window.scrollY),i,n);if(o===null){OC.delete(i),DC.delete(i);return}let s=OC.get(i),c=i===document.body||i===document.documentElement;if(s!==o){if(!(o===`start`&&r<0||o===`end`&&r>0))return;OC.set(i,o);let e=n===`x`?i.scrollWidth-(c?window.innerWidth:i.clientWidth):i.scrollHeight-(c?window.innerHeight:i.clientHeight);DC.set(i,e)}if(a>0){let e=DC.get(i);if((n===`x`?c?window.scrollX:i.scrollLeft:c?window.scrollY:i.scrollTop)>=e)return}n===`x`?c?window.scrollBy({left:a}):i.scrollLeft+=a:c?window.scrollBy({top:a}):i.scrollTop+=a}function FC(e,t=0){return Qg(e)?e:pC(t)}function IC({children:e,style:t={},value:n,as:r=`li`,onDrag:i,onDragEnd:a,layout:o=!0,...s},c){let l=Lf(()=>fC[r]),u=(0,H.useContext)(yC),d={x:FC(t.x),y:FC(t.y)},f=gC([d.x,d.y],([e,t])=>e||t?1:`unset`),{axis:p,registerItem:m,updateOrder:h,groupRef:g}=u;return(0,G.jsx)(l,{drag:p,...s,dragSnapToOrigin:!0,style:{...t,x:d.x,y:d.y,zIndex:f},layout:o,onDrag:(e,t)=>{let{velocity:r,point:a}=t;h(n,d[p].get(),r[p]),PC(g.current,a[p],p,r[p]),i&&i(e,t)},onDragEnd:(e,t)=>{AC(),a&&a(e,t)},onLayoutMeasure:e=>{m(n,e)},ref:c,ignoreStrict:!0,children:e})}var LC=(0,H.forwardRef)(IC),RC=(0,H.forwardRef)((e,t)=>{let n=(0,U.c)(16),r,i,a,o,s;n[0]===e?(r=n[1],i=n[2],a=n[3],o=n[4],s=n[5]):({isActive:a,value:s,children:r,className:i,...o}=e,n[0]=e,n[1]=r,n[2]=i,n[3]=a,n[4]=o,n[5]=s);let c=a&&`graphiql-tab-active`,l;n[6]!==i||n[7]!==c?(l=q(`graphiql-tab`,c,i),n[6]=i,n[7]=c,n[8]=l):l=n[8];let u;return n[9]!==r||n[10]!==a||n[11]!==o||n[12]!==t||n[13]!==l||n[14]!==s?(u=(0,G.jsx)(LC,{...o,ref:t,value:s,"aria-selected":a,role:`tab`,className:l,children:r}),n[9]=r,n[10]=a,n[11]=o,n[12]=t,n[13]=l,n[14]=s,n[15]=u):u=n[15],u});RC.displayName=`Tab`;var zC=(0,H.forwardRef)((e,t)=>{let n=(0,U.c)(11),r,i,a;n[0]===e?(r=n[1],i=n[2],a=n[3]):({children:r,className:i,...a}=e,n[0]=e,n[1]=r,n[2]=i,n[3]=a);let o;n[4]===i?o=n[5]:(o=q(`graphiql-tab-button`,i),n[4]=i,n[5]=o);let s;return n[6]!==r||n[7]!==a||n[8]!==t||n[9]!==o?(s=(0,G.jsx)(Sl,{...a,ref:t,type:`button`,className:o,children:r}),n[6]=r,n[7]=a,n[8]=t,n[9]=o,n[10]=s):s=n[10],s});zC.displayName=`Tab.Button`;var BC=(0,H.forwardRef)((e,t)=>{let n=(0,U.c)(7),r;n[0]===e.className?r=n[1]:(r=q(`graphiql-tab-close`,e.className),n[0]=e.className,n[1]=r);let i;n[2]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,G.jsx)(Nc,{}),n[2]=i):i=n[2];let a;return n[3]!==e||n[4]!==t||n[5]!==r?(a=(0,G.jsx)(Sl,{"aria-label":`Close Tab`,...e,ref:t,type:`button`,className:r,children:i}),n[3]=e,n[4]=t,n[5]=r,n[6]=a):a=n[6],a});BC.displayName=`Tab.Close`;var VC=Object.assign(RC,{Button:zC,Close:BC}),HC=(0,H.forwardRef)((e,t)=>{let n=(0,U.c)(15),r,i,a,o,s;n[0]===e?(r=n[1],i=n[2],a=n[3],o=n[4],s=n[5]):({values:s,onReorder:a,children:r,className:i,...o}=e,n[0]=e,n[1]=r,n[2]=i,n[3]=a,n[4]=o,n[5]=s);let c;n[6]===i?c=n[7]:(c=q(`graphiql-tabs`,i),n[6]=i,n[7]=c);let l;return n[8]!==r||n[9]!==a||n[10]!==o||n[11]!==t||n[12]!==c||n[13]!==s?(l=(0,G.jsx)(SC,{...o,ref:t,values:s,onReorder:a,axis:`x`,role:`tablist`,className:c,children:r}),n[8]=r,n[9]=a,n[10]=o,n[11]=t,n[12]=c,n[13]=s,n[14]=l):l=n[14],l});HC.displayName=`Tabs`;var UC=Object.assign(e=>{let t=(0,U.c)(10),{children:n,align:r,side:i,sideOffset:a,label:o}=e,s=r===void 0?`start`:r,c=i===void 0?`bottom`:i,l=a===void 0?5:a,u;t[0]===n?u=t[1]:(u=(0,G.jsx)(Le,{asChild:!0,children:n}),t[0]=n,t[1]=u);let d;t[2]!==s||t[3]!==o||t[4]!==c||t[5]!==l?(d=(0,G.jsx)(We,{children:(0,G.jsx)(ze,{className:`graphiql-tooltip`,align:s,side:c,sideOffset:l,children:o})}),t[2]=s,t[3]=o,t[4]=c,t[5]=l,t[6]=d):d=t[6];let f;return t[7]!==u||t[8]!==d?(f=(0,G.jsxs)(Ue,{children:[u,d]}),t[7]=u,t[8]=d,t[9]=f):f=t[9],f},{Provider:Fe}),WC=(0,H.forwardRef)((e,t)=>{let n=(0,U.c)(19),r,i,a;n[0]===e?(r=n[1],i=n[2],a=n[3]):({label:r,onClick:i,...a}=e,n[0]=e,n[1]=r,n[2]=i,n[3]=a);let[o,s]=(0,H.useState)(null),c;n[4]===i?c=n[5]:(c=e=>{try{i&&i(e),s(null)}catch(e){let t=e;s(t instanceof Error?t:Error(`Toolbar button click failed: ${t}`))}},n[4]=i,n[5]=c);let l=c,u=o&&`error`,d;n[6]!==a.className||n[7]!==u?(d=q(`graphiql-toolbar-button`,u,a.className),n[6]=a.className,n[7]=u,n[8]=d):d=n[8];let f=o?o.message:r,p=o?`true`:a[`aria-invalid`],m;n[9]!==l||n[10]!==a||n[11]!==t||n[12]!==d||n[13]!==f||n[14]!==p?(m=(0,G.jsx)(Sl,{...a,ref:t,type:`button`,className:d,onClick:l,"aria-label":f,"aria-invalid":p}),n[9]=l,n[10]=a,n[11]=t,n[12]=d,n[13]=f,n[14]=p,n[15]=m):m=n[15];let h;return n[16]!==r||n[17]!==m?(h=(0,G.jsx)(UC,{label:r,children:m}),n[16]=r,n[17]=m,n[18]=h):h=n[18],h});WC.displayName=`ToolbarButton`;var GC=()=>{let e=(0,U.c)(19),t;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t={nonNull:!0,caller:GC},e[0]=t):t=e[0];let{queryEditor:n,setOperationName:r}=Ls(t),i;e[1]===Symbol.for(`react.memo_cache_sentinel`)?(i={nonNull:!0,caller:GC},e[1]=i):i=e[1];let{isFetching:a,isSubscribed:o,operationName:s,run:c,stop:l}=Ws(i),u;e[2]===n?.operations?u=e[3]:(u=n?.operations||[],e[2]=n?.operations,e[3]=u);let d=u,f=d.length>1&&typeof s!=`string`,p=a||o,m=`${p?`Stop`:`Execute`} query (Ctrl-Enter)`,h;e[4]===p?h=e[5]:(h=p?(0,G.jsx)(rl,{}):(0,G.jsx)(Yc,{}),e[4]=p,e[5]=h);let g;e[6]!==m||e[7]!==h?(g={type:`button`,className:`graphiql-execute-button`,children:h,"aria-label":m},e[6]=m,e[7]=h,e[8]=g):g=e[8];let _=g,v;return e[9]!==_||e[10]!==f||e[11]!==p||e[12]!==m||e[13]!==d||e[14]!==n||e[15]!==c||e[16]!==r||e[17]!==l?(v=f&&!p?(0,G.jsxs)(Nf,{children:[(0,G.jsx)(UC,{label:m,children:(0,G.jsx)(Nf.Button,{..._})}),(0,G.jsx)(Nf.Content,{children:d.map((e,t)=>{let i=e.name?e.name.value:`<Unnamed ${e.operation}>`;return(0,G.jsx)(Nf.Item,{onSelect:()=>{let t=e.name?.value;n&&t&&t!==n.operationName&&r(t),c()},children:i},`${i}-${t}`)})})]}):(0,G.jsx)(UC,{label:m,children:(0,G.jsx)(`button`,{..._,onClick:()=>{p?l():c()}})}),e[9]=_,e[10]=f,e[11]=p,e[12]=m,e[13]=d,e[14]=n,e[15]=c,e[16]=r,e[17]=l,e[18]=v):v=e[18],v},KC=Rt((e,t)=>({historyStorage:null,actions:{addToHistory(n){let{historyStorage:r}=t();r.updateHistory(n),e({})},editLabel(n,r){let{historyStorage:i}=t();i.editLabel(n,r),e({})},toggleFavorite(n){let{historyStorage:r}=t();r.toggleFavorite(n),e({})},setActive:e=>e,deleteFromHistory(n,r){let{historyStorage:i}=t();i.deleteHistory(n,r),e({})}}})),qC=e=>{let t=(0,U.c)(12),{maxHistoryLength:n,children:r}=e,i=n===void 0?20:n,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(a={nonNull:!0},t[0]=a):a=t[0];let{isFetching:o}=Ws(a),s;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(s={nonNull:!0},t[1]=s):s=t[1];let{tabs:c,activeTabIndex:l}=Ls(s),u=c[l],d=Gt(),f;t[2]!==i||t[3]!==d?(f=new kt(d,i),t[2]=i,t[3]=d,t[4]=f):f=t[4];let p=f,m,h;t[5]===p?(m=t[6],h=t[7]):(m=()=>{KC.setState({historyStorage:p})},h=[p],t[5]=p,t[6]=m,t[7]=h),(0,H.useEffect)(m,h);let g,_;return t[8]!==u||t[9]!==o?(g=()=>{if(!o)return;let{addToHistory:e}=KC.getState().actions;e({query:u.query??void 0,variables:u.variables??void 0,headers:u.headers??void 0,operationName:u.operationName??void 0})},_=[o,u],t[8]=u,t[9]=o,t[10]=g,t[11]=_):(g=t[10],_=t[11]),(0,H.useEffect)(g,_),r},JC=Vt(KC),YC=()=>JC(ZC),XC=()=>JC(QC);function ZC(e){return e.historyStorage.queries}function QC(e){return e.actions}function $C(e,t){for(let n of e)t(n,!0)}var ew=()=>{let e=(0,U.c)(13),t=YC(),{deleteFromHistory:n}=XC(),r;r=t.slice().map(rw).reverse();let i=r.filter(iw);i.length&&(r=r.filter(aw));let[a,o]=(0,H.useState)(null),s,c;e[0]===a?(s=e[1],c=e[2]):(s=()=>{a&&setTimeout(()=>{o(null)},2e3)},c=[a],e[0]=a,e[1]=s,e[2]=c),(0,H.useEffect)(s,c);let l=()=>{try{$C(r,n),o(`success`)}catch{o(`error`)}},u=!!i.length,d=!!r.length,f=(a||d)&&(0,G.jsx)(Cl,{type:`button`,state:a||void 0,disabled:!r.length,onClick:l,children:{success:`Cleared`,error:`Failed to Clear`}[a]||`Clear`}),p;e[3]===f?p=e[4]:(p=(0,G.jsxs)(`div`,{className:`graphiql-history-header`,children:[`History`,f]}),e[3]=f,e[4]=p);let m=u&&(0,G.jsx)(`ul`,{className:`graphiql-history-items`,children:i.map(ow)}),h;e[5]!==u||e[6]!==d?(h=u&&d&&(0,G.jsx)(`div`,{className:`graphiql-history-item-spacer`}),e[5]=u,e[6]=d,e[7]=h):h=e[7];let g=d&&(0,G.jsx)(`ul`,{className:`graphiql-history-items`,children:r.map(sw)}),_;return e[8]!==p||e[9]!==m||e[10]!==h||e[11]!==g?(_=(0,G.jsxs)(`section`,{"aria-label":`History`,className:`graphiql-history`,children:[p,m,h,g]}),e[8]=p,e[9]=m,e[10]=h,e[11]=g,e[12]=_):_=e[12],_},tw=e=>{let t=(0,U.c)(39),{editLabel:n,toggleFavorite:r,deleteFromHistory:i,setActive:a}=XC(),o;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(o={nonNull:!0,caller:tw},t[0]=o):o=t[0];let{headerEditor:s,queryEditor:c,variableEditor:l}=Ls(o),u=(0,H.useRef)(null),d=(0,H.useRef)(null),[f,p]=(0,H.useState)(!1),m,h;t[1]===f?(m=t[2],h=t[3]):(m=()=>{var e;f&&((e=u.current)==null||e.focus())},h=[f],t[1]=f,t[2]=m,t[3]=h),(0,H.useEffect)(m,h);let g;t[4]!==e.item.label||t[5]!==e.item.operationName||t[6]!==e.item.query?(g=e.item.label||e.item.operationName||nw(e.item.query),t[4]=e.item.label,t[5]=e.item.operationName,t[6]=e.item.query,t[7]=g):g=t[7];let _=g,v;t[8]!==n||t[9]!==e.item?(v=()=>{p(!1);let{index:t,...r}=e.item;n({...r,label:u.current?.value},t)},t[8]=n,t[9]=e.item,t[10]=v):v=t[10];let y=v,b;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(b=()=>{p(!1)},t[11]=b):b=t[11];let x=b,S;t[12]===Symbol.for(`react.memo_cache_sentinel`)?(S=e=>{e.stopPropagation(),p(!0)},t[12]=S):S=t[12];let C=S,w;t[13]!==s||t[14]!==e.item||t[15]!==c||t[16]!==a||t[17]!==l?(w=()=>{let{query:t,variables:n,headers:r}=e.item;c?.setValue(t??``),l?.setValue(n??``),s?.setValue(r??``),a(e.item)},t[13]=s,t[14]=e.item,t[15]=c,t[16]=a,t[17]=l,t[18]=w):w=t[18];let T=w,E;t[19]!==i||t[20]!==e.item?(E=t=>{t.stopPropagation(),i(e.item)},t[19]=i,t[20]=e.item,t[21]=E):E=t[21];let D=E,O;t[22]!==e.item||t[23]!==r?(O=t=>{t.stopPropagation(),r(e.item)},t[22]=e.item,t[23]=r,t[24]=O):O=t[24];let k=O,A=f&&`editable`,j;t[25]===A?j=t[26]:(j=q(`graphiql-history-item`,A),t[25]=A,t[26]=j);let M;t[27]!==_||t[28]!==n||t[29]!==D||t[30]!==T||t[31]!==y||t[32]!==k||t[33]!==f||t[34]!==e.item?(M=f?(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(`input`,{type:`text`,defaultValue:e.item.label,ref:u,onKeyDown:t=>{t.key===`Esc`?p(!1):t.key===`Enter`&&(p(!1),n({...e.item,label:t.currentTarget.value}))},placeholder:`Type a label`}),(0,G.jsx)(Sl,{type:`button`,ref:d,onClick:y,children:`Save`}),(0,G.jsx)(Sl,{type:`button`,ref:d,onClick:x,children:(0,G.jsx)(Nc,{})})]}):(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(UC,{label:`Set active`,children:(0,G.jsx)(Sl,{type:`button`,className:`graphiql-history-item-label`,onClick:T,"aria-label":`Set active`,children:_})}),(0,G.jsx)(UC,{label:`Edit label`,children:(0,G.jsx)(Sl,{type:`button`,className:`graphiql-history-item-action`,onClick:C,"aria-label":`Edit label`,children:(0,G.jsx)(Jc,{"aria-hidden":`true`})})}),(0,G.jsx)(UC,{label:e.item.favorite?`Remove favorite`:`Add favorite`,children:(0,G.jsx)(Sl,{type:`button`,className:`graphiql-history-item-action`,onClick:k,"aria-label":e.item.favorite?`Remove favorite`:`Add favorite`,children:e.item.favorite?(0,G.jsx)(tl,{"aria-hidden":`true`}):(0,G.jsx)(nl,{"aria-hidden":`true`})})}),(0,G.jsx)(UC,{label:`Delete from history`,children:(0,G.jsx)(Sl,{type:`button`,className:`graphiql-history-item-action`,onClick:D,"aria-label":`Delete from history`,children:(0,G.jsx)(il,{"aria-hidden":`true`})})})]}),t[27]=_,t[28]=n,t[29]=D,t[30]=T,t[31]=y,t[32]=k,t[33]=f,t[34]=e.item,t[35]=M):M=t[35];let N;return t[36]!==j||t[37]!==M?(N=(0,G.jsx)(`li`,{className:j,children:M}),t[36]=j,t[37]=M,t[38]=N):N=t[38],N};function nw(e){return e?.split(`
|
|
50
|
+
`))}e(``),g(!0);let b=a??l.operationName??void 0,S=h??void 0,C=l.documentAST??void 0;try{let i={},a=n=>{if(t!==y.current)return;let r=Array.isArray(n)?n:!1;if(!r&&typeof n==`object`&&n&&`hasNext`in n&&(r=[n]),r){for(let e of r)qs(i,e);g(!1),e(pt(i))}else{let t=pt(n);g(!1),e(t)}},s=await n({query:r,variables:o,operationName:b},{headers:S,documentAST:C});at(s)?v(s.subscribe({next(e){a(e)},error(t){g(!1),t&&e(ft(t)),v(null)},complete(){g(!1),v(null)}})):ot(s)?(v({unsubscribe:()=>{var e;return(e=s[Symbol.asyncIterator]()).return?.call(e)}}),await Us(a,s),g(!1),v(null)):a(s)}catch(t){let n=t;g(!1),e(ft(n)),v(null)}},t[5]=m,t[6]=s,t[7]=n,t[8]=c,t[9]=a,t[10]=l,t[11]=u,t[12]=x,t[13]=_,t[14]=f,t[15]=d,t[16]=S):S=t[16];let C=S,w=!!_,T=a??null,E;t[17]!==h||t[18]!==C||t[19]!==x||t[20]!==w||t[21]!==T?(E={isFetching:h,isSubscribed:w,operationName:T,run:C,stop:x},t[17]=h,t[18]=C,t[19]=x,t[20]=w,t[21]=T,t[22]=E):E=t[22];let D=E,O;return t[23]!==i||t[24]!==D?(O=(0,G.jsx)(Vs.Provider,{value:D,children:i}),t[23]=i,t[24]=D,t[25]=O):O=t[25],O};async function Us(e,t){for await(let n of t)e(n)}var Ws=It(Vs);function Gs({json:e,errorMessageParse:t,errorMessageType:n}){let r;try{r=e&&e.trim()!==``?JSON.parse(e):void 0}catch(e){throw Error(`${t}: ${e instanceof Error?e.message:e}.`)}if(r!==void 0&&!(typeof r==`object`&&r&&!Array.isArray(r)))throw Error(n);return r}var Ks=new WeakMap;function qs(e,t){var n;let r=[`data`,...t.path??[]];for(let n of[e,t])if(n.pending){let t=Ks.get(e);t===void 0&&(t=new Map,Ks.set(e,t));for(let{id:e,path:r}of n.pending)t.set(e,[`data`,...r])}let{items:i}=t;if(i){let{id:n}=t;if(n){if(r=Ks.get(e)?.get(n),r===void 0)throw Error(`Invalid incremental delivery format.`);(0,Bs.default)(e,r.join(`.`)).push(...i)}else{r=[`data`,...t.path??[]];for(let t of i)(0,zs.default)(e,r.join(`.`),t),r[r.length-1]++}}let{data:a}=t;if(a){let{id:n}=t;if(n){if(r=Ks.get(e)?.get(n),r===void 0)throw Error(`Invalid incremental delivery format.`);let{subPath:i}=t;i!==void 0&&(r=[...r,...i])}(0,zs.default)(e,r.join(`.`),a,{merge:!0})}if(t.errors&&(e.errors||=[],e.errors.push(...t.errors)),t.extensions&&(0,zs.default)(e,`extensions`,t.extensions,{merge:!0}),t.incremental)for(let n of t.incremental)qs(e,n);if(t.completed)for(let{id:r,errors:i}of t.completed)(n=Ks.get(e))==null||n.delete(r),i&&(e.errors||=[],e.errors.push(...i))}function Js(e){return he(e)}var Ys=e=>{let t=(0,U.c)(45),{children:n,dangerouslyAssumeSchemaIsValid:r,defaultQuery:i,defaultHeaders:a,defaultTabs:o,externalFragments:s,fetcher:c,getDefaultFieldNames:l,headers:u,inputValueDeprecation:d,introspectionQueryName:f,onEditOperationName:p,onSchemaChange:m,onTabChange:h,onTogglePluginVisibility:g,operationName:_,plugins:v,referencePlugin:y,query:b,response:x,schema:S,schemaDescription:C,shouldPersistHeaders:w,storage:T,validationRules:E,variables:D,visiblePlugin:O}=e,k;t[0]!==a||t[1]!==i||t[2]!==o||t[3]!==s||t[4]!==u||t[5]!==p||t[6]!==h||t[7]!==b||t[8]!==x||t[9]!==w||t[10]!==E||t[11]!==D?(k={defaultQuery:i,defaultHeaders:a,defaultTabs:o,externalFragments:s,headers:u,onEditOperationName:p,onTabChange:h,query:b,response:x,shouldPersistHeaders:w,validationRules:E,variables:D},t[0]=a,t[1]=i,t[2]=o,t[3]=s,t[4]=u,t[5]=p,t[6]=h,t[7]=b,t[8]=x,t[9]=w,t[10]=E,t[11]=D,t[12]=k):k=t[12];let A=k,j;t[13]!==r||t[14]!==c||t[15]!==d||t[16]!==f||t[17]!==m||t[18]!==S||t[19]!==C?(j={dangerouslyAssumeSchemaIsValid:r,fetcher:c,inputValueDeprecation:d,introspectionQueryName:f,onSchemaChange:m,schema:S,schemaDescription:C},t[13]=r,t[14]=c,t[15]=d,t[16]=f,t[17]=m,t[18]=S,t[19]=C,t[20]=j):j=t[20];let M=j,N;t[21]!==c||t[22]!==l||t[23]!==_?(N={getDefaultFieldNames:l,fetcher:c,operationName:_},t[21]=c,t[22]=l,t[23]=_,t[24]=N):N=t[24];let P=N,F;t[25]!==g||t[26]!==v||t[27]!==y||t[28]!==O?(F={onTogglePluginVisibility:g,plugins:v,visiblePlugin:O,referencePlugin:y},t[25]=g,t[26]=v,t[27]=y,t[28]=O,t[29]=F):F=t[29];let I=F,L;t[30]!==n||t[31]!==I?(L=(0,G.jsx)(nn,{...I,children:n}),t[30]=n,t[31]=I,t[32]=L):L=t[32];let ee;t[33]!==P||t[34]!==L?(ee=(0,G.jsx)(Hs,{...P,children:L}),t[33]=P,t[34]=L,t[35]=ee):ee=t[35];let R;t[36]!==M||t[37]!==ee?(R=(0,G.jsx)(on,{...M,children:ee}),t[36]=M,t[37]=ee,t[38]=R):R=t[38];let te;t[39]!==A||t[40]!==R?(te=(0,G.jsx)(Fs,{...A,children:R}),t[39]=A,t[40]=R,t[41]=te):te=t[41];let z;return t[42]!==T||t[43]!==te?(z=(0,G.jsx)(Ut,{storage:T,children:te}),t[42]=T,t[43]=te,t[44]=z):z=t[44],z};function Xs(e){let t=(0,U.c)(11),n=e===void 0?null:e,r=Gt(),i;t[0]!==n||t[1]!==r?(i=()=>{let e=r.get(Zs);switch(e){case`light`:return`light`;case`dark`:return`dark`;default:return typeof e==`string`&&r.set(Zs,``),n}},t[0]=n,t[1]=r,t[2]=i):i=t[2];let[a,o]=(0,H.useState)(i),s,c;t[3]===a?(s=t[4],c=t[5]):(s=()=>{document.body.classList.remove(`graphiql-light`,`graphiql-dark`),a&&document.body.classList.add(`graphiql-${a}`)},c=[a],t[3]=a,t[4]=s,t[5]=c),(0,H.useEffect)(s,c);let l;t[6]===r?l=t[7]:(l=e=>{r.set(Zs,e||``),o(e)},t[6]=r,t[7]=l);let u=l,d;return t[8]!==u||t[9]!==a?(d={theme:a,setTheme:u},t[8]=u,t[9]=a,t[10]=d):d=t[10],d}var Zs=`theme`,Qs=({title:e,titleId:t,...n})=>H.createElement(`svg`,{height:`1em`,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-labelledby":t,...n},e?H.createElement(`title`,{id:t},e):null,H.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}),H.createElement(`rect`,{x:6,y:6,width:2,height:2,rx:1,fill:`currentColor`})),$s=({title:e,titleId:t,...n})=>H.createElement(`svg`,{height:`1em`,viewBox:`0 0 14 9`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-labelledby":t,...n},e?H.createElement(`title`,{id:t},e):null,H.createElement(`path`,{d:`M1 1L7 7L13 1`,stroke:`currentColor`,strokeWidth:1.5})),ec=({title:e,titleId:t,...n})=>H.createElement(`svg`,{height:`1em`,viewBox:`0 0 7 10`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-labelledby":t,...n},e?H.createElement(`title`,{id:t},e):null,H.createElement(`path`,{d:`M6 1.04819L2 5.04819L6 9.04819`,stroke:`currentColor`,strokeWidth:1.75})),tc=({title:e,titleId:t,...n})=>H.createElement(`svg`,{height:`1em`,viewBox:`0 0 14 9`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-labelledby":t,...n},e?H.createElement(`title`,{id:t},e):null,H.createElement(`path`,{d:`M13 8L7 2L1 8`,stroke:`currentColor`,strokeWidth:1.5})),nc=({title:e,titleId:t,...n})=>H.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?H.createElement(`title`,{id:t},e):null,H.createElement(`path`,{d:`M1 1L12.9998 12.9997`}),H.createElement(`path`,{d:`M13 1L1.00079 13.0003`})),rc=({title:e,titleId:t,...n})=>H.createElement(`svg`,{height:`1em`,viewBox:`-2 -2 22 22`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-labelledby":t,...n},e?H.createElement(`title`,{id:t},e):null,H.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}),H.createElement(`rect`,{x:6.75,y:.75,width:10.5,height:10.5,rx:2.2069,stroke:`currentColor`,strokeWidth:1.5})),ic=({title:e,titleId:t,...n})=>H.createElement(`svg`,{height:`1em`,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-labelledby":t,...n},e?H.createElement(`title`,{id:t},e):null,H.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}),H.createElement(`path`,{d:`M5 9L9 5`,stroke:`currentColor`,strokeWidth:1.2}),H.createElement(`path`,{d:`M5 5L9 9`,stroke:`currentColor`,strokeWidth:1.2})),ac=({title:e,titleId:t,...n})=>H.createElement(`svg`,{height:`1em`,viewBox:`0 0 12 12`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-labelledby":t,...n},e?H.createElement(`title`,{id:t},e):null,H.createElement(`path`,{d:`M4 8L8 4`,stroke:`currentColor`,strokeWidth:1.2}),H.createElement(`path`,{d:`M4 4L8 8`,stroke:`currentColor`,strokeWidth:1.2}),H.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`})),oc=({title:e,titleId:t,...n})=>H.createElement(`svg`,{height:`1em`,viewBox:`0 0 12 12`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-labelledby":t,...n},e?H.createElement(`title`,{id:t},e):null,H.createElement(`rect`,{x:.6,y:.6,width:10.8,height:10.8,rx:3.4,stroke:`currentColor`,strokeWidth:1.2}),H.createElement(`path`,{d:`M4 8L8 4`,stroke:`currentColor`,strokeWidth:1.2}),H.createElement(`path`,{d:`M4 4L8 8`,stroke:`currentColor`,strokeWidth:1.2})),sc=({title:e,titleId:t,...n})=>H.createElement(`svg`,{height:`1em`,viewBox:`0 0.5 12 12`,xmlns:`http://www.w3.org/2000/svg`,"aria-labelledby":t,...n},e?H.createElement(`title`,{id:t},e):null,H.createElement(`rect`,{x:7,y:5.5,width:2,height:2,rx:1,transform:`rotate(90 7 5.5)`,fill:`currentColor`}),H.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`})),cc=({title:e,titleId:t,...n})=>H.createElement(`svg`,{height:`1em`,viewBox:`0 0 20 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-labelledby":t,...n},e?H.createElement(`title`,{id:t},e):null,H.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}),H.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}),H.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`})),lc=({title:e,titleId:t,...n})=>H.createElement(`svg`,{height:`1em`,viewBox:`0 0 20 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-labelledby":t,...n},e?H.createElement(`title`,{id:t},e):null,H.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}),H.createElement(`line`,{x1:13,y1:11.75,x2:6,y2:11.75,stroke:`currentColor`,strokeWidth:1.5})),uc=({title:e,titleId:t,...n})=>H.createElement(`svg`,{height:`1em`,viewBox:`0 0 12 12`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-labelledby":t,...n},e?H.createElement(`title`,{id:t},e):null,H.createElement(`rect`,{x:5,y:5,width:2,height:2,rx:1,fill:`currentColor`}),H.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`})),dc=({title:e,titleId:t,...n})=>H.createElement(`svg`,{height:`1em`,viewBox:`0 0 12 13`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-labelledby":t,...n},e?H.createElement(`title`,{id:t},e):null,H.createElement(`rect`,{x:.6,y:1.1,width:10.8,height:10.8,rx:2.4,stroke:`currentColor`,strokeWidth:1.2}),H.createElement(`rect`,{x:5,y:5.5,width:2,height:2,rx:1,fill:`currentColor`})),fc=({title:e,titleId:t,...n})=>H.createElement(`svg`,{height:`1em`,viewBox:`0 0 24 20`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-labelledby":t,...n},e?H.createElement(`title`,{id:t},e):null,H.createElement(`path`,{d:`M1.59375 9.52344L4.87259 12.9944L8.07872 9.41249`,stroke:`currentColor`,strokeWidth:1.5,strokeLinecap:`square`}),H.createElement(`path`,{d:`M13.75 5.25V10.75H18.75`,stroke:`currentColor`,strokeWidth:1.5,strokeLinecap:`square`}),H.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})),pc=({title:e,titleId:t,...n})=>H.createElement(`svg`,{height:`1em`,viewBox:`0 0 12 12`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-labelledby":t,...n},e?H.createElement(`title`,{id:t},e):null,H.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)`}),H.createElement(`circle`,{cx:6,cy:6,r:1,fill:`currentColor`})),mc=({title:e,titleId:t,...n})=>H.createElement(`svg`,{height:`1em`,viewBox:`0 0 19 18`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-labelledby":t,...n},e?H.createElement(`title`,{id:t},e):null,H.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`}),H.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`}),H.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`}),H.createElement(`path`,{d:`M12.6318 5.86775H6.36955V12.1285H12.6318V5.86775Z`,stroke:`currentColor`,strokeWidth:1.125,strokeLinecap:`round`,strokeLinejoin:`round`}),H.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`})),hc=({title:e,titleId:t,...n})=>H.createElement(`svg`,{height:`1em`,viewBox:`0 0 13 13`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-labelledby":t,...n},e?H.createElement(`title`,{id:t},e):null,H.createElement(`circle`,{cx:5,cy:5,r:4.35,stroke:`currentColor`,strokeWidth:1.3}),H.createElement(`line`,{x1:8.45962,y1:8.54038,x2:11.7525,y2:11.8333,stroke:`currentColor`,strokeWidth:1.3})),gc=({title:e,titleId:t,...n})=>H.createElement(`svg`,{height:`1em`,viewBox:`-2 -2 22 22`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-labelledby":t,...n},e?H.createElement(`title`,{id:t},e):null,H.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}),H.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}),H.createElement(`path`,{d:`M6 4.5L9 7.5L12 4.5`,stroke:`currentColor`,strokeWidth:1.5}),H.createElement(`path`,{d:`M12 13.5L9 10.5L6 13.5`,stroke:`currentColor`,strokeWidth:1.5})),_c=({title:e,titleId:t,...n})=>H.createElement(`svg`,{height:`1em`,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-labelledby":t,...n},e?H.createElement(`title`,{id:t},e):null,H.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`}),H.createElement(`path`,{d:`M11.5 4.5L9.5 2.5`,stroke:`currentColor`,strokeWidth:1.4026,strokeLinecap:`round`,strokeLinejoin:`round`}),H.createElement(`path`,{d:`M5.5 10.5L3.5 8.5`,stroke:`currentColor`,strokeWidth:1.4026,strokeLinecap:`round`,strokeLinejoin:`round`})),vc=({title:e,titleId:t,...n})=>H.createElement(`svg`,{height:`1em`,viewBox:`0 0 16 18`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-labelledby":t,...n},e?H.createElement(`title`,{id:t},e):null,H.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`})),yc=({title:e,titleId:t,...n})=>H.createElement(`svg`,{height:`1em`,viewBox:`0 0 10 16`,fill:`currentColor`,xmlns:`http://www.w3.org/2000/svg`,"aria-labelledby":t,...n},e?H.createElement(`title`,{id:t},e):null,H.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`})),bc=({title:e,titleId:t,...n})=>H.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?H.createElement(`title`,{id:t},e):null,H.createElement(`path`,{d:`M10.2852 24.0745L13.7139 18.0742`,stroke:`currentColor`,strokeWidth:1.5625}),H.createElement(`path`,{d:`M14.5742 24.0749L17.1457 19.7891`,stroke:`currentColor`,strokeWidth:1.5625}),H.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}),H.createElement(`path`,{d:`M4 15L5 13L7 12L5 11L4 9L3 11L1 12L3 13L4 15Z`,stroke:`currentColor`,strokeWidth:1.5625,strokeLinejoin:`round`}),H.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`})),xc=({title:e,titleId:t,...n})=>H.createElement(`svg`,{height:`1em`,viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-labelledby":t,...n},e?H.createElement(`title`,{id:t},e):null,H.createElement(`path`,{d:`M4.75 9.25H1.25V12.75`,stroke:`currentColor`,strokeWidth:1,strokeLinecap:`square`}),H.createElement(`path`,{d:`M11.25 6.75H14.75V3.25`,stroke:`currentColor`,strokeWidth:1,strokeLinecap:`square`}),H.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}),H.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})),Sc=({title:e,titleId:t,...n})=>H.createElement(`svg`,{height:`1em`,viewBox:`0 0 13 13`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-labelledby":t,...n},e?H.createElement(`title`,{id:t},e):null,H.createElement(`rect`,{x:.6,y:.6,width:11.8,height:11.8,rx:5.9,stroke:`currentColor`,strokeWidth:1.2}),H.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})),Cc=({title:e,titleId:t,...n})=>H.createElement(`svg`,{height:`1em`,viewBox:`0 0 21 20`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-labelledby":t,...n},e?H.createElement(`title`,{id:t},e):null,H.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`})),wc=({title:e,titleId:t,...n})=>H.createElement(`svg`,{height:`1em`,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-labelledby":t,...n},e?H.createElement(`title`,{id:t},e):null,H.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`})),Tc=({title:e,titleId:t,...n})=>H.createElement(`svg`,{height:`1em`,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-labelledby":t,...n},e?H.createElement(`title`,{id:t},e):null,H.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})),Ec=({title:e,titleId:t,...n})=>H.createElement(`svg`,{height:`1em`,viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-labelledby":t,...n},e?H.createElement(`title`,{id:t},e):null,H.createElement(`rect`,{width:16,height:16,rx:2,fill:`currentColor`})),Dc=({title:e,titleId:t,...n})=>H.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?H.createElement(`title`,{id:t},e):null,H.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`})),Oc=({title:e,titleId:t,...n})=>H.createElement(`svg`,{height:`1em`,viewBox:`0 0 13 13`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-labelledby":t,...n},e?H.createElement(`title`,{id:t},e):null,H.createElement(`rect`,{x:.6,y:.6,width:11.8,height:11.8,rx:5.9,stroke:`currentColor`,strokeWidth:1.2}),H.createElement(`rect`,{x:5.5,y:5.5,width:2,height:2,rx:1,fill:`currentColor`})),kc=K(Qs),Ac=K($s),jc=K(ec),Mc=K(tc),Nc=K(nc),Pc=K(rc),Fc=K(ic),Ic=K(ac),Lc=K(oc),Rc=K(sc),zc=K(cc),Bc=K(lc),Vc=K(uc),Hc=K(dc),Uc=K(fc),Wc=K(pc),Gc=K(mc),Kc=K(hc),qc=K(gc),Jc=K(_c),Yc=K(vc),Xc=K(yc),Zc=K(bc),Qc=K(xc),$c=K(Sc),el=K(Cc),tl=K(wc),nl=K(Tc),rl=K(Ec),il=K(Dc),al=K(Oc);function K(e){let t=e.name.replace(`Svg`,``).replaceAll(/([A-Z])/g,` $1`).trimStart().toLowerCase()+` icon`,n=n=>{let r=(0,U.c)(2),i;return r[0]===n?i=r[1]:(i=(0,G.jsx)(e,{title:t,...n}),r[0]=n,r[1]=i),i};return n.displayName=e.name,n}function ol(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=ol(e[t]))&&(r&&(r+=` `),r+=n);else for(t in e)e[t]&&(r&&(r+=` `),r+=t);return r}function q(){for(var e,t,n=0,r=``;n<arguments.length;)(e=arguments[n++])&&(t=ol(e))&&(r&&(r+=` `),r+=t);return r}var sl=e=>{let t=(0,U.c)(13),n,r;t[0]===e?(n=t[1],r=t[2]):({isHidden:r,...n}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(i={nonNull:!0,caller:sl},t[3]=i):i=t[3];let{headerEditor:a}=Ls(i),o=Vo(n,sl),s,c;t[4]!==a||t[5]!==r?(s=()=>{r||a?.refresh()},c=[a,r],t[4]=a,t[5]=r,t[6]=s,t[7]=c):(s=t[6],c=t[7]),(0,H.useEffect)(s,c);let l=r&&`hidden`,u;t[8]===l?u=t[9]:(u=q(`graphiql-editor`,l),t[8]=l,t[9]=u);let d;return t[10]!==o||t[11]!==u?(d=(0,G.jsx)(`div`,{className:u,ref:o}),t[10]=o,t[11]=u,t[12]=d):d=t[12],d},cl=Object.assign(e=>{let t=(0,U.c)(14),n;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(n={width:null,height:null},t[0]=n):n=t[0];let[r,i]=(0,H.useState)(n),[a,o]=(0,H.useState)(null),s=(0,H.useRef)(null),c=ll(e.token)?.href,l,u;t[1]===c?(l=t[2],u=t[3]):(l=()=>{if(s.current){if(!c){i({width:null,height:null}),o(null);return}fetch(c,{method:`HEAD`}).then(e=>{o(e.headers.get(`Content-Type`))}).catch(()=>{o(null)})}},u=[c],t[1]=c,t[2]=l,t[3]=u),(0,H.useEffect)(l,u);let d;t[4]!==r.height||t[5]!==r.width||t[6]!==a?(d=r.width!==null&&r.height!==null?(0,G.jsxs)(`div`,{children:[r.width,`x`,r.height,a===null?null:` `+a]}):null,t[4]=r.height,t[5]=r.width,t[6]=a,t[7]=d):d=t[7];let f=d,p;t[8]===Symbol.for(`react.memo_cache_sentinel`)?(p=()=>{i({width:s.current?.naturalWidth??null,height:s.current?.naturalHeight??null})},t[8]=p):p=t[8];let m;t[9]===c?m=t[10]:(m=(0,G.jsx)(`img`,{onLoad:p,ref:s,src:c}),t[9]=c,t[10]=m);let h;return t[11]!==f||t[12]!==m?(h=(0,G.jsxs)(`div`,{children:[m,f]}),t[11]=f,t[12]=m,t[13]=h):h=t[13],h},{shouldRender(e){let t=ll(e);return t?ul(t):!1}});function ll(e){if(e.type!==`string`)return;let t=e.string.slice(1).slice(0,-1).trim();try{return new URL(t,location.protocol+`//`+location.host)}catch{}}function ul(e){return/\.(bmp|gif|jpe?g|png|svg|webp)$/.test(e.pathname)}var dl=e=>{let t=(0,U.c)(2),n=$o(e,dl),r;return t[0]===n?r=t[1]:(r=(0,G.jsx)(`div`,{className:`graphiql-editor`,ref:n}),t[0]=n,t[1]=r),r},fl=Re();function pl(){return Qt([V(()=>import(`./foldgutter-nI1fUyS5.js`).then(e=>t(e.default)),__vite__mapDeps([6,1,0])),V(()=>import(`./brace-fold-zcgUhfJP.js`).then(e=>t(e.default)),__vite__mapDeps([5,1,0])),V(()=>import(`./dialog-BCFM5Ua8.js`).then(e=>t(e.default)),__vite__mapDeps([10,1,0])),V(()=>import(`./search-B5lzXui6.js`).then(e=>t(e.default)),__vite__mapDeps([14,1,10,0,8])),V(()=>import(`./searchcursor-Ccp0pHab.js`).then(e=>t(e.default)),__vite__mapDeps([8,1,0])),V(()=>import(`./jump-to-line-B0d3q3MR.js`).then(e=>t(e.default)),__vite__mapDeps([9,1,10,0])),V(()=>import(`./sublime-CnmrqOqk.js`).then(e=>t(e.default)),__vite__mapDeps([11,1,3,0,8])),V(()=>import(`./mode-CVerEPKb.js`),__vite__mapDeps([33,1,29,0,16,17,18,19,20,21])),V(()=>import(`./info-addon-DQRIr3kJ.js`),__vite__mapDeps([26,1,0]))],{useCommonAddons:!1})}var ml=hl;function hl(e,t){let n=(0,U.c)(17),r;n[0]===e?r=n[1]:(r=e===void 0?{}:e,n[0]=e,n[1]=r);let{responseTooltip:i,editorTheme:a,keyMap:o}=r,s=a===void 0?Yt:a,c=o===void 0?Xt:o,{fetchError:l,validationErrors:u}=sn(),d=t||ml,f;n[2]===d?f=n[3]:(f={nonNull:!0,caller:d},n[2]=d,n[3]=f);let{initialResponse:p,responseEditor:m,setResponseEditor:h}=Ls(f),g=(0,H.useRef)(null),_=(0,H.useRef)(i),v,y;n[4]===i?(v=n[5],y=n[6]):(v=()=>{_.current=i},y=[i],n[4]=i,n[5]=v,n[6]=y),(0,H.useEffect)(v,y);let b,x;n[7]!==s||n[8]!==p||n[9]!==h?(b=()=>{let e=!0;return pl().then(t=>{if(!e)return;let n=document.createElement(`div`),r=(0,fl.createRoot)(n);t.registerHelper(`info`,`graphql-results`,(e,t,i,a)=>{let o=_.current,s=[o&&(0,G.jsx)(o,{pos:a,token:e}),cl.shouldRender(e)&&(0,G.jsx)(cl,{token:e},`image-preview`)].filter(gl);if(s.length)return r.render(s),n;r.unmount()});let i=g.current;i&&h(t(i,{value:p,lineWrapping:!0,readOnly:!0,theme:s,mode:`graphql-results`,foldGutter:!0,gutters:[`CodeMirror-foldgutter`],info:!0,extraKeys:Zt}))}),()=>{e=!1}},x=[s,p,h],n[7]=s,n[8]=p,n[9]=h,n[10]=b,n[11]=x):(b=n[10],x=n[11]),(0,H.useEffect)(b,x),Eo(m,`keyMap`,c);let S,C;return n[12]!==l||n[13]!==m||n[14]!==u?(S=()=>{l&&m?.setValue(l),u.length&&m?.setValue(ft(u))},C=[m,l,u],n[12]=l,n[13]=m,n[14]=u,n[15]=S,n[16]=C):(S=n[15],C=n[16]),(0,H.useEffect)(S,C),g}function gl(e){return!!e}var _l=e=>{let t=(0,U.c)(2),n=hl(e,_l),r;return t[0]===n?r=t[1]:(r=(0,G.jsx)(`section`,{className:`result-window`,"aria-label":`Result Window`,"aria-live":`polite`,"aria-atomic":`true`,ref:n}),t[0]=n,t[1]=r),r},vl=e=>{let t=(0,U.c)(13),n,r;t[0]===e?(n=t[1],r=t[2]):({isHidden:r,...n}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(i={nonNull:!0,caller:vl},t[3]=i):i=t[3];let{variableEditor:a}=Ls(i),o=As(n,vl),s,c;t[4]!==r||t[5]!==a?(s=()=>{r||a?.refresh()},c=[a,r],t[4]=r,t[5]=a,t[6]=s,t[7]=c):(s=t[6],c=t[7]),(0,H.useEffect)(s,c);let l=r&&`hidden`,u;t[8]===l?u=t[9]:(u=q(`graphiql-editor`,l),t[8]=l,t[9]=u);let d;return t[10]!==o||t[11]!==u?(d=(0,G.jsx)(`div`,{className:u,ref:o}),t[10]=o,t[11]=u,t[12]=d):d=t[12],d};function yl(e){let t=(0,U.c)(31),{defaultSizeRelation:n,direction:r,initiallyHidden:i,onHiddenElementChange:a,sizeThresholdFirst:o,sizeThresholdSecond:s,storageKey:c}=e,l=n===void 0?1:n,u=o===void 0?100:o,d=s===void 0?100:s,f=Gt(),p;t[0]!==f||t[1]!==c?(p=Co(500,e=>{c&&f.set(c,e)}),t[0]=f,t[1]=c,t[2]=p):p=t[2];let m=p,h;t[3]!==i||t[4]!==f||t[5]!==c?(h=()=>{let e=c&&f.get(c);return e===bl||i===`first`?`first`:e===xl||i===`second`?`second`:null},t[3]=i,t[4]=f,t[5]=c,t[6]=h):h=t[6];let[g,_]=(0,H.useState)(h),v;t[7]!==g||t[8]!==a?(v=e=>{e!==g&&(_(e),a?.(e))},t[7]=g,t[8]=a,t[9]=v):v=t[9];let y=v,b=(0,H.useRef)(null),x=(0,H.useRef)(null),S=(0,H.useRef)(null),C=(0,H.useRef)(`${l}`),w;t[10]!==f||t[11]!==c?(w=()=>{let e=c&&f.get(c)||C.current;b.current&&(b.current.style.flex=e===bl||e===xl?C.current:e),S.current&&(S.current.style.flex=`1`)},t[10]=f,t[11]=c,t[12]=w):w=t[12];let T;t[13]!==r||t[14]!==f||t[15]!==c?(T=[r,f,c],t[13]=r,t[14]=f,t[15]=c,t[16]=T):T=t[16],(0,H.useEffect)(w,T);let E,D;t[17]!==g||t[18]!==f||t[19]!==c?(D=()=>{let e=e=>{let t=e===`first`?b.current:S.current;if(t&&(t.style.left=`-1000px`,t.style.position=`absolute`,t.style.opacity=`0`,t.style.height=`500px`,t.style.width=`500px`,b.current)){let e=parseFloat(b.current.style.flex);(!Number.isFinite(e)||e<1)&&(b.current.style.flex=`1`)}},t=e=>{let t=e===`first`?b.current:S.current;if(t&&(t.style.width=``,t.style.height=``,t.style.opacity=``,t.style.position=``,t.style.left=``,c)){let e=f.get(c);b.current&&e!==bl&&e!==xl&&(b.current.style.flex=e||C.current)}};g===`first`?e(`first`):t(`first`),g===`second`?e(`second`):t(`second`)},E=[g,f,c],t[17]=g,t[18]=f,t[19]=c,t[20]=E,t[21]=D):(E=t[20],D=t[21]),(0,H.useEffect)(D,E);let O,k;t[22]!==r||t[23]!==y||t[24]!==u||t[25]!==d||t[26]!==m?(O=()=>{if(!x.current||!b.current||!S.current)return;let e=x.current,t=b.current,n=t.parentElement,i=r===`horizontal`?`clientX`:`clientY`,a=r===`horizontal`?`left`:`top`,o=r===`horizontal`?`right`:`bottom`,s=r===`horizontal`?`clientWidth`:`clientHeight`,c=function(r){if(r.target!==r.currentTarget)return;r.preventDefault();let c=r[i]-e.getBoundingClientRect()[a],l=function(r){if(r.buttons===0)return f();let l=r[i]-n.getBoundingClientRect()[a]-c,p=n.getBoundingClientRect()[o]-r[i]+c-e[s];if(l<u)y(`first`),m(bl);else if(p<d)y(`second`),m(xl);else{y(null);let e=`${l/p}`;t.style.flex=e,m(e)}};function f(){document.removeEventListener(`mousemove`,l),document.removeEventListener(`mouseup`,f)}document.addEventListener(`mousemove`,l),document.addEventListener(`mouseup`,f)};e.addEventListener(`mousedown`,c);let l=function(){b.current&&(b.current.style.flex=C.current),m(C.current),y(null)};return e.addEventListener(`dblclick`,l),()=>{e.removeEventListener(`mousedown`,c),e.removeEventListener(`dblclick`,l)}},k=[r,y,u,d,m],t[22]=r,t[23]=y,t[24]=u,t[25]=d,t[26]=m,t[27]=O,t[28]=k):(O=t[27],k=t[28]),(0,H.useEffect)(O,k);let A;return t[29]===g?A=t[30]:(A={dragBarRef:x,hiddenElement:g,firstRef:b,setHiddenElement:_,secondRef:S},t[29]=g,t[30]=A),A}var bl=`hide-first`,xl=`hide-second`,Sl=(0,H.forwardRef)((e,t)=>{let n=(0,U.c)(6),r;n[0]===e.className?r=n[1]:(r=q(`graphiql-un-styled`,e.className),n[0]=e.className,n[1]=r);let i;return n[2]!==e||n[3]!==t||n[4]!==r?(i=(0,G.jsx)(`button`,{...e,ref:t,className:r}),n[2]=e,n[3]=t,n[4]=r,n[5]=i):i=n[5],i});Sl.displayName=`UnStyledButton`;var Cl=(0,H.forwardRef)((e,t)=>{let n=(0,U.c)(7),r;n[0]!==e.className||n[1]!==e.state?(r=q(`graphiql-button`,{success:`graphiql-button-success`,error:`graphiql-button-error`}[e.state],e.className),n[0]=e.className,n[1]=e.state,n[2]=r):r=n[2];let i;return n[3]!==e||n[4]!==t||n[5]!==r?(i=(0,G.jsx)(`button`,{...e,ref:t,className:r}),n[3]=e,n[4]=t,n[5]=r,n[6]=i):i=n[6],i});Cl.displayName=`Button`;var wl=(0,H.forwardRef)((e,t)=>{let n=(0,U.c)(6),r;n[0]===e.className?r=n[1]:(r=q(`graphiql-button-group`,e.className),n[0]=e.className,n[1]=r);let i;return n[2]!==e||n[3]!==t||n[4]!==r?(i=(0,G.jsx)(`div`,{...e,ref:t,className:r}),n[2]=e,n[3]=t,n[4]=r,n[5]=i):i=n[5],i});wl.displayName=`ButtonGroup`;var Tl=Symbol.for(`react.lazy`),El=H.use;function Dl(e){return typeof e==`object`&&!!e&&`then`in e}function Ol(e){return typeof e==`object`&&!!e&&`$$typeof`in e&&e.$$typeof===Tl&&`_payload`in e&&Dl(e._payload)}function kl(e){let t=Al(e),n=H.forwardRef((e,n)=>{let{children:r,...i}=e;Ol(r)&&typeof El==`function`&&(r=El(r._payload));let a=H.Children.toArray(r),o=a.find(Ml);if(o){let e=o.props.children,r=a.map(t=>t===o?H.Children.count(e)>1?H.Children.only(null):H.isValidElement(e)?e.props.children:null:t);return(0,G.jsx)(t,{...i,ref:n,children:H.isValidElement(e)?H.cloneElement(e,void 0,r):null})}return(0,G.jsx)(t,{...i,ref:n,children:r})});return n.displayName=`${e}.Slot`,n}function Al(e){let t=H.forwardRef((e,t)=>{let{children:n,...r}=e;if(Ol(n)&&typeof El==`function`&&(n=El(n._payload)),H.isValidElement(n)){let e=Pl(n),i=Nl(r,n.props);return n.type!==H.Fragment&&(i.ref=t?p(t,e):e),H.cloneElement(n,i)}return H.Children.count(n)>1?H.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var jl=Symbol(`radix.slottable`);function Ml(e){return H.isValidElement(e)&&typeof e.type==`function`&&`__radixId`in e.type&&e.type.__radixId===jl}function Nl(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):r===`style`?n[r]={...i,...a}:r===`className`&&(n[r]=[i,a].filter(Boolean).join(` `))}return{...e,...n}}function Pl(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var Fl=t(P(),1),Il=[`a`,`button`,`div`,`form`,`h2`,`h3`,`img`,`input`,`label`,`li`,`nav`,`ol`,`p`,`select`,`span`,`svg`,`ul`].reduce((e,t)=>{let n=kl(`Primitive.${t}`),r=H.forwardRef((e,r)=>{let{asChild:i,...a}=e,o=i?n:t;return typeof window<`u`&&(window[Symbol.for(`radix-ui`)]=!0),(0,G.jsx)(o,{...a,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),Ll=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`}),Rl=`VisuallyHidden`,zl=H.forwardRef((e,t)=>(0,G.jsx)(Il.span,{...e,ref:t,style:{...Ll,...e.style}}));zl.displayName=Rl;var Bl=zl,Vl=(0,H.forwardRef)((e,t)=>{let n=(0,U.c)(8),r;n[0]===e.className?r=n[1]:(r=q(`graphiql-dialog-close`,e.className),n[0]=e.className,n[1]=r);let i,a;n[2]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,G.jsx)(Bl,{children:`Close dialog`}),a=(0,G.jsx)(Nc,{}),n[2]=i,n[3]=a):(i=n[2],a=n[3]);let o;return n[4]!==e||n[5]!==t||n[6]!==r?(o=(0,G.jsx)(se,{asChild:!0,children:(0,G.jsxs)(Sl,{...e,ref:t,type:`button`,className:r,children:[i,a]})}),n[4]=e,n[5]=t,n[6]=r,n[7]=o):o=n[7],o});Vl.displayName=`Dialog.Close`;var Hl=Object.assign(e=>{let t=(0,U.c)(9),n,r;t[0]===e?(n=t[1],r=t[2]):({children:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,G.jsx)(ue,{className:`graphiql-dialog-overlay`}),t[3]=i):i=t[3];let a;t[4]===n?a=t[5]:(a=(0,G.jsxs)(S,{children:[i,(0,G.jsx)(fe,{className:`graphiql-dialog`,children:n})]}),t[4]=n,t[5]=a);let o;return t[6]!==r||t[7]!==a?(o=(0,G.jsx)(s,{...r,children:a}),t[6]=r,t[7]=a,t[8]=o):o=t[8],o},{Close:Vl,Title:le,Trigger:C,Description:O}),Ul=`rovingFocusGroup.onEntryFocus`,Wl={bubbles:!1,cancelable:!0},Gl=`RovingFocusGroup`,[Kl,ql,Jl]=ie(Gl),[Yl,Xl]=c(Gl,[Jl]),[Zl,Ql]=Yl(Gl),$l=H.forwardRef((e,t)=>(0,G.jsx)(Kl.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,G.jsx)(Kl.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,G.jsx)(eu,{...e,ref:t})})}));$l.displayName=Gl;var eu=H.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:n,orientation:r,loop:a=!1,dir:o,currentTabStopId:s,defaultCurrentTabStopId:c,onCurrentTabStopIdChange:l,onEntryFocus:u,preventScrollOnEntryFocus:d=!1,...f}=e,p=H.useRef(null),m=b(t,p),h=z(o),[g,v]=L({prop:s,defaultProp:c??null,onChange:l,caller:Gl}),[y,x]=H.useState(!1),S=i(u),C=ql(n),w=H.useRef(!1),[T,E]=H.useState(0);return H.useEffect(()=>{let e=p.current;if(e)return e.addEventListener(Ul,S),()=>e.removeEventListener(Ul,S)},[S]),(0,G.jsx)(Zl,{scope:n,orientation:r,dir:h,loop:a,currentTabStopId:g,onItemFocus:H.useCallback(e=>v(e),[v]),onItemShiftTab:H.useCallback(()=>x(!0),[]),onFocusableItemAdd:H.useCallback(()=>E(e=>e+1),[]),onFocusableItemRemove:H.useCallback(()=>E(e=>e-1),[]),children:(0,G.jsx)(_.div,{tabIndex:y||T===0?-1:0,"data-orientation":r,...f,ref:m,style:{outline:`none`,...e.style},onMouseDown:B(e.onMouseDown,()=>{w.current=!0}),onFocus:B(e.onFocus,e=>{let t=!w.current;if(e.target===e.currentTarget&&t&&!y){let t=new CustomEvent(Ul,Wl);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=C().filter(e=>e.focusable);ou([e.find(e=>e.active),e.find(e=>e.id===g),...e].filter(Boolean).map(e=>e.ref.current),d)}}w.current=!1}),onBlur:B(e.onBlur,()=>x(!1))})})}),tu=`RovingFocusGroupItem`,nu=H.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:n,focusable:r=!0,active:i=!1,tabStopId:a,children:o,...s}=e,c=x(),l=a||c,u=Ql(tu,n),d=u.currentTabStopId===l,f=ql(n),{onFocusableItemAdd:p,onFocusableItemRemove:m,currentTabStopId:h}=u;return H.useEffect(()=>{if(r)return p(),()=>m()},[r,p,m]),(0,G.jsx)(Kl.ItemSlot,{scope:n,id:l,focusable:r,active:i,children:(0,G.jsx)(_.span,{tabIndex:d?0:-1,"data-orientation":u.orientation,...s,ref:t,onMouseDown:B(e.onMouseDown,e=>{r?u.onItemFocus(l):e.preventDefault()}),onFocus:B(e.onFocus,()=>u.onItemFocus(l)),onKeyDown:B(e.onKeyDown,e=>{if(e.key===`Tab`&&e.shiftKey){u.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let t=au(e,u.orientation,u.dir);if(t!==void 0){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let n=f().filter(e=>e.focusable).map(e=>e.ref.current);if(t===`last`)n.reverse();else if(t===`prev`||t===`next`){t===`prev`&&n.reverse();let r=n.indexOf(e.currentTarget);n=u.loop?su(n,r+1):n.slice(r+1)}setTimeout(()=>ou(n))}}),children:typeof o==`function`?o({isCurrentTabStop:d,hasTabStop:h!=null}):o})})});nu.displayName=tu;var ru={ArrowLeft:`prev`,ArrowUp:`prev`,ArrowRight:`next`,ArrowDown:`next`,PageUp:`first`,Home:`first`,PageDown:`last`,End:`last`};function iu(e,t){return t===`rtl`?e===`ArrowLeft`?`ArrowRight`:e===`ArrowRight`?`ArrowLeft`:e:e}function au(e,t,n){let r=iu(e.key,n);if(!(t===`vertical`&&[`ArrowLeft`,`ArrowRight`].includes(r))&&!(t===`horizontal`&&[`ArrowUp`,`ArrowDown`].includes(r)))return ru[r]}function ou(e,t=!1){let n=document.activeElement;for(let r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}function su(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var cu=$l,lu=nu,uu=[`Enter`,` `],du=[`ArrowDown`,`PageUp`,`Home`],fu=[`ArrowUp`,`PageDown`,`End`],pu=[...du,...fu],mu={ltr:[...uu,`ArrowRight`],rtl:[...uu,`ArrowLeft`]},hu={ltr:[`ArrowLeft`],rtl:[`ArrowRight`]},gu=`Menu`,[_u,vu,yu]=ie(gu),[bu,xu]=c(gu,[yu,j,Xl]),Su=j(),Cu=Xl(),[wu,Tu]=bu(gu),[Eu,Du]=bu(gu),Ou=e=>{let{__scopeMenu:t,open:n=!1,children:r,dir:a,onOpenChange:o,modal:s=!0}=e,c=Su(t),[l,u]=H.useState(null),d=H.useRef(!1),f=i(o),p=z(a);return H.useEffect(()=>{let e=()=>{d.current=!0,document.addEventListener(`pointerdown`,t,{capture:!0,once:!0}),document.addEventListener(`pointermove`,t,{capture:!0,once:!0})},t=()=>d.current=!1;return document.addEventListener(`keydown`,e,{capture:!0}),()=>{document.removeEventListener(`keydown`,e,{capture:!0}),document.removeEventListener(`pointerdown`,t,{capture:!0}),document.removeEventListener(`pointermove`,t,{capture:!0})}},[]),(0,G.jsx)(A,{...c,children:(0,G.jsx)(wu,{scope:t,open:n,onOpenChange:f,content:l,onContentChange:u,children:(0,G.jsx)(Eu,{scope:t,onClose:H.useCallback(()=>f(!1),[f]),isUsingKeyboardRef:d,dir:p,modal:s,children:r})})})};Ou.displayName=gu;var ku=`MenuAnchor`,Au=H.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e,i=Su(n);return(0,G.jsx)(k,{...i,...r,ref:t})});Au.displayName=ku;var ju=`MenuPortal`,[Mu,Nu]=bu(ju,{forceMount:void 0}),Pu=e=>{let{__scopeMenu:t,forceMount:n,children:r,container:i}=e,a=Tu(ju,t);return(0,G.jsx)(Mu,{scope:t,forceMount:n,children:(0,G.jsx)(I,{present:n||a.open,children:(0,G.jsx)(h,{asChild:!0,container:i,children:r})})})};Pu.displayName=ju;var Fu=`MenuContent`,[Iu,Lu]=bu(Fu),Ru=H.forwardRef((e,t)=>{let n=Nu(Fu,e.__scopeMenu),{forceMount:r=n.forceMount,...i}=e,a=Tu(Fu,e.__scopeMenu),o=Du(Fu,e.__scopeMenu);return(0,G.jsx)(_u.Provider,{scope:e.__scopeMenu,children:(0,G.jsx)(I,{present:r||a.open,children:(0,G.jsx)(_u.Slot,{scope:e.__scopeMenu,children:o.modal?(0,G.jsx)(zu,{...i,ref:t}):(0,G.jsx)(Bu,{...i,ref:t})})})})}),zu=H.forwardRef((e,t)=>{let n=Tu(Fu,e.__scopeMenu),r=H.useRef(null),i=b(t,r);return H.useEffect(()=>{let e=r.current;if(e)return v(e)},[]),(0,G.jsx)(Hu,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:B(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),Bu=H.forwardRef((e,t)=>{let n=Tu(Fu,e.__scopeMenu);return(0,G.jsx)(Hu,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),Vu=l(`MenuContent.ScrollLock`),Hu=H.forwardRef((e,t)=>{let{__scopeMenu:n,loop:r=!1,trapFocus:i,onOpenAutoFocus:o,onCloseAutoFocus:s,disableOutsidePointerEvents:c,onEntryFocus:l,onEscapeKeyDown:u,onPointerDownOutside:d,onFocusOutside:f,onInteractOutside:p,onDismiss:h,disableOutsideScroll:_,...v}=e,y=Tu(Fu,n),x=Du(Fu,n),S=Su(n),C=Cu(n),w=vu(n),[T,E]=H.useState(null),D=H.useRef(null),O=b(t,D,y.onContentChange),k=H.useRef(0),A=H.useRef(``),j=H.useRef(0),M=H.useRef(null),N=H.useRef(`right`),P=H.useRef(0),F=_?ee:H.Fragment,I=_?{as:Vu,allowPinchZoom:!0}:void 0,L=e=>{let t=A.current+e,n=w().filter(e=>!e.disabled),r=document.activeElement,i=n.find(e=>e.ref.current===r)?.textValue,a=Ed(n.map(e=>e.textValue),t,i),o=n.find(e=>e.textValue===a)?.ref.current;(function e(t){A.current=t,window.clearTimeout(k.current),t!==``&&(k.current=window.setTimeout(()=>e(``),1e3))})(t),o&&setTimeout(()=>o.focus())};H.useEffect(()=>()=>window.clearTimeout(k.current),[]),a();let R=H.useCallback(e=>N.current===M.current?.side&&Od(e,M.current?.area),[]);return(0,G.jsx)(Iu,{scope:n,searchRef:A,onItemEnter:H.useCallback(e=>{R(e)&&e.preventDefault()},[R]),onItemLeave:H.useCallback(e=>{R(e)||(D.current?.focus(),E(null))},[R]),onTriggerLeave:H.useCallback(e=>{R(e)&&e.preventDefault()},[R]),pointerGraceTimerRef:j,onPointerGraceIntentChange:H.useCallback(e=>{M.current=e},[]),children:(0,G.jsx)(F,{...I,children:(0,G.jsx)(m,{asChild:!0,trapped:i,onMountAutoFocus:B(o,e=>{e.preventDefault(),D.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:s,children:(0,G.jsx)(g,{asChild:!0,disableOutsidePointerEvents:c,onEscapeKeyDown:u,onPointerDownOutside:d,onFocusOutside:f,onInteractOutside:p,onDismiss:h,children:(0,G.jsx)(cu,{asChild:!0,...C,dir:x.dir,orientation:`vertical`,loop:r,currentTabStopId:T,onCurrentTabStopIdChange:E,onEntryFocus:B(l,e=>{x.isUsingKeyboardRef.current||e.preventDefault()}),preventScrollOnEntryFocus:!0,children:(0,G.jsx)(ae,{role:`menu`,"aria-orientation":`vertical`,"data-state":xd(y.open),"data-radix-menu-content":``,dir:x.dir,...S,...v,ref:O,style:{outline:`none`,...v.style},onKeyDown:B(v.onKeyDown,e=>{let t=e.target.closest(`[data-radix-menu-content]`)===e.currentTarget,n=e.ctrlKey||e.altKey||e.metaKey,r=e.key.length===1;t&&(e.key===`Tab`&&e.preventDefault(),!n&&r&&L(e.key));let i=D.current;if(e.target!==i||!pu.includes(e.key))return;e.preventDefault();let a=w().filter(e=>!e.disabled).map(e=>e.ref.current);fu.includes(e.key)&&a.reverse(),wd(a)}),onBlur:B(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(k.current),A.current=``)}),onPointerMove:B(e.onPointerMove,kd(e=>{let t=e.target,n=P.current!==e.clientX;e.currentTarget.contains(t)&&n&&(N.current=e.clientX>P.current?`right`:`left`,P.current=e.clientX)}))})})})})})})});Ru.displayName=Fu;var Uu=`MenuGroup`,Wu=H.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,G.jsx)(_.div,{role:`group`,...r,ref:t})});Wu.displayName=Uu;var Gu=`MenuLabel`,Ku=H.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,G.jsx)(_.div,{...r,ref:t})});Ku.displayName=Gu;var qu=`MenuItem`,Ju=`menu.itemSelect`,Yu=H.forwardRef((e,t)=>{let{disabled:n=!1,onSelect:r,...i}=e,a=H.useRef(null),o=Du(qu,e.__scopeMenu),s=Lu(qu,e.__scopeMenu),c=b(t,a),l=H.useRef(!1),u=()=>{let e=a.current;if(!n&&e){let t=new CustomEvent(Ju,{bubbles:!0,cancelable:!0});e.addEventListener(Ju,e=>r?.(e),{once:!0}),y(e,t),t.defaultPrevented?l.current=!1:o.onClose()}};return(0,G.jsx)(Xu,{...i,ref:c,disabled:n,onClick:B(e.onClick,u),onPointerDown:t=>{e.onPointerDown?.(t),l.current=!0},onPointerUp:B(e.onPointerUp,e=>{l.current||e.currentTarget?.click()}),onKeyDown:B(e.onKeyDown,e=>{let t=s.searchRef.current!==``;n||t&&e.key===` `||uu.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})})});Yu.displayName=qu;var Xu=H.forwardRef((e,t)=>{let{__scopeMenu:n,disabled:r=!1,textValue:i,...a}=e,o=Lu(qu,n),s=Cu(n),c=H.useRef(null),l=b(t,c),[u,d]=H.useState(!1),[f,p]=H.useState(``);return H.useEffect(()=>{let e=c.current;e&&p((e.textContent??``).trim())},[a.children]),(0,G.jsx)(_u.ItemSlot,{scope:n,disabled:r,textValue:i??f,children:(0,G.jsx)(lu,{asChild:!0,...s,focusable:!r,children:(0,G.jsx)(_.div,{role:`menuitem`,"data-highlighted":u?``:void 0,"aria-disabled":r||void 0,"data-disabled":r?``:void 0,...a,ref:l,onPointerMove:B(e.onPointerMove,kd(e=>{r?o.onItemLeave(e):(o.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:B(e.onPointerLeave,kd(e=>o.onItemLeave(e))),onFocus:B(e.onFocus,()=>d(!0)),onBlur:B(e.onBlur,()=>d(!1))})})})}),Zu=`MenuCheckboxItem`,Qu=H.forwardRef((e,t)=>{let{checked:n=!1,onCheckedChange:r,...i}=e;return(0,G.jsx)(od,{scope:e.__scopeMenu,checked:n,children:(0,G.jsx)(Yu,{role:`menuitemcheckbox`,"aria-checked":Sd(n)?`mixed`:n,...i,ref:t,"data-state":Cd(n),onSelect:B(i.onSelect,()=>r?.(Sd(n)?!0:!n),{checkForDefaultPrevented:!1})})})});Qu.displayName=Zu;var $u=`MenuRadioGroup`,[ed,td]=bu($u,{value:void 0,onValueChange:()=>{}}),nd=H.forwardRef((e,t)=>{let{value:n,onValueChange:r,...a}=e,o=i(r);return(0,G.jsx)(ed,{scope:e.__scopeMenu,value:n,onValueChange:o,children:(0,G.jsx)(Wu,{...a,ref:t})})});nd.displayName=$u;var rd=`MenuRadioItem`,id=H.forwardRef((e,t)=>{let{value:n,...r}=e,i=td(rd,e.__scopeMenu),a=n===i.value;return(0,G.jsx)(od,{scope:e.__scopeMenu,checked:a,children:(0,G.jsx)(Yu,{role:`menuitemradio`,"aria-checked":a,...r,ref:t,"data-state":Cd(a),onSelect:B(r.onSelect,()=>i.onValueChange?.(n),{checkForDefaultPrevented:!1})})})});id.displayName=rd;var ad=`MenuItemIndicator`,[od,sd]=bu(ad,{checked:!1}),cd=H.forwardRef((e,t)=>{let{__scopeMenu:n,forceMount:r,...i}=e,a=sd(ad,n);return(0,G.jsx)(I,{present:r||Sd(a.checked)||a.checked===!0,children:(0,G.jsx)(_.span,{...i,ref:t,"data-state":Cd(a.checked)})})});cd.displayName=ad;var ld=`MenuSeparator`,ud=H.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,G.jsx)(_.div,{role:`separator`,"aria-orientation":`horizontal`,...r,ref:t})});ud.displayName=ld;var dd=`MenuArrow`,fd=H.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e,i=Su(n);return(0,G.jsx)(R,{...i,...r,ref:t})});fd.displayName=dd;var pd=`MenuSub`,[md,hd]=bu(pd),gd=e=>{let{__scopeMenu:t,children:n,open:r=!1,onOpenChange:a}=e,o=Tu(pd,t),s=Su(t),[c,l]=H.useState(null),[u,d]=H.useState(null),f=i(a);return H.useEffect(()=>(o.open===!1&&f(!1),()=>f(!1)),[o.open,f]),(0,G.jsx)(A,{...s,children:(0,G.jsx)(wu,{scope:t,open:r,onOpenChange:f,content:u,onContentChange:d,children:(0,G.jsx)(md,{scope:t,contentId:x(),triggerId:x(),trigger:c,onTriggerChange:l,children:n})})})};gd.displayName=pd;var _d=`MenuSubTrigger`,vd=H.forwardRef((e,t)=>{let n=Tu(_d,e.__scopeMenu),r=Du(_d,e.__scopeMenu),i=hd(_d,e.__scopeMenu),a=Lu(_d,e.__scopeMenu),o=H.useRef(null),{pointerGraceTimerRef:s,onPointerGraceIntentChange:c}=a,l={__scopeMenu:e.__scopeMenu},u=H.useCallback(()=>{o.current&&window.clearTimeout(o.current),o.current=null},[]);return H.useEffect(()=>u,[u]),H.useEffect(()=>{let e=s.current;return()=>{window.clearTimeout(e),c(null)}},[s,c]),(0,G.jsx)(Au,{asChild:!0,...l,children:(0,G.jsx)(Xu,{id:i.triggerId,"aria-haspopup":`menu`,"aria-expanded":n.open,"aria-controls":i.contentId,"data-state":xd(n.open),...e,ref:p(t,i.onTriggerChange),onClick:t=>{e.onClick?.(t),!(e.disabled||t.defaultPrevented)&&(t.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:B(e.onPointerMove,kd(t=>{a.onItemEnter(t),!t.defaultPrevented&&!e.disabled&&!n.open&&!o.current&&(a.onPointerGraceIntentChange(null),o.current=window.setTimeout(()=>{n.onOpenChange(!0),u()},100))})),onPointerLeave:B(e.onPointerLeave,kd(e=>{u();let t=n.content?.getBoundingClientRect();if(t){let r=n.content?.dataset.side,i=r===`right`,o=i?-5:5,c=t[i?`left`:`right`],l=t[i?`right`:`left`];a.onPointerGraceIntentChange({area:[{x:e.clientX+o,y:e.clientY},{x:c,y:t.top},{x:l,y:t.top},{x:l,y:t.bottom},{x:c,y:t.bottom}],side:r}),window.clearTimeout(s.current),s.current=window.setTimeout(()=>a.onPointerGraceIntentChange(null),300)}else{if(a.onTriggerLeave(e),e.defaultPrevented)return;a.onPointerGraceIntentChange(null)}})),onKeyDown:B(e.onKeyDown,t=>{let i=a.searchRef.current!==``;e.disabled||i&&t.key===` `||mu[r.dir].includes(t.key)&&(n.onOpenChange(!0),n.content?.focus(),t.preventDefault())})})})});vd.displayName=_d;var yd=`MenuSubContent`,bd=H.forwardRef((e,t)=>{let n=Nu(Fu,e.__scopeMenu),{forceMount:r=n.forceMount,...i}=e,a=Tu(Fu,e.__scopeMenu),o=Du(Fu,e.__scopeMenu),s=hd(yd,e.__scopeMenu),c=H.useRef(null),l=b(t,c);return(0,G.jsx)(_u.Provider,{scope:e.__scopeMenu,children:(0,G.jsx)(I,{present:r||a.open,children:(0,G.jsx)(_u.Slot,{scope:e.__scopeMenu,children:(0,G.jsx)(Hu,{id:s.contentId,"aria-labelledby":s.triggerId,...i,ref:l,align:`start`,side:o.dir===`rtl`?`left`:`right`,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{o.isUsingKeyboardRef.current&&c.current?.focus(),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:B(e.onFocusOutside,e=>{e.target!==s.trigger&&a.onOpenChange(!1)}),onEscapeKeyDown:B(e.onEscapeKeyDown,e=>{o.onClose(),e.preventDefault()}),onKeyDown:B(e.onKeyDown,e=>{let t=e.currentTarget.contains(e.target),n=hu[o.dir].includes(e.key);t&&n&&(a.onOpenChange(!1),s.trigger?.focus(),e.preventDefault())})})})})})});bd.displayName=yd;function xd(e){return e?`open`:`closed`}function Sd(e){return e===`indeterminate`}function Cd(e){return Sd(e)?`indeterminate`:e?`checked`:`unchecked`}function wd(e){let t=document.activeElement;for(let n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function Td(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function Ed(e,t,n){let r=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,i=n?e.indexOf(n):-1,a=Td(e,Math.max(i,0));r.length===1&&(a=a.filter(e=>e!==n));let o=a.find(e=>e.toLowerCase().startsWith(r.toLowerCase()));return o===n?void 0:o}function Dd(e,t){let{x:n,y:r}=e,i=!1;for(let e=0,a=t.length-1;e<t.length;a=e++){let o=t[e],s=t[a],c=o.x,l=o.y,u=s.x,d=s.y;l>r!=d>r&&n<(u-c)*(r-l)/(d-l)+c&&(i=!i)}return i}function Od(e,t){return t?Dd({x:e.clientX,y:e.clientY},t):!1}function kd(e){return t=>t.pointerType===`mouse`?e(t):void 0}var Ad=Ou,jd=Au,Md=Pu,Nd=Ru,Pd=Wu,Fd=Ku,Id=Yu,Ld=Qu,Rd=nd,zd=id,Bd=cd,Vd=ud,Hd=fd,Ud=vd,Wd=bd,Gd=`DropdownMenu`,[Kd,qd]=c(Gd,[xu]),Jd=xu(),[Yd,Xd]=Kd(Gd),Zd=e=>{let{__scopeDropdownMenu:t,children:n,dir:r,open:i,defaultOpen:a,onOpenChange:o,modal:s=!0}=e,c=Jd(t),l=H.useRef(null),[u,d]=L({prop:i,defaultProp:a??!1,onChange:o,caller:Gd});return(0,G.jsx)(Yd,{scope:t,triggerId:x(),triggerRef:l,contentId:x(),open:u,onOpenChange:d,onOpenToggle:H.useCallback(()=>d(e=>!e),[d]),modal:s,children:(0,G.jsx)(Ad,{...c,open:u,onOpenChange:d,dir:r,modal:s,children:n})})};Zd.displayName=Gd;var Qd=`DropdownMenuTrigger`,$d=H.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,disabled:r=!1,...i}=e,a=Xd(Qd,n),o=Jd(n);return(0,G.jsx)(jd,{asChild:!0,...o,children:(0,G.jsx)(_.button,{type:`button`,id:a.triggerId,"aria-haspopup":`menu`,"aria-expanded":a.open,"aria-controls":a.open?a.contentId:void 0,"data-state":a.open?`open`:`closed`,"data-disabled":r?``:void 0,disabled:r,...i,ref:p(t,a.triggerRef),onPointerDown:B(e.onPointerDown,e=>{!r&&e.button===0&&e.ctrlKey===!1&&(a.onOpenToggle(),a.open||e.preventDefault())}),onKeyDown:B(e.onKeyDown,e=>{r||([`Enter`,` `].includes(e.key)&&a.onOpenToggle(),e.key===`ArrowDown`&&a.onOpenChange(!0),[`Enter`,` `,`ArrowDown`].includes(e.key)&&e.preventDefault())})})})});$d.displayName=Qd;var ef=`DropdownMenuPortal`,tf=e=>{let{__scopeDropdownMenu:t,...n}=e,r=Jd(t);return(0,G.jsx)(Md,{...r,...n})};tf.displayName=ef;var nf=`DropdownMenuContent`,rf=H.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=Xd(nf,n),a=Jd(n),o=H.useRef(!1);return(0,G.jsx)(Nd,{id:i.contentId,"aria-labelledby":i.triggerId,...a,...r,ref:t,onCloseAutoFocus:B(e.onCloseAutoFocus,e=>{o.current||i.triggerRef.current?.focus(),o.current=!1,e.preventDefault()}),onInteractOutside:B(e.onInteractOutside,e=>{let t=e.detail.originalEvent,n=t.button===0&&t.ctrlKey===!0,r=t.button===2||n;(!i.modal||r)&&(o.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)`}})});rf.displayName=nf;var af=`DropdownMenuGroup`,of=H.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=Jd(n);return(0,G.jsx)(Pd,{...i,...r,ref:t})});of.displayName=af;var sf=`DropdownMenuLabel`,cf=H.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=Jd(n);return(0,G.jsx)(Fd,{...i,...r,ref:t})});cf.displayName=sf;var lf=`DropdownMenuItem`,uf=H.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=Jd(n);return(0,G.jsx)(Id,{...i,...r,ref:t})});uf.displayName=lf;var df=`DropdownMenuCheckboxItem`,ff=H.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=Jd(n);return(0,G.jsx)(Ld,{...i,...r,ref:t})});ff.displayName=df;var pf=`DropdownMenuRadioGroup`,mf=H.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=Jd(n);return(0,G.jsx)(Rd,{...i,...r,ref:t})});mf.displayName=pf;var hf=`DropdownMenuRadioItem`,gf=H.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=Jd(n);return(0,G.jsx)(zd,{...i,...r,ref:t})});gf.displayName=hf;var _f=`DropdownMenuItemIndicator`,vf=H.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=Jd(n);return(0,G.jsx)(Bd,{...i,...r,ref:t})});vf.displayName=_f;var yf=`DropdownMenuSeparator`,bf=H.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=Jd(n);return(0,G.jsx)(Vd,{...i,...r,ref:t})});bf.displayName=yf;var xf=`DropdownMenuArrow`,Sf=H.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=Jd(n);return(0,G.jsx)(Hd,{...i,...r,ref:t})});Sf.displayName=xf;var Cf=`DropdownMenuSubTrigger`,wf=H.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=Jd(n);return(0,G.jsx)(Ud,{...i,...r,ref:t})});wf.displayName=Cf;var Tf=`DropdownMenuSubContent`,Ef=H.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=Jd(n);return(0,G.jsx)(Wd,{...i,...r,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)`}})});Ef.displayName=Tf;var Df=Zd,Of=$d,kf=tf,Af=rf,jf=uf,Mf=(0,H.forwardRef)((e,t)=>{let n=(0,U.c)(6),r;n[0]===e.className?r=n[1]:(r=q(`graphiql-un-styled`,e.className),n[0]=e.className,n[1]=r);let i;return n[2]!==e||n[3]!==t||n[4]!==r?(i=(0,G.jsx)(Of,{asChild:!0,children:(0,G.jsx)(`button`,{...e,ref:t,className:r})}),n[2]=e,n[3]=t,n[4]=r,n[5]=i):i=n[5],i});Mf.displayName=`DropdownMenuButton`;var Nf=Object.assign(Df,{Button:Mf,Item:e=>{let t=(0,U.c)(10),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:r,children:n,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a;t[4]===r?a=t[5]:(a=q(`graphiql-dropdown-item`,r),t[4]=r,t[5]=a);let o;return t[6]!==n||t[7]!==i||t[8]!==a?(o=(0,G.jsx)(jf,{className:a,...i,children:n}),t[6]=n,t[7]=i,t[8]=a,t[9]=o):o=t[9],o},Content:e=>{let t=(0,U.c)(14),n,r,i,a,o;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5]):({children:n,align:a,sideOffset:o,className:r,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o);let s=a===void 0?`start`:a,c=o===void 0?5:o,l;t[6]===r?l=t[7]:(l=q(`graphiql-dropdown-content`,r),t[6]=r,t[7]=l);let u;return t[8]!==s||t[9]!==n||t[10]!==i||t[11]!==c||t[12]!==l?(u=(0,G.jsx)(kf,{children:(0,G.jsx)(Af,{align:s,sideOffset:c,className:l,...i,children:n})}),t[8]=s,t[9]=n,t[10]=i,t[11]=c,t[12]=l,t[13]=u):u=t[13],u}}),Pf=(0,H.forwardRef)((e,t)=>{let n=(0,U.c)(18),r,i,a,o;n[0]===e?(r=n[1],i=n[2],a=n[3],o=n[4]):({children:r,onlyShowFirstChild:i,type:o,...a}=e,n[0]=e,n[1]=r,n[2]=i,n[3]=a,n[4]=o);let s=`graphiql-markdown-${o}`,c=i&&`graphiql-markdown-preview`,l;n[5]!==a.className||n[6]!==s||n[7]!==c?(l=q(s,c,a.className),n[5]=a.className,n[6]=s,n[7]=c,n[8]=l):l=n[8];let u;n[9]===r?u=n[10]:(u=xo.render(r),n[9]=r,n[10]=u);let d;n[11]===u?d=n[12]:(d={__html:u},n[11]=u,n[12]=d);let f;return n[13]!==a||n[14]!==t||n[15]!==l||n[16]!==d?(f=(0,G.jsx)(`div`,{...a,ref:t,className:l,dangerouslySetInnerHTML:d}),n[13]=a,n[14]=t,n[15]=l,n[16]=d,n[17]=f):f=n[17],f});Pf.displayName=`MarkdownContent`;var Ff=(0,H.forwardRef)((e,t)=>{let n=(0,U.c)(6),r;n[0]===e.className?r=n[1]:(r=q(`graphiql-spinner`,e.className),n[0]=e.className,n[1]=r);let i;return n[2]!==e||n[3]!==t||n[4]!==r?(i=(0,G.jsx)(`div`,{...e,ref:t,className:r}),n[2]=e,n[3]=t,n[4]=r,n[5]=i):i=n[5],i});Ff.displayName=`Spinner`;var If=(0,H.createContext)({});function Lf(e){let t=(0,H.useRef)(null);return t.current===null&&(t.current=e()),t.current}var Rf=typeof window<`u`?H.useLayoutEffect:H.useEffect,zf=(0,H.createContext)(null);function Bf(e,t){e.indexOf(t)===-1&&e.push(t)}function Vf(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Hf([...e],t,n){let r=t<0?e.length+t:t;if(r>=0&&r<e.length){let r=n<0?e.length+n:n,[i]=e.splice(t,1);e.splice(r,0,i)}return e}var Uf=(e,t,n)=>n>t?t:n<e?e:n,Wf={},Gf=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),Kf=e=>typeof e==`object`&&!!e,qf=e=>/^0[^.\s]+$/u.test(e);function Jf(e){let t;return()=>(t===void 0&&(t=e()),t)}var Yf=e=>e,Xf=(...e)=>e.reduce((e,t)=>n=>t(e(n))),Zf=(e,t,n)=>{let r=t-e;return r?(n-e)/r:1},Qf=class{constructor(){this.subscriptions=[]}add(e){return Bf(this.subscriptions,e),()=>Vf(this.subscriptions,e)}notify(e,t,n){let r=this.subscriptions.length;if(r)if(r===1)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){let r=this.subscriptions[i];r&&r(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}},$f=e=>e*1e3,ep=e=>e/1e3,tp=(e,t)=>t?1e3/t*e:0,np=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,rp=1e-7,ip=12;function ap(e,t,n,r,i){let a,o,s=0;do o=t+(n-t)/2,a=np(o,r,i)-e,a>0?n=o:t=o;while(Math.abs(a)>rp&&++s<ip);return o}function op(e,t,n,r){if(e===t&&n===r)return Yf;let i=t=>ap(t,0,1,e,n);return e=>e===0||e===1?e:np(i(e),t,r)}var sp=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,cp=e=>t=>1-e(1-t),lp=op(.33,1.53,.69,.99),up=cp(lp),dp=sp(up),fp=e=>e>=1?1:(e*=2)<1?.5*up(e):.5*(2-2**(-10*(e-1))),pp=e=>1-Math.sin(Math.acos(e)),mp=cp(pp),hp=sp(pp),gp=op(.42,0,1,1),_p=op(0,0,.58,1),vp=op(.42,0,.58,1),yp=e=>Array.isArray(e)&&typeof e[0]!=`number`,bp=e=>Array.isArray(e)&&typeof e[0]==`number`,xp={linear:Yf,easeIn:gp,easeInOut:vp,easeOut:_p,circIn:pp,circInOut:hp,circOut:mp,backIn:up,backInOut:dp,backOut:lp,anticipate:fp},Sp=e=>typeof e==`string`,Cp=e=>{if(bp(e)){e.length;let[t,n,r,i]=e;return op(t,n,r,i)}else if(Sp(e))return xp[e],`${e}`,xp[e];return e},wp=[`setup`,`read`,`resolveKeyframes`,`preUpdate`,`update`,`preRender`,`render`,`postRender`],Tp={value:null,addProjectionMetrics:null};function Ep(e,t){let n=new Set,r=new Set,i=!1,a=!1,o=new WeakSet,s={delta:0,timestamp:0,isProcessing:!1},c=0;function l(t){o.has(t)&&(u.schedule(t),e()),c++,t(s)}let u={schedule:(e,t=!1,a=!1)=>{let s=a&&i?n:r;return t&&o.add(e),s.add(e),e},cancel:e=>{r.delete(e),o.delete(e)},process:e=>{if(s=e,i){a=!0;return}i=!0;let o=n;n=r,r=o,n.forEach(l),t&&Tp.value&&Tp.value.frameloop[t].push(c),c=0,n.clear(),i=!1,a&&(a=!1,u.process(e))}};return u}var Dp=40;function Op(e,t){let n=!1,r=!0,i={delta:0,timestamp:0,isProcessing:!1},a=()=>n=!0,o=wp.reduce((e,n)=>(e[n]=Ep(a,t?n:void 0),e),{}),{setup:s,read:c,resolveKeyframes:l,preUpdate:u,update:d,preRender:f,render:p,postRender:m}=o,h=()=>{let a=Wf.useManualTiming,o=a?i.timestamp:performance.now();n=!1,a||(i.delta=r?1e3/60:Math.max(Math.min(o-i.timestamp,Dp),1)),i.timestamp=o,i.isProcessing=!0,s.process(i),c.process(i),l.process(i),u.process(i),d.process(i),f.process(i),p.process(i),m.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(h))},g=()=>{n=!0,r=!0,i.isProcessing||e(h)};return{schedule:wp.reduce((e,t)=>{let r=o[t];return e[t]=(e,t=!1,i=!1)=>(n||g(),r.schedule(e,t,i)),e},{}),cancel:e=>{for(let t=0;t<wp.length;t++)o[wp[t]].cancel(e)},state:i,steps:o}}var{schedule:J,cancel:kp,state:Ap,steps:jp}=Op(typeof requestAnimationFrame<`u`?requestAnimationFrame:Yf,!0),Mp;function Np(){Mp=void 0}var Pp={now:()=>(Mp===void 0&&Pp.set(Ap.isProcessing||Wf.useManualTiming?Ap.timestamp:performance.now()),Mp),set:e=>{Mp=e,queueMicrotask(Np)}},Fp={layout:0,mainThread:0,waapi:0},Ip=e=>t=>typeof t==`string`&&t.startsWith(e),Lp=Ip(`--`),Rp=Ip(`var(--`),zp=e=>Rp(e)?Bp.test(e.split(`/*`)[0].trim()):!1,Bp=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Vp(e){return typeof e==`string`?e.split(`/*`)[0].includes(`var(--`):!1}var Hp={test:e=>typeof e==`number`,parse:parseFloat,transform:e=>e},Up={...Hp,transform:e=>Uf(0,1,e)},Wp={...Hp,default:1},Gp=e=>Math.round(e*1e5)/1e5,Kp=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function qp(e){return e==null}var Jp=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Yp=(e,t)=>n=>!!(typeof n==`string`&&Jp.test(n)&&n.startsWith(e)||t&&!qp(n)&&Object.prototype.hasOwnProperty.call(n,t)),Xp=(e,t,n)=>r=>{if(typeof r!=`string`)return r;let[i,a,o,s]=r.match(Kp);return{[e]:parseFloat(i),[t]:parseFloat(a),[n]:parseFloat(o),alpha:s===void 0?1:parseFloat(s)}},Zp=e=>Uf(0,255,e),Qp={...Hp,transform:e=>Math.round(Zp(e))},$p={test:Yp(`rgb`,`red`),parse:Xp(`red`,`green`,`blue`),transform:({red:e,green:t,blue:n,alpha:r=1})=>`rgba(`+Qp.transform(e)+`, `+Qp.transform(t)+`, `+Qp.transform(n)+`, `+Gp(Up.transform(r))+`)`};function em(e){let t=``,n=``,r=``,i=``;return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}var tm={test:Yp(`#`),parse:em,transform:$p.transform},nm=e=>({test:t=>typeof t==`string`&&t.endsWith(e)&&t.split(` `).length===1,parse:parseFloat,transform:t=>`${t}${e}`}),rm=nm(`deg`),im=nm(`%`),Y=nm(`px`),am=nm(`vh`),om=nm(`vw`),sm={...im,parse:e=>im.parse(e)/100,transform:e=>im.transform(e*100)},cm={test:Yp(`hsl`,`hue`),parse:Xp(`hue`,`saturation`,`lightness`),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>`hsla(`+Math.round(e)+`, `+im.transform(Gp(t))+`, `+im.transform(Gp(n))+`, `+Gp(Up.transform(r))+`)`},lm={test:e=>$p.test(e)||tm.test(e)||cm.test(e),parse:e=>$p.test(e)?$p.parse(e):cm.test(e)?cm.parse(e):tm.parse(e),transform:e=>typeof e==`string`?e:e.hasOwnProperty(`red`)?$p.transform(e):cm.transform(e),getAnimatableNone:e=>{let t=lm.parse(e);return t.alpha=0,lm.transform(t)}},um=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function dm(e){return isNaN(e)&&typeof e==`string`&&(e.match(Kp)?.length||0)+(e.match(um)?.length||0)>0}var fm=`number`,pm=`color`,mm=`var`,hm=`var(`,gm="${}",_m=/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 vm(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[],a=0;return{values:n,split:t.replace(_m,e=>(lm.test(e)?(r.color.push(a),i.push(pm),n.push(lm.parse(e))):e.startsWith(hm)?(r.var.push(a),i.push(mm),n.push(e)):(r.number.push(a),i.push(fm),n.push(parseFloat(e))),++a,gm)).split(gm),indexes:r,types:i}}function ym(e){return vm(e).values}function bm({split:e,types:t}){let n=e.length;return r=>{let i=``;for(let a=0;a<n;a++)if(i+=e[a],r[a]!==void 0){let e=t[a];e===fm?i+=Gp(r[a]):e===pm?i+=lm.transform(r[a]):i+=r[a]}return i}}function xm(e){return bm(vm(e))}var Sm=e=>typeof e==`number`?0:lm.test(e)?lm.getAnimatableNone(e):e,Cm=(e,t)=>typeof e==`number`?t?.trim().endsWith(`/`)?e:0:Sm(e);function wm(e){let t=vm(e);return bm(t)(t.values.map((e,n)=>Cm(e,t.split[n])))}var Tm={test:dm,parse:ym,createTransformer:xm,getAnimatableNone:wm};function Em(e,t,n){return n<0&&(n+=1),n>1&&--n,n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Dm({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,a=0,o=0;if(!t)i=a=o=n;else{let r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;i=Em(s,r,e+1/3),a=Em(s,r,e),o=Em(s,r,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(o*255),alpha:r}}function Om(e,t){return n=>n>0?t:e}var X=(e,t,n)=>e+(t-e)*n,km=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},Am=[tm,$p,cm],jm=e=>Am.find(t=>t.test(e));function Mm(e){let t=jm(e);if(`${e}`,!t)return!1;let n=t.parse(e);return t===cm&&(n=Dm(n)),n}var Nm=(e,t)=>{let n=Mm(e),r=Mm(t);if(!n||!r)return Om(e,t);let i={...n};return e=>(i.red=km(n.red,r.red,e),i.green=km(n.green,r.green,e),i.blue=km(n.blue,r.blue,e),i.alpha=X(n.alpha,r.alpha,e),$p.transform(i))},Pm=new Set([`none`,`hidden`]);function Fm(e,t){return Pm.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function Im(e,t){return n=>X(e,t,n)}function Lm(e){return typeof e==`number`?Im:typeof e==`string`?zp(e)?Om:lm.test(e)?Nm:Vm:Array.isArray(e)?Rm:typeof e==`object`?lm.test(e)?Nm:zm:Om}function Rm(e,t){let n=[...e],r=n.length,i=e.map((e,n)=>Lm(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function zm(e,t){let n={...e,...t},r={};for(let i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=Lm(e[i])(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}}function Bm(e,t){let n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){let a=t.types[i],o=e.indexes[a][r[a]];n[i]=e.values[o]??0,r[a]++}return n}var Vm=(e,t)=>{let n=Tm.createTransformer(t),r=vm(e),i=vm(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?Pm.has(e)&&!i.values.length||Pm.has(t)&&!r.values.length?Fm(e,t):Xf(Rm(Bm(r,i),i.values),n):(`${e}${t}`,Om(e,t))};function Hm(e,t,n){return typeof e==`number`&&typeof t==`number`&&typeof n==`number`?X(e,t,n):Lm(e)(e,t)}var Um=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>J.update(t,e),stop:()=>kp(t),now:()=>Ap.isProcessing?Ap.timestamp:Pp.now()}},Wm=(e,t,n=10)=>{let r=``,i=Math.max(Math.round(t/n),2);for(let t=0;t<i;t++)r+=Math.round(e(t/(i-1))*1e4)/1e4+`, `;return`linear(${r.substring(0,r.length-2)})`},Gm=2e4;function Km(e){let t=0,n=e.next(t);for(;!n.done&&t<2e4;)t+=50,n=e.next(t);return t>=2e4?1/0:t}function qm(e,t=100,n){let r=n({...e,keyframes:[0,t]}),i=Math.min(Km(r),Gm);return{type:`keyframes`,ease:e=>r.next(i*e).value/t,duration:ep(i)}}var Z={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};function Jm(e,t){return e*Math.sqrt(1-t*t)}var Ym=12;function Xm(e,t,n){let r=n;for(let n=1;n<Ym;n++)r-=e(r)/t(r);return r}var Zm=.001;function Qm({duration:e=Z.duration,bounce:t=Z.bounce,velocity:n=Z.velocity,mass:r=Z.mass}){let i,a;Z.maxDuration;let o=1-t;o=Uf(Z.minDamping,Z.maxDamping,o),e=Uf(Z.minDuration,Z.maxDuration,ep(e)),o<1?(i=t=>{let r=t*o,i=r*e,a=r-n,s=Jm(t,o),c=Math.exp(-i);return Zm-a/s*c},a=t=>{let r=t*o*e,a=r*n+n,s=o**2*t**2*e,c=Math.exp(-r),l=Jm(t**2,o);return(-i(t)+Zm>0?-1:1)*((a-s)*c)/l}):(i=t=>{let r=Math.exp(-t*e),i=(t-n)*e+1;return-Zm+r*i},a=t=>Math.exp(-t*e)*((n-t)*(e*e)));let s=5/e,c=Xm(i,a,s);if(e=$f(e),isNaN(c))return{stiffness:Z.stiffness,damping:Z.damping,duration:e};{let t=c**2*r;return{stiffness:t,damping:o*2*Math.sqrt(r*t),duration:e}}}var $m=[`duration`,`bounce`],eh=[`stiffness`,`damping`,`mass`];function th(e,t){return t.some(t=>e[t]!==void 0)}function nh(e){let t={velocity:Z.velocity,stiffness:Z.stiffness,damping:Z.damping,mass:Z.mass,isResolvedFromDuration:!1,...e};if(!th(e,eh)&&th(e,$m))if(t.velocity=0,e.visualDuration){let n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,a=2*Uf(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:Z.mass,stiffness:i,damping:a}}else{let n=Qm({...e,velocity:0});t={...t,...n,mass:Z.mass},t.isResolvedFromDuration=!0}return t}function rh(e=Z.visualDuration,t=Z.bounce){let n=typeof e==`object`?e:{visualDuration:e,keyframes:[0,1],bounce:t},{restSpeed:r,restDelta:i}=n,a=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],s={done:!1,value:a},{stiffness:c,damping:l,mass:u,duration:d,velocity:f,isResolvedFromDuration:p}=nh({...n,velocity:-ep(n.velocity||0)}),m=f||0,h=l/(2*Math.sqrt(c*u)),g=o-a,_=ep(Math.sqrt(c/u)),v=Math.abs(g)<5;r||=v?Z.restSpeed.granular:Z.restSpeed.default,i||=v?Z.restDelta.granular:Z.restDelta.default;let y,b,x,S,C,w;if(h<1)x=Jm(_,h),S=(m+h*_*g)/x,y=e=>o-Math.exp(-h*_*e)*(S*Math.sin(x*e)+g*Math.cos(x*e)),C=h*_*S+g*x,w=h*_*g-S*x,b=e=>Math.exp(-h*_*e)*(C*Math.sin(x*e)+w*Math.cos(x*e));else if(h===1){y=e=>o-Math.exp(-_*e)*(g+(m+_*g)*e);let e=m+_*g;b=t=>Math.exp(-_*t)*(_*e*t-m)}else{let e=_*Math.sqrt(h*h-1);y=t=>{let n=Math.exp(-h*_*t),r=Math.min(e*t,300);return o-n*((m+h*_*g)*Math.sinh(r)+e*g*Math.cosh(r))/e};let t=(m+h*_*g)/e,n=h*_*t-g*e,r=h*_*g-t*e;b=t=>{let i=Math.exp(-h*_*t),a=Math.min(e*t,300);return i*(n*Math.sinh(a)+r*Math.cosh(a))}}let T={calculatedDuration:p&&d||null,velocity:e=>$f(b(e)),next:e=>{if(!p&&h<1){let t=Math.exp(-h*_*e),n=Math.sin(x*e),a=Math.cos(x*e),c=o-t*(S*n+g*a),l=$f(t*(C*n+w*a));return s.done=Math.abs(l)<=r&&Math.abs(o-c)<=i,s.value=s.done?o:c,s}let t=y(e);if(p)s.done=e>=d;else{let n=$f(b(e));s.done=Math.abs(n)<=r&&Math.abs(o-t)<=i}return s.value=s.done?o:t,s},toString:()=>{let e=Math.min(Km(T),Gm),t=Wm(t=>T.next(e*t).value,e,30);return e+`ms `+t},toTransition:()=>{}};return T}rh.applyToOptions=e=>{let t=qm(e,100,rh);return e.ease=t.ease,e.duration=$f(t.duration),e.type=`keyframes`,e};var ih=5;function ah(e,t,n){let r=Math.max(t-ih,0);return tp(n-e(r),t-r)}function oh({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:a=500,modifyTarget:o,min:s,max:c,restDelta:l=.5,restSpeed:u}){let d=e[0],f={done:!1,value:d},p=e=>s!==void 0&&e<s||c!==void 0&&e>c,m=e=>s===void 0?c:c===void 0||Math.abs(s-e)<Math.abs(c-e)?s:c,h=n*t,g=d+h,_=o===void 0?g:o(g);_!==g&&(h=_-d);let v=e=>-h*Math.exp(-e/r),y=e=>_+v(e),b=e=>{let t=v(e),n=y(e);f.done=Math.abs(t)<=l,f.value=f.done?_:n},x,S,C=e=>{p(f.value)&&(x=e,S=rh({keyframes:[f.value,m(f.value)],velocity:ah(y,e,f.value),damping:i,stiffness:a,restDelta:l,restSpeed:u}))};return C(0),{calculatedDuration:null,next:e=>{let t=!1;return!S&&x===void 0&&(t=!0,b(e),C(e)),x!==void 0&&e>=x?S.next(e-x):(!t&&b(e),f)}}}function sh(e,t,n){let r=[],i=n||Wf.mix||Hm,a=e.length-1;for(let n=0;n<a;n++){let a=i(e[n],e[n+1]);t&&(a=Xf(Array.isArray(t)?t[n]||Yf:t,a)),r.push(a)}return r}function ch(e,t,{clamp:n=!0,ease:r,mixer:i}={}){let a=e.length;if(t.length,a===1)return()=>t[0];if(a===2&&t[0]===t[1])return()=>t[1];let o=e[0]===e[1];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=sh(t,r,i),c=s.length,l=n=>{if(o&&n<e[0])return t[0];let r=0;if(c>1)for(;r<e.length-2&&!(n<e[r+1]);r++);let i=Zf(e[r],e[r+1],n);return s[r](i)};return n?t=>l(Uf(e[0],e[a-1],t)):l}function lh(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=Zf(0,t,r);e.push(X(n,1,i))}}function uh(e){let t=[0];return lh(t,e.length-1),t}function dh(e,t){return e.map(e=>e*t)}function fh(e,t){return e.map(()=>t||vp).splice(0,e.length-1)}function ph({duration:e=300,keyframes:t,times:n,ease:r=`easeInOut`}){let i=yp(r)?r.map(Cp):Cp(r),a={done:!1,value:t[0]},o=ch(dh(n&&n.length===t.length?n:uh(t),e),t,{ease:Array.isArray(i)?i:fh(t,i)});return{calculatedDuration:e,next:t=>(a.value=o(t),a.done=t>=e,a)}}var mh=e=>e!==null;function hh(e,{repeat:t,repeatType:n=`loop`},r,i=1){let a=e.filter(mh),o=i<0||t&&n!==`loop`&&t%2==1?0:a.length-1;return!o||r===void 0?a[o]:r}var gh={decay:oh,inertia:oh,tween:ph,keyframes:ph,spring:rh};function _h(e){typeof e.type==`string`&&(e.type=gh[e.type])}var vh=class{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}},yh=e=>e/100,bh=class extends vh{constructor(e){super(),this.state=`idle`,this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:e}=this.options;e&&e.updatedAt!==Pp.now()&&this.tick(Pp.now()),this.isStopped=!0,this.state!==`idle`&&(this.teardown(),this.options.onStop?.())},Fp.mainThread++,this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause()}initAnimation(){let{options:e}=this;_h(e);let{type:t=ph,repeat:n=0,repeatDelay:r=0,repeatType:i,velocity:a=0}=e,{keyframes:o}=e,s=t||ph;s!==ph&&typeof o[0]!=`number`&&(this.mixKeyframes=Xf(yh,Hm(o[0],o[1])),o=[0,100]);let c=s({...e,keyframes:o});i===`mirror`&&(this.mirroredGenerator=s({...e,keyframes:[...o].reverse(),velocity:-a})),c.calculatedDuration===null&&(c.calculatedDuration=Km(c));let{calculatedDuration:l}=c;this.calculatedDuration=l,this.resolvedDuration=l+r,this.totalDuration=this.resolvedDuration*(n+1)-r,this.generator=c}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;this.holdTime===null?this.currentTime=t:this.currentTime=this.holdTime}tick(e,t=!1){let{generator:n,totalDuration:r,mixKeyframes:i,mirroredGenerator:a,resolvedDuration:o,calculatedDuration:s}=this;if(this.startTime===null)return n.next(0);let{delay:c=0,keyframes:l,repeat:u,repeatType:d,repeatDelay:f,type:p,onUpdate:m,finalKeyframe:h}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-r/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let g=this.currentTime-c*(this.playbackSpeed>=0?1:-1),_=this.playbackSpeed>=0?g<0:g>r;this.currentTime=Math.max(g,0),this.state===`finished`&&this.holdTime===null&&(this.currentTime=r);let v=this.currentTime,y=n;if(u){let e=Math.min(this.currentTime,r)/o,t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),n===1&&t--,t=Math.min(t,u+1),t%2&&(d===`reverse`?(n=1-n,f&&(n-=f/o)):d===`mirror`&&(y=a)),v=Uf(0,1,n)*o}let b;_?(this.delayState.value=l[0],b=this.delayState):b=y.next(v),i&&!_&&(b.value=i(b.value));let{done:x}=b;!_&&s!==null&&(x=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let S=this.holdTime===null&&(this.state===`finished`||this.state===`running`&&x);return S&&p!==oh&&(b.value=hh(l,this.options,h,this.speed)),m&&m(b.value),S&&this.finish(),b}then(e,t){return this.finished.then(e,t)}get duration(){return ep(this.calculatedDuration)}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+ep(e)}get time(){return ep(this.currentTime)}set time(e){e=$f(e),this.currentTime=e,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state=`paused`,this.holdTime=e,this.tick(e))}getGeneratorVelocity(){let e=this.currentTime;if(e<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(e);let t=this.generator.next(e).value;return ah(e=>this.generator.next(e).value,e,t)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;t&&this.driver&&this.updateTime(Pp.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=ep(this.currentTime))}play(){if(this.isStopped)return;let{driver:e=Um,startTime:t}=this.options;this.driver||=e(e=>this.tick(e)),this.options.onPlay?.();let n=this.driver.now();this.state===`finished`?(this.updateFinished(),this.startTime=n):this.holdTime===null?this.startTime||=t??n:this.startTime=n-this.holdTime,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(Pp.now()),this.holdTime=this.currentTime}complete(){this.state!==`running`&&this.play(),this.state=`finished`,this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state=`finished`,this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state=`idle`,this.stopDriver(),this.startTime=this.holdTime=null,Fp.mainThread--}stopDriver(){this.driver&&=(this.driver.stop(),void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type=`keyframes`,this.options.ease=`linear`,this.initAnimation()),this.driver?.stop(),e.observe(this)}};function xh(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}var Sh=e=>e*180/Math.PI,Ch=e=>Th(Sh(Math.atan2(e[1],e[0]))),wh={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Ch,rotateZ:Ch,skewX:e=>Sh(Math.atan(e[1])),skewY:e=>Sh(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Th=e=>(e%=360,e<0&&(e+=360),e),Eh=Ch,Dh=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),Oh=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),kh={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Dh,scaleY:Oh,scale:e=>(Dh(e)+Oh(e))/2,rotateX:e=>Th(Sh(Math.atan2(e[6],e[5]))),rotateY:e=>Th(Sh(Math.atan2(-e[2],e[0]))),rotateZ:Eh,rotate:Eh,skewX:e=>Sh(Math.atan(e[4])),skewY:e=>Sh(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Ah(e){return e.includes(`scale`)?1:0}function jh(e,t){if(!e||e===`none`)return Ah(t);let n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),r,i;if(n)r=kh,i=n;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=wh,i=t}if(!i)return Ah(t);let a=r[t],o=i[1].split(`,`).map(Nh);return typeof a==`function`?a(o):o[a]}var Mh=(e,t)=>{let{transform:n=`none`}=getComputedStyle(e);return jh(n,t)};function Nh(e){return parseFloat(e.trim())}var Ph=[`transformPerspective`,`x`,`y`,`z`,`translateX`,`translateY`,`translateZ`,`scale`,`scaleX`,`scaleY`,`rotate`,`rotateX`,`rotateY`,`rotateZ`,`skew`,`skewX`,`skewY`],Fh=new Set([...Ph,`pathRotation`]),Ih=e=>e===Hp||e===Y,Lh=new Set([`x`,`y`,`z`]),Rh=Ph.filter(e=>!Lh.has(e));function zh(e){let t=[];return Rh.forEach(n=>{let r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith(`scale`)?1:0))}),t}var Bh={width:({x:e},{paddingLeft:t=`0`,paddingRight:n=`0`,boxSizing:r})=>{let i=e.max-e.min;return r===`border-box`?i:i-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t=`0`,paddingBottom:n=`0`,boxSizing:r})=>{let i=e.max-e.min;return r===`border-box`?i:i-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})=>jh(t,`x`),y:(e,{transform:t})=>jh(t,`y`)};Bh.translateX=Bh.x,Bh.translateY=Bh.y;var Vh=new Set,Hh=!1,Uh=!1,Wh=!1;function Gh(){if(Uh){let e=Array.from(Vh).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;t.forEach(e=>{let t=zh(e);t.length&&(n.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=n.get(e);t&&t.forEach(([t,n])=>{e.getValue(t)?.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{e.suspendedScrollY!==void 0&&window.scrollTo(0,e.suspendedScrollY)})}Uh=!1,Hh=!1,Vh.forEach(e=>e.complete(Wh)),Vh.clear()}function Kh(){Vh.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Uh=!0)})}function qh(){Wh=!0,Kh(),Gh(),Wh=!1}var Jh=class{constructor(e,t,n,r,i,a=!1){this.state=`pending`,this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=i,this.isAsync=a}scheduleResolve(){this.state=`scheduled`,this.isAsync?(Vh.add(this),Hh||(Hh=!0,J.read(Kh),J.resolveKeyframes(Gh))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;if(e[0]===null){let i=r?.get(),a=e[e.length-1];if(i!==void 0)e[0]=i;else if(n&&t){let r=n.readValue(t,a);r!=null&&(e[0]=r)}e[0]===void 0&&(e[0]=a),r&&i===void 0&&r.set(e[0])}xh(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state=`complete`,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),Vh.delete(this)}cancel(){this.state===`scheduled`&&(Vh.delete(this),this.state=`pending`)}resume(){this.state===`pending`&&this.scheduleResolve()}},Yh=e=>e.startsWith(`--`);function Xh(e,t,n){Yh(t)?e.style.setProperty(t,n):e.style[t]=n}var Zh={};function Qh(e,t){let n=Jf(e);return()=>Zh[t]??n()}var $h=Qh(()=>window.ScrollTimeline!==void 0,`scrollTimeline`),eg=Qh(()=>{try{document.createElement(`div`).animate({opacity:0},{easing:`linear(0, 1)`})}catch{return!1}return!0},`linearEasing`),tg=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,ng={linear:`linear`,ease:`ease`,easeIn:`ease-in`,easeOut:`ease-out`,easeInOut:`ease-in-out`,circIn:tg([0,.65,.55,1]),circOut:tg([.55,0,1,.45]),backIn:tg([.31,.01,.66,-.59]),backOut:tg([.33,1.53,.69,.99])};function rg(e,t){if(e)return typeof e==`function`?eg()?Wm(e,t):`ease-out`:bp(e)?tg(e):Array.isArray(e)?e.map(e=>rg(e,t)||ng.easeOut):ng[e]}function ig(e,t,n,{delay:r=0,duration:i=300,repeat:a=0,repeatType:o=`loop`,ease:s=`easeOut`,times:c}={},l=void 0){let u={[t]:n};c&&(u.offset=c);let d=rg(s,i);Array.isArray(d)&&(u.easing=d),Tp.value&&Fp.waapi++;let f={delay:r,duration:i,easing:Array.isArray(d)?`linear`:d,fill:`both`,iterations:a+1,direction:o===`reverse`?`alternate`:`normal`};l&&(f.pseudoElement=l);let p=e.animate(u,f);return Tp.value&&p.finished.finally(()=>{Fp.waapi--}),p}function ag(e){return typeof e==`function`&&`applyToOptions`in e}function og({type:e,...t}){return ag(e)&&eg()?e.applyToOptions(t):(t.duration??=300,t.ease??=`easeOut`,t)}var sg=class extends vh{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;let{element:t,name:n,keyframes:r,pseudoElement:i,allowFlatten:a=!1,finalKeyframe:o,onComplete:s}=e;this.isPseudoElement=!!i,this.allowFlatten=a,this.options=e,e.type;let c=og(e);this.animation=ig(t,n,r,c,i),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){let e=hh(r,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(e),Xh(t,n,e),this.animation.cancel()}s?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state===`finished`&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;e===`idle`||e===`finished`||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){let e=this.animation.effect?.getComputedTiming?.().duration||0;return ep(Number(e))}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+ep(e)}get time(){return ep(Number(this.animation.currentTime)||0)}set time(e){let t=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=$f(e),t&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return this.finishedTime===null?this.animation.playState:`finished`}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,rangeStart:t,rangeEnd:n,observe:r}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:`linear`}),this.animation.onfinish=null,e&&$h()?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),n&&(this.animation.rangeEnd=n),Yf):r(this)}},cg={anticipate:fp,backInOut:dp,circInOut:hp};function lg(e){return e in cg}function ug(e){typeof e.ease==`string`&&lg(e.ease)&&(e.ease=cg[e.ease])}var dg=10,fg=class extends sg{constructor(e){ug(e),_h(e),super(e),e.startTime!==void 0&&e.autoplay!==!1&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:n,onComplete:r,element:i,...a}=this.options;if(!t)return;if(e!==void 0){t.set(e);return}let o=new bh({...a,autoplay:!1}),s=Math.max(dg,Pp.now()-this.startTime),c=Uf(0,dg,s-dg),l=o.sample(s).value,{name:u}=this.options;i&&u&&Xh(i,u,l),t.setWithVelocity(o.sample(Math.max(0,s-c)).value,l,c),o.stop()}},pg=(e,t)=>t===`zIndex`?!1:!!(typeof e==`number`||Array.isArray(e)||typeof e==`string`&&(Tm.test(e)||e===`0`)&&!e.startsWith(`url(`));function mg(e){let t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function hg(e,t,n,r){let i=e[0];if(i===null)return!1;if(t===`display`||t===`visibility`)return!0;let a=e[e.length-1],o=pg(i,t),s=pg(a,t);return`${t}${i}${a}${o?a:i}`,!o||!s?!1:mg(e)||(n===`spring`||ag(n))&&r}function gg(e){e.duration=0,e.type=`keyframes`}var _g=new Set([`opacity`,`clipPath`,`filter`,`transform`]),vg=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function yg(e){for(let t=0;t<e.length;t++)if(typeof e[t]==`string`&&vg.test(e[t]))return!0;return!1}var bg=new Set([`color`,`backgroundColor`,`outlineColor`,`fill`,`stroke`,`borderColor`,`borderTopColor`,`borderRightColor`,`borderBottomColor`,`borderLeftColor`]),xg=Jf(()=>Object.hasOwnProperty.call(Element.prototype,`animate`));function Sg(e){let{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:a,type:o,keyframes:s}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:c,transformTemplate:l}=t.owner.getProps();return xg()&&n&&(_g.has(n)||bg.has(n)&&yg(s))&&(n!==`transform`||!l)&&!c&&!r&&i!==`mirror`&&a!==0&&o!==`inertia`}var Cg=40,wg=class extends vh{constructor({autoplay:e=!0,delay:t=0,type:n=`keyframes`,repeat:r=0,repeatDelay:i=0,repeatType:a=`loop`,keyframes:o,name:s,motionValue:c,element:l,...u}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=Pp.now();let d={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:i,repeatType:a,name:s,motionValue:c,element:l,...u};this.keyframeResolver=new(l?.KeyframeResolver||Jh)(o,(e,t,n)=>this.onKeyframesResolved(e,t,d,!n),s,c,l),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,n,r){this.keyframeResolver=void 0;let{name:i,type:a,velocity:o,delay:s,isHandoff:c,onUpdate:l}=n;this.resolvedAt=Pp.now();let u=!0;hg(e,i,a,o)||(u=!1,(Wf.instantAnimations||!s)&&l?.(hh(e,n,t)),e[0]=e[e.length-1],gg(n),n.repeat=0);let d={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>Cg?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...n,keyframes:e},f=u&&!c&&Sg(d),p=d.motionValue?.owner?.current,m;if(f)try{m=new fg({...d,element:p})}catch{m=new bh(d)}else m=new bh(d);m.finished.then(()=>{this.notifyFinished()}).catch(Yf),this.pendingTimeline&&=(this.stopTimeline=m.attachTimeline(this.pendingTimeline),void 0),this._animation=m}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),qh()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}};function Tg(e,t,n,r=0,i=1){let a=Array.from(e).sort((e,t)=>e.sortNodePosition(t)).indexOf(t),o=e.size,s=(o-1)*r;return typeof n==`function`?n(a,o):i===1?a*r:s-a*r}var Eg=30,Dg=e=>!isNaN(parseFloat(e)),Og={current:void 0},kg=class{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=Pp.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=Pp.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=Dg(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on(`change`,e)}on(e,t){this.events[e]||(this.events[e]=new Qf);let n=this.events[e].add(t);return e===`change`?()=>{n(),J.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||=new Set,this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return Og.current&&Og.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=Pp.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>Eg)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,Eg);return tp(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),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(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}};function Ag(e,t){return new kg(e,t)}function jg(e,t){if(e?.inherit&&t){let{inherit:n,...r}=e;return{...t,...r}}return e}function Mg(e,t){let n=e?.[t]??e?.default??e;return n===e?n:jg(n,e)}var Ng={type:`spring`,stiffness:500,damping:25,restSpeed:10},Pg=e=>({type:`spring`,stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),Fg={type:`keyframes`,duration:.8},Ig={type:`keyframes`,ease:[.25,.1,.35,1],duration:.3},Lg=(e,{keyframes:t})=>t.length>2?Fg:Fh.has(e)?e.startsWith(`scale`)?Pg(t[1]):Ng:Ig,Rg=new Set([`when`,`delay`,`delayChildren`,`staggerChildren`,`staggerDirection`,`repeat`,`repeatType`,`repeatDelay`,`from`,`elapsed`]);function zg(e){for(let t in e)if(!Rg.has(t))return!0;return!1}var Bg=(e,t,n,r={},i,a)=>o=>{let s=Mg(r,e)||{},c=s.delay||r.delay||0,{elapsed:l=0}=r;l-=$f(c);let u={keyframes:Array.isArray(n)?n:[null,n],ease:`easeOut`,velocity:t.getVelocity(),...s,delay:-l,onUpdate:e=>{t.set(e),s.onUpdate&&s.onUpdate(e)},onComplete:()=>{o(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:a?void 0:i};zg(s)||Object.assign(u,Lg(e,u)),u.duration&&=$f(u.duration),u.repeatDelay&&=$f(u.repeatDelay),u.from!==void 0&&(u.keyframes[0]=u.from);let d=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(gg(u),u.delay===0&&(d=!0)),(Wf.instantAnimations||Wf.skipAnimations||i?.shouldSkipAnimations||s.skipAnimations)&&(d=!0,gg(u),u.delay=0),u.allowFlatten=!s.type&&!s.ease,d&&!a&&t.get()!==void 0){let e=hh(u.keyframes,s);if(e!==void 0){J.update(()=>{u.onUpdate(e),u.onComplete()});return}}return s.isSync?new bh(u):new wg(u)},Vg=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Hg(e){let t=Vg.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${n??r}`,i]}function Ug(e,t,n=1){`${e}`;let[r,i]=Hg(e);if(!r)return;let a=window.getComputedStyle(t).getPropertyValue(r);if(a){let e=a.trim();return Gf(e)?parseFloat(e):e}return zp(i)?Ug(i,t,n+1):i}function Wg(e){let t=[{},{}];return e?.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function Gg(e,t,n,r){if(typeof t==`function`){let[i,a]=Wg(r);t=t(n===void 0?e.custom:n,i,a)}if(typeof t==`string`&&(t=e.variants&&e.variants[t]),typeof t==`function`){let[i,a]=Wg(r);t=t(n===void 0?e.custom:n,i,a)}return t}function Kg(e,t,n){let r=e.getProps();return Gg(r,t,n===void 0?r.custom:n,e)}var qg=new Set([`width`,`height`,`top`,`left`,`right`,`bottom`,...Ph]),Jg=e=>Array.isArray(e);function Yg(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Ag(n))}function Xg(e){return Jg(e)?e[e.length-1]||0:e}function Zg(e,t){let{transitionEnd:n={},transition:r={},...i}=Kg(e,t)||{};i={...i,...n};for(let t in i)Yg(e,t,Xg(i[t]))}var Qg=e=>!!(e&&e.getVelocity);function $g(e){return!!(Qg(e)&&e.add)}function e_(e,t){let n=e.getValue(`willChange`);if($g(n))return n.add(t);if(!n&&Wf.WillChange){let n=new Wf.WillChange(`auto`);e.addValue(`willChange`,n),n.add(t)}}function t_(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}var n_=`data-`+t_(`framerAppearId`);function r_(e){return e.props[n_]}function i_({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function a_(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:a,transitionEnd:o,...s}=t,c=e.getDefaultTransition();a=a?jg(a,c):c;let l=a?.reduceMotion,u=a?.skipAnimations;r&&(a=r);let d=[],f=i&&e.animationState&&e.animationState.getState()[i],p=a?.path;p&&p.animateVisualElement(e,s,a,n,d);for(let t in s){let r=e.getValue(t,e.latestValues[t]??null),i=s[t];if(i===void 0||f&&i_(f,t))continue;let o={delay:n,...Mg(a||{},t)};u&&(o.skipAnimations=!0);let c=r.get();if(c!==void 0&&!r.isAnimating()&&!Array.isArray(i)&&i===c&&!o.velocity){J.update(()=>r.set(i));continue}let p=!1;if(window.MotionHandoffAnimation){let n=r_(e);if(n){let e=window.MotionHandoffAnimation(n,t,J);e!==null&&(o.startTime=e,p=!0)}}e_(e,t);let m=l??e.shouldReduceMotion;r.start(Bg(t,r,i,m&&qg.has(t)?{type:!1}:o,e,p));let h=r.animation;h&&d.push(h)}if(o){let t=()=>J.update(()=>{o&&Zg(e,o)});d.length?Promise.all(d).then(t):t()}return d}function o_(e,t,n={}){let r=Kg(e,t,n.type===`exit`?e.presenceContext?.custom:void 0),{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);let a=r?()=>Promise.all(a_(e,r,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(r=0)=>{let{delayChildren:a=0,staggerChildren:o,staggerDirection:s}=i;return s_(e,t,r,a,o,s,n)}:()=>Promise.resolve(),{when:s}=i;if(s){let[e,t]=s===`beforeChildren`?[a,o]:[o,a];return e().then(()=>t())}else return Promise.all([a(),o(n.delay)])}function s_(e,t,n=0,r=0,i=0,a=1,o){let s=[];for(let c of e.variantChildren)c.notify(`AnimationStart`,t),s.push(o_(c,t,{...o,delay:n+(typeof r==`function`?0:r)+Tg(e.variantChildren,c,r,i,a)}).then(()=>c.notify(`AnimationComplete`,t)));return Promise.all(s)}function c_(e,t,n={}){e.notify(`AnimationStart`,t);let r;if(Array.isArray(t)){let i=t.map(t=>o_(e,t,n));r=Promise.all(i)}else if(typeof t==`string`)r=o_(e,t,n);else{let i=typeof t==`function`?Kg(e,t,n.custom):t;r=Promise.all(a_(e,i,n))}return r.then(()=>{e.notify(`AnimationComplete`,t)})}var l_={test:e=>e===`auto`,parse:e=>e},u_=e=>t=>t.test(e),d_=[Hp,Y,im,rm,om,am,l_],f_=e=>d_.find(u_(e));function p_(e){return typeof e==`number`?e===0:e===null?!0:e===`none`||e===`0`||qf(e)}var m_=new Set([`brightness`,`contrast`,`saturate`,`opacity`]);function h_(e){let[t,n]=e.slice(0,-1).split(`(`);if(t===`drop-shadow`)return e;let[r]=n.match(Kp)||[];if(!r)return e;let i=n.replace(r,``),a=m_.has(t)?1:0;return r!==n&&(a*=100),t+`(`+a+i+`)`}var g_=/\b([a-z-]*)\(.*?\)/gu,__={...Tm,getAnimatableNone:e=>{let t=e.match(g_);return t?t.map(h_).join(` `):e}},v_={...Tm,getAnimatableNone:e=>{let t=Tm.parse(e);return Tm.createTransformer(e)(t.map(e=>typeof e==`number`?0:typeof e==`object`?{...e,alpha:1}:e))}},y_={...Hp,transform:Math.round},b_={borderWidth:Y,borderTopWidth:Y,borderRightWidth:Y,borderBottomWidth:Y,borderLeftWidth:Y,borderRadius:Y,borderTopLeftRadius:Y,borderTopRightRadius:Y,borderBottomRightRadius:Y,borderBottomLeftRadius:Y,width:Y,maxWidth:Y,height:Y,maxHeight:Y,top:Y,right:Y,bottom:Y,left:Y,inset:Y,insetBlock:Y,insetBlockStart:Y,insetBlockEnd:Y,insetInline:Y,insetInlineStart:Y,insetInlineEnd:Y,padding:Y,paddingTop:Y,paddingRight:Y,paddingBottom:Y,paddingLeft:Y,paddingBlock:Y,paddingBlockStart:Y,paddingBlockEnd:Y,paddingInline:Y,paddingInlineStart:Y,paddingInlineEnd:Y,margin:Y,marginTop:Y,marginRight:Y,marginBottom:Y,marginLeft:Y,marginBlock:Y,marginBlockStart:Y,marginBlockEnd:Y,marginInline:Y,marginInlineStart:Y,marginInlineEnd:Y,fontSize:Y,backgroundPositionX:Y,backgroundPositionY:Y,rotate:rm,pathRotation:rm,rotateX:rm,rotateY:rm,rotateZ:rm,scale:Wp,scaleX:Wp,scaleY:Wp,scaleZ:Wp,skew:rm,skewX:rm,skewY:rm,distance:Y,translateX:Y,translateY:Y,translateZ:Y,x:Y,y:Y,z:Y,perspective:Y,transformPerspective:Y,opacity:Up,originX:sm,originY:sm,originZ:Y,zIndex:y_,fillOpacity:Up,strokeOpacity:Up,numOctaves:y_},x_={...b_,color:lm,backgroundColor:lm,outlineColor:lm,fill:lm,stroke:lm,borderColor:lm,borderTopColor:lm,borderRightColor:lm,borderBottomColor:lm,borderLeftColor:lm,filter:__,WebkitFilter:__,mask:v_,WebkitMask:v_},S_=e=>x_[e],C_=new Set([__,v_]);function w_(e,t){let n=S_(e);return C_.has(n)||(n=Tm),n.getAnimatableNone?n.getAnimatableNone(t):void 0}var T_=new Set([`auto`,`none`,`0`]);function E_(e,t,n){let r=0,i;for(;r<e.length&&!i;){let t=e[r];typeof t==`string`&&!T_.has(t)&&vm(t).values.length&&(i=e[r]),r++}if(i&&n)for(let r of t)e[r]=w_(n,i)}var D_=class extends Jh{constructor(e,t,n,r,i){super(e,t,n,r,i,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let r=e[n];if(typeof r==`string`&&(r=r.trim(),zp(r))){let i=Ug(r,t.current);i!==void 0&&(e[n]=i),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!qg.has(n)||e.length!==2)return;let[r,i]=e,a=f_(r),o=f_(i);if(Vp(r)!==Vp(i)&&Bh[n]){this.needsMeasurement=!0;return}if(a!==o)if(Ih(a)&&Ih(o))for(let t=0;t<e.length;t++){let n=e[t];typeof n==`string`&&(e[t]=parseFloat(n))}else Bh[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)(e[t]===null||p_(e[t]))&&n.push(t);n.length&&E_(e,n,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;n===`height`&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Bh[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let r=t[t.length-1];r!==void 0&&e.getValue(n,r).jump(r,!1)}measureEndState(){let{element:e,name:t,unresolvedKeyframes:n}=this;if(!e||!e.current)return;let r=e.getValue(t);r&&r.jump(this.measuredOrigin,!1);let i=n.length-1,a=n[i];n[i]=Bh[t](e.measureViewportBox(),window.getComputedStyle(e.current)),a!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=a),this.removedTransforms?.length&&this.removedTransforms.forEach(([t,n])=>{e.getValue(t).set(n)}),this.resolveNoneKeyframes()}};function O_(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e==`string`){let r=document;t&&(r=t.current);let i=n?.[e]??r.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e).filter(e=>e!=null)}var k_=(e,t)=>t&&typeof e==`number`?t.transform(e):e;function A_(e){return Kf(e)&&`offsetHeight`in e&&!(`ownerSVGElement`in e)}var{schedule:j_,cancel:M_}=Op(queueMicrotask,!1),N_={x:!1,y:!1};function P_(){return N_.x||N_.y}function F_(e){return e===`x`||e===`y`?N_[e]?null:(N_[e]=!0,()=>{N_[e]=!1}):N_.x||N_.y?null:(N_.x=N_.y=!0,()=>{N_.x=N_.y=!1})}function I_(e,t){let n=O_(e),r=new AbortController;return[n,{passive:!0,...t,signal:r.signal},()=>r.abort()]}function L_(e){return!(e.pointerType===`touch`||P_())}function R_(e,t,n={}){let[r,i,a]=I_(e,n);return r.forEach(e=>{let n=!1,r=!1,a,o=()=>{e.removeEventListener(`pointerleave`,u)},s=e=>{a&&=(a(e),void 0),o()},c=e=>{n=!1,window.removeEventListener(`pointerup`,c),window.removeEventListener(`pointercancel`,c),r&&(r=!1,s(e))},l=()=>{n=!0,window.addEventListener(`pointerup`,c,i),window.addEventListener(`pointercancel`,c,i)},u=e=>{if(e.pointerType!==`touch`){if(n){r=!0;return}s(e)}};e.addEventListener(`pointerenter`,n=>{if(!L_(n))return;r=!1;let o=t(e,n);typeof o==`function`&&(a=o,e.addEventListener(`pointerleave`,u,i))},i),e.addEventListener(`pointerdown`,l,i)}),a}var z_=(e,t)=>t?e===t?!0:z_(e,t.parentElement):!1,B_=e=>e.pointerType===`mouse`?typeof e.button!=`number`||e.button<=0:e.isPrimary!==!1,V_=new Set([`BUTTON`,`INPUT`,`SELECT`,`TEXTAREA`,`A`]);function H_(e){return V_.has(e.tagName)||e.isContentEditable===!0}var U_=new Set([`INPUT`,`SELECT`,`TEXTAREA`]);function W_(e){return U_.has(e.tagName)||e.isContentEditable===!0}var G_=new WeakSet;function K_(e){return t=>{t.key===`Enter`&&e(t)}}function q_(e,t){e.dispatchEvent(new PointerEvent(`pointer`+t,{isPrimary:!0,bubbles:!0}))}var J_=(e,t)=>{let n=e.currentTarget;if(!n)return;let r=K_(()=>{if(G_.has(n))return;q_(n,`down`);let e=K_(()=>{q_(n,`up`)});n.addEventListener(`keyup`,e,t),n.addEventListener(`blur`,()=>q_(n,`cancel`),t)});n.addEventListener(`keydown`,r,t),n.addEventListener(`blur`,()=>n.removeEventListener(`keydown`,r),t)};function Y_(e){return B_(e)&&!P_()}var X_=new WeakSet;function Z_(e,t,n={}){let[r,i,a]=I_(e,n),o=e=>{let r=e.currentTarget;if(!Y_(e)||X_.has(e))return;G_.add(r),n.stopPropagation&&X_.add(e);let a=t(r,e),o=(e,t)=>{window.removeEventListener(`pointerup`,s),window.removeEventListener(`pointercancel`,c),G_.has(r)&&G_.delete(r),Y_(e)&&typeof a==`function`&&a(e,{success:t})},s=e=>{o(e,r===window||r===document||n.useGlobalTarget||z_(r,e.target))},c=e=>{o(e,!1)};window.addEventListener(`pointerup`,s,i),window.addEventListener(`pointercancel`,c,i)};return r.forEach(e=>{(n.useGlobalTarget?window:e).addEventListener(`pointerdown`,o,i),A_(e)&&(e.addEventListener(`focus`,e=>J_(e,i)),!H_(e)&&!e.hasAttribute(`tabindex`)&&(e.tabIndex=0))}),a}function Q_(e){return Kf(e)&&`ownerSVGElement`in e}var $_=new WeakMap,ev,tv=(e,t,n)=>(r,i)=>i&&i[0]?i[0][e+`Size`]:Q_(r)&&`getBBox`in r?r.getBBox()[t]:r[n],nv=tv(`inline`,`width`,`offsetWidth`),rv=tv(`block`,`height`,`offsetHeight`);function iv({target:e,borderBoxSize:t}){$_.get(e)?.forEach(n=>{n(e,{get width(){return nv(e,t)},get height(){return rv(e,t)}})})}function av(e){e.forEach(iv)}function ov(){typeof ResizeObserver>`u`||(ev=new ResizeObserver(av))}function sv(e,t){ev||ov();let n=O_(e);return n.forEach(e=>{let n=$_.get(e);n||(n=new Set,$_.set(e,n)),n.add(t),ev?.observe(e)}),()=>{n.forEach(e=>{let n=$_.get(e);n?.delete(t),n?.size||ev?.unobserve(e)})}}var cv=new Set,lv;function uv(){lv=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};cv.forEach(t=>t(e))},window.addEventListener(`resize`,lv)}function dv(e){return cv.add(e),lv||uv(),()=>{cv.delete(e),!cv.size&&typeof lv==`function`&&(window.removeEventListener(`resize`,lv),lv=void 0)}}function fv(e,t){return typeof e==`function`?dv(e):sv(e,t)}function pv(e){return Q_(e)&&e.tagName===`svg`}function mv(...e){let t=!Array.isArray(e[0]),n=t?0:-1,r=e[0+n],i=e[1+n],a=e[2+n],o=e[3+n],s=ch(i,a,o);return t?s(r):s}var hv=[...d_,lm,Tm],gv=e=>hv.find(u_(e)),_v=()=>({translate:0,scale:1,origin:0,originPoint:0}),vv=()=>({x:_v(),y:_v()}),yv=()=>({min:0,max:0}),bv=()=>({x:yv(),y:yv()}),xv=new WeakMap;function Sv(e){return typeof e==`object`&&!!e&&typeof e.start==`function`}function Cv(e){return typeof e==`string`||Array.isArray(e)}var wv=[`animate`,`whileInView`,`whileFocus`,`whileHover`,`whileTap`,`whileDrag`,`exit`],Tv=[`initial`,...wv];function Ev(e){return Sv(e.animate)||Tv.some(t=>Cv(e[t]))}function Dv(e){return!!(Ev(e)||e.variants)}function Ov(e,t,n){for(let r in t){let i=t[r],a=n[r];if(Qg(i))e.addValue(r,i);else if(Qg(a))e.addValue(r,Ag(i,{owner:e}));else if(a!==i)if(e.hasValue(r)){let t=e.getValue(r);t.liveStyle===!0?t.jump(i):t.hasAnimated||t.set(i)}else{let t=e.getStaticValue(r);e.addValue(r,Ag(t===void 0?i:t,{owner:e}))}}for(let r in n)t[r]===void 0&&e.removeValue(r);return t}var kv={current:null},Av={current:!1},jv=typeof window<`u`;function Mv(){if(Av.current=!0,jv)if(window.matchMedia){let e=window.matchMedia(`(prefers-reduced-motion)`),t=()=>kv.current=e.matches;e.addEventListener(`change`,t),t()}else kv.current=!1}var Nv=[`AnimationStart`,`AnimationComplete`,`Update`,`BeforeLayoutMeasure`,`LayoutMeasure`,`LayoutAnimationStart`,`LayoutAnimationComplete`],Pv={};function Fv(e){Pv=e}function Iv(){return Pv}var Lv=class{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,skipAnimations:i,blockInitialAnimation:a,visualState:o},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=Jh,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,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=()=>{let e=Pp.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,J.render(this.render,!1,!0))};let{latestValues:c,renderState:l}=o;this.latestValues=c,this.baseTarget={...c},this.initialValues=t.initial?{...c}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.skipAnimationsConfig=i,this.options=s,this.blockInitialAnimation=!!a,this.isControllingVariants=Ev(t),this.isVariantNode=Dv(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:u,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in d){let t=d[e];c[e]!==void 0&&Qg(t)&&t.set(c[e])}}mount(e){if(this.hasBeenMounted)for(let e in this.initialValues)this.values.get(e)?.jump(this.initialValues[e]),this.latestValues[e]=this.initialValues[e];this.current=e,xv.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),this.reducedMotionConfig===`never`?this.shouldReduceMotion=!1:this.reducedMotionConfig===`always`?this.shouldReduceMotion=!0:(Av.current||Mv(),this.shouldReduceMotion=kv.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),kp(this.notifyUpdate),kp(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(let e in this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??=new Set,this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),t.accelerate&&_g.has(e)&&this.current instanceof HTMLElement){let{factory:n,keyframes:r,times:i,ease:a,duration:o}=t.accelerate,s=new sg({element:this.current,name:e,keyframes:r,times:i,ease:a,duration:$f(o)}),c=n(s);this.valueSubscriptions.set(e,()=>{c(),s.cancel()});return}let n=Fh.has(e);n&&this.onBindTransform&&this.onBindTransform();let r=t.on(`change`,t=>{this.latestValues[e]=t,this.props.onUpdate&&J.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()}),i;typeof window<`u`&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{r(),i&&i()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e=`animation`;for(e in Pv){let t=Pv[e];if(!t)continue;let{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):bv()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<Nv.length;t++){let n=Nv[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let r=e[`on`+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=Ov(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]: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(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return n===void 0&&t!==void 0&&(n=Ag(t===null?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){let n=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options);return n!=null&&(typeof n==`string`&&(Gf(n)||qf(n))?n=parseFloat(n):!gv(n)&&Tm.test(t)&&(n=w_(e,t)),this.setBaseTarget(e,Qg(n)?n.get():n)),Qg(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let{initial:t}=this.props,n;if(typeof t==`string`||typeof t==`object`){let r=Gg(this.props,t,this.presenceContext?.custom);r&&(n=r[e])}if(t&&n!==void 0)return n;let r=this.getBaseTargetFromProps(this.props,e);return r!==void 0&&!Qg(r)?r:this.initialValues[e]!==void 0&&n===void 0?void 0:this.baseTarget[e]}on(e,t){return this.events[e]||(this.events[e]=new Qf),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){j_.render(this.render)}},Rv=class extends Lv{constructor(){super(...arguments),this.KeyframeResolver=D_}sortInstanceNodePosition(e,t){return e.compareDocumentPosition(t)&2?1:-1}getBaseTargetFromProps(e,t){let n=e.style;return n?n[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;Qg(e)&&(this.childSubscription=e.on(`change`,e=>{this.current&&(this.current.textContent=`${e}`)}))}},zv=class{constructor(e){this.isMounted=!1,this.node=e}update(){}};function Bv({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function Vv({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function Hv(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function Uv(e){return e===void 0||e===1}function Wv({scale:e,scaleX:t,scaleY:n}){return!Uv(e)||!Uv(t)||!Uv(n)}function Gv(e){return Wv(e)||Kv(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Kv(e){return qv(e.x)||qv(e.y)}function qv(e){return e&&e!==`0%`}function Jv(e,t,n){return n+t*(e-n)}function Yv(e,t,n,r,i){return i!==void 0&&(e=Jv(e,i,r)),Jv(e,n,r)+t}function Xv(e,t=0,n=1,r,i){e.min=Yv(e.min,t,n,r,i),e.max=Yv(e.max,t,n,r,i)}function Zv(e,{x:t,y:n}){Xv(e.x,t.translate,t.scale,t.originPoint),Xv(e.y,n.translate,n.scale,n.originPoint)}var Qv=.999999999999,$v=1.0000000000001;function ey(e,t,n,r=!1){let i=n.length;if(!i)return;t.x=t.y=1;let a,o;for(let s=0;s<i;s++){a=n[s],o=a.projectionDelta;let{visualElement:i}=a.options;i&&i.props.style&&i.props.style.display===`contents`||(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&(ty(e.x,-a.scroll.offset.x),ty(e.y,-a.scroll.offset.y)),o&&(t.x*=o.x.scale,t.y*=o.y.scale,Zv(e,o)),r&&Gv(a.latestValues)&&iy(e,a.latestValues,a.layout?.layoutBox))}t.x<$v&&t.x>Qv&&(t.x=1),t.y<$v&&t.y>Qv&&(t.y=1)}function ty(e,t){e.min+=t,e.max+=t}function ny(e,t,n,r,i=.5){Xv(e,t,n,X(e.min,e.max,i),r)}function ry(e,t){return typeof e==`string`?parseFloat(e)/100*(t.max-t.min):e}function iy(e,t,n){let r=n??e;ny(e.x,ry(t.x,r.x),t.scaleX,t.scale,t.originX),ny(e.y,ry(t.y,r.y),t.scaleY,t.scale,t.originY)}function ay(e,t){return Bv(Hv(e.getBoundingClientRect(),t))}function oy(e,t,n){let r=ay(e,n),{scroll:i}=t;return i&&(ty(r.x,i.offset.x),ty(r.y,i.offset.y)),r}var sy={x:`translateX`,y:`translateY`,z:`translateZ`,transformPerspective:`perspective`},cy=Ph.length;function ly(e,t,n){let r=``,i=!0;for(let a=0;a<cy;a++){let o=Ph[a],s=e[o];if(s===void 0)continue;let c=!0;if(typeof s==`number`)c=s===(o.startsWith(`scale`)?1:0);else{let e=parseFloat(s);c=o.startsWith(`scale`)?e===1:e===0}if(!c||n){let e=k_(s,b_[o]);if(!c){i=!1;let t=sy[o]||o;r+=`${t}(${e}) `}n&&(t[o]=e)}}let a=e.pathRotation;return a&&(i=!1,r+=`rotate(${k_(a,b_.pathRotation)}) `),r=r.trim(),n?r=n(t,i?``:r):i&&(r=`none`),r}function uy(e,t,n){let{style:r,vars:i,transformOrigin:a}=e,o=!1,s=!1;for(let e in t){let n=t[e];if(Fh.has(e)){o=!0;continue}else if(Lp(e)){i[e]=n;continue}else{let t=k_(n,b_[e]);e.startsWith(`origin`)?(s=!0,a[e]=t):r[e]=t}}if(t.transform||(o||n?r.transform=ly(t,e.transform,n):r.transform&&=`none`),s){let{originX:e=`50%`,originY:t=`50%`,originZ:n=0}=a;r.transformOrigin=`${e} ${t} ${n}`}}function dy(e,{style:t,vars:n},r,i){let a=e.style,o;for(o in t)a[o]=t[o];for(o in i?.applyProjectionStyles(a,r),n)a.setProperty(o,n[o])}function fy(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var py={correct:(e,t)=>{if(!t.target)return e;if(typeof e==`string`)if(Y.test(e))e=parseFloat(e);else return e;return`${fy(e,t.target.x)}% ${fy(e,t.target.y)}%`}},my={correct:(e,{treeScale:t,projectionDelta:n})=>{let r=e,i=Tm.parse(e);if(i.length>5)return r;let a=Tm.createTransformer(e),o=typeof i[0]==`number`?0:1,s=n.x.scale*t.x,c=n.y.scale*t.y;i[0+o]/=s,i[1+o]/=c;let l=X(s,c,.5);return typeof i[2+o]==`number`&&(i[2+o]/=l),typeof i[3+o]==`number`&&(i[3+o]/=l),a(i)}},hy={borderRadius:{...py,applyTo:[`borderTopLeftRadius`,`borderTopRightRadius`,`borderBottomLeftRadius`,`borderBottomRightRadius`]},borderTopLeftRadius:py,borderTopRightRadius:py,borderBottomLeftRadius:py,borderBottomRightRadius:py,boxShadow:my};function gy(e,{layout:t,layoutId:n}){return Fh.has(e)||e.startsWith(`origin`)||(t||n!==void 0)&&(!!hy[e]||e===`opacity`)}function _y(e,t,n){let r=e.style,i=t?.style,a={};if(!r)return a;for(let t in r)(Qg(r[t])||i&&Qg(i[t])||gy(t,e)||n?.getValue(t)?.liveStyle!==void 0)&&(a[t]=r[t]);return a}function vy(e){return window.getComputedStyle(e)}var yy=class extends Rv{constructor(){super(...arguments),this.type=`html`,this.renderInstance=dy}readValueFromInstance(e,t){if(Fh.has(t))return this.projection?.isProjecting?Ah(t):Mh(e,t);{let n=vy(e),r=(Lp(t)?n.getPropertyValue(t):n[t])||0;return typeof r==`string`?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return ay(e,t)}build(e,t,n){uy(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return _y(e,t,n)}},by={offset:`stroke-dashoffset`,array:`stroke-dasharray`},xy={offset:`strokeDashoffset`,array:`strokeDasharray`};function Sy(e,t,n=1,r=0,i=!0){e.pathLength=1;let a=i?by:xy;e[a.offset]=`${-r}`,e[a.array]=`${t} ${n}`}var Cy=[`offsetDistance`,`offsetPath`,`offsetRotate`,`offsetAnchor`];function wy(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:a=1,pathOffset:o=0,...s},c,l,u){if(uy(e,s,l),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:f}=e;d.transform&&(f.transform=d.transform,delete d.transform),(f.transform||d.transformOrigin)&&(f.transformOrigin=d.transformOrigin??`50% 50%`,delete d.transformOrigin),f.transform&&(f.transformBox=u?.transformBox??`fill-box`,delete d.transformBox);for(let e of Cy)d[e]!==void 0&&(f[e]=d[e],delete d[e]);t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),r!==void 0&&(d.scale=r),i!==void 0&&Sy(d,i,a,o,!1)}var Ty=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`]),Ey=e=>typeof e==`string`&&e.toLowerCase()===`svg`;function Dy(e,t,n,r){dy(e,t,void 0,r);for(let n in t.attrs)e.setAttribute(Ty.has(n)?n:t_(n),t.attrs[n])}function Oy(e,t,n){let r=_y(e,t,n);for(let n in e)if(Qg(e[n])||Qg(t[n])){let t=Ph.indexOf(n)===-1?n:`attr`+n.charAt(0).toUpperCase()+n.substring(1);r[t]=e[n]}return r}var ky=class extends Rv{constructor(){super(...arguments),this.type=`svg`,this.isSVGTag=!1,this.measureInstanceViewportBox=bv}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(Fh.has(t)){let e=S_(t);return e&&e.default||0}return t=Ty.has(t)?t:t_(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return Oy(e,t,n)}build(e,t,n){wy(e,t,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,t,n,r){Dy(e,t,n,r)}mount(e){this.isSVGTag=Ey(e.tagName),super.mount(e)}},Ay=Tv.length;function jy(e){if(!e)return;if(!e.isControllingVariants){let t=e.parent&&jy(e.parent)||{};return e.props.initial!==void 0&&(t.initial=e.props.initial),t}let t={};for(let n=0;n<Ay;n++){let r=Tv[n],i=e.props[r];(Cv(i)||i===!1)&&(t[r]=i)}return t}function My(e,t){if(!Array.isArray(t))return!1;let n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}var Ny=[...wv].reverse(),Py=wv.length;function Fy(e){return t=>Promise.all(t.map(({animation:t,options:n})=>c_(e,t,n)))}function Iy(e){let t=Fy(e),n=zy(),r=!0,i=!1,a=t=>(n,r)=>{let i=Kg(e,r,t===`exit`?e.presenceContext?.custom:void 0);if(i){let{transition:e,transitionEnd:t,...r}=i;n={...n,...r,...t}}return n};function o(n){t=n(e)}function s(o){let{props:s}=e,c=jy(e.parent)||{},l=[],u=new Set,d={},f=1/0;for(let t=0;t<Py;t++){let p=Ny[t],m=n[p],h=s[p]===void 0?c[p]:s[p],g=Cv(h),_=p===o?m.isActive:null;_===!1&&(f=t);let v=h===c[p]&&h!==s[p]&&g;if(v&&(r||i)&&e.manuallyAnimateOnMount&&(v=!1),m.protectedKeys={...d},!m.isActive&&_===null||!h&&!m.prevProp||Sv(h)||typeof h==`boolean`)continue;if(p===`exit`&&m.isActive&&_!==!0){m.prevResolvedValues&&(d={...d,...m.prevResolvedValues});continue}let y=Ly(m.prevProp,h),b=y||p===o&&m.isActive&&!v&&g||t>f&&g,x=!1,S=Array.isArray(h)?h:[h],C=S.reduce(a(p),{});_===!1&&(C={});let{prevResolvedValues:w={}}=m,T={...w,...C},E=t=>{b=!0,u.has(t)&&(x=!0,u.delete(t)),m.needsAnimating[t]=!0;let n=e.getValue(t);n&&(n.liveStyle=!1)};for(let e in T){let t=C[e],n=w[e];if(d.hasOwnProperty(e))continue;let r=!1;r=Jg(t)&&Jg(n)?!My(t,n)||y:t!==n,r?t==null?u.add(e):E(e):t!==void 0&&u.has(e)?E(e):m.protectedKeys[e]=!0}m.prevProp=h,m.prevResolvedValues=C,m.isActive&&(d={...d,...C}),(r||i)&&e.blockInitialAnimation&&(b=!1);let D=v&&y;b&&(!D||x)&&l.push(...S.map(t=>{let n={type:p};if(typeof t==`string`&&(r||i)&&!D&&e.manuallyAnimateOnMount&&e.parent){let{parent:r}=e,i=Kg(r,t);if(r.enteringChildren&&i){let{delayChildren:t}=i.transition||{};n.delay=Tg(r.enteringChildren,e,t)}}return{animation:t,options:n}}))}if(u.size){let t={};if(typeof s.initial!=`boolean`){let n=Kg(e,Array.isArray(s.initial)?s.initial[0]:s.initial);n&&n.transition&&(t.transition=n.transition)}u.forEach(n=>{let r=e.getBaseTarget(n),i=e.getValue(n);i&&(i.liveStyle=!0),t[n]=r??null}),l.push({animation:t})}let p=!!l.length;return r&&(s.initial===!1||s.initial===s.animate)&&!e.manuallyAnimateOnMount&&(p=!1),r=!1,i=!1,p?t(l):Promise.resolve()}function c(t,r){if(n[t].isActive===r)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,r)),n[t].isActive=r;let i=s(t);for(let e in n)n[e].protectedKeys={};return i}return{animateChanges:s,setActive:c,setAnimateFunction:o,getState:()=>n,reset:()=>{n=zy(),i=!0}}}function Ly(e,t){return typeof t==`string`?t!==e:Array.isArray(t)?!My(t,e):!1}function Ry(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function zy(){return{animate:Ry(!0),whileInView:Ry(),whileHover:Ry(),whileTap:Ry(),whileDrag:Ry(),whileFocus:Ry(),exit:Ry()}}function By(e,t){e.min=t.min,e.max=t.max}function Vy(e,t){By(e.x,t.x),By(e.y,t.y)}function Hy(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}var Uy=1e-4,Wy=1-Uy,Gy=1+Uy,Ky=.01,qy=0-Ky,Jy=0+Ky;function Yy(e){return e.max-e.min}function Xy(e,t,n){return Math.abs(e-t)<=n}function Zy(e,t,n,r=.5){e.origin=r,e.originPoint=X(t.min,t.max,e.origin),e.scale=Yy(n)/Yy(t),e.translate=X(n.min,n.max,e.origin)-e.originPoint,(e.scale>=Wy&&e.scale<=Gy||isNaN(e.scale))&&(e.scale=1),(e.translate>=qy&&e.translate<=Jy||isNaN(e.translate))&&(e.translate=0)}function Qy(e,t,n,r){Zy(e.x,t.x,n.x,r?r.originX:void 0),Zy(e.y,t.y,n.y,r?r.originY:void 0)}function $y(e,t,n,r=0){e.min=(r?X(n.min,n.max,r):n.min)+t.min,e.max=e.min+Yy(t)}function eb(e,t,n,r){$y(e.x,t.x,n.x,r?.x),$y(e.y,t.y,n.y,r?.y)}function tb(e,t,n,r=0){let i=r?X(n.min,n.max,r):n.min;e.min=t.min-i,e.max=e.min+Yy(t)}function nb(e,t,n,r){tb(e.x,t.x,n.x,r?.x),tb(e.y,t.y,n.y,r?.y)}function rb(e,t,n,r,i){return e-=t,e=Jv(e,1/n,r),i!==void 0&&(e=Jv(e,1/i,r)),e}function ib(e,t=0,n=1,r=.5,i,a=e,o=e){if(im.test(t)&&(t=parseFloat(t),t=X(o.min,o.max,t/100)-o.min),typeof t!=`number`)return;let s=X(a.min,a.max,r);e===a&&(s-=t),e.min=rb(e.min,t,n,s,i),e.max=rb(e.max,t,n,s,i)}function ab(e,t,[n,r,i],a,o){ib(e,t[n],t[r],t[i],t.scale,a,o)}var ob=[`x`,`scaleX`,`originX`],sb=[`y`,`scaleY`,`originY`];function cb(e,t,n,r){ab(e.x,t,ob,n?n.x:void 0,r?r.x:void 0),ab(e.y,t,sb,n?n.y:void 0,r?r.y:void 0)}function lb(e){return e.translate===0&&e.scale===1}function ub(e){return lb(e.x)&&lb(e.y)}function db(e,t){return e.min===t.min&&e.max===t.max}function fb(e,t){return db(e.x,t.x)&&db(e.y,t.y)}function pb(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function mb(e,t){return pb(e.x,t.x)&&pb(e.y,t.y)}function hb(e){return Yy(e.x)/Yy(e.y)}function gb(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function _b(e){return[e(`x`),e(`y`)]}function vb(e,t,n){let r=``,i=e.x.translate/t.x,a=e.y.translate/t.y,o=n?.z||0;if((i||a||o)&&(r=`translate3d(${i}px, ${a}px, ${o}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){let{transformPerspective:e,rotate:t,pathRotation:i,rotateX:a,rotateY:o,skewX:s,skewY:c}=n;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),i&&(r+=`rotate(${i}deg) `),a&&(r+=`rotateX(${a}deg) `),o&&(r+=`rotateY(${o}deg) `),s&&(r+=`skewX(${s}deg) `),c&&(r+=`skewY(${c}deg) `)}let s=e.x.scale*t.x,c=e.y.scale*t.y;return(s!==1||c!==1)&&(r+=`scale(${s}, ${c})`),r||`none`}var yb=[`borderTopLeftRadius`,`borderTopRightRadius`,`borderBottomLeftRadius`,`borderBottomRightRadius`],bb=yb.length,xb=e=>typeof e==`string`?parseFloat(e):e,Sb=e=>typeof e==`number`||Y.test(e);function Cb(e,t,n,r,i,a){i?(e.opacity=X(0,n.opacity??1,Tb(r)),e.opacityExit=X(t.opacity??1,0,Eb(r))):a&&(e.opacity=X(t.opacity??1,n.opacity??1,r));for(let i=0;i<bb;i++){let a=yb[i],o=wb(t,a),s=wb(n,a);o===void 0&&s===void 0||(o||=0,s||=0,o===0||s===0||Sb(o)===Sb(s)?(e[a]=Math.max(X(xb(o),xb(s),r),0),(im.test(s)||im.test(o))&&(e[a]+=`%`)):e[a]=s)}(t.rotate||n.rotate)&&(e.rotate=X(t.rotate||0,n.rotate||0,r))}function wb(e,t){return e[t]===void 0?e.borderRadius:e[t]}var Tb=Db(0,.5,mp),Eb=Db(.5,.95,Yf);function Db(e,t,n){return r=>r<e?0:r>t?1:n(Zf(e,t,r))}function Ob(e,t,n){let r=Qg(e)?e:Ag(e);return r.start(Bg(``,r,t,n)),r.animation}function kb(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}var Ab=(e,t)=>e.depth-t.depth,jb=class{constructor(){this.children=[],this.isDirty=!1}add(e){Bf(this.children,e),this.isDirty=!0}remove(e){Vf(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Ab),this.isDirty=!1,this.children.forEach(e)}};function Mb(e,t){let n=Pp.now(),r=({timestamp:i})=>{let a=i-n;a>=t&&(kp(r),e(a-t))};return J.setup(r,!0),()=>kp(r)}function Nb(e){return Qg(e)?e.get():e}var Pb=class{constructor(){this.members=[]}add(e){Bf(this.members,e);for(let t=this.members.length-1;t>=0;t--){let n=this.members[t];if(n===e||n===this.lead||n===this.prevLead)continue;let r=n.instance;(!r||r.isConnected===!1)&&!n.snapshot&&(Vf(this.members,n),n.unmount())}e.scheduleRender()}remove(e){if(Vf(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){for(let t=this.members.indexOf(e)-1;t>=0;t--){let e=this.members[t];if(e.isPresent!==!1&&e.instance?.isConnected!==!1)return this.promote(e),!0}return!1}promote(e,t){let n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.updateSnapshot(),e.scheduleRender();let{layoutDependency:r}=n.options,{layoutDependency:i}=e.options;(r===void 0||r!==i)&&(e.resumeFrom=n,t&&(n.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root?.isUpdating&&(e.isLayoutDirty=!0)),e.options.crossfade===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{e.options.onExitComplete?.(),e.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}},Fb={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Ib={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},Lb=[``,`X`,`Y`,`Z`],Rb=1e3,zb=0;function Bb(e,t,n,r){let{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function Vb(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:t}=e.options;if(!t)return;let n=r_(t);if(window.MotionHasOptimisedAnimation(n,`transform`)){let{layout:t,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,`transform`,J,!(t||r))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&Vb(r)}function Hb({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=t?.()){this.id=zb++,this.animationId=0,this.animationCommitId=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.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,Tp.value&&(Ib.nodes=Ib.calculatedTargetDeltas=Ib.calculatedProjections=0),this.nodes.forEach(Gb),this.nodes.forEach(ex),this.nodes.forEach(tx),this.nodes.forEach(Kb),Tp.addProjectionMetrics&&Tp.addProjectionMetrics(Ib)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new jb)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new Qf),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;this.isSVG=Q_(t)&&!pv(t),this.instance=t;let{layoutId:n,layout:r,visualElement:i}=this.options;if(i&&!i.current&&i.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(r||n)&&(this.isLayoutDirty=!0),e){let n,r=0,i=()=>this.root.updateBlockedByResize=!1;J.read(()=>{r=window.innerWidth}),e(t,()=>{let e=window.innerWidth;e!==r&&(r=e,this.root.updateBlockedByResize=!0,n&&n(),n=Mb(i,250),Fb.hasAnimatedSinceResize&&(Fb.hasAnimatedSinceResize=!1,this.nodes.forEach($b)))})}n&&this.root.registerSharedNode(n,this),this.options.animate!==!1&&i&&(n||r)&&this.addEventListener(`didUpdate`,({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let a=this.options.transition||i.getDefaultTransition()||cx,{onLayoutAnimationStart:o,onLayoutAnimationComplete:s}=i.getProps(),c=!this.targetLayout||!mb(this.targetLayout,r),l=!t&&n;if(this.options.layoutRoot||this.resumeFrom||l||t&&(c||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...Mg(a,`layout`),onPlay:o,onComplete:s};(i.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,l,t.path)}else t||$b(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),kp(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(nx),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Vb(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,(typeof t.latestValues.x==`string`||typeof t.latestValues.y==`string`)&&(t.isLayoutDirty=!0),t.updateScroll(`snapshot`),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:n}=this.options;if(t===void 0&&!n)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,``):void 0,this.updateSnapshot(),e&&this.notifyListeners(`willUpdate`)}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let e=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),e&&this.nodes.forEach(Yb),this.nodes.forEach(Jb);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Xb);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Zb),this.nodes.forEach(Qb),this.nodes.forEach(Ub),this.nodes.forEach(Wb)):this.nodes.forEach(Xb),this.clearAllSnapshots();let e=Pp.now();Ap.delta=Uf(0,1e3/60,e-Ap.timestamp),Ap.timestamp=e,Ap.isProcessing=!0,jp.update.process(Ap),jp.preRender.process(Ap),jp.render.process(Ap),Ap.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,j_.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(qb),this.sharedNodes.forEach(rx)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,J.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){J.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Yy(this.snapshot.measuredBox.x)&&!Yy(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 e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||=bv(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners(`measure`,this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify(`LayoutMeasure`,this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e=`measure`){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){let t=r(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!i)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!ub(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,``):void 0,a=r!==this.prevTransformTemplateValue;e&&this.instance&&(t||Gv(this.latestValues)||a)&&(i(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){let t=this.measurePageBox(),n=this.removeElementScroll(t);return e&&(n=this.removeTransform(n)),fx(n),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return bv();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(mx))){let{scroll:e}=this.root;e&&(ty(t.x,e.offset.x),ty(t.y,e.offset.y))}return t}removeElementScroll(e){let t=bv();if(Vy(t,e),this.scroll?.wasRoot)return t;for(let n=0;n<this.path.length;n++){let r=this.path[n],{scroll:i,options:a}=r;r!==this.root&&i&&a.layoutScroll&&(i.wasRoot&&Vy(t,e),ty(t.x,i.offset.x),ty(t.y,i.offset.y))}return t}applyTransform(e,t=!1,n){let r=n||bv();Vy(r,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];!t&&n.options.layoutScroll&&n.scroll&&n!==n.root&&(ty(r.x,-n.scroll.offset.x),ty(r.y,-n.scroll.offset.y)),Gv(n.latestValues)&&iy(r,n.latestValues,n.layout?.layoutBox)}return Gv(this.latestValues)&&iy(r,this.latestValues,this.layout?.layoutBox),r}removeTransform(e){let t=bv();Vy(t,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];if(!Gv(n.latestValues))continue;let r;n.instance&&(Wv(n.latestValues)&&n.updateSnapshot(),r=bv(),Vy(r,n.measurePageBox())),cb(t,n.latestValues,n.snapshot?.layoutBox,r)}return Gv(this.latestValues)&&cb(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:e.crossfade===void 0?!0:e.crossfade}}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!==Ap.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||=t.isProjectionDirty,this.isTransformDirty||=t.isTransformDirty,this.isSharedProjectionDirty||=t.isSharedProjectionDirty;let n=!!this.resumingFrom||this!==t;if(!(e||n&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:r,layoutId:i}=this.options;if(!this.layout||!(r||i))return;this.resolvedRelativeTargetAt=Ap.timestamp;let a=this.getClosestProjectingParent();a&&this.linkedParentVersion!==a.layoutVersion&&!a.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&a&&a.layout?this.createRelativeTarget(a,this.layout.layoutBox,a.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=bv(),this.targetWithTransforms=bv()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),eb(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):Vy(this.target,this.layout.layoutBox),Zv(this.target,this.targetDelta)):Vy(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&a&&!!a.resumingFrom==!!this.resumingFrom&&!a.options.layoutScroll&&a.target&&this.animationProgress!==1?this.createRelativeTarget(a,this.target,a.target):this.relativeParent=this.relativeTarget=void 0),Tp.value&&Ib.calculatedTargetDeltas++)}getClosestProjectingParent(){if(!(!this.parent||Wv(this.parent.latestValues)||Kv(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(e,t,n){this.relativeParent=e,this.linkedParentVersion=e.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=bv(),this.relativeTargetOrigin=bv(),nb(this.relativeTargetOrigin,t,n,this.options.layoutAnchor||void 0),Vy(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,n=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(n=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===Ap.timestamp&&(n=!1),n)return;let{layout:r,layoutId:i}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||i))return;Vy(this.layoutCorrected,this.layout.layoutBox);let a=this.treeScale.x,o=this.treeScale.y;ey(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=bv());let{target:s}=e;if(!s){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Hy(this.prevProjectionDelta.x,this.projectionDelta.x),Hy(this.prevProjectionDelta.y,this.projectionDelta.y)),Qy(this.projectionDelta,this.layoutCorrected,s,this.latestValues),(this.treeScale.x!==a||this.treeScale.y!==o||!gb(this.projectionDelta.x,this.prevProjectionDelta.x)||!gb(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners(`projectionUpdate`,s)),Tp.value&&Ib.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=vv(),this.projectionDelta=vv(),this.projectionDeltaWithTransform=vv()}setAnimationOrigin(e,t=!1,n){let r=this.snapshot,i=r?r.latestValues:{},a={...this.latestValues},o=vv();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let s=bv(),c=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),u=!l||l.members.length<=1,d=!!(c&&!u&&this.options.crossfade===!0&&!this.path.some(sx));this.animationProgress=0;let f,p=n?.interpolateProjection(e);this.mixTargetDelta=t=>{let n=t/1e3,r=p?.(n);r?(o.x.translate=r.x,o.x.scale=X(e.x.scale,1,n),o.x.origin=e.x.origin,o.x.originPoint=e.x.originPoint,o.y.translate=r.y,o.y.scale=X(e.y.scale,1,n),o.y.origin=e.y.origin,o.y.originPoint=e.y.originPoint):(ix(o.x,e.x,n),ix(o.y,e.y,n)),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(nb(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),ox(this.relativeTarget,this.relativeTargetOrigin,s,n),f&&fb(this.relativeTarget,f)&&(this.isProjectionDirty=!1),f||=bv(),Vy(f,this.relativeTarget)),c&&(this.animationValues=a,Cb(a,i,this.latestValues,n,d,u)),r&&r.rotate!==void 0&&(this.animationValues||=a,this.animationValues.pathRotation=r.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners(`animationStart`),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&=(kp(this.pendingAnimation),void 0),this.pendingAnimation=J.update(()=>{Fb.hasAnimatedSinceResize=!0,Fp.layout++,this.motionValue||=Ag(0),this.motionValue.jump(0,!1),this.currentAnimation=Ob(this.motionValue,[0,1e3],{...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onStop:()=>{Fp.layout--},onComplete:()=>{Fp.layout--,e.onComplete&&e.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);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners(`animationComplete`)}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Rb),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:n,layout:r,latestValues:i}=e;if(!(!t||!n||!r)){if(this!==e&&this.layout&&r&&px(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||bv();let t=Yy(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;let r=Yy(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}Vy(t,n),iy(t,i),Qy(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new Pb),this.sharedNodes.get(e).add(t);let n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return e?e.lead===this:!0}getLead(){let{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){let r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return e?e.relegate(this):!1}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;let r={};n.z&&Bb(`z`,e,r,this.animationValues);for(let t=0;t<Lb.length;t++)Bb(`rotate${Lb[t]}`,e,r,this.animationValues),Bb(`skew${Lb[t]}`,e,r,this.animationValues);e.render();for(let t in r)e.setStaticValue(t,r[t]),this.animationValues&&(this.animationValues[t]=r[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible){e.visibility=`hidden`;return}let n=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,e.visibility=``,e.opacity=``,e.pointerEvents=Nb(t?.pointerEvents)||``,e.transform=n?n(this.latestValues,``):`none`;return}let r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){this.options.layoutId&&(e.opacity=this.latestValues.opacity===void 0?1:this.latestValues.opacity,e.pointerEvents=Nb(t?.pointerEvents)||``),this.hasProjected&&!Gv(this.latestValues)&&(e.transform=n?n({},``):`none`,this.hasProjected=!1);return}e.visibility=``;let i=r.animationValues||r.latestValues;this.applyTransformsToTarget();let a=vb(this.projectionDeltaWithTransform,this.treeScale,i);n&&(a=n(i,a)),e.transform=a;let{x:o,y:s}=this.projectionDelta;e.transformOrigin=`${o.origin*100}% ${s.origin*100}% 0`,r.animationValues?e.opacity=r===this?i.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:i.opacityExit:e.opacity=r===this?i.opacity===void 0?``:i.opacity:i.opacityExit===void 0?0:i.opacityExit;for(let t in hy){if(i[t]===void 0)continue;let{correct:n,applyTo:o,isCSSVariable:s}=hy[t],c=a===`none`?i[t]:n(i[t],r);if(o){let t=o.length;for(let n=0;n<t;n++)e[o[n]]=c}else s?this.options.visualElement.renderState.vars[t]=c:e[t]=c}this.options.layoutId&&(e.pointerEvents=r===this?Nb(t?.pointerEvents)||``:`none`)}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(Jb),this.root.sharedNodes.clear()}}}function Ub(e){e.updateLayout()}function Wb(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners(`didUpdate`)){let{layoutBox:n,measuredBox:r}=e.layout,{animationType:i}=e.options,a=t.source!==e.layout.source;if(i===`size`)_b(e=>{let r=a?t.measuredBox[e]:t.layoutBox[e],i=Yy(r);r.min=n[e].min,r.max=r.min+i});else if(i===`x`||i===`y`){let e=i===`x`?`y`:`x`;By(a?t.measuredBox[e]:t.layoutBox[e],n[e])}else px(i,t.layoutBox,n)&&_b(r=>{let i=a?t.measuredBox[r]:t.layoutBox[r],o=Yy(n[r]);i.max=i.min+o,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+o)});let o=vv();Qy(o,n,t.layoutBox);let s=vv();a?Qy(s,e.applyTransform(r,!0),t.measuredBox):Qy(s,n,t.layoutBox);let c=!ub(o),l=!1;if(!e.resumeFrom){let r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:i,layout:a}=r;if(i&&a){let o=e.options.layoutAnchor||void 0,s=bv();nb(s,t.layoutBox,i.layoutBox,o);let c=bv();nb(c,n,a.layoutBox,o),mb(s,c)||(l=!0),r.options.layoutRoot&&(e.relativeTarget=c,e.relativeTargetOrigin=s,e.relativeParent=r)}}}e.notifyListeners(`didUpdate`,{layout:n,snapshot:t,delta:s,layoutDelta:o,hasLayoutChanged:c,hasRelativeLayoutChanged:l})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function Gb(e){Tp.value&&Ib.nodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty),e.isTransformDirty||=e.parent.isTransformDirty)}function Kb(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function qb(e){e.clearSnapshot()}function Jb(e){e.clearMeasurements()}function Yb(e){e.isLayoutDirty=!0,e.updateLayout()}function Xb(e){e.isLayoutDirty=!1}function Zb(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function Qb(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify(`BeforeLayoutMeasure`),e.resetTransform()}function $b(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function ex(e){e.resolveTargetDelta()}function tx(e){e.calcProjection()}function nx(e){e.resetSkewAndRotation()}function rx(e){e.removeLeadSnapshot()}function ix(e,t,n){e.translate=X(t.translate,0,n),e.scale=X(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function ax(e,t,n,r){e.min=X(t.min,n.min,r),e.max=X(t.max,n.max,r)}function ox(e,t,n,r){ax(e.x,t.x,n.x,r),ax(e.y,t.y,n.y,r)}function sx(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var cx={duration:.45,ease:[.4,0,.1,1]},lx=e=>typeof navigator<`u`&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),ux=lx(`applewebkit/`)&&!lx(`chrome/`)?Math.round:Yf;function dx(e){e.min=ux(e.min),e.max=ux(e.max)}function fx(e){dx(e.x),dx(e.y)}function px(e,t,n){return e===`position`||e===`preserve-aspect`&&!Xy(hb(t),hb(n),.2)}function mx(e){return e!==e.root&&e.scroll?.wasRoot}var hx=Hb({attachResizeListener:(e,t)=>kb(e,`resize`,t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),gx={current:void 0},_x=Hb({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!gx.current){let e=new hx({});e.mount(window),e.setOptions({layoutScroll:!0}),gx.current=e}return gx.current},resetTransform:(e,t)=>{e.style.transform=t===void 0?`none`:t},checkIsScrollRoot:e=>window.getComputedStyle(e).position===`fixed`}),vx=(0,H.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:`never`});function yx(e=!0){let t=(0,H.useContext)(zf);if(t===null)return[!0,null];let{isPresent:n,onExitComplete:r,register:i}=t,a=(0,H.useId)();(0,H.useEffect)(()=>{if(e)return i(a)},[e]);let o=(0,H.useCallback)(()=>e&&r&&r(a),[a,r,e]);return!n&&r?[!1,o]:[!0]}var bx=(0,H.createContext)({strict:!1}),xx={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`]},Sx=!1;function Cx(){if(Sx)return;let e={};for(let t in xx)e[t]={isEnabled:e=>xx[t].some(t=>!!e[t])};Fv(e),Sx=!0}function wx(){return Cx(),Iv()}function Tx(e){let t=wx();for(let n in e)t[n]={...t[n],...e[n]};Fv(t)}var Ex=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.propagate.ignoreStrict.viewport`.split(`.`));function Dx(e){return e.startsWith(`while`)||e.startsWith(`drag`)&&e!==`draggable`||e.startsWith(`layout`)||e.startsWith(`onTap`)||e.startsWith(`onPan`)||e.startsWith(`onLayout`)||Ex.has(e)}var Ox=e=>!Dx(e);function kx(e){typeof e==`function`&&(Ox=t=>t.startsWith(`on`)?!Dx(t):e(t))}try{kx((ce(),e(o)).default)}catch{}function Ax(e,t,n){let r={};for(let i in e)i===`values`&&typeof e.values==`object`||Qg(e[i])||(Ox(i)||n===!0&&Dx(i)||!t&&!Dx(i)||e.draggable&&i.startsWith(`onDrag`))&&(r[i]=e[i]);return r}var jx=(0,H.createContext)({});function Mx(e,t){if(Ev(e)){let{initial:t,animate:n}=e;return{initial:t===!1||Cv(t)?t:void 0,animate:Cv(n)?n:void 0}}return e.inherit===!1?{}:t}function Nx(e){let{initial:t,animate:n}=Mx(e,(0,H.useContext)(jx));return(0,H.useMemo)(()=>({initial:t,animate:n}),[Px(t),Px(n)])}function Px(e){return Array.isArray(e)?e.join(` `):e}var Fx=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Ix(e,t,n){for(let r in t)!Qg(t[r])&&!gy(r,n)&&(e[r]=t[r])}function Lx({transformTemplate:e},t){return(0,H.useMemo)(()=>{let n=Fx();return uy(n,t,e),Object.assign({},n.vars,n.style)},[t])}function Rx(e,t){let n=e.style||{},r={};return Ix(r,n,e),Object.assign(r,Lx(e,t)),r}function zx(e,t){let n={},r=Rx(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout=`none`,r.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=r,n}var Bx=()=>({...Fx(),attrs:{}});function Vx(e,t,n,r){let i=(0,H.useMemo)(()=>{let n=Bx();return wy(n,t,Ey(r),e.transformTemplate,e.style),{...n.attrs,style:{...n.style}}},[t]);if(e.style){let t={};Ix(t,e.style,e),i.style={...t,...i.style}}return i}var Hx=[`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 Ux(e){return typeof e!=`string`||e.includes(`-`)?!1:!!(Hx.indexOf(e)>-1||/[A-Z]/u.test(e))}function Wx(e,t,n,{latestValues:r},i,a=!1,o){let s=(o??Ux(e)?Vx:zx)(t,r,i,e),c=Ax(t,typeof e==`string`,a),l=e===H.Fragment?{}:{...c,...s,ref:n},{children:u}=t,d=(0,H.useMemo)(()=>Qg(u)?u.get():u,[u]);return(0,H.createElement)(e,{...l,children:d})}function Gx({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,i){return{latestValues:Kx(n,r,i,e),renderState:t()}}function Kx(e,t,n,r){let i={},a=r(e,{});for(let e in a)i[e]=Nb(a[e]);let{initial:o,animate:s}=e,c=Ev(e),l=Dv(e);t&&l&&!c&&e.inherit!==!1&&(o===void 0&&(o=t.initial),s===void 0&&(s=t.animate));let u=n?n.initial===!1:!1;u||=o===!1;let d=u?s:o;if(d&&typeof d!=`boolean`&&!Sv(d)){let t=Array.isArray(d)?d:[d];for(let n=0;n<t.length;n++){let r=Gg(e,t[n]);if(r){let{transitionEnd:e,transition:t,...n}=r;for(let e in n){let t=n[e];if(Array.isArray(t)){let e=u?t.length-1:0;t=t[e]}t!==null&&(i[e]=t)}for(let t in e)i[t]=e[t]}}}return i}var qx=e=>(t,n)=>{let r=(0,H.useContext)(jx),i=(0,H.useContext)(zf),a=()=>Gx(e,t,r,i);return n?a():Lf(a)},Jx=qx({scrapeMotionValuesFromProps:_y,createRenderState:Fx}),Yx=qx({scrapeMotionValuesFromProps:Oy,createRenderState:Bx}),Xx=Symbol.for(`motionComponentSymbol`);function Zx(e,t,n){let r=(0,H.useRef)(n);(0,H.useInsertionEffect)(()=>{r.current=n});let i=(0,H.useRef)(null);return(0,H.useCallback)(n=>{n&&e.onMount?.(n),t&&(n?t.mount(n):t.unmount());let a=r.current;if(typeof a==`function`)if(n){let e=a(n);typeof e==`function`&&(i.current=e)}else i.current?(i.current(),i.current=null):a(n);else a&&(a.current=n)},[t])}var Qx=(0,H.createContext)({});function $x(e){return e&&typeof e==`object`&&Object.prototype.hasOwnProperty.call(e,`current`)}function eS(e,t,n,r,i,a){let{visualElement:o}=(0,H.useContext)(jx),s=(0,H.useContext)(bx),c=(0,H.useContext)(zf),l=(0,H.useContext)(vx),u=l.reducedMotion,d=l.skipAnimations,f=(0,H.useRef)(null),p=(0,H.useRef)(!1);r||=s.renderer,!f.current&&r&&(f.current=r(e,{visualState:t,parent:o,props:n,presenceContext:c,blockInitialAnimation:c?c.initial===!1:!1,reducedMotionConfig:u,skipAnimations:d,isSVG:a}),p.current&&f.current&&(f.current.manuallyAnimateOnMount=!0));let m=f.current,h=(0,H.useContext)(Qx);m&&!m.projection&&i&&(m.type===`html`||m.type===`svg`)&&tS(f.current,n,i,h);let g=(0,H.useRef)(!1);(0,H.useInsertionEffect)(()=>{m&&g.current&&m.update(n,c)});let _=n[n_],v=(0,H.useRef)(!!_&&typeof window<`u`&&!window.MotionHandoffIsComplete?.(_)&&window.MotionHasOptimisedAnimation?.(_));return Rf(()=>{p.current=!0,m&&(g.current=!0,window.MotionIsMounted=!0,m.updateFeatures(),m.scheduleRenderMicrotask(),v.current&&m.animationState&&m.animationState.animateChanges())}),(0,H.useEffect)(()=>{m&&(!v.current&&m.animationState&&m.animationState.animateChanges(),v.current&&=(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(_)}),!1),m.enteringChildren=void 0)}),m}function tS(e,t,n,r){let{layoutId:i,layout:a,drag:o,dragConstraints:s,layoutScroll:c,layoutRoot:l,layoutAnchor:u,layoutCrossfade:d}=t;e.projection=new n(e.latestValues,t[`data-framer-portal-id`]?void 0:nS(e.parent)),e.projection.setOptions({layoutId:i,layout:a,alwaysMeasureLayout:!!o||s&&$x(s),visualElement:e,animationType:typeof a==`string`?a:`both`,initialPromotionConfig:r,crossfade:d,layoutScroll:c,layoutRoot:l,layoutAnchor:u})}function nS(e){if(e)return e.options.allowProjection===!1?nS(e.parent):e.projection}function rS(e,{forwardMotionProps:t=!1,type:n}={},r,i){r&&Tx(r);let a=n?n===`svg`:Ux(e),o=a?Yx:Jx;function s(n,s){let c,l={...(0,H.useContext)(vx),...n,layoutId:iS(n)},{isStatic:u}=l,d=Nx(n),f=o(n,u);if(!u&&typeof window<`u`){aS(l,r);let t=oS(l);c=t.MeasureLayout,d.visualElement=eS(e,f,l,i,t.ProjectionNode,a)}return(0,G.jsxs)(jx.Provider,{value:d,children:[c&&d.visualElement?(0,G.jsx)(c,{visualElement:d.visualElement,...l}):null,Wx(e,n,Zx(f,d.visualElement,s),f,u,t,a)]})}s.displayName=`motion.${typeof e==`string`?e:`create(${e.displayName??e.name??``})`}`;let c=(0,H.forwardRef)(s);return c[Xx]=e,c}function iS({layoutId:e}){let t=(0,H.useContext)(If).id;return t&&e!==void 0?t+`-`+e:e}function aS(e,t){(0,H.useContext)(bx).strict}function oS(e){let{drag:t,layout:n}=wx();if(!t&&!n)return{};let r={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}function sS(e,t){if(typeof Proxy>`u`)return rS;let n=new Map,r=(n,r)=>rS(n,r,e,t);return new Proxy((e,t)=>r(e,t),{get:(i,a)=>a===`create`?r:(n.has(a)||n.set(a,rS(a,void 0,e,t)),n.get(a))})}var cS=(e,t)=>t.isSVG??Ux(e)?new ky(t):new yy(t,{allowProjection:e!==H.Fragment}),lS=class extends zv{constructor(e){super(e),e.animationState||=Iy(e)}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();Sv(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}},uS=0,dS={animation:{Feature:lS},exit:{Feature:class extends zv{constructor(){super(...arguments),this.id=uS++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;if(e&&n===!1){if(this.isExitComplete){let{initial:e,custom:t}=this.node.getProps();if(typeof e==`string`||typeof e==`object`&&e&&!Array.isArray(e)){let n=Kg(this.node,e,t);if(n){let{transition:e,transitionEnd:t,...r}=n;for(let e in r)this.node.getValue(e)?.jump(r[e])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive(`exit`,!1);this.isExitComplete=!1;return}let r=this.node.animationState.setActive(`exit`,!e);t&&!e&&r.then(()=>{this.isExitComplete=!0,t(this.id)})}mount(){let{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}}};function fS(e){return{point:{x:e.pageX,y:e.pageY}}}var pS=e=>t=>B_(t)&&e(t,fS(t));function mS(e,t,n,r){return kb(e,t,pS(n),r)}var hS=({current:e})=>e?e.ownerDocument.defaultView:null,gS=(e,t)=>Math.abs(e-t);function _S(e,t){let n=gS(e.x,t.x),r=gS(e.y,t.y);return Math.sqrt(n**2+r**2)}var vS=new Set([`auto`,`scroll`]),yS=class{constructor(e,t,{transformPagePoint:n,contextWindow:r=window,dragSnapToOrigin:i=!1,distanceThreshold:a=3,element:o}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=e=>{this.handleScroll(e.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=bS(this.lastRawMoveEventInfo,this.transformPagePoint));let e=SS(this.lastMoveEventInfo,this.history),t=this.startEvent!==null,n=_S(e.offset,{x:0,y:0})>=this.distanceThreshold;if(!t&&!n)return;let{point:r}=e,{timestamp:i}=Ap;this.history.push({...r,timestamp:i});let{onStart:a,onMove:o}=this.handlers;t||(a&&a(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),o&&o(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastRawMoveEventInfo=t,this.lastMoveEventInfo=bS(t,this.transformPagePoint),J.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:n,onSessionEnd:r,resumeAnimation:i}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&i&&i(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let a=SS(e.type===`pointercancel`?this.lastMoveEventInfo:bS(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,a),r&&r(e,a)},!B_(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=n,this.distanceThreshold=a,this.contextWindow=r||window;let s=bS(fS(e),this.transformPagePoint),{point:c}=s,{timestamp:l}=Ap;this.history=[{...c,timestamp:l}];let{onSessionStart:u}=t;u&&u(e,SS(s,this.history)),this.removeListeners=Xf(mS(this.contextWindow,`pointermove`,this.handlePointerMove),mS(this.contextWindow,`pointerup`,this.handlePointerUp),mS(this.contextWindow,`pointercancel`,this.handlePointerUp)),o&&this.startScrollTracking(o)}startScrollTracking(e){let t=e.parentElement;for(;t;){let e=getComputedStyle(t);(vS.has(e.overflowX)||vS.has(e.overflowY))&&this.scrollPositions.set(t,{x:t.scrollLeft,y:t.scrollTop}),t=t.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener(`scroll`,this.onElementScroll,{capture:!0}),window.addEventListener(`scroll`,this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener(`scroll`,this.onElementScroll,{capture:!0}),window.removeEventListener(`scroll`,this.onWindowScroll)}}handleScroll(e){let t=this.scrollPositions.get(e);if(!t)return;let n=e===window,r=n?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop},i={x:r.x-t.x,y:r.y-t.y};i.x===0&&i.y===0||(n?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=i.x,this.lastMoveEventInfo.point.y+=i.y):this.history.length>0&&(this.history[0].x-=i.x,this.history[0].y-=i.y),this.scrollPositions.set(e,r),J.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),kp(this.updatePoint)}};function bS(e,t){return t?{point:t(e.point)}:e}function xS(e,t){return{x:e.x-t.x,y:e.y-t.y}}function SS({point:e},t){return{point:e,delta:xS(e,wS(t)),offset:xS(e,CS(t)),velocity:TS(t,.1)}}function CS(e){return e[0]}function wS(e){return e[e.length-1]}function TS(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null,i=wS(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>$f(t)));)n--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&i.timestamp-r.timestamp>$f(t)*2&&(r=e[1]);let a=ep(i.timestamp-r.timestamp);if(a===0)return{x:0,y:0};let o={x:(i.x-r.x)/a,y:(i.y-r.y)/a};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function ES(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?X(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?X(n,e,r.max):Math.min(e,n)),e}function DS(e,t,n){return{min:t===void 0?void 0:e.min+t,max:n===void 0?void 0:e.max+n-(e.max-e.min)}}function OS(e,{top:t,left:n,bottom:r,right:i}){return{x:DS(e.x,n,i),y:DS(e.y,t,r)}}function kS(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function AS(e,t){return{x:kS(e.x,t.x),y:kS(e.y,t.y)}}function jS(e,t){let n=.5,r=Yy(e),i=Yy(t);return i>r?n=Zf(t.min,t.max-r,e.min):r>i&&(n=Zf(e.min,e.max-i,t.min)),Uf(0,1,n)}function MS(e,t){let n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}var NS=.35;function PS(e=NS){return e===!1?e=0:e===!0&&(e=NS),{x:FS(e,`left`,`right`),y:FS(e,`top`,`bottom`)}}function FS(e,t,n){return{min:IS(e,t),max:IS(e,n)}}function IS(e,t){return typeof e==`number`?e:e[t]||0}var LS=new WeakMap,RS=class{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=bv(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:t=!1,distanceThreshold:n}={}){let{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;let i=e=>{t&&this.snapToCursor(fS(e).point),this.stopAnimation()},a=(e,t)=>{let{drag:n,dragPropagation:r,onDragStart:i}=this.getProps();if(n&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock=F_(n),!this.openDragLock))return;this.latestPointerEvent=e,this.latestPanInfo=t,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),_b(e=>{let t=this.getAxisMotionValue(e).get()||0;if(im.test(t)){let{projection:n}=this.visualElement;if(n&&n.layout){let r=n.layout.layoutBox[e];r&&(t=Yy(r)*(parseFloat(t)/100))}}this.originPoint[e]=t}),i&&J.update(()=>i(e,t),!1,!0),e_(this.visualElement,`transform`);let{animationState:a}=this.visualElement;a&&a.setActive(`whileDrag`,!0)},o=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t;let{dragPropagation:n,dragDirectionLock:r,onDirectionLock:i,onDrag:a}=this.getProps();if(!n&&!this.openDragLock)return;let{offset:o}=t;if(r&&this.currentDirection===null){this.currentDirection=HS(o),this.currentDirection!==null&&i&&i(this.currentDirection);return}this.updateAxis(`x`,t.point,o),this.updateAxis(`y`,t.point,o),this.visualElement.render(),a&&J.update(()=>a(e,t),!1,!0)},s=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t,this.stop(e,t),this.latestPointerEvent=null,this.latestPanInfo=null},c=()=>{let{dragSnapToOrigin:e}=this.getProps();(e||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:l}=this.getProps();this.panSession=new yS(e,{onSessionStart:i,onStart:a,onMove:o,onSessionEnd:s,resumeAnimation:c},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,distanceThreshold:n,contextWindow:hS(this.visualElement),element:this.visualElement.current})}stop(e,t){let n=e||this.latestPointerEvent,r=t||this.latestPanInfo,i=this.isDragging;if(this.cancel(),!i||!r||!n)return;let{velocity:a}=r;this.startAnimation(a);let{onDragEnd:o}=this.getProps();o&&J.postRender(()=>o(n,r))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive(`whileDrag`,!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(e,t,n){let{drag:r}=this.getProps();if(!n||!VS(e,r,this.currentDirection))return;let i=this.getAxisMotionValue(e),a=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(a=ES(a,this.constraints[e],this.elastic[e])),i.set(a)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,r=this.constraints;e&&$x(e)?this.constraints||=this.resolveRefConstraints():e&&n?this.constraints=OS(n.layoutBox,e):this.constraints=!1,this.elastic=PS(t),r!==this.constraints&&!$x(e)&&n&&this.constraints&&!this.hasMutatedConstraints&&_b(e=>{this.constraints!==!1&&this.getAxisMotionValue(e)&&(this.constraints[e]=MS(n.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){let{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!$x(e))return!1;let n=e.current,{projection:r}=this.visualElement;if(!r||!r.layout)return!1;r.root&&(r.root.scroll=void 0,r.root.updateScroll());let i=oy(n,r.root,this.visualElement.getTransformPagePoint()),a=AS(r.layout.layoutBox,i);if(t){let e=t(Vv(a));this.hasMutatedConstraints=!!e,e&&(a=Bv(e))}return a}startAnimation(e){let{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:a,onDragTransitionEnd:o}=this.getProps(),s=this.constraints||{},c=_b(o=>{if(!VS(o,t,this.currentDirection))return;let c=s&&s[o]||{};(a===!0||a===o)&&(c={min:0,max:0});let l=r?200:1e6,u=r?40:1e7,d={type:`inertia`,velocity:n?e[o]:0,bounceStiffness:l,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...i,...c};return this.startAxisValueAnimation(o,d)});return Promise.all(c).then(o)}startAxisValueAnimation(e,t){let n=this.getAxisMotionValue(e);return e_(this.visualElement,e),n.start(Bg(e,n,0,t,this.visualElement,!1))}stopAnimation(){_b(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`;return this.visualElement.getProps()[t]||this.visualElement.getValue(e,this.visualElement.latestValues[e]??0)}snapToCursor(e){_b(t=>{let{drag:n}=this.getProps();if(!VS(t,n,this.currentDirection))return;let{projection:r}=this.visualElement,i=this.getAxisMotionValue(t);if(r&&r.layout){let{min:n,max:a}=r.layout.layoutBox[t],o=i.get()||0;i.set(e[t]-X(n,a,.5)+o)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!$x(t)||!n||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};_b(e=>{let t=this.getAxisMotionValue(e);if(t&&this.constraints!==!1){let n=t.get();r[e]=jS({min:n,max:n},this.constraints[e])}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},``):`none`,n.root&&n.root.updateScroll(),n.updateLayout(),this.constraints=!1,this.resolveConstraints(),_b(t=>{if(!VS(t,e,null))return;let n=this.getAxisMotionValue(t),{min:i,max:a}=this.constraints[t];n.set(X(i,a,r[t]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;LS.set(this.visualElement,this);let e=this.visualElement.current,t=mS(e,`pointerdown`,t=>{let{drag:n,dragListener:r=!0}=this.getProps(),i=t.target,a=i!==e&&W_(i);n&&r&&!a&&this.start(t)}),n,r=()=>{let{dragConstraints:t}=this.getProps();$x(t)&&t.current&&(this.constraints=this.resolveRefConstraints(),n||=BS(e,t.current,()=>this.scalePositionWithinConstraints()))},{projection:i}=this.visualElement,a=i.addEventListener(`measure`,r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),J.read(r);let o=kb(window,`resize`,()=>this.scalePositionWithinConstraints()),s=i.addEventListener(`didUpdate`,(({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(_b(t=>{let n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())}));return()=>{o(),t(),a(),s&&s(),n&&n()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:a=NS,dragMomentum:o=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:a,dragMomentum:o}}};function zS(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function BS(e,t,n){let r=fv(e,zS(n)),i=fv(t,zS(n));return()=>{r(),i()}}function VS(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function HS(e,t=10){let n=null;return Math.abs(e.y)>t?n=`y`:Math.abs(e.x)>t&&(n=`x`),n}var US=class extends zv{constructor(e){super(e),this.removeGroupControls=Yf,this.removeListeners=Yf,this.controls=new RS(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Yf}update(){let{dragControls:e}=this.node.getProps(),{dragControls:t}=this.node.prevProps||{};e!==t&&(this.removeGroupControls(),e&&(this.removeGroupControls=e.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}},WS=e=>(t,n)=>{e&&J.update(()=>e(t,n),!1,!0)},GS=class extends zv{constructor(){super(...arguments),this.removePointerDownListener=Yf}onPointerDown(e){this.session=new yS(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:hS(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:WS(e),onStart:WS(t),onMove:WS(n),onEnd:(e,t)=>{delete this.session,r&&J.postRender(()=>r(e,t))}}}mount(){this.removePointerDownListener=mS(this.node.current,`pointerdown`,e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}},KS=!1,qS=class extends H.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=e;i&&(t.group&&t.group.add(i),n&&n.register&&r&&n.register(i),KS&&i.root.didUpdate(),i.addEventListener(`animationComplete`,()=>{this.safeToRemove()}),i.setOptions({...i.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),Fb.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:n,drag:r,isPresent:i}=this.props,{projection:a}=n;return a?(a.isPresent=i,e.layoutDependency!==t&&a.setOptions({...a.options,layoutDependency:t}),KS=!0,r||e.layoutDependency!==t||t===void 0||e.isPresent!==i?a.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?a.promote():a.relegate()||J.postRender(()=>{let e=a.getStack();(!e||!e.members.length)&&this.safeToRemove()})),null):null}componentDidUpdate(){let{visualElement:e,layoutAnchor:t}=this.props,{projection:n}=e;n&&(n.options.layoutAnchor=t,n.root.didUpdate(),j_.postRender(()=>{!n.currentAnimation&&n.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;KS=!0,r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}};function JS(e){let[t,n]=yx(),r=(0,H.useContext)(If);return(0,G.jsx)(qS,{...e,layoutGroup:r,switchLayoutGroup:(0,H.useContext)(Qx),isPresent:t,safeToRemove:n})}var YS={pan:{Feature:GS},drag:{Feature:US,ProjectionNode:_x,MeasureLayout:JS}};function XS(e,t,n){let{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive(`whileHover`,n===`Start`);let i=r[`onHover`+n];i&&J.postRender(()=>i(t,fS(t)))}var ZS=class extends zv{mount(){let{current:e}=this.node;e&&(this.unmount=R_(e,(e,t)=>(XS(this.node,t,`Start`),e=>XS(this.node,e,`End`))))}unmount(){}},QS=class extends zv{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(`:focus-visible`)}catch{e=!0}!e||!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=Xf(kb(this.node.current,`focus`,()=>this.onFocus()),kb(this.node.current,`blur`,()=>this.onBlur()))}unmount(){}};function $S(e,t,n){let{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive(`whileTap`,n===`Start`);let i=r[`onTap`+(n===`End`?``:n)];i&&J.postRender(()=>i(t,fS(t)))}var eC=class extends zv{mount(){let{current:e}=this.node;if(!e)return;let{globalTapTarget:t,propagate:n}=this.node.props;this.unmount=Z_(e,(e,t)=>($S(this.node,t,`Start`),(e,{success:t})=>$S(this.node,e,t?`End`:`Cancel`)),{useGlobalTarget:t,stopPropagation:n?.tap===!1})}unmount(){}},tC=new WeakMap,nC=new WeakMap,rC=e=>{let t=tC.get(e.target);t&&t(e)},iC=e=>{e.forEach(rC)};function aC({root:e,...t}){let n=e||document;nC.has(n)||nC.set(n,{});let r=nC.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(iC,{root:e,...t})),r[i]}function oC(e,t,n){let r=aC(t);return tC.set(e,n),r.observe(e),()=>{tC.delete(e),r.unobserve(e)}}var sC={some:0,all:1},cC=class extends zv{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();let{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r=`some`,once:i}=e,a={root:t?t.current:void 0,rootMargin:n,threshold:typeof r==`number`?r:sC[r]};this.stopObserver=oC(this.node.current,a,e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,i&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive(`whileInView`,t);let{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),a=t?n:r;a&&a(e)})}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>`u`)return;let{props:e,prevProps:t}=this.node;[`amount`,`margin`,`root`].some(lC(e,t))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}};function lC({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}var uC={inView:{Feature:cC},tap:{Feature:eC},focus:{Feature:QS},hover:{Feature:ZS}},dC={layout:{ProjectionNode:_x,MeasureLayout:JS}},fC=sS({...dS,...uC,...YS,...dC},cS);function pC(e){let t=Lf(()=>Ag(e)),{isStatic:n}=(0,H.useContext)(vx);if(n){let[,n]=(0,H.useState)(e);(0,H.useEffect)(()=>t.on(`change`,n),[])}return t}function mC(e,t){let n=pC(t()),r=()=>n.set(t());return r(),Rf(()=>{let t=()=>J.preRender(r,!1,!0),n=e.map(e=>e.on(`change`,t));return()=>{n.forEach(e=>e()),kp(r)}}),n}function hC(e){Og.current=[],e();let t=mC(Og.current,e);return Og.current=void 0,t}function gC(e,t,n,r){if(typeof e==`function`)return hC(e);if(n!==void 0&&!Array.isArray(n)&&typeof t!=`function`)return vC(e,t,n,r);let i=typeof t==`function`?t:mv(t,n,r),a=Array.isArray(e)?_C(e,i):_C([e],([e])=>i(e)),o=Array.isArray(e)?void 0:e.accelerate;return o&&!o.isTransformed&&typeof t!=`function`&&Array.isArray(n)&&r?.clamp!==!1&&(a.accelerate={...o,times:t,keyframes:n,isTransformed:!0,...r?.ease?{ease:r.ease}:{}}),a}function _C(e,t){let n=Lf(()=>[]);return mC(e,()=>{n.length=0;let r=e.length;for(let t=0;t<r;t++)n[t]=e[t].get();return t(n)})}function vC(e,t,n,r){let i=Lf(()=>Object.keys(n)),a=Lf(()=>({}));for(let o of i)a[o]=gC(e,t,n[o],r);return a}var yC=(0,H.createContext)(null);function bC(e,t,n,r){if(!r)return e;let i=e.findIndex(e=>e.value===t);if(i===-1)return e;let a=r>0?1:-1,o=e[i+a];if(!o)return e;let s=e[i],c=o.layout,l=X(c.min,c.max,.5);return a===1&&s.layout.max+n>l||a===-1&&s.layout.min+n<l?Hf(e,i,i+a):e}function xC({children:e,as:t=`ul`,axis:n=`y`,onReorder:r,values:i,...a},o){let s=Lf(()=>fC[t]),c=[],l=(0,H.useRef)(!1),u=(0,H.useRef)(null),d={axis:n,groupRef:u,registerItem:(e,t)=>{let r=c.findIndex(t=>e===t.value);r===-1?c.push({value:e,layout:t[n]}):c[r].layout=t[n],c.sort(CC)},updateOrder:(e,t,n)=>{if(l.current)return;let a=bC(c,e,t,n);if(c!==a){l.current=!0;let e=[...i];for(let t=0;t<a.length;t++)if(c[t].value!==a[t].value){let n=i.indexOf(c[t].value),r=i.indexOf(a[t].value);n!==-1&&r!==-1&&([e[n],e[r]]=[e[r],e[n]]);break}r(e)}}};(0,H.useEffect)(()=>{l.current=!1});let f=e=>{u.current=e,typeof o==`function`?o(e):o&&(o.current=e)},p={overflowAnchor:`none`,...a.style};return(0,G.jsx)(s,{...a,style:p,ref:f,ignoreStrict:!0,children:(0,G.jsx)(yC.Provider,{value:d,children:e})})}var SC=(0,H.forwardRef)(xC);function CC(e,t){return e.layout.min-t.layout.min}var wC=50,TC=25,EC=new Set([`auto`,`scroll`]),DC=new WeakMap,OC=new WeakMap,kC=null;function AC(){if(kC){let e=MC(kC,`y`);e&&(OC.delete(e),DC.delete(e));let t=MC(kC,`x`);t&&t!==e&&(OC.delete(t),DC.delete(t)),kC=null}}function jC(e,t){let n=getComputedStyle(e),r=t===`x`?n.overflowX:n.overflowY,i=e===document.body||e===document.documentElement;return EC.has(r)||i}function MC(e,t){let n=e?.parentElement;for(;n;){if(jC(n,t))return n;n=n.parentElement}return null}function NC(e,t,n){let r=t.getBoundingClientRect(),i=n===`x`?Math.max(0,r.left):Math.max(0,r.top),a=n===`x`?Math.min(window.innerWidth,r.right):Math.min(window.innerHeight,r.bottom),o=e-i,s=a-e;if(o<wC){let e=1-o/wC;return{amount:-TC*e*e,edge:`start`}}else if(s<wC){let e=1-s/wC;return{amount:TC*e*e,edge:`end`}}return{amount:0,edge:null}}function PC(e,t,n,r){if(!e)return;kC=e;let i=MC(e,n);if(!i)return;let{amount:a,edge:o}=NC(t-(n===`x`?window.scrollX:window.scrollY),i,n);if(o===null){OC.delete(i),DC.delete(i);return}let s=OC.get(i),c=i===document.body||i===document.documentElement;if(s!==o){if(!(o===`start`&&r<0||o===`end`&&r>0))return;OC.set(i,o);let e=n===`x`?i.scrollWidth-(c?window.innerWidth:i.clientWidth):i.scrollHeight-(c?window.innerHeight:i.clientHeight);DC.set(i,e)}if(a>0){let e=DC.get(i);if((n===`x`?c?window.scrollX:i.scrollLeft:c?window.scrollY:i.scrollTop)>=e)return}n===`x`?c?window.scrollBy({left:a}):i.scrollLeft+=a:c?window.scrollBy({top:a}):i.scrollTop+=a}function FC(e,t=0){return Qg(e)?e:pC(t)}function IC({children:e,style:t={},value:n,as:r=`li`,onDrag:i,onDragEnd:a,layout:o=!0,...s},c){let l=Lf(()=>fC[r]),u=(0,H.useContext)(yC),d={x:FC(t.x),y:FC(t.y)},f=gC([d.x,d.y],([e,t])=>e||t?1:`unset`),{axis:p,registerItem:m,updateOrder:h,groupRef:g}=u;return(0,G.jsx)(l,{drag:p,...s,dragSnapToOrigin:!0,style:{...t,x:d.x,y:d.y,zIndex:f},layout:o,onDrag:(e,t)=>{let{velocity:r,point:a}=t;h(n,d[p].get(),r[p]),PC(g.current,a[p],p,r[p]),i&&i(e,t)},onDragEnd:(e,t)=>{AC(),a&&a(e,t)},onLayoutMeasure:e=>{m(n,e)},ref:c,ignoreStrict:!0,children:e})}var LC=(0,H.forwardRef)(IC),RC=(0,H.forwardRef)((e,t)=>{let n=(0,U.c)(16),r,i,a,o,s;n[0]===e?(r=n[1],i=n[2],a=n[3],o=n[4],s=n[5]):({isActive:a,value:s,children:r,className:i,...o}=e,n[0]=e,n[1]=r,n[2]=i,n[3]=a,n[4]=o,n[5]=s);let c=a&&`graphiql-tab-active`,l;n[6]!==i||n[7]!==c?(l=q(`graphiql-tab`,c,i),n[6]=i,n[7]=c,n[8]=l):l=n[8];let u;return n[9]!==r||n[10]!==a||n[11]!==o||n[12]!==t||n[13]!==l||n[14]!==s?(u=(0,G.jsx)(LC,{...o,ref:t,value:s,"aria-selected":a,role:`tab`,className:l,children:r}),n[9]=r,n[10]=a,n[11]=o,n[12]=t,n[13]=l,n[14]=s,n[15]=u):u=n[15],u});RC.displayName=`Tab`;var zC=(0,H.forwardRef)((e,t)=>{let n=(0,U.c)(11),r,i,a;n[0]===e?(r=n[1],i=n[2],a=n[3]):({children:r,className:i,...a}=e,n[0]=e,n[1]=r,n[2]=i,n[3]=a);let o;n[4]===i?o=n[5]:(o=q(`graphiql-tab-button`,i),n[4]=i,n[5]=o);let s;return n[6]!==r||n[7]!==a||n[8]!==t||n[9]!==o?(s=(0,G.jsx)(Sl,{...a,ref:t,type:`button`,className:o,children:r}),n[6]=r,n[7]=a,n[8]=t,n[9]=o,n[10]=s):s=n[10],s});zC.displayName=`Tab.Button`;var BC=(0,H.forwardRef)((e,t)=>{let n=(0,U.c)(7),r;n[0]===e.className?r=n[1]:(r=q(`graphiql-tab-close`,e.className),n[0]=e.className,n[1]=r);let i;n[2]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,G.jsx)(Nc,{}),n[2]=i):i=n[2];let a;return n[3]!==e||n[4]!==t||n[5]!==r?(a=(0,G.jsx)(Sl,{"aria-label":`Close Tab`,...e,ref:t,type:`button`,className:r,children:i}),n[3]=e,n[4]=t,n[5]=r,n[6]=a):a=n[6],a});BC.displayName=`Tab.Close`;var VC=Object.assign(RC,{Button:zC,Close:BC}),HC=(0,H.forwardRef)((e,t)=>{let n=(0,U.c)(15),r,i,a,o,s;n[0]===e?(r=n[1],i=n[2],a=n[3],o=n[4],s=n[5]):({values:s,onReorder:a,children:r,className:i,...o}=e,n[0]=e,n[1]=r,n[2]=i,n[3]=a,n[4]=o,n[5]=s);let c;n[6]===i?c=n[7]:(c=q(`graphiql-tabs`,i),n[6]=i,n[7]=c);let l;return n[8]!==r||n[9]!==a||n[10]!==o||n[11]!==t||n[12]!==c||n[13]!==s?(l=(0,G.jsx)(SC,{...o,ref:t,values:s,onReorder:a,axis:`x`,role:`tablist`,className:c,children:r}),n[8]=r,n[9]=a,n[10]=o,n[11]=t,n[12]=c,n[13]=s,n[14]=l):l=n[14],l});HC.displayName=`Tabs`;var UC=Object.assign(e=>{let t=(0,U.c)(10),{children:n,align:r,side:i,sideOffset:a,label:o}=e,s=r===void 0?`start`:r,c=i===void 0?`bottom`:i,l=a===void 0?5:a,u;t[0]===n?u=t[1]:(u=(0,G.jsx)(Le,{asChild:!0,children:n}),t[0]=n,t[1]=u);let d;t[2]!==s||t[3]!==o||t[4]!==c||t[5]!==l?(d=(0,G.jsx)(We,{children:(0,G.jsx)(ze,{className:`graphiql-tooltip`,align:s,side:c,sideOffset:l,children:o})}),t[2]=s,t[3]=o,t[4]=c,t[5]=l,t[6]=d):d=t[6];let f;return t[7]!==u||t[8]!==d?(f=(0,G.jsxs)(Ue,{children:[u,d]}),t[7]=u,t[8]=d,t[9]=f):f=t[9],f},{Provider:Fe}),WC=(0,H.forwardRef)((e,t)=>{let n=(0,U.c)(19),r,i,a;n[0]===e?(r=n[1],i=n[2],a=n[3]):({label:r,onClick:i,...a}=e,n[0]=e,n[1]=r,n[2]=i,n[3]=a);let[o,s]=(0,H.useState)(null),c;n[4]===i?c=n[5]:(c=e=>{try{i&&i(e),s(null)}catch(e){let t=e;s(t instanceof Error?t:Error(`Toolbar button click failed: ${t}`))}},n[4]=i,n[5]=c);let l=c,u=o&&`error`,d;n[6]!==a.className||n[7]!==u?(d=q(`graphiql-toolbar-button`,u,a.className),n[6]=a.className,n[7]=u,n[8]=d):d=n[8];let f=o?o.message:r,p=o?`true`:a[`aria-invalid`],m;n[9]!==l||n[10]!==a||n[11]!==t||n[12]!==d||n[13]!==f||n[14]!==p?(m=(0,G.jsx)(Sl,{...a,ref:t,type:`button`,className:d,onClick:l,"aria-label":f,"aria-invalid":p}),n[9]=l,n[10]=a,n[11]=t,n[12]=d,n[13]=f,n[14]=p,n[15]=m):m=n[15];let h;return n[16]!==r||n[17]!==m?(h=(0,G.jsx)(UC,{label:r,children:m}),n[16]=r,n[17]=m,n[18]=h):h=n[18],h});WC.displayName=`ToolbarButton`;var GC=()=>{let e=(0,U.c)(19),t;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t={nonNull:!0,caller:GC},e[0]=t):t=e[0];let{queryEditor:n,setOperationName:r}=Ls(t),i;e[1]===Symbol.for(`react.memo_cache_sentinel`)?(i={nonNull:!0,caller:GC},e[1]=i):i=e[1];let{isFetching:a,isSubscribed:o,operationName:s,run:c,stop:l}=Ws(i),u;e[2]===n?.operations?u=e[3]:(u=n?.operations||[],e[2]=n?.operations,e[3]=u);let d=u,f=d.length>1&&typeof s!=`string`,p=a||o,m=`${p?`Stop`:`Execute`} query (Ctrl-Enter)`,h;e[4]===p?h=e[5]:(h=p?(0,G.jsx)(rl,{}):(0,G.jsx)(Yc,{}),e[4]=p,e[5]=h);let g;e[6]!==m||e[7]!==h?(g={type:`button`,className:`graphiql-execute-button`,children:h,"aria-label":m},e[6]=m,e[7]=h,e[8]=g):g=e[8];let _=g,v;return e[9]!==_||e[10]!==f||e[11]!==p||e[12]!==m||e[13]!==d||e[14]!==n||e[15]!==c||e[16]!==r||e[17]!==l?(v=f&&!p?(0,G.jsxs)(Nf,{children:[(0,G.jsx)(UC,{label:m,children:(0,G.jsx)(Nf.Button,{..._})}),(0,G.jsx)(Nf.Content,{children:d.map((e,t)=>{let i=e.name?e.name.value:`<Unnamed ${e.operation}>`;return(0,G.jsx)(Nf.Item,{onSelect:()=>{let t=e.name?.value;n&&t&&t!==n.operationName&&r(t),c()},children:i},`${i}-${t}`)})})]}):(0,G.jsx)(UC,{label:m,children:(0,G.jsx)(`button`,{..._,onClick:()=>{p?l():c()}})}),e[9]=_,e[10]=f,e[11]=p,e[12]=m,e[13]=d,e[14]=n,e[15]=c,e[16]=r,e[17]=l,e[18]=v):v=e[18],v},KC=Rt((e,t)=>({historyStorage:null,actions:{addToHistory(n){let{historyStorage:r}=t();r.updateHistory(n),e({})},editLabel(n,r){let{historyStorage:i}=t();i.editLabel(n,r),e({})},toggleFavorite(n){let{historyStorage:r}=t();r.toggleFavorite(n),e({})},setActive:e=>e,deleteFromHistory(n,r){let{historyStorage:i}=t();i.deleteHistory(n,r),e({})}}})),qC=e=>{let t=(0,U.c)(12),{maxHistoryLength:n,children:r}=e,i=n===void 0?20:n,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(a={nonNull:!0},t[0]=a):a=t[0];let{isFetching:o}=Ws(a),s;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(s={nonNull:!0},t[1]=s):s=t[1];let{tabs:c,activeTabIndex:l}=Ls(s),u=c[l],d=Gt(),f;t[2]!==i||t[3]!==d?(f=new kt(d,i),t[2]=i,t[3]=d,t[4]=f):f=t[4];let p=f,m,h;t[5]===p?(m=t[6],h=t[7]):(m=()=>{KC.setState({historyStorage:p})},h=[p],t[5]=p,t[6]=m,t[7]=h),(0,H.useEffect)(m,h);let g,_;return t[8]!==u||t[9]!==o?(g=()=>{if(!o)return;let{addToHistory:e}=KC.getState().actions;e({query:u.query??void 0,variables:u.variables??void 0,headers:u.headers??void 0,operationName:u.operationName??void 0})},_=[o,u],t[8]=u,t[9]=o,t[10]=g,t[11]=_):(g=t[10],_=t[11]),(0,H.useEffect)(g,_),r},JC=Vt(KC),YC=()=>JC(ZC),XC=()=>JC(QC);function ZC(e){return e.historyStorage.queries}function QC(e){return e.actions}function $C(e,t){for(let n of e)t(n,!0)}var ew=()=>{let e=(0,U.c)(13),t=YC(),{deleteFromHistory:n}=XC(),r;r=t.slice().map(rw).reverse();let i=r.filter(iw);i.length&&(r=r.filter(aw));let[a,o]=(0,H.useState)(null),s,c;e[0]===a?(s=e[1],c=e[2]):(s=()=>{a&&setTimeout(()=>{o(null)},2e3)},c=[a],e[0]=a,e[1]=s,e[2]=c),(0,H.useEffect)(s,c);let l=()=>{try{$C(r,n),o(`success`)}catch{o(`error`)}},u=!!i.length,d=!!r.length,f=(a||d)&&(0,G.jsx)(Cl,{type:`button`,state:a||void 0,disabled:!r.length,onClick:l,children:{success:`Cleared`,error:`Failed to Clear`}[a]||`Clear`}),p;e[3]===f?p=e[4]:(p=(0,G.jsxs)(`div`,{className:`graphiql-history-header`,children:[`History`,f]}),e[3]=f,e[4]=p);let m=u&&(0,G.jsx)(`ul`,{className:`graphiql-history-items`,children:i.map(ow)}),h;e[5]!==u||e[6]!==d?(h=u&&d&&(0,G.jsx)(`div`,{className:`graphiql-history-item-spacer`}),e[5]=u,e[6]=d,e[7]=h):h=e[7];let g=d&&(0,G.jsx)(`ul`,{className:`graphiql-history-items`,children:r.map(sw)}),_;return e[8]!==p||e[9]!==m||e[10]!==h||e[11]!==g?(_=(0,G.jsxs)(`section`,{"aria-label":`History`,className:`graphiql-history`,children:[p,m,h,g]}),e[8]=p,e[9]=m,e[10]=h,e[11]=g,e[12]=_):_=e[12],_},tw=e=>{let t=(0,U.c)(39),{editLabel:n,toggleFavorite:r,deleteFromHistory:i,setActive:a}=XC(),o;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(o={nonNull:!0,caller:tw},t[0]=o):o=t[0];let{headerEditor:s,queryEditor:c,variableEditor:l}=Ls(o),u=(0,H.useRef)(null),d=(0,H.useRef)(null),[f,p]=(0,H.useState)(!1),m,h;t[1]===f?(m=t[2],h=t[3]):(m=()=>{var e;f&&((e=u.current)==null||e.focus())},h=[f],t[1]=f,t[2]=m,t[3]=h),(0,H.useEffect)(m,h);let g;t[4]!==e.item.label||t[5]!==e.item.operationName||t[6]!==e.item.query?(g=e.item.label||e.item.operationName||nw(e.item.query),t[4]=e.item.label,t[5]=e.item.operationName,t[6]=e.item.query,t[7]=g):g=t[7];let _=g,v;t[8]!==n||t[9]!==e.item?(v=()=>{p(!1);let{index:t,...r}=e.item;n({...r,label:u.current?.value},t)},t[8]=n,t[9]=e.item,t[10]=v):v=t[10];let y=v,b;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(b=()=>{p(!1)},t[11]=b):b=t[11];let x=b,S;t[12]===Symbol.for(`react.memo_cache_sentinel`)?(S=e=>{e.stopPropagation(),p(!0)},t[12]=S):S=t[12];let C=S,w;t[13]!==s||t[14]!==e.item||t[15]!==c||t[16]!==a||t[17]!==l?(w=()=>{let{query:t,variables:n,headers:r}=e.item;c?.setValue(t??``),l?.setValue(n??``),s?.setValue(r??``),a(e.item)},t[13]=s,t[14]=e.item,t[15]=c,t[16]=a,t[17]=l,t[18]=w):w=t[18];let T=w,E;t[19]!==i||t[20]!==e.item?(E=t=>{t.stopPropagation(),i(e.item)},t[19]=i,t[20]=e.item,t[21]=E):E=t[21];let D=E,O;t[22]!==e.item||t[23]!==r?(O=t=>{t.stopPropagation(),r(e.item)},t[22]=e.item,t[23]=r,t[24]=O):O=t[24];let k=O,A=f&&`editable`,j;t[25]===A?j=t[26]:(j=q(`graphiql-history-item`,A),t[25]=A,t[26]=j);let M;t[27]!==_||t[28]!==n||t[29]!==D||t[30]!==T||t[31]!==y||t[32]!==k||t[33]!==f||t[34]!==e.item?(M=f?(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(`input`,{type:`text`,defaultValue:e.item.label,ref:u,onKeyDown:t=>{t.key===`Esc`?p(!1):t.key===`Enter`&&(p(!1),n({...e.item,label:t.currentTarget.value}))},placeholder:`Type a label`}),(0,G.jsx)(Sl,{type:`button`,ref:d,onClick:y,children:`Save`}),(0,G.jsx)(Sl,{type:`button`,ref:d,onClick:x,children:(0,G.jsx)(Nc,{})})]}):(0,G.jsxs)(G.Fragment,{children:[(0,G.jsx)(UC,{label:`Set active`,children:(0,G.jsx)(Sl,{type:`button`,className:`graphiql-history-item-label`,onClick:T,"aria-label":`Set active`,children:_})}),(0,G.jsx)(UC,{label:`Edit label`,children:(0,G.jsx)(Sl,{type:`button`,className:`graphiql-history-item-action`,onClick:C,"aria-label":`Edit label`,children:(0,G.jsx)(Jc,{"aria-hidden":`true`})})}),(0,G.jsx)(UC,{label:e.item.favorite?`Remove favorite`:`Add favorite`,children:(0,G.jsx)(Sl,{type:`button`,className:`graphiql-history-item-action`,onClick:k,"aria-label":e.item.favorite?`Remove favorite`:`Add favorite`,children:e.item.favorite?(0,G.jsx)(tl,{"aria-hidden":`true`}):(0,G.jsx)(nl,{"aria-hidden":`true`})})}),(0,G.jsx)(UC,{label:`Delete from history`,children:(0,G.jsx)(Sl,{type:`button`,className:`graphiql-history-item-action`,onClick:D,"aria-label":`Delete from history`,children:(0,G.jsx)(il,{"aria-hidden":`true`})})})]}),t[27]=_,t[28]=n,t[29]=D,t[30]=T,t[31]=y,t[32]=k,t[33]=f,t[34]=e.item,t[35]=M):M=t[35];let N;return t[36]!==j||t[37]!==M?(N=(0,G.jsx)(`li`,{className:j,children:M}),t[36]=j,t[37]=M,t[38]=N):N=t[38],N};function nw(e){return e?.split(`
|
|
51
51
|
`).map(e=>e.replace(/#(.*)/,``)).join(` `).replaceAll(`{`,` { `).replaceAll(`}`,` } `).replaceAll(/[\s]{2,}/g,` `)}function rw(e,t){return{...e,index:t}}function iw(e){return e.favorite}function aw(e){return!e.favorite}function ow(e){return(0,G.jsx)(tw,{item:e},e.index)}function sw(e){return(0,G.jsx)(tw,{item:e},e.index)}var cw={title:`History`,icon:Uc,content:ew},lw=[{name:`Docs`}],uw=Rt((e,t)=>({explorerNavStack:lw,actions:{push(t){e(e=>{let n=e.explorerNavStack;return{explorerNavStack:n.at(-1).def===t.def?n:[...n,t]}})},pop(){e(e=>{let t=e.explorerNavStack;return{explorerNavStack:t.length>1?t.slice(0,-1):t}})},reset(){e(e=>{let t=e.explorerNavStack;return{explorerNavStack:t.length===1?t:lw}})},resolveSchemaReferenceToNavItem(e){if(!e)return;let{push:n}=t().actions;switch(e.kind){case`Type`:n({name:e.type.name,def:e.type});break;case`Field`:n({name:e.field.name,def:e.field});break;case`Argument`:e.field&&n({name:e.field.name,def:e.field});break;case`EnumValue`:e.type&&n({name:e.type.name,def:e.type});break}},rebuildNavStackWithSchema(t){e(e=>{let n=e.explorerNavStack;if(n.length===1)return e;let r=[...lw],i=null;for(let e of n)if(e!==lw[0])if(e.def)if(xe(e.def)){let n=t.getType(e.def.name);if(n)r.push({name:e.name,def:n}),i=n;else break}else if(i===null)break;else if(ve(i)||Ce(i)){let t=i.getFields()[e.name];if(t)r.push({name:e.name,def:t});else break}else if(ge(i)||De(i)||be(i)||ye(i))break;else{let t=i;if(t.args.some(t=>t.name===e.name))r.push({name:e.name,def:t});else break}else i=null,r.push(e);return{explorerNavStack:r}})}}})),dw=e=>{let t=(0,U.c)(7),{children:n}=e,{schema:r,validationErrors:i,schemaReference:a}=sn(),o,s;t[0]===a?(o=t[1],s=t[2]):(o=()=>{let{resolveSchemaReferenceToNavItem:e}=uw.getState().actions;e(a)},s=[a],t[0]=a,t[1]=o,t[2]=s),(0,H.useEffect)(o,s);let c,l;return t[3]!==r||t[4]!==i?(c=()=>{let{reset:e,rebuildNavStackWithSchema:t}=uw.getState().actions;r==null||i.length>0?e():t(r)},l=[r,i],t[3]=r,t[4]=i,t[5]=c,t[6]=l):(c=t[5],l=t[6]),(0,H.useEffect)(c,l),n},fw=Vt(uw),pw=()=>fw(hw),mw=()=>fw(gw);function hw(e){return e.explorerNavStack}function gw(e){return e.actions}var _w=e=>e?he(e):``,vw=e=>{let t=(0,U.c)(12),{field:n}=e;if(!(`defaultValue`in n)||n.defaultValue===void 0)return null;let r=n.defaultValue,i=n.type,a,o,s,c;if(t[0]!==n.defaultValue||t[1]!==n.type){c=Symbol.for(`react.early_return_sentinel`);bb0:{let e=He(r,i);if(!e){c=null;break bb0}s=` = `,a=`graphiql-doc-explorer-default-value`,o=_w(e)}t[0]=n.defaultValue,t[1]=n.type,t[2]=a,t[3]=o,t[4]=s,t[5]=c}else a=t[2],o=t[3],s=t[4],c=t[5];if(c!==Symbol.for(`react.early_return_sentinel`))return c;let l;t[6]!==a||t[7]!==o?(l=(0,G.jsx)(`span`,{className:a,children:o}),t[6]=a,t[7]=o,t[8]=l):l=t[8];let u;return t[9]!==s||t[10]!==l?(u=(0,G.jsxs)(G.Fragment,{children:[s,l]}),t[9]=s,t[10]=l,t[11]=u):u=t[11],u};function yw(e,t){return me(e)?(0,G.jsxs)(G.Fragment,{children:[yw(e.ofType,t),`!`]}):Ee(e)?(0,G.jsxs)(G.Fragment,{children:[`[`,yw(e.ofType,t),`]`]}):t(e)}var bw=e=>{let t=(0,U.c)(5),{type:n}=e,{push:r}=mw();if(!n)return null;let i;t[0]===r?i=t[1]:(i=e=>(0,G.jsx)(`a`,{className:`graphiql-doc-explorer-type-name`,onClick:t=>{t.preventDefault(),r({name:e.name,def:e})},href:`#`,children:e.name}),t[0]=r,t[1]=i);let a;return t[2]!==i||t[3]!==n?(a=yw(n,i),t[2]=i,t[3]=n,t[4]=a):a=t[4],a},xw=e=>{let t=(0,U.c)(19),{arg:n,showDefaultValue:r,inline:i}=e,a;t[0]===n.name?a=t[1]:(a=(0,G.jsx)(`span`,{className:`graphiql-doc-explorer-argument-name`,children:n.name}),t[0]=n.name,t[1]=a);let o;t[2]===n.type?o=t[3]:(o=(0,G.jsx)(bw,{type:n.type}),t[2]=n.type,t[3]=o);let s;t[4]!==n||t[5]!==r?(s=r!==!1&&(0,G.jsx)(vw,{field:n}),t[4]=n,t[5]=r,t[6]=s):s=t[6];let c;t[7]!==a||t[8]!==o||t[9]!==s?(c=(0,G.jsxs)(`span`,{children:[a,`: `,o,s]}),t[7]=a,t[8]=o,t[9]=s,t[10]=c):c=t[10];let l=c;if(i)return l;let u;t[11]===n.description?u=t[12]:(u=n.description?(0,G.jsx)(Pf,{type:`description`,children:n.description}):null,t[11]=n.description,t[12]=u);let d;t[13]===n.deprecationReason?d=t[14]:(d=n.deprecationReason?(0,G.jsxs)(`div`,{className:`graphiql-doc-explorer-argument-deprecation`,children:[(0,G.jsx)(`div`,{className:`graphiql-doc-explorer-argument-deprecation-label`,children:`Deprecated`}),(0,G.jsx)(Pf,{type:`deprecation`,children:n.deprecationReason})]}):null,t[13]=n.deprecationReason,t[14]=d);let f;return t[15]!==l||t[16]!==u||t[17]!==d?(f=(0,G.jsxs)(`div`,{className:`graphiql-doc-explorer-argument`,children:[l,u,d]}),t[15]=l,t[16]=u,t[17]=d,t[18]=f):f=t[18],f},Sw=e=>{let t=(0,U.c)(3),n;return t[0]!==e.children||t[1]!==e.preview?(n=e.children?(0,G.jsxs)(`div`,{className:`graphiql-doc-explorer-deprecation`,children:[(0,G.jsx)(`div`,{className:`graphiql-doc-explorer-deprecation-label`,children:`Deprecated`}),(0,G.jsx)(Pf,{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},Cw=e=>{let t=(0,U.c)(2),{directive:n}=e,r;return t[0]===n.name.value?r=t[1]:(r=(0,G.jsxs)(`span`,{className:`graphiql-doc-explorer-directive`,children:[`@`,n.name.value]}),t[0]=n.name.value,t[1]=r),r},ww=e=>{let t=(0,U.c)(10),{title:n,children:r}=e,i=Tw[n],a;t[0]===i?a=t[1]:(a=(0,G.jsx)(i,{}),t[0]=i,t[1]=a);let o;t[2]!==a||t[3]!==n?(o=(0,G.jsxs)(`div`,{className:`graphiql-doc-explorer-section-title`,children:[a,n]}),t[2]=a,t[3]=n,t[4]=o):o=t[4];let s;t[5]===r?s=t[6]:(s=(0,G.jsx)(`div`,{className:`graphiql-doc-explorer-section-content`,children:r}),t[5]=r,t[6]=s);let c;return t[7]!==o||t[8]!==s?(c=(0,G.jsxs)(`div`,{children:[o,s]}),t[7]=o,t[8]=s,t[9]=c):c=t[9],c},Tw={Arguments:kc,"Deprecated Arguments":Fc,"Deprecated Enum Values":Ic,"Deprecated Fields":Lc,Directives:Rc,"Enum Values":Vc,Fields:Hc,Implements:Wc,Implementations:al,"Possible Types":al,"Root Types":$c,Type:al,"All Schema Types":al},Ew=e=>{let t=(0,U.c)(15),{field:n}=e,r;t[0]===n.description?r=t[1]:(r=n.description?(0,G.jsx)(Pf,{type:`description`,children:n.description}):null,t[0]=n.description,t[1]=r);let i;t[2]===n.deprecationReason?i=t[3]:(i=(0,G.jsx)(Sw,{preview:!1,children:n.deprecationReason}),t[2]=n.deprecationReason,t[3]=i);let a;t[4]===n.type?a=t[5]:(a=(0,G.jsx)(ww,{title:`Type`,children:(0,G.jsx)(bw,{type:n.type})}),t[4]=n.type,t[5]=a);let o,s;t[6]===n?(o=t[7],s=t[8]):(o=(0,G.jsx)(Dw,{field:n}),s=(0,G.jsx)(Ow,{field:n}),t[6]=n,t[7]=o,t[8]=s);let c;return t[9]!==r||t[10]!==i||t[11]!==a||t[12]!==o||t[13]!==s?(c=(0,G.jsxs)(G.Fragment,{children:[r,i,a,o,s]}),t[9]=r,t[10]=i,t[11]=a,t[12]=o,t[13]=s,t[14]=c):c=t[14],c},Dw=e=>{let t=(0,U.c)(12),{field:n}=e,[r,i]=(0,H.useState)(!1),a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(a=()=>{i(!0)},t[0]=a):a=t[0];let o=a;if(!(`args`in n))return null;let s,c,l;if(t[1]!==n.args){s=[],c=[];for(let e of n.args)e.deprecationReason?c.push(e):s.push(e);l=s.length>0?(0,G.jsx)(ww,{title:`Arguments`,children:s.map(kw)}):null,t[1]=n.args,t[2]=s,t[3]=c,t[4]=l}else s=t[2],c=t[3],l=t[4];let u;t[5]!==s.length||t[6]!==c||t[7]!==r?(u=c.length>0?r||s.length===0?(0,G.jsx)(ww,{title:`Deprecated Arguments`,children:c.map(Aw)}):(0,G.jsx)(Cl,{type:`button`,onClick:o,children:`Show Deprecated Arguments`}):null,t[5]=s.length,t[6]=c,t[7]=r,t[8]=u):u=t[8];let d;return t[9]!==l||t[10]!==u?(d=(0,G.jsxs)(G.Fragment,{children:[l,u]}),t[9]=l,t[10]=u,t[11]=d):d=t[11],d},Ow=e=>{let t=(0,U.c)(4),{field:n}=e,r=n.astNode?.directives;if(!r?.length)return null;let i;t[0]===r?i=t[1]:(i=r.map(jw),t[0]=r,t[1]=i);let a;return t[2]===i?a=t[3]:(a=(0,G.jsx)(ww,{title:`Directives`,children:i}),t[2]=i,t[3]=a),a};function kw(e){return(0,G.jsx)(xw,{arg:e},e.name)}function Aw(e){return(0,G.jsx)(xw,{arg:e},e.name)}function jw(e){return(0,G.jsx)(`div`,{children:(0,G.jsx)(Cw,{directive:e})},e.name.value)}var Mw=e=>{let t=(0,U.c)(39),{schema:n}=e,r;t[0]===n?r=t[1]:(r=n.getQueryType(),t[0]=n,t[1]=r);let i=r,a;t[2]===n?a=t[3]:(a=n.getMutationType?.call(n),t[2]=n,t[3]=a);let o=a,s;t[4]===n?s=t[5]:(s=n.getSubscriptionType?.call(n),t[4]=n,t[5]=s);let c=s,l,u,d,f,p;if(t[6]!==o||t[7]!==i||t[8]!==n||t[9]!==c){let e=n.getTypeMap(),r=i?.name,a=o?.name,s=c?.name,m;t[15]!==s||t[16]!==r||t[17]!==a?(m=[r,a,s],t[15]=s,t[16]=r,t[17]=a,t[18]=m):m=t[18];let h=m,g=n.description||`A GraphQL schema provides a root type for each kind of operation.`;t[19]===g?f=t[20]:(f=(0,G.jsx)(Pf,{type:`description`,children:g}),t[19]=g,t[20]=f);let _;t[21]===i?_=t[22]:(_=i?(0,G.jsxs)(`div`,{children:[(0,G.jsx)(`span`,{className:`graphiql-doc-explorer-root-type`,children:`query`}),`: `,(0,G.jsx)(bw,{type:i})]}):null,t[21]=i,t[22]=_);let v;t[23]===o?v=t[24]:(v=o&&(0,G.jsxs)(`div`,{children:[(0,G.jsx)(`span`,{className:`graphiql-doc-explorer-root-type`,children:`mutation`}),`: `,(0,G.jsx)(bw,{type:o})]}),t[23]=o,t[24]=v);let y;t[25]===c?y=t[26]:(y=c&&(0,G.jsxs)(`div`,{children:[(0,G.jsx)(`span`,{className:`graphiql-doc-explorer-root-type`,children:`subscription`}),`: `,(0,G.jsx)(bw,{type:c})]}),t[25]=c,t[26]=y),t[27]!==_||t[28]!==v||t[29]!==y?(p=(0,G.jsxs)(ww,{title:`Root Types`,children:[_,v,y]}),t[27]=_,t[28]=v,t[29]=y,t[30]=p):p=t[30],l=ww,u=`All Schema Types`,d=e&&(0,G.jsx)(`div`,{children:Object.values(e).map(e=>h.includes(e.name)||e.name.startsWith(`__`)?null:(0,G.jsx)(`div`,{children:(0,G.jsx)(bw,{type:e})},e.name))}),t[6]=o,t[7]=i,t[8]=n,t[9]=c,t[10]=l,t[11]=u,t[12]=d,t[13]=f,t[14]=p}else l=t[10],u=t[11],d=t[12],f=t[13],p=t[14];let m;t[31]!==l||t[32]!==u||t[33]!==d?(m=(0,G.jsx)(l,{title:u,children:d}),t[31]=l,t[32]=u,t[33]=d,t[34]=m):m=t[34];let h;return t[35]!==f||t[36]!==p||t[37]!==m?(h=(0,G.jsxs)(G.Fragment,{children:[f,p,m]}),t[35]=f,t[36]=p,t[37]=m,t[38]=h):h=t[38],h},Nw=typeof document<`u`?H.useLayoutEffect:()=>{};function Pw(e){let t=(0,H.useRef)(null);return Nw(()=>{t.current=e},[e]),(0,H.useCallback)((...e)=>{let n=t.current;return n?.(...e)},[])}var Fw=e=>e?.ownerDocument??document,Iw=e=>e&&`window`in e&&e.window===e?e:Fw(e).defaultView||window;function Lw(e){return typeof e==`object`&&!!e&&`nodeType`in e&&typeof e.nodeType==`number`}function Rw(e){return Lw(e)&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&`host`in e}var zw=!1;function Bw(){return zw}function Vw(e,t){if(!Bw())return t&&e?e.contains(t):!1;if(!e||!t)return!1;let n=t;for(;n!==null;){if(n===e)return!0;n=n.tagName===`SLOT`&&n.assignedSlot?n.assignedSlot.parentNode:Rw(n)?n.host:n.parentNode}return!1}var Hw=(e=document)=>{if(!Bw())return e.activeElement;let t=e.activeElement;for(;t&&`shadowRoot`in t&&t.shadowRoot?.activeElement;)t=t.shadowRoot.activeElement;return t};function Uw(e){return Bw()&&e.target.shadowRoot&&e.composedPath?e.composedPath()[0]:e.target}function Ww(e){return typeof window>`u`||window.navigator==null?!1:window.navigator.userAgentData?.brands.some(t=>e.test(t.brand))||e.test(window.navigator.userAgent)}function Gw(e){return typeof window<`u`&&window.navigator!=null?e.test(window.navigator.userAgentData?.platform||window.navigator.platform):!1}function Kw(e){let t=null;return()=>(t??=e(),t)}var qw=Kw(function(){return Gw(/^Mac/i)}),Jw=Kw(function(){return Ww(/Android/i)});function Yw(){let e=(0,H.useRef)(new Map),t=(0,H.useCallback)((t,n,r,i)=>{let a=i?.once?(...t)=>{e.current.delete(r),r(...t)}:r;e.current.set(r,{type:n,eventTarget:t,fn:a,options:i}),t.addEventListener(n,a,i)},[]),n=(0,H.useCallback)((t,n,r,i)=>{let a=e.current.get(r)?.fn||r;t.removeEventListener(n,a,i),e.current.delete(r)},[]),r=(0,H.useCallback)(()=>{e.current.forEach((e,t)=>{n(e.eventTarget,e.type,t,e.options)})},[n]);return(0,H.useEffect)(()=>r,[r]),{addGlobalListener:t,removeGlobalListener:n,removeAllGlobalListeners:r}}function Xw(e){return e.mozInputSource===0&&e.isTrusted?!0:Jw()&&e.pointerType?e.type===`click`&&e.buttons===1:e.detail===0&&!e.pointerType}function Zw(e){let t=e;return t.nativeEvent=e,t.isDefaultPrevented=()=>t.defaultPrevented,t.isPropagationStopped=()=>t.cancelBubble,t.persist=()=>{},t}function Qw(e,t){Object.defineProperty(e,`target`,{value:t}),Object.defineProperty(e,`currentTarget`,{value:t})}function $w(e){let t=(0,H.useRef)({isFocused:!1,observer:null});Nw(()=>{let e=t.current;return()=>{e.observer&&=(e.observer.disconnect(),null)}},[]);let n=Pw(t=>{e?.(t)});return(0,H.useCallback)(e=>{if(e.target instanceof HTMLButtonElement||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||e.target instanceof HTMLSelectElement){t.current.isFocused=!0;let r=e.target;r.addEventListener(`focusout`,e=>{t.current.isFocused=!1,r.disabled&&n(Zw(e)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)},{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&r.disabled){var e;(e=t.current.observer)==null||e.disconnect();let n=r===document.activeElement?null:document.activeElement;r.dispatchEvent(new FocusEvent(`blur`,{relatedTarget:n})),r.dispatchEvent(new FocusEvent(`focusout`,{bubbles:!0,relatedTarget:n}))}}),t.current.observer.observe(r,{attributes:!0,attributeFilter:[`disabled`]})}},[n])}var eT=!1,tT=null,nT=new Set,rT=new Map,iT=!1,aT=!1,oT={Tab:!0,Escape:!0};function sT(e,t){for(let n of nT)n(e,t)}function cT(e){return!(e.metaKey||!qw()&&e.altKey||e.ctrlKey||e.key===`Control`||e.key===`Shift`||e.key===`Meta`)}function lT(e){iT=!0,cT(e)&&(tT=`keyboard`,sT(`keyboard`,e))}function uT(e){tT=`pointer`,(e.type===`mousedown`||e.type===`pointerdown`)&&(iT=!0,sT(`pointer`,e))}function dT(e){Xw(e)&&(iT=!0,tT=`virtual`)}function fT(e){e.target===window||e.target===document||eT||!e.isTrusted||(!iT&&!aT&&(tT=`virtual`,sT(`virtual`,e)),iT=!1,aT=!1)}function pT(){eT||(iT=!1,aT=!0)}function mT(e){if(typeof window>`u`||rT.get(Iw(e)))return;let t=Iw(e),n=Fw(e),r=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){iT=!0,r.apply(this,arguments)},n.addEventListener(`keydown`,lT,!0),n.addEventListener(`keyup`,lT,!0),n.addEventListener(`click`,dT,!0),t.addEventListener(`focus`,fT,!0),t.addEventListener(`blur`,pT,!1),typeof PointerEvent<`u`&&(n.addEventListener(`pointerdown`,uT,!0),n.addEventListener(`pointermove`,uT,!0),n.addEventListener(`pointerup`,uT,!0)),t.addEventListener(`beforeunload`,()=>{hT(e)},{once:!0}),rT.set(t,{focus:r})}var hT=(e,t)=>{let n=Iw(e),r=Fw(e);t&&r.removeEventListener(`DOMContentLoaded`,t),rT.has(n)&&(n.HTMLElement.prototype.focus=rT.get(n).focus,r.removeEventListener(`keydown`,lT,!0),r.removeEventListener(`keyup`,lT,!0),r.removeEventListener(`click`,dT,!0),n.removeEventListener(`focus`,fT,!0),n.removeEventListener(`blur`,pT,!1),typeof PointerEvent<`u`&&(r.removeEventListener(`pointerdown`,uT,!0),r.removeEventListener(`pointermove`,uT,!0),r.removeEventListener(`pointerup`,uT,!0)),rT.delete(n))};function gT(e){let t=Fw(e),n;return t.readyState===`loading`?(n=()=>{mT(e)},t.addEventListener(`DOMContentLoaded`,n)):mT(e),()=>hT(e,n)}typeof document<`u`&&gT();function _T(){return tT!==`pointer`}var vT=new Set([`checkbox`,`radio`,`range`,`color`,`file`,`image`,`button`,`submit`,`reset`]);function yT(e,t,n){let r=Fw(n?.target),i=typeof window<`u`?Iw(n?.target).HTMLInputElement:HTMLInputElement,a=typeof window<`u`?Iw(n?.target).HTMLTextAreaElement:HTMLTextAreaElement,o=typeof window<`u`?Iw(n?.target).HTMLElement:HTMLElement,s=typeof window<`u`?Iw(n?.target).KeyboardEvent:KeyboardEvent;return e=e||r.activeElement instanceof i&&!vT.has(r.activeElement.type)||r.activeElement instanceof a||r.activeElement instanceof o&&r.activeElement.isContentEditable,!(e&&t===`keyboard`&&n instanceof s&&!oT[n.key])}function bT(e,t,n){mT(),(0,H.useEffect)(()=>{let t=(t,r)=>{yT(!!n?.isTextInput,t,r)&&e(_T())};return nT.add(t),()=>{nT.delete(t)}},t)}function xT(e){let{isDisabled:t,onFocus:n,onBlur:r,onFocusChange:i}=e,a=(0,H.useCallback)(e=>{if(e.target===e.currentTarget)return r&&r(e),i&&i(!1),!0},[r,i]),o=$w(a),s=(0,H.useCallback)(e=>{let t=Fw(e.target),r=t?Hw(t):Hw();e.target===e.currentTarget&&r===Uw(e.nativeEvent)&&(n&&n(e),i&&i(!0),o(e))},[i,n,o]);return{focusProps:{onFocus:!t&&(n||i||r)?s:void 0,onBlur:!t&&(r||i)?a:void 0}}}function ST(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:r,onFocusWithinChange:i}=e,a=(0,H.useRef)({isFocusWithin:!1}),{addGlobalListener:o,removeAllGlobalListeners:s}=Yw(),c=(0,H.useCallback)(e=>{e.currentTarget.contains(e.target)&&a.current.isFocusWithin&&!e.currentTarget.contains(e.relatedTarget)&&(a.current.isFocusWithin=!1,s(),n&&n(e),i&&i(!1))},[n,i,a,s]),l=$w(c),u=(0,H.useCallback)(e=>{if(!e.currentTarget.contains(e.target))return;let t=Fw(e.target),n=Hw(t);if(!a.current.isFocusWithin&&n===Uw(e.nativeEvent)){r&&r(e),i&&i(!0),a.current.isFocusWithin=!0,l(e);let n=e.currentTarget;o(t,`focus`,e=>{if(a.current.isFocusWithin&&!Vw(n,e.target)){let r=new t.defaultView.FocusEvent(`blur`,{relatedTarget:e.target});Qw(r,n),c(Zw(r))}},{capture:!0})}},[r,i,l,o,c]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:u,onBlur:c}}}var CT=!1,wT=0;function TT(){CT=!0,setTimeout(()=>{CT=!1},50)}function ET(e){e.pointerType===`touch`&&TT()}function DT(){if(!(typeof document>`u`))return typeof PointerEvent<`u`&&document.addEventListener(`pointerup`,ET),wT++,()=>{wT--,!(wT>0)&&typeof PointerEvent<`u`&&document.removeEventListener(`pointerup`,ET)}}function OT(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:r,isDisabled:i}=e,[a,o]=(0,H.useState)(!1),s=(0,H.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:``,target:null}).current;(0,H.useEffect)(DT,[]);let{addGlobalListener:c,removeAllGlobalListeners:l}=Yw(),{hoverProps:u,triggerHoverEnd:d}=(0,H.useMemo)(()=>{let e=(e,r)=>{if(s.pointerType=r,i||r===`touch`||s.isHovered||!e.currentTarget.contains(e.target))return;s.isHovered=!0;let l=e.currentTarget;s.target=l,c(Fw(e.target),`pointerover`,e=>{s.isHovered&&s.target&&!Vw(s.target,e.target)&&a(e,e.pointerType)},{capture:!0}),t&&t({type:`hoverstart`,target:l,pointerType:r}),n&&n(!0),o(!0)},a=(e,t)=>{let i=s.target;s.pointerType=``,s.target=null,!(t===`touch`||!s.isHovered||!i)&&(s.isHovered=!1,l(),r&&r({type:`hoverend`,target:i,pointerType:t}),n&&n(!1),o(!1))},u={};return typeof PointerEvent<`u`&&(u.onPointerEnter=t=>{CT&&t.pointerType===`mouse`||e(t,t.pointerType)},u.onPointerLeave=e=>{!i&&e.currentTarget.contains(e.target)&&a(e,e.pointerType)}),{hoverProps:u,triggerHoverEnd:a}},[t,n,r,i,s,c,l]);return(0,H.useEffect)(()=>{i&&d({currentTarget:s.target},s.pointerType)},[i]),{hoverProps:u,isHovered:a}}function kT(e={}){let{autoFocus:t=!1,isTextInput:n,within:r}=e,i=(0,H.useRef)({isFocused:!1,isFocusVisible:t||_T()}),[a,o]=(0,H.useState)(!1),[s,c]=(0,H.useState)(()=>i.current.isFocused&&i.current.isFocusVisible),l=(0,H.useCallback)(()=>c(i.current.isFocused&&i.current.isFocusVisible),[]),u=(0,H.useCallback)(e=>{i.current.isFocused=e,o(e),l()},[l]);bT(e=>{i.current.isFocusVisible=e,l()},[],{isTextInput:n});let{focusProps:d}=xT({isDisabled:r,onFocusChange:u}),{focusWithinProps:f}=ST({isDisabled:!r,onFocusWithinChange:u});return{isFocused:a,isFocusVisible:s,focusProps:r?f:d}}var AT=Object.defineProperty,jT=(e,t,n)=>t in e?AT(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,MT=(e,t,n)=>(jT(e,typeof t==`symbol`?t:t+``,n),n),NT=new class{constructor(){MT(this,`current`,this.detect()),MT(this,`handoffState`,`pending`),MT(this,`currentId`,0)}set(e){this.current!==e&&(this.handoffState=`pending`,this.currentId=0,this.current=e)}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`}};function PT(e){return NT.isServer?null:e instanceof Node?e.ownerDocument:e!=null&&e.hasOwnProperty(`current`)&&e.current instanceof Node?e.current.ownerDocument:document}function FT(e){typeof queueMicrotask==`function`?queueMicrotask(e):Promise.resolve().then(e).catch(e=>setTimeout(()=>{throw e}))}function IT(){let e=[],t={addEventListener(e,n,r,i){return e.addEventListener(n,r,i),t.add(()=>e.removeEventListener(n,r,i))},requestAnimationFrame(...e){let n=requestAnimationFrame(...e);return t.add(()=>cancelAnimationFrame(n))},nextFrame(...e){return t.requestAnimationFrame(()=>t.requestAnimationFrame(...e))},setTimeout(...e){let n=setTimeout(...e);return t.add(()=>clearTimeout(n))},microTask(...e){let n={current:!0};return FT(()=>{n.current&&e[0]()}),t.add(()=>{n.current=!1})},style(e,t,n){let r=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:n}),this.add(()=>{Object.assign(e.style,{[t]:r})})},group(e){let t=IT();return e(t),this.add(()=>t.dispose())},add(t){return e.includes(t)||e.push(t),()=>{let n=e.indexOf(t);if(n>=0)for(let t of e.splice(n,1))t()}},dispose(){for(let t of e.splice(0))t()}};return t}function LT(){let[e]=(0,H.useState)(IT);return(0,H.useEffect)(()=>()=>e.dispose(),[e]),e}var Q=(e,t)=>{NT.isServer?(0,H.useEffect)(e,t):(0,H.useLayoutEffect)(e,t)};function RT(e){let t=(0,H.useRef)(e);return Q(()=>{t.current=e},[e]),t}var $=function(e){let t=RT(e);return H.useCallback((...e)=>t.current(...e),[t])};function zT(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 BT(e,t){return!(!e||!t||e.right<t.left||e.left>t.right||e.bottom<t.top||e.top>t.bottom)}function VT({disabled:e=!1}={}){let t=(0,H.useRef)(null),[n,r]=(0,H.useState)(!1),i=LT(),a=$(()=>{t.current=null,r(!1),i.dispose()}),o=$(e=>{if(i.dispose(),t.current===null){t.current=e.currentTarget,r(!0);{let n=PT(e.currentTarget);i.addEventListener(n,`pointerup`,a,!1),i.addEventListener(n,`pointermove`,e=>{t.current&&r(BT(zT(e),t.current.getBoundingClientRect()))},!1),i.addEventListener(n,`pointercancel`,a,!1)}}});return{pressed:n,pressProps:e?{}:{onPointerDown:o,onPointerUp:a,onClick:a}}}var HT=(0,H.createContext)(void 0);function UT(){return(0,H.useContext)(HT)}function WT(...e){return Array.from(new Set(e.flatMap(e=>typeof e==`string`?e.split(` `):[]))).filter(Boolean).join(` `)}function GT(e,t,...n){if(e in t){let r=t[e];return typeof r==`function`?r(...n):r}let r=Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(e=>`"${e}"`).join(`, `)}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,GT),r}var KT=(e=>(e[e.None=0]=`None`,e[e.RenderStrategy=1]=`RenderStrategy`,e[e.Static=2]=`Static`,e))(KT||{}),qT=(e=>(e[e.Unmount=0]=`Unmount`,e[e.Hidden=1]=`Hidden`,e))(qT||{});function JT(){let e=ZT();return(0,H.useCallback)(t=>YT({mergeRefs:e,...t}),[e])}function YT({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:i,visible:a=!0,name:o,mergeRefs:s}){s??=QT;let c=$T(t,e);if(a)return XT(c,n,r,o,s);let l=i??0;if(l&2){let{static:e=!1,...t}=c;if(e)return XT(t,n,r,o,s)}if(l&1){let{unmount:e=!0,...t}=c;return GT(e?0:1,{0(){return null},1(){return XT({...t,hidden:!0,style:{display:`none`}},n,r,o,s)}})}return XT(c,n,r,o,s)}function XT(e,t={},n,r,i){let{as:a=n,children:o,refName:s=`ref`,...c}=rE(e,[`unmount`,`static`]),l=e.ref===void 0?{}:{[s]:e.ref},u=typeof o==`function`?o(t):o;`className`in c&&c.className&&typeof c.className==`function`&&(c.className=c.className(t)),c[`aria-labelledby`]&&c[`aria-labelledby`]===c.id&&(c[`aria-labelledby`]=void 0);let d={};if(t){let e=!1,n=[];for(let[r,i]of Object.entries(t))typeof i==`boolean`&&(e=!0),i===!0&&n.push(r.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`));if(e){d[`data-headlessui-state`]=n.join(` `);for(let e of n)d[`data-${e}`]=``}}if(a===H.Fragment&&(Object.keys(nE(c)).length>0||Object.keys(nE(d)).length>0))if(!(0,H.isValidElement)(u)||Array.isArray(u)&&u.length>1){if(Object.keys(nE(c)).length>0)throw Error([`Passing props on "Fragment"!`,``,`The current component <${r} /> is rendering a "Fragment".`,`However we need to passthrough the following props:`,Object.keys(nE(c)).concat(Object.keys(nE(d))).map(e=>` - ${e}`).join(`
|
|
52
52
|
`),``,`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(e=>` - ${e}`).join(`
|
|
53
53
|
`)].join(`
|