From dab73b052fceca888457624f6d685229c8af9e47 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 9 Mar 2024 10:44:12 +0000 Subject: [PATCH] deploy: a681445ab31631abe53259cec6cd9595520c66f1 --- 404.html | 9 +++++---- AkashSingh3031/index.html | 9 +++++---- assets/js/152.48a72931.js | 1 + assets/js/152.f71527b8.js | 1 - assets/js/{main.02ed5d59.js => main.9e8e3e80.js} | 4 ++-- ...d5d59.js.LICENSE.txt => main.9e8e3e80.js.LICENSE.txt} | 0 ...runtime~main.71c27a5e.js => runtime~main.0717315b.js} | 2 +- blog/author/AkashSingh3031/index.html | 9 +++++---- blog/bharatvarsha/index.html | 9 +++++---- blog/god-brahma/index.html | 9 +++++---- blog/index.html | 9 +++++---- blog/tags/ajnabhavarsh/index.html | 9 +++++---- blog/tags/aryavarta/index.html | 9 +++++---- blog/tags/bharat/index.html | 9 +++++---- blog/tags/bharatkhand/index.html | 9 +++++---- blog/tags/bharatvarsha/index.html | 9 +++++---- blog/tags/brahma/index.html | 9 +++++---- blog/tags/creator/index.html | 9 +++++---- blog/tags/god/index.html | 9 +++++---- blog/tags/hindustan/index.html | 9 +++++---- blog/tags/index.html | 9 +++++---- blog/tags/india/index.html | 9 +++++---- blog/tags/jambudweep/index.html | 9 +++++---- blog/tags/tenjiku/index.html | 9 +++++---- blog/tags/universe/index.html | 9 +++++---- docs/2.Web.Dev/getting-started/quickstart/index.html | 9 +++++---- docs/2.Web.Dev/index.html | 9 +++++---- docs/array/arrayIntro/index.html | 9 +++++---- docs/array/index.html | 9 +++++---- docs/array/quickstart/index.html | 9 +++++---- docs/index.html | 9 +++++---- index.html | 9 +++++---- prepverse-community/index.html | 9 +++++---- search/index.html | 9 +++++---- showcase/index.html | 9 +++++---- tutorial/dsa/index.html | 9 +++++---- tutorial/index.html | 9 +++++---- 37 files changed, 164 insertions(+), 132 deletions(-) create mode 100644 assets/js/152.48a72931.js delete mode 100644 assets/js/152.f71527b8.js rename assets/js/{main.02ed5d59.js => main.9e8e3e80.js} (83%) rename assets/js/{main.02ed5d59.js.LICENSE.txt => main.9e8e3e80.js.LICENSE.txt} (100%) rename assets/js/{runtime~main.71c27a5e.js => runtime~main.0717315b.js} (99%) diff --git a/404.html b/404.html index ea88182f..9420d902 100644 --- a/404.html +++ b/404.html @@ -20,18 +20,19 @@ + - - + +
Skip to main content

Page Not Found

We could not find what you were looking for.

Please contact the owner of the site that linked you to the original URL and let them know their link is broken.

- - + + \ No newline at end of file diff --git a/AkashSingh3031/index.html b/AkashSingh3031/index.html index dd4aede8..16f8f311 100644 --- a/AkashSingh3031/index.html +++ b/AkashSingh3031/index.html @@ -20,18 +20,19 @@ + - - + +
Skip to main content
Skip to main content

Akash Singh

akashsingh3031

Software Developer Engineer🔸||🔸TA at Coding Ninjas🔸||🔸6133 Rating 📈 Points on Coding Ninjas Studio

Follow Me
AkashSingh3031
akashsingh3031
akash.singh3031
akashsingh3031
Copyright © 2024 PrepVerse
Built with Docusaurus & Refine.
Connect with me on
- - + + \ No newline at end of file diff --git a/assets/js/152.48a72931.js b/assets/js/152.48a72931.js new file mode 100644 index 00000000..c3723ce1 --- /dev/null +++ b/assets/js/152.48a72931.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[152],{8444:(t,e,n)=>{n.d(e,{O:()=>o,s:()=>r});var r=function(){},o=function(){}},7008:(t,e,n)=>{n.d(e,{C:()=>I});var r,o=n(1504),i=n(7616),a=n(9648),s=n(7368),u=n(1403),l=n(5948),c=n(1792),d=n(7168),p=n(3048),f=n(2448),v=n(8512);let h=null!=(r=o.startTransition)?r:function(t){t()};var m,y=((m=y||{})[m.Open=0]="Open",m[m.Closed=1]="Closed",m),g=(t=>(t[t.ToggleDisclosure=0]="ToggleDisclosure",t[t.CloseDisclosure=1]="CloseDisclosure",t[t.SetButtonId=2]="SetButtonId",t[t.SetPanelId=3]="SetPanelId",t[t.LinkPanel=4]="LinkPanel",t[t.UnlinkPanel=5]="UnlinkPanel",t))(g||{});let x={0:t=>({...t,disclosureState:(0,i._)(t.disclosureState,{0:1,1:0})}),1:t=>1===t.disclosureState?t:{...t,disclosureState:1},4:t=>!0===t.linkedPanel?t:{...t,linkedPanel:!0},5:t=>!1===t.linkedPanel?t:{...t,linkedPanel:!1},2:(t,e)=>t.buttonId===e.buttonId?t:{...t,buttonId:e.buttonId},3:(t,e)=>t.panelId===e.panelId?t:{...t,panelId:e.panelId}},b=(0,o.createContext)(null);function C(t){let e=(0,o.useContext)(b);if(null===e){let e=new Error(`<${t} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(e,C),e}return e}b.displayName="DisclosureContext";let w=(0,o.createContext)(null);function P(t){let e=(0,o.useContext)(w);if(null===e){let e=new Error(`<${t} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(e,P),e}return e}w.displayName="DisclosureAPIContext";let S=(0,o.createContext)(null);function E(t,e){return(0,i._)(e.type,x,t,e)}S.displayName="DisclosurePanelContext";let T=o.Fragment;let A=a.B4.RenderStrategy|a.B4.Static;let M=(0,a.op)((function(t,e){let{defaultOpen:n=!1,...r}=t,u=(0,o.useRef)(null),l=(0,s.q)(e,(0,s.s)((t=>{u.current=t}),void 0===t.as||t.as===o.Fragment)),c=(0,o.useRef)(null),p=(0,o.useRef)(null),h=(0,o.useReducer)(E,{disclosureState:n?0:1,linkedPanel:!1,buttonRef:p,panelRef:c,buttonId:null,panelId:null}),[{disclosureState:m,buttonId:y},g]=h,x=(0,v.y)((t=>{g({type:1});let e=(0,f.e)(u);if(!e||!y)return;let n=t?t instanceof HTMLElement?t:t.current instanceof HTMLElement?t.current:e.getElementById(y):e.getElementById(y);null==n||n.focus()})),C=(0,o.useMemo)((()=>({close:x})),[x]),P=(0,o.useMemo)((()=>({open:0===m,close:x})),[m,x]),S={ref:l};return o.createElement(b.Provider,{value:h},o.createElement(w.Provider,{value:C},o.createElement(d.uR,{value:(0,i._)(m,{0:d.Ad.Open,1:d.Ad.Closed})},(0,a.ai)({ourProps:S,theirProps:r,slot:P,defaultTag:T,name:"Disclosure"}))))})),V=(0,a.op)((function(t,e){let n=(0,u.I)(),{id:r=`headlessui-disclosure-button-${n}`,...i}=t,[d,f]=C("Disclosure.Button"),h=(0,o.useContext)(S),m=null!==h&&h===d.panelId,y=(0,o.useRef)(null),g=(0,s.q)(y,e,m?null:d.buttonRef);(0,o.useEffect)((()=>{if(!m)return f({type:2,buttonId:r}),()=>{f({type:2,buttonId:null})}}),[r,f,m]);let x=(0,v.y)((t=>{var e;if(m){if(1===d.disclosureState)return;switch(t.key){case l.g.Space:case l.g.Enter:t.preventDefault(),t.stopPropagation(),f({type:0}),null==(e=d.buttonRef.current)||e.focus()}}else switch(t.key){case l.g.Space:case l.g.Enter:t.preventDefault(),t.stopPropagation(),f({type:0})}})),b=(0,v.y)((t=>{if(t.key===l.g.Space)t.preventDefault()})),w=(0,v.y)((e=>{var n;(0,c.g)(e.currentTarget)||t.disabled||(m?(f({type:0}),null==(n=d.buttonRef.current)||n.focus()):f({type:0}))})),P=(0,o.useMemo)((()=>({open:0===d.disclosureState})),[d]),E=(0,p.y)(t,y),T=m?{ref:g,type:E,onKeyDown:x,onClick:w}:{ref:g,id:r,type:E,"aria-expanded":t.disabled?void 0:0===d.disclosureState,"aria-controls":d.linkedPanel?d.panelId:void 0,onKeyDown:x,onKeyUp:b,onClick:w};return(0,a.ai)({ourProps:T,theirProps:i,slot:P,defaultTag:"button",name:"Disclosure.Button"})})),O=(0,a.op)((function(t,e){let n=(0,u.I)(),{id:r=`headlessui-disclosure-panel-${n}`,...i}=t,[l,c]=C("Disclosure.Panel"),{close:p}=P("Disclosure.Panel"),f=(0,s.q)(e,l.panelRef,(t=>{h((()=>c({type:t?4:5})))}));(0,o.useEffect)((()=>(c({type:3,panelId:r}),()=>{c({type:3,panelId:null})})),[r,c]);let v=(0,d.qc)(),m=null!==v?(v&d.Ad.Open)===d.Ad.Open:0===l.disclosureState,y=(0,o.useMemo)((()=>({open:0===l.disclosureState,close:p})),[l,p]),g={ref:f,id:r};return o.createElement(S.Provider,{value:l.panelId},(0,a.ai)({ourProps:g,theirProps:i,slot:y,defaultTag:"div",features:A,visible:m,name:"Disclosure.Panel"}))})),I=Object.assign(M,{Button:V,Panel:O})},5224:(t,e,n)=>{n.d(e,{_:()=>H});var r,o,i=n(1504),a=n(7616),s=n(9648),u=n(7368),l=n(1403),c=n(5948),d=n(1792),p=n(4008),f=n(7168),v=n(3048),h=n(4560),m=n(2448),y=n(5720),g=n(1892),x=n(7384),b=n(8512),C=n(4904),w=n(5884),P=n(1423),S=n(4224),E=n(824),T=((o=T||{})[o.Open=0]="Open",o[o.Closed=1]="Closed",o),A=((r=A||{})[r.TogglePopover=0]="TogglePopover",r[r.ClosePopover=1]="ClosePopover",r[r.SetButton=2]="SetButton",r[r.SetButtonId=3]="SetButtonId",r[r.SetPanel=4]="SetPanel",r[r.SetPanelId=5]="SetPanelId",r);let M={0:t=>{let e={...t,popoverState:(0,a._)(t.popoverState,{0:1,1:0})};return 0===e.popoverState&&(e.__demoMode=!1),e},1:t=>1===t.popoverState?t:{...t,popoverState:1},2:(t,e)=>t.button===e.button?t:{...t,button:e.button},3:(t,e)=>t.buttonId===e.buttonId?t:{...t,buttonId:e.buttonId},4:(t,e)=>t.panel===e.panel?t:{...t,panel:e.panel},5:(t,e)=>t.panelId===e.panelId?t:{...t,panelId:e.panelId}},V=(0,i.createContext)(null);function O(t){let e=(0,i.useContext)(V);if(null===e){let e=new Error(`<${t} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(e,O),e}return e}V.displayName="PopoverContext";let I=(0,i.createContext)(null);function k(t){let e=(0,i.useContext)(I);if(null===e){let e=new Error(`<${t} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(e,k),e}return e}I.displayName="PopoverAPIContext";let R=(0,i.createContext)(null);function L(){return(0,i.useContext)(R)}R.displayName="PopoverGroupContext";let D=(0,i.createContext)(null);function B(t,e){return(0,a._)(e.type,M,t,e)}D.displayName="PopoverPanelContext";let j=s.B4.RenderStrategy|s.B4.Static;let F=s.B4.RenderStrategy|s.B4.Static;let U=(0,s.op)((function(t,e){var n;let{__demoMode:r=!1,...o}=t,l=(0,i.useRef)(null),c=(0,u.q)(e,(0,u.s)((t=>{l.current=t}))),d=(0,i.useRef)([]),v=(0,i.useReducer)(B,{__demoMode:r,popoverState:r?0:1,buttons:d,button:null,buttonId:null,panel:null,panelId:null,beforePanelSentinel:(0,i.createRef)(),afterPanelSentinel:(0,i.createRef)()}),[{popoverState:m,button:x,buttonId:C,panel:P,panelId:T,beforePanelSentinel:A,afterPanelSentinel:M},O]=v,k=(0,y.o)(null!=(n=l.current)?n:x),R=(0,i.useMemo)((()=>{if(!x||!P)return!1;for(let a of document.querySelectorAll("body > *"))if(Number(null==a?void 0:a.contains(x))^Number(null==a?void 0:a.contains(P)))return!0;let t=(0,p.y6)(),e=t.indexOf(x),n=(e+t.length-1)%t.length,r=(e+1)%t.length,o=t[n],i=t[r];return!P.contains(o)&&!P.contains(i)}),[x,P]),j=(0,w.s)(C),F=(0,w.s)(T),U=(0,i.useMemo)((()=>({buttonId:j,panelId:F,close:()=>O({type:1})})),[j,F,O]),W=L(),N=null==W?void 0:W.registerPopover,z=(0,b.y)((()=>{var t;return null!=(t=null==W?void 0:W.isFocusWithinPopoverGroup())?t:(null==k?void 0:k.activeElement)&&((null==x?void 0:x.contains(k.activeElement))||(null==P?void 0:P.contains(k.activeElement)))}));(0,i.useEffect)((()=>null==N?void 0:N(U)),[N,U]);let[_,H]=(0,E.M)(),q=(0,S.G)({portals:_,defaultContainers:[x,P]});(0,g.K)(null==k?void 0:k.defaultView,"focus",(t=>{var e,n,r,o;t.target!==window&&t.target instanceof HTMLElement&&0===m&&(z()||x&&P&&(q.contains(t.target)||null!=(n=null==(e=A.current)?void 0:e.contains)&&n.call(e,t.target)||null!=(o=null==(r=M.current)?void 0:r.contains)&&o.call(r,t.target)||O({type:1})))}),!0),(0,h.c)(q.resolveContainers,((t,e)=>{O({type:1}),(0,p.qw)(e,p.ye.Loose)||(t.preventDefault(),null==x||x.focus())}),0===m);let Y=(0,b.y)((t=>{O({type:1});let e=t?t instanceof HTMLElement?t:"current"in t&&t.current instanceof HTMLElement?t.current:x:x;null==e||e.focus()})),X=(0,i.useMemo)((()=>({close:Y,isPortalled:R})),[Y,R]),G=(0,i.useMemo)((()=>({open:0===m,close:Y})),[m,Y]),K={ref:c};return i.createElement(D.Provider,{value:null},i.createElement(V.Provider,{value:v},i.createElement(I.Provider,{value:X},i.createElement(f.uR,{value:(0,a._)(m,{0:f.Ad.Open,1:f.Ad.Closed})},i.createElement(H,null,(0,s.ai)({ourProps:K,theirProps:o,slot:G,defaultTag:"div",name:"Popover"}),i.createElement(q.MainTreeNode,null))))))})),W=(0,s.op)((function(t,e){let n=(0,l.I)(),{id:r=`headlessui-popover-button-${n}`,...o}=t,[f,h]=O("Popover.Button"),{isPortalled:m}=k("Popover.Button"),g=(0,i.useRef)(null),w=`headlessui-focus-sentinel-${(0,l.I)()}`,P=L(),S=null==P?void 0:P.closeOthers,E=null!==(0,i.useContext)(D);(0,i.useEffect)((()=>{if(!E)return h({type:3,buttonId:r}),()=>{h({type:3,buttonId:null})}}),[E,r,h]);let[T]=(0,i.useState)((()=>Symbol())),A=(0,u.q)(g,e,E?null:t=>{if(t)f.buttons.current.push(T);else{let t=f.buttons.current.indexOf(T);-1!==t&&f.buttons.current.splice(t,1)}f.buttons.current.length>1&&console.warn("You are already using a but only 1 is supported."),t&&h({type:2,button:t})}),M=(0,u.q)(g,e),V=(0,y.o)(g),I=(0,b.y)((t=>{var e,n,r;if(E){if(1===f.popoverState)return;switch(t.key){case c.g.Space:case c.g.Enter:t.preventDefault(),null==(n=(e=t.target).click)||n.call(e),h({type:1}),null==(r=f.button)||r.focus()}}else switch(t.key){case c.g.Space:case c.g.Enter:t.preventDefault(),t.stopPropagation(),1===f.popoverState&&(null==S||S(f.buttonId)),h({type:0});break;case c.g.Escape:if(0!==f.popoverState)return null==S?void 0:S(f.buttonId);if(!g.current||null!=V&&V.activeElement&&!g.current.contains(V.activeElement))return;t.preventDefault(),t.stopPropagation(),h({type:1})}})),R=(0,b.y)((t=>{E||t.key===c.g.Space&&t.preventDefault()})),B=(0,b.y)((e=>{var n,r;(0,d.g)(e.currentTarget)||t.disabled||(E?(h({type:1}),null==(n=f.button)||n.focus()):(e.preventDefault(),e.stopPropagation(),1===f.popoverState&&(null==S||S(f.buttonId)),h({type:0}),null==(r=f.button)||r.focus()))})),j=(0,b.y)((t=>{t.preventDefault(),t.stopPropagation()})),F=0===f.popoverState,U=(0,i.useMemo)((()=>({open:F})),[F]),W=(0,v.y)(t,g),N=E?{ref:M,type:W,onKeyDown:I,onClick:B}:{ref:A,id:f.buttonId,type:W,"aria-expanded":t.disabled?void 0:0===f.popoverState,"aria-controls":f.panel?f.panelId:void 0,onKeyDown:I,onKeyUp:R,onClick:B,onMouseDown:j},z=(0,C.Y)(),_=(0,b.y)((()=>{let t=f.panel;t&&(0,a._)(z.current,{[C.w.Forwards]:()=>(0,p.iZ)(t,p.O8.First),[C.w.Backwards]:()=>(0,p.iZ)(t,p.O8.Last)})===p._I.Error&&(0,p.iZ)((0,p.y6)().filter((t=>"true"!==t.dataset.headlessuiFocusGuard)),(0,a._)(z.current,{[C.w.Forwards]:p.O8.Next,[C.w.Backwards]:p.O8.Previous}),{relativeTo:f.button})}));return i.createElement(i.Fragment,null,(0,s.ai)({ourProps:N,theirProps:o,slot:U,defaultTag:"button",name:"Popover.Button"}),F&&!E&&m&&i.createElement(x._,{id:w,features:x.B.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:_}))})),N=(0,s.op)((function(t,e){let n=(0,l.I)(),{id:r=`headlessui-popover-overlay-${n}`,...o}=t,[{popoverState:a},c]=O("Popover.Overlay"),p=(0,u.q)(e),v=(0,f.qc)(),h=null!==v?(v&f.Ad.Open)===f.Ad.Open:0===a,m=(0,b.y)((t=>{if((0,d.g)(t.currentTarget))return t.preventDefault();c({type:1})})),y=(0,i.useMemo)((()=>({open:0===a})),[a]);return(0,s.ai)({ourProps:{ref:p,id:r,"aria-hidden":!0,onClick:m},theirProps:o,slot:y,defaultTag:"div",features:j,visible:h,name:"Popover.Overlay"})})),z=(0,s.op)((function(t,e){let n=(0,l.I)(),{id:r=`headlessui-popover-panel-${n}`,focus:o=!1,...d}=t,[v,h]=O("Popover.Panel"),{close:m,isPortalled:g}=k("Popover.Panel"),w=`headlessui-focus-sentinel-before-${(0,l.I)()}`,S=`headlessui-focus-sentinel-after-${(0,l.I)()}`,E=(0,i.useRef)(null),T=(0,u.q)(E,e,(t=>{h({type:4,panel:t})})),A=(0,y.o)(E);(0,P.m)((()=>(h({type:5,panelId:r}),()=>{h({type:5,panelId:null})})),[r,h]);let M=(0,f.qc)(),V=null!==M?(M&f.Ad.Open)===f.Ad.Open:0===v.popoverState,I=(0,b.y)((t=>{var e;if(t.key===c.g.Escape){if(0!==v.popoverState||!E.current||null!=A&&A.activeElement&&!E.current.contains(A.activeElement))return;t.preventDefault(),t.stopPropagation(),h({type:1}),null==(e=v.button)||e.focus()}}));(0,i.useEffect)((()=>{var e;t.static||1===v.popoverState&&(null==(e=t.unmount)||e)&&h({type:4,panel:null})}),[v.popoverState,t.unmount,t.static,h]),(0,i.useEffect)((()=>{if(v.__demoMode||!o||0!==v.popoverState||!E.current)return;let t=null==A?void 0:A.activeElement;E.current.contains(t)||(0,p.iZ)(E.current,p.O8.First)}),[v.__demoMode,o,E,v.popoverState]);let R=(0,i.useMemo)((()=>({open:0===v.popoverState,close:m})),[v,m]),L={ref:T,id:r,onKeyDown:I,onBlur:o&&0===v.popoverState?t=>{var e,n,r,o,i;let a=t.relatedTarget;a&&E.current&&(null!=(e=E.current)&&e.contains(a)||(h({type:1}),(null!=(r=null==(n=v.beforePanelSentinel.current)?void 0:n.contains)&&r.call(n,a)||null!=(i=null==(o=v.afterPanelSentinel.current)?void 0:o.contains)&&i.call(o,a))&&a.focus({preventScroll:!0})))}:void 0,tabIndex:-1},B=(0,C.Y)(),j=(0,b.y)((()=>{let t=E.current;t&&(0,a._)(B.current,{[C.w.Forwards]:()=>{var e;(0,p.iZ)(t,p.O8.First)===p._I.Error&&(null==(e=v.afterPanelSentinel.current)||e.focus())},[C.w.Backwards]:()=>{var t;null==(t=v.button)||t.focus({preventScroll:!0})}})})),U=(0,b.y)((()=>{let t=E.current;t&&(0,a._)(B.current,{[C.w.Forwards]:()=>{var t;if(!v.button)return;let e=(0,p.y6)(),n=e.indexOf(v.button),r=e.slice(0,n+1),o=[...e.slice(n+1),...r];for(let i of o.slice())if("true"===i.dataset.headlessuiFocusGuard||null!=(t=v.panel)&&t.contains(i)){let t=o.indexOf(i);-1!==t&&o.splice(t,1)}(0,p.iZ)(o,p.O8.First,{sorted:!1})},[C.w.Backwards]:()=>{var e;(0,p.iZ)(t,p.O8.Previous)===p._I.Error&&(null==(e=v.button)||e.focus())}})}));return i.createElement(D.Provider,{value:r},V&&g&&i.createElement(x._,{id:w,ref:v.beforePanelSentinel,features:x.B.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:j}),(0,s.ai)({ourProps:L,theirProps:d,slot:R,defaultTag:"div",features:F,visible:V,name:"Popover.Panel"}),V&&g&&i.createElement(x._,{id:S,ref:v.afterPanelSentinel,features:x.B.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:U}))})),_=(0,s.op)((function(t,e){let n=(0,i.useRef)(null),r=(0,u.q)(n,e),[o,a]=(0,i.useState)([]),l=(0,b.y)((t=>{a((e=>{let n=e.indexOf(t);if(-1!==n){let t=e.slice();return t.splice(n,1),t}return e}))})),c=(0,b.y)((t=>(a((e=>[...e,t])),()=>l(t)))),d=(0,b.y)((()=>{var t;let e=(0,m.e)(n);if(!e)return!1;let r=e.activeElement;return!(null==(t=n.current)||!t.contains(r))||o.some((t=>{var n,o;return(null==(n=e.getElementById(t.buttonId.current))?void 0:n.contains(r))||(null==(o=e.getElementById(t.panelId.current))?void 0:o.contains(r))}))})),p=(0,b.y)((t=>{for(let e of o)e.buttonId.current!==t&&e.close()})),f=(0,i.useMemo)((()=>({registerPopover:c,unregisterPopover:l,isFocusWithinPopoverGroup:d,closeOthers:p})),[c,l,d,p]),v=(0,i.useMemo)((()=>({})),[]),h=t,y={ref:r};return i.createElement(R.Provider,{value:f},(0,s.ai)({ourProps:y,theirProps:h,slot:v,defaultTag:"div",name:"Popover.Group"}))})),H=Object.assign(U,{Button:W,Overlay:N,Panel:z,Group:_})},3048:(t,e,n)=>{n.d(e,{y:()=>a});var r=n(1504),o=n(1423);function i(t){var e;if(t.type)return t.type;let n=null!=(e=t.as)?e:"button";return"string"==typeof n&&"button"===n.toLowerCase()?"button":void 0}function a(t,e){let[n,a]=(0,r.useState)((()=>i(t)));return(0,o.m)((()=>{a(i(t))}),[t.type,t.as]),(0,o.m)((()=>{n||e.current&&e.current instanceof HTMLButtonElement&&!e.current.hasAttribute("type")&&a("button")}),[n,e]),n}},6972:(t,e,n)=>{n.d(e,{C:()=>a});var r=n(5908),o=n(184),i=n(3350);function a(t,e,n){void 0===n&&(n={});var a=(0,o.Y)(t)?t:(0,r.w)(t);return(0,i.eo)("",a,e,n),{stop:function(){return a.stop()},isAnimating:function(){return a.isAnimating()}}}},4772:(t,e,n)=>{n.d(e,{U:()=>r});var r=function(t){return Array.isArray(t)}},3350:(t,e,n)=>{n.d(e,{qC:()=>at,eo:()=>st});var r=n(1316),o=n(8444),i=n(8456);const a=.001,s=.01,u=10,l=.05,c=1;function d({duration:t=800,bounce:e=.25,velocity:n=0,mass:r=1}){let d,v;(0,o.s)(t<=1e3*u,"Spring duration must be 10 seconds or less");let h=1-e;h=(0,i.q)(l,c,h),t=(0,i.q)(s,u,t/1e3),h<1?(d=e=>{const r=e*h,o=r*t,i=r-n,s=f(e,h),u=Math.exp(-o);return a-i/s*u},v=e=>{const r=e*h*t,o=r*n+n,i=Math.pow(h,2)*Math.pow(e,2)*t,s=Math.exp(-r),u=f(Math.pow(e,2),h);return(-d(e)+a>0?-1:1)*((o-i)*s)/u}):(d=e=>Math.exp(-e*t)*((e-n)*t+1)-a,v=e=>Math.exp(-e*t)*(t*t*(n-e)));const m=function(t,e,n){let r=n;for(let o=1;ovoid 0!==t[e]))}function y(t){var{from:e=0,to:n=1,restSpeed:o=2,restDelta:i}=t,a=(0,r.sX)(t,["from","to","restSpeed","restDelta"]);const s={done:!1,value:e};let{stiffness:u,damping:l,mass:c,velocity:p,duration:y,isResolvedFromDuration:x}=function(t){let e=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},t);if(!m(t,h)&&m(t,v)){const n=d(t);e=Object.assign(Object.assign(Object.assign({},e),n),{velocity:0,mass:1}),e.isResolvedFromDuration=!0}return e}(a),b=g,C=g;function w(){const t=p?-p/1e3:0,r=n-e,o=l/(2*Math.sqrt(u*c)),a=Math.sqrt(u/c)/1e3;if(void 0===i&&(i=Math.min(Math.abs(n-e)/100,.4)),o<1){const e=f(a,o);b=i=>{const s=Math.exp(-o*a*i);return n-s*((t+o*a*r)/e*Math.sin(e*i)+r*Math.cos(e*i))},C=n=>{const i=Math.exp(-o*a*n);return o*a*i*(Math.sin(e*n)*(t+o*a*r)/e+r*Math.cos(e*n))-i*(Math.cos(e*n)*(t+o*a*r)-e*r*Math.sin(e*n))}}else if(1===o)b=e=>n-Math.exp(-a*e)*(r+(t+a*r)*e);else{const e=a*Math.sqrt(o*o-1);b=i=>{const s=Math.exp(-o*a*i),u=Math.min(e*i,300);return n-s*((t+o*a*r)*Math.sinh(u)+e*r*Math.cosh(u))/e}}}return w(),{next:t=>{const e=b(t);if(x)s.done=t>=y;else{const r=1e3*C(t),a=Math.abs(r)<=o,u=Math.abs(n-e)<=i;s.done=a&&u}return s.value=s.done?n:e,s},flipTarget:()=>{p=-p,[e,n]=[n,e],w()}}}y.needsInterpolation=(t,e)=>"string"==typeof t||"string"==typeof e;const g=t=>0;var x=n(8540),b=n(5112);function C(t,e){return t.map((()=>e||b.OW)).splice(0,t.length-1)}function w({from:t=0,to:e=1,ease:n,offset:r,duration:o=300}){const i={done:!1,value:t},a=Array.isArray(e)?e:[t,e],s=function(t,e){return t.map((t=>t*e))}(r&&r.length===a.length?r:function(t){const e=t.length;return t.map(((t,n)=>0!==n?n/(e-1):0))}(a),o);function u(){return(0,x.q)(s,a,{ease:Array.isArray(n)?n:C(a,n)})}let l=u();return{next:t=>(i.value=l(t),i.done=t>=o,i),flipTarget:()=>{a.reverse(),l=u()}}}const P={keyframes:w,spring:y,decay:function({velocity:t=0,from:e=0,power:n=.8,timeConstant:r=350,restDelta:o=.5,modifyTarget:i}){const a={done:!1,value:e};let s=n*t;const u=e+s,l=void 0===i?u:i(u);return l!==u&&(s=l-e),{next:t=>{const e=-s*Math.exp(-t/r);return a.done=!(e>o||e<-o),a.value=a.done?l:l+e,a},flipTarget:()=>{}}}};var S=n(5864);function E(t,e,n=0){return t-e-n}const T=t=>{const e=({delta:e})=>t(e);return{start:()=>S.cp.update(e,!0),stop:()=>S.Qz.update(e)}};function A(t){var e,n,{from:o,autoplay:i=!0,driver:a=T,elapsed:s=0,repeat:u=0,repeatType:l="loop",repeatDelay:c=0,onPlay:d,onStop:p,onComplete:f,onRepeat:v,onUpdate:h}=t,m=(0,r.sX)(t,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let g,b,C,{to:S}=m,A=0,M=m.duration,V=!1,O=!0;const I=function(t){if(Array.isArray(t.to))return w;if(P[t.type])return P[t.type];const e=new Set(Object.keys(t));return e.has("ease")||e.has("duration")&&!e.has("dampingRatio")?w:e.has("dampingRatio")||e.has("stiffness")||e.has("mass")||e.has("damping")||e.has("restSpeed")||e.has("restDelta")?y:w}(m);(null===(n=(e=I).needsInterpolation)||void 0===n?void 0:n.call(e,o,S))&&(C=(0,x.q)([0,100],[o,S],{clamp:!1}),o=0,S=100);const k=I(Object.assign(Object.assign({},m),{from:o,to:S}));function R(){A++,"reverse"===l?(O=A%2==0,s=function(t,e,n=0,r=!0){return r?E(e+-t,e,n):e-(t-e)+n}(s,M,c,O)):(s=E(s,M,c),"mirror"===l&&k.flipTarget()),V=!1,v&&v()}function L(t){if(O||(t=-t),s+=t,!V){const t=k.next(Math.max(0,s));b=t.value,C&&(b=C(b)),V=O?t.done:s<=0}null==h||h(b),V&&(0===A&&(null!=M||(M=s)),A=e+n:t<=-n}(s,M,c,O)&&R():(g.stop(),f&&f()))}return i&&(null==d||d(),g=a(L),g.start()),{stop:()=>{null==p||p(),g.stop()}}}var M=n(4376);var V=n(3812);const O=(t,e)=>1-3*e+3*t,I=(t,e)=>3*e-6*t,k=t=>3*t,R=(t,e,n)=>((O(e,n)*t+I(e,n))*t+k(e))*t,L=(t,e,n)=>3*O(e,n)*t*t+2*I(e,n)*t+k(e),D=1e-7,B=10;const j=8;const F=.1;function U(t,e,n,r){if(t===e&&n===r)return b.GW;const o=new Float32Array(11);for(let a=0;a<11;++a)o[a]=R(a*F,t,n);function i(e){let r=0,i=1;for(;10!==i&&o[i]<=e;++i)r+=F;--i;const a=r+(e-o[i])/(o[i+1]-o[i])*F,s=L(a,t,n);return s>=.001?function(t,e,n,r){for(let o=0;o0?n=a:e=a}while(Math.abs(i)>D&&++s0===t||1===t?t:R(i(t),e,r)}var W={linear:b.GW,easeIn:b.Ud,easeInOut:b.OW,easeOut:b.xK,circIn:b.wJ,circInOut:b.i6,circOut:b.Q7,backIn:b.mg,backInOut:b.st,backOut:b.qc,anticipate:b.y6,bounceIn:b.yu,bounceInOut:b.EH,bounceOut:b.gR},N=function(t){if(Array.isArray(t)){(0,o.O)(4===t.length,"Cubic bezier arrays must contain four numerical values.");var e=(0,r.o5)(t,4);return U(e[0],e[1],e[2],e[3])}return"string"==typeof t?((0,o.O)(void 0!==W[t],"Invalid easing type '".concat(t,"'")),W[t]):t},z=function(t){return Array.isArray(t)&&"number"!=typeof t[0]},_=n(3312),H=function(t,e){return"zIndex"!==t&&(!("number"!=typeof e&&!Array.isArray(e))||!("string"!=typeof e||!_.c.test(e)||e.startsWith("url(")))},q=n(4772),Y=function(){return{type:"spring",stiffness:500,damping:25,restSpeed:10}},X=function(t){return{type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}},G=function(){return{type:"keyframes",ease:"linear",duration:.3}},K=function(t){return{type:"keyframes",duration:.8,values:t}},$={x:Y,y:Y,z:Y,rotate:Y,rotateX:Y,rotateY:Y,rotateZ:Y,scaleX:X,scaleY:X,scale:X,opacity:G,backgroundColor:G,color:G,default:X},Z=function(t,e){var n;return n=(0,q.U)(e)?K:$[t]||$.default,(0,r.C3)({to:e},n(e))},Q=n(948),J={current:!1},tt=n(6323);var et=!1;function nt(t,e,n){var i;return Array.isArray(e.to)&&(null!==(i=t.duration)&&void 0!==i||(t.duration=.8)),function(t){Array.isArray(t.to)&&null===t.to[0]&&(t.to=(0,r.Mt)([],(0,r.o5)(t.to),!1),t.to[0]=t.from)}(e),function(t){t.when,t.delay,t.delayChildren,t.staggerChildren,t.staggerDirection,t.repeat,t.repeatType,t.repeatDelay,t.from;var e=(0,r.sX)(t,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(e).length}(t)||(t=(0,r.C3)((0,r.C3)({},t),Z(n,e.to))),(0,r.C3)((0,r.C3)({},e),function(t){var e=t.ease,n=t.times,i=t.yoyo,a=t.flip,s=t.loop,u=(0,r.sX)(t,["ease","times","yoyo","flip","loop"]),l=(0,r.C3)({},u);return n&&(l.offset=n),u.duration&&(l.duration=(0,V.c)(u.duration)),u.repeatDelay&&(l.repeatDelay=(0,V.c)(u.repeatDelay)),e&&(l.ease=z(e)?e.map(N):N(e)),"tween"===u.type&&(l.type="keyframes"),(i||s||a)&&((0,o.s)(!et,"yoyo, loop and flip have been removed from the API. Replace with repeat and repeatType options."),et=!0,i?l.repeatType="reverse":s?l.repeatType="loop":a&&(l.repeatType="mirror"),l.repeat=s||i||a||u.repeat),"spring"!==u.type&&(l.type="keyframes"),l}(t))}function rt(t,e,n,i,a){var s,u=at(i,t),l=null!==(s=u.from)&&void 0!==s?s:e.get(),c=H(t,n);"none"===l&&c&&"string"==typeof n?l=(0,Q.S)(t,n):ot(l)&&"string"==typeof n?l=it(n):!Array.isArray(n)&&ot(n)&&"string"==typeof l&&(n=it(l));var d=H(t,l);return(0,o.s)(d===c,"You are trying to animate ".concat(t,' from "').concat(l,'" to "').concat(n,'". ').concat(l," is not an animatable value - to enable this animation set ").concat(l," to a value animatable to ").concat(n," via the `style` property.")),d&&c&&!1!==u.type?function(){var o={from:l,to:n,velocity:e.getVelocity(),onComplete:a,onUpdate:function(t){return e.set(t)}};return"inertia"===u.type||"decay"===u.type?function({from:t=0,velocity:e=0,min:n,max:r,power:o=.8,timeConstant:i=750,bounceStiffness:a=500,bounceDamping:s=10,restDelta:u=1,modifyTarget:l,driver:c,onUpdate:d,onComplete:p,onStop:f}){let v;function h(t){return void 0!==n&&tr}function m(t){return void 0===n?r:void 0===r||Math.abs(n-t){var n;null==d||d(e),null===(n=t.onUpdate)||void 0===n||n.call(t,e)},onComplete:p,onStop:f}))}function g(t){y(Object.assign({type:"spring",stiffness:a,damping:s,restDelta:u},t))}if(h(t))g({from:t,velocity:e,to:m(t)});else{let r=o*e+t;void 0!==l&&(r=l(r));const a=m(r),s=a===n?-1:1;let c,d;const p=t=>{c=d,d=t,e=(0,M.G)(t-c,(0,S.ov)().delta),(1===s&&t>a||-1===s&&tnull==v?void 0:v.stop()}}((0,r.C3)((0,r.C3)({},o),u)):A((0,r.C3)((0,r.C3)({},nt(u,o,t)),{onUpdate:function(t){var e;o.onUpdate(t),null===(e=u.onUpdate)||void 0===e||e.call(u,t)},onComplete:function(){var t;o.onComplete(),null===(t=u.onComplete)||void 0===t||t.call(u)}}))}:function(){var t,r,o=(0,tt.y)(n);return e.set(o),a(),null===(t=null==u?void 0:u.onUpdate)||void 0===t||t.call(u,o),null===(r=null==u?void 0:u.onComplete)||void 0===r||r.call(u),{stop:function(){}}}}function ot(t){return 0===t||"string"==typeof t&&0===parseFloat(t)&&-1===t.indexOf(" ")}function it(t){return"number"==typeof t?0:(0,Q.S)("",t)}function at(t,e){return t[e]||t.default||t}function st(t,e,n,r){return void 0===r&&(r={}),J.current&&(r={type:!1}),e.start((function(o){var i,a,s=rt(t,e,n,r,o),u=function(t,e){var n,r;return null!==(r=null!==(n=(at(t,e)||{}).delay)&&void 0!==n?n:t.delay)&&void 0!==r?r:0}(r,t),l=function(){return a=s()};return u?i=window.setTimeout(l,(0,V.c)(u)):l(),function(){clearTimeout(i),null==a||a.stop()}}))}},7400:(t,e,n)=>{n.d(e,{K:()=>r});var r=(0,n(1504).createContext)({transformPagePoint:function(t){return t},isStatic:!1,reducedMotion:"never"})},1728:(t,e,n)=>{n.d(e,{q:()=>Co});var r=n(1316),o=n(1504),i="production",a=function(t){return{isEnabled:function(e){return t.some((function(t){return!!e[t]}))}}},s={measureLayout:a(["layout","layoutId","drag"]),animation:a(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:a(["exit"]),drag:a(["drag","dragControls"]),focus:a(["whileFocus"]),hover:a(["whileHover","onHoverStart","onHoverEnd"]),tap:a(["whileTap","onTap","onTapStart","onTapCancel"]),pan:a(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:a(["whileInView","onViewportEnter","onViewportLeave"])};var u=n(8444),l=(0,o.createContext)({strict:!1}),c=Object.keys(s),d=c.length;var p=n(7400),f=(0,o.createContext)({});var v=(0,o.createContext)(null),h=n(1212),m=n(1332),y={current:null},g=!1;function x(){return!g&&function(){if(g=!0,m.u)if(window.matchMedia){var t=window.matchMedia("(prefers-reduced-motion)"),e=function(){return y.current=t.matches};t.addListener(e),e()}else y.current=!1}(),(0,r.o5)((0,o.useState)(y.current),1)[0]}function b(t,e,n,r){var i,a,s=(0,o.useContext)(l),u=(0,o.useContext)(f).visualElement,c=(0,o.useContext)(v),d=(i=x(),"never"!==(a=(0,o.useContext)(p.K).reducedMotion)&&("always"===a||i)),m=(0,o.useRef)(void 0);r||(r=s.renderer),!m.current&&r&&(m.current=r(t,{visualState:e,parent:u,props:n,presenceId:null==c?void 0:c.id,blockInitialAnimation:!1===(null==c?void 0:c.initial),shouldReduceMotion:d}));var y=m.current;return(0,h.M)((function(){null==y||y.syncRender()})),(0,o.useEffect)((function(){var t;null===(t=null==y?void 0:y.animationState)||void 0===t||t.animateChanges()})),(0,h.M)((function(){return function(){return null==y?void 0:y.notifyUnmount()}}),[]),y}function C(t){return"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}function w(t){return Array.isArray(t)}function P(t){return"string"==typeof t||w(t)}function S(t,e,n,r,o){var i;return void 0===r&&(r={}),void 0===o&&(o={}),"function"==typeof e&&(e=e(null!=n?n:t.custom,r,o)),"string"==typeof e&&(e=null===(i=t.variants)||void 0===i?void 0:i[e]),"function"==typeof e&&(e=e(null!=n?n:t.custom,r,o)),e}function E(t,e,n){var r=t.getProps();return S(r,e,null!=n?n:r.custom,function(t){var e={};return t.forEachValue((function(t,n){return e[n]=t.get()})),e}(t),function(t){var e={};return t.forEachValue((function(t,n){return e[n]=t.getVelocity()})),e}(t))}function T(t){var e;return"function"==typeof(null===(e=t.animate)||void 0===e?void 0:e.start)||P(t.initial)||P(t.animate)||P(t.whileHover)||P(t.whileDrag)||P(t.whileTap)||P(t.whileFocus)||P(t.exit)}function A(t){return Boolean(T(t)||t.variants)}function M(t){var e=function(t,e){if(T(t)){var n=t.initial,r=t.animate;return{initial:!1===n||P(n)?n:void 0,animate:P(r)?r:void 0}}return!1!==t.inherit?e:{}}(t,(0,o.useContext)(f)),n=e.initial,r=e.animate;return(0,o.useMemo)((function(){return{initial:n,animate:r}}),[V(n),V(r)])}function V(t){return Array.isArray(t)?t.join(" "):t}var O=n(4648),I={hasAnimatedSinceResize:!0,hasEverUpdated:!1},k=1;var R=(0,o.createContext)({}),L=(0,o.createContext)({});var D=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.ct)(e,t),e.prototype.getSnapshotBeforeUpdate=function(){return this.updateProps(),null},e.prototype.componentDidUpdate=function(){},e.prototype.updateProps=function(){var t=this.props,e=t.visualElement,n=t.props;e&&e.setProps(n)},e.prototype.render=function(){return this.props.children},e}(o.Component);function B(t){var e=t.preloadedFeatures,n=t.createVisualElement,a=t.projectionNodeConstructor,v=t.useRender,h=t.useVisualState,y=t.Component;return e&&function(t){for(var e in t)null!==t[e]&&("projectionNodeConstructor"===e?s.projectionNodeConstructor=t[e]:s[e].Component=t[e])}(e),(0,o.forwardRef)((function(t,g){var x=function(t){var e,n=t.layoutId,r=null===(e=(0,o.useContext)(R))||void 0===e?void 0:e.id;return r&&void 0!==n?r+"-"+n:n}(t);t=(0,r.C3)((0,r.C3)({},t),{layoutId:x});var w=(0,o.useContext)(p.K),P=null,S=M(t),E=w.isStatic?void 0:(0,O._)((function(){if(I.hasEverUpdated)return k++})),T=h(t,w.isStatic);return!w.isStatic&&m.u&&(S.visualElement=b(y,T,(0,r.C3)((0,r.C3)({},w),t),n),function(t,e,n,r){var i,a=e.layoutId,s=e.layout,u=e.drag,l=e.dragConstraints,c=e.layoutScroll,d=(0,o.useContext)(L);r&&n&&!(null==n?void 0:n.projection)&&(n.projection=new r(t,n.getLatestValues(),null===(i=n.parent)||void 0===i?void 0:i.projection),n.projection.setOptions({layoutId:a,layout:s,alwaysMeasureLayout:Boolean(u)||l&&C(l),visualElement:n,scheduleRender:function(){return n.scheduleRender()},animationType:"string"==typeof s?s:"both",initialPromotionConfig:d,layoutScroll:c}))}(E,t,S.visualElement,a||s.projectionNodeConstructor),P=function(t,e,n){var a=[],p=(0,o.useContext)(l);if(!e)return null;"production"!==i&&n&&p.strict&&(0,u.O)(!1,"You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.");for(var f=0;f-1||/[A-Z]/.test(t))}var W={};var N=["","X","Y","Z"],z=["transformPerspective","x","y","z"];function _(t,e){return z.indexOf(t)-z.indexOf(e)}["translate","scale","rotate","skew"].forEach((function(t){return N.forEach((function(e){return z.push(t+e)}))}));var H=new Set(z);function q(t){return H.has(t)}var Y=new Set(["originX","originY","originZ"]);function X(t){return Y.has(t)}function G(t,e){var n=e.layout,r=e.layoutId;return q(t)||X(t)||(n||void 0!==r)&&(!!W[t]||"opacity"===t)}var K=n(184),$={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function Z(t){return t.startsWith("--")}var Q=function(t,e){return e&&"number"==typeof t?e.transform(t):t},J=n(1376);function tt(t,e,n,r){var o,i=t.style,a=t.vars,s=t.transform,u=t.transformKeys,l=t.transformOrigin;u.length=0;var c=!1,d=!1,p=!0;for(var f in e){var v=e[f];if(Z(f))a[f]=v;else{var h=J.i[f],m=Q(v,h);if(q(f)){if(c=!0,s[f]=m,u.push(f),!p)continue;v!==(null!==(o=h.default)&&void 0!==o?o:0)&&(p=!1)}else X(f)?(l[f]=m,d=!0):i[f]=m}}c?i.transform=function(t,e,n,r){var o=t.transform,i=t.transformKeys,a=e.enableHardwareAcceleration,s=void 0===a||a,u=e.allowTransformNone,l=void 0===u||u,c="";i.sort(_);for(var d=!1,p=i.length,f=0;fh&&g,E=Array.isArray(y)?y:[y],T=E.reduce(s,{});!1===x&&(T={});var A=m.prevResolvedValues,M=void 0===A?{}:A,V=(0,r.C3)((0,r.C3)({},M),T),O=function(t){S=!0,f.delete(t),m.needsAnimating[t]=!0};for(var I in V){var k=T[I],R=M[I];v.hasOwnProperty(I)||(k!==R?(0,be.U)(k)&&(0,be.U)(R)?!Ce(k,R)||C?O(I):m.protectedKeys[I]=!0:void 0!==k?O(I):f.add(I):void 0!==k&&f.has(I)?O(I):m.protectedKeys[I]=!0)}m.prevProp=y,m.prevResolvedValues=T,m.isActive&&(v=(0,r.C3)((0,r.C3)({},v),T)),a&&t.blockInitialAnimation&&(S=!1),S&&!b&&p.push.apply(p,(0,r.Mt)([],(0,r.o5)(E.map((function(t){return{animation:t,options:(0,r.C3)({type:i},e)}}))),!1))},y=0;y<_e;y++)m(y);if(i=(0,r.C3)({},v),f.size){var g={};f.forEach((function(e){var n=t.getBaseTarget(e);void 0!==n&&(g[e]=n)})),p.push({animation:g})}var x=Boolean(p.length);return a&&!1===c.initial&&!t.manuallyAnimateOnMount&&(x=!1),a=!1,x?n(p):Promise.resolve()}return{isAnimated:function(t){return void 0!==i[t]},animateChanges:u,setActive:function(e,n,r){var i;if(o[e].isActive===n)return Promise.resolve();null===(i=t.variantChildren)||void 0===i||i.forEach((function(t){var r;return null===(r=t.animationState)||void 0===r?void 0:r.setActive(e,n)})),o[e].isActive=n;var a=u(r,e);for(var s in o)o[s].protectedKeys={};return a},setAnimateFunction:function(e){n=e(t)},getState:function(){return o}}}function Ye(t){return void 0===t&&(t=!1),{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}var Xe={animation:ve((function(t){var e=t.visualElement,n=t.animate;e.animationState||(e.animationState=qe(e)),St(n)&&(0,o.useEffect)((function(){return n.subscribe(e)}),[n])})),exit:ve((function(t){var e=t.custom,n=t.visualElement,i=(0,r.o5)(xe(),2),a=i[0],s=i[1],u=(0,o.useContext)(v);(0,o.useEffect)((function(){var t,r;n.isPresent=a;var o=null===(t=n.animationState)||void 0===t?void 0:t.setActive(Ot.Exit,!a,{custom:null!==(r=null==u?void 0:u.custom)&&void 0!==r?r:e});!a&&(null==o||o.then(s))}),[a])}))},Ge=n(5864),Ke=n(3812);const $e=t=>t.hasOwnProperty("x")&&t.hasOwnProperty("y"),Ze=t=>$e(t)&&t.hasOwnProperty("z");var Qe=n(3336);const Je=(t,e)=>Math.abs(t-e);function tn(t,e){if((0,Qe.K)(t)&&(0,Qe.K)(e))return Je(t,e);if($e(t)&&$e(e)){const n=Je(t.x,e.x),r=Je(t.y,e.y),o=Ze(t)&&Ze(e)?Je(t.z,e.z):0;return Math.sqrt(Math.pow(n,2)+Math.pow(r,2)+Math.pow(o,2))}}var en=function(){function t(t,e,n){var o=this,i=(void 0===n?{}:n).transformPagePoint;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(o.lastMoveEvent&&o.lastMoveEventInfo){var t=on(o.lastMoveEventInfo,o.history),e=null!==o.startEvent,n=tn(t.offset,{x:0,y:0})>=3;if(e||n){var i=t.point,a=(0,Ge.ov)().timestamp;o.history.push((0,r.C3)((0,r.C3)({},i),{timestamp:a}));var s=o.handlers,u=s.onStart,l=s.onMove;e||(u&&u(o.lastMoveEvent,t),o.startEvent=o.lastMoveEvent),l&&l(o.lastMoveEvent,t)}}},this.handlePointerMove=function(t,e){o.lastMoveEvent=t,o.lastMoveEventInfo=nn(e,o.transformPagePoint),Dt(t)&&0===t.buttons?o.handlePointerUp(t,e):Ge.cp.update(o.updatePoint,!0)},this.handlePointerUp=function(t,e){o.end();var n=o.handlers,r=n.onEnd,i=n.onSessionEnd,a=on(nn(e,o.transformPagePoint),o.history);o.startEvent&&r&&r(t,a),i&&i(t,a)},!(Bt(t)&&t.touches.length>1)){this.handlers=e,this.transformPagePoint=i;var a=nn(Wt(t),this.transformPagePoint),s=a.point,u=(0,Ge.ov)().timestamp;this.history=[(0,r.C3)((0,r.C3)({},s),{timestamp:u})];var l=e.onSessionStart;l&&l(t,on(a,this.history)),this.removeListeners=(0,oe.W)(Gt(window,"pointermove",this.handlePointerMove),Gt(window,"pointerup",this.handlePointerUp),Gt(window,"pointercancel",this.handlePointerUp))}}return t.prototype.updateHandlers=function(t){this.handlers=t},t.prototype.end=function(){this.removeListeners&&this.removeListeners(),Ge.Qz.update(this.updatePoint)},t}();function nn(t,e){return e?{point:e(t.point)}:t}function rn(t,e){return{x:t.x-e.x,y:t.y-e.y}}function on(t,e){var n=t.point;return{point:n,delta:rn(n,sn(e)),offset:rn(n,an(e)),velocity:un(e,.1)}}function an(t){return t[0]}function sn(t){return t[t.length-1]}function un(t,e){if(t.length<2)return{x:0,y:0};for(var n=t.length-1,r=null,o=sn(t);n>=0&&(r=t[n],!(o.timestamp-r.timestamp>(0,Ke.c)(e)));)n--;if(!r)return{x:0,y:0};var i=(o.timestamp-r.timestamp)/1e3;if(0===i)return{x:0,y:0};var a={x:(o.x-r.x)/i,y:(o.y-r.y)/i};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}var ln=n(2704),cn=n(6916),dn=n(8456);function pn(t){return t.max-t.min}function fn(t,e,n){return void 0===e&&(e=0),void 0===n&&(n=.01),tn(t,e)e?n="y":Math.abs(t.x)>e&&(n="x");return n}(u),void(null!==n.currentDirection&&(null==a||a(n.currentDirection)));n.updateAxis("x",e.point,u),n.updateAxis("y",e.point,u),n.visualElement.syncRender(),null==s||s(t,e)}},onSessionEnd:function(t,e){return n.stop(t,e)}},{transformPagePoint:this.visualElement.getTransformPagePoint()})}},t.prototype.stop=function(t,e){var n=this.isDragging;if(this.cancel(),n){var r=e.velocity;this.startAnimation(r);var o=this.getProps().onDragEnd;null==o||o(t,e)}},t.prototype.cancel=function(){var t,e;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),null===(t=this.panSession)||void 0===t||t.end(),this.panSession=void 0,!this.getProps().dragPropagation&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),null===(e=this.visualElement.animationState)||void 0===e||e.setActive(Ot.Drag,!1)},t.prototype.updateAxis=function(t,e,n){var r=this.getProps().drag;if(n&&Hn(t,r,this.currentDirection)){var o,i,a,s,u,l=this.getAxisMotionValue(t),c=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(o=c,i=this.constraints[t],a=this.elastic[t],s=i.min,u=i.max,void 0!==s&&ou&&(o=a?(0,ln.C)(u,o,a.max):Math.min(o,u)),c=o),l.set(c)}},t.prototype.resolveConstraints=function(){var t=this,e=this.getProps(),n=e.dragConstraints,r=e.dragElastic,o=(this.visualElement.projection||{}).layout,i=this.constraints;n&&C(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!n||!o)&&function(t,e){var n=e.top,r=e.left,o=e.bottom,i=e.right;return{x:xn(t.x,r,i),y:xn(t.y,n,o)}}(o.actual,n),this.elastic=function(t){return void 0===t&&(t=Cn),!1===t?t=0:!0===t&&(t=Cn),{x:wn(t,"left","right"),y:wn(t,"top","bottom")}}(r),i!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&Tn((function(e){t.getAxisMotionValue(e)&&(t.constraints[e]=function(t,e){var n={};return void 0!==e.min&&(n.min=e.min-t.min),void 0!==e.max&&(n.max=e.max-t.min),n}(o.actual[e],t.constraints[e]))}))},t.prototype.resolveRefConstraints=function(){var t=this.getProps(),e=t.dragConstraints,n=t.onMeasureDragConstraints;if(!e||!C(e))return!1;var r=e.current;(0,u.O)(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");var o=this.visualElement.projection;if(!o||!o.layout)return!1;var i=function(t,e,n){var r=Nn(t,n),o=e.scroll;return o&&(Bn(r.x,o.x),Bn(r.y,o.y)),r}(r,o.root,this.visualElement.getTransformPagePoint()),a=function(t,e){return{x:bn(t.x,e.x),y:bn(t.y,e.y)}}(o.layout.actual,i);if(n){var s=n(function(t){var e=t.x,n=t.y;return{top:n.min,right:e.max,bottom:n.max,left:e.min}}(a));this.hasMutatedConstraints=!!s,s&&(a=An(s))}return a},t.prototype.startAnimation=function(t){var e=this,n=this.getProps(),o=n.drag,i=n.dragMomentum,a=n.dragElastic,s=n.dragTransition,u=n.dragSnapToOrigin,l=n.onDragTransitionEnd,c=this.constraints||{},d=Tn((function(n){var l;if(Hn(n,o,e.currentDirection)){var d=null!==(l=null==c?void 0:c[n])&&void 0!==l?l:{};u&&(d={min:0,max:0});var p=a?200:1e6,f=a?40:1e7,v=(0,r.C3)((0,r.C3)({type:"inertia",velocity:i?t[n]:0,bounceStiffness:p,bounceDamping:f,timeConstant:750,restDelta:1,restSpeed:10},s),d);return e.startAxisValueAnimation(n,v)}}));return Promise.all(d).then(l)},t.prototype.startAxisValueAnimation=function(t,e){var n=this.getAxisMotionValue(t);return(0,we.eo)(t,n,0,e)},t.prototype.stopAnimation=function(){var t=this;Tn((function(e){return t.getAxisMotionValue(e).stop()}))},t.prototype.getAxisMotionValue=function(t){var e,n,r="_drag"+t.toUpperCase(),o=this.visualElement.getProps()[r];return o||this.visualElement.getValue(t,null!==(n=null===(e=this.visualElement.getProps().initial)||void 0===e?void 0:e[t])&&void 0!==n?n:0)},t.prototype.snapToCursor=function(t){var e=this;Tn((function(n){if(Hn(n,e.getProps().drag,e.currentDirection)){var r=e.visualElement.projection,o=e.getAxisMotionValue(n);if(r&&r.layout){var i=r.layout.actual[n],a=i.min,s=i.max;o.set(t[n]-(0,ln.C)(a,s,.5))}}}))},t.prototype.scalePositionWithinConstraints=function(){var t,e=this,n=this.getProps(),r=n.drag,o=n.dragConstraints,i=this.visualElement.projection;if(C(o)&&i&&this.constraints){this.stopAnimation();var a={x:0,y:0};Tn((function(t){var n,r,o,i,s,u=e.getAxisMotionValue(t);if(u){var l=u.get();a[t]=(n={min:l,max:l},r=e.constraints[t],o=.5,i=pn(n),(s=pn(r))>i?o=(0,cn.o)(r.min,r.max-i,n.min):i>s&&(o=(0,cn.o)(n.min,n.max-s,r.min)),(0,dn.q)(0,1,o))}}));var s=this.visualElement.getProps().transformTemplate;this.visualElement.getInstance().style.transform=s?s({},""):"none",null===(t=i.root)||void 0===t||t.updateScroll(),i.updateLayout(),this.resolveConstraints(),Tn((function(t){if(Hn(t,r,null)){var n=e.getAxisMotionValue(t),o=e.constraints[t],i=o.min,s=o.max;n.set((0,ln.C)(i,s,a[t]))}}))}},t.prototype.addListeners=function(){var t,e=this;zn.set(this.visualElement,this);var n=Gt(this.visualElement.getInstance(),"pointerdown",(function(t){var n=e.getProps(),r=n.drag,o=n.dragListener;r&&(void 0===o||o)&&e.start(t)})),r=function(){C(e.getProps().dragConstraints)&&(e.constraints=e.resolveRefConstraints())},o=this.visualElement.projection,i=o.addEventListener("measure",r);o&&!o.layout&&(null===(t=o.root)||void 0===t||t.updateScroll(),o.updateLayout()),r();var a=Rt(window,"resize",(function(){return e.scalePositionWithinConstraints()}));return o.addEventListener("didUpdate",(function(t){var n=t.delta,r=t.hasLayoutChanged;e.isDragging&&r&&(Tn((function(t){var r=e.getAxisMotionValue(t);r&&(e.originPoint[t]+=n[t].translate,r.set(r.get()+n[t].translate))})),e.visualElement.syncRender())})),function(){a(),n(),i()}},t.prototype.getProps=function(){var t=this.visualElement.getProps(),e=t.drag,n=void 0!==e&&e,o=t.dragDirectionLock,i=void 0!==o&&o,a=t.dragPropagation,s=void 0!==a&&a,u=t.dragConstraints,l=void 0!==u&&u,c=t.dragElastic,d=void 0===c?Cn:c,p=t.dragMomentum,f=void 0===p||p;return(0,r.C3)((0,r.C3)({},t),{drag:n,dragDirectionLock:i,dragPropagation:s,dragConstraints:l,dragElastic:d,dragMomentum:f})},t}();function Hn(t,e,n){return!(!0!==e&&e!==t||null!==n&&n!==t)}var qn={pan:ve((function(t){var e=t.onPan,n=t.onPanStart,r=t.onPanEnd,i=t.onPanSessionStart,a=t.visualElement,s=e||n||r||i,u=(0,o.useRef)(null),l=(0,o.useContext)(p.K).transformPagePoint,c={onSessionStart:i,onStart:n,onMove:e,onEnd:function(t,e){u.current=null,r&&r(t,e)}};(0,o.useEffect)((function(){null!==u.current&&u.current.updateHandlers(c)})),Kt(a,"pointerdown",s&&function(t){u.current=new en(t,c,{transformPagePoint:l})}),re((function(){return u.current&&u.current.end()}))})),drag:ve((function(t){var e=t.dragControls,n=t.visualElement,r=(0,O._)((function(){return new _n(n)}));(0,o.useEffect)((function(){return e&&e.subscribe(r)}),[r,e]),(0,o.useEffect)((function(){return r.addListeners()}),[r])}))},Yn=n(2732),Xn=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","LayoutAnimationStart","SetAxisTarget","Unmount"];var Gn=function(t){var e=t.treeType,n=void 0===e?"":e,o=t.build,i=t.getBaseTarget,a=t.makeTargetAnimatable,s=t.measureViewportBox,u=t.render,l=t.readValueFromInstance,c=t.removeValueFromRenderState,d=t.sortNodePosition,p=t.scrapeMotionValuesFromProps;return function(t,e){var f=t.parent,v=t.props,h=t.presenceId,m=t.blockInitialAnimation,y=t.visualState,g=t.shouldReduceMotion;void 0===e&&(e={});var x,b,C=!1,w=y.latestValues,S=y.renderState,E=function(){var t=Xn.map((function(){return new Yn._})),e={},n={clearAllListeners:function(){return t.forEach((function(t){return t.clear()}))},updatePropListeners:function(t){Xn.forEach((function(r){var o,i="on"+r,a=t[i];null===(o=e[r])||void 0===o||o.call(e),a&&(e[r]=n[i](a))}))}};return t.forEach((function(t,e){n["on"+Xn[e]]=function(e){return t.add(e)},n["notify"+Xn[e]]=function(){for(var e=[],n=0;n=0?window.pageYOffset:null,d=function(t,e,n){var r=e.measureViewportBox(),o=e.getInstance(),i=getComputedStyle(o),a=i.display,s={};"none"===a&&e.setStaticValue("display",t.display||"block"),n.forEach((function(t){s[t]=cr[t](r,i)})),e.syncRender();var u=e.measureViewportBox();return n.forEach((function(n){var r=e.getValue(n);or(r,s[n]),t[n]=cr[n](u,i)})),t}(e,t,l);return a.length&&a.forEach((function(e){var n=(0,r.o5)(e,2),o=n[0],i=n[1];t.getValue(o).set(i)})),t.syncRender(),null!==c&&window.scrollTo({top:c}),{target:d,transitionEnd:o}}return{target:e,transitionEnd:o}};function pr(t,e,n,r){return function(t){return Object.keys(t).some(rr)}(e)?dr(t,e,n,r):{target:e,transitionEnd:r}}var fr=function(t,e,n,o){var i=function(t,e,n){var o,i=(0,r.sX)(e,[]),a=t.getInstance();if(!(a instanceof Element))return{target:i,transitionEnd:n};for(var s in n&&(n=(0,r.C3)({},n)),t.forEachValue((function(t){var e=t.get();if(Zn(e)){var n=tr(e,a);n&&t.set(n)}})),i){var u=i[s];if(Zn(u)){var l=tr(u,a);l&&(i[s]=l,n&&(null!==(o=n[s])&&void 0!==o||(n[s]=u)))}}return{target:i,transitionEnd:n}}(t,e,o);return pr(t,e=i.target,n,o=i.transitionEnd)},vr=n(2848);var hr={treeType:"dom",readValueFromInstance:function(t,e){if(q(e)){var n=(0,vr.k)(e);return n&&n.default||0}var r,o=(r=t,window.getComputedStyle(r));return(Z(e)?o.getPropertyValue(e):o[e])||0},sortNodePosition:function(t,e){return 2&t.compareDocumentPosition(e)?1:-1},getBaseTarget:function(t,e){var n;return null===(n=t.style)||void 0===n?void 0:n[e]},measureViewportBox:function(t,e){return Nn(t,e.transformPagePoint)},resetTransform:function(t,e,n){var r=n.transformTemplate;e.style.transform=r?r({},""):"none",t.scheduleRender()},restoreTransform:function(t,e){t.style.transform=e.style.transform},removeValueFromRenderState:function(t,e){var n=e.vars,r=e.style;delete n[t],delete r[t]},makeTargetAnimatable:function(t,e,n,o){var i=n.transformValues;void 0===o&&(o=!0);var a=e.transition,s=e.transitionEnd,u=(0,r.sX)(e,["transition","transitionEnd"]),l=function(t,e,n){var r,o,i={};for(var a in t)i[a]=null!==(r=Be(a,e))&&void 0!==r?r:null===(o=n.getValue(a))||void 0===o?void 0:o.get();return i}(u,a||{},t);if(i&&(s&&(s=i(s)),u&&(u=i(u)),l&&(l=i(l))),o){!function(t,e,n){var r,o,i,a,s=Object.keys(e).filter((function(e){return!t.hasValue(e)})),u=s.length;if(u)for(var l=0;l5)return o;var u=Pe.c.createTransformer(t),l="number"!=typeof s[0]?1:0,c=r.x.scale*n.x,d=r.y.scale*n.y;s[0+l]/=c,s[1+l]/=d;var p=(0,ln.C)(c,d,.5);"number"==typeof s[2+l]&&(s[2+l]/=p),"number"==typeof s[3+l]&&(s[3+l]/=p);var f=u(s);if(i){var v=0;f=f.replace(Cr,(function(){var t=a[v];return v++,t}))}return f}},Pr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.ct)(e,t),e.prototype.componentDidMount=function(){var t,e=this,n=this.props,o=n.visualElement,i=n.layoutGroup,a=n.switchLayoutGroup,s=n.layoutId,u=o.projection;t=Sr,Object.assign(W,t),u&&((null==i?void 0:i.group)&&i.group.add(u),(null==a?void 0:a.register)&&s&&a.register(u),u.root.didUpdate(),u.addEventListener("animationComplete",(function(){e.safeToRemove()})),u.setOptions((0,r.C3)((0,r.C3)({},u.options),{onExitComplete:function(){return e.safeToRemove()}}))),I.hasEverUpdated=!0},e.prototype.getSnapshotBeforeUpdate=function(t){var e=this,n=this.props,r=n.layoutDependency,o=n.visualElement,i=n.drag,a=n.isPresent,s=o.projection;return s?(s.isPresent=a,i||t.layoutDependency!==r||void 0===r?s.willUpdate():this.safeToRemove(),t.isPresent!==a&&(a?s.promote():s.relegate()||Ge.cp.postRender((function(){var t;(null===(t=s.getStack())||void 0===t?void 0:t.members.length)||e.safeToRemove()}))),null):null},e.prototype.componentDidUpdate=function(){var t=this.props.visualElement.projection;t&&(t.root.didUpdate(),!t.currentAnimation&&t.isLead()&&this.safeToRemove())},e.prototype.componentWillUnmount=function(){var t=this.props,e=t.visualElement,n=t.layoutGroup,r=t.switchLayoutGroup,o=e.projection;o&&(o.scheduleCheckAfterUnmount(),(null==n?void 0:n.group)&&n.group.remove(o),(null==r?void 0:r.deregister)&&r.deregister(o))},e.prototype.safeToRemove=function(){var t=this.props.safeToRemove;null==t||t()},e.prototype.render=function(){return null},e}(o.Component);var Sr={borderRadius:(0,r.C3)((0,r.C3)({},br),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:br,borderTopRightRadius:br,borderBottomLeftRadius:br,borderBottomRightRadius:br,boxShadow:wr},Er={measureLayout:function(t){var e=(0,r.o5)(xe(),2),n=e[0],i=e[1],a=(0,o.useContext)(R);return o.createElement(Pr,(0,r.C3)({},t,{layoutGroup:a,switchLayoutGroup:(0,o.useContext)(L),isPresent:n,safeToRemove:i}))}},Tr=n(6972),Ar=n(5112),Mr=["TopLeft","TopRight","BottomLeft","BottomRight"],Vr=Mr.length,Or=function(t){return"string"==typeof t?parseFloat(t):t},Ir=function(t){return"number"==typeof t||lt.px.test(t)};function kr(t,e){var n;return null!==(n=t[e])&&void 0!==n?n:t.borderRadius}var Rr=Dr(0,.5,Ar.Q7),Lr=Dr(.5,.95,Ar.GW);function Dr(t,e,n){return function(r){return re?1:n((0,cn.o)(t,e,r))}}function Br(t,e){t.min=e.min,t.max=e.max}function jr(t,e){Br(t.x,e.x),Br(t.y,e.y)}function Fr(t,e,n,r,o){return t=kn(t-=e,1/n,r),void 0!==o&&(t=kn(t,1/o,r)),t}function Ur(t,e,n,o,i){var a=(0,r.o5)(n,3),s=a[0],u=a[1],l=a[2];!function(t,e,n,r,o,i,a){if(void 0===e&&(e=0),void 0===n&&(n=1),void 0===r&&(r=.5),void 0===i&&(i=t),void 0===a&&(a=t),lt.WI.test(e)&&(e=parseFloat(e),e=(0,ln.C)(a.min,a.max,e/100)-a.min),"number"==typeof e){var s=(0,ln.C)(i.min,i.max,r);t===i&&(s-=e),t.min=Fr(t.min,e,n,s,o),t.max=Fr(t.max,e,n,s,o)}}(t,e[s],e[u],e[l],e.scale,o,i)}var Wr=["x","scaleX","originX"],Nr=["y","scaleY","originY"];function zr(t,e,n,r){Ur(t.x,e,Wr,null==n?void 0:n.x,null==r?void 0:r.x),Ur(t.y,e,Nr,null==n?void 0:n.y,null==r?void 0:r.y)}function _r(t){return 0===t.translate&&1===t.scale}function Hr(t){return _r(t.x)&&_r(t.y)}function qr(t,e){return t.x.min===e.x.min&&t.x.max===e.x.max&&t.y.min===e.y.min&&t.y.max===e.y.max}var Yr=n(244),Xr=function(){function t(){this.members=[]}return t.prototype.add=function(t){(0,Yr.wV)(this.members,t),t.scheduleRender()},t.prototype.remove=function(t){if((0,Yr.sd)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){var e=this.members[this.members.length-1];e&&this.promote(e)}},t.prototype.relegate=function(t){var e,n=this.members.findIndex((function(e){return t===e}));if(0===n)return!1;for(var r=n;r>=0;r--){var o=this.members[r];if(!1!==o.isPresent){e=o;break}}return!!e&&(this.promote(e),!0)},t.prototype.promote=function(t,e){var n,r=this.lead;t!==r&&(this.prevLead=r,this.lead=t,t.show(),r&&(r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,e&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues,t.snapshot.isShared=!0),(null===(n=t.root)||void 0===n?void 0:n.isUpdating)&&(t.isLayoutDirty=!0),!1===t.options.crossfade&&r.hide()))},t.prototype.exitAnimationComplete=function(){this.members.forEach((function(t){var e,n,r,o,i;null===(n=(e=t.options).onExitComplete)||void 0===n||n.call(e),null===(i=null===(r=t.resumingFrom)||void 0===r?void 0:(o=r.options).onExitComplete)||void 0===i||i.call(o)}))},t.prototype.scheduleRender=function(){this.members.forEach((function(t){t.instance&&t.scheduleRender(!1)}))},t.prototype.removeLeadSnapshot=function(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)},t}(),Gr="translate3d(0px, 0px, 0) scale(1, 1) scale(1, 1)";function Kr(t,e,n){var r=t.x.translate/e.x,o=t.y.translate/e.y,i="translate3d(".concat(r,"px, ").concat(o,"px, 0) ");if(i+="scale(".concat(1/e.x,", ").concat(1/e.y,") "),n){var a=n.rotate,s=n.rotateX,u=n.rotateY;a&&(i+="rotate(".concat(a,"deg) ")),s&&(i+="rotateX(".concat(s,"deg) ")),u&&(i+="rotateY(".concat(u,"deg) "))}var l=t.x.scale*e.x,c=t.y.scale*e.y;return(i+="scale(".concat(l,", ").concat(c,")"))===Gr?"none":i}var $r=function(t,e){return t.depth-e.depth},Zr=function(){function t(){this.children=[],this.isDirty=!1}return t.prototype.add=function(t){(0,Yr.wV)(this.children,t),this.isDirty=!0},t.prototype.remove=function(t){(0,Yr.sd)(this.children,t),this.isDirty=!0},t.prototype.forEach=function(t){this.isDirty&&this.children.sort($r),this.isDirty=!1,this.children.forEach(t)},t}();function Qr(t){var e=t.attachResizeListener,n=t.defaultParent,o=t.measureScroll,i=t.checkIsScrollRoot,a=t.resetTransform;return function(){function t(t,e,o){var i=this;void 0===e&&(e={}),void 0===o&&(o=null==n?void 0:n()),this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=function(){i.isUpdating&&(i.isUpdating=!1,i.clearAllSnapshots())},this.updateProjection=function(){i.nodes.forEach(io),i.nodes.forEach(ao)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.id=t,this.latestValues=e,this.root=o?o.root||o:this,this.path=o?(0,r.Mt)((0,r.Mt)([],(0,r.o5)(o.path),!1),[o],!1):[],this.parent=o,this.depth=o?o.depth+1:0,t&&this.root.registerPotentialNode(t,this);for(var a=0;a=0;r--)if(Boolean(t.path[r].instance)){n=t.path[r];break}var o=(n&&n!==t.root?n.instance:document).querySelector('[data-projection-id="'.concat(e,'"]'));o&&t.mount(o,!0)}function ho(t){t.min=Math.round(t.min),t.max=Math.round(t.max)}function mo(t){ho(t.x),ho(t.y)}var yo=Qr({attachResizeListener:function(t,e){return Rt(t,"resize",e)},measureScroll:function(){return{x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}},checkIsScrollRoot:function(){return!0}}),go={current:void 0},xo=Qr({measureScroll:function(t){return{x:t.scrollLeft,y:t.scrollTop}},defaultParent:function(){if(!go.current){var t=new yo(0,{});t.mount(window),t.setOptions({layoutScroll:!0}),go.current=t}return go.current},resetTransform:function(t,e){t.style.transform=null!=e?e:"none"},checkIsScrollRoot:function(t){return Boolean("fixed"===window.getComputedStyle(t).position)}}),bo=(0,r.C3)((0,r.C3)((0,r.C3)((0,r.C3)({},Xe),he),qn),Er),Co=j((function(t,e){return function(t,e,n,o,i){var a=e.forwardMotionProps,s=void 0!==a&&a,u=U(t)?It:kt;return(0,r.C3)((0,r.C3)({},u),{preloadedFeatures:n,useRender:mt(s),createVisualElement:o,projectionNodeConstructor:i,Component:t})}(t,e,bo,gr,xo)}))},948:(t,e,n)=>{n.d(e,{S:()=>a});var r=n(5640),o=n(3312),i=n(2848);function a(t,e){var n,a=(0,i.k)(t);return a!==r.I&&(a=o.c),null===(n=a.getAnimatableNone)||void 0===n?void 0:n.call(a,e)}},2848:(t,e,n)=>{n.d(e,{k:()=>u});var r=n(1316),o=n(6848),i=n(5640),a=n(1376),s=(0,r.C3)((0,r.C3)({},a.i),{color:o.I,backgroundColor:o.I,outlineColor:o.I,fill:o.I,stroke:o.I,borderColor:o.I,borderTopColor:o.I,borderRightColor:o.I,borderBottomColor:o.I,borderLeftColor:o.I,filter:i.I,WebkitFilter:i.I}),u=function(t){return s[t]}},1376:(t,e,n)=>{n.d(e,{i:()=>s});var r=n(1820),o=n(3040),i=n(1316),a=(0,i.C3)((0,i.C3)({},o.CQ),{transform:Math.round}),s={borderWidth:r.px,borderTopWidth:r.px,borderRightWidth:r.px,borderBottomWidth:r.px,borderLeftWidth:r.px,borderRadius:r.px,radius:r.px,borderTopLeftRadius:r.px,borderTopRightRadius:r.px,borderBottomRightRadius:r.px,borderBottomLeftRadius:r.px,width:r.px,maxWidth:r.px,height:r.px,maxHeight:r.px,size:r.px,top:r.px,right:r.px,bottom:r.px,left:r.px,padding:r.px,paddingTop:r.px,paddingRight:r.px,paddingBottom:r.px,paddingLeft:r.px,margin:r.px,marginTop:r.px,marginRight:r.px,marginBottom:r.px,marginLeft:r.px,rotate:r.oh,rotateX:r.oh,rotateY:r.oh,rotateZ:r.oh,scale:o.aU,scaleX:o.aU,scaleY:o.aU,scaleZ:o.aU,skew:r.oh,skewX:r.oh,skewY:r.oh,distance:r.px,translateX:r.px,translateY:r.px,translateZ:r.px,x:r.px,y:r.px,z:r.px,perspective:r.px,transformPerspective:r.px,opacity:o.W4,originX:r._e,originY:r._e,originZ:r.px,zIndex:a,fillOpacity:o.W4,strokeOpacity:o.W4,numOctaves:a}},244:(t,e,n)=>{function r(t,e){-1===t.indexOf(e)&&t.push(e)}function o(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}n.d(e,{sd:()=>o,wV:()=>r})},1332:(t,e,n)=>{n.d(e,{u:()=>r});var r="undefined"!=typeof document},6323:(t,e,n)=>{n.d(e,{O:()=>o,y:()=>i});var r=n(4772),o=function(t){return Boolean(t&&"object"==typeof t&&t.mix&&t.toValue)},i=function(t){return(0,r.U)(t)?t[t.length-1]||0:t}},2732:(t,e,n)=>{n.d(e,{_:()=>o});var r=n(244),o=function(){function t(){this.subscriptions=[]}return t.prototype.add=function(t){var e=this;return(0,r.wV)(this.subscriptions,t),function(){return(0,r.sd)(e.subscriptions,t)}},t.prototype.notify=function(t,e,n){var r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](t,e,n);else for(var o=0;o{n.d(e,{c:()=>r});var r=function(t){return 1e3*t}},4648:(t,e,n)=>{n.d(e,{_:()=>o});var r=n(1504);function o(t){var e=(0,r.useRef)(null);return null===e.current&&(e.current=t()),e.current}},1212:(t,e,n)=>{n.d(e,{M:()=>o});var r=n(1504),o=n(1332).u?r.useLayoutEffect:r.useEffect},5908:(t,e,n)=>{n.d(e,{w:()=>s});var r=n(5864),o=n(4376),i=n(2732),a=function(){function t(t){var e,n=this;this.version="6.5.1",this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new i._,this.velocityUpdateSubscribers=new i._,this.renderSubscribers=new i._,this.canTrackVelocity=!1,this.updateAndNotify=function(t,e){void 0===e&&(e=!0),n.prev=n.current,n.current=t;var o=(0,r.ov)(),i=o.delta,a=o.timestamp;n.lastUpdated!==a&&(n.timeDelta=i,n.lastUpdated=a,r.cp.postRender(n.scheduleVelocityCheck)),n.prev!==n.current&&n.updateSubscribers.notify(n.current),n.velocityUpdateSubscribers.getSize()&&n.velocityUpdateSubscribers.notify(n.getVelocity()),e&&n.renderSubscribers.notify(n.current)},this.scheduleVelocityCheck=function(){return r.cp.postRender(n.velocityCheck)},this.velocityCheck=function(t){t.timestamp!==n.lastUpdated&&(n.prev=n.current,n.velocityUpdateSubscribers.notify(n.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=(e=this.current,!isNaN(parseFloat(e)))}return t.prototype.onChange=function(t){return this.updateSubscribers.add(t)},t.prototype.clearListeners=function(){this.updateSubscribers.clear()},t.prototype.onRenderRequest=function(t){return t(this.get()),this.renderSubscribers.add(t)},t.prototype.attach=function(t){this.passiveEffect=t},t.prototype.set=function(t,e){void 0===e&&(e=!0),e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)},t.prototype.get=function(){return this.current},t.prototype.getPrevious=function(){return this.prev},t.prototype.getVelocity=function(){return this.canTrackVelocity?(0,o.G)(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0},t.prototype.start=function(t){var e=this;return this.stop(),new Promise((function(n){e.hasAnimated=!0,e.stopAnimation=t(n)})).then((function(){return e.clearAnimation()}))},t.prototype.stop=function(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()},t.prototype.isAnimating=function(){return!!this.stopAnimation},t.prototype.clearAnimation=function(){this.stopAnimation=null},t.prototype.destroy=function(){this.updateSubscribers.clear(),this.renderSubscribers.clear(),this.stop()},t}();function s(t){return new a(t)}},5680:(t,e,n)=>{n.d(e,{Y:()=>u});var r=n(1316),o=n(1504),i=n(5908),a=n(7400),s=n(4648);function u(t){var e=(0,s._)((function(){return(0,i.w)(t)}));if((0,o.useContext)(a.K).isStatic){var n=(0,r.o5)((0,o.useState)(t),2)[1];(0,o.useEffect)((function(){return e.onChange(n)}),[])}return e}},4332:(t,e,n)=>{n.d(e,{Q:()=>q});var r=n(1316);const o=new WeakMap;let i;function a({target:t,contentRect:e,borderBoxSize:n}){var r;null===(r=o.get(t))||void 0===r||r.forEach((r=>{r({target:t,contentSize:e,get size(){return function(t,e){if(e){const{inlineSize:t,blockSize:n}=e[0];return{width:t,height:n}}return t instanceof SVGElement&&"getBBox"in t?t.getBBox():{width:t.offsetWidth,height:t.offsetHeight}}(t,n)}})}))}function s(t){t.forEach(a)}function u(t,e){i||"undefined"!=typeof ResizeObserver&&(i=new ResizeObserver(s));const n=function(t,e){var n;return"string"==typeof t?e?(null!==(n=e[t])&&void 0!==n||(e[t]=document.querySelectorAll(t)),t=e[t]):t=document.querySelectorAll(t):t instanceof Element&&(t=[t]),Array.from(t||[])}(t);return n.forEach((t=>{let n=o.get(t);n||(n=new Set,o.set(t,n)),n.add(e),null==i||i.observe(t)})),()=>{n.forEach((t=>{const n=o.get(t);null==n||n.delete(e),(null==n?void 0:n.size)||null==i||i.unobserve(t)}))}}const l=new Set;let c;function d(t){return l.add(t),c||(c=()=>{const t={width:window.innerWidth,height:window.innerHeight},e={target:window,size:t,contentSize:t};l.forEach((t=>t(e)))},window.addEventListener("resize",c)),()=>{l.delete(t),!l.size&&c&&(c=void 0)}}const p=(t,e,n)=>e-t==0?1:(n-t)/(e-t);const f=50,v=()=>({time:0,x:{current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0},y:{current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}}),h={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function m(t,e,n,r){const o=n[e],{length:i,position:a}=h[e],s=o.current,u=n.time;o.current=t["scroll"+a],o.scrollLength=t["scroll"+i]-t["client"+i],o.offset.length=0,o.offset[0]=0,o.offset[1]=o.scrollLength,o.progress=p(0,o.scrollLength,o.current);const l=r-u;var c,d;o.velocity=l>f?0:(c=o.current-s,(d=l)?c*(1e3/d):0)}const y=t=>t,g=(t,e,n)=>-n*t+n*e+t;function x(t,e){const n=t[t.length-1];for(let r=1;r<=e;r++){const o=p(0,e,r);t.push(g(n,1,o))}}function b(t){const e=[0];return x(e,t-1),e}const C=t=>"number"==typeof t,w=t=>Array.isArray(t)&&!C(t[0]),P=(t,e,n)=>{const r=e-t;return((n-t)%r+r)%r+t};const S=(t,e,n)=>Math.min(Math.max(n,t),e);function E(t,e=b(t.length),n=y){const r=t.length,o=r-e.length;return o>0&&x(e,o),o=>{let i=0;for(;i"string"==typeof t,M={start:0,center:.5,end:1};function V(t,e,n=0){let r=0;if(void 0!==M[t]&&(t=M[t]),A(t)){const e=parseFloat(t);t.endsWith("px")?r=e:t.endsWith("%")?t=e/100:t.endsWith("vw")?r=e/100*document.documentElement.clientWidth:t.endsWith("vh")?r=e/100*document.documentElement.clientHeight:t=e}return C(t)&&(r=e*t),n+r}const O=[0,0];function I(t,e,n,r){let o=Array.isArray(t)?t:O,i=0,a=0;return C(t)?o=[t,t]:A(t)&&(o=(t=t.trim()).includes(" ")?t.split(" "):[t,M[t]?t:"0"]),i=V(o[0],n,r),a=V(o[1],e),i-a}const k={x:0,y:0};function R(t,e,n){let{offset:r=T.All}=n;const{target:o=t,axis:i="y"}=n,a="y"===i?"height":"width",s=o!==t?function(t,e){let n={x:0,y:0},r=t;for(;r&&r!==e;)if(r instanceof HTMLElement)n.x+=r.offsetLeft,n.y+=r.offsetTop,r=r.offsetParent;else if(r instanceof SVGGraphicsElement&&"getBBox"in r){const{top:t,left:e}=r.getBBox();for(n.x+=e,n.y+=t;r&&"svg"!==r.tagName;)r=r.parentNode}return n}(o,t):k,u=o===t?{width:t.scrollWidth,height:t.scrollHeight}:{width:o.clientWidth,height:o.clientHeight},l={width:t.clientWidth,height:t.clientHeight};e[i].offset.length=0;let c=!e[i].interpolate;const d=r.length;for(let p=0;pfunction(t,e=t,n){if(n.x.targetOffset=0,n.y.targetOffset=0,e!==t){let r=e;for(;r&&r!=t;)n.x.targetOffset+=r.offsetLeft,n.y.targetOffset+=r.offsetTop,r=r.offsetParent}n.x.targetLength=e===t?e.scrollWidth:e.clientWidth,n.y.targetLength=e===t?e.scrollHeight:e.clientHeight,n.x.containerLength=t.clientWidth,n.y.containerLength=t.clientHeight}(t,r.target,n),update:e=>{!function(t,e,n){m(t,"x",e,n),m(t,"y",e,n),e.time=n}(t,n,e),(r.offset||r.target)&&R(t,n,r)},notify:"function"==typeof e?()=>e(n):D(e,n[o])}}function D(t,e){return t.pause(),t.forEachNative(((t,{easing:e})=>{var n,r;if(t.updateDuration)e||(t.easing=y),t.updateDuration(1);else{const o={duration:1e3};e||(o.easing="linear"),null===(r=null===(n=t.effect)||void 0===n?void 0:n.updateTiming)||void 0===r||r.call(n,o)}})),()=>{t.currentTime=e.progress}}const B=new WeakMap,j=new WeakMap,F=new WeakMap,U=t=>t===document.documentElement?window:t;function W(t,e={}){var{container:n=document.documentElement}=e,o=(0,r.sX)(e,["container"]);let i=F.get(n);i||(i=new Set,F.set(n,i));const a=v(),s=L(n,t,a,o);if(i.add(s),!B.has(n)){const t=()=>{const t=performance.now();for(const e of i)e.measure();for(const e of i)e.update(t);for(const e of i)e.notify()};B.set(n,t);const e=U(n);window.addEventListener("resize",t,{passive:!0}),n!==document.documentElement&&j.set(n,(c=t,"function"==typeof(l=n)?d(l):u(l,c))),e.addEventListener("scroll",t,{passive:!0})}var l,c;const p=B.get(n),f=requestAnimationFrame(p);return()=>{var e;"function"!=typeof t&&t.stop(),cancelAnimationFrame(f);const r=F.get(n);if(!r)return;if(r.delete(s),r.size)return;const o=B.get(n);B.delete(n),o&&(U(n).removeEventListener("scroll",o),null===(e=j.get(n))||void 0===e||e(),window.removeEventListener("resize",o))}}var N=n(5908),z=n(4648),_=n(1212),H=function(){return{scrollX:(0,N.w)(0),scrollY:(0,N.w)(0),scrollXProgress:(0,N.w)(0),scrollYProgress:(0,N.w)(0)}};function q(t){void 0===t&&(t={});var e=t.container,n=t.target,o=(0,r.sX)(t,["container","target"]),i=(0,z._)(H);return(0,_.M)((function(){return W((function(t){var e=t.x,n=t.y;i.scrollX.set(e.current),i.scrollXProgress.set(e.progress),i.scrollY.set(n.current),i.scrollYProgress.set(n.progress)}),(0,r.C3)((0,r.C3)({},o),{container:(null==e?void 0:e.current)||void 0,target:(null==n?void 0:n.current)||void 0}))}),[]),i}},344:(t,e,n)=>{n.d(e,{s:()=>d});var r=n(1316),o=n(8540),i=function(t){return function(t){return"object"==typeof t&&t.mix}(t)?t.mix:void 0};var a=n(5680),s=n(1212);var u=n(5864);function l(t,e){var n=(0,a.Y)(e()),r=function(){return n.set(e())};return r(),function(t,e){(0,s.M)((function(){var n=t.map((function(t){return t.onChange(e)}));return function(){return n.forEach((function(t){return t()}))}}))}(t,(function(){return u.cp.update(r,!1,!0)})),n}var c=n(4648);function d(t,e,n,a){var s="function"==typeof e?e:function(){for(var t=[],e=0;e{n.d(e,{Y:()=>r});var r=function(t){return Boolean(null!==t&&"object"==typeof t&&t.getVelocity)}},5864:(t,e,n)=>{n.d(e,{Qz:()=>f,cp:()=>x,Wi:()=>v,ov:()=>g});const r=1/60*1e3,o="undefined"!=typeof performance?()=>performance.now():()=>Date.now(),i="undefined"!=typeof window?t=>window.requestAnimationFrame(t):t=>setTimeout((()=>t(o())),r);let a=!0,s=!1,u=!1;const l={delta:0,timestamp:0},c=["read","update","preRender","render","postRender"],d=c.reduce(((t,e)=>(t[e]=function(t){let e=[],n=[],r=0,o=!1,i=!1;const a=new WeakSet,s={schedule:(t,i=!1,s=!1)=>{const u=s&&o,l=u?e:n;return i&&a.add(t),-1===l.indexOf(t)&&(l.push(t),u&&o&&(r=e.length)),t},cancel:t=>{const e=n.indexOf(t);-1!==e&&n.splice(e,1),a.delete(t)},process:u=>{if(o)i=!0;else{if(o=!0,[e,n]=[n,e],n.length=0,r=e.length,r)for(let n=0;ns=!0)),t)),{}),p=c.reduce(((t,e)=>{const n=d[e];return t[e]=(t,e=!1,r=!1)=>(s||y(),n.schedule(t,e,r)),t}),{}),f=c.reduce(((t,e)=>(t[e]=d[e].cancel,t)),{}),v=c.reduce(((t,e)=>(t[e]=()=>d[e].process(l),t)),{}),h=t=>d[t].process(l),m=t=>{s=!1,l.delta=a?r:Math.max(Math.min(t-l.timestamp,40),1),l.timestamp=t,u=!0,c.forEach(h),u=!1,s&&(a=!1,i(m))},y=()=>{s=!0,a=!0,u||i(m)},g=()=>l,x=p},5112:(t,e,n)=>{n.d(e,{y6:()=>y,mg:()=>v,st:()=>m,qc:()=>h,yu:()=>x,EH:()=>b,gR:()=>g,wJ:()=>d,i6:()=>f,Q7:()=>p,Ud:()=>s,OW:()=>c,xK:()=>l,GW:()=>a});const r=t=>e=>1-t(1-e),o=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,i=t=>e=>e*e*((t+1)*e-t),a=t=>t,s=(u=2,t=>Math.pow(t,u));var u;const l=r(s),c=o(s),d=t=>1-Math.sin(Math.acos(t)),p=r(d),f=o(p),v=i(1.525),h=r(v),m=o(v),y=(t=>{const e=i(t);return t=>(t*=2)<1?.5*e(t):.5*(2-Math.pow(2,-10*(t-1)))})(1.525),g=t=>{if(1===t||0===t)return t;const e=t*t;return t<.36363636363636365?7.5625*e:t<.7272727272727273?9.075*e-9.9*t+3.4:t<.9?12.066481994459833*e-19.63545706371191*t+8.898060941828255:10.8*t*t-20.52*t+10.72},x=r(g),b=t=>t<.5?.5*(1-g(1-2*t)):.5*g(2*t-1)+.5},8456:(t,e,n)=>{n.d(e,{q:()=>r});const r=(t,e,n)=>Math.min(Math.max(n,t),e)},3336:(t,e,n)=>{n.d(e,{K:()=>r});const r=t=>"number"==typeof t},8540:(t,e,n)=>{n.d(e,{q:()=>M});var r=n(6916),o=n(2704),i=n(6728),a=n(6360),s=n(2836),u=n(8444);function l(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function c({hue:t,saturation:e,lightness:n,alpha:r}){t/=360,n/=100;let o=0,i=0,a=0;if(e/=100){const r=n<.5?n*(1+e):n+e-n*e,s=2*n-r;o=l(s,r,t+1/3),i=l(s,r,t),a=l(s,r,t-1/3)}else o=i=a=n;return{red:Math.round(255*o),green:Math.round(255*i),blue:Math.round(255*a),alpha:r}}const d=(t,e,n)=>{const r=t*t,o=e*e;return Math.sqrt(Math.max(0,n*(o-r)+r))},p=[i.c,a.M,s.u],f=t=>p.find((e=>e.test(t))),v=t=>`'${t}' is not an animatable color. Use the equivalent color code instead.`,h=(t,e)=>{let n=f(t),r=f(e);(0,u.O)(!!n,v(t)),(0,u.O)(!!r,v(e));let i=n.parse(t),l=r.parse(e);n===s.u&&(i=c(i),n=a.M),r===s.u&&(l=c(l),r=a.M);const p=Object.assign({},i);return t=>{for(const e in p)"alpha"!==e&&(p[e]=d(i[e],l[e],t));return p.alpha=(0,o.C)(i.alpha,l.alpha,t),n.transform(p)}};var m=n(6848),y=n(3312),g=n(3336),x=n(4696);function b(t,e){return(0,g.K)(t)?n=>(0,o.C)(t,e,n):m.I.test(t)?h(t,e):S(t,e)}const C=(t,e)=>{const n=[...t],r=n.length,o=t.map(((t,n)=>b(t,e[n])));return t=>{for(let e=0;e{const n=Object.assign(Object.assign({},t),e),r={};for(const o in n)void 0!==t[o]&&void 0!==e[o]&&(r[o]=b(t[o],e[o]));return t=>{for(const e in r)n[e]=r[e](t);return n}};function P(t){const e=y.c.parse(t),n=e.length;let r=0,o=0,i=0;for(let a=0;a{const n=y.c.createTransformer(e),r=P(t),o=P(e);return r.numHSL===o.numHSL&&r.numRGB===o.numRGB&&r.numNumbers>=o.numNumbers?(0,x.W)(C(r.parsed,o.parsed),n):((0,u.s)(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),n=>`${n>0?e:t}`)};var E=n(8456);const T=(t,e)=>n=>(0,o.C)(t,e,n);function A(t,e,n){const r=[],o=n||("number"==typeof(i=t[0])?T:"string"==typeof i?m.I.test(i)?h:S:Array.isArray(i)?C:"object"==typeof i?w:void 0);var i;const a=t.length-1;for(let s=0;st[a-1]&&(t=[].concat(t),e=[].concat(e),t.reverse(),e.reverse());const s=A(e,o,i),l=2===a?function([t,e],[n]){return o=>n((0,r.o)(t,e,o))}(t,s):function(t,e){const n=t.length,o=n-1;return i=>{let a=0,s=!1;if(i<=t[0]?s=!0:i>=t[o]&&(a=o-1,s=!0),!s){let e=1;for(;ei||e===o);e++);a=e-1}const u=(0,r.o)(t[a],t[a+1],i);return e[a](u)}}(t,s);return n?e=>l((0,E.q)(t[0],t[a-1],e)):l}},2704:(t,e,n)=>{n.d(e,{C:()=>r});const r=(t,e,n)=>-n*t+n*e+t},4696:(t,e,n)=>{n.d(e,{W:()=>o});const r=(t,e)=>n=>e(t(n)),o=(...t)=>t.reduce(r)},6916:(t,e,n)=>{n.d(e,{o:()=>r});const r=(t,e,n)=>{const r=e-t;return 0===r?1:(n-t)/r}},4376:(t,e,n)=>{function r(t,e){return e?t*(1e3/e):0}n.d(e,{G:()=>r})},6728:(t,e,n)=>{n.d(e,{c:()=>o});var r=n(6360);const o={test:(0,n(6533).W)("#"),parse:function(t){let e="",n="",r="",o="";return t.length>5?(e=t.substr(1,2),n=t.substr(3,2),r=t.substr(5,2),o=t.substr(7,2)):(e=t.substr(1,1),n=t.substr(2,1),r=t.substr(3,1),o=t.substr(4,1),e+=e,n+=n,r+=r,o+=o),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}},transform:r.M.transform}},2836:(t,e,n)=>{n.d(e,{u:()=>s});var r=n(3040),o=n(1820),i=n(1936),a=n(6533);const s={test:(0,a.W)("hsl","hue"),parse:(0,a.G)("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:a=1})=>"hsla("+Math.round(t)+", "+o.WI.transform((0,i.Ok)(e))+", "+o.WI.transform((0,i.Ok)(n))+", "+(0,i.Ok)(r.W4.transform(a))+")"}},6848:(t,e,n)=>{n.d(e,{I:()=>s});var r=n(1936),o=n(6728),i=n(2836),a=n(6360);const s={test:t=>a.M.test(t)||o.c.test(t)||i.u.test(t),parse:t=>a.M.test(t)?a.M.parse(t):i.u.test(t)?i.u.parse(t):o.c.parse(t),transform:t=>(0,r.ct)(t)?t:t.hasOwnProperty("red")?a.M.transform(t):i.u.transform(t)}},6360:(t,e,n)=>{n.d(e,{M:()=>u});var r=n(3040),o=n(1936),i=n(6533);const a=(0,o.qk)(0,255),s=Object.assign(Object.assign({},r.CQ),{transform:t=>Math.round(a(t))}),u={test:(0,i.W)("rgb","red"),parse:(0,i.G)("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:i=1})=>"rgba("+s.transform(t)+", "+s.transform(e)+", "+s.transform(n)+", "+(0,o.Ok)(r.W4.transform(i))+")"}},6533:(t,e,n)=>{n.d(e,{G:()=>i,W:()=>o});var r=n(1936);const o=(t,e)=>n=>Boolean((0,r.ct)(n)&&r.CC.test(n)&&n.startsWith(t)||e&&Object.prototype.hasOwnProperty.call(n,e)),i=(t,e,n)=>o=>{if(!(0,r.ct)(o))return o;const[i,a,s,u]=o.match(r.au);return{[t]:parseFloat(i),[e]:parseFloat(a),[n]:parseFloat(s),alpha:void 0!==u?parseFloat(u):1}}},5640:(t,e,n)=>{n.d(e,{I:()=>u});var r=n(3312),o=n(1936);const i=new Set(["brightness","contrast","saturate","opacity"]);function a(t){let[e,n]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;const[r]=n.match(o.au)||[];if(!r)return t;const a=n.replace(r,"");let s=i.has(e)?1:0;return r!==n&&(s*=100),e+"("+s+a+")"}const s=/([a-z-]*)\(.*?\)/g,u=Object.assign(Object.assign({},r.c),{getAnimatableNone:t=>{const e=t.match(s);return e?e.map(a).join(" "):t}})},3312:(t,e,n)=>{n.d(e,{c:()=>p});var r=n(6848),o=n(3040),i=n(1936);const a="${c}",s="${n}";function u(t){"number"==typeof t&&(t=`${t}`);const e=[];let n=0;const u=t.match(i.iO);u&&(n=u.length,t=t.replace(i.iO,a),e.push(...u.map(r.I.parse)));const l=t.match(i.au);return l&&(t=t.replace(i.au,s),e.push(...l.map(o.CQ.parse))),{values:e,numColors:n,tokenised:t}}function l(t){return u(t).values}function c(t){const{values:e,numColors:n,tokenised:o}=u(t),l=e.length;return t=>{let e=o;for(let o=0;o"number"==typeof t?0:t;const p={test:function(t){var e,n,r,o;return isNaN(t)&&(0,i.ct)(t)&&(null!==(n=null===(e=t.match(i.au))||void 0===e?void 0:e.length)&&void 0!==n?n:0)+(null!==(o=null===(r=t.match(i.iO))||void 0===r?void 0:r.length)&&void 0!==o?o:0)>0},parse:l,createTransformer:c,getAnimatableNone:function(t){const e=l(t);return c(t)(e.map(d))}}},3040:(t,e,n)=>{n.d(e,{CQ:()=>o,W4:()=>i,aU:()=>a});var r=n(1936);const o={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},i=Object.assign(Object.assign({},o),{transform:(0,r.qk)(0,1)}),a=Object.assign(Object.assign({},o),{default:1})},1820:(t,e,n)=>{n.d(e,{WI:()=>a,_e:()=>c,oh:()=>i,px:()=>s,vh:()=>u,vw:()=>l});var r=n(1936);const o=t=>({test:e=>(0,r.ct)(e)&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),i=o("deg"),a=o("%"),s=o("px"),u=o("vh"),l=o("vw"),c=Object.assign(Object.assign({},a),{parse:t=>a.parse(t)/100,transform:t=>a.transform(100*t)})},1936:(t,e,n)=>{n.d(e,{CC:()=>s,Ok:()=>o,au:()=>i,ct:()=>u,iO:()=>a,qk:()=>r});const r=(t,e)=>n=>Math.max(Math.min(n,e),t),o=t=>t%1?Number(t.toFixed(5)):t,i=/(-)?([\d]*\.?[\d])+/g,a=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))/gi,s=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function u(t){return"string"==typeof t}},1316:(t,e,n)=>{n.d(e,{C3:()=>i,Mt:()=>u,ct:()=>o,o5:()=>s,sX:()=>a});var r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)};function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var i=function(){return i=Object.assign||function(t){for(var e,n=1,r=arguments.length;n0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function u(t,e,n){if(n||2===arguments.length)for(var r,o=0,i=e.length;o{n.d(e,{O:()=>o,s:()=>r});var r=function(){},o=function(){}},7008:(t,e,n)=>{n.d(e,{C:()=>I});var r,o=n(1504),i=n(7616),a=n(9648),s=n(7368),u=n(1403),l=n(5948),c=n(1792),d=n(7168),p=n(3048),f=n(2448),v=n(8512);let h=null!=(r=o.startTransition)?r:function(t){t()};var m,y=((m=y||{})[m.Open=0]="Open",m[m.Closed=1]="Closed",m),g=(t=>(t[t.ToggleDisclosure=0]="ToggleDisclosure",t[t.CloseDisclosure=1]="CloseDisclosure",t[t.SetButtonId=2]="SetButtonId",t[t.SetPanelId=3]="SetPanelId",t[t.LinkPanel=4]="LinkPanel",t[t.UnlinkPanel=5]="UnlinkPanel",t))(g||{});let x={0:t=>({...t,disclosureState:(0,i._)(t.disclosureState,{0:1,1:0})}),1:t=>1===t.disclosureState?t:{...t,disclosureState:1},4:t=>!0===t.linkedPanel?t:{...t,linkedPanel:!0},5:t=>!1===t.linkedPanel?t:{...t,linkedPanel:!1},2:(t,e)=>t.buttonId===e.buttonId?t:{...t,buttonId:e.buttonId},3:(t,e)=>t.panelId===e.panelId?t:{...t,panelId:e.panelId}},b=(0,o.createContext)(null);function C(t){let e=(0,o.useContext)(b);if(null===e){let e=new Error(`<${t} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(e,C),e}return e}b.displayName="DisclosureContext";let w=(0,o.createContext)(null);function P(t){let e=(0,o.useContext)(w);if(null===e){let e=new Error(`<${t} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(e,P),e}return e}w.displayName="DisclosureAPIContext";let S=(0,o.createContext)(null);function E(t,e){return(0,i._)(e.type,x,t,e)}S.displayName="DisclosurePanelContext";let T=o.Fragment;let A=a.B4.RenderStrategy|a.B4.Static;let M=(0,a.op)((function(t,e){let{defaultOpen:n=!1,...r}=t,u=(0,o.useRef)(null),l=(0,s.q)(e,(0,s.s)((t=>{u.current=t}),void 0===t.as||t.as===o.Fragment)),c=(0,o.useRef)(null),p=(0,o.useRef)(null),h=(0,o.useReducer)(E,{disclosureState:n?0:1,linkedPanel:!1,buttonRef:p,panelRef:c,buttonId:null,panelId:null}),[{disclosureState:m,buttonId:y},g]=h,x=(0,v.y)((t=>{g({type:1});let e=(0,f.e)(u);if(!e||!y)return;let n=t?t instanceof HTMLElement?t:t.current instanceof HTMLElement?t.current:e.getElementById(y):e.getElementById(y);null==n||n.focus()})),C=(0,o.useMemo)((()=>({close:x})),[x]),P=(0,o.useMemo)((()=>({open:0===m,close:x})),[m,x]),S={ref:l};return o.createElement(b.Provider,{value:h},o.createElement(w.Provider,{value:C},o.createElement(d.uR,{value:(0,i._)(m,{0:d.Ad.Open,1:d.Ad.Closed})},(0,a.ai)({ourProps:S,theirProps:r,slot:P,defaultTag:T,name:"Disclosure"}))))})),V=(0,a.op)((function(t,e){let n=(0,u.I)(),{id:r=`headlessui-disclosure-button-${n}`,...i}=t,[d,f]=C("Disclosure.Button"),h=(0,o.useContext)(S),m=null!==h&&h===d.panelId,y=(0,o.useRef)(null),g=(0,s.q)(y,e,m?null:d.buttonRef);(0,o.useEffect)((()=>{if(!m)return f({type:2,buttonId:r}),()=>{f({type:2,buttonId:null})}}),[r,f,m]);let x=(0,v.y)((t=>{var e;if(m){if(1===d.disclosureState)return;switch(t.key){case l.g.Space:case l.g.Enter:t.preventDefault(),t.stopPropagation(),f({type:0}),null==(e=d.buttonRef.current)||e.focus()}}else switch(t.key){case l.g.Space:case l.g.Enter:t.preventDefault(),t.stopPropagation(),f({type:0})}})),b=(0,v.y)((t=>{if(t.key===l.g.Space)t.preventDefault()})),w=(0,v.y)((e=>{var n;(0,c.g)(e.currentTarget)||t.disabled||(m?(f({type:0}),null==(n=d.buttonRef.current)||n.focus()):f({type:0}))})),P=(0,o.useMemo)((()=>({open:0===d.disclosureState})),[d]),E=(0,p.y)(t,y),T=m?{ref:g,type:E,onKeyDown:x,onClick:w}:{ref:g,id:r,type:E,"aria-expanded":t.disabled?void 0:0===d.disclosureState,"aria-controls":d.linkedPanel?d.panelId:void 0,onKeyDown:x,onKeyUp:b,onClick:w};return(0,a.ai)({ourProps:T,theirProps:i,slot:P,defaultTag:"button",name:"Disclosure.Button"})})),O=(0,a.op)((function(t,e){let n=(0,u.I)(),{id:r=`headlessui-disclosure-panel-${n}`,...i}=t,[l,c]=C("Disclosure.Panel"),{close:p}=P("Disclosure.Panel"),f=(0,s.q)(e,l.panelRef,(t=>{h((()=>c({type:t?4:5})))}));(0,o.useEffect)((()=>(c({type:3,panelId:r}),()=>{c({type:3,panelId:null})})),[r,c]);let v=(0,d.qc)(),m=null!==v?(v&d.Ad.Open)===d.Ad.Open:0===l.disclosureState,y=(0,o.useMemo)((()=>({open:0===l.disclosureState,close:p})),[l,p]),g={ref:f,id:r};return o.createElement(S.Provider,{value:l.panelId},(0,a.ai)({ourProps:g,theirProps:i,slot:y,defaultTag:"div",features:A,visible:m,name:"Disclosure.Panel"}))})),I=Object.assign(M,{Button:V,Panel:O})},5224:(t,e,n)=>{n.d(e,{_:()=>H});var r,o,i=n(1504),a=n(7616),s=n(9648),u=n(7368),l=n(1403),c=n(5948),d=n(1792),p=n(4008),f=n(7168),v=n(3048),h=n(4560),m=n(2448),y=n(5720),g=n(1892),x=n(7384),b=n(8512),C=n(4904),w=n(5884),P=n(1423),S=n(4224),E=n(824),T=((o=T||{})[o.Open=0]="Open",o[o.Closed=1]="Closed",o),A=((r=A||{})[r.TogglePopover=0]="TogglePopover",r[r.ClosePopover=1]="ClosePopover",r[r.SetButton=2]="SetButton",r[r.SetButtonId=3]="SetButtonId",r[r.SetPanel=4]="SetPanel",r[r.SetPanelId=5]="SetPanelId",r);let M={0:t=>{let e={...t,popoverState:(0,a._)(t.popoverState,{0:1,1:0})};return 0===e.popoverState&&(e.__demoMode=!1),e},1:t=>1===t.popoverState?t:{...t,popoverState:1},2:(t,e)=>t.button===e.button?t:{...t,button:e.button},3:(t,e)=>t.buttonId===e.buttonId?t:{...t,buttonId:e.buttonId},4:(t,e)=>t.panel===e.panel?t:{...t,panel:e.panel},5:(t,e)=>t.panelId===e.panelId?t:{...t,panelId:e.panelId}},V=(0,i.createContext)(null);function O(t){let e=(0,i.useContext)(V);if(null===e){let e=new Error(`<${t} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(e,O),e}return e}V.displayName="PopoverContext";let I=(0,i.createContext)(null);function k(t){let e=(0,i.useContext)(I);if(null===e){let e=new Error(`<${t} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(e,k),e}return e}I.displayName="PopoverAPIContext";let R=(0,i.createContext)(null);function L(){return(0,i.useContext)(R)}R.displayName="PopoverGroupContext";let D=(0,i.createContext)(null);function B(t,e){return(0,a._)(e.type,M,t,e)}D.displayName="PopoverPanelContext";let j=s.B4.RenderStrategy|s.B4.Static;let F=s.B4.RenderStrategy|s.B4.Static;let U=(0,s.op)((function(t,e){var n;let{__demoMode:r=!1,...o}=t,l=(0,i.useRef)(null),c=(0,u.q)(e,(0,u.s)((t=>{l.current=t}))),d=(0,i.useRef)([]),v=(0,i.useReducer)(B,{__demoMode:r,popoverState:r?0:1,buttons:d,button:null,buttonId:null,panel:null,panelId:null,beforePanelSentinel:(0,i.createRef)(),afterPanelSentinel:(0,i.createRef)()}),[{popoverState:m,button:x,buttonId:C,panel:P,panelId:T,beforePanelSentinel:A,afterPanelSentinel:M},O]=v,k=(0,y.o)(null!=(n=l.current)?n:x),R=(0,i.useMemo)((()=>{if(!x||!P)return!1;for(let a of document.querySelectorAll("body > *"))if(Number(null==a?void 0:a.contains(x))^Number(null==a?void 0:a.contains(P)))return!0;let t=(0,p.y6)(),e=t.indexOf(x),n=(e+t.length-1)%t.length,r=(e+1)%t.length,o=t[n],i=t[r];return!P.contains(o)&&!P.contains(i)}),[x,P]),j=(0,w.s)(C),F=(0,w.s)(T),U=(0,i.useMemo)((()=>({buttonId:j,panelId:F,close:()=>O({type:1})})),[j,F,O]),W=L(),N=null==W?void 0:W.registerPopover,z=(0,b.y)((()=>{var t;return null!=(t=null==W?void 0:W.isFocusWithinPopoverGroup())?t:(null==k?void 0:k.activeElement)&&((null==x?void 0:x.contains(k.activeElement))||(null==P?void 0:P.contains(k.activeElement)))}));(0,i.useEffect)((()=>null==N?void 0:N(U)),[N,U]);let[_,H]=(0,E.M)(),q=(0,S.G)({portals:_,defaultContainers:[x,P]});(0,g.K)(null==k?void 0:k.defaultView,"focus",(t=>{var e,n,r,o;t.target!==window&&t.target instanceof HTMLElement&&0===m&&(z()||x&&P&&(q.contains(t.target)||null!=(n=null==(e=A.current)?void 0:e.contains)&&n.call(e,t.target)||null!=(o=null==(r=M.current)?void 0:r.contains)&&o.call(r,t.target)||O({type:1})))}),!0),(0,h.c)(q.resolveContainers,((t,e)=>{O({type:1}),(0,p.qw)(e,p.ye.Loose)||(t.preventDefault(),null==x||x.focus())}),0===m);let Y=(0,b.y)((t=>{O({type:1});let e=t?t instanceof HTMLElement?t:"current"in t&&t.current instanceof HTMLElement?t.current:x:x;null==e||e.focus()})),X=(0,i.useMemo)((()=>({close:Y,isPortalled:R})),[Y,R]),G=(0,i.useMemo)((()=>({open:0===m,close:Y})),[m,Y]),K={ref:c};return i.createElement(D.Provider,{value:null},i.createElement(V.Provider,{value:v},i.createElement(I.Provider,{value:X},i.createElement(f.uR,{value:(0,a._)(m,{0:f.Ad.Open,1:f.Ad.Closed})},i.createElement(H,null,(0,s.ai)({ourProps:K,theirProps:o,slot:G,defaultTag:"div",name:"Popover"}),i.createElement(q.MainTreeNode,null))))))})),W=(0,s.op)((function(t,e){let n=(0,l.I)(),{id:r=`headlessui-popover-button-${n}`,...o}=t,[f,h]=O("Popover.Button"),{isPortalled:m}=k("Popover.Button"),g=(0,i.useRef)(null),w=`headlessui-focus-sentinel-${(0,l.I)()}`,P=L(),S=null==P?void 0:P.closeOthers,E=null!==(0,i.useContext)(D);(0,i.useEffect)((()=>{if(!E)return h({type:3,buttonId:r}),()=>{h({type:3,buttonId:null})}}),[E,r,h]);let[T]=(0,i.useState)((()=>Symbol())),A=(0,u.q)(g,e,E?null:t=>{if(t)f.buttons.current.push(T);else{let t=f.buttons.current.indexOf(T);-1!==t&&f.buttons.current.splice(t,1)}f.buttons.current.length>1&&console.warn("You are already using a but only 1 is supported."),t&&h({type:2,button:t})}),M=(0,u.q)(g,e),V=(0,y.o)(g),I=(0,b.y)((t=>{var e,n,r;if(E){if(1===f.popoverState)return;switch(t.key){case c.g.Space:case c.g.Enter:t.preventDefault(),null==(n=(e=t.target).click)||n.call(e),h({type:1}),null==(r=f.button)||r.focus()}}else switch(t.key){case c.g.Space:case c.g.Enter:t.preventDefault(),t.stopPropagation(),1===f.popoverState&&(null==S||S(f.buttonId)),h({type:0});break;case c.g.Escape:if(0!==f.popoverState)return null==S?void 0:S(f.buttonId);if(!g.current||null!=V&&V.activeElement&&!g.current.contains(V.activeElement))return;t.preventDefault(),t.stopPropagation(),h({type:1})}})),R=(0,b.y)((t=>{E||t.key===c.g.Space&&t.preventDefault()})),B=(0,b.y)((e=>{var n,r;(0,d.g)(e.currentTarget)||t.disabled||(E?(h({type:1}),null==(n=f.button)||n.focus()):(e.preventDefault(),e.stopPropagation(),1===f.popoverState&&(null==S||S(f.buttonId)),h({type:0}),null==(r=f.button)||r.focus()))})),j=(0,b.y)((t=>{t.preventDefault(),t.stopPropagation()})),F=0===f.popoverState,U=(0,i.useMemo)((()=>({open:F})),[F]),W=(0,v.y)(t,g),N=E?{ref:M,type:W,onKeyDown:I,onClick:B}:{ref:A,id:f.buttonId,type:W,"aria-expanded":t.disabled?void 0:0===f.popoverState,"aria-controls":f.panel?f.panelId:void 0,onKeyDown:I,onKeyUp:R,onClick:B,onMouseDown:j},z=(0,C.Y)(),_=(0,b.y)((()=>{let t=f.panel;t&&(0,a._)(z.current,{[C.w.Forwards]:()=>(0,p.iZ)(t,p.O8.First),[C.w.Backwards]:()=>(0,p.iZ)(t,p.O8.Last)})===p._I.Error&&(0,p.iZ)((0,p.y6)().filter((t=>"true"!==t.dataset.headlessuiFocusGuard)),(0,a._)(z.current,{[C.w.Forwards]:p.O8.Next,[C.w.Backwards]:p.O8.Previous}),{relativeTo:f.button})}));return i.createElement(i.Fragment,null,(0,s.ai)({ourProps:N,theirProps:o,slot:U,defaultTag:"button",name:"Popover.Button"}),F&&!E&&m&&i.createElement(x._,{id:w,features:x.B.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:_}))})),N=(0,s.op)((function(t,e){let n=(0,l.I)(),{id:r=`headlessui-popover-overlay-${n}`,...o}=t,[{popoverState:a},c]=O("Popover.Overlay"),p=(0,u.q)(e),v=(0,f.qc)(),h=null!==v?(v&f.Ad.Open)===f.Ad.Open:0===a,m=(0,b.y)((t=>{if((0,d.g)(t.currentTarget))return t.preventDefault();c({type:1})})),y=(0,i.useMemo)((()=>({open:0===a})),[a]);return(0,s.ai)({ourProps:{ref:p,id:r,"aria-hidden":!0,onClick:m},theirProps:o,slot:y,defaultTag:"div",features:j,visible:h,name:"Popover.Overlay"})})),z=(0,s.op)((function(t,e){let n=(0,l.I)(),{id:r=`headlessui-popover-panel-${n}`,focus:o=!1,...d}=t,[v,h]=O("Popover.Panel"),{close:m,isPortalled:g}=k("Popover.Panel"),w=`headlessui-focus-sentinel-before-${(0,l.I)()}`,S=`headlessui-focus-sentinel-after-${(0,l.I)()}`,E=(0,i.useRef)(null),T=(0,u.q)(E,e,(t=>{h({type:4,panel:t})})),A=(0,y.o)(E);(0,P.m)((()=>(h({type:5,panelId:r}),()=>{h({type:5,panelId:null})})),[r,h]);let M=(0,f.qc)(),V=null!==M?(M&f.Ad.Open)===f.Ad.Open:0===v.popoverState,I=(0,b.y)((t=>{var e;if(t.key===c.g.Escape){if(0!==v.popoverState||!E.current||null!=A&&A.activeElement&&!E.current.contains(A.activeElement))return;t.preventDefault(),t.stopPropagation(),h({type:1}),null==(e=v.button)||e.focus()}}));(0,i.useEffect)((()=>{var e;t.static||1===v.popoverState&&(null==(e=t.unmount)||e)&&h({type:4,panel:null})}),[v.popoverState,t.unmount,t.static,h]),(0,i.useEffect)((()=>{if(v.__demoMode||!o||0!==v.popoverState||!E.current)return;let t=null==A?void 0:A.activeElement;E.current.contains(t)||(0,p.iZ)(E.current,p.O8.First)}),[v.__demoMode,o,E,v.popoverState]);let R=(0,i.useMemo)((()=>({open:0===v.popoverState,close:m})),[v,m]),L={ref:T,id:r,onKeyDown:I,onBlur:o&&0===v.popoverState?t=>{var e,n,r,o,i;let a=t.relatedTarget;a&&E.current&&(null!=(e=E.current)&&e.contains(a)||(h({type:1}),(null!=(r=null==(n=v.beforePanelSentinel.current)?void 0:n.contains)&&r.call(n,a)||null!=(i=null==(o=v.afterPanelSentinel.current)?void 0:o.contains)&&i.call(o,a))&&a.focus({preventScroll:!0})))}:void 0,tabIndex:-1},B=(0,C.Y)(),j=(0,b.y)((()=>{let t=E.current;t&&(0,a._)(B.current,{[C.w.Forwards]:()=>{var e;(0,p.iZ)(t,p.O8.First)===p._I.Error&&(null==(e=v.afterPanelSentinel.current)||e.focus())},[C.w.Backwards]:()=>{var t;null==(t=v.button)||t.focus({preventScroll:!0})}})})),U=(0,b.y)((()=>{let t=E.current;t&&(0,a._)(B.current,{[C.w.Forwards]:()=>{var t;if(!v.button)return;let e=(0,p.y6)(),n=e.indexOf(v.button),r=e.slice(0,n+1),o=[...e.slice(n+1),...r];for(let i of o.slice())if("true"===i.dataset.headlessuiFocusGuard||null!=(t=v.panel)&&t.contains(i)){let t=o.indexOf(i);-1!==t&&o.splice(t,1)}(0,p.iZ)(o,p.O8.First,{sorted:!1})},[C.w.Backwards]:()=>{var e;(0,p.iZ)(t,p.O8.Previous)===p._I.Error&&(null==(e=v.button)||e.focus())}})}));return i.createElement(D.Provider,{value:r},V&&g&&i.createElement(x._,{id:w,ref:v.beforePanelSentinel,features:x.B.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:j}),(0,s.ai)({ourProps:L,theirProps:d,slot:R,defaultTag:"div",features:F,visible:V,name:"Popover.Panel"}),V&&g&&i.createElement(x._,{id:S,ref:v.afterPanelSentinel,features:x.B.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:U}))})),_=(0,s.op)((function(t,e){let n=(0,i.useRef)(null),r=(0,u.q)(n,e),[o,a]=(0,i.useState)([]),l=(0,b.y)((t=>{a((e=>{let n=e.indexOf(t);if(-1!==n){let t=e.slice();return t.splice(n,1),t}return e}))})),c=(0,b.y)((t=>(a((e=>[...e,t])),()=>l(t)))),d=(0,b.y)((()=>{var t;let e=(0,m.e)(n);if(!e)return!1;let r=e.activeElement;return!(null==(t=n.current)||!t.contains(r))||o.some((t=>{var n,o;return(null==(n=e.getElementById(t.buttonId.current))?void 0:n.contains(r))||(null==(o=e.getElementById(t.panelId.current))?void 0:o.contains(r))}))})),p=(0,b.y)((t=>{for(let e of o)e.buttonId.current!==t&&e.close()})),f=(0,i.useMemo)((()=>({registerPopover:c,unregisterPopover:l,isFocusWithinPopoverGroup:d,closeOthers:p})),[c,l,d,p]),v=(0,i.useMemo)((()=>({})),[]),h=t,y={ref:r};return i.createElement(R.Provider,{value:f},(0,s.ai)({ourProps:y,theirProps:h,slot:v,defaultTag:"div",name:"Popover.Group"}))})),H=Object.assign(U,{Button:W,Overlay:N,Panel:z,Group:_})},3048:(t,e,n)=>{n.d(e,{y:()=>a});var r=n(1504),o=n(1423);function i(t){var e;if(t.type)return t.type;let n=null!=(e=t.as)?e:"button";return"string"==typeof n&&"button"===n.toLowerCase()?"button":void 0}function a(t,e){let[n,a]=(0,r.useState)((()=>i(t)));return(0,o.m)((()=>{a(i(t))}),[t.type,t.as]),(0,o.m)((()=>{n||e.current&&e.current instanceof HTMLButtonElement&&!e.current.hasAttribute("type")&&a("button")}),[n,e]),n}},6972:(t,e,n)=>{n.d(e,{C:()=>a});var r=n(5908),o=n(184),i=n(3350);function a(t,e,n){void 0===n&&(n={});var a=(0,o.Y)(t)?t:(0,r.w)(t);return(0,i.eo)("",a,e,n),{stop:function(){return a.stop()},isAnimating:function(){return a.isAnimating()}}}},4772:(t,e,n)=>{n.d(e,{U:()=>r});var r=function(t){return Array.isArray(t)}},3350:(t,e,n)=>{n.d(e,{qC:()=>at,eo:()=>st});var r=n(1316),o=n(8444),i=n(8456);const a=.001,s=.01,u=10,l=.05,c=1;function d({duration:t=800,bounce:e=.25,velocity:n=0,mass:r=1}){let d,v;(0,o.s)(t<=1e3*u,"Spring duration must be 10 seconds or less");let h=1-e;h=(0,i.q)(l,c,h),t=(0,i.q)(s,u,t/1e3),h<1?(d=e=>{const r=e*h,o=r*t,i=r-n,s=f(e,h),u=Math.exp(-o);return a-i/s*u},v=e=>{const r=e*h*t,o=r*n+n,i=Math.pow(h,2)*Math.pow(e,2)*t,s=Math.exp(-r),u=f(Math.pow(e,2),h);return(-d(e)+a>0?-1:1)*((o-i)*s)/u}):(d=e=>Math.exp(-e*t)*((e-n)*t+1)-a,v=e=>Math.exp(-e*t)*(t*t*(n-e)));const m=function(t,e,n){let r=n;for(let o=1;ovoid 0!==t[e]))}function y(t){var{from:e=0,to:n=1,restSpeed:o=2,restDelta:i}=t,a=(0,r.sX)(t,["from","to","restSpeed","restDelta"]);const s={done:!1,value:e};let{stiffness:u,damping:l,mass:c,velocity:p,duration:y,isResolvedFromDuration:x}=function(t){let e=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},t);if(!m(t,h)&&m(t,v)){const n=d(t);e=Object.assign(Object.assign(Object.assign({},e),n),{velocity:0,mass:1}),e.isResolvedFromDuration=!0}return e}(a),b=g,C=g;function w(){const t=p?-p/1e3:0,r=n-e,o=l/(2*Math.sqrt(u*c)),a=Math.sqrt(u/c)/1e3;if(void 0===i&&(i=Math.min(Math.abs(n-e)/100,.4)),o<1){const e=f(a,o);b=i=>{const s=Math.exp(-o*a*i);return n-s*((t+o*a*r)/e*Math.sin(e*i)+r*Math.cos(e*i))},C=n=>{const i=Math.exp(-o*a*n);return o*a*i*(Math.sin(e*n)*(t+o*a*r)/e+r*Math.cos(e*n))-i*(Math.cos(e*n)*(t+o*a*r)-e*r*Math.sin(e*n))}}else if(1===o)b=e=>n-Math.exp(-a*e)*(r+(t+a*r)*e);else{const e=a*Math.sqrt(o*o-1);b=i=>{const s=Math.exp(-o*a*i),u=Math.min(e*i,300);return n-s*((t+o*a*r)*Math.sinh(u)+e*r*Math.cosh(u))/e}}}return w(),{next:t=>{const e=b(t);if(x)s.done=t>=y;else{const r=1e3*C(t),a=Math.abs(r)<=o,u=Math.abs(n-e)<=i;s.done=a&&u}return s.value=s.done?n:e,s},flipTarget:()=>{p=-p,[e,n]=[n,e],w()}}}y.needsInterpolation=(t,e)=>"string"==typeof t||"string"==typeof e;const g=t=>0;var x=n(8540),b=n(5112);function C(t,e){return t.map((()=>e||b.OW)).splice(0,t.length-1)}function w({from:t=0,to:e=1,ease:n,offset:r,duration:o=300}){const i={done:!1,value:t},a=Array.isArray(e)?e:[t,e],s=function(t,e){return t.map((t=>t*e))}(r&&r.length===a.length?r:function(t){const e=t.length;return t.map(((t,n)=>0!==n?n/(e-1):0))}(a),o);function u(){return(0,x.q)(s,a,{ease:Array.isArray(n)?n:C(a,n)})}let l=u();return{next:t=>(i.value=l(t),i.done=t>=o,i),flipTarget:()=>{a.reverse(),l=u()}}}const P={keyframes:w,spring:y,decay:function({velocity:t=0,from:e=0,power:n=.8,timeConstant:r=350,restDelta:o=.5,modifyTarget:i}){const a={done:!1,value:e};let s=n*t;const u=e+s,l=void 0===i?u:i(u);return l!==u&&(s=l-e),{next:t=>{const e=-s*Math.exp(-t/r);return a.done=!(e>o||e<-o),a.value=a.done?l:l+e,a},flipTarget:()=>{}}}};var S=n(5864);function E(t,e,n=0){return t-e-n}const T=t=>{const e=({delta:e})=>t(e);return{start:()=>S.cp.update(e,!0),stop:()=>S.Qz.update(e)}};function A(t){var e,n,{from:o,autoplay:i=!0,driver:a=T,elapsed:s=0,repeat:u=0,repeatType:l="loop",repeatDelay:c=0,onPlay:d,onStop:p,onComplete:f,onRepeat:v,onUpdate:h}=t,m=(0,r.sX)(t,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let g,b,C,{to:S}=m,A=0,M=m.duration,V=!1,O=!0;const I=function(t){if(Array.isArray(t.to))return w;if(P[t.type])return P[t.type];const e=new Set(Object.keys(t));return e.has("ease")||e.has("duration")&&!e.has("dampingRatio")?w:e.has("dampingRatio")||e.has("stiffness")||e.has("mass")||e.has("damping")||e.has("restSpeed")||e.has("restDelta")?y:w}(m);(null===(n=(e=I).needsInterpolation)||void 0===n?void 0:n.call(e,o,S))&&(C=(0,x.q)([0,100],[o,S],{clamp:!1}),o=0,S=100);const k=I(Object.assign(Object.assign({},m),{from:o,to:S}));function R(){A++,"reverse"===l?(O=A%2==0,s=function(t,e,n=0,r=!0){return r?E(e+-t,e,n):e-(t-e)+n}(s,M,c,O)):(s=E(s,M,c),"mirror"===l&&k.flipTarget()),V=!1,v&&v()}function L(t){if(O||(t=-t),s+=t,!V){const t=k.next(Math.max(0,s));b=t.value,C&&(b=C(b)),V=O?t.done:s<=0}null==h||h(b),V&&(0===A&&(null!=M||(M=s)),A=e+n:t<=-n}(s,M,c,O)&&R():(g.stop(),f&&f()))}return i&&(null==d||d(),g=a(L),g.start()),{stop:()=>{null==p||p(),g.stop()}}}var M=n(4376);var V=n(3812);const O=(t,e)=>1-3*e+3*t,I=(t,e)=>3*e-6*t,k=t=>3*t,R=(t,e,n)=>((O(e,n)*t+I(e,n))*t+k(e))*t,L=(t,e,n)=>3*O(e,n)*t*t+2*I(e,n)*t+k(e),D=1e-7,B=10;const j=8;const F=.1;function U(t,e,n,r){if(t===e&&n===r)return b.GW;const o=new Float32Array(11);for(let a=0;a<11;++a)o[a]=R(a*F,t,n);function i(e){let r=0,i=1;for(;10!==i&&o[i]<=e;++i)r+=F;--i;const a=r+(e-o[i])/(o[i+1]-o[i])*F,s=L(a,t,n);return s>=.001?function(t,e,n,r){for(let o=0;o0?n=a:e=a}while(Math.abs(i)>D&&++s0===t||1===t?t:R(i(t),e,r)}var W={linear:b.GW,easeIn:b.Ud,easeInOut:b.OW,easeOut:b.xK,circIn:b.wJ,circInOut:b.i6,circOut:b.Q7,backIn:b.mg,backInOut:b.st,backOut:b.qc,anticipate:b.y6,bounceIn:b.yu,bounceInOut:b.EH,bounceOut:b.gR},N=function(t){if(Array.isArray(t)){(0,o.O)(4===t.length,"Cubic bezier arrays must contain four numerical values.");var e=(0,r.o5)(t,4);return U(e[0],e[1],e[2],e[3])}return"string"==typeof t?((0,o.O)(void 0!==W[t],"Invalid easing type '".concat(t,"'")),W[t]):t},z=function(t){return Array.isArray(t)&&"number"!=typeof t[0]},_=n(3312),H=function(t,e){return"zIndex"!==t&&(!("number"!=typeof e&&!Array.isArray(e))||!("string"!=typeof e||!_.c.test(e)||e.startsWith("url(")))},q=n(4772),Y=function(){return{type:"spring",stiffness:500,damping:25,restSpeed:10}},X=function(t){return{type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}},G=function(){return{type:"keyframes",ease:"linear",duration:.3}},K=function(t){return{type:"keyframes",duration:.8,values:t}},$={x:Y,y:Y,z:Y,rotate:Y,rotateX:Y,rotateY:Y,rotateZ:Y,scaleX:X,scaleY:X,scale:X,opacity:G,backgroundColor:G,color:G,default:X},Z=function(t,e){var n;return n=(0,q.U)(e)?K:$[t]||$.default,(0,r.C3)({to:e},n(e))},Q=n(948),J={current:!1},tt=n(6323);var et=!1;function nt(t,e,n){var i;return Array.isArray(e.to)&&(null!==(i=t.duration)&&void 0!==i||(t.duration=.8)),function(t){Array.isArray(t.to)&&null===t.to[0]&&(t.to=(0,r.Mt)([],(0,r.o5)(t.to),!1),t.to[0]=t.from)}(e),function(t){t.when,t.delay,t.delayChildren,t.staggerChildren,t.staggerDirection,t.repeat,t.repeatType,t.repeatDelay,t.from;var e=(0,r.sX)(t,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(e).length}(t)||(t=(0,r.C3)((0,r.C3)({},t),Z(n,e.to))),(0,r.C3)((0,r.C3)({},e),function(t){var e=t.ease,n=t.times,i=t.yoyo,a=t.flip,s=t.loop,u=(0,r.sX)(t,["ease","times","yoyo","flip","loop"]),l=(0,r.C3)({},u);return n&&(l.offset=n),u.duration&&(l.duration=(0,V.c)(u.duration)),u.repeatDelay&&(l.repeatDelay=(0,V.c)(u.repeatDelay)),e&&(l.ease=z(e)?e.map(N):N(e)),"tween"===u.type&&(l.type="keyframes"),(i||s||a)&&((0,o.s)(!et,"yoyo, loop and flip have been removed from the API. Replace with repeat and repeatType options."),et=!0,i?l.repeatType="reverse":s?l.repeatType="loop":a&&(l.repeatType="mirror"),l.repeat=s||i||a||u.repeat),"spring"!==u.type&&(l.type="keyframes"),l}(t))}function rt(t,e,n,i,a){var s,u=at(i,t),l=null!==(s=u.from)&&void 0!==s?s:e.get(),c=H(t,n);"none"===l&&c&&"string"==typeof n?l=(0,Q.S)(t,n):ot(l)&&"string"==typeof n?l=it(n):!Array.isArray(n)&&ot(n)&&"string"==typeof l&&(n=it(l));var d=H(t,l);return(0,o.s)(d===c,"You are trying to animate ".concat(t,' from "').concat(l,'" to "').concat(n,'". ').concat(l," is not an animatable value - to enable this animation set ").concat(l," to a value animatable to ").concat(n," via the `style` property.")),d&&c&&!1!==u.type?function(){var o={from:l,to:n,velocity:e.getVelocity(),onComplete:a,onUpdate:function(t){return e.set(t)}};return"inertia"===u.type||"decay"===u.type?function({from:t=0,velocity:e=0,min:n,max:r,power:o=.8,timeConstant:i=750,bounceStiffness:a=500,bounceDamping:s=10,restDelta:u=1,modifyTarget:l,driver:c,onUpdate:d,onComplete:p,onStop:f}){let v;function h(t){return void 0!==n&&tr}function m(t){return void 0===n?r:void 0===r||Math.abs(n-t){var n;null==d||d(e),null===(n=t.onUpdate)||void 0===n||n.call(t,e)},onComplete:p,onStop:f}))}function g(t){y(Object.assign({type:"spring",stiffness:a,damping:s,restDelta:u},t))}if(h(t))g({from:t,velocity:e,to:m(t)});else{let r=o*e+t;void 0!==l&&(r=l(r));const a=m(r),s=a===n?-1:1;let c,d;const p=t=>{c=d,d=t,e=(0,M.G)(t-c,(0,S.ov)().delta),(1===s&&t>a||-1===s&&tnull==v?void 0:v.stop()}}((0,r.C3)((0,r.C3)({},o),u)):A((0,r.C3)((0,r.C3)({},nt(u,o,t)),{onUpdate:function(t){var e;o.onUpdate(t),null===(e=u.onUpdate)||void 0===e||e.call(u,t)},onComplete:function(){var t;o.onComplete(),null===(t=u.onComplete)||void 0===t||t.call(u)}}))}:function(){var t,r,o=(0,tt.y)(n);return e.set(o),a(),null===(t=null==u?void 0:u.onUpdate)||void 0===t||t.call(u,o),null===(r=null==u?void 0:u.onComplete)||void 0===r||r.call(u),{stop:function(){}}}}function ot(t){return 0===t||"string"==typeof t&&0===parseFloat(t)&&-1===t.indexOf(" ")}function it(t){return"number"==typeof t?0:(0,Q.S)("",t)}function at(t,e){return t[e]||t.default||t}function st(t,e,n,r){return void 0===r&&(r={}),J.current&&(r={type:!1}),e.start((function(o){var i,a,s=rt(t,e,n,r,o),u=function(t,e){var n,r;return null!==(r=null!==(n=(at(t,e)||{}).delay)&&void 0!==n?n:t.delay)&&void 0!==r?r:0}(r,t),l=function(){return a=s()};return u?i=window.setTimeout(l,(0,V.c)(u)):l(),function(){clearTimeout(i),null==a||a.stop()}}))}},7400:(t,e,n)=>{n.d(e,{K:()=>r});var r=(0,n(1504).createContext)({transformPagePoint:function(t){return t},isStatic:!1,reducedMotion:"never"})},1728:(t,e,n)=>{n.d(e,{q:()=>Co});var r=n(1316),o=n(1504),i=("undefined"==typeof process||process.env,"production"),a=function(t){return{isEnabled:function(e){return t.some((function(t){return!!e[t]}))}}},s={measureLayout:a(["layout","layoutId","drag"]),animation:a(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:a(["exit"]),drag:a(["drag","dragControls"]),focus:a(["whileFocus"]),hover:a(["whileHover","onHoverStart","onHoverEnd"]),tap:a(["whileTap","onTap","onTapStart","onTapCancel"]),pan:a(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:a(["whileInView","onViewportEnter","onViewportLeave"])};var u=n(8444),l=(0,o.createContext)({strict:!1}),c=Object.keys(s),d=c.length;var p=n(7400),f=(0,o.createContext)({});var v=(0,o.createContext)(null),h=n(1212),m=n(1332),y={current:null},g=!1;function x(){return!g&&function(){if(g=!0,m.u)if(window.matchMedia){var t=window.matchMedia("(prefers-reduced-motion)"),e=function(){return y.current=t.matches};t.addListener(e),e()}else y.current=!1}(),(0,r.o5)((0,o.useState)(y.current),1)[0]}function b(t,e,n,r){var i,a,s=(0,o.useContext)(l),u=(0,o.useContext)(f).visualElement,c=(0,o.useContext)(v),d=(i=x(),"never"!==(a=(0,o.useContext)(p.K).reducedMotion)&&("always"===a||i)),m=(0,o.useRef)(void 0);r||(r=s.renderer),!m.current&&r&&(m.current=r(t,{visualState:e,parent:u,props:n,presenceId:null==c?void 0:c.id,blockInitialAnimation:!1===(null==c?void 0:c.initial),shouldReduceMotion:d}));var y=m.current;return(0,h.M)((function(){null==y||y.syncRender()})),(0,o.useEffect)((function(){var t;null===(t=null==y?void 0:y.animationState)||void 0===t||t.animateChanges()})),(0,h.M)((function(){return function(){return null==y?void 0:y.notifyUnmount()}}),[]),y}function C(t){return"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}function w(t){return Array.isArray(t)}function P(t){return"string"==typeof t||w(t)}function S(t,e,n,r,o){var i;return void 0===r&&(r={}),void 0===o&&(o={}),"function"==typeof e&&(e=e(null!=n?n:t.custom,r,o)),"string"==typeof e&&(e=null===(i=t.variants)||void 0===i?void 0:i[e]),"function"==typeof e&&(e=e(null!=n?n:t.custom,r,o)),e}function E(t,e,n){var r=t.getProps();return S(r,e,null!=n?n:r.custom,function(t){var e={};return t.forEachValue((function(t,n){return e[n]=t.get()})),e}(t),function(t){var e={};return t.forEachValue((function(t,n){return e[n]=t.getVelocity()})),e}(t))}function T(t){var e;return"function"==typeof(null===(e=t.animate)||void 0===e?void 0:e.start)||P(t.initial)||P(t.animate)||P(t.whileHover)||P(t.whileDrag)||P(t.whileTap)||P(t.whileFocus)||P(t.exit)}function A(t){return Boolean(T(t)||t.variants)}function M(t){var e=function(t,e){if(T(t)){var n=t.initial,r=t.animate;return{initial:!1===n||P(n)?n:void 0,animate:P(r)?r:void 0}}return!1!==t.inherit?e:{}}(t,(0,o.useContext)(f)),n=e.initial,r=e.animate;return(0,o.useMemo)((function(){return{initial:n,animate:r}}),[V(n),V(r)])}function V(t){return Array.isArray(t)?t.join(" "):t}var O=n(4648),I={hasAnimatedSinceResize:!0,hasEverUpdated:!1},k=1;var R=(0,o.createContext)({}),L=(0,o.createContext)({});var D=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.ct)(e,t),e.prototype.getSnapshotBeforeUpdate=function(){return this.updateProps(),null},e.prototype.componentDidUpdate=function(){},e.prototype.updateProps=function(){var t=this.props,e=t.visualElement,n=t.props;e&&e.setProps(n)},e.prototype.render=function(){return this.props.children},e}(o.Component);function B(t){var e=t.preloadedFeatures,n=t.createVisualElement,a=t.projectionNodeConstructor,v=t.useRender,h=t.useVisualState,y=t.Component;return e&&function(t){for(var e in t)null!==t[e]&&("projectionNodeConstructor"===e?s.projectionNodeConstructor=t[e]:s[e].Component=t[e])}(e),(0,o.forwardRef)((function(t,g){var x=function(t){var e,n=t.layoutId,r=null===(e=(0,o.useContext)(R))||void 0===e?void 0:e.id;return r&&void 0!==n?r+"-"+n:n}(t);t=(0,r.C3)((0,r.C3)({},t),{layoutId:x});var w=(0,o.useContext)(p.K),P=null,S=M(t),E=w.isStatic?void 0:(0,O._)((function(){if(I.hasEverUpdated)return k++})),T=h(t,w.isStatic);return!w.isStatic&&m.u&&(S.visualElement=b(y,T,(0,r.C3)((0,r.C3)({},w),t),n),function(t,e,n,r){var i,a=e.layoutId,s=e.layout,u=e.drag,l=e.dragConstraints,c=e.layoutScroll,d=(0,o.useContext)(L);r&&n&&!(null==n?void 0:n.projection)&&(n.projection=new r(t,n.getLatestValues(),null===(i=n.parent)||void 0===i?void 0:i.projection),n.projection.setOptions({layoutId:a,layout:s,alwaysMeasureLayout:Boolean(u)||l&&C(l),visualElement:n,scheduleRender:function(){return n.scheduleRender()},animationType:"string"==typeof s?s:"both",initialPromotionConfig:d,layoutScroll:c}))}(E,t,S.visualElement,a||s.projectionNodeConstructor),P=function(t,e,n){var a=[],p=(0,o.useContext)(l);if(!e)return null;"production"!==i&&n&&p.strict&&(0,u.O)(!1,"You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.");for(var f=0;f-1||/[A-Z]/.test(t))}var W={};var N=["","X","Y","Z"],z=["transformPerspective","x","y","z"];function _(t,e){return z.indexOf(t)-z.indexOf(e)}["translate","scale","rotate","skew"].forEach((function(t){return N.forEach((function(e){return z.push(t+e)}))}));var H=new Set(z);function q(t){return H.has(t)}var Y=new Set(["originX","originY","originZ"]);function X(t){return Y.has(t)}function G(t,e){var n=e.layout,r=e.layoutId;return q(t)||X(t)||(n||void 0!==r)&&(!!W[t]||"opacity"===t)}var K=n(184),$={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function Z(t){return t.startsWith("--")}var Q=function(t,e){return e&&"number"==typeof t?e.transform(t):t},J=n(1376);function tt(t,e,n,r){var o,i=t.style,a=t.vars,s=t.transform,u=t.transformKeys,l=t.transformOrigin;u.length=0;var c=!1,d=!1,p=!0;for(var f in e){var v=e[f];if(Z(f))a[f]=v;else{var h=J.i[f],m=Q(v,h);if(q(f)){if(c=!0,s[f]=m,u.push(f),!p)continue;v!==(null!==(o=h.default)&&void 0!==o?o:0)&&(p=!1)}else X(f)?(l[f]=m,d=!0):i[f]=m}}c?i.transform=function(t,e,n,r){var o=t.transform,i=t.transformKeys,a=e.enableHardwareAcceleration,s=void 0===a||a,u=e.allowTransformNone,l=void 0===u||u,c="";i.sort(_);for(var d=!1,p=i.length,f=0;fh&&g,E=Array.isArray(y)?y:[y],T=E.reduce(s,{});!1===x&&(T={});var A=m.prevResolvedValues,M=void 0===A?{}:A,V=(0,r.C3)((0,r.C3)({},M),T),O=function(t){S=!0,f.delete(t),m.needsAnimating[t]=!0};for(var I in V){var k=T[I],R=M[I];v.hasOwnProperty(I)||(k!==R?(0,be.U)(k)&&(0,be.U)(R)?!Ce(k,R)||C?O(I):m.protectedKeys[I]=!0:void 0!==k?O(I):f.add(I):void 0!==k&&f.has(I)?O(I):m.protectedKeys[I]=!0)}m.prevProp=y,m.prevResolvedValues=T,m.isActive&&(v=(0,r.C3)((0,r.C3)({},v),T)),a&&t.blockInitialAnimation&&(S=!1),S&&!b&&p.push.apply(p,(0,r.Mt)([],(0,r.o5)(E.map((function(t){return{animation:t,options:(0,r.C3)({type:i},e)}}))),!1))},y=0;y<_e;y++)m(y);if(i=(0,r.C3)({},v),f.size){var g={};f.forEach((function(e){var n=t.getBaseTarget(e);void 0!==n&&(g[e]=n)})),p.push({animation:g})}var x=Boolean(p.length);return a&&!1===c.initial&&!t.manuallyAnimateOnMount&&(x=!1),a=!1,x?n(p):Promise.resolve()}return{isAnimated:function(t){return void 0!==i[t]},animateChanges:u,setActive:function(e,n,r){var i;if(o[e].isActive===n)return Promise.resolve();null===(i=t.variantChildren)||void 0===i||i.forEach((function(t){var r;return null===(r=t.animationState)||void 0===r?void 0:r.setActive(e,n)})),o[e].isActive=n;var a=u(r,e);for(var s in o)o[s].protectedKeys={};return a},setAnimateFunction:function(e){n=e(t)},getState:function(){return o}}}function Ye(t){return void 0===t&&(t=!1),{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}var Xe={animation:ve((function(t){var e=t.visualElement,n=t.animate;e.animationState||(e.animationState=qe(e)),St(n)&&(0,o.useEffect)((function(){return n.subscribe(e)}),[n])})),exit:ve((function(t){var e=t.custom,n=t.visualElement,i=(0,r.o5)(xe(),2),a=i[0],s=i[1],u=(0,o.useContext)(v);(0,o.useEffect)((function(){var t,r;n.isPresent=a;var o=null===(t=n.animationState)||void 0===t?void 0:t.setActive(Ot.Exit,!a,{custom:null!==(r=null==u?void 0:u.custom)&&void 0!==r?r:e});!a&&(null==o||o.then(s))}),[a])}))},Ge=n(5864),Ke=n(3812);const $e=t=>t.hasOwnProperty("x")&&t.hasOwnProperty("y"),Ze=t=>$e(t)&&t.hasOwnProperty("z");var Qe=n(3336);const Je=(t,e)=>Math.abs(t-e);function tn(t,e){if((0,Qe.K)(t)&&(0,Qe.K)(e))return Je(t,e);if($e(t)&&$e(e)){const n=Je(t.x,e.x),r=Je(t.y,e.y),o=Ze(t)&&Ze(e)?Je(t.z,e.z):0;return Math.sqrt(Math.pow(n,2)+Math.pow(r,2)+Math.pow(o,2))}}var en=function(){function t(t,e,n){var o=this,i=(void 0===n?{}:n).transformPagePoint;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(o.lastMoveEvent&&o.lastMoveEventInfo){var t=on(o.lastMoveEventInfo,o.history),e=null!==o.startEvent,n=tn(t.offset,{x:0,y:0})>=3;if(e||n){var i=t.point,a=(0,Ge.ov)().timestamp;o.history.push((0,r.C3)((0,r.C3)({},i),{timestamp:a}));var s=o.handlers,u=s.onStart,l=s.onMove;e||(u&&u(o.lastMoveEvent,t),o.startEvent=o.lastMoveEvent),l&&l(o.lastMoveEvent,t)}}},this.handlePointerMove=function(t,e){o.lastMoveEvent=t,o.lastMoveEventInfo=nn(e,o.transformPagePoint),Dt(t)&&0===t.buttons?o.handlePointerUp(t,e):Ge.cp.update(o.updatePoint,!0)},this.handlePointerUp=function(t,e){o.end();var n=o.handlers,r=n.onEnd,i=n.onSessionEnd,a=on(nn(e,o.transformPagePoint),o.history);o.startEvent&&r&&r(t,a),i&&i(t,a)},!(Bt(t)&&t.touches.length>1)){this.handlers=e,this.transformPagePoint=i;var a=nn(Wt(t),this.transformPagePoint),s=a.point,u=(0,Ge.ov)().timestamp;this.history=[(0,r.C3)((0,r.C3)({},s),{timestamp:u})];var l=e.onSessionStart;l&&l(t,on(a,this.history)),this.removeListeners=(0,oe.W)(Gt(window,"pointermove",this.handlePointerMove),Gt(window,"pointerup",this.handlePointerUp),Gt(window,"pointercancel",this.handlePointerUp))}}return t.prototype.updateHandlers=function(t){this.handlers=t},t.prototype.end=function(){this.removeListeners&&this.removeListeners(),Ge.Qz.update(this.updatePoint)},t}();function nn(t,e){return e?{point:e(t.point)}:t}function rn(t,e){return{x:t.x-e.x,y:t.y-e.y}}function on(t,e){var n=t.point;return{point:n,delta:rn(n,sn(e)),offset:rn(n,an(e)),velocity:un(e,.1)}}function an(t){return t[0]}function sn(t){return t[t.length-1]}function un(t,e){if(t.length<2)return{x:0,y:0};for(var n=t.length-1,r=null,o=sn(t);n>=0&&(r=t[n],!(o.timestamp-r.timestamp>(0,Ke.c)(e)));)n--;if(!r)return{x:0,y:0};var i=(o.timestamp-r.timestamp)/1e3;if(0===i)return{x:0,y:0};var a={x:(o.x-r.x)/i,y:(o.y-r.y)/i};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}var ln=n(2704),cn=n(6916),dn=n(8456);function pn(t){return t.max-t.min}function fn(t,e,n){return void 0===e&&(e=0),void 0===n&&(n=.01),tn(t,e)e?n="y":Math.abs(t.x)>e&&(n="x");return n}(u),void(null!==n.currentDirection&&(null==a||a(n.currentDirection)));n.updateAxis("x",e.point,u),n.updateAxis("y",e.point,u),n.visualElement.syncRender(),null==s||s(t,e)}},onSessionEnd:function(t,e){return n.stop(t,e)}},{transformPagePoint:this.visualElement.getTransformPagePoint()})}},t.prototype.stop=function(t,e){var n=this.isDragging;if(this.cancel(),n){var r=e.velocity;this.startAnimation(r);var o=this.getProps().onDragEnd;null==o||o(t,e)}},t.prototype.cancel=function(){var t,e;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),null===(t=this.panSession)||void 0===t||t.end(),this.panSession=void 0,!this.getProps().dragPropagation&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),null===(e=this.visualElement.animationState)||void 0===e||e.setActive(Ot.Drag,!1)},t.prototype.updateAxis=function(t,e,n){var r=this.getProps().drag;if(n&&Hn(t,r,this.currentDirection)){var o,i,a,s,u,l=this.getAxisMotionValue(t),c=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(o=c,i=this.constraints[t],a=this.elastic[t],s=i.min,u=i.max,void 0!==s&&ou&&(o=a?(0,ln.C)(u,o,a.max):Math.min(o,u)),c=o),l.set(c)}},t.prototype.resolveConstraints=function(){var t=this,e=this.getProps(),n=e.dragConstraints,r=e.dragElastic,o=(this.visualElement.projection||{}).layout,i=this.constraints;n&&C(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!n||!o)&&function(t,e){var n=e.top,r=e.left,o=e.bottom,i=e.right;return{x:xn(t.x,r,i),y:xn(t.y,n,o)}}(o.actual,n),this.elastic=function(t){return void 0===t&&(t=Cn),!1===t?t=0:!0===t&&(t=Cn),{x:wn(t,"left","right"),y:wn(t,"top","bottom")}}(r),i!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&Tn((function(e){t.getAxisMotionValue(e)&&(t.constraints[e]=function(t,e){var n={};return void 0!==e.min&&(n.min=e.min-t.min),void 0!==e.max&&(n.max=e.max-t.min),n}(o.actual[e],t.constraints[e]))}))},t.prototype.resolveRefConstraints=function(){var t=this.getProps(),e=t.dragConstraints,n=t.onMeasureDragConstraints;if(!e||!C(e))return!1;var r=e.current;(0,u.O)(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");var o=this.visualElement.projection;if(!o||!o.layout)return!1;var i=function(t,e,n){var r=Nn(t,n),o=e.scroll;return o&&(Bn(r.x,o.x),Bn(r.y,o.y)),r}(r,o.root,this.visualElement.getTransformPagePoint()),a=function(t,e){return{x:bn(t.x,e.x),y:bn(t.y,e.y)}}(o.layout.actual,i);if(n){var s=n(function(t){var e=t.x,n=t.y;return{top:n.min,right:e.max,bottom:n.max,left:e.min}}(a));this.hasMutatedConstraints=!!s,s&&(a=An(s))}return a},t.prototype.startAnimation=function(t){var e=this,n=this.getProps(),o=n.drag,i=n.dragMomentum,a=n.dragElastic,s=n.dragTransition,u=n.dragSnapToOrigin,l=n.onDragTransitionEnd,c=this.constraints||{},d=Tn((function(n){var l;if(Hn(n,o,e.currentDirection)){var d=null!==(l=null==c?void 0:c[n])&&void 0!==l?l:{};u&&(d={min:0,max:0});var p=a?200:1e6,f=a?40:1e7,v=(0,r.C3)((0,r.C3)({type:"inertia",velocity:i?t[n]:0,bounceStiffness:p,bounceDamping:f,timeConstant:750,restDelta:1,restSpeed:10},s),d);return e.startAxisValueAnimation(n,v)}}));return Promise.all(d).then(l)},t.prototype.startAxisValueAnimation=function(t,e){var n=this.getAxisMotionValue(t);return(0,we.eo)(t,n,0,e)},t.prototype.stopAnimation=function(){var t=this;Tn((function(e){return t.getAxisMotionValue(e).stop()}))},t.prototype.getAxisMotionValue=function(t){var e,n,r="_drag"+t.toUpperCase(),o=this.visualElement.getProps()[r];return o||this.visualElement.getValue(t,null!==(n=null===(e=this.visualElement.getProps().initial)||void 0===e?void 0:e[t])&&void 0!==n?n:0)},t.prototype.snapToCursor=function(t){var e=this;Tn((function(n){if(Hn(n,e.getProps().drag,e.currentDirection)){var r=e.visualElement.projection,o=e.getAxisMotionValue(n);if(r&&r.layout){var i=r.layout.actual[n],a=i.min,s=i.max;o.set(t[n]-(0,ln.C)(a,s,.5))}}}))},t.prototype.scalePositionWithinConstraints=function(){var t,e=this,n=this.getProps(),r=n.drag,o=n.dragConstraints,i=this.visualElement.projection;if(C(o)&&i&&this.constraints){this.stopAnimation();var a={x:0,y:0};Tn((function(t){var n,r,o,i,s,u=e.getAxisMotionValue(t);if(u){var l=u.get();a[t]=(n={min:l,max:l},r=e.constraints[t],o=.5,i=pn(n),(s=pn(r))>i?o=(0,cn.o)(r.min,r.max-i,n.min):i>s&&(o=(0,cn.o)(n.min,n.max-s,r.min)),(0,dn.q)(0,1,o))}}));var s=this.visualElement.getProps().transformTemplate;this.visualElement.getInstance().style.transform=s?s({},""):"none",null===(t=i.root)||void 0===t||t.updateScroll(),i.updateLayout(),this.resolveConstraints(),Tn((function(t){if(Hn(t,r,null)){var n=e.getAxisMotionValue(t),o=e.constraints[t],i=o.min,s=o.max;n.set((0,ln.C)(i,s,a[t]))}}))}},t.prototype.addListeners=function(){var t,e=this;zn.set(this.visualElement,this);var n=Gt(this.visualElement.getInstance(),"pointerdown",(function(t){var n=e.getProps(),r=n.drag,o=n.dragListener;r&&(void 0===o||o)&&e.start(t)})),r=function(){C(e.getProps().dragConstraints)&&(e.constraints=e.resolveRefConstraints())},o=this.visualElement.projection,i=o.addEventListener("measure",r);o&&!o.layout&&(null===(t=o.root)||void 0===t||t.updateScroll(),o.updateLayout()),r();var a=Rt(window,"resize",(function(){return e.scalePositionWithinConstraints()}));return o.addEventListener("didUpdate",(function(t){var n=t.delta,r=t.hasLayoutChanged;e.isDragging&&r&&(Tn((function(t){var r=e.getAxisMotionValue(t);r&&(e.originPoint[t]+=n[t].translate,r.set(r.get()+n[t].translate))})),e.visualElement.syncRender())})),function(){a(),n(),i()}},t.prototype.getProps=function(){var t=this.visualElement.getProps(),e=t.drag,n=void 0!==e&&e,o=t.dragDirectionLock,i=void 0!==o&&o,a=t.dragPropagation,s=void 0!==a&&a,u=t.dragConstraints,l=void 0!==u&&u,c=t.dragElastic,d=void 0===c?Cn:c,p=t.dragMomentum,f=void 0===p||p;return(0,r.C3)((0,r.C3)({},t),{drag:n,dragDirectionLock:i,dragPropagation:s,dragConstraints:l,dragElastic:d,dragMomentum:f})},t}();function Hn(t,e,n){return!(!0!==e&&e!==t||null!==n&&n!==t)}var qn={pan:ve((function(t){var e=t.onPan,n=t.onPanStart,r=t.onPanEnd,i=t.onPanSessionStart,a=t.visualElement,s=e||n||r||i,u=(0,o.useRef)(null),l=(0,o.useContext)(p.K).transformPagePoint,c={onSessionStart:i,onStart:n,onMove:e,onEnd:function(t,e){u.current=null,r&&r(t,e)}};(0,o.useEffect)((function(){null!==u.current&&u.current.updateHandlers(c)})),Kt(a,"pointerdown",s&&function(t){u.current=new en(t,c,{transformPagePoint:l})}),re((function(){return u.current&&u.current.end()}))})),drag:ve((function(t){var e=t.dragControls,n=t.visualElement,r=(0,O._)((function(){return new _n(n)}));(0,o.useEffect)((function(){return e&&e.subscribe(r)}),[r,e]),(0,o.useEffect)((function(){return r.addListeners()}),[r])}))},Yn=n(2732),Xn=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","LayoutAnimationStart","SetAxisTarget","Unmount"];var Gn=function(t){var e=t.treeType,n=void 0===e?"":e,o=t.build,i=t.getBaseTarget,a=t.makeTargetAnimatable,s=t.measureViewportBox,u=t.render,l=t.readValueFromInstance,c=t.removeValueFromRenderState,d=t.sortNodePosition,p=t.scrapeMotionValuesFromProps;return function(t,e){var f=t.parent,v=t.props,h=t.presenceId,m=t.blockInitialAnimation,y=t.visualState,g=t.shouldReduceMotion;void 0===e&&(e={});var x,b,C=!1,w=y.latestValues,S=y.renderState,E=function(){var t=Xn.map((function(){return new Yn._})),e={},n={clearAllListeners:function(){return t.forEach((function(t){return t.clear()}))},updatePropListeners:function(t){Xn.forEach((function(r){var o,i="on"+r,a=t[i];null===(o=e[r])||void 0===o||o.call(e),a&&(e[r]=n[i](a))}))}};return t.forEach((function(t,e){n["on"+Xn[e]]=function(e){return t.add(e)},n["notify"+Xn[e]]=function(){for(var e=[],n=0;n=0?window.pageYOffset:null,d=function(t,e,n){var r=e.measureViewportBox(),o=e.getInstance(),i=getComputedStyle(o),a=i.display,s={};"none"===a&&e.setStaticValue("display",t.display||"block"),n.forEach((function(t){s[t]=cr[t](r,i)})),e.syncRender();var u=e.measureViewportBox();return n.forEach((function(n){var r=e.getValue(n);or(r,s[n]),t[n]=cr[n](u,i)})),t}(e,t,l);return a.length&&a.forEach((function(e){var n=(0,r.o5)(e,2),o=n[0],i=n[1];t.getValue(o).set(i)})),t.syncRender(),null!==c&&window.scrollTo({top:c}),{target:d,transitionEnd:o}}return{target:e,transitionEnd:o}};function pr(t,e,n,r){return function(t){return Object.keys(t).some(rr)}(e)?dr(t,e,n,r):{target:e,transitionEnd:r}}var fr=function(t,e,n,o){var i=function(t,e,n){var o,i=(0,r.sX)(e,[]),a=t.getInstance();if(!(a instanceof Element))return{target:i,transitionEnd:n};for(var s in n&&(n=(0,r.C3)({},n)),t.forEachValue((function(t){var e=t.get();if(Zn(e)){var n=tr(e,a);n&&t.set(n)}})),i){var u=i[s];if(Zn(u)){var l=tr(u,a);l&&(i[s]=l,n&&(null!==(o=n[s])&&void 0!==o||(n[s]=u)))}}return{target:i,transitionEnd:n}}(t,e,o);return pr(t,e=i.target,n,o=i.transitionEnd)},vr=n(2848);var hr={treeType:"dom",readValueFromInstance:function(t,e){if(q(e)){var n=(0,vr.k)(e);return n&&n.default||0}var r,o=(r=t,window.getComputedStyle(r));return(Z(e)?o.getPropertyValue(e):o[e])||0},sortNodePosition:function(t,e){return 2&t.compareDocumentPosition(e)?1:-1},getBaseTarget:function(t,e){var n;return null===(n=t.style)||void 0===n?void 0:n[e]},measureViewportBox:function(t,e){return Nn(t,e.transformPagePoint)},resetTransform:function(t,e,n){var r=n.transformTemplate;e.style.transform=r?r({},""):"none",t.scheduleRender()},restoreTransform:function(t,e){t.style.transform=e.style.transform},removeValueFromRenderState:function(t,e){var n=e.vars,r=e.style;delete n[t],delete r[t]},makeTargetAnimatable:function(t,e,n,o){var i=n.transformValues;void 0===o&&(o=!0);var a=e.transition,s=e.transitionEnd,u=(0,r.sX)(e,["transition","transitionEnd"]),l=function(t,e,n){var r,o,i={};for(var a in t)i[a]=null!==(r=Be(a,e))&&void 0!==r?r:null===(o=n.getValue(a))||void 0===o?void 0:o.get();return i}(u,a||{},t);if(i&&(s&&(s=i(s)),u&&(u=i(u)),l&&(l=i(l))),o){!function(t,e,n){var r,o,i,a,s=Object.keys(e).filter((function(e){return!t.hasValue(e)})),u=s.length;if(u)for(var l=0;l5)return o;var u=Pe.c.createTransformer(t),l="number"!=typeof s[0]?1:0,c=r.x.scale*n.x,d=r.y.scale*n.y;s[0+l]/=c,s[1+l]/=d;var p=(0,ln.C)(c,d,.5);"number"==typeof s[2+l]&&(s[2+l]/=p),"number"==typeof s[3+l]&&(s[3+l]/=p);var f=u(s);if(i){var v=0;f=f.replace(Cr,(function(){var t=a[v];return v++,t}))}return f}},Pr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.ct)(e,t),e.prototype.componentDidMount=function(){var t,e=this,n=this.props,o=n.visualElement,i=n.layoutGroup,a=n.switchLayoutGroup,s=n.layoutId,u=o.projection;t=Sr,Object.assign(W,t),u&&((null==i?void 0:i.group)&&i.group.add(u),(null==a?void 0:a.register)&&s&&a.register(u),u.root.didUpdate(),u.addEventListener("animationComplete",(function(){e.safeToRemove()})),u.setOptions((0,r.C3)((0,r.C3)({},u.options),{onExitComplete:function(){return e.safeToRemove()}}))),I.hasEverUpdated=!0},e.prototype.getSnapshotBeforeUpdate=function(t){var e=this,n=this.props,r=n.layoutDependency,o=n.visualElement,i=n.drag,a=n.isPresent,s=o.projection;return s?(s.isPresent=a,i||t.layoutDependency!==r||void 0===r?s.willUpdate():this.safeToRemove(),t.isPresent!==a&&(a?s.promote():s.relegate()||Ge.cp.postRender((function(){var t;(null===(t=s.getStack())||void 0===t?void 0:t.members.length)||e.safeToRemove()}))),null):null},e.prototype.componentDidUpdate=function(){var t=this.props.visualElement.projection;t&&(t.root.didUpdate(),!t.currentAnimation&&t.isLead()&&this.safeToRemove())},e.prototype.componentWillUnmount=function(){var t=this.props,e=t.visualElement,n=t.layoutGroup,r=t.switchLayoutGroup,o=e.projection;o&&(o.scheduleCheckAfterUnmount(),(null==n?void 0:n.group)&&n.group.remove(o),(null==r?void 0:r.deregister)&&r.deregister(o))},e.prototype.safeToRemove=function(){var t=this.props.safeToRemove;null==t||t()},e.prototype.render=function(){return null},e}(o.Component);var Sr={borderRadius:(0,r.C3)((0,r.C3)({},br),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:br,borderTopRightRadius:br,borderBottomLeftRadius:br,borderBottomRightRadius:br,boxShadow:wr},Er={measureLayout:function(t){var e=(0,r.o5)(xe(),2),n=e[0],i=e[1],a=(0,o.useContext)(R);return o.createElement(Pr,(0,r.C3)({},t,{layoutGroup:a,switchLayoutGroup:(0,o.useContext)(L),isPresent:n,safeToRemove:i}))}},Tr=n(6972),Ar=n(5112),Mr=["TopLeft","TopRight","BottomLeft","BottomRight"],Vr=Mr.length,Or=function(t){return"string"==typeof t?parseFloat(t):t},Ir=function(t){return"number"==typeof t||lt.px.test(t)};function kr(t,e){var n;return null!==(n=t[e])&&void 0!==n?n:t.borderRadius}var Rr=Dr(0,.5,Ar.Q7),Lr=Dr(.5,.95,Ar.GW);function Dr(t,e,n){return function(r){return re?1:n((0,cn.o)(t,e,r))}}function Br(t,e){t.min=e.min,t.max=e.max}function jr(t,e){Br(t.x,e.x),Br(t.y,e.y)}function Fr(t,e,n,r,o){return t=kn(t-=e,1/n,r),void 0!==o&&(t=kn(t,1/o,r)),t}function Ur(t,e,n,o,i){var a=(0,r.o5)(n,3),s=a[0],u=a[1],l=a[2];!function(t,e,n,r,o,i,a){if(void 0===e&&(e=0),void 0===n&&(n=1),void 0===r&&(r=.5),void 0===i&&(i=t),void 0===a&&(a=t),lt.WI.test(e)&&(e=parseFloat(e),e=(0,ln.C)(a.min,a.max,e/100)-a.min),"number"==typeof e){var s=(0,ln.C)(i.min,i.max,r);t===i&&(s-=e),t.min=Fr(t.min,e,n,s,o),t.max=Fr(t.max,e,n,s,o)}}(t,e[s],e[u],e[l],e.scale,o,i)}var Wr=["x","scaleX","originX"],Nr=["y","scaleY","originY"];function zr(t,e,n,r){Ur(t.x,e,Wr,null==n?void 0:n.x,null==r?void 0:r.x),Ur(t.y,e,Nr,null==n?void 0:n.y,null==r?void 0:r.y)}function _r(t){return 0===t.translate&&1===t.scale}function Hr(t){return _r(t.x)&&_r(t.y)}function qr(t,e){return t.x.min===e.x.min&&t.x.max===e.x.max&&t.y.min===e.y.min&&t.y.max===e.y.max}var Yr=n(244),Xr=function(){function t(){this.members=[]}return t.prototype.add=function(t){(0,Yr.wV)(this.members,t),t.scheduleRender()},t.prototype.remove=function(t){if((0,Yr.sd)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){var e=this.members[this.members.length-1];e&&this.promote(e)}},t.prototype.relegate=function(t){var e,n=this.members.findIndex((function(e){return t===e}));if(0===n)return!1;for(var r=n;r>=0;r--){var o=this.members[r];if(!1!==o.isPresent){e=o;break}}return!!e&&(this.promote(e),!0)},t.prototype.promote=function(t,e){var n,r=this.lead;t!==r&&(this.prevLead=r,this.lead=t,t.show(),r&&(r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,e&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues,t.snapshot.isShared=!0),(null===(n=t.root)||void 0===n?void 0:n.isUpdating)&&(t.isLayoutDirty=!0),!1===t.options.crossfade&&r.hide()))},t.prototype.exitAnimationComplete=function(){this.members.forEach((function(t){var e,n,r,o,i;null===(n=(e=t.options).onExitComplete)||void 0===n||n.call(e),null===(i=null===(r=t.resumingFrom)||void 0===r?void 0:(o=r.options).onExitComplete)||void 0===i||i.call(o)}))},t.prototype.scheduleRender=function(){this.members.forEach((function(t){t.instance&&t.scheduleRender(!1)}))},t.prototype.removeLeadSnapshot=function(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)},t}(),Gr="translate3d(0px, 0px, 0) scale(1, 1) scale(1, 1)";function Kr(t,e,n){var r=t.x.translate/e.x,o=t.y.translate/e.y,i="translate3d(".concat(r,"px, ").concat(o,"px, 0) ");if(i+="scale(".concat(1/e.x,", ").concat(1/e.y,") "),n){var a=n.rotate,s=n.rotateX,u=n.rotateY;a&&(i+="rotate(".concat(a,"deg) ")),s&&(i+="rotateX(".concat(s,"deg) ")),u&&(i+="rotateY(".concat(u,"deg) "))}var l=t.x.scale*e.x,c=t.y.scale*e.y;return(i+="scale(".concat(l,", ").concat(c,")"))===Gr?"none":i}var $r=function(t,e){return t.depth-e.depth},Zr=function(){function t(){this.children=[],this.isDirty=!1}return t.prototype.add=function(t){(0,Yr.wV)(this.children,t),this.isDirty=!0},t.prototype.remove=function(t){(0,Yr.sd)(this.children,t),this.isDirty=!0},t.prototype.forEach=function(t){this.isDirty&&this.children.sort($r),this.isDirty=!1,this.children.forEach(t)},t}();function Qr(t){var e=t.attachResizeListener,n=t.defaultParent,o=t.measureScroll,i=t.checkIsScrollRoot,a=t.resetTransform;return function(){function t(t,e,o){var i=this;void 0===e&&(e={}),void 0===o&&(o=null==n?void 0:n()),this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=function(){i.isUpdating&&(i.isUpdating=!1,i.clearAllSnapshots())},this.updateProjection=function(){i.nodes.forEach(io),i.nodes.forEach(ao)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.id=t,this.latestValues=e,this.root=o?o.root||o:this,this.path=o?(0,r.Mt)((0,r.Mt)([],(0,r.o5)(o.path),!1),[o],!1):[],this.parent=o,this.depth=o?o.depth+1:0,t&&this.root.registerPotentialNode(t,this);for(var a=0;a=0;r--)if(Boolean(t.path[r].instance)){n=t.path[r];break}var o=(n&&n!==t.root?n.instance:document).querySelector('[data-projection-id="'.concat(e,'"]'));o&&t.mount(o,!0)}function ho(t){t.min=Math.round(t.min),t.max=Math.round(t.max)}function mo(t){ho(t.x),ho(t.y)}var yo=Qr({attachResizeListener:function(t,e){return Rt(t,"resize",e)},measureScroll:function(){return{x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}},checkIsScrollRoot:function(){return!0}}),go={current:void 0},xo=Qr({measureScroll:function(t){return{x:t.scrollLeft,y:t.scrollTop}},defaultParent:function(){if(!go.current){var t=new yo(0,{});t.mount(window),t.setOptions({layoutScroll:!0}),go.current=t}return go.current},resetTransform:function(t,e){t.style.transform=null!=e?e:"none"},checkIsScrollRoot:function(t){return Boolean("fixed"===window.getComputedStyle(t).position)}}),bo=(0,r.C3)((0,r.C3)((0,r.C3)((0,r.C3)({},Xe),he),qn),Er),Co=j((function(t,e){return function(t,e,n,o,i){var a=e.forwardMotionProps,s=void 0!==a&&a,u=U(t)?It:kt;return(0,r.C3)((0,r.C3)({},u),{preloadedFeatures:n,useRender:mt(s),createVisualElement:o,projectionNodeConstructor:i,Component:t})}(t,e,bo,gr,xo)}))},948:(t,e,n)=>{n.d(e,{S:()=>a});var r=n(5640),o=n(3312),i=n(2848);function a(t,e){var n,a=(0,i.k)(t);return a!==r.I&&(a=o.c),null===(n=a.getAnimatableNone)||void 0===n?void 0:n.call(a,e)}},2848:(t,e,n)=>{n.d(e,{k:()=>u});var r=n(1316),o=n(6848),i=n(5640),a=n(1376),s=(0,r.C3)((0,r.C3)({},a.i),{color:o.I,backgroundColor:o.I,outlineColor:o.I,fill:o.I,stroke:o.I,borderColor:o.I,borderTopColor:o.I,borderRightColor:o.I,borderBottomColor:o.I,borderLeftColor:o.I,filter:i.I,WebkitFilter:i.I}),u=function(t){return s[t]}},1376:(t,e,n)=>{n.d(e,{i:()=>s});var r=n(1820),o=n(3040),i=n(1316),a=(0,i.C3)((0,i.C3)({},o.CQ),{transform:Math.round}),s={borderWidth:r.px,borderTopWidth:r.px,borderRightWidth:r.px,borderBottomWidth:r.px,borderLeftWidth:r.px,borderRadius:r.px,radius:r.px,borderTopLeftRadius:r.px,borderTopRightRadius:r.px,borderBottomRightRadius:r.px,borderBottomLeftRadius:r.px,width:r.px,maxWidth:r.px,height:r.px,maxHeight:r.px,size:r.px,top:r.px,right:r.px,bottom:r.px,left:r.px,padding:r.px,paddingTop:r.px,paddingRight:r.px,paddingBottom:r.px,paddingLeft:r.px,margin:r.px,marginTop:r.px,marginRight:r.px,marginBottom:r.px,marginLeft:r.px,rotate:r.oh,rotateX:r.oh,rotateY:r.oh,rotateZ:r.oh,scale:o.aU,scaleX:o.aU,scaleY:o.aU,scaleZ:o.aU,skew:r.oh,skewX:r.oh,skewY:r.oh,distance:r.px,translateX:r.px,translateY:r.px,translateZ:r.px,x:r.px,y:r.px,z:r.px,perspective:r.px,transformPerspective:r.px,opacity:o.W4,originX:r._e,originY:r._e,originZ:r.px,zIndex:a,fillOpacity:o.W4,strokeOpacity:o.W4,numOctaves:a}},244:(t,e,n)=>{function r(t,e){-1===t.indexOf(e)&&t.push(e)}function o(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}n.d(e,{sd:()=>o,wV:()=>r})},1332:(t,e,n)=>{n.d(e,{u:()=>r});var r="undefined"!=typeof document},6323:(t,e,n)=>{n.d(e,{O:()=>o,y:()=>i});var r=n(4772),o=function(t){return Boolean(t&&"object"==typeof t&&t.mix&&t.toValue)},i=function(t){return(0,r.U)(t)?t[t.length-1]||0:t}},2732:(t,e,n)=>{n.d(e,{_:()=>o});var r=n(244),o=function(){function t(){this.subscriptions=[]}return t.prototype.add=function(t){var e=this;return(0,r.wV)(this.subscriptions,t),function(){return(0,r.sd)(e.subscriptions,t)}},t.prototype.notify=function(t,e,n){var r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](t,e,n);else for(var o=0;o{n.d(e,{c:()=>r});var r=function(t){return 1e3*t}},4648:(t,e,n)=>{n.d(e,{_:()=>o});var r=n(1504);function o(t){var e=(0,r.useRef)(null);return null===e.current&&(e.current=t()),e.current}},1212:(t,e,n)=>{n.d(e,{M:()=>o});var r=n(1504),o=n(1332).u?r.useLayoutEffect:r.useEffect},5908:(t,e,n)=>{n.d(e,{w:()=>s});var r=n(5864),o=n(4376),i=n(2732),a=function(){function t(t){var e,n=this;this.version="6.5.1",this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new i._,this.velocityUpdateSubscribers=new i._,this.renderSubscribers=new i._,this.canTrackVelocity=!1,this.updateAndNotify=function(t,e){void 0===e&&(e=!0),n.prev=n.current,n.current=t;var o=(0,r.ov)(),i=o.delta,a=o.timestamp;n.lastUpdated!==a&&(n.timeDelta=i,n.lastUpdated=a,r.cp.postRender(n.scheduleVelocityCheck)),n.prev!==n.current&&n.updateSubscribers.notify(n.current),n.velocityUpdateSubscribers.getSize()&&n.velocityUpdateSubscribers.notify(n.getVelocity()),e&&n.renderSubscribers.notify(n.current)},this.scheduleVelocityCheck=function(){return r.cp.postRender(n.velocityCheck)},this.velocityCheck=function(t){t.timestamp!==n.lastUpdated&&(n.prev=n.current,n.velocityUpdateSubscribers.notify(n.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=(e=this.current,!isNaN(parseFloat(e)))}return t.prototype.onChange=function(t){return this.updateSubscribers.add(t)},t.prototype.clearListeners=function(){this.updateSubscribers.clear()},t.prototype.onRenderRequest=function(t){return t(this.get()),this.renderSubscribers.add(t)},t.prototype.attach=function(t){this.passiveEffect=t},t.prototype.set=function(t,e){void 0===e&&(e=!0),e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)},t.prototype.get=function(){return this.current},t.prototype.getPrevious=function(){return this.prev},t.prototype.getVelocity=function(){return this.canTrackVelocity?(0,o.G)(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0},t.prototype.start=function(t){var e=this;return this.stop(),new Promise((function(n){e.hasAnimated=!0,e.stopAnimation=t(n)})).then((function(){return e.clearAnimation()}))},t.prototype.stop=function(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()},t.prototype.isAnimating=function(){return!!this.stopAnimation},t.prototype.clearAnimation=function(){this.stopAnimation=null},t.prototype.destroy=function(){this.updateSubscribers.clear(),this.renderSubscribers.clear(),this.stop()},t}();function s(t){return new a(t)}},5680:(t,e,n)=>{n.d(e,{Y:()=>u});var r=n(1316),o=n(1504),i=n(5908),a=n(7400),s=n(4648);function u(t){var e=(0,s._)((function(){return(0,i.w)(t)}));if((0,o.useContext)(a.K).isStatic){var n=(0,r.o5)((0,o.useState)(t),2)[1];(0,o.useEffect)((function(){return e.onChange(n)}),[])}return e}},4332:(t,e,n)=>{n.d(e,{Q:()=>q});var r=n(1316);const o=new WeakMap;let i;function a({target:t,contentRect:e,borderBoxSize:n}){var r;null===(r=o.get(t))||void 0===r||r.forEach((r=>{r({target:t,contentSize:e,get size(){return function(t,e){if(e){const{inlineSize:t,blockSize:n}=e[0];return{width:t,height:n}}return t instanceof SVGElement&&"getBBox"in t?t.getBBox():{width:t.offsetWidth,height:t.offsetHeight}}(t,n)}})}))}function s(t){t.forEach(a)}function u(t,e){i||"undefined"!=typeof ResizeObserver&&(i=new ResizeObserver(s));const n=function(t,e){var n;return"string"==typeof t?e?(null!==(n=e[t])&&void 0!==n||(e[t]=document.querySelectorAll(t)),t=e[t]):t=document.querySelectorAll(t):t instanceof Element&&(t=[t]),Array.from(t||[])}(t);return n.forEach((t=>{let n=o.get(t);n||(n=new Set,o.set(t,n)),n.add(e),null==i||i.observe(t)})),()=>{n.forEach((t=>{const n=o.get(t);null==n||n.delete(e),(null==n?void 0:n.size)||null==i||i.unobserve(t)}))}}const l=new Set;let c;function d(t){return l.add(t),c||(c=()=>{const t={width:window.innerWidth,height:window.innerHeight},e={target:window,size:t,contentSize:t};l.forEach((t=>t(e)))},window.addEventListener("resize",c)),()=>{l.delete(t),!l.size&&c&&(c=void 0)}}const p=(t,e,n)=>e-t==0?1:(n-t)/(e-t);const f=50,v=()=>({time:0,x:{current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0},y:{current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}}),h={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function m(t,e,n,r){const o=n[e],{length:i,position:a}=h[e],s=o.current,u=n.time;o.current=t["scroll"+a],o.scrollLength=t["scroll"+i]-t["client"+i],o.offset.length=0,o.offset[0]=0,o.offset[1]=o.scrollLength,o.progress=p(0,o.scrollLength,o.current);const l=r-u;var c,d;o.velocity=l>f?0:(c=o.current-s,(d=l)?c*(1e3/d):0)}const y=t=>t,g=(t,e,n)=>-n*t+n*e+t;function x(t,e){const n=t[t.length-1];for(let r=1;r<=e;r++){const o=p(0,e,r);t.push(g(n,1,o))}}function b(t){const e=[0];return x(e,t-1),e}const C=t=>"number"==typeof t,w=t=>Array.isArray(t)&&!C(t[0]),P=(t,e,n)=>{const r=e-t;return((n-t)%r+r)%r+t};const S=(t,e,n)=>Math.min(Math.max(n,t),e);function E(t,e=b(t.length),n=y){const r=t.length,o=r-e.length;return o>0&&x(e,o),o=>{let i=0;for(;i"string"==typeof t,M={start:0,center:.5,end:1};function V(t,e,n=0){let r=0;if(void 0!==M[t]&&(t=M[t]),A(t)){const e=parseFloat(t);t.endsWith("px")?r=e:t.endsWith("%")?t=e/100:t.endsWith("vw")?r=e/100*document.documentElement.clientWidth:t.endsWith("vh")?r=e/100*document.documentElement.clientHeight:t=e}return C(t)&&(r=e*t),n+r}const O=[0,0];function I(t,e,n,r){let o=Array.isArray(t)?t:O,i=0,a=0;return C(t)?o=[t,t]:A(t)&&(o=(t=t.trim()).includes(" ")?t.split(" "):[t,M[t]?t:"0"]),i=V(o[0],n,r),a=V(o[1],e),i-a}const k={x:0,y:0};function R(t,e,n){let{offset:r=T.All}=n;const{target:o=t,axis:i="y"}=n,a="y"===i?"height":"width",s=o!==t?function(t,e){let n={x:0,y:0},r=t;for(;r&&r!==e;)if(r instanceof HTMLElement)n.x+=r.offsetLeft,n.y+=r.offsetTop,r=r.offsetParent;else if(r instanceof SVGGraphicsElement&&"getBBox"in r){const{top:t,left:e}=r.getBBox();for(n.x+=e,n.y+=t;r&&"svg"!==r.tagName;)r=r.parentNode}return n}(o,t):k,u=o===t?{width:t.scrollWidth,height:t.scrollHeight}:{width:o.clientWidth,height:o.clientHeight},l={width:t.clientWidth,height:t.clientHeight};e[i].offset.length=0;let c=!e[i].interpolate;const d=r.length;for(let p=0;pfunction(t,e=t,n){if(n.x.targetOffset=0,n.y.targetOffset=0,e!==t){let r=e;for(;r&&r!=t;)n.x.targetOffset+=r.offsetLeft,n.y.targetOffset+=r.offsetTop,r=r.offsetParent}n.x.targetLength=e===t?e.scrollWidth:e.clientWidth,n.y.targetLength=e===t?e.scrollHeight:e.clientHeight,n.x.containerLength=t.clientWidth,n.y.containerLength=t.clientHeight}(t,r.target,n),update:e=>{!function(t,e,n){m(t,"x",e,n),m(t,"y",e,n),e.time=n}(t,n,e),(r.offset||r.target)&&R(t,n,r)},notify:"function"==typeof e?()=>e(n):D(e,n[o])}}function D(t,e){return t.pause(),t.forEachNative(((t,{easing:e})=>{var n,r;if(t.updateDuration)e||(t.easing=y),t.updateDuration(1);else{const o={duration:1e3};e||(o.easing="linear"),null===(r=null===(n=t.effect)||void 0===n?void 0:n.updateTiming)||void 0===r||r.call(n,o)}})),()=>{t.currentTime=e.progress}}const B=new WeakMap,j=new WeakMap,F=new WeakMap,U=t=>t===document.documentElement?window:t;function W(t,e={}){var{container:n=document.documentElement}=e,o=(0,r.sX)(e,["container"]);let i=F.get(n);i||(i=new Set,F.set(n,i));const a=v(),s=L(n,t,a,o);if(i.add(s),!B.has(n)){const t=()=>{const t=performance.now();for(const e of i)e.measure();for(const e of i)e.update(t);for(const e of i)e.notify()};B.set(n,t);const e=U(n);window.addEventListener("resize",t,{passive:!0}),n!==document.documentElement&&j.set(n,(c=t,"function"==typeof(l=n)?d(l):u(l,c))),e.addEventListener("scroll",t,{passive:!0})}var l,c;const p=B.get(n),f=requestAnimationFrame(p);return()=>{var e;"function"!=typeof t&&t.stop(),cancelAnimationFrame(f);const r=F.get(n);if(!r)return;if(r.delete(s),r.size)return;const o=B.get(n);B.delete(n),o&&(U(n).removeEventListener("scroll",o),null===(e=j.get(n))||void 0===e||e(),window.removeEventListener("resize",o))}}var N=n(5908),z=n(4648),_=n(1212),H=function(){return{scrollX:(0,N.w)(0),scrollY:(0,N.w)(0),scrollXProgress:(0,N.w)(0),scrollYProgress:(0,N.w)(0)}};function q(t){void 0===t&&(t={});var e=t.container,n=t.target,o=(0,r.sX)(t,["container","target"]),i=(0,z._)(H);return(0,_.M)((function(){return W((function(t){var e=t.x,n=t.y;i.scrollX.set(e.current),i.scrollXProgress.set(e.progress),i.scrollY.set(n.current),i.scrollYProgress.set(n.progress)}),(0,r.C3)((0,r.C3)({},o),{container:(null==e?void 0:e.current)||void 0,target:(null==n?void 0:n.current)||void 0}))}),[]),i}},344:(t,e,n)=>{n.d(e,{s:()=>d});var r=n(1316),o=n(8540),i=function(t){return function(t){return"object"==typeof t&&t.mix}(t)?t.mix:void 0};var a=n(5680),s=n(1212);var u=n(5864);function l(t,e){var n=(0,a.Y)(e()),r=function(){return n.set(e())};return r(),function(t,e){(0,s.M)((function(){var n=t.map((function(t){return t.onChange(e)}));return function(){return n.forEach((function(t){return t()}))}}))}(t,(function(){return u.cp.update(r,!1,!0)})),n}var c=n(4648);function d(t,e,n,a){var s="function"==typeof e?e:function(){for(var t=[],e=0;e{n.d(e,{Y:()=>r});var r=function(t){return Boolean(null!==t&&"object"==typeof t&&t.getVelocity)}},5864:(t,e,n)=>{n.d(e,{Qz:()=>f,cp:()=>x,Wi:()=>v,ov:()=>g});const r=1/60*1e3,o="undefined"!=typeof performance?()=>performance.now():()=>Date.now(),i="undefined"!=typeof window?t=>window.requestAnimationFrame(t):t=>setTimeout((()=>t(o())),r);let a=!0,s=!1,u=!1;const l={delta:0,timestamp:0},c=["read","update","preRender","render","postRender"],d=c.reduce(((t,e)=>(t[e]=function(t){let e=[],n=[],r=0,o=!1,i=!1;const a=new WeakSet,s={schedule:(t,i=!1,s=!1)=>{const u=s&&o,l=u?e:n;return i&&a.add(t),-1===l.indexOf(t)&&(l.push(t),u&&o&&(r=e.length)),t},cancel:t=>{const e=n.indexOf(t);-1!==e&&n.splice(e,1),a.delete(t)},process:u=>{if(o)i=!0;else{if(o=!0,[e,n]=[n,e],n.length=0,r=e.length,r)for(let n=0;ns=!0)),t)),{}),p=c.reduce(((t,e)=>{const n=d[e];return t[e]=(t,e=!1,r=!1)=>(s||y(),n.schedule(t,e,r)),t}),{}),f=c.reduce(((t,e)=>(t[e]=d[e].cancel,t)),{}),v=c.reduce(((t,e)=>(t[e]=()=>d[e].process(l),t)),{}),h=t=>d[t].process(l),m=t=>{s=!1,l.delta=a?r:Math.max(Math.min(t-l.timestamp,40),1),l.timestamp=t,u=!0,c.forEach(h),u=!1,s&&(a=!1,i(m))},y=()=>{s=!0,a=!0,u||i(m)},g=()=>l,x=p},5112:(t,e,n)=>{n.d(e,{y6:()=>y,mg:()=>v,st:()=>m,qc:()=>h,yu:()=>x,EH:()=>b,gR:()=>g,wJ:()=>d,i6:()=>f,Q7:()=>p,Ud:()=>s,OW:()=>c,xK:()=>l,GW:()=>a});const r=t=>e=>1-t(1-e),o=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,i=t=>e=>e*e*((t+1)*e-t),a=t=>t,s=(u=2,t=>Math.pow(t,u));var u;const l=r(s),c=o(s),d=t=>1-Math.sin(Math.acos(t)),p=r(d),f=o(p),v=i(1.525),h=r(v),m=o(v),y=(t=>{const e=i(t);return t=>(t*=2)<1?.5*e(t):.5*(2-Math.pow(2,-10*(t-1)))})(1.525),g=t=>{if(1===t||0===t)return t;const e=t*t;return t<.36363636363636365?7.5625*e:t<.7272727272727273?9.075*e-9.9*t+3.4:t<.9?12.066481994459833*e-19.63545706371191*t+8.898060941828255:10.8*t*t-20.52*t+10.72},x=r(g),b=t=>t<.5?.5*(1-g(1-2*t)):.5*g(2*t-1)+.5},8456:(t,e,n)=>{n.d(e,{q:()=>r});const r=(t,e,n)=>Math.min(Math.max(n,t),e)},3336:(t,e,n)=>{n.d(e,{K:()=>r});const r=t=>"number"==typeof t},8540:(t,e,n)=>{n.d(e,{q:()=>M});var r=n(6916),o=n(2704),i=n(6728),a=n(6360),s=n(2836),u=n(8444);function l(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function c({hue:t,saturation:e,lightness:n,alpha:r}){t/=360,n/=100;let o=0,i=0,a=0;if(e/=100){const r=n<.5?n*(1+e):n+e-n*e,s=2*n-r;o=l(s,r,t+1/3),i=l(s,r,t),a=l(s,r,t-1/3)}else o=i=a=n;return{red:Math.round(255*o),green:Math.round(255*i),blue:Math.round(255*a),alpha:r}}const d=(t,e,n)=>{const r=t*t,o=e*e;return Math.sqrt(Math.max(0,n*(o-r)+r))},p=[i.c,a.M,s.u],f=t=>p.find((e=>e.test(t))),v=t=>`'${t}' is not an animatable color. Use the equivalent color code instead.`,h=(t,e)=>{let n=f(t),r=f(e);(0,u.O)(!!n,v(t)),(0,u.O)(!!r,v(e));let i=n.parse(t),l=r.parse(e);n===s.u&&(i=c(i),n=a.M),r===s.u&&(l=c(l),r=a.M);const p=Object.assign({},i);return t=>{for(const e in p)"alpha"!==e&&(p[e]=d(i[e],l[e],t));return p.alpha=(0,o.C)(i.alpha,l.alpha,t),n.transform(p)}};var m=n(6848),y=n(3312),g=n(3336),x=n(4696);function b(t,e){return(0,g.K)(t)?n=>(0,o.C)(t,e,n):m.I.test(t)?h(t,e):S(t,e)}const C=(t,e)=>{const n=[...t],r=n.length,o=t.map(((t,n)=>b(t,e[n])));return t=>{for(let e=0;e{const n=Object.assign(Object.assign({},t),e),r={};for(const o in n)void 0!==t[o]&&void 0!==e[o]&&(r[o]=b(t[o],e[o]));return t=>{for(const e in r)n[e]=r[e](t);return n}};function P(t){const e=y.c.parse(t),n=e.length;let r=0,o=0,i=0;for(let a=0;a{const n=y.c.createTransformer(e),r=P(t),o=P(e);return r.numHSL===o.numHSL&&r.numRGB===o.numRGB&&r.numNumbers>=o.numNumbers?(0,x.W)(C(r.parsed,o.parsed),n):((0,u.s)(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),n=>`${n>0?e:t}`)};var E=n(8456);const T=(t,e)=>n=>(0,o.C)(t,e,n);function A(t,e,n){const r=[],o=n||("number"==typeof(i=t[0])?T:"string"==typeof i?m.I.test(i)?h:S:Array.isArray(i)?C:"object"==typeof i?w:void 0);var i;const a=t.length-1;for(let s=0;st[a-1]&&(t=[].concat(t),e=[].concat(e),t.reverse(),e.reverse());const s=A(e,o,i),l=2===a?function([t,e],[n]){return o=>n((0,r.o)(t,e,o))}(t,s):function(t,e){const n=t.length,o=n-1;return i=>{let a=0,s=!1;if(i<=t[0]?s=!0:i>=t[o]&&(a=o-1,s=!0),!s){let e=1;for(;ei||e===o);e++);a=e-1}const u=(0,r.o)(t[a],t[a+1],i);return e[a](u)}}(t,s);return n?e=>l((0,E.q)(t[0],t[a-1],e)):l}},2704:(t,e,n)=>{n.d(e,{C:()=>r});const r=(t,e,n)=>-n*t+n*e+t},4696:(t,e,n)=>{n.d(e,{W:()=>o});const r=(t,e)=>n=>e(t(n)),o=(...t)=>t.reduce(r)},6916:(t,e,n)=>{n.d(e,{o:()=>r});const r=(t,e,n)=>{const r=e-t;return 0===r?1:(n-t)/r}},4376:(t,e,n)=>{function r(t,e){return e?t*(1e3/e):0}n.d(e,{G:()=>r})},6728:(t,e,n)=>{n.d(e,{c:()=>o});var r=n(6360);const o={test:(0,n(6533).W)("#"),parse:function(t){let e="",n="",r="",o="";return t.length>5?(e=t.substr(1,2),n=t.substr(3,2),r=t.substr(5,2),o=t.substr(7,2)):(e=t.substr(1,1),n=t.substr(2,1),r=t.substr(3,1),o=t.substr(4,1),e+=e,n+=n,r+=r,o+=o),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}},transform:r.M.transform}},2836:(t,e,n)=>{n.d(e,{u:()=>s});var r=n(3040),o=n(1820),i=n(1936),a=n(6533);const s={test:(0,a.W)("hsl","hue"),parse:(0,a.G)("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:a=1})=>"hsla("+Math.round(t)+", "+o.WI.transform((0,i.Ok)(e))+", "+o.WI.transform((0,i.Ok)(n))+", "+(0,i.Ok)(r.W4.transform(a))+")"}},6848:(t,e,n)=>{n.d(e,{I:()=>s});var r=n(1936),o=n(6728),i=n(2836),a=n(6360);const s={test:t=>a.M.test(t)||o.c.test(t)||i.u.test(t),parse:t=>a.M.test(t)?a.M.parse(t):i.u.test(t)?i.u.parse(t):o.c.parse(t),transform:t=>(0,r.ct)(t)?t:t.hasOwnProperty("red")?a.M.transform(t):i.u.transform(t)}},6360:(t,e,n)=>{n.d(e,{M:()=>u});var r=n(3040),o=n(1936),i=n(6533);const a=(0,o.qk)(0,255),s=Object.assign(Object.assign({},r.CQ),{transform:t=>Math.round(a(t))}),u={test:(0,i.W)("rgb","red"),parse:(0,i.G)("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:i=1})=>"rgba("+s.transform(t)+", "+s.transform(e)+", "+s.transform(n)+", "+(0,o.Ok)(r.W4.transform(i))+")"}},6533:(t,e,n)=>{n.d(e,{G:()=>i,W:()=>o});var r=n(1936);const o=(t,e)=>n=>Boolean((0,r.ct)(n)&&r.CC.test(n)&&n.startsWith(t)||e&&Object.prototype.hasOwnProperty.call(n,e)),i=(t,e,n)=>o=>{if(!(0,r.ct)(o))return o;const[i,a,s,u]=o.match(r.au);return{[t]:parseFloat(i),[e]:parseFloat(a),[n]:parseFloat(s),alpha:void 0!==u?parseFloat(u):1}}},5640:(t,e,n)=>{n.d(e,{I:()=>u});var r=n(3312),o=n(1936);const i=new Set(["brightness","contrast","saturate","opacity"]);function a(t){let[e,n]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;const[r]=n.match(o.au)||[];if(!r)return t;const a=n.replace(r,"");let s=i.has(e)?1:0;return r!==n&&(s*=100),e+"("+s+a+")"}const s=/([a-z-]*)\(.*?\)/g,u=Object.assign(Object.assign({},r.c),{getAnimatableNone:t=>{const e=t.match(s);return e?e.map(a).join(" "):t}})},3312:(t,e,n)=>{n.d(e,{c:()=>p});var r=n(6848),o=n(3040),i=n(1936);const a="${c}",s="${n}";function u(t){"number"==typeof t&&(t=`${t}`);const e=[];let n=0;const u=t.match(i.iO);u&&(n=u.length,t=t.replace(i.iO,a),e.push(...u.map(r.I.parse)));const l=t.match(i.au);return l&&(t=t.replace(i.au,s),e.push(...l.map(o.CQ.parse))),{values:e,numColors:n,tokenised:t}}function l(t){return u(t).values}function c(t){const{values:e,numColors:n,tokenised:o}=u(t),l=e.length;return t=>{let e=o;for(let o=0;o"number"==typeof t?0:t;const p={test:function(t){var e,n,r,o;return isNaN(t)&&(0,i.ct)(t)&&(null!==(n=null===(e=t.match(i.au))||void 0===e?void 0:e.length)&&void 0!==n?n:0)+(null!==(o=null===(r=t.match(i.iO))||void 0===r?void 0:r.length)&&void 0!==o?o:0)>0},parse:l,createTransformer:c,getAnimatableNone:function(t){const e=l(t);return c(t)(e.map(d))}}},3040:(t,e,n)=>{n.d(e,{CQ:()=>o,W4:()=>i,aU:()=>a});var r=n(1936);const o={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},i=Object.assign(Object.assign({},o),{transform:(0,r.qk)(0,1)}),a=Object.assign(Object.assign({},o),{default:1})},1820:(t,e,n)=>{n.d(e,{WI:()=>a,_e:()=>c,oh:()=>i,px:()=>s,vh:()=>u,vw:()=>l});var r=n(1936);const o=t=>({test:e=>(0,r.ct)(e)&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),i=o("deg"),a=o("%"),s=o("px"),u=o("vh"),l=o("vw"),c=Object.assign(Object.assign({},a),{parse:t=>a.parse(t)/100,transform:t=>a.transform(100*t)})},1936:(t,e,n)=>{n.d(e,{CC:()=>s,Ok:()=>o,au:()=>i,ct:()=>u,iO:()=>a,qk:()=>r});const r=(t,e)=>n=>Math.max(Math.min(n,e),t),o=t=>t%1?Number(t.toFixed(5)):t,i=/(-)?([\d]*\.?[\d])+/g,a=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))/gi,s=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function u(t){return"string"==typeof t}},1316:(t,e,n)=>{n.d(e,{C3:()=>i,Mt:()=>u,ct:()=>o,o5:()=>s,sX:()=>a});var r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)};function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var i=function(){return i=Object.assign||function(t){for(var e,n=1,r=arguments.length;n0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function u(t,e,n){if(n||2===arguments.length)for(var r,o=0,i=e.length;o{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{"use strict";function r(e){var t,n,a="";if("string"==typeof e||"number"==typeof e)a+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;ta});const a=function(){for(var e,t,n=0,a="";n{"use strict";n.d(t,{iU:()=>S,Yf:()=>P,gh:()=>g,Wi:()=>L,Ep:()=>m,gx:()=>h});var r=n(5072);function a(e){return"/"===e.charAt(0)}function o(e,t){for(var n=t,r=n+1,a=e.length;r=0;f--){var p=i[f];"."===p?o(i,f):".."===p?(o(i,f),d++):d&&(o(i,f),d--)}if(!u)for(;d--;d)i.unshift("..");!u||""===i[0]||i[0]&&a(i[0])||i.unshift("");var m=i.join("/");return n&&"/"!==m.substr(-1)&&(m+="/"),m};function l(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}const s=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));if("object"==typeof t||"object"==typeof n){var r=l(t),a=l(n);return r!==t||a!==n?e(r,a):Object.keys(Object.assign({},t,n)).every((function(r){return e(t[r],n[r])}))}return!1};var u=n(6136);function c(e){return"/"===e.charAt(0)?e:"/"+e}function d(e){return"/"===e.charAt(0)?e.substr(1):e}function f(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function p(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function m(e){var t=e.pathname,n=e.search,r=e.hash,a=t||"/";return n&&"?"!==n&&(a+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(a+="#"===r.charAt(0)?r:"#"+r),a}function g(e,t,n,a){var o;"string"==typeof e?(o=function(e){var t=e||"/",n="",r="",a=t.indexOf("#");-1!==a&&(r=t.substr(a),t=t.substr(0,a));var o=t.indexOf("?");return-1!==o&&(n=t.substr(o),t=t.substr(0,o)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),o.state=t):(void 0===(o=(0,r.c)({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(l){throw l instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):l}return n&&(o.key=n),a?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=i(o.pathname,a.pathname)):o.pathname=a.pathname:o.pathname||(o.pathname="/"),o}function h(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&s(e.state,t.state)}function b(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,a){if(null!=e){var o="function"==typeof e?e(t,n):e;"string"==typeof o?"function"==typeof r?r(o,a):a(!0):a(!1!==o)}else a(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;rt?n.splice(t,n.length-t,a):n.push(a),d({action:r,location:a,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",a=g(e,t,f(),w.location);c.confirmTransitionTo(a,r,n,(function(e){e&&(w.entries[w.index]=a,d({action:r,location:a}))}))},go:y,goBack:function(){y(-1)},goForward:function(){y(1)},canGo:function(e){var t=w.index+e;return t>=0&&t{"use strict";var r=n(2168),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return r.isMemo(e)?i:l[e.$$typeof]||a}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=i;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(m){var a=p(n);a&&a!==m&&e(t,a,r)}var i=c(n);d&&(i=i.concat(d(n)));for(var l=s(t),g=s(n),h=0;h{"use strict";e.exports=function(e,t,n,r,a,o,i,l){if(!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,a,o,i,l],c=0;(s=new Error(t.replace(/%s/g,(function(){return u[c++]})))).name="Invariant Violation"}throw s.framesToPop=1,s}}},9600:e=>{e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},1462:(e,t,n)=>{"use strict";n.r(t)},1496:(e,t,n)=>{"use strict";n.r(t)},8196:(e,t,n)=>{"use strict";n.r(t)},5088:(e,t,n)=>{"use strict";n.r(t)},8818:(e,t,n)=>{"use strict";n.r(t)},8552:(e,t,n)=>{"use strict";n.r(t)},2552:(e,t,n)=>{"use strict";n.r(t)},2272:function(e,t,n){var r,a;r=function(){var e,t,n={version:"0.2.0"},r=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'
'};function a(e,t,n){return en?n:e}function o(e){return 100*(-1+e)}function i(e,t,n){var a;return(a="translate3d"===r.positionUsing?{transform:"translate3d("+o(e)+"%,0,0)"}:"translate"===r.positionUsing?{transform:"translate("+o(e)+"%,0)"}:{"margin-left":o(e)+"%"}).transition="all "+t+"ms "+n,a}n.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(r[t]=n);return this},n.status=null,n.set=function(e){var t=n.isStarted();e=a(e,r.minimum,1),n.status=1===e?null:e;var o=n.render(!t),u=o.querySelector(r.barSelector),c=r.speed,d=r.easing;return o.offsetWidth,l((function(t){""===r.positionUsing&&(r.positionUsing=n.getPositioningCSS()),s(u,i(e,c,d)),1===e?(s(o,{transition:"none",opacity:1}),o.offsetWidth,setTimeout((function(){s(o,{transition:"all "+c+"ms linear",opacity:0}),setTimeout((function(){n.remove(),t()}),c)}),c)):setTimeout(t,c)})),this},n.isStarted=function(){return"number"==typeof n.status},n.start=function(){n.status||n.set(0);var e=function(){setTimeout((function(){n.status&&(n.trickle(),e())}),r.trickleSpeed)};return r.trickle&&e(),this},n.done=function(e){return e||n.status?n.inc(.3+.5*Math.random()).set(1):this},n.inc=function(e){var t=n.status;return t?("number"!=typeof e&&(e=(1-t)*a(Math.random()*t,.1,.95)),t=a(t+e,0,.994),n.set(t)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},e=0,t=0,n.promise=function(r){return r&&"resolved"!==r.state()?(0===t&&n.start(),e++,t++,r.always((function(){0==--t?(e=0,n.done()):n.set((e-t)/e)})),this):this},n.render=function(e){if(n.isRendered())return document.getElementById("nprogress");c(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=r.template;var a,i=t.querySelector(r.barSelector),l=e?"-100":o(n.status||0),u=document.querySelector(r.parent);return s(i,{transition:"all 0 linear",transform:"translate3d("+l+"%,0,0)"}),r.showSpinner||(a=t.querySelector(r.spinnerSelector))&&p(a),u!=document.body&&c(u,"nprogress-custom-parent"),u.appendChild(t),t},n.remove=function(){d(document.documentElement,"nprogress-busy"),d(document.querySelector(r.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&p(e)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var l=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),s=function(){var e=["Webkit","O","Moz","ms"],t={};function n(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()}))}function r(t){var n=document.body.style;if(t in n)return t;for(var r,a=e.length,o=t.charAt(0).toUpperCase()+t.slice(1);a--;)if((r=e[a]+o)in n)return r;return t}function a(e){return e=n(e),t[e]||(t[e]=r(e))}function o(e,t,n){t=a(t),e.style[t]=n}return function(e,t){var n,r,a=arguments;if(2==a.length)for(n in t)void 0!==(r=t[n])&&t.hasOwnProperty(n)&&o(e,n,r);else o(e,a[1],a[2])}}();function u(e,t){return("string"==typeof e?e:f(e)).indexOf(" "+t+" ")>=0}function c(e,t){var n=f(e),r=n+t;u(n,t)||(e.className=r.substring(1))}function d(e,t){var n,r=f(e);u(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function f(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function p(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return n},void 0===(a="function"==typeof r?r.call(t,n,t,e):r)||(e.exports=a)},9456:e=>{"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(a){return!1}}()?Object.assign:function(e,a){for(var o,i,l=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),s=1;s{var r=n(9600);e.exports=p,e.exports.parse=o,e.exports.compile=function(e,t){return l(o(e,t),t)},e.exports.tokensToFunction=l,e.exports.tokensToRegExp=f;var a=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function o(e,t){for(var n,r=[],o=0,i=0,l="",c=t&&t.delimiter||"/";null!=(n=a.exec(e));){var d=n[0],f=n[1],p=n.index;if(l+=e.slice(i,p),i=p+d.length,f)l+=f[1];else{var m=e[i],g=n[2],h=n[3],b=n[4],v=n[5],y=n[6],w=n[7];l&&(r.push(l),l="");var k=null!=g&&null!=m&&m!==g,E="+"===y||"*"===y,S="?"===y||"*"===y,x=n[2]||c,C=b||v;r.push({name:h||o++,prefix:g||"",delimiter:x,optional:S,repeat:E,partial:k,asterisk:!!w,pattern:C?u(C):w?".*":"[^"+s(x)+"]+?"})}}return i{"use strict";n.d(t,{c:()=>o});var r=function(){var e=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,t=0,n={},r={util:{encode:function e(t){return t instanceof a?new a(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/=d.reach);S+=E.value.length,E=E.next){var x=E.value;if(t.length>e.length)return;if(!(x instanceof a)){var C,_=1;if(v){if(!(C=o(k,S,e,b))||C.index>=e.length)break;var O=C.index,T=C.index+C[0].length,P=S;for(P+=E.value.length;O>=P;)P+=(E=E.next).value.length;if(S=P-=E.value.length,E.value instanceof a)continue;for(var A=E;A!==t.tail&&(Pd.reach&&(d.reach=N);var j=E.prev;if(R&&(j=s(t,j,R),S+=R.length),u(t,j,_),E=s(t,j,new a(f,h?r.tokenize(L,h):L,y,L)),D&&s(t,E,D),_>1){var I={cause:f+","+m,reach:N};i(e,t,n,E.prev,S,I),d&&I.reach>d.reach&&(d.reach=I.reach)}}}}}}function l(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function s(e,t,n){var r=t.next,a={value:n,prev:t,next:r};return t.next=a,r.prev=a,e.length++,a}function u(e,t,n){for(var r=t.next,a=0;a"+o.content+""},r}(),a=r;r.default=r,a.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},a.languages.markup.tag.inside["attr-value"].inside.entity=a.languages.markup.entity,a.languages.markup.doctype.inside["internal-subset"].inside=a.languages.markup,a.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))})),Object.defineProperty(a.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^$)/i,lookbehind:!0,inside:a.languages[t]},n.cdata=/^$/i;var r={"included-cdata":{pattern://i,inside:n}};r["language-"+t]={pattern:/[\s\S]+/,inside:a.languages[t]};var o={};o[e]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:r},a.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(a.languages.markup.tag,"addAttribute",{value:function(e,t){a.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:a.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),a.languages.html=a.languages.markup,a.languages.mathml=a.languages.markup,a.languages.svg=a.languages.markup,a.languages.xml=a.languages.extend("markup",{}),a.languages.ssml=a.languages.xml,a.languages.atom=a.languages.xml,a.languages.rss=a.languages.xml,function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var a=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],o=r.variable[1].inside,i=0;i]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},a.languages.c=a.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),a.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),a.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},a.languages.c.string],char:a.languages.c.char,comment:a.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:a.languages.c}}}}),a.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete a.languages.c.boolean,function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,(function(){return t.source}));e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,(function(){return t.source}))),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,(function(){return n}))+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(a),function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(a),function(e){var t,n=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;e.languages.css.selector={pattern:e.languages.css.selector.pattern,lookbehind:!0,inside:t={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp("\\[(?:[^[\\]\"']|"+n.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[n,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var r={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},a={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:r,number:a,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:r,number:a})}(a),a.languages.javascript=a.languages.extend("clike",{"class-name":[a.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),a.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,a.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:a.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:a.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:a.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:a.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:a.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),a.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:a.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),a.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),a.languages.markup&&(a.languages.markup.tag.addInlined("script","javascript"),a.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),a.languages.js=a.languages.javascript,function(e){var t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}(a),function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ \t]+"+t.source+")?|"+t.source+"(?:[ \t]+"+n.source+")?)",a=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),o=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function i(e,t){t=(t||"").replace(/m/g,"")+"m";var n=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,(function(){return r})).replace(/<>/g,(function(){return e}));return RegExp(n,t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,(function(){return r}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,(function(){return r})).replace(/<>/g,(function(){return"(?:"+a+"|"+o+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:i(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:i(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:i(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:i(o),lookbehind:!0,greedy:!0},number:{pattern:i(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(a),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(//g,(function(){return t})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,a=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return r})),o=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+a+o+"(?:"+a+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+a+o+")(?:"+a+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+a+")"+o+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+a+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach((function(t){["url","bold","italic","strike","code-snippet"].forEach((function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])}))})),e.hooks.add("after-tokenize",(function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n",quot:'"'},s=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(a),a.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:a.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},a.hooks.add("after-tokenize",(function(e){if("graphql"===e.language)for(var t=e.tokens.filter((function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type})),n=0;n0)){var l=f(/^\{$/,/^\}$/);if(-1===l)continue;for(var s=n;s=0&&p(u,"variable-input")}}}}function c(e){return t[n+e]}function d(e,t){t=t||0;for(var n=0;n?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){var t=e.languages.javascript["template-string"],n=t.pattern.source,r=t.inside.interpolation,a=r.inside["interpolation-punctuation"],o=r.pattern.source;function i(t,r){if(e.languages[t])return{pattern:RegExp("((?:"+r+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}}}function l(e,t){return"___"+t.toUpperCase()+"_"+e+"___"}function s(t,n,r){var a={code:t,grammar:n,language:r};return e.hooks.run("before-tokenize",a),a.tokens=e.tokenize(a.code,a.grammar),e.hooks.run("after-tokenize",a),a.tokens}function u(t){var n={};n["interpolation-punctuation"]=a;var o=e.tokenize(t,n);if(3===o.length){var i=[1,1];i.push.apply(i,s(o[1],e.languages.javascript,"javascript")),o.splice.apply(o,i)}return new e.Token("interpolation",o,r.alias,t)}function c(t,n,r){var a=e.tokenize(t,{interpolation:{pattern:RegExp(o),lookbehind:!0}}),i=0,c={},d=s(a.map((function(e){if("string"==typeof e)return e;for(var n,a=e.content;-1!==t.indexOf(n=l(i++,r)););return c[n]=a,n})).join(""),n,r),f=Object.keys(c);return i=0,function e(t){for(var n=0;n=f.length)return;var r=t[n];if("string"==typeof r||"string"==typeof r.content){var a=f[i],o="string"==typeof r?r:r.content,l=o.indexOf(a);if(-1!==l){++i;var s=o.substring(0,l),d=u(c[a]),p=o.substring(l+a.length),m=[];if(s&&m.push(s),m.push(d),p){var g=[p];e(g),m.push.apply(m,g)}"string"==typeof r?(t.splice.apply(t,[n,1].concat(m)),n+=m.length-1):r.content=m}}else{var h=r.content;Array.isArray(h)?e(h):e([h])}}}(d),new e.Token(r,d,"language-"+r,t)}e.languages.javascript["template-string"]=[i("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),i("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),i("svg",/\bsvg/.source),i("markdown",/\b(?:markdown|md)/.source),i("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),i("sql",/\bsql/.source),t].filter(Boolean);var d={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function f(e){return"string"==typeof e?e:Array.isArray(e)?e.map(f).join(""):f(e.content)}e.hooks.add("after-tokenize",(function(t){t.language in d&&function t(n){for(var r=0,a=n.length;r]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(a),function(e){function t(e,t){return RegExp(e.replace(//g,(function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source})),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],r=0;r*\.{3}(?:[^{}]|)*\})/.source;function o(e,t){return e=e.replace(//g,(function(){return n})).replace(//g,(function(){return r})).replace(//g,(function(){return a})),RegExp(e,t)}a=o(a).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=o(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:o(//.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:o(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var i=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(i).join(""):""},l=function(t){for(var n=[],r=0;r0&&n[n.length-1].tagName===i(a.content[0].content[1])&&n.pop():"/>"===a.content[a.content.length-1].content||n.push({tagName:i(a.content[0].content[1]),openedBraces:0}):n.length>0&&"punctuation"===a.type&&"{"===a.content?n[n.length-1].openedBraces++:n.length>0&&n[n.length-1].openedBraces>0&&"punctuation"===a.type&&"}"===a.content?n[n.length-1].openedBraces--:o=!0),(o||"string"==typeof a)&&n.length>0&&0===n[n.length-1].openedBraces){var s=i(a);r0&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(s=i(t[r-1])+s,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",s,null,s)}a.content&&"string"!=typeof a.content&&l(a.content)}};e.hooks.add("after-tokenize",(function(e){"jsx"!==e.language&&"tsx"!==e.language||l(e.tokens)}))}(a),function(e){e.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var t={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(t).forEach((function(n){var r=t[n],a=[];/^\w+$/.test(n)||a.push(/\w+/.exec(n)[0]),"diff"===n&&a.push("bold"),e.languages.diff[n]={pattern:RegExp("^(?:["+r+"].*(?:\r\n?|\n|(?![\\s\\S])))+","m"),alias:a,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(n)[0]}}}})),Object.defineProperty(e.languages.diff,"PREFIXES",{value:t})}(a),a.languages.git={comment:/^#.*/m,deleted:/^[-\u2013].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m},a.languages.go=a.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),a.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete a.languages.go["class-name"],function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,a,o){if(n.language===r){var i=n.tokenStack=[];n.code=n.code.replace(a,(function(e){if("function"==typeof o&&!o(e))return e;for(var a,l=i.length;-1!==n.code.indexOf(a=t(r,l));)++l;return i[l]=e,a})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var a=0,o=Object.keys(n.tokenStack);!function i(l){for(var s=0;s=o.length);s++){var u=l[s];if("string"==typeof u||u.content&&"string"==typeof u.content){var c=o[a],d=n.tokenStack[c],f="string"==typeof u?u:u.content,p=t(r,c),m=f.indexOf(p);if(m>-1){++a;var g=f.substring(0,m),h=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),b=f.substring(m+p.length),v=[];g&&v.push.apply(v,i([g])),v.push(h),b&&v.push.apply(v,i([b])),"string"==typeof u?l.splice.apply(l,[s,1].concat(v)):u.content=v}}else u.content&&i(u.content)}return l}(n.tokens)}}}})}(a),function(e){e.languages.handlebars={comment:/\{\{![\s\S]*?\}\}/,delimiter:{pattern:/^\{\{\{?|\}\}\}?$/,alias:"punctuation"},string:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][+-]?\d+)?/,boolean:/\b(?:false|true)\b/,block:{pattern:/^(\s*(?:~\s*)?)[#\/]\S+?(?=\s*(?:~\s*)?$|\s)/,lookbehind:!0,alias:"keyword"},brackets:{pattern:/\[[^\]]+\]/,inside:{punctuation:/\[|\]/,variable:/[\s\S]+/}},punctuation:/[!"#%&':()*+,.\/;<=>@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},e.hooks.add("before-tokenize",(function(t){e.languages["markup-templating"].buildPlaceholders(t,"handlebars",/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"handlebars")})),e.languages.hbs=e.languages.handlebars}(a),a.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},a.languages.webmanifest=a.languages.json,a.languages.less=a.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),a.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}}),a.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/},a.languages.objectivec=a.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete a.languages.objectivec["class-name"],a.languages.objc=a.languages.objectivec,a.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/},a.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},a.languages.python["string-interpolation"].inside.interpolation.inside.rest=a.languages.python,a.languages.py=a.languages.python,a.languages.reason=a.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),a.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete a.languages.reason.function,function(e){e.languages.sass=e.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete e.languages.sass.atrule;var t=/\$[-\w]+|#\{\$[-\w]+\}/,n=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];e.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:t,operator:n}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:t,operator:n,important:e.languages.sass.important}}}),delete e.languages.sass.property,delete e.languages.sass.important,e.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})}(a),a.languages.scss=a.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),a.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),a.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),a.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),a.languages.scss.atrule.inside.rest=a.languages.scss,function(e){var t={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},n={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},r={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:n,punctuation:/[{}()\[\];:,]/};r.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:r}},r.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:r}},e.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:r}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:r}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:r}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:r.interpolation}},rest:r}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:r.interpolation,comment:r.comment,punctuation:/[{},]/}},func:r.func,string:r.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:r.interpolation,punctuation:/[{}()\[\];:.]/}}(a),function(e){var t=e.util.clone(e.languages.typescript);e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"];var n=e.languages.tsx.tag;n.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+n.pattern.source+")",n.pattern.flags),n.lookbehind=!0}(a),a.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/};const o=a},7248:e=>{e.exports&&(e.exports={core:{meta:{path:"components/prism-core.js",option:"mandatory"},core:"Core"},themes:{meta:{path:"themes/{id}.css",link:"index.html?theme={id}",exclusive:!0},prism:{title:"Default",option:"default"},"prism-dark":"Dark","prism-funky":"Funky","prism-okaidia":{title:"Okaidia",owner:"ocodia"},"prism-twilight":{title:"Twilight",owner:"remybach"},"prism-coy":{title:"Coy",owner:"tshedor"},"prism-solarizedlight":{title:"Solarized Light",owner:"hectormatos2011 "},"prism-tomorrow":{title:"Tomorrow Night",owner:"Rosey"}},languages:{meta:{path:"components/prism-{id}",noCSS:!0,examplesPath:"examples/prism-{id}",addCheckAll:!0},markup:{title:"Markup",alias:["html","xml","svg","mathml","ssml","atom","rss"],aliasTitles:{html:"HTML",xml:"XML",svg:"SVG",mathml:"MathML",ssml:"SSML",atom:"Atom",rss:"RSS"},option:"default"},css:{title:"CSS",option:"default",modify:"markup"},clike:{title:"C-like",option:"default"},javascript:{title:"JavaScript",require:"clike",modify:"markup",optional:"regex",alias:"js",option:"default"},abap:{title:"ABAP",owner:"dellagustin"},abnf:{title:"ABNF",owner:"RunDevelopment"},actionscript:{title:"ActionScript",require:"javascript",modify:"markup",owner:"Golmote"},ada:{title:"Ada",owner:"Lucretia"},agda:{title:"Agda",owner:"xy-ren"},al:{title:"AL",owner:"RunDevelopment"},antlr4:{title:"ANTLR4",alias:"g4",owner:"RunDevelopment"},apacheconf:{title:"Apache Configuration",owner:"GuiTeK"},apex:{title:"Apex",require:["clike","sql"],owner:"RunDevelopment"},apl:{title:"APL",owner:"ngn"},applescript:{title:"AppleScript",owner:"Golmote"},aql:{title:"AQL",owner:"RunDevelopment"},arduino:{title:"Arduino",require:"cpp",alias:"ino",owner:"dkern"},arff:{title:"ARFF",owner:"Golmote"},armasm:{title:"ARM Assembly",alias:"arm-asm",owner:"RunDevelopment"},arturo:{title:"Arturo",alias:"art",optional:["bash","css","javascript","markup","markdown","sql"],owner:"drkameleon"},asciidoc:{alias:"adoc",title:"AsciiDoc",owner:"Golmote"},aspnet:{title:"ASP.NET (C#)",require:["markup","csharp"],owner:"nauzilus"},asm6502:{title:"6502 Assembly",owner:"kzurawel"},asmatmel:{title:"Atmel AVR Assembly",owner:"cerkit"},autohotkey:{title:"AutoHotkey",owner:"aviaryan"},autoit:{title:"AutoIt",owner:"Golmote"},avisynth:{title:"AviSynth",alias:"avs",owner:"Zinfidel"},"avro-idl":{title:"Avro IDL",alias:"avdl",owner:"RunDevelopment"},awk:{title:"AWK",alias:"gawk",aliasTitles:{gawk:"GAWK"},owner:"RunDevelopment"},bash:{title:"Bash",alias:["sh","shell"],aliasTitles:{sh:"Shell",shell:"Shell"},owner:"zeitgeist87"},basic:{title:"BASIC",owner:"Golmote"},batch:{title:"Batch",owner:"Golmote"},bbcode:{title:"BBcode",alias:"shortcode",aliasTitles:{shortcode:"Shortcode"},owner:"RunDevelopment"},bbj:{title:"BBj",owner:"hyyan"},bicep:{title:"Bicep",owner:"johnnyreilly"},birb:{title:"Birb",require:"clike",owner:"Calamity210"},bison:{title:"Bison",require:"c",owner:"Golmote"},bnf:{title:"BNF",alias:"rbnf",aliasTitles:{rbnf:"RBNF"},owner:"RunDevelopment"},bqn:{title:"BQN",owner:"yewscion"},brainfuck:{title:"Brainfuck",owner:"Golmote"},brightscript:{title:"BrightScript",owner:"RunDevelopment"},bro:{title:"Bro",owner:"wayward710"},bsl:{title:"BSL (1C:Enterprise)",alias:"oscript",aliasTitles:{oscript:"OneScript"},owner:"Diversus23"},c:{title:"C",require:"clike",owner:"zeitgeist87"},csharp:{title:"C#",require:"clike",alias:["cs","dotnet"],owner:"mvalipour"},cpp:{title:"C++",require:"c",owner:"zeitgeist87"},cfscript:{title:"CFScript",require:"clike",alias:"cfc",owner:"mjclemente"},chaiscript:{title:"ChaiScript",require:["clike","cpp"],owner:"RunDevelopment"},cil:{title:"CIL",owner:"sbrl"},cilkc:{title:"Cilk/C",require:"c",alias:"cilk-c",owner:"OpenCilk"},cilkcpp:{title:"Cilk/C++",require:"cpp",alias:["cilk-cpp","cilk"],owner:"OpenCilk"},clojure:{title:"Clojure",owner:"troglotit"},cmake:{title:"CMake",owner:"mjrogozinski"},cobol:{title:"COBOL",owner:"RunDevelopment"},coffeescript:{title:"CoffeeScript",require:"javascript",alias:"coffee",owner:"R-osey"},concurnas:{title:"Concurnas",alias:"conc",owner:"jasontatton"},csp:{title:"Content-Security-Policy",owner:"ScottHelme"},cooklang:{title:"Cooklang",owner:"ahue"},coq:{title:"Coq",owner:"RunDevelopment"},crystal:{title:"Crystal",require:"ruby",owner:"MakeNowJust"},"css-extras":{title:"CSS Extras",require:"css",modify:"css",owner:"milesj"},csv:{title:"CSV",owner:"RunDevelopment"},cue:{title:"CUE",owner:"RunDevelopment"},cypher:{title:"Cypher",owner:"RunDevelopment"},d:{title:"D",require:"clike",owner:"Golmote"},dart:{title:"Dart",require:"clike",owner:"Golmote"},dataweave:{title:"DataWeave",owner:"machaval"},dax:{title:"DAX",owner:"peterbud"},dhall:{title:"Dhall",owner:"RunDevelopment"},diff:{title:"Diff",owner:"uranusjr"},django:{title:"Django/Jinja2",require:"markup-templating",alias:"jinja2",owner:"romanvm"},"dns-zone-file":{title:"DNS zone file",owner:"RunDevelopment",alias:"dns-zone"},docker:{title:"Docker",alias:"dockerfile",owner:"JustinBeckwith"},dot:{title:"DOT (Graphviz)",alias:"gv",optional:"markup",owner:"RunDevelopment"},ebnf:{title:"EBNF",owner:"RunDevelopment"},editorconfig:{title:"EditorConfig",owner:"osipxd"},eiffel:{title:"Eiffel",owner:"Conaclos"},ejs:{title:"EJS",require:["javascript","markup-templating"],owner:"RunDevelopment",alias:"eta",aliasTitles:{eta:"Eta"}},elixir:{title:"Elixir",owner:"Golmote"},elm:{title:"Elm",owner:"zwilias"},etlua:{title:"Embedded Lua templating",require:["lua","markup-templating"],owner:"RunDevelopment"},erb:{title:"ERB",require:["ruby","markup-templating"],owner:"Golmote"},erlang:{title:"Erlang",owner:"Golmote"},"excel-formula":{title:"Excel Formula",alias:["xlsx","xls"],owner:"RunDevelopment"},fsharp:{title:"F#",require:"clike",owner:"simonreynolds7"},factor:{title:"Factor",owner:"catb0t"},false:{title:"False",owner:"edukisto"},"firestore-security-rules":{title:"Firestore security rules",require:"clike",owner:"RunDevelopment"},flow:{title:"Flow",require:"javascript",owner:"Golmote"},fortran:{title:"Fortran",owner:"Golmote"},ftl:{title:"FreeMarker Template Language",require:"markup-templating",owner:"RunDevelopment"},gml:{title:"GameMaker Language",alias:"gamemakerlanguage",require:"clike",owner:"LiarOnce"},gap:{title:"GAP (CAS)",owner:"RunDevelopment"},gcode:{title:"G-code",owner:"RunDevelopment"},gdscript:{title:"GDScript",owner:"RunDevelopment"},gedcom:{title:"GEDCOM",owner:"Golmote"},gettext:{title:"gettext",alias:"po",owner:"RunDevelopment"},gherkin:{title:"Gherkin",owner:"hason"},git:{title:"Git",owner:"lgiraudel"},glsl:{title:"GLSL",require:"c",owner:"Golmote"},gn:{title:"GN",alias:"gni",owner:"RunDevelopment"},"linker-script":{title:"GNU Linker Script",alias:"ld",owner:"RunDevelopment"},go:{title:"Go",require:"clike",owner:"arnehormann"},"go-module":{title:"Go module",alias:"go-mod",owner:"RunDevelopment"},gradle:{title:"Gradle",require:"clike",owner:"zeabdelkhalek-badido18"},graphql:{title:"GraphQL",optional:"markdown",owner:"Golmote"},groovy:{title:"Groovy",require:"clike",owner:"robfletcher"},haml:{title:"Haml",require:"ruby",optional:["css","css-extras","coffeescript","erb","javascript","less","markdown","scss","textile"],owner:"Golmote"},handlebars:{title:"Handlebars",require:"markup-templating",alias:["hbs","mustache"],aliasTitles:{mustache:"Mustache"},owner:"Golmote"},haskell:{title:"Haskell",alias:"hs",owner:"bholst"},haxe:{title:"Haxe",require:"clike",optional:"regex",owner:"Golmote"},hcl:{title:"HCL",owner:"outsideris"},hlsl:{title:"HLSL",require:"c",owner:"RunDevelopment"},hoon:{title:"Hoon",owner:"matildepark"},http:{title:"HTTP",optional:["csp","css","hpkp","hsts","javascript","json","markup","uri"],owner:"danielgtaylor"},hpkp:{title:"HTTP Public-Key-Pins",owner:"ScottHelme"},hsts:{title:"HTTP Strict-Transport-Security",owner:"ScottHelme"},ichigojam:{title:"IchigoJam",owner:"BlueCocoa"},icon:{title:"Icon",owner:"Golmote"},"icu-message-format":{title:"ICU Message Format",owner:"RunDevelopment"},idris:{title:"Idris",alias:"idr",owner:"KeenS",require:"haskell"},ignore:{title:".ignore",owner:"osipxd",alias:["gitignore","hgignore","npmignore"],aliasTitles:{gitignore:".gitignore",hgignore:".hgignore",npmignore:".npmignore"}},inform7:{title:"Inform 7",owner:"Golmote"},ini:{title:"Ini",owner:"aviaryan"},io:{title:"Io",owner:"AlesTsurko"},j:{title:"J",owner:"Golmote"},java:{title:"Java",require:"clike",owner:"sherblot"},javadoc:{title:"JavaDoc",require:["markup","java","javadoclike"],modify:"java",optional:"scala",owner:"RunDevelopment"},javadoclike:{title:"JavaDoc-like",modify:["java","javascript","php"],owner:"RunDevelopment"},javastacktrace:{title:"Java stack trace",owner:"RunDevelopment"},jexl:{title:"Jexl",owner:"czosel"},jolie:{title:"Jolie",require:"clike",owner:"thesave"},jq:{title:"JQ",owner:"RunDevelopment"},jsdoc:{title:"JSDoc",require:["javascript","javadoclike","typescript"],modify:"javascript",optional:["actionscript","coffeescript"],owner:"RunDevelopment"},"js-extras":{title:"JS Extras",require:"javascript",modify:"javascript",optional:["actionscript","coffeescript","flow","n4js","typescript"],owner:"RunDevelopment"},json:{title:"JSON",alias:"webmanifest",aliasTitles:{webmanifest:"Web App Manifest"},owner:"CupOfTea696"},json5:{title:"JSON5",require:"json",owner:"RunDevelopment"},jsonp:{title:"JSONP",require:"json",owner:"RunDevelopment"},jsstacktrace:{title:"JS stack trace",owner:"sbrl"},"js-templates":{title:"JS Templates",require:"javascript",modify:"javascript",optional:["css","css-extras","graphql","markdown","markup","sql"],owner:"RunDevelopment"},julia:{title:"Julia",owner:"cdagnino"},keepalived:{title:"Keepalived Configure",owner:"dev-itsheng"},keyman:{title:"Keyman",owner:"mcdurdin"},kotlin:{title:"Kotlin",alias:["kt","kts"],aliasTitles:{kts:"Kotlin Script"},require:"clike",owner:"Golmote"},kumir:{title:"KuMir (\u041a\u0443\u041c\u0438\u0440)",alias:"kum",owner:"edukisto"},kusto:{title:"Kusto",owner:"RunDevelopment"},latex:{title:"LaTeX",alias:["tex","context"],aliasTitles:{tex:"TeX",context:"ConTeXt"},owner:"japborst"},latte:{title:"Latte",require:["clike","markup-templating","php"],owner:"nette"},less:{title:"Less",require:"css",optional:"css-extras",owner:"Golmote"},lilypond:{title:"LilyPond",require:"scheme",alias:"ly",owner:"RunDevelopment"},liquid:{title:"Liquid",require:"markup-templating",owner:"cinhtau"},lisp:{title:"Lisp",alias:["emacs","elisp","emacs-lisp"],owner:"JuanCaicedo"},livescript:{title:"LiveScript",owner:"Golmote"},llvm:{title:"LLVM IR",owner:"porglezomp"},log:{title:"Log file",optional:"javastacktrace",owner:"RunDevelopment"},lolcode:{title:"LOLCODE",owner:"Golmote"},lua:{title:"Lua",owner:"Golmote"},magma:{title:"Magma (CAS)",owner:"RunDevelopment"},makefile:{title:"Makefile",owner:"Golmote"},markdown:{title:"Markdown",require:"markup",optional:"yaml",alias:"md",owner:"Golmote"},"markup-templating":{title:"Markup templating",require:"markup",owner:"Golmote"},mata:{title:"Mata",owner:"RunDevelopment"},matlab:{title:"MATLAB",owner:"Golmote"},maxscript:{title:"MAXScript",owner:"RunDevelopment"},mel:{title:"MEL",owner:"Golmote"},mermaid:{title:"Mermaid",owner:"RunDevelopment"},metafont:{title:"METAFONT",owner:"LaeriExNihilo"},mizar:{title:"Mizar",owner:"Golmote"},mongodb:{title:"MongoDB",owner:"airs0urce",require:"javascript"},monkey:{title:"Monkey",owner:"Golmote"},moonscript:{title:"MoonScript",alias:"moon",owner:"RunDevelopment"},n1ql:{title:"N1QL",owner:"TMWilds"},n4js:{title:"N4JS",require:"javascript",optional:"jsdoc",alias:"n4jsd",owner:"bsmith-n4"},"nand2tetris-hdl":{title:"Nand To Tetris HDL",owner:"stephanmax"},naniscript:{title:"Naninovel Script",owner:"Elringus",alias:"nani"},nasm:{title:"NASM",owner:"rbmj"},neon:{title:"NEON",owner:"nette"},nevod:{title:"Nevod",owner:"nezaboodka"},nginx:{title:"nginx",owner:"volado"},nim:{title:"Nim",owner:"Golmote"},nix:{title:"Nix",owner:"Golmote"},nsis:{title:"NSIS",owner:"idleberg"},objectivec:{title:"Objective-C",require:"c",alias:"objc",owner:"uranusjr"},ocaml:{title:"OCaml",owner:"Golmote"},odin:{title:"Odin",owner:"edukisto"},opencl:{title:"OpenCL",require:"c",modify:["c","cpp"],owner:"Milania1"},openqasm:{title:"OpenQasm",alias:"qasm",owner:"RunDevelopment"},oz:{title:"Oz",owner:"Golmote"},parigp:{title:"PARI/GP",owner:"Golmote"},parser:{title:"Parser",require:"markup",owner:"Golmote"},pascal:{title:"Pascal",alias:"objectpascal",aliasTitles:{objectpascal:"Object Pascal"},owner:"Golmote"},pascaligo:{title:"Pascaligo",owner:"DefinitelyNotAGoat"},psl:{title:"PATROL Scripting Language",owner:"bertysentry"},pcaxis:{title:"PC-Axis",alias:"px",owner:"RunDevelopment"},peoplecode:{title:"PeopleCode",alias:"pcode",owner:"RunDevelopment"},perl:{title:"Perl",owner:"Golmote"},php:{title:"PHP",require:"markup-templating",owner:"milesj"},phpdoc:{title:"PHPDoc",require:["php","javadoclike"],modify:"php",owner:"RunDevelopment"},"php-extras":{title:"PHP Extras",require:"php",modify:"php",owner:"milesj"},"plant-uml":{title:"PlantUML",alias:"plantuml",owner:"RunDevelopment"},plsql:{title:"PL/SQL",require:"sql",owner:"Golmote"},powerquery:{title:"PowerQuery",alias:["pq","mscript"],owner:"peterbud"},powershell:{title:"PowerShell",owner:"nauzilus"},processing:{title:"Processing",require:"clike",owner:"Golmote"},prolog:{title:"Prolog",owner:"Golmote"},promql:{title:"PromQL",owner:"arendjr"},properties:{title:".properties",owner:"Golmote"},protobuf:{title:"Protocol Buffers",require:"clike",owner:"just-boris"},pug:{title:"Pug",require:["markup","javascript"],optional:["coffeescript","ejs","handlebars","less","livescript","markdown","scss","stylus","twig"],owner:"Golmote"},puppet:{title:"Puppet",owner:"Golmote"},pure:{title:"Pure",optional:["c","cpp","fortran"],owner:"Golmote"},purebasic:{title:"PureBasic",require:"clike",alias:"pbfasm",owner:"HeX0R101"},purescript:{title:"PureScript",require:"haskell",alias:"purs",owner:"sriharshachilakapati"},python:{title:"Python",alias:"py",owner:"multipetros"},qsharp:{title:"Q#",require:"clike",alias:"qs",owner:"fedonman"},q:{title:"Q (kdb+ database)",owner:"Golmote"},qml:{title:"QML",require:"javascript",owner:"RunDevelopment"},qore:{title:"Qore",require:"clike",owner:"temnroegg"},r:{title:"R",owner:"Golmote"},racket:{title:"Racket",require:"scheme",alias:"rkt",owner:"RunDevelopment"},cshtml:{title:"Razor C#",alias:"razor",require:["markup","csharp"],optional:["css","css-extras","javascript","js-extras"],owner:"RunDevelopment"},jsx:{title:"React JSX",require:["markup","javascript"],optional:["jsdoc","js-extras","js-templates"],owner:"vkbansal"},tsx:{title:"React TSX",require:["jsx","typescript"]},reason:{title:"Reason",require:"clike",owner:"Golmote"},regex:{title:"Regex",owner:"RunDevelopment"},rego:{title:"Rego",owner:"JordanSh"},renpy:{title:"Ren'py",alias:"rpy",owner:"HyuchiaDiego"},rescript:{title:"ReScript",alias:"res",owner:"vmarcosp"},rest:{title:"reST (reStructuredText)",owner:"Golmote"},rip:{title:"Rip",owner:"ravinggenius"},roboconf:{title:"Roboconf",owner:"Golmote"},robotframework:{title:"Robot Framework",alias:"robot",owner:"RunDevelopment"},ruby:{title:"Ruby",require:"clike",alias:"rb",owner:"samflores"},rust:{title:"Rust",owner:"Golmote"},sas:{title:"SAS",optional:["groovy","lua","sql"],owner:"Golmote"},sass:{title:"Sass (Sass)",require:"css",optional:"css-extras",owner:"Golmote"},scss:{title:"Sass (SCSS)",require:"css",optional:"css-extras",owner:"MoOx"},scala:{title:"Scala",require:"java",owner:"jozic"},scheme:{title:"Scheme",owner:"bacchus123"},"shell-session":{title:"Shell session",require:"bash",alias:["sh-session","shellsession"],owner:"RunDevelopment"},smali:{title:"Smali",owner:"RunDevelopment"},smalltalk:{title:"Smalltalk",owner:"Golmote"},smarty:{title:"Smarty",require:"markup-templating",optional:"php",owner:"Golmote"},sml:{title:"SML",alias:"smlnj",aliasTitles:{smlnj:"SML/NJ"},owner:"RunDevelopment"},solidity:{title:"Solidity (Ethereum)",alias:"sol",require:"clike",owner:"glachaud"},"solution-file":{title:"Solution file",alias:"sln",owner:"RunDevelopment"},soy:{title:"Soy (Closure Template)",require:"markup-templating",owner:"Golmote"},sparql:{title:"SPARQL",require:"turtle",owner:"Triply-Dev",alias:"rq"},"splunk-spl":{title:"Splunk SPL",owner:"RunDevelopment"},sqf:{title:"SQF: Status Quo Function (Arma 3)",require:"clike",owner:"RunDevelopment"},sql:{title:"SQL",owner:"multipetros"},squirrel:{title:"Squirrel",require:"clike",owner:"RunDevelopment"},stan:{title:"Stan",owner:"RunDevelopment"},stata:{title:"Stata Ado",require:["mata","java","python"],owner:"RunDevelopment"},iecst:{title:"Structured Text (IEC 61131-3)",owner:"serhioromano"},stylus:{title:"Stylus",owner:"vkbansal"},supercollider:{title:"SuperCollider",alias:"sclang",owner:"RunDevelopment"},swift:{title:"Swift",owner:"chrischares"},systemd:{title:"Systemd configuration file",owner:"RunDevelopment"},"t4-templating":{title:"T4 templating",owner:"RunDevelopment"},"t4-cs":{title:"T4 Text Templates (C#)",require:["t4-templating","csharp"],alias:"t4",owner:"RunDevelopment"},"t4-vb":{title:"T4 Text Templates (VB)",require:["t4-templating","vbnet"],owner:"RunDevelopment"},tap:{title:"TAP",owner:"isaacs",require:"yaml"},tcl:{title:"Tcl",owner:"PeterChaplin"},tt2:{title:"Template Toolkit 2",require:["clike","markup-templating"],owner:"gflohr"},textile:{title:"Textile",require:"markup",optional:"css",owner:"Golmote"},toml:{title:"TOML",owner:"RunDevelopment"},tremor:{title:"Tremor",alias:["trickle","troy"],owner:"darach",aliasTitles:{trickle:"trickle",troy:"troy"}},turtle:{title:"Turtle",alias:"trig",aliasTitles:{trig:"TriG"},owner:"jakubklimek"},twig:{title:"Twig",require:"markup-templating",owner:"brandonkelly"},typescript:{title:"TypeScript",require:"javascript",optional:"js-templates",alias:"ts",owner:"vkbansal"},typoscript:{title:"TypoScript",alias:"tsconfig",aliasTitles:{tsconfig:"TSConfig"},owner:"dkern"},unrealscript:{title:"UnrealScript",alias:["uscript","uc"],owner:"RunDevelopment"},uorazor:{title:"UO Razor Script",owner:"jaseowns"},uri:{title:"URI",alias:"url",aliasTitles:{url:"URL"},owner:"RunDevelopment"},v:{title:"V",require:"clike",owner:"taggon"},vala:{title:"Vala",require:"clike",optional:"regex",owner:"TemplarVolk"},vbnet:{title:"VB.Net",require:"basic",owner:"Bigsby"},velocity:{title:"Velocity",require:"markup",owner:"Golmote"},verilog:{title:"Verilog",owner:"a-rey"},vhdl:{title:"VHDL",owner:"a-rey"},vim:{title:"vim",owner:"westonganger"},"visual-basic":{title:"Visual Basic",alias:["vb","vba"],aliasTitles:{vba:"VBA"},owner:"Golmote"},warpscript:{title:"WarpScript",owner:"RunDevelopment"},wasm:{title:"WebAssembly",owner:"Golmote"},"web-idl":{title:"Web IDL",alias:"webidl",owner:"RunDevelopment"},wgsl:{title:"WGSL",owner:"Dr4gonthree"},wiki:{title:"Wiki markup",require:"markup",owner:"Golmote"},wolfram:{title:"Wolfram language",alias:["mathematica","nb","wl"],aliasTitles:{mathematica:"Mathematica",nb:"Mathematica Notebook"},owner:"msollami"},wren:{title:"Wren",owner:"clsource"},xeora:{title:"Xeora",require:"markup",alias:"xeoracube",aliasTitles:{xeoracube:"XeoraCube"},owner:"freakmaxi"},"xml-doc":{title:"XML doc (.net)",require:"markup",modify:["csharp","fsharp","vbnet"],owner:"RunDevelopment"},xojo:{title:"Xojo (REALbasic)",owner:"Golmote"},xquery:{title:"XQuery",require:"markup",owner:"Golmote"},yaml:{title:"YAML",alias:"yml",owner:"hason"},yang:{title:"YANG",owner:"RunDevelopment"},zig:{title:"Zig",owner:"RunDevelopment"}},plugins:{meta:{path:"plugins/{id}/prism-{id}",link:"plugins/{id}/"},"line-highlight":{title:"Line Highlight",description:"Highlights specific lines and/or line ranges."},"line-numbers":{title:"Line Numbers",description:"Line number at the beginning of code lines.",owner:"kuba-kubula"},"show-invisibles":{title:"Show Invisibles",description:"Show hidden characters such as tabs and line breaks.",optional:["autolinker","data-uri-highlight"]},autolinker:{title:"Autolinker",description:"Converts URLs and emails in code to clickable links. Parses Markdown links in comments."},wpd:{title:"WebPlatform Docs",description:'Makes tokens link to WebPlatform.org documentation. The links open in a new tab.'},"custom-class":{title:"Custom Class",description:"This plugin allows you to prefix Prism's default classes (.comment can become .namespace--comment) or replace them with your defined ones (like .editor__comment). You can even add new classes.",owner:"dvkndn",noCSS:!0},"file-highlight":{title:"File Highlight",description:"Fetch external files and highlight them with Prism. Used on the Prism website itself.",noCSS:!0},"show-language":{title:"Show Language",description:"Display the highlighted language in code blocks (inline code does not show the label).",owner:"nauzilus",noCSS:!0,require:"toolbar"},"jsonp-highlight":{title:"JSONP Highlight",description:"Fetch content with JSONP and highlight some interesting content (e.g. GitHub/Gists or Bitbucket API).",noCSS:!0,owner:"nauzilus"},"highlight-keywords":{title:"Highlight Keywords",description:"Adds special CSS classes for each keyword for fine-grained highlighting.",owner:"vkbansal",noCSS:!0},"remove-initial-line-feed":{title:"Remove initial line feed",description:"Removes the initial line feed in code blocks.",owner:"Golmote",noCSS:!0},"inline-color":{title:"Inline color",description:"Adds a small inline preview for colors in style sheets.",require:"css-extras",owner:"RunDevelopment"},previewers:{title:"Previewers",description:"Previewers for angles, colors, gradients, easing and time.",require:"css-extras",owner:"Golmote"},autoloader:{title:"Autoloader",description:"Automatically loads the needed languages to highlight the code blocks.",owner:"Golmote",noCSS:!0},"keep-markup":{title:"Keep Markup",description:"Prevents custom markup from being dropped out during highlighting.",owner:"Golmote",optional:"normalize-whitespace",noCSS:!0},"command-line":{title:"Command Line",description:"Display a command line with a prompt and, optionally, the output/response from the commands.",owner:"chriswells0"},"unescaped-markup":{title:"Unescaped Markup",description:"Write markup without having to escape anything."},"normalize-whitespace":{title:"Normalize Whitespace",description:"Supports multiple operations to normalize whitespace in code blocks.",owner:"zeitgeist87",optional:"unescaped-markup",noCSS:!0},"data-uri-highlight":{title:"Data-URI Highlight",description:"Highlights data-URI contents.",owner:"Golmote",noCSS:!0},toolbar:{title:"Toolbar",description:"Attach a toolbar for plugins to easily register buttons on the top of a code block.",owner:"mAAdhaTTah"},"copy-to-clipboard":{title:"Copy to Clipboard Button",description:"Add a button that copies the code block to the clipboard when clicked.",owner:"mAAdhaTTah",require:"toolbar",noCSS:!0},"download-button":{title:"Download Button",description:"A button in the toolbar of a code block adding a convenient way to download a code file.",owner:"Golmote",require:"toolbar",noCSS:!0},"match-braces":{title:"Match braces",description:"Highlights matching braces.",owner:"RunDevelopment"},"diff-highlight":{title:"Diff Highlight",description:"Highlights the code inside diff blocks.",owner:"RunDevelopment",require:"diff"},"filter-highlight-all":{title:"Filter highlightAll",description:"Filters the elements the highlightAll and highlightAllUnder methods actually highlight.",owner:"RunDevelopment",noCSS:!0},treeview:{title:"Treeview",description:"A language with special styles to highlight file system tree structures.",owner:"Golmote"}}})},452:(e,t,n)=>{const r=n(7248),a=n(8284),o=new Set;function i(e){void 0===e?e=Object.keys(r.languages).filter((e=>"meta"!=e)):Array.isArray(e)||(e=[e]);const t=[...o,...Object.keys(Prism.languages)];a(r,e,t).load((e=>{if(!(e in r.languages))return void(i.silent||console.warn("Language does not exist: "+e));const t="./prism-"+e;delete n.c[n(1976).resolve(t)],delete Prism.languages[e],n(1976)(t),o.add(e)}))}i.silent=!1,e.exports=i},8660:(e,t,n)=>{var r={"./":452};function a(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=8660},1976:(e,t,n)=>{var r={"./":452};function a(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=1976},8284:e=>{"use strict";var t=function(){var e=function(){};function t(e,t){Array.isArray(e)?e.forEach(t):null!=e&&t(e,0)}function n(e){for(var t={},n=0,r=e.length;n "));var l={},s=e[r];if(s){function u(t){if(!(t in e))throw new Error(r+" depends on an unknown component "+t);if(!(t in l))for(var i in a(t,o),l[t]=!0,n[t])l[i]=!0}t(s.require,u),t(s.optional,u),t(s.modify,u)}n[r]=l,o.pop()}}return function(e){var t=n[e];return t||(a(e,r),t=n[e]),t}}function a(e){for(var t in e)return!0;return!1}return function(o,i,l){var s=function(e){var t={};for(var n in e){var r=e[n];for(var a in r)if("meta"!=a){var o=r[a];t[a]="string"==typeof o?{title:o}:o}}return t}(o),u=function(e){var n;return function(r){if(r in e)return r;if(!n)for(var a in n={},e){var o=e[a];t(o&&o.alias,(function(t){if(t in n)throw new Error(t+" cannot be alias for both "+a+" and "+n[t]);if(t in e)throw new Error(t+" cannot be alias of "+a+" because it is a component.");n[t]=a}))}return n[r]||r}}(s);i=i.map(u),l=(l||[]).map(u);var c=n(i),d=n(l);i.forEach((function e(n){var r=s[n];t(r&&r.require,(function(t){t in d||(c[t]=!0,e(t))}))}));for(var f,p=r(s),m=c;a(m);){for(var g in f={},m){var h=s[g];t(h&&h.modify,(function(e){e in d&&(f[e]=!0)}))}for(var b in d)if(!(b in c))for(var v in p(b))if(v in c){f[b]=!0;break}for(var y in m=f)c[y]=!0}var w={getIds:function(){var e=[];return w.load((function(t){e.push(t)})),e},load:function(t,n){return function(t,n,r,a){var o=a?a.series:void 0,i=a?a.parallel:e,l={},s={};function u(e){if(e in l)return l[e];s[e]=!0;var a,c=[];for(var d in t(e))d in n&&c.push(d);if(0===c.length)a=r(e);else{var f=i(c.map((function(e){var t=u(e);return delete s[e],t})));o?a=o(f,(function(){return r(e)})):r(e)}return l[e]=a}for(var c in n)u(c);var d=[];for(var f in s)d.push(l[f]);return i(d)}(p,c,t,n)}};return w}}();e.exports=t},9776:(e,t,n)=>{"use strict";var r=n(9143);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,i){if(i!==r){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:a};return n.PropTypes=n,n}},3268:(e,t,n)=>{e.exports=n(9776)()},9143:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},9516:(e,t,n)=>{"use strict";var r=n(1504),a=n(9456),o=n(4712);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n